
:root {
  --candela-cream: #F5EEE8;
  --candela-sage: #5F745F;
  --candela-green-deep: #4A5C4A;
  --candela-terracota: #BB461C;
  --candela-terracota-dark: #A23B14;
  --candela-coral: #E86E49;
  --candela-ink: #191918;
  --candela-ink-warm: #38332C; /* tinta cálida para body — rompe el "todo verde" (audit 2026-06-23) */
  --candela-sky: #2F90B7;
  --candela-white: #FFFFFF;
  
  --rule-soft: rgba(25, 25, 24, 0.08);
  --rule: rgba(25, 25, 24, 0.16);

  --display: "EB Garamond", Georgia, serif;
  --body: "EB Garamond", Georgia, serif;
  --ui: "Inter", -apple-system, sans-serif;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

html { overflow-x: hidden; } /* clipa el drawer fixed off-screen (body overflow-x no alcanza a position:fixed) */

body {
  margin: 0;
  background-color: var(--candela-cream);
  color: var(--candela-ink-warm);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  /* clip (no hidden): hidden deja región scrollable-oculta que el pinch-zoom-out revela
     (franja crema vacía a la derecha con el botánico flotando). clip la elimina de verdad. */
  overflow-x: clip;
}

/* Textura de fondo: papel de acuarela super tenue (sustituye al grano SVG) — Hermes gpt-image-2 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url('assets/textures/papel-acuarela.webp') center / cover no-repeat;
  mix-blend-mode: multiply;
  opacity: 0.22;
  pointer-events: none;
  z-index: -1;
}
@media (prefers-reduced-motion: reduce) { }


h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
  color: var(--candela-sage);
}

h1 i, h1 em, h2 i, h2 em {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  color: var(--candela-sage);
}

h1 { font-family: var(--display); font-size: clamp(2.6rem, 8vw, 7rem); line-height: 1.0; margin: 0 0 24px; letter-spacing: -0.02em; }
h2 { font-family: var(--display); font-size: clamp(2rem, 5vw, 4rem); line-height: 1.1; margin: 0 0 16px; letter-spacing: -0.01em; }
h3 { font-family: var(--body); font-style: italic; font-size: 32px; line-height: 1.3; }
h4 { font-family: var(--body); font-size: 24px; margin: 0 0 8px; }

.ui-text { font-family: var(--ui); }

a { color: var(--candela-terracota); text-decoration: underline; text-decoration-color: rgba(187,70,28,0.4); text-underline-offset: 3px; }
a:hover { color: var(--candela-coral); }

/* Foco visible coherente con la marca (navegación por teclado) */
a:focus-visible,
.btn-primary:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--candela-terracota);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Skip-link (oculto hasta foco) */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--candela-green-deep);
  color: var(--candela-cream);
  padding: 12px 20px;
  font-family: var(--ui);
  font-size: 14px;
  z-index: 100;
  text-decoration: none;
}
.skip:focus {
  left: 8px;
  top: 8px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  background-color: var(--candela-terracota);
  color: var(--candela-cream);
  font-family: var(--ui);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 14px 22px;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s ease;
}
.btn-primary:hover {
  background-color: var(--candela-terracota-dark);
  color: var(--candela-cream);
  transform: translateY(-2px);
  box-shadow: 0 9px 22px rgba(187,70,28,0.24);
}
.btn-primary:active { transform: translateY(0); transition-duration: 0.08s; }

header.navbar {
  padding: 24px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--rule-soft);
  width: 100%;
  box-sizing: border-box;
  transition: background-color 0.4s ease, border-color 0.4s ease;
  z-index: 100;
  /* sticky real: el header sigue en TODAS las páginas. html{overflow-x:hidden} rompe
     position:sticky, así que usamos fixed + offset de body en páginas sin hero. */
  position: fixed;
  top: 0;
  left: 0;
  background: var(--candela-cream);
}
/* offset: páginas SIN hero (internas) reservan el alto del header fijo.
   :has(.hero-fullbleed) sigue siendo el index aunque el header cambie de clase al hacer scroll. */
body:not(:has(.hero-fullbleed)) { padding-top: 92px; }
@media (max-width: 1024px) { body:not(:has(.hero-fullbleed)) { padding-top: 80px; } }

header.navbar--hero {
  position: absolute;
  top: 0;
  left: 0;
  background: transparent;
  border-bottom: 1px solid rgba(245, 238, 232, 0.15);
}
header.navbar--hero .nav-links a { color: var(--candela-cream); }
header.navbar--hero .nav-links a:hover,
header.navbar--hero .nav-links a.active { color: rgba(245, 238, 232, 0.7); }
header.navbar--hero .nav-toggle span { background: var(--candela-cream); }
header.navbar--hero .header-logo { filter: drop-shadow(0 1px 5px rgba(0,0,0,0.45)); }

header.navbar--solid {
  position: fixed;
  top: 0;
  left: 0;
  background: var(--candela-cream);
  border-bottom: 1px solid var(--rule-soft);
  /* Profundidad: el header se siente "más cerca" sin oscurecer el fondo crema. */
  box-shadow: 0 2px 14px rgba(25, 25, 24, 0.07);
}
/* Páginas internas (sin hero): mismo recurso de profundidad. */
body:not(:has(.hero-fullbleed)) header.navbar {
  box-shadow: 0 2px 14px rgba(25, 25, 24, 0.07);
}
header.navbar--solid .nav-links a { color: var(--candela-green-deep); }
header.navbar--solid .nav-toggle span { background: var(--candela-green-deep); }
header.navbar--solid .header-logo { filter: none; }

.nav-links {
  display: flex;
  gap: 32px;
  font-family: var(--ui);
  font-size: 14px;
  letter-spacing: 0.02em;
}

.nav-links a {
  color: var(--candela-green-deep);
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--candela-terracota);
}

.logo {
  display: flex;
  align-items: center;
}
.header-logo {
  height: 44px;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  /* longhand: NO matar el padding horizontal del .container cuando un elemento es 'container section' */
  /* aire premium (audit color/jerarquía 2026-06-23: el silencio separa, no el color) */
  padding-top: 128px;
  padding-bottom: 128px;
}
/* CTA final editorial (ex slab verde) */
.cta-editorial { text-align: center; }
.cta-editorial h2 { font-size: clamp(30px, 4vw, 46px); margin: 0; }
.cta-editorial .lead { max-width: 560px; margin-left: auto; margin-right: auto; color: var(--candela-sage); }

/* --- OLA 6: HERO FULL-BLEED --- */
.hero-fullbleed {
  position: relative;
  width: 100vw;
  min-height: min(90vh, 760px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--candela-cream);
}

.hero-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--candela-green-deep);
  background-image: url('assets/photos/golden-retrato.webp'); /* foto real (acuarela fuera del hero) */
  background-size: cover;
  background-position: center 30%;
  opacity: 1;
  z-index: 1;
}

.hero-scrim {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  /* Full-height: oscurece la izquierda (donde vive el texto) + vignette inferior.
     Garantiza contraste del titular cream sobre la acuarela clara. */
  background:
    linear-gradient(105deg, rgba(25, 25, 24, 0.72) 0%, rgba(25, 25, 24, 0.34) 50%, rgba(25, 25, 24, 0) 80%),
    linear-gradient(to top, rgba(25, 25, 24, 0.40) 0%, rgba(25, 25, 24, 0) 48%);
  z-index: 2;
}

.hero-content-overlay {
  position: relative;
  z-index: 3;
  padding-top: 80px;
  width: 100%;
}

