/* ==========================================================================
   ALCA · Movilidad a tu alcance — Estilos del sitio (restyling 2026)
   Bootstrap 5.3 se usa SOLO para grilla y utilidades (spacing, display, flex).
   Ningún componente de Bootstrap. Los tokens viven en tokens.css.
   Las tipografías se expresan en rem para escalar con los controles A− / A / A+.
   ========================================================================== */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
html.lenis { scroll-behavior: auto; } /* con Lenis el suavizado lo hace main.js */
html[data-fs="-1"] { font-size: 93.75%; }
html[data-fs="1"]  { font-size: 112.5%; }
html[data-fs="2"]  { font-size: 125%; }
body {
  margin: 0;
  font-family: var(--alca-font-text);
  font-size: var(--alca-fs-body);
  line-height: var(--alca-lh-body);
  color: var(--alca-tinta);
  background: var(--alca-blanco);
}
img { max-width: 100%; display: block; }
a { color: var(--alca-azul-500); text-underline-offset: 3px; }
button { font: inherit; }
.list-unstyled { list-style: none; padding-left: 0; margin-top: 0; }
h1, h2, h3, h4, .t-display {
  font-family: var(--alca-font-display);
  font-weight: 500;
  color: var(--alca-azul-900);
  letter-spacing: -.015em;
  margin: 0;
}
h1 { font-size: var(--alca-fs-h1); line-height: var(--alca-lh-tight); }
h2 { font-size: var(--alca-fs-h2); line-height: var(--alca-lh-heading); }
h3 { font-size: var(--alca-fs-h3); line-height: var(--alca-lh-heading); }
h4 { font-size: var(--alca-fs-h4); line-height: 1.35; }
p { margin: 0; }
.lead { font-size: var(--alca-fs-lead); line-height: 1.55; color: var(--alca-gris-600); }
.text-muted-alca { color: var(--alca-gris-600); }
.overline {
  font-family: var(--alca-font-display);
  font-size: var(--alca-fs-overline);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--alca-azul-500);
  display: inline-flex; align-items: center; gap: .625rem;
}
.overline::before { content: ""; width: 24px; height: 3px; border-radius: 2px; background: var(--alca-celeste-400); }
.on-dark .overline { color: var(--alca-celeste-200); }
.on-dark, .on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark .lead { color: #D6ECF7; }

/* Foco de alta visibilidad */
:focus-visible { outline: 3px solid var(--alca-foco); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100; padding: .75rem 1.25rem; border-radius: var(--alca-radius-md);
  background: var(--alca-foco); color: var(--alca-azul-900); font: 600 1rem/1 var(--alca-font-display); text-decoration: none;
}
.skip-link:focus { top: 1rem; }
.visually-hidden-alca { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Secciones ---------- */
.section { padding-block: var(--alca-space-6); }
@media (min-width: 992px) { .section { padding-block: var(--alca-space-7); } }
.bg-tint { background: var(--alca-celeste-50); }
.bg-neutral { background: var(--alca-gris-100); }
.bg-ink { background: var(--alca-azul-900); }

/* ---------- Íconos (Lucide, trazo 2px) ---------- */
.ico { width: 24px; height: 24px; stroke-width: 2; flex: none; }
.ico-sm { width: 20px; height: 20px; }
.ico-wa { width: 24px; height: 24px; flex: none; }
.ico-plain { display: inline-flex; align-items: center; justify-content: center; flex: none; color: var(--alca-azul-500); }
.ico-plain .ico { width: 28px; height: 28px; stroke-width: 1.75; }
.ico-plain--lg .ico { width: 36px; height: 36px; stroke-width: 1.5; }

/* ---------- Barra superior + accesibilidad ---------- */
.topbar { background: var(--alca-azul-900); color: #D6ECF7; font-size: .9375rem; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar .item { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; white-space: nowrap; }
@media (max-width: 1399.98px) { html[data-fs="1"] .topbar .item-ig, html[data-fs="2"] .topbar .item-ig { display: none; } }
.topbar .ico, .topbar .ico-wa { width: 18px; height: 18px; color: var(--alca-celeste-200); }
.a11y { display: inline-flex; align-items: center; gap: .375rem; }
.a11y-label { display: inline-flex; align-items: center; gap: .5rem; margin-right: .25rem; }
.a11y-btn {
  min-width: 36px; height: 32px; padding: 0 .5rem; border-radius: 6px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.28); background: transparent; color: #fff;
  font: 600 .875rem/1 var(--alca-font-display); display: inline-flex; align-items: center; justify-content: center; gap: .375rem;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.a11y-btn:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.6); }
.a11y-btn[aria-pressed="true"] { background: #fff; color: var(--alca-azul-900); border-color: #fff; }
.a11y-btn:disabled { opacity: .4; cursor: not-allowed; }
.a11y-btn .ico { width: 18px; height: 18px; color: currentColor; }

/* ---------- Header ---------- */
.site-header {
  background: #fff; border-bottom: 1px solid #E3ECF2; position: sticky; top: 0; z-index: 40;
  transition: transform .3s ease, box-shadow .3s ease;
}
/* Fijo al scrollear: se oculta al bajar y vuelve al subir (main.js). */
.site-header.is-stuck { box-shadow: 0 6px 20px rgba(0,52,79,.10); }
.site-header.is-hidden { transform: translateY(-100%); box-shadow: none; }
html.header-shown .side-card { top: calc(var(--alca-header-h) + 1.5rem); }
.side-card { transition: top .3s ease; }
@media (prefers-reduced-motion: reduce) { .site-header, .side-card { transition: none; } }
.site-header .bar { min-height: var(--alca-header-h); }
.brand { display: inline-flex; border-radius: 8px; }
.brand img { height: 64px; width: auto; }
.nav-main { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-main a {
  position: relative; display: inline-flex; align-items: center; min-height: 48px; padding: 0 1rem; border-radius: var(--alca-radius-md);
  font: 500 1.0625rem/1 var(--alca-font-display); color: var(--alca-azul-900); text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
.nav-main a::after {
  content: ""; position: absolute; left: 1rem; right: 1rem; bottom: 0; height: 3px; border-radius: 2px;
  background: var(--alca-celeste-400); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav-main a:hover { background: var(--alca-celeste-50); color: var(--alca-azul-500); }
.nav-main a[aria-current="page"] { color: var(--alca-azul-500); border-radius: 0; background: transparent; }
.nav-main a[aria-current="page"]::after, .nav-main a:hover::after { transform: scaleX(1); }
.nav-main .ico { width: 16px; height: 16px; margin-left: .375rem; opacity: .7; }
.icon-btn {
  width: 48px; height: 48px; border-radius: var(--alca-radius-md); border: 1.5px solid var(--alca-gris-300); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; color: var(--alca-azul-900); background: #fff;
  transition: background-color .2s ease, border-color .2s ease;
}
.icon-btn:hover { background: var(--alca-celeste-50); border-color: var(--alca-azul-500); }
.icon-btn.solid { background: var(--alca-azul-500); border-color: var(--alca-azul-500); color: #fff; }
.icon-btn.solid:hover { background: var(--alca-azul-700); }
.icon-btn.wa { background: var(--alca-verde-500); border-color: var(--alca-verde-500); color: var(--alca-azul-900); }

/* Con texto agrandado (A+) el menú de escritorio necesita más ancho:
   se compacta y, en pantallas medianas, pasa al menú mobile. */
.nav-main a { white-space: nowrap; }
html[data-fs="1"] .nav-main a, html[data-fs="2"] .nav-main a { padding: 0 .625rem; }
@media (max-width: 1399.98px) { html[data-fs="2"] .header-cta { display: none !important; } }
@media (max-width: 1199.98px) {
  html[data-fs="1"] .nav-desktop, html[data-fs="2"] .nav-desktop { display: none !important; }
  html[data-fs="1"] .nav-mobile-btns, html[data-fs="2"] .nav-mobile-btns { display: flex !important; }
}
@media (min-width: 1200px) and (max-width: 1399.98px) { html[data-fs="2"] .brand img { height: 56px; } }

/* Menú mobile (panel lateral) */
.mnav { position: fixed; inset: 0; z-index: 60; overflow: hidden; visibility: hidden; transition: visibility 0s .3s; }
.mnav.is-open { visibility: visible; transition: none; }
.mnav__backdrop { position: absolute; inset: 0; background: rgba(0,52,79,.55); opacity: 0; transition: opacity .3s ease; }
.mnav__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: #fff; overflow-y: auto;
  transform: translateX(100%); transition: transform .3s ease; box-shadow: -12px 0 40px rgba(0,52,79,.2);
  display: flex; flex-direction: column;
}
.mnav.is-open .mnav__backdrop { opacity: 1; }
.mnav.is-open .mnav__panel { transform: none; }
.mnav__list { list-style: none; margin: 0; padding: 0; }
.mnav__list a {
  display: flex; align-items: center; justify-content: space-between; min-height: 60px; padding: 0 .25rem;
  border-bottom: 1px solid #E3ECF2; font: 500 1.25rem/1.2 var(--alca-font-display); color: var(--alca-azul-900); text-decoration: none;
}
.mnav__list a[aria-current="page"] { color: var(--alca-azul-500); }
.mnav__list a .ico { color: var(--alca-azul-500); width: 20px; height: 20px; }
/* Los botones del panel no pueden ensanchar la columna más allá del panel. */
.mnav__panel > * { min-width: 0; }
.mnav__panel .d-grid { grid-template-columns: minmax(0, 1fr); }
.mnav__panel .btn-alca { white-space: normal; text-align: center; line-height: 1.2; padding: .625rem 1rem; }
body.is-locked { overflow: hidden; }

/* ---------- Botones ---------- */
.btn-alca {
  display: inline-flex; align-items: center; justify-content: center; gap: .625rem;
  min-height: var(--alca-control-h); padding: 0 1.75rem; border-radius: var(--alca-radius-md);
  font: 600 1.125rem/1 var(--alca-font-display); letter-spacing: .005em; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.btn-alca:hover { transform: translateY(-2px); }
.btn-alca:active { transform: none; }
.btn-alca .ico { transition: transform .2s ease; }
.btn-alca:hover .ico[data-lucide="arrow-right"], .btn-alca:hover svg.lucide-arrow-right { transform: translateX(4px); }
.btn-primary-alca { background: var(--alca-azul-500); color: #fff; box-shadow: 0 6px 16px rgba(0,118,175,.28); }
.btn-primary-alca:hover { background: var(--alca-azul-700); box-shadow: 0 10px 22px rgba(0,78,115,.32); }
.btn-secondary-alca { background: #fff; color: var(--alca-azul-700); border-color: var(--alca-azul-500); }
.btn-secondary-alca:hover { background: var(--alca-celeste-50); }
.btn-accent-alca { background: var(--alca-verde-500); color: var(--alca-azul-900); box-shadow: 0 6px 16px rgba(61,122,18,.22); }
.btn-accent-alca:hover { background: #9BD252; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-white { background: #fff; color: var(--alca-azul-700); }
.btn-white:hover { background: var(--alca-celeste-50); box-shadow: 0 10px 22px rgba(0,52,79,.25); }
.btn-sm-alca { min-height: 48px; padding: 0 1.25rem; font-size: 1rem; }
.btn-alca[disabled] { opacity: .7; cursor: progress; transform: none; }
.link-arrow { font: 600 1.0625rem/1.2 var(--alca-font-display); color: var(--alca-azul-500); text-decoration: none; display: inline-flex; align-items: center; gap: .5rem; }
.link-arrow .ico { transition: transform .2s ease; }
.link-arrow:hover { color: var(--alca-azul-700); text-decoration: underline; }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ---------- Motivos ---------- */
.wave { display: block; width: 100%; height: 72px; }
@media (min-width: 992px) { .wave { height: 120px; } }
.wave-wrap { line-height: 0; }
.tile {
  --tile-bg: var(--alca-azul-500);
  width: 64px; height: 64px; position: relative; display: inline-flex; align-items: center; justify-content: center;
  color: #fff; flex: none;
}
.tile::before { content: ""; position: absolute; inset: 0; border-radius: 14px; background: var(--tile-bg); transform: rotate(var(--alca-tilt)); transition: transform .3s ease; }
.tile .ico, .tile .ico-wa { position: relative; width: 30px; height: 30px; }
.tile.t-700 { --tile-bg: var(--alca-azul-700); }
.tile.t-400 { --tile-bg: var(--alca-celeste-400); color: var(--alca-azul-900); }
.tile.t-200 { --tile-bg: var(--alca-celeste-200); color: var(--alca-azul-900); }
.tile.t-verde { --tile-bg: var(--alca-verde-500); color: var(--alca-azul-900); }
.tile.sm { width: 48px; height: 48px; }
.tile.sm::before { border-radius: 11px; }
.tile.sm .ico, .tile.sm .ico-wa { width: 24px; height: 24px; }

/* ---------- Hero con foto (home e internas con imagen) ---------- */
.hero3 { position: relative; background: var(--alca-celeste-50); padding-bottom: var(--alca-space-6); }
.hero3-media { position: relative; height: 600px; overflow: hidden; background: var(--alca-azul-900); }
@media (min-width: 992px) { .hero3-media { height: 760px; } }
.hero3-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 80% 50%; }
.hero3-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,52,79,.92) 0%, rgba(0,52,79,.55) 45%, rgba(0,52,79,.15) 75%); }
@media (min-width: 992px) {
  .hero3-shade { background: linear-gradient(90deg, rgba(0,52,79,.94) 0%, rgba(0,52,79,.82) 34%, rgba(0,52,79,.25) 62%, rgba(0,52,79,0) 80%); }
}
.hero3-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; }
@media (min-width: 992px) { .hero3-wave { height: 110px; } }
.hero3-copy { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 96px; }
@media (min-width: 992px) { .hero3-copy { justify-content: center; padding-bottom: 150px; } }
.hero3-title { font: 400 clamp(2.75rem, 5.2vw, 5rem)/1.02 var(--alca-font-display); letter-spacing: -.025em; color: #fff; }
.hero3-lead { font-size: var(--alca-fs-lead); line-height: 1.55; color: #E3F2FA; max-width: 560px; }
.hero3-cards { position: relative; z-index: 3; margin-top: 1.5rem; }
@media (min-width: 992px) { .hero3-cards { margin-top: -96px; } }
.hero3--page { padding-bottom: 0; }
@media (min-width: 992px) { .hero3--page .hero3-media { height: 600px; } }
.hero3--page .hero3-media > img { object-position: 70% 50%; }
.hero3-note { display: inline-flex; gap: .75rem; align-items: center; padding: .75rem 1rem; border-radius: 12px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #fff; font: 500 1rem/1.35 var(--alca-font-display); max-width: 520px; }
.hero3-note .ico { color: var(--alca-celeste-200); width: 28px; height: 28px; }
@media (max-width: 991.98px) {
  .hero3-media { height: auto; }
  .hero3-media > img { position: relative; inset: auto; height: 300px; object-position: 72% 50%; }
  .hero3-shade { inset: 0 0 auto 0; height: 300px; background: linear-gradient(0deg, var(--alca-azul-900) 0%, rgba(0,52,79,0) 35%); }
  .hero3-copy { height: auto; padding-top: .5rem; padding-bottom: 104px; }
}
@media (min-width: 576px) and (max-width: 991.98px) { .hero3-media > img { height: 420px; } .hero3-shade { height: 420px; } }

/* Aparición inicial del hero (sin JS de por medio) */
@keyframes alca-fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-in > * { animation: alca-fade-up .8s cubic-bezier(.2,.7,.2,1) both; }
.hero-in > :nth-child(2) { animation-delay: .1s; }
.hero-in > :nth-child(3) { animation-delay: .2s; }
.hero-in > :nth-child(4) { animation-delay: .3s; }
.hero-in > :nth-child(5) { animation-delay: .4s; }

/* Tarjetas al frente del hero */
.h3card {
  display: flex; flex-direction: column; gap: .375rem; height: 100%; padding: 1.5rem; border-radius: var(--alca-radius-lg);
  background: #fff; box-shadow: var(--alca-shadow-2); text-decoration: none; color: inherit; border: 1px solid rgba(0,52,79,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
a.h3card:hover { transform: translateY(-4px); box-shadow: 0 8px 16px rgba(0,52,79,.1), 0 24px 48px rgba(0,52,79,.14); }
a.h3card:hover .tile::before { transform: rotate(0deg); }
.h3card .tile { margin-bottom: .75rem; }
.h3card .h3k { font: 600 .8125rem/1.2 var(--alca-font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--alca-azul-500); }
.h3card strong { font: 500 1.3125rem/1.25 var(--alca-font-display); color: var(--alca-azul-900); }
.h3card .h3t { font-size: 1rem; line-height: 1.45; color: var(--alca-gris-600); }
.h3card.is-contact { background: var(--alca-azul-500); border-color: transparent; justify-content: center; }
.h3card.is-contact .h3k { color: var(--alca-celeste-100); margin-bottom: .25rem; }
.h3card.is-contact .h3t { color: #D6ECF7; margin-top: .25rem; }
.h3phone { display: inline-flex; align-items: center; gap: .625rem; font: 500 1.5rem/1.3 var(--alca-font-display); color: #fff; text-decoration: none; }
.h3phone:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.h3phone .ico, .h3phone .ico-wa { width: 24px; height: 24px; color: var(--alca-verde-500); }
.h3go { margin-top: auto; padding-top: .75rem; font: 600 .9375rem/1 var(--alca-font-display); color: var(--alca-azul-500); display: inline-flex; align-items: center; gap: .375rem; }
.h3go .ico { width: 16px; height: 16px; transition: transform .2s ease; }
a.h3card:hover .h3go .ico { transform: translateY(3px); }
@media (max-width: 767.98px) {
  .h3card { display: grid; grid-template-columns: 48px 1fr; column-gap: 1rem; row-gap: .125rem; padding: 1.125rem 1.25rem; box-shadow: var(--alca-shadow-1); }
  .h3card .tile { grid-row: 1 / span 3; margin: 0; align-self: start; }
  .h3card.is-contact { display: flex; }
  .h3go { display: none; }
}

/* ---------- Hero compacto (internas sin foto) ---------- */
.page-hero { position: relative; background: var(--alca-azul-900); overflow: hidden; }
.page-hero__inner { position: relative; padding-top: 3.5rem; padding-bottom: 7rem; }
@media (min-width: 992px) { .page-hero__inner { padding-top: 5rem; padding-bottom: 9.5rem; } }
.page-hero .hero3-title { font-size: clamp(2.5rem, 4.6vw, 4.25rem); }
.page-hero__deco { position: absolute; right: 6%; top: 50%; display: grid; grid-template-columns: repeat(2, 132px); gap: 18px; transform: translateY(-62%) rotate(var(--alca-tilt)); }
.page-hero__deco span { width: 132px; height: 132px; border-radius: 28px; display: flex; align-items: center; justify-content: center; }
.page-hero__deco span:nth-child(1) { background: var(--alca-celeste-200); }
.page-hero__deco span:nth-child(2) { background: var(--alca-azul-500); }
.page-hero__deco span:nth-child(3) { background: var(--alca-azul-700); }
.page-hero__deco span:nth-child(4) { background: var(--alca-celeste-400); }
.page-hero__deco .ico { width: 56px; height: 56px; stroke-width: 1.5; color: #fff; transform: rotate(8deg); }
.page-hero__deco span:nth-child(1) .ico, .page-hero__deco span:nth-child(4) .ico { color: var(--alca-azul-900); }
@keyframes alca-tiles-in { from { opacity: 0; transform: translateY(-58%) rotate(-2deg) scale(.94); } to { opacity: 1; transform: translateY(-62%) rotate(var(--alca-tilt)); } }
.page-hero__deco { animation: alca-tiles-in 1s cubic-bezier(.2,.7,.2,1) .15s both; }
.crumbs { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; font-size: .9375rem; color: var(--alca-gris-600); }
.crumbs a { color: var(--alca-azul-500); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs .ico { width: 16px; height: 16px; }
.crumbs--light { color: #BFDDEC; }
.crumbs--light a { color: #fff; display: inline-flex; align-items: center; gap: .375rem; }

/* ---------- Tarjetas ---------- */
.card-alca {
  background: #fff; border-radius: var(--alca-radius-lg); box-shadow: var(--alca-shadow-1); border: 1px solid #E3ECF2; height: 100%;
  transition: transform .3s ease, box-shadow .3s ease;
}
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--alca-shadow-2); }
.card-pad { padding: 1.75rem; }
@media (min-width: 992px) { .card-pad { padding: 2rem; } }
.card-media { border-radius: var(--alca-radius-lg) var(--alca-radius-lg) 0 0; overflow: hidden; aspect-ratio: 16 / 8; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card-hover:hover .card-media img { transform: scale(1.04); }
.card-feature h3 { font-size: 1.5rem; }
.card-link { color: inherit; text-decoration: none; display: block; }
.chip { display: inline-flex; align-items: center; gap: .375rem; padding: .375rem .75rem; border-radius: 999px; background: var(--alca-celeste-50); color: var(--alca-azul-700); font: 600 .875rem/1.2 var(--alca-font-display); }
.chip .ico { width: 16px; height: 16px; }
.chip.verde { background: #EEF7E2; color: var(--alca-verde-700); }

/* Servicio (ícono + título) */
.svc {
  display: flex; gap: 1.25rem; align-items: center; padding: 1.25rem 1.5rem; background: #fff; border-radius: var(--alca-radius-lg);
  border: 1px solid #E3ECF2; height: 100%; min-height: 104px; transition: border-color .2s ease, box-shadow .2s ease;
}
.svc:hover { border-color: var(--alca-celeste-400); box-shadow: var(--alca-shadow-1); }
.svc h3 { font-size: 1.1875rem; line-height: 1.3; }
.svc .ico-plain { width: 40px; }
.svc-group-title { display: flex; align-items: center; gap: 1rem; }
.svc-group-title .rule { flex: 1; height: 2px; background: linear-gradient(90deg, var(--alca-celeste-100), transparent); }
.svc-num { font: 600 .875rem/1 var(--alca-font-display); color: var(--alca-azul-500); background: var(--alca-celeste-50); border-radius: 8px; padding: .5rem .625rem; }

/* Atributos sobre fondo oscuro */
.feat { display: flex; gap: 1rem; align-items: flex-start; }
.feat .check { width: 36px; height: 36px; border-radius: 10px; background: rgba(109,207,246,.16); color: var(--alca-celeste-200); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.feat .check .ico { width: 20px; height: 20px; }
.feat h3 { font-size: 1.1875rem; color: #fff; }
.feat p { color: #BFDDEC; font-size: 1rem; margin-top: .25rem; }

/* ---------- Cobertura ---------- */
.map-card { position: relative; border-radius: var(--alca-radius-xl); overflow: hidden; background: #DCEFF8; aspect-ratio: 5 / 4; box-shadow: var(--alca-shadow-1); }
.map-card svg { width: 100%; height: 100%; display: block; }
.map-pulse { transform-origin: 276px 128px; animation: alca-pulse 2.4s ease-out infinite; }
@keyframes alca-pulse { from { transform: scale(1); opacity: .6; } to { transform: scale(3); opacity: 0; } }
.stat { display: flex; flex-direction: column; }
.stat strong { font: 500 3rem/1 var(--alca-font-display); color: var(--alca-azul-500); letter-spacing: -.02em; white-space: nowrap; }
.stat span { color: var(--alca-gris-600); font-size: 1rem; margin-top: .375rem; }

/* ---------- Contacto ---------- */
.contact-card {
  display: flex; gap: 1rem; align-items: center; padding: 1.25rem; border-radius: var(--alca-radius-lg); background: #fff;
  border: 1px solid #E3ECF2; text-decoration: none; color: inherit; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
a.contact-card:hover { border-color: var(--alca-celeste-400); box-shadow: var(--alca-shadow-1); transform: translateX(4px); }
.contact-card .arrow { margin-left: auto; color: var(--alca-azul-500); transition: transform .2s ease; }
a.contact-card:hover .arrow { transform: translateX(4px); }
.contact-card .lbl { display: block; font-size: .9375rem; color: var(--alca-gris-600); }
.contact-card .val { font: 500 1.375rem/1.2 var(--alca-font-display); color: var(--alca-azul-900); }
.contact-card .val--sm { font-size: 1.125rem; word-break: break-all; }
.contact-card--wa { background: var(--alca-azul-500); border-color: transparent; padding: 1.5rem; }
.contact-card--wa .lbl { color: var(--alca-celeste-100); }
.contact-card--wa .val { color: #fff; font-size: 1.75rem; }
.contact-card--wa .arrow { color: #fff; }
a.contact-card--wa:hover { border-color: transparent; background: var(--alca-azul-700); box-shadow: var(--alca-shadow-2); }
.contact-secondary { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.contact-secondary li { display: flex; gap: .875rem; align-items: flex-start; padding: .875rem 0; border-bottom: 1px solid #DCE9F1; }
.contact-secondary li:last-child { border-bottom: 0; }
.contact-secondary .ico { color: var(--alca-azul-500); margin-top: .125rem; }
.contact-secondary .lbl { display: block; font-size: .9375rem; color: var(--alca-gris-600); }
.contact-secondary a, .contact-secondary strong { font: 500 1.0625rem/1.4 var(--alca-font-display); color: var(--alca-azul-900); text-decoration: none; }
.contact-secondary a:hover { color: var(--alca-azul-500); text-decoration: underline; }

/* ---------- Formulario (modo demo con validación) ---------- */
.form-panel { background: #fff; border-radius: var(--alca-radius-xl); padding: 2rem; box-shadow: var(--alca-shadow-2); }
@media (min-width: 992px) { .form-panel { padding: 2.75rem; } }
/* reCAPTCHA v3: el sello flotante se oculta y se muestra el aviso legal en el formulario (permitido por Google). */
.grecaptcha-badge { visibility: hidden !important; }
.recaptcha-note { font-size: .75rem; line-height: 1.4; color: var(--alca-gris-600); }
.recaptcha-note a { color: inherit; }
.form-honeypot { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field label { display: block; font: 600 1rem/1.3 var(--alca-font-display); color: var(--alca-azul-900); margin-bottom: .5rem; }
.field .req { color: var(--alca-azul-500); }
.field .opt { font: 400 .875rem/1 var(--alca-font-text); color: var(--alca-gris-600); }
.input {
  width: 100%; min-height: var(--alca-control-h); padding: .875rem 1rem; border-radius: var(--alca-radius-sm);
  border: 1.5px solid var(--alca-gris-300); background: #fff; font: 400 1.125rem/1.4 var(--alca-font-text); color: var(--alca-tinta);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.input::placeholder { color: #7A8C97; }
.input:hover { border-color: #9DB3C1; }
.input:focus { outline: none; border-color: var(--alca-azul-500); box-shadow: 0 0 0 4px rgba(0,118,175,.16); }
.input[aria-invalid="true"] { border-color: var(--alca-error); background: #FFF8F7; }
.input[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(179,38,30,.14); }
.input.is-valid { border-color: var(--alca-ok); }
textarea.input { min-height: 140px; resize: vertical; }
select.input { appearance: none; padding-right: 3rem; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%230076AF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 1rem center; }
.field-error { display: none; align-items: flex-start; gap: .375rem; margin-top: .5rem; font-size: .9375rem; line-height: 1.35; color: var(--alca-error); }
.field-error.is-visible { display: flex; }
.field-error .ico { width: 18px; height: 18px; margin-top: 1px; }
.hint { font-size: .9375rem; color: var(--alca-gris-600); }
.form-summary { display: none; gap: .75rem; padding: 1rem 1.25rem; border-radius: 12px; background: #FDECEA; border: 1px solid #F3B9B4; color: #7A1A14; font-size: 1rem; }
.form-summary.is-visible { display: flex; }
.form-summary .ico { color: var(--alca-error); }
.form-summary ul { margin: .375rem 0 0; padding-left: 1.125rem; }
.form-summary a { color: #7A1A14; font-weight: 700; }
.form-success { text-align: center; padding: 2rem 0 1rem; }
.form-success .tile { margin-inline: auto; }
.form-success[hidden] { display: none; }
@keyframes alca-spin { to { transform: rotate(360deg); } }
.is-sending .spin { animation: alca-spin 1s linear infinite; }

/* ---------- Página: Acerca de nosotros ---------- */
.about-photo { position: relative; }
.about-photo .frame { border-radius: var(--alca-radius-xl); overflow: hidden; aspect-ratio: 1 / .95; box-shadow: var(--alca-shadow-2); }
.about-photo .frame img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.about-photo .tiles { position: absolute; left: -36px; bottom: -32px; display: grid; grid-template-columns: repeat(2, 56px); gap: 9px; transform: rotate(var(--alca-tilt)); }
.about-photo .tiles span { width: 56px; height: 56px; border-radius: 13px; }
.about-photo .badge {
  position: absolute; right: -16px; top: 32px; background: #fff; border-radius: 16px; padding: .875rem 1.125rem;
  display: flex; gap: .75rem; align-items: center; box-shadow: var(--alca-shadow-2); max-width: 260px;
  font: 500 .9375rem/1.3 var(--alca-font-display); color: var(--alca-azul-900);
}
.about-photo .badge .ico { color: var(--alca-verde-700); width: 28px; height: 28px; }
@media (max-width: 575.98px) { .about-photo .tiles { display: none; } .about-photo .badge { right: 12px; top: 12px; } }
.mv-card { position: relative; overflow: hidden; }
.mv-card .mv-num { position: absolute; right: 1.5rem; top: 1rem; font: 500 4.5rem/1 var(--alca-font-display); color: var(--alca-celeste-50); letter-spacing: -.04em; }
.mv-card > * { position: relative; }
.value-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .75rem; }
.value {
  display: inline-flex; align-items: center; gap: .75rem; padding: .875rem 1.375rem .875rem 1rem; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  font: 500 1.1875rem/1.2 var(--alca-font-display); color: #fff; transition: background-color .25s ease, border-color .25s ease;
}
.value:hover { background: rgba(109,207,246,.16); border-color: var(--alca-celeste-200); }
.value .ico { color: var(--alca-celeste-200); }
.date-card {
  display: flex; gap: 1.25rem; align-items: center; height: 100%; padding: 1.25rem 1.5rem; border-radius: var(--alca-radius-lg);
  background: #fff; border: 1px solid #E3ECF2; transition: border-color .2s ease, box-shadow .2s ease;
}
.date-card:hover { border-color: var(--alca-celeste-400); box-shadow: var(--alca-shadow-1); }
.date-card time {
  flex: none; width: 76px; height: 76px; border-radius: 16px; background: var(--alca-celeste-50); color: var(--alca-azul-700);
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1;
}
.date-card time b { font: 500 1.875rem/1 var(--alca-font-display); }
.date-card time span { font: 600 .8125rem/1 var(--alca-font-display); letter-spacing: .12em; text-transform: uppercase; margin-top: .375rem; }
.date-card p { font: 500 1.0625rem/1.35 var(--alca-font-display); color: var(--alca-azul-900); }
.date-card .next { display: none; margin-top: .5rem; }
.date-card.is-next { border-color: var(--alca-verde-500); box-shadow: 0 0 0 1px var(--alca-verde-500); }
.date-card.is-next time { background: var(--alca-verde-500); color: var(--alca-azul-900); }
.date-card.is-next .next { display: inline-flex; }

/* ---------- Página: Preguntas frecuentes ---------- */
.faq { display: grid; gap: .875rem; }
.faq-item { background: #fff; border: 1px solid #E3ECF2; border-radius: var(--alca-radius-lg); transition: border-color .2s ease, box-shadow .2s ease; }
.faq-item:hover { border-color: var(--alca-celeste-400); }
.faq-item.is-open { border-color: var(--alca-celeste-400); box-shadow: var(--alca-shadow-1); }
.faq-item h2 { font-size: inherit; line-height: inherit; letter-spacing: 0; }
.faq-q {
  width: 100%; display: flex; gap: 1rem; align-items: center; text-align: left; cursor: pointer; padding: 1.25rem 1.5rem;
  background: none; border: 0; border-radius: var(--alca-radius-lg); font: 500 1.1875rem/1.35 var(--alca-font-display); color: var(--alca-azul-900);
}
.faq-q:hover { color: var(--alca-azul-500); }
.faq-q .n { flex: none; font: 600 .875rem/1 var(--alca-font-display); color: var(--alca-azul-500); background: var(--alca-celeste-50); border-radius: 8px; padding: .5rem .625rem; }
.faq-q .chev { margin-left: auto; width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--alca-celeste-50); color: var(--alca-azul-500); display: inline-flex; align-items: center; justify-content: center; transition: transform .3s ease, background-color .2s ease, color .2s ease; }
.faq-item.is-open .chev { transform: rotate(180deg); background: var(--alca-azul-500); color: #fff; }
.faq-a { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .35s ease, visibility 0s .35s; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .35s ease, visibility 0s; }
.faq-a > div { overflow: hidden; }
.faq-a .faq-body { padding: 0 1.5rem 1.5rem 4.5rem; color: var(--alca-gris-600); }
.faq-a ul { margin: .75rem 0 0; padding-left: 1.25rem; display: grid; gap: .25rem; }
@media (max-width: 575.98px) { .faq-q { padding: 1.125rem 1.25rem; font-size: 1.0625rem; } .faq-q .n { display: none; } .faq-a .faq-body { padding: 0 1.25rem 1.25rem; } }
html.no-js .faq-a { grid-template-rows: 1fr; visibility: visible; }
.side-card { position: sticky; top: 1.5rem; }

/* ---------- Página: Servicios ---------- */
.svc-block { border-radius: var(--alca-radius-xl); padding: 2rem; background: #fff; border: 1px solid #E3ECF2; }
@media (min-width: 992px) { .svc-block { padding: 3rem; } }
.svc-block.deep { background: var(--alca-azul-700); border-color: transparent; }
.svc-block.deep .ico-plain { color: var(--alca-celeste-200); }
.svc-photo { border-radius: var(--alca-radius-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.svc-photo:hover img { transform: scale(1.04); }
.svc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.svc-list li {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border-radius: 16px; background: var(--alca-celeste-50);
  font: 500 1.125rem/1.3 var(--alca-font-display); color: var(--alca-azul-900); min-height: 80px; transition: transform .2s ease, background-color .2s ease;
}
.svc-list li:hover { transform: translateX(6px); background: var(--alca-celeste-100); }
.svc-list li .ico-plain { width: 36px; }
.svc-block.deep .svc-list li { background: rgba(255,255,255,.08); color: #fff; }
.svc-block.deep .svc-list li:hover { background: rgba(255,255,255,.14); }
.fleet-photo { border-radius: var(--alca-radius-xl); overflow: hidden; height: 100%; min-height: 320px; box-shadow: var(--alca-shadow-2); }
.fleet-photo img { width: 100%; height: 100%; object-fit: cover; }
.vehicle { display: flex; align-items: center; gap: 1rem; padding: 1.125rem 1.25rem; border-radius: 16px; background: #fff; border: 1px solid #E3ECF2; transition: border-color .2s ease, box-shadow .2s ease; }
.vehicle:hover { border-color: var(--alca-celeste-400); box-shadow: var(--alca-shadow-1); }
.vehicle .qty { margin-left: auto; font: 600 .9375rem/1 var(--alca-font-display); color: var(--alca-azul-500); background: var(--alca-celeste-50); padding: .5rem .75rem; border-radius: 999px; white-space: nowrap; }
.vehicle h3 { font-size: 1.125rem; }
.vehicle p { font-size: .9375rem; color: var(--alca-gris-600); }
.attr { display: flex; flex-direction: column; gap: .875rem; padding: 1.5rem; border-radius: var(--alca-radius-lg); background: #fff; border: 1px solid #E3ECF2; height: 100%; transition: transform .25s ease, box-shadow .25s ease; }
.attr:hover { transform: translateY(-4px); box-shadow: var(--alca-shadow-1); }
.attr:hover .tile::before { transform: rotate(0deg); }
.attr h3 { font-size: 1.125rem; line-height: 1.35; padding-top: .875rem; border-top: 2px solid var(--alca-celeste-100); width: 100%; }

/* Panel de llamada a la acción */
.cta-panel { border-radius: var(--alca-radius-xl); background: var(--alca-azul-500); color: #fff; position: relative; overflow: hidden; }
.cta-panel h2, .cta-panel h3 { color: #fff; }
.cta-panel p { color: #DDF1FB; }
.cta-panel .deco { position: absolute; right: -40px; top: -40px; display: grid; grid-template-columns: repeat(2, 120px); gap: 16px; transform: rotate(var(--alca-tilt)); opacity: .25; transition: transform .8s ease; }
.cta-panel:hover .deco { transform: rotate(-4deg) translateY(6px); }
.cta-panel .deco span { width: 120px; height: 120px; border-radius: 24px; background: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--alca-azul-900); color: #BFDDEC; font-size: 1rem; }
.site-footer h2 { color: #fff; font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-bottom: 1rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--alca-celeste-200); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .625rem; }
.site-footer .fi { display: inline-flex; gap: .625rem; align-items: flex-start; }
.site-footer .fi .ico, .site-footer .fi .ico-wa { width: 20px; height: 20px; color: var(--alca-celeste-200); margin-top: 2px; }
.site-footer .fi small { display: block; font-size: .8125rem; color: #8FB7CC; letter-spacing: .04em; }
.footer-logo { height: 64px; width: auto; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); font-size: .875rem; color: #8FB7CC; }

/* ---------- WhatsApp flotante (desktop) ---------- */
.fab-wa { position: fixed; right: 28px; bottom: 28px; z-index: 30; display: none; align-items: center; gap: 12px; text-decoration: none; }
@media (min-width: 992px) { .fab-wa { display: inline-flex; } }
.fab-wa__btn {
  width: 64px; height: 64px; border-radius: 50%; background: var(--alca-verde-500); color: var(--alca-azul-900);
  display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,52,79,.28); outline: 4px solid rgba(255,255,255,.9);
  transition: transform .25s ease, box-shadow .25s ease;
}
.fab-wa__btn .ico-wa { width: 32px; height: 32px; }
.fab-wa__label {
  background: #fff; border-radius: 14px; padding: .625rem 1rem; box-shadow: var(--alca-shadow-2); display: flex; flex-direction: column; line-height: 1.25;
  transition: opacity .3s ease, transform .3s ease;
}
.fab-wa__label strong { font: 600 .9375rem/1.25 var(--alca-font-display); color: var(--alca-azul-900); }
.fab-wa__label span { font-size: .875rem; color: var(--alca-gris-600); }
.fab-wa:hover .fab-wa__btn { transform: scale(1.08); box-shadow: 0 12px 30px rgba(0,52,79,.34); }
.fab-wa.is-compact .fab-wa__label { opacity: 0; transform: translateX(12px); pointer-events: none; }
.fab-wa.is-compact:hover .fab-wa__label, .fab-wa.is-compact:focus-visible .fab-wa__label { opacity: 1; transform: none; }

/* ---------- Mobile: barra de acción fija ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: #fff; border-top: 1px solid #DCE7EE; box-shadow: 0 -8px 24px rgba(0,52,79,.12);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 8px;
}
.action-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 56px; border-radius: 12px;
  font: 600 .875rem/1 var(--alca-font-display); text-decoration: none; color: var(--alca-azul-900); background: var(--alca-celeste-50);
}
.action-bar a.wa { background: var(--alca-verde-500); color: var(--alca-azul-900); }
@media (min-width: 992px) { .action-bar { display: none; } }
@media (max-width: 991.98px) { body { padding-bottom: 84px; } }

/* ---------- Apariciones al hacer scroll (solo con JS y sin reducir movimiento) ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
html.js [data-reveal="fade"] { transform: none; }
html.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Ajustes mobile ---------- */
@media (max-width: 575.98px) {
  .container-xxl { --bs-gutter-x: 2.5rem; }
  .stat strong { font-size: 2.25rem; }
  .contact-card .val { font-size: 1.25rem; }
  .contact-card--wa .val { font-size: 1.5rem; }
  .card-pad { padding: 1.5rem; }
  .svc { padding: 1rem 1.25rem; min-height: 88px; }
  .brand img { height: 52px; }
  .svc-block { padding: 1.25rem; border-radius: var(--alca-radius-lg); }
  .form-panel { padding: 1.5rem; border-radius: var(--alca-radius-lg); }
}

/* ==========================================================================
   Alto contraste (botón "Contraste" del header)
   ========================================================================== */
html.hc {
  --alca-azul-500: #005482;
  --alca-celeste-400: #005482;
  --alca-gris-600: #1F2B33;
  --alca-gris-300: #14242F;
  --alca-tinta: #000;
  --alca-celeste-50: #FFFFFF;
  --alca-gris-100: #FFFFFF;
  --alca-shadow-1: none;
  --alca-shadow-2: none;
}
html.hc body { color: #000; }
html.hc a:not(.btn-alca):not(.h3card):not(.contact-card):not(.fab-wa) { text-decoration: underline; }
html.hc .card-alca, html.hc .svc, html.hc .attr, html.hc .vehicle, html.hc .h3card, html.hc .contact-card,
html.hc .date-card, html.hc .faq-item, html.hc .svc-block, html.hc .form-panel, html.hc .map-card { border: 2px solid #000; }
html.hc .svc-block.deep, html.hc .contact-card--wa, html.hc .h3card.is-contact, html.hc .cta-panel { background: #00263A; border-color: #00263A; }
html.hc .svc-list li, html.hc .chip, html.hc .svc-num, html.hc .faq-q .n, html.hc .date-card time, html.hc .vehicle .qty { background: #fff; border: 1.5px solid #000; color: #000; }
html.hc .svc-block.deep .svc-list li { background: transparent; border-color: #fff; color: #fff; }
html.hc .hero3-shade { background: rgba(0,25,40,.9) !important; }
html.hc .page-hero, html.hc .bg-ink, html.hc .site-footer, html.hc .topbar { background: #00192A; }
html.hc .on-dark .lead, html.hc .hero3-lead, html.hc .feat p, html.hc .site-footer, html.hc .cta-panel p, html.hc .h3card.is-contact .h3t { color: #fff; }
html.hc .overline, html.hc .h3card .h3k { color: #00405F; }
html.hc .on-dark .overline, html.hc .h3card.is-contact .h3k { color: #fff; }
html.hc .btn-primary-alca { background: #003A5A; }
html.hc .btn-secondary-alca, html.hc .btn-white { border-color: #000; color: #000; }
html.hc .btn-ghost-light { border-color: #fff; }
html.hc .input { border-color: #000; border-width: 2px; }
html.hc .input::placeholder { color: #3A4A54; }
html.hc .tile.t-400, html.hc .tile.t-200 { --tile-bg: #005482; color: #fff; }
html.hc .page-hero__deco { opacity: .35; }
html.hc .bg-tint { background: #fff; border-block: 2px solid #000; }
html.hc :focus-visible { outline-width: 4px; outline-color: #FFB800; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
}
