/* ============================================================
   Transportes Reyes Romero — Hoja de estilos
   Mobile-first. Sin dependencias.
   ============================================================ */

/* ---------- Tipografía (Barlow, autoalojada) ---------- */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/barlow-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/barlow-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/barlow-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../assets/fonts/barlow-800.woff2') format('woff2');
}

/* ---------- Variables ---------- */
:root {
  --ink: #1a1f2a;
  --ink-2: #232936;
  --body: #3f4654;
  --muted: #6b7280;
  --red: #c8102e;
  --red-dark: #a50d26;
  --amber: #f2a900;
  --amber-deep: #d99100;
  --surface: #ffffff;
  --surface-2: #f5f6f8;
  --surface-3: #eceef1;
  --line: #e3e6ea;
  --focus: #1d4ed8;

  --header-h: 64px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(20, 25, 35, .08), 0 1px 2px rgba(20, 25, 35, .06);
  --shadow-md: 0 8px 24px rgba(20, 25, 35, .10);
  --shadow-lg: 0 22px 50px rgba(20, 25, 35, .18);
  --container: 1180px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { line-height: 1.18; color: var(--ink); font-weight: 800; }
[hidden] { display: none !important; }
svg { fill: none; }

/* ---------- Accesibilidad ---------- */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 3px;
}
.skip-link {
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translate(-50%, -150%);
  z-index: 1000;
  background: var(--ink);
  color: #fff;
  padding: .7rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: transform .2s;
}
.skip-link:focus { transform: translate(-50%, 0); text-decoration: none; }
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2.25rem);
}
.container--narrow { max-width: 820px; }
.section { padding-block: clamp(3.25rem, 8vw, 6rem); }
.section--alt { background: var(--surface-2); }

/* títulos de sección */
.section__head { max-width: 720px; margin-bottom: clamp(2rem, 5vw, 3rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .9rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 3px;
  background: var(--amber);
  border-radius: 2px;
}
.section__title {
  font-size: clamp(1.7rem, 1rem + 2.6vw, 2.5rem);
  letter-spacing: -.01em;
}
.section__intro {
  margin-top: .9rem;
  font-size: 1.075rem;
  color: var(--muted);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .72rem 1.4rem;
  min-height: 46px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: .005em;
  text-align: center;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 6px 16px rgba(200, 16, 46, .28);
}
.btn--primary:hover { background: var(--red-dark); }
.btn--ghost {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .65);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }
.btn--lg { padding: .92rem 1.7rem; min-height: 54px; font-size: 1.04rem; }
.btn--block { width: 100%; }

/* ---------- Encabezado ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 48px; width: auto; display: block; }
.logo:hover { text-decoration: none; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--ink);
}
.nav-toggle:hover { background: var(--surface-2); }
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle__icon--close { display: none; }

.nav { display: flex; align-items: center; gap: 1rem; }
.nav__list { display: flex; align-items: center; gap: .15rem; }
.nav__link {
  display: block;
  padding: .55rem .65rem;
  color: var(--ink);
  font-weight: 600;
  font-size: .95rem;
  border-radius: 8px;
  transition: color .15s, background-color .15s;
}
.nav__link:hover { color: var(--red); text-decoration: none; background: var(--surface-2); }
.nav__link.is-current { color: var(--red); }
.nav__cta { white-space: nowrap; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(540px, 86vh, 800px);
  padding-block: clamp(3rem, 9vw, 6rem);
  isolation: isolate;
  color: #fff;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(15, 19, 28, .92) 0%, rgba(15, 19, 28, .62) 48%, rgba(15, 19, 28, .28) 100%),
    linear-gradient(to top, rgba(15, 19, 28, .78) 0%, rgba(15, 19, 28, 0) 55%);
}
.hero__content { max-width: 660px; }
.hero__eyebrow {
  display: inline-block;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #ffd98a;
  background: rgba(0, 0, 0, .25);
  padding: .4rem .85rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}
.hero__title {
  color: #fff;
  font-size: clamp(2.15rem, 1.2rem + 4.4vw, 3.55rem);
  line-height: 1.07;
  letter-spacing: -.015em;
}
.hero__text {
  margin-top: 1.1rem;
  font-size: clamp(1.05rem, 1rem + .4vw, 1.22rem);
  color: rgba(255, 255, 255, .9);
  max-width: 36em;
}
.hero__actions {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
}
.hero__trust {
  margin-top: 1.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
}
.hero__trust li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .96rem;
  color: rgba(255, 255, 255, .92);
}
.hero__trust svg {
  width: 20px; height: 20px;
  color: var(--amber);
  flex: none;
}

/* ---------- Beneficios ---------- */
.benefit-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}
.benefit {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.benefit:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.benefit__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  border-radius: 14px;
  background: rgba(200, 16, 46, .09);
  color: var(--red);
  margin-bottom: 1rem;
}
.benefit__icon svg { width: 28px; height: 28px; }
.benefit__title { font-size: 1.17rem; margin-bottom: .4rem; }
.benefit__text { color: var(--muted); font-size: 1rem; }

/* ---------- Sobre nosotros ---------- */
.about { background: var(--surface-2); }
.about__grid {
  display: grid;
  gap: clamp(1.8rem, 4vw, 3.2rem);
  align-items: center;
}
.about__media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
/* El título de esta sección no vive dentro de .section__head, así que necesita
   su propio espacio inferior antes del texto. */
