/* Grupo Koal — V4 Light Flagship Architectural Design System (0 KB JS · WCAG 2.1 AA · KOAL DS) */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/web-assets/pjs-400.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/web-assets/pjs-600.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/web-assets/pjs-700.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/web-assets/pjs-800.woff2") format("woff2");
}

:root {
  /* Paleta oficial Grupo Koal (koal_ds.css + logo koala celeste) */
  --navy: #0a2350;
  --navy-2: #12306b;
  --blue: #1565c0;
  --blue-hover: #0d4fa0;
  --cyan: #3cc8f0;
  --cyan-soft: #e6f7fd;
  --sky-soft: #eef6fe;
  --sky-border: #c5e3f8;
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --ink: #0f1b2d;
  --muted: #475569;
  --line: #dce3ec;
  --line-strong: #c2d0e0;
  --ok: #0f7a4a;
  --ok-hover: #0a5c37;
  --ok-soft: #e7f6ee;
  --urgent: #b42318;
  --urgent-hover: #911c13;
  --urgent-soft: #fdecea;
  --urgent-border: #f7c5c0;
  --warn-bg: #fff8e6;
  --warn-border: #e5b84b;
  --warn-ink: #6e4200;
  --shadow-sm: 0 1px 2px rgba(10, 35, 80, 0.05), 0 4px 12px rgba(10, 35, 80, 0.04);
  --shadow: 0 12px 30px rgba(10, 35, 80, 0.08);
  --shadow-lg: 0 22px 48px rgba(10, 35, 80, 0.12);
  --radius: 16px;
  --radius-sm: 11px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--blue) 45%, var(--cyan) 100%);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 6px;
}
.num { font-variant-numeric: tabular-nums; }
.ico { width: 17px; height: 17px; flex: 0 0 auto; display: inline-block; vertical-align: middle; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 10px 16px; z-index: 1000;
}
.skip:focus { left: 10px; top: 10px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Header claro pegajoso */
header.site {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px;
}
.brand {
  display: flex; align-items: center; gap: 12px; color: var(--navy); text-decoration: none; min-width: 0;
}
.brand:hover { text-decoration: none; }
.brand-koala {
  width: 48px; height: 48px; flex: 0 0 48px; object-fit: contain;
}
.brand-txt { min-width: 0; }
.brand-name {
  display: block; font-size: 19px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; color: var(--navy);
}
.brand-sub {
  display: block; font-size: 11.5px; font-weight: 600; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

nav.main { display: flex; align-items: center; gap: 2px; }
nav.main a {
  padding: 9px 13px; border-radius: 10px; font-size: 14.5px; font-weight: 700;
  color: var(--navy); text-decoration: none; white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
nav.main a:hover { background: var(--sky-soft); color: var(--blue); text-decoration: none; }
nav.main a.nav-urgent {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--urgent-soft); color: var(--urgent); border: 1px solid var(--urgent-border);
}
nav.main a.nav-urgent:hover { background: #fadbd8; color: var(--urgent-hover); }
.dot-urgent {
  width: 7px; height: 7px; border-radius: 50%; background: var(--urgent); flex: 0 0 7px; display: inline-block;
}

.header-cta { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* Menú móvil CSS puro (<details>) */
.nav-mobile { display: none; position: relative; }
.nav-mobile summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; border-radius: 10px; border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--navy); font-weight: 700; font-size: 14px; min-height: 44px;
}
.nav-mobile summary::-webkit-details-marker { display: none; }
.mobile-drawer {
  position: absolute; right: 0; top: calc(100% + 10px); width: min(320px, 88vw);
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: 10px; z-index: 90;
}
.mobile-drawer a {
  display: flex; align-items: center; justify-content: space-between; padding: 11px 12px;
  border-radius: 10px; color: var(--navy); font-weight: 650; font-size: 14.5px; text-decoration: none;
}
.mobile-drawer a:hover { background: var(--sky-soft); text-decoration: none; }
.mobile-drawer a.m-urgent { background: var(--urgent-soft); color: var(--urgent); font-weight: 800; }

/* Botones WCAG AA */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 11px; font-weight: 700; font-size: 15px; line-height: 1.2;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer; min-height: 44px;
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease, border-color 0.14s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-sm { padding: 9px 14px; font-size: 14px; min-height: 40px; }
.btn-lg { padding: 14px 24px; font-size: 15.5px; }
.btn-primary {
  background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(21, 101, 192, 0.22);
}
.btn-primary:hover { background: var(--blue-hover); color: #fff; box-shadow: 0 10px 24px rgba(13, 79, 160, 0.28); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; }
.btn-wa { background: var(--ok); color: #fff; box-shadow: 0 6px 16px rgba(15, 122, 74, 0.18); }
.btn-wa:hover { background: var(--ok-hover); color: #fff; }
.btn-urgent {
  background: var(--urgent); color: #fff; box-shadow: 0 6px 18px rgba(180, 35, 24, 0.22);
}
.btn-urgent:hover { background: var(--urgent-hover); color: #fff; }
.btn-ghost {
  background: var(--surface); color: var(--navy); border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--sky-soft); border-color: var(--blue); color: var(--navy); }
.btn-on-dark {
  background: #fff; color: var(--navy); border-color: #fff;
}
.btn-on-dark:hover { background: var(--cyan-soft); color: var(--navy); }
.btn-outline-dark {
  background: rgba(255, 255, 255, 0.1); color: #fff; border-color: rgba(255, 255, 255, 0.45);
}
.btn-outline-dark:hover { background: rgba(255, 255, 255, 0.2); color: #fff; }

/* Hero Light Editorial (portada y corporativo) */
.hero {
  background:
    radial-gradient(620px 360px at 84% 26%, rgba(60, 200, 240, 0.18), transparent 68%),
    radial-gradient(500px 320px at 10% 88%, rgba(21, 101, 192, 0.08), transparent 65%),
    linear-gradient(160deg, #ffffff 0%, #f1f7fe 58%, #e6f5fd 100%);
  color: var(--ink);
  padding: 46px 0 38px;
  border-bottom: 1px solid var(--line);
}
.hero-urgent {
  background:
    radial-gradient(560px 320px at 84% 24%, rgba(180, 35, 24, 0.09), transparent 66%),
    linear-gradient(160deg, #ffffff 0%, #fff8f8 62%, #fef2f2 100%);
  border-bottom: 1px solid var(--urgent-border);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 38px; align-items: center;
}
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 13px; border-radius: 999px;
  background: var(--cyan-soft); color: var(--navy); border: 1px solid var(--sky-border);
  margin-bottom: 16px;
}
.hero-urgent .kicker {
  background: var(--urgent-soft); color: var(--urgent); border-color: var(--urgent-border);
}
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 4.1vw, 48px);
  line-height: 1.09; letter-spacing: -0.03em; font-weight: 800; color: var(--navy);
}
.hero h1 em { font-style: normal; color: var(--blue); }
.hero-urgent h1 em { color: var(--urgent); }
.hero p.lead {
  margin: 0 0 22px; font-size: 17px; color: var(--muted); max-width: 56ch; line-height: 1.62;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 11px; margin: 18px 0 0; }

/* Cápsula arquitectónica serena sobre el pliegue (Urgencias 24h sin ruido) */
.hero-urgent-pill {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 16px; padding: 10px 15px; border-radius: 12px; width: 100%; max-width: 600px;
  background: var(--surface); border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm); font-size: 14px; color: var(--ink); text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.hero-urgent-pill-main { display: inline-flex; align-items: center; gap: 9px; }
.hero-urgent-pill:hover {
  border-color: var(--urgent); box-shadow: var(--shadow); text-decoration: none;
}
.hero-urgent-pill strong { color: var(--navy); }
.hero-urgent-pill .pill-go { color: var(--urgent); font-weight: 800; white-space: nowrap; flex-shrink: 0; }

.hero-kpis {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px;
}
.hero-kpi {
  background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--cyan);
  border-radius: 13px; padding: 13px 14px; box-shadow: var(--shadow-sm);
}
.hero-kpi strong {
  display: block; font-size: 20px; font-weight: 800; color: var(--navy); line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.hero-kpi span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; line-height: 1.35; }

/* Tarjeta visual derecha del Hero */
.hero-photo-card {
  border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-lg);
}
.hero-photo-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.hero-photo-cap {
  padding: 15px 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: var(--surface); border-top: 1px solid var(--line);
}
.hero-photo-cap strong { color: var(--navy); font-size: 14.5px; display: block; }
.hero-photo-cap span { color: var(--muted); font-size: 13px; display: block; }

/* Panel claro lateral en hubs de urgencias */
.hero-panel {
  background: var(--surface); border: 1px solid var(--urgent-border); border-radius: 18px;
  padding: 22px; box-shadow: var(--shadow); color: var(--ink);
}
.hero-panel h2 { margin: 0 0 12px; font-size: 18px; color: var(--navy); }
.hero-steps {
  margin: 0; padding-left: 19px; color: var(--ink); font-size: 14.5px; display: grid; gap: 9px;
}
.hero-steps li { line-height: 1.5; }
.hero-panel-note {
  margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--muted);
}

/* Barra horizontal de intención semántica al pie del Hero */
.intent-rail {
  margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(10, 35, 80, 0.1);
}
.intent-rail-label {
  display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 10px;
}
.intent-pills {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.intent-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line-strong);
  color: var(--navy); font-size: 13.5px; font-weight: 700; text-decoration: none;
  transition: background 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}
.intent-pill:hover {
  background: var(--cyan-soft); border-color: var(--blue); color: var(--blue); text-decoration: none;
}
.intent-pill.is-urgent { border-color: var(--urgent-border); color: var(--urgent); background: #fff; }
.intent-pill.is-urgent:hover { background: var(--urgent-soft); border-color: var(--urgent); }

/* Secciones y encabezados */
section.block { padding: 62px 0; }
section.block.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 20px;
  margin-bottom: 30px; flex-wrap: wrap;
}
.sec-eyebrow {
  display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 6px;
}
.sec-eyebrow.red { color: var(--urgent); }
.sec-head h2 {
  margin: 0; font-size: clamp(24px, 3vw, 34px); color: var(--navy);
  letter-spacing: -0.025em; line-height: 1.15; font-weight: 800;
}
.sec-head p { margin: 8px 0 0; color: var(--muted); max-width: 66ch; font-size: 15.5px; }

/* Rejillas */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }

