/* EcoFacilities · ecofacilitiess.mx
   Paleta Ecodeli (SOT 07): 60 % blanco/gris, 30 % azul marino, 10 % rojo (solo CTA y detalles). */

:root {
  --navy: #143F6F;
  --navy-900: #0B2847;
  --navy-800: #10345D;
  --navy-700: #1B4C82;
  --red: #F00018;
  --red-deep: #A00010;
  --blue: #2486B6;
  --blue-50: #E8F3F9;
  --bg: #FFFFFF;
  --bg-soft: #F9FAFD;
  --bg-muted: #EFF2F8;
  --ink: #212529;
  --ink-2: #4A5462;
  --ink-3: #6B7685;
  --line: #DDE3EC;
  --line-strong: #C6CFDB;
  --ok: #138A5B;
  --warn: #B26A00;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(11, 40, 71, .06), 0 1px 1px rgba(11, 40, 71, .04);
  --shadow: 0 10px 30px -12px rgba(11, 40, 71, .22), 0 2px 6px rgba(11, 40, 71, .06);
  --shadow-lg: 0 30px 60px -20px rgba(11, 40, 71, .35);

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Archivo", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy-900); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.22rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 62ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--red); border-radius: 2px; }
.muted { color: var(--ink-3); }
.mono { font-family: var(--font-mono); }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 10px; border: 1.5px solid transparent; font-weight: 700; font-size: 1rem; text-decoration: none; transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s ease, border-color .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px -8px rgba(240, 0, 24, .55); }
.btn-primary:hover { background: var(--red-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--bg-muted); color: var(--navy-900); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.06); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: .93rem; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Encabezado ---------- */
.topbar { background: var(--navy-900); color: #cfd9e6; font-size: .84rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #2fd18a; margin-right: 8px; box-shadow: 0 0 0 3px rgba(47, 209, 138, .2); }
.topbar-links { display: flex; gap: 18px; }
@media (max-width: 720px) { .topbar-links { display: none; } }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy-900); }
.brand img { height: 38px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-display); font-size: 1.28rem; letter-spacing: -.02em; }
.brand-text small { font-size: .7rem; color: var(--ink-3); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { color: var(--navy); background: var(--bg-muted); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; color: var(--navy); }
@media (max-width: 1020px) {
  .nav { position: fixed; inset: 110px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px var(--gutter) 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .2s; }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 14px 8px; border-bottom: 1px solid var(--bg-muted); border-radius: 0; }
  .menu-btn { display: inline-flex; }
  .header-cta .btn-ghost { display: none; }
}
@media (max-width: 720px) { .nav { inset: 72px 0 auto 0; } .header-cta .btn-primary { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 96px); background:
  radial-gradient(1200px 500px at 85% -10%, rgba(36, 134, 182, .12), transparent 60%),
  linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; opacity: .35; mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 65%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 65%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; } }
.hero h1 .accent { color: var(--navy); position: relative; white-space: nowrap; }
.hero h1 .accent::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .14em; background: var(--red); opacity: .9; border-radius: 2px; transform-origin: left; animation: underline .9s .3s cubic-bezier(.2,.8,.2,1) both; }
@keyframes underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero .lead { margin-bottom: 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.sites-picker { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow-sm); max-width: 560px; }
.sites-picker p { font-weight: 700; color: var(--navy-900); margin: 0 0 10px; font-size: .95rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--line-strong); background: #fff; color: var(--navy); font-weight: 600; font-size: .92rem; border-radius: 999px; padding: 8px 16px; transition: .15s; }
.chip:hover { border-color: var(--navy); background: var(--bg-muted); }
.chip[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }

.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; color: var(--ink-2); font-size: .9rem; font-weight: 600; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--ok); flex: none; }

