/* ============================================================
   LAMBERTS® — Monohidrato de Creatina en Polvo · Landing
   ============================================================ */

:root {
  --blue: #014FA2;
  --blue-deep: #062C5E;
  --blue-ink: #041F42;
  --blue-mist: #DCE9F6;
  --red: #EE2130;
  --red-dark: #C8102E;
  --paper: #F6F8FB;
  --white: #FFFFFF;
  --ink: #0B1220;
  --ink-soft: #45536B;
  --line: #E3E9F2;
  --font: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --radius: 20px;
  --nav-h: 76px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

::selection { background: var(--red); color: #fff; }

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

/* ---------- Eyebrow / headings ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before {
  content: '';
  width: 34px; height: 2px;
  background: var(--red);
}

h1, h2, h3 { font-stretch: 115%; }

.section-title {
  font-size: clamp(34px, 4.6vw, 60px);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin: 18px 0 0;
}

.section-sub {
  margin-top: 20px;
  max-width: 560px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 34px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  border: 0;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .3s;
  will-change: transform;
}
.btn svg { transition: transform .35s var(--ease-out); }
.btn:hover { transform: translateY(-3px); }
.btn:hover svg { transform: translateX(5px); }

.btn--red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 14px 34px -12px rgba(238, 33, 48, .55);
}
.btn--red:hover { background: var(--red-dark); box-shadow: 0 20px 44px -12px rgba(238, 33, 48, .6); }

.btn--ghost {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.4);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 2px #fff; }

.btn--ghost-ink {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--line);
}
.btn--ghost-ink:hover { box-shadow: inset 0 0 0 2px var(--blue); color: var(--blue); }

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background .4s, box-shadow .4s, transform .45s var(--ease-out);
}
.nav--scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav--hidden { transform: translateY(-100%); }

.nav__inner {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo img { height: 34px; width: auto; }
.nav--not-top .nav__logo img { filter: none; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}
.nav__links a {
  position: relative;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  padding: 6px 0;
  transition: color .3s;
}
.nav--scrolled .nav__links a { color: var(--ink-soft); }
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: bottom left;
  transition: transform .35s var(--ease-out);
}
.nav__links a:hover { color: #fff; }
.nav--scrolled .nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta {
  height: 44px;
  padding: 0 24px;
  font-size: 13px;
}
.nav__burger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 44px; height: 44px;
}
.nav__burger span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  margin: 5px auto;
  transition: .3s;
}
.nav--scrolled .nav__burger span { background: var(--ink); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 90px;
  background:
    radial-gradient(1100px 620px at 82% 30%, rgba(1, 95, 190, .85), transparent 60%),
    linear-gradient(135deg, var(--blue-ink) 0%, var(--blue-deep) 55%, #0A3E7E 100%);
  color: #fff;
  overflow: hidden;
}
#particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 160px;
  background: linear-gradient(to bottom, transparent, rgba(4, 31, 66, .55));
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: center;
}

.hero .eyebrow { color: #7FB3E8; }
.hero .eyebrow::before { background: var(--red); }

.hero__title {
  margin-top: 26px;
  font-size: clamp(52px, 7.2vw, 108px);
  font-weight: 900;
  font-stretch: 120%;
  line-height: .94;
  letter-spacing: -.015em;
  text-transform: uppercase;
}
.hero__title .accent { color: var(--red); }
.hero__title .thin { font-weight: 300; font-stretch: 100%; }

.hero__sub {
  margin-top: 28px;
  max-width: 520px;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.7;
  color: rgba(255,255,255,.82);
}
.hero__sub strong { color: #fff; }

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
  list-style: none;
}
.hero__chips li {
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.92);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 38px;
}
.hero__price {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  letter-spacing: .04em;
}
.hero__price strong {
  display: block;
  font-size: 26px;
  font-weight: 850;
  color: #fff;
  letter-spacing: 0;
}

/* Hero product stage */
.hero__stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 480px;
}
.hero__ring {
  position: absolute;
  width: min(30vw, 430px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FF5560, var(--red) 55%, var(--red-dark));
  box-shadow:
    0 40px 90px -30px rgba(0,0,0,.55),
    inset 0 -20px 50px rgba(0,0,0,.25);
}
.hero__ring::after {
  content: '';
  position: absolute;
  inset: -26px;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.35);
  animation: spin 40s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero__product {
  position: relative;
  z-index: 2;
  width: min(26vw, 360px);
  height: auto;
  filter: drop-shadow(0 45px 45px rgba(0,0,0,.45));
  animation: bob 6s ease-in-out infinite;
  will-change: transform;
}
@keyframes bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -16px; }
}

