/* Directorio de agencias EE. UU. — aDigital
   Principios de diseño de Apple: respuesta inmediata al presionar, movimiento con resortes,
   materiales translúcidos, tracking por tamaño. Colores y tipografías de adigitalcreativo.com.mx. */
:root {
  --ink: #000;
  --paper: #fff;
  --mist: #f3f4f8;
  --line: #e2e4ec;
  --muted: #545869;
  --blue: #2b3cff;
  --blue-dk: #1c29c9;
  --sun: #ffd83d;
  --wa: #25d366;
  --wa-ink: #0b6b34;

  --glass-dark: rgb(0 0 0 / .72);
  --glass-light: rgb(255 255 255 / .72);
  --shadow-sm: 0 1px 2px rgb(0 0 0 / .05), 0 2px 8px rgb(0 0 0 / .04);
  --shadow-md: 0 2px 4px rgb(0 0 0 / .04), 0 12px 32px -8px rgb(0 0 0 / .14);
  --shadow-lg: 0 4px 8px rgb(0 0 0 / .06), 0 30px 60px -18px rgb(0 0 0 / .32);
  --shadow-blue: 0 18px 40px -14px rgb(43 60 255 / .7);

  --radius: 22px;
  --radius-lg: 30px;
  --pill: 999px;
  --wrap: 1200px;
  --pad: clamp(1rem, 4vw, 2rem);
  --head-h: 56px;

  --display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --body: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Resorte críticamente amortiguado (damping 1, response .4) y con rebote ligero (damping .8) */
  --spring: cubic-bezier(.22, 1, .36, 1);
  --spring-bounce: cubic-bezier(.34, 1.36, .64, 1);
  --t-press: 100ms;
  --t-ui: 420ms;
  color-scheme: light;
}
@supports (transition-timing-function: linear(0, 1)) {
  :root {
    --spring: linear(0, .009, .035 2.1%, .141 4.4%, .723 12.9%, .938 18.4%, .988 22.5%, 1.003 27.4%, 1.004 33.1%, 1);
    --spring-bounce: linear(0, .011, .043 2.1%, .175 4.6%, .861 13.6%, 1.067 19.3%, 1.096 21.9%, 1.093 25.4%, 1.036 32.7%, 1.003 40.3%, .993 48.5%, 1);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 20px); }
body {
  margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; letter-spacing: -.003em;
  color: var(--ink); background: var(--paper); overflow-x: clip;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, svg, iframe { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--sun); color: var(--ink); }
h1, h2, h3 { font-family: var(--display); margin: 0 0 .5em; text-wrap: balance; font-optical-sizing: auto; }
h1 { font-size: clamp(2.4rem, 6.8vw, 5rem); font-weight: 800; line-height: .98; letter-spacing: -.045em; }
h2 { font-size: clamp(1.8rem, 4.4vw, 3rem); font-weight: 800; line-height: 1.04; letter-spacing: -.036em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); font-weight: 600; line-height: 1.2; letter-spacing: -.015em; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -100px; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; border-radius: 12px; transition: top var(--t-ui) var(--spring); }
.skip:focus { top: 1rem; }
.wrap { width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; }
[hidden] { display: none !important; }
button, input, select { font: inherit; color: inherit; }

