/* ============================================================
   Toj-ool · Página de presentación
   Paleta sage clínica derivada de #7c9885 · tono cálido y humano
   ============================================================ */

/* --- marcadores de imagen estáticos (versión limpia, sin dependencias) --- */
.av { display: grid; place-items: center; color: var(--brand); font-size: 15px; }
.fc-photo { width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; background: var(--brand-soft); color: var(--brand-deep); display: grid; place-items: center; font-size: 20px; }
.photo-ph { width: 100%; height: 480px; border-radius: 26px; box-shadow: var(--shadow-lg); background: linear-gradient(160deg, var(--brand-soft), var(--brand-tint)); border: 2px dashed var(--border-strong, #cdd9d6); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--brand-strong); text-align: center; padding: 24px; }
.photo-ph i { font-size: 46px; opacity: .7; }
.photo-ph span { font-size: 15px; font-weight: 600; max-width: 22ch; }
.photo-ph img, .human-photo img.photo-ph { object-fit: cover; }
@media (max-width: 920px) { .photo-ph { height: 360px; } }

:root {
  /* ---- marca / sage ---- */
  --brand: #4a7fa8;
  --brand-strong: #346992;
  --brand-deep: #0a3f68;
  --brand-forest: #00234c;
  --brand-soft: #dee8ef;
  --brand-tint: #edf2f6;
  --brand-contrast: #ffffff;

  /* ---- acento cálido (uso mínimo) ---- */
  --clay: #cf9466;
  --clay-soft: #f3e4d6;

  /* ---- neutros cálidos ---- */
  --cream: #f6f3ec;
  --cream-2: #efeadd;
  --surface: #ffffff;
  --surface-2: #faf8f3;
  --ink: #283330;
  --ink-muted: #5e6c65;
  --ink-faint: #93a098;
  --line: #e7e2d5;
  --line-soft: #eee9de;

  /* estados (para el mockup) */
  --ok: #4f9b76; --ok-soft: #e3f1e9;
  --warn: #c79038; --warn-soft: #f6ecd9;
  --info: #5384a8; --info-soft: #e3edf3;
  --violet: #8175ad; --violet-soft: #ece8f3;

  /* ---- escala / forma (controlable por tweaks) ---- */
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 30px;
  --base: 17px;
  --space: 1;            /* multiplicador de densidad */
  --maxw: 1200px;
  --warm-bg: var(--cream);  /* alterna a #fff vía tweak */

  --shadow-sm: 0 1px 2px rgba(36,58,47,.05), 0 2px 6px rgba(36,58,47,.05);
  --shadow-md: 0 6px 20px rgba(36,58,47,.08), 0 2px 6px rgba(36,58,47,.05);
  --shadow-lg: 0 24px 60px rgba(36,58,47,.16), 0 8px 24px rgba(36,58,47,.08);
  --shadow-brand: 0 18px 44px rgba(100,126,108,.34);

  --font-body: 'Source Sans 3', system-ui, -apple-system, sans-serif;
  --font-head: 'Source Serif 4', Georgia, serif;
  --head-weight: 600;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--base);
  line-height: 1.55;
  color: var(--ink);
  background: var(--warm-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: var(--head-weight);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--brand-forest);
  text-wrap: balance;
}
p { margin: 0; }
::selection { background: var(--brand-soft); color: var(--brand-deep); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-strong);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--brand);
}
.muted { color: var(--ink-muted); }

/* botones --------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 50px; padding: 0 24px; border-radius: 999px;
  font-size: 16px; font-weight: 600; letter-spacing: .01em; white-space: nowrap;
  transition: transform .12s ease, background .16s ease, box-shadow .16s ease, color .16s ease, border-color .16s ease;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--brand); color: var(--brand-contrast); box-shadow: var(--shadow-brand); }
.btn-primary:hover { background: var(--brand-strong); }
.btn-ghost { background: var(--surface); color: var(--brand-deep); border: 1.5px solid var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-strong); }
.btn-soft { background: var(--brand-soft); color: var(--brand-deep); }
.btn-soft:hover { background: #dde9df; }
.btn-sm { height: 42px; padding: 0 18px; font-size: 15px; }
.btn-block { width: 100%; }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--warm-bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.nav.scrolled { border-bottom-color: var(--line-soft); box-shadow: 0 4px 20px rgba(36,58,47,.05); }
.nav-inner { display: flex; align-items: center; gap: 26px; height: 76px; }
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  object-fit: cover; background: #fff;
  box-shadow: 0 6px 16px rgba(100,126,108,.30); border: 1.5px solid rgba(255,255,255,.7);
}
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 22px; color: var(--brand-forest); letter-spacing: -.02em; line-height: 1; }
.brand-sub { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-strong); margin-top: 2px; }

.menu { display: flex; align-items: center; gap: 6px; margin-left: 8px; }
.menu a {
  position: relative; padding: 8px 14px; border-radius: 999px;
  font-size: 15.5px; font-weight: 600; color: var(--ink-muted);
  transition: color .15s, background .15s;
}
.menu a:hover { color: var(--brand-deep); background: var(--brand-tint); }

.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.login {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; font-size: 15.5px; font-weight: 600;
  color: var(--brand-deep); transition: background .15s, color .15s;
}
.login:hover { background: var(--brand-tint); }
.login i { font-size: 14px; }

.hamburger {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  color: var(--brand-deep); font-size: 20px; place-items: center;
  border: 1.5px solid var(--line); background: var(--surface);
}

/* menú móvil */
.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  padding: 10px 20px 22px;
  border-bottom: 1px solid var(--line-soft); background: var(--warm-bg);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 13px 12px; border-radius: 12px; font-weight: 600; font-size: 17px; color: var(--ink); }
