@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,500;0,600;1,500&display=swap');

/* ==========================================================================
   EMUNÁ · hoja de estilos
   Organizada por componente. Cada bloque trae su versión móvil al lado.
   Punto de quiebre principal: 820px (móvil/tablet) · 821px+ (escritorio).
   ========================================================================== */

/* ==========================================================================
   BASE · variables, tipografía y estructura
   ========================================================================== */

:root {
  --green: #294634;
  --gold: #F5CE3E;
  --cream: #F4F0E6;
  --paper: #FBF9F3;
  --earth: #A77B55;
  --ink: #1E2B22;
  --muted: #6C756E;
  --white: #fff;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1180px,calc(100% - 48px));
  margin: auto;
}

.eyebrow {
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.04;
  margin: 0;
}

p {
  margin: 0 0 1rem;
}

.lead {
  max-width: 760px;
  font-size: clamp(1.04rem, 1.65vw, 1.34rem);
}

.muted {
  color: var(--muted);
}

.section {
  padding: 120px 0;
}

.green {
  background: var(--green);
  color: white;
}

.cream {
  background: var(--cream);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  align-items: center;
}

.quote {
  font-family: var(--serif);
  font-size: clamp(2rem,4vw,4.2rem);
  line-height: 1.12;
  max-width: 1000px;
}

.cream .btn,
.section:not(.green) .btn,
.green .btn {
  background: transparent;
  color: var(--ink);
  border-color: var(--gold);
}

.cream .btn:hover,
.section:not(.green) .btn:hover,
.green .btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.section:has(.home-pack-shot) .grid-2 {
  align-items: center;
}

h2 {
  font-size: clamp(2.08rem, 3.75vw, 4.05rem);
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}

@media (max-width: 980px) {
  .section:has(.home-pack-shot) .grid-2 {
    gap: 52px;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 30px,1180px);
  }

  .section {
    padding: 82px 0;
  }

  .grid-2,
  .grid-3,
  .cards {
    grid-template-columns: 1fr;
  }

  .section:has(.home-pack-shot) .grid-2 {
    grid-template-columns: 1fr;
  }

  h2 {
    font-size: clamp(2rem, 8.5vw, 3.4rem);
  }

  body.menu-open .header .menu-btn,
  body.menu-open .header.inner .menu-btn {
    color: #fff;
  }
}

/* Ritual y Respaldo van en dos columnas sólo en escritorio: en móvil tiene que mandar
   la columna única (si no, la foto del paquete desborda la página). */
@media (min-width: 821px) {
  .section:has(.home-pack-shot) .grid-2 {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: clamp(48px, 6vw, 92px);
  }
}

/* ==========================================================================
   APARICIÓN AL HACER SCROLL
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease,transform .8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   BOTONES
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  margin-top: 20px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .76rem;
  transition: .25s;
}

button.btn {
  cursor: pointer;
  width: max-content;
}

.btn,
button.btn {
  border: 1px solid var(--gold);
  font-weight: 600;
  border-radius: 7px;
}

/* ==========================================================================
   HEADER Y NAVEGACIÓN
   ========================================================================== */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 20px 0;
  color: white;
  transition: .35s;
}

.header.scrolled,
.header.inner {
  background: rgba(41,70,52,.94);
  padding: 12px 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand img {
  width: 87px;
  height: 65px;
  object-fit: contain;
}

.links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: .84rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.links a {
  position: relative;
}

.links a:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: .25s;
}

.links a:hover:after,
.links a.active:after {
  width: 100%;
}

.menu-btn {
  display: none;
  background: none;
  border: 0;
  color: white;
  font-size: 1.8rem;
}

.header.inner {
  background: transparent;
  padding: 20px 0;
  color: #173f2b;
  box-shadow: none;
}

.header.inner.scrolled {
  background: rgba(41,70,52,.94);
  padding: 12px 0;
  color: #fff;
}

.header.inner .links a,
.header.inner .menu-btn {
  color: inherit;
}

.header,
.header.scrolled,
.header.inner,
.header.inner.scrolled {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* El desenfoque de la barra va en un pseudo-elemento: un backdrop-filter en el propio
   header encierra al menú fijo dentro de la barra (en móvil se abría como una franja). */
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  transition: opacity .35s;
  opacity: 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header.scrolled::before {
  opacity: 1;
}

@media (max-width: 820px) {
  .brand,
  .menu-btn {
    position: relative;
    z-index: 2;
  }

  .brand img {
    width: 72px;
    height: 54px;
  }

  .menu-btn {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
  }

  .links {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 96px 24px 48px;
    background: var(--green);
    font-size: 1.05rem;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .35s ease, visibility 0s linear .35s;
  }

  .links.open {
    transform: none;
    visibility: visible;
    transition: transform .35s ease;
  }

  .header .links a,
  .header.inner .links a {
    color: #fff;
  }
}

/* ==========================================================================
   INICIO · HERO Y TICKER
   ========================================================================== */

.hero {
  height: 100svh;
  min-height: 680px;
  position: relative;
  display: grid;
  color: white;
  overflow: hidden;
  background: #1f3427;
  place-items: center;
}

.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,rgba(12,26,17,.24),rgba(12,26,17,.46));
}