.hero-content-overlay h1, 
.hero-content-overlay h1 em,
.hero-content-overlay .lead {
  color: var(--candela-cream);
}

.btn-primary--hero {
  background-color: var(--candela-cream);
  color: var(--candela-green-deep);
}
.btn-primary--hero:hover {
  background-color: var(--candela-white);
  color: var(--candela-ink);
}

@media (max-width: 768px) {
  .hero-fullbleed {
    min-height: 85vh;
  }
  .hero-content-overlay {
    padding-top: 100px;
    padding-bottom: 64px;
  }
  /* Móvil: el degradado lateral no cubre el texto a todo el ancho.
     Scrim vertical más fuerte para contraste del titular cream y del CTA (feedback Candela 2026-06-17). */
  .hero-scrim {
    background:
      linear-gradient(to top, rgba(25, 25, 24, 0.62) 0%, rgba(25, 25, 24, 0.28) 55%, rgba(25, 25, 24, 0.42) 100%);
  }
  /* Dos columnas → una en móvil */
  .grid-2-col {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .grid-offset > :nth-child(2),
  .grid-offset > :nth-child(even) {
    margin-top: 0;
  }
  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  h1 { font-size: 44px; }
  h2 { font-size: 34px; }
}

footer {
  padding: 32px 48px;
  border-top: 1px solid var(--rule-soft);
  font-family: var(--ui);
  font-size: 12px;
  color: var(--candela-ink);
  opacity: 0.85;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-info {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 600px;
  line-height: 1.6;
}
.footer-info span {
  white-space: nowrap;
}

.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  color: var(--candela-ink);
  text-decoration: none;
}

.lead {
  font-size: 22px;
  line-height: 1.4;
  max-width: 700px;
}

/* Forms */
label {
  display: block;
  font-family: var(--ui);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--candela-green-deep);
  margin-bottom: 8px;
}

input, textarea {
  width: 100%;
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid var(--candela-green-deep);
  background: transparent;
  font-family: var(--body);
  font-size: 18px;
  color: var(--candela-green-deep);
  margin-bottom: 24px;
}
input:focus, textarea:focus {
  outline: none;
  border-bottom-color: var(--candela-terracota);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px;
}

.service-card {
  border-top: 1px solid var(--candela-green-deep);
  padding-top: 24px;
}

.service-card h3 {
  margin-top: 0;
  font-size: 28px;
}

.price {
  font-family: var(--ui);
  font-weight: 500;
  color: var(--candela-terracota);
  margin-top: 16px;
  display: block;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}
.product-card {
  background: var(--candela-white);
  padding: 24px;
  border: 1px solid var(--rule-soft);
  box-shadow: 0 4px 16px rgba(162, 59, 20, 0.03), 0 1px 4px rgba(162, 59, 20, 0.02);
}

