/* ==========================================================================
   Nina Pastelería — style.css
   Tabla de contenidos
   1. Tokens (:root)
   2. Base y utilidades
   3. Header / nav
   4. Hero
   5. Catálogo (categorías + más pedidos)
   6. Footer
   7. Animación de entrada (fail-safe)
   8. Media queries
   9. Print
   ========================================================================== */

/* 1 · Tokens ------------------------------------------------------------- */
:root {
  --color-coral: #E68272;
  --color-coral-deep: #DA6A58;
  --color-coral-light: #F2AFA3;
  --color-blush: #FBE3DA;
  --color-cream: #F1EAE3;
  --color-cream-alt: #FBF6F1;
  --color-bone: #F6F1EE;
  --surface: #FFFFFF;
  --line: #F0E8E3;
  --line-strong: #E8DED6;
  --text-clear: #22201E;
  --text-mid: #6B635C;
  --text-faint: #9A8F88;
  --font-sans: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Riak', 'Kaushan Script', cursive;
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --radius: 18px;
  --radius-cta: 16px;
  --pad-x: 50px;
  --maxw: none;
  --shadow-card: 0 8px 20px -14px rgba(34, 32, 30, 0.3);
  --shadow-cta: 0 12px 24px -10px rgba(218, 106, 88, 0.6);
}