.hero-placeholder {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 72% 25%,rgba(245,206,62,.16),transparent 28%),linear-gradient(135deg,#496a4d,#1e3326 68%);
  transform: scale(1.03);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.ticker {
  overflow: hidden;
  background: var(--gold);
  color: var(--green);
  padding: 12px 0;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  gap: 42px;
  min-width: max-content;
  animation: ticker 28s linear infinite;
}

.ticker-track span:after {
  content: "✦";
  margin-left: 42px;
}

.hero-content-clean {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
  min-height: 100%;
}

.hero-content-clean h1 {
  max-width: 900px;
  text-wrap: balance;
  font-size: clamp(2.58rem, 5.15vw, 5.5rem);
}

.hero-video {
  z-index: 0;
}

.hero-video:not([data-loaded]) {
  opacity: 0;
}

.hero-video[data-loaded] {
  opacity: 1;
  transition: opacity .7s ease;
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
  }
}

@media (max-width: 820px) {
  .hero-content-clean h1 {
    font-size: clamp(2.35rem, 10.4vw, 4.15rem);
  }
}

/* ==========================================================================
   INICIO · SECCIONES
   ========================================================================== */

.big-word {
  font-family: var(--serif);
  font-size: clamp(5rem,14vw,13rem);
  line-height: .8;
  color: rgba(41,70,52,.08);
  margin-bottom: -1.2rem;
}

.media {
  position: relative;
}

.media:before {
  content: "IMAGEN / VIDEO A REEMPLAZAR";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: white;
  letter-spacing: .18em;
  font-size: .72rem;
  background: linear-gradient(0deg,rgba(24,45,31,.35),transparent);
}

.video-break {
  display: grid;
  place-items: center;
  color: white;
}

.video-break:after {
  font-size: .75rem;
  letter-spacing: .18em;
}

.specs {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border-top: 1px solid rgba(255,255,255,.28);
  margin-top: 48px;
}

.spec {
  padding: 28px 20px 0 0;
}

.spec small {
  display: block;
  opacity: .65;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.spec strong {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 500;
}

.cert-wrap {
  overflow: hidden;
  margin-top: 42px;
}

.cert-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: ticker 34s linear infinite;
}

.cert {
  width: 250px;
  height: 135px;
  background: white;
  border: 1px solid #ddd6c6;
  display: grid;
  place-items: center;
  padding: 18px 24px;
  overflow: hidden;
}

.cert img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 150px;
  max-height: 92px;
  object-fit: contain;
}

.cert.cert-wide img {
  max-width: 185px;
}

.cert-track:hover {
  animation-play-state: paused;
}

.mate-prep-section {
  overflow: hidden;
}

.mate-prep-grid {
  display: grid;
  align-items: center;
}

.mate-prep-visual {
  position: relative;
  background: #d8c29b;
  justify-self: center;
  box-shadow: 0 16px 42px rgba(41,70,52,.09);
}

.mate-prep-visual:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,transparent 60%,rgba(18,37,26,.28));
  pointer-events: none;
}

.mate-prep-caption {
  position: absolute;
  left: 28px;
  bottom: 24px;
  z-index: 1;
  color: white;
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.mate-prep-content h2 {
  max-width: 620px;
}

.mate-prep-intro {
  max-width: 620px;
  margin: 20px 0 30px;
}

.mate-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(41,70,52,.20);
}

.mate-steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  padding: 15px 0;
  border-bottom: 1px solid rgba(41,70,52,.20);
}

.mate-steps li > span {
  color: #a57d08;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  padding-top: 3px;
}

.mate-steps p {
  margin: 0;
  line-height: 1.55;
}

.mate-prep-visual img {
  object-position: center;
  display: block;
  will-change: transform;
}

.home-media-break::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,rgba(20,38,28,.66),rgba(20,38,28,.08) 62%,rgba(20,38,28,.02));
}

.home-pack-shot {
  background: #f5f2ea;
  justify-self: center;
  box-shadow: 0 16px 42px rgba(41,70,52,.09);
}

.home-pack-shot img {
  object-position: center;
  display: block;
}

.image-scroll-reveal {
  opacity: 0;
}

.image-scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.mate-prep-visual,
.home-pack-shot {
  overflow: hidden;
  transform: translateY(0);
  transition: transform .55s cubic-bezier(.2,.7,.2,1), box-shadow .55s ease;
  width: min(100%, 500px);
  min-height: 585px;
  border-radius: 20px;
}

