/* SuperagentIA — hoja de estilos única.
   Layout: bandas a todo el ancho que alternan blanco y azul hielo; contenido en una columna de 1160 px.
   Todos los colores salen de estas variables: cambiar la paleta = cambiar este bloque. */
:root {
  /* Paleta oficial (fuente de verdad) */
  --sa-brand: #2781F6;        /* marca: logotipo, iconos, texto grande (>=24 px) */
  --sa-accent: #1F93FF;       /* acento decorativo: degradados, brillos. Nunca texto */
  --sa-action: #145DC2;       /* botones con texto blanco y enlaces sobre blanco (6,2:1) */
  --sa-bg: #FFFFFF;
  --sa-bg-soft: #F4F8FF;
  --sa-text: #111827;         /* 17,7:1 sobre blanco */
  /* Derivados (no forman parte de la paleta; ajustables) */
  --sa-text-muted: #4B5563;   /* 7,6:1 sobre blanco */
  --sa-line: #DCE6F5;
  --sa-action-hover: #0F4EA6;
  --sa-brand-tint: #E4EFFE;
  --sa-warn-bg: #FFF6E0;
  --sa-warn-text: #7A4B00;
  --sa-on-action: #FFFFFF;

  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: 1.375rem;
  --step-3: 1.75rem;
  --step-4: clamp(2rem, 1.4rem + 2.6vw, 3rem);
  --step-5: clamp(2.4rem, 1.5rem + 4vw, 4.25rem);

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(17, 24, 39, .06), 0 12px 32px -12px rgba(20, 93, 194, .22);
  --wrap: 1160px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sa-bg);
  color: var(--sa-text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--sa-action); text-underline-offset: 3px; }
a:hover { color: var(--sa-action-hover); }
:focus-visible { outline: 3px solid var(--sa-action); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
h1 { font-size: var(--step-5); font-weight: 700; }
h2 { font-size: var(--step-4); font-weight: 700; }
h3 { font-size: var(--step-2); font-weight: 600; }
p { margin: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sa-action); color: var(--sa-on-action); padding: 8px 14px; border-radius: var(--radius-sm); z-index: 100; }
.skip:focus { left: 16px; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.band { padding-block: clamp(56px, 8vw, 104px); }
.band--soft { background: var(--sa-bg-soft); }
.stack { display: grid; gap: 16px; }
.lead { font-size: var(--step-1); color: var(--sa-text-muted); max-width: 62ch; }
.eyebrow { font-size: var(--step--1); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--sa-action); }
.section-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: 40px; }
.muted { color: var(--sa-text-muted); }
.small { font-size: var(--step--1); }

/* Aviso de vista previa */
.preview-bar { background: var(--sa-text); color: #fff; font-size: var(--step--1); }
.preview-bar .wrap { display: flex; gap: 12px; flex-wrap: wrap; justify-content: space-between; padding-block: 8px; }
.preview-bar a { color: #fff; }

/* Cabecera */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--sa-bg); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--sa-line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.logo { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--sa-text); text-decoration: none; letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 10px; }
.logo b { color: var(--sa-brand); font-weight: 700; }
.logo-mark { width: 28px; height: 28px; flex: none; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a, .nav-group > button { font: inherit; font-size: .95rem; font-weight: 500; color: var(--sa-text); text-decoration: none; padding: 8px 12px; border-radius: var(--radius-sm); background: none; border: 0; cursor: pointer; }
.nav > a:hover, .nav-group > button:hover { background: var(--sa-bg-soft); color: var(--sa-text); }
.nav a[aria-current="page"] { color: var(--sa-action); }
.nav-group { position: relative; }
.nav-group > button::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-left: 8px; vertical-align: 3px; }
.nav-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 260px; background: var(--sa-bg); border: 1px solid var(--sa-line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; display: grid; }
.nav-menu a { padding: 10px 12px; border-radius: var(--radius-sm); text-decoration: none; color: var(--sa-text); font-size: .95rem; }
.nav-menu a:hover { background: var(--sa-bg-soft); }
.nav-menu small { display: block; color: var(--sa-text-muted); font-size: .8rem; }
.nav-cta { display: flex; gap: 8px; margin-left: 8px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--sa-line); border-radius: var(--radius-sm); padding: 8px 12px; font: inherit; color: var(--sa-text); cursor: pointer; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; font-size: .98rem; padding: 12px 20px; border-radius: 999px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, transform .15s; }
.btn-primary { background: var(--sa-action); color: var(--sa-on-action); }
.btn-primary:hover { background: var(--sa-action-hover); color: var(--sa-on-action); transform: translateY(-1px); }
.btn-secondary { background: var(--sa-bg); color: var(--sa-action); border-color: var(--sa-action); }
.btn-secondary:hover { background: var(--sa-brand-tint); color: var(--sa-action-hover); }
.btn-sm { padding: 8px 14px; font-size: .9rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero (se conserva la estructura actual: eyebrow, H1, subtítulo, 2 CTA, escena de capturas y tira de 3 pasos) */
.hero { position: relative; overflow: hidden; background: var(--sa-bg-soft); padding-block: clamp(40px, 5vw, 72px) clamp(56px, 7vw, 96px); }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .45; pointer-events: none; }
.hero::before { width: 520px; height: 520px; right: -120px; top: -160px; background: radial-gradient(circle, var(--sa-accent), transparent 70%); }
.hero::after { width: 420px; height: 420px; left: -160px; bottom: -200px; background: radial-gradient(circle, var(--sa-brand), transparent 70%); opacity: .25; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero-copy { display: grid; gap: 20px; }
.hero h1 { color: var(--sa-text); }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--sa-action), var(--sa-accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-note { font-size: var(--step--1); color: var(--sa-text-muted); }
.scene { position: relative; display: grid; gap: 14px; }
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 8px; padding: 0; list-style: none; }
.flow li { background: var(--sa-bg); border: 1px solid var(--sa-line); border-radius: var(--radius-sm); padding: 10px 12px; font-size: .88rem; font-weight: 600; position: relative; }
.flow li small { display: block; font-weight: 400; color: var(--sa-text-muted); }
.flow li.is-on { border-color: var(--sa-action); box-shadow: 0 0 0 3px var(--sa-brand-tint); }

/* Huecos de captura: se sustituyen por capturas aprobadas de la demo propia */
.shot { border: 2px dashed var(--sa-brand); background: repeating-linear-gradient(135deg, var(--sa-bg) 0 14px, var(--sa-bg-soft) 14px 28px); border-radius: var(--radius); aspect-ratio: 16 / 10; max-width: 100%; display: grid; place-content: center; text-align: center; padding: 20px; color: var(--sa-text-muted); box-shadow: var(--shadow); }
.shot strong { color: var(--sa-text); font-family: var(--font-display); font-size: 1.05rem; }
.shot code { font-size: .8rem; background: var(--sa-brand-tint); color: var(--sa-text); padding: 2px 6px; border-radius: 4px; }
.shot--tall { aspect-ratio: 4 / 5; }

/* Rejillas y tarjetas */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--sa-bg); border: 1px solid var(--sa-line); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.band--soft .card { border-color: transparent; }
.card h3 { font-size: var(--step-1); }
.card a.more { font-weight: 600; text-decoration: none; }
.icon { width: 40px; height: 40px; border-radius: 10px; background: var(--sa-brand-tint); color: var(--sa-brand); display: grid; place-content: center; }
.icon svg { width: 22px; height: 22px; }

/* Pasos (secuencia real: numeración con sentido) */
.steps { counter-reset: s; display: grid; gap: 14px; padding: 0; margin: 0; list-style: none; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; background: var(--sa-bg); border: 1px solid var(--sa-line); border-radius: var(--radius); padding: 18px 20px; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--sa-brand); }
.steps h3 { font-size: var(--step-1); margin-bottom: 4px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }

