/* ==========================================================================
   SF Industrial — capa visual "wow" (se carga DESPUÉS de main.css)
   --------------------------------------------------------------------------
   Reglas: misma paleta y tipografías de main.css, sin fuentes ni librerías
   nuevas, solo CSS. Todo el contenido es visible sin JS. Las animaciones usan
   transform/opacity, son progresivas (@supports) y se apagan con
   prefers-reduced-motion. Se activa por clases que añade wow_transforms.py
   (body.wow, body.wow-<página>); si no corre el script, el sitio se ve como antes.
   Índice: 1 Base · 2 Cabecera · 3 Heros · 4 Cifras · 5 Tarjetas · 6 Inicio
   7 Producto/renta · 8 Tablas · 9 Blog · 10 Artículos · 11 Empresa/contacto
   12 Formularios · 13 CTA y footer · 14 Utilitarias · 15 Motion · 16 Móvil
   ========================================================================== */

:root {
  --wow-grid: rgba(16, 38, 74, .055);
  --wow-grid-dark: rgba(255, 255, 255, .06);
  --wow-ease: cubic-bezier(.2, .7, .2, 1);
  --wow-shadow-1: 0 1px 2px rgba(10, 26, 51, .06), 0 8px 24px rgba(10, 26, 51, .06);
  --wow-shadow-2: 0 2px 4px rgba(10, 26, 51, .06), 0 18px 44px rgba(10, 26, 51, .14);
  --wow-red-soft: #fdecee;
  --wow-amber: #b36200;
  --wow-green: #157a3b;
}