.mate-prep-visual img,
.home-pack-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  transform: translate3d(0,var(--image-shift,0px),0) scale(1.10);
  transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .7s ease;
  min-height: 585px;
}

.commercial-with-images {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  display: flex;
  align-items: center;
}

.commercial-with-images .commercial-content {
  position: relative;
  z-index: 2;
  padding-left: clamp(70px, 10vw, 155px);
  padding-right: clamp(70px, 10vw, 155px);
}

.commercial-detail {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 24%;
  max-width: 390px;
  overflow: hidden;
  pointer-events: none;
}

.commercial-detail-left {
  left: 0;
}

.commercial-detail-right {
  right: 0;
}

.commercial-detail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  opacity: .82;
}

.commercial-detail-left img {
  object-position: 58% center;
}

.commercial-detail-right img {
  object-position: 48% 58%;
}

.commercial-detail::after {
  content: "";
  position: absolute;
  inset: 0;
}

.commercial-detail-left::after {
  background: linear-gradient(90deg, rgba(244,240,230,0) 35%, var(--cream) 100%);
}

.commercial-detail-right::after {
  background: linear-gradient(270deg, rgba(244,240,230,0) 35%, var(--cream) 100%);
}

.mate-prep-visual:hover,
.home-pack-shot:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(41,70,52,.13);
}

.mate-prep-visual:hover img,
.home-pack-shot:hover img {
  transform: translate3d(0,calc(var(--image-shift,0px) - 5px),0) scale(1.125);
}

/* Foto panorámica «Una pausa. Un mate.» (formato 5:2). En móvil se muestra entera:
   tiene texto a la izquierda y el paquete a la derecha, y cualquier recorte los parte.
   Si llega una versión vertical, servirla con <picture>. */
.home-media-break.parallax-section {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 5 / 2;
  overflow: hidden;
  background: #294634;
}

.home-media-break.parallax-section > .parallax-image {
  position: absolute;
  inset: -2.5% 0 auto 0;
  width: 100%;
  height: 105%;
  max-width: none;
  object-fit: fill;
  object-position: center center;
  transform: translate3d(0,var(--parallax-y,0px),0);
  will-change: transform;
}

.home-support-copy h2 {
  margin-top: 0;
  margin-bottom: 26px;
}

.home-support-copy .lead {
  margin-top: 0;
  margin-bottom: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  .cert-track {
    animation: none;
  }

  .image-scroll-reveal {
    opacity: 1;
  }

  .mate-prep-visual img,
  .home-media-break.parallax-section > .parallax-image {
    transform: none !important;
  }
}

@media (max-width: 980px) {
  .commercial-detail {
    width: 20%;
    opacity: .62;
  }

  .commercial-with-images .commercial-content {
    padding-left: 42px;
    padding-right: 42px;
  }

  .mate-prep-grid {
    gap: 52px;
  }

  .mate-prep-visual,
  .home-pack-shot {
    width: min(100%, 450px);
    min-height: 535px;
  }

  .mate-prep-visual img,
  .home-pack-shot img {
    min-height: 535px;
  }
}

@media (max-width: 820px) {
  .specs {
    grid-template-columns: 1fr 1fr;
  }

  .mate-prep-grid {
    grid-template-columns: 1fr;
  }

  .mate-prep-visual,
  .home-pack-shot {
    width: min(90vw, 440px);
    min-height: 510px;
  }

  .mate-prep-visual img,
  .home-pack-shot img {
    min-height: 510px;
  }

  .home-media-break.parallax-section {
    height: auto;
    min-height: 0;
    aspect-ratio: 5 / 2;
  }

  .home-media-break.parallax-section > .parallax-image {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: none;
  }

  .home-support-copy h2 {
    margin-bottom: 22px;
  }
}

@media (max-width: 720px) {
  .commercial-with-images {
    min-height: 0;
  }

  .commercial-detail {
    width: 28%;
    opacity: .32;
  }

  .commercial-with-images .commercial-content {
    padding-left: 22px;
    padding-right: 22px;
  }
}

@media (min-width: 821px) {
  .mate-prep-grid {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(48px, 6vw, 92px);
  }
}

/* ==========================================================================
   PÁGINAS INTERIORES · HERO
   ========================================================================== */

.page-hero {
  padding: 190px 0 90px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(500px, 64vh, 690px);
  display: flex;
  align-items: center;
  background: #d8b77a url('assets/hero-kraft-clean.jpg') center / cover no-repeat !important;
  color: #173f2b;
}

.page-hero p {
  max-width: 720px;
  margin-top: 20px;
}

.page-hero h1 {
  font-size: clamp(2.9rem, 5.5vw, 5.5rem);
}

/* Hojas del hero interior: se mueven con el scroll y el mouse vía variables que
   escribe script.js (--hero-scroll-y, --hero-leaf-x/y/r). */
