/* MELTIA · Identidad cromática suave 2026-10-02 v2
   Colores principales: azul #122B4B · verde #8E9670 · crema #CFB08C
   Se añaden tintas claras y neutros para mejorar contraste y legibilidad. */
:root {
  --brand-blue: #122B4B;
  --brand-blue-mid: #2E4967;
  --brand-blue-pale: #E6ECF2;

  --brand-green: #8E9670;
  --brand-green-mid: #AAB092;
  --brand-green-pale: #ECEEE5;

  --brand-cream: #CFB08C;
  --brand-cream-mid: #DFC5A6;
  --brand-cream-pale: #F4ECE2;

  --near-white: #FBFAF7;
  --near-black: #1C211F;
  --ink: var(--near-black);
  --ink-soft: #5D625C;
  --paper: var(--near-white);
  --cream: var(--brand-cream-pale);
  --white: #FEFDFB;
  --line: rgba(28,33,31,.12);
  --shadow: 0 18px 45px rgba(18,43,75,.10);

  /* Alias heredados para no romper la estructura existente. */
  --ritual-yellow: var(--brand-cream);
  --ritual-navy: var(--brand-blue);
  --bakery-beige: var(--brand-green);
  --bakery-brown: var(--brand-blue);
  --labs-yellow: var(--brand-cream);
  --labs-pink: var(--brand-green);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --radius-xl: 42px;

  --font: "Ubuntu", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 1rem;
  top: -6rem;
  padding: .75rem 1rem;
  color: var(--ritual-navy);
  background: var(--ritual-yellow);
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; }

:where(a, button):focus-visible {
  outline: 3px solid var(--labs-yellow);
  outline-offset: 4px;
}

:where(section[id], article[id], main[id]) { scroll-margin-top: 100px; }
[hidden] { display: none !important; }

/* ---------- Cabecera ---------- */
.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 84px;
  padding: 0 clamp(1rem, 4vw, 4.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  color: var(--white);
  border-bottom: 1px solid rgba(207,176,140,.18);
  transition: background .25s ease, color .25s ease, height .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  height: 70px;
  color: var(--ritual-navy);
  background: rgba(207,176,140,.96);
  border-color: var(--line);
  box-shadow: 0 8px 28px rgba(18,43,75,.07);
  backdrop-filter: blur(14px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: clamp(1.7rem, 2.5vw, 2.1rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
}
.brand-mark { width: 24px; display: grid; place-items: center; }
.brand-mark svg { width: 100%; fill: none; stroke: currentColor; stroke-width: 1.1; }
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(.9rem, 2vw, 2rem);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.site-nav a { position: relative; }
.site-nav > a:not(.nav-shop)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -.35rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: width .2s ease;
}
.site-nav > a:hover::after,
.site-nav a[aria-current="page"]::after { width: 100%; }
.nav-shop {
  padding: .75rem 1rem;
  border: 1px solid currentColor;
  border-radius: 999px;
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: inherit;
  background: transparent;
}

/* ---------- Tipografía / comunes ---------- */
.eyebrow {
  margin: 0 0 1.1rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 2.2rem;
  height: 2px;
  margin: 0 .7rem .2rem 0;
  border-radius: 999px;
  background: currentColor;
}
h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2, h3 {
  margin-top: 0;
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: -.045em;
}
h1 { font-size: clamp(3.3rem, 7.6vw, 7.8rem); line-height: .92; }
h2 { margin-bottom: 0; font-size: clamp(2.35rem, 5vw, 5.2rem); line-height: .98; }
h3 { margin-bottom: 0; }
h1 em, h2 em { font-style: normal; font-weight: 700; }

.section {
  width: min(100%, 1500px);
  margin-inline: auto;
  padding: clamp(4.5rem, 9vw, 8.5rem) clamp(1rem, 6vw, 6.5rem);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 50px;
  padding: .78rem 1.35rem;
  border: 0;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(18,43,75,.12); }
.button-light { color: var(--ritual-navy); background: var(--ritual-yellow); }
.button-wine { color: var(--white); background: var(--bakery-brown); }
.button-wine:hover { background: #122B4B; }
.button-outline { color: var(--ritual-navy); border: 1px solid currentColor; background: transparent; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .45rem .05rem;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  border-bottom: 2px solid currentColor;
}
.text-link.dark { margin-top: 1.5rem; }

/* ---------- Home: Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
  align-items: center;
  gap: 2rem;
  padding: 9.5rem clamp(1rem, 7vw, 7rem) 5.5rem;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(207,176,140,.38), transparent 30%),
    radial-gradient(circle at 92% 78%, rgba(142,150,112,.20), transparent 28%),
    linear-gradient(130deg, var(--ritual-navy) 0%, #122B4B 48%, var(--bakery-brown) 100%);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .13;
  background: url("images/pic01.jpg") center / cover no-repeat;
  mix-blend-mode: soft-light;
}
.hero::after {
  content: "meltia";
  position: absolute;
  z-index: -1;
  right: -2vw;
  bottom: -4vw;
  color: rgba(207,176,140,.035);
  font-size: min(20vw, 19rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.08em;
}
.hero-content { max-width: 760px; }
.hero h1 { margin: 0; color: var(--white); }
.hero h1 em { color: var(--ritual-yellow); }
.hero .eyebrow { color: var(--bakery-beige); }
.hero-copy {
  max-width: 590px;
  margin: 1.7rem 0 2.1rem;
  color: rgba(207,176,140,.82);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
}
.hero-actions { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.hero-actions .text-link { color: var(--white); }
.hero-glow {
  position: absolute;
  z-index: -1;
  width: min(44vw, 620px);
  aspect-ratio: 1;
  right: 2vw;
  top: 15%;
  border: 1px solid rgba(207,176,140,.28);
  border-radius: 50%;
  box-shadow: 0 0 90px rgba(207,176,140,.07) inset;
}
.hero-art { position: relative; height: 500px; }
.hero-art p {
  position: absolute;
  right: 2%;
  bottom: 4%;
  margin: 0;
  color: rgba(207,176,140,.78);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.15;
  transform: rotate(-6deg);
}
.wax-shape {
  position: absolute;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  filter: drop-shadow(0 28px 34px rgba(18,43,75,.22));
}
.wax-shape::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 42% 58% 48% 52% / 58% 42% 58% 42%;
  background: linear-gradient(145deg, var(--ritual-yellow), var(--bakery-beige) 68%, var(--bakery-brown));
  box-shadow: inset 18px 15px 35px rgba(207,176,140,.24), inset -18px -20px 28px rgba(18,43,75,.18);
  transform: rotate(20deg);
}
.wax-shape span {
  width: 32%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ritual-navy);
  box-shadow: inset 5px 6px 9px rgba(18,43,75,.25);
}
.wax-shape-one { width: min(28vw, 350px); top: 8%; left: 10%; transform: rotate(10deg); }
.wax-shape-two { width: min(18vw, 220px); right: 0; bottom: 11%; transform: rotate(-28deg); }
.wax-shape-two::before { background: linear-gradient(145deg, var(--labs-yellow), var(--labs-pink)); }
.hero-note {
  position: absolute;
  left: clamp(1rem, 5vw, 5rem);
  bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(207,176,140,.62);
  font-size: .7rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.hero-note span { color: var(--ritual-yellow); font-size: 1.4rem; font-weight: 700; }
.hero-note p { margin: 0; line-height: 1.35; }

/* ---------- Home: Introducción ---------- */
.intro {
  display: grid;
  grid-template-columns: .22fr 1.35fr .9fr;
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: start;
}
.section-number { color: var(--labs-pink); font-size: 1.1rem; font-weight: 700; }
.intro h2 em { color: var(--bakery-brown); }
.intro-copy { max-width: 480px; padding-top: 2.5rem; }
.lead { font-size: clamp(1.25rem, 1.9vw, 1.65rem); font-weight: 500; line-height: 1.4; }
.intro-copy p:not(.lead), .story-content > p:not(.eyebrow,.lead) { color: var(--ink-soft); }

/* ---------- Home: Colecciones ---------- */
.collections {
  width: calc(100% - clamp(1rem, 4vw, 3rem));
  max-width: 1500px;
  margin: 0 auto;
  color: var(--white);
  background: var(--ritual-navy);
  border-radius: var(--radius-xl);
}
.section-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.section-top h2 em { color: var(--ritual-yellow); }
.section-top > p { max-width: 360px; margin-bottom: .2rem; color: rgba(207,176,140,.68); }
.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}
.collection-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  border: 1px solid rgba(207,176,140,.18);
  border-radius: var(--radius-lg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 14px 30px rgba(18,43,75,.14);
  transition: transform .28s ease, box-shadow .28s ease;
}
.collection-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  transition: opacity .28s ease;
}
.collection-card::after {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  border-radius: inherit;
  background: inherit;
  transform: none;
  transition: none;
}
.collection-card:hover,
.collection-card:focus-visible { transform: translateY(-5px); box-shadow: 0 20px 42px rgba(18,43,75,.22); }
.collection-card:hover::after,
.collection-card:focus-visible::after { transform: none; }
.collection-bakery { background-image: url("images/bakery.png"); }
.collection-bakery::before { background: linear-gradient(to bottom, rgba(18,43,75,.10), rgba(18,43,75,.92)); }
.collection-rituals { background-image: url("images/rituals.png"); }
.collection-rituals::before { background: linear-gradient(to bottom, rgba(18,43,75,.08), rgba(18,43,75,.94)); }
.collection-labs { background-image: url("images/labs.png"); }
.collection-labs::before { background: linear-gradient(to bottom, rgba(142,150,112,.06), rgba(18,43,75,.90)); }
.card-index { color: var(--white); font-size: 1rem; font-weight: 700; opacity: .85; }
.card-content > p { margin: 0 0 .5rem; font-size: .68rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; opacity: .8; }
.card-content h3 { margin: 0; color: var(--white); font-size: clamp(2.6rem, 4.2vw, 4.5rem); line-height: 1; }
.card-content > span { display: block; margin: .7rem 0 1.6rem; color: rgba(207,176,140,.78); }
.card-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(207,176,140,.45);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.collection-bakery .card-cta b { color: var(--bakery-beige); }
.collection-rituals .card-cta b { color: var(--ritual-yellow); }
.collection-labs .card-cta b { color: var(--labs-yellow); }

/* ---------- Home: Cómo se usa ---------- */
.ritual {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: center;
}
.ritual-visual {
  position: relative;
  min-height: 580px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--ritual-navy);
  background:
    radial-gradient(circle at 50% 46%, rgba(207,176,140,.75), transparent 34%),
    linear-gradient(145deg, #CFB08C, var(--ritual-yellow) 58%, var(--bakery-beige));
  border: 1px solid rgba(18,43,75,.10);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}
.ritual-visual::before {
  content: "";
  position: absolute;
  inset: 7%;
  border: 2px solid rgba(18,43,75,.15);
  border-radius: 50%;
}
.ritual-visual > p {
  position: absolute;
  left: 1.5rem;
  bottom: 1.25rem;
  margin: 0;
  color: var(--ritual-navy);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.2;
}
.burner { position: relative; width: 230px; height: 360px; }
.bowl {
  position: absolute;
  top: 80px;
  left: 15px;
  width: 200px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(#CFB08C, var(--bakery-beige));
  box-shadow: 0 22px 30px rgba(18,43,75,.16), inset 0 10px 14px rgba(207,176,140,.7);
}
.body {
  position: absolute;
  top: 105px;
  left: 37px;
  width: 156px;
  height: 230px;
  clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%);
  border-radius: 0 0 38% 38%;
  background: linear-gradient(90deg, #122B4B, var(--ritual-navy) 55%, #122B4B);
  box-shadow: 0 25px 35px rgba(18,43,75,.2);
}
.body::before {
  content: "";
  position: absolute;
  width: 54px;
  height: 82px;
  left: 51px;
  bottom: 24px;
  border-radius: 50% 50% 14px 14px;
  background: #CFB08C;
  box-shadow: inset 0 0 20px rgba(207,176,140,.8);
}
.flame {
  position: absolute;
  z-index: 2;
  left: 100px;
  top: 199px;
  width: 30px;
  height: 48px;
  border-radius: 60% 40% 60% 40%;
  background: var(--labs-pink);
  box-shadow: 0 0 24px 8px rgba(142,150,112,.30), 0 0 42px 12px rgba(207,176,140,.28);
  transform: rotate(45deg);
  animation: flicker 2.2s ease-in-out infinite alternate;
}
@keyframes flicker { to { transform: rotate(40deg) scale(.9, 1.05); opacity: .86; } }
.ritual-content h2 em { color: var(--ritual-navy); background: linear-gradient(transparent 62%, var(--ritual-yellow) 62%); }
.steps { list-style: none; padding: 0; margin: 2.7rem 0 0; }
.steps li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 1rem;
  padding: 1.2rem;
  margin-bottom: .8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(207,176,140,.6);
}
.steps > li > span { color: var(--labs-pink); font-weight: 700; }
.steps h3 { margin: 0; font-size: 1.4rem; }
.steps p { margin: .2rem 0 0; color: var(--ink-soft); }