/* 2 · Base --------------------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--color-cream);
  color: var(--text-clear);
  font-family: var(--font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
p { text-wrap: pretty; }
a { color: var(--color-coral-deep); }
a:hover { color: #B84B3A; }
:focus-visible { outline: 3px solid var(--color-coral-deep); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--text-clear); color: #fff; padding: 12px 20px;
  border-radius: 0 0 12px 0; font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 0; color: #fff; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
@media (max-width: 700px) { :root { --pad-x: 20px; } }

.kicker {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--color-coral-deep); margin: 0 0 14px;
}
.brand-script {
  font-family: var(--font-display); font-weight: 400; font-style: normal;
  color: var(--color-coral-deep); display: inline-block; transform: rotate(-2deg);
}

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 28px; border-radius: var(--radius-cta);
  font-family: var(--font-sans); font-weight: 700; font-size: 15px;
  text-decoration: none; cursor: pointer; border: 0;
}
.btn--primary { background: var(--color-coral); color: #fff; box-shadow: var(--shadow-cta); }
.btn--primary:hover { background: var(--color-coral-deep); color: #fff; }
.btn--secondary { background: var(--surface); color: var(--text-clear); border: 1.5px solid var(--line); height: 50px; padding: 0 26px; }
.btn--secondary:hover { border-color: var(--color-coral-light); color: var(--text-clear); }

/* 3 · Header ------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--color-cream);
  border-bottom: 1px solid var(--line-strong);
  transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(34, 32, 30, 0.35); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 76px;
}
.site-header__logo { display: inline-flex; align-items: center; min-height: 44px; }
.site-header__logo img { height: 38px; width: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav__link {
  font-size: 14.5px; font-weight: 600; color: var(--text-clear);
  text-decoration: none; padding: 10px 2px;
}
.site-nav__link:hover { color: var(--color-coral-deep); }
.site-nav__cta { height: 46px; padding: 0 22px; font-size: 14px; box-shadow: 0 12px 24px -10px rgba(218, 106, 88, 0.5); }

/* Hamburguesa (móvil) */
.site-header__toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; cursor: pointer;
}
.site-header__toggle span {
  display: block; height: 2px; width: 22px; background: var(--text-clear);
  border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease;
}
.site-header__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header__toggle.is-open span:nth-child(2) { opacity: 0; }
.site-header__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 4a · Promociones (primer bloque del home) ------------------------------ */
.promos { padding: 32px 0 8px; }
.promos__wrap { padding-left: var(--pad-x); padding-right: var(--pad-x); }
.promos__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.promos__title { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; margin: 0; }
.promos__title .brand-script { font-size: 1.15em; margin-right: 2px; }
.promos__whats-link { font-size: 14px; font-weight: 700; color: var(--color-coral-deep); text-decoration: none; }
.promos__whats-link:hover { text-decoration: underline; }
.promos__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(340px, 31.5%);
  gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 6px; scrollbar-width: none;
}
.promos__track::-webkit-scrollbar { display: none; }
.promos__slide { scroll-snap-align: start; display: block; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-card); }
.promos__slide img { width: 100%; height: auto; aspect-ratio: 643 / 287; object-fit: cover; display: block; }
.promos__slide--text {
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  aspect-ratio: 643 / 287; padding: 0 34px; text-decoration: none;
  background: radial-gradient(120% 160% at 80% 0%, var(--color-coral-light), var(--color-coral) 60%, var(--color-coral-deep));
  color: #fff;
}
.promos__slide-day { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.95; }
.promos__slide-big { font-size: clamp(26px, 2.6vw, 38px); font-weight: 700; letter-spacing: -0.01em; line-height: 1.1; }
.promos__slide-big .brand-script { color: #fff; font-size: 0.95em; }
.promos__slide-detail { font-size: 13.5px; font-weight: 600; opacity: 0.95; }
.promos__legal { font-size: 11.5px; font-weight: 500; color: var(--text-faint); margin: 10px 0 0; text-align: center; }
.promos__dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.promos__dot { width: 6px; height: 6px; border-radius: 999px; background: #EADFD8; transition: width 0.25s ease, background 0.25s ease; }
.promos__dot.is-active { width: 18px; background: var(--color-coral); }

/* 4 · Hero --------------------------------------------------------------- */
.hero { padding: 64px 0 88px; position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; }
.hero-deco { position: absolute; inset: 0; pointer-events: none; }
.hero-deco__glow { position: absolute; border-radius: 50%; filter: blur(60px); }
.hero-deco__glow--1 { width: 480px; height: 480px; right: -6%; top: -180px; background: rgba(251, 227, 218, 0.9); }
.hero-deco__glow--2 { width: 380px; height: 380px; left: -8%; bottom: -160px; background: rgba(230, 130, 114, 0.14); }
.hero-deco__semi {
  position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%);
  width: min(1200px, 90vw); height: min(500px, 38vw);
  background: linear-gradient(180deg, var(--color-coral-light) 0%, var(--color-coral) 55%, var(--color-coral-deep) 100%);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0; opacity: 0.9;
}
.hero-deco__word {
  position: absolute; left: -1%; bottom: 4%;
  font-family: var(--font-display); font-size: clamp(120px, 16vw, 230px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(218, 106, 88, 0.16);
  transform: rotate(-6deg); user-select: none;
}
.hero-deco__swirl { position: absolute; width: 110px; height: 55px; color: var(--color-coral-light); opacity: 0.65; }
.hero-deco__swirl--1 { left: 7%; top: 16%; transform: rotate(-12deg); }
.hero-deco__swirl--2 { right: 6%; bottom: 14%; transform: rotate(160deg); opacity: 0.45; }
.hero-deco__heart { position: absolute; color: var(--color-coral); animation: nina-float 6s ease-in-out infinite; }
.hero-deco__heart--1 { width: 26px; right: 13%; top: 20%; opacity: 0.5; }
.hero-deco__heart--2 { width: 16px; left: 20%; bottom: 22%; opacity: 0.35; animation-delay: -3s; }
.hero-deco__sprinkle { position: absolute; width: 24px; height: 6px; border-radius: 999px; animation: nina-float 7s ease-in-out infinite; }
.hero-deco__sprinkle--1 { left: 12%; top: 36%; transform: rotate(-24deg); background: var(--color-coral-light); opacity: 0.7; }
.hero-deco__sprinkle--2 { left: 33%; top: 9%; transform: rotate(18deg); background: var(--color-blush); animation-delay: -2s; }
.hero-deco__sprinkle--3 { right: 10%; top: 44%; transform: rotate(-40deg); background: var(--color-coral); opacity: 0.35; animation-delay: -4s; }
.hero-deco__sprinkle--4 { right: 28%; top: 12%; transform: rotate(30deg); background: var(--color-coral-light); opacity: 0.6; animation-delay: -1s; }
.hero-deco__sprinkle--5 { left: 45%; bottom: 12%; transform: rotate(-12deg); background: var(--color-blush); animation-delay: -5s; }
.hero-deco__sprinkle--6 { right: 40%; bottom: 24%; transform: rotate(45deg); background: var(--color-coral); opacity: 0.3; animation-delay: -3.5s; }
@keyframes nina-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@media (prefers-reduced-motion: reduce) { .hero-deco__heart, .hero-deco__sprinkle { animation: none; } }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1fr);
  gap: 44px; justify-items: center; text-align: center;
}
.hero__actions { justify-content: center; }
.hero__facts { justify-content: center; }
.hero__figure { width: 100%; max-width: 720px; }
.hero__title {
  font-weight: 600; font-size: clamp(40px, 4.8vw, 58px);
  line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 20px;
}
.hero__title .brand-script { font-size: 1.08em; }
.hero__lead {
  font-size: 16.5px; font-weight: 500; line-height: 1.65;
  color: var(--text-mid); max-width: 48ch; margin: 0 auto 32px;
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hero__facts {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-top: 36px; justify-content: center;
}
.hero__fact {
  display: flex; align-items: center; gap: 12px; text-align: left;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 12px 18px 12px 12px; box-shadow: var(--shadow-card);
}
.hero__fact > div { display: flex; flex-direction: column; gap: 1px; }
.hero__fact-icon {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--color-blush); color: var(--color-coral-deep);
}
.hero__fact-title { font-size: 14.5px; font-weight: 700; }
.hero__fact-meta { font-size: 12px; font-weight: 500; color: var(--text-faint); }

