/* ==========================================================================
   DÁMASO Y FERNANDO, S.L.L. · Landing page
   --------------------------------------------------------------------------
   Hoja de estilos única · Mobile First · Sin frameworks
   Índice:
     1. Variables y reset
     2. Utilidades (contenedor, secciones, botones, reveal)
     3. Loader
     4. Header y navegación
     5. Hero + marquee
     6. Cifras (stats)
     7. Sobre nosotros
     8. Servicios (tarjetas)
     9. Clásicos (sección destacada)
    10. CTA intermedio
    11. Galería + lightbox
    12. Por qué elegirnos
    13. Localización
    14. Contacto (formulario)
    15. Footer
    16. Flotantes (WhatsApp / volver arriba)
    17. Accesibilidad y reduced motion
   ========================================================================== */

/* ---------- 1. Variables y reset ---------- */
:root {
  /* Color corporativo extraído del logotipo original: rgb(159,13,16) */
  --red:        #9f0d10;
  --red-dark:   #7c0a0d;
  --red-bright: #c8102e;
  --black:      #101013;
  --gray-900:   #1a1a1e;
  --gray-700:   #3c3c43;
  --gray-500:   #6e6e76;
  --gray-200:   #e4e4e8;
  --gray-100:   #f4f4f6;
  --white:      #ffffff;
  --font-display: "Archivo", "Segoe UI", Arial, sans-serif;
  --font-body:    "Inter", "Segoe UI", Arial, sans-serif;

  --radius:    14px;
  --radius-sm: 8px;
  --shadow:    0 10px 40px rgba(16, 16, 19, .10);
  --shadow-lg: 0 24px 60px rgba(16, 16, 19, .18);
  --ease:      cubic-bezier(.22, .61, .36, 1);

  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  /* Nota: no aplicar overflow-x a html/body; se propaga al viewport
     y rompe la navegación por anclas y el scroll programático */
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; }

/* Iconos SVG de línea */
svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------- 2. Utilidades ---------- */
.container { width: min(100% - 2.5rem, 1180px); margin-inline: auto; }

.section { padding-block: clamp(4rem, 9vw, 6.5rem); }
.section--gray { background: var(--gray-100); }
.section--dark { background: var(--black); color: #c9c9cf; }

.section__eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-display);
  font-size: .8rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: .9rem;
}
.section__eyebrow::before { content: ""; width: 2rem; height: 2px; background: var(--red); }
.section__eyebrow--light { color: #ff8f92; }
.section__eyebrow--light::before { background: #ff8f92; }

.section__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.5vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -.01em;
  color: var(--black);
  margin-bottom: 1.2rem;
  text-wrap: balance;
}
.section__title em { font-style: normal; color: var(--red); }
.section__title--light { color: var(--white); }
.section__title--light em { color: #ff8f92; }

.section__intro { max-width: 56ch; margin-bottom: 2.5rem; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--font-display);
  font-weight: 700; font-size: .95rem;
  letter-spacing: .02em;
  padding: .95rem 1.7rem;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--red { background: var(--red); color: var(--white); box-shadow: 0 8px 24px rgba(159, 13, 16, .35); }
.btn--red:hover { background: var(--red-bright); box-shadow: 0 12px 30px rgba(200, 16, 46, .4); }

.btn--outline { border-color: rgba(255, 255, 255, .55); color: var(--white); }
.btn--outline:hover { background: var(--white); color: var(--black); border-color: var(--white); }

.btn--white { background: var(--white); color: var(--red); }
.btn--white:hover { box-shadow: 0 12px 30px rgba(0, 0, 0, .25); }

.btn--block { width: 100%; }

/* Animación de aparición al hacer scroll (JS añade .is-visible) */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Enlace de salto (accesibilidad) */
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 300;
  background: var(--black); color: var(--white);
  padding: .7rem 1.2rem; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ---------- 3. Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 400;
  display: grid; place-items: center;
  background: var(--black);
  transition: opacity .5s var(--ease), visibility .5s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__mark { text-align: center; animation: loaderPulse 1.2s var(--ease) infinite alternate; }
.loader__df {
  display: grid; place-items: center;
  width: 76px; height: 76px; margin-inline: auto;
  background: var(--red); color: var(--white);
  font-family: var(--font-display); font-weight: 900; font-size: 1.8rem;
  border-radius: 18px;
}
.loader__year {
  display: block; margin-top: .9rem;
  color: rgba(255, 255, 255, .55);
  font-family: var(--font-display); font-size: .72rem; font-weight: 600;
  letter-spacing: .35em;
}
@keyframes loaderPulse { from { opacity: .75; } to { opacity: 1; } }

/* ---------- 4. Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--header-h);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease);
}
/* Transparente sobre el hero, sólido al hacer scroll */
.header.is-scrolled { background: rgba(16, 16, 19, .92); backdrop-filter: blur(10px); box-shadow: 0 6px 24px rgba(0, 0, 0, .25); }

.header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 1rem; }

/* Marca */
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand__box {
  background: var(--red);
  border-radius: 9px;
  padding: .42rem .65rem;
  box-shadow: 0 4px 14px rgba(159, 13, 16, .4);
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 900; font-size: .78rem; line-height: 1.1;
  letter-spacing: .04em; color: var(--white);
}
.brand__tag {
  font-family: var(--font-display);
  font-size: .66rem; line-height: 1.25; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255, 255, 255, .85);
}
.brand__tag strong { color: var(--white); }