/* Utilities */
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.mt-80 { margin-top: 80px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.max-w-700 { max-width: 700px; }
.max-w-800 { max-width: 800px; }
.text-center { text-align: center; }
.d-block { display: block; }
.box-panel {
  padding: 48px;
  background: var(--candela-white);
  border: 1px solid var(--rule-soft);
  box-shadow: 0 8px 32px rgba(162, 59, 20, 0.04), 0 2px 8px rgba(162, 59, 20, 0.02);
}
.box-panel-green {
  padding: 64px;
  background: var(--candela-green-deep);
  color: var(--candela-cream);
  text-align: center;
  box-shadow: 0 8px 32px rgba(25, 25, 24, 0.08);
}
.box-panel-green h2, .box-panel-green p {
  color: var(--candela-cream);
}
.box-panel-green .btn-primary {
  background-color: var(--candela-cream);
  color: var(--candela-green-deep);
}
.box-panel-green .btn-primary:hover {
  background-color: var(--candela-white);
  color: var(--candela-ink);
}
.image-slot {
  aspect-ratio: 1;
  background: var(--rule-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-slot-4-3 {
  aspect-ratio: 4/3;
  background: var(--rule-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.placeholder-text {
  font-family: var(--ui);
  font-size: 12px;
  color: var(--candela-ink);
}
.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.grid-offset {
  align-items: start;
}
.grid-2-col.grid-offset > :nth-child(2) {
  margin-top: 120px;
}
.product-grid.grid-offset > :nth-child(even) {
  margin-top: 80px;
}
.list-bare {
  list-style: none;
  padding: 0;
  margin: 0;
}
.bg-green-deep { background-color: var(--candela-green-deep) !important; color: var(--candela-cream) !important; }
.color-terracota { color: var(--candela-terracota); }
.flex-gap-16 { display: flex; gap: 16px; flex-wrap: wrap; }
.box-panel-soft { background: var(--rule-soft); border: none; }

/* ===================== OLA 1 — quick wins (2026-06-13) ===================== */

/* 1. Placeholders de MARCA — fuera el cemento gris */
.image-slot, .image-slot-4-3 {
  background: color-mix(in srgb, var(--candela-sage) 16%, var(--candela-cream));
  border-radius: 6px;
}
.services-grid .service-card:nth-child(3n+2) .image-slot { background: color-mix(in srgb, var(--candela-terracota) 11%, var(--candela-cream)); }
.services-grid .service-card:nth-child(3n)   .image-slot { background: color-mix(in srgb, var(--candela-green-deep) 14%, var(--candela-cream)); }
.product-grid  .product-card:nth-child(2n)   .image-slot { background: color-mix(in srgb, var(--candela-terracota) 11%, var(--candela-cream)); }
.placeholder-text { color: var(--candela-green-deep); opacity: 0.45; }

/* 2. Botón secundario ghost (calmar CTAs dobles) */
.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px;
  background: transparent;
  color: var(--candela-green-deep);
  border: 1px solid var(--candela-green-deep);
  font-family: var(--ui); font-size: 14px; font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 13px 22px; border-radius: 6px; text-decoration: none; cursor: pointer;
}
.btn-secondary:hover { background: var(--candela-green-deep); color: var(--candela-cream); }

/* 3. Aligerar la franja verde (Servicios + CTA) */
.box-panel-green { padding: 48px; }
.box-panel-green h2 { font-size: 32px; }

/* 4. Divisores de servicio: acento corto, no "ticket de banco" */
.service-card {
  border-top: none;
  padding-top: 28px;
  position: relative;
}
.service-card::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 40px; height: 2px;
  background: var(--candela-terracota);
}

/* 5. Nota silenciosa (sin alertas terracota baratas) */
.muted-note { color: var(--candela-green-deep); font-style: italic; opacity: 0.7; }

.bg-cream-warm { background-color: color-mix(in srgb, var(--candela-cream) 98.5%, var(--candela-terracota-dark)); }

.botanical-accent {
  position: absolute;
  width: 600px;
  height: auto;
  z-index: 0;
  pointer-events: none;
  opacity: 0.1;
}
.botanical-left {
  left: -200px;
  bottom: -150px;
  top: auto;
  transform: rotate(15deg);
}
.botanical-right {
  right: -10vw;
  top: 0;
  max-width: 700px;
  opacity: 0.35;
}
.position-relative { position: relative; overflow: hidden; }

/* --- OLA 6: ASYMMETRY + AIR --- */
.pb-120 { padding-bottom: 120px; }
.pt-120 { padding-top: 120px; }
.mb-64 { margin-bottom: 64px; }
.mb-80 { margin-bottom: 80px; }

.asym-layout { display: flex; justify-content: flex-start; }
.asym-text-left { max-width: 700px; }
.asym-text-right { max-width: 600px; margin-left: auto; }

.asym-section { padding: 120px 0; }
/* Audit desktop AG: el stagger diagonal con margin-top creaba huecos torpes ("fracaso visual").
   Grid limpio 3-col alineado arriba; la tensión editorial la da el hairline ::before, no el hueco. */
.services-grid-asym {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  align-items: start;
}
.services-grid-asym > :nth-child(1),
.services-grid-asym > :nth-child(2),
.services-grid-asym > :nth-child(3) { grid-column: auto; margin-top: 0; }

.asym-section-bleed {
  position: relative;
  padding: 120px 0;
}
.bleed-left {
  width: calc(100% + 50vw - 50%);
  margin-left: calc(-50vw + 50%);
  border-radius: 0 100px 0 0;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .services-grid-asym { display: flex; flex-direction: column; gap: 64px; }
  .services-grid-asym > * { margin-top: 0 !important; }
  .bleed-left { width: 100vw; margin-left: -28px; border-radius: 0; }
}

/* Fix colisión Ola 2: el hero desborda -160px sobre la franja filosofía (text-center).
   Padding-top extra → el bloque sangra en el hueco superior, no sobre el titular. */
.filo-overlap { padding-top: 200px; }
@media (max-width: 768px) { .filo-overlap { padding-top: 64px; } }

/* ===================== OLA 5 — Menú hamburguesa (móvil + tablet ≤1024px) ===================== */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 60;
}
.nav-toggle span {
  display: block;
  width: 100%; height: 2px;
  background: var(--candela-green-deep);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}
.nav-backdrop {
  position: fixed; inset: 0;
  background: color-mix(in srgb, var(--candela-ink) 42%, transparent);
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  z-index: 40;
}

@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  header.navbar { padding: 16px 24px; }
  /* Móvil: la barra del hero deja de flotar transparente sobre la imagen.
     Color de marca sólido para que logo + hamburguesa se lean (feedback Candela 2026-06-17). */
  header.navbar--hero {
    background: var(--candela-green-deep);
    border-bottom: 1px solid rgba(245, 238, 232, 0.12);
  }
  .nav-links {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(80vw, 320px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 4px;
    background: var(--candela-cream);
    padding: 96px 32px 32px;
    box-shadow: -14px 0 44px rgba(25, 25, 24, 0.14);
    transform: translateX(100%);
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 50;
  }
  .nav-links a {
    width: 100%;
    font-size: 18px;
    padding: 12px 0;
    border-bottom: 1px solid var(--rule-soft);
  }
  /* El panel del drawer es crema en movil: forzar texto oscuro en ambas variantes
     (hero pinta los links en crema -> invisibles sobre el panel crema). */
  header.navbar--hero .nav-links a,
  header.navbar--solid .nav-links a,
  .nav-links a { color: var(--candela-green-deep); }
  header.navbar--hero .nav-links a:hover,
  header.navbar--hero .nav-links a.active,
  header.navbar--solid .nav-links a:hover,
  header.navbar--solid .nav-links a.active,
  .nav-links a:hover,
  .nav-links a.active { color: var(--candela-terracota); }
  /* La X del toggle queda sobre el panel crema al abrir: oscura siempre */
  body.nav-open .nav-toggle span,
  body.nav-open header.navbar--hero .nav-toggle span { background: var(--candela-green-deep); }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav-links { transform: translateX(0); }
  body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }
  /* hamburguesa → X */
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (prefers-reduced-motion: reduce) {
  .nav-links, .nav-toggle span, .nav-backdrop { transition: none; }
}

/* ===================== OLA 4 — Scroll reveal (progressive enhancement) ===================== */
/* La clase .reveal SOLO la añade reveal.js → sin JS el contenido es visible (no se oculta nada). */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===================== Ola 5 QA /responsive — touch targets ≥44px en móvil ===================== */
@media (max-width: 768px) {
  /* Enlaces de acción inline en cards ("Reservar →", "Ver Escaparate") — NUNCA los botones */
  .service-card a.d-block:not(.btn-primary):not(.btn-secondary),
  .product-card a:not(.btn-primary):not(.btn-secondary),
  main section a.d-block:not(.btn-primary):not(.btn-secondary) {
    display: inline-block;
    padding: 11px 0;
  }
  /* Enlaces legales del footer */
  .footer-links a { padding: 13px 0; display: inline-block; }
}

/* ===================== Ola 6 Claude — ken-burns hero + header transition ===================== */
header.navbar { transition: background-color 0.35s ease, border-color 0.35s ease; }

@keyframes heroKenBurns {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}
.hero-media { animation: heroKenBurns 22s ease-out forwards; transform-origin: center; }
@media (prefers-reduced-motion: reduce) {
  .hero-media { animation: none; }
}

/* ===================== FIX móvil (auditoría 2026-06-13) — gana por orden de fuente ===================== */
@media (max-width: 768px) {
  /* grid-2-col DEBE apilar — la base 1fr 1fr de Ola 6 lo estaba pisando */
  .grid-2-col { grid-template-columns: 1fr !important; gap: 32px; }
  /* offset de revista (margin-top 120/80) sin sentido apilado en móvil */
  .grid-2-col.grid-offset > :nth-child(2),
  .product-grid.grid-offset > :nth-child(even),
  .services-grid > * { margin-top: 0 !important; }
  /* botánico decorativo: no solapar el texto en móvil */
  .botanical-accent { display: none; }
  /* botones: nunca más anchos que el contenedor, texto centrado */
  .btn-primary, .btn-secondary { max-width: 100%; }
}

/* ===================== FIX móvil 2 (audit AG todas-refs 2026-06-13) ===================== */
/* Precios sutiles (Fellwohl: el precio acompaña, no grita) */
.price { color: var(--candela-green-deep); font-weight: 400; font-family: var(--body); font-size: 18px; }

/* Línea de servicio: hairline sutil a sangre de columna, no barra terracota corta */
.service-card::before {
  width: 100%;
  height: 1px;
  background: color-mix(in srgb, var(--candela-sage) 28%, transparent);
}

@media (max-width: 768px) {
  /* Botones de acción full-width en móvil: sin wrap, stack coherente, buen tap */
  .btn-primary, .btn-secondary { width: 100%; box-sizing: border-box; }
  .flex-gap-16 { flex-direction: column; align-items: stretch; }
  /* Gutter editorial un punto más generoso */
  .container { padding-left: 28px; padding-right: 28px; }
}

/* ===================== FIX móvil 3 (cierre audit AG: footer + aire tienda) ===================== */
@media (max-width: 768px) {
  /* Footer: legible y tapeable (AG [BAJO]: minusculo/apretado) */
  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 48px 28px;
    font-size: 13px;
  }
  .footer-info { line-height: 1.9; gap: 4px 10px; max-width: none; }
  .footer-links { gap: 20px; }
  /* Aire en las tarjetas de producto/servicio (AG [ALTO]: placeholders sin aire) */
  .product-card { padding: 20px; }
  .image-slot, .image-slot-4-3 { aspect-ratio: 4 / 3; }
}

/* ===================== FIX desktop (audit AG 2026-06-13) ===================== */
/* FIX 2 — Tienda: cards no gigantes en 1440 (limitar y centrar) */
.product-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 380px)); justify-content: center; }
/* FIX 2 — Legal/texto: columna de lectura limitada en monitor ancho */
.narrow { max-width: 760px; }
.legal-body { max-width: 68ch; }
/* FIX 3 — Acuarelas: pigmento sobre papel, no pegatina (chupan el crema de fondo) */
.botanical-accent { mix-blend-mode: multiply; opacity: 0.3; }
.asym-section .botanical-accent { opacity: 0.4; } /* en servicios compite menos con la lista */