.page-hero::before {
  transform: translate3d(var(--hero-leaf-x, 0px), calc(var(--hero-leaf-y, 0px) + var(--hero-scroll-y, 0px)), 0) rotate(var(--hero-leaf-r, 0deg)) scale(1.018);
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  background: url('assets/hero-leaves-transparent.png') center / cover no-repeat !important;
  will-change: transform;
  animation: emunaLeafSoftBreeze 8.8s ease-in-out infinite alternate !important;
  filter: drop-shadow(-6px 12px 12px rgba(31,57,35,.10)) !important;
  width: min(48vw, 760px) !important;
  height: 106% !important;
  left: auto !important;
  right: max(-25vw, -390px) !important;
  top: auto !important;
  bottom: -9% !important;
  opacity: .74 !important;
  background-size: contain !important;
  background-position: right bottom !important;
  background-repeat: no-repeat !important;
  transform-origin: 98% 98% !important;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at 80% 38%, rgba(35,58,38,.065), transparent 32%), linear-gradient(90deg, rgba(223,190,132,.07), transparent 58%) !important;
}

.page-hero > .container {
  position: relative;
  z-index: 2;
}

.page-hero .eyebrow,
.page-hero h1,
.page-hero p,
.page-hero .lead {
  color: #173f2b;
}

.page-hero .eyebrow {
  letter-spacing: .30em;
}

@media (prefers-reduced-motion: reduce) {
  .page-hero::before {
    transform: none;
  }
}

@media (max-width: 820px) {
  .page-hero {
    min-height: 540px;
  }

  .page-hero > .container {
    padding-right: 16%;
  }

  .page-hero::before {
    width: min(72vw, 590px) !important;
    height: 100% !important;
    right: max(-38vw, -300px) !important;
    bottom: -6% !important;
    opacity: .64 !important;
    background-position: right bottom !important;
  }

  .page-hero h1 {
    font-size: clamp(2.3rem, 10.5vw, 3.4rem);
    text-wrap: balance;
  }
}

/* ==========================================================================
   NUESTRA HISTORIA
   ========================================================================== */

.story-hero {
  padding-bottom: 105px;
}

.story-hero h1 {
  max-width: 900px;
  line-height: .98;
}

.story-hero p {
  max-width: 610px;
  font-size: 1.05rem;
}

.story-editorial,
.story-process-grid,
.story-today-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(52px, 8vw, 120px);
  align-items: center;
}

.story-process-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
}

.story-copy {
  max-width: 650px;
}

.story-copy h2 {
  max-width: 620px;
  margin-bottom: 24px;
}

.story-copy p + p {
  margin-top: 18px;
}

.story-photo {
  --image-shift: 0px;
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 20px 55px rgba(35,52,39,.09);
  transform: translateY(var(--image-shift));
  transition: transform .65s cubic-bezier(.2,.7,.2,1), box-shadow .45s ease;
}

.story-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.035);
  transition: transform 1s cubic-bezier(.2,.7,.2,1);
}

.story-photo:hover {
  transform: translateY(calc(var(--image-shift) - 7px));
  box-shadow: 0 28px 68px rgba(35,52,39,.13);
}

.story-photo:hover img {
  transform: scale(1.075);
}

.story-photo-main {
  width: min(100%, 590px);
  aspect-ratio: 4 / 5;
}

.story-photo-secondary {
  justify-self: end;
  aspect-ratio: 16 / 10;
  width: min(108%, 735px) !important;
}

.story-photo-detail {
  width: min(100%, 555px);
  aspect-ratio: 4 / 5;
}

.story-process {
  padding-top: 35px;
}

.story-meaning {
  position: relative;
  display: flex;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
  min-height: 78vh;
  align-items: stretch;
}

.story-meaning-bg {
  position: absolute;
  width: 100%;
  object-fit: cover;
  inset: -7% 0;
  height: 114%;
  object-position: center 46%;
  transform: scale(1.01);
  filter: saturate(.88) contrast(.96) brightness(.86);
}

.story-meaning-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(18,36,25,.76) 0%, rgba(18,36,25,.62) 42%, rgba(18,36,25,.54) 100%), linear-gradient(0deg, rgba(18,36,25,.26), rgba(18,36,25,.04) 48%, rgba(18,36,25,.12));
}

.story-meaning-content {
  position: relative;
  z-index: 2;
  min-height: 78vh;
  max-width: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(68px, 8vh, 104px);
  padding-bottom: clamp(104px, 13vh, 150px);
  width: min(1180px, calc(100% - 96px));
  margin-left: auto;
  margin-right: auto;
}

.story-today {
  padding-top: clamp(85px, 10vw, 150px);
}

.story-close {
  padding-top: 8px;
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--green);
}

.story-hero::after {
  width: 42%;
  height: 1px;
  opacity: .14;
}

.story-photo-secondary img {
  object-position: center center;
}

