/* site.css — la identidad de la landing de WPwizard. El motor de efectos vive en alma.css. */

@font-face {
  font-family: "Onest";
  src: url("../fonts/onest-800.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Hanken";
  src: url("../fonts/hankengrotesk.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* Heredado del producto: el verde del favicon y del panel. */
  --brand: #12b981;
  --brand-deep: #0b8a5c;
  --forest: #0b3b2e;
  --forest-2: #072a20;
  --mint: #c9f3e1;
  --mint-tint: #e4f8ee;

  --paper: #f6fbf8;
  --white: #ffffff;
  --ink: #0f2a22;
  --ink-soft: #3d524a;
  --mut: #6b7f77;
  --line: rgba(15, 42, 34, 0.12);
  --line-soft: rgba(15, 42, 34, 0.07);

  /* Los tres estados de un sitio. Son el sistema de color de la página. */
  --broken: #e4573d;
  --broken-tint: #fce9e4;
  --working: #d98e0b;
  --working-tint: #fbf0d9;
  --online: var(--brand-deep);
  --online-tint: var(--mint-tint);

  --display: "Onest", "Hanken", system-ui, sans-serif;
  --text: "Hanken", system-ui, sans-serif;

  --maxw: 1240px;
  --pad: clamp(16px, 4.5vw, 44px);
  --nav-h: 64px;
  --r-block: clamp(28px, 5vw, 56px);
  --r-card: 22px;
  --r-pill: 999px;

  --sh-card: 0 1px 2px rgba(15, 42, 34, 0.05), 0 18px 44px rgba(15, 42, 34, 0.1);
  --sh-phone: 0 30px 70px rgba(7, 42, 32, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

::selection { background: var(--mint); color: var(--forest); }
:focus-visible { outline: 2px solid var(--brand-deep); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.7rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1.5px; text-decoration-color: var(--brand); }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; }

.wrap { width: min(var(--maxw), 100% - 2 * var(--pad)); margin-inline: auto; }
.tone { color: var(--brand-deep); }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.5; color: var(--ink-soft); max-width: 46ch; }

/* ── Botones ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: var(--r-pill); border: 1.5px solid transparent;
  font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  min-height: 48px; transition: transform 0.2s var(--ease-spring), background 0.15s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--brand { background: var(--brand); color: var(--forest-2); }
.btn--brand:hover { background: #22c78e; }
.btn--ink { background: var(--forest); color: var(--white); }
.btn--ink:hover { background: var(--forest-2); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--paper { background: var(--white); color: var(--forest); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.45); }
.btn--outline-light:hover { border-color: var(--white); }
.btn svg { width: 18px; height: 18px; }

/* ── Nav de píldora ──────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 14px; left: 50%; translate: -50% 0; z-index: 50;
  width: min(var(--maxw), 100% - 2 * var(--pad));
  height: var(--nav-h);
  background: var(--forest-2); color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-pill);
  display: flex; align-items: center; gap: 26px;
  padding: 0 12px 0 22px;
  box-shadow: 0 10px 30px rgba(7, 42, 32, 0.22);
}
.logo { display: inline-flex; align-items: baseline; gap: 7px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.28rem; letter-spacing: -0.02em; }
.logo__mark { width: 26px; height: 26px; color: var(--brand); align-self: center; flex: none; }
.logo b { color: var(--brand); font-weight: 800; }
.logo small { font-family: var(--text); font-weight: 500; font-size: 0.78rem; opacity: 0.65; letter-spacing: 0; }
.nav__links { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav__links a { text-decoration: none; font-weight: 500; opacity: 0.9; }
.nav__links a:hover { opacity: 1; text-decoration: underline; }
.nav__cta { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.nav .btn { padding: 10px 18px; min-height: 42px; font-size: 0.95rem; }
.nav__lang { text-decoration: none; font-weight: 600; font-size: 0.85rem; padding: 8px 10px; border-radius: var(--r-pill); border: 1px solid rgba(255, 255, 255, 0.25); min-height: 36px; display: inline-flex; align-items: center; margin-right: 4px; }
.nav__lang:hover { border-color: var(--white); text-decoration: none; }
.nav__burger { display: none; margin-left: auto; background: none; border: 0; color: var(--white); padding: 8px; cursor: pointer; }
.nav__burger svg { width: 26px; height: 26px; }

@media (max-width: 900px) {
  .nav { gap: 12px; padding-left: 18px; }
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: inline-flex; }
  .nav.is-open { border-radius: 28px; height: auto; flex-wrap: wrap; padding-bottom: 16px; }
  .nav.is-open .nav__links { display: flex; flex-direction: column; gap: 4px; width: 100%; order: 3; padding: 6px 4px 0; border-top: 1px solid rgba(255, 255, 255, 0.14); margin-top: 6px; }
  .nav.is-open .nav__links a { display: block; padding: 10px 0; min-height: 44px; }
  .nav.is-open .nav__cta { display: flex; order: 4; width: 100%; padding: 10px 4px 0; }
  .nav.is-open .nav__cta .btn { flex: 1; justify-content: center; }
  .nav.is-open .logo { height: var(--nav-h); display: inline-flex; align-items: center; }
  .nav.is-open .nav__burger { align-self: flex-start; margin-top: 12px; }
}

/* ── Escena fija: hero + el incidente ────────────────────────────────── */
.stage { --stage-length: 560vh; --pasos: 1; }
.stage__pin {
  display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: clamp(20px, 4vw, 64px);
  padding: calc(var(--nav-h) + 34px) max(var(--pad), (100% - var(--maxw)) / 2) 24px;
  background: var(--paper);
}
.stage__pin > * { width: 100%; }

@keyframes page-state {
  0%   { background-color: var(--paper); }
  13%  { background-color: var(--paper); }
  20%  { background-color: var(--broken-tint); }
  38%  { background-color: var(--broken-tint); }
  46%  { background-color: var(--working-tint); }
  58%  { background-color: var(--working-tint); }
  66%  { background-color: var(--online-tint); }
  100% { background-color: var(--online-tint); }
}

/* Columna izquierda: el texto del hero y la ventana del sitio comparten la
 * misma celda. Al bajar, uno se va y la otra llega. */
.stage__left { display: grid; align-items: center; }
.stage__left > * { grid-area: 1 / 1; }

.hero-copy { display: grid; gap: 22px; }
.hero-copy .btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-copy .free { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--brand-deep); }
.hero-copy .free i { width: 9px; height: 9px; border-radius: 50%; background: var(--brand); display: inline-block; }
.hero-copy .works { color: var(--mut); font-size: 0.95rem; }
.hero-copy .works b { color: var(--ink); font-weight: 600; }

@keyframes hero-out {
  0%, 70% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translate3d(0, -28px, 0); visibility: hidden; }
}
@keyframes fade-in-up {
  from { opacity: 0; transform: translate3d(0, 30px, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes fade-out {
  from { opacity: 1; }
  to { opacity: 0; visibility: hidden; }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes chip-working {
  0% { opacity: 0; } 17% { opacity: 1; } 83% { opacity: 1; } 100% { opacity: 0; visibility: hidden; }
}
@keyframes log-in-out {
  0% { opacity: 0; transform: translate3d(0, 24px, 0); }
  17% { opacity: 1; transform: none; }
  86% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: none; visibility: hidden; }
}
@keyframes slide-up-in {
  from { opacity: 0; transform: translate3d(0, 24px, 0); }
  to { opacity: 1; transform: none; }
}

/* La ventana del sitio del cliente. */
.site {
  background: var(--white); border-radius: var(--r-card); box-shadow: var(--sh-card);
  overflow: clip; border: 1px solid var(--line-soft); opacity: 0;
}
.site__bar { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); background: #fbfdfc; }
.site__dots { display: flex; gap: 5px; }
.site__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.site__url { flex: 1; background: var(--paper); border-radius: 8px; padding: 6px 12px; font-size: 0.85rem; color: var(--ink-soft); }
.site__status { display: grid; }
.site__status > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: var(--r-pill); font-size: 0.8rem; font-weight: 600; white-space: nowrap; opacity: 0; }
.site__status i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.st-broken { background: var(--broken-tint); color: var(--broken); }
.st-working { background: var(--working-tint); color: var(--working); }
.st-online { background: var(--online-tint); color: var(--online); }

.site__screen { position: relative; aspect-ratio: 16 / 10; display: grid; }
.site__screen > * { grid-area: 1 / 1; }

.scr-error { display: grid; place-content: center; text-align: center; padding: 24px; gap: 8px; background: #fff; }
.scr-error .code { font-family: var(--display); font-size: clamp(3rem, 6vw, 4.5rem); color: var(--broken); line-height: 1; }
.scr-error p { color: var(--ink-soft); max-width: 30ch; font-size: 0.95rem; }

.scr-log { background: #0f1f1a; color: #cfe9dc; padding: 22px 24px; font: clamp(0.72rem, 1.1vw, 0.95rem)/1.7 ui-monospace, Menlo, Consolas, monospace; display: grid; align-content: center; gap: 3px; white-space: pre-wrap; }
.scr-log .k { color: #7fd8ad; }
.scr-log .e { color: #ff9b86; }
.scr-log .ok { color: var(--brand); }
.scr-log .dim { opacity: 0.5; }

.scr-online { background: #fff; display: grid; grid-template-rows: auto 1fr; }
.scr-online .top { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; font-size: 0.75rem; font-weight: 600; }
.scr-online .top span { display: flex; gap: 12px; color: var(--mut); font-weight: 500; }
.scr-online .top b { color: #b23b1a; }
.scr-online .hero { position: relative; display: grid; align-content: end; gap: 8px; padding: 22px 24px; color: #fff; isolation: isolate; }
.scr-online .hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; z-index: -1; }
.scr-online .hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 10, 4, 0.05), rgba(20, 10, 4, 0.72)); }
.scr-online .hero h4 { margin: 0; font-family: var(--display); font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.05; letter-spacing: -0.02em; }
.scr-online .hero p { font-size: 0.85rem; color: rgba(255, 255, 255, 0.85); }
.scr-online .hero em { display: inline-block; background: #b23b1a; color: #fff; border-radius: 6px; padding: 5px 10px; font-size: 0.75rem; font-style: normal; font-weight: 600; width: max-content; }

.site__caption { margin-top: 18px; font-size: 1.05rem; color: var(--ink-soft); opacity: 0; }
.site__caption b { color: var(--ink); }

/* El teléfono con el chat. */
.phone {
  height: min(700px, 100svh - 150px); width: auto; max-width: 100%; margin-inline: auto; aspect-ratio: 9 / 18.4;
  border-radius: 46px; background: #10201a; padding: 11px;
  box-shadow: var(--sh-phone), inset 0 0 0 2px rgba(255, 255, 255, 0.08);
}
.phone__screen { height: 100%; border-radius: 36px; background: #fff; overflow: clip; display: grid; grid-template-rows: auto 1fr auto; }
.phone__head { display: flex; align-items: center; gap: 10px; padding: 22px 18px 12px; border-bottom: 1px solid var(--line-soft); }
.phone__head i { width: 34px; height: 34px; border-radius: 50%; background: var(--forest); display: grid; place-items: center; }
.phone__head i svg { width: 20px; height: 20px; }
.phone__head b { font-weight: 600; }
.phone__head small { display: block; color: var(--brand-deep); font-size: 0.75rem; font-weight: 500; }
.chat { display: flex; flex-direction: column; justify-content: flex-end; padding: 12px 14px; gap: 8px; overflow: hidden; }
.msg { display: grid; grid-template-rows: 0fr; opacity: 0; }
.msg > div { min-height: 0; overflow: hidden; }
.msg p { display: inline-block; padding: 10px 14px; border-radius: 18px; font-size: 0.93rem; line-height: 1.38; max-width: 88%; }
.msg--user { justify-items: end; }
.msg--user p { background: var(--forest); color: #fff; border-bottom-right-radius: 6px; }
.msg--bot p { background: var(--paper); color: var(--ink); border-bottom-left-radius: 6px; border: 1px solid var(--line-soft); }
.msg p .ok { color: var(--brand-deep); font-weight: 600; }
.msg p .bad { color: var(--broken); font-weight: 600; }
.msg--first { grid-template-rows: 1fr; opacity: 1; }
.hints { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 0 2px; }
.hints span { border: 1px solid var(--line); border-radius: var(--r-pill); padding: 6px 11px; font-size: 0.8rem; color: var(--ink-soft); }
@keyframes hints-out { 0%, 60% { opacity: 1; } 100% { opacity: 0; display: none; } }
.phone__input { display: flex; align-items: center; gap: 8px; padding: 10px 14px 22px; }
.phone__input span { flex: 1; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 9px 14px; font-size: 0.85rem; color: var(--mut); }
.phone__input i { width: 36px; height: 36px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; }
.phone__input i svg { width: 16px; height: 16px; }

@keyframes msg-in {
  from { grid-template-rows: 0fr; opacity: 0; translate: 0 14px; }
  to { grid-template-rows: 1fr; opacity: 1; translate: 0 0; }
}

@supports (animation-timeline: view()) {
  .stage__pin { animation: page-state linear both; animation-timeline: --escena; animation-range: contain 0% contain 100%; }
  .hero-copy { animation: hero-out linear both; animation-timeline: --escena; animation-range: contain 0% contain 17%; }
  .site { animation: fade-in-up linear both; animation-timeline: --escena; animation-range: contain 13% contain 20%; }
  .st-broken  { animation: fade-out linear both; animation-timeline: --escena; animation-range: contain 40% contain 44%; opacity: 1; }
  .st-working { animation: chip-working linear both; animation-timeline: --escena; animation-range: contain 40% contain 64%; }
  .st-online  { animation: fade-in linear both; animation-timeline: --escena; animation-range: contain 60% contain 64%; }
  .scr-log    { animation: log-in-out linear both; animation-timeline: --escena; animation-range: contain 30% contain 65%; }
  .scr-online { animation: fade-in-up linear both; animation-timeline: --escena; animation-range: contain 60% contain 67%; }
  .site__caption { animation: fade-in-up linear both; animation-timeline: --escena; animation-range: contain 84% contain 92%; }
  .msg { animation: msg-in linear both; animation-timeline: --escena; animation-range: contain var(--at) contain calc(var(--at) + 5%); }
  .msg--first { animation: none; }
  .hints { animation: hints-out linear both; animation-timeline: --escena; animation-range: contain 10% contain 18%; }
}

/* Sin scroll-driven (Firefox, Safari viejos): se muestra todo en su estado final. */
@supports not (animation-timeline: view()) {
  .stage__pin { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 60px; background: var(--online-tint); }
  .stage__left { gap: 40px; }
  .stage__left > * { grid-area: auto; }
  .site, .st-online, .scr-online, .site__caption, .msg { opacity: 1; }
  .msg { grid-template-rows: 1fr; }
  .st-broken, .st-working, .scr-log, .hints { display: none; }
}

@media (max-width: 900px) {
  .stage { --stage-length: 620vh; }
  .stage__pin { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); align-items: start; gap: 12px; padding-top: calc(var(--nav-h) + 24px); padding-bottom: 0; }
  .stage__left { min-height: 0; }
  h1 { font-size: clamp(2.1rem, 9.5vw, 3rem); }
  .hero-copy { gap: 12px; }
  .hero-copy .lede { font-size: 1rem; }
  .hero-copy .btn-row .btn--ghost { display: none; }
  .hero-copy .works { display: none; }
  .site__screen { aspect-ratio: 16 / 8; }
  .site__caption { margin-top: 10px; font-size: 0.95rem; }
  .phone { width: min(320px, 100%); aspect-ratio: auto; height: 100%; max-height: none; min-height: 0; align-self: stretch; border-radius: 34px 34px 0 0; padding-bottom: 0; overflow: hidden; }
  .phone__screen { border-radius: 26px 26px 0 0; min-height: 0; }
  .phone__head { padding: 14px 16px 10px; }
  .phone__input { display: none; }
  .msg p { font-size: 0.85rem; }
}


/* ── Bloques de sección ──────────────────────────────────────────────── */
.block { padding: clamp(72px, 9vw, 130px) 0; }
.block--forest { background: var(--forest); color: var(--white); border-radius: var(--r-block); margin-inline: 8px; }
.block--forest .lede { color: rgba(255, 255, 255, 0.8); }
.block--mint { background: var(--mint-tint); border-radius: var(--r-block); margin-inline: 8px; }
.block--white { background: var(--white); }
.block__head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.ask { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--brand-deep); }
.ask::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--brand); }
.block--forest .ask { color: var(--brand); }

/* El titular como burbuja: la sección es lo que el dueño le escribe al asistente. */
.bubble-h {
  display: inline-block; background: var(--forest); color: var(--white); border-radius: 26px 26px 26px 8px;
  padding: 16px 24px; font-family: var(--display); font-weight: 800; letter-spacing: -0.02em;
  font-size: clamp(1.35rem, 2.3vw, 1.8rem); line-height: 1.15; max-width: 22ch; text-wrap: balance;
}
.block--forest .bubble-h { background: var(--white); color: var(--forest); }

/* ── Encargos ────────────────────────────────────────────────────────── */
.orders { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.order { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-card); padding: 26px 26px 22px; display: grid; gap: 18px; align-content: start; box-shadow: var(--sh-card); }
.order .reply { display: grid; gap: 10px; }
.order .reply li { display: flex; gap: 10px; align-items: flex-start; list-style: none; color: var(--ink-soft); line-height: 1.4; }
.order .reply ul { margin: 0; padding: 0; display: grid; gap: 10px; }
.order .reply svg { width: 20px; height: 20px; flex: none; color: var(--brand-deep); margin-top: 2px; }
.order .who { color: var(--mut); font-size: 0.9rem; border-top: 1px solid var(--line-soft); padding-top: 14px; }
.order .who b { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) { .orders { grid-template-columns: 1fr; } }

/* ── Alcance (marquee de píldoras) ───────────────────────────────────── */
.reach { padding: 0 0 clamp(60px, 7vw, 100px); }
.reach .marquee { --marquee-gap: 12px; }
.reach li { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); font-weight: 500; white-space: nowrap; }
.reach li svg { width: 18px; height: 18px; color: var(--brand); }
.reach .marquee + .marquee { margin-top: 12px; }

/* ── Seguro ──────────────────────────────────────────────────────────── */
.safe { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.safe__rules { display: grid; }
.rule { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 26px 0; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.rule:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.rule .n { font-family: var(--display); font-size: 1.6rem; color: var(--brand); line-height: 1; }
.rule h3 { color: var(--white); margin-bottom: 8px; }
.rule p { color: rgba(255, 255, 255, 0.78); }
.ticket { margin-top: 30px; background: var(--white); color: var(--ink); border-radius: var(--r-card); padding: 22px 24px; display: grid; gap: 12px; max-width: 420px; }
.ticket h4 { margin: 0; font-family: var(--text); font-weight: 600; font-size: 0.95rem; color: var(--mut); }
.ticket li { list-style: none; display: flex; gap: 10px; align-items: center; }
.ticket ul { margin: 0; padding: 0; display: grid; gap: 8px; }
.ticket svg { width: 20px; height: 20px; color: var(--brand-deep); }
.ticket .foot { border-top: 1px solid var(--line-soft); padding-top: 12px; font-size: 0.9rem; color: var(--ink-soft); }
@media (max-width: 900px) { .safe { grid-template-columns: 1fr; } .ticket { max-width: none; } }

/* ── Precio ──────────────────────────────────────────────────────────── */
.price { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.price .nothing { font-family: var(--display); font-size: clamp(5rem, 14vw, 11rem); line-height: 0.9; letter-spacing: -0.05em; color: var(--forest); }
.price .nothing small { display: block; font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-family: var(--text); font-weight: 500; letter-spacing: 0; color: var(--brand-deep); margin-top: 14px; }
.price__list { display: grid; gap: 22px; }
.price__list li { list-style: none; display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
.price__list ul { margin: 0; padding: 0; display: grid; gap: 20px; }
.price__list svg { width: 26px; height: 26px; color: var(--brand-deep); margin-top: 2px; }
.price__list b { display: block; font-weight: 600; font-size: 1.1rem; margin-bottom: 4px; }
.price__list p { color: var(--ink-soft); }
@media (max-width: 900px) { .price { grid-template-columns: 1fr; } }

/* ── Quiénes lo usan ─────────────────────────────────────────────────── */
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.person { margin: 0; position: relative; border-radius: var(--r-card); overflow: clip; aspect-ratio: 3 / 4; background: var(--mint-tint); }
.person img { width: 100%; height: 118%; object-fit: cover; margin-top: -9%; }
.person figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; display: grid; gap: 8px; justify-items: start; }
.person .said { background: var(--forest); color: var(--white); padding: 10px 14px; border-radius: 16px 16px 16px 4px; font-size: 0.9rem; line-height: 1.3; font-weight: 500; }
.person .tag { background: rgba(255, 255, 255, 0.92); color: var(--ink); padding: 6px 11px; border-radius: var(--r-pill); font-size: 0.8rem; font-weight: 600; }
@media (max-width: 900px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .person .said { font-size: 0.82rem; } }

/* ── Conectar ────────────────────────────────────────────────────────── */
.connect { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.tabs { display: flex; gap: 6px; background: var(--white); border: 1px solid var(--line-soft); padding: 6px; border-radius: var(--r-pill); width: max-content; max-width: 100%; }
.tab { border: 0; background: transparent; padding: 9px 16px; border-radius: var(--r-pill); font-weight: 600; color: var(--mut); cursor: pointer; min-height: 40px; }
.tab[aria-selected="true"] { background: var(--forest); color: var(--white); }
.steps { display: grid; gap: 18px; margin-top: 26px; }
.step { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; align-items: start; }
.step .n { width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: var(--forest-2); font-family: var(--display); display: grid; place-items: center; font-size: 1rem; }
.step p { color: var(--ink-soft); }
.step p b { color: var(--ink); font-weight: 600; }
.addr { display: flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 8px 8px 8px 16px; margin-top: 10px; }
.addr code { flex: 1; min-width: 0; font-family: inherit; font-weight: 500; font-size: 0.95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.addr button { border: 0; background: var(--brand); color: var(--forest-2); font-weight: 600; padding: 9px 14px; border-radius: 10px; cursor: pointer; min-height: 40px; }
.tabs__note { color: var(--mut); font-size: 0.92rem; margin-top: 10px; }
.appwin { border-radius: var(--r-card); overflow: clip; box-shadow: var(--sh-card); border: 1px solid var(--line-soft); background: var(--white); }
.appwin__bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); }
.appwin__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
@media (max-width: 900px) { .connect { grid-template-columns: minmax(0, 1fr); } .connect > * { min-width: 0; } .tabs { width: 100%; overflow-x: auto; } .tab { padding: 9px 12px; font-size: 0.92rem; } }

/* ── Preguntas ───────────────────────────────────────────────────────── */
.faq { display: grid; gap: 12px; max-width: 800px; }
.faq details { background: var(--white); border: 1px solid var(--line-soft); border-radius: 18px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 1.08rem; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 1.5rem; color: var(--brand-deep); flex: none; transition: rotate 0.2s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 0 20px; color: var(--ink-soft); max-width: 62ch; }

/* ── Cierre y pie ────────────────────────────────────────────────────── */
.closing { text-align: center; display: grid; gap: 22px; justify-items: center; }
.closing h2 { color: var(--white); max-width: 18ch; }
.closing .btn-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.footer { padding: 56px 0 36px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer .logo { color: var(--ink); }
.footer p { color: var(--mut); max-width: 32ch; margin-top: 12px; }
.footer h5 { margin: 0 0 12px; font-size: 0.95rem; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; color: var(--ink-soft); }
.footer a:hover { text-decoration: underline; }
.footer__foot { border-top: 1px solid var(--line-soft); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--mut); font-size: 0.9rem; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }

.scroll-progress { --progress-color: var(--brand); --progress-height: 3px; z-index: 60; }

@media print {
  .nav, .scroll-progress, .btn-row { display: none !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; }
}