/* ===================== FIX 5 — Journal estructura de revista (audit desktop AG) ===================== */
.journal-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  padding-top: 28px;
  position: relative;
}
.journal-hero::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 40px; height: 1px; background: color-mix(in srgb, var(--candela-sage) 28%, transparent);
}
.journal-hero .image-slot-4-3 { aspect-ratio: 16 / 10; }
.journal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}
@media (max-width: 768px) {
  .journal-hero { grid-template-columns: 1fr; gap: 24px; }
  .journal-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ===================== FOTOS REALES + botánica de acento (2026-06-13) ===================== */
/* Imágenes reales llenan los slots de marca */
.image-slot img, .image-slot-4-3 img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.image-slot, .image-slot-4-3 { overflow: hidden; }
/* Botánica de acuarela (Hermes gpt-image-2) — acento sutil sin fondo, baja opacidad */
.asym-section { position: relative; overflow: hidden; }
.section-botanica {
  position: absolute;
  top: -40px; right: -160px;
  width: 520px; height: auto;
  opacity: 0.22;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 768px) {
  .section-botanica { width: 280px; right: -40px; top: -20px; opacity: 0.18; }
}

/* ===================== MICRO-INTERACCIONES nivel awwwards (motion-web 2026-06-13) ===================== */
/* Combo: motion-design-philosophy (ease-out expo, sin bounce, sobrio) + gsap-core (curvas).
   CSS-first + JS vanilla (sin librería). Solo en punteros finos y sin reduced-motion. */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  /* Cards de servicio/producto: lift suave + zoom lento de la foto */
  .service-card, .product-card {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
    will-change: transform;
  }
  .service-card .image-slot img, .product-card .image-slot img,
  .service-card .image-slot, .product-card .image-slot {
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px -22px rgba(25, 25, 24, 0.28);
  }
  .service-card:hover { transform: translateY(-5px); }
  .service-card:hover .image-slot img, .product-card:hover .image-slot img { transform: scale(1.05); }

  /* Botones: lift sutil + sombra al hover */
  .btn-primary, .btn-secondary {
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
                background-color 0.25s ease, color 0.25s ease, box-shadow 0.3s ease;
    will-change: transform;
  }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(162, 59, 20, 0.5); }
  .btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -14px rgba(74, 92, 74, 0.4); }

  /* Nav links: subrayado que se dibuja de izquierda a derecha */
  .nav-links a { position: relative; }
  .nav-links a::after {
    content: ""; position: absolute; left: 0; bottom: -4px;
    width: 100%; height: 1px; background: currentColor;
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .nav-links a:hover::after { transform: scaleX(1); }

  /* Enlaces de acción inline ("Reservar →"): subrayado draw + empuje de la flecha */
  a.d-block {
    text-decoration: none;
    background-image: linear-gradient(var(--candela-terracota), var(--candela-terracota));
    background-size: 0% 1px; background-position: 0 100%; background-repeat: no-repeat;
    transition: background-size 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }
  a.d-block:hover { background-size: 100% 1px; }

  /* CTA magnético: transición suave del transform que aplica magnetic.js */
  .magnetic { transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1); will-change: transform; }
}

/* ===================== TIENDA AWWWARDS + RECOGIDA SPLIT (plan tienda 2026-06-13) ===================== */
.display-block { display: block; }
.btn-fullwidth { width: 100%; }
.btn-outline-cream {
  background: transparent;
  border: 1px solid var(--candela-cream);
  color: var(--candela-cream);
}
.btn-outline-cream:hover { background: var(--candela-cream); color: var(--candela-green-deep); }

/* --- Featured product (drop-the-box, foto grande a sangre sobre cream) --- */
.product-featured {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 72px;
  align-items: center;
}
.product-featured-image { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 16px;
  transition: box-shadow 0.5s cubic-bezier(0.22,1,0.36,1); }
.product-featured-image img { width: 100%; height: 100%; object-fit: cover; display: block;
  will-change: transform; backface-visibility: hidden; }
/* FIX salto del hover (2026-06-23): img.blurup (transition opacity, +abajo en la cascada)
   clobberaba la transition de transform → el scale del hover saltaba en seco. Regla de mayor
   especificidad que transiciona AMBOS (transform lento suave + opacity del blur-up). */
.product-featured-image img,
.product-featured-image img.blurup {
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1), opacity 0.7s cubic-bezier(0.22,1,0.36,1);
}
/* micro: zoom MUY sutil y lento (smooth, no brusco) + sombra suave del bloque */
.product-featured:hover .product-featured-image { box-shadow: 0 18px 44px rgba(74,92,74,0.15); }
.product-featured:hover .product-featured-image img { transform: scale(1.035); }

/* press en chips de gramaje */
.variant-select label:active { transform: scale(0.96); }

@media (prefers-reduced-motion: reduce) {
  .btn-primary:hover, .product-featured:hover .product-featured-image img,
  .variant-select label:active { transform: none; }
}
.product-featured-info h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); }

/* --- Selector de variante (micro-interacción Claude) --- */
.variant-select { display: flex; gap: 10px; margin: 0 0 28px; position: relative; flex-wrap: wrap; }
.variant-select input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.variant-select label {
  font-family: var(--ui); font-size: 13px; letter-spacing: 0.04em;
  padding: 9px 18px; border: 1px solid var(--rule); border-radius: 999px;
  color: var(--candela-green-deep); cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.variant-select label:hover { border-color: var(--candela-green-deep); }
.variant-select input:checked + label {
  background: var(--candela-green-deep); border-color: var(--candela-green-deep);
  color: var(--candela-cream);
}
.variant-select input:focus-visible + label { outline: 2px solid var(--candela-terracota); outline-offset: 2px; }

/* --- Banda editorial full-bleed (foto + claim oversized) --- */
.editorial-band {
  position: relative;
  width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw;
  min-height: 46vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.editorial-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.editorial-band::after { content: ""; position: absolute; inset: 0; background: rgba(25,25,24,0.42); }
.editorial-claim {
  position: relative; z-index: 2; color: var(--candela-cream);
  text-align: center; font-size: clamp(2.2rem, 5.5vw, 4.6rem);
  line-height: 1.05; max-width: 14ch; padding: 0 24px;
}
.editorial-claim em { color: var(--candela-cream); }

/* --- Muda editorial: imagen full-bleed silenciosa (limpiador de paladar, north-star A5) --- */
.muda-band {
  position: relative;
  width: 100vw; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw;
  min-height: clamp(58vh, 66vh, 700px); overflow: hidden;
}
.muda-band img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%; /* cara del animal arriba-centro */
  display: block;
}
@media (max-width: 768px) {
  .muda-band { min-height: 52vh; }
  .muda-band img { object-position: center top; } /* nunca decapitar en movil (C1) */
}

/* --- Grid de producto (drop-the-box: sin tarjeta blanca, foto sobre cream) --- */
.product-grid-new { display: grid; grid-template-columns: repeat(2, 1fr); gap: 64px; }
.product-item .product-image { aspect-ratio: 1; overflow: hidden; border-radius: 12px;
  transition: box-shadow 0.4s cubic-bezier(0.22,1,0.36,1); }
.product-item .product-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Hover = lift de tarjeta + sombra suave (limpio y coherente en tiles foto y cutout;
   sustituye al scale de imagen que se veía brusco). Solo transform/opacity/shadow. */
.product-item { transition: transform 0.4s cubic-bezier(0.22,1,0.36,1); }
.product-item:hover { transform: translateY(-6px); }
.product-item:hover .product-image { box-shadow: 0 16px 38px rgba(74,92,74,0.16); }
@media (prefers-reduced-motion: reduce) {
  .product-item:hover { transform: none; }
}
.product-item h3 { font-style: normal; font-family: var(--display); font-size: 26px; }

/* --- Recogida a domicilio: split-screen a sangre (mata la caja blanca) --- */
.split-screen {
  display: grid; grid-template-columns: 1fr 1fr;
  width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw;
  min-height: 68vh; overflow: hidden;
}
.split-image { overflow: hidden; }
.split-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; }
.split-content {
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px clamp(40px, 6vw, 96px);
  color: var(--candela-cream);
}
.bg-sage { background: var(--candela-sage); }
.split-content h2, .split-content .lead, .split-content em { color: var(--candela-cream); }
.split-content .lead { opacity: 0.92; }
.price-highlight { display: flex; align-items: baseline; gap: 14px; }
.price-big { font-family: var(--display); font-size: clamp(3rem, 6vw, 5rem); line-height: 1; color: var(--candela-cream); }
.price-desc { font-family: var(--ui); font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.8; }