.story-meaning-content .eyebrow {
  display: block;
  margin: 0 0 clamp(30px, 4vh, 48px);
  color: rgba(255,255,255,.66);
  font-family: var(--sans);
  font-size: clamp(.68rem, .78vw, .82rem);
  font-style: normal;
  font-weight: 400;
  letter-spacing: .42em;
  text-transform: uppercase;
}

.story-meaning-content h2 {
  font-size: clamp(3.2rem, 6.6vw, 7rem);
  font-weight: 400;
  text-wrap: balance;
}

.story-meaning-content .story-meaning-title {
  flex-direction: column;
  align-items: flex-start;
  color: #fff;
  display: block;
  max-width: 720px;
  margin: 0 0 clamp(28px, 3.4vh, 42px);
  line-height: .9;
  letter-spacing: -.035em;
}

.story-meaning-title .meaning-emuna,
.story-meaning-title .meaning-link,
.story-meaning-title .meaning-trust {
  display: block;
  margin: 0;
}

.story-meaning-title .meaning-emuna {
  font-family: var(--serif);
  font-size: clamp(4rem, 7.5vw, 7.7rem);
  font-style: normal;
  font-weight: 400;
  color: rgba(255,255,255,.82);
}

.story-meaning-title .meaning-link {
  margin: .38em 0 .22em .12em;
  font-family: var(--sans);
  font-size: clamp(.72rem, .9vw, .92rem);
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
}

.story-meaning-title .meaning-trust {
  font-family: var(--serif);
  font-size: clamp(4.15rem, 7.8vw, 8rem);
  font-style: italic;
  font-weight: 400;
  line-height: .88;
  color: rgba(202,214,190,.62);
}

.story-meaning-content > p:not(.story-mantra) {
  max-width: 575px;
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(.92rem, 1.03vw, 1.04rem);
  font-weight: 300;
  line-height: 1.72;
  color: rgba(255,255,255,.73);
}

.story-mantra {
  position: absolute;
  bottom: clamp(30px, 4.5vh, 50px);
  max-width: none;
  margin: 0;
  display: flex;
  align-items: center;
  font-family: var(--sans);
  font-size: clamp(.68rem, .86vw, .86rem);
  font-style: normal;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.68);
  white-space: nowrap;
  left: 50%;
  right: auto;
  width: min(1180px, calc(100% - 96px));
  transform: translateX(-50%);
  justify-content: center;
  gap: clamp(22px, 3vw, 46px);
  text-align: center;
}

.story-mantra i {
  color: var(--gold);
  font-style: normal;
  font-size: 1.05em;
  opacity: .78;
  flex: 0 0 auto;
  margin: 0 clamp(2px, .4vw, 7px);
}

.story-direction {
  padding-top: clamp(90px,10vw,150px);
  padding-bottom: clamp(90px,10vw,150px);
}

.story-direction-inner {
  max-width: 940px;
  text-align: center;
}

.story-direction .eyebrow {
  display: block;
  margin-bottom: 24px;
}

.story-direction h2 {
  font-size: clamp(2.7rem,5.2vw,5.2rem);
  margin-bottom: 34px;
}

.story-direction .lead {
  margin: 0 auto 42px;
  max-width: 820px;
}

.story-values {
  font-size: .82rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
}

@media (max-width: 820px) {
  .story-editorial,
  .story-process-grid,
  .story-today-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .story-photo-main,
  .story-photo-secondary,
  .story-photo-detail {
    width: min(88vw, 560px);
    justify-self: center;
  }

  .story-process-grid .story-copy {
    order: 2;
  }

  .story-process-grid .story-photo {
    order: 1;
  }

  .story-photo-secondary {
    aspect-ratio: 16 / 10;
    width: min(96vw,710px) !important;
  }

  .story-meaning-bg {
    inset: -5% 0;
    height: 110%;
    object-position: center center;
    filter: saturate(.86) brightness(.82);
  }

  .story-meaning-shade {
    background: linear-gradient(90deg, rgba(18,36,25,.72), rgba(18,36,25,.60)), linear-gradient(0deg, rgba(18,36,25,.25), transparent 48%);
  }

  .story-meaning-content h2 {
    font-size: clamp(3rem, 14vw, 5rem);
  }

  .story-meaning,
  .story-meaning-content {
    min-height: 74vh;
  }

  .story-meaning-content {
    padding-top: 70px;
    padding-bottom: 138px;
    width: calc(100% - 48px);
  }

  .story-meaning-content .eyebrow {
    margin-bottom: 30px;
    font-size: .62rem;
    letter-spacing: .32em;
  }

  .story-meaning-content .story-meaning-title {
    max-width: 94%;
  }

  .story-meaning-title .meaning-emuna {
    font-size: clamp(3.5rem, 17vw, 5.6rem);
  }

  .story-meaning-title .meaning-link {
    margin: .42em 0 .3em .08em;
    font-size: .65rem;
    letter-spacing: .34em;
  }

  .story-meaning-title .meaning-trust {
    font-size: clamp(3.55rem, 17.2vw, 5.7rem);
  }

  .story-meaning-content > p:not(.story-mantra) {
    max-width: 92%;
    font-size: .94rem;
    line-height: 1.65;
  }

  .story-mantra {
    bottom: 28px;
    flex-wrap: wrap;
    font-size: .61rem;
    line-height: 1.55;
    letter-spacing: .13em;
    white-space: normal;
    left: 50%;
    right: auto;
    width: calc(100% - 48px);
    transform: translateX(-50%);
    justify-content: center;
    gap: 8px 13px;
    text-align: center;
  }
}