/* Tarjetas base (Retícula Arquitectónica Suiza) */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.card:hover, .card:has(a:focus-visible) {
  transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--sky-border);
}
.card-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: var(--sky-soft); }
.card-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { margin: 0; font-size: 18px; color: var(--navy); line-height: 1.25; font-weight: 800; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; flex: 1; }
.card-foot { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); }

.badge {
  display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px; width: fit-content;
}
.badge-sky, .badge-teal { background: var(--cyan-soft); color: var(--navy); border: 1px solid var(--sky-border); }
.badge-red, .badge-urgent { background: var(--urgent-soft); color: var(--urgent); border: 1px solid var(--urgent-border); }
.badge-dark { background: var(--navy); color: #fff; }
.badge-ok { background: var(--ok-soft); color: var(--ok); }
.more {
  display: inline-flex; align-items: center; gap: 5px; font-weight: 700; font-size: 14.5px;
  color: var(--blue); margin-top: auto;
}
.more:hover { color: var(--blue-hover); }

/* Tarjetas de servicio con media 16:10 */
.svc-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.svc-card:hover, .svc-card:has(a:focus-visible) {
  transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--sky-border);
}
.svc-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--sky-soft); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; }
.svc-tag {
  position: absolute; left: 10px; top: 10px; background: rgba(10, 35, 80, 0.9); color: #fff;
  font-size: 11.5px; font-weight: 700; padding: 4px 9px; border-radius: 999px;
}
.svc-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.svc-body h3 { margin: 0; font-size: 17px; color: var(--navy); line-height: 1.25; font-weight: 800; }
.svc-body p { margin: 0; font-size: 14px; color: var(--muted); flex: 1; }

