@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/roboto-latin.woff2") format("woff2");
}
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
}


:root {
        color-scheme: light;
        --bg: #fbfbf3;
        --ink: #76428c;
        --surface: #e7ffc8;
        --heading: #76428c;
        --accent: #e7ffc8;
        --cta-bg: #e7ffc8;
        --cta-text: #76428c;
        --muted: #76428c;
        --deco: #b299d8;
        --whatsapp: #25d366;
        --white: #ffffff;
        --page-bg: var(--bg);
        --text: var(--ink);
        --soft: var(--muted);
        --scene-bg: #0c5466;
        --scene-text: var(--surface);
        --header-bg: var(--bg);
        --footer-bg: var(--bg);
        --serif: Roboto, Arial, sans-serif;
        --sans: Montserrat, Arial, sans-serif;
        --e: cubic-bezier(0.2, 0.7, 0.2, 1);
        box-sizing: border-box;
        padding-top: env(safe-area-inset-top, 0px);
        padding-bottom: env(safe-area-inset-bottom, 0px);
      }
:root[data-theme="dark"] {
        color-scheme: dark;
        --bg: #071f26;
        --ink: #e7ffc8;
        --surface: #0c5466;
        --heading: #b299d8;
        --accent: #b1ffd3;
        --cta-bg: #b1ffd3;
        --cta-text: #071f26;
        --muted: #dfcfaf;
        --deco: #76428c;
        --page-bg: var(--bg);
        --text: var(--ink);
        --soft: var(--muted);
        --scene-bg: var(--bg);
        --scene-text: var(--ink);
        --header-bg: var(--surface);
        --footer-bg: var(--surface);
      }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
        color-scheme: dark;
        --bg: #071f26;
        --ink: #e7ffc8;
        --surface: #0c5466;
        --heading: #b299d8;
        --accent: #b1ffd3;
        --cta-bg: #b1ffd3;
        --cta-text: #071f26;
        --muted: #dfcfaf;
        --deco: #76428c;
        --page-bg: var(--bg);
        --text: var(--ink);
        --soft: var(--muted);
        --scene-bg: var(--bg);
        --scene-text: var(--ink);
        --header-bg: var(--surface);
        --footer-bg: var(--surface);
  }
}
      * {
        box-sizing: border-box;
      }
      html {
        scroll-behavior: auto;
        scroll-padding-top: calc(80px + env(safe-area-inset-top, 0px));
      }
      body {
        margin: 0;
        background: var(--page-bg);
        color: var(--text);
        font: 400 18px/1.55 var(--sans);
        overflow-x: hidden;
      }
      .skip-link {
        position: fixed;
        left: 16px;
        top: -80px;
        z-index: 100;
        padding: 12px 18px;
        border-radius: 999px;
        background: var(--cta-bg);
        color: var(--cta-text);
        font-weight: 700;
        text-decoration: none;
        transition: top 0.2s ease;
      }
      .skip-link:focus {
        top: 16px;
      }
      a:focus-visible,
      button:focus-visible,
      [tabindex]:focus-visible {
        outline: 3px solid var(--ink);
        outline-offset: 4px;
        box-shadow: 0 0 0 7px var(--surface);
      }
      body::before {
        content: "";
        position: fixed;
        inset: 0 0 auto;
        height: env(safe-area-inset-top, 0px);
        background: var(--page-bg);
        z-index: 10;
      }
      header {
        position: sticky;
        top: env(safe-area-inset-top, 0px);
        z-index: 11;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 14px clamp(20px, 5vw, 64px);
        background: var(--header-bg);
      }
      .wm {
        font: 800 28px/1 var(--sans);
        letter-spacing: 0.06em;
        color: var(--text);
        text-decoration: none;
        display: inline-flex;
        align-items: center;
      }
      .wm svg {
        width: 0.92em;
        height: 0.92em;
        margin: 0 0.02em;
      }
      .btn {
        display: inline-flex;
        align-items: center;
        min-height: 48px;
        padding: 0 28px;
        border-radius: 999px;
        background: var(--cta-bg);
        color: var(--cta-text);
        font: 700 16px var(--sans);
        text-decoration: none;
        transition: transform 0.25s var(--e);
      }
      .btn:hover {
        transform: translateY(-3px) scale(1.04);
      }
      .hero {
        position: relative;
        display: grid;
        grid-template-columns: 1.1fr 0.9fr;
        gap: 40px;
        align-items: center;
        padding: 32px clamp(20px, 5vw, 64px) 80px;
        min-height: calc(100vh - 80px);
        overflow: hidden;
      }
      .hero.exploded-hero {
        overflow: visible;
      }
      h1 {
        font: 600 clamp(44px, 7vw, 104px)/0.95 var(--serif);
        color: var(--heading);
        letter-spacing: -0.02em;
        margin: 0 0 24px;
      }
      h1 em {
        font-style: normal;
        color: var(--heading);
      }
      .w {
        display: inline-block;
        transform: translateY(0);

      }
      .sub {
        max-width: 460px;
        color: var(--ink);
        font-family: var(--serif);
        margin: 0 0 32px;

      }
      .cta {

        display: flex;
        gap: 24px;
        align-items: center;
        flex-wrap: wrap;
      }
      .cta a.l {
        color: var(--ink);
        text-underline-offset: 6px;
      }
      .pic {
        position: relative;
        justify-self: center;
        width: min(480px, 86vw);
      }
      .hero.exploded-hero {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        min-height: calc(100svh - var(--header-height));
      }
      .hero.exploded-hero .pic.jar-scene {
        width: 100%;
        justify-self: stretch;
      }
      .exploded-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: center;
        gap: clamp(12px, 2vw, 28px);
      }
      .exploded-art {
        position: relative;
        width: auto;
        height: min(70svh, calc(100svh - var(--header-height) - 112px));
        max-width: 100%;
        aspect-ratio: 768 / 1376;
        justify-self: center;
      }
      .exploded-layer {
        position: absolute;
        left: var(--x);
        top: var(--y);
        width: var(--w);
        height: var(--h);
        max-width: none;
        transform: translateY(var(--static-y)) rotate(var(--static-rotation, 0deg));
      }
      @keyframes slide {
        to {
          transform: translateX(-50%);
        }
      }
      .band {
        overflow: hidden;
        padding: 36px 0;
      }
      .rot {
        transform: rotate(-2deg);
        margin: 0 -40px;
        background: var(--band-bg);
        color: var(--band-text);
        padding: 16px 0;
      }
      .track {
        display: flex;
        gap: 44px;
        width: max-content;
        font: 600 32px/1.2 var(--serif);
        white-space: nowrap;
        animation: slide 28s linear infinite;
      }
      section.s {
        padding: 100px clamp(20px, 5vw, 64px);
      }
      h2 {
        font: 600 clamp(36px, 6vw, 76px)/1 var(--serif);
        color: var(--heading);
        letter-spacing: -0.02em;
        margin: 0 0 16px;
      }
      .lead {
        color: var(--soft);
        font-family: var(--serif);
        max-width: 520px;
        margin: 0 0 48px;
      }
      .grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
      }
      .card {
        background: var(--surface);
        color: var(--ink);
        border-radius: 28px;
        padding: 32px;
        min-height: 280px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        transition: translate 0.4s var(--e);
      }
      .card:hover {
        translate: 0 -8px;
      }
      .card:nth-child(2) {
        background: var(--surface);
      }
      .card b {
        font: 600 44px/1 var(--serif);
      }
      .big {
        background: var(--bg);
        color: var(--ink);
        padding: 130px clamp(20px, 5vw, 64px);
      }
      .big h2 {
        font-size: clamp(44px, 8.5vw, 120px);
        margin: 0 0 32px;
      }
      .big p {
        max-width: 520px;
        font-size: 20px;
        margin: 0;
      }
      .community-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
        align-items: center;
        gap: clamp(32px, 7vw, 100px);
      }
      .community-photo {
        margin: 0;
      }
      .community-photo img {
        display: block;
        width: 100%;
        height: auto;
        max-height: 70svh;
        object-fit: cover;
        border-radius: 32px;
      }
      .buy {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 64px;
        align-items: center;
      }
      .buy-visuals {
        display: flex;
        justify-content: center;
        width: 100%;
        align-items: center;
      }
      .buy-sizes-placeholder {
        width: min(100%, 420px);
        margin: 0;
        padding: 12px;
        border-radius: 20px;
        background: var(--surface);
        color: var(--ink);
        --soft: var(--ink);
      }
      .buy-sizes-placeholder img {
        display: block;
        width: 100%;
        height: auto;
        border-radius: 12px;
      }
      .buy-sizes-placeholder figcaption {
        margin-top: 10px;
        color: var(--soft);
        font-size: 13px;
        line-height: 1.35;
      }
      .price {
        font: 600 56px/1 var(--serif);
        margin: 16px 0 28px;
      }
      .ingredient-card .benefit {
        text-align: justify;
        text-align-last: start;
        hyphens: auto;
      }
      .slide.hero,
      #ingredientes,
      #comunidad {
        background: var(--bg);
        color: var(--ink);
        --soft: var(--muted);
      }
      .jar-scene,
      #comprar {
        background: var(--scene-bg);
        color: var(--scene-text);
        --soft: var(--scene-text);
        --heading: var(--scene-text);
      }
      .jar-scene {
        background: transparent;
        padding: clamp(12px, 2vw, 28px);
        border-radius: 32px;
      }
      #comprar h2,
      #comprar h3 {
        color: var(--scene-text);
      }
      #comprar .buy > .rv {
        width: 100%;
        text-align: center;
      }
      #comprar .buy > .rv .lead {
        max-width: none;
        margin-inline: auto;
      }
      footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 16px;
        padding: 40px clamp(20px, 5vw, 64px);
        border-top: 1px solid var(--muted);
        color: var(--text);
        font-size: 15px;
      }
      @media (max-width: 820px) {
        .hero,
        .buy {
          grid-template-columns: 1fr;
        }
        .hero.exploded-hero {
          grid-template-columns: 1fr;
        }
        .hero.exploded-hero .pic.jar-scene {
          width: min(100%, 520px);
        }
        .exploded-layout {
          grid-template-columns: 1fr;
        }
        .exploded-art {
          height: min(52svh, calc(100svh - var(--header-height) - 24px));
          width: auto;
          max-width: 100%;
        }
        @media (min-width: 821px) and (max-width: 1000px) {
          .hero.exploded-hero {
            grid-template-columns: 1fr;
          }
          .hero.exploded-hero .pic.jar-scene {
            width: min(100%, 520px);
          }
          .exploded-layout,
          .community-layout {
            grid-template-columns: 1fr;
          }
          .exploded-art {
            height: min(52svh, calc(100svh - var(--header-height) - 24px));
            width: auto;
            max-width: 100%;
          }
        }
        .community-layout {
          grid-template-columns: 1fr;
        }
        .community-photo img {
          width: min(100%, 500px);
          max-height: 52svh;
          margin-inline: auto;
        }
        .grid {
          grid-template-columns: 1fr;
        }
        .card {
          min-height: 200px;
        }
      }
      @media (prefers-reduced-motion: reduce) {
        * {
          animation: none !important;
          transition: none !important;
        }
        .w,
        .sub,
        .cta,
        .rv {
          opacity: 1 !important;
          transform: none !important;
        }
      }
      .social-icons {
        display: flex !important;
        flex-direction: row;
        justify-content: center !important;
        align-items: center;
        gap: 60px;
        width: 100%;
        margin: 35px auto 0;
        text-align: center;
      }
      .social-icons a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        cursor: pointer;
        transition: transform 0.2s ease;
      }

      .social-icons a:hover {
        transform: scale(1.2);
        background: var(--cta-bg);
      }

      .instagram-icon {
        fill: var(--ink);
      }

      .facebook-icon {
        fill: var(--ink);
      }

      .social-icons a:hover .instagram-icon {
        fill: var(--cta-text);
      }

      .social-icons a:hover .facebook-icon {
        fill: var(--cta-text);
      }