/* Navegación (panel deslizante en móvil) */
.nav {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 190;
  background: rgba(16, 16, 19, .97);
  padding: 1.2rem 1.4rem 2rem;
  transform: translateY(-115%);
  transition: transform .4s var(--ease);
  visibility: hidden;
}
.nav.is-open { transform: none; visibility: visible; }

.nav__list { display: flex; flex-direction: column; gap: .2rem; }
.nav__link {
  display: block; padding: .65rem .4rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  color: var(--white); text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color .25s;
}
.nav__link:hover, .nav__link.is-active { color: #ff8f92; }

.nav__phone {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-top: 1rem; padding: .7rem 1.3rem;
  background: var(--red); color: var(--white);
  font-family: var(--font-display); font-weight: 700;
  border-radius: 999px; text-decoration: none;
  transition: background-color .25s;
}
.nav__phone:hover { background: var(--red-bright); }

/* Hamburguesa */
.burger { display: inline-flex; flex-direction: column; gap: 5px; padding: .6rem; }
.burger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 5. Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  color: var(--white);
  padding-block: calc(var(--header-h) + 2rem) 5rem;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background: url("img/hero-neumaticos.jpg") center 65% / cover no-repeat;
  animation: heroZoom 14s var(--ease) forwards;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

/* Overlay oscuro con degradado hacia la izquierda para legibilidad */
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(12, 12, 15, .94) 20%, rgba(12, 12, 15, .72) 55%, rgba(12, 12, 15, .45) 100%),
    linear-gradient(to top, rgba(12, 12, 15, .85), transparent 40%);
}

.hero__eyebrow {
  display: flex; align-items: center; gap: .8rem;
  font-family: var(--font-display); font-weight: 600;
  font-size: .82rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255, 255, 255, .75);
  margin-bottom: 1.4rem;
}
.hero__eyebrow-line { width: 3rem; height: 2px; background: var(--red-bright); }

.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 7.5vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: -.015em;
  text-wrap: balance;
  margin-bottom: 1.4rem;
}
.hero__title em {
  font-style: normal; color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, .9);
}

.hero__subtitle {
  max-width: 54ch;
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, .82);
  margin-bottom: 2.4rem;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; }

