:root {
  --red: #DA291C;
  --yellow: #FFC72C;
  --ink: #27251F;
  --ink-soft: #5c5850;
  --white: #ffffff;
  --cream: #FFF8EC;
  --radius: 28px;
  --max: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
}
h1 { font-size: clamp(2.8rem, 8vw, 5.6rem); }
h2 { font-size: clamp(2.2rem, 5.5vw, 4rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -0.02em; }

p { margin: 0; }
.lead {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: var(--ink-soft);
  max-width: 34ch;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: clamp(80px, 12vw, 160px) 0; }
.cream { background: var(--cream); }

/* Navegación */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .8);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-size: .98rem;
  color: var(--ink-soft);
  transition: color .2s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 700; }

.menu-btn {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: var(--ink);
}
.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
  transition: transform .3s var(--ease), opacity .3s;
}
.nav.open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .menu-btn span:nth-child(2) { opacity: 0; }
.nav.open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 720px) {
  .menu-btn { display: block; }
  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(255, 255, 255, .97);
    padding: 8px 24px 24px;
    display: none;
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { display: block; padding: 14px 0; font-size: 1.2rem; }
}

/* Botones */
.btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform .25s var(--ease), background-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-primary:hover { background: #f5bb14; }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #000; }
.btn-light { background: var(--white); color: var(--ink); }

/* Portadas */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 10vw, 120px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 40px;
}
.hero-img { transform: scale(1.12); }
.hero-text .lead { margin-top: 24px; }
.page-hero { text-align: center; }
.page-hero .lead { margin: 24px auto 0; }
.page-hero .btns { justify-content: center; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-text .lead { margin-left: auto; margin-right: auto; }
  .hero .btns { justify-content: center; }
  .hero-img { transform: none; }
}

/* Encabezados de sección */
.head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.head .lead { margin-top: 20px; }
.head.center { text-align: center; margin-left: auto; margin-right: auto; }
.head.center .lead { margin-left: auto; margin-right: auto; }

/* Mosaicos de producto */
.tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream);
  aspect-ratio: 4 / 3.4;
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.tile:hover img { transform: scale(1.05); }
.tile figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 80px 32px 28px;
  color: var(--white);
  background: linear-gradient(to top, rgba(20, 18, 14, .78), rgba(20, 18, 14, 0));
}
.tile figcaption p { opacity: .9; margin-top: 6px; }
@media (max-width: 720px) { .tiles { grid-template-columns: 1fr; } }

/* Bloque rojo a sangre */
.band {
  background: var(--red);
  color: var(--white);
  overflow: hidden;
}
.band .lead { color: rgba(255, 255, 255, .88); }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}
.split .lead { margin-top: 24px; }
.split-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.split-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Visítanos */
.visit {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.visit address { font-style: normal; font-size: 1.2rem; margin-top: 24px; color: var(--ink-soft); }
.hours { width: 100%; border-collapse: collapse; font-size: 1.05rem; }
.hours th, .hours td {
  text-align: left;
  padding: 14px 0;
  border-bottom: 1px solid rgba(39, 37, 31, .1);
  vertical-align: top;
}
.hours th { font-weight: 700; padding-right: 20px; white-space: nowrap; }
.hours td { color: var(--ink-soft); }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }

/* Listas de texto en columnas */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 56px);
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(32px, 4vw, 56px);
}
.item h3 { margin-bottom: 12px; }
.item p { color: var(--ink-soft); }
.band .item p { color: rgba(255, 255, 255, .85); }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

