/* ═══════════════════════════════════════════════════════════════════════════
   Gilmer Font — same as Admin Panel
   ═══════════════════════════════════════════════════════════════════════════ */
@font-face {
  font-family: 'Gilmer';
  src: url('fonts/Gilmer Light.otf') format('opentype');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'Gilmer';
  src: url('fonts/Gilmer Regular.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Gilmer';
  src: url('fonts/Gilmer Medium.otf') format('opentype');
  font-weight: 500 600;
  font-display: swap;
}
@font-face {
  font-family: 'Gilmer';
  src: url('fonts/Gilmer Bold.otf') format('opentype');
  font-weight: 700 900;
  font-display: swap;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Design tokens
   ═══════════════════════════════════════════════════════════════════════════ */
:root {
  --primary:          #01B958;
  --primary-dark:     #019647;
  --primary-soft:     #E8F8F0;
  --primary-surface:  #F2FBF6;
  --primary-gradient: linear-gradient(135deg, #01B958 0%, #019647 100%);

  --text-primary:   #0F172A;
  --text-secondary: #475569;
  --text-muted:     #94A3B8;

  --surface:       #FFFFFF;
  --surface-alt:   #F8FAFC;
  --surface-muted: #F1F5F9;
  --border:        #F1F5F9;
  --border-pale:   #F1F5F9;
  --border-subtle: #F8FAFC;
  --divider:       #F1F5F9;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --container: 1120px;
  --font: 'Gilmer', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Reset
   ═══════════════════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body {
  font-family: var(--font);
  color: var(--text-primary);
  background: var(--surface);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.nav-open { overflow: hidden; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.3px; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img, svg { display: block; max-width: 100%; }
.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Eyebrow labels ─────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 0.4px;
}
.eyebrow--chip {
  background: var(--primary-soft);
  padding: 5px 13px;
  border-radius: 999px;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.8px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Nav
   ═══════════════════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  box-shadow: none;
  transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1), backdrop-filter 0.3s;
}

/* Transparent State (default over dark hero) */
.nav .brand__name {
  color: #FFFFFF;
  transition: color 0.3s;
}
.nav .nav__links a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
}
.nav .nav__links a:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.15);
}
.nav .nav__burger-bar {
  background: #FFFFFF;
  transition: background 0.3s;
}

/* Scrolled State — Clean Flat Solid Header */
.nav.scrolled {
  background: #FFFFFF;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  box-shadow: none;
}
.nav.scrolled .brand__name {
  color: var(--text-primary);
}
.nav.scrolled .nav__links a {
  color: var(--text-secondary);
}
.nav.scrolled .nav__links a:hover {
  color: var(--primary);
  background: var(--primary-soft);
}
.nav.scrolled .nav__burger-bar {
  background: var(--text-primary);
}

/* Subpages without dark hero — Flat Solid Header by default */
body:not(:has(.hero)) .nav {
  background: #FFFFFF;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  box-shadow: none;
}
body:not(:has(.hero)) .nav .brand__name {
  color: var(--text-primary);
}
body:not(:has(.hero)) .nav .nav__links a {
  color: var(--text-secondary);
}
body:not(:has(.hero)) .nav .nav__burger-bar {
  background: var(--text-primary);
}
body:not(:has(.hero)) main,
body:not(:has(.hero)) .policy-section,
body:not(:has(.hero)) .contact-section {
  padding-top: 100px;
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
  padding: 0 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  transition: opacity 0.15s;
}
.brand:hover { opacity: 0.85; }
.brand__logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: transparent;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.brand__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand__name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.3px;
}
.nav__links {
  margin-left: auto;
  display: flex;
  gap: 2px;
}
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  transition: color .18s, background .18s;
}
.nav__links a:hover {
  color: var(--primary);
  background: var(--primary-soft);
}
.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  border-radius: var(--radius-md);
  background: var(--primary-gradient);
  border: none;
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  transition: filter .18s, transform .18s;
}
.nav__cta:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
  color: #fff;
}
/* Hamburger */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
  margin-left: auto;
  transition: background 0.18s;
}
.nav__burger:hover { background: var(--primary-soft); }
.nav__burger-bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--text-primary);
  transition: transform 0.24s, opacity 0.24s;
  transform-origin: center;
}
.nav__burger.is-open .nav__burger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open .nav__burger-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.is-open .nav__burger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav__mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border);
  box-shadow: none;
  padding: 20px 24px 28px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.22s, opacity 0.22s;
  z-index: 999;
}
.nav__mobile.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.nav__mobile-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 14px;
}
.nav__mobile-links a {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 11px 12px;
  border-radius: 10px;
  transition: background 0.16s, color 0.16s;
}
.nav__mobile-links a:hover { background: var(--primary-soft); color: var(--primary); }
.nav__mobile-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: var(--radius-md);
  background: var(--primary-gradient);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  transition: filter 0.18s;
}
.nav__mobile-cta:hover { filter: brightness(1.06); color: #fff; }

@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__cta--desktop { display: none; }
  .nav__burger { display: flex; }
  .nav__mobile { display: block; }
  .nav__inner { height: 60px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Buttons
   ═══════════════════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1px;
  transition: transform .15s, filter .15s, background .15s, color .15s;
  cursor: pointer;
  user-select: none;
}
.btn--primary {
  background: var(--primary);
  color: #fff;
  border: none;
}
.btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--primary-dark);
  border: 1.5px solid rgba(1, 185, 88, 0.3);
}
.btn--ghost:hover { background: var(--primary-soft); }