/* Tira de 6 franjas de tarifas en los hubs de urgencias */
.tariff-strip {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-bottom: 20px;
}
.tariff-pill {
  background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--urgent);
  border-radius: 13px; padding: 12px; display: flex; flex-direction: column; gap: 3px;
  box-shadow: var(--shadow-sm);
}
.tariff-pill strong { font-size: 19px; font-weight: 800; color: var(--urgent); font-variant-numeric: tabular-nums; line-height: 1.15; }
.tariff-pill span { font-size: 12.5px; font-weight: 700; color: var(--navy); line-height: 1.25; }
.tariff-pill small { font-size: 11.5px; color: var(--muted); line-height: 1.3; }
.tariff-wrap {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.price-cell { font-weight: 800; font-size: 17px; color: var(--urgent); white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-sub { display: block; font-size: 12px; color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }

/* Zonas locales, pasos, avisos y FAQs interiores */
.zone-chip.capital { background: var(--sky-soft); border-color: var(--sky-border); }
.local-meta-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 16px 0 20px; }
.local-stat {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px;
}
.local-stat small { display: block; font-size: 12px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.local-stat strong { display: block; font-size: 15px; color: var(--navy); margin-top: 4px; }
.step-list { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 12px; }
.step-list li {
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--blue);
  border-radius: 13px; padding: 16px 18px;
}
.step-list h3 { margin: 0 0 6px; font-size: 16.5px; color: var(--navy); font-weight: 800; }
.step-list p { margin: 0; font-size: 14.5px; color: var(--muted); }
.notice-box {
  background: var(--warn-bg); border: 1px solid var(--warn-border); border-radius: 13px;
  padding: 16px 18px; color: var(--warn-ink); font-size: 14.5px; margin: 18px 0;
}
.notice-box h3 { margin: 0 0 8px; font-size: 16px; color: var(--warn-ink); font-weight: 800; }
.notice-box ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.hero-visual { display: grid; gap: 16px; }
.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: 13px; padding: 15px 18px;
}
.faq summary {
  cursor: pointer; font-weight: 700; color: var(--navy); list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 14px; font-size: 15.5px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; font-weight: 700; color: var(--blue); line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 11px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.62; }
