/* =========================================================
   Peritar Coches · hoja de estilos
   Mobile first · sin frameworks
   ========================================================= */

:root {
  --navy-950: #061428;
  --navy-900: #071a33;
  --navy-800: #0b2545;
  --navy-700: #13355f;
  --blue-600: #1f5fbf;
  --blue-500: #2f74d9;
  --blue-100: #dbe8fb;
  --blue-50:  #eef4fc;
  --orange:   #ff8a1f;
  --orange-600: #e9730a;
  --orange-100: #ffe6cf;
  --orange-50: #fff5eb;
  --green:    #1a9d5a;
  --green-100: #d3f2e1;
  --violet:   #6d4fd8;
  --violet-100: #e7e1fb;
  --red:      #e5484d;
  --wa:       #25d366;
  --wa-600:   #1da851;

  --ink:      #0f1b2d;
  --ink-2:    #45536a;
  --ink-3:    #74829a;
  --line:     #e3e8f0;
  --bg:       #ffffff;
  --bg-alt:   #f6f8fc;

  --r-sm: 10px;
  --r:    18px;
  --r-lg: 28px;
  --shadow-xs: 0 1px 2px rgba(11, 37, 69, .06);
  --shadow-sm: 0 2px 6px rgba(11, 37, 69, .05), 0 8px 24px rgba(11, 37, 69, .05);
  --shadow:    0 12px 40px rgba(11, 37, 69, .10);
  --shadow-lg: 0 30px 70px rgba(11, 37, 69, .18);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1200px;
  --gutter: 20px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.65; color: var(--ink);
  background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-underline-offset: 3px; }
a:hover { color: var(--orange-600); }
h1, h2, h3, h4 { line-height: 1.15; color: var(--navy-800); margin: 0 0 .55em; letter-spacing: -.025em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--orange); color: #fff; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--navy-800); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 860px; }
.icon { width: 1.35em; height: 1.35em; flex-shrink: 0; }
.icon--sm { width: 1.05em; height: 1.05em; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.4em; border-radius: 12px; border: 1.5px solid transparent;
  font: inherit; font-weight: 700; font-size: .98rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 1em 1.6em; font-size: 1.03rem; }