/* 1. BASE ================================================================= */
body.wow { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.wow ::selection { background: var(--blue); color: #fff; }
body.wow .head-center h2::after {
  content: ""; display: block; width: 64px; height: 4px; margin: 18px auto 0; border-radius: 2px;
  background: linear-gradient(90deg, var(--red) 0 50%, var(--blue) 50% 100%);
}
body.wow .head-center h2 { font-size: clamp(2rem, 3.8vw, 2.8rem); }
body.wow .head-center p { font-size: 1.06rem; max-width: 64ch; margin-inline: auto; }
body.wow .eyebrow { display: inline-flex; align-items: center; gap: 10px; }
body.wow .eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; opacity: .7; }
body.wow .head-center .eyebrow, body.wow .stats .eyebrow { justify-content: center; }
body.wow .head-center .eyebrow::after, body.wow .stats .eyebrow::after { content: ""; width: 22px; height: 2px; background: currentColor; opacity: .7; }
/* El rótulo es un solo bloque; en bloques centrados lleva rayita a ambos lados */
body.wow .soft {
  background:
    linear-gradient(var(--wow-grid) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, var(--wow-grid) 1px, transparent 1px) 0 0 / 44px 44px,
    var(--bg-soft);
}
body.wow .btn { border-radius: 10px; letter-spacing: .005em; transition: background .2s, color .2s, border-color .2s, filter .2s, transform .2s var(--wow-ease), box-shadow .2s; }
body.wow .btn:hover { transform: translateY(-2px); }
body.wow .btn:active { transform: translateY(0); }
body.wow .btn-red { box-shadow: 0 6px 18px rgba(215, 24, 42, .28); position: relative; overflow: hidden; }
body.wow .btn-red:hover { box-shadow: 0 10px 26px rgba(215, 24, 42, .36); }
body.wow .btn-red::after, body.wow .btn-blue::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .22) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--wow-ease);
}
body.wow .btn-red:hover::after, body.wow .btn-blue:hover::after { transform: translateX(120%); }
body.wow .btn-blue { box-shadow: 0 6px 18px rgba(29, 95, 196, .25); position: relative; overflow: hidden; }
body.wow .btn-wa, body.wow .btn-wa-bright { box-shadow: 0 6px 18px rgba(31, 168, 85, .28); }
body.wow .btn-wa { background: #17803f; } /* contraste AA con texto blanco (4.9:1) */
body.wow .btn-wa-bright { background: #17803f; }
body.wow .btn-outline-wa { color: #17803f; border-color: #17803f; }
body.wow .btn-outline-wa:hover { background: #17803f; }
body.wow .link, body.wow .more { display: inline-flex; gap: 4px; align-items: center; }
body.wow .link:hover, body.wow .more:hover { gap: 8px; }
body.wow .link, body.wow .more { transition: gap .2s var(--wow-ease), color .2s; }
body.wow :focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
body.wow .urgent :focus-visible, body.wow .site-footer :focus-visible, body.wow .final-cta :focus-visible, body.wow .stats :focus-visible, body.wow .emergency :focus-visible { outline-color: #fff; }

/* 2. CABECERA ============================================================= */
body.wow .topbar { background: linear-gradient(90deg, #07142a, var(--navy) 40%, #0d2246); }
body.wow .site-header { background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: saturate(1.5) blur(12px); backdrop-filter: saturate(1.5) blur(12px); border-bottom: 0; box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(10, 26, 51, .05); position: sticky; }
body.wow .site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: linear-gradient(90deg, var(--red) 0 22%, var(--blue) 22% 100%); opacity: .9; }
body.wow .menu__link { position: relative; }
body.wow .menu__item > .menu__link::before { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--wow-ease); }
body.wow .menu__item > .menu__link:hover::before, body.wow .menu__item > .menu__link.is-active::before { transform: scaleX(1); }
body.wow .dropdown { border-radius: 14px; box-shadow: var(--wow-shadow-2); border-top: 3px solid var(--red); }

/* 3. HEROS ================================================================ */
body.wow .hero {
  position: relative; overflow: hidden; padding: 84px 0 110px;
  background:
    radial-gradient(900px 480px at 88% -10%, rgba(29, 95, 196, .16), transparent 62%),
    radial-gradient(600px 360px at -5% 105%, rgba(215, 24, 42, .09), transparent 60%),
    linear-gradient(var(--wow-grid) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, var(--wow-grid) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(180deg, #f3f7fd 0%, #fff 100%);
}
body.wow .hero h1 { font-size: clamp(2.6rem, 5.2vw, 4.3rem); letter-spacing: -.005em; }
body.wow .hero h1 em { background: linear-gradient(95deg, var(--blue-dark), var(--blue) 60%, #3b82e0); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
body.wow .hero .lead { font-size: 1.12rem; color: var(--text); }
body.wow .hero-media { isolation: isolate; }
body.wow .hero-media::before { content: ""; position: absolute; inset: 22px -18px -22px 22px; border: 2px solid var(--red); border-radius: var(--radius-xl); z-index: -1; opacity: .85; }
body.wow .hero-media::after { content: ""; position: absolute; width: 140px; height: 140px; right: -34px; top: -34px; z-index: -1; background: radial-gradient(var(--blue) 2px, transparent 2.5px) 0 0 / 14px 14px; opacity: .35; }
body.wow .hero-media .ph { box-shadow: var(--wow-shadow-2); }
body.wow .tag-red { box-shadow: 0 6px 16px rgba(215, 24, 42, .35); letter-spacing: .04em; }
body.wow .float-card { box-shadow: var(--wow-shadow-2); border-left: 4px solid var(--red); }
body.wow .trust { grid-template-columns: 1fr; gap: 10px; padding-top: 22px; border-top: 1px solid var(--line); }
body.wow .trust li { font-weight: 600; color: var(--navy); }
body.wow .trust .ic { background: var(--blue); color: #fff; }

body.wow .page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(760px 340px at 100% 0%, rgba(29, 95, 196, .14), transparent 65%),
    radial-gradient(480px 260px at 0% 100%, rgba(215, 24, 42, .07), transparent 60%),
    linear-gradient(var(--wow-grid) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, var(--wow-grid) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(180deg, #eaf0fa 0%, #f6f8fc 100%);
}
body.wow .page-hero::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(180deg, var(--red) 0 38%, var(--blue) 38% 100%); }
body.wow .page-hero h1 { font-size: clamp(2.3rem, 4.8vw, 3.6rem); }
body.wow .page-hero p { font-size: 1.05rem; color: var(--text); max-width: 68ch; }
body.wow .page-hero .doc-meta { color: var(--muted); font-size: .84rem; }
body.wow .crumbs ol { margin-bottom: 18px; }
body.wow .crumbs a { color: var(--blue-dark); font-weight: 600; }
body.wow .crumbs li:last-child { color: var(--muted); }
body.wow .page-hero-img { box-shadow: var(--wow-shadow-2); border: 4px solid #fff; }
body.wow .page-hero-img::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(180deg, transparent, rgba(10, 26, 51, .35)); pointer-events: none; }
body.wow .inline-checks { gap: 8px 12px; }
body.wow .inline-checks li { padding: 6px 12px 6px 30px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: .8rem; }
body.wow .inline-checks li::before { left: 12px; top: 9px; }

/* 4. CIFRAS =============================================================== */
body.wow .stats {
  position: relative; overflow: hidden; padding: 76px 0 82px;
  background:
    radial-gradient(700px 300px at 50% -20%, rgba(29, 95, 196, .45), transparent 70%),
    linear-gradient(var(--wow-grid-dark) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, var(--wow-grid-dark) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--navy);
}
body.wow .stats::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--red) 0 25%, var(--blue) 25% 100%); }
body.wow .stats-grid { gap: 0; }
body.wow .stat { padding: 8px 18px; border-left: 1px solid rgba(255, 255, 255, .14); }
body.wow .stat:first-child { border-left: 0; }
body.wow .stat strong { font-size: clamp(3.4rem, 6vw, 4.8rem); letter-spacing: -.01em; text-shadow: 0 6px 28px rgba(29, 95, 196, .5); }
body.wow .stat strong::after { content: ""; display: block; width: 36px; height: 3px; margin: 12px auto 0; background: var(--red); border-radius: 2px; }
body.wow .stat > span { color: #c4d0e2; font-size: .92rem; display: block; margin-top: 12px; }
body.wow .stats--under-img { margin-top: -40px; padding-top: 118px; }
body.wow .stats .eyebrow { color: #9db6e0; }

/* 5. TARJETAS COMPARTIDAS ================================================= */
body.wow .card, body.wow .icon-card, body.wow .channel, body.wow .prod, body.wow .tcard, body.wow .diff, body.wow .ind, body.wow .pcard, body.wow .step, body.wow .bpost, body.wow .post {
  box-shadow: var(--wow-shadow-1); border-color: #dfe5ee;
}
body.wow .card { border-radius: 16px; position: relative; overflow: hidden; }
body.wow .card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--blue); transform: scaleX(.18); transform-origin: left; transition: transform .35s var(--wow-ease); }
body.wow .card--hot::before { background: var(--red); }
body.wow .card--ext::before { background: var(--wow-green); }
body.wow .card:hover { box-shadow: var(--wow-shadow-2); transform: translateY(-4px); border-color: transparent; }
body.wow .card:hover::before { transform: scaleX(1); }
body.wow .card .ic { width: 52px; height: 52px; border-radius: 14px; }
body.wow .card h3 { font-size: 1.12rem; }
body.wow a.card:hover h3 { color: var(--blue-dark); }

body.wow .icon-card { border-radius: 16px; padding: 28px 26px; position: relative; transition: box-shadow .25s, transform .25s var(--wow-ease); }
body.wow .icon-card:hover { box-shadow: var(--wow-shadow-2); transform: translateY(-3px); }
body.wow .icon-card > svg.i { width: 48px; height: 48px; padding: 12px; margin-bottom: 20px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); }
body.wow .icon-card h3 { font-size: 1.05rem; }
body.wow .icon-card p { font-size: .9rem; }
/* Rejillas de 4 o 5 elementos: sin fila huérfana */
body.wow .icon-cards:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); }
body.wow .icon-cards:has(> :nth-child(5):last-child) { grid-template-columns: repeat(6, 1fr); }
body.wow .icon-cards:has(> :nth-child(5):last-child) > * { grid-column: span 2; }
body.wow .icon-cards:has(> :nth-child(5):last-child) > :nth-child(n+4) { grid-column: span 3; }
body.wow .cards:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); }
body.wow .cards:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, 1fr); }
body.wow .grid4:has(> :nth-child(5):last-child) { grid-template-columns: repeat(6, 1fr); }
body.wow .grid4:has(> :nth-child(5):last-child) > * { grid-column: span 2; }
body.wow .grid4:has(> :nth-child(5):last-child) > :nth-child(n+4) { grid-column: span 3; }
body.wow .grid4:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); }