.foot-bottom {
  padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: #cbd5e1;
}

/* Bloque 1: Tarjetas de La Agrupación */
.pillar-card {
  background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--cyan);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 10px;
}
.pillar-num {
  width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--sky-soft); color: var(--blue); font-weight: 800; font-size: 15px; border: 1px solid var(--sky-border);
}
.pillar-card h3 { margin: 0; font-size: 18px; color: var(--navy); line-height: 1.25; font-weight: 800; }
.pillar-card p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* Banner destacado Tienda KOAL (Claro con tarjeta de tarifa en marino) */
.store-banner {
  margin-top: 28px;
  background: linear-gradient(135deg, #ffffff 0%, #eef6fe 55%, #e6f7fd 100%);
  border: 1px solid var(--sky-border); border-radius: 20px; padding: 30px;
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 26px; align-items: center;
  box-shadow: var(--shadow);
}
.store-banner h3 {
  margin: 0 0 10px; font-size: clamp(21px, 2.4vw, 27px); color: var(--navy);
  letter-spacing: -0.02em; line-height: 1.18; font-weight: 800;
}
.store-banner p { margin: 0; color: var(--muted); font-size: 15px; }
.price-card {
  background: var(--navy); color: #fff; border-radius: 16px; padding: 22px; text-align: center;
  border-top: 3px solid var(--cyan); box-shadow: var(--shadow);
}
.price-card small { display: block; color: #dbeafe; font-size: 13px; }
.price-card strong {
  display: block; font-size: 30px; font-weight: 800; line-height: 1.15; margin: 6px 0;
  color: #fff; font-variant-numeric: tabular-nums;
}
.price-card .price-iva { color: var(--cyan); font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.price-card .price-extra { color: #cbd5e1; font-size: 12.5px; margin-top: 8px; }

/* Módulo SEO compacto y sobrio de Urgencias 24 horas en portada (realce con :target) */
.urgent-compact {
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--urgent);
  border-radius: 18px; padding: 26px; box-shadow: var(--shadow-sm);
  scroll-margin-top: 96px; transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.urgent-compact:target {
  border-color: var(--urgent); box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.12), var(--shadow);
}
.urgent-compact-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; flex-wrap: wrap;
  margin-bottom: 20px;
}
.urgent-compact h2 {
  margin: 4px 0 8px; font-size: clamp(22px, 2.6vw, 30px); color: var(--navy); font-weight: 800; line-height: 1.18;
}
.urgent-compact p { margin: 0; color: var(--muted); font-size: 15px; max-width: 72ch; }
.hub-links-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px;
}
.hub-link {
  display: flex; flex-direction: column; gap: 3px; padding: 13px 14px; border-radius: 12px;
  background: var(--bg); border: 1px solid var(--line); color: var(--navy); text-decoration: none;
  transition: background 0.14s ease, border-color 0.14s ease, transform 0.14s ease;
}
.hub-link:hover {
  background: var(--urgent-soft); border-color: var(--urgent-border); transform: translateY(-1px); text-decoration: none;
}
.hub-link strong { font-size: 14.5px; color: var(--navy); line-height: 1.25; }
.hub-link span { font-size: 12.5px; color: var(--muted); }
.urgent-guides-bar {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 14px;
}
.urgent-guides-links { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* Banda B2B para Autónomos en marino institucional #0A2350 */
.b2b-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; border-radius: 20px; padding: 34px;
  border-top: 3px solid var(--cyan); box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: 24px; align-items: center;
}
.b2b-band .kicker-dark {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 8px;
}
.b2b-band h2 { margin: 0 0 10px; font-size: clamp(22px, 2.8vw, 30px); color: #fff; line-height: 1.18; }
.b2b-band p { margin: 0; color: #dbeafe; font-size: 15.5px; max-width: 62ch; }
.b2b-actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }

/* Tabla de tarifas oficiales en los 8 hubs de urgencias */
.tariff-box {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.tariff-scroll { overflow-x: auto; }
table.tariffs { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.tariffs th {
  background: var(--navy); color: #fff; text-align: left; padding: 13px 16px;
  font-size: 12.5px; letter-spacing: 0.04em; text-transform: uppercase;
}
table.tariffs td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.tariffs tr:last-child td { border-bottom: 0; }
table.tariffs tbody tr:nth-child(even) { background: var(--surface-2); }
.t-price { font-weight: 800; font-size: 17px; color: var(--urgent); white-space: nowrap; font-variant-numeric: tabular-nums; }
.t-base { display: block; font-size: 12px; color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.tariff-notes {
  padding: 15px 18px; background: var(--sky-soft); border-top: 1px solid var(--sky-border);
  font-size: 13.5px; color: var(--ink); display: grid; gap: 6px;
}

/* Tarjeta accesos online */
.role-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow-sm);
}
.role-head { display: flex; align-items: center; gap: 10px; }
.role-ico {
  width: 38px; height: 38px; border-radius: 10px; background: var(--sky-soft); color: var(--blue);
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 38px;
  border: 1px solid var(--sky-border);
}
.role-card h3 { margin: 0; font-size: 17px; color: var(--navy); font-weight: 800; }
.role-card p { margin: 0; font-size: 14px; color: var(--muted); flex: 1; }
.role-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }

/* Cobertura / zonas */
.zone-list { display: flex; flex-wrap: wrap; gap: 9px; }
.zone-chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 11px;
  background: var(--surface); border: 1px solid var(--line); color: var(--navy);
  font-weight: 700; font-size: 14px; text-decoration: none;
  transition: background 0.14s ease, border-color 0.14s ease;
}
.zone-chip:hover { background: var(--cyan-soft); border-color: var(--blue); color: var(--blue); text-decoration: none; }
.zone-chip small { color: var(--muted); font-weight: 600; font-size: 12px; }

/* Páginas interiores, guías, servicios y Agrupación */
.crumb { padding: 14px 0 4px; font-size: 13.5px; color: var(--muted); }
.crumb a { color: var(--blue); font-weight: 600; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.95fr); gap: 32px; align-items: start; }
.sticky-box {
  position: sticky; top: 96px; background: var(--surface); border: 1px solid var(--line);
  border-top: 3px solid var(--cyan); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
}
.sticky-box.urgent-side { border-top-color: var(--urgent); }
.sticky-box h2, .sticky-box h3 { margin: 0 0 10px; font-size: 18px; color: var(--navy); font-weight: 800; }