.about__body .section__title { margin-bottom: clamp(1rem, 2.2vw, 1.5rem); }
.about__lead {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 1rem;
}
.about__body p + p { margin-top: .9rem; }
.about__body .eyebrow { color: var(--red); }

.mv-grid {
  display: grid;
  gap: 1.1rem;
  margin-top: clamp(1.8rem, 4vw, 2.6rem);
}
.mv-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 5px solid var(--red);
  border-radius: var(--radius);
  padding: 1.6rem 1.6rem;
}
.mv-card:nth-child(2) { border-left-color: var(--amber); }
.mv-card__title { font-size: 1.3rem; margin-bottom: .5rem; }

/* ---------- Servicios ---------- */
.service-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}
.service {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.service::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--amber));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service:hover::before { transform: scaleX(1); }
.service--feature { background: var(--ink); border-color: var(--ink); }
.service--feature .service__title { color: #fff; }
.service--feature .service__text { color: rgba(255, 255, 255, .82); }
.service--feature .service__icon { background: rgba(242, 169, 0, .16); color: var(--amber); }
.service--feature::before { transform: scaleX(1); }
.service__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(200, 16, 46, .09);
  color: var(--red);
  margin-bottom: 1rem;
}
.service__icon svg { width: 30px; height: 30px; }
.service__title { font-size: 1.22rem; margin-bottom: .5rem; }
.service__text { color: var(--muted); }
.services__cta { margin-top: 1.8rem; text-align: center; }

/* ---------- Cobertura y unidades ---------- */
.coverage { background: var(--surface-2); }
.coverage__hero {
  display: grid;
  gap: 1.2rem;
  margin-bottom: 1.4rem;
}
.region-list { display: grid; gap: .8rem; align-content: start; }
.region {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.2rem;
}
.region__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  flex: none;
  border-radius: 10px;
  background: rgba(200, 16, 46, .09);
  color: var(--red);
}
.region__icon svg { width: 24px; height: 24px; }
.region--all .region__icon { background: rgba(242, 169, 0, .16); color: var(--amber-deep); }
.region__name { font-size: 1.08rem; }
.region__text { color: var(--muted); font-size: .98rem; }

.unit-card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.8rem 1.7rem;
  box-shadow: var(--shadow-md);
}
.unit-card__tag {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: .35rem;
}
.unit-card__title { color: #fff; font-size: 1.6rem; }
.unit-card__desc { color: rgba(255, 255, 255, .72); margin-top: .4rem; font-size: .98rem; }
.unit-card__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
  margin-top: 1.4rem;
}
.spec {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-sm);
  padding: .9rem 1rem;
}
.spec dt {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  color: rgba(255, 255, 255, .65);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.spec dt svg { width: 17px; height: 17px; color: var(--amber); }
.spec dd { font-size: 1.4rem; font-weight: 800; color: #fff; margin-top: .15rem; }

.sedes { display: grid; gap: 1.1rem; }
.sede {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem;
}
.sede__name {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.2rem;
  margin-bottom: .8rem;
}
.sede__name svg { width: 22px; height: 22px; color: var(--red); flex: none; }
.sede__block { font-size: .98rem; color: var(--body); }
.sede__block + .sede__block { margin-top: .7rem; }
.sede__block strong { color: var(--ink); }
.sede__map {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: 1rem;
  font-weight: 700;
  font-size: .95rem;
}
.sede__map svg { width: 18px; height: 18px; transition: transform .15s; }
.sede__map:hover { text-decoration: none; }
.sede__map:hover svg { transform: translateX(3px); }

/* ---------- Prueba social (sección oscura) ---------- */
.social-proof { background: var(--ink); color: rgba(255, 255, 255, .82); }
.social-proof .eyebrow { color: var(--amber); }
.social-proof .eyebrow::before { background: var(--red); }
.social-proof .section__title { color: #fff; }
.social-proof .section__head { text-align: center; margin-inline: auto; }

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: clamp(2.4rem, 6vw, 3.6rem);
}
.stat {
  text-align: center;
  padding: 1.3rem .8rem;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--radius);
}
.stat__num {
  display: block;
  font-size: clamp(2.2rem, 1.4rem + 3vw, 3.1rem);
  font-weight: 800;
  line-height: 1;
  color: var(--amber);
}
.stat__label {
  display: block;
  margin-top: .45rem;
  font-size: .92rem;
  color: rgba(255, 255, 255, .72);
}

.testimonial-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}
.testimonial {
  position: relative;
  background: var(--ink-2);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--radius);
  padding: 2.4rem 1.6rem 1.6rem;
}
.testimonial::before {
  content: "\201C";
  position: absolute;
  top: .35rem; left: 1.1rem;
  font-size: 4rem;
  line-height: 1;
  color: var(--red);
  font-family: Georgia, 'Times New Roman', serif;
}
.testimonial__quote { color: rgba(255, 255, 255, .9); }
.testimonial__author {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .92rem;
  color: rgba(255, 255, 255, .6);
}
.testimonial__author span {
  display: block;
  font-weight: 700;
  font-size: 1.02rem;
  color: #fff;
}
.social-proof__note {
  margin-top: 1.8rem;
  text-align: center;
  font-size: .98rem;
  color: rgba(255, 255, 255, .6);
}