/* Indicador de scroll */
.hero__scroll {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(255, 255, 255, .5); border-radius: 999px;
  display: flex; justify-content: center; padding-top: 8px;
}
.hero__scroll span { width: 3px; height: 8px; background: var(--white); border-radius: 3px; animation: scrollHint 1.8s var(--ease) infinite; }
@keyframes scrollHint { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* Cinta de especialidades */
.marquee { background: var(--red); color: var(--white); overflow: hidden; padding-block: .8rem; }
.marquee__track {
  display: flex; align-items: center; gap: 2.2rem;
  width: max-content;
  font-family: var(--font-display); font-weight: 700; font-size: .92rem;
  letter-spacing: .18em; text-transform: uppercase; white-space: nowrap;
  animation: marquee 28s linear infinite;
}
.marquee__track i { font-style: normal; font-size: .55rem; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 6. Cifras ---------- */
.stats { background: var(--white); border-bottom: 1px solid var(--gray-200); }
.stats__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1rem; padding-block: 3rem;
}
.stat { text-align: center; }
.stat__number {
  display: block;
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  color: var(--black); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat__label {
  display: block; margin-top: .45rem;
  font-size: .85rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--gray-500);
}

/* ---------- 7. Sobre nosotros ---------- */
.about__grid { display: grid; gap: 3rem; align-items: center; }

.about__media { position: relative; padding-bottom: 3.5rem; }
.about__photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__photo--main { aspect-ratio: 5 / 4; }
.about__photo--small {
  position: absolute; right: -2%; bottom: 0;
  width: 52%; aspect-ratio: 4 / 3;
  border: 5px solid var(--white);
  box-shadow: var(--shadow-lg);
}
.about__badge {
  position: absolute; left: 4%; bottom: 8%;
  display: flex; flex-direction: column; align-items: center; gap: .1rem;
  background: var(--red); color: var(--white);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  box-shadow: 0 14px 34px rgba(159, 13, 16, .45);
  text-align: center;
  transform: rotate(-3deg);
}
.about__badge strong { font-family: var(--font-display); font-weight: 900; font-size: 1.7rem; line-height: 1; }
.about__badge span { font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1.3; }

.about__text p { margin-bottom: 1.1rem; max-width: 58ch; }
.about__text strong { color: var(--black); }

.about__points { margin: 1.4rem 0 2rem; display: grid; gap: .7rem; }
.about__points li { display: flex; gap: .7rem; align-items: baseline; font-weight: 500; color: var(--gray-700); }
.about__points li::before {
  content: ""; align-self: center;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red); flex-shrink: 0;
}

.about__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; }
.link-phone {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  color: var(--black); text-decoration: none;
}
.link-phone:hover { color: var(--red); }

/* ---------- 8. Servicios ---------- */
.services__grid { display: grid; gap: 1.2rem; }

.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
/* Filo rojo que crece al pasar el ratón */
.card::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }

.card__icon {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  background: rgba(159, 13, 16, .08);
  color: var(--red);
  margin-bottom: 1.2rem;
  transition: background-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.card__icon svg { width: 28px; height: 28px; }
.card:hover .card__icon { background: var(--red); color: var(--white); transform: scale(1.06) rotate(-3deg); }

.card__title { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--black); margin-bottom: .5rem; }
.card__text { font-size: .95rem; }