.feature-ul { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 10px; }
.feature-ul li {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 15px 13px 40px; position: relative; font-size: 15px; color: var(--ink);
}
.feature-ul li::before {
  content: "✓"; position: absolute; left: 14px; top: 13px; color: var(--ok); font-weight: 800;
}

.step-card {
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--blue);
  border-radius: 13px; padding: 16px 18px; margin-bottom: 12px;
}
.step-card h3 { margin: 0 0 6px; font-size: 16.5px; color: var(--navy); font-weight: 800; }
.step-card p { margin: 0; font-size: 14.5px; color: var(--muted); }

.warn-box {
  background: var(--warn-bg); border: 1px solid var(--warn-border); border-radius: 13px;
  padding: 16px 18px; color: var(--warn-ink); font-size: 14.5px; margin: 18px 0;
}
.warn-box ul { margin: 8px 0 0; padding-left: 20px; }

.own-equip-box {
  background: linear-gradient(135deg, #ffffff 0%, #e6f7fd 100%);
  border: 1px solid var(--sky-border); border-radius: 16px; padding: 22px;
  margin: 24px 0; display: grid; gap: 10px;
}
.own-equip-box h2 { margin: 0; font-size: 20px; color: var(--navy); font-weight: 800; }
.own-equip-box p { margin: 0; color: var(--muted); font-size: 15px; }

.prose { display: grid; gap: 14px; }
.prose h2 { margin: 18px 0 4px; font-size: 23px; color: var(--navy); letter-spacing: -0.02em; font-weight: 800; }
.prose p { margin: 0; color: var(--ink); font-size: 15.5px; line-height: 1.66; }

/* FAQs nativas accesibles (<details>) */
.faq-list { display: grid; gap: 10px; }
.faq-list details {
  background: var(--surface); border: 1px solid var(--line); border-radius: 13px; padding: 15px 18px;
}
.faq-list details[open] { border-color: var(--sky-border); box-shadow: var(--shadow-sm); }
.faq-list summary {
  cursor: pointer; font-weight: 700; color: var(--navy); list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 14px; font-size: 15.5px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; font-size: 20px; font-weight: 700; color: var(--blue); line-height: 1; flex-shrink: 0;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 11px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.62; }

/* Footer marino institucional #0A2350 con koala en placa blanca */
footer.site {
  background: var(--navy); color: #e2e8f0; padding: 54px 0 34px; margin-top: 24px;
  border-top: 3px solid var(--cyan);
}
.foot-grid {
  display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 30px;
}
.foot-brand-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.foot-brand-plaque {
  width: 52px; height: 52px; border-radius: 13px; background: #fff; padding: 4px;
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 52px;
}
.foot-brand-plaque img { width: 44px; height: 44px; object-fit: contain; }
footer.site .foot-title {
  margin: 0 0 11px; color: #fff; font-size: 15.5px; font-weight: 800; line-height: 1.25;
}
.foot-brand-row .foot-title { margin: 0; }
.foot-desc { margin: 0 0 12px; font-size: 14px; color: #dbeafe; line-height: 1.55; }
footer.site ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; font-size: 14px; }
footer.site a { color: #e0f2fe; text-decoration: underline; text-underline-offset: 3px; }
footer.site a:hover { color: var(--cyan); }
.foot-bar, .foot-bottom {
  padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: #cbd5e1;
}

/* Barra móvil fija */
.mobile-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); padding: 10px 12px; gap: 10px;
  box-shadow: 0 -6px 20px rgba(10, 35, 80, 0.1);
}
.mobile-bar a { flex: 1; padding: 12px 10px; font-size: 14px; }