/* ---------- Galería ---------- */
.gallery__filters {
  display: flex;
  justify-content: center;
  gap: .6rem;
  margin-bottom: 1.8rem;
}
.filter-btn {
  padding: .55rem 1.4rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  font-size: .96rem;
  transition: background-color .15s, color .15s, border-color .15s;
}
.filter-btn:hover { border-color: var(--red); color: var(--red); }
.filter-btn.is-active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.gallery__grid { column-count: 1; column-gap: 1rem; }
.gallery__item { break-inside: avoid; margin-bottom: 1rem; }
.gallery__btn {
  display: block;
  width: 100%;
  padding: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  background: var(--surface-3);
  box-shadow: var(--shadow-sm);
}
.gallery__btn img {
  width: 100%;
  transition: transform .4s ease;
}
.gallery__btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(26, 31, 42, 0);
  transition: background-color .25s ease;
}
.gallery__btn:hover img { transform: scale(1.06); }
.gallery__btn:hover::after { background: rgba(26, 31, 42, .12); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(12, 15, 21, .93);
  opacity: 0;
  transition: opacity .25s ease;
}
.lightbox.is-open { opacity: 1; }
.lightbox__backdrop { position: absolute; inset: 0; }
.lightbox__dialog {
  position: relative;
  max-width: 1100px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox__figure { margin: 0; text-align: center; }
.lightbox__img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  margin-inline: auto;
  border-radius: 8px;
  object-fit: contain;
}
.lightbox__caption {
  margin-top: .9rem;
  color: rgba(255, 255, 255, .82);
  font-size: .96rem;
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  transition: background-color .15s;
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255, 255, 255, .28); }
.lightbox__close {
  top: -8px; right: -8px;
  width: 48px; height: 48px;
}
.lightbox__close svg { width: 24px; height: 24px; }
.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 50px; height: 50px;
}
.lightbox__nav svg { width: 26px; height: 26px; }
.lightbox__nav--prev { left: -10px; }
.lightbox__nav--next { right: -10px; }

/* ---------- FAQ ---------- */
.faq { background: var(--surface-2); }
.faq__list { display: grid; gap: .75rem; }
.faq__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq__item[open] { border-color: rgba(200, 16, 46, .35); box-shadow: var(--shadow-sm); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  font-weight: 700;
  font-size: 1.06rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q svg {
  width: 22px; height: 22px;
  flex: none;
  color: var(--red);
  transition: transform .2s ease;
}
.faq__item[open] .faq__q svg { transform: rotate(180deg); }
.faq__a { padding: 0 1.3rem 1.2rem; }
.faq__a p { color: var(--muted); }

/* ---------- Contacto ---------- */
.contact__grid {
  display: grid;
  gap: clamp(1.8rem, 4vw, 3rem);
  align-items: start;
}
.contact__intro .section__intro { margin-bottom: 1.8rem; }
.contact-methods { display: grid; gap: 1rem; }
.contact-method { display: flex; gap: .9rem; align-items: flex-start; }
.contact-method__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  flex: none;
  border-radius: 12px;
  background: rgba(200, 16, 46, .09);
  color: var(--red);
}
.contact-method__icon svg { width: 23px; height: 23px; }
.contact-method__label {
  display: block;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  font-weight: 700;
}
.contact-method a, .contact-method div > span:not(.contact-method__label) {
  display: block;
  color: var(--ink);
  font-weight: 600;
}
.contact-method a:hover { color: var(--red); }

.contact__form-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 4vw, 2.2rem);
  box-shadow: var(--shadow-md);
}
.contact-form {
  display: grid;
  gap: 1.05rem;
  grid-template-columns: 1fr;
}
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field__label { font-weight: 600; font-size: .96rem; color: var(--ink); }
.field__label span { color: var(--red); }
.field__input {
  width: 100%;
  padding: .72rem .9rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 1rem;
  transition: border-color .15s, box-shadow .15s;
}
textarea.field__input { resize: vertical; min-height: 120px; }
.field__input:focus-visible {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, .15);
}
.field__input[aria-invalid="true"] { border-color: var(--red); }
.field__error { color: var(--red-dark); font-size: .88rem; font-weight: 600; }

.consent {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  font-size: .96rem;
  color: var(--body);
  cursor: pointer;
}
.consent input {
  width: 20px; height: 20px;
  flex: none;
  margin-top: .15rem;
  accent-color: var(--red);
}
.consent span span { color: var(--red); }