/* Listas de comprobación */
.checks, .crosses { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li, .crosses li { padding-left: 30px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .35em; width: 16px; height: 9px; border-left: 3px solid var(--sa-action); border-bottom: 3px solid var(--sa-action); transform: rotate(-45deg); }
.crosses li::before { content: "–"; position: absolute; left: 4px; top: 0; font-weight: 700; color: var(--sa-text-muted); }

/* Precio destacado (pago único) */
.hero-price { display: grid; gap: 4px; padding: 18px 22px; background: var(--sa-bg); border: 1px solid var(--sa-line); border-left: 5px solid var(--sa-action); border-radius: var(--radius); box-shadow: var(--shadow); max-width: 520px; }
.hero-price b { font-family: var(--font-display); font-size: clamp(2.2rem, 1.8rem + 2vw, 3.2rem); line-height: 1.05; letter-spacing: -0.03em; color: var(--sa-text); }
.hero-price strong { font-size: var(--step-1); color: var(--sa-action); }
.hero-price span { color: var(--sa-text-muted); font-size: .95rem; }
.hero-price .hero-opt { margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--sa-line); color: var(--sa-text); font-weight: 600; }
.price-claim { justify-self: start; display: inline-block; margin-top: 8px; font-weight: 700; font-size: var(--step-1) !important; background: rgba(255,255,255,.16); padding: 6px 12px; border-radius: 999px; opacity: 1 !important; }
.price-opt { display: grid; gap: 2px; border: 1px solid rgba(255,255,255,.5); border-radius: var(--radius-sm); padding: 12px 14px; }
.price-opt span { font-size: .9rem; }

/* Oferta Private */
.offer { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--sa-line); box-shadow: var(--shadow); background: var(--sa-bg); }
.offer-main { padding: clamp(24px, 4vw, 44px); display: grid; gap: 18px; }
.offer-side { padding: clamp(24px, 4vw, 44px); background: linear-gradient(160deg, var(--sa-action), var(--sa-brand) 60%, var(--sa-accent)); color: #fff; display: grid; gap: 18px; align-content: start; }
.offer-side a:not(.btn) { color: #fff; }
.price { display: grid; gap: 2px; }
.price b { font-family: var(--font-display); font-size: clamp(2.4rem, 2rem + 2vw, 3.4rem); line-height: 1; letter-spacing: -0.03em; }
.price span { font-size: .95rem; opacity: .95; }
.price-row { display: grid; gap: 18px; }
.offer-side .btn-primary { background: #fff; color: var(--sa-action); }
.offer-side .btn-primary:hover { background: var(--sa-brand-tint); color: var(--sa-action-hover); }
.offer-side .btn-secondary { background: transparent; color: #fff; border-color: #fff; }
.offer-side .btn-secondary:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.tag { justify-self: start; display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--sa-brand-tint); color: var(--sa-action); }

/* Tabla */
.table-wrap { overflow-x: auto; border: 1px solid var(--sa-line); border-radius: var(--radius); background: var(--sa-bg); }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .95rem; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--sa-line); vertical-align: top; }
th { font-family: var(--font-display); font-weight: 600; background: var(--sa-bg-soft); }
tr:last-child td { border-bottom: 0; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--sa-bg); border: 1px solid var(--sa-line); border-radius: var(--radius); padding: 16px 20px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--sa-action); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--sa-text-muted); }

/* Notas */
.note { border-left: 4px solid var(--sa-brand); background: var(--sa-bg-soft); padding: 14px 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .95rem; }
.note--warn { border-color: var(--sa-warn-text); background: var(--sa-warn-bg); color: var(--sa-warn-text); }

/* Migas */
.crumbs { font-size: var(--step--1); color: var(--sa-text-muted); padding-top: 20px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--sa-line); }
.page-hero { background: var(--sa-bg-soft); padding-block: 8px clamp(48px, 6vw, 80px); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; width: 460px; height: 460px; right: -140px; top: -200px; border-radius: 50%; background: radial-gradient(circle, var(--sa-accent), transparent 70%); opacity: .3; filter: blur(50px); pointer-events: none; }
.page-hero .wrap { position: relative; display: grid; gap: 18px; }
.page-hero .inner { display: grid; gap: 18px; max-width: 820px; padding-top: 28px; }

