/* OwnGuests -- landing V3. Paleta como SISTEMA DE ESCENARIOS: blanco / papel / azul muy suave (lectura),
   navy (contraste, precios y marca), azul royal (acción y hero/cierre), verde (solo ahorro y positivo).
   Una sola tipografía (Archivo, variable 400-800, autoalojada, OFL). Sin gradientes decorativos, sin glassmorphism, sin JS de
   terceros. Movimiento: solo CSS (animation-timeline: view()) como mejora progresiva y apagado con
   prefers-reduced-motion. */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2013-2014, U+2018-201E, U+2022, U+2026, U+20AC, U+2122, U+2192, U+2212, U+2248;
}

:root {
  color-scheme: light;
  --bg: #ffffff;
  --paper: #f5f7fb;
  --sky: #e8effe;
  --sky-2: #d5e2ff;
  --line: #e1e6ef;
  --line-strong: #c6cfdd;
  /* Borde de los CAMPOS de formulario (WCAG 1.4.11, auditoría UI 2026-10-03): el borde es lo que identifica el control, así que
     necesita >= 3:1 con su fondo (3,62:1 sobre blanco, 3,38 sobre --paper, 3,14 sobre --sky). --line-strong (1,57:1) sigue para
     tarjetas y separadores, que son decorativos. Misma familia gris azulada de la paleta V3, sin color nuevo. */
  --field-line: #7a879f;
  --ink: #0a1730;
  --ink-2: #33415c;
  --muted: #56637d;
  --navy: #0a1730;
  --navy-2: #12244a;
  --blue: #1d4ed8;
  --blue-hover: #1a43bd;
  --blue-on-dark: #3563f5;
  --blue-soft: #9db8ff;
  --blue-line: #c7d7fe;
  --green: #0b7a47;
  --green-ink: #0b6b3f;
  --green-tint: #e6f5ec;
  --green-line: #b7e4cb;
  --green-on-dark: #5fd68f;
  --radius: 10px;
  --radius-lg: 16px;
  /* Contenedor responsive (auditoría wide-screen 2026-09-23): antes fijo en 1140px a cualquier ancho de
     viewport -- en pantallas anchas (1920/2560+) eso dejaba océanos de blanco laterales y una composición
     que parecía la versión tablet de la página, no una landing pensada para escritorio grande. Todas las
     rejillas de la página (.hero-grid, .recv-grid, .plans, .cs-grid, .final-grid, .footer-grid) usan
     unidades `fr`/`minmax`, así que crecen proporcionalmente con `--max` sin rediseño por sección; la medida
     de lectura del texto (`.lead`, `.section-head`, etc.) ya tiene su propio `max-width` en rem, independiente
     de este contenedor, así que nunca se convierte en líneas de 180 caracteres. */
  --max: 1140px;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --shadow: 0 1px 2px rgba(10, 23, 48, 0.06), 0 8px 24px rgba(10, 23, 48, 0.08);
  --shadow-lift: 0 2px 4px rgba(6, 18, 52, 0.12), 0 32px 60px -24px rgba(6, 18, 52, 0.5);
}

/* Contenedor más ancho a partir de escritorio grande (breakpoints probados: 1366/1440/1600/1920/2560).
   Progresión moderada, no "max-width: none": deja que las rejillas respiren sin crear columnas de texto
   absurdamente anchas (cada sección ya limita su propia medida de lectura por separado). */
@media (min-width: 1366px) { :root { --max: 1240px; } }
@media (min-width: 1440px) { :root { --max: 1320px; } }
@media (min-width: 1600px) { :root { --max: 1440px; } }
@media (min-width: 1920px) { :root { --max: 1600px; } }
@media (min-width: 2400px) { :root { --max: 1760px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
.hv-photo picture, .phone-photo picture, .brand-photo picture, .recv-photo picture { height: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-hover); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; font-family: var(--sans); font-weight: 800; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.1rem + 4.7vw, 4.5rem); line-height: 1.02; letter-spacing: -0.04em; }
h2 { font-size: clamp(2rem, 1rem + 3.6vw, 3.6rem); line-height: 1.04; letter-spacing: -0.035em; }
h3 { font-size: 1.2rem; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }
h4 { font-size: 1.25rem; line-height: 1.3; font-weight: 700; }
/* Subtítulo de sección dentro de una pantalla ya autenticada/interna (portal, Founder, onboarding) --
   nunca un titular de landing: sin esta regla heredaba el tamaño de h2 (hasta 3.6rem, pensado para hero),
   quitando toda jerarquía visual entre el título de la página y sus subsecciones. */