@media (max-width: 680px) {
  .story-values {
    line-height: 2.1;
  }
}

/* ==========================================================================
   EL PRODUCTO
   ========================================================================== */

.product-showcase-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg,#fbf9f3 0%,#f7f3e9 58%,#ece6d8 100%);
}

.product-showcase {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 6vw;
  align-items: center;
}

.product-copy h2 {
  margin-top: 14px;
  max-width: 520px;
}

.product-copy .lead {
  margin-top: 24px;
  max-width: 560px;
}

.product-icon-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 28px 34px;
  margin: 42px 0 12px;
}

.product-icon-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 14px;
}

.product-icon-item strong {
  font-family: var(--sans);
  font-size: .98rem;
  font-weight: 500;
  line-height: 1.3;
}

.product-icon {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(41,70,52,.65);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

.product-visual {
  min-height: 650px;
  position: relative;
  isolation: isolate;
}

.product-visual:before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle,rgba(245,206,62,.22),rgba(245,206,62,0) 67%);
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -2;
}

.process-dark {
  background: linear-gradient(135deg,#193523,#244b32);
  color: white;
}

.process-dark-heading {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 62px;
}

.process-dark-heading h2 {
  margin-top: 13px;
}

.process-circles {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 32px;
  position: relative;
}

.process-circles:before {
  content: "";
  position: absolute;
  top: 76px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: rgba(245,206,62,.55);
}

.process-circle-card {
  text-align: center;
  position: relative;
  z-index: 2;
}

.process-photo {
  width: 152px;
  height: 152px;
  margin: 0 auto 26px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.84);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 8px;
  background: radial-gradient(circle at 30% 30%,rgba(245,206,62,.28),transparent 28%), linear-gradient(145deg,#68846a,#2f5b3d);
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

.process-photo-2 {
  background: linear-gradient(145deg,#87754e,#4d5e40);
}

.process-photo-3 {
  background: linear-gradient(145deg,#6c482f,#2f4934);
}

.process-photo-4 {
  background: linear-gradient(145deg,#87916b,#516249);
}

.process-photo span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--green);
  font-size: .76rem;
  font-weight: 700;
}

.process-circle-card h3 {
  font-family: var(--sans);
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
  margin-bottom: 10px;
}

.process-circle-card p {
  color: rgba(255,255,255,.78);
  font-size: .94rem;
}

.product-result {
  text-align: center;
  background: radial-gradient(circle at 2% 70%,rgba(41,70,52,.14),transparent 22%), radial-gradient(circle at 94% 36%,rgba(41,70,52,.1),transparent 20%), var(--paper);
}

.product-result .container {
  max-width: 880px;
}

.product-result h2 {
  margin: 16px auto 22px;
  max-width: 720px;
}

.product-result .lead {
  margin: 0 auto;
  max-width: 720px;
}

@media (max-width: 920px) {
  .product-showcase {
    grid-template-columns: 1fr;
  }

  .product-visual {
    min-height: 590px;
    margin-top: 20px;
  }

  .process-circles {
    grid-template-columns: repeat(2,1fr);
  }

  .process-circles:before {
    display: none;
  }
}

@media (max-width: 620px) {
  .product-icon-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .product-visual {
    min-height: 520px;
  }

  .process-circles {
    grid-template-columns: 1fr;
  }

  .process-photo {
    width: 136px;
    height: 136px;
  }
}

/* ==========================================================================
   CERTIFICACIONES
   ========================================================================== */

.cert-editorial {
  padding-top: clamp(90px,9vw,140px);
}

.cert-editorial-head {
  max-width: 900px;
  margin-bottom: clamp(60px,7vw,100px);
}

.cert-editorial-head .eyebrow {
  display: block;
  margin-bottom: 20px;
}

.cert-editorial-head h2 {
  margin-bottom: 34px;
}

.cert-document-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}

.cert-document {
  background: #fff;
  border: 1px solid rgba(41,70,52,.12);
  border-radius: 18px;
  padding: 34px;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  transition: transform .45s ease,box-shadow .45s ease;
}

.cert-document:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(30,43,34,.10);
}

.cert-logo {
  height: 120px;
  display: flex;
  align-items: center;
  margin-bottom: 32px;
}

.cert-logo img {
  max-width: 150px;
  max-height: 105px;
  object-fit: contain;
}

.cert-document .eyebrow {
  color: var(--earth);
  margin-bottom: 10px;
}

.cert-document h3 {
  font-size: clamp(1.65rem,2.2vw,2.35rem);
  margin-bottom: 18px;
}

.cert-document p {
  color: var(--muted);
  margin-top: auto;
}

.cert-statement {
  text-align: center;
  padding: clamp(90px,10vw,145px) 0;
}

.cert-statement .eyebrow {
  display: block;
  margin-bottom: 26px;
}

.cert-statement .quote {
  max-width: 940px;
  margin: auto;
}

.cert-brand-note {
  text-align: center;
}

.cert-brand-note-inner {
  max-width: 850px;
}

.cert-brand-note .eyebrow {
  display: block;
  margin-bottom: 22px;
}

.cert-brand-note h2 {
  margin-bottom: 30px;
}

.cert-brand-note .lead {
  margin: auto;
}

@media (max-width: 900px) {
  .cert-document-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .cert-document-grid {
    grid-template-columns: 1fr;
  }

  .cert-document {
    min-height: auto;
  }
}

/* ==========================================================================
   CONTACTO
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 8vw;
}

.contact-item {
  padding: 18px 0;
  border-top: 1px solid rgba(41,70,52,.22);
}

form {
  display: grid;
  gap: 14px;
}

input,
textarea,
select {
  border: 0;
  border-bottom: 1px solid #8f978f;
  background: transparent;
  padding: 14px 4px;
  font: inherit;
  color: inherit;
}

textarea {
  min-height: 120px;
}

.contact-commercial-intro {
  max-width: 900px;
  margin-bottom: clamp(60px,7vw,95px);
}

.contact-commercial-intro .eyebrow {
  display: block;
  margin-bottom: 20px;
}

.contact-commercial-intro h2 {
  margin-bottom: 30px;
}

.contact-form label {
  display: block;
}

.contact-form label>span {
  display: block;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--green);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-message {
  margin-top: 18px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
}

.form-note {
  font-size: .78rem;
  color: var(--muted);
  margin-top: 18px;
  max-width: 520px;
}

.form-note:empty {
  display: none;
}

.form-privacy {
  font-size: .74rem;
  color: var(--muted);
  margin-top: 14px;
  max-width: 520px;
}

.form-privacy a {
  text-decoration: underline;
}

.form-note[data-state="ok"] {
  color: var(--green);
  font-size: .9rem;
  font-weight: 600;
}

.form-note[data-state="error"] {
  color: #9b2c1f;
  font-size: .9rem;
}

.contact-form button[disabled] {
  opacity: .6;
  cursor: wait;
}

.contact-grid h2 + .contact-form {
  margin-top: 34px;
}

@media (max-width: 820px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .contact-grid h2 + .contact-form {
    margin-top: 26px;
  }
}

@media (max-width: 680px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background: #172a1e;
  color: #f5f0e4;
  padding: 80px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 50px;
}

.footer img {
  width: 90px;
}

.footer a {
  opacity: .78;
}

.footer a:hover {
  opacity: 1;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,.15);
  margin-top: 60px;
  padding-top: 20px;
  font-size: .78rem;
  opacity: .65;
}

.footer-contact-links .footer-social {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}

.footer-contact-links .footer-social svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.pushnube-credit {
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: center;
}

@media (max-width: 820px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    padding-bottom: 88px;
  }
}

@media (max-width: 768px) {
  .footer-bottom {
    gap: 10px;
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
  }

  .footer-bottom .pushnube-credit {
    width: 100%;
    order: 3;
  }
}

@media (min-width: 769px) {
  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: 24px;
  }

  .footer-bottom > :first-child {
    justify-self: start;
  }

  .footer-bottom .pushnube-credit {
    justify-self: center;
  }

  .footer-bottom > :last-child:not(.pushnube-credit) {
    justify-self: end;
  }
}

/* ==========================================================================
   BOTONES FLOTANTES
   ========================================================================== */

.backtop {
  position: fixed;
  right: 22px;
  bottom: 88px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(41,70,52,.28);
  background: rgba(251,249,243,.92);
  display: grid;
  place-items: center;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition: .3s;
}

.backtop.show {
  opacity: 1;
  pointer-events: auto;
}

.whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: grid;
  place-items: center;
  font-weight: 700;
  z-index: 30;
  box-shadow: 0 8px 30px rgba(0,0,0,.18);
}