/* Tarjeta de ticket ilustrativa */
.ticket-stage { position: relative; }
.ticket { position: relative; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; animation: floatIn .8s .1s cubic-bezier(.2,.8,.2,1) both; }
@keyframes floatIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.ticket-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; background: var(--navy); color: #fff; }
.ticket-head .id { font-family: var(--font-mono); font-size: .86rem; opacity: .85; }
.ticket-head .prio { font-weight: 800; font-size: .78rem; letter-spacing: .08em; background: var(--red); padding: 4px 10px; border-radius: 6px; }
.ticket-body { padding: 18px 20px 6px; }
.ticket-body h4 { font-family: var(--font-sans); font-size: 1.02rem; margin: 0 0 4px; color: var(--navy-900); }
.ticket-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--ink-3); font-size: .82rem; margin-bottom: 16px; }
.ticket-meta b { color: var(--ink-2); font-weight: 600; }
.clocks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.clock { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.clock small { display: block; font-size: .72rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.clock strong { font-family: var(--font-mono); font-size: 1.05rem; color: var(--navy-900); }
.clock .bar { height: 5px; background: var(--bg-muted); border-radius: 4px; margin-top: 8px; overflow: hidden; }
.clock .bar i { display: block; height: 100%; background: var(--ok); border-radius: 4px; width: 0; animation: grow 1.6s .8s ease-out forwards; }
@keyframes grow { to { width: var(--w); } }
.timeline { list-style: none; margin: 0 0 14px; padding: 0; }
.timeline li { position: relative; padding: 0 0 12px 28px; font-size: .88rem; color: var(--ink-2); }
.timeline li::before { content: ""; position: absolute; left: 6px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(19, 138, 91, .15); }
.timeline li::after { content: ""; position: absolute; left: 10px; top: 18px; bottom: -2px; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline li.now::before { background: var(--blue); box-shadow: 0 0 0 3px rgba(36,134,182,.2); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(36,134,182,0); } }
.timeline b { color: var(--navy-900); font-weight: 600; }
.timeline .t { float: right; font-family: var(--font-mono); font-size: .78rem; color: var(--ink-3); }
.photos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; padding: 0 20px 18px; }
.photos span { aspect-ratio: 1; border-radius: 6px; background: linear-gradient(135deg, #cfd9e6, #e9eef5); position: relative; overflow: hidden; }
.photos span::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(20,63,111,.08) 0 6px, transparent 6px 12px); }
.photos span:last-child { display: grid; place-items: center; background: var(--blue-50); font-size: .72rem; font-weight: 700; color: var(--blue); }
.photos span:last-child::after { display: none; }
.ticket-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding: 12px 20px; font-size: .8rem; color: var(--ink-3); background: var(--bg-soft); }
.ticket-foot .ok { color: var(--ok); font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
.ticket-note { font-size: .74rem; color: var(--ink-3); text-align: center; margin-top: 10px; }
.float-card { position: absolute; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 12px; padding: 10px 14px; font-size: .8rem; display: flex; gap: 10px; align-items: center; animation: floatIn .8s .6s both; }
.float-card strong { display: block; color: var(--navy-900); font-size: .9rem; }
.float-card .ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); flex: none; }
.float-card .ic svg { width: 18px; height: 18px; }
.float-a { left: -34px; bottom: 90px; }
.float-b { right: -22px; top: -18px; }
@media (max-width: 1180px) { .float-a { left: -10px; } .float-b { right: -6px; } }
@media (max-width: 520px) { .float-card { display: none; } }