.hero__figure { margin: 0; position: relative; }
.hero__figure-bg {
  position: absolute; top: -18px; right: -18px; bottom: -18px; left: 22px;
  border-radius: 26px; background: var(--color-blush); z-index: 0;
}
.hero-scene { position: relative; z-index: 1; width: 100%; aspect-ratio: 1484 / 1060; }
.hero-spin { position: absolute; }
.hero-spin img { width: 100%; height: 100%; object-fit: contain; display: block; filter: drop-shadow(0 26px 30px rgba(34, 32, 30, 0.28)); }
.hero-spin--rosca {
  left: 50%; top: 52%; width: 62%; aspect-ratio: 1; transform: translate(-50%, -50%);
  animation: nina-spin 70s linear infinite;
}
.hero-spin--cookie { width: 27%; aspect-ratio: 1; animation: nina-spin-rev 45s linear infinite; }
.hero-spin--cookie img { filter: drop-shadow(0 16px 20px rgba(34, 32, 30, 0.24)); }
.hero-spin--kiki { width: 17%; aspect-ratio: 1294 / 1148; left: 10%; bottom: 6%; animation: nina-spin-rev 60s linear infinite; }
.hero-spin--kiki img { filter: drop-shadow(0 12px 16px rgba(34, 32, 30, 0.22)); }
.hero-spin--cheese { width: 19%; aspect-ratio: 1536 / 1024; right: 8%; bottom: 8%; animation: nina-spin-rev 65s linear infinite; }
.hero-spin--cheese img { filter: drop-shadow(0 12px 16px rgba(34, 32, 30, 0.22)); }
.hero-spin--left { left: 2%; top: 6%; }
.hero-spin--right { right: 3%; top: 14%; animation: nina-spin 55s linear infinite; }
@keyframes nina-spin { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes nina-spin-rev { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
.hero-spin--right { animation-name: nina-spin-right; }
@keyframes nina-spin-right { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-spin { animation: none !important; } }
.hero__caption {
  position: absolute; z-index: 2; left: 50%; bottom: -28px; transform: translateX(-50%);
  display: flex; flex-direction: row; align-items: baseline; gap: 8px; white-space: nowrap;
}
.hero__caption-name { font-size: 14.5px; font-weight: 700; color: #fff; }
.hero__caption-note { font-family: var(--font-display); font-size: 17px; color: #fff; transform: rotate(-2deg); }

/* 5 · Catálogo ----------------------------------------------------------- */
.catalog { background: var(--color-cream-alt); border-top: 1px solid var(--line-strong); padding: 72px 0 80px; }
.catalog__head { max-width: 60ch; margin-bottom: 36px; }
.catalog__title { font-size: clamp(28px, 3vw, 36px); font-weight: 600; letter-spacing: -0.02em; margin: 0 0 10px; }
.catalog__lead { font-size: 15.5px; font-weight: 500; line-height: 1.65; color: var(--text-mid); margin: 0; }

.category-slider { position: relative; margin-bottom: 56px; }
.category-slider__nav { position: absolute; right: 0; top: -96px; display: flex; gap: 10px; }
.category-slider__arrow {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line);
  background: var(--surface); color: var(--text-clear); cursor: pointer;
  box-shadow: var(--shadow-card); transition: color 0.2s ease, border-color 0.2s ease;
}
.category-slider__arrow:hover { color: var(--color-coral-deep); border-color: var(--color-coral-light); }
.category-grid {
  display: grid; grid-auto-flow: column; grid-auto-columns: 140px;
  gap: 18px 14px; overflow-x: auto; overscroll-behavior-x: contain;
  padding: 6px 2px 10px; scrollbar-width: none;
}
.category-grid::-webkit-scrollbar { display: none; }
.category-card { display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; scroll-snap-align: start; }
.category-card__img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 20px;
  border: 1px solid var(--line); background: var(--color-bone); display: block;
}
.category-card__name { font-size: 13px; font-weight: 600; color: var(--text-clear); text-align: center; }
.category-card:hover .category-card__name { color: var(--color-coral-deep); }

.catalog__subhead { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.catalog__subtitle { font-size: 22px; font-weight: 600; margin: 0; }
.catalog__whats-link { font-size: 14px; font-weight: 700; color: var(--color-coral-deep); text-decoration: none; }
.catalog__whats-link:hover { text-decoration: underline; }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.product-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  overflow: hidden; box-shadow: var(--shadow-card); text-decoration: none; display: flex; flex-direction: column;
}
.product-card__media { position: relative; background: var(--color-bone); }
.product-card__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.product-card__badge {
  position: absolute; top: 12px; left: 12px; background: var(--color-coral);
  color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
  padding: 4px 10px; border-radius: 999px;
}
.product-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 3px; }
.product-card__cat {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--color-coral-deep);
}
.product-card__name { font-size: 14.5px; font-weight: 700; color: var(--text-clear); line-height: 1.35; }
.product-card__price { font-size: 15px; font-weight: 600; color: var(--text-clear); margin-top: 4px; }