.card--featured { background: var(--gray-900); border-color: var(--gray-900); }
.card--featured .card__title { color: var(--white); }
.card--featured .card__text { color: #b9b9c1; }
.card--featured .card__icon { background: rgba(255, 255, 255, .08); color: #ff8f92; }
.card--featured:hover .card__icon { background: var(--red); color: var(--white); }

/* ---------- 9. Clásicos (sección destacada) ---------- */
.classics {
  position: relative;
  background:
    linear-gradient(rgba(13, 13, 16, .93), rgba(13, 13, 16, .96)),
    url("img/bg-clasico-mercedes.jpg") center / cover fixed no-repeat;
  color: #c9c9cf;
  padding-block: clamp(4.5rem, 10vw, 7.5rem);
}
.classics__head { max-width: 62ch; }
.classics__intro { font-size: 1.05rem; margin-bottom: 3rem; }

/* Línea de hitos */
.timeline {
  display: grid; gap: 1.6rem;
  margin-bottom: 3.5rem;
  counter-reset: hito;
}
.timeline__item {
  position: relative;
  padding-left: 1.4rem;
  border-left: 2px solid rgba(255, 255, 255, .15);
}
.timeline__item::before {
  content: "";
  position: absolute; left: -6px; top: .4rem;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 0 5px rgba(200, 16, 46, .2);
}
.timeline__year {
  display: block;
  font-family: var(--font-display); font-weight: 900; font-size: 1.4rem;
  color: var(--white); margin-bottom: .2rem;
}
.timeline__item p { font-size: .95rem; }

/* Collage */
.classics__collage { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; margin-bottom: 3rem; }
.classics__photo {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 5;
}
.classics__photo--wide { grid-column: span 2; aspect-ratio: 16 / 9; }
.classics__photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.classics__photo:hover img { transform: scale(1.05); }
.classics__photo figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 2.2rem .9rem .8rem;
  background: linear-gradient(to top, rgba(10, 10, 13, .85), transparent);
  color: var(--white);
  font-family: var(--font-display); font-weight: 600; font-size: .82rem;
  letter-spacing: .05em;
}

.classics__features { display: grid; gap: 1.4rem; }
.classics__features li {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  background: rgba(255, 255, 255, .03);
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.classics__features li:hover { border-color: rgba(200, 16, 46, .6); background: rgba(200, 16, 46, .07); }
.classics__features strong {
  display: block;
  font-family: var(--font-display); font-weight: 700;
  color: var(--white); margin-bottom: .3rem;
}
.classics__features span { font-size: .92rem; }

/* ---------- 10. CTA intermedio ---------- */
.cta-band { background: var(--red); color: var(--white); padding-block: 3.2rem; }
.cta-band__inner { display: grid; gap: 1.8rem; }
.cta-band__title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(1.5rem, 3.6vw, 2.2rem); line-height: 1.15;
  margin-bottom: .5rem; text-wrap: balance;
}
.cta-band__text { color: rgba(255, 255, 255, .85); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }
.cta-band .btn--whatsapp { box-shadow: none; }

/* ---------- 11. Galería + lightbox ---------- */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .8rem;
  margin-top: 2.5rem;
}
.gallery__item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1;
  padding: 0;
}
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s var(--ease), filter .55s var(--ease);
}
/* Zoom + icono de lupa al pasar */
.gallery__item::after {
  content: "+";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 500;
  color: var(--white);
  background: rgba(159, 13, 16, .55);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.gallery__item:hover img, .gallery__item:focus-visible img { transform: scale(1.08); }
.gallery__item:hover::after, .gallery__item:focus-visible::after { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10, 10, 13, .94);
  padding: 3.5rem 1rem;
  opacity: 0;
  transition: opacity .3s var(--ease);
}
/* Imprescindible: display:flex anularía el atributo hidden y el visor,
   aun invisible, cubriría la página entera bloqueando todos los clics */
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__img {
  max-width: min(100%, 960px); max-height: 100%;
  border-radius: var(--radius-sm);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}
.lightbox__close, .lightbox__nav {
  position: absolute;
  color: var(--white); font-size: 2.2rem; line-height: 1;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  transition: background-color .25s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--red); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__nav--prev { left: .6rem; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: .6rem; top: 50%; transform: translateY(-50%); }

/* ---------- 12. Por qué elegirnos ---------- */
.why__grid { display: grid; gap: 1.2rem; margin-top: 2.5rem; }
.why__item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  border: 1px solid var(--gray-200);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.why__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why__icon {
  display: grid; place-items: center;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(159, 13, 16, .08); color: var(--red);
  margin-bottom: 1rem;
}
.why__icon svg { width: 24px; height: 24px; }
.why__item h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--black); margin-bottom: .4rem; }
.why__item p { font-size: .92rem; }

/* ---------- 13. Localización ---------- */
.location__grid { display: grid; gap: 2rem; margin-top: 2.5rem; }
.location__map {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 320px;
}
.location__map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

.location__info {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
}
.info-list { display: grid; gap: 1.4rem; margin-bottom: 1.8rem; }
.info-list li { display: flex; gap: 1rem; }
.info-list svg { width: 22px; height: 22px; color: var(--red); margin-top: .2rem; }
.info-list strong { display: block; font-family: var(--font-display); color: var(--black); margin-bottom: .15rem; }
.info-list span { font-size: .95rem; }
.info-list a { color: var(--gray-700); text-decoration: none; border-bottom: 1px solid var(--gray-200); transition: color .2s, border-color .2s; }
.info-list a:hover { color: var(--red); border-color: var(--red); }

/* ---------- 14. Contacto ---------- */
.contact__inner { max-width: 820px; margin-inline: auto; text-align: center; }
.contact__inner .section__eyebrow { justify-content: center; }
.contact__lead { max-width: 50ch; margin: 0 auto 2.5rem; }