/* ═══════════════════════════════════════════════════════════════════════════
   Hero — clean, large, minimal
   ═══════════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  background-color: #0f172a;
  background-size: cover;
  background-position: center;
  padding: 150px 0 96px;
  color: #FFFFFF;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: center;
}
.hero__copy .eyebrow {
  margin-bottom: 20px;
  color: #01B958;
  background: #0f172a;
  border: 1px solid rgba(1, 185, 88, 0.4);
  padding: 6px 14px;
  border-radius: 999px;
  display: inline-flex;
}
.hero__copy h1 {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.8px;
  color: #FFFFFF !important;
  text-shadow: none;
}
.hero__sub {
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 18px;
  line-height: 1.65;
  max-width: 540px;
  margin-top: 18px;
  text-shadow: none;
}
.hero__ctas {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero .btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF !important;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}
.hero .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
  color: #FFFFFF !important;
}

/* Hero art */
.hero__art {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 420px;
  border-radius: 24px;
  background: transparent;
  overflow: hidden;
}
.hero__art-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__art--image { background: transparent; }
.hero__art--image img {
  width: 110%;
  height: 110%;
  max-width: none;
  object-fit: contain;
  transform: scale(1.05);
}
.hero__glyph {
  width: 180px;
  height: 180px;
  border-radius: 36px;
  background: transparent;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__badge-tl,
.hero__badge-br {
  position: absolute;
  background: var(--surface);
  color: var(--primary);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border);
}
.hero__badge-tl { top: 24px; left: 24px; }
.hero__badge-br { bottom: 24px; right: 24px; }

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__copy h1 { font-size: clamp(34px, 5vw, 44px); }
  .hero__sub { font-size: 16.5px; }
}

@media (max-width: 640px) {
  .hero { padding: 100px 0 56px; }
  .hero__copy { text-align: left; }
  .hero__copy .eyebrow {
    font-size: 11px;
    padding: 5px 12px;
    margin-bottom: 14px;
    display: inline-flex;
  }
  .hero__copy h1 {
    font-size: clamp(28px, 7.5vw, 36px);
    line-height: 1.15;
    letter-spacing: -0.5px;
  }
  .hero__sub {
    font-size: 15px;
    line-height: 1.6;
    margin-top: 14px;
  }
  .hero__ctas {
    margin-top: 24px;
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .hero__ctas .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 15px;
  }
  .hero__art { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Stats bar — slim, borderless
   ═══════════════════════════════════════════════════════════════════════════ */
.stats {
  padding: 48px 0;
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px 12px;
}
.stat + .stat { border-left: 1px solid var(--divider); }
.stat__value {
  font-size: 38px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -1px;
  line-height: 1.1;
  display: block;
  margin-bottom: 6px;
}
.stat__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.35;
  display: block;
  text-align: center;
  max-width: 150px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 16px 8px; }
  .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid var(--divider); }
  .stat:nth-child(2n+1) { border-left: none; }
  .stat__value { font-size: 32px; }
  .stat__label { font-size: 13px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Section
   ═══════════════════════════════════════════════════════════════════════════ */
.section { padding: 88px 0; }
@media (max-width: 640px) { .section { padding: 56px 0; } }
.section--alt { background: var(--surface-alt); }
.section__head { text-align: center; margin-bottom: 56px; }
.section__head h2 {
  margin-top: 14px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}
.section__head p {
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Features grid
   ═══════════════════════════════════════════════════════════════════════════ */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1000px) { .features__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .features__grid { grid-template-columns: 1fr; } }

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: border-color .2s;
  box-shadow: none;
}
.feature:hover { border-color: rgba(1, 185, 88, 0.35); }
.feature__icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 {
  margin: 20px 0 8px;
  font-size: 16.5px;
  font-weight: 700;
}
.feature p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════════════════
   How it works — steps
   ═══════════════════════════════════════════════════════════════════════════ */
