:root {
  --ink: #153b39;
  --violet: #1b5c58;
  --violet-deep: #ede8d0;
  --lilac: #d9f0ec;
  --cream: #f8fbfa;
  --mango: #c7e5d4;
  /* --pink: #e82e2d; */
  --pink: rgba(227, 6, 19, 1);
  --orange: #e98960;
  --mint: #88cfc1;
  --line: rgba(21, 59, 57, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  z-index: 20;
  left: 1rem;
  top: -5rem;
  background: var(--ink);
  color: white;
  padding: .75rem 1rem;
  border-radius: .5rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  width: min(1240px, calc(100% - 3rem));
  height: 100px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: block;
  flex: 0 1 auto;
  width: 231px;
  max-width: 100%;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: 100%;
  max-width: 231px;
  height: auto;
  border: 0;
  pointer-events: none;
  margin-left: 5rem;
}

@media (max-width: 800px) {
  .brand-logo {
    display: block;
    width: 100%;
    max-width: 231px;
    height: auto;
    border: 0;
    pointer-events: none;
    margin: 0px;
  }
}

.brand-logo+span,
.brand span {
  display: inline-block;
  color: var(--violet);
  font: 700 1.3rem/1 "DM Sans", sans-serif;
  letter-spacing: .08em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  font-weight: 600;
  margin-left: 5rem;
}

.site-tagline {
  margin: 0;
  color: var(--violet);
  /* font-family: "DM Mono", monospace; */
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.main-nav a {
  transition: color .2s ease;
}

.main-nav a:hover {
  color: var(--pink);
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  padding: .75rem 1.15rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--violet);
  color: white;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease;
}

.button:hover {
  transform: translateY(-3px);
  background: var(--pink);
}

.button--small {
  min-height: 40px;
  padding: .55rem 1rem;
  font-size: 1rem;
  margin-right: 5rem;
}

@media (max-width: 800px) {
  .button--small {
    min-height: 40px;
    padding: .55rem 1rem;
    font-size: 1rem;
    margin-right: 0;
  }
}

.hero {
  width: min(1240px, calc(100% - 3rem));
  min-height: 640px;
  margin: 0rem auto 4rem;
  padding: clamp(3rem, 7vw, 1rem) clamp(1.5rem, 6vw, 6.25rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  overflow: hidden;
  border-radius: 28px;
  /* background: linear-gradient(135deg, #e7f7f5 0%, #d4eeea 100%); */
  /* background: #000080; */
  background: var(--violet-deep);
  /* background: #228B22; */
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 1rem;
  color: var(--violet);
  /* font-family: "DM Mono", monospace; */
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
}

.eyebrow--light {
  color: var(--violet);
}

.eyebrow--light span {
  background: var(--pink);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: .96;
}

h1,
h2 {
  /* font-family: "Bricolage Grotesque", "DM Sans", Arial, sans-serif; */
  font-weight: 700;
  letter-spacing: -.065em;
}

.hero__title {
  max-width: 600px;
  margin-bottom: 1.3rem;
  font-size: clamp(2rem, 5vw, 4rem);
}

.hero__title em {
  color: var(--pink);
  font-style: italic;
}

.hero__lead {
  max-width: 480px;
  margin-bottom: 2rem;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
}

.hero__intro {
  margin: 0 0 1.8rem;
  display: grid;
  gap: .7rem;
  justify-items: center;
  text-align: center;
}

.hero__tagline {
  display: block;
  margin: 0;
}

.hero__tagline-sub {
  margin: -.6rem 0 0;
  color: var(--violet);
  /* font-family: "DM Mono", monospace; */
  font-size: clamp(1.2rem, .8vw, .75rem);
  font-weight: 500;
  letter-spacing: .26em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero__claim {
  margin: .4rem 0 0;
  padding: .65rem 1.8rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--violet-deep) 0%, rgba(248, 251, 250, .95) 100%);
  box-shadow: 0 25px 60px -35px var(--pink);
  font-size: clamp(1.6rem, 1vw, 1.08rem);
  font-weight: 600;
  letter-spacing: -.01em;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero__claim::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(255, 255, 255, .4), transparent 60%);
  pointer-events: none;
}

.hero__claim>* {
  position: relative;
  z-index: 1;
}

.hero__claim strong {
  color: var(--pink);
}