@media (max-width: 768px) {
  .product-featured { grid-template-columns: 1fr; gap: 32px; }
  .product-grid-new { grid-template-columns: 1fr; gap: 48px; }
  .editorial-band { min-height: 40vh; }
  .split-screen { grid-template-columns: 1fr; min-height: 0; }
  .split-image { aspect-ratio: 4 / 3; }
  .split-content { padding: 56px 28px; }
}

/* ===================== FIX audit final AG 8.5/10 (2026-06-13) ===================== */
/* 5. Pills de variante: editoriales, no UI estándar (borde fino, mayúsculas espaciadas) */
.variant-select label {
  border-radius: 4px;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.1em;
  border: 1px solid var(--rule);
  background: transparent;
}
.variant-select input:checked + label {
  background: transparent;
  border-color: var(--candela-terracota);
  color: var(--candela-terracota);
}
/* 2/4. Aire foto→título en tarjetas de producto */
.product-item .product-image { margin-bottom: 32px; }
.product-item h3 { margin-top: 4px; }

@media (max-width: 768px) {
  /* 1. Hero móvil: desplazar foco de la foto + scrim más fuerte para que el titular respire */
  .hero-media { background-position: 72% 28%; }
  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(25,25,24,0.55) 0%, rgba(25,25,24,0.15) 38%, rgba(25,25,24,0.1) 62%, rgba(25,25,24,0.55) 100%);
  }
  /* 3. Safe-area iOS: botones inferiores no pisados por el Home Indicator */
  footer { padding-bottom: calc(48px + env(safe-area-inset-bottom)); }
  .flex-gap-16 { padding-bottom: env(safe-area-inset-bottom); }
  /* 6. Placeholder de mapa: cuadrado/vertical en móvil, no apaisado bajo */
  .image-slot { aspect-ratio: 1 / 1; }
}

/* ===================== PARALLAX sutil acuarelas (efecto spa, motion-web) ===================== */
.botanical-accent, .section-botanica { will-change: transform; }
.botanical-right { transform: translateY(var(--py, 0px)); }
.botanical-left { transform: rotate(15deg) translateY(var(--py, 0px)); }
.section-botanica { transform: translateY(var(--py, 0px)); }
@media (prefers-reduced-motion: reduce) {
  .botanical-right, .botanical-left, .section-botanica { transform: none !important; }
}

/* ===================== CAMINO AL 10 (review AG 9.6) ===================== */
/* 1. Page transitions (View Transitions API, MPA) — progressive: no-op si no hay soporte */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 0.28s ease both; }
::view-transition-new(root) { animation: vt-in 0.42s ease both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* 2. Blur-up: placeholder cálido + fade-in al cargar (la clase la pone blur-up.js) */
.image-slot, .image-slot-4-3, .product-featured-image, .product-item .product-image,
.split-image, .editorial-band, .hero-img-container {
  background-color: color-mix(in srgb, var(--candela-sage) 14%, var(--candela-cream));
}
img.blurup { opacity: 0; transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1); }
img.blurup.is-loaded { opacity: 1; }
@media (prefers-reduced-motion: reduce) { img.blurup { opacity: 1; transition: none; } }

/* =========================================================================
   ESCAPARATE + FICHA — pulido microinteracciones (auditoría 2026-06-16)
   ========================================================================= */
/* Tarjeta: nombre sin subrayado, hover calmado (no coral) */
.product-item h3 a { color: var(--candela-sage); text-decoration: none; transition: color .2s ease; }
.product-item h3 a:hover { color: var(--candela-terracota); }
.product-item .product-image a, .product-item a:has(.product-image) { text-decoration: none; display: block; }

/* CTA de tarjeta = enlace ligero (sustituye al botón terracota grande del grid) */
.card-link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--ui); font-size: 14px;
  letter-spacing: .02em; color: var(--candela-sage); text-decoration: none;
  transition: gap .2s ease, color .2s ease; }
.card-link:hover { color: var(--candela-terracota); gap: 10px; }
.card-link .arr { transition: transform .2s ease; }
.card-link:hover .arr { transform: translateX(3px); }

/* Enlace "¿Dudas?" — hover calmado, no coral */
.pd-ask { transition: color .2s ease; }
.pd-ask:hover { color: var(--candela-terracota-dark); }

/* Toolbar de tienda: buscador + chips de categoría */
.shop-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 44px; }
.shop-search { flex: 0 1 320px; min-width: 220px; display: flex; align-self: center; height: 46px; }
.shop-search input { display: block; width: 100%; height: 46px; box-sizing: border-box; font-family: var(--ui); font-size: 15px;
  color: var(--candela-green-deep); background: var(--candela-white); border: 1px solid var(--rule);
  border-radius: 999px; padding: 0 20px; }
.shop-search input::placeholder { color: var(--candela-sage); opacity: .7; }
.shop-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-filter { display: inline-flex; align-items: center; height: 46px; box-sizing: border-box;
  font-family: var(--ui); font-size: 13px; letter-spacing: .02em; color: var(--candela-sage);
  background: transparent; border: 1px solid var(--rule); border-radius: 999px; padding: 0 18px; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease; }
.chip-filter:hover { border-color: var(--candela-sage); }
.chip-filter.is-active { background: var(--candela-sage); color: var(--candela-cream); border-color: var(--candela-sage); }
.shop-empty { font-family: var(--ui); color: var(--candela-sage); padding: 24px 0; }

/* Ficha: thumbnail como botón + lightbox/zoom */
button.pd-thumb { cursor: pointer; transition: border-color .2s ease, transform .2s ease; }
button.pd-thumb:hover { border-color: var(--candela-sage); }
.pd-hero { cursor: zoom-in; }
.pd-lightbox { position: fixed; top:0; right:0; bottom:0; left:0; z-index: 200; display: none;
  align-items: center; justify-content: center; background: rgba(25,25,24,.88); padding: 5vmin; }