.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
@media (max-width: 800px) { .steps__grid { grid-template-columns: 1fr; gap: 24px; } }

.step {
  text-align: center;
  padding: 36px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  position: relative;
  box-shadow: none;
}
.step__num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.step h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 10px; }
.step p { color: var(--text-secondary); font-size: 14px; line-height: 1.6; }

/* ═══════════════════════════════════════════════════════════════════════════
   Onboarding Showcase (Clientes vs Socios)
   ═══════════════════════════════════════════════════════════════════════════ */
.onboarding__tabs {
  display: inline-flex;
  gap: 8px;
  background: var(--surface-muted);
  padding: 6px;
  border-radius: 999px;
  margin-top: 24px;
}
.onboarding__tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.onboarding__tab.active {
  background: var(--surface);
  color: var(--primary-dark);
  box-shadow: none;
  border: 1px solid var(--border);
}
.onboarding__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 860px) { .onboarding__grid { grid-template-columns: 1fr; } }

.onboarding__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: none;
  transition: border-color 0.2s ease;
}
.onboarding__card:hover {
  border-color: rgba(1, 185, 88, 0.4);
}
.onboarding__card--socio:hover {
  border-color: rgba(2, 132, 199, 0.4);
}
.onboarding__screen-frame {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, rgba(1, 185, 88, 0.05) 0%, rgba(248, 250, 252, 1) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: none;
}
.onboarding__screen-frame--socio {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.06) 0%, rgba(248, 250, 252, 1) 100%);
}
.onboarding__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: none;
}
.onboarding__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.onboarding__badge {
  font-size: 12px;
  font-weight: 800;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.5px;
}
.onboarding__badge--socio {
  color: #0284C7;
  background: #E0F2FE;
}
.onboarding__tag {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}
.onboarding__tag--socio {
  color: #0369A1;
}
.onboarding__body h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
  line-height: 1.35;
}
.onboarding__body p {
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Testimonials
   ═══════════════════════════════════════════════════════════════════════════ */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .testimonials__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .testimonials__grid { grid-template-columns: 1fr; } }

.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: none;
}
.testimonial__stars { display: flex; gap: 3px; color: #F59E0B; margin-bottom: 14px; }
.testimonial__stars svg { width: 17px; height: 17px; }
.testimonial__quote {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 22px;
}
.testimonial__author { display: flex; align-items: center; gap: 12px; }
.testimonial__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 14px;
  flex-shrink: 0;
}
.testimonial__avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial__name { font-weight: 700; font-size: 13.5px; }
.testimonial__role { color: var(--text-muted); font-size: 12px; margin-top: 2px; }

/* ═══════════════════════════════════════════════════════════════════════════
   App download banner
   ═══════════════════════════════════════════════════════════════════════════ */
.download {
  position: relative;
  background: var(--primary-gradient);
  color: #fff;
  padding: 64px 60px;
  border-radius: 28px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.download__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  z-index: 0;
  pointer-events: none;
}
.download__blob--a { width: 280px; height: 280px; top: -80px; left: -80px; background: rgba(255,255,255,0.25); }
.download__blob--b { width: 320px; height: 320px; bottom: -120px; right: -80px; background: rgba(0,0,0,0.22); }
.download__copy, .download__art { position: relative; z-index: 1; }