/* Formularios */
.form { display: grid; gap: 16px; background: var(--sa-bg); border: 1px solid var(--sa-line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea { font: inherit; padding: 11px 12px; border: 1px solid #B8C6DB; border-radius: var(--radius-sm); background: var(--sa-bg); color: var(--sa-text); width: 100%; }
.field textarea { min-height: 110px; resize: vertical; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.radios { display: flex; flex-wrap: wrap; gap: 8px; }
.radios label { font-weight: 500; border: 1px solid var(--sa-line); border-radius: 999px; padding: 6px 12px; display: inline-flex; gap: 6px; align-items: center; cursor: pointer; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; }
.form-status { font-size: .95rem; }

/* Banda CTA final */
.cta-band { background: linear-gradient(120deg, var(--sa-action), var(--sa-brand) 55%, var(--sa-accent)); color: #fff; border-radius: 24px; padding: clamp(32px, 5vw, 64px); display: grid; gap: 18px; justify-items: start; }
.cta-band h2 { color: #fff; max-width: 22ch; }
.cta-band p { max-width: 60ch; }
.cta-band .btn-primary { background: #fff; color: var(--sa-action); }
.cta-band .btn-primary:hover { background: var(--sa-brand-tint); color: var(--sa-action-hover); }
.cta-band .btn-secondary { background: transparent; color: #fff; border-color: #fff; }
.cta-band .btn-secondary:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* Pie */
.site-footer { border-top: 1px solid var(--sa-line); background: var(--sa-bg-soft); padding-block: 56px 32px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-footer h2 { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; font-family: var(--font-body); color: var(--sa-text-muted); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--sa-text); text-decoration: none; }
.site-footer a:hover { color: var(--sa-action); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; border-top: 1px solid var(--sa-line); margin-top: 40px; padding-top: 20px; color: var(--sa-text-muted); font-size: .88rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 16px; }

/* Borradores */
.draft-banner { background: var(--sa-warn-bg); color: var(--sa-warn-text); border-bottom: 1px solid #F0D9A8; font-size: .92rem; }
.draft-banner .wrap { padding-block: 10px; }
.placeholder { border: 2px dashed var(--sa-line); border-radius: var(--radius); padding: 20px; color: var(--sa-text-muted); background: var(--sa-bg); }

/* Responsive */
@media (max-width: 960px) {
  .hero .wrap, .split, .offer { grid-template-columns: minmax(0, 1fr); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--sa-bg); border-bottom: 1px solid var(--sa-line); flex-direction: column; align-items: stretch; padding: 12px max(16px, env(safe-area-inset-left, 0px)) 20px; gap: 2px; margin: 0; box-shadow: var(--shadow); max-height: calc(100vh - 68px); overflow-y: auto; }
  .nav.is-open { display: flex; }
  .nav-menu { position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }
  .nav-group > button { width: 100%; text-align: left; }
  .nav-cta { margin: 10px 0 0; flex-direction: column; }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4, .form .row, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .actions .btn { width: 100%; }
}
/* ---- Hero 3D de la home: escena de demostración (CSS 3D: perspective + transform + opacity) ---- */
.hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); grid-template-areas: "main scene"; column-gap: 56px; row-gap: 22px; align-items: center; }
.hero-main { grid-area: main; display: grid; gap: 22px; }
.hero-copy { gap: 14px; }
.hero h1 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3rem); }
.hero-scene { align-self: center; }
/* Precio protagonista del primer pantallazo */
.hero-price--main { gap: 2px; padding: 16px 22px 16px; }
.hero-price--main b { font-size: clamp(2.6rem, 2rem + 2.6vw, 4rem); }
.hero-price--main strong { font-size: clamp(1.05rem, .95rem + .5vw, 1.3rem); }
.hero-price--main .hero-opt { margin-top: 8px; }
.hero-price--main .hero-note { font-size: .85rem; }
/* Sección «Qué hace tu Superagente de IA»: reutiliza burbujas y etiquetas de la escena */
.does-card { display: grid; gap: 10px; align-content: start; min-width: 0; }
.does-card h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 4px; min-width: 0; }
.does-card h3 .icon { margin: 0; }
.does-card .h3d-bubble, .does-msg { margin: 0; max-width: 92%; }
.does-msg--in { justify-self: start; padding: 10px 14px; background: var(--sa-bg-soft); border: 1px solid var(--sa-line); border-radius: 16px 16px 16px 4px; font-weight: 500; }
.does-card .h3d-bubble { justify-self: end; }
.does-card .h3d-tag { justify-self: end; }
.hero-scene { grid-area: scene; display: grid; gap: 14px; min-width: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.h3d { --h3d-dur: 650ms; --h3d-ease: cubic-bezier(.22, .7, .2, 1); position: relative; display: grid; margin: 0; padding: 52px 0 0; }
.h3d-label { position: absolute; top: 8px; right: 0; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--sa-bg); border: 1px solid var(--sa-line); font-size: .8rem; font-weight: 600; color: var(--sa-text-muted); z-index: 4; }
.h3d-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sa-accent); box-shadow: 0 0 0 3px var(--sa-brand-tint); }
/* Pregunta del cliente: fija, en primer plano, fuera del área del anuncio */
.h3d-ask { position: absolute; top: 0; left: 0; z-index: 5; margin: 0; max-width: 60%; padding: 12px 18px; background: var(--sa-bg); color: var(--sa-text); font-weight: 600; border-radius: 18px 18px 18px 4px; box-shadow: 0 2px 4px rgba(17, 24, 39, .06), 0 18px 36px -14px rgba(20, 93, 194, .35); }
/* Escenario: cámara fija; las tarjetas se apilan en la misma celda (altura reservada, sin saltos) */
.h3d-stage { position: relative; display: grid; perspective: 1400px; perspective-origin: 50% 40%; padding: 12px 0 0 6%; }
.h3d-stage > * { grid-area: 1 / 1; }
.h3d-ghost { margin: 26px -5% -14px 12%; border-radius: 20px; background: linear-gradient(160deg, var(--sa-bg), var(--sa-brand-tint)); border: 1px solid var(--sa-line); transform: translateZ(-90px) rotateY(-14deg); opacity: .8; box-shadow: var(--shadow); }
.h3d-card { position: relative; background: var(--sa-bg); border: 1px solid var(--sa-line); border-radius: 20px; overflow: hidden; box-shadow: 0 2px 6px rgba(17, 24, 39, .05), 0 30px 60px -28px rgba(20, 93, 194, .45);
  transform-origin: 50% 50%; backface-visibility: hidden; will-change: transform, opacity;
  transition: transform var(--h3d-dur) var(--h3d-ease), opacity var(--h3d-dur) var(--h3d-ease); }
.h3d-card.is-active { transform: translate3d(0, 0, 0) rotateY(-5deg); opacity: 1; }
.h3d-card.is-next { transform: translate3d(48%, 0, -140px) rotateY(-38deg); opacity: 0; }
.h3d-card.is-prev { transform: translate3d(-48%, 0, -140px) rotateY(38deg); opacity: 0; }
.h3d-card.no-anim { transition: none; }
.h3d-media { aspect-ratio: 16 / 10; background: var(--sa-bg-soft); }
.h3d-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.h3d-body { display: grid; gap: 12px; padding: 16px 18px 18px; }
.h3d-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.h3d-title { font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); margin: 0; color: var(--sa-text); }
.h3d-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; line-height: 1.4; }
.h3d-tag--origin { background: var(--sa-bg-soft); color: var(--sa-text-muted); border: 1px solid var(--sa-line); }
.h3d-tag--reply { background: var(--sa-brand-tint); color: var(--sa-action); justify-self: start; }
.h3d-tag .icon { width: 16px; height: 16px; }
.h3d-tag .icon svg { width: 16px; height: 16px; }
.h3d-logo { height: 14px; width: auto; }
.h3d-reply { display: grid; gap: 8px; transition: opacity 400ms ease 260ms, transform 400ms ease 260ms; }
.h3d-card:not(.is-active) .h3d-reply { opacity: 0; transform: translateY(8px); transition-delay: 0ms; }
.h3d-bubble { margin: 0; justify-self: start; padding: 10px 14px; background: var(--sa-action); color: var(--sa-on-action); border-radius: 16px 16px 4px 16px; font-weight: 500; }
.h3d-pause { position: relative; justify-self: end; margin-top: 14px; z-index: 6; display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--sa-line); background: rgba(255, 255, 255, .92); color: var(--sa-text); font: 600 .78rem/1 var(--font-body); cursor: pointer; }
.h3d-pause:hover { border-color: var(--sa-action); color: var(--sa-action); }
.h3d-pause:focus-visible { outline: 3px solid var(--sa-action); outline-offset: 2px; }
.h3d-pause-ico { width: 10px; height: 10px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.h3d-pause[aria-pressed="true"] .h3d-pause-ico { border: 0; width: 0; height: 0; border-left: 9px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.hero-connectors { display: grid; gap: 6px; font-size: .9rem; }
.hero-connectors p { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.chip { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--sa-bg); border: 1px solid var(--sa-line); font-weight: 600; font-size: .82rem; }
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "scene"; row-gap: 18px; }
  .hero-main { gap: 18px; }
  .hero-copy { align-self: start; }
  .hero-scene { max-width: 560px; }
}
@media (max-width: 620px) {
  .hero { padding-block: 22px 48px; }
  .hero-copy { gap: 8px; }
  .hero .lead { font-size: 1.02rem; }
  .hero-price--main { padding: 12px 16px; }
  .hero-cta { margin-top: 2px; }
  .hero-cta .btn { width: auto; flex: 1 1 0; }
  .hero-scene { margin-top: 12px; }
  .h3d { padding-top: 0; }
  /* A 360 px la pregunta va en su propia fila, encima del anuncio: no lo tapa */
  .h3d-ask { position: relative; max-width: 78%; margin-bottom: 10px; }
  .h3d-label { top: auto; bottom: calc(100% + 8px); }
  .h3d { margin-top: 36px; }
  .h3d-stage { padding: 0 0 0 4%; perspective: 1000px; }
  .h3d-card.is-active { transform: translate3d(0, 0, 0) rotateY(-4deg); }
  .h3d-body { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .h3d-card.is-active { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

.grid > * { min-width: 0; }
.shot code { white-space: normal; overflow-wrap: anywhere; }
.shot { min-width: 0; place-content: center stretch; }
.shot > * { min-width: 0; }
#que-hace, #como-funciona { scroll-margin-top: 80px; }

/* v6: titular, precio y conversaciones estilo WhatsApp (simuladas) */
.hero-data { display: inline-flex; align-items: center; gap: 8px; justify-self: start; margin: 0; padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--sa-brand-tint); color: var(--sa-action); font-weight: 700; font-size: 1rem; }
.hero-data .icon { width: 20px; height: 20px; margin: 0; }
.hero-data .icon svg { width: 20px; height: 20px; }
.hero-price--main b small { font-size: .32em; font-weight: 600; letter-spacing: 0; color: var(--sa-text-muted); margin-left: .35em; vertical-align: .9em; }
.hero-price--main strong .hero-once { font-size: inherit; color: var(--sa-action); font-weight: 800; }
.ext-link { font-weight: 600; }
.ext-link::after { content: " ↗"; }
.h3d-media { aspect-ratio: 16 / 9; }
.wa-chat { --wa-bg: #EFEAE2; --wa-out: #D9FDD3; --wa-in: #FFFFFF; --wa-text: #111B21; --wa-meta: #54656F; border-radius: 14px; overflow: hidden; border: 1px solid #E3DED6; background: var(--wa-bg); }
.wa-top { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: #F0F2F5; border-bottom: 1px solid #E3DED6; color: var(--wa-text); }
.wa-top .icon { width: 28px; height: 28px; margin: 0; padding: 5px; border-radius: 50%; background: #25D366; color: #fff; }
.wa-top .icon svg { width: 18px; height: 18px; }
.wa-top span { display: grid; line-height: 1.2; }
.wa-top b { font-size: .9rem; }
.wa-top small { font-size: .74rem; color: var(--wa-meta); }
.wa-thread { display: grid; gap: 6px; padding: 10px 12px 12px; }
.wa-msg, .does--wa .does-msg--in, .does--wa .h3d-bubble { position: relative; margin: 0; max-width: 88%; padding: 7px 10px 7px; border-radius: 10px; color: var(--wa-text, #111B21); font-size: .93rem; font-weight: 450; line-height: 1.35; box-shadow: 0 1px .5px rgba(11, 20, 26, .13); }
.wa-msg time { float: right; margin: 6px 0 -4px 10px; font-size: .68rem; color: var(--wa-meta, #54656F); }
.wa-msg--in, .does--wa .does-msg--in { justify-self: start; background: var(--wa-in, #fff); border: 0; border-top-left-radius: 2px; }
.wa-msg--out, .does--wa .h3d-bubble { justify-self: end; background: var(--wa-out, #D9FDD3); border-top-right-radius: 2px; }
.wa-ticks { color: #53BDEB; letter-spacing: -2px; }
.does--wa .does-card { background: #EFEAE2; border-color: #E3DED6; }
.does--wa .does-card h3, .does--wa .does-card .muted { color: #111B21; }
.does--wa .does-card .muted { color: #54656F; }
@media (max-width: 620px) {
  .hero-data { font-size: .92rem; padding: 5px 12px 5px 8px; }
  .wa-thread { padding: 8px 10px 10px; }
  .wa-msg { font-size: .88rem; }
}
.hero-flow { margin: 0; font-size: var(--step-1); line-height: 1.45; color: var(--sa-text); max-width: 60ch; }
.hero-flow b { color: var(--sa-action); }
.hero-flow strong { font-weight: 700; }
@media (max-width: 620px) { .hero-flow { font-size: 1.02rem; } }

/* v23: la frase del hero se pinta completa y fija. El realce de color solo arranca cuando site.js añade .fl-ready tras la carga. */
.hero-flow .fl-v { display: inline-block; }
.hero-flow .fl-end { background-image: linear-gradient(transparent 62%, rgba(39,129,246,.22) 62%); background-repeat: no-repeat; background-size: 100% 100%; }
.fl-ready .hero-flow .fl-v { animation: fl-pulse 7.5s ease-in-out 1s infinite; }
.fl-ready .hero-flow .fl-v:nth-of-type(2) { animation-delay: 1.9s; }
.fl-ready .hero-flow .fl-v:nth-of-type(3) { animation-delay: 2.8s; }
.fl-ready .hero-flow .fl-v:nth-of-type(4) { animation-delay: 3.7s; }
.fl-ready .hero-flow .fl-v:nth-of-type(5) { animation-delay: 4.6s; }
@media (prefers-reduced-motion: reduce) { .fl-ready .hero-flow .fl-v { animation: none; } }
@keyframes fl-in { from { opacity: 0; transform: translateY(.45em); } to { opacity: 1; transform: none; } }
@keyframes fl-mark { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
@keyframes fl-pulse { 0%, 14%, 100% { color: inherit; } 5% { color: var(--sa-action); } }

/* v9: sectores y promesa en la home */
.sector-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sector-chips li > a, .sector-chips li > span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid rgba(39,129,246,.18); color: var(--sa-text); font-size: .95rem; font-weight: 500; line-height: 1.25; text-decoration: none; box-shadow: 0 1px 2px rgba(17,24,39,.04); }
.sector-chips li > a { border-color: var(--sa-action); color: var(--sa-action); font-weight: 600; }
.sector-chips li > a:hover { background: var(--sa-action); color: #fff; }
.sector-chips .icon { width: 18px; height: 18px; margin: 0; }
.sector-chips .icon svg { width: 18px; height: 18px; }
.sector-more { margin: 18px 0 0; }
.promise { margin-top: 40px; }
.promise-card h3 { margin-top: 10px; }
@media (max-width: 620px) { .sector-chips { gap: 8px; } .sector-chips li > a, .sector-chips li > span { padding: 7px 12px; font-size: .88rem; } }


/* v10: selector de sectores con conversación de ejemplo (radios + CSS, sin JS) */
.sx { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 12px 40px; align-items: start; }
.sx-radio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.sx-hint { grid-column: 1 / -1; margin: 0 0 4px; font-weight: 600; color: var(--sa-text); }
.sx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sx-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid rgba(39,129,246,.2); color: var(--sa-text); font-size: .92rem; font-weight: 500; line-height: 1.25; cursor: pointer; user-select: none; transition: background .15s, color .15s, border-color .15s; }
.sx-chip:hover { border-color: var(--sa-action); color: var(--sa-action); }
.sx-chip .icon { width: 16px; height: 16px; margin: 0; }
.sx-chip .icon svg { width: 16px; height: 16px; }
.sx-panels { position: sticky; top: 96px; }
.sx-panel { display: none; }
.sx-title { margin: 0 0 10px; font-weight: 700; color: var(--sa-action); }
.sx-panel .wa-chat { box-shadow: 0 12px 30px rgba(17,24,39,.08); }
.sx-panel .wa-thread { gap: 8px; padding: 14px; min-height: 230px; align-content: start; }
.sx-panel .more { display: inline-block; margin-top: 12px; }
.sx-note { margin: 10px 0 0; }
#sx-inmo:checked ~ .sx-panels .sx-p-inmo,
#sx-coches:checked ~ .sx-panels .sx-p-coches,
#sx-taller:checked ~ .sx-panels .sx-p-taller,
#sx-trad:checked ~ .sx-panels .sx-p-trad,
#sx-abog:checked ~ .sx-panels .sx-p-abog,
#sx-gest:checked ~ .sx-panels .sx-p-gest,
#sx-acad:checked ~ .sx-panels .sx-p-acad,
#sx-uni:checked ~ .sx-panels .sx-p-uni,
#sx-reformas:checked ~ .sx-panels .sx-p-reformas,
#sx-dental:checked ~ .sx-panels .sx-p-dental,
#sx-clinica:checked ~ .sx-panels .sx-p-clinica,
#sx-fisio:checked ~ .sx-panels .sx-p-fisio,
#sx-estetica:checked ~ .sx-panels .sx-p-estetica,
#sx-vet:checked ~ .sx-panels .sx-p-vet,
#sx-gym:checked ~ .sx-panels .sx-p-gym,
#sx-hotel:checked ~ .sx-panels .sx-p-hotel,
#sx-rest:checked ~ .sx-panels .sx-p-rest,
#sx-viajes:checked ~ .sx-panels .sx-p-viajes,
#sx-seguros:checked ~ .sx-panels .sx-p-seguros,
#sx-tienda:checked ~ .sx-panels .sx-p-tienda,
#sx-alquiler:checked ~ .sx-panels .sx-p-alquiler,
#sx-mudanzas:checked ~ .sx-panels .sx-p-mudanzas,
#sx-limpieza:checked ~ .sx-panels .sx-p-limpieza,
#sx-eventos:checked ~ .sx-panels .sx-p-eventos,
#sx-optica:checked ~ .sx-panels .sx-p-optica,
#sx-fincas:checked ~ .sx-panels .sx-p-fincas,
#sx-solar:checked ~ .sx-panels .sx-p-solar { display: block; animation: sx-in .25s ease-out; }
#sx-inmo:checked ~ .sx-chips label[for="sx-inmo"],
#sx-coches:checked ~ .sx-chips label[for="sx-coches"],
#sx-taller:checked ~ .sx-chips label[for="sx-taller"],
#sx-trad:checked ~ .sx-chips label[for="sx-trad"],
#sx-abog:checked ~ .sx-chips label[for="sx-abog"],
#sx-gest:checked ~ .sx-chips label[for="sx-gest"],
#sx-acad:checked ~ .sx-chips label[for="sx-acad"],
#sx-uni:checked ~ .sx-chips label[for="sx-uni"],
#sx-reformas:checked ~ .sx-chips label[for="sx-reformas"],
#sx-dental:checked ~ .sx-chips label[for="sx-dental"],
#sx-clinica:checked ~ .sx-chips label[for="sx-clinica"],
#sx-fisio:checked ~ .sx-chips label[for="sx-fisio"],
#sx-estetica:checked ~ .sx-chips label[for="sx-estetica"],
#sx-vet:checked ~ .sx-chips label[for="sx-vet"],
#sx-gym:checked ~ .sx-chips label[for="sx-gym"],
#sx-hotel:checked ~ .sx-chips label[for="sx-hotel"],
#sx-rest:checked ~ .sx-chips label[for="sx-rest"],
#sx-viajes:checked ~ .sx-chips label[for="sx-viajes"],
#sx-seguros:checked ~ .sx-chips label[for="sx-seguros"],
#sx-tienda:checked ~ .sx-chips label[for="sx-tienda"],
#sx-alquiler:checked ~ .sx-chips label[for="sx-alquiler"],
#sx-mudanzas:checked ~ .sx-chips label[for="sx-mudanzas"],
#sx-limpieza:checked ~ .sx-chips label[for="sx-limpieza"],
#sx-eventos:checked ~ .sx-chips label[for="sx-eventos"],
#sx-optica:checked ~ .sx-chips label[for="sx-optica"],
#sx-fincas:checked ~ .sx-chips label[for="sx-fincas"],
#sx-solar:checked ~ .sx-chips label[for="sx-solar"] { background: var(--sa-action); border-color: var(--sa-action); color: #fff; }
#sx-inmo:focus-visible ~ .sx-chips label[for="sx-inmo"],
#sx-coches:focus-visible ~ .sx-chips label[for="sx-coches"],
#sx-taller:focus-visible ~ .sx-chips label[for="sx-taller"],
#sx-trad:focus-visible ~ .sx-chips label[for="sx-trad"],
#sx-abog:focus-visible ~ .sx-chips label[for="sx-abog"],
#sx-gest:focus-visible ~ .sx-chips label[for="sx-gest"],
#sx-acad:focus-visible ~ .sx-chips label[for="sx-acad"],
#sx-uni:focus-visible ~ .sx-chips label[for="sx-uni"],
#sx-reformas:focus-visible ~ .sx-chips label[for="sx-reformas"],
#sx-dental:focus-visible ~ .sx-chips label[for="sx-dental"],
#sx-clinica:focus-visible ~ .sx-chips label[for="sx-clinica"],
#sx-fisio:focus-visible ~ .sx-chips label[for="sx-fisio"],
#sx-estetica:focus-visible ~ .sx-chips label[for="sx-estetica"],
#sx-vet:focus-visible ~ .sx-chips label[for="sx-vet"],
#sx-gym:focus-visible ~ .sx-chips label[for="sx-gym"],
#sx-hotel:focus-visible ~ .sx-chips label[for="sx-hotel"],
#sx-rest:focus-visible ~ .sx-chips label[for="sx-rest"],
#sx-viajes:focus-visible ~ .sx-chips label[for="sx-viajes"],
#sx-seguros:focus-visible ~ .sx-chips label[for="sx-seguros"],
#sx-tienda:focus-visible ~ .sx-chips label[for="sx-tienda"],
#sx-alquiler:focus-visible ~ .sx-chips label[for="sx-alquiler"],
#sx-mudanzas:focus-visible ~ .sx-chips label[for="sx-mudanzas"],
#sx-limpieza:focus-visible ~ .sx-chips label[for="sx-limpieza"],
#sx-eventos:focus-visible ~ .sx-chips label[for="sx-eventos"],
#sx-optica:focus-visible ~ .sx-chips label[for="sx-optica"],
#sx-fincas:focus-visible ~ .sx-chips label[for="sx-fincas"],
#sx-solar:focus-visible ~ .sx-chips label[for="sx-solar"] { outline: 3px solid #1F93FF; outline-offset: 2px; }
@keyframes sx-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .sx { grid-template-columns: minmax(0, 1fr); }
  .sx-chips { display: grid; grid-auto-flow: column; grid-template-rows: repeat(3, auto); justify-content: start; overflow-x: auto; padding: 2px 16px 10px; margin: 0 -16px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
  .sx-hint::after { content: " Desliza para ver los 27 sectores →"; display: block; font-weight: 400; font-size: .88rem; color: var(--sa-muted, #4B5563); }
  .sx-chip { flex: 0 0 auto; white-space: nowrap; scroll-snap-align: start; }
  .sx-panels { position: static; }
  .sx-panel .wa-thread { min-height: 0; }
}

/* ---- Franja de modelos de IA (v20) ---- */
.aim { padding: 22px 0; border-top: 1px solid var(--sa-line); border-bottom: 1px solid var(--sa-line); background: var(--sa-bg); }
.aim-title { text-align: center; font-size: var(--step--1); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--sa-text-muted); margin: 0 0 16px; }
.aim-track { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.aim-list { display: flex; flex-shrink: 0; gap: 48px; padding: 0 24px; margin: 0; list-style: none; animation: aim-scroll 40s linear infinite; }
.aim-list li { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; letter-spacing: -0.01em; color: var(--sa-text); white-space: nowrap; opacity: .72; }
.aim-track:hover .aim-list { animation-play-state: paused; }
.aim-note { text-align: center; font-size: var(--step--1); color: var(--sa-text-muted); margin: 14px 0 0; }
@keyframes aim-scroll { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (max-width: 640px) { .aim-list { gap: 32px; } .aim-list li { font-size: 1.1rem; } }
@media (prefers-reduced-motion: reduce) {
  .aim-track { -webkit-mask-image: none; mask-image: none; }
  .aim-list { animation: none; flex-wrap: wrap; justify-content: center; flex-shrink: 1; row-gap: 12px; }
  .aim-list--dup { display: none; }
}
.aim-track--hero { margin: 18px 0 4px; max-width: 560px; }
.aim-list--hero { gap: 28px; padding: 0 14px; animation-duration: 45s; }
.aim-list--hero li { font-size: 1.05rem; font-weight: 600; color: var(--sa-text); opacity: .7; }
@media (prefers-reduced-motion: reduce) { .aim-list--hero { justify-content: flex-start; } }
.aim-list li { display: inline-flex; align-items: center; gap: 10px; }
.aim-logo { width: 1.25em; height: 1.25em; flex-shrink: 0; }
.aim-track--portals { margin-top: 6px; }
.aim-track--portals .aim-list { animation-direction: reverse; animation-duration: 35s; }
.aim-logo--word { width: auto; height: 1.05em; }

/* ---- Botón flotante de WhatsApp (v22) ---- */
.wa-float { position: fixed; z-index: 80; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px; background: #128C4A; color: #fff; font-weight: 600; font-size: .95rem; text-decoration: none; box-shadow: 0 8px 24px rgba(17, 24, 39, .22); transition: transform .15s ease, background .15s ease; }
.wa-float:hover, .wa-float:focus-visible { background: #0E7A40; color: #fff; transform: translateY(-2px); }
.wa-float svg { width: 26px; height: 26px; flex-shrink: 0; }
@media (max-width: 640px) { .wa-float { padding: 14px; } .wa-float-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
@media (prefers-reduced-motion: reduce) { .wa-float { transition: none; } }

/* ===== v23: refactor CRO ===== */
/* Cabecera móvil: acción principal siempre visible junto a «Menú» */
.header-cta { display: none; }
@media (max-width: 960px) {
  .site-header .wrap { gap: 10px; }
  .header-cta { display: inline-flex; margin-left: auto; min-height: 44px; padding: 8px 14px; white-space: nowrap; }
  .site-header .logo { font-size: 1.12rem; gap: 8px; }
  .nav-toggle { margin-left: 0; min-height: 44px; min-width: 44px; align-items: center; justify-content: center; }
  .logo { min-height: 44px; }
}
@media (max-width: 400px) { .header-cta { padding: 8px 12px; font-size: .86rem; } .site-header .logo .logo-mark { width: 24px; height: 24px; } .nav-toggle { padding: 8px 10px; } }

/* Hero móvil: titular, precio y botón en la primera pantalla; el resto baja */
@media (max-width: 620px) {
  .hero-copy { display: contents; }
  .hero-main > *, .hero-copy > * { order: 5; }
  .hero-copy > h1 { order: 1; }
  .hero-main > .hero-price { order: 2; }
  .hero-main > .hero-cta { order: 3; }
  .hero-copy > .hero-data { order: 4; }
  .hero-main { gap: 14px; }
  .hero { padding-block: 16px 44px; }
  .hero h1 { font-size: 1.6rem; line-height: 1.18; }
  .hero-price--main b { font-size: 2.5rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; flex: 0 0 auto; min-height: 48px; }
}

/* Zonas táctiles de 44 px como mínimo */
.btn, .btn-sm { min-height: 44px; }
.ext-link { display: inline-flex; align-items: center; min-height: 44px; }
.h3d-pause { min-height: 44px; padding: 10px 16px; }
.card a.more, .more-row .more, .contact-links a, .linklike, .linkbtn { display: inline-flex; align-items: center; min-height: 44px; }
.consent { align-items: center; min-height: 44px; }
.consent input[type="checkbox"], .chips input[type="radio"], .form input[type="checkbox"], .form input[type="radio"] { width: 24px; height: 24px; flex: 0 0 24px; margin: 0; accent-color: var(--sa-action); }
.chips label { min-height: 44px; padding: 8px 14px; }
.field input, .field select { min-height: 48px; }
@media (max-width: 960px) {
  .site-footer ul { gap: 0; }
  .site-footer li a, .footer-bottom .linklike { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-bottom ul { gap: 0 18px; }
  .nav > a, .nav-group > button, .nav-menu a { min-height: 44px; display: flex; align-items: center; }
  .nav-menu a { flex-wrap: wrap; }
  .sector-chips li > a, .sx-chips label { min-height: 44px; }
}

/* Descargo bajo las franjas de logos */
.aim-legal { margin: 2px 0 0; font-size: .74rem; line-height: 1.4; color: var(--sa-text-muted); max-width: 62ch; }

/* Recorrido en cinco pasos, compacto */
.flow5 { list-style: none; counter-reset: f; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.flow5 li { counter-increment: f; background: var(--sa-bg-soft); border: 1px solid var(--sa-line); border-radius: var(--radius-sm); padding: 12px 14px; font-size: .92rem; line-height: 1.4; color: var(--sa-text-muted); }
.flow5 li::before { content: counter(f); display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; border-radius: 50%; background: var(--sa-action); color: #fff; font-size: .78rem; font-weight: 700; }
.flow5 b { color: var(--sa-text); }
@media (max-width: 960px) { .flow5 { grid-template-columns: minmax(0, 1fr); gap: 6px; } .flow5 li { padding: 9px 12px; } }
.more-row { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 18px 0 0; }
.more-row .more { font-weight: 600; text-decoration: none; }

/* Capturas reales del producto: proporción fija, sin saltos de maquetación */
.capture-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 28px; }
.capture { margin: 0; display: grid; gap: 8px; }
.capture img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border: 1px solid var(--sa-line); border-radius: var(--radius); box-shadow: var(--shadow); background: var(--sa-bg-soft); }
.capture--4x5 img { aspect-ratio: 4 / 5; }
.capture figcaption { font-size: .88rem; font-weight: 600; color: var(--sa-text-muted); }
.capture--natural img { aspect-ratio: auto; height: auto; object-fit: contain; }
.capture--mid { max-width: 840px; }
.capture--wide, .grid > .capture-row { grid-column: 1 / -1; }
.capture-row + .capture-row, .note + .capture-row { margin-top: 20px; }
@media (max-width: 760px) { .capture--scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; } .capture--scroll img { min-width: 760px; } .capture--scroll figcaption { position: sticky; left: 0; } }

/* Prueba social */
.quote-card { margin: 0; display: grid; gap: 14px; align-content: space-between; }
.quote-card blockquote { margin: 0; }
.quote-card blockquote p { margin: 0; font-size: 1rem; line-height: 1.55; color: var(--sa-text); }
.quote-card figcaption { display: grid; gap: 2px; padding-top: 12px; border-top: 1px solid var(--sa-line); }
.quote-card figcaption strong { color: var(--sa-text); }
.quote-actions { margin-top: 24px; }
.section-head .lead a { font-weight: 600; white-space: nowrap; }

/* Enlaces de llamada y correo */
.contact-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.contact-links a { font-weight: 600; color: var(--sa-action); text-decoration: none; }
.contact-links a:hover { text-decoration: underline; }
.site-footer .contact-links a { color: var(--sa-text); }

/* WhatsApp flotante: siempre por encima del aviso de cookies y sin solaparse */
.wa-float { z-index: 95; bottom: calc(16px + var(--cookie-h, 0px) + env(safe-area-inset-bottom, 0px)); transition: bottom .2s, transform .15s, background .15s; }

/* v23: home más corta en móvil */
@media (max-width: 620px) {
  .snap-m { position: relative; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 10px; }
  .snap-m > * { flex: 0 0 84%; scroll-snap-align: start; }
  .grid-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .grid-compact .card { padding: 14px; }
  .grid-compact .card h3 { font-size: 1rem; }
  .grid-compact .card p { font-size: .86rem; line-height: 1.45; }
  .promise-card { padding: 14px 16px; }
  .promise-card h3 { font-size: 1.02rem; margin-bottom: 2px; }
  .promise-card p { font-size: .9rem; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .site-footer { padding-block: 36px 24px; }
  .band { padding-block: 40px; }
}

.sx-panel .more, .hero-connectors a, .sector-more a { display: inline-flex; align-items: center; min-height: 44px; }
.nav > a, .nav-group > button { min-height: 44px; display: inline-flex; align-items: center; }
.logo { min-height: 44px; }
@media (min-width: 1100px) { .does.grid-2 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* v34: captura real en el hero, solo móvil (en escritorio ya está la escena de la derecha) */
.hero-shot { display: none; margin: 0; }
@media (max-width: 620px) {
  .hero-shot { display: block; order: 6; }
  .hero-copy > .aim-track, .hero-copy > .aim-legal, .hero-copy > .hero-cta { order: 7; }
  .hero-shot img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid #DCE6F5; box-shadow: 0 12px 32px rgba(17,24,39,.12); background: #fff; }
  .hero-shot figcaption { margin-top: 8px; font-size: .8rem; color: var(--sa-text-muted); text-align: center; }
}

@media (max-width: 620px) { .hero-copy > .hero-data { order: 5; } }

/* v34: logos justo bajo el texto, luego insignia, captura y botones */
@media (max-width: 620px) {
  .hero-copy > .aim-track, .hero-copy > .aim-legal { order: 5; }
  .hero-copy > .hero-data { order: 6; }
  .hero-shot { order: 7; }
  .hero-copy > .hero-cta { order: 8; }
}

.cookie-banner { position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; background: var(--sa-bg); color: var(--sa-text); border-top: 1px solid var(--sa-line); box-shadow: 0 -6px 24px rgba(17,24,39,.10); padding: 8px max(16px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; justify-content: center; font-size: .88rem; line-height: 1.35; }
.cookie-banner p { margin: 0; }
.cookie-banner a { color: var(--sa-action); font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; }
.cookie-actions { align-items: center; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { min-width: 104px; min-height: 44px; padding: 8px 16px; }
.footer-bottom .linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
@media (max-width: 640px) { .cookie-banner { justify-content: space-between; } .cookie-banner p { flex: 1 1 100%; text-align: center; } .cookie-actions { flex: 1 1 100%; } .cookie-actions .btn { flex: 1; min-width: 0; } }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--sa-action); text-decoration: underline; cursor: pointer; }

/* Formularios reales y demo en directo */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field [aria-invalid="true"], .consent input[aria-invalid="true"] { border-color: #B42318; outline: 2px solid rgba(180, 35, 24, .25); }
.chips { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.chips legend { font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.chips .opts { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--sa-line); border-radius: 999px; padding: 7px 12px; font-size: .9rem; cursor: pointer; background: var(--sa-bg); }
.chips label:has(input:checked) { border-color: var(--sa-action); background: var(--sa-brand-tint); }
.form .form-status { color: #B42318; margin: 0; }
.form.is-sending { opacity: .75; }
.form-done { display: grid; gap: 8px; background: var(--sa-bg); border: 1px solid var(--sa-line); border-left: 4px solid var(--sa-brand); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.form-done:focus { outline: none; }
.contact-facts { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.contact-facts li { display: flex; gap: 10px; }
.contact-facts li::before { content: ""; flex: 0 0 8px; height: 8px; margin-top: .55em; border-radius: 50%; background: var(--sa-brand); }

.live-demo { display: grid; gap: 16px; }
.demo-start .grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.demo-live { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.demo-live[hidden], .demo-start[hidden] { display: none; }
.dl-chat, .dl-agency { background: var(--sa-bg); border: 1px solid var(--sa-line); border-radius: var(--radius); box-shadow: var(--shadow); min-width: 0; }
.dl-chat { display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; height: 560px; overflow: hidden; }
.dl-chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--sa-line); background: var(--sa-bg-soft); }
.dl-chat-head div { display: grid; flex: 1; }
.dl-chat-head small { color: var(--sa-text-muted); font-size: .8rem; }
.dl-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--sa-action); color: #fff; display: grid; place-items: center; font-weight: 700; }
.dl-restart { font: inherit; font-size: .85rem; border: 1px solid var(--sa-line); background: var(--sa-bg); border-radius: 999px; padding: 6px 12px; cursor: pointer; color: var(--sa-action); }
.dl-messages { overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: #F7FAFE; }
.dl-sys { font-size: .82rem; color: var(--sa-text-muted); text-align: center; margin: 4px 0; }
.dl-msg { max-width: 82%; padding: 8px 12px; border-radius: 14px; font-size: .95rem; display: grid; gap: 2px; }
.dl-msg p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.dl-msg time { font-size: .72rem; color: var(--sa-text-muted); justify-self: end; }
.dl-msg.ai { background: var(--sa-bg); border: 1px solid var(--sa-line); align-self: flex-start; border-bottom-left-radius: 4px; }
.dl-msg.me { background: var(--sa-brand-tint); align-self: flex-end; border-bottom-right-radius: 4px; }
.dl-msg.failed time { color: #B42318; }
.dl-typing { flex-direction: row; display: flex; gap: 4px; padding: 12px 14px; }
.dl-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--sa-text-muted); animation: dlb 1.2s infinite ease-in-out; }
.dl-typing span:nth-child(2) { animation-delay: .15s; } .dl-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes dlb { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .dl-typing span { animation: none; } }
.dl-handed { background: var(--sa-bg); border: 1px solid var(--sa-line); border-radius: var(--radius-sm); padding: 12px; text-align: left; display: grid; gap: 10px; color: var(--sa-text); }
.dl-handed p { margin: 0; }
.dl-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.dl-suggest { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 14px 0; }
.dl-suggest[hidden] { display: none; }
.dl-suggest button { font: inherit; font-size: .85rem; border: 1px solid var(--sa-line); background: var(--sa-bg); border-radius: 999px; padding: 6px 10px; cursor: pointer; color: var(--sa-action); text-align: left; }
.dl-compose { display: flex; gap: 8px; padding: 10px 14px 14px; border-top: 1px solid var(--sa-line); margin-top: 8px; }
.dl-compose textarea { flex: 1; font: inherit; resize: none; padding: 10px 12px; border: 1px solid #B8C6DB; border-radius: var(--radius-sm); min-height: 44px; }
.dl-agency { padding: 16px; display: grid; gap: 12px; align-content: start; height: 560px; overflow-y: auto; }
.dl-agency-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.dl-status { font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--sa-brand-tint); color: var(--sa-action); }
.dl-status.is-handed { background: #E7F6EC; color: #1B6B3A; }
.dl-summary { margin: 0; font-size: .9rem; color: var(--sa-text-muted); }
.dl-agency h4 { margin: 0; font-size: .95rem; }
.dl-ficha { margin: 0; display: grid; gap: 6px; }
.dl-ficha div { display: flex; justify-content: space-between; gap: 10px; font-size: .9rem; border-bottom: 1px dashed var(--sa-line); padding-bottom: 4px; }
.dl-ficha dt { color: var(--sa-text-muted); }
.dl-ficha dd { margin: 0; text-align: right; color: var(--sa-text-muted); font-style: italic; }
.dl-ficha .filled dd { color: var(--sa-text); font-style: normal; font-weight: 600; }
.dl-bien[hidden] { display: none; }
.dl-bien p { margin: 0; font-size: .9rem; }
.dl-team { display: grid; gap: 4px; font-size: .9rem; }
.dl-events { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .85rem; }
.dl-events li { display: flex; gap: 8px; }
.dl-events time { color: var(--sa-text-muted); flex: 0 0 auto; }
.legal-body { max-width: 820px; display: grid; gap: 16px; }
.legal-body h2 { font-size: var(--step-2); margin-top: 8px; }
.legal-body dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
.legal-body dt { font-weight: 600; }
.legal-body dd { margin: 0; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .92rem; }
.legal-nav a[aria-current] { font-weight: 700; text-decoration: none; color: var(--sa-text); }
@media (max-width: 860px) {
  .demo-live { grid-template-columns: minmax(0, 1fr); }
  .dl-chat { height: 520px; }
  .dl-agency { height: auto; max-height: none; }
}
@media (max-width: 640px) {
  .demo-start .grid2 { grid-template-columns: minmax(0, 1fr); }
  .legal-body dl { grid-template-columns: minmax(0, 1fr); }
  .legal-body dd { margin-bottom: 6px; }
}

/* ---- Silo Recursos: blog, guías y casos (v17) ---- */
.footer-grid { grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.post { max-width: 740px; min-width: 0; display: grid; gap: 28px; }
.post-meta { font-size: var(--step--1); color: var(--sa-text-muted); }
.post-meta a { color: var(--sa-action); }
.post-summary { background: var(--sa-bg-soft); border-radius: var(--radius); padding: 20px 24px; display: grid; gap: 10px; }
.post-sec { display: grid; gap: 14px; scroll-margin-top: 90px; }
.post-sec h2 { font-size: var(--step-3); scroll-margin-top: 90px; }
.post-sec p { line-height: 1.7; }
.post-sec a, .post-sources a, .link-list a { color: var(--sa-action); text-underline-offset: 2px; }
.post-example { margin: 0; max-width: 520px; }
.plain-steps { padding-left: 1.3em; display: grid; gap: 10px; line-height: 1.6; }
.post-sources { border-top: 1px solid var(--sa-line); padding-top: 24px; display: grid; gap: 12px; font-size: .95rem; }
.post-sources h2 { font-size: var(--step-1); }
.post-aside { position: sticky; top: 90px; display: grid; gap: 20px; min-width: 0; }
.toc { border-left: 3px solid var(--sa-brand-tint); padding-left: 16px; display: grid; gap: 10px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .92rem; }
.toc a { color: var(--sa-text-muted); text-decoration: none; }
.toc a:hover, .toc a:focus-visible { color: var(--sa-action); text-decoration: underline; }
.aside-card h2 { font-size: var(--step-1); }
.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.link-list li { padding-left: 16px; position: relative; }
.link-list li::before { content: "›"; position: absolute; left: 0; color: var(--sa-brand); font-weight: 700; }
.post-card { text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
.post-card:hover, .post-card:focus-visible { border-color: var(--sa-brand); box-shadow: var(--shadow); }
.post-card h3 { color: var(--sa-text); }
.post-card .more, .card .more { color: var(--sa-action); font-weight: 600; text-decoration: none; }
.case-flag { font-size: 1rem; }
.h3 { font-size: var(--step-2); }
.table-wrap table { width: 100%; }
@media (max-width: 960px) {
  .post-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .post-aside { position: static; order: -1; }
  .post-aside .aside-card { display: none; }
}
@media (prefers-reduced-motion: reduce) { .post-card { transition: none; } }
.case-quote { margin: 0; background: var(--sa-bg-soft); border-radius: var(--radius); padding: 28px; display: grid; gap: 14px; align-self: start; }
.case-quote blockquote { margin: 0; font-size: var(--step-1); line-height: 1.55; color: var(--sa-text); }
.case-quote figcaption { font-size: var(--step--1); color: var(--sa-text-muted); font-weight: 600; }
.case-grid { margin-top: 20px; }

.split > :only-child { grid-column: 1 / -1; max-width: 820px; }

/* Producción: fuentes locales ya presentes en el servidor (Inter y Manrope, variables), copiadas a /static/sa-v1/fonts/ */
@font-face { font-family: "Inter Variable"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(fonts/inter-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Variable"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(fonts/inter-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope Variable"; font-style: normal; font-display: swap; font-weight: 200 800; src: url(fonts/manrope-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope Variable"; font-style: normal; font-display: swap; font-weight: 200 800; src: url(fonts/manrope-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root { --font-display: "Manrope Variable", "Segoe UI", system-ui, sans-serif; --font-body: "Inter Variable", "Segoe UI", system-ui, -apple-system, sans-serif; }
[data-u="u1"]{margin-top:16px !important}
[data-u="u2"]{font-size:var(--step-3) !important}
[data-u="u3"]{margin:6px 0 0 !important}
[data-u="u4"]{font-size:.95rem !important}
[data-u="u5"]{margin-top:20px !important}
[data-u="u6"]{gap:10px !important}
[data-u="u7"]{text-decoration:none !important;color:inherit !important}
[data-u="u8"]{color:var(--sa-action) !important}
[data-u="u9"]{font-size:var(--step-3) !important;margin:48px 0 8px !important}
[data-u="u10"]{margin-bottom:20px !important}
[data-u="u11"]{margin-top:24px !important}
[data-u="u12"]{max-width:780px !important;gap:18px !important}
[data-u="u13"]{margin-top:28px !important}

@media (min-width:621px){.hero{padding-top:36px}.hero > .wrap{align-items:start}.hero-main{padding-top:0}.hero-scene{margin-top:0}}
@media (min-width:621px){.h3d{padding-top:0}.h3d-stage{padding-top:0}.h3d-media{aspect-ratio:16/8}}
/* v35: franja superior con texto que desfila */
.topbar{background:#145DC2;color:#fff;overflow:hidden;font-size:.9rem;font-weight:600;line-height:1;white-space:nowrap}
.topbar-track{display:flex;width:max-content;animation:topbar-move 40s linear infinite}
.topbar-group{display:flex}
.topbar-item{padding:10px 0}
.topbar-item::after{content:"•";margin:0 28px;opacity:.6}
.topbar:hover .topbar-track{animation-play-state:paused}
@keyframes topbar-move{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.topbar-track{animation:none}}
@media (max-width:620px){.topbar{font-size:.8rem}.topbar-item{padding:8px 0}}

/* v37: notas a lápiz sobre la captura de la bandeja */
@font-face{font-family:"Caveat";src:url("/static/sa-v1/fonts/caveat-700.woff2?v=1") format("woff2");font-weight:700;font-display:swap}
.capture--anno{position:relative;container-type:inline-size;padding-top:9.25%}
.anno{position:absolute;inset:0 0 auto 0;pointer-events:none;z-index:2}
.anno-note{position:absolute;top:0;margin:0;font:700 2.2cqw/1.1 "Caveat","Segoe Print","Bradley Hand",cursive;color:#3A4250;white-space:nowrap}
.anno-note--in{left:1.5%;top:1.2cqw;transform:rotate(-2deg)}
.anno-note--ia{left:47%;top:.6cqw;transform:rotate(1.5deg)}
.anno-note--ficha{right:1%;top:1.4cqw;transform:rotate(-1.5deg)}
.anno-arrows{position:absolute;left:0;top:0;width:100%;height:auto;overflow:visible}
.anno-arrows path{stroke:#3A4250;stroke-width:3;opacity:.9}
@supports (animation-timeline: view()){
  @media (prefers-reduced-motion:no-preference){
    .anno-note{animation:anno-write linear both;animation-timeline:view();animation-range:entry 60% cover 38%}
    .anno-arrows path{stroke-dasharray:1;stroke-dashoffset:1;animation:anno-draw linear both;animation-timeline:view();animation-range:entry 80% cover 45%}
    .anno-note--ia{animation-range:entry 85% cover 44%}
    .anno-note--ficha{animation-range:entry 100% cover 50%}
    .anno-a--ia path{animation-range:entry 100% cover 52%}
    .anno-a--ficha path{animation-range:cover 30% cover 58%}
  }
}
@keyframes anno-write{from{clip-path:inset(-20% 100% -20% 0)}to{clip-path:inset(-20% -5% -20% 0)}}
@keyframes anno-draw{to{stroke-dashoffset:0}}
@media (max-width:760px){
  .capture--anno{padding-top:0}
  .anno{position:static;display:flex;flex-direction:column;gap:2px;margin-bottom:6px}
  .anno-note{position:static;font-size:1.25rem;transform:none;animation:none!important;clip-path:none}
  .anno-note--in::before{content:"Izquierda: "}
  .anno-note--ia::before{content:"Centro: "}
  .anno-note--ficha::before{content:"Derecha: "}
  .anno-arrows{display:none}
}