.pd-lightbox.is-open { display: flex; }
.pd-lightbox-img { max-width: 92vw; max-height: 90vh; object-fit: contain; border-radius: 8px; }
.pd-lightbox-close { position: absolute; top: 18px; right: 22px; width: 44px; height: 44px; border: none;
  background: transparent; color: var(--candela-cream); font-size: 34px; line-height: 1; cursor: pointer; }
body.pd-lightbox-open { overflow: hidden; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* =========================================================================
   FILOSOFÍA — editorial Secretos-del-Agua + scale-on-reveal (council 2026-06-16)
   Verdicto council: NO scroll-scaling completo; SÍ scale-on-reveal sutil en
   separadores full-bleed, CSS nativo, reduced-motion→estático, off <768px,
   easing lento cálido. Fuente: .memory/council/2026-06-16-scroll-scaling-*.md
   ========================================================================= */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 768px) {
    .scroll-rise {
      animation: scrollRise linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 38%;
      transform-origin: center;
    }
    @keyframes scrollRise {
      from { transform: scale(0.94); opacity: 0.55; }
      to   { transform: scale(1);    opacity: 1; }
    }
  }
}

/* Manifiesto: pull-quote editorial */
/* Padding vertical acotado por ANCHO (no vh): evita que el hueco se dispare al zoom-out.
   Longhand top/bottom: NO pisar el gutter horizontal del .container (el shorthand `... 0` lo mataba → texto pegado al borde). */
.filo-manifiesto { padding-top: clamp(56px, 13vw, 140px); padding-bottom: clamp(56px, 13vw, 140px); }
.filo-manifiesto blockquote {
  margin: 0; max-width: 20ch; font-family: var(--display); font-style: italic;
  font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.14; color: var(--candela-sage);
}
.filo-manifiesto .sub { margin-top: 28px; max-width: 52ch; font-size: 18px; }

/* Los 5 pilares — lista editorial */
.pilares { list-style: none; padding: 0; margin: 0; }
.pilar {
  display: grid; grid-template-columns: 3.2rem 1fr; gap: clamp(20px, 4vw, 48px);
  align-items: baseline; padding: clamp(28px, 4vh, 44px) 0; border-top: 1px solid var(--rule-soft);
}
.pilar:last-child { border-bottom: 1px solid var(--rule-soft); }
.pilar .num { font-family: var(--display); font-size: 1.7rem; color: var(--candela-terracota); line-height: 1; }
.pilar h3 { margin: 0 0 8px; }
.pilar p { margin: 0; max-width: 62ch; color: var(--candela-green-deep); }
@media (max-width: 640px) {
  .pilar { grid-template-columns: 1fr; gap: 8px; }
}

/* Hero Filosofía: imagen a sangre con título anclado abajo (deja ver toda la escena) */
.hero-fullbleed--filo { align-items: flex-end; min-height: min(88vh, 820px); }
.hero-fullbleed--filo .hero-media { background-position: 60% 22%; }
.hero-fullbleed--filo .hero-scrim {
  background: linear-gradient(to top, rgba(25,25,24,0.80) 0%, rgba(25,25,24,0.30) 42%, rgba(25,25,24,0) 72%);
}
.hero-fullbleed--filo .hero-content-overlay { padding-bottom: clamp(48px, 9vh, 110px); }
.filo-eyebrow { font-family: var(--ui); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  opacity: 0.85; margin-bottom: 18px; }

/* Contacto — mapa interactivo + foto del local */
.contacto-map { width: 100%; height: 100%; min-height: 360px; border: 0; border-radius: 14px; display: block; }
.contacto-foto { width: 100%; aspect-ratio: 3/2; overflow: hidden; border-radius: 16px; margin-bottom: 56px;
  background: color-mix(in srgb, var(--candela-sage) 12%, var(--candela-cream)); }
.contacto-foto img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; display: block; }
.contacto-foto .placeholder-text { display: flex; align-items: center; justify-content: center; height: 100%;
  font-family: var(--ui); font-size: 14px; color: var(--candela-sage); }
@media (max-width: 768px) { .contacto-foto { aspect-ratio: 4/3; } .contacto-map { min-height: 300px; } }

/* =========================================================================
   FICHA DE PRODUCTO (detalle) — diseño validado boceto v3.2 + concilio AG
   ========================================================================= */
.pd-crumb { font-family: var(--ui); font-size: 13px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--candela-sage); opacity: .75; margin-bottom: 28px; }
.pd-crumb a { color: inherit; text-decoration: none; }
.pd-crumb b { color: var(--candela-terracota); font-weight: 400; }

.pd { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }

.pd-media-col { position: sticky; top: 116px; }
.pd-media { position: relative; aspect-ratio: 1/1; display: flex; align-items: center;
  justify-content: center; padding: 30px; }
.pd-media .pd-hero { max-width: 84%; max-height: 84%; object-fit: contain;
  filter: drop-shadow(0 26px 30px rgba(74,92,74,.22)); }
.pd-badge { position: absolute; top: 14px; left: 14px; background: var(--candela-terracota);
  color: var(--candela-cream); font-family: var(--ui); font-size: 12px; letter-spacing: .12em;
  text-transform: uppercase; padding: 7px 14px; border-radius: 999px; }
.pd-natural { position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center;
  gap: 6px; background: var(--candela-cream); border: 1px solid var(--rule-soft); color: var(--candela-sage);
  font-family: var(--ui); font-size: 12px; padding: 7px 12px; border-radius: 999px; }
.pd-natural svg { width: 14px; height: 14px; }
.pd-sello { position: absolute; bottom: 12px; right: 12px; width: 62px; height: 62px; border-radius: 50%;
  background: var(--candela-cream); border: 1px solid var(--rule-soft); padding: 8px;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.pd-sello img { width: 100%; height: 100%; object-fit: contain; }
.pd-thumbs { display: flex; gap: 12px; margin-top: 14px; }
.pd-thumb { flex: 1; aspect-ratio: 1/1;
  background: color-mix(in srgb, var(--candela-sage) 8%, var(--candela-cream));
  border: 1px solid var(--rule-soft);
  border-radius: 12px; display: flex; align-items: center; justify-content: center; padding: 10px; }
.pd-thumb.is-active { border-color: var(--candela-sage); }
.pd-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }

.pd-eyebrow { font-family: var(--ui); font-size: 13px; letter-spacing: .04em;
  color: var(--candela-sage); margin-bottom: 10px; }
.pd-info h1 { margin: 0; line-height: 1.02; }
.pd-sub { font-style: italic; color: var(--candela-terracota-dark); font-size: 21px; margin-top: 10px; }
.pd-intro { font-size: 17px; margin: 28px 0; max-width: 44ch; }