.btn--xl { padding: 1.15em 2em; font-size: 1.1rem; border-radius: 14px; }
.btn--sm { padding: .6em 1.05em; font-size: .9rem; border-radius: 10px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--orange); color: #fff; box-shadow: 0 8px 22px rgba(255, 138, 31, .35); }
.btn--accent:hover { background: var(--orange-600); color: #fff; box-shadow: 0 12px 28px rgba(255, 138, 31, .45); }
.btn--primary { background: var(--navy-800); color: #fff; }
.btn--primary:hover { background: var(--navy-700); color: #fff; }
.btn--ghost { background: #fff; border-color: var(--line); color: var(--navy-800); box-shadow: var(--shadow-xs); }
.btn--ghost:hover { border-color: var(--navy-800); color: var(--navy-800); }
.btn--outline-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--navy-800); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-600); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 639px) {
  .hero .btn-row > .btn { flex: 1 1 100%; }
  /* Botones largos: que partan línea en vez de desbordar */
  .btn { white-space: normal; text-align: center; max-width: 100%; }
  .section__more .btn, .cta-final__actions .btn { width: 100%; }
}

/* ---------- Elementos ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--orange-600); margin-bottom: 1em;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: 1.12rem; color: var(--ink-2); }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 800; padding: 5px 11px; border-radius: 999px; letter-spacing: .02em; }
.pill--orange { background: var(--orange-100); color: #b45309; }
.pill--green { background: var(--green-100); color: #12663b; }
.pill--blue { background: var(--blue-100); color: var(--blue-600); }

.tile { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0; }
.tile .icon { width: 24px; height: 24px; }
.tile--sm { width: 36px; height: 36px; border-radius: 10px; }
.tile--sm .icon { width: 18px; height: 18px; }
.tile--lg { width: 60px; height: 60px; border-radius: 18px; }
.tile--lg .icon { width: 28px; height: 28px; }
.tile--blue { background: var(--blue-50); color: var(--blue-600); }
.tile--orange { background: var(--blue-50); color: var(--blue-600); }
.tile--green { background: var(--blue-50); color: var(--blue-600); }
.tile--violet { background: var(--blue-50); color: var(--blue-600); }

.chips { list-style: none; padding: 0; margin: 0 0 1.6em; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; font-size: .9rem; font-weight: 600;
  background: #fff; border: 1px solid var(--line); color: var(--navy-800); box-shadow: var(--shadow-xs);
}
.chips .icon { color: var(--green); }

.checks { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 9px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .icon { color: var(--green); margin-top: .28em; }
.checks--compact { gap: 7px; font-size: .94rem; color: var(--ink-2); }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy-900); color: #b9c6da; font-size: .82rem; }
.topbar__inner { display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 36px; }
.topbar__msg { margin: 0; display: flex; align-items: center; gap: 7px; }
.topbar__msg strong { color: #fff; }
.topbar__msg .icon { color: var(--orange); }
.topbar__contact { display: none; gap: 22px; }
.topbar__contact a, .topbar__contact span { color: #d5e0f0; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar__contact a:hover { color: var(--orange); }

/* ---------- Header / navegación ---------- */
.brand { flex-shrink: 0; display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand__mark { display: block; width: 46px; height: 46px; flex-shrink: 0; transition: transform .25s; }
.brand__mark svg { width: 100%; height: 100%; }
.brand:hover .brand__mark { transform: rotate(-4deg) scale(1.04); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-size: 1.55rem; font-weight: 800; letter-spacing: -.035em; color: var(--navy-800); }
.brand__name span { color: var(--orange); }
.brand__tag { margin-top: 5px; font-size: .64rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.brand--light .brand__name { color: #fff; }
.brand--light .brand__tag { color: #8da0bb; }
.footer__brand { margin-bottom: 18px; }
.header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 16px; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--navy-800); cursor: pointer;
}
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: block; }

.nav {
  position: fixed; inset: var(--nav-top, 106px) 0 0 0; background: #fff; padding: 12px var(--gutter) 120px;
  overflow-y: auto; opacity: 0; transform: translateY(-10px); transition: opacity .25s ease, transform .25s ease, visibility .25s; visibility: hidden;
}
.nav-open .nav { opacity: 1; transform: none; visibility: visible; }
.nav__list { list-style: none; margin: 0 0 20px; padding: 0; }
.nav__item { position: relative; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; }
.nav__link { flex: 1; display: block; padding: 15px 0; color: var(--navy-800); font-weight: 700; text-decoration: none; white-space: nowrap; }
.nav__link:hover, .nav__link.is-active { color: var(--orange-600); }
.nav__sub-toggle { background: none; border: 0; padding: 10px; color: var(--ink-2); cursor: pointer; }
.nav__sub-toggle .icon { transition: transform .2s; }
.nav__sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__sub { display: none; width: 100%; padding-bottom: 10px; }
.nav__sub.is-open { display: block; }
.nav__mega { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.nav__mega a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.nav__mega a:hover { background: var(--bg-alt); }
.nav__mega strong { display: block; font-size: .93rem; color: var(--navy-800); white-space: nowrap; }
.nav__mega small { display: block; font-size: .8rem; color: var(--ink-3); line-height: 1.35; }
.nav__ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--blue-50); color: var(--blue-600); flex-shrink: 0; }
.nav__ico .icon { width: 20px; height: 20px; }
.nav__mega a:hover .nav__ico { background: var(--orange-50); color: var(--orange-600); }
.nav__actions { display: grid; gap: 10px; }
.nav__phone { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; color: var(--navy-800); text-decoration: none; padding: 12px; border: 1px solid var(--line); border-radius: 12px; white-space: nowrap; }
.nav__phone .icon { color: var(--orange-600); }
.nav__cta { width: 100%; }

/* ---------- Migas ---------- */
.breadcrumbs { background: var(--navy-900); font-size: .84rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 12px 0; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: #3d5679; }
.breadcrumbs a { color: #9fb1c9; text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs [aria-current] { color: #fff; font-weight: 600; }

/* ---------- Cabecera (todas las páginas) ---------- */
.hero {
  position: relative; overflow: hidden; color: #c6d3e6;
  background:
    radial-gradient(800px 480px at 85% -10%, rgba(47,116,217,.45), transparent 60%),
    radial-gradient(600px 420px at -5% 110%, rgba(255,138,31,.16), transparent 60%),
    linear-gradient(165deg, var(--navy-900) 0%, var(--navy-800) 70%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: radial-gradient(rgba(159,177,201,.35) 1px, transparent 1px); background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%); mask-image: linear-gradient(180deg, #000, transparent 80%);
}
.hero__inner { position: relative; display: grid; gap: 32px; align-items: center; padding-top: 44px; padding-bottom: 52px; }
.hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.3rem); margin-bottom: .45em; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero .eyebrow { color: var(--orange); }
.hero .lead { color: #c6d3e6; font-size: 1.1rem; max-width: 36em; margin-bottom: 1.4em; }
.hero__checks { list-style: none; padding: 0; margin: 0 0 1.6em; display: grid; gap: 10px; }
.hero__checks li { display: flex; gap: 10px; align-items: flex-start; color: #fff; font-weight: 600; }
.hero__checks .icon { flex-shrink: 0; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--orange); color: #fff; margin-top: 1px; }
.hero__alt { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 0; color: #9fb1c9; font-size: .95rem; }
.hero__alt a { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-weight: 700; text-decoration: none; }
.hero__alt a:hover { color: var(--orange); }
.hero__art { background: #fff; border-radius: var(--r-lg); padding: 18px; max-width: 420px; justify-self: center; width: 100%; }
.hero--simple .hero__inner { padding-bottom: 44px; }

/* Tarjeta-formulario de la cabecera */
.lead-card {
  position: relative; background: #fff; border-radius: var(--r-lg); padding: 26px 24px 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,.35); color: var(--ink); max-width: 460px; width: 100%; justify-self: end;
}
.lead-card::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: var(--orange); }
.lead-card__title { font-size: 1.35rem; font-weight: 800; color: var(--navy-800); letter-spacing: -.02em; margin: 0 0 2px; }
.lead-card__sub { color: var(--ink-3); font-size: .92rem; margin: 0 0 16px; }
.lead-card .field { margin-bottom: 12px; }
.lead-card .field label { font-size: .8rem; margin-bottom: 4px; }
.lead-card .field input, .lead-card .field select { padding: 11px 13px; }
.lead-card .field--check { margin: 14px 0 16px; }
.lead-card__trust { list-style: none; padding: 0; margin: 14px 0 0; display: flex; justify-content: center; gap: 18px; font-size: .8rem; color: var(--ink-3); font-weight: 600; }
.lead-card__trust li { display: inline-flex; align-items: center; gap: 6px; }
.lead-card__trust .icon { color: var(--green); }

/* ---------- Confianza ---------- */
.trust { border-bottom: 1px solid var(--line); background: #fff; }
.trust__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; padding-top: 22px; padding-bottom: 22px; }
.trust__item { display: flex; gap: 12px; align-items: center; }
.trust__item strong { display: block; color: var(--navy-800); font-size: .95rem; line-height: 1.25; }
.trust__item span:not(.tile) { display: block; font-size: .82rem; line-height: 1.35; color: var(--ink-3); margin-top: 2px; }

/* ---------- Secciones ---------- */
.section { padding: 64px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--navy-800); color: #c6d3e6; position: relative; overflow: hidden; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .eyebrow { color: var(--orange); }
.section--dark .section__head p:last-child { color: #c6d3e6; }
.section__head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section__head .eyebrow::before { display: none; }
.section__head p:last-child { color: var(--ink-2); margin-bottom: 0; font-size: 1.05rem; }
.section__head--left { margin-left: 0; text-align: left; }

/* ---------- Split (texto + imagen) ---------- */
.split { display: grid; gap: 36px; align-items: center; }
.split__art img { width: 100%; max-width: 520px; margin: 0 auto; }
.split__text > p { color: var(--ink-2); font-size: 1.04rem; }

/* ---------- Tarjetas ---------- */
.cards { display: grid; gap: 18px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow-xs);
  display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s;
}
.card:hover { box-shadow: var(--shadow-sm); }
.card p { color: var(--ink-2); margin-bottom: .6em; }
.card > .tile, .card__icon { margin-bottom: 16px; }
.card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--blue-50); color: var(--blue-600); }
.card__title { font-size: 1.12rem; margin-bottom: .55em; }
.card--link { text-decoration: none; color: inherit; }
.card--link:hover { transform: translateY(-4px); color: inherit; }
.card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue-600); font-size: .93rem; }

/* Servicios con ilustración */
.svc-grid { display: grid; gap: 20px; }
.svc {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--blue-100); color: inherit; }
.svc__art { background: linear-gradient(160deg, var(--blue-50), #fff); padding: 16px 24px 0; }
.svc__art img { width: 100%; max-height: 170px; object-fit: contain; transition: transform .35s; }
.svc:hover .svc__art img { transform: scale(1.04); }
.svc__body { display: flex; flex-direction: column; flex: 1; padding: 20px 24px 24px; }
.svc__title { font-size: 1.12rem; margin-bottom: .45em; }
.svc__body p { color: var(--ink-2); font-size: .95rem; }
.svc__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue-600); font-size: .92rem; }
.svc:hover .svc__more, .bento__main:hover .svc__more { color: var(--orange-600); }

/* Bento portada */
.bento { display: grid; gap: 16px; }
.bento__main, .bento__item { text-decoration: none; color: inherit; border-radius: var(--r-lg); transition: transform .25s, box-shadow .25s; }
.bento__main:hover, .bento__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.bento__main {
  display: grid; gap: 10px; padding: 30px; overflow: hidden; position: relative;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-700)); color: #c6d3e6;
}
.bento__main h3 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 14px 0 .4em; }
.bento__main p { color: #c6d3e6; max-width: 30em; }
.bento__main img { width: 100%; max-width: 340px; justify-self: end; }
.bento__main .svc__more { color: #fff; }
.bento__price { display: block; margin: 4px 0 14px; color: #c6d3e6; }
.bento__price strong { font-size: 1.6rem; color: #fff; }
.bento__item { display: flex; flex-direction: column; padding: 20px; background: #fff; border: 1px solid var(--line); }
.bento__item img { width: 100%; max-height: 120px; object-fit: contain; margin-bottom: 12px; background: var(--blue-50); border-radius: 14px; padding: 8px; }
.bento__item h3 { font-size: 1.05rem; margin-bottom: .2em; }
.bento__item p { font-size: .88rem; color: var(--ink-3); margin: 0; }

/* Detecta */
.detect { display: grid; gap: 14px; }
.detect__item { padding: 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.detect__item:hover { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.detect__item .tile { margin-bottom: 14px; }
.detect__item h3 { font-size: 1.08rem; margin-bottom: .3em; }
.detect__item p { color: var(--ink-2); font-size: .94rem; margin: 0; }

/* Informe de ejemplo */
.report { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; max-width: 520px; margin: 0 auto; width: 100%; }
.report__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; background: var(--navy-800); color: #fff; }
.report__label { display: block; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.report__head strong { font-size: .98rem; }
.report__score { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: conic-gradient(var(--green) 84%, rgba(255,255,255,.15) 0); position: relative; flex-shrink: 0; }
.report__score::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--navy-800); }
.report__score span, .report__score small { position: relative; line-height: 1; }
.report__score span { font-size: 1.15rem; font-weight: 800; margin-top: 8px; }
.report__score small { font-size: .75rem; color: #9fb1c9; margin-top: -14px; }
.report__rows { list-style: none; margin: 0; padding: 10px 22px; }
.report__rows li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.report__rows li:last-child { border-bottom: 0; }
.report__row { flex: 1; }
.report__row-top { display: flex; justify-content: space-between; font-size: .9rem; color: var(--navy-800); }
.report__row-top span { font-weight: 700; color: var(--ink-3); }
.report__row small { color: var(--ink-3); font-size: .8rem; }
.dot { width: 12px; height: 12px; border-radius: 50%; margin-top: 5px; flex-shrink: 0; }
.dot--ok { background: var(--green); box-shadow: 0 0 0 4px var(--green-100); }
.dot--warn { background: var(--orange); box-shadow: 0 0 0 4px var(--orange-100); }
.bar { display: block; height: 6px; border-radius: 6px; background: var(--bg-alt); margin: 7px 0 5px; overflow: hidden; }
.bar__fill { display: block; height: 100%; border-radius: 6px; }
.bar__fill--ok { background: linear-gradient(90deg, #34c47c, var(--green)); }
.bar__fill--warn { background: linear-gradient(90deg, #ffb066, var(--orange)); }
.report__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 14px 22px; background: var(--bg-alt); font-size: .85rem; color: var(--ink-2); font-weight: 600; }
.report__foot span { display: inline-flex; align-items: center; gap: 6px; }
.report__foot .pill { margin-left: auto; }

/* ---------- Contenido largo ---------- */
.content-grid { display: grid; gap: 40px; }
.prose { max-width: 72ch; font-size: 1.03rem; color: #26334a; overflow-wrap: break-word; }
.prose > h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin-top: 2em; padding-top: 1.2em; border-top: 1px solid var(--line);
}
.prose > h2:first-child, .prose > .eyebrow + h2, .prose > .post-meta + .toc + h2 { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { margin-top: 1.5em; font-size: 1.15rem; }
.prose ul:not([class]) { list-style: none; padding: 0; display: grid; gap: 10px; }
.prose ul:not([class]) > li { position: relative; padding-left: 30px; }
.prose ul:not([class]) > li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a9d5a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.prose ol:not([class]) { padding-left: 1.3em; }
.prose ol:not([class]) li { margin-bottom: .5em; padding-left: .3em; }
.prose ol:not([class]) li::marker { color: var(--orange-600); font-weight: 800; }
.prose strong { color: var(--navy-800); }
.prose table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1.4em 0 1.8em; font-size: .94rem; display: block; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.prose th, .prose td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { background: var(--navy-800); color: #fff; font-weight: 700; white-space: nowrap; }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose tbody tr:nth-child(even) { background: var(--bg-alt); }
.prose blockquote { margin: 1.4em 0; padding: 18px 22px; border-left: 4px solid var(--orange); background: var(--orange-50); border-radius: 0 14px 14px 0; }
.callout { display: flex; gap: 14px; padding: 20px 22px; border-radius: 16px; background: var(--blue-50); border: 1px solid var(--blue-100); margin: 1.6em 0; }
.callout > .icon { color: var(--blue-600); margin-top: 2px; }
.callout p:last-child, .callout div > :last-child { margin: 0; }
.callout--warn { background: var(--orange-50); border-color: var(--orange-100); }
.callout--warn > .icon { color: var(--orange-600); }

.sidebar { display: grid; gap: 18px; align-content: start; }
.sidebar__box {
  position: relative; overflow: hidden; border-radius: var(--r); padding: 26px; color: #c6d3e6;
  background: linear-gradient(155deg, var(--navy-800), var(--navy-700));
}
.sidebar__box::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: rgba(255,138,31,.18); }
.sidebar__box h2, .sidebar__box h3, .sidebar__box .h { position: relative; color: #fff; font-size: 1.25rem; font-weight: 800; margin-bottom: .45em; letter-spacing: -.02em; }
.sidebar__box p { position: relative; }
.sidebar__box .btn { width: 100%; margin-top: 10px; position: relative; }
.related { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; }
.related__title { font-weight: 800; color: var(--navy-800); margin-bottom: 6px; font-size: .95rem; }
.related ul { list-style: none; padding: 0; margin: 0; }
.related li + li { border-top: 1px solid var(--line); }
.related a { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 0; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .93rem; }
.related a:hover { color: var(--orange-600); }
.related .icon { color: var(--ink-3); transition: transform .2s; }
.related a:hover .icon { transform: translateX(3px); color: var(--orange-600); }

/* ---------- Pasos ---------- */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 26px; position: relative; }
.timeline__item { position: relative; text-align: center; padding: 0 8px; }
.timeline__icon {
  position: relative; display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 24px;
  background: #fff; color: var(--blue-600); border: 1px solid var(--line); box-shadow: var(--shadow-sm); z-index: 1;
}
.timeline__icon .icon { width: 32px; height: 32px; }
.timeline__num {
  position: absolute; top: -8px; right: -8px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--orange); color: #fff; font-size: .85rem; font-weight: 800; box-shadow: 0 4px 12px rgba(255,138,31,.4);
}
.timeline__item h3 { margin-bottom: .35em; }
.timeline__item p { color: var(--ink-2); font-size: .95rem; margin: 0 auto; max-width: 24em; }
/* Pasos antiguos (páginas que usan marcado propio) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.steps__item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow-xs); }
.steps__num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--orange); color: #fff; font-weight: 800; margin-bottom: 12px; }
.steps__item p { color: var(--ink-2); margin: 0; }

/* ---------- Precios ---------- */
.pricing { display: grid; gap: 20px; align-items: stretch; }
.price-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 26px;
  display: flex; flex-direction: column; box-shadow: var(--shadow-xs);
}
.price-card > .tile { margin-bottom: 16px; }
.price-card h3 { font-size: 1.1rem; }
.price-card .checks { margin-bottom: 1.6em; }
.price-card .btn { margin-top: auto; }
.price-card--featured { border: 2px solid var(--orange); box-shadow: var(--shadow); }
.price-card__badge {
  position: absolute; top: -13px; left: 26px; background: var(--orange); color: #fff; font-size: .74rem; font-weight: 800;
  padding: 5px 12px; border-radius: 999px; white-space: nowrap;
}
.price-card__price { font-size: 2.7rem; font-weight: 800; color: var(--navy-800); line-height: 1; margin: .1em 0 .6em; letter-spacing: -.03em; }
.price-card__price small { font-size: .9rem; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }
.extras { margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; font-size: .9rem; }
.extras__title { font-weight: 800; color: var(--navy-800); align-self: center; }
.extras__item { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; color: var(--ink-2); }
.extras__item strong { color: var(--orange-600); margin-left: 4px; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; gap: 30px; }
.faq-layout__head p { color: var(--ink-2); }
.faq-layout__head .eyebrow::before { display: none; }
.faq { display: grid; gap: 10px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s, box-shadow .2s; }
.faq__item[open] { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { margin: 0; font-size: 1rem; font-weight: 700; }
.faq__plus { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-alt); flex-shrink: 0; transition: background .2s; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--navy-800); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .2s; }
.faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__plus { background: var(--orange); }
.faq__item[open] .faq__plus::before, .faq__item[open] .faq__plus::after { background: #fff; }
.faq__item[open] .faq__plus::after { transform: translate(-50%, -50%) rotate(0); }
.faq__answer { padding: 0 22px 20px; color: var(--ink-2); }
.faq__answer p { margin: 0; }
.faq__chev { display: none; }

/* ---------- CTA final ---------- */
.cta-final {
  position: relative; overflow: hidden; color: #c6d3e6; padding: 72px 0;
  background:
    radial-gradient(600px 360px at 100% 100%, rgba(255,138,31,.28), transparent 60%),
    radial-gradient(600px 360px at 0% 0%, rgba(47,116,217,.35), transparent 60%),
    var(--navy-900);
}
.cta-final__inner { display: grid; gap: 28px; align-items: center; }
.cta-final h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin-bottom: .35em; max-width: 18em; }
.cta-final p { font-size: 1.1rem; margin: 0; max-width: 34em; }
.cta-final__actions { display: grid; gap: 16px; justify-items: start; }
.cta-final__alt { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.cta-final__alt a { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; text-decoration: none; font-size: 1.05rem; }
.cta-final__alt a:hover { color: var(--orange); }
.cta-wrap { padding: 0 0 64px; }

/* ---------- Ciudades ---------- */
.city-chips { list-style: none; padding: 0; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; }
.city-chips a {
  display: inline-flex; align-items: center; gap: 7px; padding: 10px 16px; border-radius: 999px; font-size: .93rem; font-weight: 600;
  background: #fff; border: 1px solid var(--line); color: var(--navy-800); text-decoration: none; transition: border-color .2s, color .2s;
}
.city-chips a:hover { border-color: var(--orange); color: var(--orange-600); }
.city-chips .icon { color: var(--blue-600); }
.city-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.city-list a { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; transition: border-color .2s, color .2s; }
.city-list a:hover { border-color: var(--orange); color: var(--orange-600); }
.city-list .icon { color: var(--blue-600); }
.area-tags { list-style: none !important; padding: 0 !important; display: flex !important; flex-wrap: wrap; gap: 8px !important; }
.area-tags li { background: var(--blue-50); color: var(--navy-700); border-radius: 999px; padding: 5px 13px !important; font-size: .9rem; font-weight: 600; }
.area-tags li::before { display: none; }

/* ---------- Ventajas ---------- */
.benefits { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 22px; }
.benefits li { display: flex; gap: 16px; align-items: flex-start; }
.benefits h3 { font-size: 1.08rem; margin: 2px 0 .25em; }
.benefits p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.section__more { text-align: center; margin: 40px 0 0; }

/* ---------- Comparativa / estadísticas ---------- */
.compare { display: grid; gap: 18px; }
.compare__col { border-radius: var(--r); padding: 24px; border: 1px solid var(--line); background: #fff; }
.compare__col h3 { font-size: 1.05rem; }
.compare__col--bad { background: #fff7f6; border-color: #f8d9d4; }
.compare__col--good { background: #f2fbf6; border-color: #c6ebd6; }
.compare__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .95rem; }
.compare__col li { display: flex; gap: 10px; padding-left: 0 !important; }
.compare__col li::before { display: none; }
.compare__col--bad .icon { color: var(--red); margin-top: .2em; }
.compare__col--good .icon { color: var(--green); margin-top: .2em; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; text-align: center; }
.stats__num { display: block; font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 800; color: var(--orange); line-height: 1.1; letter-spacing: -.03em; }
.stats__label { color: #c6d3e6; font-size: .92rem; }

/* ---------- Formulario ---------- */
.section--form { background: var(--bg-alt); }
.form-wrap { display: grid; gap: 34px; align-items: start; }
.form-wrap__info .eyebrow::before { display: none; }
.form-wrap__info > p { color: var(--ink-2); font-size: 1.05rem; }
.form-wrap__list { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 14px; }
.form-wrap__list li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--navy-800); }
.form-wrap__direct { display: flex; flex-wrap: wrap; gap: 10px; }
.form-wrap__direct a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--navy-800); text-decoration: none; }
.form-wrap__direct a:hover { border-color: var(--navy-800); }
.form-wrap__direct a:last-child .icon { color: var(--wa-600); }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow); }
.form__grid { display: grid; gap: 14px; margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .86rem; margin-bottom: 6px; color: var(--navy-800); }
.field__opt { font-weight: 500; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg-alt);
  border: 1.5px solid transparent; border-radius: 12px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #9aa6b8; }
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(47,116,217,.14); background: #fff; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--red); background: #fff; }
.field__error { color: #c0392b; font-size: .82rem; margin: 4px 0 0; }
.field--check { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }
.field--check input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--orange); }
.field--check label { flex: 1; font-weight: 500; color: var(--ink-2); margin: 0; font-size: .9rem; }
.field--check .field__error { width: 100%; }
.field--hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__legal { font-size: .76rem; color: var(--ink-3); margin: 12px 0 0; }
.form__alert { padding: 12px 16px; border-radius: 12px; margin-bottom: 16px; font-weight: 600; }
.form__alert--error { background: #fdecea; color: #a5281b; }

/* ---------- Blog ---------- */
.post-list { display: grid; gap: 20px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card h2, .post-card h3 { font-size: 1.2rem; }
.post-card h2 a, .post-card h3 a { color: var(--navy-800); text-decoration: none; }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--orange-600); }
.post-meta { font-size: .86rem; color: var(--ink-3); margin-bottom: 1.2em; }
.toc { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 24px; margin: 0 0 2.2em; }
.toc__title { font-weight: 800; color: var(--navy-800); margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc li { margin-bottom: 4px; }
.toc a { text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .94rem; }
.toc a:hover { color: var(--orange-600); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: #9fb0c8; font-size: .93rem; padding-top: 60px; }
.footer a { color: #d5e0f0; text-decoration: none; }
.footer a:hover { color: var(--orange); }
.footer__grid { display: grid; gap: 34px; padding-bottom: 40px; }
.footer__title { color: #fff; font-weight: 800; margin: 0 0 14px; font-size: .95rem; }
.footer__title:not(:first-child) { margin-top: 24px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer__contact li, .footer__contact a { display: flex; align-items: center; gap: 8px; }
.footer__contact { margin-top: 16px !important; }
.footer__social { display: flex !important; gap: 14px !important; margin-top: 16px !important; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 18px 0 92px; font-size: .82rem; }
.footer__bottom p { margin: 0; }

/* ---------- CTA fijo móvil ---------- */
.sticky-cta {
  position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 90; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px;
  padding: 6px; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 10px 30px rgba(11,37,69,.18); margin-bottom: env(safe-area-inset-bottom);
}
.sticky-cta__btn { display: flex; align-items: center; justify-content: center; gap: 5px; padding: 11px 4px; border-radius: 13px; font-size: .8rem; white-space: nowrap; overflow: hidden; font-weight: 700; text-decoration: none; color: var(--navy-800); background: var(--bg-alt); }
.sticky-cta__btn .icon { width: 19px; height: 19px; }
.sticky-cta__btn--wa { color: var(--wa-600); }
.sticky-cta__btn--quote { background: var(--orange); color: #fff; }
.sticky-cta__btn--quote:hover { color: #fff; }

/* ---------- Cookies ---------- */
.cookie-banner { position: fixed; z-index: 200; left: 12px; right: 12px; bottom: 84px; max-width: 520px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 18px 20px; font-size: .9rem; }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin-bottom: 12px; color: var(--ink-2); }
.cookie-banner__actions { display: flex; gap: 10px; justify-content: flex-end; }

/* ---------- Utilidades ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (min-width: 640px) {
  .cards--services, .cards--3, .steps, .pricing, .svc-grid, .detect { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__main { grid-column: 1 / -1; }
  .form__grid { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
  .compare { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .trust__grid { grid-template-columns: repeat(4, 1fr); }
  .form { padding: 34px; }
}

@media (min-width: 900px) {
  :root { --gutter: 32px; }
  .topbar__inner { justify-content: space-between; }
  .topbar__contact { display: flex; }
  .section { padding: 96px 0; }
  .hero__inner { grid-template-columns: 1.15fr .85fr; padding-top: 64px; padding-bottom: 72px; gap: 56px; }
  .hero--simple .hero__inner { grid-template-columns: 1fr; max-width: 860px; }
  .cta-final__inner { grid-template-columns: 1.3fr .7fr; gap: 48px; }
  .cta-final__actions { justify-items: end; }
  .cta-final { padding: 96px 0; }
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split--rev .split__art { order: -1; }
  .cards--3, .svc-grid, .detect { grid-template-columns: repeat(3, 1fr); }
  .pricing { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .timeline { grid-template-columns: repeat(4, 1fr); }
  .timeline::before { content: ""; position: absolute; top: 38px; left: 12.5%; right: 12.5%; border-top: 2px dashed #c9d5e6; }
  .bento { grid-template-columns: repeat(4, 1fr); }
  .bento__main { grid-column: span 2; grid-row: span 2; align-content: space-between; padding: 36px; }
  .bento__item:nth-last-child(-n+2) { grid-column: span 2; flex-direction: row; align-items: center; gap: 18px; }
  .bento__item:nth-last-child(-n+2) img { width: 42%; max-height: 110px; margin: 0; }
  .content-grid { grid-template-columns: minmax(0, 1fr) 330px; gap: 64px; }
  .sidebar { position: sticky; top: 96px; }
  .form-wrap { grid-template-columns: .85fr 1.15fr; gap: 64px; }
  .faq-layout { grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
  .faq-layout__head { position: sticky; top: 100px; }
  .footer__grid { grid-template-columns: 1.5fr repeat(4, 1fr); }
  .footer__bottom { padding-bottom: 18px; }
  .sticky-cta { display: none; }
  .cookie-banner { bottom: 20px; left: 20px; }
}

@media (min-width: 1120px) {
  .header { background: rgba(255,255,255,.92); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); }
  .nav-toggle { display: none; }
  .brand__mark { width: 52px; height: 52px; }
  .brand__name { font-size: 1.75rem; }
  .header__inner { min-height: 86px; }
  .nav { position: static; transform: none; visibility: visible; opacity: 1; padding: 0; overflow: visible; background: none; display: flex; align-items: center; gap: 18px; flex: 1; justify-content: space-between; margin-left: 28px; }
  .nav__list { display: flex; gap: 2px; margin: 0; }
  .nav__item { border: 0; flex-wrap: nowrap; }
  .nav__link { padding: 10px 11px; font-size: .94rem; border-radius: 10px; }
  .nav__link:hover { background: var(--bg-alt); }
  .nav__item--has-sub .nav__link { padding-right: 4px; }
  .nav__sub-toggle { padding: 4px 6px 4px 0; }
  .nav__sub {
    position: absolute; top: calc(100% + 10px); left: -10px; width: 300px; padding: 10px; display: block;
    background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
  .nav__sub--wide { width: 560px; }
  .nav__sub--wide .nav__mega { grid-template-columns: 1fr 1fr; }
  .nav__item--has-sub:hover .nav__sub, .nav__item--has-sub:focus-within .nav__sub, .nav__sub.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__actions { display: flex; align-items: center; gap: 14px; }
  .nav__phone { border: 0; padding: 0; font-size: .92rem; }
  .nav__phone span { display: none; }
  .nav { margin-left: 20px; gap: 12px; }
  .nav__link { padding: 10px 9px; }
  .nav__cta { width: auto; }
}

@media (min-width: 1280px) {
  .nav__phone span { display: inline; }
  .nav__link { padding: 10px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .topbar, .header, .sticky-cta, .cookie-banner, .cta-wrap, .section--form, .footer { display: none !important; }
}

/* Evitar el zoom automático de iOS: los campos nunca por debajo de 16px */
input, select, textarea { font-size: max(16px, 1em); }
.field input, .field select, .field textarea { font-size: 16px; }

/* ---------- Barra de administración (solo con sesión iniciada) ---------- */
.admin-bar { position: fixed; z-index: 300; left: 16px; bottom: 16px; display: flex; gap: 10px; align-items: center; background: var(--navy-950); color: #fff; padding: 8px 10px; border-radius: 12px; box-shadow: var(--shadow-lg); font-size: .85rem; }
.admin-bar a { color: #fff; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 8px; background: var(--orange); }
.admin-bar span { color: #ffd2a8; padding-right: 4px; }
@media (max-width: 899px) { .admin-bar { bottom: 84px; } }

/* ---------- Imagen (bloque) ---------- */
.section--tight { padding: 32px 0; }
.figure { margin: 0; }
.figure img { width: 100%; height: auto; border-radius: var(--r); }
.figure figcaption { margin-top: 10px; font-size: .9rem; color: var(--ink-3); text-align: center; }
.figure--full .figure img { border-radius: 0; }
.prose img { height: auto; border-radius: 14px; margin: 1.4em 0; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: .9rem; color: var(--ink-3); margin-top: 8px; text-align: center; }
.prose--wide { max-width: none; }
.post-card__img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 12px; margin-bottom: 14px; }

/* ---------- Ajustes móviles (desbordamientos) ---------- */
/* Los elementos de rejilla no deben crecer más que su columna (tablas, palabras largas) */
.content-grid > *, .split > *, .form-wrap > *, .faq-layout > *, .hero__inner > *, .cta-final__inner > *, .footer__grid > * { min-width: 0; }
h1, h2, h3 { overflow-wrap: break-word; }
.prose table { -webkit-overflow-scrolling: touch; max-width: 100%; }
@media (max-width: 639px) { .prose td { min-width: 9.5em; } .prose th, .prose td { padding: 10px 12px; } }
.form-wrap__direct a { flex: 1 1 auto; justify-content: center; }
@media (max-width: 399px) {
  .trust__grid { grid-template-columns: 1fr; gap: 14px; }
  .form { padding: 20px 16px; }
  .lead-card { padding: 22px 16px 18px; }
  .lead-card::before { left: 16px; right: 16px; }
  .hero h1 { font-size: 1.85rem; }
  .card, .compare__col, .detect__item { padding: 20px; }
  .faq__item summary { padding: 16px 16px; }
  .faq__answer { padding: 0 16px 18px; }
}
@media (max-width: 359px) {
  .sticky-cta { left: 6px; right: 6px; gap: 4px; padding: 5px; }
  .sticky-cta__btn { font-size: .74rem; gap: 4px; padding: 11px 2px; }
  .sticky-cta__btn .icon { width: 16px; height: 16px; }
  .topbar__msg { font-size: .76rem; text-align: center; }
}

/* =========================================================
   Bloques v2
   ========================================================= */

/* ---------- Columnas ---------- */
.cols { display: grid; gap: 28px; }
.cols--va-top { align-items: start; }
.cols--va-center { align-items: center; }
.cols--va-bottom { align-items: end; }
.cols__col { min-width: 0; }
.cols__col > .tile { margin-bottom: 16px; }
.cols__title { font-size: 1.2rem; margin-bottom: .5em; }
.cols .prose { font-size: 1rem; }
.cols .prose > :last-child { margin-bottom: 0; }
.cols--card .cols__col { height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow-xs); }
.cols--card.cols--va-center .cols__col, .cols--card.cols--va-bottom .cols__col { height: auto; }
@media (min-width: 768px) {
  .cols--2, .cols--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .cols--card { gap: 20px; }
}
@media (min-width: 900px) {
  .cols--2 { gap: 56px; }
  .cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
  .cols--card { gap: 22px; }
}

/* ---------- Galería ---------- */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery--c2 { grid-template-columns: minmax(0, 1fr); }
.gallery__item { min-width: 0; }
.gallery__fig { margin: 0; }
.gallery__img { width: 100%; border-radius: 16px; background: linear-gradient(160deg, var(--blue-50), #fff); }
.gallery--grid .gallery__img { aspect-ratio: 4 / 3; object-fit: cover; }
.gallery--square .gallery__img { aspect-ratio: 1; object-fit: cover; }
.gallery--masonry { display: block; columns: 2; column-gap: 14px; }
.gallery--masonry.gallery--c2 { columns: 1; }
.gallery--masonry .gallery__item { break-inside: avoid; margin-bottom: 14px; }
.gallery__link { display: block; position: relative; overflow: hidden; border-radius: 16px; }
.gallery__link img { transition: transform .45s ease; }
.gallery__link::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0; transition: opacity .25s;
  background: rgba(7,26,51,.38) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5M11 8v6M8 11h6'/%3E%3C/svg%3E") center / 42px no-repeat;
}
.gallery__link:hover::after, .gallery__link:focus-visible::after { opacity: 1; }
.gallery__link:hover img { transform: scale(1.04); }
.gallery__fig figcaption { margin-top: 8px; font-size: .88rem; color: var(--ink-3); text-align: center; line-height: 1.4; }

@media (min-width: 640px) {
  .gallery { gap: 18px; }
  .gallery--c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery--c3, .gallery--c4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery--masonry { column-gap: 18px; }
  .gallery--masonry .gallery__item { margin-bottom: 18px; }
  .gallery--masonry.gallery--c2 { columns: 2; }
  .gallery--masonry.gallery--c3, .gallery--masonry.gallery--c4 { columns: 3; }
}
@media (min-width: 1024px) {
  .gallery--c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gallery--masonry.gallery--c4 { columns: 4; }
}

/* Visor de imágenes (lightbox) */
.lb { position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center; padding: 64px 12px 84px; background: rgba(6,20,40,.94); }
.lb[hidden] { display: none; }
.lb__fig { margin: 0; display: flex; flex-direction: column; align-items: center; max-width: 1100px; width: 100%; }
.lb__img { width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 190px); border-radius: 12px; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.lb__cap { margin: 14px 0 0; color: #d5e0f0; text-align: center; font-size: .95rem; max-width: 50em; }
.lb__cap:empty { display: none; }
.lb__count { position: absolute; top: 22px; left: 20px; color: #9fb1c9; font-size: .85rem; font-weight: 700; }
.lb__btn {
  position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; padding: 0;
  background: rgba(255,255,255,.12); color: #fff; cursor: pointer; transition: background .2s;
}
.lb__btn:hover { background: var(--orange); }
.lb__btn svg { width: 24px; height: 24px; }
.lb__close { top: 12px; right: 12px; }
.lb__prev, .lb__next { bottom: 18px; }
.lb__prev { left: calc(50% - 60px); }
.lb__next { right: calc(50% - 60px); }
.lb__btn[hidden] { display: none; }
html.lb-open, html.lb-open body { overflow: hidden; }
@media (min-width: 900px) {
  .lb { padding: 64px 96px; }
  .lb__img { max-height: calc(100vh - 150px); }
  .lb__prev, .lb__next { bottom: auto; top: 50%; transform: translateY(-50%); }
  .lb__prev { left: 24px; }
  .lb__next { right: 24px; }
}

/* ---------- Vídeo ---------- */
.video { margin: 0; }
.video__frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow);
  background: radial-gradient(500px 300px at 85% 0%, rgba(47,116,217,.45), transparent 60%), linear-gradient(150deg, var(--navy-900), var(--navy-700));
}
.video__poster, .video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video__play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; text-decoration: none;
  background: linear-gradient(0deg, rgba(6,20,40,.72) 0%, rgba(6,20,40,.1) 55%, rgba(6,20,40,.05) 100%);
}
.video__play:hover { color: #fff; }
.video__play:focus-visible { outline-offset: -6px; border-radius: var(--r-lg); }
.video__btn {
  display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: var(--orange); color: #fff;
  box-shadow: 0 0 0 10px rgba(255,138,31,.25), 0 14px 34px rgba(0,0,0,.35); transition: transform .2s, background .2s;
}
.video__btn svg { margin-left: 4px; }
.video__play:hover .video__btn, .video__play:focus-visible .video__btn { transform: scale(1.08); background: var(--orange-600); }
.video__title { position: absolute; left: 20px; right: 20px; bottom: 16px; font-weight: 700; font-size: .98rem; line-height: 1.35; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.video__caption { margin-top: 14px; color: var(--ink-3); font-size: .93rem; text-align: center; }
@media (max-width: 639px) {
  .video__frame { border-radius: var(--r); }
  .video__btn { width: 60px; height: 60px; }
  .video__title { font-size: .88rem; left: 14px; right: 14px; bottom: 10px; }
}

/* ---------- Opiniones ---------- */
.testi { display: grid; gap: 18px; }
.testi--slider {
  grid-auto-flow: column; grid-auto-columns: 86%; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 6px 4px 20px; margin: -6px -4px 0; scrollbar-width: thin; scrollbar-color: #c9d5e6 transparent;
}
.testi--slider > .tcard { scroll-snap-align: start; }
.testi--slider:focus-visible { outline-offset: 2px; }
.tcard {
  position: relative; margin: 0; display: flex; flex-direction: column; gap: 14px; min-width: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow-xs);
}
.tcard::before { content: "\201C"; position: absolute; top: 4px; right: 22px; font-size: 4.6rem; line-height: 1; font-weight: 800; color: var(--blue-100); pointer-events: none; }
.tcard__stars { display: flex; gap: 2px; }
.tcard__star { width: 18px; height: 18px; fill: #d6dde8; }
.tcard__star.is-on { fill: #ffb020; }
.tcard__quote { position: relative; margin: 0; flex: 1; color: var(--ink); font-size: 1.01rem; line-height: 1.6; }
.tcard__quote p { margin: 0; }
.tcard > .tcard__quote:first-child { padding-right: 40px; }
.tcard__author { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.tcard__photo, .tcard__avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.tcard__avatar { display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); font-weight: 800; font-size: .92rem; }
.tcard__who { min-width: 0; line-height: 1.35; }
.tcard__who strong { display: block; color: var(--navy-800); font-size: .95rem; }
.tcard__who span { display: block; color: var(--ink-3); font-size: .85rem; }

@media (min-width: 640px) {
  .testi--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .testi--slider { grid-auto-columns: calc((100% - 18px) / 2); }
}
@media (min-width: 900px) {
  .testi { gap: 22px; }
  .testi--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .testi--slider { grid-auto-columns: calc((100% - 44px) / 3); }
}

/* ---------- Cifras ---------- */
.statband { padding: 56px 0; }
.statband--dark { background: radial-gradient(600px 320px at 0% 0%, rgba(47,116,217,.35), transparent 60%), radial-gradient(500px 300px at 100% 100%, rgba(255,138,31,.18), transparent 60%), var(--navy-800); }
.statband--light { background: var(--bg-alt); }
@media (min-width: 900px) { .statband { padding: 76px 0; } }
.statband__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 30px 18px; text-align: center; }
.statband__item { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; }
.statband__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 8px; background: rgba(255,255,255,.08); color: var(--orange); }
.statband__icon .icon { width: 24px; height: 24px; }
.statband__num { font-size: clamp(2rem, 5vw, 2.9rem); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; color: var(--orange); }
.statband__label { font-size: .95rem; line-height: 1.4; color: #c6d3e6; max-width: 16em; }
.statband--light .statband__icon { background: #fff; color: var(--blue-600); box-shadow: var(--shadow-xs); }
.statband--light .statband__num { color: var(--navy-800); }
.statband--light .statband__label { color: var(--ink-2); }

/* ---------- Aviso destacado ---------- */
.notice { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border-radius: var(--r); border: 1px solid var(--blue-100); border-left: 5px solid var(--blue-600); background: var(--blue-50); color: var(--ink-2); }
.notice__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0; background: #fff; color: var(--blue-600); box-shadow: var(--shadow-xs); }
.notice__icon .icon { width: 22px; height: 22px; }
.notice__body { min-width: 0; padding-top: 8px; }
.notice__title { margin: 0 0 .35em; font-weight: 800; font-size: 1.05rem; line-height: 1.35; color: var(--navy-800); }
.notice__text > :last-child { margin-bottom: 0; }
.notice__text a { font-weight: 600; }
.notice--success { background: #effaf4; border-color: #c6ebd6; border-left-color: var(--green); }
.notice--success .notice__icon { color: var(--green); }
.notice--warning { background: var(--orange-50); border-color: var(--orange-100); border-left-color: var(--orange); }
.notice--warning .notice__icon { color: var(--orange-600); }
.notice--important { background: #fff4f3; border-color: #f8d9d4; border-left-color: var(--red); }
.notice--important .notice__icon { color: var(--red); }
@media (max-width: 639px) { .notice { padding: 18px; gap: 12px; } .notice__icon { width: 38px; height: 38px; } .notice__body { padding-top: 6px; } }

/* ---------- Botones ---------- */
.btn-row--left { justify-content: flex-start; }
.btn-row--center { justify-content: center; }
.btn-row--right { justify-content: flex-end; }
.btn--phone .icon { color: var(--orange-600); }
@media (max-width: 639px) { .buttons-block .btn-row > .btn, .banner .btn-row > .btn { flex: 1 1 100%; } }

/* ---------- Tarjetas (bloque) ---------- */
@media (min-width: 640px) { .cards--2, .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cards-block .card { min-width: 0; }
.cards-block .card .tile { margin-bottom: 16px; }
.cards--shadow .card { border-color: transparent; box-shadow: var(--shadow-sm); }
.cards--shadow .card:hover { box-shadow: var(--shadow); }
.cards--filled .card { background: var(--bg-alt); border-color: transparent; box-shadow: none; }
.cards--filled .card .tile { background: #fff; }
.section--alt .cards--filled .card, .blk--bg-alt .cards--filled .card { background: #fff; }
.card__media { display: block; margin: -26px -26px 20px; overflow: hidden; border-radius: var(--r) var(--r) 0 0; background: linear-gradient(160deg, var(--blue-50), #fff); }
.card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .35s; }
.card__media img[src$=".svg"] { object-fit: contain; padding: 14px 20px 0; }
.card--linked { position: relative; }
.card--linked:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card--linked:hover .card__media img { transform: scale(1.04); }
.card--linked:focus-within { outline: 3px solid var(--orange); outline-offset: 3px; }
.card__link { color: inherit; text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.card__link:focus-visible { outline: none; }
.card--linked:hover .card__title, .card--linked:hover .card__more { color: var(--orange-600); }
.cards-block .card__more { padding-top: 6px; }
@media (max-width: 399px) { .card__media { margin: -20px -20px 18px; } }

/* ---------- Desplegables ---------- */
.acc__body { color: var(--ink-2); }
.faq__answer.acc__body p { margin: 0 0 .8em; }
.acc__body > :last-child, .faq__answer.acc__body > p:last-child { margin-bottom: 0; }
.acc__body ul, .acc__body ol { margin: 0 0 .8em; }

/* ---------- Contacto ---------- */
.contact { display: grid; gap: 32px; align-items: start; }
.contact > * { min-width: 0; }
.contact__info .eyebrow::before { display: none; }
.contact__text { color: var(--ink-2); font-size: 1.05rem; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow); color: var(--ink); }
.contact__info .contact-card { margin-top: 26px; }
.contact-card__list { font-style: normal; }
.contact-card__list ul { list-style: none; margin: 0; padding: 0; }
.contact-card__list li { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.contact-card__list li:first-child { padding-top: 0; }
.contact-card__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-card__row { display: flex; flex-direction: column; min-width: 0; line-height: 1.4; overflow-wrap: anywhere; color: var(--navy-800); font-weight: 600; }
.contact-card__row small { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 2px; }
.contact-card__row a { color: var(--navy-800); font-weight: 700; text-decoration: none; }
.contact-card__row a:hover { color: var(--orange-600); }
.contact-card .btn { margin-top: 20px; }
.contact__map { position: relative; min-height: 320px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: var(--bg-alt); }
.contact__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (min-width: 900px) {
  .contact { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .contact--map { align-items: stretch; }
  .contact__map { min-height: 460px; }
  .contact-card { padding: 30px; }
}

/* ---------- Separador ---------- */
.divider--sm { padding: 12px 0; }
.divider--md { padding: 28px 0; }
.divider--lg { padding: 56px 0; }
.divider__line { border: 0; height: 1px; margin: 0; background: var(--line); }
@media (min-width: 900px) { .divider--md { padding: 40px 0; } .divider--lg { padding: 80px 0; } }

/* ---------- Logotipos ---------- */
.logos-block { padding: 36px 0; }
.logos__title { text-align: center; margin: 0 0 20px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px 36px; }
.logos__item a { display: block; border-radius: 8px; }
.logos__img { height: 36px; width: auto; max-width: 140px; object-fit: contain; }
.logos--gray .logos__img { filter: grayscale(1); opacity: .55; transition: filter .25s, opacity .25s; }
.logos--gray .logos__item:hover .logos__img, .logos--gray a:focus-visible .logos__img { filter: none; opacity: 1; }
@media (min-width: 900px) { .logos { gap: 26px 60px; } .logos__img { height: 44px; max-width: 170px; } }

/* ---------- Banner con imagen ---------- */
.banner {
  position: relative; overflow: hidden; isolation: isolate; color: #d5e0f0;
  background:
    radial-gradient(800px 480px at 85% -10%, rgba(47,116,217,.45), transparent 60%),
    radial-gradient(600px 420px at -5% 110%, rgba(255,138,31,.2), transparent 60%),
    linear-gradient(165deg, var(--navy-900) 0%, var(--navy-800) 70%);
}
.banner:not(.banner--img)::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .35;
  background-image: radial-gradient(rgba(159,177,201,.35) 1px, transparent 1px); background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.banner__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.banner--light { --ov1: .72; --ov2: .15; }
.banner--medium { --ov1: .84; --ov2: .4; }
.banner--strong { --ov1: .93; --ov2: .72; }
.banner--img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,20,40,var(--ov1)) 0%, rgba(6,20,40,var(--ov2)) 100%); }
.banner--center.banner--img::after { background: linear-gradient(0deg, rgba(6,20,40,var(--ov1)), rgba(6,20,40,var(--ov2))); }
.banner__inner { padding-top: 64px; padding-bottom: 64px; }
.banner__content { max-width: 660px; }
.banner--center .banner__content { margin: 0 auto; text-align: center; }
.banner--center .btn-row { justify-content: center; }
.banner .eyebrow { color: var(--orange); }
.banner--center .eyebrow::before { display: none; }
.banner__title { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: .4em; }
.banner__title em { font-style: normal; color: var(--orange); }
.banner__text { font-size: 1.1rem; color: #d5e0f0; max-width: 36em; margin-bottom: 1.6em; }
.banner--center .banner__text { margin-left: auto; margin-right: auto; }
.banner .btn-row { margin-top: 4px; }
@media (min-width: 900px) { .banner__inner { padding-top: 112px; padding-bottom: 112px; } }

/* ---------- Vista previa del editor: bloque vacío ---------- */
.blk-empty { padding: 16px 0; }
.blk-empty p { display: flex; align-items: center; gap: 8px; margin: 0; padding: 14px 18px; border: 2px dashed #c9d5e6; border-radius: 14px; background: var(--bg-alt); color: var(--ink-3); font-size: .9rem; font-weight: 600; }

/* =========================================================
   Opciones de bloque (fondo, márgenes, visibilidad)
   Van al final para imponerse a los estilos propios de cada bloque.
   ========================================================= */
.blk--bg-white { background: #fff; }
.blk--bg-alt { background: var(--bg-alt); }
.blk--bg-dark { background: radial-gradient(700px 380px at 100% 0%, rgba(47,116,217,.3), transparent 60%), var(--navy-800); color: #c6d3e6; }
.blk--bg-brand { background: linear-gradient(135deg, #ffa24a 0%, var(--orange) 55%, #f57d10 100%); color: var(--navy-900); }
.blk.blk--bg-white, .blk.blk--bg-alt, .blk.blk--bg-dark, .blk.blk--bg-brand { padding-top: 1px; padding-bottom: 1px; }
.hero.blk--bg-white::before, .hero.blk--bg-alt::before, .hero.blk--bg-brand::before, .banner.blk--bg-white::before, .banner.blk--bg-alt::before, .banner.blk--bg-brand::before { display: none; }

/* Fondo claro u orange sobre bloques que son oscuros de por sí */
:is(.blk--bg-white, .blk--bg-alt, .blk--bg-brand):is(.hero, .cta-final, .section--dark, .banner:not(.banner--img)) { color: var(--ink-2); }
:is(.blk--bg-white, .blk--bg-alt, .blk--bg-brand):is(.hero, .cta-final, .section--dark, .banner:not(.banner--img)) :is(h1, h2, h3, .hero__checks li, .hero__alt a, .cta-final__alt a, .statband__num) { color: var(--navy-800); }
:is(.blk--bg-white, .blk--bg-alt, .blk--bg-brand):is(.hero, .cta-final, .section--dark, .banner:not(.banner--img)) :is(.lead, .hero__alt, .statband__label, .banner__text, .section__head p, p) { color: var(--ink-2); }
:is(.blk--bg-white, .blk--bg-alt, .blk--bg-brand):is(.hero, .cta-final, .section--dark, .banner:not(.banner--img)) :is(.lead-card, .form, .card) :is(h2, h3, p) { color: inherit; }
:is(.blk--bg-white, .blk--bg-alt, .blk--bg-brand) .statband__icon { background: var(--blue-50); color: var(--blue-600); }
:is(.blk--bg-white, .blk--bg-alt, .blk--bg-brand) .btn--outline-light { border-color: var(--navy-800); color: var(--navy-800); }
:is(.blk--bg-white, .blk--bg-alt, .blk--bg-brand) .btn--outline-light:hover { background: var(--navy-800); color: #fff; }

/* Fondo oscuro */
.blk--bg-dark :is(h1, h2, h3, h4) { color: #fff; }
.blk--bg-dark .eyebrow { color: var(--orange); }
.blk--bg-dark :is(.section__head p, .split__text > p, .benefits p, .timeline__item p, .faq-layout__head p, .form-wrap__info > p, .contact__text, .lead, .prose, .statband__label, .trust__item span, .logos__title, .video__caption, .gallery__fig figcaption, .figure figcaption, .post-meta, .hero__alt) { color: #c6d3e6; }
.blk--bg-dark :is(.prose strong, .trust__item strong, .form-wrap__list li, .hero__checks li) { color: #fff; }
.blk--bg-dark .prose a { color: #ffb066; }
.blk--bg-dark .statband__num { color: var(--orange); }
.blk--bg-dark .statband__icon { background: rgba(255,255,255,.08); color: var(--orange); }
.blk--bg-dark .divider__line { background: rgba(255,255,255,.14); }
.blk--bg-dark .timeline::before { border-color: rgba(255,255,255,.2); }
.blk--bg-dark .trust { border-color: transparent; }
/* Superficies blancas dentro de un fondo oscuro: recuperan sus colores */
.blk--bg-dark :is(.card, .svc, .faq__item, .form, .lead-card, .compare__col, .report, .related, .post-card, .tcard, .contact-card, .notice, .price-card, .detect__item, .bento__item, .cols--card .cols__col, .sidebar__box) { color: var(--ink); }
.blk--bg-dark :is(.card, .svc, .faq__item, .form, .lead-card, .compare__col, .related, .post-card, .tcard, .contact-card, .notice, .price-card, .detect__item, .bento__item, .cols--card .cols__col) :is(h1, h2, h3, h4) { color: var(--navy-800); }
.blk--bg-dark .cols--card .prose { color: #26334a; }
.blk--bg-dark .cols--card .prose strong { color: var(--navy-800); }
.blk--bg-dark .cols--card .prose a { color: var(--blue-600); }
.blk--bg-dark .sidebar__box :is(h2, h3, .h) { color: #fff; }

/* Fondo naranja (marca): texto azul marino para un buen contraste */
.blk--bg-brand .eyebrow { color: var(--navy-900); }
.blk--bg-brand :is(.section__head p, .split__text > p, .benefits p, .timeline__item p, .faq-layout__head p, .form-wrap__info > p, .contact__text, .lead, .prose, .statband__label, .logos__title, .video__caption, .gallery__fig figcaption, .figure figcaption, .hero__alt, .trust__item span) { color: var(--navy-900); }
.blk--bg-brand .prose a { color: var(--navy-900); text-decoration-thickness: 2px; }
.blk--bg-brand .btn--accent { background: var(--navy-800); box-shadow: 0 8px 22px rgba(7,26,51,.3); }
.blk--bg-brand .btn--accent:hover { background: var(--navy-900); }
.blk--bg-brand .statband__num, .blk--bg-brand .hero h1 em, .blk--bg-brand .banner__title em, .blk--bg-brand .cta-final h2 em { color: var(--navy-900); }
.blk--bg-brand .statband__icon { background: rgba(255,255,255,.3); color: var(--navy-900); }
.blk--bg-brand .divider__line { background: rgba(7,26,51,.2); }
.blk--bg-brand .tile { background: #fff; }

/* Márgenes verticales */
.blk--pad-none { padding-top: 0; padding-bottom: 0; }
.blk--pad-compact { padding-top: 32px; padding-bottom: 32px; }
.blk--pad-large { padding-top: 88px; padding-bottom: 88px; }
.blk--pad-none :is(.hero__inner, .banner__inner) { padding-top: 0; padding-bottom: 0; }
.blk--pad-compact :is(.hero__inner, .banner__inner) { padding-top: 32px; padding-bottom: 32px; }
@media (min-width: 900px) {
  .blk--pad-compact { padding-top: 48px; padding-bottom: 48px; }
  .blk--pad-large { padding-top: 140px; padding-bottom: 140px; }
  .blk--pad-compact :is(.hero__inner, .banner__inner) { padding-top: 48px; padding-bottom: 48px; }
}

/* Visibilidad por dispositivo */
@media (max-width: 639.98px) { .hide-mobile { display: none !important; } }
@media (min-width: 900px) { .hide-desktop { display: none !important; } }

/* Texto pequeño (estilo del editor) */
.prose .small-note { font-size: .88rem; color: var(--ink-3); }
.prose .btn { text-decoration: none; margin: .2em 0; }
.prose .btn--accent, .prose .btn--primary, .prose .btn--wa { color: #fff; }

.faq__answer p + p, .faq__answer p + ul, .faq__answer ul + p { margin-top: .8em; }