.hero__tagline-brand {
  display: block;
  margin-bottom: .5rem;
  color: var(--pink);
  /* font-family: "Bricolage Grotesque", "DM Sans", Arial, sans-serif; */
  font-size: clamp(2.9rem, 8vw, 5rem);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: .86;
  text-transform: none;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.text-link {
  border-bottom: 1px solid var(--ink);
  padding-bottom: .2rem;
  font-weight: 700;
}

.text-link:hover {
  color: var(--violet);
}

.hero__notes {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1.25rem;
  margin-top: 2.3rem;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.hero__notes span::before {
  content: "✦";
  color: var(--pink);
  margin-right: .35rem;
}

.hero__visual {
  position: relative;
  height: 430px;
}

.hero__image {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 20px;
  object-fit: cover;
  object-position: center;
  filter: saturate(.8) contrast(1.04);
}

/* La foto de la paleta tiene el motivo a la izquierda: el recorte sobrante
   se toma siempre del lado derecho, que está vacío. */
.hero__image--left {
  object-position: left center;
}

/* --- Carrusel del hero (estructura 002 · transición 003) --- */
.hero__slides {
  position: relative;
}

/* Sin JS: las dos diapositivas quedan apiladas, estáticas y legibles */
.hero__slide+.hero__slide {
  margin-top: 2.4rem;
}

.hero:not(.is-carousel) .hero__visual {
  height: auto;
}

.hero:not(.is-carousel) .hero__image {
  height: auto;
}

.hero__image+.hero__image {
  margin-top: 1rem;
}

/* --- Carrusel del hero: deslizamiento 3D y micro-interacciones (spec 003) --- */
.hero.is-carousel .hero__slides {
  display: grid;
  perspective: 1400px;
}

.hero.is-carousel .hero__slide {
  grid-area: 1 / 1;
  margin-top: 0;
  transform-origin: center center;
  transition:
    transform .62s cubic-bezier(.22, .61, .36, 1),
    opacity .5s ease,
    filter .5s ease,
    visibility .62s ease;
  will-change: transform, opacity;
}

/* Diapositiva activa: al frente y a la vista */
.hero.is-carousel .hero__slide.is-active {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  filter: none;
  transform: translate3d(0, 0, 0) rotateY(0deg) scale(1);
}

/* Diapositiva no activa: espera retirada y desenfocada (por defecto, a la derecha) */
.hero.is-carousel .hero__slide:not(.is-active) {
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  filter: blur(3px);
  transform: translate3d(8%, 0, -140px) rotateY(-10deg) scale(.92);
}

/* Cuando la diapositiva espera a la izquierda, según la dirección de navegación */
.hero.is-carousel .hero__slide[data-slide-side="left"]:not(.is-active) {
  transform: translate3d(-8%, 0, -140px) rotateY(10deg) scale(.92);
}

/* --- Pista visual --- */
.hero.is-carousel .hero__visual {
  display: grid;
  perspective: 1400px;
  overflow: hidden;
}

.hero.is-carousel .hero__image {
  grid-area: 1 / 1;
  margin-top: 0;
  transform-origin: center center;
  transition:
    transform .62s cubic-bezier(.22, .61, .36, 1),
    opacity .5s ease,
    filter .5s ease,
    visibility .62s ease;
  will-change: transform, opacity;
}

.hero.is-carousel .hero__image.is-active {
  visibility: visible;
  opacity: 1;
  filter: saturate(.8) contrast(1.04);
  transform: translate3d(0, 0, 0) rotateY(0deg) scale(1);
}

.hero.is-carousel .hero__image:not(.is-active) {
  visibility: hidden;
  opacity: 0;
  filter: saturate(.8) contrast(1.04) blur(3px);
  transform: translate3d(6%, 0, -160px) rotateY(-8deg) scale(.94);
}

.hero.is-carousel .hero__image[data-slide-side="left"]:not(.is-active) {
  transform: translate3d(-6%, 0, -160px) rotateY(8deg) scale(.94);
}

/* --- Micro-interacción: entrada escalonada del texto --- */
@keyframes heroRise {
  from {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.hero.is-carousel .hero__slide.is-active .eyebrow,
.hero.is-carousel .hero__slide.is-active .hero__title,
.hero.is-carousel .hero__slide.is-active .hero__lead,
.hero.is-carousel .hero__slide.is-active .hero__notes {
  animation: heroRise .55s cubic-bezier(.22, .61, .36, 1) both;
}

.hero.is-carousel .hero__slide.is-active .hero__title {
  animation-delay: .07s;
}

.hero.is-carousel .hero__slide.is-active .hero__lead {
  animation-delay: .14s;
}

.hero.is-carousel .hero__slide.is-active .hero__notes {
  animation-delay: .21s;
}

/* --- Controles --- */
.hero__controls {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2rem;
}

.hero.is-carousel .hero__controls {
  display: flex;
}

.hero__pause {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .9rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}

.hero__pause:hover,
.hero__pause[aria-pressed="true"] {
  background: var(--ink);
  color: var(--cream);
}

.hero__pause:hover {
  transform: translateY(-1px);
}

.hero__pause:active {
  transform: translateY(0) scale(.97);
}

.hero__pause-icon {
  display: inline-block;
  font-size: .66rem;
  letter-spacing: .12em;
}

/* --- Micro-interacción: indicador activo con progreso del autoplay --- */
@keyframes heroDotProgress {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

.hero__dots {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.hero__dot {
  position: relative;
  width: 11px;
  height: 11px;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  transition:
    width .45s cubic-bezier(.22, .61, .36, 1),
    border-radius .45s cubic-bezier(.22, .61, .36, 1),
    background .2s ease,
    border-color .2s ease;
}

.hero__dot[aria-current="true"] {
  width: 34px;
  border-radius: 999px;
  border-color: var(--pink);
  background: transparent;
}

.hero__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left center;
}

.hero__dots.is-animating .hero__dot[aria-current="true"]::after {
  animation: heroDotProgress var(--hero-rotation, 6000ms) linear forwards;
}

.hero__dots.is-paused .hero__dot[aria-current="true"]::after {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {

  .hero.is-carousel .hero__slide,
  .hero.is-carousel .hero__image,
  .hero__dot,
  .hero__pause {
    transition: none;
  }

  .hero.is-carousel .hero__slide.is-active .eyebrow,
  .hero.is-carousel .hero__slide.is-active .hero__title,
  .hero.is-carousel .hero__slide.is-active .hero__lead,
  .hero.is-carousel .hero__slide.is-active .hero__notes {
    animation: none;
  }

  .hero__dot::after {
    display: none;
  }

  .hero__dot[aria-current="true"] {
    background: var(--pink);
  }
}

/* En pantallas angostas se aligera el efecto (sin desenfoque y con menos recorrido) */
@media (max-width: 800px) {

  .hero.is-carousel .hero__slide:not(.is-active) {
    filter: none;
    transform: translate3d(6%, 0, -120px) rotateY(-6deg) scale(.95);
  }

  .hero.is-carousel .hero__slide[data-slide-side="left"]:not(.is-active) {
    transform: translate3d(-6%, 0, -120px) rotateY(6deg) scale(.95);
  }

  .hero.is-carousel .hero__image:not(.is-active) {
    filter: saturate(.8) contrast(1.04);
    transform: translate3d(5%, 0, -120px) rotateY(-5deg) scale(.96);
  }

  .hero.is-carousel .hero__image[data-slide-side="left"]:not(.is-active) {
    transform: translate3d(-5%, 0, -120px) rotateY(5deg) scale(.96);
  }
}

.sun {
  position: absolute;
  border-radius: 50%;
}

.sun--one {
  top: 12%;
  right: 1%;
  width: 250px;
  height: 250px;
  background: var(--mango);
}

.sun--two {
  bottom: 0;
  left: 7%;
  width: 100px;
  height: 100px;
  background: var(--pink);
}

.popsicle {
  position: absolute;
  width: 115px;
  height: 255px;
  border: 4px solid var(--ink);
  border-radius: 65px 65px 50px 50px;
  box-shadow: 9px 10px 0 rgba(30, 25, 50, .12);
}

.popsicle__stick {
  position: absolute;
  width: 32px;
  height: 72px;
  bottom: -68px;
  left: 50%;
  border: 3px solid var(--ink);
  border-top: 0;
  border-radius: 0 0 18px 18px;
  background: #efc38a;
  transform: translateX(-50%);
}

.popsicle__shine {
  position: absolute;
  width: 14px;
  height: 70px;
  top: 26px;
  left: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .38);
  transform: rotate(12deg);
}

.popsicle--berry {
  z-index: 1;
  top: 78px;
  left: 17%;
  background: #c85968;
  transform: rotate(-16deg);
}

.popsicle--mango {
  z-index: 3;
  top: 30px;
  left: 42%;
  background: var(--mango);
  transform: rotate(9deg);
}

.popsicle--cocoa {
  z-index: 2;
  top: 90px;
  right: 10%;
  background: #75544d;
  transform: rotate(21deg);
}

.protein-badge {
  position: absolute;
  z-index: 5;
  right: -1rem;
  bottom: -1rem;
  width: 124px;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--cream);
  text-align: center;
  transform: rotate(7deg);
  /* font-family: "DM Mono", monospace; */
  font-size: .6rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.protein-badge strong {
  /* font-family: "DM Sans", sans-serif; */
  font-size: .9rem;
}

.spark {
  position: absolute;
  z-index: 6;
  color: var(--cream);
  font-size: 2rem;
}

.spark--one {
  top: 2%;
  left: 20%;
}

.spark--two {
  top: 46%;
  right: 2%;
  font-size: 1.25rem;
}

.fruit {
  position: absolute;
  z-index: 4;
  border: 3px solid var(--ink);
}

.fruit--orange {
  right: 22%;
  bottom: 5%;
  width: 51px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--orange);
}

.fruit--berry {
  left: 9%;
  bottom: 22%;
  width: 34px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #e62665;
}

.fruit--leaf {
  right: 16%;
  top: 5%;
  width: 35px;
  height: 20px;
  border-radius: 100% 0;
  background: var(--mint);
  transform: rotate(-35deg);
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--ink);
  padding: .95rem 0;
  white-space: nowrap;
  color: var(--violet);
}

.marquee div {
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee span,
.marquee i {
  display: inline-block;
  margin: 0 1.6rem;
  /* font-family: "DM Mono", monospace; */
  font-size: .82rem;
  font-style: normal;
  letter-spacing: .08em;
}

.marquee i {
  color: var(--pink);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.section {
  width: min(1240px, calc(100% - 3rem));
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 3rem) 0;
}

/* --- Alternancia de fondos (RF-6) --- */
.section--light {
  background: transparent;
  color: var(--ink);
}

.section--dark {
  color: var(--violet);
}

/* La sección de preguntas pasa a fondo oscuro a ancho completo */
.faq.section--dark {
  width: 100%;
  max-width: none;
  padding-inline: max(1.5rem, calc((100% - 1240px) / 2));
  background: var(--violet-deep);
}

.faq.section--dark .faq__items {
  border-top-color: rgba(255, 248, 232, .28);
}

.faq.section--dark details {
  border-color: var(--pink);
}

/* --- Aviso de cobertura (RF-5) --- */
.coverage-note {
  margin: 2rem 0 0;
  padding: .65rem 1.8rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--violet-deep) 0%, rgba(248, 251, 250, .95) 100%);
  box-shadow: 0 25px 60px -35px var(--pink);
  font-size: clamp(1.6rem, 1vw, 1.08rem);
  font-weight: 600;
  letter-spacing: -.01em;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.coverage-note--dark {
  background: rgba(255, 248, 232, .1);
}

.section-heading {
  max-width: 90%;
}

h2 {
  margin-bottom: 1.4rem;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
}

.section-heading>p:not(.eyebrow) {
  /* max-width: 490px; */
  font-size: 1.05rem;
}

.flavor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.35rem;
  margin-top: 4rem;
  align-items: stretch;
}

.flavor-card {
  min-height: 0;
  /* padding: 1.15rem; */
  position: relative;
  overflow: hidden;
  /* border: 1px solid var(--ink); */
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}

/* Todas las tarjetas de sabores comparten el mismo fondo de marca. */
.flavor-card--coconut,
.flavor-card--green,
.flavor-card--berries,
.flavor-card--strawberry,
.flavor-card--banana,
.flavor-card--tiramisu,
.flavor-card--chocolate {
  background: var(--violet-deep);
}

.flavor-card__art {
  position: relative;
  flex: 1 1 auto;
  min-height: 310px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(30, 25, 50, .16);
  background: rgba(255, 255, 255, .45);
}

.flavor-card__art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: left;
  filter: saturate(1) contrast(1.02);
}

.mini-pop {
  position: absolute;
  width: 92px;
  height: 170px;
  top: 19px;
  left: calc(50% - 45px);
  border: 3px solid var(--ink);
  border-radius: 48px 48px 38px 38px;
  background: var(--cream);
  transform: rotate(-12deg);
}

.mini-pop::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 48px;
  left: 34px;
  bottom: -48px;
  border: 3px solid var(--ink);
  border-top: 0;
  border-radius: 0 0 12px 12px;
  background: #efc38a;
}