.pd-benefits { list-style: none; padding: 0; display: grid; gap: 16px; margin: 0 0 28px; }
.pd-benefits li { display: flex; gap: 14px; align-items: center; font-size: 16.5px; }
.pd-benefits .ic { flex: none; width: 26px; display: flex; align-items: center; justify-content: center; }
.pd-benefits .ic svg { width: 24px; height: 24px; stroke: var(--candela-terracota); fill: none;
  stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.pd-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.pd-chip { font-family: var(--ui); font-size: 13px; color: var(--candela-green-deep);
  background: var(--candela-white); border: 1px solid var(--rule-soft); padding: 8px 14px; border-radius: 8px; }
.pd-chip b { color: var(--candela-terracota); font-weight: 600; }

.pd-presc { background: color-mix(in srgb, var(--candela-sage) 12%, var(--candela-cream));
  border-radius: 14px; padding: 30px 32px; margin-bottom: 40px; }
.pd-presc .tag { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.pd-presc .tag svg { width: 19px; height: 19px; stroke: var(--candela-sage); fill: none; stroke-width: 1.7; }
.pd-presc h3 { font-family: var(--ui); font-size: 14px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--candela-sage); font-weight: 600; margin: 0; }
.pd-presc p { font-size: 16px; line-height: 1.6; margin: 0; max-width: 52ch; }

.pd-cta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.pd-cta-row .btn-primary { border-radius: 999px; }
.pd-cta-row .btn-primary { display: inline-flex; align-items: center; gap: 9px; }
.pd-cta-row .btn-primary svg { width: 18px; height: 18px; }
/* secundario = enlace discreto, NO segundo botón (evita CTAs compitiendo) */
.pd-ask { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px;
  color: var(--candela-sage); font-family: var(--ui); font-size: 14px;
  text-decoration: underline; text-underline-offset: 3px; }
.pd-ask svg { width: 15px; height: 15px; }
.pd-stock { display: block; font-family: var(--ui); font-size: 13px; color: var(--candela-sage);
  opacity: .8; margin-top: 10px; }

.pd-usage { margin-top: 26px; background: var(--candela-white); border: 1px solid var(--rule-soft);
  border-radius: 14px; padding: 22px 24px; }
.pd-usage h3 { font-family: var(--ui); font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--candela-sage); margin: 0 0 8px; font-weight: 600; }
.pd-usage p { font-size: 16px; line-height: 1.6; margin: 0; }
.pd-byc { margin-top: 22px; font-size: 13px; color: var(--candela-sage); opacity: .85; font-style: italic; }

.pd-cross { margin-top: 80px; border-top: 1px solid var(--rule-soft); padding-top: 40px; }
.pd-cross .lead { margin-bottom: 28px; }

@media (max-width: 860px) {
  .pd { grid-template-columns: 1fr; gap: 32px; }
  .pd-media-col { position: static; }
  .pd-sub { font-size: 19px; }
  .pd-intro { font-size: 16.5px; }
  .pd-cta-row .btn-primary { width: 100%; justify-content: center; }
}

/* ===================== Tabla de precios servicios ===================== */
.eyebrow-soon {
  display: inline-block;
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--candela-cream);
  background: var(--candela-terracota);
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-family: var(--body);
  font-size: 15px;
}
.price-table th {
  text-align: left;
  font-family: var(--ui);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--candela-sage);
  padding: 0 0 8px;
  border-bottom: 1px solid rgba(95,116,95,0.3);
}
.price-table th:last-child,
.price-table td:last-child { text-align: right; }
.price-table td {
  padding: 9px 0;
  border-bottom: 1px solid rgba(95,116,95,0.12);
  color: var(--candela-green-deep);
}
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table td.price {
  font-family: var(--ui);
  font-weight: 600;
  color: var(--candela-terracota);
  white-space: nowrap;
}

/* ===================== Banda reseñas Google ===================== */
.reviews-band {
  background: var(--candela-cream);
  text-align: center;
}
.reviews-google {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--candela-sage);
}
.reviews-google svg { display: block; }

/* ===================== Servicios · alineación tabla precios (fix 2026-06-23) ===================== */
.mb-8 { margin-bottom: 8px; }
.services-note {
  font-family: var(--ui);
  font-size: 14px;
  color: var(--candela-sage);
}
.services-note strong { color: var(--candela-terracota); }
/* grid 2 columnas para que las 4 tarjetas queden 2x2 y alineadas */
.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 40px 48px;
  align-items: stretch;
}
/* tarjeta en columna: la descripción crece e iguala la altura, la tabla arranca a la misma Y */
.service-card {
  display: flex;
  flex-direction: column;
}
.service-card > p {
  min-height: 4.6em;
}
/* tabla con geometría idéntica en todas las tarjetas → columnas alineadas */
.price-table {
  table-layout: fixed;
}
.price-table th:nth-child(1), .price-table td:nth-child(1) { width: 44%; }
.price-table th:nth-child(2), .price-table td:nth-child(2) { width: 33%; }
.price-table th:nth-child(3), .price-table td:nth-child(3) { width: 23%; }
.service-card .card-link { margin-top: auto; }

/* forzar 2x2 en escritorio (evita la 4a tarjeta huerfana); 1 columna en movil */
@media (min-width: 760px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 759px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card > p { min-height: 0; }
}

/* ===================== Tarjetas de reseñas reales (2026-06-23) ===================== */
.reviews-head { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.reviews-google strong { color: var(--candela-green-deep); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  align-items: stretch;
}
@media (min-width: 880px) {
  .reviews-grid { grid-template-columns: repeat(4, 1fr); }
}
.review-card {
  display: flex;
  flex-direction: column;
  background: var(--candela-white);
  border: 1px solid rgba(95,116,95,0.18);
  border-radius: 10px;
  padding: 26px 24px;
  text-align: left;
}
.review-stars {
  color: var(--candela-terracota);
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.review-card blockquote {
  margin: 0;
  font-family: var(--body);
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--candela-green-deep);
  flex-grow: 1;
}
.review-card figcaption {
  margin-top: 18px;
  font-family: var(--ui);
  font-size: 13px;
  font-weight: 600;
  color: var(--candela-ink);
}
.review-card figcaption span { color: var(--candela-sage); font-weight: 400; }
.reviews-foot { text-align: center; }

/* ===================== Reseñas — rediseño editorial awwwards (2026-06-23) ===================== */
.reviews-editorial { background: var(--candela-cream); }
.reviews-stat {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; flex-wrap: wrap;
  font-family: var(--ui); text-transform: uppercase;
  letter-spacing: 0.16em; font-size: 13px; color: var(--candela-green-deep);
  margin: 0;
}
.reviews-stat .rs-label { font-weight: 600; }
.reviews-stat .rs-stars { color: var(--candela-terracota); letter-spacing: 3px; font-size: 15px; }
.reviews-stat .rs-count { color: var(--candela-sage); }
.reviews-stat .rs-count strong { color: var(--candela-green-deep); font-weight: 600; }
.reviews-rule {
  border: 0; border-top: 1px solid rgba(95,116,95,0.25);
  max-width: 520px; margin: 26px auto 64px;
}
.reviews-editorial-body {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 48px 72px;
  align-items: start;
}
@media (max-width: 820px) {
  .reviews-editorial-body { grid-template-columns: 1fr; gap: 48px; }
}
/* Pull-quote destacado */
.review-feature { margin: 0; }
.review-feature .quote-mark {
  display: block;
  font-family: var(--body);
  font-size: 88px; line-height: 0.6;
  color: var(--candela-terracota);
  margin-bottom: 8px;
}
.review-feature blockquote {
  margin: 0;
  font-family: var(--body);
  font-style: italic;
  font-size: clamp(25px, 3.2vw, 40px);
  line-height: 1.3;
  color: var(--candela-ink-warm);
}
.review-feature figcaption {
  margin-top: 28px;
  font-family: var(--ui);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--candela-ink);
}
.review-feature figcaption span {
  color: var(--candela-sage); font-weight: 400;
  letter-spacing: 0.02em; text-transform: none;
}
/* Citas de apoyo, borderless con filete sage */
.review-side { display: flex; flex-direction: column; gap: 34px; padding-top: 8px; }
.side-quote { margin: 0; padding-left: 22px; border-left: 2px solid var(--candela-sage); }
.side-quote blockquote {
  margin: 0;
  font-family: var(--body);
  font-style: italic;
  font-size: 18.5px; line-height: 1.5;
  color: var(--candela-ink-warm);
}
.side-quote figcaption {
  margin-top: 10px;
  font-family: var(--ui);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--candela-sage);
}
.reviews-all { display: inline-block; margin-top: 56px; }

