/* =========================================================
   FORN ALMENAR · 1952
   Paleta extraída del logo
   ========================================================= */
:root {
  --burgundy: #561c24;
  --burgundy-900: #3d1319;
  --burgundy-700: #6b2530;
  --wheat: #c8a67e;
  --wheat-dark: #b08d62;
  --sand: #e6d5c3;
  --cream: #f7f0e7;
  --paper: #fffaf4;
  --ink: #2a1a1c;
  --muted: #6e5a55;

  --f-display: "Big Shoulders Display", "Oswald", Impact, sans-serif;
  --f-serif: "Fraunces", Georgia, serif;
  --f-body: "DM Sans", system-ui, sans-serif;

  --radius: 22px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 92px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font: 400 17px/1.65 var(--f-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--paper);
  display: grid; place-items: center; transition: opacity .5s, visibility .5s;
}
.loader img { width: 84px; animation: breathe 1.4s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.08); opacity: .7; } }
body:not(.is-loading) .loader { opacity: 0; visibility: hidden; }
a { color: inherit; }
h1, h2, h3, h4, .h1 {
  font-family: var(--f-display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: .01em;
  margin: 0 0 .5em;
  color: var(--burgundy);
}
h2 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
h3 { font-size: 1.6rem; font-weight: 800; line-height: 1; }
h2 em, h1 em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  color: var(--wheat-dark);
  letter-spacing: -.01em;
  font-size: .82em;
}
p { margin: 0 0 1em; }
.container { width: min(1200px, 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--burgundy); color: var(--sand); }
.section__head { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 6vw, 70px); }
.section__head--light h2 { color: var(--cream); }
.section__head--light h2 em { color: var(--wheat); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  font: 700 .78rem/1 var(--f-body);
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--wheat);
  margin-bottom: 1.2rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow--dark { color: var(--wheat-dark); }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--burgundy); --fg: var(--cream);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 1em 1.9em;
  border: 2px solid var(--bg); border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: 700 .82rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(86, 28, 36, .55); background: var(--burgundy-700); border-color: var(--burgundy-700); }
.btn--small { padding: .8em 1.3em; font-size: .72rem; }
.btn--light { --bg: var(--cream); --fg: var(--burgundy); }
.btn--light:hover { background: var(--wheat); border-color: var(--wheat); color: var(--burgundy-900); }
.btn--ghost { background: transparent; border-color: rgba(247, 240, 231, .6); color: var(--cream); }
.btn--ghost:hover { background: var(--cream); color: var(--burgundy); border-color: var(--cream); }
.btn--ghost-dark { background: transparent; color: var(--burgundy); }
.btn--ghost-dark:hover { color: var(--cream); }
.link { color: var(--burgundy); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--wheat); padding-bottom: 2px; transition: border-color .2s; }
.link:hover { border-color: var(--burgundy); }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  background: rgba(255, 250, 244, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: height .35s var(--ease), box-shadow .35s, border-color .35s;
}
.header.is-scrolled { --header-h: 70px; box-shadow: 0 10px 30px -20px rgba(61, 19, 25, .35); border-color: rgba(86, 28, 36, .08); }
.header__inner {
  height: 100%; width: min(1320px, 100% - var(--gutter) * 2); margin-inline: auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
.header__logo img { height: calc(var(--header-h) - 22px); width: auto; transition: height .35s var(--ease); }
.nav { display: flex; gap: clamp(16px, 2.5vw, 36px); align-items: center; }
.nav--right { justify-content: flex-end; }
.nav a:not(.btn) {
  font: 700 .78rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; color: var(--burgundy); position: relative; padding: 6px 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--wheat); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }

.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; justify-self: end; }
.burger span { display: block; height: 2px; background: var(--burgundy); margin: 6px 0; transition: transform .3s var(--ease), opacity .2s; }
.burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 40; background: var(--burgundy);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  opacity: 0; transition: opacity .3s;
}
.mobile-menu.is-open { opacity: 1; }
.mobile-menu a:not(.btn) { font: 900 2.4rem/1 var(--f-display); text-transform: uppercase; color: var(--cream); text-decoration: none; }
.mobile-menu .btn { --bg: var(--cream); --fg: var(--burgundy); margin-top: 16px; }

@media (max-width: 960px) {
  .header__inner { grid-template-columns: auto 1fr; }
  .nav { display: none; }
  .burger { display: block; position: relative; z-index: 60; }
  .burger.is-open span { background: var(--burgundy); }
  .header__logo { justify-self: start; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; height: 100svh; min-height: 600px; background: var(--burgundy-900); overflow: hidden; color: var(--cream); }
.slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity 1.1s var(--ease), visibility 1.1s;
}
.slide::before {
  content: ""; position: absolute; inset: 0;
  background: var(--img) var(--pos, center)/cover no-repeat, linear-gradient(135deg, var(--burgundy-700), var(--wheat-dark));
  transform: scale(1.12);
  transition: transform 7s linear;
}
.slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(42, 12, 16, .85) 0%, rgba(61, 19, 25, .55) 50%, rgba(61, 19, 25, .15) 100%);
}
.slide.is-active { opacity: 1; visibility: visible; }
.slide.is-active::before { transform: scale(1); }
.slide__content {
  position: relative; z-index: 2;
  width: min(1200px, 100% - var(--gutter) * 2); margin: var(--header-h) auto 0;
}
.slide__content > * { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.slide.is-active .slide__content > * { opacity: 1; transform: none; }
.slide.is-active .slide__content > :nth-child(2) { transition-delay: .15s; }
.slide.is-active .slide__content > :nth-child(3) { transition-delay: .3s; }
.slide.is-active .slide__content > :nth-child(4) { transition-delay: .45s; }
.hero h1, .hero .h1 { color: var(--cream); font-size: clamp(3.4rem, 10vw, 8.4rem); margin-bottom: .25em; }
.slide__lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 480px; margin-bottom: 2rem; color: var(--sand); }

