html {
  width: 100%;
}

:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --secondary: #0f172a;

  --bg: #ffffff;
  --bg-soft: #f8fafc;

  --text: #0f172a;
  --text-light: #64748b;

  --border: #e2e8f0;

  --radius: 20px;
  --shadow: 0 10px 30px rgba(0,0,0,.08);

  --container: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  scrollbar-width: none;
}

*::-webkit-scrollbar {
  display: none;
}

body {
  font-family: system-ui,sans-serif;
  background: var(--bg-soft);
  color: var(--text);
  line-height: 1.6;
  user-select: none;
}

img {
  width: 100%;
  display: block;
}

.container {
  width: min(100% - 2rem,var(--container));
  margin: auto;
}

section {
  padding: 6rem 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .5rem .8rem;
  border: none;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background .3s ease;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-primary:active {
  transform: scale(.97);
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, .08), rgba(37, 99, 235, .01));
}

.hero-logo {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 10;
}

.hero-logo img {
  display: block;
  height: 36px;
  width: auto;
}

.hero-content {
  max-width: 700px;
}

.hero.has-image .hero-content {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero p {
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.hero-image img {
  width: 100%;
  display: block;
}

@media (max-width:768px){
  .hero-content {
    margin-top: 150px;
  }
  .hero-image img {
    display: none;
  }
}

/* EMBLA */
.embla {
  --gap: 24px;
  --card-radius: 10px;
  --card-bg: rgba(255, 255, 255, 0.08);
  --card-bg-active: rgba(255, 255, 255, 0.14);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
  --muted: rgba(255, 255, 255, 0.45);
  --muted-2: rgba(173, 173, 173, 0.65);
  position: relative;
}

.embla__viewport {
  overflow: hidden;
  padding: 24px 0;
}

.embla__container {
  display: flex;
  will-change: transform;
}

.embla__slide {
  flex: 0 0 85%;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.card {
  width: 100%;
  background:white;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding: 2rem 1.5rem;
  transform: scale(0.92);
  opacity: 0.35;
  filter: saturate(0.85);
  transition: transform 0.45s ease, opacity 0.45s ease, border 0.45s ease, filter 0.45s ease;
  display: grid;
  justify-items: center;
  align-content: start;
}
  

.embla__slide.is-selected .card {
  transform: scale(1.06);
  opacity: 1;
  border: 1px solid var(--primary);
  filter: saturate(1);
}

.feature-content {
  display: flex;
  flex-direction: column;
}

.feature-image {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.feature-content img {
  aspect-ratio: 16/9;
  object-fit: cover;
}

.feature-content h3 {
  margin: .75rem 0;

  font-size: 1.15rem;
}

.feature-content p {
  color: var(--text-light);
  line-height: 1.6;
  font-size: .95rem;
}

.embla__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 20px;
}



.embla__dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.embla__dot {
  appearance: none;
  border: 0;
  height: 4px;
  width: 12px;
  border-radius: 999px;
  background: var(--muted-2);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.embla__dot[aria-selected="true"] {
  background: var(--primary);
  transform: scale(1.6);
}
.embla__dot:focus-visible {
  outline: none;
}

@media (min-width: 640px) { 
  .embla__slide {
   flex-basis: 50%; 
  }
}

@media (min-width: 992px) { 
  .embla__slide {
   flex-basis: 36%;
  }
}

@media (min-width: 1280px) {

}


/* TRUST BAR */
.trust-bar.hidden {
  visibility: hidden;
}

.trust-bar-content {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1rem 0;
}

.trust-bar-content::before,
.trust-bar-content::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(37, 99, 235, .12);
}

.trust-bar-content::before {
  top: 0;
}

.trust-bar-content::after {
  bottom: 0;
}

.trust-bar-glow {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  pointer-events: none;
  transform: translateX(-50%);
  transition: left .35s cubic-bezier(.22,.61,.36,1);
}

.trust-bar-glow::before {
  content: "";
  position: absolute;
  top: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37,99,235,.85), transparent);
}

.trust-bar-glow::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37,99,235,.85), transparent);
}

.trust-item {
  padding: 1.5rem;
  text-align: center;
}

.trust-item h3 {
  margin-bottom: .75rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  transition: color .25s ease;
}

.trust-item p {
  margin: 0;
  color: var(--text-light);
  line-height: 1.6;
  font-size: .92rem;
}

.trust-item:hover h3 {
  color: var(--primary);
}