/* Línea de tiempo */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(39, 37, 31, .1);
}
.timeline .year {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.timeline h3 { margin-bottom: 8px; }
.timeline p { color: var(--ink-soft); }
@media (max-width: 640px) { .timeline li { grid-template-columns: 1fr; gap: 8px; } }

/* Muestras de color */
.swatches {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.swatch-color {
  aspect-ratio: 1;
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.swatch-color.is-white { box-shadow: inset 0 0 0 1px rgba(39, 37, 31, .12); }
.swatch strong { display: block; font-size: 1.1rem; }
.swatch span { color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 720px) { .swatches { grid-template-columns: repeat(2, 1fr); } }

.type-sample {
  font-size: clamp(5rem, 16vw, 12rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: .9;
}

/* Pie de página */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .78);
  padding: 80px 0 48px;
  font-size: .98rem;
}
.footer a { text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}
.footer .brand { color: var(--white); font-size: 1.4rem; }
.footer h4 { color: var(--white); margin: 0 0 16px; font-size: 1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.social { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.social a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  transition: background-color .25s;
}
.social a:hover { background: rgba(255, 255, 255, .22); }
.social svg { width: 20px; height: 20px; fill: var(--white); }
.disclaimer {
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .9rem;
  color: rgba(255, 255, 255, .6);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }

/* Animaciones al hacer scroll */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .12s; }
.reveal.d2 { transition-delay: .24s; }
.reveal.d3 { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .tile img, .btn { transition: none; }
}

.split-img.tall { aspect-ratio: 4 / 5; }
.split-img.tall img { object-position: center 65%; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: 34px; height: auto; }
.footer .brand img { width: 40px; }


/* Banner de promoción */
.promo {
  position: relative;
  display: block;
  margin-top: clamp(48px, 7vw, 88px);
  padding: clamp(28px, 4vw, 52px) clamp(16px, 4vw, 48px) clamp(20px, 3vw, 36px);
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  text-decoration: none;
  background: radial-gradient(ellipse at 50% 25%, #8f1d15 0%, #5a120c 55%, #3d0b07 100%);
}
.promo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 16px);
}
.promo::after {
  content: "";
  position: absolute;
  left: -15%;
  right: -15%;
  bottom: -55%;
  height: 90%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 20%, #ef3a26 0%, var(--red) 45%, #a8180f 100%);
}
.promo-head { text-align: center; }
.promo-title {
  display: inline-block;
  padding: .06em .4em .1em;
  background: var(--yellow);
  color: #5a120c;
  font-size: clamp(1.35rem, 4.6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  transform: rotate(-1.5deg);
}
.promo-sub {
  display: block;
  margin-top: .5em;
  font-size: clamp(1rem, 2.6vw, 1.9rem);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}
.promo-sub b { color: var(--yellow); }
.promo-items {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  align-items: end;
  gap: clamp(4px, 2vw, 28px);
  margin-top: clamp(16px, 3vw, 36px);
}
.promo-item { margin: 0; text-align: center; }
.promo-item:not(.is-center) { margin-bottom: clamp(24px, 5vw, 64px); }
.promo-item img {
  width: 100%;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .45));
  transition: transform .9s var(--ease);
}
.promo:hover .promo-item img { transform: translateY(-8px) scale(1.02); }
.promo-name {
  display: block;
  margin-top: 10px;
  font-size: clamp(.8rem, 1.8vw, 1.35rem);
  font-weight: 800;
  line-height: 1.15;
}
.promo-type {
  display: block;
  color: var(--yellow);
  font-size: clamp(.72rem, 1.3vw, 1rem);
  font-weight: 700;
}
.promo-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(16px, 2.5vw, 28px);
}
.promo-cta {
  flex: none;
  padding: .7em 1.6em;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: clamp(.95rem, 1.6vw, 1.2rem);
  font-weight: 800;
  transition: transform .25s var(--ease);
}
.promo:hover .promo-cta { transform: translateY(-2px); }
.promo-legal {
  max-width: 48ch;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(.62rem, 1vw, .78rem);
  line-height: 1.4;
  text-align: right;
}
@media (max-width: 720px) {
  .promo { border-radius: 20px; }
  .promo-foot { flex-direction: column; align-items: center; }
  .promo-legal { text-align: center; }
}