body.wow .prod { border-radius: 18px; transition: box-shadow .25s, transform .25s var(--wow-ease); border-top: 4px solid var(--blue); }
body.wow .prod:hover { box-shadow: var(--wow-shadow-2); transform: translateY(-4px); }
body.wow .prod--featured { border-top-color: var(--red); box-shadow: var(--wow-shadow-2); background: linear-gradient(180deg, #fff, #f6f9fe); }
body.wow .prod--featured:hover { transform: translateY(-12px); }
body.wow .prod h3 { font-size: 1.5rem; font-family: var(--cond); font-weight: 700; letter-spacing: 0; }
body.wow .prod .sub { display: inline-block; padding: 4px 10px; background: var(--blue-soft); border-radius: 6px; width: fit-content; }
body.wow .prod .more { padding-top: 6px; border-top: 1px solid var(--line); padding-top: 14px; }
body.wow .dots li::before { width: 8px; height: 8px; top: 7px; border-radius: 2px; transform: rotate(45deg); background: var(--red); }
body.wow .callout { border-radius: 0 14px 14px 0; background: linear-gradient(90deg, #eaf1fb, #f5f8fd); box-shadow: var(--wow-shadow-1); font-size: .95rem; }
body.wow .tcard { border-radius: 16px; border-bottom: 3px solid transparent; }
body.wow .tcard:hover { border-bottom-color: var(--red); }
body.wow .tic { background: var(--navy); color: #fff; border-radius: 12px; width: 44px; height: 44px; }
body.wow .pcard { border-radius: 16px; box-shadow: var(--wow-shadow-1); }

/* 6. INICIO =============================================================== */
/* 6 tarjetas: 3 líneas de negocio grandes (renta, venta, servicio) + 3 complementos compactos */
body.wow-index .cards { grid-template-columns: repeat(3, 1fr); counter-reset: linea; gap: 24px; }
body.wow-index #que-hacemos .card { counter-increment: linea; }
body.wow-index #que-hacemos .card:nth-child(-n+3) { padding: 38px 30px 30px; min-height: 340px; background: linear-gradient(180deg, #fff 0%, #f5f8fd 100%); }
body.wow-index #que-hacemos .card:nth-child(-n+3)::after {
  content: "0" counter(linea); position: absolute; right: 22px; top: 14px; font-family: var(--cond); font-weight: 700; font-size: 4.2rem; line-height: 1; color: var(--navy); opacity: .06;
}
body.wow-index #que-hacemos .card:nth-child(-n+3) h3 { font-family: var(--cond); font-size: 1.7rem; font-weight: 700; letter-spacing: 0; line-height: 1.05; }
body.wow-index #que-hacemos .card:nth-child(-n+3) p { font-size: .96rem; color: var(--text); }
body.wow-index #que-hacemos .card:nth-child(1) { background: linear-gradient(160deg, #0a1a33 0%, #12305c 100%); border-color: transparent; }
body.wow-index #que-hacemos .card:nth-child(1) h3 { color: #fff; }
body.wow-index #que-hacemos .card:nth-child(1) p { color: #c9d5e8; }
body.wow-index #que-hacemos .card:nth-child(1) .ic { background: var(--red); color: #fff; }
body.wow-index #que-hacemos .card:nth-child(1) .link { color: #fff; }
body.wow-index #que-hacemos .card:nth-child(1)::after { color: #fff; opacity: .1; }
body.wow-index #que-hacemos .card:nth-child(1):hover h3 { color: #fff; }
body.wow-index #que-hacemos .card:nth-child(n+4) { flex-direction: column; padding: 22px 24px; background: #fff; box-shadow: none; border-style: solid; }
body.wow-index #que-hacemos .card:nth-child(n+4) .ic { width: 42px; height: 42px; margin-bottom: 14px; }
body.wow-index #que-hacemos .card:nth-child(n+4) h3 { font-size: 1.05rem; }
body.wow-index #que-hacemos .card:nth-child(n+4) p { font-size: .86rem; }

body.wow .answer { max-width: 1040px; padding: 40px 44px; background: #fff; border-radius: 20px; box-shadow: var(--wow-shadow-1); border-left: 5px solid var(--red); gap: 48px; }
body.wow .answer h2 { font-size: clamp(2rem, 3.4vw, 2.7rem); }
body.wow .answer p { font-size: 1rem; line-height: 1.7; }
body.wow .why h2 { font-size: clamp(2rem, 3.8vw, 2.8rem); }
body.wow .why-list { gap: 14px; }
body.wow .why-list li { padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--wow-shadow-1); transition: transform .25s var(--wow-ease), box-shadow .25s; align-items: flex-start; }
body.wow .why-list li:hover { transform: translateX(6px); box-shadow: var(--wow-shadow-2); }
body.wow .why-list .ic { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: #fff; display: grid; place-items: center; margin-top: 0; }
body.wow .why-list .ic svg.i { width: 22px; height: 22px; }
body.wow .why-list h3 { font-size: 1.02rem; }
body.wow .why-media { position: relative; box-shadow: var(--wow-shadow-2); }
body.wow .why-media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%; background: linear-gradient(180deg, transparent, rgba(10, 26, 51, .55)); }
body.wow .cert-ph { aspect-ratio: auto; border: 0; background: #fff; padding: 14px; border-radius: 18px; box-shadow: var(--wow-shadow-2); transform: rotate(-1.2deg); transition: transform .4s var(--wow-ease); }
body.wow .cert-ph:hover { transform: rotate(0); }
body.wow .cert-ph img { height: auto; border-radius: 8px; }
body.wow .award-box h2 { font-size: clamp(2rem, 3.6vw, 2.7rem); }
body.wow .award-box h2::before { content: ""; display: block; width: 56px; height: 4px; margin-bottom: 18px; background: linear-gradient(90deg, var(--red) 0 50%, var(--blue) 50%); border-radius: 2px; }

body.wow .ind-grid { counter-reset: ind; gap: 20px; }
body.wow .ind { counter-increment: ind; position: relative; padding: 26px 24px 24px 24px; border-radius: 16px; overflow: hidden; transition: transform .25s var(--wow-ease), box-shadow .25s; }
body.wow .ind::before { content: counter(ind, decimal-leading-zero); display: block; font-family: var(--cond); font-weight: 700; font-size: 1.5rem; color: var(--red); line-height: 1; margin-bottom: 14px; }
body.wow .ind::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--blue); transform: scaleY(.3); transform-origin: top; transition: transform .35s var(--wow-ease); }
body.wow .ind:hover { transform: translateY(-3px); box-shadow: var(--wow-shadow-2); }
body.wow .ind:hover::after { transform: scaleY(1); }
body.wow .ind h3 { font-family: var(--cond); font-size: 1.35rem; font-weight: 700; letter-spacing: 0; }
body.wow .ind p { font-size: .9rem; }
body.wow .diff { border-radius: 18px; border-top: 4px solid var(--blue); }
body.wow .diff:first-child { border-top-color: var(--red); }
body.wow .diff h3 { font-family: var(--cond); font-size: 1.5rem; font-weight: 700; letter-spacing: 0; }
body.wow .checks li { padding-left: 30px; }
body.wow .checks li::before { border-color: var(--blue); }

/* 7. PRODUCTO / RENTA ===================================================== */
body.wow .steps { counter-reset: paso; gap: 22px; position: relative; }
body.wow .step { border-radius: 18px; padding: 30px 24px 26px; overflow: hidden; transition: transform .25s var(--wow-ease), box-shadow .25s; }
body.wow .step:hover { transform: translateY(-4px); box-shadow: var(--wow-shadow-2); }
body.wow .step::before { font-size: 3.4rem; color: transparent; -webkit-text-stroke: 2px var(--red); margin-bottom: 12px; }
body.wow .step::after { content: ""; position: absolute; left: 0; bottom: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--red), var(--blue)); }
body.wow .step h3 { font-size: 1.05rem; }
body.wow .free-box { background: linear-gradient(135deg, #e9f0fb, #f4f8fe); border: 1px solid #d7e2f3; border-left: 5px solid var(--blue); border-radius: 18px; text-align: left; padding: 34px 38px; }
body.wow .free-box h3 { justify-content: flex-start; font-size: 1.3rem; }
body.wow .free-box p { margin-left: 0; max-width: 78ch; }
body.wow .free-box--portal { max-width: 960px; }
body.wow .multi h3 { font-size: 1.9rem; }
body.wow .emergency, body.wow .urgent { box-shadow: var(--wow-shadow-2); background: linear-gradient(160deg, #0a1a33, #12305c); }
body.wow .emergency { border-radius: 22px; border: 1px solid rgba(255, 255, 255, .08); }
body.wow .commit { position: relative; overflow: hidden; }
body.wow .commit::before { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--wow-grid-dark) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(90deg, var(--wow-grid-dark) 1px, transparent 1px) 0 0 / 40px 40px; }
body.wow .commit > * { position: relative; }
body.wow .sci-card { border-radius: 22px; }
body.wow .pas-block { border-left-width: 4px; padding: 6px 0 6px 22px; }
body.wow .pas-block p { font-size: 1rem; color: var(--text); }
body.wow .pas { gap: 22px; }

/* 8. TABLAS =============================================================== */
body.wow .table-wrap { border-radius: 18px; box-shadow: var(--wow-shadow-1); max-width: 980px; border-color: #dfe5ee; }
body.wow .data-table thead th { background: linear-gradient(180deg, #12305c, var(--navy)); border-bottom: 3px solid var(--red); padding: 16px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
body.wow .data-table tbody tr:nth-child(even) { background: #f7f9fc; }
body.wow .data-table tbody tr { transition: background .2s; }
body.wow .data-table tbody tr:hover { background: var(--blue-soft); }
body.wow .data-table tbody th { color: var(--blue-dark); font-family: var(--cond); font-size: 1.25rem; font-weight: 700; border-left: 4px solid var(--red); }
body.wow .data-table td { font-size: .95rem; }
body.wow .table-note { font-size: .86rem; max-width: 980px; padding-left: 14px; border-left: 3px solid var(--line); }
body.wow .prose .table-scroll { border: 1px solid #dfe5ee; border-radius: 16px; box-shadow: var(--wow-shadow-1); background: #fff; margin-block: 24px; }
body.wow .prose table { font-size: .93rem; }
body.wow .prose thead th { background: var(--navy); color: #fff; border-bottom: 3px solid var(--red); text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; padding: 14px 16px; }
body.wow .prose tbody th { color: var(--blue-dark); background: #f3f7fd; }
body.wow .prose td, body.wow .prose tbody th { padding: 13px 16px; }
body.wow .prose tbody tr:last-child > * { border-bottom: 0; }
body.wow .prose tbody tr:hover td { background: #f9fbfe; }

/* 9. BLOG ================================================================= */
body.wow-blog-index .page-hero h1 { max-width: 26ch; }
body.wow .filters { gap: 10px; margin-bottom: 36px; }
body.wow .chip { padding: 10px 20px; box-shadow: var(--wow-shadow-1); transition: transform .2s var(--wow-ease), background .2s, border-color .2s, color .2s; }
body.wow .chip:hover { transform: translateY(-2px); color: var(--blue-dark); }
body.wow .chip[aria-pressed="true"] { box-shadow: 0 6px 16px rgba(29, 95, 196, .3); }
body.wow .featured { border-radius: 22px; box-shadow: var(--wow-shadow-1); margin-bottom: 26px; border-color: #dfe5ee; position: relative; }
body.wow .featured:hover, body.wow .bpost:hover { box-shadow: var(--wow-shadow-2); }
body.wow .f-img { overflow: hidden; min-height: 420px; }
body.wow .f-img img, body.wow .b-img img { transition: transform .7s var(--wow-ease); }
body.wow .featured:hover .f-img img, body.wow .bpost:hover .b-img img, body.wow .post:hover .post-img img { transform: scale(1.05); }
body.wow .f-img::after, body.wow .b-img::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(180deg, transparent, rgba(10, 26, 51, .45)); pointer-events: none; }
body.wow .f-img .pill, body.wow .b-img .pill { z-index: 2; }
body.wow .f-body { padding: 40px 38px; background: linear-gradient(180deg, #fff, #f5f8fd); border-left: 5px solid var(--red); }
body.wow .f-body h2 { font-size: clamp(1.9rem, 2.6vw, 2.5rem); line-height: 1.08; margin-bottom: 22px; }
body.wow .f-foot p { font-size: 1rem; line-height: 1.6; margin-bottom: 16px; }
body.wow .meta { color: var(--blue-dark); }
body.wow .more { font-size: .9rem; }
body.wow .more::after { content: ""; }
/* Rejilla de 5 tarjetas sin hueco: 2 anchas + 3 medianas */
body.wow .grid3 { grid-template-columns: repeat(6, 1fr); gap: 24px; }
body.wow .grid3 > .bpost { grid-column: span 2; }
body.wow .grid3 > .bpost:nth-child(-n+2) { grid-column: span 3; }
body.wow .grid3 > .bpost:nth-child(-n+2) .b-img { aspect-ratio: 16 / 7.5; }
body.wow .grid3 > .bpost:nth-child(-n+2) h3 { font-size: 1.5rem; }
body.wow .bpost { border-radius: 20px; overflow: hidden; border-top: 4px solid var(--blue); transition: transform .3s var(--wow-ease), box-shadow .3s; }
body.wow .bpost:hover { transform: translateY(-5px); }
body.wow .bpost[data-cat="mantenimiento"] { border-top-color: var(--red); }
body.wow .bpost[data-cat="calidad"] { border-top-color: #e8860c; }
body.wow .bpost[data-cat="ups"] { border-top-color: var(--navy); }
body.wow .bpost[data-cat="renta"] { border-top-color: var(--wow-green); }
body.wow .b-body { padding: 24px 24px 22px; }
body.wow .b-body h3 { font-size: 1.3rem; line-height: 1.12; letter-spacing: 0; }
body.wow .pill { box-shadow: 0 4px 12px rgba(10, 26, 51, .18); }
body.wow .newsletter { border-radius: 22px; background: linear-gradient(135deg, #0a1a33, #12305c); max-width: 760px; padding: 44px 36px; box-shadow: var(--wow-shadow-2); }
body.wow .newsletter h2, body.wow .newsletter p { color: #fff; }
body.wow .newsletter p { color: #c9d5e8; }
body.wow .newsletter h2 svg { color: var(--red); }
body.wow .nl-form input { border: 0; border-radius: 10px; }
body.wow .newsletter .btn-blue { background: var(--red); box-shadow: 0 6px 18px rgba(215, 24, 42, .4); }
body.wow .newsletter .btn-blue:hover { background: var(--red-dark); }
body.wow .newsletter :focus-visible { outline-color: #fff; }
/* Inicio: bloque "post" (artículos recientes) */
body.wow .post { border-radius: 18px; }
body.wow .post-img { overflow: hidden; }
body.wow .post-img img { transition: transform .7s var(--wow-ease); }

/* 10. ARTÍCULOS (.prose) ================================================== */
body.wow-article .page-hero { padding-bottom: 54px; }
body.wow-article .page-hero h1 { max-width: 22ch; font-size: clamp(2.3rem, 4.6vw, 3.5rem); }
body.wow-article .page-hero .doc-meta { display: block; width: fit-content; max-width: 100%; margin-top: 8px; padding: 8px 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: .8rem; font-weight: 600; color: var(--navy); }
body.wow-article .page-hero .eyebrow { background: var(--blue); color: #fff; padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; }
body.wow-article .page-hero .eyebrow::before { display: none; }
body.wow .prose { max-width: 720px; font-size: 1.1rem; line-height: 1.85; color: #263447; hyphens: manual; overflow-wrap: break-word; }
body.wow .prose > * + * { margin-top: 20px; }
body.wow .prose h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); margin-top: 64px; padding-top: 22px; border-top: 1px solid var(--line); position: relative; scroll-margin-top: calc(var(--header-h) + 24px); }
body.wow .prose h2::before { content: ""; position: absolute; left: 0; top: -2px; width: 64px; height: 3px; background: linear-gradient(90deg, var(--red) 0 50%, var(--blue) 50%); }
body.wow .prose h2 + * { margin-top: 16px; }
body.wow .prose h3 { font-size: 1.2rem; margin-top: 38px; }
body.wow .prose ul, body.wow .prose ol { padding-left: 0; list-style: none; display: grid; gap: 12px; counter-reset: li; }
body.wow .prose li + li { margin-top: 0; }
body.wow .prose ul > li { position: relative; padding: 14px 18px 14px 44px; background: #f7f9fc; border: 1px solid #e6ebf2; border-radius: 12px; font-size: 1.02rem; line-height: 1.7; }
body.wow .prose ul > li::before { content: ""; position: absolute; left: 18px; top: 24px; width: 9px; height: 9px; background: var(--red); transform: rotate(45deg); border-radius: 2px; }
body.wow .prose ol > li { position: relative; counter-increment: li; padding: 14px 18px 14px 58px; background: #f7f9fc; border: 1px solid #e6ebf2; border-radius: 12px; font-size: 1.02rem; line-height: 1.7; }
body.wow .prose ol > li::before { content: counter(li); position: absolute; left: 14px; top: 12px; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--cond); font-weight: 700; font-size: 1.1rem; display: grid; place-items: center; }
body.wow .prose li::marker { content: none; }
body.wow .prose a { text-decoration-thickness: 2px; text-decoration-color: rgba(29, 95, 196, .35); transition: text-decoration-color .2s, color .2s; }
body.wow .prose a:hover { text-decoration-color: var(--red); }
body.wow .prose strong { color: var(--navy); }
body.wow .prose blockquote { border-left: 4px solid var(--red); padding: 6px 0 6px 22px; font-size: 1.2rem; font-style: italic; color: var(--navy); }
body.wow .prose .callout { font-size: 1.06rem; line-height: 1.75; padding: 24px 28px; background: #fff; border: 1px solid #d7e2f3; border-left: 6px solid var(--red); border-radius: 0 18px 18px 0; box-shadow: var(--wow-shadow-1); margin-top: 0; }
body.wow .prose .callout > strong:first-child { display: inline-block; margin-bottom: 6px; padding: 2px 10px; background: var(--red); color: #fff; border-radius: 6px; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
body.wow .prose .toc { max-width: none; margin: 28px 0 0; padding: 26px 30px; background: linear-gradient(135deg, #0a1a33, #12305c); border: 0; border-radius: 18px; color: #fff; box-shadow: var(--wow-shadow-2); }
body.wow .prose .toc h2 { margin: 0 0 14px; padding: 0; border: 0; color: #fff; font-size: 1.3rem; }
body.wow .prose .toc h2::before { display: none; }
body.wow .prose .toc ol { display: grid; gap: 6px; padding: 0; font-size: .98rem; counter-reset: toc; }
body.wow .prose .toc ol > li { background: none; border: 0; padding: 0 0 0 40px; font-size: .98rem; line-height: 1.5; counter-increment: toc; }
body.wow .prose .toc ol > li::before { content: counter(toc); position: absolute; left: 0; top: 0; width: 28px; height: 28px; font-size: .95rem; background: var(--red); }
body.wow .prose .toc a { color: #fff; text-decoration: none; display: block; padding: 3px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
body.wow .prose .toc a:hover { color: #ffb3bb; }
body.wow .toc { max-width: 760px; }
body.wow .doc-meta { color: var(--muted); }
/* Barra de progreso de lectura (CSS puro; si el navegador no lo soporta, no aparece) */
@supports (animation-timeline: scroll()) {
  body.wow-article::before { content: ""; position: fixed; left: 0; top: 0; right: 0; height: 4px; z-index: 70; background: linear-gradient(90deg, var(--red), var(--blue)); transform-origin: left; transform: scaleX(0); animation: wow-progress linear both; animation-timeline: scroll(root); pointer-events: none; }
}
@keyframes wow-progress { to { transform: scaleX(1); } }
/* Páginas legales y 404: texto sin hero */
body.wow-aviso-de-privacidad main > section:first-child, body.wow-404 main > section:first-child { padding: 72px 0 96px; }
body.wow-aviso-de-privacidad main .container, body.wow-404 main .container { max-width: 780px !important; }
body.wow-aviso-de-privacidad h1, body.wow-404 h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); padding-bottom: 18px; margin-bottom: 26px; border-bottom: 4px solid var(--navy); position: relative; }
body.wow-aviso-de-privacidad h1::after, body.wow-404 h1::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 96px; height: 4px; background: var(--red); }
body.wow-aviso-de-privacidad main section p, body.wow-aviso-de-privacidad main section li { font-size: 1.05rem; line-height: 1.8; color: var(--text); }
body.wow-aviso-de-privacidad main section h2 { font-size: 1.7rem; margin: 40px 0 8px; padding-left: 16px; border-left: 4px solid var(--red); }
body.wow-aviso-de-privacidad main section a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
body.wow-aviso-de-privacidad main section p + p { margin-top: 12px; }
body.wow-404 main section { text-align: left; }
body.wow-404 main section > .container > p { font-size: 1.1rem; color: var(--muted); margin-bottom: 22px; }
body.wow-404 main section ul { list-style: none; display: grid; gap: 12px; }
body.wow-404 main section ul li { padding: 16px 20px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 12px; box-shadow: var(--wow-shadow-1); font-weight: 600; transition: transform .2s var(--wow-ease), border-color .2s; }
body.wow-404 main section ul li:hover { transform: translateX(6px); border-left-color: var(--red); }
body.wow-404 main section ul li a { color: var(--blue-dark); }
body.wow-404 main section ul li a:hover { color: var(--red); }
body.wow-404 h1::before { content: "404"; display: block; font-family: var(--cond); font-size: 6.5rem; line-height: .9; letter-spacing: .02em; color: transparent; -webkit-text-stroke: 2px var(--red); margin-bottom: 8px; opacity: .85; }
body.wow-gracias .page-hero { text-align: center; padding: 76px 0 84px; }
body.wow-gracias .page-hero::before { display: none; }
body.wow-gracias .page-hero .container::before { content: "✓"; display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 50%; background: var(--wow-green); color: #fff; font-size: 2.4rem; font-weight: 700; box-shadow: 0 0 0 10px rgba(21, 122, 59, .15); }
body.wow-gracias .page-hero p, body.wow-gracias .page-hero h1 { margin-inline: auto; }
body.wow-gracias .page-hero .eyebrow { justify-content: center; }
body.wow-gracias .hero-ctas { justify-content: center; }

/* 11. EMPRESA / CONTACTO / SERVICIO ======================================= */
body.wow .facts { border-radius: 20px; box-shadow: var(--wow-shadow-1); max-width: 980px; }
body.wow .facts > div { padding: 16px 26px; grid-template-columns: 240px 1fr; transition: background .2s; }
body.wow .facts > div:hover { background: var(--blue-soft); }
body.wow .facts dt { color: var(--blue-dark); font-family: var(--cond); font-size: 1.15rem; letter-spacing: .02em; border-left: 3px solid var(--red); padding-left: 12px; }
body.wow .facts dd { font-size: .96rem; }
body.wow .mission h2 { font-size: clamp(2rem, 3.6vw, 2.7rem); }
body.wow .channel { border-radius: 20px; padding: 30px 24px 26px; border-top: 4px solid var(--blue); transition: transform .25s var(--wow-ease), box-shadow .25s; }
body.wow .channel:hover { transform: translateY(-5px); box-shadow: var(--wow-shadow-2); }
body.wow .channel--dark { border-top-color: var(--red); background: linear-gradient(160deg, #0a1a33, #12305c); }
body.wow .channel > svg.i { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); }
body.wow .channel--dark > svg.i { background: rgba(255, 255, 255, .12); }
body.wow .channel__value { font-size: 1.7rem; margin-bottom: 12px; }
body.wow .channel__value--sm { font-size: 1.25rem; }
body.wow .channel .btn { margin-top: auto; }
body.wow .map { width: 100%; max-width: 100%; border-radius: 20px; box-shadow: var(--wow-shadow-1); background: linear-gradient(var(--wow-grid) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, var(--wow-grid) 1px, transparent 1px) 0 0 / 28px 28px, #e9eef5; }
body.wow .visit address { font-size: 1rem; }
body.wow .brand-row { gap: 14px; }
body.wow .brand-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 150px; padding: 16px 26px; background: #fff; border: 1px solid #dfe5ee; border-bottom: 3px solid var(--navy); border-radius: 12px; box-shadow: var(--wow-shadow-1); font-family: var(--cond); font-weight: 700; font-size: 1.45rem; letter-spacing: .04em; text-transform: uppercase; color: var(--navy); transition: transform .2s var(--wow-ease), border-color .2s, box-shadow .2s; }
body.wow .brand-badge::before { content: attr(data-brand); }
body.wow .brand-badge:hover { transform: translateY(-3px); border-bottom-color: var(--red); box-shadow: var(--wow-shadow-2); }
body.wow .brand-row--spread { justify-content: center; }
body.wow .multi { max-width: 960px; }

/* 12. FORMULARIOS ========================================================= */
body.wow .qform { border-radius: 22px; box-shadow: var(--wow-shadow-2); border: 1px solid #e3e9f2; border-top: 5px solid var(--red); padding: 40px; }
body.wow .field label { font-size: .86rem; }
body.wow .field input, body.wow .field select, body.wow .field textarea { border: 1.5px solid #cfd8e5; border-radius: 10px; padding: 13px 14px; background: #fbfcfe; transition: border-color .2s, box-shadow .2s, background .2s; }
body.wow .field input:hover, body.wow .field select:hover, body.wow .field textarea:hover { border-color: #a9b9d1; }
body.wow .field input:focus, body.wow .field select:focus, body.wow .field textarea:focus { background: #fff; box-shadow: 0 0 0 4px rgba(29, 95, 196, .16); }
body.wow .qform .btn { padding: 17px; font-size: 1rem; }
body.wow .form-step > legend:not(.choices-legend) { display: flex; align-items: center; gap: 10px; color: var(--navy); font-size: .78rem; }
body.wow .form-step > legend:not(.choices-legend)::before { content: ""; width: 8px; height: 8px; background: var(--red); transform: rotate(45deg); }
body.wow .choice span { padding: 11px 18px; border-width: 1.5px; box-shadow: var(--wow-shadow-1); transition: border-color .15s, background .15s, transform .15s var(--wow-ease), color .15s; }
body.wow .choice input:hover + span { transform: translateY(-1px); }
body.wow .urgent { border-radius: 22px; padding: 34px 30px; }
body.wow .urgent .btn-wa { background: #17803f; }
body.wow .call { border: 1px solid rgba(255, 255, 255, .12); }
body.wow .call strong { font-family: var(--cond); font-size: 1.6rem; letter-spacing: .02em; }
body.wow .quote--soft, body.wow .quote--white { position: relative; }
body.wow .quote--white { background: linear-gradient(180deg, #fff 0%, #f3f7fd 100%); }

/* 13. FAQ, CTA Y FOOTER =================================================== */
body.wow .faq { max-width: 860px; gap: 14px; }
body.wow .faq details { border-radius: 14px; border-color: #dfe5ee; box-shadow: var(--wow-shadow-1); overflow: hidden; position: relative; transition: box-shadow .25s, border-color .25s; }
body.wow .faq details::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--red); transform: scaleY(0); transform-origin: top; transition: transform .3s var(--wow-ease); }
body.wow .faq details[open]::before { transform: scaleY(1); }
body.wow .faq details[open] { box-shadow: var(--wow-shadow-2); border-color: transparent; }
body.wow .faq summary { padding: 20px 24px; font-size: 1.04rem; line-height: 1.4; }
body.wow .faq summary:hover { color: var(--blue-dark); }
body.wow .faq summary::after { content: "+"; flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-soft); color: var(--blue-dark); font-size: 1.5rem; font-weight: 500; }
body.wow .faq details[open] summary::after { background: var(--red); color: #fff; transform: rotate(45deg); }
body.wow .faq details p { padding: 0 24px 24px; font-size: 1rem; line-height: 1.7; color: var(--text); }
body.wow .faq details[open] p { animation: wow-faq .35s var(--wow-ease); }
@keyframes wow-faq { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

body.wow .final-cta { position: relative; overflow: hidden; padding: 76px 0; background: linear-gradient(110deg, #0a1a33 0%, #12305c 45%, #1d5fc4 100%); }
body.wow .final-cta::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .045) 0 2px, transparent 2px 22px); }
body.wow .final-cta::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--red); }
body.wow .final-cta__inner { position: relative; z-index: 1; }
body.wow .final-cta h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); }
body.wow .final-cta .btn-white { color: var(--navy); font-weight: 800; }
body.wow .site-footer { position: relative; background: linear-gradient(180deg, #091730, #060f20); padding-top: 76px; }
body.wow .site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--red) 0 22%, var(--blue) 22% 100%); }
body.wow .foot-title { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; padding-bottom: 12px; margin-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .12); position: relative; }
body.wow .foot-title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 28px; height: 2px; background: var(--red); }
body.wow .site-footer a { transition: color .2s, padding-left .2s var(--wow-ease); }
body.wow .site-footer li a:hover { padding-left: 4px; }
body.wow .site-footer { color: #b4c1d4; }
body.wow .wa-float { box-shadow: 0 10px 28px rgba(0, 0, 0, .3); background: #17803f; }

/* 14. UTILITARIAS ========================================================= */
body.wow [data-sfi-act] p { font-size: .82rem !important; }

/* 15. MOTION (progresivo, solo transform/opacity, sin JS) ================= */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    body.wow .card, body.wow .icon-card, body.wow .step, body.wow .ind, body.wow .diff, body.wow .bpost, body.wow .post, body.wow .channel, body.wow .tcard, body.wow .pcard, body.wow .prod, body.wow .why-list li, body.wow .faq details, body.wow .free-box, body.wow .answer, body.wow .table-wrap, body.wow .facts, body.wow .prose > h2, body.wow .prose > .table-scroll {
      animation: wow-rise both var(--wow-ease);
      animation-timeline: view();
      animation-range: entry 0% entry 30%;
    }
  }
}
/* Solo transform: el contenido NUNCA queda oculto (capturas full-page, rastreadores con render, impresión) */
@keyframes wow-rise { from { transform: translateY(12px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  body.wow *, body.wow *::before, body.wow *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  body.wow .btn:hover, body.wow .card:hover, body.wow .bpost:hover { transform: none; }
}

/* 16. RESPONSIVE ========================================================== */
@media (max-width: 1080px) {
  body.wow .icon-cards:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); }
  body.wow .grid4:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); }
  body.wow .menu { border-top: 3px solid var(--red); }
  body.wow .menu__link::before { display: none; }
}
@media (max-width: 900px) {
  body.wow .hero { padding: 56px 0 84px; }
  body.wow .hero-media::before { inset: 14px -8px -14px 14px; }
  body.wow .hero-media::after { display: none; }
  body.wow .answer { padding: 30px 26px; gap: 22px; }
  body.wow .stat { border-left: 0; }
  body.wow-index .cards, body.wow .cards:has(> :nth-child(4):last-child) { grid-template-columns: 1fr 1fr; }
  body.wow-index #que-hacemos .card:nth-child(-n+3) { min-height: 0; }
  body.wow .grid3 { grid-template-columns: 1fr 1fr; }
  body.wow .grid3 > .bpost, body.wow .grid3 > .bpost:nth-child(-n+2) { grid-column: span 1; }
  body.wow .grid3 > .bpost:nth-child(5) { grid-column: 1 / -1; }
  body.wow .grid3 > .bpost:nth-child(-n+2) .b-img { aspect-ratio: 16 / 8.5; }
  body.wow .grid3 > .bpost:nth-child(-n+2) h3 { font-size: 1.3rem; }
  body.wow .icon-cards:has(> :nth-child(5):last-child) { grid-template-columns: 1fr 1fr; }
  body.wow .icon-cards:has(> :nth-child(5):last-child) > *, body.wow .icon-cards:has(> :nth-child(5):last-child) > :nth-child(n+4) { grid-column: span 1; }
  body.wow .icon-cards:has(> :nth-child(5):last-child) > :last-child { grid-column: 1 / -1; }
  body.wow .grid4:has(> :nth-child(5):last-child) { grid-template-columns: 1fr 1fr; }
  body.wow .grid4:has(> :nth-child(5):last-child) > *, body.wow .grid4:has(> :nth-child(5):last-child) > :nth-child(n+4) { grid-column: span 1; }
  body.wow .f-body { border-left: 0; border-top: 5px solid var(--red); padding: 30px 26px; }
  body.wow .f-img { min-height: 260px; }
  body.wow .facts > div { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  body.wow .head-center { margin-bottom: 34px; }
  body.wow .hero { padding: 40px 0 64px; }
  body.wow .hero h1 { font-size: clamp(2.2rem, 10vw, 2.8rem); }
  body.wow .trust { padding-top: 18px; }
  body.wow .hero-media { margin: 10px 14px 0 4px; }
  body.wow .float-card { left: 8px; right: auto; bottom: -22px; padding: 10px 14px 10px 10px; max-width: 92%; }
  body.wow .page-hero::before { width: 4px; }
  body.wow .page-hero { padding-bottom: 110px; }
  body.wow .page-hero--short { padding-bottom: 50px; }
  body.wow-article .page-hero h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  body.wow .stats { padding: 54px 0 60px; }
  body.wow .stats-grid { gap: 34px 10px; }
  body.wow .stat { padding: 0 6px; }
  body.wow .stat strong { font-size: 3.4rem; }
  body.wow .stats--under-img { padding-top: 92px; }
  body.wow-index .cards, body.wow .cards:has(> :nth-child(4):last-child), body.wow .cards:has(> :nth-child(2):last-child) { grid-template-columns: 1fr; }
  body.wow .icon-cards:has(> :nth-child(4):last-child), body.wow .icon-cards:has(> :nth-child(5):last-child), body.wow .grid4:has(> :nth-child(5):last-child), body.wow .grid4:has(> :nth-child(3):last-child) { grid-template-columns: 1fr; }
  body.wow .icon-cards:has(> :nth-child(5):last-child) > :last-child, body.wow .icon-cards:has(> :nth-child(5):last-child) > *, body.wow .grid4:has(> :nth-child(5):last-child) > * { grid-column: auto; }
  body.wow .grid3 { grid-template-columns: 1fr; }
  body.wow .grid3 > .bpost:nth-child(5) { grid-column: auto; }
  body.wow .answer { padding: 24px 20px; border-left-width: 4px; }
  body.wow .why-list li { padding: 14px; gap: 12px; }
  body.wow .why-list li:hover { transform: none; }
  body.wow .cert-ph { transform: none; padding: 10px; }
  body.wow .ind::before { margin-bottom: 8px; }
  body.wow .qform { padding: 24px 20px; }
  body.wow .free-box { padding: 24px 20px; }
  body.wow .final-cta { padding: 56px 0; }
  body.wow .final-cta::after { width: 5px; }
  body.wow .newsletter { padding: 32px 22px; }
  body.wow .faq summary { padding: 16px 16px; font-size: 1rem; }
  body.wow .faq details p { padding: 0 16px 20px; }
  body.wow .prose { font-size: 1.06rem; line-height: 1.8; }
  body.wow .prose h2 { margin-top: 48px; }
  body.wow .prose ul > li, body.wow .prose ol > li { padding: 12px 14px 12px 38px; }
  body.wow .prose ul > li::before { left: 14px; top: 21px; }
  body.wow .prose ol > li { padding-left: 52px; }
  body.wow .prose .toc { padding: 22px 20px; }
  body.wow .prose .callout { padding: 20px 18px; }
  body.wow .brand-badge { min-width: 0; flex: 1 1 40%; padding: 14px 16px; font-size: 1.2rem; }
  body.wow .brand-row--spread { gap: 10px; }
  body.wow-404 h1::before { font-size: 5rem; }
  /* Tablas apiladas: cada fila se vuelve una tarjeta con su etiqueta (data-label lo pone wow_transforms.py) */
  body.wow table.data-table, body.wow .prose table { display: block; }
  body.wow table.data-table thead, body.wow .prose table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  body.wow table.data-table tbody, body.wow .prose table tbody { display: grid; gap: 12px; padding: 12px; }
  body.wow table.data-table tr, body.wow .prose table tr { display: block; background: #fff !important; border: 1px solid #dfe5ee; border-radius: 14px; overflow: hidden; box-shadow: var(--wow-shadow-1); }
  body.wow table.data-table tbody th, body.wow .prose tbody th { display: block; padding: 12px 16px; background: var(--navy); color: #fff; border: 0; font-family: var(--cond); font-size: 1.25rem; white-space: normal; }
  body.wow table.data-table tbody th { border-left: 4px solid var(--red); }
  body.wow table.data-table td, body.wow .prose td { display: block; padding: 10px 16px; border-bottom: 1px solid var(--line); }
  body.wow table.data-table td:last-child, body.wow .prose td:last-child { border-bottom: 0; }
  body.wow .prose td[data-label]::before { content: attr(data-label); display: block; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 2px; }
  body.wow table.data-table td[data-label]::before { content: attr(data-label); display: block; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 2px; }
  body.wow .table-wrap, body.wow .prose .table-scroll { border: 0; box-shadow: none; background: transparent; }
  body.wow .prose .table-scroll { overflow: visible; }
}

/* v2 nivel-2 ============================================================== */
/* Portada: 4 líneas (01-04: renta, venta, servicio, compresores) + 3 complementos (refacciones, energía crítica, SF Químicos) */
body.wow-index .cards { grid-template-columns: repeat(12, 1fr); }
body.wow-index #que-hacemos .card:nth-child(-n+4) { grid-column: span 3; }
body.wow-index #que-hacemos .card:nth-child(n+5) { grid-column: span 4; }
body.wow-index #que-hacemos .card:nth-child(4) { padding: 38px 30px 30px; min-height: 340px; background: linear-gradient(180deg, #fff 0%, #f5f8fd 100%); flex-direction: column; box-shadow: var(--wow-shadow-1); }
body.wow-index #que-hacemos .card:nth-child(4)::after { content: "0" counter(linea); position: absolute; right: 22px; top: 14px; font-family: var(--cond); font-weight: 700; font-size: 4.2rem; line-height: 1; color: var(--navy); opacity: .06; }
body.wow-index #que-hacemos .card:nth-child(4) .ic { width: 52px; height: 52px; margin-bottom: 18px; }
body.wow-index #que-hacemos .card:nth-child(4) h3 { font-family: var(--cond); font-size: 1.7rem; font-weight: 700; letter-spacing: 0; line-height: 1.05; }
body.wow-index #que-hacemos .card:nth-child(4) p { font-size: .96rem; color: var(--text); }
body.wow-index #que-hacemos .card:nth-child(-n+4) .link { margin-top: auto; }
body.wow-index #que-hacemos .card:nth-child(7) { background: transparent; border-style: dashed; padding: 18px 22px; }
body.wow-index #que-hacemos .card:nth-child(7) .ic { width: 36px; height: 36px; margin-bottom: 10px; }
body.wow-index #que-hacemos .card:nth-child(7) h3 { font-size: .98rem; }
body.wow-index #que-hacemos .card:nth-child(7) p { font-size: .82rem; }

/* Portada: «¿Qué necesitas?» en el hero */
body.wow .ruta { margin: 0 0 26px; }
body.wow .ruta__t { display: block; font-family: var(--cond); font-weight: 700; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); margin-bottom: 10px; }
body.wow .ruta__l { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
body.wow .ruta__l .chip { display: inline-block; text-decoration: none; padding: 10px 16px; line-height: 1.25; }
body.wow .ruta__l .chip:hover { border-color: var(--red); color: var(--navy); }
body.wow .ruta__l .chip:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* Páginas de producto: «Antes de decidir, lee» antes de la FAQ */
body.wow .lee-antes { padding: 34px 0; background: #fff; border-top: 1px solid var(--line); }
body.wow .lee-antes__t { font-family: var(--cond); font-weight: 700; font-size: 1.3rem; color: var(--navy); margin: 0 0 14px; }
body.wow .lee-antes__t::after { content: ""; display: block; width: 44px; height: 3px; margin-top: 8px; background: linear-gradient(90deg, var(--red) 60%, var(--blue) 60%); }
body.wow .lee-antes__l { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
body.wow .lee-antes__l li { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 18px; background: #f5f8fd; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 12px; transition: box-shadow .2s, transform .2s var(--wow-ease); }
body.wow .lee-antes__l li:hover { box-shadow: var(--wow-shadow-1); transform: translateY(-2px); }
body.wow .lee-antes__tag { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
body.wow .lee-antes__l a { font-weight: 600; color: var(--navy); line-height: 1.35; text-decoration: none; }
body.wow .lee-antes__l a:hover { color: var(--blue-dark); text-decoration: underline; }
body.wow .lee-antes__l a:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

@media (max-width: 900px) {
  body.wow-index .cards { grid-template-columns: repeat(2, 1fr); }
  body.wow-index #que-hacemos .card:nth-child(-n+4) { grid-column: span 1; min-height: 0; }
  body.wow-index #que-hacemos .card:nth-child(n+5) { grid-column: span 1; }
  body.wow-index #que-hacemos .card:nth-child(7) { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body.wow-index .cards { grid-template-columns: 1fr; }
  body.wow-index #que-hacemos .card:nth-child(n) { grid-column: auto; }
  body.wow .ruta__l { display: grid; grid-template-columns: 1fr 1fr; }
  body.wow .ruta__l .chip { display: block; font-size: .8rem; padding: 10px 12px; border-radius: 14px; height: 100%; }
  body.wow .lee-antes__l { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  body.wow .lee-antes__l li { transition: none; }
  body.wow .lee-antes__l li:hover { transform: none; }
}