/* 5b · Página de catálogo -------------------------------------------------- */
.page-hero {
  background: radial-gradient(120% 160% at 80% 0%, var(--color-coral-light), var(--color-coral) 60%, var(--color-coral-deep));
  color: #fff; padding: 48px 0 52px;
}
.breadcrumbs { font-size: 12.5px; font-weight: 600; margin-bottom: 14px; opacity: 0.92; }
.breadcrumbs a { color: #fff; text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.page-hero__title { font-size: clamp(34px, 4vw, 48px); font-weight: 600; letter-spacing: -0.02em; margin: 0 0 10px; }
.page-hero__title .brand-script { color: #fff; font-size: 1.1em; }
.page-hero__lead { font-size: 15.5px; font-weight: 500; line-height: 1.65; max-width: 56ch; margin: 0; opacity: 0.95; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 24px 0 8px; }
.chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border-radius: 999px; background: var(--surface); border: 1.5px solid var(--line);
  font-size: 13.5px; font-weight: 600; color: var(--text-mid); text-decoration: none;
}
.chip:hover { border-color: var(--color-coral); color: var(--color-coral-deep); }

.catalog-section { padding: 36px 0 8px; scroll-margin-top: 96px; }
.catalog-section:last-of-type { padding-bottom: 64px; }
.catalog-section__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; margin-bottom: 18px; }
.catalog-section__title { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; margin: 0; }
.catalog-section__count { font-size: 14px; font-weight: 500; color: var(--text-faint); }
.catalog-section__promo {
  font-size: 12px; font-weight: 700; color: var(--color-coral-deep);
  background: var(--color-blush); border-radius: 999px; padding: 6px 12px;
}
.specialties { margin-bottom: 56px; }
.catalog__more { display: flex; justify-content: center; margin-top: 36px; }
.product-card__row { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.product-card__go { font-size: 12.5px; font-weight: 700; color: var(--color-coral-deep); }

.allmap { padding: 40px 50px 0; }
.allmap__title { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 16px; }
.allmap__iframe { width: 100%; height: 420px; border: 0; border-radius: 22px; display: block; box-shadow: var(--shadow-card); }
.allmap__note { font-size: 11.5px; font-weight: 500; color: var(--text-faint); margin: 10px 0 0; }

/* 5c · Sucursales ---------------------------------------------------------- */
.branches { padding: 40px 50px 72px; display: grid; gap: 24px; }
.branch {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-card);
  scroll-margin-top: 96px; height: 340px;
}
.branch__media { min-height: 0; height: 100%; }
.branch__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.branch__img--ph { background: var(--color-bone); }
.branch__body { padding: 26px 30px; display: flex; flex-direction: column; gap: 6px; overflow: hidden; }
.branch__name { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; margin: 0; }
.branch__address { font-style: normal; font-size: 14px; font-weight: 500; color: var(--text-mid); }
.branch__hours { font-size: 13px; font-weight: 600; color: var(--color-coral-deep); margin: 0; }
.branch__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.branch__btn { height: 48px; padding: 0 20px; font-size: 14px; }
.branch__extnote { font-size: 11.5px; font-weight: 500; color: var(--text-faint); margin: 8px 0 0; }
.branch__map { width: 100%; height: 100%; min-height: 0; border: 0; display: block; }