.flavor-card--mango .mini-pop {
  background: var(--orange);
}

.flavor-card--berry .mini-pop {
  background: #a84372;
}

.flavor-card--cocoa .mini-pop {
  background: #68403d;
}

.slice {
  position: absolute;
  width: 55px;
  height: 55px;
  top: 55px;
  left: 64%;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--mint);
}

.flavor-card--berry .slice {
  background: #efc0cf;
}

.flavor-card--cocoa .slice {
  background: var(--mango);
}

.flavor-card__number {
  margin-bottom: .45rem;
  /* font-family: "DM Mono", monospace; */
  font-size: .72rem;
}

.flavor-card h3 {
  margin-bottom: .35rem;
  /* font-family: "Bricolage Grotesque", "DM Sans", Arial, sans-serif; */
  font-size: 1.85rem;
  letter-spacing: -.065em;
}

.flavor-card>p:not(.flavor-card__number) {
  max-width: 245px;
  font-size: .82rem;
}

.flavor-card__ingredients {
  margin-bottom: 4rem;
  font-size: .82rem;
  line-height: 1.42;
}

.ingredient-note {
  max-width: 720px;
  margin: 2rem 0 0;
  color: #48615f;
  font-size: .9rem;
}

.flavor-button {
  position: static;
  margin-top: auto;
  border: 0;
  /* border-bottom: 1px solid var(--ink); */
  padding: 0 0 .25rem;
  background: none;
  font-weight: 700;
}