.whatsapp-float {
  display: none;
}

.whatsapp-float svg {
  display: block;
  width: 27px;
  height: 27px;
  max-width: 100%;
  fill: currentColor;
}

:root {
  --header-height: 76px;
  --band-bg: var(--ink);
  --band-text: var(--surface);
}
:root[data-theme="dark"] {
  --band-bg: var(--surface);
  --band-text: var(--ink);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --band-bg: var(--surface);
    --band-text: var(--ink);
  }
}

html {
  scroll-padding-block-start: calc(var(--header-height) + env(safe-area-inset-top, 0px));
}

header {
  min-height: var(--header-height);
}

.slide {
  min-height: 100svh;
}

/* Snap only where nothing is pinned: CSS snap fights ScrollTrigger pins. */
@media (max-width: 1000px) and (prefers-reduced-motion: no-preference) {
  html {
    scroll-snap-type: y proximity;
    scroll-behavior: smooth;
  }

  .slide:not(.exploded-hero) {
    scroll-snap-align: start;
  }
}

.slide.hero {
  min-height: 100svh;
}

.jar-scene {
  scroll-snap-align: none;
  align-self: start;
}

#ingredientes .grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

#ingredientes .ingredient-card {
  grid-column: span 2;
}

#ingredientes .ingredient-card-image {
  display: block;
  width: 100%;
  height: 160px;
  margin: 0 auto 16px;
  border-radius: 16px;
  object-fit: cover;
}