.hero__controls {
  position: absolute; z-index: 3; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 18px;
}
.hero__arrow {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid rgba(247, 240, 231, .5); background: transparent; color: var(--cream);
  font-size: 1.1rem; cursor: pointer; transition: background .3s, color .3s;
}
.hero__arrow:hover { background: var(--cream); color: var(--burgundy); }
.hero__dots { display: flex; gap: 10px; }
.hero__dots button { width: 34px; height: 4px; border: 0; border-radius: 4px; background: rgba(247, 240, 231, .35); cursor: pointer; padding: 0; transition: background .3s, width .3s var(--ease); }
.hero__dots button.is-active { background: var(--wheat); width: 56px; }
.hero__scroll { position: absolute; right: var(--gutter); bottom: 44px; z-index: 3; width: 26px; height: 42px; border: 2px solid rgba(247, 240, 231, .6); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--cream); border-radius: 2px; animation: scrolldot 1.8s infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 640px) { .hero__scroll { display: none; } .hero__controls { bottom: 26px; } }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee { background: var(--wheat); color: var(--burgundy); overflow: hidden; padding: 18px 0; }
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 30s linear infinite; }
.marquee span { font: 900 clamp(1.4rem, 2.6vw, 2rem)/1 var(--f-display); text-transform: uppercase; white-space: nowrap; }
.marquee i { width: 22px; height: 22px; flex: none; background: url("../img/favicon.png") center/contain no-repeat; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   INTRO
   ========================================================= */
.intro__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.intro__text p { color: var(--muted); max-width: 520px; }
.stats { list-style: none; padding: 0; margin: 2.4rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 20px; max-width: 560px; }
.stats strong { display: block; font: 900 clamp(2.8rem, 5vw, 3.8rem)/1 var(--f-display); color: var(--burgundy); }
.stats span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--wheat-dark); font-weight: 700; }
.intro__images { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: end; }
.img-card { margin: 0; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, var(--sand), var(--wheat)); }
.img-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.img-card:hover img { transform: scale(1.06); }
.img-card--tall { aspect-ratio: 3 / 4.4; }
.img-card--short { aspect-ratio: 3 / 3.6; margin-bottom: 60px; }
.intro__badge {
  position: absolute; left: 50%; top: 50%; width: 112px; height: 112px; padding: 16px;
  transform: translate(-50%, -50%); background: var(--paper); border-radius: 50%;
  box-shadow: 0 20px 40px -20px rgba(61, 19, 25, .45);
  animation: spin-slow 22s linear infinite;
}
@keyframes spin-slow { 50% { transform: translate(-50%, -50%) rotate(8deg) scale(1.04); } }
@media (max-width: 860px) { .intro__grid { grid-template-columns: 1fr; } }

/* =========================================================
   DESTACADOS
   ========================================================= */
.featured__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); }
.feat { text-align: center; }
.feat__img {
  aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin: 0 auto 28px; width: min(300px, 80%);
  background: linear-gradient(135deg, var(--sand), var(--wheat));
  box-shadow: 0 0 0 10px var(--paper), 0 0 0 11px var(--sand), 0 30px 50px -30px rgba(61, 19, 25, .6);
  transition: transform .6s var(--ease);
}
.feat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.feat:hover .feat__img { transform: translateY(-8px) rotate(-2deg); }
.feat:hover .feat__img img { transform: scale(1.08); }
.feat p { color: var(--muted); max-width: 300px; margin-inline: auto; }
@media (max-width: 760px) { .featured__grid { grid-template-columns: 1fr; gap: 56px; } }

/* =========================================================
   CATÁLOGO
   ========================================================= */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
.filter {
  padding: .8em 1.5em; border-radius: 999px; border: 1.5px solid var(--sand); background: transparent;
  font: 700 .75rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--burgundy);
  cursor: pointer; transition: all .25s var(--ease);
}
.filter:hover { border-color: var(--wheat); }
.filter.is-active { background: var(--burgundy); border-color: var(--burgundy); color: var(--cream); }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 26px; }
.product {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 1px 0 rgba(86, 28, 36, .06), 0 20px 40px -32px rgba(61, 19, 25, .5);
  transition: transform .45s var(--ease), box-shadow .45s;
  display: flex; flex-direction: column;
}
.product:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(61, 19, 25, .55); }
.product__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(135deg, var(--sand), var(--wheat)) ; }
.product__img::before { content: ""; position: absolute; inset: 30%; background: url("../img/favicon.png") center/contain no-repeat; opacity: .35; }
.product__img img { position: relative; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.product:hover .product__img img { transform: scale(1.07); }
.product__tag {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  background: var(--burgundy); color: var(--cream); border-radius: 999px; padding: .45em .9em;
  font: 700 .66rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase;
}
.product__body { padding: 22px 22px 20px; display: flex; flex-direction: column; flex: 1; }
.product__cat { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--wheat-dark); font-weight: 700; margin-bottom: 8px; }
.product h3 { font-size: 1.5rem; margin-bottom: .4em; }
.product p { color: var(--muted); font-size: .95rem; }
.product__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px dashed var(--sand); }
.product__foot strong { font: 800 1.5rem/1 var(--f-display); color: var(--burgundy); }
.product__add { font: 700 .72rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--burgundy); text-decoration: none; padding: .7em 1em; border-radius: 999px; background: var(--cream); transition: background .25s, color .25s; }
.product__add:hover { background: var(--burgundy); color: var(--cream); }

/* =========================================================
   CTA
   ========================================================= */
.cta {
  position: relative; padding: clamp(110px, 16vw, 200px) 0; color: var(--cream); text-align: center;
  background: var(--img) center/cover fixed, var(--burgundy);
}
@media (hover: none) { .cta { background-attachment: scroll; } }
.cta h2 { color: var(--cream); font-size: clamp(3rem, 8vw, 6.4rem); }
.cta p { color: var(--sand); max-width: 520px; margin: 0 auto 2.2rem; font-size: 1.15rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* =========================================================
   OBRADOR
   ========================================================= */
.steps { list-style: none; padding: 0; margin: 0 0 70px; display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 2px; }
.step { padding: 34px 28px; background: rgba(255, 255, 255, .04); transition: background .4s; }
.step:hover { background: rgba(255, 255, 255, .08); }
.step__n { font: 900 3.4rem/1 var(--f-display); color: var(--wheat); display: block; margin-bottom: 18px; }
.step h3 { color: var(--cream); }
.step p { color: rgba(230, 213, 195, .82); font-size: .95rem; margin: 0; }
.gallery { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 14px; }
.gallery figure { margin: 0; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--burgundy-700); }
.gallery figure:nth-child(even) { transform: translateY(40px); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.85); }
.gallery figure:hover img { transform: scale(1.08); filter: none; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure:nth-child(even) { transform: none; }
}
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* =========================================================
   HISTORIA
   ========================================================= */
.timeline { position: relative; max-width: 860px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 140px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--wheat), var(--sand)); }
.tl { display: grid; grid-template-columns: 140px 1fr; gap: 50px; padding: 26px 0; position: relative; }
.tl::before { content: ""; position: absolute; left: 133px; top: 38px; width: 16px; height: 16px; border-radius: 50%; background: var(--cream); border: 3px solid var(--burgundy); }
.tl__year { font: 900 2.6rem/1 var(--f-display); color: var(--burgundy); text-align: right; padding-right: 10px; padding-top: 4px; }
.tl p { color: var(--muted); margin: 0; }
@media (max-width: 600px) {
  .timeline::before { left: 7px; }
  .tl { grid-template-columns: 1fr; gap: 6px; padding-left: 36px; }
  .tl::before { left: 0; top: 34px; }
  .tl__year { text-align: left; }
}

/* =========================================================
   TIENDAS
   ========================================================= */