.hero__float {
  position: absolute;
  z-index: 3;
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,.96);
  color: var(--ink);
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.5);
  font-size: 13px;
  line-height: 1.35;
  will-change: transform;
}
.hero__float strong {
  display: block;
  font-size: 22px;
  font-weight: 900;
  font-stretch: 115%;
  color: var(--blue);
}
.hero__float--a { top: 8%; left: -4%; }
.hero__float--b { bottom: 14%; right: -6%; }
.hero__float--b strong { color: var(--red); }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
.hero__scroll::after {
  content: '';
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,.7), transparent);
  animation: drip 2s var(--ease-out) infinite;
}
@keyframes drip {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Marquee ---------- */

.marquee {
  background: var(--red);
  color: #fff;
  overflow: hidden;
  padding: 18px 0;
  transform: rotate(-1.2deg) scale(1.02);
  margin: -26px 0 0;
  position: relative;
  z-index: 5;
  box-shadow: 0 18px 40px -20px rgba(200, 16, 46, .6);
}
.marquee__track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 0 28px;
  font-size: 14px;
  font-weight: 800;
  font-stretch: 110%;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee__item::after {
  content: '✦';
  font-size: 12px;
  opacity: .75;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Benefits bento ---------- */

.benefits { padding: 130px 0 120px; background: var(--paper); }

.bento {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(240px, auto);
  gap: 22px;
}
.bento__card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 34px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s;
}
.bento__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -30px rgba(6, 44, 94, .35);
  border-color: transparent;
}
.bento__card--large { grid-column: span 2; grid-row: span 2; background: var(--blue-deep); color: #fff; border: 0; }
.bento__card--tall { grid-row: span 2; }

.bento__num {
  position: absolute;
  top: 26px; right: 30px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--red);
}
.bento__card--large .bento__num { color: rgba(255,255,255,.5); }

