*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Montserrat, system-ui, -apple-system, sans-serif;
  background: #061528;
  color: #e2e8f0;
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.text-accent {
  background: linear-gradient(90deg, #34d399, #5eead4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 21, 40, 0.95);
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 72px;
}

.brand {
  flex-shrink: 0;
  text-decoration: none;
}

.brand__logo {
  height: 44px;
  width: auto;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 8px;
  background: rgba(15, 40, 80, 0.5);
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: #e2e8f0;
  border-radius: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  flex: 1;
  justify-content: center;
}

.site-nav__link {
  padding: 0.45rem 0.65rem;
  border-radius: 6px;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.15s, background 0.15s;
}

.site-nav__link:hover,
.site-nav__link.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.25rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn--sm {
  padding: 0.5rem 0.85rem;
  font-size: 0.78rem;
}

.btn--lg {
  padding: 0.85rem 1.35rem;
  font-size: 0.92rem;
}

.btn--wa {
  background: #25d366;
  color: #fff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn--blue {
  background: linear-gradient(135deg, #1d6fd9, #1558b8);
  color: #fff;
  box-shadow: 0 6px 18px rgba(29, 111, 217, 0.35);
}

.btn--demo {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.35);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 0 3rem;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 75% 15%, rgba(56, 132, 255, 0.28), transparent 55%),
    linear-gradient(165deg, #0c3d7a 0%, #0a2d5c 40%, #061528 100%);
  z-index: 0;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2rem;
  align-items: center;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3.8vw, 2.65rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 16ch;
}

.hero__lead {
  margin: 0;
  max-width: 46ch;
  color: rgba(226, 232, 240, 0.88);
  font-size: 0.98rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.75);
}

.hero__badge-ico {
  margin-right: 0.25rem;
}

.hero__visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero__devices {
  width: min(100%, 620px);
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.45));
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section--light {
  background: #f4f7fb;
  color: #0f172a;
}

.section--ventajas {
  background: linear-gradient(180deg, #0a2d5c 0%, #061528 100%);
}

.section--capturas {
  background: linear-gradient(180deg, #0a2044 0%, #061528 100%);
  padding-bottom: 4rem;
}

.section--testimonios {
  background: #0a2044;
}

.section--contact {
  padding-bottom: 4.5rem;
}

.section--sync {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.section__head {
  text-align: center;
  margin-bottom: 2rem;
}

.section__head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 800;
}

.section__head--dark h2 {
  color: #0f172a;
}

.section__eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2563eb;
}

.section__eyebrow--light {
  color: #7dd3fc;
}

.section__sub {
  margin: 0.65rem auto 0;
  max-width: 52ch;
  color: #64748b;
  font-size: 0.92rem;
}

/* Modules */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.module-card {
  padding: 1.35rem 1.2rem 1.5rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.15s, box-shadow 0.15s;
}

.module-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.1);
}

.module-card__icon {
  margin-bottom: 0.85rem;
}

.module-card h3 {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
}

.module-card p {
  margin: 0;
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.5;
}

/* Ventajas */
.ventajas-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  text-align: center;
}

.ventaja-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #e2e8f0;
}

.ventaja-item img {
  opacity: 0.95;
}

.section__sub--sync {
  margin-bottom: 1.5rem;
  color: #64748b;
}

/* Sync */
.sync-figure {
  margin: 0;
  text-align: center;
}

.sync-figure img {
  margin-inline: auto;
  max-width: min(920px, 100%);
}

/* Capturas */
.capturas-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
}

.captura-card {
  margin: 0;
  text-align: center;
}

.captura-card img {
  width: 100%;
  border-radius: 10px;
  border: 2px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top;
  background: #0f2744;
}

.captura-card__img--phone {
  object-fit: contain;
  object-position: center;
  background: #061528;
}

.captura-card figcaption {
  margin-top: 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #94a3b8;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  align-items: stretch;
}

.price-card {
  position: relative;
  padding: 1.5rem 1.25rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
}

.price-card--featured {
  border-color: #2563eb;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.15);
  transform: scale(1.02);
}

.price-card__tag {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.price-card h3 {
  margin: 0.35rem 0 0.5rem;
  font-size: 1.15rem;
  color: #0f172a;
}

.price-card__desc {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  color: #64748b;
}

.price-card ul {
  margin: 0 0 1.25rem;
  padding-left: 1.1rem;
  flex: 1;
  font-size: 0.84rem;
  color: #334155;
}

.price-card ul li + li {
  margin-top: 0.3rem;
}

.price-card .btn {
  width: 100%;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.testimonial-card {
  margin: 0;
  padding: 1.25rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.15);
}

.testimonial-card p {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  font-style: italic;
  color: #cbd5e1;
  line-height: 1.55;
}

.testimonial-card footer {
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
}

/* Contact */
.contact-box {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(29, 111, 217, 0.35), rgba(6, 21, 40, 0.9));
  border: 1px solid rgba(96, 165, 250, 0.25);
}

.contact-box h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

.contact-box__copy p {
  margin: 0 auto 1.35rem;
  max-width: 48ch;
  color: #94a3b8;
}

.contact-box__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.contact-box__note {
  margin: 1.1rem 0 0;
  font-size: 0.78rem;
  color: #64748b;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  padding: 1.75rem 0 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.footer__logo {
  height: 38px;
  width: auto;
  opacity: 0.95;
}

.footer-copy {
  margin: 0;
  font-size: 0.78rem;
  color: #64748b;
}

@media (max-width: 1024px) {
  .site-nav__link {
    font-size: 0.65rem;
    padding: 0.4rem 0.45rem;
  }

  .modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ventajas-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .capturas-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }

  .price-card--featured {
    transform: none;
  }
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero h1 {
    max-width: none;
  }

  .hero__visual {
    justify-content: center;
  }

  .header-cta {
    display: none;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1rem;
    background: rgba(6, 21, 40, 0.98);
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
  }

  .site-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav__link {
    border-radius: 8px;
    padding: 0.7rem 0.85rem;
    font-size: 0.78rem;
  }

  .header-inner {
    position: relative;
    flex-wrap: wrap;
  }

  .modules-grid {
    grid-template-columns: 1fr;
  }

  .ventajas-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .capturas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