.stores__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.store {
  border: 1.5px solid var(--sand); border-radius: var(--radius); padding: clamp(26px, 4vw, 44px);
  background: var(--paper); position: relative; overflow: hidden; transition: border-color .3s, transform .4s var(--ease);
}
.store::after {
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 180px; height: 180px;
  background: url("../img/favicon.png") center/contain no-repeat; opacity: .07; transform: rotate(-15deg);
}
.store:hover { border-color: var(--wheat); transform: translateY(-4px); }
.store__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
.store__status { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .5em .9em; border-radius: 999px; display: inline-flex; align-items: center; gap: .5em; }
.store__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.store__status.is-open { background: #e5f2e3; color: #2f6b2a; }
.store__status.is-open::before { animation: pulse 1.6s infinite; }
.store__status.is-closed { background: var(--cream); color: var(--muted); }
@keyframes pulse { 50% { opacity: .3; } }
.store__addr { color: var(--muted); }
.hours { margin: 20px 0 26px; }
.hours div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--sand); }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; font-weight: 700; color: var(--burgundy); }
.store__actions { display: flex; gap: 24px; flex-wrap: wrap; position: relative; z-index: 1; }
@media (max-width: 760px) { .stores__grid { grid-template-columns: 1fr; } }

/* =========================================================
   CONTACTO / FORM
   ========================================================= */
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.contact__grid > div > p { color: var(--muted); max-width: 420px; }
.contact__info { list-style: none; padding: 0; margin: 30px 0 0; }
.contact__info li { padding: 14px 0; border-bottom: 1px solid var(--sand); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.contact__info span { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--wheat-dark); font-weight: 700; }
.contact__info a { font-weight: 700; color: var(--burgundy); text-decoration: none; }
.form { background: var(--paper); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); box-shadow: 0 40px 70px -50px rgba(61, 19, 25, .6); display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--burgundy); }
.form input, .form select, .form textarea {
  font: 400 1rem/1.4 var(--f-body); color: var(--ink); letter-spacing: 0; text-transform: none;
  padding: .9em 1em; border-radius: 12px; border: 1.5px solid var(--sand); background: #fff;
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--wheat-dark); box-shadow: 0 0 0 4px rgba(200, 166, 126, .25); }
.form.was-validated :invalid { border-color: #b3423c; }
.form .check { display: flex; align-items: center; gap: 10px; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: .92rem; color: var(--muted); }
.form .check input { width: 18px; height: 18px; accent-color: var(--burgundy); }
.form .btn { justify-self: start; }
.form__msg { margin: 0; font-size: .95rem; min-height: 1.4em; }
.form__msg.is-ok { color: #2f6b2a; }
.form__msg.is-error { color: #b3423c; }
@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--burgundy-900); color: rgba(230, 213, 195, .8); padding: 90px 0 0; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer__logo { width: 190px; height: auto; margin-bottom: 22px; }
.footer h4 { color: var(--wheat); font-size: 1.3rem; margin-bottom: 1em; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--cream); }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(230, 213, 195, .3); display: grid; place-items: center; transition: background .25s, border-color .25s; }
.social a:hover { background: var(--wheat); border-color: var(--wheat); color: var(--burgundy-900); }
.social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 70px; padding: 26px 0; border-top: 1px solid rgba(230, 213, 195, .15); font-size: .82rem; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__grid > :first-child { grid-column: 1 / -1; } }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 30;
  width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .4);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
.wa-float svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; }

/* ---------- Cookies ---------- */
.cookies {
  position: fixed; left: 22px; bottom: 22px; z-index: 35; max-width: 400px;
  background: var(--paper); border-radius: 18px; padding: 20px 22px;
  box-shadow: 0 30px 60px -20px rgba(42, 12, 16, .45); border: 1px solid var(--sand);
  transform: translateY(30px); opacity: 0; transition: transform .45s var(--ease), opacity .45s;
}
.cookies.is-in { transform: none; opacity: 1; }
.cookies p { font-size: .9rem; color: var(--muted); }
.cookies div { display: flex; gap: 10px; justify-content: flex-end; }
@media (max-width: 520px) { .cookies { left: 12px; right: 90px; bottom: 12px; } }

/* =========================================================
   REVEAL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.gallery figure.reveal.is-in:nth-child(even) { transform: translateY(40px); }
@media (max-width: 900px) { .gallery figure.reveal.is-in:nth-child(even) { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   BLOG · NOVEDADES
   ========================================================= */
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.container--narrow { width: min(760px, 100% - var(--gutter) * 2); }

/* Tarjetas */
.news__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 380px)); justify-content: center; gap: 28px; }
.news__more { text-align: center; margin-top: 48px; }
.post-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 1px 0 rgba(86, 28, 36, .06), 0 24px 44px -34px rgba(61, 19, 25, .55);
  transition: transform .45s var(--ease), box-shadow .45s;
}
.post-card:hover { transform: translateY(-6px); box-shadow: 0 34px 56px -32px rgba(61, 19, 25, .6); }
.post-card__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--sand), var(--wheat)); }
.post-card__img::before { content: ""; position: absolute; inset: 32%; background: url("../img/favicon.png") center/contain no-repeat; opacity: .3; }
.post-card__img img { position: relative; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.06); }
.post-card__pin { position: absolute; top: 14px; left: 14px; z-index: 1; background: var(--wheat); color: var(--burgundy-900); border-radius: 999px; padding: .45em .9em; font: 700 .66rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; }
.post-card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 1.7rem; margin: 10px 0 .45em; }
.post-card p { color: var(--muted); font-size: .97rem; margin-bottom: 18px; }
.post-card__more { margin-top: auto; font: 700 .75rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--burgundy); }
.post-card__more span { display: inline-block; transition: transform .3s var(--ease); }
.post-card:hover .post-card__more span { transform: translateX(5px); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .82rem; color: var(--muted); }
.post-cat { background: var(--cream); color: var(--burgundy); border-radius: 999px; padding: .35em .85em; font: 700 .68rem/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; }

/* Página /blog */
.page-head { padding: calc(var(--header-h) + clamp(50px, 8vw, 100px)) 0 clamp(36px, 5vw, 60px); background: var(--cream); position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 340px; height: 340px; background: url("../img/favicon.png") center/contain no-repeat; opacity: .06; transform: rotate(-12deg); }
.page-head h1 { font-size: clamp(3.4rem, 9vw, 7rem); margin-bottom: .2em; }
.page-head__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 560px; }
.page-head--center { text-align: center; min-height: 70vh; display: grid; align-content: center; }
.page-head--center .page-head__lead { margin-inline: auto; margin-bottom: 2rem; }
.blog-list { padding-top: clamp(40px, 6vw, 70px); }
.blog-list .filters { justify-content: flex-start; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card--big { grid-column: 1 / -1; flex-direction: row; }
.post-card--big .post-card__img { flex: 1.25; aspect-ratio: auto; min-height: 380px; }
.post-card--big .post-card__body { flex: 1; padding: clamp(28px, 4vw, 52px); justify-content: center; }
.post-card--big h3 { font-size: clamp(2rem, 3.4vw, 3rem); }
.post-card--big p { font-size: 1.08rem; }
.empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 60px 0; }
@media (max-width: 960px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) {
  .blog-grid { grid-template-columns: 1fr; }
  .post-card--big { flex-direction: column; }
  .post-card--big .post-card__img { min-height: 0; aspect-ratio: 16 / 10; }
}