/* ===================== Servicios — rediseño editorial awwwards (2026-06-23) ===================== */
/* Hero con foto */
.serv-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  margin-top: 8px;
}
.serv-hero-content h1 { margin: 0; }
.serv-hero-photo { margin: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 4/5; }
.serv-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; }
@media (max-width: 820px) {
  .serv-hero { grid-template-columns: 1fr; gap: 32px; }
  .serv-hero-photo { aspect-ratio: 3/2; }
}

/* Carta editorial de precios */
.pricing-head h2 { font-size: clamp(30px, 4vw, 46px); margin: 0; }
.pricing-menu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 72px;
}
@media (max-width: 820px) { .pricing-menu { grid-template-columns: 1fr; gap: 0; } }
.pricing-item {
  border-top: 1px solid rgba(95,116,95,0.28);
  padding: 36px 0 40px;
}
.pi-head h3 {
  font-family: var(--body);
  font-size: clamp(25px, 2.6vw, 33px);
  font-weight: 500;
  color: var(--candela-green-deep);
  margin: 0 0 8px;
}
.pi-head p {
  font-family: var(--body);
  font-size: 16px; line-height: 1.5;
  color: var(--candela-sage);
  margin: 0 0 26px; max-width: 46ch;
}
.pi-rows { list-style: none; margin: 0; padding: 0; }
.pi-rows li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: baseline;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(95,116,95,0.13);
  font-family: var(--ui);
  font-size: 15px;
  color: var(--candela-ink-warm);
}
.pi-rows li:last-child { border-bottom: none; }
.pi-size { font-weight: 500; }
.pi-size small { color: var(--candela-sage); font-weight: 400; font-size: 12px; margin-left: 4px; }
.pi-dur { color: var(--candela-sage); font-variant-numeric: tabular-nums; font-size: 13.5px; }
.pi-price {
  font-family: var(--body);
  font-weight: 500;
  font-size: 22px;
  color: var(--candela-terracota);
  font-variant-numeric: tabular-nums;
  min-width: 64px; text-align: right;
}
.pi-cta { display: inline-block; margin-top: 22px; }

/* Posturología — teaser fino (no slab verde) */
.posturo-teaser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: 28px 0;
  border-top: 1px solid rgba(95,116,95,0.28);
  border-bottom: 1px solid rgba(95,116,95,0.28);
}
.posturo-teaser .pt-text { max-width: 60ch; }
.posturo-teaser h3 {
  font-family: var(--body);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 500;
  color: var(--candela-green-deep);
  margin: 12px 0 6px;
}
.posturo-teaser p { font-family: var(--body); font-size: 16px; color: var(--candela-sage); margin: 0; }
.posturo-teaser .pt-link { white-space: nowrap; }

/* ===================== Home · sección servicios editorial (rediseño 2026-06-23) ===================== */
.home-services { padding-top: 9vh; padding-bottom: 9vh; }
.home-services-intro { max-width: 560px; margin: 0 auto 64px; color: var(--candela-sage); }
.home-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 48px;
}
@media (max-width: 860px) { .home-services-grid { grid-template-columns: 1fr; gap: 56px; max-width: 460px; margin: 0 auto; } }
.hs-card { display: flex; flex-direction: column; }
.hs-photo {
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 22px;
}
.hs-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  will-change: transform; backface-visibility: hidden;
}
/* gana especificidad sobre img.blurup (que clobbera transición de transform → saltaría) */
.hs-photo img, .hs-photo img.blurup {
  transition: transform 0.7s cubic-bezier(0.22,1,0.36,1), opacity 0.7s cubic-bezier(0.22,1,0.36,1);
}
.hs-card:hover .hs-photo img { transform: scale(1.04); }
.hs-eyebrow {
  font-family: var(--ui);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--candela-sage);
  margin-bottom: 6px;
}
.hs-card h3 {
  font-family: var(--body);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 500; font-style: normal;
  color: var(--candela-green-deep);
  margin: 0 0 10px;
}
.hs-desc {
  font-family: var(--body);
  font-size: 16px; line-height: 1.5;
  color: var(--candela-sage);
  margin: 0 0 18px;
  max-width: 34ch;
}
.hs-link {
  font-family: var(--ui);
  font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--candela-green-deep);
  text-decoration: none;
  position: relative; display: inline-block;
  padding-bottom: 3px; margin-top: auto;
}
.hs-link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--candela-sage);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.22,1,0.36,1);
}
.hs-card:hover .hs-link::after, .hs-link:hover::after { transform: scaleX(1); }

/* ===================== Servicios · bloque Tratamientos y rituales (opción 3, 2026-06-23) ===================== */
.rituals-menu {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 56px;
}
@media (max-width: 820px) { .rituals-menu { grid-template-columns: 1fr; } }
.ritual-item {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(95,116,95,0.28);
  padding: 34px 0 8px;
}
.ritual-item h3 {
  font-family: var(--body);
  font-size: clamp(22px, 2.2vw, 27px);
  font-weight: 500;
  color: var(--candela-green-deep);
  margin: 0 0 10px;
}
.ritual-item p {
  font-family: var(--body);
  font-size: 16px; line-height: 1.5;
  color: var(--candela-sage);
  margin: 0 0 22px;
}
.ritual-item .card-link { margin-top: auto; }

/* ===================== Momentos reales — tira fotos reales (2026-06-23) ===================== */
.momentos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 880px; margin: 48px auto 0; }
@media (max-width: 760px) { .momentos-grid { grid-template-columns: 1fr; max-width: 460px; } }
.momento { margin: 0; aspect-ratio: 4/5; overflow: hidden; border-radius: 10px; }
.momento img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===================== Banner de cookies + gating de mapa (RGPD/LSSI-CE, 2026-06-25) ===================== */
#cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
  background: var(--candela-cream);
  border-top: 1px solid var(--rule);
  box-shadow: 0 -8px 28px rgba(25, 25, 24, 0.10);
}
.cookie-banner__inner {
  max-width: 1080px; margin: 0 auto; padding: 18px 24px;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: space-between;
}
.cookie-banner__text {
  margin: 0; flex: 1 1 320px; min-width: 240px;
  font-family: var(--ui); font-size: 0.92rem; line-height: 1.5; color: var(--candela-ink-warm);
}
.cookie-banner__text a { color: var(--candela-terracota); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 12px; flex: 0 0 auto; }
.cookie-banner__actions .btn-primary,
.cookie-banner__actions .btn-secondary { padding: 10px 22px; font-size: 0.9rem; }
@media (max-width: 560px) {
  .cookie-banner__inner { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px 18px; }
  .cookie-banner__actions { justify-content: flex-end; }
}

/* Fallback del mapa cuando no hay consentimiento */
.map-consent-fallback {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  min-height: 280px; padding: 32px; text-align: center;
  background: var(--candela-cream); border: 1px solid var(--rule-soft); border-radius: 10px;
}
.map-consent-fallback p { margin: 0; font-family: var(--ui); font-size: 0.92rem; color: var(--candela-ink-warm); max-width: 340px; }
.map-consent-fallback a { color: var(--candela-terracota); text-decoration: underline; font-family: var(--ui); font-size: 0.9rem; }
