/* =========================================================
   Grúas Tijuana — hoja de estilos principal
   Sistema: graphite + amarillo industrial · Barlow Condensed / Inter
   ========================================================= */
@font-face { font-family: 'Inter'; src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('/fonts/barlow-condensed-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('/fonts/barlow-condensed-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('/fonts/barlow-condensed-latin-800-normal.woff2') format('woff2'); font-weight: 800; font-display: swap; }

:root {
  --ink: #16181b;
  --ink-2: #1f2226;
  --ink-3: #2b2f35;
  --ink-4: #3a3f46;
  --steel: #5a6069;      /* texto secundario sobre claro (6.3:1) */
  --mist: #b8bcc2;       /* texto secundario sobre oscuro (9:1) */
  --line: #e2e3e5;
  --line-dark: #33373d;
  --bg: #ffffff;
  --bg-alt: #f4f4f1;
  --yellow: #ffc20e;
  --yellow-2: #f0b000;
  --yellow-soft: #fff4cc;
  --wa: #0f7a3d;         /* verde WhatsApp accesible con texto blanco */
  --wa-2: #0b6532;
  --danger: #b42318;
  --danger-soft: #fdecea;
  --ok: #146c3d;
  --ok-soft: #e6f4ec;
  --warn: #8a5a00;
  --warn-soft: #fff3d6;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 1px 2px rgba(22, 24, 27, .06), 0 8px 24px rgba(22, 24, 27, .08);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, .28);
  --f-head: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font-family: var(--f-body); font-size: 1rem; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p a:not(.btn), .prose a:not(.btn), .help a, .alert a, li > span a { color: #8a5a00; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.section-dark p a:not(.btn), .site-footer p a, .page-hero p a:not(.btn) { color: var(--yellow); }
.section-dark .alert p a:not(.btn), .page-hero .alert p a:not(.btn) { color: #5c3d00; }
h1, h2, h3 { font-family: var(--f-head); line-height: 1.08; letter-spacing: -.005em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 800; text-transform: uppercase; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1em; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.25em; height: 1.25em; flex: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 24px; } }
.narrow { max-width: 860px; }
.center { text-align: center; margin-top: 2rem; }
.muted { color: var(--steel); font-size: .95rem; }
.hide-sm { display: none !important; }
@media (min-width: 640px) { .hide-sm { display: inline-flex !important; } }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 6px; }
.section:not(.section-dark) :focus-visible, .page-hero ~ .section :focus-visible { outline-color: #1d4ed8; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--yellow); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: 0 1.25rem; border-radius: 10px; border: 2px solid transparent; font: 700 1rem/1.1 var(--f-body); text-decoration: none; cursor: pointer; transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .12s var(--ease), box-shadow .18s var(--ease); white-space: nowrap; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn .ic { width: 1.25rem; height: 1.25rem; }
.btn-lg { min-height: 56px; padding: 0 1.5rem; font-size: 1.06rem; }
.btn-sm { min-height: 44px; padding: 0 1rem; font-size: .95rem; }
.btn-block { width: 100%; }
.btn-yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 6px 18px rgba(255, 194, 14, .28); }
.btn-yellow:hover { background: var(--yellow-2); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-4); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-2); }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline-dark:hover { background: var(--ink); color: #fff; }
.btn-outline-light { border-color: rgba(255, 255, 255, .55); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-ghost-light { color: #fff; background: rgba(255, 255, 255, .08); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .16); }
.btn-ghost-dark { color: var(--ink); background: var(--bg-alt); }
.btn-ghost-dark:hover { background: #e9e9e5; }
.btn[disabled], .btn[aria-busy='true'] { opacity: .65; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; text-decoration: none; color: var(--ink); border-bottom: 2px solid var(--yellow); padding: 4px 0; min-height: 44px; }
.link-arrow .ic { width: 1rem; height: 1rem; transition: transform .18s var(--ease); }
.link-arrow:hover .ic { transform: translateX(3px); }

/* ---------- Barra demo ---------- */
.demo-bar { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: 6px 16px; background: var(--yellow-soft); color: #5c3d00; font-size: .82rem; text-align: center; border-bottom: 1px solid #f3dc8a; }
.demo-bar .ic { width: 1rem; height: 1rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(22, 24, 27, .96); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line-dark); color: #fff; }
.header-in { display: flex; align-items: center; gap: 1rem; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: #fff; min-height: 44px; }
.logo-mark { width: 40px; height: 40px; flex: none; }
.logo-text { font: 800 1.55rem/1 var(--f-head); letter-spacing: .01em; }
.logo-text span { color: var(--yellow); }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .15rem; }
.nav a { display: flex; align-items: center; min-height: 44px; padding: 0 .7rem; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: .95rem; color: #e7e8ea; transition: background-color .15s, color .15s; }
.nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.nav a[aria-current='page'] { color: var(--yellow); box-shadow: inset 0 -2px 0 var(--yellow); border-radius: 8px 8px 0 0; }
.nav-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.menu-toggle { display: none; width: 48px; height: 48px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle .ic { width: 26px; height: 26px; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded='true'] .i-open { display: none; }
.menu-toggle[aria-expanded='true'] .i-close { display: block; }

@media (max-width: 1023px) {
  .menu-toggle { display: inline-flex; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; margin: 0; background: var(--ink); border-bottom: 1px solid var(--line-dark); padding: 8px 16px 20px; max-height: calc(100dvh - var(--header-h)); overflow: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s var(--ease), transform .2s var(--ease); }
  .nav ul { flex-direction: column; }
  .nav a { min-height: 52px; font-size: 1.1rem; border-bottom: 1px solid var(--line-dark); border-radius: 0; }
  .nav a[aria-current='page'] { box-shadow: inset 3px 0 0 var(--yellow); }
  .nav-cta { display: block; margin-top: 16px; }
  .header-actions { margin-left: auto; }
}
@media (min-width: 1024px) { .header-actions .menu-toggle { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; isolation: isolate; }
.hero-bg { position: absolute; inset: -40px; z-index: -1; background: url('/img/gruas-nocturnas-tijuana.webp') center/cover; filter: blur(28px) brightness(.32) saturate(1.2); transform: scale(1.1); }
.hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 10px; z-index: 1; background: repeating-linear-gradient(-45deg, var(--yellow) 0 18px, var(--ink) 18px 36px); }
.hero-in { display: grid; gap: 2rem; padding: 40px 16px 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .4rem; margin: 0 0 1rem; padding: 6px 12px; border-radius: 999px; background: rgba(255, 194, 14, .14); color: var(--yellow); font-weight: 700; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
.eyebrow .ic { width: 1rem; height: 1rem; }
.hero h1 { margin-bottom: .4em; }
.h1-sub { display: block; color: var(--yellow); font-size: .58em; letter-spacing: .02em; margin-top: .25em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.55; color: #d9dbde; max-width: 46ch; }
.page-hero .lead, .section .lead { color: inherit; }
.hero-btns { margin: 1.6rem 0 1.4rem; }
.hero-btns .btn { flex: 1 1 auto; }
@media (min-width: 640px) { .hero-btns .btn { flex: 0 0 auto; } }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; }
.chips li { display: inline-flex; align-items: center; gap: .4rem; padding: 7px 12px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; font-size: .88rem; color: #e7e8ea; background: rgba(255, 255, 255, .04); }
.chips .ic { width: 1rem; height: 1rem; color: var(--yellow); }
.chips .chip-hl { background: var(--yellow); color: var(--ink); border-color: var(--yellow); font-weight: 700; }
.chips .chip-hl .ic { color: var(--ink); }
.hero-side { position: relative; display: grid; gap: 1rem; }
.hero-photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .1); aspect-ratio: 16 / 10; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.quick-quote { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow-lg); border-top: 4px solid var(--yellow); }
.qq-title { display: flex; align-items: center; gap: .45rem; font: 700 1.3rem/1 var(--f-head); text-transform: uppercase; margin: 0 0 .7rem; }
.qq-title .ic { color: var(--yellow-2); }
.quick-quote label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .35rem; }
.qq-row { display: flex; gap: .5rem; }
.qq-row input { flex: 1; min-width: 0; }
.qq-row .btn { width: 56px; padding: 0; flex: none; }
.qq-geo { display: inline-flex; align-items: center; gap: .4rem; margin-top: .6rem; min-height: 44px; padding: 0 .2rem; background: none; border: 0; color: var(--ink); font: 600 .95rem var(--f-body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.qq-geo .ic { color: var(--steel); }
@media (min-width: 960px) {
  .hero-in { grid-template-columns: 1.15fr .85fr; padding: 72px 24px 88px; gap: 3rem; }
  .hero-photo { aspect-ratio: 331 / 368; max-height: 470px; }
  .quick-quote { position: absolute; left: -64px; right: 40px; bottom: -28px; }
  .hero-side { padding-bottom: 120px; }
}

/* ---------- Formularios ---------- */
input[type='text'], input[type='tel'], input[type='email'], input[type='search'], input[type='number'], input[type='datetime-local'], input[type='date'], input[type='time'], input[type='url'], input[type='password'], select, textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 2px solid #c9ccd0; border-radius: 10px; background: #fff; color: var(--ink); font: 400 1rem/1.4 var(--f-body); transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 96px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: #9da2a8; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(255, 194, 14, .45); }
input::placeholder, textarea::placeholder { color: #80868e; }
[aria-invalid='true'] { border-color: var(--danger) !important; }
.field { margin-bottom: 1rem; position: relative; }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; }
.field .opt { font-weight: 400; color: var(--steel); font-size: .9em; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.help { color: var(--steel); font-size: .9rem; margin: .35rem 0 0; display: flex; gap: .35rem; align-items: flex-start; }
.help .ic { width: 1rem; height: 1rem; margin-top: .2rem; }
.err { color: var(--danger); font-size: .92rem; font-weight: 600; margin: .35rem 0 0; }
.err:empty { display: none; }
.err::before { content: '⚠ '; }
.check label { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; cursor: pointer; }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.err-summary { border: 2px solid var(--danger); background: var(--danger-soft); color: #7a1610; border-radius: 10px; padding: 12px 14px; margin-bottom: 1rem; }
.err-summary ul { margin: .3rem 0 0; padding-left: 1.2rem; }
.err-summary a { color: inherit; font-weight: 600; }
.ac-wrap { position: relative; }
.ac-wrap .field-ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--steel); pointer-events: none; }
.ac-wrap input { padding-left: 44px; padding-right: 40px; }
.ac-spin { position: absolute; right: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border: 2px solid #c9ccd0; border-top-color: var(--ink); border-radius: 50%; opacity: 0; }
.ac.is-loading .ac-spin { opacity: 1; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ac-list { list-style: none; margin: 4px 0 0; padding: 4px; position: absolute; z-index: 30; left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); max-height: 300px; overflow: auto; }
.ac-list li { padding: 12px; border-radius: 8px; cursor: pointer; display: flex; gap: .5rem; align-items: flex-start; min-height: 44px; }
.ac-list li .ic { color: var(--steel); margin-top: 2px; }
.ac-list li[aria-selected='true'], .ac-list li:hover { background: var(--yellow-soft); }
.ac-list .ac-empty { color: var(--steel); cursor: default; }
.ac-list .ac-empty:hover { background: none; }

/* ---------- Alertas / badges ---------- */
.alert { display: flex; gap: .7rem; align-items: flex-start; border-radius: 12px; padding: 14px 16px; margin: 0 0 1.5rem; }
.alert p { margin: 0; }
.alert .ic { margin-top: .15rem; }
.alert-info { background: #eef3fb; color: #1e3a66; border: 1px solid #cfdcf1; }
.alert-warn { background: var(--warn-soft); color: #5c3d00; border: 1px solid #f1d58f; }
.alert-ok { background: var(--ok-soft); color: #0d4a29; border: 1px solid #b9dfc8; }
.alert-err { background: var(--danger-soft); color: #7a1610; border: 1px solid #f3c0ba; }
.badge { display: inline-flex; align-items: center; gap: .3rem; padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; background: var(--bg-alt); color: var(--ink-3); }
.badge-ok { background: var(--ok-soft); color: var(--ok); }
.badge-warn { background: var(--warn-soft); color: var(--warn); }

/* ---------- Emergencias ---------- */
.emergency { background: var(--yellow); color: var(--ink); }
.em-in { display: grid; gap: 1.25rem; padding-top: 28px; padding-bottom: 28px; }
.em-head { display: flex; gap: 1rem; align-items: flex-start; }
.em-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--ink); color: var(--yellow); flex: none; }
.em-icon .ic { width: 28px; height: 28px; }
.emergency h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: .3em; }
.emergency p { margin: 0; font-size: .98rem; }
.em-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: .5rem; counter-reset: em; }
.em-steps li { counter-increment: em; display: flex; gap: .6rem; align-items: flex-start; font-size: .96rem; line-height: 1.45; }
.em-steps li::before { content: counter(em); display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--yellow); font: 700 .9rem var(--f-head); flex: none; }
.em-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.em-actions .btn { flex: 1 1 160px; }
@media (min-width: 1024px) {
  .em-in { grid-template-columns: 1.4fr 1fr auto; align-items: center; gap: 2rem; }
  .em-actions { flex-direction: column; }
  .em-actions .btn { flex: none; min-width: 180px; }
}

/* ---------- Secciones ---------- */
.section { padding: 56px 0; }
@media (min-width: 768px) { .section { padding: 84px 0; } }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark .sec-head p { color: var(--mist); }
.sec-head { max-width: 760px; margin: 0 0 2.25rem; }
.sec-head p { color: var(--steel); font-size: 1.08rem; margin: 0; }
.kicker { display: inline-flex; align-items: center; gap: .5rem; font: 700 .85rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 .8rem !important; }
.kicker::before { content: ''; width: 28px; height: 4px; background: var(--yellow); border-radius: 2px; }
.section-dark .kicker { color: var(--yellow); }

/* ---------- Tarjetas de servicio ---------- */
.svc-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }

.svc-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow .2s var(--ease), transform .2s var(--ease), border-color .2s; }
.svc-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #d3d5d8; }
.svc-media { display: block; aspect-ratio: 16 / 11; overflow: hidden; background: var(--bg-alt); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.svc-card:hover .svc-media img { transform: scale(1.04); }
.svc-body { position: relative; padding: 30px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.svc-icon { position: absolute; top: -26px; left: 20px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--yellow); color: var(--ink); box-shadow: 0 6px 16px rgba(0, 0, 0, .15); border: 3px solid #fff; }
.svc-icon .ic { width: 26px; height: 26px; }
.svc-title { font-size: 1.45rem; margin-bottom: .35em; }
.svc-title a { text-decoration: none; }
.svc-title a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
.svc-body p { color: var(--steel); font-size: .97rem; flex: 1; }
.svc-actions { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; margin-top: .4rem; }

/* ---------- Pasos ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step { position: relative; padding: 24px 20px; border-radius: var(--radius-lg); background: var(--ink-2); border: 1px solid var(--line-dark); }
.step-n { position: absolute; top: 14px; right: 18px; font: 800 3rem/1 var(--f-head); color: rgba(255, 194, 14, .22); }
.step-ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; background: rgba(255, 194, 14, .14); color: var(--yellow); margin-bottom: 1rem; }
.step-ic .ic { width: 26px; height: 26px; }
.step h3 { color: #fff; }
.step p { color: var(--mist); margin: 0; font-size: .97rem; }

/* ---------- Split ---------- */
.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1.1fr; gap: 4rem; } }
.split-media { position: relative; padding-right: 22%; padding-bottom: 14%; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; }
.split-media .split-media-b { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 3 / 3.6; border: 6px solid #fff; box-shadow: var(--shadow-lg); }
.answer { font-size: 1.1rem; color: var(--ink-3); }
.ticks { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .65rem; }
.ticks li { display: flex; gap: .65rem; align-items: flex-start; }
.ticks .ic { flex: none; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--yellow); color: var(--ink); margin-top: 1px; stroke-width: 3; }

/* ---------- Zonas ---------- */
.zone-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.zone-chips li { display: inline-flex; align-items: center; gap: .4rem; padding: 10px 16px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; }
.zone-chips .ic { width: 1.05rem; height: 1.05rem; color: var(--yellow-2); }
.zone-chips small { font-weight: 500; color: var(--warn); margin-left: .2rem; }
.zone-chips .is-consult { border-style: dashed; border-color: #d9b45a; }

/* ---------- Valores ---------- */
.value-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.value { padding: 24px; border-radius: var(--radius-lg); background: var(--bg-alt); border-left: 4px solid var(--yellow); }
.value > .ic { width: 32px; height: 32px; color: var(--ink); margin-bottom: .8rem; }
.value p { color: var(--steel); margin: 0; }

/* ---------- Testimonios ---------- */
.testi-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.testi { margin: 0; padding: 24px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.testi > .ic { width: 28px; height: 28px; color: var(--yellow-2); }
.testi blockquote { margin: .6rem 0 1rem; font-size: 1.02rem; }
.testi figcaption { color: var(--steel); font-size: .92rem; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: .6rem; }
.faq { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq[open] { border-color: #cfd2d6; box-shadow: var(--shadow); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 16px 18px; cursor: pointer; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font: 600 1.05rem/1.35 var(--f-body); margin: 0; }
.faq summary .ic { flex: none; transition: transform .2s var(--ease); }
.faq[open] summary .ic { transform: rotate(180deg); }
.faq-a { padding: 0 18px 16px; color: var(--ink-3); }
.faq-a p { margin: 0; }

/* ---------- CTA final ---------- */
.final-cta { background: var(--yellow); position: relative; }
.final-cta::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 8px; background: repeating-linear-gradient(-45deg, var(--ink) 0 14px, var(--yellow) 14px 28px); }
.final-in { display: grid; gap: 1.5rem; padding-top: 52px; padding-bottom: 52px; align-items: center; }
.final-cta h2 { margin-bottom: .25em; }
.final-cta p { margin: 0; max-width: 56ch; }
@media (min-width: 1024px) { .final-in { grid-template-columns: 1fr auto; } }

/* ---------- Páginas interiores ---------- */
.page-hero { background: var(--ink); color: #fff; padding: 36px 0 44px; position: relative; }
.page-hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 6px; background: repeating-linear-gradient(-45deg, var(--yellow) 0 14px, var(--ink) 14px 28px); }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); }
.page-hero .lead { color: #d9dbde; max-width: 62ch; }
.page-hero .btn-row { margin-top: 1.4rem; }
.page-hero-compact { padding: 28px 0 34px; }
.ph-split { display: grid; gap: 2rem; align-items: center; }
.ph-photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 10; box-shadow: var(--shadow-lg); }
.ph-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 960px) { .ph-split { grid-template-columns: 1.3fr .7fr; } .ph-photo { aspect-ratio: 4 / 4.4; } }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .2rem; font-size: .9rem; color: var(--mist); }
.crumbs li + li::before { content: '/'; margin: 0 .45rem; color: #6c7279; }
.crumbs a { color: #e7e8ea; text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: var(--yellow); display: inline-flex; align-items: center; }
.prose { font-size: 1.05rem; }
.prose h2 { margin-top: 1.8em; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.prose h2:first-child { margin-top: 0; }
.prose ul:not(.ticks) { padding-left: 1.2rem; }
.legal h2 { font-size: 1.45rem; }
mark.ph { background: var(--warn-soft); color: var(--warn); padding: 0 4px; border-radius: 4px; }
.detail { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .detail { grid-template-columns: 1fr 340px; gap: 4rem; } .side-cta { position: relative; } .side-card { position: sticky; top: calc(var(--header-h) + 20px); } }
.side-card { background: var(--bg-alt); border-radius: var(--radius-lg); padding: 24px; display: grid; gap: .7rem; border-top: 4px solid var(--yellow); }
.side-title { display: flex; gap: .5rem; align-items: center; font: 700 1.35rem/1.1 var(--f-head); margin: 0; }
.side-card p { margin: 0 0 .3rem; color: var(--steel); }
.table-wrap { overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--line); border-radius: var(--radius); }
.cmp { width: 100%; border-collapse: collapse; font-size: .97rem; background: #fff; }
.cmp caption { text-align: left; font-weight: 700; padding: 12px 16px; background: var(--ink); color: #fff; }
.cmp th, .cmp td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.cmp thead th { background: var(--bg-alt); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.cmp tbody tr:last-child > * { border-bottom: 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); }
@media (min-width: 768px) { .card { padding: 32px; } }
.send-result:empty { display: none; }
.send-result { margin-top: 1rem; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: .8fr 1.2fr; align-items: start; } }
.contact-cards { display: grid; gap: .75rem; }
.c-card { display: flex; gap: .9rem; align-items: center; padding: 18px; border-radius: var(--radius); background: var(--bg-alt); text-decoration: none; min-height: 72px; transition: background-color .15s; }
.c-card > .ic { width: 28px; height: 28px; flex: none; padding: 6px; box-sizing: content-box; border-radius: 10px; background: var(--yellow); }
.c-card span { display: grid; }
.c-card strong { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--steel); }
a.c-card:hover { background: #ebebe6; }
.c-wa > .ic { background: var(--wa); color: #fff; }

/* ---------- Directorio ---------- */
.dir-tools { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.dir-search { flex: 1 1 320px; max-width: 520px; margin: 0; }
.dir-count { margin: 0 0 .9rem; color: var(--steel); font-weight: 600; }
.dir-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.dir-item { display: grid; gap: .75rem; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
@media (min-width: 860px) { .dir-item { grid-template-columns: 1fr auto; align-items: center; } }
.dir-name { font-size: 1.35rem; margin: 0 0 .2rem; }
.dir-addr { display: flex; gap: .4rem; align-items: flex-start; margin: 0; color: var(--ink-3); font-size: .96rem; }
.dir-addr .ic { width: 1.05rem; height: 1.05rem; margin-top: .2rem; color: var(--steel); }
.dir-addr em { color: var(--steel); }
.dir-src { margin: .3rem 0 0; font-size: .82rem; color: var(--steel); }
.dir-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.dir-empty { padding: 24px; text-align: center; color: var(--steel); }

/* ---------- Cobertura ---------- */
.cov-grid { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .cov-grid { grid-template-columns: 1.2fr 1fr; align-items: start; } .cov-map-card { position: sticky; top: calc(var(--header-h) + 16px); } }
.cov-map { height: 420px; border-radius: var(--radius-lg); overflow: hidden; background: #e8e9e6; border: 1px solid var(--line); }
@media (min-width: 1024px) { .cov-map { height: 560px; } }
.zone-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.zone-item { display: flex; gap: .9rem; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.zone-item.is-consult { border-style: dashed; border-color: #d9b45a; }
.zone-item h3 { margin: 0 0 .15rem; font-size: 1.25rem; }
.zone-item p { margin: 0 0 .4rem; color: var(--steel); font-size: .93rem; }
.zi-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--yellow-soft); color: var(--ink); flex: none; }

/* ---------- Cotizador ---------- */
.section-quoter { padding-top: 28px; background: var(--bg-alt); }
.q-progress { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.q-progress li { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .78rem; color: var(--steel); text-align: center; position: relative; }
.q-progress li::before { content: ''; position: absolute; top: 16px; left: calc(-50% + 18px); right: calc(50% + 18px); height: 3px; background: var(--line); border-radius: 2px; }
.q-progress li:first-child::before { display: none; }
.q-progress .qp-n { position: relative; z-index: 1; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 2px solid #c9ccd0; font: 700 1rem var(--f-head); color: var(--steel); transition: all .2s var(--ease); }
.q-progress .is-done .qp-n { background: var(--ink); border-color: var(--ink); color: var(--yellow); }
.q-progress .is-done::before, .q-progress [aria-current='step']::before { background: var(--ink); }
.q-progress [aria-current='step'] .qp-n { background: var(--yellow); border-color: var(--ink); color: var(--ink); transform: scale(1.08); }
.q-progress [aria-current='step'] { color: var(--ink); font-weight: 700; }
@media (max-width: 559px) { .q-progress .qp-l { display: none; } .q-progress [aria-current='step'] .qp-l { display: block; position: absolute; top: 40px; white-space: nowrap; } .q-progress { margin-bottom: 2.2rem; } }
.q-grid { display: grid; gap: 1.25rem; }
@media (min-width: 1024px) { .q-grid { grid-template-columns: 1.05fr .95fr; align-items: start; } .q-side { position: sticky; top: calc(var(--header-h) + 16px); } }
.q-panel { background: #fff; border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow); border: 1px solid var(--line); }
@media (min-width: 768px) { .q-panel { padding: 28px; } }
.q-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.q-step legend { display: block; width: 100%; padding: 0; margin: 0 0 1.1rem; font: 700 clamp(1.5rem, 3vw, 2rem)/1.1 var(--f-head); }
.q-num { display: block; font: 700 .78rem/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--steel); margin-bottom: .45rem; }
.q-step.is-entering { animation: stepIn .28s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.q-nav { display: flex; justify-content: space-between; gap: .75rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.q-nav [data-next] { margin-left: auto; min-width: 180px; }
.q-nav.is-final [data-next] { display: none; }
.opt-grid { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.opt-grid-3 { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.opt-card { position: relative; cursor: pointer; }
.opt-card input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.oc-in { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; min-height: 104px; padding: 14px 10px; border: 2px solid var(--line); border-radius: 12px; background: #fff; text-align: center; font-weight: 600; font-size: .95rem; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.oc-in .ic { width: 40px; height: 40px; color: var(--ink-3); stroke-width: 1.6; }
.opt-card:hover .oc-in { border-color: #9da2a8; }
.opt-card input:checked + .oc-in { border-color: var(--ink); background: var(--yellow-soft); box-shadow: inset 0 0 0 1px var(--ink); }
.opt-card input:focus-visible + .oc-in { outline: 3px solid #1d4ed8; outline-offset: 2px; }
.yn-list { display: grid; gap: .6rem; }
.yn { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.yn-q { display: flex; align-items: center; gap: .6rem; font-weight: 600; flex: 1 1 220px; }
.yn-q .ic { color: var(--steel); }
.yn-opts { display: inline-flex; border: 2px solid var(--ink); border-radius: 10px; overflow: hidden; }
.yn-opts label { position: relative; cursor: pointer; }
.yn-opts input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.yn-opts span { display: grid; place-items: center; min-width: 64px; min-height: 44px; padding: 0 14px; font-weight: 700; transition: background-color .15s, color .15s; }
.yn-opts input:checked + span { background: var(--ink); color: var(--yellow); }
.yn-opts input:focus-visible + span { outline: 3px solid #1d4ed8; outline-offset: -3px; }
.route-box:empty { display: none; }
.route-box { margin: .25rem 0 1rem; }
.route-ok { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
.route-ok .stat { background: var(--bg-alt); border-radius: 12px; padding: 12px 14px; }
.stat-v { display: block; font: 800 1.9rem/1 var(--f-head); }
.stat-l { font-size: .85rem; color: var(--steel); }
.q-side { display: grid; gap: 1rem; }
.q-map-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.q-map { height: 260px; background: #e8e9e6; }
@media (min-width: 1024px) { .q-map { height: 400px; } }
.map-mode { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; padding: 10px 12px; font-size: .88rem; color: var(--steel); border-top: 1px solid var(--line); }
.chip-btn { display: inline-flex; align-items: center; gap: .3rem; min-height: 40px; padding: 0 12px; border-radius: 999px; border: 2px solid var(--line); background: #fff; font: 600 .88rem var(--f-body); color: var(--ink); cursor: pointer; }
.chip-btn .ic { width: 1rem; height: 1rem; }
.chip-btn.is-on { border-color: var(--ink); background: var(--ink); color: var(--yellow); }
.map-fallback { margin: 0; padding: 12px; display: flex; gap: .4rem; font-size: .9rem; color: var(--warn); background: var(--warn-soft); }
.q-live { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 18px 20px; }
.q-live:empty { display: none; }
.live-row { display: flex; justify-content: space-between; gap: 1rem; padding: 6px 0; border-bottom: 1px solid var(--line-dark); font-size: .93rem; }
.live-row span:first-child { color: var(--mist); }
.live-row span:last-child { text-align: right; }
.live-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: .6rem; }
.live-total strong { font: 800 2rem/1 var(--f-head); color: var(--yellow); }
.q-call { display: flex; align-items: center; gap: .6rem; padding: 14px 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; min-height: 56px; }
.q-call .ic { color: var(--ink); }
.summary .sum-price { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 22px; margin-bottom: 1rem; position: relative; overflow: hidden; }
.summary .sum-price::after { content: ''; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255, 194, 14, .12); }
.sum-label { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--mist); }
.sum-total { display: block; font: 800 clamp(2.6rem, 7vw, 3.6rem)/1 var(--f-head); color: var(--yellow); margin: .3rem 0; }
.sum-note { font-size: .9rem; color: #d9dbde; margin: 0; }
.sum-dl { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1rem; margin: 0 0 1rem; font-size: .96rem; }
.sum-dl dt { color: var(--steel); }
.sum-dl dd { margin: 0; font-weight: 600; }
.breakdown { width: 100%; border-collapse: collapse; font-size: .92rem; margin-bottom: 1rem; }
.breakdown td { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.breakdown td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.breakdown details summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.send-row { display: grid; gap: .6rem; margin-top: .5rem; }
@media (min-width: 640px) { .send-row { grid-template-columns: 1fr 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: #0f1113; color: #c9ccd0; padding: 56px 0 0; font-size: .95rem; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; } }
.f-brand p { color: var(--mist); max-width: 46ch; margin: 1rem 0; }
.f-title { font: 700 1.05rem var(--f-body); text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: .8rem; }
.f-links, .f-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .15rem; }
.f-links a { display: inline-flex; min-height: 40px; align-items: center; text-decoration: none; color: #c9ccd0; }
.f-links a:hover, .f-contact a:hover { color: var(--yellow); }
.f-contact li { display: flex; gap: .6rem; align-items: flex-start; padding: 6px 0; }
.f-contact .ic { color: var(--yellow); margin-top: .15rem; }
.f-contact a { color: #fff; text-decoration: none; }
.f-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; margin-top: 40px; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid #24282d; font-size: .85rem; color: #9aa0a7; }
.f-bottom p { margin: 0; }
.credit a { color: var(--yellow); font-weight: 700; text-decoration: none; }
.credit a:hover { text-decoration: underline; }

/* ---------- Barra móvil y WhatsApp flotante ---------- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(15, 17, 19, .97); border-top: 1px solid #2a2e33; backdrop-filter: blur(8px); }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 54px; border-radius: 12px; font-weight: 800; font-size: 1.05rem; text-decoration: none; }
.mobile-bar .ic { width: 22px; height: 22px; }
.mb-call { background: var(--yellow); color: var(--ink); }
.mb-wa { background: var(--wa); color: #fff; }
body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
.wa-float { display: none; }
@media (min-width: 900px) {
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
  .wa-float { display: grid; place-items: center; position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 62px; height: 62px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 10px 28px rgba(15, 122, 61, .45); transition: transform .2s var(--ease); }
  .wa-float:hover { transform: scale(1.07); }
  .wa-float .ic { width: 32px; height: 32px; }
}

/* ---------- Leaflet ajustes ---------- */
.leaflet-container { font-family: var(--f-body); }
.leaflet-control-attribution { font-size: 11px; }
.leaflet-container .leaflet-control-attribution a { text-decoration: underline; color: #1d4ed8; }
.map-pin { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); border: 3px solid #fff; box-shadow: 0 4px 10px rgba(0, 0, 0, .35); }
.map-pin span { transform: rotate(45deg); font: 800 15px/1 var(--f-head); }
.map-pin-o { background: var(--yellow); color: var(--ink); }
.map-pin-d { background: var(--ink); color: var(--yellow); }

/* ---------- Animaciones ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print { .site-header, .mobile-bar, .wa-float, .demo-bar, .final-cta { display: none !important; } body { padding: 0; } }

/* ---------- Tráfico y clima ---------- */
.wx-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.wx { background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; min-height: 190px; display: flex; flex-direction: column; }
.section-dark .wx { background: var(--ink-2); color: #fff; border-color: var(--line-dark); }
.wx-name { font-size: 1.3rem; margin: 0 0 .4rem; }
.wx-temp { display: flex; align-items: center; gap: .6rem; margin: 0 0 .3rem; font: 800 2.6rem/1 var(--f-head); }
.wx-temp .ic { width: 40px; height: 40px; color: var(--yellow-2); }
.section-dark .wx-temp .ic { color: var(--yellow); }
.wx-desc { margin: 0 0 .6rem; color: var(--steel); font-size: .95rem; }
.section-dark .wx-desc, .section-dark .wx-meta { color: var(--mist); }
.wx-meta { list-style: none; padding: 0; margin: 0 0 .6rem; display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: .9rem; color: var(--steel); }
.wx-meta li { display: flex; align-items: center; gap: .3rem; }
.wx-meta .ic { width: 1rem; height: 1rem; }
.wx-adv { margin: auto 0 0; padding-top: .6rem; border-top: 1px dashed var(--line); font-size: .9rem; font-weight: 600; }
.section-dark .wx-adv { border-color: var(--line-dark); }
.wx-compact .wx { min-height: 0; }
.wx-compact .wx-meta { display: none; }
.wx-skel { display: inline-block; width: 90px; height: 38px; border-radius: 8px; background: linear-gradient(90deg, rgba(128,128,128,.15), rgba(128,128,128,.3), rgba(128,128,128,.15)); background-size: 200% 100%; animation: skel 1.2s linear infinite; }
@keyframes skel { to { background-position: -200% 0; } }
.live-row-2 { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
@media (min-width: 900px) { .live-row-2 { grid-template-columns: 1.4fr 1fr; align-items: center; } }
.live-h3 { display: flex; align-items: center; gap: .5rem; font-size: 1.3rem; }
.live-h3 .ic { color: var(--yellow); }
.live-cta { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: 20px; }
.live-cta p { color: var(--mist); }
.bw-mini { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.bw-mini li { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: 12px 14px; border-radius: 12px; background: var(--ink-2); border: 1px solid var(--line-dark); font-size: .93rem; }
.bw-mini strong { display: inline-flex; align-items: center; gap: .35rem; font-size: 1rem; white-space: nowrap; }
.bw-mini .ic { width: 1rem; height: 1rem; }
.lv-ok { color: #157347; } .lv-mid { color: #8a5a00; } .lv-high { color: #b42318; }
.section-dark .lv-ok { color: #6fdc9b; } .section-dark .lv-mid { color: var(--yellow); } .section-dark .lv-high { color: #ff8a80; }
.bw-tbl td { font-weight: 700; white-space: nowrap; }
.src-note { font-size: .82rem; color: var(--steel); margin: .8rem 0 0; }
.section-dark .src-note { color: var(--mist); }
.live-stamp { display: inline-flex; align-items: center; gap: .4rem; color: var(--mist); font-size: .9rem; margin: .6rem 0 0; }
.live-stamp:empty { display: none; }
.live-stamp .ic { width: 1rem; height: 1rem; }
.traffic-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.traffic-map { height: 380px; background: #e8e9e6; }
@media (min-width: 900px) { .traffic-map { height: 520px; } }
.traffic-legend { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; padding: 10px 14px; font-size: .88rem; border-top: 1px solid var(--line); }
.traffic-legend span { display: inline-flex; align-items: center; gap: .35rem; }
.traffic-legend i { width: 22px; height: 6px; border-radius: 3px; display: inline-block; }
.tl-g { background: #2fb344; } .tl-y { background: #f59f00; } .tl-r { background: #d63939; }
.traffic-links { padding: 12px 14px; border-top: 1px solid var(--line); }
.roads-h { margin-top: 2rem; }
.roads { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.roads li { display: flex; gap: .7rem; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.roads li .ic { color: var(--yellow-2); margin-top: .15rem; }
.roads li div { display: grid; }
.roads li span { color: var(--steel); font-size: .92rem; }
.q-live .kicker { color: var(--yellow); }
.nav .nav-cta .btn { color: var(--ink); border-radius: 10px; border-bottom: 0; justify-content: center; min-height: 56px; font-size: 1.05rem; }
.nav .nav-cta .btn:hover { background: var(--yellow-2); color: var(--ink); }

/* ---------- Versión estática ---------- */
.qq-err { color: var(--danger); font-size: .9rem; font-weight: 600; margin: .4rem 0 0; }
.qq-err:empty { display: none; }
.traffic-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.bw-links { margin-top: .75rem; }
.section-dark .help { color: var(--mist); }
.wx-grid > .alert { grid-column: 1 / -1; }
.faq-group { font-size: 1.5rem; margin: 2rem 0 .8rem; } .faq-group:first-child { margin-top: 0; }