/* 5d · Acerca de ----------------------------------------------------------- */
.about { padding: 72px 0 80px; }
.about__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.about__figure { margin: 0; }
.about__img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 22px; display: block; box-shadow: var(--shadow-card); }
.about__map { width: 100%; aspect-ratio: 1; border: 0; border-radius: 22px; display: block; box-shadow: var(--shadow-card); }
.about__map-note { font-size: 11.5px; font-weight: 500; color: var(--text-faint); margin-top: 10px; }
.about__map-note a { font-weight: 700; text-decoration: none; }
.about__title { font-size: clamp(30px, 3.4vw, 42px); font-weight: 600; letter-spacing: -0.02em; margin: 0 0 16px; }
.about__title .brand-script { font-size: 1.05em; }
.about__lead { font-size: 15.5px; font-weight: 500; line-height: 1.7; color: var(--text-mid); margin: 0 0 28px; max-width: 58ch; }
.about__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; margin: 0; }
.about__fact { display: flex; align-items: flex-start; gap: 12px; }
.about__fact-icon {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 12px;
  background: var(--color-blush); color: var(--color-coral-deep);
}
.about__fact dt { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-coral-deep); margin-bottom: 3px; }
.about__fact dd { margin: 0; font-size: 14px; font-weight: 600; color: var(--text-clear); line-height: 1.5; }
.about__fact dd a { color: var(--text-clear); text-decoration: none; }
.about__fact dd a:hover { color: var(--color-coral-deep); }