/* ---------- Home: Valores / historia / contacto ---------- */
.values {
  width: min(calc(100% - 2rem), 1360px);
  margin: 0 auto clamp(4rem, 8vw, 8rem);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.values > div {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(18,43,75,.05);
}
.values span { color: var(--labs-pink); font-size: .9rem; font-weight: 700; }
.values h3 { margin: 1.1rem 0 .55rem; font-size: 1.35rem; }
.values p { margin: 0; color: var(--ink-soft); font-size: .9rem; }
.story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: center;
  background: linear-gradient(135deg, #CFB08C, var(--bakery-beige));
  border-radius: var(--radius-xl);
}
.story h2 em { color: var(--bakery-brown); }
.story-content .lead { margin-top: 2.3rem; }
.story-quote {
  position: relative;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: clamp(2rem, 5vw, 4rem);
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(145deg, var(--ritual-navy), #122B4B);
  border-radius: var(--radius-lg);
}
.story-quote::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(207,176,140,.42);
  border-radius: calc(var(--radius-lg) - 8px);
}
.quote-mark { position: absolute; left: 2rem; top: 1rem; color: var(--ritual-yellow); font-size: 8rem; line-height: 1; font-weight: 700; }
.story-quote blockquote { position: relative; margin: 0; font-size: clamp(2rem, 3.5vw, 3.8rem); font-weight: 700; line-height: 1.05; letter-spacing: -.04em; }
.story-quote p { position: relative; margin: 1.7rem 0 0; color: rgba(207,176,140,.65); font-size: .74rem; letter-spacing: .07em; text-transform: uppercase; }
.newsletter {
  width: min(calc(100% - 2rem), 1100px);
  margin: clamp(3rem, 7vw, 6rem) auto;
  padding: clamp(2.2rem, 6vw, 4.5rem);
  border: 1px solid rgba(18,43,75,.10);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, #CFB08C, #CFB08C 58%, #CFB08C);
  box-shadow: var(--shadow);
}
.newsletter h2,
.newsletter > p { max-width: 760px; }
.newsletter h2 em { color: var(--labs-pink); }
.newsletter > p:not(.eyebrow,.form-status) { color: var(--ink-soft); }
.newsletter .text-link { color: var(--ritual-navy); }
.form-status { margin: 1rem 0 0; }

/* ---------- Footer ---------- */
.site-footer {
  margin: 1rem;
  padding: 3.5rem clamp(1.2rem, 5vw, 5rem) 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  color: rgba(207,176,140,.72);
  background: var(--ritual-navy);
  border-radius: var(--radius-xl);
}
.site-footer .brand { color: var(--ritual-yellow); }
.footer-brand > p { color: rgba(207,176,140,.5); }
.footer-links { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2rem; }
.footer-links > div { display: flex; flex-direction: column; gap: .55rem; }
.footer-links p { margin: 0 0 .7rem; color: var(--white); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.footer-links a { font-size: .86rem; }
.footer-links a:hover, .footer-bottom a:hover { color: var(--ritual-yellow); }
.footer-note { color: rgba(207,176,140,.5); font-size: .82rem; }
.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.7rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(207,176,140,.14);
  font-size: .72rem;
}
.footer-bottom div { display: flex; gap: 1.3rem; flex-wrap: wrap; }

/* ---------- Catálogo ---------- */
.catalog-page { background: var(--paper); }
.collection-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 8rem clamp(1rem, 7vw, 7rem) 4.5rem;
  color: var(--white);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}
.bakery-hero { background: radial-gradient(circle at 88% 20%, rgba(142,150,112,.45), transparent 34%), var(--bakery-brown); }
.rituals-hero { background: radial-gradient(circle at 88% 20%, rgba(207,176,140,.42), transparent 34%), var(--ritual-navy); }
.labs-hero { background: radial-gradient(circle at 88% 20%, rgba(207,176,140,.32), transparent 34%), linear-gradient(135deg, #122B4B, var(--labs-pink)); }
.collection-hero-inner { max-width: 900px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-bottom: 2.5rem; font-size: .75rem; color: rgba(207,176,140,.72); }
.breadcrumbs a { border-bottom: 1px solid currentColor; }
.collection-hero .eyebrow { color: rgba(207,176,140,.76); }
.collection-hero h1 { margin: 0; font-size: clamp(4rem, 9vw, 8.5rem); line-height: .94; }
.collection-hero h1 > span { display: block; max-width: 820px; margin-top: 1rem; font-size: clamp(1.8rem, 4vw, 4rem); line-height: 1.06; }
.bakery-hero h1 em { color: var(--bakery-beige); }
.rituals-hero h1 em { color: var(--ritual-yellow); }
.labs-hero h1 em { color: var(--labs-yellow); }
.collection-intro { max-width: 620px; margin: 1.4rem 0 1.8rem; color: rgba(207,176,140,.82); }
.series-watermark { position: absolute; right: -1vw; bottom: -5vw; z-index: -1; color: rgba(207,176,140,.05); font-size: min(30vw, 26rem); font-weight: 700; line-height: .9; }
.category-nav {
  width: min(calc(100% - 2rem), 1260px);
  margin: 1rem auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1.4rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(18,43,75,.05);
}
.category-nav a { padding: .35rem .2rem; font-size: .76rem; font-weight: 700; letter-spacing: .04em; border-bottom: 2px solid transparent; }
.category-nav a:hover { border-color: currentColor; }
.category-nav span { margin-left: .3rem; color: var(--bakery-brown); font-size: .65rem; }
.catalog-note { margin: 0; padding: 1.25rem 1rem 0; text-align: center; font-size: .78rem; color: var(--ink-soft); }
.catalog-section { padding-top: 4.8rem; padding-bottom: 4.8rem; }
.catalog-section + .catalog-section { border-top: 1px solid var(--line); }
.catalog-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 2.6rem; }
.catalog-heading h2 { font-size: clamp(2.4rem, 4.3vw, 4.5rem); }
.catalog-heading h2 em { color: var(--bakery-brown); }
.catalog-heading .eyebrow { color: var(--bakery-brown); margin-bottom: .8rem; }
.catalog-heading > p { max-width: 290px; margin: 0; color: var(--ink-soft); font-size: .9rem; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(1.6rem, 4vw, 3.5rem); }
.product-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(207,176,140,.72);
  box-shadow: 0 10px 26px rgba(18,43,75,.05);
}
.gallery-stage { margin: 0; }
.gallery-stage > img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-md); background: var(--cream); cursor: default; }
.gallery-stage img { max-width: 100%; }
.gallery-stage figcaption { display: flex; justify-content: space-between; gap: 1rem; margin: .7rem 0; font-size: .64rem; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-soft); }
.gallery-thumbs { display: flex; gap: .55rem; margin-bottom: 1.35rem; overflow-x: auto; padding-bottom: .2rem; }
.gallery-thumb {
  position: relative;
  flex: 0 0 76px;
  display: block;
  padding: 3px;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  opacity: .65;
  background: transparent;
  font: inherit;
  cursor: pointer;
  transition: opacity .2s ease, border-color .2s ease;
}
.gallery-thumb[aria-current="true"], .gallery-thumb:hover, .gallery-thumb:focus-visible { opacity: 1; border-color: var(--ritual-navy); }
.gallery-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.gallery-thumb span { position: absolute; right: 5px; bottom: 5px; padding: 0 .3rem; border-radius: 6px; color: var(--white); background: var(--ritual-navy); font-size: .58rem; }
.product-info { display: flex; flex-direction: column; flex: 1; padding: .2rem .15rem .1rem; }
.product-category { margin: 0 0 .4rem; color: var(--bakery-brown); font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.product-info h3 { margin: 0; font-size: clamp(1.9rem, 3vw, 3rem); line-height: 1.06; }
.product-description { margin: 1rem 0 1.5rem; color: var(--ink-soft); font-size: .92rem; }
.product-order { margin-top: auto; padding-top: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--line); }
.product-price { margin: 0; color: var(--bakery-brown); font-size: .92rem; font-weight: 700; }
.product-order .button { padding-inline: 1rem; font-size: .66rem; }
.collection-next { padding: 2.5rem 1rem 4rem; text-align: center; }
.collection-next p { color: var(--ink-soft); }
.collection-next .text-link { margin-top: 0; }
.coming-soon { display: inline-block; padding: .7rem 1.05rem; border: 1px solid rgba(207,176,140,.42); border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.labs-story { text-align: center; }
.labs-story h2 em { color: var(--labs-pink); }
.labs-story > p:not(.eyebrow) { max-width: 650px; margin: 1.8rem auto; color: var(--ink-soft); }
.labs-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; }
.contact-cta {
  width: min(calc(100% - 2rem), 1240px);
  margin: 0 auto 1.5rem;
  padding: clamp(4rem, 9vw, 8rem) 1.2rem;
  text-align: center;
  color: var(--white);
  background:
    radial-gradient(circle at 50% 110%, rgba(142,150,112,.18), transparent 42%),
    var(--ritual-navy);
  border-radius: var(--radius-xl);
}
.contact-cta .eyebrow::before { display: none; }
.contact-cta h2 { font-size: clamp(2.7rem, 5.7vw, 5.8rem); }
.contact-cta h2 em { color: var(--ritual-yellow); }
.contact-cta > p:not(.eyebrow) { max-width: 590px; margin: 1.4rem auto 2.4rem; color: rgba(207,176,140,.75); }
.contact-cta .button { gap: .7rem; }
.instagram-handle { display: block; margin-top: 1.3rem; color: var(--bakery-beige); font-size: .8rem; }