/* Responsive (0 px overflow en tableta y móvil) */
@media (max-width: 1040px) {
  nav.main { display: none; }
  .nav-mobile { display: block; }
  .grid-4, .hub-links-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tariff-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-grid, .two-col, .store-banner, .b2b-band { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sticky-box { position: static; }
}
@media (max-width: 720px) {
  body { padding-bottom: 72px; }
  .wrap { padding: 0 16px; }
  header.site .wrap { min-height: 66px; gap: 10px; }
  .brand-koala { width: 42px; height: 42px; flex-basis: 42px; }
  .brand-name { font-size: 17px; }
  .brand-sub { font-size: 11px; }
  .header-cta .hide-sm { display: none; }
  .hero { padding: 28px 0 26px; }
  .hero-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .hero-kpi { padding: 10px 9px; }
  .hero-kpi strong { font-size: 15.5px; }
  .hero-kpi span { font-size: 11px; }
  .local-meta-grid { grid-template-columns: 1fr; }
  .tariff-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intent-pills { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .intent-pill { flex: 0 0 auto; }
  .grid-2, .grid-3, .grid-4, .hub-links-grid, .foot-grid { grid-template-columns: 1fr; }
  section.block { padding: 40px 0; }
  .store-banner, .b2b-band, .urgent-compact { padding: 20px; }
  .mobile-bar { display: flex; }
}