/* Noticia completa */
.post__head { padding-top: calc(var(--header-h) + clamp(40px, 6vw, 80px)); }
.post__back { display: inline-block; margin-bottom: 26px; font: 700 .76rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--wheat-dark); text-decoration: none; }
.post__back:hover { color: var(--burgundy); }
.post__head h1 { font-size: clamp(2.8rem, 7vw, 5.2rem); margin: 18px 0 .3em; }
.post__lead { font-family: var(--f-serif); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.45; color: var(--wheat-dark); }
.post__cover { margin: clamp(30px, 5vw, 56px) auto; width: min(1100px, 100% - var(--gutter) * 2); border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 8; background: linear-gradient(135deg, var(--sand), var(--wheat)); }
.post__cover img { width: 100%; height: 100%; object-fit: cover; }
.prose { font-size: 1.12rem; line-height: 1.8; color: #3d2c2e; padding-bottom: 20px; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.3em; }
.prose h2 { font-size: clamp(2rem, 4vw, 2.6rem); margin: 1.6em 0 .5em; }
.prose h3 { font-size: 1.6rem; margin: 1.4em 0 .5em; }
.prose a { color: var(--burgundy); text-decoration-color: var(--wheat); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.4em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--wheat-dark); font-weight: 700; }
.prose blockquote { margin: 1.8em 0; padding: 6px 0 6px 26px; border-left: 4px solid var(--wheat); font-family: var(--f-serif); font-style: italic; font-size: 1.35rem; line-height: 1.5; color: var(--burgundy); }
.prose img { border-radius: 16px; margin: 1.8em auto; height: auto; }
.prose .align-center { text-align: center; }
.prose .align-right { text-align: right; }
.prose .align-justify { text-align: justify; }
.post__share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 26px 0 clamp(60px, 8vw, 100px); border-top: 1px dashed var(--sand); margin-top: 20px; }
.post__share > span { font: 700 .74rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--wheat-dark); margin-right: 6px; }
.share-btn { border: 1.5px solid var(--sand); background: transparent; border-radius: 999px; padding: .6em 1.1em; font: 700 .78rem/1 var(--f-body); color: var(--burgundy); text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.share-btn:hover { background: var(--burgundy); border-color: var(--burgundy); color: var(--cream); }

/* Dónde estamos (un solo horno) */
.location {
  display: grid; grid-template-columns: 1.35fr 1fr; overflow: hidden;
  background: var(--paper); border: 1.5px solid var(--sand); border-radius: var(--radius);
  box-shadow: 0 40px 70px -55px rgba(61, 19, 25, .6);
}
.location__map { min-height: 460px; background: linear-gradient(135deg, var(--cream), var(--sand)); position: relative; }
.location__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85) sepia(.08); }
.location__info { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.location__info::after {
  content: ""; position: absolute; right: -50px; bottom: -50px; width: 200px; height: 200px;
  background: url("../img/favicon.png") center/contain no-repeat; opacity: .07; transform: rotate(-15deg); pointer-events: none;
}
.location__info .store__status { align-self: flex-start; margin-bottom: 18px; }
.location__info h3 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin-bottom: .3em; }
.location__info .store__actions { align-items: center; gap: 22px; }
.location--nomap { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
@media (max-width: 860px) {
  .location { grid-template-columns: 1fr; }
  .location__map { min-height: 0; aspect-ratio: 4 / 3; }
}

.location__contact { list-style: none; padding: 0; margin: 26px 0 0; position: relative; z-index: 1; }
.location__contact li { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 0; border-top: 1px dashed var(--sand); }
.location__contact span { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--wheat-dark); font-weight: 700; }
.location__contact a { font-weight: 700; color: var(--burgundy); text-decoration: none; }
.location__contact a:hover { text-decoration: underline; text-decoration-color: var(--wheat); }

/* Mapa a la espera de permiso */
.map-consent { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 24px; text-align: center;
  background: radial-gradient(circle at 50% 40%, rgba(255,255,255,.55), transparent 60%), repeating-linear-gradient(45deg, transparent 0 22px, rgba(176,141,98,.08) 22px 23px), linear-gradient(135deg, var(--cream), var(--sand)); }
.map-consent p { margin: 0; color: var(--muted); font-size: .95rem; max-width: 260px; }
.map-consent__pin { width: 44px; height: 44px; border-radius: 50% 50% 50% 0; background: var(--burgundy); transform: rotate(-45deg); position: relative; box-shadow: 0 10px 20px -8px rgba(61,19,25,.6); }
.map-consent__pin::after { content: ""; position: absolute; inset: 14px; border-radius: 50%; background: var(--cream); }

/* Páginas legales */
.page-head--legal h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.legal { padding-top: clamp(40px, 6vw, 70px); }
.legal .prose h2 { font-size: clamp(1.6rem, 3vw, 2rem); }
.legal .prose { font-size: 1.04rem; }
.legal__nav { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 30px; margin-top: 30px; border-top: 1px dashed var(--sand); }
mark.todo { background: #fff1c2; color: #8a5f22; padding: 0 .3em; border-radius: 4px; font-weight: 700; }

/* Equipo */
.team__lead { text-align: center; color: var(--muted); max-width: 560px; margin: -30px auto 50px; }
.team__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 22px; }
.member { margin: 0; }
.member__img { aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--burgundy); box-shadow: 0 30px 50px -34px rgba(61, 19, 25, .7); }
.member__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s; filter: saturate(.92); }
.member:hover .member__img img { transform: scale(1.05); filter: none; }
.member figcaption { padding: 14px 4px 0; text-align: center; }
.member figcaption strong { display: block; font: 800 1.4rem/1 var(--f-display); text-transform: uppercase; color: var(--burgundy); }
.member figcaption span { display: block; margin-top: 4px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--wheat-dark); font-weight: 700; }
@media (min-width: 1000px) { .team__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .team__grid { grid-template-columns: 1fr 1fr; gap: 14px; } .member figcaption strong { font-size: 1.1rem; } }

@media (min-width: 900px) { .slide::before { background-position: center; } }
/* tarjeta del blog en el panel: que no se corte el título */

/* =========================================================
   DISEÑO PERSONALIZABLE (panel → Diseño)
   Sin ajustes, todo queda igual que el diseño original.
   ========================================================= */
:root { --btn-radius: 999px; --title-case: uppercase; --hero-dim: 1; }

h1, h2, h3, h4, .h1, .mobile-menu a:not(.btn), .marquee span { text-transform: var(--title-case); }
.btn, .filter, .share-btn, .product__add, .product__tag, .post-card__pin, .post-cat { border-radius: var(--btn-radius); }

/* Colores que antes iban fijos, ahora derivados de la paleta */
.header { background: color-mix(in srgb, var(--paper) 96%, transparent); }
.btn--ghost { border-color: color-mix(in srgb, var(--cream) 60%, transparent); }
.slide::after {
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--burgundy-900) 88%, transparent) 0%,
    color-mix(in srgb, var(--burgundy-900) 58%, transparent) 50%,
    color-mix(in srgb, var(--burgundy-900) 16%, transparent) 100%);
  opacity: var(--hero-dim);
}
.cta { position: relative; isolation: isolate; background: var(--img) center/cover fixed, var(--burgundy); }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: var(--hero-dim);
  background: linear-gradient(color-mix(in srgb, var(--burgundy-900) 62%, transparent), color-mix(in srgb, var(--burgundy-900) 80%, transparent)); }