/* 5e · Contacto ------------------------------------------------------------ */
.contact { padding: 72px 0 88px; background: var(--color-cream-alt); border-top: 1px solid var(--line-strong); }
.contact__wrap { display: flex; flex-direction: column; gap: 44px; }
.contact__intro { text-align: center; max-width: 640px; margin: 0 auto; }
.contact__form { max-width: 720px; width: 100%; margin: 0 auto; }
.contact__title { font-size: clamp(30px, 3.4vw, 42px); font-weight: 600; letter-spacing: -0.02em; margin: 0 0 16px; }
.contact__title .brand-script { font-size: 1.05em; display: block; margin-top: -0.55em; }
.contact__lead { font-size: 15.5px; font-weight: 500; line-height: 1.7; color: var(--text-mid); margin: 0 auto; max-width: 52ch; }
.contact__lead a { font-weight: 700; }
.contact__form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--half { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field__label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-mid); }
.field__input {
  height: 52px; padding: 0 16px; border-radius: 14px;
  border: 1.5px solid var(--line); background: var(--surface);
  font-family: var(--font-sans); font-size: 15px; font-weight: 500; color: var(--text-clear);
  transition: border-color 0.2s ease;
}
.field__input::placeholder { color: var(--text-faint); }
.field__input:focus { outline: none; border-color: var(--color-coral); }
.field__input--area { height: auto; padding: 14px 16px; resize: vertical; min-height: 120px; }
.field--hp { position: absolute; left: -9999px; }
.contact__submit { align-self: center; }
.contact__note { font-size: 12px; font-weight: 500; color: var(--text-faint); margin: -6px 0 0; text-align: center; }

/* 5f · Página legal --------------------------------------------------------- */
.legal { padding: 48px 50px 80px; max-width: none; }
.legal__section { margin-bottom: 36px; }
.legal__section h2 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 10px; }
.legal__section p, .legal__section li { font-size: 15px; font-weight: 500; line-height: 1.75; color: var(--text-mid); }
.legal__section p { margin: 0 0 12px; }
.legal__section ul { margin: 0 0 12px; padding-left: 22px; }
.legal__section a { font-weight: 700; }