.flavor-button:hover {
  color: var(--violet);
}

.flavor-button.is-selected {
  color: var(--pink);
  border-bottom-color: var(--pink);
}

@media (min-width: 801px) and (max-width: 1100px) {
  .flavor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flavor-card {
    min-height: 0;
  }

  .flavor-card__art {
    min-height: 320px;
  }
}

.reason {
  min-height: 680px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  background: var(--violet-deep);
  /* color: var(--cream); */
  color: var(--ink);
}

.reason__art {
  position: relative;
  min-height: 450px;
  overflow: hidden;
  background: var(--violet-deep);
  object-position: left;
}

.reason__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 48, 46, .08), rgba(14, 48, 46, .68));
}

.reason__art img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: 74% left;
  filter: saturate(.65) contrast(1.08);
}

.reason__ring {
  position: absolute;
  width: 90%;
  aspect-ratio: 1;
  top: 50%;
  left: 50%;
  border: 2px solid var(--ink);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.reason__pop {
  position: absolute;
  width: 180px;
  height: 380px;
  top: 50%;
  left: 50%;
  border: 5px solid var(--ink);
  border-radius: 100px 100px 75px 75px;
  background: var(--mango);
  box-shadow: 16px 15px 0 var(--violet);
  transform: translate(-50%, -50%) rotate(20deg);
}

.reason__pop::after {
  content: "";
  position: absolute;
  width: 42px;
  height: 115px;
  left: 65px;
  bottom: -110px;
  border: 4px solid var(--ink);
  border-top: 0;
  border-radius: 0 0 25px 25px;
  background: #efc38a;
}

.reason__art>span {
  position: absolute;
  z-index: 2;
  bottom: 10%;
  left: 10%;
  color: var(--cream);
  /* font-family: "DM Mono", monospace; */
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  line-height: 1.35;
  transform: rotate(-12deg);
}

.reason__copy {
  align-self: center;
  /* max-width: 620px; */
  padding: clamp(4rem, 9vw, 3rem);
}

.reason__copy h2 {
  max-width: 540px;
}

.reason__copy>p:not(.eyebrow) {
  max-width: 445px;
  font-size: 1.08rem;
}

.reason ul {
  margin: 2.2rem 0 0;
  padding: 0;
  list-style: none;
}

.reason li {
  display: flex;
  gap: 1rem;
  padding: .85rem 0;
  border-top: 1px solid var(--pink);
}

.reason li span {
  /* color: var(--mango); */
  color: var(--violet);
  font: .7rem "DM Mono", monospace;
}

/* --- Entrena. Enfría. Repite.: titular + foto --- */
.how__intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.how__intro .section-heading {
  max-width: 100%;
}

.how__media {
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: var(--violet-deep);
}

.how__media img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: saturate(.8) contrast(1.04);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 4rem 0 0;
  padding: 0;
  counter-reset: step;
  list-style: none;
}