@media (hover: none) { .cta { background-attachment: scroll; } }
.step p { color: color-mix(in srgb, var(--sand) 85%, transparent); }
.footer { color: color-mix(in srgb, var(--sand) 82%, transparent); }
.social a { border-color: color-mix(in srgb, var(--sand) 30%, transparent); }
.footer__bottom { border-top-color: color-mix(in srgb, var(--sand) 15%, transparent); }
.prose { color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { box-shadow: 0 0 0 4px color-mix(in srgb, var(--wheat) 25%, transparent); }

/* Fondo de cada sección: claro, crema u oscuro */
.tone-light { background: var(--paper) !important; }
.tone-cream { background: var(--cream) !important; }
.tone-dark { background: var(--burgundy) !important; color: var(--sand); }
.tone-dark :is(.section__head h2, .intro__text h2, .feat h3, .tl h3, .tl__year, .stats strong, .member figcaption strong, .contact__grid h2) { color: var(--cream); }
.tone-dark :is(h2 em) { color: var(--wheat); }
.tone-dark .eyebrow--dark, .tone-dark .stats span, .tone-dark .member figcaption span { color: var(--wheat); }
.tone-dark :is(.intro__text p, .feat p, .tl p, .team__lead) { color: color-mix(in srgb, var(--sand) 85%, transparent); }
.tone-dark .timeline::before { background: color-mix(in srgb, var(--wheat) 45%, transparent); }
.tone-dark .tl::before { background: var(--burgundy); border-color: var(--wheat); }
.tone-dark .filter { color: var(--cream); border-color: color-mix(in srgb, var(--sand) 35%, transparent); }
.tone-dark .filter.is-active { background: var(--cream); color: var(--burgundy); border-color: var(--cream); }
.tone-dark .news__more .btn { --bg: var(--cream); --fg: var(--burgundy); }
.tone-dark .feat__img { box-shadow: 0 0 0 10px var(--burgundy), 0 0 0 11px color-mix(in srgb, var(--wheat) 50%, transparent), 0 30px 50px -30px rgba(0,0,0,.6); }
.tone-dark.marquee { background: var(--burgundy-900) !important; color: var(--wheat); }
/* El obrador es oscuro por defecto: si se pone claro, sus textos pasan a oscuros */
:is(.tone-light, .tone-cream) .section__head--light h2 { color: var(--burgundy); }
:is(.tone-light, .tone-cream) .section__head--light h2 em { color: var(--wheat-dark); }
:is(.tone-light, .tone-cream) .section__head--light .eyebrow { color: var(--wheat-dark); }
:is(.tone-light, .tone-cream) .step { background: color-mix(in srgb, var(--burgundy) 5%, transparent); }
:is(.tone-light, .tone-cream) .step h3 { color: var(--burgundy); }
:is(.tone-light, .tone-cream) .step p { color: var(--muted); }
:is(.tone-light, .tone-cream).workshop { color: var(--ink); }

/* =========================================================
   VISITA EL HORNO (recorrido virtual)
   ========================================================= */
.visit__lead { text-align: center; color: color-mix(in srgb, var(--sand) 85%, transparent); max-width: 560px; margin: -36px auto 40px; }
:is(.tone-light, .tone-cream) .visit__lead { color: var(--muted); }
.tour { position: relative; }
.tour__stage {
  position: relative; overflow: hidden; overflow: clip; aspect-ratio: 16 / 9; border-radius: var(--radius);
  background: #120507; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .8); outline: none;
}
.tour__stage:focus-visible { box-shadow: 0 0 0 3px var(--wheat), 0 50px 90px -50px rgba(0, 0, 0, .8); }
.tour__stage.is-dragging { cursor: grabbing; }
.tour__stage.is-dragging .tour__pan { transition: none !important; }
.tour__scene { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility .7s; }
.tour__scene.is-active { opacity: 1; visibility: visible; z-index: 1; }
.tour__scene.is-entering { opacity: 0; }
.tour__scene.is-entering .tour__pan img { transform: scale(1.12); }
.tour__scene.is-leaving { opacity: 0; z-index: 2; }
.tour__scene.is-leaving-zoom { opacity: 0; z-index: 2; }
.tour__scene.is-leaving-zoom .tour__pan img, .tour__scene.is-leaving-zoom .hotspot { transform: scale(1.7); opacity: 0; }
.tour__pan { position: absolute; left: 0; top: 0; will-change: transform; transition: transform .25s ease-out; }
.tour__pan img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; transform-origin: inherit; transition: transform .75s var(--ease), opacity .6s; }
.tour__stage.is-loading::after { content: ""; position: absolute; z-index: 5; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.25); border-top-color: var(--wheat); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Puntos para avanzar */
.hotspot { position: absolute; z-index: 2; translate: -50% -50%; display: flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; cursor: pointer; transition: transform .6s var(--ease), opacity .4s; }
.hotspot__dot { position: relative; width: 26px; height: 26px; border-radius: 50%; background: var(--cream); box-shadow: 0 0 0 6px color-mix(in srgb, var(--cream) 35%, transparent), 0 6px 18px rgba(0,0,0,.4); flex: none; transition: transform .25s var(--ease); }
.hotspot__dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--cream); animation: ping 2.2s ease-out infinite; }
.hotspot__dot::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--burgundy); }
@keyframes ping { 0% { transform: scale(.8); opacity: .9; } 100% { transform: scale(2.1); opacity: 0; } }
.hotspot__label { background: color-mix(in srgb, var(--burgundy-900) 82%, transparent); backdrop-filter: blur(6px); color: var(--cream); padding: .5em .9em; border-radius: var(--btn-radius);
  font: 700 .78rem/1 var(--f-body); letter-spacing: .06em; white-space: nowrap; box-shadow: 0 8px 20px -8px rgba(0,0,0,.6); transition: background .2s; }
.hotspot:hover .hotspot__dot, .hotspot:focus-visible .hotspot__dot { transform: scale(1.18); }
.hotspot:hover .hotspot__label, .hotspot:focus-visible .hotspot__label { background: var(--burgundy); }
.hotspot:focus-visible { outline: none; }

/* Información y botones */
.tour__hud { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: 60px clamp(18px, 3vw, 32px) clamp(16px, 2.5vw, 26px); pointer-events: none;
  background: linear-gradient(transparent, rgba(10, 3, 4, .78)); color: var(--cream); max-width: 100%; }
