/* Container 58 · estilos del sitio
   Identidad: lateral de contenedor (naranja con nervaduras), acero claro y oscuro, todo recto.
   Tipografías: Archivo comprimida (títulos), IBM Plex Sans (texto), IBM Plex Mono (datos). */
:root {
  --brand: #c94a17; --brand-deep: #a63c12; --on-brand: #ffffff;
  --ink: #1d2427; --page: #d9dddd; --surface: #ffffff; --soft: #eceeee;
  --muted: #535d61; --line: #c4cacc; --steel: #2b6577;
  --cg: #5d676b; --cg-dark: #3e4649; --cg-light: #8a9597;
  --good: #1f7a4d; --good-bg: #e3f4ea; --warn: #9a5b00; --warn-bg: #fff1d9; --critical: #c8322b;
  --t1: #1f8a4c; --t2: #7fb53b; --t3: #e3b417; --t4: #e77f1f; --t5: #c8322b; --t0: #c3cbd1;
  --g1: #8394a1; --g2: #2b6577; --g3: #c94a17; --g4: #b9871f; --g5: #6b4fa0; --g6: #2f8a5c; --g7: #a23b5e;
  --display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --ribs: repeating-linear-gradient(90deg, rgba(0,0,0,.22) 0 3px, rgba(0,0,0,.06) 3px 11px, rgba(255,255,255,.22) 11px 13px, rgba(255,255,255,.05) 13px 24px);
  --radius: 8px;
  --shadow: 0 1px 3px rgba(19,32,42,.10), 0 4px 14px rgba(19,32,42,.08);
  --shadow-lg: 0 10px 30px rgba(19,32,42,.16);
  --tint: #fde8dc;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --brand: #ec7340; --brand-deep: #c45a2a; --on-brand: #160b05;
    --ink: #e6eaea; --page: #22282b; --surface: #2c3336; --soft: #343c3f;
    --muted: #a3adb0; --line: #434c50; --steel: #73b3c4;
    --good: #5cc28f; --good-bg: #12301f; --warn: #f0b45a; --warn-bg: #3a2a10; --critical: #ef5b52;
    --t1: #3fbf74; --t2: #9fd25a; --t3: #f0c63e; --t4: #f39a45; --t5: #ef5b52; --t0: #3a4954;
    --g1: #8193a1; --g2: #5fa9bd; --g3: #ec7340; --g4: #d9aa45; --g5: #a68be0; --g6: #5cc28f; --g7: #e07a9e;
    --shadow: 0 1px 3px rgba(0,0,0,.4), 0 4px 14px rgba(0,0,0,.3);
    --shadow-lg: 0 10px 30px rgba(0,0,0,.5);
    --tint: #3a2214;
    color-scheme: dark;
  }
}

/* Superficies suaves: esquinas redondeadas y sombra, en todo el sitio */
.card, .aside-card, .panel, .pcard, .ticket, .tablewrap, details, .compare2 > div, .tip, .warn, .ok, .done, .req, .flow, .how, .modes, .gloss, .empty { border-radius: var(--radius); }
.card, .aside-card, .panel, .pcard, .compare2 > div { box-shadow: var(--shadow); border-color: transparent; }
.flow, .how, .modes { overflow: hidden; }
.btn, .field input, .field select, .field textarea, .form input, .form select, .form textarea, .dir-controls input, .dir-controls select { border-radius: 6px !important; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; height: auto; }
a { color: var(--steel); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--steel); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--page); padding: 10px 14px; z-index: 50; }
.skip:focus { top: 12px; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); font-weight: 600; }

/* Títulos */
h1, h2, h3 { text-wrap: balance; }
.display { font-family: var(--display); font-stretch: 62%; font-weight: 900; text-transform: uppercase; line-height: .9; margin: 0; }
.h-sec { font-family: var(--display); font-stretch: 75%; font-weight: 800; text-transform: uppercase; font-size: clamp(28px, 4vw, 40px); line-height: 1.05; margin: 0; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 600; padding: 12px 18px; border: 2px solid var(--ink); background: var(--ink); color: var(--page); cursor: pointer; line-height: 1.2; }
.btn:hover { filter: brightness(1.1); }
.btn-brand { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-light { background: var(--surface); border-color: var(--surface); color: var(--ink); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* Cabecera */
/* Cabecera en dos niveles: barra de marca con accesos rápidos y barra blanca con el menú */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--surface); box-shadow: 0 1px 0 var(--line), 0 4px 14px rgba(0,0,0,.06); }
/* Barra de marca: el lateral de un contenedor. Chapa corrugada (pliegue en sombra, cara hundida,
   pliegue con luz, cara saliente), rieles arriba y abajo, esquineros con sus agujeros y la matrícula pintada. */