.mobile-menu a:hover { background: var(--brand-tint); }
.mobile-menu .row { display: flex; gap: 10px; margin-top: 8px; }
.mobile-menu .row .btn { flex: 1; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 92px) 0 clamp(60px, 8vw, 104px); }
.hero-blob {
  position: absolute; border-radius: 50%; filter: blur(10px); opacity: .55; pointer-events: none; z-index: 0;
}
.hero-blob.b1 { width: 620px; height: 620px; right: -180px; top: -220px;
  background: radial-gradient(circle at 30% 30%, var(--brand-soft), transparent 68%); opacity: .9; }
.hero-blob.b2 { width: 380px; height: 380px; left: -160px; bottom: -120px;
  background: radial-gradient(circle at 50% 50%, var(--clay-soft), transparent 70%); opacity: .6; }

.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.04fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero.centered .hero-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; max-width: 820px; margin: 0 auto; }
.hero.centered .hero-cta, .hero.centered .hero-trust { justify-content: center; }
.hero.centered .hero-visual { display: none; }

.pill-badge {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px;
  padding: 7px 8px 7px 8px; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: 13.5px; font-weight: 600; color: var(--ink-muted);
}
.pill-badge .tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--brand-soft); color: var(--brand-deep);
  padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700;
}
.hero h1 { font-size: clamp(40px, 5.6vw, 70px); line-height: 1.02; margin-bottom: 22px; }
.hero h1 .hl { color: var(--brand); font-style: italic; }
.hero-sub { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-muted); max-width: 30em; margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-trust { display: flex; align-items: center; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.avatars { display: flex; }
.avatars .av {
  width: 38px; height: 38px; border-radius: 50%; border: 2.5px solid var(--warm-bg);
  margin-left: -12px; overflow: hidden; background: var(--brand-soft);
}
.avatars .av:first-child { margin-left: 0; }
.trust-txt { font-size: 14.5px; color: var(--ink-muted); }
.trust-txt b { color: var(--brand-deep); }
.stars { color: var(--clay); font-size: 13px; letter-spacing: 1px; }

/* ---- mockup del dashboard ---- */
.hero-visual { position: relative; z-index: 1; }
.window {
  border-radius: var(--radius-lg); background: var(--surface);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line-soft);
  overflow: hidden; transform: perspective(1600px) rotateY(-7deg) rotateX(2deg);
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.hero-visual:hover .window { transform: perspective(1600px) rotateY(-3deg) rotateX(1deg); }
.win-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; background: var(--surface-2); border-bottom: 1px solid var(--line-soft); }
.win-bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.win-bar .dot:nth-child(1) { background: #e6a09a; }
.win-bar .dot:nth-child(2) { background: #e8cf94; }
.win-bar .dot:nth-child(3) { background: #a7cfae; }
.win-bar .url { margin-left: 14px; font-size: 12px; color: var(--ink-faint); font-weight: 600; }

.app { display: flex; height: 430px; background: var(--surface); }
.app-side {
  width: 76px; flex-shrink: 0; background: linear-gradient(180deg, var(--brand-forest), #1d3026);
  display: flex; flex-direction: column; align-items: center; padding: 16px 0; gap: 7px;
}
.app-side .logo { width: 34px; height: 34px; border-radius: 10px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 15px; margin-bottom: 12px; }
.app-side .ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: #9fc0ad; font-size: 16px; }
.app-side .ic.on { background: rgba(124,152,133,.26); color: #fff; }
.app-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.app-top { height: 52px; border-bottom: 1px solid var(--line-soft); display: flex; align-items: center; gap: 12px; padding: 0 18px; }
.app-search { flex: 1; max-width: 240px; height: 32px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--line); display: flex; align-items: center; gap: 8px; padding: 0 12px; color: var(--ink-faint); font-size: 12px; }
.app-top .avx { width: 30px; height: 30px; border-radius: 50%; background: var(--brand-soft); margin-left: auto; }
.app-body { flex: 1; padding: 18px; overflow: hidden; background: var(--surface-2); }
.app-h { font-family: var(--font-head); font-size: 16px; color: var(--brand-forest); margin-bottom: 2px; }
.app-hs { font-size: 11.5px; color: var(--ink-muted); margin-bottom: 14px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.kpi { border-radius: 13px; padding: 12px; color: #fff; position: relative; overflow: hidden; min-height: 78px; }
.kpi .n { font-size: 24px; font-weight: 800; line-height: 1; }
.kpi .l { font-size: 10.5px; opacity: .92; margin-top: 5px; font-weight: 600; }
.kpi i { position: absolute; right: 8px; bottom: 6px; font-size: 30px; opacity: .2; }
.kpi.k1 { background: linear-gradient(140deg, #7c9885, #4f6c5a); }
.kpi.k2 { background: linear-gradient(140deg, #5384a8, #3c6386); }
.kpi.k3 { background: linear-gradient(140deg, #b98a59, #9c6f3f); }
.mini-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 13px; padding: 12px 14px; }
.mini-card .ct { font-size: 12px; font-weight: 700; color: var(--brand-forest); margin-bottom: 10px; display: flex; align-items: center; gap: 7px; }
.mini-card .ct i { color: var(--brand); }
.appt { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line-soft); }
.appt:first-of-type { border-top: none; }
.appt .t { font-size: 11px; font-weight: 700; color: var(--brand-deep); width: 38px; }
.appt .bar { width: 3px; align-self: stretch; border-radius: 3px; background: var(--brand); }
.appt .who { font-size: 11.5px; font-weight: 600; }
.appt .what { font-size: 10px; color: var(--ink-muted); }
.appt .bdg { margin-left: auto; font-size: 9.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px; }
.bg-ok { background: var(--ok-soft); color: var(--ok); }
.bg-warn { background: var(--warn-soft); color: var(--warn); }

/* tarjeta flotante humana */
.float-card {
  position: absolute; left: -34px; bottom: 36px; z-index: 3;
  background: var(--surface); border-radius: 18px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line-soft); padding: 14px 16px; display: flex; align-items: center; gap: 12px; max-width: 250px;
}
.float-card image-slot { width: 46px; height: 46px; flex-shrink: 0; }
.float-card .fc-n { font-size: 14px; font-weight: 700; color: var(--brand-forest); }
.float-card .fc-s { font-size: 12px; color: var(--ink-muted); }
.float-card .fc-ic { margin-left: 2px; color: var(--ok); font-size: 16px; }

/* franja de logos / confianza */
.logos { padding: 8px 0 4px; }
.logos .lbl { text-align: center; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 22px; }
.logos-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(26px, 5vw, 64px); opacity: .72; }
.logos-row .lg { display: flex; align-items: center; gap: 9px; font-family: var(--font-head); font-size: 21px; font-weight: 600; color: var(--brand-deep); }
.logos-row .lg i { font-size: 18px; color: var(--brand); }

/* ============================================================
   SECCIONES GENERALES
   ============================================================ */
section { position: relative; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.tint { background: var(--brand-tint); }
.section.forest { background: linear-gradient(165deg, var(--brand-forest), #1a2c23); color: #d9e6dd; }
.sec-head { max-width: 660px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.sec-head.left { margin-left: 0; text-align: left; }
.sec-head h2 { font-size: clamp(32px, 4vw, 50px); margin: 16px 0 16px; }
.sec-head p { font-size: 18px; color: var(--ink-muted); }
.forest .sec-head h2 { color: #fff; }
.forest .sec-head p { color: #aec5b6; }
.forest .eyebrow { color: #9fc0ad; }
.forest .eyebrow::before { background: #9fc0ad; }

/* features */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s, border-color .18s;
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-soft); }
.feat .ic {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  font-size: 23px; margin-bottom: 20px; background: var(--brand-soft); color: var(--brand-deep);
}
.feat:nth-child(2) .ic { background: var(--info-soft); color: var(--info); }
.feat:nth-child(3) .ic { background: var(--clay-soft); color: #b07440; }
.feat:nth-child(4) .ic { background: var(--violet-soft); color: var(--violet); }
.feat:nth-child(5) .ic { background: var(--ok-soft); color: var(--ok); }
.feat:nth-child(6) .ic { background: var(--warn-soft); color: var(--warn); }
.feat:nth-child(7) .ic { background: var(--info-soft); color: var(--info); }
.feat:nth-child(8) .ic { background: var(--clay-soft); color: #b07440; }
.feat h3 { font-size: 21px; margin-bottom: 9px; }
.feat p { font-size: 15.5px; color: var(--ink-muted); }

/* banda humana */
.human { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.human-photo { position: relative; }
.human-photo image-slot { width: 100%; height: 480px; box-shadow: var(--shadow-lg); }
.human-photo .badge-float {
  position: absolute; right: -18px; bottom: 30px; background: var(--surface); border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: 16px 18px; display: flex; align-items: center; gap: 13px; border: 1px solid var(--line-soft);
}
.human-photo .badge-float .big { font-family: var(--font-head); font-size: 30px; color: var(--brand-deep); line-height: 1; }
.human-photo .badge-float .sm { font-size: 12.5px; color: var(--ink-muted); max-width: 110px; }
.human h2 { font-size: clamp(30px, 3.6vw, 46px); margin: 16px 0 20px; }
.human .lead { font-size: 18px; color: var(--ink-muted); margin-bottom: 24px; }
.checklist { display: flex; flex-direction: column; gap: 14px; }
.checklist li { display: flex; gap: 13px; align-items: flex-start; list-style: none; }
.checklist { padding: 0; margin: 0; }
.checklist .ck { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-deep); display: grid; place-items: center; font-size: 12px; margin-top: 2px; }
.checklist .ct { font-weight: 700; color: var(--brand-forest); }
.checklist .cs { font-size: 15px; color: var(--ink-muted); }

/* cómo funciona */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; }
.step .num {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  font-family: var(--font-head); font-size: 22px; font-weight: 600; margin-bottom: 20px;
  background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.16);
}
.step h3 { font-size: 21px; color: #fff; margin-bottom: 9px; }
.step p { font-size: 15.5px; color: #aec5b6; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 26px; left: 64px; right: -12px; height: 1.5px;
  background: linear-gradient(90deg, rgba(159,192,173,.5), rgba(159,192,173,0));
}

/* precios */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: 34px 30px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .18s, box-shadow .18s;
}
.price:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price.feat-plan { background: linear-gradient(170deg, var(--brand-deep), var(--brand-forest)); color: #d9e6dd; border-color: transparent; box-shadow: var(--shadow-lg); transform: scale(1.03); }
.price.feat-plan:hover { transform: scale(1.03) translateY(-4px); }
.price .pname { font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-strong); display: flex; align-items: center; gap: 10px; }
.price.feat-plan .pname { color: #9fc0ad; }
.popular { background: var(--clay); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; letter-spacing: .04em; text-transform: none; }
.price .pdesc { font-size: 14.5px; color: var(--ink-muted); margin: 6px 0 22px; min-height: 42px; }
.price.feat-plan .pdesc { color: #aec5b6; }
.price .amount { font-family: var(--font-head); display: flex; align-items: flex-end; gap: 6px; margin-bottom: 4px; }
.price .amount .cur { font-size: 22px; color: var(--brand-strong); margin-bottom: 8px; }
.price.feat-plan .amount .cur { color: #9fc0ad; }
.price .amount .val { font-size: 52px; font-weight: 600; line-height: 1; color: var(--brand-forest); }
.price.feat-plan .amount .val { color: #fff; }
.price .per { font-size: 14px; color: var(--ink-faint); margin-bottom: 26px; }
.price.feat-plan .per { color: #8fae9d; }
.price ul { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 13px; flex: 1; }
.price li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; }
.price li i { color: var(--brand); font-size: 14px; margin-top: 4px; flex-shrink: 0; }
.price.feat-plan li i { color: #9fc0ad; }
.price.feat-plan .btn-ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.22); }
.price.feat-plan .btn-ghost:hover { background: rgba(255,255,255,.18); }
.price-note { text-align: center; margin-top: 30px; font-size: 14.5px; color: var(--ink-muted); }

/* toggle de facturación */
.billing-wrap { display: flex; justify-content: center; margin-bottom: clamp(30px, 4vw, 46px); }
.billing-toggle { display: inline-flex; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 5px; box-shadow: var(--shadow-sm); }
.billing-toggle button { border: none; background: transparent; font-family: inherit; font-size: 15px; font-weight: 600; color: var(--ink-muted); padding: 9px 22px; border-radius: 999px; display: inline-flex; align-items: center; gap: 9px; transition: background .15s, color .15s; }
.billing-toggle button.on { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.billing-toggle .save { font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--clay-soft); color: #b07440; }
.billing-toggle button.on .save { background: rgba(255,255,255,.24); color: #fff; }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.qa { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; transition: box-shadow .18s; }
.qa[open] { box-shadow: var(--shadow-md); }
.qa summary { list-style: none; cursor: pointer; padding: 22px 26px; display: flex; align-items: center; gap: 16px; font-family: var(--font-head); font-size: 19px; font-weight: 600; color: var(--brand-forest); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .chev { margin-left: auto; color: var(--brand); transition: transform .22s; font-size: 16px; flex-shrink: 0; }
.qa[open] summary .chev { transform: rotate(180deg); }
.qa .ans { padding: 0 26px 24px 26px; font-size: 16px; color: var(--ink-muted); line-height: 1.6; max-width: 64ch; }

/* CTA + contacto */
.cta-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 64px); align-items: center; }
.cta-copy h2 { font-size: clamp(32px, 4vw, 52px); color: #fff; margin: 18px 0 18px; }
.cta-copy .lead { font-size: 18.5px; color: #b6cdc1; margin-bottom: 30px; max-width: 26em; }
.cta-contacts { display: flex; flex-direction: column; gap: 14px; }
.cta-contact { display: flex; align-items: center; gap: 15px; }
.cta-contact .ic { width: 50px; height: 50px; border-radius: 14px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; font-size: 19px; color: #9fc0ad; flex-shrink: 0; }
.cta-contact .lbl { font-size: 13px; color: #8fae9d; }
.cta-contact .val { font-size: 18px; font-weight: 700; color: #fff; }
.cta-contact .val:hover { color: #9fc0ad; }

.form-card { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 40px); box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: 24px; margin-bottom: 6px; }
.form-card .fsub { font-size: 15px; color: var(--ink-muted); margin-bottom: 24px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fld { display: flex; flex-direction: column; gap: 7px; }
.fld.full { grid-column: 1 / -1; }
.fld label { font-size: 13.5px; font-weight: 600; color: var(--brand-forest); }
.fld input, .fld textarea, .fld select {
  width: 100%; border: 1.5px solid var(--line); background: var(--surface-2); border-radius: 12px;
  padding: 0 14px; height: 48px; font-family: inherit; font-size: 15.5px; color: var(--ink);
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.fld textarea { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.fld input::placeholder, .fld textarea::placeholder { color: var(--ink-faint); }
.fld input:focus, .fld textarea:focus, .fld select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); background: var(--surface); }
.form-ok { display: none; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 30px 10px; }
.form-ok .big-ic { width: 70px; height: 70px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-deep); display: grid; place-items: center; font-size: 30px; }
.form-ok h3 { font-size: 24px; }
.form-card.sent .form-body { display: none; }
.form-card.sent .form-ok { display: flex; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #15241c; color: #9bb3a5; padding: 64px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer .brand-name { color: #fff; }
.footer .brand-sub { color: #6f8a7b; }
.foot-about { font-size: 15px; color: #87a193; margin: 18px 0 20px; max-width: 30ch; }
.foot-social { display: flex; gap: 10px; }
.foot-social a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.07); display: grid; place-items: center; color: #b6cdc1; transition: background .15s, color .15s; }
.foot-social a:hover { background: var(--brand); color: #fff; }
.foot-col h4 { font-family: var(--font-body); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #6f8a7b; margin-bottom: 16px; font-weight: 700; }
.foot-col a { display: block; font-size: 15px; color: #a9c1b3; padding: 6px 0; transition: color .15s; }
.foot-col a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 26px; font-size: 13.5px; color: #6f8a7b; flex-wrap: wrap; }
.foot-bottom a:hover { color: #fff; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .feat-grid, .prices, .steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
}
@media (max-width: 920px) {
  .menu, .login, .nav-actions .btn { display: none; }
  .nav-actions { margin-left: auto; }
  .hamburger { display: grid; }
  .hero-grid { grid-template-columns: 1fr; text-align: left; }
  .hero-visual { margin-top: 24px; }
  .window { transform: none; }
  .human { grid-template-columns: 1fr; }
  .human-photo image-slot { height: 360px; }
  .cta-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 20px; }
  .feat-grid, .prices, .steps, .foot-grid, .fgrid { grid-template-columns: 1fr; }
  .price.feat-plan { transform: none; }
  .price.feat-plan:hover { transform: translateY(-4px); }
  .float-card { left: 8px; bottom: 8px; }
  .human-photo .badge-float { right: 8px; }
  .foot-grid { gap: 30px; }
  .hero-trust { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