.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}
.form-status {
  font-weight: 600;
  padding: .2rem 0;
}
.form-status.is-ok { color: #15803d; }
.form-status.is-error { color: var(--red-dark); }
.form-note { font-size: .88rem; color: var(--muted); }
.form-note span { color: var(--red); }
.recaptcha-note { margin-top: -.35rem; }
/* La insignia flotante de reCAPTCHA se oculta; el aviso de texto la sustituye (permitido por Google). */
.grecaptcha-badge { visibility: hidden; }

/* ---------- Pie de página ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .68); }
.footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  padding-block: clamp(2.6rem, 6vw, 4rem);
}
.footer__brand img {
  height: 46px; width: auto;
  background: #fff;
  padding: .45rem .6rem;
  border-radius: 8px;
}
.footer__tagline { margin-top: 1rem; font-size: .96rem; max-width: 32em; }
.footer__title {
  color: #fff;
  font-size: .92rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1rem;
}
.footer__links { display: grid; gap: .55rem; }
.footer__links a, .footer__contact a {
  color: rgba(255, 255, 255, .72);
  font-weight: 500;
}
.footer__links a:hover, .footer__contact a:hover { color: #fff; }
.footer__address {
  font-style: normal;
  font-size: .95rem;
  line-height: 1.6;
}
.footer__address + .footer__address { margin-top: .9rem; }
.footer__address strong { color: #fff; }
.footer__contact { display: grid; gap: .65rem; }
.footer__contact li { display: flex; align-items: center; gap: .6rem; }
.footer__contact svg { width: 19px; height: 19px; color: var(--amber); flex: none; }

.social { display: flex; gap: .6rem; margin-top: 1.4rem; }
.social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  transition: background-color .15s, transform .15s;
}
.social__link:hover { background: var(--red); transform: translateY(-2px); }
.social__link svg { width: 20px; height: 20px; }

.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  padding-block: 1.3rem;
  font-size: .9rem;
}
.footer__bottom-inner a { color: rgba(255, 255, 255, .72); }
.footer__bottom-inner a:hover { color: #fff; }

/* ---------- Botones flotantes ---------- */
.whatsapp-fab {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 22px rgba(37, 211, 102, .45);
  transition: transform .15s;
}
.whatsapp-fab:hover { transform: scale(1.07); text-decoration: none; }
.whatsapp-fab svg { width: 32px; height: 32px; }
.whatsapp-fab__text {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.to-top {
  position: fixed;
  right: 18px; bottom: 88px;
  z-index: 190;
  width: 46px; height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--red); }
.to-top svg { width: 22px; height: 22px; }

/* ---------- Animaciones de aparición ---------- */
/* La clase .reveal-on la añade main.js sólo cuando el observador está activo;
   si el JS falla, el contenido permanece visible. */
.reveal-on .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal-on .reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   COLOR Y ANIMACIÓN — capa de mejora visual
   ============================================================ */

/* ---------- Barra de progreso de lectura ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 3px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--red), var(--amber));
  z-index: 200;
  pointer-events: none;
}

/* el contenido se mantiene por encima de los adornos de color */
.container { position: relative; z-index: 1; }

/* ---------- Adornos de color en secciones claras ---------- */
.benefits, .services, .coverage, .faq, .contact { position: relative; overflow: hidden; }
.benefits::before, .services::after, .coverage::before, .faq::after, .contact::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 460px; height: 460px;
  border-radius: 50%;
  pointer-events: none;
}
.benefits::before { top: -170px; right: -120px; background: radial-gradient(circle, rgba(200,16,46,.11), transparent 68%); }
.services::after  { bottom: -190px; left: -150px; background: radial-gradient(circle, rgba(242,169,0,.16), transparent 68%); }
.coverage::before { top: -160px; left: -130px; background: radial-gradient(circle, rgba(200,16,46,.10), transparent 68%); }
.faq::after       { bottom: -180px; right: -120px; background: radial-gradient(circle, rgba(242,169,0,.15), transparent 68%); }
.contact::before  { top: -170px; right: -130px; background: radial-gradient(circle, rgba(200,16,46,.09), transparent 68%); }

/* ---------- Iconos con degradado de marca ---------- */
.benefit__icon, .service__icon {
  background: linear-gradient(135deg, var(--red) 0%, #e0561c 55%, var(--amber) 100%);
  color: #fff;
  box-shadow: 0 8px 18px rgba(200, 16, 46, .28);
  transition: transform .25s ease, box-shadow .25s ease;
}
.service--feature .service__icon {
  background: linear-gradient(135deg, var(--red) 0%, #e0561c 55%, var(--amber) 100%);
  color: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .4);
}
.benefit:hover .benefit__icon,
.service:hover .service__icon {
  transform: translateY(-3px) rotate(-6deg) scale(1.07);
}

/* ---------- Botones: icono, brillo y variante ámbar ---------- */
.btn { position: relative; overflow: hidden; }
.btn__icon { width: 18px; height: 18px; flex: none; transition: transform .2s ease; }
.btn:hover .btn__icon { transform: translateX(4px); }
.btn--primary::after, .btn--amber::after {
  content: "";
  position: absolute;
  top: 0; left: -120%;
  width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-20deg);
  transition: left .55s ease;
  pointer-events: none;
}
.btn--primary:hover::after, .btn--amber:hover::after { left: 135%; }
.btn--amber {
  background: var(--amber);
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(242, 169, 0, .4);
}
.btn--amber:hover { background: var(--amber-deep); }

/* ---------- Navegación: subrayado animado ---------- */
.nav__link { position: relative; }
.nav__link:hover { background: transparent; }
.nav__link::after {
  content: "";
  position: absolute;
  left: .75rem; right: .75rem; bottom: .3rem;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--amber));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.nav__link:hover::after,
.nav__link.is-current::after { transform: scaleX(1); }