/* 6 · Footer ------------------------------------------------------------- */
.site-footer { background: #2A2523; color: #CFC5BE; }
.site-footer__grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1.1fr;
  gap: 40px; padding-top: 56px; padding-bottom: 44px;
}
.site-footer__brand img { height: 40px; width: auto; display: block; margin-bottom: 16px; }
.site-footer__tagline { font-size: 14.5px; font-weight: 500; line-height: 1.6; margin: 0 0 18px; color: #B8AEA7; }
.site-footer__script { font-family: var(--font-display); font-size: 1.25em; color: var(--color-coral); display: inline-block; transform: rotate(-2deg); }
.site-footer__since { font-size: 12.5px; font-weight: 600; color: #8B7F78; margin: -10px 0 18px; }
.site-footer__social { display: flex; gap: 10px; }
.site-footer__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 14px; border: 1px solid #453D39;
  color: #CFC5BE;
}
.site-footer__social a:hover { color: var(--color-coral); border-color: var(--color-coral); }
.site-footer__heading {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: #8B7F78; margin: 0 0 14px;
}
.site-footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.site-footer__col > a { font-size: 14px; font-weight: 500; color: #CFC5BE; text-decoration: none; padding: 2px 0; }
.site-footer__col > a:not(.btn):hover { color: var(--color-coral); }
.site-footer__address { font-style: normal; font-size: 14px; font-weight: 500; line-height: 1.9; color: #CFC5BE; }
.site-footer__address a { color: var(--color-coral); text-decoration: none; }
.site-footer__address a:hover { color: var(--color-coral-light); }
.site-footer__cta { height: 52px; padding: 0 20px; font-size: 14px; margin-top: 12px; align-self: stretch; width: 100%; justify-content: center; }
.site-footer__cta:hover { background: var(--color-coral); color: #fff; }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  border-top: 1px solid #3A332F; padding-top: 20px; padding-bottom: 28px;
}
.site-footer__bottom p { margin: 0; font-size: 12.5px; font-weight: 500; color: #8B7F78; }
.site-footer__bottom a { color: #B8AEA7; }
.site-footer__bottom a:hover { color: var(--color-coral); }

/* 7 · Animación de entrada (fail-safe: nace visible) ---------------------- */
.reveal { opacity: 1; transform: none; }
body.anim-ready .reveal {
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
body.anim-ready .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body.anim-ready .reveal { opacity: 1; transform: none; transition: none; }
}

/* 8 · Media queries ------------------------------------------------------- */
@media (max-width: 900px) {
  .site-header__toggle { display: flex; position: relative; z-index: 70; }
  .site-nav {
    position: fixed; top: 0; right: 0; bottom: 0; left: auto; z-index: 60;
    width: min(340px, 86vw);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 2px;
    background: var(--surface);
    padding: 104px 28px 32px;
    box-shadow: -24px 0 60px -30px rgba(34, 32, 30, 0.35);
    transform: translateX(105%);
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
    display: flex; overflow-y: auto;
  }
  .site-nav.is-open { transform: translateX(0); }
  body.nav-open::after {
    content: ''; position: fixed; inset: 0; z-index: 55;
    background: rgba(34, 32, 30, 0.35); backdrop-filter: blur(2px);
  }
  .site-nav__link {
    font-size: 19px; font-weight: 600;
    padding: 16px 2px; border-bottom: 1px solid var(--line);
    display: flex; align-items: center; justify-content: space-between;
    opacity: 0; transform: translateX(18px);
    transition: opacity 0.35s ease, transform 0.35s ease;
  }
  .site-nav__link::after { content: '→'; color: var(--color-coral-light); font-weight: 700; }
  .site-nav.is-open .site-nav__link { opacity: 1; transform: none; }
  .site-nav.is-open .site-nav__link:nth-child(1) { transition-delay: 0.1s; }
  .site-nav.is-open .site-nav__link:nth-child(2) { transition-delay: 0.16s; }
  .site-nav.is-open .site-nav__link:nth-child(3) { transition-delay: 0.22s; }
  .site-nav.is-open .site-nav__link:nth-child(4) { transition-delay: 0.28s; }
  .site-nav__cta {
    margin-top: auto; justify-content: center; height: 54px; font-size: 15px;
    opacity: 0; transform: translateY(12px);
    transition: opacity 0.35s ease 0.34s, transform 0.35s ease 0.34s;
  }
  .site-nav.is-open .site-nav__cta { opacity: 1; transform: none; }
  body.nav-open { overflow: hidden; }

  .promos__track { grid-auto-columns: 86%; }
  .promos__head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .category-slider__nav { position: static; margin-bottom: 14px; justify-content: flex-start; }
  .branch { grid-template-columns: minmax(0, 1fr); height: auto; }
  .branch__media { height: 200px; }
  .branch__map { min-height: 220px; }
  .hero { padding: 36px 0 72px; }
  .hero-deco__glow { display: none; }
  .hero-deco__semi { width: 94vw; height: 38vw; bottom: -6px; }
  .hero__caption { flex-direction: column; align-items: center; gap: 0; white-space: normal; text-align: center; bottom: -44px; width: max-content; }
  .hero__title { font-size: clamp(34px, 9vw, 48px); }
  .hero__facts { gap: 12px; }
  .hero-deco__word { font-size: clamp(90px, 22vw, 150px); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .about__figure { max-width: none; }
  .about__facts { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .about { padding: 56px 0 64px; }
  .contact { padding: 56px 0 72px; }
  .allmap__iframe { height: 320px; }
}
@media (max-width: 520px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-card__body { padding: 12px 12px 14px; }
  .product-card__name { font-size: 13px; }
  .product-card__price { font-size: 13.5px; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .field--half { grid-template-columns: minmax(0, 1fr); }
  .category-grid { grid-auto-columns: 118px; }
  .promos__track { grid-auto-columns: 94%; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }
  .catalog__subhead { flex-direction: column; align-items: flex-start; gap: 6px; }
  .site-footer__bottom { flex-direction: column; }
  .page-hero { padding: 36px 0 40px; }
}

/* 9 · Print --------------------------------------------------------------- */
@media print {
  body { background: #fff; color: #000; }
  .site-header, .hero__actions, .site-nav, .btn, .catalog__whats-link { display: none !important; }
}