#ingredientes .ingredient-card:nth-child(4),
#ingredientes .ingredient-card:nth-child(5) {
  grid-column: span 3;
}

#ingredientes .ingredient-card b {
  font-size: clamp(30px, 4vw, 44px);
}

#ingredientes .ingredient-card .benefit {
  text-align: justify;
  text-align-last: start;
  hyphens: auto;
}

#comprar .buy {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-items: center;
}

#comprar .buy-visuals {
  grid-column: 1;
}

.how-to-use {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-top: 40px;
}

.how-to-use h3 {
  margin: 0 0 8px;
  font: 600 clamp(28px, 4vw, 42px)/1.1 var(--serif);
}

.how-to-use p {
  max-width: 560px;
  margin: 0;
  color: var(--soft);
}

.allergen-note {
  font-size: 15px;
}

#comunidad {
  justify-content: center;
  min-height: 100svh;
}

#comprar {
  min-height: 100svh;
}

@media (max-width: 820px) {
  #comprar .buy {
    grid-template-columns: minmax(0, 1fr);
  }

  #ingredientes .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #ingredientes .ingredient-card {
    grid-column: span 1;
  }

  #ingredientes .ingredient-card:nth-child(4),
  #ingredientes .ingredient-card:nth-child(5) {
    grid-column: span 1;
  }

  #ingredientes .ingredient-card:last-child {
    grid-column: 1 / -1;
  }

  .how-to-use {
    align-items: flex-start;
    flex-direction: column;
  }

}