/* ---------- Hero: zoom suave + entrada escalonada ---------- */
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__media img { animation: kenburns 9s ease-out both; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__content > * { animation: heroIn .7s ease both; }
.hero__content > *:nth-child(1) { animation-delay: .15s; }
.hero__content > *:nth-child(2) { animation-delay: .27s; }
.hero__content > *:nth-child(3) { animation-delay: .39s; }
.hero__content > *:nth-child(4) { animation-delay: .51s; }
.hero__content > *:nth-child(5) { animation-delay: .63s; }

/* ---------- WhatsApp flotante: anillo de pulso ---------- */
.whatsapp-fab::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  background: #25d366;
  animation: fabPulse 2.6s ease-out infinite;
}
@keyframes fabPulse {
  0%   { transform: scale(1);   opacity: .55; }
  70%  { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* ---------- Cifras con degradado ---------- */
.stat__num {
  background: linear-gradient(120deg, var(--amber), #ffd676);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Realce de tarjetas ---------- */
.region, .sede, .mv-card, .testimonial {
  transition: transform .18s ease, box-shadow .18s ease;
}
.region:hover, .sede:hover, .mv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testimonial:hover { transform: translateY(-4px); }

/* ---------- Aparición escalonada en cuadrículas ---------- */
.benefit:nth-child(2), .service:nth-child(2), .testimonial:nth-child(2) { transition-delay: .09s; }
.benefit:nth-child(3), .service:nth-child(3), .testimonial:nth-child(3) { transition-delay: .18s; }
.benefit:nth-child(4), .service:nth-child(4) { transition-delay: .27s; }
.benefit:nth-child(5) { transition-delay: .36s; }
.benefit:nth-child(6) { transition-delay: .45s; }

/* ---------- FAQ: aparición del contenido ---------- */
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.faq__item[open] .faq__a { animation: faqIn .3s ease; }

/* ---------- Galería: animación al filtrar ---------- */
@keyframes popIn { from { opacity: 0; transform: scale(.93); } to { opacity: 1; transform: scale(1); } }
.gallery__grid.is-filtering .gallery__item:not([hidden]) { animation: popIn .42s ease both; }

/* ---------- Banda de llamado a la acción ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(3rem, 7vw, 5rem);
  background: linear-gradient(120deg, #8f0b20 0%, var(--red) 55%, #e0561c 100%);
  color: #fff;
}
.cta-band::before, .cta-band::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 42% 58% 60% 40%;
}
.cta-band::before { width: 420px; height: 420px; top: -190px; right: -70px; background: rgba(255,255,255,.08); }
.cta-band::after  { width: 320px; height: 320px; bottom: -180px; left: 6%; background: rgba(242,169,0,.18); }
.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
}
.cta-band__copy { flex: 1 1 420px; }
.cta-band__eyebrow {
  font-size: .82rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: #ffd98a; margin-bottom: .55rem;
}
.cta-band__title {
  color: #fff;
  font-size: clamp(1.6rem, 1rem + 2.3vw, 2.35rem);
  line-height: 1.16;
  letter-spacing: -.01em;
}
.cta-band__text { margin-top: .7rem; color: rgba(255,255,255,.9); max-width: 42ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Marquee de cadenas comerciales ---------- */
.retailers { text-align: center; }
.retailers__lead { color: rgba(255,255,255,.62); font-size: .98rem; margin-bottom: 1.3rem; }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  gap: 1rem;
  padding: .2rem 0;
  animation: marquee 28s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  flex: none;
  padding: .7rem 1.6rem;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  white-space: nowrap;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-33.3333%); }
}

/* ============================================================
   ENCABEZADO: logo + nombre + slogan + teléfono
   ============================================================ */
.logo { gap: .7rem; align-items: center; }
.logo__img { display: inline-flex; flex: none; }
.logo__img img { height: 48px; width: auto; display: block; }
.logo__text { display: none; line-height: 1.05; }
.logo__name {
  display: block;
  font-weight: 800;
  font-size: .92rem;
  color: var(--ink);
  letter-spacing: .01em;
}
/* Logo text only appears when there's real estate for it.
   Below 1180px the nav + phone pill + CTA already fill the row.
   The name is vertically centred against the logo via .logo's align-items. */
@media (min-width: 1180px) {
  .logo__img img { height: 52px; }
  .logo__text { display: inline-block; }
  .logo__name { font-size: 1rem; }
}

.nav__phone {
  display: none;
  align-items: center;
  gap: .45rem;
  padding: .5rem .85rem;
  border: 1.5px solid var(--red);
  color: var(--red);
  border-radius: 999px;
  font-weight: 700;
  font-size: .9rem;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.nav__phone svg { width: 18px; height: 18px; stroke: currentColor; fill: none; }
.nav__phone:hover { background: var(--red); color: #fff; text-decoration: none; }
/* Sólo aparece cuando hay espacio real (≥ 1080px); por debajo, el botón
   "Cotiza tu envío" + WhatsApp FAB cubren la llamada a la acción. */
@media (min-width: 1080px) { .nav__phone { display: inline-flex; } }

/* ============================================================
   HERO CARRUSEL
   ============================================================ */
.hero--carousel { position: relative; overflow: hidden; }
.hero--carousel .hero__media { z-index: -2; }
.hero--carousel .hero__overlay { z-index: -1; }
.hero__viewport { position: relative; width: 100%; }
.hero__slides {
  position: relative;
  min-height: clamp(540px, 78vh, 760px);
  list-style: none;
  padding: 0; margin: 0;
}
.hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .55s ease;
  padding-block: clamp(2rem, 6vh, 4rem);
}
.hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.hero__slide .hero__content { width: 100%; max-width: 760px; }
.hero__content--center { text-align: center; max-width: 880px; margin-inline: auto; }
.hero__logo {
  display: block;
  max-width: clamp(220px, 40vw, 520px);
  margin: 0 auto 1.4rem;
}
.hero__logo img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 26px rgba(0,0,0,.55));
}
.hero__brand-name {
  font-size: clamp(1.7rem, 4vw, 2.9rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  text-shadow: 0 2px 16px rgba(0,0,0,.45);
}
.hero__brand-slogan {
  margin-top: .55rem;
  font-size: clamp(1rem, 2.2vw, 1.45rem);
  font-weight: 700;
  color: var(--amber);
  letter-spacing: .04em;
  text-transform: uppercase;
}
/* En pantallas de poca altura (móvil/horizontal) el contenido del hero
   se centra si cabe y, si no, se alinea arriba y se puede desplazar,
   en lugar de recortarse contra el borde inferior del hero. */
@media (max-width: 720px) {
  .hero__slide {
    align-items: flex-start;
    overflow-y: auto;
    padding-block: 1.4rem;
  }
  .hero__slide .hero__content { margin-block: auto; }
  /* La diapositiva de marca es corta: se centra verticalmente de forma exacta. */
  .hero__slide--brand { align-items: center; }
  .hero__actions { margin-top: 1.4rem; }
  .hero__trust { margin-top: 1.3rem; gap: .5rem 1.1rem; }
}

.hero__nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  display: none;
  align-items: center; justify-content: center;
  background: rgba(15, 19, 28, .45);
  color: #fff;
  border-radius: 50%;
  z-index: 5;
  transition: background .2s ease, transform .2s ease;
}
.hero__nav:hover { background: rgba(200,16,46,.9); transform: translateY(-50%) scale(1.08); }
.hero__nav svg { width: 22px; height: 22px; stroke: currentColor; fill: none; }
.hero__nav--prev { left: clamp(.6rem, 2vw, 1.4rem); }
.hero__nav--next { right: clamp(.6rem, 2vw, 1.4rem); }
@media (min-width: 600px) { .hero__nav { display: flex; } }