.download__eyebrow {
  display: inline-block;
  padding: 5px 13px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
}
.download h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.3px;
}
.download p {
  margin-top: 12px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
  max-width: 420px;
}
.download__perks {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.download__perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 500;
}
.download__perks-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.download__buttons {
  margin-top: 30px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-md);
  color: #fff;
  transition: background .15s;
  box-shadow: none;
}
.store-btn:hover { background: #fff; color: var(--text-primary); }
.store-btn:hover .store-btn__icon { color: var(--primary); }
.store-btn__icon { color: #fff; display: flex; align-items: center; flex-shrink: 0; }
.store-btn__icon svg { width: 24px; height: 24px; }
.store-btn__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.2;
}
.store-btn__sub { font-size: 10.5px; letter-spacing: 0.3px; opacity: 0.85; display: block; white-space: pre; }
.store-btn__label { font-size: 14px; font-weight: 700; margin-top: 2px; display: block; }
.store-btn--disabled {
  background: rgba(0,0,0,0.28);
  border-color: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5);
  cursor: not-allowed;
}
.store-btn--disabled:hover { background: rgba(0,0,0,0.28); color: rgba(255,255,255,0.5); }
.store-btn--disabled:hover .store-btn__icon { color: rgba(255,255,255,0.5); }

/* Hide Google reCAPTCHA floating badge per user request */
.grecaptcha-badge {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Clean single phone mockup fit */
.download__art {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.download__preview-img {
  width: 100%;
  max-width: 310px;
  height: auto;
  object-fit: contain;
  border-radius: 38px;
  border: 10px solid #0f172a;
  background: #0f172a;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}
.download__preview-img:hover {
  transform: translateY(-4px) scale(1.02);
}
.phone {
  position: relative;
  width: 275px;
  background: #0f172a;
  border-radius: 40px;
  padding: 10px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: none;
}
.phone__notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 18px;
  background: #000;
  border-radius: 100px;
  z-index: 5;
}
.phone__screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #EFF6FF 0%, #FFFFFF 40%);
  border-radius: 28px;
  padding: 40px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--text-primary);
  overflow: hidden;
}
.phone__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-primary);
  padding: 0 6px;
  margin-top: -20px;
  margin-bottom: 4px;
}
.phone__status-icons { display: flex; gap: 4px; }
.phone__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--text-primary); opacity: 0.7; }
.phone__app-header { padding: 0 4px; }
.phone__app-title { font-size: 14px; font-weight: 800; letter-spacing: -0.2px; }
.phone__app-sub { margin-top: 2px; font-size: 10.5px; color: var(--text-muted); font-weight: 500; }
.phone__tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 4px; }
.phone__tile {
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: 11px;
  padding: 10px 4px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.phone__tile--primary {
  background: var(--primary-gradient);
  border-color: transparent;
  color: #fff;
}
.phone__tile-icon {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: var(--primary-soft);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.phone__tile--primary .phone__tile-icon { background: rgba(255,255,255,0.22); color: #fff; }
.phone__tile-name { font-size: 9px; font-weight: 600; color: var(--text-secondary); }
.phone__tile--primary .phone__tile-name { color: #fff; }
.phone__card {
  margin-top: auto;
  background: var(--surface);
  border-radius: 13px;
  padding: 10px;
  border: 1px solid var(--divider);
}
.phone__card-row { display: flex; align-items: center; gap: 8px; }
.phone__card-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: #fff;
  font-weight: 800;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone__card-body { flex: 1; min-width: 0; }
.phone__card-title { font-size: 11px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone__card-sub { font-size: 9.5px; color: var(--text-muted); margin-top: 1px; }
.phone__card-rating {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #FEF3C7;
  color: #92400E;
  padding: 3px 6px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
}
.phone__card-rating svg { color: #F59E0B; }
.phone__card-progress { margin-top: 8px; height: 3px; border-radius: 4px; background: var(--surface-muted); overflow: hidden; }
.phone__card-progress-fill { height: 100%; width: 62%; border-radius: 4px; background: var(--primary-gradient); }

@media (max-width: 860px) {
  .download { grid-template-columns: 1fr; padding: 48px 36px; gap: 40px; text-align: center; }
  .download p { margin-left: auto; margin-right: auto; }
  .download__perks { margin-left: auto; margin-right: auto; max-width: 320px; }
  .download__buttons { justify-content: center; }
  .download__copy { display: flex; flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
  .download { padding: 36px 20px; border-radius: 20px; }
  .download__buttons { flex-direction: column; }
  .store-btn { width: 100%; justify-content: center; }
  .download__art { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════════════════════ */
.faq { max-width: 760px; margin: 0 auto; }
.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: border-color .16s, background .16s;
  background: var(--surface);
}
.faq__item.open {
  border-color: rgba(1, 185, 88, 0.35);
  background: var(--primary-surface);
}
.faq__head { display: flex; align-items: center; gap: 12px; }
.faq__q { flex: 1; font-size: 15px; font-weight: 600; color: var(--text-primary); }
.faq__chev { color: var(--primary); transition: transform .18s; }
.faq__chev svg { width: 20px; height: 20px; }
.faq__item.open .faq__chev { transform: rotate(180deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .22s ease, margin-top .22s ease;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.65;
}
.faq__item.open .faq__a { max-height: 600px; margin-top: 12px; }

/* ═══════════════════════════════════════════════════════════════════════════
   Pre-footer CTA Strip — clean light green
   ═══════════════════════════════════════════════════════════════════════════ */
.footer-cta {
  background: var(--surface-alt);
  border: none;
}
.footer-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: 64px 24px;
}
.footer-cta__content { flex: 1; min-width: 240px; }
.footer-cta__title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.4px;
  color: var(--text-primary);
  line-height: 1.2;
  margin: 0 0 8px;
}
.footer-cta__sub {
  color: var(--text-secondary);
  font-size: 15px;
  margin: 0;
  max-width: 480px;
}
.footer-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-md);
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .18s;
  box-shadow: none;
}
.footer-cta__btn:hover {
  background: var(--primary-dark);
  color: #fff;
}
@media (max-width: 760px) {
  .footer-cta__inner { flex-direction: column; text-align: center; padding: 48px 24px; }
  .footer-cta__btn { align-self: center; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Footer — Clean Light Theme (Google-style)
   ═══════════════════════════════════════════════════════════════════════════ */
.footer {
  background: var(--surface-alt);
  color: var(--text-primary);
  border: none;
  box-shadow: none;
}
.footer__cols {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 48px;
  padding: 20px 0 52px;
}

/* Brand col */
.footer__col--brand {}
.footer__brand {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--text-primary);
}
.footer__tag {
  margin-top: 10px;
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.65;
  max-width: 260px;
}
.footer__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  background: var(--primary-soft);
  border-radius: 999px;
  padding: 5px 13px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-dark);
}
.footer__status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse-dot 2.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}
.footer__socials {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.footer__social {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  box-shadow: none;
}
.footer__social:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.footer__social svg { width: 17px; height: 17px; }

/* Link columns */
.footer__col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.footer__col-links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer__col-links a {
  font-size: 13.5px;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.18s;
}
.footer__col-links a:hover { color: var(--primary); }

/* Bottom bar */
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid var(--border-subtle);
  padding: 20px 0 28px;
}
.footer__copy { color: var(--text-muted); font-size: 13px; }
.footer__bottom-links { display: flex; gap: 24px; }
.footer__bottom-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.18s;
}
.footer__bottom-links a:hover { color: var(--text-primary); }

@media (max-width: 900px) {
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__col--brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 24px; padding: 36px 0 28px; }
  .footer__col--brand { grid-column: 1 / -1; }
  .footer__brand { font-size: 17px; }
  .footer__tag { font-size: 12.5px; }
  .footer__col-title { font-size: 10px; }
  .footer__col-links a { font-size: 13px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 0 20px; }
  .footer__bottom-links { gap: 12px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Policy Pages
   ═══════════════════════════════════════════════════════════════════════════ */
.policy-section {
  padding: 0 0 100px;
  background: linear-gradient(180deg, #F0FAF4 0%, var(--surface-alt) 180px);
  min-height: calc(100vh - 68px);
}
.policy-section .container { padding-top: 48px; }
.policy-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 0;
  overflow: hidden;
}
.policy-card > h1 {
  font-size: 28px;
  font-weight: 800;
  margin: 0;
  padding: 40px 48px 36px;
  color: #fff;
  letter-spacing: -0.4px;
  background: linear-gradient(135deg, #0A7A3A 0%, #01B958 55%, #019647 100%);
  position: relative;
  overflow: hidden;
}
.policy-card > h1::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 24px;
  background: #fff;
  border-radius: 20px 20px 0 0;
}
.policy-content {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text-secondary);
  padding: 40px 48px 48px;
}
.policy-content h2 {
  color: var(--text-primary);
  font-size: 17px;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}
.policy-content h2:first-child { margin-top: 0; }
.policy-content h3 { color: var(--text-primary); font-size: 15px; font-weight: 700; margin-top: 22px; margin-bottom: 8px; }
.policy-content p { margin-bottom: 14px; }
.policy-content ul, .policy-content ol { padding-left: 20px; margin-bottom: 16px; display: flex; flex-direction: column; gap: 8px; }
.policy-content li { line-height: 1.65; }
.policy-content a { color: var(--primary-dark); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(1,185,88,0.35); text-underline-offset: 3px; transition: text-decoration-color 0.2s; }
.policy-content a:hover { text-decoration-color: var(--primary); }
.policy-content #eliminacion-datos { scroll-margin-top: 88px; }
@media (max-width: 640px) {
  .policy-card > h1 { padding: 32px 24px 30px; font-size: 22px; }
  .policy-content { padding: 28px 24px 36px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Contact Page
   ═══════════════════════════════════════════════════════════════════════════ */
.contact-grid { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none !important;
  color: var(--text-primary);
  transition: border-color .18s, transform .18s;
}
.contact-card:not(.contact-card--static):hover { border-color: rgba(1,185,88,.3); transform: translateY(-2px); }
.contact-card__icon {
  width: 52px; height: 52px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--primary-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-card__body { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.contact-card__label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .7px; color: var(--text-muted); }
.contact-card__value { font-size: 16px; font-weight: 700; color: var(--text-primary); }
.contact-card__hint { font-size: 12.5px; color: var(--text-muted); }
.contact-card__arrow { color: var(--primary); flex-shrink: 0; opacity: .7; transition: opacity .18s, transform .18s; }
.contact-card:hover .contact-card__arrow { opacity: 1; transform: translateX(3px); }
.contact-socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; margin-bottom: 8px; }
.contact-social {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(1,185,88,0.07);
  border: 1px solid rgba(1,185,88,0.2);
  color: var(--primary-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  transition: all .2s;
}
.contact-social svg { width: 18px; height: 18px; flex-shrink: 0; }
.contact-social:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-2px); }
@media (max-width: 560px) {
  .contact-card { padding: 16px; gap: 14px; }
  .contact-card__icon { width: 44px; height: 44px; border-radius: 12px; }
  .contact-card__value { font-size: 14.5px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   Header Dropdown Submenus & Mobile Groups
   ═══════════════════════════════════════════════════════════════════════ */
.nav__dropdown {
  position: relative;
  display: inline-block;
}
.nav__dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav__arrow {
  font-size: 11px;
  opacity: 0.8;
  transition: transform 0.2s ease;
}
.nav__dropdown:hover .nav__arrow {
  transform: rotate(180deg);
}
.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #FFFFFF;
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.15), 0 4px 10px rgba(0,0,0,0.05);
  border: 1px solid #E2E8F0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 100;
}
.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}
.nav__dropdown-menu a {
  display: block;
  padding: 9px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: #334155 !important;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
}
.nav__dropdown-menu a:hover {
  background: #F1F5F9;
  color: var(--primary, #01B958) !important;
}

/* Mobile Drawer Groups */
.nav__mobile-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}
.nav__mobile-title {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: #94A3B8;
  letter-spacing: 0.8px;
  padding: 8px 12px 2px;
}
.nav__mobile-group a {
  padding-left: 20px !important;
}