/* ---------- Secciones ---------- */
section { scroll-margin-top: 84px; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-soft { background: var(--bg-soft); }
.section-navy { background: var(--navy); color: #d9e3ef; position: relative; overflow: hidden; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .lead { color: #c3d1e2; }
.section-navy .eyebrow { color: #8cc8e6; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card p:last-child { margin-bottom: 0; }
.card .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--navy); margin-bottom: 16px; }
.card .ic svg { width: 24px; height: 24px; }
.card p { color: var(--ink-2); font-size: .97rem; }

/* Dolor */
.pain { border-left: 3px solid var(--red); }
.pain h3 { font-size: 1.1rem; }
.stat-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 36px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.stat { padding: 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(2rem, 3.6vw, 2.8rem); color: var(--navy); line-height: 1; letter-spacing: -.03em; margin-bottom: 8px; }
.stat p { margin: 0; color: var(--ink-2); font-size: .94rem; }
.stat cite { display: block; font-style: normal; font-size: .76rem; color: var(--ink-3); margin-top: 10px; }
@media (max-width: 860px) { .stat-strip { grid-template-columns: 1fr; } .stat { border-right: 0; border-bottom: 1px solid var(--line); } .stat:last-child { border-bottom: 0; } }

/* Servicios */
.service { position: relative; padding: 34px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.service .tag { align-self: flex-start; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; background: var(--bg-muted); color: var(--navy); margin-bottom: 18px; }
.service.featured { background: var(--navy); border-color: var(--navy); color: #d6e1ee; }
.service.featured h3 { color: #fff; }
.service.featured .tag { background: rgba(255,255,255,.12); color: #fff; }
.service h3 { font-size: 1.55rem; margin-bottom: 10px; }
.service > p { color: inherit; opacity: .92; }
.checks { list-style: none; padding: 0; margin: 14px 0 26px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; font-size: .97rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23143F6F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }
.service.featured .checks li::before { background-color: rgba(255,255,255,.14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.service .btn { margin-top: auto; align-self: flex-start; }

/* Especialidades */
.spec { display: flex; gap: 16px; align-items: flex-start; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.spec .ic { width: 44px; height: 44px; border-radius: 11px; background: var(--navy); color: #fff; display: grid; place-items: center; flex: none; }
.spec .ic svg { width: 22px; height: 22px; }
.spec h3 { font-size: 1.04rem; margin-bottom: 4px; }
.spec p { margin: 0; font-size: .9rem; color: var(--ink-2); }
.spec .nom { display: inline-block; margin-top: 8px; font-family: var(--font-mono); font-size: .74rem; color: var(--blue); background: var(--blue-50); padding: 2px 8px; border-radius: 5px; }

/* Proceso */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, rgba(255,255,255,.08), rgba(255,255,255,.35), rgba(255,255,255,.08)); }
.step { position: relative; }
.step .n { counter-increment: s; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: #fff; background: var(--navy-800); border: 2px solid rgba(255,255,255,.25); margin-bottom: 18px; position: relative; z-index: 1; }
.step .n::before { content: counter(s, decimal-leading-zero); }
.step:last-child .n { background: var(--red); border-color: var(--red); }
.step h3 { font-size: 1.06rem; margin-bottom: 6px; }
.step p { font-size: .92rem; color: #b9c8da; margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } .steps::before { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.navy-deco { position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255,255,255,.03); pointer-events: none; }

/* SLA */
.sla-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 960px) { .sla-wrap { grid-template-columns: 1fr; } }
.table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); font-size: .95rem; }
.table th, .table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.table th { background: var(--bg-soft); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); font-weight: 700; }
.table tr:last-child td { border-bottom: 0; }
.table td strong { font-family: var(--font-mono); color: var(--navy-900); }
.prio-pill { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; font-weight: 800; font-size: .8rem; border-radius: 6px; padding: 3px 8px; color: #fff; }
.p1 { background: var(--red); } .p2 { background: #D9541E; } .p3 { background: var(--blue); } .p4 { background: var(--ink-3); }
.table-note { font-size: .82rem; color: var(--ink-3); margin-top: 12px; }
.mini-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.mini-list li { display: flex; gap: 12px; align-items: flex-start; }
.mini-list .ic { width: 32px; height: 32px; flex: none; border-radius: 8px; background: var(--blue-50); color: var(--navy); display: grid; place-items: center; }
.mini-list .ic svg { width: 17px; height: 17px; }
.mini-list b { color: var(--navy-900); display: block; }
.mini-list span { color: var(--ink-2); font-size: .94rem; }

/* Expediente */
.doc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
@media (max-width: 960px) { .doc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .doc-grid { grid-template-columns: 1fr; } }
.doc { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; position: relative; }
.doc::before { content: ""; position: absolute; right: 14px; top: 14px; width: 22px; height: 22px; border-radius: 50%; background: rgba(19,138,91,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23138A5B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }
.doc b { display: block; font-family: var(--font-display); color: var(--navy-900); font-size: 1.05rem; margin-bottom: 4px; padding-right: 26px; }
.doc span { font-size: .86rem; color: var(--ink-2); }
.repse-line { margin-top: 18px; font-size: .9rem; color: var(--ink-2); }

/* Sectores */
.sector { position: relative; border-radius: 20px; overflow: hidden; padding: 36px; min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end; color: #e6edf6; isolation: isolate; }
.sector::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--navy-900); }
.sector .art { position: absolute; inset: 0; z-index: -1; opacity: .9; }
.sector::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,40,71,0) 10%, rgba(11,40,71,.92) 72%); }
.sector h3 { color: #fff; font-size: 1.6rem; }
.sector ul { margin: 6px 0 22px; padding-left: 18px; color: #c9d6e6; font-size: .96rem; }
.sector ul li { margin-bottom: 4px; }
.sector .btn { align-self: flex-start; }

/* Cobertura */
.coverage { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
@media (max-width: 960px) { .coverage { grid-template-columns: 1fr; } }
.region-list { display: grid; gap: 12px; margin-top: 18px; }
.region { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.region b { color: var(--navy-900); }
.region small { display: block; color: var(--ink-3); font-size: .84rem; }
.badge { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.badge-red { background: rgba(240,0,24,.08); color: var(--red-deep); }
.badge-blue { background: var(--blue-50); color: var(--navy); }
.map-box { background: var(--navy); border-radius: 20px; padding: 24px; box-shadow: var(--shadow-lg); }
.map-box svg { width: 100%; height: auto; }
.map-legend { display: flex; gap: 18px; flex-wrap: wrap; color: #c3d1e2; font-size: .82rem; margin-top: 10px; }
.map-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

/* Autodiagnóstico */
.quiz { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; display: grid; grid-template-columns: 1.15fr .85fr; }
@media (max-width: 960px) { .quiz { grid-template-columns: 1fr; } }
.quiz-q { padding: clamp(22px, 4vw, 40px); }
.quiz-progress { height: 6px; background: var(--bg-muted); border-radius: 6px; overflow: hidden; margin-bottom: 22px; }
.quiz-progress i { display: block; height: 100%; width: 0; background: var(--navy); border-radius: 6px; transition: width .35s ease; }
.quiz-count { font-size: .8rem; font-weight: 700; color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }
.quiz-question { font-family: var(--font-display); font-size: clamp(1.25rem, 2.3vw, 1.6rem); color: var(--navy-900); font-weight: 700; line-height: 1.25; min-height: 3.6em; margin-bottom: 8px; }
.quiz-help { color: var(--ink-3); font-size: .92rem; min-height: 2.8em; }
.quiz-answers { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.quiz-answers button { flex: 1 1 140px; min-height: 54px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: #fff; font-weight: 700; color: var(--navy); transition: .15s; }
.quiz-answers button:hover { border-color: var(--navy); background: var(--bg-muted); }
.quiz-back { margin-top: 18px; background: none; border: 0; color: var(--ink-3); font-weight: 600; font-size: .9rem; padding: 0; }
.quiz-back:hover { color: var(--navy); }
.quiz-side { background: var(--navy); color: #cfdaea; padding: clamp(22px, 4vw, 40px); display: flex; flex-direction: column; justify-content: center; }
.quiz-side h3 { color: #fff; font-size: 1.4rem; }
.quiz-side ul { padding-left: 18px; margin: 0 0 8px; font-size: .95rem; }
.quiz-side li { margin-bottom: 6px; }
.gauge { position: relative; width: 170px; height: 170px; margin: 0 auto 18px; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge .val { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.gauge .val strong { font-family: var(--font-display); font-size: 2.6rem; color: #fff; line-height: 1; display: block; }
.gauge .val small { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: #9fb3cb; }
.result-level { text-align: center; font-weight: 800; font-size: 1.15rem; color: #fff; margin-bottom: 12px; }
.result-recos { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.result-recos li { background: rgba(255,255,255,.07); border-radius: 10px; padding: 10px 14px; font-size: .9rem; color: #dbe5f1; }
[hidden] { display: none !important; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 22px 0; font-weight: 700; font-size: 1.06rem; color: var(--navy-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-muted) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23143F6F' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 22px; color: var(--ink-2); max-width: 72ch; }

/* ---------- Formulario ---------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }
.contact-aside .promise { display: flex; gap: 12px; align-items: center; padding: 16px 18px; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff; font-weight: 600; margin: 22px 0; }
.contact-aside .promise svg { width: 26px; height: 26px; color: #2fd18a; flex: none; }
.contact-aside ol { padding-left: 20px; color: #c3d1e2; }
.contact-aside ol li { margin-bottom: 8px; }
.contact-aside ol b { color: #fff; }
.direct { margin-top: 24px; display: grid; gap: 10px; }
.direct a { color: #fff; font-weight: 600; text-decoration: none; display: inline-flex; gap: 10px; align-items: center; }
.direct a svg { width: 18px; height: 18px; }

.form-card { background: #fff; color: var(--ink); border-radius: 20px; box-shadow: var(--shadow-lg); padding: clamp(22px, 4vw, 36px); }
.form-steps { display: flex; gap: 8px; margin-bottom: 24px; }
.form-steps li { list-style: none; flex: 1; }
.form-steps { padding: 0; }
.form-steps span { display: block; height: 5px; border-radius: 5px; background: var(--bg-muted); transition: background .3s; }
.form-steps li.done span, .form-steps li.active span { background: var(--navy); }
.form-steps small { display: block; font-size: .74rem; font-weight: 700; color: var(--ink-3); margin-top: 8px; letter-spacing: .04em; text-transform: uppercase; }
.form-steps li.active small { color: var(--navy); }
.fs { border: 0; padding: 0; margin: 0; min-width: 0; }
.fs legend { font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; color: var(--navy-900); margin-bottom: 18px; padding: 0; }
.field { margin-bottom: 18px; }
.field > label, .field > .label { display: block; font-weight: 700; font-size: .92rem; color: var(--navy-900); margin-bottom: 8px; }
.field .opt { font-weight: 500; color: var(--ink-3); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-size: 1rem; transition: border-color .15s, box-shadow .15s; }
textarea { min-height: 104px; resize: vertical; }
select { appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23143F6F' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center/16px no-repeat; padding-right: 40px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(20, 63, 111, .12); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red); }
.field .err { display: none; color: var(--red-deep); font-size: .84rem; margin-top: 6px; font-weight: 600; }
.field.invalid .err { display: block; }
.field .hint { font-size: .82rem; color: var(--warn); margin-top: 6px; }
.options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.options.cols3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 560px) { .options, .options.cols3 { grid-template-columns: 1fr 1fr; } }
.opt-card { position: relative; }
.opt-card input { position: absolute; opacity: 0; pointer-events: none; }
.opt-card label { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 13px 14px; border: 1.5px solid var(--line-strong); border-radius: 10px; cursor: pointer; font-weight: 600; font-size: .94rem; color: var(--navy-900); transition: .15s; background: #fff; }
.opt-card label small { font-weight: 500; color: var(--ink-3); font-size: .8rem; }
.opt-card label:hover { border-color: var(--navy); }
.opt-card input:checked + label { border-color: var(--navy); background: var(--blue-50); box-shadow: inset 0 0 0 1px var(--navy); }
.opt-card input:focus-visible + label { outline: 3px solid var(--blue); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy); flex: none; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.form-nav .btn-ghost { min-width: 120px; }
.form-nav .btn-primary { flex: 1; max-width: 340px; margin-left: auto; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { display: none; padding: 14px 16px; border-radius: 10px; font-size: .92rem; margin-bottom: 16px; }
.form-alert.show { display: block; }
.form-alert.error { background: rgba(240,0,24,.07); color: var(--red-deep); border: 1px solid rgba(240,0,24,.2); }
.form-alert.info { background: var(--blue-50); color: var(--navy); border: 1px solid rgba(36,134,182,.25); }
.privacy-note { font-size: .8rem; color: var(--ink-3); margin-top: 14px; display: flex; gap: 8px; align-items: center; }
.privacy-note svg { width: 15px; height: 15px; flex: none; }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.diag-attached { display: flex; gap: 10px; align-items: center; background: var(--blue-50); border-radius: 10px; padding: 10px 14px; font-size: .88rem; color: var(--navy); margin-bottom: 18px; font-weight: 600; }

/* CTA final */
.cta-band { background: linear-gradient(120deg, var(--navy-900), var(--navy) 60%, var(--navy-700)); border-radius: 22px; padding: clamp(32px, 5vw, 56px); display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; color: #cfdaea; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; margin-bottom: 8px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-band p { margin: 0; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Pie */
.footer { background: var(--navy-900); color: #a9b9cc; padding: 64px 0 28px; font-size: .92rem; }
.footer .wrap > .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .footer .wrap > .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer .wrap > .cols { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-family: var(--font-sans); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { color: #d3deea; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer .brand-text small { color: #8ea3bb; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; }
.sources { font-size: .76rem; color: #7f94ad; margin-top: 18px; line-height: 1.5; }
.sources a { color: #9fb3cb; }

/* Barra fija móvil y WhatsApp */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(11,40,71,.25); display: none; gap: 10px; transform: translateY(110%); transition: transform .25s; }
.mobile-cta.show { transform: none; }
@media (max-width: 720px) { .mobile-cta { display: flex; } body { padding-bottom: 76px; } }
.mobile-cta .btn { flex: 1; min-height: 48px; padding: 0 12px; }
.wa-float { position: fixed; right: 20px; bottom: 22px; z-index: 55; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.35); transition: transform .15s; }
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }
@media (max-width: 720px) { .wa-float { bottom: 90px; right: 14px; width: 52px; height: 52px; } }

/* Aparición al hacer scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Aviso de modo demostración (solo local) */
.demo-banner { position: fixed; left: 16px; bottom: 16px; z-index: 70; background: #FFF6E5; color: #6B4100; border: 1px solid #F2C46D; border-radius: 10px; padding: 8px 12px; font-size: .8rem; font-weight: 600; max-width: 320px; box-shadow: var(--shadow); }
@media (max-width: 720px) { .demo-banner { bottom: 86px; } }

/* Páginas internas */
.page { padding: clamp(48px, 7vw, 88px) 0; }
.prose { max-width: 780px; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.prose p, .prose li { color: var(--ink-2); }
.draft-flag { background: #FFF6E5; border: 1px solid #F2C46D; color: #6B4100; padding: 12px 16px; border-radius: 10px; font-size: .9rem; margin-bottom: 28px; }
.thanks { text-align: center; max-width: 640px; margin: 0 auto; }
.thanks .big-ok { width: 84px; height: 84px; border-radius: 50%; background: rgba(19,138,91,.1); color: var(--ok); display: grid; place-items: center; margin: 0 auto 24px; }
.thanks .big-ok svg { width: 42px; height: 42px; }
.folio { display: inline-block; font-family: var(--font-mono); background: var(--bg-muted); padding: 6px 12px; border-radius: 8px; color: var(--navy-900); font-weight: 600; }
.next-steps { text-align: left; margin: 32px auto; display: grid; gap: 12px; }
.next-steps div { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; }
.next-steps b { font-family: var(--font-display); color: var(--navy); font-size: 1.2rem; min-width: 28px; }

/* Ajustes móviles: los hijos de grid no deben empujar el ancho de la página */
.hero .wrap > *, .sla-wrap > *, .coverage > *, .contact > *, .quiz > *, .grid > * { min-width: 0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }
@media (max-width: 560px) {
  .table th, .table td { padding: 11px 10px; font-size: .86rem; }
  .table td:nth-child(2) { min-width: 120px; }
  .hero h1 .accent { white-space: normal; }
  .service, .sector { padding: 24px; }
}

/* ---------- Imágenes ---------- */
.brand img { border-radius: 8px; background: #fff; object-fit: contain; }
.footer .brand img { padding: 3px; }

/* Hero: foto de la unidad con el ticket encima */
.ticket-stage { display: flex; justify-content: flex-start; padding: 24px 0 24px; min-height: 560px; align-items: center; }
.hero-photo { position: absolute; right: 0; top: 0; bottom: 0; width: 64%; height: 100%; object-fit: cover; object-position: 30% 62%; border-radius: 22px; box-shadow: var(--shadow-lg); animation: floatIn .8s both; }
.ticket-stage::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 64%; border-radius: 22px; background: linear-gradient(90deg, rgba(249,250,253,.0) 40%, rgba(11,40,71,.0)), linear-gradient(0deg, rgba(11,40,71,.25), transparent 40%); pointer-events: none; }
.ticket-stage .ticket { width: 78%; max-width: 410px; z-index: 2; }
.ticket-stage .float-card { z-index: 3; }
.ticket-stage .ticket-note { position: absolute; right: 12px; bottom: 8px; z-index: 3; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.5); margin: 0; }
.float-a { left: auto; right: -18px; bottom: 70px; }
.float-b { right: 14px; top: 26px; }
@media (max-width: 960px) {
  .ticket-stage { display: block; min-height: 0; padding: 0; }
  .hero-photo { position: relative; width: 100%; height: 300px; object-position: 50% 62%; }
  .ticket-stage::after { display: none; }
  .ticket-stage .ticket { width: auto; max-width: none; margin: -90px 14px 0; }
  .ticket-stage .ticket-note { position: static; color: var(--ink-3); text-shadow: none; margin-top: 10px; }
  .float-b { top: 14px; right: 14px; }
  .float-a { display: none; }
}

/* Tarjetas con foto */
.card-img { width: calc(100% + 52px); max-width: none; margin: -26px -26px 20px; height: 170px; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.pain .card-img { width: calc(100% + 49px); margin-left: -23px; border-top-left-radius: 0; }
.pain .ic { margin-top: -46px; position: relative; background: #fff; box-shadow: var(--shadow-sm); }
.service-img { width: calc(100% + 68px); max-width: none; margin: -34px -34px 24px; height: 230px; object-fit: cover; border-radius: 18px 18px 0 0; }
.spec { flex-direction: column; padding: 0; gap: 0; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.spec:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.spec-img { width: 100%; height: 150px; object-fit: cover; }
.spec-body { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px 22px; }
.spec-body .ic { margin-top: -42px; border: 3px solid #fff; width: 50px; height: 50px; }

/* Fondos fotográficos */
.section-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .14; pointer-events: none; mix-blend-mode: luminosity; }
.section-navy > .wrap, .cta-band > div { position: relative; z-index: 1; }
.cta-band .section-bg { opacity: .22; }

/* Sectores con foto */
.sector img.art { width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.sector::after { background: linear-gradient(180deg, rgba(11,40,71,.15) 0%, rgba(11,40,71,.55) 40%, rgba(11,40,71,.95) 78%); }



/* Hero v2: foto a la izquierda (frente de la unidad visible), ticket a la derecha */
@media (min-width: 961px) {
  .hero-photo { left: 0; right: auto; width: 66%; object-position: 8% 62%; }
  .ticket-stage::after { left: 0; right: auto; width: 66%; }
  .ticket-stage { justify-content: flex-end; }
  .ticket-stage .ticket { width: 70%; }
  .float-b { left: -18px; right: auto; top: 30px; }
  .float-a { left: 18px; right: auto; bottom: 46px; }
  .ticket-stage .ticket-note { right: auto; left: 14px; bottom: 10px; }
}
.nav a { white-space: nowrap; }
.header .wrap { gap: 28px; }
@media (min-width: 1021px) and (max-width: 1240px) { .nav a { padding: 8px 8px; font-size: .9rem; } .header-cta .btn-ghost { display: none; } }
.brand { flex: none; }
@media (min-width: 1021px) and (max-width: 1340px) { .header-cta .btn-ghost { display: none; } .nav a { padding: 8px 9px; } }
.pain .card-img { width: calc(100% + 52px); margin-left: -26px; }
.service { overflow: hidden; }
@media (max-width: 560px) { .service-img { width: calc(100% + 48px); margin: -24px -24px 20px; height: 200px; } }

/* Mapa de México */
.map-box { padding: 20px 20px 18px; }
.mx-map { width: 100%; height: auto; display: block; }
.mx-st { fill: #5B93C7; fill-opacity: .55; stroke: #143F6F; stroke-width: 1.1; stroke-linejoin: round; transition: fill-opacity .15s; }
.mx-st.pri { fill: #F00018; fill-opacity: .82; }
.mx-st:hover { fill-opacity: 1; stroke: #fff; stroke-width: 1.4; }
.mx-city circle { fill: #fff; stroke: #0B2847; stroke-width: 1.5; }
.mx-city.big circle { fill: #fff; stroke: #F00018; stroke-width: 2.5; }
.mx-city text { font: 600 12px Inter, system-ui, sans-serif; fill: #fff; paint-order: stroke; stroke: #0B2847; stroke-width: 3px; stroke-linejoin: round; pointer-events: none; }
.mx-city.big text { font-weight: 800; font-size: 13px; }
@media (max-width: 560px) { .mx-city:not(.big) text { display: none; } .mx-city.big text { font-size: 16px; } }

/* Cifras del grupo */
.stats-band { background: var(--navy); color: #cfdaea; padding: 34px 0 18px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.kpi { border-left: 3px solid var(--red); padding: 4px 0 4px 16px; }
.kpi strong { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; color: #fff; letter-spacing: -.03em; margin-bottom: 6px; }
.kpi span { font-size: .95rem; }
.kpi-note { font-size: .74rem; color: #8ea3bb; margin-top: 14px; }
@media (max-width: 860px) { .stats-grid { grid-template-columns: 1fr 1fr; gap: 22px; } }

/* Filtros */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin: -16px 0 28px; }
.spec[hidden] { display: none !important; }
.region-list { gap: 10px; }
.region { width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; transition: border-color .15s, box-shadow .15s, background .15s; }
.region:hover { border-color: var(--navy); }
.region[aria-pressed="true"] { border-color: var(--navy); box-shadow: inset 4px 0 0 var(--red), var(--shadow-sm); background: #fff; }
.region small { line-height: 1.4; }
.mx-st.off { fill-opacity: .12; fill: #5B93C7; }
.mx-st { transition: fill-opacity .25s, fill .25s; }
#mxMap:not([data-zona="todo"]):not([data-zona]) .mx-st.off { fill-opacity: .12; }

/* Grupo Ecodeli */
.group-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.group-card img { border-radius: 10px; margin-bottom: 8px; }
.group-card h3 { margin: 0; }
.group-card p { color: var(--ink-2); margin: 0 0 14px; font-size: .96rem; }
.group-card .btn { margin-top: auto; }
.group-card.is-here { border-color: var(--navy); box-shadow: inset 0 3px 0 var(--red); }
.group-card .here { margin-top: auto; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.coverage { align-items: start; }
@media (min-width: 961px) { .coverage .map-box { position: sticky; top: 96px; margin-top: 120px; } }

/* Redes sociales */
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.14); transition: background .15s, transform .15s; }
.social a:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-1px); }
.social svg { width: 18px; height: 18px; }
.social-light { margin-top: 22px; }

/* Cobertura nacional pareja (sin prioridad) */
.mx-st.pri { fill: #5B93C7; fill-opacity: .55; }
.mx-st { fill-opacity: .62; }
.mx-routes path { fill: none; stroke: rgba(255,255,255,.28); stroke-width: 1.4; stroke-dasharray: 4 5; stroke-linecap: round; }
.mx-vans .van rect { fill: #fff; stroke: #0B2847; stroke-width: 1; }
.mx-vans .van .cab { fill: #DCE6F2; }
.mx-vans .van .stripe { fill: #F00018; stroke: none; }
.map-legend .lg-van { width: 18px !important; height: 10px !important; border-radius: 3px !important; background: #fff; box-shadow: inset 0 -3px 0 #F00018; }
#mxMap[data-zona]:not([data-zona="todo"]) .mx-routes path { stroke: rgba(255,255,255,.15); }

/* Apartados */
.nav a[aria-current="page"] { color: var(--navy); background: var(--bg-muted); box-shadow: inset 0 -2px 0 var(--red); }
.jump { display: flex; flex-direction: column; gap: 8px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s; }
.jump:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--navy); color: var(--ink); }
.jump svg { width: 28px; height: 28px; color: var(--red); }
.jump b { font-family: var(--font-display); font-size: 1.15rem; color: var(--navy-900); }
.jump span { color: var(--ink-2); font-size: .94rem; }

/* Enlaces de las empresas */
.group-card .links { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 0 0 14px; }
.group-card .links a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; text-decoration: none; }
.group-card .links svg { width: 16px; height: 16px; }
@media (max-width: 960px) {
  .region-list { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 8px; padding-bottom: 6px; scroll-snap-type: x proximity; }
  .region { flex: none; width: auto; padding: 10px 14px; scroll-snap-align: start; }
  .region small, .region .badge { display: none; }
  .region b { white-space: nowrap; font-size: .92rem; }
}

/* Menú «Acceder» */
.access { position: relative; }
.access-btn svg { width: 16px; height: 16px; }
.access-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 6px; z-index: 80; }
.access-menu a { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--navy-900); }
.access-menu a:hover, .access-menu a:focus-visible { background: var(--bg-muted); }
.access-menu b { font-size: .95rem; }
.access-menu small { color: var(--ink-3); font-size: .78rem; }
@media (max-width: 1020px) { .header-cta .access .btn-ghost { display: inline-flex; } }
@media (min-width: 1021px) and (max-width: 1340px) { .header-cta .access .btn-ghost { display: inline-flex; } }
@media (max-width: 520px) { .access-btn span { display: none; } .access-btn { padding: 0 12px; } }