.whatsapp svg {
  width: 27px;
  height: 27px;
  display: block;
  fill: currentColor;
}

@media (max-width: 820px) {
  .backtop {
    display: none;
  }
}

/* ==========================================================================
   ANIMACIONES · keyframes
   ========================================================================== */

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

@keyframes emunaLeafSoftBreeze {
  0% {
    transform: translate3d(calc(var(--hero-leaf-x,0px) - 2px), calc(var(--hero-leaf-y,0px) + var(--hero-scroll-y,0px) + 1px),0) rotate(-.35deg) scale(1.01);
  }
  50% {
    transform: translate3d(calc(var(--hero-leaf-x,0px) + 2px), calc(var(--hero-leaf-y,0px) + var(--hero-scroll-y,0px) - 2px),0) rotate(.30deg) scale(1.012);
  }
  100% {
    transform: translate3d(calc(var(--hero-leaf-x,0px) - 1px), calc(var(--hero-leaf-y,0px) + var(--hero-scroll-y,0px) + 1px),0) rotate(-.18deg) scale(1.01);
  }
}


/* ==========================================================================
   INICIO · NUESTRO PRODUCTO
   ========================================================================== */
.home-products {
  background: var(--cream);
}
.home-products-heading {
  max-width: 760px;
  margin-bottom: clamp(38px,5vw,62px);
}
.home-products-heading .eyebrow { display:block; margin-bottom:14px; }
.home-products-heading h2 { margin-bottom:20px; }
.product-card-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(20px,2.5vw,34px);
}
.product-card {
  overflow:hidden;
  border-radius:16px;
  background:var(--paper);
  border:1px solid rgba(41,70,52,.10);
  box-shadow:0 16px 42px rgba(30,43,34,.07);
  transition:opacity .8s ease, transform .8s ease, box-shadow .35s ease;
  transition-delay:var(--card-delay,0ms);
}
.product-card.visible:hover {
  transform:translateY(-5px);
  box-shadow:0 22px 52px rgba(30,43,34,.11);
}
.product-card-image { aspect-ratio:4/5; overflow:hidden; background:#e9dfcf; }
.product-card-image img { width:100%; height:100%; object-fit:cover; transition:transform .65s ease; }
.product-card:hover .product-card-image img { transform:scale(1.025); }
.product-card-body { padding:clamp(22px,2.2vw,30px); }
.product-card-body h3 { font-size:clamp(1.65rem,2.2vw,2.25rem); margin-bottom:12px; }
.product-card-body p { color:var(--muted); min-height:3.2em; }
.product-card-actions { display:flex; flex-direction:column; align-items:flex-start; gap:10px; margin-top:22px; }
.product-card-link {
  display:inline-flex; align-items:center; padding:11px 15px; border:1px solid var(--gold); border-radius:7px;
  text-transform:uppercase; letter-spacing:.10em; font-size:.68rem; font-weight:600; transition:.25s;
}
.product-card-link:hover { background:var(--gold); }
.product-card-link-secondary { border-color:rgba(41,70,52,.24); }
.product-card-link-secondary:hover { background:var(--green); border-color:var(--green); color:white; }
@media (max-width:900px) { .product-card-grid { grid-template-columns:1fr; max-width:620px; margin-inline:auto; } .product-card-image { aspect-ratio:4/3; } .product-card-body p { min-height:0; } }
@media (max-width:560px) { .product-card-image { aspect-ratio:4/5; } .product-card-actions { align-items:stretch; } .product-card-link { justify-content:center; text-align:center; } }
@media (prefers-reduced-motion:reduce) { .product-card, .product-card-image img { transition:none; } .product-card.visible:hover { transform:none; } }

/* === Ajuste final 2026-10: ritual + CTA único de presentaciones === */
.ritual-share {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.ritual-share::after {
  content: none;
}
.product-card-actions { width:100%; }
.product-card-actions .product-card-link { width:100%; justify-content:center; text-align:center; }

/* === Ajuste 2026-10-02 · Presentaciones horizontales y tarjetas compactas === */
.home-products-heading {
  margin-bottom: clamp(30px, 4vw, 46px);
}
.product-card-grid {
  align-items: stretch;
}
.product-card {
  display: flex;
  flex-direction: column;
}
.product-card-image {
  aspect-ratio: 16 / 9;
  min-height: 0;
}
.product-card-image img {
  object-fit: cover;
  object-position: center;
}
.product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(18px, 1.8vw, 24px);
}
.product-card-body h3 {
  font-size: clamp(1.45rem, 1.8vw, 1.85rem);
  margin-bottom: 8px;
}
.product-card-body p {
  min-height: 0;
  margin-bottom: 0;
}
.product-card-actions {
  margin-top: 18px;
}
@media (max-width: 900px) {
  .product-card-grid {
    max-width: 680px;
  }
  .product-card-image {
    aspect-ratio: 16 / 9;
  }
}
@media (max-width: 560px) {
  .product-card-image {
    aspect-ratio: 16 / 9;
  }
  .product-card-body {
    padding: 18px;
  }
}