@media (max-width: 768px) {
  .trust-bar-glow {
    width: 70%;
  }

  .trust-bar-content {
    display: block;
    position: relative;
    min-height: 250px;
  }
  
  .trust-item{
    position:absolute;
    inset:0;

    display:flex;
    flex-direction:column;
    justify-content:center;

    filter: blur(6px);
    opacity:0;
    visibility:hidden;

    transition:
      filter .55s ease,
      opacity .55s ease,
      visibility 0s linear .55s;
  }

  .trust-item.active{
    filter: blur(0);
    opacity:1;
    visibility:visible;

    transition: filter .55s ease, opacity .55s ease, visibility 0s;
  }
}


/* GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  transition: opacity .35s ease, backdrop-filter .35s ease, background .35s ease;
}

.gallery-item {
  border-radius:  6px;
  cursor: pointer;
  overflow: hidden;
}

.gallery-item img {
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: 
    transform .25s ease,
    opacity .25s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-extra {
  display: none;
}

.gallery-extra.show {
  display: contents;
}

.gallery-actions {
  text-align: center;
  margin-top: 2rem;
}

.gallery-grid.expanded {
  position: fixed;
  inset: 0;
  z-index: 999;
  max-height: none;
  overflow-y: auto;
  padding: 2rem;
  grid-auto-rows: max-content;
  background: rgba(255, 255, 255, .98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  grid-template-columns: repeat(2, 1fr);
  align-content: start;
  animation: galleryOpen .35s ease;
}

.gallery-grid.expanded + .gallery-actions {
  position: fixed;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  z-index: 1000;
}

.gallery-grid{
  transition:
    opacity .35s ease,
    transform .35s ease,
    filter .35s ease;
}

.gallery-grid.reveal-back{
  opacity:1;
  transform:scale(1);
  filter:blur(0);

  animation:galleryReveal .4s ease;
}

@keyframes galleryReveal{

  from{
    opacity:.75;
    transform:scale(1.1);
    filter:blur(15px);
  }

  to{
    opacity:1;
    transform:scale(1);
    filter:blur(0);
  }

}

body.gallery-open {
  overflow: hidden;
}

@keyframes galleryOpen {
  from {
    opacity: 0;
    transform: scale(.98);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media(min-width: 768px) { 
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .gallery-grid.expanded {
    grid-template-columns: repeat(4, 1fr);
  }
}


/* REVIEWS */
.reviews {
  overflow: hidden;
}

.reviews h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.reviews-slider {
  position: relative;
  overflow: hidden;
}

.reviews-slider::before,
.reviews-slider::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.reviews-slider::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}

.reviews-slider::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

.reviews-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: reviews-scroll 35s linear infinite;
}

.reviews-slider:hover .reviews-track, .reviews-track.paused {
  animation-play-state: paused;
}

.review-card {
  width: 320px;
  flex-shrink: 0;
  padding: 1.5rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.review-stars {
  margin-bottom: .75rem;
  color: #fbbf24;
  font-size: 1.1rem;
}

.review-card p {
  margin-bottom: 1rem;
  color: var(--text-light);
  line-height: 1.6;
}

.review-card strong {
  display: block;
}

@keyframes reviews-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - .75rem));
  }
}




/* INFO */
.info-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.info-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.info-card h2 {
  margin-bottom: 1rem;
}

.info-card h3{
  font-size:.95rem;
  font-weight:600;
  color:var(--text-light);
  text-transform:uppercase;
}

.info-content{
  margin:0;

  font-size:1.2rem;
  font-weight:600;

  color:var(--primary);

  line-height:1.1;
}

.info-card h3:not(:first-of-type){
  padding-top:1.25rem;
}

@media (min-width: 1100px) { 
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* FAQ */
details {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

details + details{
  margin-top:.5rem;
}

summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  list-style:none;
  cursor:pointer;
  font-weight:600;
  font-size:1rem;
  transition:color .35s ease;
}

summary::-webkit-details-marker{
  display: none;
}

summary::after{
  content:"+";

  font-size:1.35rem;
  font-weight:300;

  transition:
    transform .5s ease,
    color .35s ease;
}

details[open] summary{
  color:var(--primary);
}

details[open] summary::after{
  content:"−";

  transform:rotate(180deg);
}

details::details-content {
  display: block;
  block-size: 0;
  overflow: hidden;
  transition-property: block-size, content-visibility;
  transition-duration: 0.5s;
  transition-behavior: allow-discrete;
}

details[open]::details-content {
  /* Fallback for browsers that don't support calc-size() function */
  block-size: auto;
  
  /* calc-size() function allows transition to height: auto; */
  block-size: calc-size(auto, size);
}

.faq-content{
  margin:0;
  padding: 0 0 1.25rem;
  color:var(--text-light);
  line-height:1.7;
}

summary:hover{
  color:var(--primary);
}


/* Overlay */
.faq-overlay{
  position:fixed;
  inset:0;

  background:rgba(0,0,0,.35);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);

  opacity:0;
  pointer-events:none;

  transition:opacity .35s ease;

  z-index:999;
}