.hero__dots {
  position: absolute;
  bottom: clamp(1rem, 3vh, 2rem);
  left: 50%; transform: translateX(-50%);
  display: flex;
  gap: .55rem;
  z-index: 5;
  padding: 0; margin: 0; list-style: none;
}
.hero__dots button {
  width: 11px; height: 11px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  border: 0;
  transition: background .2s ease, transform .2s ease, width .25s ease;
  cursor: pointer;
}
.hero__dots button[aria-current="true"] {
  background: var(--amber);
  width: 28px;
  border-radius: 999px;
}

.hero__values {
  display: grid;
  gap: .9rem;
  margin-top: 1.6rem;
  padding: 0; list-style: none;
}
.hero-value {
  background: rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  padding: 1.05rem 1.2rem 1.2rem;
  color: #fff;
}
.hero-value__icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: rgba(242,169,0,.22);
  color: var(--amber);
  border-radius: 12px;
  margin-bottom: .6rem;
}
.hero-value__icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; }
.hero-value__title { color: #fff; font-size: 1.08rem; margin-bottom: .25rem; }
.hero-value p { color: rgba(255,255,255,.86); font-size: .92rem; line-height: 1.45; }
@media (min-width: 720px) { .hero__values { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   TÍTULOS VARIANTES
   ============================================================ */
.section__title--long {
  font-size: clamp(1.3rem, 1rem + 1.6vw, 1.95rem);
  font-weight: 700;
  max-width: 980px;
  margin-inline: auto;
  line-height: 1.32;
}
.section__title--tight {
  white-space: normal;
  text-wrap: balance;
  font-size: clamp(1.6rem, 1rem + 2.4vw, 2.15rem);
}
.section__intro--strong {
  color: var(--ink-2) !important;
  opacity: 1 !important;
  font-weight: 600;
}

/* ============================================================
   BENEFICIOS / SERVICIOS: tarjetas con imagen arriba
   ============================================================ */
.benefit { padding: 0 !important; overflow: hidden; display: flex; flex-direction: column; }
.benefit__media { aspect-ratio: 16/10; overflow: hidden; background: var(--surface-2); }
.benefit__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.benefit:hover .benefit__media img { transform: scale(1.05); }
/* Tarjeta cuya imagen debe verse completa (sin recorte). */
.benefit--full .benefit__media { background: var(--surface-2); }
.benefit--full .benefit__media img { object-fit: contain; }
.benefit--full:hover .benefit__media img { transform: none; }
.benefit__body { padding: 1.25rem 1.4rem 1.5rem; flex: 1; }
.benefit__title { font-size: 1.18rem; margin-bottom: .35rem; }
.benefit__text { color: var(--muted); font-size: .98rem; }

.service { padding: 0 !important; overflow: hidden; display: flex; flex-direction: column; }
.service__media { aspect-ratio: 16/10; overflow: hidden; background: var(--surface-2); }
.service__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.service:hover .service__media img { transform: scale(1.05); }
.service__body { padding: 1.4rem 1.5rem 1.7rem; flex: 1; }
.service__body .service__title { font-size: 1.22rem; margin-bottom: .45rem; color: var(--ink); }
.service__body .service__text { color: var(--muted); }
.service--feature .service__body { background: var(--ink); }
.service--feature .service__body .service__title { color: #fff; }
.service--feature .service__body .service__text { color: rgba(255,255,255,.82); }

/* Utilidad: evita que un grupo (p. ej. un teléfono) se parta entre renglones. */
.nowrap { white-space: nowrap; }

/* ============================================================
   VALORES (sección Sobre Nosotros)
   ============================================================ */
.values-grid { margin-top: 2.6rem; }
.values-grid__lead { text-align: center; margin-bottom: 1rem; }
.values {
  display: grid;
  gap: 1rem;
  padding: 0; list-style: none;
}
.value {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.6rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.value:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.value__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(200,16,46,.12), rgba(242,169,0,.2));
  color: var(--red);
  border-radius: 14px;
  margin-bottom: .8rem;
}
.value__icon svg { width: 28px; height: 28px; stroke: currentColor; fill: none; }
.value__title { font-size: 1.16rem; margin-bottom: .35rem; }
.value p { color: var(--muted); font-size: .96rem; }
@media (min-width: 720px) { .values { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   COBERTURA: mapa animado + chip + grupo de unidades
   ============================================================ */
.coverage { position: relative; overflow: hidden; }
.coverage > .container { position: relative; z-index: 1; }
.coverage__map-feature {
  margin: 0;
  width: 100%;
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(242,169,0,.10), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #fbf6ee 100%);
  border: 1px solid var(--warm-line);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow-sm);
}
.coverage__map {
  position: relative;
  width: 100%;
  aspect-ratio: 1000 / 630;
}
.coverage__map-base,
.coverage__map-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.coverage__map-base { object-fit: contain; }
.coverage__route {
  fill: none;
  stroke: var(--red);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 12 16;
  animation: routeFlow 2.2s linear infinite;
  filter: drop-shadow(0 2px 6px rgba(200,16,46,.55));
}
@keyframes routeFlow { to { stroke-dashoffset: -56; } }
.coverage__pin circle { fill: var(--red); stroke: #fff; stroke-width: 3; }
.coverage__pin-ring {
  fill: rgba(200,16,46,.22);
  stroke: rgba(200,16,46,.6);
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
  animation: pinPulse 2.4s ease-out infinite;
}
@keyframes pinPulse {
  0%   { transform: scale(.6); opacity: .85; }
  100% { transform: scale(2);  opacity: 0;   }
}
.coverage__pin text {
  fill: var(--ink);
  font-size: 22px;
  font-weight: 800;
  font-family: 'Barlow', sans-serif;
  paint-order: stroke;
  stroke: #fbf6ee;
  stroke-width: 5px;
}

.coverage__chip {
  display: inline-block;
  margin-top: 1rem;
  padding: .5rem 1.05rem;
  background: linear-gradient(120deg, var(--red) 0%, #e0561c 55%, var(--amber) 100%);
  color: #fff;
  font-weight: 800;
  font-size: .92rem;
  border-radius: 999px;
  letter-spacing: .02em;
  box-shadow: 0 6px 18px rgba(200,16,46,.25);
}

.region--featured {
  background: linear-gradient(120deg, rgba(200,16,46,.04), rgba(242,169,0,.08));
  border-color: rgba(200,16,46,.18);
}
.region__tag {
  display: inline-block;
  margin-left: .45rem;
  padding: 2px 8px;
  font-size: .68rem;
  font-weight: 800;
  background: var(--red);
  color: #fff;
  border-radius: 999px;
  vertical-align: middle;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.unit-card--with-media { display: flex; flex-direction: column; gap: 0; padding-top: 1.4rem; margin-bottom: 1.4rem; }
.unit-card--with-media .unit-card__tag { margin-bottom: 1rem; }
.unit-card__media {
  margin: 0 0 1.2rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .35);
}
.unit-card__media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.unit-card--with-media .unit-card__body { display: contents; }

@media (prefers-reduced-motion: reduce) {
  .coverage__route { animation: none; stroke-dasharray: none; }
  .coverage__pin-ring { animation: none; opacity: .3; }
}

/* ============================================================
   TALLERES (sección nueva)
   ============================================================ */
.workshops { position: relative; }
.workshop-grid {
  display: grid;
  gap: 1.4rem;
  margin-top: 1.6rem;
  padding: 0; list-style: none;
}
.workshop {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}
.workshop:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.workshop__media { aspect-ratio: 16/10; overflow: hidden; }
.workshop__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.workshop:hover .workshop__media img { transform: scale(1.04); }
.workshop__body { padding: 1.4rem 1.5rem 1.7rem; flex: 1; }
.workshop__chip {
  display: inline-block;
  padding: .25rem .75rem;
  background: var(--amber);
  color: var(--ink);
  font-weight: 800;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  border-radius: 999px;
  margin-bottom: .55rem;
}
.workshop__title { font-size: 1.3rem; margin-bottom: .4rem; }
.workshop__body p { color: var(--muted); }

.workshop-features {
  display: flex; flex-wrap: wrap;
  gap: .55rem .65rem;
  justify-content: center;
  margin-top: 2.2rem;
  padding: 1.05rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  list-style: none;
}
.workshop-features li {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .4rem .85rem;
  font-weight: 700;
  font-size: .92rem;
  color: var(--ink-2);
  background: linear-gradient(120deg, rgba(200,16,46,.05), rgba(242,169,0,.1));
  border-radius: 999px;
}
.workshop-features svg { width: 18px; height: 18px; stroke: var(--red); fill: none; }
@media (min-width: 720px) { .workshop-grid { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   MARQUEE: logos de retailers
   ============================================================ */
.marquee__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding-inline: 1.2rem !important;
}
.marquee__item img {
  height: 32px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  transition: transform .25s ease;
}
.marquee__item:hover img { transform: scale(1.05); }
@media (min-width: 720px) { .marquee__item img { height: 40px; } }

/* ============================================================
   GALERÍA: feature + chip "Taller"
   ============================================================ */
.gallery__btn { position: relative; }
.gallery__chip {
  position: absolute;
  top: .65rem; left: .65rem;
  z-index: 2;
  padding: .22rem .7rem;
  background: var(--amber);
  color: var(--ink);
  font-weight: 800;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  border-radius: 999px;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.gallery__item--feature picture,
.gallery__item--feature img { width: 100%; height: auto; }
.gallery__item--feature {
  column-span: all;
  margin-bottom: 1.4rem;
}
.gallery__item--feature .gallery__btn { max-width: 920px; margin: 0 auto; }
.gallery__item--shorter img { aspect-ratio: 4 / 3; object-fit: cover; object-position: center; height: auto; }

/* ============================================================
   FOOTER: redes sociales prominentes
   ============================================================ */
.social--prominent {
  gap: .65rem;
  display: flex;
  flex-wrap: wrap;
}
.social--prominent .social__link {
  width: auto;
  height: auto;
  border-radius: 999px;
  padding: .55rem 1rem;
  color: #fff;
  font-weight: 700;
  font-size: .92rem;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.social--prominent .social__link svg { width: 20px; height: 20px; }
.social--prominent .social__link:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-md); filter: brightness(1.08); }
.social__link--facebook { background: #1877f2; }
.social__link--instagram {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}
.social__label { white-space: nowrap; }

/* ============================================================
   STICKY CALL BAR (móvil)
   ============================================================ */
.sticky-call-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  display: none;
  z-index: 150;
  background: var(--surface);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(0,0,0,.1);
}
.sticky-call-bar__btn {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  gap: .55rem;
  padding: .95rem 1rem;
  font-weight: 800;
  font-size: 1.02rem;
  color: #fff;
  text-decoration: none;
  min-height: 56px;
}
.sticky-call-bar__btn svg { width: 22px; height: 22px; }
.sticky-call-bar__btn--call { background: var(--red); }
.sticky-call-bar__btn--call svg { stroke: currentColor; fill: none; }
.sticky-call-bar__btn--wa { background: #25d366; }
.sticky-call-bar__btn--wa svg { fill: currentColor; stroke: none; }
.sticky-call-bar__btn:hover { text-decoration: none; filter: brightness(1.05); }

@media (max-width: 719px) {
  .sticky-call-bar { display: flex; }
  body { padding-bottom: 64px; }
  .whatsapp-fab { display: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 600px) {
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .mv-grid { grid-template-columns: repeat(2, 1fr); }
  .sedes { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .gallery__grid { column-count: 2; }
  .contact-form { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 720px) {
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .about__grid { grid-template-columns: 1fr 1fr; }
  .coverage__hero { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; }
  .unit-card--with-media {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 1.4rem;
    align-items: start;
    padding-top: 1.8rem;
  }
  .unit-card--with-media .unit-card__tag { grid-column: 1 / -1; margin-bottom: 0; }
  .unit-card--with-media .unit-card__media { margin: 0; align-self: stretch; }
  .unit-card--with-media .unit-card__media img { height: 100%; }
  .unit-card--with-media .unit-card__body { display: block; }
  .contact__grid { grid-template-columns: .85fr 1.15fr; }
  .gallery__grid { column-count: 3; }
}

@media (min-width: 920px) {
  :root { --header-h: 80px; }
  .benefit-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 980px) {
  .footer__grid { grid-template-columns: 1.6fr 1fr 1.4fr 1.2fr; }
}

/* ---------- Navegación móvil ---------- */
@media (max-width: 919px) {
  .js .nav-toggle { display: inline-flex; }
  .js .nav {
    position: fixed;
    /* .site-header lleva backdrop-filter, lo que lo convierte en el bloque
       contenedor de este elemento fixed. Por eso fijamos una altura
       explícita en lugar de depender de inset/bottom (que colapsaba el
       panel a la altura del header). */
    top: var(--header-h);
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: .4rem;
    padding: 1.4rem clamp(1.1rem, 4vw, 2rem) 2.4rem;
    background: var(--surface);
    overflow-y: auto;
    /* Cerrado: dentro del viewport (sin translateX que provoque scroll
       horizontal y empuje la barra fija inferior). Se revela con opacidad. */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .26s ease, transform .26s ease, visibility 0s linear .26s;
  }
  .js .nav__list { flex-direction: column; align-items: stretch; gap: .2rem; }
  .js .nav__link {
    padding: .85rem .6rem;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .js .nav__cta { margin-top: 1rem; width: 100%; }
  .js .nav-open .nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity .26s ease, transform .26s ease;
  }
  .js .nav-open { overflow: hidden; }
  .js .nav-open .nav-toggle__icon--open { display: none; }
  .js .nav-open .nav-toggle__icon--close { display: block; }
}

/* ---------- Secciones con desplazamiento por anclaje ---------- */
:where(section[id], main [id]) { scroll-margin-top: calc(var(--header-h) + 14px); }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal-on .reveal { opacity: 1; transform: none; }
  .hero__media img,
  .hero__content > *,
  .whatsapp-fab::before,
  .marquee__track { animation: none !important; }
  .hero__content > * { opacity: 1; transform: none; }
}