@media (max-width: 540px) {
  #ingredientes .grid {
    grid-template-columns: 1fr;
  }

  #ingredientes .ingredient-card,
  #ingredientes .ingredient-card:nth-child(4),
  #ingredientes .ingredient-card:nth-child(5) {
    grid-column: 1;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
    scroll-snap-type: none;
  }

  .track {
    animation: none;
  }
}

header nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

header nav .btn {
  min-height: 44px;
  padding: 0 16px;
  font-size: 14px;
  white-space: nowrap;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 10px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 500 14px/1 var(--sans);
  cursor: pointer;
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

[data-theme="light"] .sun-icon,
[data-theme="dark"] .moon-icon {
  display: none;
}

.faq {
  width: min(860px, 100%);
  margin: 72px auto 0;
}

.faq h3 {
  margin: 0 0 20px;
  font: 600 clamp(30px, 4vw, 46px)/1.1 var(--serif);
}

.faq details {
  border-top: 1px solid var(--soft);
}

.faq details:last-child {
  border-bottom: 1px solid var(--soft);
}

.faq summary {
  padding: 18px 4px;
  font-weight: 700;
  cursor: pointer;
}

.faq details p {
  max-width: 700px;
  margin: 0;
  padding: 0 4px 20px;
  color: var(--soft);
}

.faq details ol {
  max-width: 700px;
  margin: 0;
  padding: 0 4px 20px 28px;
  color: var(--soft);
}

.faq details li + li {
  margin-top: 8px;
}

footer {
  position: relative;
  z-index: 13;
  background: var(--footer-bg);
}

@media (max-width: 640px) {
  .whatsapp-float {
    position: fixed;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    z-index: 12;
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 50%;
    background: var(--whatsapp);
    color: var(--white);
  }

  html.motion-ready .whatsapp-float {
    visibility: hidden;
  }

  .whatsapp-float svg {
    width: 27px;
    height: 27px;
    fill: currentColor;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 120px;
  }

  header {
    min-height: var(--header-height);
    padding: 8px 16px;
    flex-wrap: wrap;
    gap: 4px 10px;
  }

  header .wm {
    font-size: 25px;
  }

  header nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px;
    order: 3;
    flex: 1 0 100%;
    gap: 8px;
  }

  header nav .btn {
    flex: none;
    justify-content: center;
    min-width: 0;
    padding: 0 8px;
    font-size: 12px;
  }

  .theme-toggle {
    justify-content: center;
    width: 44px;
    margin: 0;
    padding: 8px;
  }

  #theme-toggle-label {
    display: none;
  }

  .hero .cta {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .slide {
    padding-bottom: max(100px, calc(80px + env(safe-area-inset-bottom)));
  }
}

.scroll-progress {
  position: fixed;
  inset: env(safe-area-inset-top, 0px) 0 auto;
  z-index: 20;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  visibility: hidden;
  pointer-events: none;
}

html.motion-ready .scroll-progress {
  visibility: visible;
}

/* Hidden start state for animated elements; GSAP takes over with inline styles.
   main.js removes the "js" class if GSAP fails, so content never stays hidden. */
@media (prefers-reduced-motion: no-preference) {
  html.js .rv,
  html.js .exploded-layer {
    opacity: 0;
    visibility: hidden;
  }
}

h1 > .rv,
h2 > .rv {
  display: inline-block;
}

.hero .btn {
  box-shadow: inset 0 0 0 2px var(--ink);
}

.buy-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}