.steps li {
  border-top: 2px solid var(--ink);
  padding-top: 1.1rem;
}

.steps span {
  color: var(--pink);
  font: .75rem "DM Mono", monospace;
}

.steps h3 {
  margin: 1.2rem 0 .6rem;
  /* font-family: "Bricolage Grotesque", "DM Sans", Arial, sans-serif; */
  font-size: 2rem;
  letter-spacing: -.065em;
}

.steps p {
  max-width: 230px;
}

.faq {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(3rem, 10vw, 10rem);
}

.faq__items {
  border-top: 1px solid var(--ink);
}

details {
  border-bottom: 1px solid var(--ink);
}

summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 0;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary span {
  color: var(--pink);
  font-size: 1.5rem;
  font-weight: 400;
  transition: transform .2s ease;
}

details[open] summary span {
  transform: rotate(45deg);
}

details p {
  max-width: 470px;
  margin: 0 2rem 1.35rem 0;
}

.order {
  min-height: 510px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 8vw, 8rem);
  padding: clamp(4rem, 8vw, 2rem) max(1.5rem, calc((100% - 1090px) / 2));
  background: var(--violet-deep);
  color: var(--ink);
}

.order__copy {
  align-self: center;
}

.order__copy h2 {
  max-width: 530px;
}