.bento__glyph {
  position: absolute;
  top: 22px; left: 30px;
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue-mist);
  color: var(--blue);
}
.bento__card--large .bento__glyph { background: rgba(255,255,255,.12); color: #fff; }
.bento__glyph svg { width: 26px; height: 26px; }

.bento__stat {
  font-size: clamp(64px, 7vw, 110px);
  font-weight: 900;
  font-stretch: 120%;
  line-height: .9;
  letter-spacing: -.02em;
  color: var(--blue);
  margin-bottom: 14px;
}
.bento__card--large .bento__stat { color: #fff; }
.bento__stat small {
  font-size: .32em;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--red);
  font-stretch: 100%;
}
.bento__card--large .bento__stat small { color: #FFD6DA; }

.bento__title {
  font-size: 21px;
  font-weight: 850;
  font-stretch: 112%;
  text-transform: uppercase;
  letter-spacing: .01em;
  margin-bottom: 10px;
}
.bento__text { font-size: 15px; line-height: 1.65; color: var(--ink-soft); }
.bento__card--large .bento__text { color: rgba(255,255,255,.8); max-width: 420px; }

.bento__foot {
  margin-top: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
}
.bento__card--large .bento__foot { color: #9CC4EE; }

/* ---------- Science (pinned) ---------- */

.science {
  position: relative;
  background: var(--blue-ink);
  color: #fff;
}
.science__pin {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  padding: 100px 0;
}
.science .eyebrow { color: #7FB3E8; }
.science__title {
  font-size: clamp(36px, 4.4vw, 62px);
  font-weight: 850;
  font-stretch: 118%;
  line-height: 1;
  text-transform: uppercase;
  margin-top: 20px;
}
.science__title em { font-style: normal; color: var(--red); }
.science__hint {
  margin-top: 28px;
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  display: flex;
  align-items: center;
  gap: 12px;
}
.science__hint::before { content: ''; width: 44px; height: 1px; background: rgba(255,255,255,.3); }

.science__statements { position: relative; min-height: 420px; display: grid; gap: 48px; align-content: center; }
.science__statement {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* Estados ocultos solo cuando JS "arma" la sección (sin JS todo queda visible) */
.science.armed .science__statement {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
}
.science.armed .science__statement.is-active { opacity: 1; visibility: visible; }
.science__index {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .3em;
  color: var(--red);
  text-transform: uppercase;
}
.science__headline {
  margin-top: 16px;
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 800;
  font-stretch: 112%;
  line-height: 1.12;
  text-transform: uppercase;
}
.science__body {
  margin-top: 20px;
  max-width: 540px;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255,255,255,.78);
}
.science__progress {
  margin-top: 34px;
  display: flex;
  gap: 8px;
}
/* Con la sección "armada" (JS activo) las barras se fijan arriba del bloque,
   fuera del flujo de la rejilla, para no solapar el texto centrado */
.science.armed .science__progress {
  position: absolute;
  top: 34px;
  left: 0;
  margin-top: 0;
}
.science__progress span {
  width: 44px; height: 3px;
  background: rgba(255,255,255,.18);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.science__progress span i {
  position: absolute; inset: 0;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
}

/* ---------- Formula / Inside ---------- */

.inside { padding: 130px 0; background: var(--white); }
.inside__grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.inside__media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px -40px rgba(6, 44, 94, .35);
}
.inside__media img { width: 100%; }
.inside__caption {
  padding: 18px 24px;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.dose {
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.dose__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  font-size: 15px;
}
.dose__row + .dose__row { border-top: 1px solid var(--line); }
.dose__row--head {
  background: var(--blue-deep);
  color: #fff;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: 13px;
}
.dose__row strong { font-weight: 850; color: var(--blue); font-size: 17px; }

.standards { margin-top: 30px; display: grid; gap: 14px; }
.standards__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.standards__item::before {
  content: '';
  flex: 0 0 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background:
    linear-gradient(var(--blue), var(--blue)) center/10px 2px no-repeat,
    linear-gradient(var(--blue), var(--blue)) center/2px 10px no-repeat,
    var(--blue-mist);
  transform: rotate(45deg);
}
.standards__item strong { color: var(--ink); }

.allergen-chips {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.allergen-chips span {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: .25s;
}
.allergen-chips span:hover { border-color: var(--blue); color: var(--blue); }

.vegan-tag {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px 12px 14px;
  border-radius: 999px;
  background: #EAF6EC;
  border: 1px solid #C9E8D2;
  font-size: 14px;
  font-weight: 700;
  color: #1E7A3C;
}
.vegan-tag img { width: 26px; height: 26px; }

/* ---------- How to ---------- */

.how { padding: 130px 0; background: var(--blue-deep); color: #fff; overflow: hidden; }
.how .eyebrow { color: #7FB3E8; }
.how__layout {
  margin-top: 70px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.how__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .65);
}
.how__media img { width: 100%; display: block; }
.how__steps { display: flex; flex-direction: column; }
.how__step { position: relative; padding: 8px 0; }
.how__step + .how__step { border-top: 1px solid rgba(255,255,255,.14); padding-top: 36px; margin-top: 36px; }
.how__num {
  font-size: clamp(70px, 7vw, 110px);
  font-weight: 900;
  font-stretch: 120%;
  line-height: .85;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,.4);
  transition: .5s var(--ease-out);
}
.how__step:hover .how__num { color: var(--red); -webkit-text-stroke-color: var(--red); }
.how__name {
  margin-top: 22px;
  font-size: 20px;
  font-weight: 850;
  font-stretch: 112%;
  text-transform: uppercase;
}
.how__text { margin-top: 12px; font-size: 15px; line-height: 1.7; color: rgba(255,255,255,.72); }
.how__note {
  margin-top: 60px;
  padding: 22px 28px;
  border-radius: 16px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(255,255,255,.85);
  max-width: 760px;
}
.how__note strong { color: #fff; }

/* ---------- FAQ ---------- */

.faq { padding: 130px 0; background: var(--paper); }
.faq__list { margin-top: 56px; max-width: 860px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 4px;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 750;
  font-stretch: 108%;
  color: var(--ink);
  transition: color .3s;
}
.faq__q:hover { color: var(--blue); }
.faq__icon {
  flex: 0 0 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  position: relative;
  transition: .35s var(--ease-out);
}
.faq__icon::before, .faq__icon::after {
  content: '';
  position: absolute;
  background: var(--ink);
  transition: .35s var(--ease-out);
}
.faq__icon::before { width: 12px; height: 2px; }
.faq__icon::after { width: 2px; height: 12px; }
.faq__item.open .faq__icon { background: var(--red); border-color: var(--red); }
.faq__item.open .faq__icon::before { background: #fff; }
.faq__item.open .faq__icon::after { transform: rotate(90deg); opacity: 0; }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s var(--ease-out);
}
.faq__a p {
  padding: 0 44px 30px 4px;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 720px;
}

/* ---------- Final CTA ---------- */

.cta {
  position: relative;
  padding: 150px 0;
  background:
    radial-gradient(900px 500px at 50% 120%, rgba(1, 95, 190, .8), transparent 65%),
    linear-gradient(160deg, var(--blue-ink), var(--blue-deep));
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.cta__pot {
  position: absolute;
  width: 300px;
  right: -60px;
  bottom: -60px;
  opacity: .16;
  filter: grayscale(.4);
  pointer-events: none;
}
.cta__title {
  font-size: clamp(44px, 6.4vw, 96px);
  font-weight: 900;
  font-stretch: 120%;
  line-height: .96;
  text-transform: uppercase;
  letter-spacing: -.015em;
}
.cta__title .accent { color: var(--red); }
.cta__price {
  margin-top: 34px;
  font-size: 15px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
}
.cta__price strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 900;
  font-stretch: 115%;
  color: #fff;
  letter-spacing: 0;
}
.cta__price strong small { font-size: .38em; font-weight: 700; color: rgba(255,255,255,.65); letter-spacing: .1em; }
.cta__actions {
  margin-top: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.cta__legal {
  margin-top: 26px;
  font-size: 13px;
  color: rgba(255,255,255,.5);
}

/* ---------- Footer ---------- */

.footer {
  background: var(--blue-ink);
  color: rgba(255,255,255,.6);
  padding: 56px 0 46px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer__grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}
.footer__brand {
  font-size: 26px;
  font-weight: 900;
  font-stretch: 118%;
  letter-spacing: -.01em;
  color: #fff;
  text-transform: uppercase;
  line-height: 1;
  transition: color .3s;
}
.footer__brand span { font-weight: 400; font-stretch: 100%; color: rgba(255,255,255,.65); }
.footer__brand:hover { color: var(--red); }
.footer__legal {
  max-width: 640px;
  font-size: 12.5px;
  line-height: 1.7;
}
.footer__links { display: flex; gap: 26px; list-style: none; }
.footer__links a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: color .3s;
}
.footer__links a:hover { color: #fff; }
.footer__copy {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Reveal & kinetic ---------- */

/* .reveal se oculta solo desde JS (gsap.set); por defecto todo es visible */
.kword { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.kin { display: inline-block; will-change: transform; }

.science__statement { transition: opacity .6s var(--ease-out), visibility .6s; }

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .hero__grid { grid-template-columns: 1fr; gap: 60px; }
  .hero__stage { min-height: 420px; }
  .hero__product { width: min(52vw, 320px); }
  .hero__ring { width: min(64vw, 400px); }
  .hero__float--a { left: 2%; }
  .hero__float--b { right: 2%; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento__card--large { grid-column: span 2; }
  /* El icono pasa al flujo para no montarse sobre el título cuando la tarjeta se achata */
  .bento__glyph { position: static; margin-bottom: 20px; }
  .science__pin { grid-template-columns: 1fr; gap: 30px; align-content: center; }
  .science__statements { min-height: 380px; }
  .inside__grid { grid-template-columns: 1fr; gap: 40px; }
  /* En móvil/tablet la imagen de "Cómo tomarla" se retira y los pasos ocupan todo el ancho */
  .how__layout { grid-template-columns: 1fr; }
  .how__media { display: none; }
  .how__steps { grid-template-columns: 1fr; }
  .how__step + .how__step { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); padding-left: 0; padding-top: 36px; margin-top: 36px; }
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav--open .nav__links {
    display: flex;
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    background: rgba(4, 31, 66, .97);
    backdrop-filter: blur(14px);
    padding: 28px 32px 34px;
  }
  .nav--open .nav__links a { color: #fff; font-size: 18px; padding: 8px 0; }
}

@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .bento__card--large { grid-column: span 1; grid-row: span 1; }
  .bento__card--tall { grid-row: span 1; }
  .hero__float--a { top: 0; }
  .hero__float--b { bottom: 4%; }
  .btn { width: 100%; justify-content: center; }
  .hero__actions .btn { width: auto; }
  .cta__pot { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
