:root {
  --rojo: #b40f16;
  --tinta: #161311;
  --papel: #f6f1ea;
  --crema: #fffaf4;
  --linea: #e6ddd2;
  --verde: #0f7a3a;
  --suave: #6f675f;
  --velo: linear-gradient(180deg, rgba(12, 9, 7, 0.15) 0%, rgba(12, 9, 7, 0.55) 55%, rgba(12, 9, 7, 0.78) 100%);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

section, h1, h2 { scroll-margin-top: 5rem; }

body {
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.45;
}

img {
  display: block;
  max-width: 100%;
}

.barra {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1.2rem;
  background: rgba(255, 250, 244, 0.9);
  color: var(--tinta);
  border-bottom: 1px solid rgba(230, 221, 210, 0.85);
  backdrop-filter: blur(12px);
}

.marca {
  font-family: Fraunces, Georgia, serif;
  font-weight: 650;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  color: var(--tinta);
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.barra-acciones,
.acciones-hero,
.acciones-encargar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.btn-chico {
  min-height: 38px;
  padding: 0.4rem 0.9rem;
  font-size: 0.9rem;
}

.btn-wa {
  background: var(--verde);
  color: white;
}

.barra .btn-llamar {
  background: transparent;
  color: var(--tinta);
  border: 1.5px solid rgba(22, 19, 17, 0.28);
}

.btn-claro {
  background: rgba(255, 255, 255, 0.14);
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.btn:focus-visible,
.marca:focus-visible,
.llegar:focus-visible,
.flecha:focus-visible {
  outline: 3px solid var(--tinta);
  outline-offset: 3px;
}

.mostrador .flecha:focus-visible { outline-color: white; }

.hero {
  position: relative;
  min-height: 100svh;
  color: white;
  overflow: hidden;
  display: grid;
  align-items: end;
}

.hero-foto {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  transform: scale(1.04);
  animation: zoom-lento 18s ease-out forwards;
}

.hero-velo {
  position: absolute;
  inset: 0;
  background: var(--velo);
}

.hero-texto {
  position: relative;
  z-index: 1;
  max-width: 34rem;
  padding: 5.8rem 1.35rem 2.6rem;
}

.marca-script {
  margin: 0 0 0.55rem;
  font-family: Fraunces, Georgia, serif;
  font-style: italic;
  font-weight: 480;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  letter-spacing: 0.02em;
  color: #ffd7d5;
}

.hero h1 {
  margin: 0 0 1.35rem;
  font-family: Fraunces, Georgia, serif;
  font-weight: 650;
  font-size: clamp(2.6rem, 8vw, 4.6rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
  text-wrap: balance;
}

.numero {
  margin: 0.85rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
  font-size: 0.95rem;
}

.numero a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-llamar {
  background: transparent;
  color: var(--tinta);
  border: 1.5px solid var(--tinta);
}

.historia {
  display: grid;
  gap: 1.2rem;
  padding: 3.4rem 1.15rem 3rem;
  background: var(--crema);
}

.historia-texto { max-width: 40rem; }

.historia-cuerpo,
.cap-lead {
  margin: 1.05rem 0 0;
  max-width: 36rem;
  color: var(--suave);
  font-size: 1.12rem;
  line-height: 1.6;
}

.lado-foto {
  margin: 0;
  overflow: hidden;
  background: #d7cfc4;
  aspect-ratio: 4 / 3;
  max-height: 340px;
}

.lado-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.autoservicio-layout {
  display: grid;
  gap: 1.2rem;
  padding: 0 1.15rem 2.4rem;
}

.autoservicio-grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.35rem;
}

.auto-bloque {
  padding: 1.4rem 1.25rem 1.5rem;
  background: var(--papel);
  border-top: 3px solid var(--rojo);
}

.auto-bloque h3 {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-weight: 650;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.auto-bloque p {
  margin: 0.55rem 0 0;
  color: var(--suave);
  line-height: 1.5;
}

.cap {
  padding: 4.2rem 0 1.2rem;
}

.cap-clara { background: var(--crema); }

.cap-intro {
  max-width: 34rem;
  padding: 0 1.35rem 1.6rem;
}

.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--rojo);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow.claro { color: #f0b3b0; }

.cap h2,
.historia h2,
.mostrador h2,
.encargar h2 {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-weight: 650;
  font-size: clamp(2.1rem, 5.5vw, 3.5rem);
  letter-spacing: -0.04em;
  line-height: 0.98;
  text-wrap: balance;
}

.mosaico {
  display: grid;
  gap: 0.65rem;
  padding: 0 1.15rem 2.4rem;
}

.celda {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #d7cfc4;
  aspect-ratio: 5 / 4;
  max-height: 320px;
}

.celda img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s ease;
}

.celda:hover img { transform: scale(1.03); }

.celda figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.6rem 1rem 0.85rem;
  background: linear-gradient(transparent, rgba(12, 9, 7, 0.72));
  color: white;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.mosaico-manana .grande,
.mosaico-tarde .grande,
.mosaico-domingo .grande {
  aspect-ratio: 4 / 3;
  max-height: 360px;
}

.mostrador {
  background: var(--tinta);
  color: white;
  padding-top: 3.4rem;
}

.mostrador-cabeza {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.35rem 1.1rem;
}

.controles {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.flecha {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: white;
  color: var(--tinta);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.cuenta {
  min-width: 3.2rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
}

.pista {
  position: relative;
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 1.15rem;
  padding: 0 1.15rem 2.4rem;
  scrollbar-width: none;
  cursor: grab;
}

.pista::-webkit-scrollbar { display: none; }
.pista.arrastrando {
  scroll-snap-type: none;
  cursor: grabbing;
}

.slide {
  position: relative;
  flex: 0 0 82%;
  height: min(48vh, 420px);
  scroll-snap-align: center;
  overflow: hidden;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.slide p {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 3.8rem 1.1rem 1rem;
  background: linear-gradient(transparent, rgba(12, 9, 7, 0.8));
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 650;
  letter-spacing: -0.03em;
}

.encargar {
  display: grid;
  background: var(--crema);
}

.encargar-texto {
  padding: 3.6rem 1.35rem 2rem;
}

.horario-frase {
  margin: 1.1rem 0 1.5rem;
  max-width: 14ch;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.45rem, 3.4vw, 2rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.encargar .numero { color: var(--suave); }

.encargar .numero a {
  color: inherit;
  border-bottom-color: rgba(111, 103, 95, 0.4);
}

.detalle {
  margin: 1.4rem 0 0;
  color: var(--suave);
  max-width: 22rem;
}

.mapa iframe {
  width: 100%;
  height: 300px;
  border: 0;
  filter: grayscale(0.18) contrast(1.05);
}

.llegar {
  display: block;
  padding: 0.95rem 1.35rem 1.3rem;
  color: var(--tinta);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--linea);
}

.llegar:hover { color: var(--rojo); }

footer {
  padding: 1.6rem 1.35rem 2.4rem;
  color: var(--suave);
  font-size: 0.92rem;
}

footer p {
  margin: 0;
  max-width: 36rem;
}

.revelar {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.revelar.visible {
  opacity: 1;
  transform: none;
}

@keyframes zoom-lento {
  from { transform: scale(1.08); }
  to { transform: scale(1.02); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-foto { animation: none; transform: none; }
  .celda img { transition: none; }
  .revelar {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 760px) {
  .hero-texto { padding: 7rem 3rem 3.4rem; }

  .historia {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
    padding: 4.5rem 3rem;
  }

  .historia .lado-foto {
    max-height: 420px;
    aspect-ratio: 4 / 3;
  }

  .cap-intro { padding: 0 3rem 2rem; }

  .autoservicio-layout {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: stretch;
    gap: 1.5rem;
    padding: 0 3rem 3rem;
  }

  .autoservicio-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .autoservicio-layout .lado-foto {
    max-height: none;
    height: 100%;
    min-height: 420px;
    aspect-ratio: auto;
  }

  .mosaico {
    padding-inline: 3rem;
    gap: 0.85rem;
  }

  .mosaico-manana {
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: 1fr 1fr;
    height: min(52vh, 480px);
  }

  .mosaico-manana .celda {
    max-height: none;
    aspect-ratio: auto;
    height: 100%;
    min-height: 0;
  }

  .mosaico-manana .grande {
    grid-row: 1 / span 2;
  }

  .mosaico-tarde,
  .mosaico-domingo {
    grid-template-columns: 1.25fr 0.9fr;
    height: min(48vh, 440px);
  }

  .mosaico-tarde .celda,
  .mosaico-domingo .celda {
    max-height: none;
    aspect-ratio: auto;
    height: 100%;
    min-height: 0;
  }

  .mostrador-cabeza,
  .pista { padding-inline: 3rem; }

  .slide {
    flex-basis: 52%;
    height: min(52vh, 480px);
  }

  .encargar {
    grid-template-columns: 0.9fr 1.1fr;
    min-height: 560px;
  }

  .encargar-texto {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 3.2rem;
  }

  .mapa {
    display: flex;
    flex-direction: column;
  }

  .mapa iframe {
    flex: 1;
    min-height: 520px;
    height: auto;
  }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 2.35rem; }
  .slide { flex-basis: 88%; }
}