.section-title { font-size: 1.05rem; line-height: 1.3; letter-spacing: -0.01em; margin: 28px 0 10px; }
.section-title:first-child { margin-top: 0; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.icon { width: 20px; height: 20px; flex: none; }
.icon-lg { width: 24px; height: 24px; }
.icon-xs { width: 12px; height: 12px; }
.fine { font-size: .875rem; line-height: 1.5; color: var(--muted); }
.accent { color: var(--blue); }

/* ---------------------------------------------------------------- Botones */
.btn { text-wrap: balance; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 10px 20px; border-radius: var(--radius); border: 2px solid transparent; font: 700 1rem/1.25 var(--sans); text-align: center; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.btn .icon { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); color: #fff; }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn-outline { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--sky); color: var(--blue-hover); border-color: var(--blue-hover); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .95rem; white-space: nowrap; }
.btn-md { min-height: 46px; }
.btn-lg { min-height: 54px; padding: 12px 24px; font-size: 1.05rem; }
.btn-xl { min-height: 62px; padding: 14px 24px; font-size: 1.125rem; }
.btn-block { width: 100%; }
.btn-text { background: none; border: 0; border-radius: 6px; padding: 10px 2px; min-height: 44px; color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.btn-text:hover { color: var(--blue); }
@media (max-width: 480px) {
  .btn-lg, .btn-xl { font-size: 1rem; padding-left: 14px; padding-right: 14px; }
  .btn-lg .icon, .btn-xl .icon { display: none; }
}
.btn:disabled { opacity: .65; cursor: progress; }
.link-ext { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.link-ext .icon { width: 16px; height: 16px; }
/* Sobre fondos oscuros el azul de acción se aclara para mantener el contraste del botón. */
.brand .btn-primary, .pricing .btn-primary { background: var(--blue-on-dark); }
.brand .btn-primary:hover, .pricing .btn-primary:hover { background: #4a76ff; }
.pricing .plan .btn-primary { background: var(--blue); }
.pricing .plan .btn-primary:hover { background: var(--blue-hover); }

/* --------------------------------------------------------------- Cabecera */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo-mark { width: 30px; height: 30px; flex: none; }
.logo-text { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.03em; }
.logo-text b { font-weight: 800; color: var(--blue); }
.logo-light, .logo-light:hover { color: #fff; }
.logo-light .logo-text b { color: var(--blue-soft); }
.logo-light .logo-mark rect { fill: #fff; }
.logo-light .logo-mark path { fill: var(--ink); }
.logo-light .logo-mark circle { fill: #fff; }
.nav-desktop { display: none; gap: 28px; }
.nav-desktop a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .96rem; }
.nav-desktop a:hover { color: var(--blue); }
.bar-actions { display: flex; align-items: center; gap: 10px; }
.header-account-desktop { display: none; }
.header-account { white-space: nowrap; }
.lang-switch { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; border-radius: var(--radius); border: 1px solid var(--line-strong); color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: .85rem; letter-spacing: .04em; }
.lang-switch:hover { border-color: var(--ink); color: var(--ink); }
.cta-long { display: none; }
.nav-mobile { position: relative; }
.nav-mobile summary { list-style: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--radius); border: 1px solid var(--line-strong); cursor: pointer; color: var(--ink); }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile-panel { position: absolute; right: 0; top: 52px; width: min(280px, 88vw); background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 8px; display: grid; }
.nav-mobile-panel a { padding: 13px 14px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; }
.nav-mobile-panel a:hover { background: var(--paper); }
.nav-mobile-account { display: block; padding: 4px 6px 2px; }
.nav-mobile-account .header-account { display: block; text-align: center; }
/* Teléfonos: logo + idioma + menú caben; el CTA de la cabecera pasa al menú (el hero lo muestra justo debajo). */
.nav-mobile-cta { display: none; }
@media (max-width: 479.98px) {
  .bar-actions > .btn-primary { display: none; }
  .nav-mobile-panel .nav-mobile-cta { display: flex; margin: 6px 6px 2px; color: #fff; }
  .nav-mobile-panel .nav-mobile-cta:hover { background: var(--blue-hover); color: #fff; }
}
@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .header-account-desktop { display: block; }
  .nav-mobile { display: none; }
  .bar { min-height: 68px; }
}
@media (min-width: 1040px) { .cta-long { display: inline; } .cta-short { display: none; } }

/* --------------------------------------------------------------- Secciones */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); max-width: 52rem; }
.section-head h2 { margin-bottom: 16px; }
.section-head .lead { margin-bottom: 0; }
.lead { font-size: 1.2rem; line-height: 1.55; color: var(--ink-2); max-width: 40rem; }
.statement { font-size: clamp(1.35rem, 1rem + 1.3vw, 1.9rem); line-height: 1.25; font-weight: 700; color: var(--ink); margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
.eyebrow { font-weight: 700; font-size: .85rem; letter-spacing: .05em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.kicker { font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .icon { color: var(--green); margin-top: 3px; width: 18px; height: 18px; }

/* -------------------------------------------------------------------- HERO
   Panel azul que sangra hasta el borde derecho: el producto (web + móvil + estados) sobre color. */
.hero { position: relative; overflow: hidden; background: var(--paper); }
.hero-grid { display: grid; }
.hero-copy { padding: 32px 0 40px; }
.hero-copy h1 { margin-bottom: 18px; }
.hero-copy .lead { margin-bottom: 26px; }
.hero-visual { position: relative; padding: 44px 0 30px; }
.hero-visual::before { content: ""; position: absolute; z-index: 0; top: 0; bottom: 0; left: -20px; right: -20px; background: var(--blue); }
.hero-visual > * { position: relative; z-index: 1; }
.buy { border: 1px solid var(--line-strong); border-radius: var(--radius-lg); padding: clamp(18px, 3vw, 26px); background: #fff; box-shadow: var(--shadow); }
.buy-top { display: flex; align-items: center; gap: 6px 22px; flex-wrap: wrap; margin-bottom: 18px; }
.buy-price { display: flex; align-items: baseline; gap: 12px; margin: 0; }
.buy-old { font-size: 1.7rem; font-weight: 500; color: var(--muted); text-decoration-thickness: 2px; }
.buy-now { font-size: clamp(4.5rem, 3rem + 6.4vw, 6.75rem); font-weight: 800; line-height: .88; letter-spacing: -0.055em; color: var(--ink); }
.buy-meta { display: grid; gap: 2px; margin: 0; font-size: .95rem; color: var(--muted); }
.buy-meta strong { color: var(--ink); font-size: 1rem; }
.buy .btn-xl { width: 100%; }
.reassure { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 16px; font-size: .92rem; color: var(--ink-2); font-weight: 500; }
.reassure li { display: flex; align-items: center; gap: 6px; }
.reassure .icon { width: 16px; height: 16px; color: var(--green); }
.hero-doubt { margin: 14px 0 0; }
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 64px; align-items: stretch; }
  .hero-copy { padding: 64px 0 72px; }
  .hero-visual { padding: 72px 0 72px; display: flex; align-items: center; }
  .hero-visual::before { left: -40px; right: -50vw; }
  .hero-visual .hv { width: 100%; }
}
@media (min-width: 1200px) { .hero-visual .hv { flex: none; width: calc(100% + 72px); } }

/* Producto: navegador + móvil + estados */
.hv-stage { position: relative; padding: 0 0 40px; }
.browser { border-radius: 12px; background: #fff; box-shadow: var(--shadow-lift); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 12px; padding: 9px 12px; background: var(--paper); border-bottom: 1px solid var(--line); }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); display: block; }
.urlbar { flex: 1; display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; font-size: .75rem; color: var(--muted); min-width: 0; }
.urlbar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hv-photo { position: relative; aspect-ratio: 16 / 10; background: var(--sky); }
.hv-photo img { width: 100%; height: 100%; object-fit: cover; }
.hv-shade { position: absolute; inset: 0; background: rgba(6, 14, 30, .3); }
.hv-text { position: absolute; left: 16px; bottom: 14px; right: 34%; color: #fff; display: grid; gap: 2px; }
.hv-place { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.hv-title { font-weight: 800; font-size: clamp(1.05rem, .8rem + 1vw, 1.5rem); line-height: 1.12; letter-spacing: -0.02em; }
.hv-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; padding-right: 34%; }
.hv-price { display: grid; font-size: .8rem; color: var(--muted); line-height: 1.3; }
.hv-price strong { color: var(--ink); font-size: .98rem; white-space: nowrap; }
.fake-btn { display: inline-block; background: var(--blue); color: #fff; border-radius: 8px; padding: 9px 16px; font-weight: 700; font-size: .85rem; text-align: center; }
.fake-btn-sm { padding: 7px 10px; font-size: .74rem; border-radius: 7px; }
.hv-bar .fake-btn { display: none; }
.phone { background: var(--navy); border-radius: 22px; padding: 5px; box-shadow: var(--shadow-lift); }
.phone-screen { background: #fff; border-radius: 17px; overflow: hidden; }
.phone-photo { aspect-ratio: 3 / 2; background: var(--sky); }
.phone-photo img { width: 100%; height: 100%; object-fit: cover; }
.phone-body { padding: 8px 9px 10px; display: grid; gap: 4px; }
.phone-title { font-size: .72rem; font-weight: 800; line-height: 1.15; color: var(--ink); }
.phone-price { font-size: .6rem; color: var(--muted); font-weight: 600; }
.hv-phone { position: absolute; right: 0; bottom: 0; width: 30%; max-width: 156px; }
.hv-status { position: absolute; inset: 0; pointer-events: none; }
.chip { position: absolute; display: inline-flex; align-items: center; gap: 7px; background: #fff; color: var(--ink); border-radius: 10px; padding: 8px 12px; font-weight: 700; font-size: .8rem; line-height: 1.2; box-shadow: var(--shadow-lift); white-space: nowrap; }
.chip .icon { width: 16px; height: 16px; color: var(--green); }
.chip-1 { top: -16px; left: -6px; }
.chip-2 { top: 34%; right: -8px; }
.chip-3 { bottom: 8px; left: 4%; }
.hv-caption { margin: 18px 0 0; font-size: .82rem; line-height: 1.45; color: rgba(255, 255, 255, .9); max-width: 34rem; }
@media (min-width: 560px) { .hv-bar .fake-btn { display: inline-block; } }
@media (min-width: 1320px) { .chip-2 { right: -72px; } .chip-1 { left: -28px; } }

/* ------------------------------------------------------------- Trust strip */
.trust { background: var(--navy); color: #fff; padding: 22px 0; }
.trust-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.trust-list li { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: .98rem; line-height: 1.25; }
.trust-ic { display: inline-flex; width: 38px; height: 38px; flex: none; align-items: center; justify-content: center; border-radius: 10px; background: rgba(255, 255, 255, .1); color: var(--green-on-dark); }
@media (min-width: 800px) { .trust-list { grid-template-columns: repeat(4, 1fr); } }

/* ----------------------------------------- Loft Heart of Madrid (web REAL) */
.loft { background: var(--sky); }
.loft-fig { margin: 0; }
.loft-stage { position: relative; padding-bottom: 8px; }
.loft-browser { box-shadow: var(--shadow-lift); }
.loft-shot img { width: 100%; height: auto; }
.loft-cal { position: relative; width: 62%; margin: -22px 0 0 10px; background: #fff; border-radius: 12px; padding: 8px; box-shadow: var(--shadow-lift); }
.loft-cal img { border-radius: 6px; width: 100%; }
.loft-tag { position: absolute; top: -12px; left: 10px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; background: var(--green); color: #fff; border-radius: 999px; padding: 4px 11px; font-weight: 700; font-size: .72rem; letter-spacing: .02em; }
.loft-tag .icon { width: 13px; height: 13px; }
.loft-phone { position: absolute; right: 10px; bottom: 0; width: 31%; max-width: 210px; }
.loft-labels { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 44px; }
.loft-labels li { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); }
.loft-labels .icon { width: 22px; height: 22px; color: var(--blue); }
.loft-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: 30px; }
.loft-caption { margin: 22px 0 0; max-width: 46rem; }
@media (min-width: 980px) {
  .loft-stage { padding-bottom: 56px; }
  .loft-browser { width: 80%; }
  .loft-cal { position: absolute; width: 330px; right: 236px; bottom: 0; margin: 0; }
  .loft-phone { right: 0; bottom: 0; width: 210px; }
  .loft-labels { justify-content: space-between; }
}

/* ------------------------------------------------- Momento de marca (foto) */
.brand { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.brand-photo { aspect-ratio: 16 / 10; background: var(--navy-2); }
.brand-photo img { width: 100%; height: 100%; object-fit: cover; }
.brand-copy { padding: 48px 0 60px; }
.brand .kicker { color: var(--blue-soft); }
.brand h2 { color: #fff; margin-bottom: 22px; }
.brand h2 .accent { color: var(--blue-soft); }
.brand-lead { font-size: 1.15rem; line-height: 1.6; color: #cfd8ea; max-width: 34rem; margin-bottom: 26px; }
.brand-points { display: grid; gap: 12px; margin: 0 0 34px; }
.brand-points li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.brand-points .icon { color: var(--green-on-dark); margin-top: 3px; }
@media (min-width: 900px) {
  .brand { min-height: 680px; display: flex; align-items: center; }
  .brand-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 48%; aspect-ratio: auto; }
  .brand > .wrap { position: relative; }
  .brand-copy { width: 48%; padding: 110px 0; }
}

/* --------------------------------------------------------------- Qué recibes */
.receive { background: var(--paper); }
.recv-grid { display: grid; gap: 40px; }
.recv-intro h2 { margin-bottom: 20px; }
.recv-photo { margin-top: 34px; border-radius: var(--radius-lg); overflow: hidden; max-width: 340px; aspect-ratio: 4 / 5; background: var(--sky); }
.recv-photo img { width: 100%; height: 100%; object-fit: cover; }
.recv-list { display: grid; }
.recv-item { display: grid; grid-template-columns: 46px 1fr; gap: 4px 16px; align-items: center; padding: 22px 0; border-top: 1px solid var(--line-strong); }
.recv-item:last-child { border-bottom: 1px solid var(--line-strong); }
.recv-ic { grid-row: span 2; display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 12px; background: var(--sky); color: var(--blue); align-self: start; }
.recv-item h3 { font-size: 1.25rem; }
.recv-item p { margin: 0; color: var(--ink-2); }
.recv-note { margin: 22px 0 0; max-width: 40rem; }
@media (min-width: 900px) {
  .recv-grid { grid-template-columns: .9fr 1.1fr; gap: 88px; align-items: start; }
  .recv-intro { position: sticky; top: 100px; }
}
@media (min-width: 1000px) {
  .recv-item { grid-template-columns: 46px 190px 1fr; gap: 18px; }
  .recv-ic { grid-row: auto; align-self: center; }
}

/* ------------------------------------------------------------ Cómo funciona */
.how { background: var(--bg); }
.steps { display: grid; gap: 36px; counter-reset: step; }
.step { counter-increment: step; border-top: 2px solid var(--line-strong); padding-top: 22px; }
.step::before { content: counter(step, decimal-leading-zero); content: counter(step, decimal-leading-zero) / ""; display: block; font-size: clamp(3.6rem, 2rem + 4.4vw, 6rem); font-weight: 800; line-height: .9; letter-spacing: -0.06em; color: var(--blue); margin-bottom: 16px; }
.step h3 { margin-bottom: 8px; font-size: 1.4rem; }
.step p { margin: 0; color: var(--ink-2); max-width: 26rem; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

/* -------------------------------------------------------------------- Pricing (navy) */
.pricing { background: var(--navy); color: #fff; }
.pricing h2, .pricing h3 { color: #fff; }
.pricing .lead { color: #c9d3e7; }
.pricing .kicker { color: var(--blue-soft); }
.setup { display: grid; gap: 26px; padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.setup-price { display: flex; align-items: baseline; gap: 16px; margin: 0; }
.setup-old { font-size: 1.7rem; font-weight: 500; color: #9fb0cf; text-decoration-thickness: 2px; }
.setup-now { font-size: clamp(5rem, 3rem + 9vw, 9rem); font-weight: 800; line-height: .85; letter-spacing: -0.06em; }
.setup-vat { margin: 16px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; color: #dbe3f3; font-weight: 600; }
.setup-badge { background: var(--green); color: #fff; font-weight: 800; font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; padding: 5px 11px; border-radius: 6px; }
.setup-detail p { color: #cfd8ea; margin-bottom: 22px; max-width: 34rem; font-size: 1.1rem; }
@media (min-width: 860px) { .setup { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 56px; } }
.choose { margin: 44px 0 26px; font-size: 1.5rem; }
.plans { display: grid; gap: 22px; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 28px 24px 24px; }
.plan h4 { color: var(--ink); }
.plan.has-ribbon { padding-top: 0; }
.plan.is-featured { box-shadow: 0 0 0 3px var(--blue-on-dark), 0 30px 60px -24px rgba(0, 0, 0, .6); }
.plan-ribbon { margin: 0 -24px 22px; padding: 11px 24px; background: var(--green); color: #fff; font-weight: 800; font-size: .82rem; letter-spacing: .07em; text-transform: uppercase; border-radius: 16px 16px 0 0; }
/* Plan fundador (oferta de lanzamiento, solo mensual): cabecera azul, distinta del verde permanente "2 meses gratis" del anual. */
.plan-ribbon.plan-ribbon-founder { background: var(--blue); }
.plan-name { font-size: 1.35rem; }
.plan-tag { color: var(--muted); margin: 2px 0 16px; font-size: .95rem; }
.plan-price { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.plan-price .amount { font-weight: 800; font-size: 3.6rem; line-height: 1; letter-spacing: -0.05em; }
.plan-price .unit { color: var(--muted); font-weight: 600; font-size: 1.1rem; }
.plan-strike { font-size: 1.4rem; color: var(--muted); text-decoration-thickness: 2px; margin-right: 4px; font-weight: 500; }
.plan-alt { font-weight: 800; font-size: 1.25rem; color: var(--ink); margin: 8px 0 0; }
.plan-vat { margin: 4px 0 0; font-size: .9rem; color: var(--muted); font-weight: 600; }
.plan-equiv { margin: 8px 0 0; font-size: .95rem; font-weight: 700; color: var(--ink); }
.plan-save { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin: 14px 0 0; padding: 6px 11px; background: var(--green-tint); border: 1px solid var(--green-line); border-radius: 6px; color: var(--green-ink); font-weight: 700; font-size: .85rem; }
.plan-save .icon { width: 16px; height: 16px; color: var(--green); }
.plan .ticks { margin-top: 20px; }
.plan-commit { display: flex; gap: 8px; align-items: flex-start; margin: 18px 0 0; font-size: .9rem; color: var(--ink-2); line-height: 1.4; }
.plan-commit .icon { width: 17px; height: 17px; margin-top: 2px; color: var(--blue); }
.plan-commit strong { color: var(--ink); }
.plan-min { margin: 14px 0 0; color: var(--ink-2); font-weight: 600; }
.plan-founder { margin: 12px 0 0; font-size: .9rem; line-height: 1.45; color: var(--ink-2); }
.plan-founder a { font-weight: 700; color: var(--blue); }
/* Costes del proveedor de pagos: una línea; el detalle (abanico de tarjetas de Stripe) en un desplegable. */
.plan-stripe { margin: 14px 0 0; font-size: .88rem; line-height: 1.45; color: var(--muted); }
.plan-stripe summary { cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; font-weight: 600; color: var(--ink-2); list-style: none; text-decoration: underline dotted; text-underline-offset: 3px; }
.plan-stripe summary::-webkit-details-marker { display: none; }
.plan-stripe summary::after { content: "+"; font-weight: 700; color: var(--blue); }
.plan-stripe[open] summary::after { content: "–"; }
.plan-stripe p { margin: 4px 0 0; }
.plan-foot { margin: 14px 0 0; }
.plan-cta { margin-top: 24px; }
@media (min-width: 900px) {
  .plans { grid-template-columns: repeat(3, 1fr); }
  .plan.is-featured { transform: translateY(-14px); }
  .plan-cta { margin-top: auto; }
  .plan-foot { margin-bottom: 24px; }
}
.pricing-notes { display: grid; gap: 10px; margin: 40px 0 0; color: #c9d3e7; font-size: .95rem; }
.pricing-notes li { padding-left: 18px; position: relative; }
.pricing-notes li::before { content: ""; position: absolute; left: 0; top: .65em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue-soft); }

/* ------------------------------------------------------------ CheckInSecure */
.cs { background: var(--green-tint); border-top: 1px solid var(--green-line); border-bottom: 1px solid var(--green-line); }
.cs-grid { display: grid; gap: 36px; align-items: center; }
.cs h2 { margin-bottom: 14px; }
.cs .lead { margin-bottom: 16px; }
.cs-note { font-weight: 800; color: var(--green-ink); margin-bottom: 22px; }
.cs-list { display: grid; }
.cs-list li { display: flex; gap: 14px; align-items: flex-start; font-weight: 700; font-size: 1.1rem; padding: 20px 0; border-top: 1px solid var(--green-line); }
.cs-list li:last-child { border-bottom: 1px solid var(--green-line); }
.cs-list .icon { color: var(--green); margin-top: 3px; width: 22px; height: 22px; }
@media (min-width: 860px) { .cs-grid { grid-template-columns: 1.15fr .85fr; gap: 72px; } }

/* --------------------------------------------------------------------- FAQ */
.faq-sec { background: var(--bg); }
.faq-grid { display: grid; gap: 32px; }
.faq details { border-top: 1px solid var(--line-strong); }
.faq details:last-child { border-bottom: 1px solid var(--line-strong); }
.faq summary { cursor: pointer; padding: 22px 0; font-weight: 700; font-size: 1.15rem; line-height: 1.35; list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; min-height: 60px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.8rem; line-height: 1; color: var(--blue); flex: none; font-weight: 500; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 0 24px; color: var(--ink-2); max-width: 44rem; }
@media (min-width: 900px) {
  .faq-grid { grid-template-columns: 1fr 2fr; gap: 80px; }
  .faq-head { position: sticky; top: 100px; align-self: start; }
}

/* ------------------------------------------------- Cierre + formulario (azul) */
.final { position: relative; background: var(--blue); color: #fff; overflow: hidden; }
.final-grid { position: relative; display: grid; gap: 36px; align-items: start; }
.final h2 { color: #fff; margin-bottom: 16px; }
.final .lead { color: #e2eaff; }
.summary { margin: 28px 0 0; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .35); }
.summary-title { font-weight: 700; color: #cfdcff; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.summary-price { display: flex; align-items: baseline; gap: 14px; margin: 0; }
.summary-old { font-size: 1.4rem; color: #cfdcff; font-weight: 500; text-decoration-thickness: 2px; }
.summary-now { font-size: clamp(4rem, 3rem + 4vw, 5.5rem); font-weight: 800; line-height: .95; letter-spacing: -0.055em; }
.summary-vat { margin: 4px 0 16px; font-weight: 600; color: #e2eaff; }
.final .ticks .icon { color: #8ff0b5; }
.final-doubt { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 24px 0 0; font-weight: 600; color: #e2eaff; }
/* CTA principal sobre el azul del cierre: invertido (antes azul sobre azul, sin contorno visible). */
.final .btn-primary { background: #fff; color: var(--blue); }
.final .btn-primary:hover { background: var(--sky); color: var(--blue-hover); }
.final :focus-visible { outline-color: #fff; }
.final .btn-secondary { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.final .btn-secondary:hover { background: #fff; color: var(--blue); border-color: #fff; }
.form-card { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-lift); }
.form-grid { display: grid; gap: 14px; margin-bottom: 14px; }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 8px; border: 1.5px solid var(--field-line); background: #fff; color: var(--ink); font: 400 1rem/1.4 var(--sans); }
.field textarea { resize: vertical; min-height: 88px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--blue-line); outline-offset: 0; border-color: var(--blue); }
.field [aria-invalid="true"] { border-color: #c0392b; }
.help { margin: 4px 0 0; font-size: .82rem; color: var(--muted); }
.more { margin: 0 0 14px; border: 1px dashed var(--line-strong); border-radius: 8px; padding: 0 14px; }
.more summary { cursor: pointer; padding: 12px 0; font-weight: 700; color: var(--blue); list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 44px; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; font-size: 1.4rem; line-height: 1; }
.more[open] summary::after { content: "–"; }
.more[open] { padding-bottom: 6px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; font-size: .95rem; cursor: pointer; }
.check input { width: 22px; height: 22px; margin-top: 1px; flex: none; accent-color: var(--blue); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.5em; margin: 12px 0 0; font-weight: 600; color: #b03a2e; }
.form-note { margin: 8px 0 0; text-align: center; }
.form-success { text-align: center; padding: 24px 8px; }
.form-success h3 { margin-bottom: 10px; color: var(--green-ink); font-size: 1.5rem; }
.form-success:focus { outline: none; }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, 1fr); } .field-wide { grid-column: 1 / -1; } }
@media (min-width: 960px) { .final-grid { grid-template-columns: .85fr 1.15fr; gap: 64px; } }

/* Opciones segmentadas (onboarding y facturación): radios grandes y táctiles. */
.calc-field legend { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 8px; padding: 0; }
.calc-seg { display: grid; grid-template-columns: 1fr; gap: 10px; }
.calc-seg-opt { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 10px; border: 1.5px solid var(--line-strong); border-radius: 8px; font-weight: 700; font-size: .95rem; cursor: pointer; text-align: center; }
.calc-seg-opt input { width: 20px; height: 20px; accent-color: var(--blue); flex: none; }
.calc-seg-opt:has(input:checked) { border-color: var(--blue); background: var(--sky); }
@media (min-width: 480px) { .calc-seg { grid-template-columns: repeat(3, 1fr); } .calc-seg-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* --------------------------------------------------- "Tengo una duda": <dialog> accesible ------------- */
.contact-dialog { width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 64px); margin: auto; padding: clamp(20px, 3vw, 28px); border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); background: #fff; color: var(--ink); }
.contact-dialog::backdrop { background: rgba(10, 23, 48, .55); }
.dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 4px; }
.dialog-head h2 { font-size: 1.5rem; }
.dialog-close { flex: none; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink-2); font-size: 1.4rem; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.dialog-close:hover { border-color: var(--ink); color: var(--ink); }
.contact-dialog .lead { font-size: 1rem; margin-bottom: 18px; }
.contact-dialog .form-success { padding: 8px 0 4px; text-align: left; }
.contact-dialog .form-success h3 { color: var(--green-ink); font-size: 1.25rem; margin-bottom: 8px; }
.contact-dialog .form-success .btn { margin-top: 14px; }
.contact-page .form-card { margin-top: 28px; max-width: 40rem; }
/* Pantallas intermedias del SSO con CheckInSecure y de "sitio no disponible" (sin estilos inline: CSP estricta). */
.sso-page main { max-width: 520px; margin: 64px auto; padding: 0 16px; }
.sso-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

/* ------------------------------------------------------------------- "Tu pedido" (/pedido, 2026-09-23) -- */
.order-card { margin-top: 24px; max-width: 40rem; }
.order-item-label { font-weight: 700; color: var(--ink-2); margin: 0 0 4px; }
.order-item-price { font-size: clamp(2.4rem, 1.8rem + 2vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; margin: 0; color: var(--ink); }
.order-item-caption { color: var(--muted); font-weight: 600; margin: 4px 0 18px; }
.order-plan-note { color: var(--ink-2); font-size: .95rem; line-height: 1.5; margin: 0; padding-top: 16px; border-top: 1px solid var(--line); }
.order-dev-card { margin-top: 20px; max-width: 40rem; background: #fff8e1; border: 1px solid #f0d78a; border-radius: var(--radius-lg); padding: clamp(18px, 3vw, 26px); }
.order-dev-badge { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #4a3500; background: #ffe9a8; border-radius: 999px; padding: 4px 12px; margin: 0 0 10px; }
.order-dev-card p:not(.order-dev-badge) { color: #4a3500; margin: 0 0 16px; }
.order-page .back { display: inline-block; margin-top: 20px; }

/* -------------------------------------------------------------------------- Onboarding ------------------ */
.onboarding-time { display: inline-block; font-size: .8rem; font-weight: 700; color: var(--ink-2); background: var(--paper); border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px 10px; margin-left: 8px; vertical-align: middle; }
.onboarding-section { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(18px, 3vw, 24px); margin-top: 22px; background: #fff; }
.onboarding-step { margin: 0 0 4px; font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--blue-hover); }
.onboarding-page .form-grid { margin-top: 18px; }
.calc-seg-detailed .calc-seg-opt { position: relative; flex-direction: column; align-items: flex-start; text-align: left; min-height: 0; padding: 14px 44px 14px 16px; gap: 4px; }
.calc-seg-detailed .calc-seg-opt input { position: absolute; top: 14px; right: 14px; }
.calc-seg-label { font-weight: 700; font-size: .95rem; }
.calc-seg-detail { font-weight: 500; font-size: .82rem; color: var(--muted); }
.onboarding-after { margin-top: 22px; padding: clamp(16px, 2.5vw, 20px); background: var(--paper); border-radius: var(--radius-lg); }
.onboarding-after .section-title { margin-top: 0; }
.onboarding-after p { margin: 0; color: var(--ink-2); font-size: .92rem; line-height: 1.55; }
.onboarding-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.onboarding-actions .btn { flex: 1 1 200px; }
.onboarding-saved-hint { text-align: center; }

/* --------------------------------------------------------- Legales y 404 */
.legal h1 { margin-bottom: 14px; font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
.legal section { margin-top: 30px; }
.legal h2 { font-size: 1.4rem; margin-bottom: 10px; letter-spacing: -0.015em; }
.legal p { color: var(--ink-2); }
.wrap-narrow { max-width: 820px; }
.draft-banner { background: #fff8e1; color: #4a3500; border: 1px solid #f0d78a; border-radius: var(--radius); padding: 12px 16px; font-weight: 600; font-size: .95rem; }
mark.pending { background: #ffe9a8; color: #3a2a00; padding: 0 .25em; border-radius: 4px; font-weight: 600; }
.back { font-weight: 600; }
.notfound { min-height: 50vh; }

/* --------------------------------------------------------------------- Pie */
.site-footer { background: var(--navy); color: #b7c0cf; padding: 48px 0 40px; border-top: 1px solid rgba(255, 255, 255, .08); }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 30px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand p { margin: 12px 0 0; max-width: 42ch; }
.footer-credit { font-size: .85rem; }
.footer-h { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: #fff; margin-bottom: 12px; font-weight: 700; }
.footer-list { display: grid; gap: 8px; }

/* ------------------------------------------------------------------ Movimiento
   Mejora progresiva, solo CSS. Los estados de la reserva del hero aparecen en secuencia; el resto revela
   contenido al entrar en pantalla y desplaza ligeramente el producto. Sin scroll hijacking. Si el navegador
   no soporta animation-timeline, o el usuario pide menos movimiento, todo se ve en su estado final. */
@media (prefers-reduced-motion: no-preference) {
  @keyframes chip-in { from { opacity: 0; translate: 0 12px; scale: .9; } to { opacity: 1; translate: 0 0; scale: 1; } }
  .chip { animation: chip-in .6s cubic-bezier(.2, .8, .2, 1) both; }
  .chip-1 { animation-delay: .5s; }
  .chip-2 { animation-delay: 1.2s; }
  .chip-3 { animation-delay: 1.9s; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    @keyframes rise { from { opacity: 0; translate: 0 32px; } to { opacity: 1; translate: 0 0; } }
    @keyframes drift { from { translate: 0 26px; } to { translate: 0 -26px; } }
    .section-head, .recv-intro > h2, .recv-item, .step, .plan, .cs-list li, .faq-head, .setup, .brand-copy, .loft-labels, .final-copy, .form-card {
      animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 42%;
    }
    .loft-cal, .loft-phone, .hv-phone { animation: drift linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
  }
}

/* --------------------------------------------------------- Portal del propietario ('/cuenta', autenticado)
   Deliberadamente sencillo: header propio (sin nav de marketing), pestañas de sección, tarjeta de estado.
   Sin animación de scroll (no hay recorrido narrativo que revelar en una app autenticada). */
.portal-page { background: var(--paper); min-height: 100vh; }
.portal-header { background: #fff; border-bottom: 1px solid var(--line); }
.portal-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; flex-wrap: wrap; }
.portal-header .logo { font: 800 1.15rem var(--sans); color: var(--ink); text-decoration: none; }
.portal-switcher { margin-left: auto; }
.portal-nav { background: #fff; border-bottom: 1px solid var(--line); overflow-x: auto; }
.portal-nav a { display: inline-block; padding: 12px 16px; color: var(--ink-2); text-decoration: none; font-weight: 600; border-bottom: 2px solid transparent; white-space: nowrap; }
.portal-nav a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--blue); }
.portal-nav a:hover { color: var(--ink); }
.portal-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.portal-main { padding-top: 32px; padding-bottom: 72px; }
@media (min-width: 1700px) { .portal-wrap { max-width: 1480px; } .portal-head h1 { font-size: 3.1rem; } }
.portal-nav-row { display: flex; gap: 4px; overflow-x: auto; }
.portal-nav-manage { margin-left: auto; display: inline-flex !important; align-items: center; gap: 6px; color: var(--blue) !important; }
.portal-nav-manage .icon { width: 16px; height: 16px; }
.portal-header .logo { display: inline-flex; align-items: center; gap: 10px; }
.portal-header .logo-mark { width: 30px; height: 30px; }
.portal-header-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-left: auto; }
.portal-who { color: var(--ink-2); font-weight: 600; font-size: .9rem; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.portal-header-actions form { margin: 0; }
@media (max-width: 640px) {
  .portal-who, .portal-header .btn-switch-checkinsecure { display: none; }
  .portal-header-actions { flex-wrap: nowrap; }
  .portal-nav a { padding: 12px 9px; font-size: .9rem; }
  .portal-nav-row { gap: 0; }
}
.portal-head { margin-bottom: 24px; }
.portal-head h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.9rem); margin: 0 0 6px; }
.portal-head .lead { margin: 0; color: var(--ink-2); max-width: 46rem; }
.portal-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.portal-grid-even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.portal-side, .portal-col { display: grid; gap: 20px; align-content: start; }
@media (max-width: 860px) { .portal-grid, .portal-grid-even { grid-template-columns: minmax(0, 1fr); } }
.portal-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.portal-card-top .section-title, .portal-prop-title { margin: 0; }
.portal-prop-title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); }
.portal-prop { font-size: 1.15rem; font-weight: 700; margin: 10px 0 16px; }
.portal-domain { margin: 10px 0 0; }
.portal-muted { color: var(--ink-2); }
.portal-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 18px 0 0; }
.portal-resend { margin-top: 14px; }
.btn-link { background: none; border: 0; padding: 0; color: var(--blue); font: 700 .92rem var(--sans); text-decoration: underline; cursor: pointer; }
.portal-plan-line, .plan-name-big { font-weight: 800; font-size: 1.25rem; margin: 6px 0 4px; }
.plan-name-big { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.portal-empty { text-align: left; max-width: 640px; }
.portal-nothing { display: flex; gap: 10px; align-items: flex-start; color: var(--green-ink); font-weight: 600; margin: 4px 0; }
.portal-nothing .icon { width: 20px; height: 20px; flex: none; color: var(--green); margin-top: 2px; }
.portal-alert { border: 1.5px solid #f0c36d; background: #fff8e6; border-radius: var(--radius); padding: 16px 18px; margin: 14px 0; }
.portal-alert-info { border-color: var(--sky-2); background: var(--sky); }
.portal-alert-title { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.portal-alert-title .icon { width: 18px; height: 18px; }
.portal-alert ul { margin: 6px 0 0; padding-left: 20px; }
.portal-alert p { margin: 6px 0; }
.portal-form .field { margin-bottom: 16px; max-width: 460px; }
.section-sub { font-size: 1rem; margin: 18px 0 6px; }
/* Recorrido de la Web Directa ("Mi web"): el estado se comunica con TEXTO + icono, nunca solo con color. */
.pipeline { list-style: none; margin: 8px 0 0; padding: 0; }
.pl-step { display: grid; grid-template-columns: 28px 1fr; gap: 14px; position: relative; padding-bottom: 22px; }
.pl-step:last-child { padding-bottom: 0; }
.pl-step::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--line-strong); }
.pl-step:last-child::before { display: none; }
.pl-dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line-strong); background: #fff; display: grid; place-items: center; }
.pl-dot .icon { width: 16px; height: 16px; color: #fff; }
.pl-done .pl-dot { background: var(--green); border-color: var(--green); }
.pl-done::before { background: var(--green); }
.pl-current .pl-dot { border-color: var(--blue); box-shadow: 0 0 0 4px var(--sky); background: var(--blue); }
.pl-label { margin: 3px 0 0; font-weight: 700; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.pl-state { font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.pl-done .pl-state { color: var(--green-ink); }
.pl-current .pl-state { color: var(--blue); }
.pl-upcoming .pl-label { color: var(--ink-2); font-weight: 600; }
.pl-detail { margin: 4px 0 0; color: var(--ink-2); font-size: .95rem; }
.rd-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.rd-col h3 { font-size: .85rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 8px; }
.rd-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rd-list li { display: grid; grid-template-columns: 22px 1fr auto; gap: 8px; align-items: center; font-size: .95rem; }
.rd-mark { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-strong); display: grid; place-items: center; }
.rd-done .rd-mark { background: var(--green); border-color: var(--green); }
.rd-mark .icon { width: 12px; height: 12px; color: #fff; }
.rd-state { font-size: .75rem; font-weight: 700; color: var(--ink-2); text-transform: uppercase; letter-spacing: .04em; }
.rd-done .rd-state { color: var(--green-ink); }
/* Plan y facturación */
.plan-options { display: grid; gap: 12px; margin-top: 14px; }
.plan-option { border: 1.5px solid var(--line-strong); border-radius: var(--radius); padding: 14px 16px; display: grid; gap: 8px; justify-items: start; }
.plan-option-name { font-weight: 800; margin: 0; }
.plan-preview { margin: 0; color: var(--ink-2); font-size: .92rem; }
.portal-history { margin-top: 20px; }
.history { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: .95rem; }
.history th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); padding: 8px 10px; border-bottom: 2px solid var(--line-strong); }
.history td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
@media (max-width: 640px) {
  .history thead { position: absolute; left: -9999px; }
  .history tr { display: block; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 12px; margin-bottom: 10px; }
  .history td { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 6px 0; }
  .history td::before { content: attr(data-label); font-weight: 700; color: var(--ink-2); }
}
/* Pantallas de acceso (auth-gate y "Iniciar sesión"): misma tarjeta, misma identidad que la landing. */
.auth-body { background: var(--paper); min-height: 100vh; }
.auth-page { padding: clamp(28px, 6vw, 72px) 20px; display: flex; justify-content: center; }
.auth-card { width: 100%; max-width: 480px; background: #fff; border: 1px solid var(--line-strong); border-radius: 20px; box-shadow: var(--shadow); padding: clamp(24px, 5vw, 44px); }
.auth-brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; text-decoration: none; color: var(--ink); font: 800 1.2rem var(--sans); }
.auth-brand .logo-mark { width: 34px; height: 34px; }
.auth-card h1 { font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.4rem); margin: 0 0 8px; }
.auth-lead { color: var(--ink-2); margin: 0 0 22px; font-size: 1.05rem; }
.auth-card-wide { max-width: 580px; }
.auth-form label { display: block; font-weight: 700; margin-bottom: 8px; }
.auth-form .field { margin-bottom: 16px; }
.auth-form .field label { font-size: .95rem; }
.auth-form .calc-field { margin: 0 0 18px; border: 0; padding: 0; }
.form-grid-2 { grid-template-columns: minmax(0, 1fr); gap: 0; margin-bottom: 0; }
@media (min-width: 520px) { .form-grid-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; } }
.auth-form .field input { min-height: 52px; border-radius: 12px; font-size: 1.02rem; }
.auth-input { width: 100%; min-height: 54px; padding: 12px 16px; font: 500 1.05rem var(--sans); border: 1.5px solid var(--field-line); border-radius: 12px; background: #fff; color: var(--ink); margin-bottom: 16px; }
.auth-input:focus { outline: 3px solid var(--blue-line); outline-offset: 0; border-color: var(--blue); }
.auth-or { display: flex; align-items: center; gap: 14px; margin: 22px 0 18px; color: var(--ink-2); font-weight: 600; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
.auth-note { color: var(--ink-2); font-size: .9rem; margin: 12px 0 0; text-align: center; }
.auth-back { margin: 24px 0 0; }
.auth-notice { background: #fff8e6; border: 1.5px solid #f0c36d; border-radius: 10px; padding: 12px 14px; margin-bottom: 18px; display: grid; gap: 2px; }
.auth-sent { text-align: center; padding: 8px 0 4px; }
.auth-sent:focus { outline: none; }
.auth-sent-ic { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--green-tint); color: var(--green); margin-bottom: 14px; }
.auth-sent-ic .icon { width: 28px; height: 28px; }
/* Onboarding: dirección creativa */
.onboarding-section .calc-field { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.style-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-top: 8px; }
.style-card { display: grid; gap: 6px; align-content: start; padding: 12px; border: 1.5px solid var(--line-strong); border-radius: 12px; cursor: pointer; position: relative; background: #fff; }
.style-card input { position: absolute; top: 12px; right: 12px; width: 20px; height: 20px; accent-color: var(--blue); }
.style-card:has(input:checked) { border-color: var(--blue); background: var(--sky); }
.style-card:has(input:focus-visible) { outline: 3px solid var(--blue-line); }
.style-name { font-weight: 800; padding-right: 26px; }
.style-desc { color: var(--ink-2); font-size: .88rem; }
.style-preview { display: block; height: 70px; border-radius: 8px; padding: 10px 12px; background: var(--sp-bg, #fff); border: 1px solid var(--line); }
.style-preview i { display: block; height: 6px; border-radius: 3px; margin-bottom: 7px; background: var(--sp-ink, #333); opacity: .8; }
.style-preview i:first-child { width: 58%; height: 10px; background: var(--sp-accent, #333); opacity: 1; }
.style-preview i:last-child { width: 78%; }
.style-mediterranean { --sp-bg: #f6e7d2; --sp-accent: #c4552d; --sp-ink: #6b4a2f; }
.style-editorial { --sp-bg: #f4f1ec; --sp-accent: #1c1c1c; --sp-ink: #555; }
.style-minimal { --sp-bg: #ffffff; --sp-accent: #9aa4b2; --sp-ink: #c9d0da; }
.style-urban { --sp-bg: #1f2530; --sp-accent: #f2b544; --sp-ink: #8b94a5; }
.style-natural { --sp-bg: #e6eedb; --sp-accent: #3f6b3a; --sp-ink: #7d6b52; }
.style-you_choose .style-preview { background: var(--paper); border-style: dashed; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip-opt { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1.5px solid var(--line-strong); border-radius: 999px; font-weight: 700; font-size: .92rem; cursor: pointer; background: #fff; }
.chip-opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip-opt:has(input:checked) { border-color: var(--blue); background: var(--sky); color: var(--blue-hover); }
.chip-opt:has(input:focus-visible) { outline: 3px solid var(--blue-line); }
.swatch { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); background: #ddd; }
.swatch-warm { background: #e9a35d; } .swatch-cool { background: #6fb1d6; } .swatch-neutral { background: #cfc9c0; }
.swatch-earthy { background: #8a6a4a; } .swatch-bold { background: #d0353a; } .swatch-you_choose { background: #fff; border-style: dashed; }
.ref-inputs { display: grid; gap: 8px; margin: 6px 0; }
.choice-list { display: grid; gap: 8px; margin-top: 8px; }
.choice-opt { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: 10px; cursor: pointer; font-weight: 600; }
.choice-opt input { width: 20px; height: 20px; accent-color: var(--blue); flex: none; }
.choice-opt:has(input:checked) { border-color: var(--blue); background: var(--sky); }
.portal-status { margin: 16px 0; }
.portal-status-badge { display: inline-block; background: var(--sky); color: var(--blue-hover); font-weight: 700; padding: 6px 14px; border-radius: 999px; font-size: .9rem; }
.portal-status-paid { display: inline-block; background: var(--green-tint); border: 1px solid var(--green-line); color: var(--green-ink); font-weight: 800; padding: 8px 16px; border-radius: 8px; }
.portal-dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 12px 0; }
.portal-dl dt { color: var(--ink-2); font-weight: 600; }
.portal-dl dd { margin: 0; }
.portal-note { color: var(--ink-2); font-size: .92rem; margin-top: 12px; }
/* .card se usaba en todo el portal sin ninguna regla propia -- heredaba fondo/borde/padding "de nadie", el
   contenido quedaba a ras de página sin ningún límite visual. Mismo tratamiento que `.buy` (Tu pedido). */
.card { border: 1px solid var(--line-strong); border-radius: var(--radius-lg); padding: clamp(18px, 3vw, 26px); background: #fff; box-shadow: var(--shadow); }
.portal-main .card + .card { margin-top: 20px; }
.portal-property-switcher { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.portal-property-switcher label { font-weight: 700; font-size: .85rem; color: var(--ink-2); white-space: nowrap; }
.portal-property-switcher select { min-height: 44px; padding: 8px 12px; border-radius: 8px; border: 1.5px solid var(--field-line); background: #fff; color: var(--ink); font: 700 .92rem var(--sans); max-width: 260px; }
.portal-property-switcher select:focus { outline: 3px solid var(--blue-line); outline-offset: 0; border-color: var(--blue); }
@media (max-width: 480px) { .portal-property-switcher select { max-width: none; flex: 1; } }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: #b3261e; font-weight: 600; margin-top: 10px; }

/* ==================================================================================================
   Ronda 2 (2026-09-23): pedido con detalle de producto, estados por color + texto, onboarding portalizado,
   subida de fotos, plan con identidad visual y cancelación. Sin degradados/glass/sombras exageradas.
   ================================================================================================== */

/* --- Tu pedido: contenido a la izquierda, resumen fijo a la derecha (una columna en móvil) --- */
.order-page { padding: clamp(32px, 6vw, 72px) 0; }
.order-head { max-width: 46rem; margin-bottom: clamp(20px, 4vw, 36px); }
.order-head h1 { margin: 0 0 8px; }
.order-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
.order-side { display: grid; gap: 14px; }
@media (min-width: 960px) {
  .order-layout { grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr); gap: 40px; }
  .order-side { position: sticky; top: 24px; }
}
@media (max-width: 959px) { .order-side { order: -1; } }
.order-main { display: grid; gap: 30px; }
.order-block { border-top: 1px solid var(--line); padding-top: 22px; }
.order-block:first-child { border-top: 0; padding-top: 0; }
.order-h2 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); letter-spacing: -0.02em; margin: 0 0 10px; }
.order-buy-lead { font-size: 1.12rem; color: var(--ink); max-width: 44rem; margin: 0; }
.order-ticks { gap: 10px; }
.order-panel { background: var(--sky); border: 1px solid var(--blue-line); border-radius: var(--radius-lg); padding: clamp(18px, 3vw, 26px); }
.order-panel .order-h2 { color: var(--navy); }
.order-note { color: var(--ink-2); font-size: .93rem; margin: 14px 0 0; }
.order-steps { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.order-steps li::marker { font-weight: 800; color: var(--blue); }
.order-timing { background: var(--green-tint); border: 1px solid var(--green-line); border-radius: var(--radius-lg); padding: clamp(18px, 3vw, 26px); }
.order-timing .order-h2 { color: var(--green-ink); }
.order-timing p { margin: 0; }
.order-trust { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .order-trust { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.order-trust h3 { font-size: 1rem; margin: 0 0 6px; }
.order-trust p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.order-details { border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 4px 18px; background: #fff; }
.order-details summary { cursor: pointer; font-weight: 700; padding: 14px 0; min-height: 44px; }
.order-details ul { margin: 0 0 12px; padding-left: 20px; display: grid; gap: 6px; color: var(--ink-2); }
.order-details p { margin: 0 0 14px; }
.order-regular { color: var(--green-ink); font-weight: 700; margin: 0 0 14px; }
.order-card { margin-top: 0; max-width: none; }

/* --- Estados: color + icono + texto (nunca solo color). verde=listo, azul=en curso, ámbar=pendiente, rojo=problema --- */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: .8rem; font-weight: 700; white-space: nowrap; border: 1px solid transparent; }
.pill .icon { width: 14px; height: 14px; flex: none; }
.pill-done { background: var(--green-tint); color: var(--green-ink); border-color: var(--green-line); }
.pill-info { background: var(--sky); color: var(--blue-hover); border-color: var(--blue-line); }
.pill-pending { background: #fff4d6; color: #7a4b00; border-color: #f0c36d; }
.pill-error { background: #fdecea; color: #a11d14; border-color: #f2b8b3; }
.banner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px 14px; align-items: start; padding: 14px 16px; border-radius: var(--radius); border: 1.5px solid; margin: 14px 0; }
.banner > .icon { width: 22px; height: 22px; margin-top: 2px; }
.banner strong { display: block; margin-bottom: 2px; }
.banner p { margin: 2px 0 0; font-size: .95rem; }
.banner .btn { align-self: center; }
.banner-pending { background: #fff8e6; border-color: #f0c36d; color: #4a3500; }
.banner-pending > .icon { color: #b26a00; }
.banner-done { background: var(--green-tint); border-color: var(--green-line); color: #0b4a2c; }
.banner-done > .icon { color: var(--green); }
.banner-info { background: var(--sky); border-color: var(--blue-line); color: var(--navy); }
.banner-info > .icon { color: var(--blue); }
.banner-missing { font-weight: 700; }
@media (max-width: 640px) { .banner { grid-template-columns: auto minmax(0, 1fr); } .banner .btn { grid-column: 1 / -1; justify-self: start; } }
.plain-list { list-style: none; margin: 8px 0; padding: 0; display: grid; gap: 6px; }

/* --- Mi web: readiness --- */
.rd-list li { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.rd-side { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.rd-fix { font-size: .85rem; font-weight: 700; }
.rd-lead { margin: 0 0 8px; }
.portal-status-paid .icon { width: 18px; height: 18px; vertical-align: -3px; margin-right: 6px; }

/* --- Onboarding portalizado --- */
.onb-group { font-size: 1.15rem; margin: 30px 0 4px; letter-spacing: -0.01em; }
.onb-later { margin: 0 0 4px; }
.onb-progress { display: grid; gap: 10px; }
.onb-progress-text { font-weight: 800; margin: 0; font-size: 1.05rem; }
.onb-bar { width: 100%; height: 10px; accent-color: var(--green); border-radius: 999px; overflow: hidden; }
.onb-ready { display: flex; gap: 8px; align-items: flex-start; color: var(--green-ink); font-weight: 700; margin: 4px 0 0; }
.onb-ready .icon { width: 20px; height: 20px; flex: none; color: var(--green); margin-top: 2px; }
.onb-section { scroll-margin-top: 16px; }
.onb-section .onb-lead { margin: 6px 0 14px; }
.onb-form .field { margin-bottom: 16px; }
.onb-form .field-narrow { max-width: 200px; }
.onb-form .calc-field { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.onb-form legend { font-weight: 700; padding: 0; margin-bottom: 6px; }
.onb-save { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.onb-save .form-status { margin: 0; min-height: 0; color: var(--green-ink); }
.onb-save .form-status.is-error, .form-status.is-error { color: #b3261e; }
.onb-help { margin: 10px 0 0; }
.onb-help summary { cursor: pointer; color: var(--blue); font-weight: 700; min-height: 44px; display: flex; align-items: center; }
.feed { margin: 8px 0 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.feed[hidden] { display: none; }
.chip-none { border-style: dashed; }
.choice-detail { align-items: flex-start; }
.choice-detail small { display: block; font-weight: 500; color: var(--ink-2); margin-top: 2px; }
.domain-name { margin-top: 14px; }

/* --- Fotos: zona de arrastre + miniaturas --- */
.dropzone { border: 2px dashed var(--line-strong); border-radius: var(--radius-lg); padding: 24px 18px; text-align: center; background: var(--paper); transition: border-color .15s, background .15s; }
.dropzone.is-over { border-color: var(--blue); background: var(--sky); }
.dz-title { font-weight: 800; margin: 0; display: flex; gap: 8px; align-items: center; justify-content: center; font-size: 1.05rem; }
.dz-title .icon { width: 22px; height: 22px; color: var(--blue); }
.dz-or { color: var(--ink-2); margin: 6px 0; }
.dz-choose { position: relative; cursor: pointer; }
.dz-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dz-choose:focus-within { outline: 3px solid var(--blue-line); outline-offset: 2px; }
.ph-count { font-weight: 700; margin: 12px 0 0; }
.ph-list { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.ph-item { border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 8px; background: #fff; display: grid; gap: 6px; align-content: start; }
.ph-item img { width: 100%; height: 120px; object-fit: cover; border-radius: 6px; background: var(--paper); }
.ph-name { font-size: .82rem; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 0; }
.ph-actions { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.ph-actions .btn-link { font-size: .82rem; min-height: 32px; }
.ph-actions .btn-link:disabled { color: var(--muted); text-decoration: none; cursor: default; }
.logo-uploader { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 18px; }
.logo-current { display: flex; gap: 14px; align-items: center; margin: 10px 0; }
.logo-current img { width: 120px; height: 80px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 6px; }

/* --- Plan y facturación con identidad --- */
.plan-current { border-color: var(--blue); box-shadow: 0 0 0 3px var(--sky-2), var(--shadow); }
.plan-current-empty { border-color: #f0c36d; box-shadow: none; }
.plan-current-badge { display: inline-block; margin: 0 0 8px; padding: 3px 10px; border-radius: 999px; background: var(--blue); color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.plan-none-title { font-size: 1.15rem; margin: 0; }
.plan-benefits { margin: 12px 0; }
.plan-upsell { background: var(--green-tint); border-color: var(--green-line); }
.plan-upsell .section-title { color: var(--green-ink); }
.plan-option { gap: 10px; }
.plan-option-annual { border-color: var(--green); background: #fbfefc; }
.plan-option-disabled { opacity: .62; background: #f6f7f9; border-style: dashed; }
.plan-save-badge { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 3px 10px; border-radius: 999px; background: var(--green-tint); color: var(--green-ink); font-weight: 800; font-size: .85rem; }
.plan-save-badge .icon { width: 14px; height: 14px; }
.plan-stripe-warn { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0 0; padding: 10px 12px; background: #fff8e6; border: 1px solid #f0c36d; border-radius: 8px; color: #4a3500; font-size: .9rem; }
.plan-stripe-warn .icon { width: 18px; height: 18px; flex: none; color: #b26a00; margin-top: 1px; }
.plan-stripe-general { margin: 8px 0 0; }

/* --- Cancelación --- */
.cancel-after { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 14px; }
.cancel-after li { display: grid; gap: 2px; }
.cancel-after strong { font-size: .98rem; }
.cancel-after span { color: var(--ink-2); }
.cancel-form .field textarea { max-width: 560px; }

/* ==================================================================================================
   Property runtime (ronda 4): panel de la propiedad (`pa-*`) y sitio público (`ps-*`). Mobile-first, sin degradados ni sombras
   exageradas. Estados con texto y marca (letra), nunca solo color. Mismo lenguaje visual que la cuenta OwnGuests.
   ================================================================================================== */
.pa-page, .ps-page { background: var(--paper); min-height: 100vh; color: var(--ink); }
.pa-wrap { width: 100%; max-width: 980px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.pa-narrow { max-width: 520px; }
.pa-header { background: #fff; border-bottom: 1px solid var(--line); }
.pa-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.pa-brand { font-weight: 800; font-size: 1.1rem; color: var(--ink); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pa-viewsite { font-size: .9rem; font-weight: 700; white-space: nowrap; }
/* WCAG 2.5.8: enlaces sueltos y contiguos con objetivo táctil de al menos 24x24 px. */
.pa-viewsite, .history td a { display: inline-flex; align-items: center; justify-content: center; min-height: 24px; min-width: 24px; }
/* Navegación: barra inferior fija en móvil, superior en escritorio. */
.pa-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: #fff; border-top: 1px solid var(--line-strong); padding-bottom: env(safe-area-inset-bottom); }
.pa-nav-row { display: grid; grid-template-columns: repeat(5, 1fr); padding-left: 0; padding-right: 0; max-width: none; }
.pa-nav a { display: grid; place-items: center; min-height: 56px; padding: 6px 2px; color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: .78rem; border-top: 3px solid transparent; text-align: center; }
.pa-nav a[aria-current="page"] { color: var(--blue); border-top-color: var(--blue); }
.pa-main { padding-top: 20px; padding-bottom: 96px; }
/* WCAG 2.4.11 (auditoría UI 2026-10-03): el campo con foco nunca queda oculto bajo la barra inferior fija del panel en móvil. */
@media (max-width: 899.98px) { html:has(.pa-nav) { scroll-padding-bottom: calc(72px + env(safe-area-inset-bottom)); } }
@media (min-width: 900px) {
  .pa-nav { position: static; border-top: 0; border-bottom: 1px solid var(--line); padding-bottom: 0; }
  .pa-nav-row { display: flex; gap: 4px; max-width: 980px; padding-left: 16px; padding-right: 16px; }
  .pa-nav a { min-height: 46px; padding: 8px 16px; font-size: .95rem; border-top: 0; border-bottom: 3px solid transparent; }
  .pa-nav a[aria-current="page"] { border-bottom-color: var(--blue); }
  .pa-main { padding-bottom: 48px; }
}
.pa-h1 { font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.3rem); margin: 0 0 16px; letter-spacing: -0.02em; }
.pa-flash { background: var(--green-tint); border: 1px solid var(--green-line); color: var(--green-ink); border-radius: var(--radius); padding: 10px 14px; font-weight: 700; margin: 0 0 14px; }
.pa-card { display: block; background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); padding: 16px; margin: 0 0 14px; color: var(--ink); text-decoration: none; }
.pa-card h2 { font-size: 1.05rem; margin: 0 0 8px; }
.pa-card p { margin: 6px 0; }
.pa-warn { border-color: #f0c36d; background: #fff8e6; }
a.pa-card:hover, a.pa-card:focus-visible { border-color: var(--blue); }
.pa-grid { display: grid; gap: 0 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .pa-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pa-cards { list-style: none; margin: 0 0 14px; padding: 0; }
.pa-list { list-style: none; margin: 8px 0; padding: 0; display: grid; gap: 8px; }
.pa-list li { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.pa-list a { display: grid; gap: 2px; color: var(--ink); text-decoration: none; }
.pa-row { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; }
.pa-note { color: var(--ink-2); font-size: .88rem; }
.pa-lead { color: var(--ink-2); margin: 0 0 14px; }
.pa-empty { color: var(--ink-2); padding: 18px 0; }
.pa-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 8px 0; }
.pa-stats dt { color: var(--ink-2); font-size: .82rem; font-weight: 600; }
.pa-stats dd { margin: 2px 0 0; font-size: 1.35rem; font-weight: 800; }
.pa-dl { display: grid; grid-template-columns: minmax(0, 8rem) minmax(0, 1fr); gap: 8px 14px; margin: 0; }
.pa-dl dt { color: var(--ink-2); font-weight: 600; }
.pa-dl dd { margin: 0; overflow-wrap: anywhere; }
.pa-tabs { display: flex; gap: 6px; margin-bottom: 14px; overflow-x: auto; }
.pa-tab { padding: 9px 14px; border: 1.5px solid var(--line-strong); border-radius: 999px; font-weight: 700; font-size: .92rem; color: var(--ink-2); text-decoration: none; white-space: nowrap; background: #fff; }
.pa-tab[aria-current="page"] { border-color: var(--blue); background: var(--sky); color: var(--blue-hover); }
.pa-form .field { margin-bottom: 14px; }
.pa-form { display: block; }
.pa-copy { width: 100%; min-height: 44px; padding: 8px 10px; border: 1.5px solid var(--field-line); border-radius: 8px; font: 500 .85rem var(--sans); background: var(--paper); }
/* Calendario mensual */
.pa-monthnav { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0 0 10px; }
.pa-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; margin-bottom: 14px; }
.pa-wd { text-align: center; font-weight: 800; font-size: .78rem; color: var(--ink-2); padding: 4px 0; }
.pa-day { position: relative; min-height: 48px; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 4px; display: grid; align-content: space-between; }
.pa-day-empty { border: 0; background: transparent; }
.pa-day-n { font-size: .85rem; font-weight: 700; }
.pa-day-k { font-size: .72rem; font-weight: 800; text-align: right; }
.pa-day-res { background: var(--sky); border-color: var(--blue); }
.pa-day-hold { background: #fff8e6; border-color: #f0c36d; }
.pa-day-block { background: #eceff4; border-color: var(--line-strong); }
.pa-day-ical { background: var(--green-tint); border-color: var(--green-line); }
.pa-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.pa-legend .pa-day-k { display: inline-block; min-width: 22px; padding: 2px 6px; border: 1px solid var(--line-strong); border-radius: 6px; text-align: center; }
.pa-legend-res { background: var(--sky); } .pa-legend-hold { background: #fff8e6; } .pa-legend-block { background: #eceff4; } .pa-legend-ical { background: var(--green-tint); }
/* Fotos */
.pa-photos { list-style: none; margin: 10px 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.pa-photos li { border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 8px; display: grid; gap: 6px; background: #fff; }
.pa-photos img { width: 100%; height: 120px; object-fit: cover; border-radius: 6px; }
.pa-photo-actions { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.pa-photo-actions form { margin: 0; }
/* Sitio público */
.ps-main { padding-bottom: 48px; }
.ps-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0 -16px 18px; }
.ps-gallery img { width: 100%; height: 110px; object-fit: cover; }
.ps-gallery .ps-cover { grid-column: 1 / -1; height: clamp(200px, 42vw, 420px); }
@media (min-width: 900px) { .ps-gallery { margin: 0 0 18px; border-radius: var(--radius-lg); overflow: hidden; } .ps-gallery img { height: 150px; } }
.ps-head h1 { font-size: clamp(1.8rem, 1.4rem + 2vw, 2.8rem); margin: 0 0 4px; }
.ps-price strong { font-size: 1.4rem; }
.ps-desc { max-width: 46rem; line-height: 1.6; }
.ps-amen { list-style: none; padding: 0; margin: 8px 0 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.ps-amen li { padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; font-weight: 600; font-size: .9rem; }
.ps-quote { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 12px; }

/* ---------- Ronda 4: recorrido, asistente de configuración, prepara la publicación ---------- */
@media (max-width: 420px) { .portal-nav a { padding: 12px 6px; font-size: .84rem; } }
.pl-parallel .pl-dot { border-style: dashed; border-color: var(--blue); background: #fff; }
.pl-parallel .pl-state { color: var(--blue-hover); }
.pl-parallel .pl-label { color: var(--ink); }
.jr-now { margin: 12px 0 4px; padding: 16px; border: 1px solid var(--blue-line); background: var(--sky); border-radius: var(--radius-lg); }
.jr-now-label { margin: 0 0 6px; font-size: .78rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--blue-hover); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.jr-headline { margin: 0 0 4px; font-size: clamp(1.25rem, 1.1rem + .8vw, 1.6rem); line-height: 1.2; letter-spacing: -0.01em; }
.jr-progress { margin: 10px 0 4px; font-weight: 700; }
.jr-build { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 0; color: var(--green-ink); font-weight: 700; }
.jr-build .icon { width: 18px; height: 18px; flex: none; color: var(--green); margin-top: 2px; }
.jr-done { display: flex; align-items: center; gap: 8px; margin: 4px 0; font-weight: 700; color: var(--green-ink); }
.jr-done .icon { width: 18px; height: 18px; color: var(--green); }
.jr-who { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .74rem; font-weight: 800; letter-spacing: .02em; text-transform: none; border: 1px solid var(--line-strong); background: #fff; color: var(--ink-2); }
.jr-who-you { border-color: #f0c36d; background: #fff4d6; color: #7a4b00; }
.jr-who-ownguests { border-color: var(--green-line); background: var(--green-tint); color: var(--green-ink); }
.jr-who-external { border-color: var(--blue-line); background: #fff; color: var(--blue-hover); }
.jr-rows li { grid-template-columns: minmax(0, 1fr) auto; padding: 10px 0; border-bottom: 1px solid var(--line); }
.jr-rows li:last-child { border-bottom: 0; }
.jr-rows .rd-side { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: flex-end; }
.banner-info { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--blue-line); background: var(--sky); border-radius: var(--radius); margin: 0 0 16px; }
.banner-info .icon { width: 20px; height: 20px; flex: none; color: var(--blue); margin-top: 2px; }
.banner-info p { margin: 2px 0 0; }

.wz-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 16px; align-items: start; }
.wz-steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.wz-step { flex: 1 1 0; min-width: 0; }
.wz-step a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px; min-height: 44px; border: 1.5px solid var(--line-strong); border-radius: 12px; text-decoration: none; color: var(--ink); background: #fff; text-align: center; font-size: .82rem; font-weight: 700; }
.wz-step.is-current a { border-color: var(--blue); background: var(--sky); flex: 2 1 0; }
.wz-step.is-current { flex: 3 1 0; }
.wz-dot { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line-strong); display: grid; place-items: center; font-size: .8rem; background: #fff; flex: none; }
.wz-dot .icon { width: 15px; height: 15px; color: #fff; }
.wz-done .wz-dot { background: var(--green); border-color: var(--green); color: #fff; }
.wz-in_progress .wz-dot { border-color: var(--blue); }
.wz-step.is-current .wz-dot { border-color: var(--blue); background: var(--blue); color: #fff; }
.wz-name, .wz-state { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wz-step.is-current .wz-name { position: static; width: auto; height: auto; clip: auto; white-space: normal; line-height: 1.2; }
.wz-state { font-weight: 600; }
.wz-meta { font-weight: 600; color: var(--ink-2); }
.wz-head { margin: 0 0 12px; }
.wz-kicker { margin: 0; font-size: .82rem; font-weight: 700; color: var(--ink-2); }
.wz-req { color: var(--blue-hover); }
.wz-req-later { color: var(--ink-2); }
.wz-title { margin: 2px 0 4px; font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem); letter-spacing: -0.01em; }
.wz-lead { margin: 0 0 8px; }
.wz-scope { margin: 0 0 16px; }
.wz-scope .portal-note { display: block; margin-top: 4px; }
.wz-opt { font-size: .72rem; padding: 2px 8px; vertical-align: middle; }
.wz-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; margin-top: 12px; }
.wz-nav .btn { flex: 1 1 140px; }
.wz-reg { border-top: 1px solid var(--line); padding-top: 16px; }
.wz-review { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 4px; }
.wz-review-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.wz-review-row > div { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.amenity-list { display: grid; gap: 8px; margin: 8px 0 18px; }
.amenity-cat { border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; }
.amenity-cat > summary { cursor: pointer; padding: 12px 14px; min-height: 44px; font-weight: 700; display: flex; gap: 8px; align-items: center; list-style: none; }
.amenity-cat > summary::-webkit-details-marker { display: none; }
.amenity-cat > summary::after { content: "+"; margin-left: auto; font-weight: 800; color: var(--blue); }
.amenity-cat[open] > summary::after { content: "–"; }
.amenity-cat .chip-row { padding: 0 14px 14px; }
.amenity-n { font-size: .72rem; padding: 1px 8px; }
.amenity-search input { max-width: 420px; }
@media (min-width: 900px) {
  .wz-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 24px; }
  .wz-steps { flex-direction: column; position: sticky; top: 12px; }
  .wz-step, .wz-step.is-current { flex: none; }
  .wz-step a, .wz-step.is-current a { flex-direction: row; justify-content: flex-start; text-align: left; padding: 10px 12px; gap: 10px; }
  .wz-name { position: static; width: auto; height: auto; clip: auto; white-space: normal; flex: 1; }
  .wz-state { position: static; width: auto; height: auto; clip: auto; white-space: nowrap; font-size: .74rem; color: var(--ink-2); }
  .wz-nav .btn { flex: 0 0 auto; }
}
.btn-danger { background: #b3261e; color: #fff; border: 1.5px solid #b3261e; }
.btn-danger:hover { background: #8f1d17; border-color: #8f1d17; }
.plan-danger { margin-top: 32px; border-color: #f2b8b3; background: #fff8f7; }
.plan-danger .section-title { color: #8f1d17; }
.dns-table td { min-width: 0; }
.dns-table code { overflow-wrap: anywhere; word-break: break-all; }
@media (max-width: 640px) { .dns-table code { text-align: right; } }
.portal-grid > *, .portal-col { min-width: 0; }
.dns-table { table-layout: auto; max-width: 100%; }


/* Plan fundador junto a los botones de compra (solo con la oferta activa). Colores propios en todos los hijos: se lee igual
   sobre la caja blanca del hero, el navy de precios y el azul del cierre (antes heredaba el texto claro del navy). */
.founder-promo { margin: 0 0 16px; padding: 14px 16px; border: 1px solid var(--green-line); border-radius: 12px; background: var(--green-tint); color: var(--ink); text-align: left; }
.founder-promo p { margin: 0; max-width: none; font-size: .95rem; line-height: 1.4; color: var(--ink); }
.founder-promo .founder-promo-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.founder-promo-badge { padding: 4px 8px; border-radius: 5px; background: var(--green); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.founder-promo-head { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; color: var(--green-ink); }
.founder-promo .founder-promo-context { margin-top: 4px; font-weight: 600; }
.founder-promo .founder-promo-after { margin-top: 4px; font-size: .85rem; color: var(--muted); }
.founder-promo a { color: var(--blue); font-weight: 700; white-space: nowrap; }
.setup-detail .founder-promo { max-width: 34rem; margin-bottom: 22px; }
.summary .founder-promo { margin-top: 20px; }

/* Páginas del incremento SEO 1 (/precios, /anfitriones-airbnb-booking): texto editorial sobre papel, mismos componentes de la home. */
.seo-hero { background: var(--paper); padding-bottom: clamp(28px, 4vw, 44px); }
.seo-hero + .seo-body { padding-top: clamp(16px, 3vw, 32px); }
.seo-body { padding-bottom: clamp(32px, 5vw, 56px); }
.seo-body + .seo-faq { padding-top: clamp(24px, 4vw, 40px); }
.seo-hero h1 { margin: 10px 0 14px; font-size: clamp(2.2rem, 1.2rem + 3.6vw, 3.6rem); }
.crumbs { font-size: .88rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
/* Páginas SEO: mismo borde izquierdo que la cabecera y el resto de secciones; la medida de lectura se limita por bloque. */
.seo-measure > * { max-width: 820px; }
.seo-body-compact .seo-measure > .seo-cols { max-width: 960px; }
.seo-body h2 { margin: 36px 0 12px; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); }
.seo-body p { max-width: 42rem; color: var(--ink-2); }
.seo-block + .seo-block { margin-top: 8px; }
.seo-block .ticks { margin-top: 14px; }
.seo-rows { display: grid; gap: 14px; margin: 18px 0 0; }
.seo-rows div { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.seo-rows dt { font-weight: 800; color: var(--ink); }
.seo-rows dd { margin: 4px 0 0; color: var(--ink-2); }
.seo-cols { display: grid; gap: 8px 32px; }
@media (min-width: 760px) { .seo-cols { grid-template-columns: 1fr 1fr; } }
.seo-list { display: grid; gap: 8px; padding-left: 1.1em; list-style: disc; color: var(--ink-2); }
.seo-cta { margin: 28px 0 10px; }
/* /precios (2026-10-23): solo «Qué incluye / Qué no incluye» tras la banda de planes; menos aire arriba, títulos sin margen superior y
   separación propia entre las dos listas cuando se apilan en móvil. */
.seo-body-compact { padding-top: clamp(36px, 5vw, 64px); }
.seo-body-compact .seo-cols { row-gap: 28px; }
.seo-body-compact .seo-cols h2 { margin-top: 0; }
.seo-body-compact .seo-cta { margin-top: 32px; }
.seo-cta-box { margin: 40px 0 0; padding: clamp(18px, 3vw, 26px); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: #fff; }
.seo-cta-box h2 { margin-top: 0; }
.seo-disclaimer { margin-top: 28px; max-width: 42rem; }
.pricing-more { margin: 18px 0 0; }
.pricing-more a { color: #fff; font-weight: 700; }
.brand-more { margin: 14px 0 0; }
.brand-more a { color: var(--blue-soft); font-weight: 700; }
/* I1: el selector de país del alojamiento separado del texto de ayuda del bloque de registro. */
.wz-reg > .help + .field { margin-top: 14px; }

/* ------------------------------------------- 2026-10-21: dos planes, punto de equilibrio y moneda ------------ */
/* Dos planes (7 % retirado): misma tarjeta, rejilla de 2 centrada para que el anual destacado no quede descolgado. */
@media (min-width: 900px) {
  .plans.plans-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 54rem; margin-left: auto; margin-right: auto; }
}
/* Selector de moneda: discreto, junto al título de precios. */
.currency-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 14px; }
.currency-switch label { font-weight: 700; font-size: .92rem; }
.currency-switch select { min-height: 40px; padding: 4px 10px; border: 1.5px solid var(--field-line); border-radius: 8px; background: #fff; color: var(--ink); font: 700 .95rem var(--sans); }
.currency-switch select:focus { outline: 3px solid var(--blue-line); border-color: var(--blue); }
.currency-note { flex-basis: 100%; margin: 0; max-width: 40rem; }