.order__copy>p:not(.eyebrow) {
  max-width: 430px;
}

.order__copy>p.order__brand {
  max-width: none;
}

.order__brand {
  margin: 0 0 1.2rem;
}

.order__brand-name {
  display: block;
  color: var(--pink);
  /* font-family: "Bricolage Grotesque", "DM Sans", Arial, sans-serif; */
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: .86;
}

.order__brand-slogan {
  display: block;
  margin-top: .5rem;
  color: var(--violet);
  /* font-family: "DM Mono", monospace; */
  font-size: clamp(.8rem, 1vw, .95rem);
  font-weight: 500;
  letter-spacing: .26em;
  line-height: 1.5;
  text-transform: uppercase;
}

.order-form {
  display: grid;
  gap: 1.05rem;
  align-self: center;
}

.order-form label {
  display: grid;
  gap: .4rem;
  font-size: 1rem;
  font-weight: 700;
}

.order-form input,
.order-form select {
  width: 100%;
  min-height: 40px;
  padding: .65rem .8rem;
  border: 1px solid rgba(255, 248, 232, .8);
  border-radius: 5px;
  background: transparent;
  color: var(--ink);
  outline-offset: 3px;
}

.field-hint {
  color: var(--pink);
  font-size: .76rem;
  font-weight: 500;
  line-height: 1.35;
}

.field-note {
  color: var(--violet);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
}

.field-error {
  grid-column: 1 / -1;
  margin: 0;
  padding: .45rem .65rem;
  border-left: 3px solid var(--pink);
  border-radius: 4px;
  background: rgba(232, 46, 45, .09);
  color: var(--ink);
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.4;
}

.field-error:empty {
  display: none;
}

/* .order-form option {
  background: var(--ink);
} */

.button--cream {
  margin-top: .35rem;
  border-color: var(--cream);
  background: var(--cream);
  color: var(--violet-deep);
}

.button--cream:hover {
  background: var(--mango);
  color: var(--ink);
}

.form-message {
  min-height: 1.5rem;
  margin: 0;
  font-size: .87rem;
}

.order-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.05rem;
  align-items: start;
}

/* --- Sabores con cantidad: cuántas de cada uno (RF-6) --- */
.flavor-picker {
  display: grid;
  gap: .55rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.flavor-picker legend {
  padding: 0;
  font-size: 1rem;
  font-weight: 700;
}

/* En móvil la celda es una fila: foto, nombre y cantidad en una línea. */
.flavor-picker__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .45rem;
}

.order-form .flavor-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "thumb name quantity";
  align-items: center;
  gap: .6rem;
  padding: .4rem .55rem;
  border: 1px solid rgba(255, 248, 232, .8);
  border-radius: 5px;
  background: transparent;
  text-align: left;
  transition: border-color .2s ease, background-color .2s ease;
}

.flavor-option__thumb {
  grid-area: thumb;
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255, 255, 255, .5);
}