.contact__channels { display: grid; gap: .9rem; text-align: left; }
.contact__cta { margin-top: 2.5rem; }
.channel {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color .3s var(--ease), background-color .3s var(--ease), transform .3s var(--ease);
}
.channel:hover { border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .04); transform: translateX(4px); }
.channel__icon {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  color: var(--white);
}
.channel__icon svg { width: 22px; height: 22px; }
.channel__icon--red { background: var(--red); }
.channel__icon--dark { background: var(--gray-700); }
.channel strong { display: block; font-family: var(--font-display); color: var(--white); font-size: .95rem; }
.channel em { font-style: normal; font-size: .88rem; color: #a9a9b2; }

/* ---------- 15. Footer ---------- */
.footer { background: #0b0b0e; color: #9b9ba4; font-size: .93rem; }
.footer__grid {
  display: grid; gap: 2.2rem;
  padding-block: 3.5rem 2.5rem;
}
.footer__brand .brand { margin-bottom: 1.2rem; }
.footer__brand p { max-width: 38ch; }
.footer__col h4 {
  font-family: var(--font-display); font-weight: 700; font-size: .82rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--white); margin-bottom: 1rem;
}
.footer__col ul { display: grid; gap: .55rem; }
.footer__col a { color: #9b9ba4; text-decoration: none; transition: color .2s; }
.footer__col a:hover { color: var(--white); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 1.3rem; font-size: .84rem; }

/* ---------- 16. Flotantes ---------- */
.to-top {
  position: fixed; right: 1.35rem; bottom: 1.35rem; z-index: 150;
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--black); color: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background-color .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--red); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- 17. Accesibilidad ---------- */
:focus-visible { outline: 3px solid var(--red-bright); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .classics { background-attachment: scroll; }
}

/* ==========================================================================
   RESPONSIVE · Tablet (≥ 640px)
   ========================================================================== */
@media (min-width: 640px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
  .contact__channels { grid-template-columns: repeat(3, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .classics__collage { grid-template-columns: repeat(4, 1fr); }
  .classics__photo--wide { grid-column: span 2; aspect-ratio: auto; }
  .classics__features { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   RESPONSIVE · Desktop (≥ 1024px)
   ========================================================================== */
@media (min-width: 1024px) {
  :root { --header-h: 84px; }

  /* Navegación horizontal en escritorio */
  .burger { display: none; }
  .nav {
    position: static; visibility: visible; transform: none;
    background: none; padding: 0;
    display: flex; align-items: center; gap: 1.6rem;
  }
  .nav__list { flex-direction: row; gap: .2rem; }
  .nav__link {
    position: relative;
    font-size: .92rem; padding: .5rem .75rem;
  }
  /* Subrayado animado */
  .nav__link::after {
    content: "";
    position: absolute; left: .75rem; right: .75rem; bottom: .15rem;
    height: 2px; background: var(--red-bright);
    transform: scaleX(0); transform-origin: left;
    transition: transform .3s var(--ease);
  }
  .nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
  .nav__phone { margin-top: 0; padding: .6rem 1.2rem; font-size: .92rem; }

  .about__grid { grid-template-columns: 1.05fr 1fr; gap: 4.5rem; }
  .services__grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .why__grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .gallery__grid { grid-template-columns: repeat(4, 1fr); }
  /* Piezas destacadas del mosaico */
  .gallery__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .gallery__item:nth-child(5) { grid-column: span 2; }

  .timeline { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .timeline__item { border-left: 0; border-top: 2px solid rgba(255,255,255,.15); padding: 1.2rem 0 0; }
  .timeline__item::before { left: 0; top: -6px; }

  .classics__collage { grid-template-columns: repeat(6, 1fr); }
  .classics__photo { grid-column: span 1; aspect-ratio: 3 / 4; }
  .classics__photo--wide { grid-column: span 2; aspect-ratio: auto; }

  .cta-band__inner { grid-template-columns: 1.2fr auto; align-items: center; }

  .location__grid { grid-template-columns: 1.4fr 1fr; align-items: stretch; }

  .footer__grid { grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items: start; }
}