/* ---------- Barra superior: material translúcido oscuro ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50; height: var(--head-h);
  background: var(--glass-dark); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  color: #fff;
}
.topbar .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { font-family: var(--display); font-weight: 800; font-size: 1.4rem; letter-spacing: -.035em; text-decoration: none; display: inline-flex; align-items: center; gap: .12rem; }
.logo-a { display: inline-grid; place-items: center; width: 1.45em; height: 1.45em; border-radius: .42em; background: var(--blue); color: #fff; margin-right: .1em; }
.topbar nav { display: flex; gap: .25rem; }
.topbar nav a { text-decoration: none; font-size: .9rem; font-weight: 500; letter-spacing: .005em; padding: .45rem .8rem; border-radius: var(--pill); color: rgb(255 255 255 / .86); transition: background-color .2s, color .2s; }
.topbar nav a:hover { color: #fff; background: rgb(255 255 255 / .1); }
.topbar nav a:active { transform: scale(.96); transition: transform var(--t-press) ease-out; }
@media (max-width: 640px) { .topbar nav a:not(.nav-keep) { display: none; } }

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4.5rem); isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; z-index: -1;
  background: radial-gradient(closest-side, rgb(43 60 255 / .55), transparent 70%); filter: blur(10px);
}
.hero .crumbs { color: rgb(255 255 255 / .7); }
.hero .crumbs a { color: rgb(255 255 255 / .85); }
.kicker { font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin: 0 0 1rem; }
.hero .kicker { color: var(--sun); }
.hero h1 em { font-style: normal; color: var(--sun); }
.hero .lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.5; color: rgb(255 255 255 / .82); max-width: 40rem; margin-top: 1.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: clamp(2rem, 5vw, 3.5rem) 0 0; border-radius: var(--radius); overflow: hidden; background: rgb(255 255 255 / .12); }
.stats div { background: rgb(18 18 22); padding: 1.1rem 1.25rem; }
.stats dt { font-size: .8rem; color: rgb(255 255 255 / .62); letter-spacing: .02em; }
.stats dd { margin: .2rem 0 0; font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 3.6vw, 2.5rem); letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.crumbs { font-size: .88rem; color: var(--muted); margin: 0 0 1.25rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; }
.crumbs li + li::before { content: "›"; margin-right: .35rem; opacity: .6; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- Botones: respuesta al presionar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 44px; padding: .6rem 1.15rem;
  border-radius: var(--pill); border: 0; text-decoration: none; font-weight: 600; font-size: .95rem; letter-spacing: -.005em; cursor: pointer;
  background: var(--mist); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform var(--t-ui) var(--spring), background-color .2s, box-shadow .3s;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.btn svg { width: 1.05em; height: 1.05em; fill: currentColor; flex: none; }
.btn:hover { background: #e9ebf2; }
.btn:active { transform: scale(.96); transition: transform var(--t-press) ease-out; }
.btn-blue { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-blue:hover { background: var(--blue-dk); }
.btn-light { background: #fff; color: var(--ink); box-shadow: none; }
.btn-light:hover { background: #f1f1f4; }
.btn-ghost { background: rgb(255 255 255 / .1); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .22); }
.btn-ghost:hover { background: rgb(255 255 255 / .18); }
.btn-wa { background: var(--wa); color: #04140a; box-shadow: none; }
.btn-wa:hover { background: #1fbe5b; }
.btn.is-off { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); cursor: default; font-weight: 500; }
.btn.is-off:active { transform: none; }
.btn-sm { min-height: 40px; padding: .45rem .9rem; font-size: .88rem; }

/* ---------- Herramientas: material translúcido claro, pegajoso bajo la barra ---------- */
.tools { position: sticky; top: var(--head-h); z-index: 40; background: var(--glass-light); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); }
.tools::after { content: ""; position: absolute; inset: 100% 0 auto; height: 14px; background: linear-gradient(rgb(0 0 0 / .05), transparent); pointer-events: none; }
.tools-row { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; padding: .8rem 0 .55rem; }
.search { flex: 1 1 260px; position: relative; }
.search svg { position: absolute; left: .95rem; top: 50%; translate: 0 -50%; width: 1.05rem; height: 1.05rem; fill: var(--muted); pointer-events: none; }
.search input, .sort select {
  width: 100%; min-height: 44px; border: 0; border-radius: var(--pill); background: rgb(255 255 255 / .9);
  box-shadow: inset 0 0 0 1px var(--line); padding: .55rem 1rem .55rem 2.6rem; font-size: 1rem; transition: box-shadow .2s;
}
.sort select { padding-left: 1rem; padding-right: 2rem; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; cursor: pointer; }
.search input:focus, .sort select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--blue); }
.toggle { display: inline-flex; align-items: center; gap: .5rem; font-size: .92rem; font-weight: 500; min-height: 44px; padding: 0 .4rem; cursor: pointer; }
.toggle input { width: 1.1rem; height: 1.1rem; accent-color: var(--blue); }
.result { margin: 0 0 0 auto; font-size: .92rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.result b { color: var(--ink); }
.chips { display: flex; gap: .4rem; overflow-x: auto; padding: 0 0 .8rem; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 36px; padding: .35rem .9rem; border-radius: var(--pill); border: 0; background: rgb(255 255 255 / .9); box-shadow: inset 0 0 0 1px var(--line); font-size: .88rem; font-weight: 500; cursor: pointer; transition: transform var(--t-ui) var(--spring), background-color .2s, color .2s; }
.chip:active { transform: scale(.95); transition: transform var(--t-press) ease-out; }
.chip.is-on { background: var(--ink); color: #fff; box-shadow: none; }

/* ---------- Secciones ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-mist { background: var(--mist); }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1.5rem; margin-bottom: 1.6rem; }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 0; color: var(--muted); }
.sec-head a { font-weight: 600; color: var(--blue); text-decoration: none; }
.sec-head a:hover { text-decoration: underline; }
.city-block + .city-block { margin-top: clamp(3rem, 6vw, 4.5rem); }
.city-block .sec-head h2 { font-size: clamp(1.5rem, 3.2vw, 2.25rem); }
.prose { max-width: 46rem; }
.prose p { color: #23252e; }
.lead-dark { font-size: clamp(1.1rem, 1.7vw, 1.25rem); line-height: 1.55; color: #23252e; max-width: 44rem; }

/* ---------- Tarjetas de agencia ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 1rem; }
.card {
  position: relative; display: flex; flex-direction: column; gap: .7rem; padding: 1.35rem 1.35rem 1.25rem; border-radius: var(--radius);
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
  transition: transform var(--t-ui) var(--spring), box-shadow var(--t-ui) var(--spring);
}
.card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-md); }
.card:has(.card-link:active) { transform: scale(.985); transition-duration: var(--t-press); }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; font-size: .82rem; color: var(--muted); }
.num { font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.rate { display: inline-flex; align-items: center; gap: .3rem; font-variant-numeric: tabular-nums; }
.rate b { color: var(--ink); font-weight: 700; }
.star { color: #e3a900; }
.card h3 { margin: 0; }
.card-link { text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.card-link:focus-visible { outline: none; }
.card:has(.card-link:focus-visible) { outline: 3px solid var(--blue); outline-offset: 3px; }
.card-addr { font-style: normal; color: var(--muted); font-size: .95rem; line-height: 1.45; }
.card-actions { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; padding-top: .3rem; }
.card-more { font-size: .9rem; font-weight: 600; color: var(--blue); }
.tag { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .02em; padding: .15rem .55rem; border-radius: var(--pill); background: #eef0ff; color: var(--blue-dk); }

/* Revelado con resorte (solo si hay JS y el usuario no pidió menos movimiento) */
.js .reveal.pre { opacity: 0; transform: translateY(18px) scale(.985); }
.reveal { transition: opacity .7s var(--spring), transform .9s var(--spring), box-shadow var(--t-ui) var(--spring); }

.empty { text-align: center; color: var(--muted); padding: 3rem 0; }

/* ---------- Índice de ciudades ---------- */
.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: .75rem; }
.city-grid a {
  display: flex; justify-content: space-between; align-items: center; gap: .75rem; min-height: 60px; padding: .9rem 1.1rem; border-radius: 18px;
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; font-weight: 600; letter-spacing: -.01em;
  transition: transform var(--t-ui) var(--spring), box-shadow .3s;
}
.city-grid a:hover { box-shadow: inset 0 0 0 1px var(--blue), var(--shadow-sm); }
.city-grid a:active { transform: scale(.97); transition: transform var(--t-press) ease-out; }
.city-grid span { font-size: .85rem; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.city-grid a[aria-current] { background: var(--ink); color: #fff; box-shadow: none; }
.city-grid a[aria-current] span { color: rgb(255 255 255 / .7); }

/* ---------- Ficha de agencia ---------- */
.profile { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 860px) { .profile { grid-template-columns: 1fr; } }
.facts { border-radius: var(--radius-lg); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-md); padding: clamp(1.25rem, 3vw, 1.75rem); }
.facts dl { margin: 0; display: grid; gap: 0; }
.facts dl > div { display: grid; grid-template-columns: 8.5rem 1fr; gap: .75rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.facts dl > div:last-child { border-bottom: 0; }
.facts dt { font-size: .85rem; color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; }
.facts dd a { color: var(--blue); text-decoration: none; font-weight: 600; }
.facts dd a:hover { text-decoration: underline; }
.facts .card-actions { margin-top: 1rem; }
@media (max-width: 420px) { .facts dl > div { grid-template-columns: 1fr; gap: .15rem; } }
.big-rate { display: flex; align-items: baseline; gap: .6rem; margin: .25rem 0 1rem; }
.big-rate b { font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 6vw, 3.6rem); letter-spacing: -.05em; line-height: 1; }
.big-rate span { color: var(--muted); }
.map { border-radius: var(--radius-lg); overflow: hidden; background: var(--mist); box-shadow: inset 0 0 0 1px var(--line); aspect-ratio: 16 / 10; }
.map iframe { width: 100%; height: 100%; border: 0; }
.map-note { font-size: .82rem; color: var(--muted); margin-top: .6rem; }

.tz { width: 100%; border-collapse: collapse; font-size: .95rem; margin: .5rem 0 1rem; }
.tz th, .tz td { text-align: left; padding: .65rem .5rem; border-bottom: 1px solid var(--line); }
.tz th { font-size: .82rem; font-weight: 600; color: var(--muted); }
.tz td { font-variant-numeric: tabular-nums; }

.compare { width: 100%; border-collapse: collapse; font-size: .95rem; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.compare th, .compare td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
.compare th { font-size: .82rem; font-weight: 600; color: var(--muted); background: #fafbfd; }
.compare td:nth-child(n+2), .compare th:nth-child(n+2) { text-align: right; font-variant-numeric: tabular-nums; }
.compare tr:last-child td { border-bottom: 0; }
.compare a { text-decoration: none; font-weight: 600; }
.compare a:hover { color: var(--blue); }
.compare tr.is-current td { background: #eef0ff; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); }

.notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1rem; }
.note { padding: 1.35rem; border-radius: var(--radius); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.note h3 { font-size: 1.1rem; }
.note p { color: #2d3040; font-size: .98rem; margin: 0; }
.note p + p { margin-top: .6rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 50rem; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.15rem 2.5rem 1.15rem 0; font-weight: 600; font-size: 1.08rem; letter-spacing: -.01em; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: .25rem; top: 50%; translate: 0 -50%; font-size: 1.5rem; font-weight: 400; color: var(--blue); transition: rotate var(--t-ui) var(--spring); }
.faq-item[open] summary::after { rotate: 45deg; }
.faq-item p { color: #2d3040; padding-bottom: 1.1rem; margin: 0; }

/* ---------- Promoción aDigital ---------- */
.promo { background: var(--blue); color: #fff; border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1.5rem 3rem; align-items: center; position: relative; overflow: hidden; isolation: isolate; }
.promo::after { content: ""; position: absolute; right: -10%; bottom: -60%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgb(255 216 61 / .35), transparent); z-index: -1; }
.promo h2 { margin: 0; }
.promo .kicker { color: var(--sun); }
.promo p { color: rgb(255 255 255 / .9); }
.promo-list { display: grid; gap: .45rem; margin: 0 0 1.25rem; }
.promo-list li { padding-left: 1.6rem; position: relative; }
.promo-list li::before { content: "✓"; position: absolute; left: 0; color: var(--sun); font-weight: 700; }
@media (max-width: 760px) { .promo { grid-template-columns: 1fr; } }

/* ---------- Pie ---------- */
.foot { background: var(--ink); color: rgb(255 255 255 / .72); font-size: .9rem; padding: 3rem 0 6.5rem; }
.foot p { max-width: 60rem; }
.foot a { color: #fff; }
.foot b { color: #fff; }

/* ---------- Botón flotante: ¿Conoces aDigital México? ---------- */
.fab {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60;
  display: inline-flex; align-items: center; gap: .6rem; padding: .45rem 1.1rem .45rem .45rem; min-height: 52px;
  border-radius: var(--pill); text-decoration: none; color: #fff; font-weight: 600; font-size: .95rem; letter-spacing: -.005em;
  background: rgb(18 20 40 / .78); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .18), inset 0 0 0 1px rgb(255 255 255 / .1), var(--shadow-lg);
  transform-origin: 100% 100%;
  transition: transform var(--t-ui) var(--spring-bounce), opacity .5s var(--spring), filter .5s var(--spring), background-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.fab-a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue); font-family: var(--display); font-weight: 800; font-size: 1.3rem; line-height: 1; box-shadow: 0 4px 14px -4px rgb(43 60 255 / .9); }
.fab-text { display: grid; line-height: 1.15; }
.fab-text small { font-size: .72rem; font-weight: 500; color: rgb(255 255 255 / .7); letter-spacing: .01em; }
.fab:hover { background: rgb(28 41 201 / .92); transform: translateY(-2px); }
.fab:active { transform: scale(.95); transition: transform var(--t-press) ease-out; }
.js .fab.is-pre { opacity: 0; transform: scale(.86) translateY(10px); filter: blur(6px); }
@media (max-width: 420px) { .fab { font-size: .88rem; } .fab-text small { display: none; } }

/* ---------- Accesibilidad y preferencias ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal.pre, .js .fab.is-pre { transform: none; filter: none; }
  .card:hover, .fab:hover { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .topbar { background: #000; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .tools { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .fab { background: #121428; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  .card, .note, .facts, .city-grid a { box-shadow: inset 0 0 0 2px var(--ink); }
  .card-addr, .crumbs, .sec-head p { color: #23252e; }
}
@media print { .topbar, .tools, .fab, .promo { display: none; } }
.hero .btn.is-off { color: rgb(255 255 255 / .62); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .2); }

/* Barra superpuesta al hero negro: el material translúcido siempre tiene contenido oscuro detrás al cargar */
.topbar { margin-bottom: calc(-1 * var(--head-h)); }
.hero { padding-top: calc(var(--head-h) + clamp(2rem, 6vw, 4.5rem)); }
.city-block .sec-head h2 a { color: var(--ink); transition: color .2s; }
.city-block .sec-head h2 a:hover { color: var(--blue); }
.state-links { margin-top: 1.25rem; color: var(--muted); }
.state-links a { color: var(--blue); font-weight: 600; text-decoration: none; }
.promo h2 { margin-bottom: .75rem; }

/* SEO/AEO: respuesta directa, pasos */
.hero .answer { font-size: 1rem; line-height: 1.6; color: rgb(255 255 255 / .74); max-width: 44rem; margin-top: 1rem; }
.hero .answer a { color: #fff; text-decoration-color: rgb(255 255 255 / .4); text-underline-offset: 3px; }
.answer a { color: inherit; }
.steps { margin: 1.25rem 0 0; padding-left: 1.4rem; display: grid; gap: .8rem; }
.steps li { color: #23252e; line-height: 1.55; padding-left: .25rem; }
.steps li::marker { color: var(--blue); font-weight: 700; }
.compare-city td:nth-child(2), .compare-city th:nth-child(2) { text-align: left; }