.flavor-option__name {
  grid-area: name;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.order-form .flavor-option__quantity {
  grid-area: quantity;
  width: 4.2rem;
  min-height: 40px;
  padding: .25rem .2rem;
  border: 1px solid rgba(255, 248, 232, .8);
  border-radius: 5px;
  background: transparent;
  color: var(--ink);
  /* font-family: "DM Mono", monospace; */
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}

.flavor-option__quantity::-webkit-outer-spin-button,
.flavor-option__quantity::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.flavor-option.is-active {
  border-color: var(--pink);
  background: rgba(232, 46, 45, .09);
}

.flavor-total {
  margin: 0;
  /* font-family: "DM Mono", monospace; */
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Con espacio la celda se vuelve una tarjeta: foto arriba, nombre y cantidad abajo. */
@media (min-width: 501px) {
  .flavor-picker__grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .order-form .flavor-option {
    grid-template-columns: 1fr;
    grid-template-areas:
      "thumb"
      "name"
      "quantity";
    justify-items: center;
    gap: .25rem;
    padding: .5rem .4rem .45rem;
    text-align: center;
  }

  .flavor-option__thumb {
    width: 52px;
    height: 52px;
  }

  .flavor-option__name {
    font-size: 1rem;
  }

  .order-form .flavor-option__quantity {
    max-width: 7rem;
  }
}

.order-form label[hidden] {
  display: none;
}

.form-privacy {
  margin: 0;
  color: #6f6a7c;
  font-size: 1rem;
  line-height: 1.45;
}

.form-privacy a {
  color: var(--violet);
  font-weight: 600;
  text-decoration: underline;
  text-underline-color: var(--line);
  text-underline-offset: 3px;
  transition: color .2s ease, text-decoration-color .2s ease;
}

.form-privacy a:hover {
  color: var(--pink);
  text-decoration-color: currentColor;
}

.site-footer {
  width: min(1240px, calc(100% - 3rem));
  margin: auto;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 1rem;
}

.footer__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  color: #6f6a7c;
  font-size: 1rem;
}

.footer__legal p {
  margin: 0;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .3rem 1rem;
  width: 100%;
}

.footer__links a {
  /* font-family: "DM Mono", monospace;
  font-size: .72rem; */
  /* letter-spacing: .06em;
  text-transform: uppercase; */
  font-size: 1rem;
  color: var(--violet);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
  transition: color .2s ease, text-decoration-color .2s ease;
}

.footer__links a:hover {
  color: var(--pink);
  text-decoration-color: currentColor;
}

.footer__credit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem;
}

.footer__credit a {
  display: inline-flex;
  align-items: center;
  gap: .15rem;
  color: var(--violet);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
  transition: color .2s ease, text-decoration-color .2s ease;
}

.footer__credit a:hover {
  color: var(--pink);
  text-decoration-color: currentColor;
}

.footer__credit-arrow {
  font-size: 1em;
}

.brand--footer {
  width: 231px;
}

.site-footer p {
  margin: 0;
  color: #6f6a7c;
}

.footer__actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.social-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--violet);
  /* font-family: "DM Mono", monospace; */
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  transition: background .2s ease, border-color .2s ease;
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-link:hover {
  background: var(--lilac);
  border-color: var(--violet);
}