.topbar {
  position: relative; isolation: isolate; overflow: hidden; color: #1d2427;
  background-color: #c94a17;
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.16) 0, rgba(255,255,255,0) 30%, rgba(0,0,0,0) 62%, rgba(0,0,0,.18) 100%),
    repeating-linear-gradient(90deg, #a03b13 0 3px, #c0481b 3px 11px, #dc6430 11px 13px, #cc501d 13px 24px);
  box-shadow:
    inset 0 5px 0 #7a2b0d, inset 0 6px 0 rgba(255,255,255,.28), inset 0 9px 6px -4px rgba(0,0,0,.25),
    inset 0 -5px 0 #7a2b0d, inset 0 -6px 0 rgba(255,255,255,.14), inset 0 -10px 8px -5px rgba(0,0,0,.3);
}
/* Esquineros: poste vertical con la pieza de fundición y su agujero ovalado arriba y abajo */
.topbar::before, .topbar::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 18px; z-index: 2; pointer-events: none;
  background:
    radial-gradient(ellipse 4.5px 2.6px at 50% 8px, #170b05 92%, transparent 100%),
    radial-gradient(ellipse 4.5px 2.6px at 50% calc(100% - 8px), #170b05 92%, transparent 100%),
    linear-gradient(180deg, #5e220b 0 16px, #9c3a14 16px calc(100% - 16px), #5e220b calc(100% - 16px)),
    #9c3a14;
}
.topbar::before { left: 0; box-shadow: inset -2px 0 0 rgba(255,255,255,.18), 3px 0 4px rgba(0,0,0,.28); }
.topbar::after { right: 0; box-shadow: inset 2px 0 0 rgba(0,0,0,.25), -3px 0 4px rgba(0,0,0,.28); }
/* Reflejo de sol que recorre la chapa */
.topbar-luz { position: absolute; top: 0; bottom: 0; left: 0; width: 220px; z-index: 0; pointer-events: none; transform: translateX(-260px) skewX(-18deg);
  background: linear-gradient(90deg, rgba(255,214,170,0), rgba(255,226,196,.30) 50%, rgba(255,214,170,0)); mix-blend-mode: screen;
  animation: chapa-luz 9s cubic-bezier(.45,.05,.35,1) 1.2s infinite; }
@keyframes chapa-luz { 0% { transform: translateX(-260px) skewX(-18deg); } 32%, 100% { transform: translateX(calc(100vw + 40px)) skewX(-18deg); } }
.topbar-in { position: relative; z-index: 1; display: flex; align-items: center; gap: 20px; min-height: 64px; }
.topbar .logo { transition: transform .25s ease; }
.topbar .logo:hover { transform: translateY(-1px); }
.topbar .logo img { filter: drop-shadow(0 1px 0 rgba(255,255,255,.25)); }
.topbar .logo span { color: #ffffff; text-shadow: 0 1px 0 rgba(40,12,2,.55), 0 0 8px rgba(40,12,2,.35); }
.topbar .logo span b { color: #1a0d06; text-shadow: 0 1px 0 rgba(255,255,255,.3); }
/* Matrícula del contenedor, pintada con plantilla */
.matricula { display: grid; gap: 2px; padding-left: 18px; border-left: 2px solid rgba(0,0,0,.22); font-family: var(--mono); font-weight: 600; font-size: 12px; line-height: 1.15; letter-spacing: .14em; color: #ffffff; text-shadow: 0 1px 0 rgba(40,12,2,.6), 0 0 6px rgba(40,12,2,.35); white-space: nowrap;
  clip-path: inset(0 100% 0 0); animation: matricula-pinta .9s steps(14, end) .35s forwards; }
.matricula span + span { font-size: 10.5px; letter-spacing: .18em; opacity: .82; }
.matricula em { font-style: normal; display: inline-block; padding: 0 3px; margin-left: 2px; outline: 1.5px solid currentColor; outline-offset: -1px; }
@keyframes matricula-pinta { to { clip-path: inset(0 0 0 0); } }
@media (max-width: 720px) { .matricula { display: none; } .topbar::before, .topbar::after { width: 10px; } }
@media (prefers-reduced-motion: reduce) { .topbar-luz { animation: none; display: none; } .matricula { animation: none; clip-path: none; } }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.logo span { font-family: var(--display); font-stretch: 62%; font-weight: 900; font-size: 28px; text-transform: uppercase; letter-spacing: .01em; line-height: 1; }
.logo b { color: var(--brand); font-weight: 900; }
.util { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0 0 0 auto; padding: 0; font-size: 15px; font-weight: 500; }
.util a, .util li { display: inline-flex; align-items: center; gap: 6px; color: #13202a; text-decoration: none; }
/* En la chapa: letras blancas sobre una placa oscura, como las etiquetas pintadas del contenedor */
.topbar .util { gap: 10px; font-weight: 600; }
.topbar .util a, .topbar .util li { color: #ffffff; padding: 7px 12px; border-radius: 4px; background: rgba(35,12,3,.38); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 1px 0 rgba(255,255,255,.12); text-shadow: 0 1px 1px rgba(0,0,0,.45); transition: background .2s ease; }
.topbar .util a:hover { background: rgba(35,12,3,.6); text-decoration: none; }
.util svg { width: 17px; height: 17px; fill: currentColor; }
.navbar { background: var(--surface); }
.nav { display: flex; align-items: center; gap: 8px; min-height: 52px; }
.nav > ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-link { display: inline-flex; align-items: center; gap: 7px; padding: 14px 12px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15px; background: none; border: 0; cursor: pointer; border-bottom: 3px solid transparent; }
.nav-link svg { width: 10px; height: 6px; }
.nav-link[aria-current="true"] { border-bottom-color: var(--brand); font-weight: 600; }
.nav-link:hover { color: var(--brand); }
.has-sub { position: relative; }
.sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 320px; background: var(--surface); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-lg); display: none; }
.has-sub.open .sub { display: block; }
@media (hover: hover) and (min-width: 1081px) { .has-sub:hover .sub, .has-sub:focus-within .sub { display: block; } }
.sub a { display: grid; gap: 1px; padding: 10px 12px; text-decoration: none; color: var(--ink); border-radius: 4px; }
.sub a:hover { background: var(--soft); }
.sub a b { font-weight: 600; font-size: 15px; }
.sub a span { font-size: 13px; color: var(--muted); }
.nav-cta { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav-cta svg { width: 10px; height: 10px; }
.nav-cta:hover { color: var(--brand); }
.menu-toggle { display: none; width: 44px; height: 44px; background: rgba(35,12,3,.38); border: 0; border-radius: 4px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-toggle i { display: block; width: 20px; height: 2px; background: #ffffff; }
@media (max-width: 1080px) {
  .util { display: none; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .navbar { position: absolute; left: 0; right: 0; top: 100%; }
  .nav { display: none; flex-direction: column; align-items: stretch; padding-block: 8px 16px; max-height: calc(100vh - 64px); overflow-y: auto; background: var(--surface); box-shadow: var(--shadow-lg); }
  .nav.open { display: flex; }
  .nav > ul { flex-direction: column; }
  .nav-link { width: 100%; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav-link[aria-current="true"] { border-bottom-color: var(--line); color: var(--brand); }
  .sub { position: static; box-shadow: none; min-width: 0; padding: 4px 0 8px 8px; }
  .nav-cta { margin: 14px 0 0; }
}

/* Ruta */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 0 0; margin: 0; font-size: 13px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); }

/* Cabecera de página interior */
.page-hero { padding-block: 28px 36px; display: grid; gap: 14px; }
.page-hero .display { font-size: clamp(42px, 7vw, 76px); }
.page-hero .lead { font-size: 19px; color: var(--muted); max-width: 62ch; margin: 0; }
.page-hero.bandada { background-color: var(--brand); background-image: var(--ribs); color: var(--on-brand); max-width: none; }
.page-hero.bandada .lead { color: var(--on-brand); opacity: .92; }

/* Artículos */
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; padding-block: 8px 56px; }
@media (max-width: 960px) { .article-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.prose { display: grid; gap: 16px; max-width: 72ch; min-width: 0; }
.prose h2 { font-family: var(--display); font-stretch: 75%; font-weight: 800; text-transform: uppercase; font-size: 28px; line-height: 1.1; margin: 20px 0 0; }
.prose h3 { font-size: 19px; margin: 8px 0 0; line-height: 1.3; }
.prose p, .prose ul, .prose ol { margin: 0; }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 6px; }
.prose .lead { font-size: 19px; color: var(--muted); }
.steps { list-style: none; padding: 0 !important; counter-reset: s; display: grid; gap: 16px !important; }
.steps > li { counter-increment: s; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; }
.steps > li::before { content: counter(s); font-family: var(--display); font-stretch: 70%; font-weight: 900; font-size: 30px; line-height: 1; color: var(--brand); }
.steps h3 { margin: 0 0 4px; }
.tablewrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); }
table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.45; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
thead th { background: var(--soft); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
td.r, th.r { text-align: right; white-space: nowrap; }
tr.sum td { font-weight: 700; }
.tip, .warn, .ok { padding: 14px 18px; font-size: 15px; border-left: 4px solid var(--steel); background: var(--surface); }
.warn { border-left-color: var(--warn); background: var(--warn-bg); }
.ok { border-left-color: var(--good); background: var(--good-bg); }
.tip p + p { margin-top: 6px; }
.compare2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.compare2 > div { background: var(--surface); border: 1px solid var(--line); padding: 16px 18px; display: grid; gap: 8px; align-content: start; }
.compare2 h3 { margin: 0; }
.sources { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 6px; }

/* Barra lateral */
.aside { position: sticky; top: 96px; display: grid; gap: 16px; }
@media (max-width: 960px) { .aside { position: static; } }
.aside-card { background: var(--surface); border: 1px solid var(--line); padding: 18px; display: grid; gap: 10px; }
.aside-card.dark { background: var(--ink); color: var(--page); border-color: var(--ink); }
.aside-card.dark p { color: var(--page); opacity: .85; }
.aside-card h2 { font-family: var(--display); font-stretch: 75%; font-weight: 800; text-transform: uppercase; font-size: 20px; line-height: 1.1; margin: 0; }
.aside-card p { margin: 0; font-size: 15px; color: var(--muted); }
.aside-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.aside-card li a { display: block; padding: 6px 0 6px 10px; border-left: 3px solid var(--line); text-decoration: none; color: var(--ink); font-size: 15px; }
.aside-card li a:hover, .aside-card li a[aria-current="page"] { border-left-color: var(--brand); }

/* Tarjetas */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.card { background: var(--surface); border: 1px solid var(--line); padding: 20px; display: grid; gap: 10px; align-content: start; text-decoration: none; color: var(--ink); min-width: 0; }
a.card:hover { border-color: var(--ink); }
.card h3 { margin: 0; font-size: 19px; line-height: 1.25; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .more { font-weight: 600; color: var(--brand); font-size: 15px; }
.card .ico { width: 44px; height: 44px; display: grid; place-items: center; background: var(--brand); color: var(--on-brand); font-family: var(--display); font-stretch: 70%; font-weight: 900; font-size: 22px; }

/* Secciones de la portada */
.sec { padding-block: 56px; display: grid; gap: 24px; }
.sec-head { display: grid; gap: 8px; max-width: 70ch; }
.sec-head p { margin: 0; color: var(--muted); font-size: 18px; }
.band { background: var(--cg); color: #e3e9ed; }
.band .sec-head p { color: #e3e9ed; opacity: .8; }
.band .card { background: transparent; border-color: rgba(255,255,255,.18); color: #e3e9ed; }
.band .card p { color: #e3e9ed; opacity: .78; }
.band .btn-ghost { color: #e3e9ed; border-color: #e3e9ed; }
@media (prefers-color-scheme: dark) { .band { background: var(--cg-dark); } }
.band-brand { background-color: var(--brand); background-image: var(--ribs); color: var(--on-brand); }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-block: 36px; }
.cta-band .h-sec { max-width: 22ch; }

/* Slider */
.slider { --sl-fg: #e3e9ed; position: relative; background: #13202a; color: var(--sl-fg); overflow: hidden; }
.slides { display: grid; }
.slide { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: center; padding-block: 48px 72px; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.slide.on { opacity: 1; visibility: visible; }
@media (max-width: 860px) { .slide { grid-template-columns: minmax(0, 1fr); padding-block: 32px 72px; } .slide .art { order: -1; max-width: 420px; } }
.slide .display { font-size: clamp(44px, 7vw, 84px); color: var(--sl-fg); }
.slide .display em { font-style: normal; color: #ec7340; }
.slide .kicker { color: #ec7340; }
.slide p { margin: 0; font-size: 19px; max-width: 46ch; opacity: .85; }
.slide .txt { display: grid; gap: 20px; }
.slide .art svg { width: 100%; height: auto; display: block; }
.slider-ctrl { position: absolute; left: 0; right: 0; bottom: 20px; }
.slider-ctrl .wrap { display: flex; align-items: center; gap: 10px; }
.dots { display: flex; gap: 8px; }
.dots button { width: 34px; height: 6px; border: 0; padding: 0; background: rgba(255,255,255,.3); cursor: pointer; }
.dots button[aria-current="true"] { background: var(--brand); }
.arrow { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.35); background: transparent; color: var(--sl-fg); cursor: pointer; font-size: 18px; }
.arrow:hover { border-color: var(--sl-fg); }
.slider-ctrl .arrows { margin-left: auto; display: flex; gap: 6px; }
@media (prefers-color-scheme: dark) { .slider { background: #0a1015; } }

/* Gastos ocultos (portada) */
.hidden-costs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 860px) { .hidden-costs { grid-template-columns: minmax(0, 1fr); } }
.ticket { background: var(--surface); border: 2px solid var(--ink); }
.ticket .row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 10px 18px; border-bottom: 1px solid var(--line); font-size: 15px; align-items: baseline; }
.ticket .row:last-child { border-bottom: 0; }
.ticket .row.total { font-weight: 700; font-size: 17px; background: var(--soft); }
.tag { font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--warn); background: var(--warn-bg); padding: 1px 5px; margin-left: 6px; white-space: nowrap; }

/* Preguntas frecuentes */
.faq { padding-block: 32px 56px; display: grid; gap: 10px; }
.faq h2 { font-family: var(--display); font-stretch: 75%; font-weight: 800; text-transform: uppercase; font-size: 28px; margin: 0 0 8px; }
details { background: var(--surface); border: 1px solid var(--line); }
details summary { cursor: pointer; padding: 14px 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font-family: var(--mono); color: var(--brand); font-size: 20px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 0; padding: 0 18px 16px; color: var(--muted); }

/* Formularios */
.form { display: grid; gap: 14px; }
.row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.field { display: grid; gap: 5px; min-width: 0; }
.field > label, fieldset legend { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea, .form input:not([type="checkbox"]), .form select, .form textarea { width: 100%; min-width: 0; background: var(--surface); border: 1px solid var(--line); padding: 11px 12px; border-radius: 0; }
fieldset { border: 1px solid var(--line); padding: 10px 12px 12px; margin: 0; min-width: 0; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px 14px; font-size: 15px; }
.checks label { display: flex; gap: 8px; align-items: baseline; }
.serv-grupos { display: grid; gap: 14px; }
.serv-grupos > div { display: grid; gap: 6px; }
.serv-grupos > div > b { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.err { color: var(--critical); font-size: 14px; font-weight: 600; margin: 0; }
.done { background: var(--good-bg); border: 1px solid var(--good); padding: 18px; display: grid; gap: 10px; }
.done pre { margin: 0; white-space: pre-wrap; font-family: var(--mono); font-size: 13px; background: var(--surface); padding: 12px; border: 1px solid var(--line); max-height: 340px; overflow: auto; }

/* Pie */
.site-footer { background: var(--cg-dark); color: #e3e9ed; margin-top: 24px; --page: #e3e9ed; }
@media (prefers-color-scheme: dark) { .site-footer { background: #1a1f21; } }
.site-footer::before { content: ""; display: block; height: 12px; box-shadow: inset 0 3px 0 rgba(0,0,0,.25), inset 0 -3px 0 rgba(0,0,0,.25); background-color: var(--brand); background-image: var(--ribs); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; padding-block: 40px 28px; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
.site-footer .logo { color: var(--page); }
.foot-brand p { opacity: .75; font-size: 15px; max-width: 34ch; }
.site-footer h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 10px; opacity: .7; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--page); text-decoration: none; font-size: 15px; opacity: .9; }
.site-footer a:hover { opacity: 1; text-decoration: underline; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; border-top: 1px solid rgba(255,255,255,.15); padding-block: 16px 24px; font-size: 13px; opacity: .7; }
.contact { margin-top: 12px !important; }

@media (prefers-reduced-motion: reduce) { .slide { transition: none; } }

/* Botón flotante de WhatsApp (solo con número cargado) */
.wa-float { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); }
.wa-float svg { width: 30px; height: 30px; }
.page-calculadora .wa-float { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }

/* Testimonios (solo con testimonios reales cargados) */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.quote { margin: 0; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; display: grid; gap: 16px; align-content: space-between; }
.quote blockquote { margin: 0; }
.quote blockquote p { margin: 0; font-size: 16px; }
.quote figcaption { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.quote .ini { width: 38px; height: 38px; border-radius: 50%; background: var(--cg); color: #fff; display: grid; place-items: center; font-weight: 700; flex-shrink: 0; }

/* Blog */
.blog-cards { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.blog-cards .card { border-radius: var(--radius); box-shadow: var(--shadow); border-color: transparent; border-top: 6px solid var(--brand); }
.blog-cards .card h3 { font-size: 20px; }
.tag-txt { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--warn); background: var(--warn-bg); padding: 1px 5px; white-space: nowrap; }