.faq-overlay.show{
  opacity:1;
  pointer-events:auto;
}

/* FAQ expandido */
.info-card.faq-expanded{
  position:fixed;

  top:50%;
  left:50%;

  transform:translate(-50%,-50%);

  width:min(800px, calc(100% - 2rem));
  max-height:80vh;

  overflow:auto;

  padding:2rem;

  background:var(--bg);

  border-radius:18px;

  box-shadow:
    0 30px 80px rgba(0,0,0,.18);

  z-index:1000;

  opacity: 0;

  animation:faqExpand .35s ease forwards;
}

@keyframes faqExpand{
  from {
    opacity: 0;
  }
  to{
    opacity: 1;
  }

}

.faq-closing{
  animation: faqClose .35s ease forwards;
}

@keyframes faqClose {
  from{
    opacity:1;
  }

  to{
    opacity:0;
  }
}

body.faq-open{
  overflow:hidden;
}




/* FOOTER */
footer {
  margin-top: 6rem;
  border-top: 1px solid var(--border);
  background: linear-gradient(to bottom, rgba(37, 99, 235, .08), rgba(37, 99, 235, .01));
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 3rem 0 6rem;
  color: var(--text-light);
  gap: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  max-width: 200px;
  gap: 20px;
}

.footer-brand img {
  height: auto;
  width: 150px;
}

.footer-brand p {
  max-width: 320px;
  margin: 0;
  line-height: 1.7;
  color: var(--text-light);
}

.footer-info, .footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-info h4, .footer-links h4 {
  color: black;
}

.links {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.links a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: color .25s ease, transform .25s ease;
}

.links a:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

.copyright {
  padding: 1.25rem 0;
  text-align: center;
}

.copyright p {
  margin: 0;
  font-size: .9rem;
  color: var(--text-light);
}

@media(max-width: 768px) { 
  .footer-content {
    max-width: 100vw;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .footer-links{ display: contents; }
  .footer-brand{ order:1; }
  .footer-links > :nth-child(1) { order: 2; }
  .footer-info{ order:3; }
  .footer-links > :nth-child(2) { order: 4; }
}


/* FLOATING CTA */
.floating-cta {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  width: min(900px, calc(100% - 2rem));
  z-index: 1000;
  transition: opacity .35s ease, transform .35s ease;
}

.floating-cta.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(24px);
  pointer-events: none;
}

.floating-cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  padding: .8rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  box-shadow: 0 8px 20px rgba(0,0,0,.06), 0 20px 50px rgba(0,0,0,.08);
  transition: transform .35s ease, box-shadow .35s ease;
}

.floating-cta-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.8), transparent);
}

.floating-cta-content:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .08), 0 24px 60px rgba(0, 0, 0, .12);
}

.floating-cta-text, .cta-text {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  align-items: flex-start;
}

.floating-cta-text strong, .cta-text strong {
  font-size: .95rem;
}

.floating-cta-text span, .cta-text span {
  font-size: .85rem;
  color: var(--text-light);
}

.floating-cta .btn {
  white-space: nowrap;
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  z-index: 9999;
  padding: 2rem;
}

.lightbox.show {
  opacity: 1;
  visibility: visible;
}

.lightbox-image {
  max-width: min(1200px, 95vw);
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
  transform: scale(.95);
  transition: transform .25s ease;
}

.lightbox.show .lightbox-image {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border: none;
  cursor: pointer;
  border-radius: 12px;
  font-size: 2rem;
  line-height: 1;
  background: transparent;
  color: white;
  transition: transform .2s ease, opacity .2s ease;
}

.lightbox-close:hover {
  opacity: .85;
}

.lightbox-close:active {
  transform: scale(.95);
}

/* SCROLL ANIMATION 
.reveal {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease, filter .7s ease;
}

.reveal.visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

*/

.reveal{
  opacity: 0;
  filter: blur(8px);
  translate: 0 20px;
  transition: opacity .7s ease, filter .7s ease, translate .7s ease;
}

.reveal.visible{
  opacity: 1;
  filter: blur(0);
  translate: 0 0;
}