.footer__top {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-notice {
  border-bottom: 0;
  border-top: 1px solid var(--line);
}

.legal-notice summary {
  padding: .9rem 0;
  font-size: 1rem;
  letter-spacing: .02em;
}

.legal-notice__body {
  max-width: 72ch;
  padding-bottom: .35rem;
}

.legal-notice__body p {
  max-width: none;
  margin: 0 0 .85rem;
  font-size: 1rem;
  line-height: 1.55;
}

.legal-notice__body p:last-child {
  margin-bottom: 0;
}

.legal-notice__body strong {
  color: var(--ink);
}

.legal-notice__body a {
  color: var(--violet);
  font-weight: 600;
  text-decoration: underline;
  text-underline-color: var(--line);
  text-underline-offset: 3px;
  transition: color .2s ease, text-decoration-color .2s ease;
}

.legal-notice__body a:hover {
  color: var(--pink);
  text-decoration-color: currentColor;
}

@media (min-width: 801px) and (max-width: 1100px) {
  .footer__row {
    flex-wrap: wrap;
    row-gap: 1rem;
  }

  .footer__actions {
    width: 100%;
    justify-content: flex-end;
  }
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
}

@media (max-width: 800px) {
  .site-header {
    height: 76px;
    width: min(100% - 2rem, 1240px);
  }

  .site-tagline {
    display: none;
  }

  .main-nav {
    display: none;
  }

  .hero__intro {
    justify-items: start;
    text-align: left;
  }

  .hero__claim {
    justify-self: center;
    text-align: center;
  }

  .hero {
    width: min(100% - 2rem, 1240px);
    min-height: 0;
    margin: .4rem auto 3rem;
    grid-template-columns: 1fr;
    /* El orden se controla con `order` sobre los hijos directos, así que el
       espaciado pasa de depender del hueco de la cuadrícula a usar márgenes. */
    gap: 0;
    padding: 3.5rem 1.5rem 2rem;
  }

  /* Se disuelve la columna de texto para poder intercalar la imagen:
     eslogan -> texto -> imagen -> botones -> controles. */
  .hero__copy {
    display: contents;
  }

  .hero__tagline {
    order: 1;
  }

  .hero__tagline-brand {
    font-size: min(4.75rem, 13vw);
  }

  .hero__slides {
    order: 2;
  }

  .hero__visual {
    order: 3;
    height: 355px;
    margin-top: 1.5rem;
  }

  .hero__actions {
    order: 4;
    margin-top: 1.75rem;
  }

  .hero__controls {
    order: 5;
  }

  .protein-badge {
    right: -.3rem;
    bottom: -.5rem;
  }

  .section {
    width: min(100% - 2rem, 1240px);
  }

  .flavor-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .how__intro {
    grid-template-columns: 1fr;
  }

  .flavor-card {
    padding: 1rem;
  }

  .flavor-card__art {
    min-height: min(105vw, 420px);
  }

  .reason,
  .faq,
  .order {
    grid-template-columns: 1fr;
  }

  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }

    .marquee div {
      animation: none;
    }

    .button,
    .main-nav a,
    .text-link,
    .flavor-button,
    summary span {
      transition: none;
    }
  }

  .reason__art {
    min-height: 390px;
  }

  .reason__art img {
    object-position: 76% center;
  }

  .reason__copy {
    padding: 4rem 1.5rem;
  }

  .faq {
    gap: 2rem;
  }

  .order {
    padding: 4rem 1.5rem;
  }

  .site-footer {
    width: min(100% - 2rem, 1240px);
    padding: 1.5rem 0;
  }

  .footer__row {
    align-items: flex-start;
    flex-direction: column;
    gap: .85rem;
  }

  .footer__legal {
    align-items: flex-start;
    flex-direction: column;
    gap: .25rem;
  }
}

@media (max-width: 420px) {
  .site-header {
    gap: .75rem;
  }

  .site-header .button--small {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: .76rem;
    padding-inline: .7rem;
  }

  .hero__actions .button {
    width: 100%;
  }

  .order-form__row {
    grid-template-columns: 1fr;
  }
}

.fab-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, .45);
  transition: transform var(--transition), box-shadow var(--transition);
}

.fab-whatsapp svg {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.fab-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, .55);
  color: #fff;
}

.fab-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25d366;
  animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: .6;
  }

  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

.marquee {
  overflow: hidden;
  padding: 1rem 0;
  /* difumina los bordes para que el texto entre y salga suave */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee__group {
  display: flex;
  flex-shrink: 0;
  gap: 3rem;
  padding: 0 3rem 0 0;
  /* igual al gap, para que el empalme sea exacto */
  margin: 0;
  list-style: none;
}

.marquee__group li {
  white-space: nowrap;
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 600;
}

/* separador entre elementos */
.marquee__group li::after {
  content: "•";
  margin-left: 3rem;
  color: #ff7a98;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* se detiene al pasar el cursor */
.marquee:hover .marquee__track {
  animation-play-state: paused;
}

/* respeta a quien prefiere menos movimiento */
@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }

  .marquee {
    overflow-x: auto;
  }
}

.ubicacion {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
}

.ubicacion__proximas {
  margin: 3rem 0 0;
  color: var(--violet);
  font-weight: 700;
}

.ubicacion__info {
  align-self: center;
}

.ubicacion__mapa iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 14px;
  filter: grayscale(.3) contrast(1.05);
  /* le da un tono más sobrio */
}

.btn {
  display: inline-block;
  padding: .7rem 1.4rem;
  background: #111;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  transition: transform .2s;
}

.btn:hover {
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .ubicacion {
    grid-template-columns: 1fr;
  }
}