.tour__count { display: block; font: 700 .72rem/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--wheat); margin-bottom: 8px; }
.tour__hud strong { display: block; font: 900 clamp(1.6rem, 3vw, 2.4rem)/1 var(--f-display); text-transform: var(--title-case); }
.tour__hud p { margin: 6px 0 0; max-width: 520px; font-size: .95rem; color: color-mix(in srgb, var(--cream) 85%, transparent); }
.tour__controls { position: absolute; z-index: 4; right: clamp(14px, 2vw, 24px); bottom: clamp(16px, 2.5vw, 26px); display: flex; gap: 8px; }
.tour__btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--cream) 55%, transparent); background: color-mix(in srgb, var(--burgundy-900) 45%, transparent);
  backdrop-filter: blur(6px); color: var(--cream); font-size: 1.1rem; cursor: pointer; transition: background .2s, color .2s; }
.tour__btn:hover { background: var(--cream); color: var(--burgundy); }
.tour__hint { position: absolute; z-index: 4; top: 18px; left: 50%; translate: -50% 0; display: flex; align-items: center; gap: 8px; pointer-events: none;
  background: rgba(10, 3, 4, .6); backdrop-filter: blur(6px); color: var(--cream); padding: .6em 1em; border-radius: 999px; font-size: .82rem; font-weight: 500; white-space: nowrap;
  transition: opacity .5s, transform .5s; }
.tour__hint.is-hidden { opacity: 0; transform: translateY(-8px); }
.tour__hand { display: inline-block; animation: hand 1.8s ease-in-out infinite; }
@keyframes hand { 0%, 100% { transform: translateX(-4px); } 50% { transform: translateX(6px); } }

/* Miniaturas */
.tour__thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 16px 2px 6px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.tour__thumb { flex: 0 0 auto; width: 150px; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; scroll-snap-align: start; color: inherit; }
.tour__thumb img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: calc(var(--radius) * .5); opacity: .55; transition: opacity .3s, box-shadow .3s; }
.tour__thumb span { display: block; margin-top: 6px; font-size: .78rem; font-weight: 700; opacity: .7; }
.tour__thumb:hover img { opacity: .85; }
.tour__thumb.is-active img { opacity: 1; box-shadow: 0 0 0 2px var(--wheat); }
.tour__thumb.is-active span { opacity: 1; color: var(--wheat); }
:is(.tone-light, .tone-cream) .tour__thumb.is-active span { color: var(--wheat-dark); }