/* ---------- Animaciones ---------- */
.reveal { opacity: 1; transform: none; transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .site-header { height: 72px; padding-inline: 1.1rem; }
  .menu-toggle { z-index: 102; display: grid; align-content: center; gap: 5px; }
  .menu-toggle > span:not(.sr-only) { width: 22px; height: 2px; border-radius: 999px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    position: fixed;
    inset: 0;
    height: 100dvh;
    padding: 7rem 1.5rem 2.5rem;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: .75rem;
    overflow-y: auto;
    color: var(--white);
    background: linear-gradient(145deg, var(--ritual-navy), #122B4B 60%, var(--bakery-brown));
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }
  .site-nav.open { visibility: visible; opacity: 1; transform: none; }
  .site-nav a {
    width: min(100%, 520px);
    margin-inline: auto;
    padding: .85rem 1rem;
    border: 1px solid rgba(207,176,140,.18);
    border-radius: var(--radius-md);
    font-size: clamp(1.45rem, 4vw, 2.1rem);
    font-weight: 700;
    text-transform: none;
    letter-spacing: -.02em;
  }
  .site-nav > a:not(.nav-shop)::after { display: none; }
  .nav-shop { margin-top: .35rem; text-align: center; color: var(--ritual-navy); background: var(--ritual-yellow); border-color: transparent; }
  body.menu-open .site-header { color: var(--white); background: transparent; box-shadow: none; backdrop-filter: none; }
  body.menu-open .site-header .brand { z-index: 103; }

  .hero { grid-template-columns: 1fr; min-height: 820px; padding-top: 8rem; align-items: start; }
  .hero-content { z-index: 2; max-width: 720px; }
  .hero-art { position: absolute; width: min(52vw, 480px); height: min(52vw, 480px); right: -4vw; top: 28%; opacity: .36; }
  .wax-shape-one { width: min(44vw, 350px); }
  .wax-shape-two, .hero-art p { display: none; }

  .intro { grid-template-columns: .15fr 1fr; }
  .intro-copy { grid-column: 2; padding-top: 0; max-width: 620px; }

  .collection-grid { grid-template-columns: 1fr; }
  .collection-card { min-height: 420px; }

  .ritual { grid-template-columns: 1fr; }
  .ritual-visual { min-height: 500px; }
  .ritual-content { max-width: 760px; }

  .values { grid-template-columns: 1fr 1fr; }
  .story { grid-template-columns: 1fr; }
  .story-quote { min-height: 420px; }

  .site-footer { grid-template-columns: 1fr; }
  .footer-bottom { grid-column: auto; }

  .catalog-heading { align-items: flex-start; flex-direction: column; gap: .7rem; }
  .catalog-heading > p { max-width: none; }
}

/* ---------- Móvil ---------- */
@media (max-width: 700px) {
  body { font-size: 15px; }
  .site-header { padding-inline: .9rem; }
  .brand { font-size: 1.65rem; }

  .section { padding: 4rem 1rem; }
  h1 { font-size: clamp(2.85rem, 14vw, 4.7rem); }
  h2 { font-size: clamp(2.15rem, 10.5vw, 3.65rem); }
  .eyebrow { font-size: .66rem; letter-spacing: .13em; }

  .hero {
    min-height: 760px;
    padding: 7rem 1rem 5.8rem;
    border-radius: 0 0 28px 28px;
  }
  .hero-content { max-width: 100%; }
  .hero h1 { line-height: .95; }
  .hero-copy { max-width: 34rem; margin: 1.4rem 0 1.7rem; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: .85rem; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { align-self: flex-start; }
  .hero-art { width: 66vw; height: 66vw; right: -16vw; top: 41%; opacity: .22; }
  .hero-note { left: 1rem; right: 1rem; bottom: 1.35rem; }

  .intro { display: block; }
  .section-number { margin-bottom: 1.2rem; }
  .intro-copy { padding-top: 1.1rem; }

  .collections { width: calc(100% - 1rem); border-radius: 28px; }
  .section-top { display: block; margin-bottom: 2rem; }
  .section-top > p { margin: 1rem 0 0; }
  .collection-grid { gap: .9rem; }
  .collection-card { min-height: 360px; padding: 1.2rem; border-radius: 24px; background-position: center; }
  .card-content h3 { font-size: clamp(2.6rem, 13vw, 4rem); }
  .card-content > span { margin-bottom: 1.25rem; }

  .ritual { gap: 2rem; }
  .ritual-visual { min-height: 390px; border-radius: 28px; }
  .burner { transform: scale(.72); }
  .ritual-visual > p { left: 1.1rem; bottom: 1rem; font-size: 1rem; }
  .steps { margin-top: 2rem; }
  .steps li { grid-template-columns: 42px 1fr; padding: 1rem; }

  .values { width: calc(100% - 1rem); grid-template-columns: 1fr; gap: .75rem; margin-bottom: 4rem; }
  .values > div { padding: 1.4rem; }
  .story { gap: 2rem; border-radius: 28px; }
  .story-quote { min-height: 350px; padding: 1.6rem; border-radius: 24px; }
  .quote-mark { left: 1.3rem; top: .6rem; font-size: 6rem; }

  .newsletter { width: calc(100% - 1rem); margin: 3rem auto; padding: 2rem 1.2rem; border-radius: 28px; }

  .site-footer { margin: .5rem; padding: 2.6rem 1.1rem 1.2rem; border-radius: 28px; }
  .footer-links { grid-template-columns: 1fr; gap: 1.7rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; }

  .collection-hero { padding: 6.7rem 1rem 3.2rem; border-radius: 0 0 28px 28px; }
  .collection-hero h1 { font-size: clamp(3.2rem, 15vw, 5rem); }
  .collection-hero h1 > span { font-size: clamp(1.55rem, 7.3vw, 2.6rem); }
  .collection-intro { margin-bottom: 1.5rem; }
  .breadcrumbs { margin-bottom: 1.8rem; }
  .series-watermark { font-size: 58vw; }

  .category-nav {
    width: calc(100% - 1rem);
    justify-content: flex-start;
    gap: .25rem .9rem;
    padding: .75rem 1rem;
    border-radius: 22px;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }
  .category-nav::-webkit-scrollbar { display: none; }
  .category-nav a { flex: 0 0 auto; white-space: nowrap; }

  .catalog-section { padding: 3.5rem 1rem; }
  .product-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .product-card { padding: .75rem; border-radius: 24px; }
  .gallery-stage > img { border-radius: 18px; }
  .gallery-stage figcaption { font-size: .59rem; }
  .gallery-thumb { flex-basis: 70px; }
  .product-info h3 { font-size: 2rem; }
  .product-order { align-items: stretch; flex-direction: column; }
  .product-order .button { width: 100%; }

  .collection-next { padding: 2rem 1rem 3rem; }
  .contact-cta { width: calc(100% - 1rem); margin-bottom: .5rem; padding: 3.5rem 1rem; border-radius: 28px; }
  .contact-cta .button { width: 100%; max-width: 520px; }
}

@media (max-width: 390px) {
  .hero { min-height: 720px; }
  .collection-card { min-height: 330px; }
  .ritual-visual { min-height: 350px; }
  .burner { transform: scale(.62); }
  .gallery-thumb { flex-basis: 64px; }
}

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

/* ========================================================================== */
/* MELTIA · PORTADA COHERENTE Y SUAVE                                          */
/* ========================================================================== */
.home-page {
  --home-hero-background:
    radial-gradient(circle at 82% 18%, rgba(223,197,166,.26), transparent 31%),
    radial-gradient(circle at 92% 78%, rgba(170,176,146,.18), transparent 30%),
    linear-gradient(132deg, var(--brand-blue) 0%, var(--brand-blue-mid) 100%);
  --home-accent: var(--brand-cream-mid);
  --home-accent-secondary: var(--brand-green-mid);
  --home-accent-strong: var(--brand-blue);
  --home-dark: var(--near-black);
  --home-button-bg: var(--brand-cream-mid);
  --home-button-text: var(--brand-blue);
  --home-collections-bg: var(--brand-blue-pale);
  --home-ritual-background: linear-gradient(145deg, var(--brand-cream-pale), var(--brand-green-pale));
  --home-story-background: linear-gradient(135deg, var(--brand-cream-pale), var(--brand-green-pale));
  --home-quote-background: linear-gradient(145deg, var(--brand-blue), var(--brand-blue-mid));
  --home-newsletter-background: linear-gradient(145deg, var(--brand-green-pale), var(--brand-cream-pale));
  --home-footer-background: var(--near-black);
  --home-mobile-menu-background: linear-gradient(145deg, var(--brand-blue), var(--brand-blue-mid));
}

.home-page .hero { background: var(--home-hero-background); }
.home-page .hero h1 em,
.home-page .hero-note span { color: var(--home-accent); }
.home-page .hero .eyebrow { color: var(--home-accent-secondary); }
.home-page .button-light { color: var(--home-button-text); background: var(--home-button-bg); }
.home-page .site-header.scrolled { color: var(--home-dark); }
.home-page .section-number,
.home-page .intro h2 em { color: var(--brand-blue); }
.home-page .collections { background: var(--home-collections-bg); color: var(--ink); }
.home-page .section-top h2 em { color: var(--brand-green); }
.home-page .section-top > p { color: var(--ink-soft); }

.home-page .collection-bakery::before { background: linear-gradient(to bottom, rgba(18,43,75,.06), rgba(18,43,75,.88)); }
.home-page .collection-rituals::before { background: linear-gradient(to bottom, rgba(18,43,75,.06), rgba(18,43,75,.90)); }
.home-page .collection-labs::before { background: linear-gradient(to bottom, rgba(142,150,112,.05), rgba(18,43,75,.88)); }
.home-page .collection-bakery .card-cta b { color: var(--brand-green-mid); }
.home-page .collection-rituals .card-cta b,
.home-page .collection-labs .card-cta b { color: var(--brand-cream-mid); }

.home-page .ritual-visual { background: var(--home-ritual-background); }
.home-page .ritual-content h2 em {
  color: var(--brand-blue);
  background: linear-gradient(transparent 62%, var(--brand-cream-mid) 62%);
}
.home-page .steps > li > span,
.home-page .values span { color: var(--brand-blue); }
.home-page .story { background: var(--home-story-background); }
.home-page .story h2 em { color: var(--brand-blue); }
.home-page .story-quote { background: var(--home-quote-background); }
.home-page .story-quote::before { border-color: rgba(223,197,166,.45); }
.home-page .quote-mark { color: var(--brand-cream-mid); }
.home-page .newsletter { background: var(--home-newsletter-background); }
.home-page .newsletter h2 em { color: var(--brand-blue); }
.home-page .newsletter .text-link { color: var(--brand-blue); }
.home-page .site-footer { background: var(--home-footer-background); }
.home-page .site-footer .brand,
.home-page .footer-links a:hover,
.home-page .footer-bottom a:hover { color: var(--brand-cream-mid); }

@media (max-width: 1024px) {
  .home-page .site-nav { color: var(--white); background: var(--home-mobile-menu-background); }
  .home-page .nav-shop { color: var(--brand-blue); background: var(--brand-cream-mid); }
}

/* ---------- Home: acceso a Quemadores ---------- */
.burners-teaser {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  padding-top: clamp(4rem, 7vw, 6.5rem);
  padding-bottom: clamp(4rem, 7vw, 6.5rem);
}

.burners-teaser-image {
  overflow: hidden;
  min-height: 360px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.burners-teaser-image img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: block;
  object-fit: cover;
}

.burners-teaser-content {
  max-width: 620px;
}

.burners-teaser-content h2 em {
  color: var(--bakery-brown);
}

.burners-teaser-content > p:not(.eyebrow) {
  max-width: 540px;
  margin: 1.5rem 0 2rem;
  color: var(--ink-soft);
}

.burners-teaser .button {
  text-transform: none;
  letter-spacing: .02em;
}

@media (max-width: 760px) {
  .burners-teaser {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .burners-teaser-image,
  .burners-teaser-image img {
    min-height: 250px;
  }

  .burners-teaser-content {
    text-align: center;
    margin-inline: auto;
  }

  .burners-teaser-content > p:not(.eyebrow) {
    margin-inline: auto;
  }
}

/* =========================================================
   MELTIA · PÁGINAS INFORMATIVAS / LEGALES
   ========================================================= */
.info-page {
  background: #CFB08C;
  color: #122B4B;
}

.info-hero {
  padding: clamp(8rem, 12vw, 11rem) clamp(1.25rem, 5vw, 5rem) clamp(3.5rem, 7vw, 6rem);
  background:
    radial-gradient(circle at 85% 20%, rgba(142,150,112,.18), transparent 28rem),
    #CFB08C;
  border-bottom: 1px solid rgba(18,43,75,.14);
}

.info-hero-inner {
  width: min(980px, 100%);
  margin: 0 auto;
}

.info-hero h1 {
  margin: .65rem 0 1.25rem;
  max-width: 900px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: .94;
  letter-spacing: -.055em;
  font-weight: 500;
}

.info-hero p:last-child {
  max-width: 760px;
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.65;
}

.info-content {
  padding-top: clamp(3rem, 7vw, 6rem);
  padding-bottom: clamp(4rem, 8vw, 8rem);
}

.info-document {
  width: min(900px, 100%);
  margin: 0 auto;
}

.info-document h2 {
  margin: 3rem 0 1rem;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  line-height: 1.15;
  letter-spacing: -.025em;
}

.info-document h2:first-child {
  margin-top: 0;
}

.info-document p,
.info-document li,
.info-document dd {
  font-size: 1rem;
  line-height: 1.75;
}

.info-document ul {
  padding-left: 1.25rem;
}

.info-document a {
  color: inherit;
  text-underline-offset: .2em;
}

.legal-alert {
  margin: 0 0 2.5rem;
  padding: 1.2rem 1.35rem;
  border: 1px solid rgba(18,43,75,.25);
  background: rgba(207,176,140,.45);
}

.legal-alert strong {
  display: block;
  margin-bottom: .35rem;
}

.legal-alert p {
  margin: 0;
}

.legal-data {
  margin: 1.5rem 0 0;
  border-top: 1px solid rgba(18,43,75,.18);
}

.legal-data div {
  display: grid;
  grid-template-columns: minmax(150px, .8fr) 2fr;
  gap: 1rem;
  padding: .9rem 0;
  border-bottom: 1px solid rgba(18,43,75,.18);
}

.legal-data dt {
  font-weight: 700;
}

.legal-data dd {
  margin: 0;
}

.info-updated {
  margin-top: 4rem !important;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(18,43,75,.18);
  font-size: .9rem !important;
  opacity: .72;
}

.faq-list {
  border-top: 1px solid rgba(18,43,75,.2);
}

.faq-list details {
  border-bottom: 1px solid rgba(18,43,75,.2);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 1.4rem 3rem 1.4rem 0;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 500;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: .25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.65rem;
  font-weight: 300;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 0;
  padding: 0 3rem 1.5rem 0;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 1.25rem;
}

@media (max-width: 720px) {
  .legal-data div {
    grid-template-columns: 1fr;
    gap: .2rem;
  }

  .info-hero {
    padding-top: 7rem;
  }

  .footer-legal-links {
    gap: .5rem 1rem;
  }
}

/* ========================================================================== */
/* MELTIA · AJUSTE VISUAL V2 · MÁS LUMINOSO + MEJOR CONTRASTE                 */
/* ========================================================================== */
body { color: var(--ink); background: var(--paper); }

.site-header.scrolled {
  color: var(--ink);
  background: rgba(251,250,247,.94);
  border-color: rgba(28,33,31,.10);
  box-shadow: 0 8px 28px rgba(18,43,75,.07);
}

.button-light { color: var(--brand-blue); background: var(--brand-cream-mid); }
.button-light:hover { background: var(--brand-cream); }
.button-wine { color: var(--white); background: var(--brand-blue); }
.button-wine:hover { background: var(--brand-blue-mid); }
.button-outline { color: var(--brand-blue); border-color: rgba(18,43,75,.40); }
.button-outline:hover { color: var(--white); background: var(--brand-blue); border-color: var(--brand-blue); }

.intro { color: var(--ink); }
.intro .eyebrow, .section-number { color: var(--brand-green); }
.intro h2 em { color: var(--brand-blue); }

.collections {
  background: var(--brand-blue-pale);
  color: var(--ink);
  border: 1px solid rgba(18,43,75,.08);
}
.section-top h2 em { color: var(--brand-green); }
.section-top > p { color: var(--ink-soft); }
.collection-card { border-color: rgba(254,253,251,.28); }
.card-content > span { color: rgba(254,253,251,.80); }
.card-cta { border-top-color: rgba(254,253,251,.34); }

.ritual-visual {
  color: var(--brand-blue);
  background: linear-gradient(145deg, var(--brand-cream-pale), var(--brand-green-pale));
  border-color: rgba(18,43,75,.09);
}
.ritual-visual::before { border-color: rgba(18,43,75,.12); }
.steps li { background: var(--white); border-color: rgba(18,43,75,.10); }
.steps > li > span { color: var(--brand-blue); }

.values > div {
  background: var(--white);
  border-color: rgba(18,43,75,.09);
  box-shadow: 0 10px 28px rgba(18,43,75,.045);
}
.values span { color: var(--brand-green); }

.story {
  color: var(--ink);
  background: linear-gradient(135deg, var(--brand-cream-pale), var(--brand-green-pale));
  border: 1px solid rgba(18,43,75,.07);
}
.story h2 em { color: var(--brand-blue); }
.story-quote { color: var(--white); background: linear-gradient(145deg, var(--brand-blue), var(--brand-blue-mid)); }
.story-quote p { color: rgba(254,253,251,.66); }
.quote-mark { color: var(--brand-cream-mid); }

.newsletter {
  background: linear-gradient(145deg, var(--brand-green-pale), var(--brand-cream-pale));
  border-color: rgba(18,43,75,.08);
}
.newsletter h2 em { color: var(--brand-blue); }

.site-footer {
  color: rgba(254,253,251,.72);
  background: var(--near-black);
}
.site-footer .brand { color: var(--brand-cream-mid); }
.footer-brand > p, .footer-note { color: rgba(254,253,251,.55); }
.footer-bottom { border-top-color: rgba(254,253,251,.12); }

/* Catálogo: cada familia usa una versión suave de la paleta sin perder identidad. */
.catalog-page { background: var(--paper); }
.bakery-hero {
  color: var(--ink);
  background: radial-gradient(circle at 88% 20%, rgba(170,176,146,.42), transparent 34%), var(--brand-cream-pale);
}
.rituals-hero {
  color: var(--white);
  background: radial-gradient(circle at 88% 20%, rgba(223,197,166,.24), transparent 34%), linear-gradient(135deg, var(--brand-blue), var(--brand-blue-mid));
}
.labs-hero {
  color: var(--ink);
  background: radial-gradient(circle at 88% 20%, rgba(223,197,166,.38), transparent 34%), var(--brand-green-pale);
}
.bakery-hero .breadcrumbs, .bakery-hero .collection-intro, .bakery-hero .eyebrow,
.labs-hero .breadcrumbs, .labs-hero .collection-intro, .labs-hero .eyebrow { color: var(--ink-soft); }
.bakery-hero h1 em { color: var(--brand-green); }
.labs-hero h1 em { color: var(--brand-blue); }
.rituals-hero .breadcrumbs, .rituals-hero .collection-intro, .rituals-hero .eyebrow { color: rgba(254,253,251,.74); }
.rituals-hero h1 em { color: var(--brand-cream-mid); }
.bakery-hero .series-watermark, .labs-hero .series-watermark { color: rgba(18,43,75,.05); }

.category-nav { background: var(--white); border-color: rgba(18,43,75,.09); }
.product-card {
  background: var(--white);
  border-color: rgba(18,43,75,.09);
  box-shadow: 0 12px 28px rgba(18,43,75,.055);
}
.product-category, .product-price, .catalog-heading .eyebrow, .catalog-heading h2 em { color: var(--brand-blue); }
.gallery-stage > img { background: var(--brand-cream-pale); }
.gallery-thumb[aria-current="true"], .gallery-thumb:hover, .gallery-thumb:focus-visible { border-color: var(--brand-green); }
.gallery-thumb span { color: var(--white); background: var(--brand-blue); }
.coming-soon { border-color: rgba(18,43,75,.18); background: var(--brand-cream-pale); }
.labs-story h2 em { color: var(--brand-blue); }

.contact-cta {
  color: var(--white);
  background: radial-gradient(circle at 50% 110%, rgba(170,176,146,.18), transparent 42%), linear-gradient(135deg, var(--brand-blue), var(--brand-blue-mid));
}
.contact-cta h2 em { color: var(--brand-cream-mid); }
.contact-cta > p:not(.eyebrow) { color: rgba(254,253,251,.72); }
.instagram-handle { color: var(--brand-green-mid); }

/* Páginas informativas / legales. */
.info-page { background: var(--paper); color: var(--ink); }
.info-hero {
  background: radial-gradient(circle at 85% 20%, rgba(170,176,146,.20), transparent 28rem), var(--brand-cream-pale);
  border-bottom-color: rgba(18,43,75,.09);
}
.info-document a { color: var(--brand-blue); text-decoration: underline; }
.legal-alert { border-color: rgba(18,43,75,.16); background: var(--brand-green-pale); }
.legal-data, .info-updated, .faq-list, .faq-list details { border-color: rgba(18,43,75,.12); }

/* Enlaces y focos: visibles sin recurrir a colores estridentes. */
:where(a, button):focus-visible { outline-color: var(--brand-green); }
.text-link:hover { color: var(--brand-blue-mid); }

@media (max-width: 1024px) {
  .site-nav { color: var(--white); background: linear-gradient(145deg, var(--brand-blue), var(--brand-blue-mid)); }
  .site-nav .nav-shop { color: var(--brand-blue); background: var(--brand-cream-mid); border-color: transparent; }
}


/* ========================================================================== */
/* MELTIA · V3 EQUILIBRADA · BASE VISUAL ESTABLE                              */
/* Objetivo: menos ruido, mejor jerarquía, contraste alto y ritmos consistentes */
/* ========================================================================== */
:root {
  --v3-bg: #F7F3ED;
  --v3-surface: #FBFAF7;
  --v3-surface-blue: #E9EEF3;
  --v3-surface-green: #EEF0E8;
  --v3-surface-cream: #F3E8DA;
  --v3-ink: #1C211F;
  --v3-muted: #646A64;
  --v3-border: rgba(28,33,31,.12);
  --v3-shadow: 0 12px 34px rgba(18,43,75,.08);
  --v3-radius: 20px;
  --v3-radius-small: 14px;
  --v3-content: 1180px;
}

html { scroll-padding-top: 86px; }
body {
  color: var(--v3-ink);
  background: var(--v3-bg);
  line-height: 1.62;
}

/* Cabecera estable: misma lectura antes y después del scroll. */
.site-header,
.site-header.scrolled,
.home-page .site-header.scrolled {
  height: 72px;
  padding-inline: clamp(1rem, 4vw, 3.5rem);
  color: var(--brand-blue);
  background: rgba(251,250,247,.96);
  border-bottom: 1px solid var(--v3-border);
  box-shadow: none;
  backdrop-filter: blur(14px);
}
.site-header.scrolled { box-shadow: 0 8px 28px rgba(18,43,75,.06); }
.brand { letter-spacing: -.045em; }
.site-nav { gap: clamp(.8rem, 1.7vw, 1.55rem); }
.site-nav a { color: var(--brand-blue); }
.nav-shop {
  color: var(--v3-surface) !important;
  background: var(--brand-blue);
  border-color: var(--brand-blue);
}

/* Escala tipográfica más contenida para una lectura más ordenada. */
h1 { font-size: clamp(3.1rem, 6.6vw, 6rem); line-height: .96; }
h2 { font-size: clamp(2.2rem, 4.2vw, 4rem); line-height: 1.02; }
.lead { font-size: clamp(1.15rem, 1.55vw, 1.42rem); }
.eyebrow { color: var(--brand-blue); }
.eyebrow::before { width: 1.6rem; }

.section {
  width: min(100%, var(--v3-content));
  padding: clamp(4.2rem, 7vw, 6.2rem) clamp(1rem, 3vw, 2rem);
}
.button {
  min-height: 48px;
  padding: .75rem 1.2rem;
  border-radius: 999px;
}
.button:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(18,43,75,.10); }
.button-light { color: var(--brand-blue); background: var(--brand-cream-mid); }
.button-outline { color: var(--brand-blue); border-color: rgba(18,43,75,.32); }
.text-link { letter-spacing: .055em; }

/* HOME · Hero: una sola idea fuerte, sin elementos decorativos compitiendo. */
.hero {
  min-height: 650px;
  grid-template-columns: 1fr;
  align-items: center;
  padding: 9rem max(1rem, calc((100vw - var(--v3-content)) / 2 + 2rem)) 5.5rem;
  color: var(--v3-surface);
  background:
    radial-gradient(circle at 82% 22%, rgba(207,176,140,.23), transparent 30%),
    radial-gradient(circle at 18% 92%, rgba(142,150,112,.16), transparent 32%),
    var(--brand-blue);
  border-radius: 0 0 28px 28px;
}
.hero::before {
  opacity: .08;
  mix-blend-mode: luminosity;
}
.hero::after,
.hero-glow,
.hero-art,
.hero-note { display: none; }
.hero-content { max-width: 900px; }
.hero h1 { max-width: 900px; }
.hero h1 em { color: var(--brand-cream-mid); }
.hero .eyebrow { color: var(--brand-green-mid); }
.hero-copy {
  max-width: 720px;
  margin: 1.55rem 0 1.9rem;
  color: rgba(251,250,247,.78);
  font-size: clamp(1rem, 1.15vw, 1.1rem);
}
.hero-actions { gap: 1.2rem; }

/* HOME · Introducción */
.intro {
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.intro .section-number { display: none; }
.intro-copy { max-width: 470px; padding-top: 1rem; }
.intro h2 em { color: var(--brand-blue); }
.intro-copy p:not(.lead),
.story-content > p:not(.eyebrow,.lead) { color: var(--v3-muted); }

/* HOME · Colecciones */
.collections,
.home-page .collections {
  width: min(calc(100% - 2rem), var(--v3-content));
  padding: clamp(3.5rem, 6vw, 5rem) clamp(1rem, 3vw, 2rem);
  color: var(--v3-ink);
  background: var(--v3-surface-blue);
  border: 1px solid rgba(18,43,75,.08);
  border-radius: 24px;
}
.section-top { margin-bottom: 2.4rem; }
.section-top h2 em { color: var(--brand-blue); }
.section-top > p { color: var(--v3-muted); }
.collection-grid { gap: 1rem; }
.collection-card {
  min-height: 420px;
  padding: 1.35rem;
  border-radius: 18px;
  box-shadow: none;
}
.collection-card:hover,
.collection-card:focus-visible { transform: translateY(-2px); box-shadow: var(--v3-shadow); }
.collection-card::before { background: linear-gradient(to bottom, rgba(18,43,75,.04), rgba(18,43,75,.90)); }
.card-content h3 { font-size: clamp(2.45rem, 3.4vw, 3.6rem); }
.card-content > span { color: rgba(251,250,247,.78); }
.card-cta { border-top-color: rgba(251,250,247,.30); }

/* HOME · Ritual */
.ritual { gap: clamp(2.5rem, 6vw, 5rem); }
.ritual-visual,
.home-page .ritual-visual {
  min-height: 440px;
  background: var(--v3-surface-cream);
  border: 1px solid var(--v3-border);
  border-radius: 22px;
  box-shadow: none;
}
.ritual-visual::before { inset: 9%; border: 1px solid rgba(18,43,75,.12); }
.ritual-content h2 em { color: var(--brand-blue); background: none; }
.steps { margin-top: 2.2rem; }
.steps li {
  padding: 1.05rem 0;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--v3-border);
  border-radius: 0;
  background: transparent;
}
.steps li:last-child { border-bottom: 1px solid var(--v3-border); }
.steps > li > span { color: var(--brand-blue); }

/* HOME · Quemadores */
.burners-teaser { gap: clamp(2rem, 6vw, 5rem); }
.burners-teaser-image {
  min-height: 320px;
  border-radius: var(--v3-radius);
  box-shadow: none;
}
.burners-teaser-image img { min-height: 320px; }
.burners-teaser-content h2 em { color: var(--brand-blue); }

/* HOME · Valores */
.values {
  width: min(calc(100% - 2rem), var(--v3-content));
  margin-bottom: clamp(4rem, 7vw, 6rem);
  gap: 0;
  border-top: 1px solid var(--v3-border);
  border-bottom: 1px solid var(--v3-border);
}
.values > div {
  padding: 2rem 1.5rem;
  border: 0;
  border-right: 1px solid var(--v3-border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.values > div:last-child { border-right: 0; }
.values span { color: var(--brand-blue); }
.values h3 { margin-top: .8rem; }
.values p { color: var(--v3-muted); }

/* HOME · Historia */
.story,
.home-page .story {
  gap: clamp(2.5rem, 6vw, 5rem);
  color: var(--v3-ink);
  background: var(--v3-surface-green);
  border: 1px solid rgba(142,150,112,.20);
  border-radius: 24px;
}
.story h2 em { color: var(--brand-blue); }
.story-quote,
.home-page .story-quote {
  min-height: 360px;
  padding: clamp(2rem, 4vw, 3rem);
  color: var(--v3-surface);
  background: var(--brand-blue);
  border-radius: 18px;
}
.story-quote::before { display: none; }
.quote-mark { color: var(--brand-cream-mid); opacity: .8; }
.story-quote blockquote { font-size: clamp(1.85rem, 3vw, 3rem); }
.story-quote p { color: rgba(251,250,247,.64); }

/* HOME · CTA final */
.newsletter,
.home-page .newsletter {
  width: min(calc(100% - 2rem), var(--v3-content));
  margin: clamp(3rem, 6vw, 5rem) auto;
  padding: clamp(2.7rem, 5vw, 4rem);
  background: var(--v3-surface-cream);
  border: 1px solid rgba(207,176,140,.28);
  border-radius: 22px;
  box-shadow: none;
}
.newsletter h2 em { color: var(--brand-blue); }
.newsletter > p:not(.eyebrow,.form-status) { color: var(--v3-muted); }

/* Footer más simple y estable. */
.site-footer,
.home-page .site-footer {
  margin: 0;
  padding: 3.5rem max(1rem, calc((100vw - var(--v3-content)) / 2 + 2rem)) 1.5rem;
  color: rgba(251,250,247,.74);
  background: var(--v3-ink);
  border-radius: 28px 28px 0 0;
}
.site-footer .brand,
.home-page .site-footer .brand { color: var(--brand-cream-mid); }
.footer-brand > p, .footer-note { color: rgba(251,250,247,.56); }
.footer-links p { color: var(--v3-surface); }
.footer-links a:hover, .footer-bottom a:hover { color: var(--brand-cream-mid); }

/* CATÁLOGO · misma arquitectura visual para todas las colecciones. */
.catalog-page { background: var(--v3-bg); }
.collection-hero {
  min-height: 430px;
  padding: 8.7rem max(1rem, calc((100vw - var(--v3-content)) / 2 + 2rem)) 4.2rem;
  border-radius: 0 0 28px 28px;
}
.collection-hero-inner { max-width: 820px; }
.collection-hero h1 { font-size: clamp(3.5rem, 7vw, 6.3rem); }
.collection-hero h1 > span { font-size: clamp(1.55rem, 3.1vw, 2.85rem); }
.bakery-hero {
  color: var(--v3-ink);
  background: var(--v3-surface-cream);
}
.rituals-hero {
  color: var(--v3-surface);
  background: var(--brand-blue);
}
.labs-hero {
  color: var(--v3-ink);
  background: var(--v3-surface-green);
}
.bakery-hero h1 em,
.labs-hero h1 em { color: var(--brand-blue); }
.rituals-hero h1 em { color: var(--brand-cream-mid); }
.series-watermark { opacity: .6; }

.category-nav {
  width: min(calc(100% - 2rem), var(--v3-content));
  margin-top: 1rem;
  background: var(--v3-surface);
  border: 1px solid var(--v3-border);
  border-radius: 14px;
  box-shadow: none;
}
.category-nav a { color: var(--brand-blue); }
.catalog-note { max-width: var(--v3-content); margin-inline: auto; padding-inline: 2rem; color: var(--v3-muted); }
.catalog-section { padding-top: 4rem; padding-bottom: 4rem; }
.catalog-heading { margin-bottom: 2.2rem; }
.catalog-heading > p { color: var(--v3-muted); }

.product-grid { gap: 1.4rem; }
.product-card {
  padding: .9rem;
  background: var(--v3-surface);
  border: 1px solid var(--v3-border);
  border-radius: 18px;
  box-shadow: none;
}
.product-card:hover { box-shadow: var(--v3-shadow); }
.gallery-stage > img {
  background: var(--v3-surface-cream);
  border-radius: 12px;
}
.gallery-stage figcaption { color: var(--v3-muted); }
.gallery-thumb { border-radius: 10px; }
.gallery-thumb[aria-current="true"],
.gallery-thumb:hover,
.gallery-thumb:focus-visible { border-color: var(--brand-blue); }
.product-category,
.product-price,
.catalog-heading .eyebrow,
.catalog-heading h2 em { color: var(--brand-blue); }
.product-description { color: var(--v3-muted); }
.product-order { border-top-color: var(--v3-border); }

.contact-cta {
  width: min(calc(100% - 2rem), var(--v3-content));
  padding: clamp(3.7rem, 7vw, 5.7rem) 1.2rem;
  background: var(--brand-blue);
  border-radius: 22px;
}
.contact-cta h2 em { color: var(--brand-cream-mid); }
.contact-cta > p:not(.eyebrow) { color: rgba(251,250,247,.74); }
.instagram-handle { color: var(--brand-green-mid); }

/* INFO / LEGAL · máxima legibilidad */
.info-page { color: var(--v3-ink); background: var(--v3-bg); }
.info-hero {
  padding-top: 8.5rem;
  background: var(--v3-surface-cream);
  border-bottom: 1px solid var(--v3-border);
}
.info-hero h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); }
.info-document { max-width: 820px; }
.info-document p,
.info-document li,
.info-document dd { color: #343A36; }
.info-document a { color: var(--brand-blue); }
.legal-alert { background: var(--v3-surface-green); border-color: rgba(142,150,112,.30); border-radius: var(--v3-radius-small); }

/* WhatsApp: coherente y menos protagonista. */
#meltia-whatsapp {
  position: fixed !important;
  right: 18px !important;
  bottom: 18px !important;
  width: 50px !important;
  height: 50px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  color: var(--v3-surface) !important;
  background: var(--brand-green) !important;
  border: 1px solid rgba(28,33,31,.08) !important;
  border-radius: 50% !important;
  box-shadow: 0 7px 22px rgba(18,43,75,.14) !important;
  z-index: 999 !important;
  transition: transform .2s ease, box-shadow .2s ease !important;
}
#meltia-whatsapp svg { width: 27px !important; height: 27px !important; display: block !important; }
#meltia-whatsapp:hover { transform: translateY(-2px) !important; box-shadow: 0 10px 26px rgba(18,43,75,.18) !important; }

/* Tablet y móvil: una sola columna donde aporta claridad. */
@media (max-width: 1024px) {
  .site-header,
  .site-header.scrolled,
  .home-page .site-header.scrolled { height: 68px; }
  .site-nav {
    color: var(--v3-surface);
    background: var(--brand-blue);
  }
  .site-nav a { color: var(--v3-surface); }
  .site-nav .nav-shop { color: var(--brand-blue) !important; background: var(--brand-cream-mid); }
  body.menu-open .site-header { color: var(--v3-surface); background: transparent; border-color: transparent; }

  .hero { min-height: 610px; padding-top: 8rem; }
  .intro { grid-template-columns: 1fr; gap: 1.2rem; }
  .intro-copy { max-width: 680px; padding-top: 0; }
  .collection-card { min-height: 360px; }
  .ritual-visual { min-height: 390px; }
  .values { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .values > div:nth-child(2) { border-right: 0; }
  .values > div:nth-child(-n+2) { border-bottom: 1px solid var(--v3-border); }
}

@media (max-width: 700px) {
  body { font-size: 15px; }
  .site-header,
  .site-header.scrolled,
  .home-page .site-header.scrolled { padding-inline: 1rem; }
  .section { padding: 3.6rem 1rem; }
  h1 { font-size: clamp(2.8rem, 13vw, 4.15rem); }
  h2 { font-size: clamp(2rem, 9.5vw, 3.1rem); }

  .hero {
    min-height: 590px;
    padding: 7.3rem 1rem 4.4rem;
    border-radius: 0 0 22px 22px;
  }
  .hero-copy { margin: 1.25rem 0 1.55rem; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: .8rem; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { align-self: flex-start; }

  .collections,
  .home-page .collections { width: calc(100% - 1rem); padding: 3rem 1rem; border-radius: 20px; }
  .section-top { margin-bottom: 1.7rem; }
  .collection-card { min-height: 330px; border-radius: 16px; }

  .ritual-visual { min-height: 350px; border-radius: 18px; }
  .steps li { grid-template-columns: 36px 1fr; }
  .burners-teaser-image,
  .burners-teaser-image img { min-height: 235px; }

  .values { width: calc(100% - 2rem); grid-template-columns: 1fr; }
  .values > div,
  .values > div:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--v3-border); }
  .values > div:last-child { border-bottom: 0; }
  .values > div { padding: 1.35rem 0; }

  .story,
  .home-page .story { border-radius: 20px; }
  .story-quote,
  .home-page .story-quote { min-height: 300px; border-radius: 16px; }
  .newsletter,
  .home-page .newsletter { width: calc(100% - 1rem); padding: 2.2rem 1.2rem; border-radius: 18px; }

  .site-footer,
  .home-page .site-footer { padding: 2.8rem 1.2rem 1.2rem; border-radius: 22px 22px 0 0; }

  .collection-hero { min-height: 0; padding: 7.2rem 1rem 3rem; border-radius: 0 0 22px 22px; }
  .category-nav { width: calc(100% - 1rem); border-radius: 12px; }
  .catalog-note { padding-inline: 1rem; }
  .catalog-section { padding: 3rem 1rem; }
  .product-card { padding: .7rem; border-radius: 16px; }
  .contact-cta { width: calc(100% - 1rem); padding: 3.2rem 1rem; border-radius: 18px; }

  .info-hero { padding-top: 7.4rem; }
  #meltia-whatsapp { right: 14px !important; bottom: 14px !important; width: 47px !important; height: 47px !important; }
}


/* ========================================================================== */
/* MELTIA_V5 · 2026-10-03                                                     */
/* Identidad global: verde #919876 · azul #102B4B · crema #E8CBAF            */
/* WhatsApp: verde corporativo obligatorio #25A737                            */
/* ========================================================================== */
:root {
  --brand-green: #919876;
  --brand-green-mid: #B4BA9F;
  --brand-green-pale: #E5E7DD;
  --brand-blue: #102B4B;
  --brand-blue-mid: #29445F;
  --brand-blue-pale: #E8EDF2;
  --brand-cream: #E8CBAF;
  --brand-cream-mid: #F0DCC8;
  --brand-cream-pale: #F7EDE3;
  --near-white: #FBFAF7;
  --near-black: #18201D;
  --ink: #102B4B;
  --ink-soft: #43566A;
  --paper: #FBFAF7;
  --white: #FBFAF7;
  --line: rgba(16,43,75,.14);
  --shadow: 0 12px 30px rgba(16,43,75,.10);

  --ritual-yellow: #E8CBAF;
  --ritual-navy: #102B4B;
  --bakery-beige: #919876;
  --bakery-brown: #102B4B;
  --labs-yellow: #E8CBAF;
  --labs-pink: #919876;

  --v3-bg: #F7F7F2;
  --v3-surface: #FBFAF7;
  --v3-surface-blue: #E8EDF2;
  --v3-surface-green: #E5E7DD;
  --v3-surface-cream: #F7EDE3;
  --v3-ink: #102B4B;
  --v3-muted: #526274;
  --v3-border: rgba(16,43,75,.14);
  --v3-shadow: 0 12px 30px rgba(16,43,75,.09);
}

body { color: #102B4B; background: #F7F7F2; }

/* Cabecera clara y homogénea. */
.site-header,
.site-header.scrolled,
.home-page .site-header.scrolled {
  color: #102B4B;
  background: rgba(251,250,247,.96);
  border-bottom-color: rgba(16,43,75,.12);
}
.site-nav a { color: #102B4B; }
.nav-shop,
.nav-shop[data-umami-event="Instagram click"] {
  color: #FBFAF7 !important;
  background: #102B4B !important;
  border-color: #102B4B !important;
}
.nav-shop:hover { background: #29445F !important; }

/* HOME: el verde es el fondo protagonista. */
.home-page .hero {
  color: #102B4B;
  background:
    radial-gradient(circle at 82% 22%, rgba(232,203,175,.46), transparent 30%),
    radial-gradient(circle at 16% 92%, rgba(251,250,247,.17), transparent 33%),
    #919876;
}
.home-page .hero h1,
.home-page .hero-copy,
.home-page .hero-actions .text-link { color: #102B4B; }
.home-page .hero h1 em { color: #FBFAF7; }
.home-page .hero .eyebrow { color: #102B4B; }
.home-page .button-light { color: #102B4B; background: #E8CBAF; }
.home-page .button-light:hover { background: #F0DCC8; }
.home-page .intro { color: #102B4B; }
.home-page .intro .eyebrow,
.home-page .section-number { color: #102B4B; }
.home-page .intro h2 em { color: #919876; }

.home-page .collections {
  color: #102B4B;
  background: #919876;
  border-color: rgba(16,43,75,.10);
}
.home-page .collections .section-top h2,
.home-page .collections .section-top > p,
.home-page .collections .section-number { color: #102B4B; }
.home-page .collections .section-top h2 em { color: #FBFAF7; }

/* Tarjetas de colección: el CTA medido por Umami destaca siempre. */
.home-page .collection-card[data-umami-event] {
  border: 1px solid rgba(251,250,247,.48);
}
.home-page .collection-card .card-cta {
  width: fit-content;
  margin-top: .8rem;
  padding: .5rem .72rem;
  color: #102B4B;
  background: #E8CBAF;
  border-radius: 999px;
}
.home-page .collection-card .card-cta b { color: #102B4B !important; }
.home-page .collection-card:hover .card-cta { background: #FBFAF7; }

/* Paso a paso: fotografía JPG real en lugar de ilustración CSS. */
.home-page .ritual-visual {
  position: relative;
  overflow: hidden;
  color: #FBFAF7;
  background: #919876;
}
.home-page .ritual-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border: 0;
  background: linear-gradient(to top, rgba(16,43,75,.72), rgba(16,43,75,.06) 58%, transparent);
}
.home-page .ritual-visual .ritual-burner-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  display: block;
}
.home-page .ritual-visual > p {
  z-index: 2;
  color: #FBFAF7;
  text-shadow: 0 2px 16px rgba(16,43,75,.42);
}
.home-page .ritual-content h2 em {
  color: #102B4B;
  background: linear-gradient(transparent 62%, #E8CBAF 62%);
}
.home-page .steps li { background: #FBFAF7; border-color: rgba(16,43,75,.12); }
.home-page .steps > li > span { color: #102B4B; }

.home-page .burners-teaser { background: #FBFAF7; }
.home-page .burners-teaser-content h2 em { color: #919876; }
.home-page .burners-teaser [data-umami-event="Quemadores click"] {
  color: #FBFAF7;
  background: #102B4B;
  border-color: #102B4B;
}
.home-page .burners-teaser [data-umami-event="Quemadores click"]:hover { background: #29445F; }

.home-page .values { background: #FBFAF7; }
.home-page .values span { color: #919876; }
.home-page .story { color: #102B4B; background: #919876; border-color: rgba(16,43,75,.10); }
.home-page .story h2 em { color: #FBFAF7; }
.home-page .story-copy p { color: #102B4B; }
.home-page .story-quote { color: #FBFAF7; background: #102B4B; }
.home-page .quote-mark { color: #E8CBAF; }
.home-page .newsletter { color: #102B4B; background: #E8CBAF; border-color: rgba(16,43,75,.10); }
.home-page .newsletter h2 em { color: #102B4B; }
.home-page .newsletter > p:not(.eyebrow,.form-status) { color: #29445F; }
.home-page .newsletter [data-umami-event="Instagram click"] {
  color: #FBFAF7;
  background: #102B4B;
  border-radius: 999px;
  padding: .72rem 1rem;
  display: inline-flex;
}

/* Footer oscuro para cerrar la página con máxima legibilidad. */
.site-footer,
.home-page .site-footer { color: rgba(251,250,247,.78); background: #18201D; }
.site-footer .brand,
.home-page .site-footer .brand { color: #E8CBAF; }
.footer-links p { color: #FBFAF7; }
.site-footer [data-umami-event="Instagram click"] { color: #E8CBAF; }
.site-footer [data-umami-event="WhatsApp click"] { color: #25A737; }
.site-footer [data-umami-event]:hover { color: #FBFAF7; }

/* WhatsApp: el verde corporativo es fijo y no se hereda de ninguna colección. */
#meltia-whatsapp,
#meltia-whatsapp:visited,
#meltia-whatsapp:hover,
#meltia-whatsapp:focus-visible {
  color: #FBFAF7 !important;
  background: #25A737 !important;
  border-color: #25A737 !important;
}
#meltia-whatsapp svg { color: #FBFAF7 !important; }

/* Páginas de catálogo: arquitectura común y personalidad propia por colección. */
.catalog-page { color: #102B4B; background: #F7F7F2; }
.catalog-page .product-card,
.catalog-page .category-nav { background: #FBFAF7; }
.catalog-page .product-description,
.catalog-page .catalog-heading > p,
.catalog-page .catalog-note { color: #526274; }

/* BAKERY · beige tostado + marrón. */
.bakery-page { --collection-primary:#D1B399; --collection-secondary:#452F1D; }
.bakery-page .collection-hero { color:#452F1D; background:#D1B399; }
.bakery-page .collection-hero .breadcrumbs,
.bakery-page .collection-hero .eyebrow,
.bakery-page .collection-hero .collection-intro,
.bakery-page .collection-hero .text-link { color:#452F1D; }
.bakery-page .collection-hero h1 em,
.bakery-page .product-category,
.bakery-page .product-price,
.bakery-page .catalog-heading .eyebrow,
.bakery-page .catalog-heading h2 em,
.bakery-page .category-nav a { color:#452F1D; }
.bakery-page .gallery-stage > img { background:#F4ECE5; }
.bakery-page .gallery-thumb[aria-current="true"],
.bakery-page .gallery-thumb:hover,
.bakery-page .gallery-thumb:focus-visible { border-color:#D1B399; }
.bakery-page .button[data-umami-event="Instagram click"],
.bakery-page .nav-shop[data-umami-event="Instagram click"] { color:#FBFAF7 !important; background:#452F1D !important; border-color:#452F1D !important; }
.bakery-page .contact-cta { color:#FBFAF7; background:#452F1D; }
.bakery-page .contact-cta h2 em { color:#D1B399; }
.bakery-page .instagram-handle { color:#D1B399; }

/* RITUALS · azul + amarillo. */
.rituals-page { --collection-primary:#245EA1; --collection-secondary:#F4D967; }
.rituals-page .collection-hero { color:#FBFAF7; background:#245EA1; }
.rituals-page .collection-hero .breadcrumbs,
.rituals-page .collection-hero .eyebrow,
.rituals-page .collection-hero .collection-intro,
.rituals-page .collection-hero .text-link { color:#FBFAF7; }
.rituals-page .collection-hero h1 em { color:#F4D967; }
.rituals-page .product-category,
.rituals-page .product-price,
.rituals-page .catalog-heading .eyebrow,
.rituals-page .catalog-heading h2 em,
.rituals-page .category-nav a { color:#245EA1; }
.rituals-page .gallery-stage > img { background:#F8F2CF; }
.rituals-page .gallery-thumb[aria-current="true"],
.rituals-page .gallery-thumb:hover,
.rituals-page .gallery-thumb:focus-visible { border-color:#245EA1; }
.rituals-page .button[data-umami-event="Instagram click"],
.rituals-page .nav-shop[data-umami-event="Instagram click"] { color:#102B4B !important; background:#F4D967 !important; border-color:#F4D967 !important; }
.rituals-page .contact-cta { color:#FBFAF7; background:#245EA1; }
.rituals-page .contact-cta h2 em { color:#F4D967; }
.rituals-page .instagram-handle { color:#F4D967; }

/* LABS · amarillo potente + azul noche. */
.labs-page { --collection-primary:#F6D324; --collection-secondary:#112C44; }
.labs-page .collection-hero { color:#112C44; background:#F6D324; }
.labs-page .collection-hero .breadcrumbs,
.labs-page .collection-hero .eyebrow,
.labs-page .collection-hero .collection-intro,
.labs-page .collection-hero .text-link { color:#112C44; }
.labs-page .collection-hero h1 em,
.labs-page .product-category,
.labs-page .product-price,
.labs-page .catalog-heading .eyebrow,
.labs-page .catalog-heading h2 em,
.labs-page .category-nav a { color:#112C44; }
.labs-page .button[data-umami-event="Instagram click"],
.labs-page .nav-shop[data-umami-event="Instagram click"] { color:#FBFAF7 !important; background:#112C44 !important; border-color:#112C44 !important; }
.labs-page .contact-cta { color:#FBFAF7; background:#112C44; }
.labs-page .contact-cta h2 em { color:#F6D324; }
.labs-page .instagram-handle { color:#F6D324; }

/* QUEMADORES · azul grisáceo + rosa piedra. */
.quemadores-page { --collection-primary:#7E94B6; --collection-secondary:#D3BDB2; }
.quemadores-page .collection-hero { color:#102B4B; background:#7E94B6; }
.quemadores-page .collection-hero .breadcrumbs,
.quemadores-page .collection-hero .eyebrow,
.quemadores-page .collection-hero .collection-intro,
.quemadores-page .collection-hero .text-link { color:#102B4B; }
.quemadores-page .collection-hero h1 em { color:#FBFAF7; }
.quemadores-page .product-category,
.quemadores-page .product-price,
.quemadores-page .catalog-heading .eyebrow,
.quemadores-page .catalog-heading h2 em,
.quemadores-page .category-nav a { color:#102B4B; }
.quemadores-page .gallery-stage > img { background:#D3BDB2; }
.quemadores-page .gallery-thumb[aria-current="true"],
.quemadores-page .gallery-thumb:hover,
.quemadores-page .gallery-thumb:focus-visible { border-color:#7E94B6; }
.quemadores-page .button[data-umami-event="Instagram click"],
.quemadores-page .nav-shop[data-umami-event="Instagram click"] { color:#102B4B !important; background:#D3BDB2 !important; border-color:#D3BDB2 !important; }
.quemadores-page .contact-cta { color:#102B4B; background:#D3BDB2; }
.quemadores-page .contact-cta h2 em { color:#102B4B; text-decoration: underline; text-decoration-color:#7E94B6; text-decoration-thickness:.18em; text-underline-offset:.12em; }
.quemadores-page .contact-cta > p:not(.eyebrow) { color:#29445F; }
.quemadores-page .instagram-handle { color:#102B4B; }

/* Páginas legales: verde en cabecera, documento casi blanco y texto azul. */
.info-page { color:#102B4B; background:#F7F7F2; }
.info-page .info-hero { color:#102B4B; background:#919876; border-color:rgba(16,43,75,.10); }
.info-page .info-document { color:#102B4B; background:#FBFAF7; }
.info-page .info-document p,
.info-page .info-document li,
.info-page .info-document dd { color:#29445F; }
.info-page .info-document a { color:#102B4B; text-decoration-color:#E8CBAF; }
.info-page .legal-alert { color:#102B4B; background:#E8CBAF; border-color:rgba(16,43,75,.14); }

/* El seguimiento no debe ser invisible para el usuario: CTAs claros y consistentes. */
.button[data-umami-event],
.nav-shop[data-umami-event],
.text-link[data-umami-event] { font-weight:700; }

@media (max-width: 1024px) {
  .site-nav { color:#FBFAF7; background:#102B4B; }
  .site-nav a { color:#FBFAF7; }
  .site-nav .nav-shop[data-umami-event="Instagram click"] { color:#102B4B !important; background:#E8CBAF !important; border-color:#E8CBAF !important; }
  body.menu-open .site-header { color:#FBFAF7; background:transparent; }
}

@media (max-width: 700px) {
  .home-page .ritual-visual .ritual-burner-photo { object-position:center; }
  .home-page .collection-card .card-cta { padding:.45rem .65rem; }
}


/* ==========================================================
   MELTIA V5 · refinamiento de portada + contraste + 8 quemadores
   ========================================================== */

/* Primer impacto: la marca se convierte en una pieza tipográfica gigante,
   integrada en el hero sin competir con el contenido principal. */
.home-page .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(680px, 78vh, 860px);
}
.home-page .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: 1;
  background:
    linear-gradient(110deg, rgba(251,250,247,.12), transparent 40%),
    radial-gradient(circle at 77% 28%, rgba(232,203,175,.55), transparent 28%);
  mix-blend-mode: normal;
}
.home-page .hero-brand-display {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -53%);
  pointer-events: none;
  user-select: none;
  text-align: center;
  white-space: nowrap;
}
.home-page .hero-brand-display span {
  display: block;
  color: rgba(251,250,247,.40);
  font-size: clamp(8rem, 22vw, 22rem);
  font-weight: 700;
  line-height: .72;
  letter-spacing: -.075em;
  text-transform: uppercase;
  text-shadow:
    0 1px 0 rgba(16,43,75,.08),
    0 24px 70px rgba(16,43,75,.08);
  -webkit-text-stroke: 1px rgba(16,43,75,.08);
}
.home-page .hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: clamp(1.2rem, 2.5vw, 2rem);
  margin-left: clamp(-2rem, -2vw, 0rem);
  border: 1px solid rgba(251,250,247,.18);
  border-radius: 28px;
  background: linear-gradient(120deg, rgba(145,152,118,.86), rgba(145,152,118,.45));
  box-shadow: 0 28px 80px rgba(16,43,75,.10);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.home-page .hero-content::before {
  content: "MELTIA";
  display: block;
  width: fit-content;
  margin-bottom: 1rem;
  padding: .42rem .72rem;
  color: #102B4B;
  background: #E8CBAF;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
}
.home-page .hero h1 {
  text-wrap: balance;
  text-shadow: 0 1px 0 rgba(251,250,247,.08);
}

/* Las etiquetas sensoriales deben leerse siempre, independientemente de la foto. */
.home-page .collection-card .card-content > p {
  display: inline-flex;
  width: fit-content;
  margin-bottom: .75rem;
  padding: .42rem .62rem;
  color: #FBFAF7;
  background: rgba(16,43,75,.66);
  border: 1px solid rgba(251,250,247,.20);
  border-radius: 999px;
  opacity: 1;
  text-shadow: 0 1px 5px rgba(0,0,0,.20);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

/* Ocho quemadores: la rejilla conserva el ritmo visual con más productos. */
.quemadores-page .product-grid {
  align-items: stretch;
}
.quemadores-page .product-card {
  min-width: 0;
}

@media (max-width: 1024px) {
  .home-page .hero-brand-display {
    top: 46%;
  }
  .home-page .hero-brand-display span {
    font-size: clamp(8rem, 26vw, 16rem);
    color: rgba(251,250,247,.32);
  }
  .home-page .hero-content {
    margin-left: 0;
  }
}

@media (max-width: 700px) {
  .home-page .hero {
    min-height: 680px;
  }
  .home-page .hero-brand-display {
    top: 29%;
    left: 52%;
    transform: translate(-50%, -50%) rotate(-3deg);
  }
  .home-page .hero-brand-display span {
    font-size: clamp(6.5rem, 31vw, 10rem);
    color: rgba(251,250,247,.31);
    letter-spacing: -.08em;
  }
  .home-page .hero-content {
    padding: 1.15rem;
    border-radius: 20px;
    background: linear-gradient(120deg, rgba(145,152,118,.90), rgba(145,152,118,.62));
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }
  .home-page .hero-content::before {
    margin-bottom: .8rem;
  }
}

/* ========================================================================== */
/* MELTIA_V5 · refinamiento portada + navegación · 2026-10-03                 */
/* ========================================================================== */

/* Marca principal del hero: visible y siempre en minúsculas. */
.home-page .hero-brand-display {
  z-index: 0;
}
.home-page .hero-brand-display span {
  color: rgba(232,203,175,.82);
  text-transform: none;
  -webkit-text-stroke: 1px rgba(16,43,75,.18);
  text-shadow:
    0 2px 0 rgba(251,250,247,.16),
    0 18px 48px rgba(16,43,75,.16);
}
.home-page .hero-content::before {
  content: "meltia";
  text-transform: none;
}

/* Colecciones: la sensación pasa a segundo plano, bajo la frase descriptiva. */
.home-page .collection-card .card-content > p.card-sense {
  display: block;
  width: auto;
  margin: -.95rem 0 1.45rem;
  padding: 0;
  color: rgba(251,250,247,.78);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: .61rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .09em;
  text-transform: uppercase;
  opacity: 1;
  text-shadow: 0 1px 4px rgba(16,43,75,.34);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.home-page .collection-card .card-content > span.card-subtitle {
  display: block;
  margin: .65rem 0 1.15rem;
  color: rgba(232,203,175,.96);
}

/* Volver arriba: discreto, por encima de WhatsApp y solo cuando es útil. */
.back-to-top {
  position: fixed;
  right: 23px;
  bottom: 82px;
  z-index: 998;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #102B4B;
  background: rgba(251,250,247,.94);
  border: 1px solid rgba(16,43,75,.20);
  border-radius: 50%;
  box-shadow: 0 7px 20px rgba(16,43,75,.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  cursor: pointer;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease, background .2s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover,
.back-to-top:focus-visible {
  color: #FBFAF7;
  background: #102B4B;
  border-color: #102B4B;
  outline: none;
}
.back-to-top svg { width: 19px; height: 19px; display: block; }

@media (max-width: 1024px) {
  .home-page .hero-brand-display span { color: rgba(232,203,175,.78); }
}

@media (max-width: 700px) {
  .home-page .hero-brand-display span {
    color: rgba(232,203,175,.76);
    -webkit-text-stroke: .75px rgba(16,43,75,.16);
  }
  .home-page .collection-card .card-content > p.card-sense {
    margin-top: -.85rem;
    margin-bottom: 1.25rem;
    font-size: .58rem;
  }
  .back-to-top {
    right: 18px;
    bottom: 72px;
    width: 37px;
    height: 37px;
  }
  .back-to-top svg { width: 18px; height: 18px; }
}


/* ========================================================================== */
/* MELTIA V5 · ajuste hero / degradados tonales / historia · 2026-10-03       */
/* ========================================================================== */

/* El CTA del menú móvil debe conservar contraste en todas las páginas. */
@media (max-width: 1024px) {
  .site-nav .nav-shop,
  .site-nav .nav-shop:visited,
  .site-nav .nav-shop:hover,
  .site-nav .nav-shop:focus-visible {
    color: #102B4B !important;
    background: #E8CBAF !important;
    border-color: #E8CBAF !important;
  }
}

/* Hero: meltia pasa a ser el elemento principal, no una marca de agua. */
.home-page .hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: clamp(700px, 86vh, 900px);
  padding-top: clamp(8.5rem, 13vh, 10.5rem);
  padding-bottom: clamp(4.5rem, 8vh, 6.5rem);
  text-align: center;
}
.home-page .hero-brand-display {
  position: relative;
  z-index: 2;
  top: auto;
  left: auto;
  width: auto;
  margin: 0 0 clamp(1.8rem, 3.4vw, 3rem);
  transform: none;
  pointer-events: none;
  text-align: center;
  white-space: nowrap;
}
.home-page .hero-brand-display span {
  display: block;
  color: #E8CBAF;
  font-size: clamp(7.5rem, 19vw, 18rem);
  font-weight: 700;
  line-height: .62;
  letter-spacing: -.075em;
  text-transform: none;
  -webkit-text-stroke: 0;
  text-shadow: 0 12px 38px rgba(16,43,75,.13);
}
.home-page .hero-content {
  z-index: 2;
  width: min(100%, 860px);
  max-width: 860px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  text-align: center;
}
.home-page .hero-content::before { display: none; content: none; }
.home-page .hero h1 {
  max-width: 860px;
  margin: 0 auto;
  font-size: clamp(3.2rem, 7vw, 6.6rem);
  line-height: .92;
  letter-spacing: -.055em;
}
.home-page .hero .hero-kicker {
  margin: 1.45rem 0 0;
  color: rgba(16,43,75,.78);
  font-size: .7rem;
  letter-spacing: .18em;
}
.home-page .hero-copy {
  max-width: 690px;
  margin: 1.55rem auto 1.9rem;
}
.home-page .hero-actions { justify-content: center; }
.home-page .hero::before {
  background:
    radial-gradient(circle at 78% 22%, rgba(232,203,175,.58), transparent 28%),
    radial-gradient(circle at 18% 82%, rgba(251,250,247,.20), transparent 30%);
}

/* Cajas/secciones: degradados sutiles dentro de una misma familia cromática. */
.home-page .collections {
  color: #102B4B;
  background: linear-gradient(145deg, #F3DFCB 0%, #E8CBAF 58%, #DEBFA1 100%);
}
.home-page .collections .section-top h2,
.home-page .collections .section-top > p,
.home-page .collections .section-number { color: #102B4B; }
.home-page .collections .section-top h2 em { color: #919876; }
.home-page .burners-teaser {
  background: linear-gradient(145deg, #FBFAF7 0%, #F4F1EA 100%);
}
.home-page .values > div {
  background: linear-gradient(145deg, #FBFAF7 0%, #F4F1EA 100%);
}
.home-page .story {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(145deg, #AEB493 0%, #919876 58%, #858D6B 100%);
}
.home-page .story::after {
  content: "♥";
  position: absolute;
  z-index: 0;
  left: 28%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-7deg);
  color: rgba(251,250,247,.13);
  font-size: clamp(10rem, 20vw, 20rem);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.home-page .story-content,
.home-page .story-quote {
  position: relative;
  z-index: 1;
}
.home-page .newsletter {
  background: linear-gradient(145deg, #F2DCC7 0%, #E8CBAF 56%, #DDBD9D 100%);
}

@media (max-width: 1024px) {
  .home-page .hero {
    min-height: 760px;
    padding-top: 8rem;
  }
  .home-page .hero-brand-display {
    top: auto;
    left: auto;
    margin-bottom: 2.2rem;
    transform: none;
  }
  .home-page .hero-brand-display span {
    color: #E8CBAF;
    font-size: clamp(7rem, 22vw, 13rem);
  }
}

@media (max-width: 700px) {
  .home-page .hero {
    min-height: 700px;
    padding-top: 7.2rem;
    padding-bottom: 3.8rem;
  }
  .home-page .hero-brand-display {
    top: auto;
    left: auto;
    margin-bottom: 1.8rem;
    transform: none;
  }
  .home-page .hero-brand-display span {
    color: #E8CBAF;
    font-size: clamp(5.7rem, 28vw, 8.4rem);
    letter-spacing: -.075em;
    -webkit-text-stroke: 0;
  }
  .home-page .hero-content {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .home-page .hero h1 { font-size: clamp(2.65rem, 12vw, 4.4rem); }
  .home-page .hero-copy { margin-top: 1.35rem; }
  .home-page .story::after {
    left: 50%;
    top: 26%;
    font-size: clamp(9rem, 46vw, 15rem);
    color: rgba(251,250,247,.10);
  }
}


/* ========================================================================== */
/* MELTIA V5 · coherencia de marca / héroes / valores · 2026-10-03           */
/* ========================================================================== */

/* La marca visible en cabecera y pie se presenta siempre en minúsculas. */
.brand { text-transform: lowercase; }

/* Héroes de colección: degradados tonales sutiles, sin mezclar familias. */
.bakery-page .collection-hero {
  background: linear-gradient(145deg, #DEC3AC 0%, #D1B399 58%, #C5A58B 100%);
}
.rituals-page .collection-hero {
  background: linear-gradient(145deg, #2C68AD 0%, #245EA1 58%, #1D528F 100%);
}
.labs-page .collection-hero {
  background: linear-gradient(145deg, #FADE53 0%, #F6D324 58%, #E9C51A 100%);
}
.quemadores-page .collection-hero {
  background: linear-gradient(145deg, #91A5C3 0%, #7E94B6 58%, #6D84A8 100%);
}

/* La numeración decorativa de cada serie se sustituye por la firma meltia. */
.collection-hero .series-watermark {
  right: clamp(1rem, 4vw, 4rem);
  bottom: clamp(1.2rem, 2.5vw, 2.6rem);
  z-index: -1;
  font-size: clamp(4.8rem, 13vw, 11rem);
  font-weight: 700;
  line-height: .78;
  letter-spacing: -.07em;
  text-transform: lowercase;
  opacity: .11;
  white-space: nowrap;
}
.bakery-page .series-watermark { color: #452F1D; }
.rituals-page .series-watermark { color: #F4D967; opacity: .10; }
.labs-page .series-watermark { color: #112C44; opacity: .10; }
.quemadores-page .series-watermark { color: #102B4B; opacity: .10; }

/* Valores: iconografía simple y coherente en sustitución de 01–04. */
.values .value-icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  color: #102B4B;
  margin-bottom: .15rem;
}
.values .value-icon svg {
  width: 34px;
  height: 34px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.values h3 { margin-top: .65rem; }

/* Historia: corazón más grande y en azul Meltia, siempre como fondo sutil. */
.home-page .story::after {
  left: 27%;
  top: 50%;
  color: rgba(16,43,75,.15);
  font-size: clamp(14rem, 25vw, 25rem);
}

@media (max-width: 700px) {
  .collection-hero .series-watermark {
    right: .8rem;
    bottom: 1rem;
    font-size: clamp(4.3rem, 23vw, 7.2rem);
    opacity: .09;
  }
  .values .value-icon { width: 38px; height: 38px; }
  .values .value-icon svg { width: 31px; height: 31px; }
  .home-page .story::after {
    left: 50%;
    top: 28%;
    color: rgba(16,43,75,.14);
    font-size: clamp(12rem, 58vw, 19rem);
  }
}


/* ========================================================================== */
/* MELTIA V5 · refinado navegación / hero / pestañas · 2026-10-03            */
/* ========================================================================== */

/* Anclajes: la sección empieza justo bajo la cabecera fija. */
html { scroll-padding-top: 68px; }
:where(section[id], article[id], main[id]) { scroll-margin-top: 68px; }

/* Hero principal: más aire entre la firma meltia y el mensaje de marca. */
.home-page .hero-brand-display {
  margin-bottom: clamp(4.8rem, 7vw, 7rem);
}
.home-page .hero {
  min-height: clamp(780px, 94vh, 980px);
}

/* Valores: solo texto. Sin numeración ni iconografía. */
.home-page .values h3 {
  margin-top: 0;
}

/* Bakery y Rituals: navegación de categorías compacta y sin scroll lateral en móvil. */
@media (max-width: 700px) {
  html { scroll-padding-top: 68px; }
  :where(section[id], article[id], main[id]) { scroll-margin-top: 68px; }

  .home-page .hero {
    min-height: 790px;
    padding-top: 7.5rem;
  }
  .home-page .hero-brand-display {
    margin-bottom: 4rem;
  }

  .bakery-page .category-nav,
  .rituals-page .category-nav {
    display: grid;
    width: calc(100% - 1rem);
    overflow: visible;
    gap: .2rem;
    padding: .55rem;
  }
  .bakery-page .category-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .rituals-page .category-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .bakery-page .category-nav a,
  .rituals-page .category-nav a {
    min-width: 0;
    padding: .45rem .15rem;
    white-space: normal;
    text-align: center;
    line-height: 1.15;
    letter-spacing: .01em;
  }
  .bakery-page .category-nav a {
    font-size: clamp(.59rem, 2.65vw, .69rem);
  }
  .rituals-page .category-nav a {
    font-size: clamp(.54rem, 2.3vw, .64rem);
  }
}

/* ========================================================================== */
/* MELTIA V5 · hero con más aire / degradados / firma final · 2026-10-03      */
/* ========================================================================== */

/* La firma del hero se separa claramente del mensaje y gana contraste elegante. */
.home-page .hero {
  min-height: clamp(900px, 108vh, 1120px);
}
.home-page .hero-brand-display {
  margin-bottom: clamp(8.5rem, 12vw, 12rem);
}
.home-page .hero-brand-display span {
  color: #FBFAF7;
  -webkit-text-stroke: 1.35px rgba(16,43,75,.48);
  text-shadow:
    0 2px 0 rgba(232,203,175,.95),
    0 8px 24px rgba(16,43,75,.16),
    0 28px 70px rgba(16,43,75,.10);
}

/* Cita de historia: profundidad suave dentro de la familia azul Meltia. */
.home-page .story-quote {
  background: linear-gradient(145deg, #102B4B 0%, #24445F 55%, #36566F 100%);
}

/* CTA final: degradado crema más visible, siempre dentro de la misma familia. */
.home-page .newsletter {
  background: linear-gradient(145deg, #F6E7D8 0%, #E8CBAF 54%, #DAB794 100%);
}

/* Footer: la marca deja de ocupar la cabecera y se convierte en firma final. */
.site-footer,
.home-page .site-footer {
  position: relative;
  overflow: hidden;
}
.site-footer .footer-brand .brand,
.home-page .site-footer .footer-brand .brand {
  display: none;
}
.site-footer::after,
.home-page .site-footer::after {
  content: "meltia";
  grid-column: 1 / -1;
  display: block;
  width: 100%;
  margin: clamp(2rem, 4vw, 3.5rem) 0 -.06em;
  color: rgba(232,203,175,.12);
  font-size: clamp(6rem, 16vw, 15rem);
  font-weight: 700;
  line-height: .72;
  letter-spacing: -.075em;
  text-align: center;
  text-transform: lowercase;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 1024px) {
  .home-page .hero {
    min-height: 980px;
  }
  .home-page .hero-brand-display {
    margin-bottom: 8rem;
  }
}

@media (max-width: 700px) {
  .home-page .hero {
    min-height: 930px;
    padding-top: 8rem;
    padding-bottom: 4.4rem;
  }
  .home-page .hero-brand-display {
    margin-bottom: 6.8rem;
  }
  .home-page .hero-brand-display span {
    color: #FBFAF7;
    -webkit-text-stroke: 1px rgba(16,43,75,.48);
    text-shadow:
      0 2px 0 rgba(232,203,175,.92),
      0 7px 20px rgba(16,43,75,.15),
      0 20px 48px rgba(16,43,75,.09);
  }
  .site-footer::after,
  .home-page .site-footer::after {
    margin-top: 2.2rem;
    font-size: clamp(5.5rem, 28vw, 9rem);
    color: rgba(232,203,175,.11);
  }
}

/* ========================================================================== */
/* MELTIA V5 FINAL · firma principal minimal · 2026-10-03                    */
/* Solo afecta a la palabra "meltia" del hero del index.                     */
/* ========================================================================== */
.home-page .hero-brand-display span {
  color: rgba(16,43,75,.72);
  -webkit-text-stroke: 0;
  text-shadow: none;
  font-weight: 700;
  letter-spacing: -.065em;
}

@media (max-width: 700px) {
  .home-page .hero-brand-display span {
    color: rgba(16,43,75,.68);
    -webkit-text-stroke: 0;
    text-shadow: none;
  }
}

/* MELTIA V6 · Packs · lavanda pastel, exclusiva de esta colección */
.packs-hero {
  color:#2D3650;
  background:radial-gradient(circle at 83% 20%,rgba(255,255,255,.45),transparent 34%),linear-gradient(135deg,#D8C8E9 0%,#CFC0E3 48%,#E9E0F1 100%);
}
.packs-hero h1,.packs-hero h1 > span {
  color:#2D3650;
}
.packs-hero h1 em {
  color:#6E5A89;
}
.packs-hero .collection-intro {
  color:#3E4864;
}
.packs-hero .series-watermark {
  color:rgba(90,67,120,.10);
}
.packs-hero .breadcrumbs,.packs-hero .eyebrow,.packs-hero .text-link {
  color:#2D3650;
}
.packs-page .pack-art {
  display:flex;
  position:relative;
  isolation:isolate;
  min-height:280px;
  aspect-ratio:4/3;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-radius:12px;
  background:#EFE5DD;
  color:#684A38;
}
.packs-page .pack-art::before,.packs-page .pack-art::after {
  content:"";
  position:absolute;
  border-radius:50%;
  z-index:-1;
}
.packs-page .pack-art::before {
  width:68%;
  aspect-ratio:1;
  left:-12%;
  top:-28%;
  background:rgba(255,255,255,.4);
}
.packs-page .pack-art::after {
  width:48%;
  aspect-ratio:1;
  right:-8%;
  bottom:-32%;
  background:rgba(255,255,255,.35);
}
.packs-page .pack-art span {
  font-size:clamp(2.1rem,5vw,4rem);
  font-weight:700;
  line-height:1.04;
  letter-spacing:-.05em;
  text-align:center;
  padding:1rem;
}
.packs-page .pack-art small {
  position:absolute;
  bottom:1.2rem;
  left:1.3rem;
  font-size:.7rem;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.packs-page .pack-art.christmas {
  background:#E3E9DE;
  color:#385747;
}
.packs-page .pack-hint {
  font-size:.78rem;
  color:var(--ink-soft);
  margin:.75rem 0 0;
}
@media(max-width:600px){.packs-page .pack-art{min-height:220px}}


/* ==========================================================================
   MELTIA V6 · Menú principal unificado y desplegable de colecciones
   ========================================================================== */
.site-nav .nav-collections {
  position: relative;
  font: inherit;
  letter-spacing: inherit;
}
.site-nav .nav-collections > summary {
  display: flex;
  align-items: center;
  gap: .4rem;
  list-style: none;
  cursor: pointer;
  white-space: nowrap;
}
.site-nav .nav-collections > summary::-webkit-details-marker { display: none; }
.site-nav .dropdown-chevron {
  display: inline-block;
  font-size: 1.25em;
  transition: transform .2s ease;
}
.site-nav .nav-collections[open] .dropdown-chevron { transform: rotate(180deg); }
.site-nav .nav-collections > summary:focus-visible,
.site-nav .nav-dropdown a:focus-visible { outline: 3px solid #BA93D7; outline-offset: 4px; }
.site-nav .nav-dropdown {
  position: absolute;
  z-index: 110;
  top: calc(100% + 1.15rem);
  left: -.8rem;
  min-width: 185px;
  padding: .55rem;
  display: grid;
  gap: .15rem;
  border: 1px solid rgba(16,43,75,.13);
  border-radius: 14px;
  background: #FAF7FD;
  box-shadow: 0 18px 38px rgba(16,43,75,.18);
}
.site-nav .nav-dropdown a {
  display: block;
  padding: .75rem .9rem;
  border-radius: 9px;
  font-size: .86rem;
  color: #102B4B !important;
  text-transform: none;
  letter-spacing: 0;
}
.site-nav .nav-dropdown a:hover,
.site-nav .nav-dropdown a[aria-current="page"] { background: #E7DDF1; }
/* Firma de marca visible sobre el fondo lavanda pastel de Packs. */
.packs-page .packs-hero .series-watermark {
  color: #60477B;
  opacity: .31;
}
@media (max-width: 1024px) {
  .site-nav { justify-content: flex-start; padding-top: 6rem; padding-bottom: 2rem; }
  .site-nav .nav-collections { width: min(100%, 520px); margin-inline: auto; }
  .site-nav .nav-collections > summary {
    padding: .85rem 1rem;
    border: 1px solid rgba(207,176,140,.18);
    border-radius: var(--radius-md);
    font-size: clamp(1.45rem,4vw,2.1rem);
    font-weight: 700;
    letter-spacing: -.02em;
    text-transform: none;
    color: #FBFAF7;
  }
  .site-nav .nav-dropdown {
    position: static;
    min-width: 0;
    margin: .35rem 0 .5rem 1rem;
    padding: .3rem .55rem;
    border-left: 3px solid #BA93D7;
    border-radius: 0 10px 10px 0;
    background: rgba(255,255,255,.08);
    box-shadow: none;
  }
  .site-nav .nav-dropdown a {
    width: 100%;
    margin: 0;
    padding: .6rem .8rem;
    border: 0;
    font-size: 1.1rem;
    color: #FBFAF7 !important;
    background: transparent;
  }
  .site-nav .nav-dropdown a:hover,
  .site-nav .nav-dropdown a[aria-current="page"] { background: rgba(231,221,241,.17); }
  .packs-page .packs-hero .series-watermark { opacity: .30; }
}


/* ========================================================================== 
   MELTIA V7.1 · accesibilidad, legibilidad y pantallas pequeñas (2026-11-08)
   ========================================================================== */
/* Flecha vectorial centrada, sin diferencias de línea base según tipografía. */
.site-nav .nav-collections > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  line-height: 1.35;
}
.site-nav .dropdown-chevron {
  display: block;
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  font-size: 0;
  transform: translateY(-2px) rotate(45deg);
  transform-origin: center;
  transition: transform .2s ease;
}
.site-nav .nav-collections[open] .dropdown-chevron {
  transform: translateY(2px) rotate(225deg);
}
/* Evita que los hijos de flex/grid provoquen un desbordamiento horizontal. */
.catalog-page .collection-hero-inner,
.catalog-page .catalog-heading,
.catalog-page .product-info,
.catalog-page .product-gallery,
.catalog-page .gallery-stage,
.catalog-page .product-order,
.catalog-page .contact-cta,
.info-page .info-document { min-width: 0; }
.catalog-page h1, .catalog-page h2, .catalog-page h3,
.catalog-page p, .info-page .info-document,
.site-footer { overflow-wrap: break-word; }
.catalog-page .gallery-stage > img { max-width: 100%; }

/* A 900 px una tarjeta por fila deja leer descripciones largas en tablet. */
@media (max-width: 900px) {
  .catalog-page .product-grid { grid-template-columns: minmax(0, 1fr); }
  .catalog-page .product-card { width: 100%; }
  .catalog-page .product-info h3 { font-size: clamp(1.85rem, 5vw, 2.6rem); }
  .catalog-page .product-description { font-size: 1rem; line-height: 1.7; }
  .catalog-page .product-order .button { font-size: .8rem; }
}
@media (max-width: 700px) {
  .site-nav .nav-collections > summary { display: flex; justify-content: space-between; width: 100%; }
  .catalog-page .collection-hero h1 { font-size: clamp(2.55rem, 12vw, 4.4rem); overflow-wrap: anywhere; }
  .catalog-page .collection-hero h1 > span { font-size: clamp(1.35rem, 6vw, 2.15rem); }
  .catalog-page .gallery-stage figcaption { flex-wrap: wrap; gap: .25rem .75rem; }
  .catalog-page .product-description { font-size: 1rem; }
  .catalog-page .product-order { gap: .8rem; }
  .catalog-page .product-order .button { min-height: 44px; }
  .catalog-page .gallery-thumb { min-height: 44px; }
  .info-page .info-document { overflow-wrap: anywhere; }
}
@media (max-width: 390px) {
  .catalog-page .gallery-thumbs { gap: .35rem; }
  .catalog-page .gallery-thumb { flex-basis: 60px; }
  .catalog-page .product-card { padding: .65rem; }
}

/* Meltia V7.2: packs especiales, quemadores básicos y calendario de eventos */
.packs-page .pack-art.pack-new{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:1rem;background:linear-gradient(140deg,#d8c9b7,#ecdfd1);color:#102B4B}
.packs-page .pack-art.pack-new.event{background:linear-gradient(140deg,#bfcbbd,#e2d8ba)}
.packs-page .pack-art.pack-new.launch{background:linear-gradient(140deg,#c9c4d8,#e8cbaF)}
.packs-page .pack-art.pack-new span{font-size:clamp(1.6rem,3vw,2.7rem);line-height:1.1;position:relative;z-index:1}
.packs-page .pack-art.pack-new small{position:relative;z-index:1}
.basic-burners-section{background:#f7f4ee}
.basic-burners-section .gallery-stage>img{object-fit:contain}
.events-home{background:#f5f0e8;color:#102B4B;padding-block:clamp(3rem,6vw,6rem)}
.events-heading{max-width:1200px;margin:0 auto 2rem}
.events-heading h2{font-size:clamp(2rem,5vw,4rem);line-height:1.1;margin:.5rem 0 1rem}
.events-heading p{max-width:55ch}
.events-layout{max-width:1200px;margin:auto;display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr);gap:clamp(1rem,3vw,3rem);align-items:stretch}
.event-calendar,.event-highlight{padding:clamp(1.3rem,3vw,2.3rem);border-radius:20px;background:#fffdf9;min-width:0}
.event-calendar h3{font-size:1.35rem;margin:0 0 1.5rem}
.event-cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:.25rem;text-align:center}
.event-cal-grid span{display:grid;place-items:center;min-width:0;aspect-ratio:1;font-size:clamp(.8rem,1.4vw,1rem)}
.event-cal-weekday{font-weight:700;color:#566557}
.event-cal-date.marked{background:#102B4B;color:#fff;border-radius:50%;font-weight:700}
.event-calendar-legend{display:flex;gap:.5rem;align-items:center;font-size:.85rem;margin:1.3rem 0 0}
.event-legend-dot{display:inline-block;background:#102B4B;border-radius:50%;width:.7rem;height:.7rem;flex:none}
.event-highlight{background:#e4e1d5;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.event-highlight h3{font-size:clamp(1.5rem,3vw,2.3rem);line-height:1.15;margin:.7rem 0}
.event-place{font-weight:700}
.event-disclaimer{font-size:.83rem;opacity:.75}
.event-highlight .button{margin-top:1rem}
@media(max-width:750px){.events-layout{grid-template-columns:minmax(0,1fr)}.event-calendar,.event-highlight{padding:1.2rem}.event-cal-grid span{font-size:1rem}.events-home{padding-inline:1rem}}

/* V7.3: agenda de eventos con calendarios mensuales */
.events-schedule{display:grid;gap:clamp(1.25rem,3vw,2.25rem)}
.events-home>.event-calendar-legend{max-width:1200px;margin:1rem auto 0}
.event-source{display:inline-block;margin-top:1rem;font-size:.85rem;text-decoration:underline;text-underline-offset:3px;color:inherit}
@media(max-width:750px){.events-schedule{gap:1.4rem}}

/* MELTIA V7.4 — Galería navideña y segundo evento de diciembre */
.december-events{display:grid;grid-template-columns:minmax(0,1fr);gap:1.25rem;min-width:0}
.december-events .event-highlight{min-width:0}
.packs-page #pack-navidad .gallery-stage>img{object-fit:cover}
@media(max-width:750px){.december-events{gap:1rem}}