/* Pantalla completa */
.tour.is-full { position: fixed; inset: 0; z-index: 200; background: #0b0304; display: flex; flex-direction: column; padding: 0; }
.tour.is-full .tour__stage { flex: 1; aspect-ratio: auto; border-radius: 0; }
.tour.is-full .tour__thumbs { padding: 10px 12px; background: #0b0304; color: var(--cream); }
.tour.is-full .tour__thumb { width: 120px; }

@media (max-width: 700px) {
  .tour__stage { aspect-ratio: 4 / 5; }
  .hotspot__dot { width: 22px; height: 22px; }
  .hotspot__dot::before { inset: 7px; }
  .hotspot__label { font-size: .7rem; padding: .45em .7em; }
  .tour__hud { padding-right: 140px; }
  .tour__hud p { display: none; }
  .tour__controls { gap: 6px; }
  .tour__btn { width: 38px; height: 38px; font-size: 1rem; }
  .tour__thumb { width: 116px; }
  .tour__hint { font-size: .74rem; top: 12px; }
}
@media (prefers-reduced-motion: reduce) { .hotspot__dot::after, .tour__hand { animation: none; } }
.hotspot--left { flex-direction: row-reverse; }
.hotspot--left { translate: calc(-100% + 13px) -50%; }
.hotspot:not(.hotspot--left) { translate: -13px -50%; }
@media (max-width: 700px) { .hotspot--left { translate: calc(-100% + 11px) -50%; } .hotspot:not(.hotspot--left) { translate: -11px -50%; } }

/* =========================================================
   IDIOMAS (ES · VA · EN)
   ========================================================= */
.lang { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; border: 1.5px solid var(--sand); }
.lang a {
  font: 700 .68rem/1 var(--f-body); letter-spacing: .1em; color: var(--burgundy); text-decoration: none;
  padding: .55em .7em; border-radius: 999px; transition: background .2s, color .2s;
}
.nav .lang a:not(.btn) { padding: .55em .7em; letter-spacing: .1em; font-size: .68rem; }
.nav .lang a:not(.btn)::after { display: none; }
.nav .lang--nav > a.is-active:not(.btn)::after { display: inline-block; position: static; height: auto; width: auto; background: none; transform: none; }
.lang a:hover { background: var(--cream); }
.lang a.is-active { background: var(--burgundy); color: var(--cream); }
.lang--bar { display: none; }
@media (max-width: 960px) {
  .header__inner { grid-template-columns: auto 1fr auto; gap: 12px; }
  .lang--bar { display: inline-flex; grid-column: 2; grid-row: 1; justify-self: end; position: relative; z-index: 60; }
  .burger { grid-column: 3; grid-row: 1; }
  .header__logo { grid-column: 1; grid-row: 1; }
  .no-scroll .lang--bar { border-color: rgba(247, 240, 231, .35); }
}
@media (max-width: 380px) { .lang a { padding: .5em .5em; } }

/* =========================================================
   AVISO RÁPIDO
   ========================================================= */
.notice {
  position: fixed; inset: 0 0 auto; z-index: 52;
  background: var(--wheat); color: var(--burgundy-900);
  font: 700 .86rem/1.35 var(--f-body); text-align: center;
  transition: transform .35s var(--ease);
}
.notice[hidden] { display: none; }
.notice__inner { position: relative; width: min(1320px, 100% - var(--gutter) * 2); margin-inline: auto; padding: 10px 40px; }
.notice a { color: inherit; text-decoration: none; }
.notice a:hover { text-decoration: underline; text-underline-offset: 3px; }
.notice__close {
  position: absolute; right: -6px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: inherit;
  font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.notice__close:hover { background: rgba(255, 255, 255, .35); }
.has-notice .header { top: var(--notice-h, 0px); transition: height .35s var(--ease), box-shadow .35s, border-color .35s, top .35s var(--ease); }
.has-notice #main { padding-top: var(--notice-h, 0px); }
.has-notice.is-scrolled .notice, .has-notice.no-scroll .notice { transform: translateY(-100%); }
.has-notice.is-scrolled .header, .has-notice.no-scroll .header { top: 0; }

/* =========================================================
   ALÉRGENOS Y TEMPORADA
   ========================================================= */
.free-from { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: -26px 0 18px; }
.chip {
  display: inline-flex; align-items: center; gap: .45em; padding: .6em 1.05em; border-radius: 999px;
  border: 1.5px dashed var(--wheat); background: transparent; color: var(--burgundy);
  font: 700 .74rem/1 var(--f-body); cursor: pointer; transition: all .2s var(--ease);
}
.chip:hover { border-style: solid; }
.chip.is-active { background: #e5f2e3; border: 1.5px solid #2f6b2a; color: #2f6b2a; }
.chip.is-active::after { content: "✓"; }
.free-from__note { max-width: 680px; margin: 0 auto 30px; text-align: center; font-size: .86rem; color: var(--muted); }
.free-from__note a { color: var(--burgundy); font-weight: 700; }
.products__empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 30px 0; }
.allergens { margin: 2px 0 12px; font-size: .78rem; color: var(--muted); }
.allergens p { margin: 0 0 4px; font-size: inherit; }
.allergens__k { font-weight: 700; color: var(--ink); margin-right: 2px; }
.alg { display: inline-flex; align-items: center; gap: .3em; margin: 2px 6px 2px 0; padding: .25em .6em .25em .45em; background: var(--cream); border-radius: 999px; color: var(--ink); white-space: nowrap; }
.alg i { font-style: normal; }
.allergens__tr { font-style: italic; }
.allergens--none { color: #2f6b2a; font-weight: 700; }
.product__tag--season { background: var(--wheat); color: var(--burgundy-900); }
.product--off { opacity: .55; outline: 2px dashed var(--wheat); outline-offset: -2px; }
.product--off .product__tag { background: var(--ink); color: #fff; }
/* En el ordenador, el selector ocupa poco: muestra el idioma actual y despliega los otros al pasar o enfocar */
.lang--nav { position: relative; }
.lang--nav > a { white-space: nowrap; }
.lang--nav > a.is-active::after { content: "▾"; display: inline-block; margin-left: .35em; font-size: .9em; transition: transform .2s; }
.lang--nav:hover > a.is-active::after, .lang--nav:focus-within > a.is-active::after { transform: rotate(180deg); }
.nav--right { gap: clamp(14px, 1.7vw, 30px); }
.lang__more {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translate(-50%, -4px);
  display: grid; gap: 2px; padding: 4px; min-width: 100%;
  background: var(--paper); border: 1.5px solid var(--sand); border-radius: 16px; box-shadow: 0 16px 30px -18px rgba(61, 19, 25, .5);
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.lang__more::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.lang--nav:hover .lang__more, .lang--nav:focus-within .lang__more { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.lang__more a { text-align: center; }

/* =========================================================
   MODO MANTENIMIENTO: el horno horneándose
   ========================================================= */
.mnt { display: none; }
body.is-maint { overflow: auto; }
body.is-maint > :not(.mnt):not(.loader):not(script) { display: none !important; }
body.is-maint .mnt { display: block; }
.mnt {
  --night: #1f0a0d; --glow: #ff9a3c; --cycle: 12s;
  position: relative; min-height: 100vh; min-height: 100svh;
  font: 400 17px/1.6 var(--f-body); color: var(--sand);
  background: radial-gradient(ellipse 60% 45% at 50% 58%, rgba(255, 140, 50, .16), transparent 70%), radial-gradient(ellipse at top, #3a1218, var(--night) 70%);
  background-color: var(--night); overflow: hidden;
}
.mnt::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: radial-gradient(rgba(247, 240, 231, .07) 1px, transparent 1.4px); background-size: 26px 26px; }
.mnt__page { min-height: inherit; display: grid; grid-template-rows: auto 1fr auto; width: min(1100px, 100% - 32px); margin-inline: auto; position: relative; z-index: 1; }
.mnt__head { padding: clamp(24px, 5vh, 48px) 0 0; display: grid; justify-items: center; gap: 18px; }
.mnt__head img { width: clamp(150px, 22vw, 210px); height: auto; }
.mnt .lang { border-color: rgba(230, 213, 195, .25); }
.mnt .lang a { color: var(--sand); }
.mnt .lang a:hover { background: rgba(255, 255, 255, .08); }
.mnt .lang a.is-active { background: var(--wheat); color: var(--burgundy-900); }
.mnt__main { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(28px, 6vw, 80px); padding: clamp(24px, 5vh, 56px) 0; }
@media (max-width: 820px) { .mnt__main { grid-template-columns: 1fr; text-align: center; } }
.mnt .eyebrow { color: var(--wheat); }
@media (max-width: 820px) { .mnt .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; } }
.mnt h1 { font: 900 clamp(3rem, 7.5vw, 5.6rem)/.9 var(--f-display); text-transform: var(--title-case, uppercase); color: var(--cream); margin: 0 0 .25em; }
.mnt h1 em { display: block; font: italic 400 .62em/1.1 var(--f-serif); text-transform: none; color: var(--wheat); margin-top: .12em; }
.mnt__lead { font-size: clamp(1.02rem, 1.5vw, 1.15rem); color: rgba(230, 213, 195, .82); max-width: 460px; margin: 0 0 30px; }
.mnt__progress { max-width: 420px; }
@media (max-width: 820px) { .mnt__lead, .mnt__progress { margin-inline: auto; } }
.mnt__ptop { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.mnt__stage { font-weight: 700; color: var(--cream); font-size: .95rem; min-height: 1.5em; }
.mnt__stage span { display: inline-block; animation: mntFade .5s ease; }
.mnt__pct { font: 900 1.6rem/1 var(--f-display); color: var(--wheat); font-variant-numeric: tabular-nums; }
.mnt__bar { height: 10px; border-radius: 99px; background: rgba(247, 240, 231, .1); overflow: hidden; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .4); }
.mnt__fill { height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #e9c48f, var(--glow), #d9661f); box-shadow: 0 0 18px rgba(255, 154, 60, .6); transition: width .25s linear; }
@keyframes mntFade { from { opacity: 0; transform: translateY(4px); } }

.mnt .oven-wrap { display: grid; place-items: center; position: relative; margin-top: 60px; }
.mnt .oven { position: relative; width: min(420px, 86vw); aspect-ratio: 1 / 1.02; border-radius: 28px 28px 22px 22px;
  background: linear-gradient(160deg, #7a2b36 0%, #561c24 40%, #3b1218 100%);
  box-shadow: 0 50px 80px -30px rgba(0, 0, 0, .8), inset 0 2px 0 rgba(255, 255, 255, .12), inset 0 -6px 0 rgba(0, 0, 0, .25);
  padding: 18px; display: grid; grid-template-rows: auto 1fr; gap: 16px; }
.mnt .oven::before, .mnt .oven::after { content: ""; position: absolute; bottom: -14px; width: 46px; height: 16px; border-radius: 0 0 10px 10px; background: #2a0c10; }
.mnt .oven::before { left: 34px; } .mnt .oven::after { right: 34px; }
.mnt .panel { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: rgba(0, 0, 0, .22); border-radius: 14px; padding: 12px 16px; box-shadow: inset 0 1px 3px rgba(0, 0, 0, .4); }
.mnt .knobs { display: flex; gap: 12px; }
.mnt .knob { width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f3e4cc, #c8a67e 55%, #b08d62); box-shadow: 0 3px 6px rgba(0, 0, 0, .45), inset 0 -2px 3px rgba(0, 0, 0, .2); position: relative; }
.mnt .knob::after { content: ""; position: absolute; left: 50%; top: 4px; width: 3px; height: 11px; margin-left: -1.5px; border-radius: 2px; background: #561c24; }
.mnt .knob:nth-child(1) { transform: rotate(-40deg); }
.mnt .knob:nth-child(2) { animation: mntKnob var(--cycle) linear infinite; }
@keyframes mntKnob { 0% { transform: rotate(-120deg); } 15%, 100% { transform: rotate(60deg); } }
.mnt .display { font: 700 1.05rem/1 var(--f-display); letter-spacing: .06em; color: #ffb468; background: #140507; border-radius: 8px; padding: 8px 12px; min-width: 92px; text-align: center; text-shadow: 0 0 8px rgba(255, 150, 60, .8); font-variant-numeric: tabular-nums; }
.mnt .lamp { width: 10px; height: 10px; border-radius: 50%; background: #ff7a2e; box-shadow: 0 0 10px 2px rgba(255, 122, 46, .8); animation: mntBlink 2.4s ease-in-out infinite; }
@keyframes mntBlink { 50% { opacity: .45; box-shadow: 0 0 4px 1px rgba(255, 122, 46, .5); } }
.mnt .door { position: relative; border-radius: 18px; background: linear-gradient(180deg, #4a161d, #2c0c11); padding: 16px; box-shadow: inset 0 2px 0 rgba(255, 255, 255, .08), 0 2px 0 rgba(0, 0, 0, .3); display: grid; grid-template-rows: auto 1fr; gap: 12px; }
.mnt .handle { height: 12px; margin: 0 14%; border-radius: 99px; background: linear-gradient(180deg, #f1e2c9, #b08d62); box-shadow: 0 4px 8px rgba(0, 0, 0, .45); }
.mnt .window { position: relative; border-radius: 14px; overflow: hidden; background: radial-gradient(ellipse 80% 70% at 50% 75%, #ffb35a 0%, #ef6f1f 35%, #8f2a0e 70%, #3a0d07 100%); box-shadow: inset 0 0 0 3px #1a0608, inset 0 0 40px rgba(0, 0, 0, .55); animation: mntHeat var(--cycle) ease-in-out infinite; }
@keyframes mntHeat { 0% { filter: brightness(.45) saturate(.6); } 12% { filter: brightness(1) saturate(1); } 50% { filter: brightness(1.12) saturate(1.1); } 88% { filter: brightness(1) saturate(1); } 100% { filter: brightness(.45) saturate(.6); } }
.mnt .window::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, .22) 0 12%, transparent 12% 22%, rgba(255, 255, 255, .08) 22% 27%, transparent 27%); }
.mnt .coil { position: absolute; left: 8%; right: 8%; height: 6px; border-radius: 6px; background: #ff5a1f; box-shadow: 0 0 12px 3px rgba(255, 90, 31, .75); animation: mntCoil 1.8s ease-in-out infinite alternate; }
.mnt .coil--top { top: 9%; } .mnt .coil--bottom { bottom: 8%; animation-delay: -.9s; }
@keyframes mntCoil { from { opacity: .7; } to { opacity: 1; box-shadow: 0 0 18px 5px rgba(255, 110, 40, .9); } }
.mnt .rack { position: absolute; left: 6%; right: 6%; bottom: 22%; height: 4px; border-radius: 4px; background: rgba(40, 10, 5, .8); box-shadow: 0 2px 0 rgba(255, 180, 90, .25); }
.mnt .bread { position: absolute; left: 50%; bottom: calc(22% + 3px); width: 58%; transform-origin: 50% 100%; translate: -50% 0; animation: mntRise var(--cycle) cubic-bezier(.45, .05, .3, 1) infinite; }
.mnt .bread svg { display: block; width: 100%; height: auto; overflow: visible; }
.mnt .crust { animation: mntBake var(--cycle) ease-in-out infinite; }
.mnt .crust-top { animation: mntBakeTop var(--cycle) ease-in-out infinite; }
.mnt .score { animation: mntScore var(--cycle) ease-in-out infinite; }
@keyframes mntRise { 0% { transform: scale(.82, .55); } 40%, 100% { transform: scale(1, 1); } }
@keyframes mntBake { 0%, 15% { fill: #f2e2c6; } 55% { fill: #d9a35e; } 85%, 100% { fill: #9a5524; } }
@keyframes mntBakeTop { 0%, 15% { fill: #f7ecd8; } 55% { fill: #e7b56d; } 85%, 100% { fill: #b46a2c; } }
@keyframes mntScore { 0%, 25% { stroke: #e9d4b1; opacity: .4; } 70%, 100% { stroke: #f6deb2; opacity: 1; } }
.mnt .shimmer { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; opacity: .35; background: repeating-linear-gradient(0deg, transparent 0 10px, rgba(255, 210, 140, .18) 10px 12px); animation: mntShimmer 3s linear infinite; }
@keyframes mntShimmer { to { background-position: 0 -48px; } }
.mnt .steam { position: absolute; top: -70px; left: 50%; width: 160px; height: 90px; translate: -50% 0; pointer-events: none; }
.mnt .steam span { position: absolute; bottom: 0; width: 18px; height: 70px; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(247, 240, 231, .5), transparent 70%); filter: blur(6px); opacity: 0; animation: mntSteam 4s ease-in infinite; }
.mnt .steam span:nth-child(1) { left: 30px; } .mnt .steam span:nth-child(2) { left: 72px; animation-delay: 1.3s; } .mnt .steam span:nth-child(3) { left: 112px; animation-delay: 2.6s; }
@keyframes mntSteam { 0% { transform: translateY(20px) scaleX(.6); opacity: 0; } 30% { opacity: .9; } 100% { transform: translateY(-60px) scaleX(1.6) rotate(8deg); opacity: 0; } }
.mnt .floor-glow { position: absolute; bottom: -40px; left: 50%; width: 80%; height: 60px; translate: -50% 0; border-radius: 50%; background: radial-gradient(ellipse, rgba(255, 140, 50, .35), transparent 70%); filter: blur(10px); animation: mntHeat var(--cycle) ease-in-out infinite; z-index: -1; }
.mnt__foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; padding: 22px 0 30px; border-top: 1px solid rgba(230, 213, 195, .12); font-size: .92rem; color: rgba(230, 213, 195, .7); }
.mnt__foot strong { color: var(--wheat); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; margin-right: 8px; }
.mnt__foot a { color: var(--cream); text-decoration: none; border-bottom: 1px solid rgba(200, 166, 126, .5); }
.mnt__foot a:hover { border-color: var(--cream); }
@media (prefers-reduced-motion: reduce) {
  .mnt *, .mnt *::before, .mnt *::after { animation-duration: 0s !important; animation-iteration-count: 1 !important; }
  .mnt .bread { transform: none; } .mnt .crust { fill: #b8732f; } .mnt .crust-top { fill: #cf8b40; }
}
/* Aviso para quien ha entrado en el panel: la web está en mantenimiento pero tú la ves */
.maint-pill { position: fixed; left: 16px; bottom: 16px; z-index: 70; display: flex; align-items: center; gap: 10px; max-width: calc(100% - 110px);
  background: #2a0c10; color: var(--cream); border-radius: 14px; padding: 10px 14px; font: 600 .82rem/1.35 var(--f-body); box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .5); }
.maint-pill b { color: #ffb468; }
.maint-pill a { color: var(--wheat); }
