/* ============================================
   Mireme · V1
   Paleta y escala definidas en el Brand Book V1
   ============================================ */

:root {
  --bg: #FAF9F5;
  --bg-alt: #F4F2EC;
  --ink: #0E0E0D;
  --ink-soft: #3D3D3A;
  --ink-mute: #6B6B68;
  --ink-faint: #A8A8A3;
  --card: #FFFFFF;
  --accent: #6B6B68;
  --accent-ink: #3D3D3A;
  --line: rgba(14,14,13,0.08);

  --container: 1120px;
  --container-narrow: 760px;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.32, 0.72, 0, 1);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.015em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; font-weight: inherit; color: var(--ink-faint); }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: var(--r-sm);
}
.skip:focus { left: 8px; z-index: 1000; }

.container {
  width: 100%; max-width: var(--container); padding: 0 24px; margin: 0 auto;
}
.container--narrow { max-width: var(--container-narrow); }
.center { text-align: center; }

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 32px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease-soft), border-color .4s var(--ease-soft), backdrop-filter .4s var(--ease-soft), padding .4s var(--ease-soft);
}
/* Brand SIEMPRE centrado (incluso en hero) — absolute para no afectar el flex */
.nav__brand {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
  pointer-events: auto;
  transition: opacity .35s var(--ease-soft), transform .4s var(--ease-soft);
  z-index: 2;
}
.nav__brand img {
  transition: height .4s var(--ease-soft);
  height: 30px;
  width: auto;
  display: block;
}
/* Links + CTA — ocultos hasta is-scrolled */
.nav__links, .nav > .btn {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .35s var(--ease-soft), transform .35s var(--ease-soft);
}
.nav.is-scrolled {
  background: rgba(250, 249, 245, 0.78);
  backdrop-filter: saturate(1.2) blur(14px);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  border-bottom-color: var(--line);
  padding: 14px 32px;
}
.nav.is-scrolled .nav__brand img { height: 22px; }
.nav.is-scrolled .nav__links,
.nav.is-scrolled > .btn {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.nav__links { display: flex; gap: 28px; }
.nav__links a {
  font-size: 14px; font-weight: 500; color: var(--ink-soft);
  transition: color .2s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
@media (max-width: 820px) {
  .nav__links { display: none; }
}
@media (max-width: 640px) {
  .nav .btn { display: none; }
  .nav { padding: 20px 24px; }
  .nav.is-scrolled { padding: 12px 24px; }
}

/* ============================================
   BUTTONS — glassmorphism (vidrio sutil, noir)
   ============================================ */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  font-family: inherit;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 999px;            /* pill — más Apple/glass */
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  transition:
    background .35s var(--ease-soft),
    color .35s var(--ease-soft),
    border-color .35s var(--ease-soft),
    box-shadow .35s var(--ease-soft),
    transform .35s var(--ease-soft);
  white-space: nowrap;
  text-transform: none;
  isolation: isolate;
}
.btn::before {
  /* highlight superior — el reflejo del vidrio */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 45%);
  pointer-events: none;
  opacity: 0.9;
  z-index: -1;
}
.btn .arrow { display: inline-block; transition: transform .35s var(--ease-soft); }
.btn:hover .arrow { transform: translateX(4px); }

/* Primario — vidrio oscuro (tinta) */
.btn--primary {
  background: rgba(14,14,13,0.88);
  color: var(--bg);
  border-color: rgba(255,255,255,0.08);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 0 0 1px rgba(14,14,13,0.04),
    0 12px 32px -16px rgba(14,14,13,0.45);
}
.btn--primary:hover {
  background: rgba(14,14,13,1);
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.12) inset,
    0 0 0 1px rgba(14,14,13,0.06),
    0 18px 40px -18px rgba(14,14,13,0.55);
}

/* Ghost — vidrio claro */
.btn--ghost {
  background: rgba(255,255,255,0.45);
  color: var(--ink);
  border-color: rgba(14,14,13,0.08);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.7) inset,
    0 0 0 1px rgba(14,14,13,0.02),
    0 10px 30px -18px rgba(14,14,13,0.25);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.7);
  border-color: rgba(14,14,13,0.14);
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 0 0 1px rgba(14,14,13,0.04),
    0 18px 40px -18px rgba(14,14,13,0.35);
}

/* Link — underline sutil, sin vidrio */
.btn--link {
  padding: 13px 0;
  background: transparent;
  color: var(--ink);
  border: 0; border-bottom: 1px solid var(--ink-faint);
  border-radius: 0;
  letter-spacing: 0.02em;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.btn--link::before { content: none; }
.btn--link:hover { border-color: var(--ink); transform: none; box-shadow: none; }

/* Pack featured (fondo oscuro) → vidrio invertido */
.pack--featured .btn--ghost {
  background: rgba(255,255,255,0.10);
  color: var(--bg);
  border-color: rgba(255,255,255,0.18);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.20) inset,
    0 10px 30px -18px rgba(0,0,0,0.5);
}
.pack--featured .btn--ghost:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.3);
}
.pack--featured .btn--primary {
  background: rgba(250,249,245,0.95);
  color: var(--ink);
  border-color: rgba(255,255,255,0.6);
}
.pack--featured .btn--primary:hover {
  background: #fff;
  transform: translateY(-1px);
}

/* ============================================
   01 · HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 160px 0 140px;
  overflow: hidden;
  background:
    radial-gradient(1200px 700px at 65% 30%, rgba(14,14,13,0.04), transparent 65%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}
/* Grid asimétrico: copy a la izquierda (5/12), foto derecha (7/12) — editorial */
.hero__grid {
  position: relative;
  z-index: 2;
}
.hero__copy { max-width: 640px; }

/* Fotos descentradas — coordenadas específicas, sin marco */
.hero__photo {
  position: absolute;
  margin: 0;
  z-index: 1;
  pointer-events: none;
  filter: grayscale(0.35);
}
.hero__photo img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  border-radius: 2px;
}
.hero__photo--a {
  top: 8%;
  right: -3%;
  width: clamp(260px, 28vw, 440px);
  aspect-ratio: 3 / 4;
  transform: rotate(2.5deg);
}
.hero__photo--b {
  bottom: -6%;
  left: -3%;
  width: clamp(180px, 18vw, 280px);
  aspect-ratio: 4 / 5;
  transform: rotate(-5deg);
  opacity: 0.9;
}
.hero__photo--c {
  bottom: 4%;
  right: 4%;
  width: clamp(130px, 13vw, 200px);
  aspect-ratio: 3 / 4;
  transform: rotate(-8deg);
  filter: grayscale(1) contrast(1.05);
  z-index: 1;
}
/* Placeholder fallback si la foto no carga */
.hero__photo.is-missing { background: var(--bg-alt); border: 1px dashed var(--ink-faint); }
.hero__photo.is-missing::after {
  content: "foto"; position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--ink-faint); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
}
.hero__photo.is-missing img { display: none; }

/* Wordmark gigante a la derecha — firma editorial */
.hero__mark {
  position: absolute;
  right: 3vw;
  top: 50%;
  width: clamp(320px, 32vw, 540px);
  height: auto;
  z-index: 1;
  pointer-events: none;
  filter: contrast(1.05);
  opacity: 0;
  transform: translateY(calc(-50% + 30px)) rotate(-4deg);
  animation: hero-mark-in 1.6s var(--ease-soft) 0.5s forwards;
}
@keyframes hero-mark-in {
  to { opacity: 0.92; transform: translateY(-50%) rotate(-4deg); }
}
@media (max-width: 820px) {
  .hero__mark {
    top: auto; bottom: -4%; right: -8%;
    width: 75vw; opacity: 0;
    transform: rotate(-6deg) translateY(20px);
    animation: hero-mark-mobile-in 1.6s var(--ease-soft) 0.5s forwards;
  }
  @keyframes hero-mark-mobile-in {
    to { opacity: 0.08; transform: rotate(-6deg) translateY(0); }
  }
}

/* Índice editorial abajo derecha */
.hero__index {
  position: absolute; right: 32px; bottom: 28px; z-index: 2;
  margin: 0; font-size: 12px; color: var(--ink-mute);
  letter-spacing: 0.2em; text-transform: uppercase;
  opacity: 0;
  animation: hero-fade 1.2s var(--ease-soft) 1s forwards;
}

/* Hero — fade-in inicial escalonado al cargar */
.hero .eyebrow, .hero .h1, .hero .lead, .hero .hero__ctas, .hero__photo {
  opacity: 0; transform: translateY(20px);
  animation: hero-fade 1.4s var(--ease-soft) forwards;
}
.hero .eyebrow      { animation-delay: 0.1s; }
.hero .h1           { animation-delay: 0.25s; }
.hero .lead         { animation-delay: 0.55s; }
.hero .hero__ctas   { animation-delay: 0.8s; }
.hero__photo--a     { animation-delay: 0.45s; animation-duration: 1.6s; }
.hero__photo--b     { animation-delay: 0.65s; animation-duration: 1.6s; }
.hero__photo--c     { animation-delay: 0.95s; animation-duration: 1.6s; }
@keyframes hero-fade {
  to { opacity: 1; transform: translateY(0) rotate(var(--rot, 0deg)); }
}
.hero__photo--a { --rot: 2.5deg; }
.hero__photo--b { --rot: -4deg; opacity: 0; }
.hero__photo--c { --rot: -7deg; opacity: 0; }

@media (max-width: 820px) {
  .hero { min-height: auto; padding: 120px 0 96px; }
  .hero__photo--a {
    top: auto; bottom: -10%; right: -12%;
    width: 65vw; aspect-ratio: 3 / 4;
  }
  .hero__photo--b, .hero__photo--c { display: none; }
  .hero__index { display: none; }
}
.eyebrow {
  font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-mute); margin: 0 0 22px;
}
.h1 {
  font-weight: 500; font-size: clamp(40px, 6.2vw, 76px);
  line-height: 1.03; letter-spacing: -0.045em;
  margin: 0 0 32px; max-width: 16ch;
}
.lead {
  font-size: clamp(16px, 1.4vw, 18px); line-height: 1.55;
  color: var(--ink-soft); max-width: 48ch; margin: 0 0 44px;
}
.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

/* ============================================
   02 · PROOF
   ============================================ */
.proof {
  background: linear-gradient(180deg, #0E0E0D 0%, #1C1C1A 100%);
  color: var(--bg);
  padding: 28px 0;
}
.proof__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.proof__item {
  display: flex; flex-direction: column; gap: 4px;
  border-left: 1px solid rgba(250,249,245,0.12);
  padding-left: 20px;
}
.proof__item:first-child { border-left: 0; padding-left: 0; }
.proof__n {
  font-weight: 500; font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -0.025em;
}
.proof__l {
  font-size: 13px; color: rgba(250,249,245,0.66); letter-spacing: -0.005em;
}
@media (max-width: 820px) {
  .proof__grid { grid-template-columns: repeat(2, 1fr); }
  .proof__item:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 180px 0; }
.section--alt { background: var(--bg-alt); }
/* Numeral editorial — número grande gris a la izquierda + copy a la derecha */
.numeral {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 64px; align-items: start;
}
.numeral__n {
  font-weight: 500; font-size: clamp(120px, 18vw, 240px);
  line-height: 0.85; letter-spacing: -0.06em;
  color: var(--ink);
  opacity: 0.06;
  font-feature-settings: "tnum";
  user-select: none;
  align-self: center;
}
.numeral__copy { max-width: 60ch; padding-top: 12px; }
@media (max-width: 820px) {
  .numeral { grid-template-columns: 1fr; gap: 12px; }
  .numeral__n { font-size: 140px; opacity: 0.08; margin-bottom: -32px; }
}

/* Section split — texto izq + foto der editorial */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 96px; align-items: center; }
.split__copy { max-width: 52ch; }
.split__photo {
  margin: 0; aspect-ratio: 3 / 4; overflow: hidden;
  border-radius: 2px;
}
.split__photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(0.2); }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 56px; }
  .split__photo { aspect-ratio: 4 / 5; max-width: 80%; transform: none; }
}

.h2 {
  font-weight: 500; font-size: clamp(34px, 5vw, 56px);
  line-height: 1.06; letter-spacing: -0.04em;
  margin: 0 0 36px; max-width: 22ch;
}
.h2--center { margin-left: auto; margin-right: auto; text-align: center; max-width: 24ch; }
.h2--xl { font-size: clamp(34px, 4.6vw, 52px); margin-bottom: 32px; }
.h3 { font-weight: 500; font-size: 20px; letter-spacing: -0.02em; margin: 0 0 8px; }
.body {
  font-size: clamp(16px, 1.4vw, 18px); line-height: 1.65; color: var(--ink-soft);
  margin: 0 0 18px; max-width: 64ch;
}
.body--muted { color: var(--ink-mute); }
.body strong { color: var(--ink); font-weight: 600; }

/* 05 · STEPS */
.steps {
  list-style: none; padding: 0; margin: 64px 0 56px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.steps__item {
  background: transparent;
  border-left: 1px solid var(--line);
  padding: 8px 28px 8px 24px;
}
.steps__item:first-child { border-left: 0; padding-left: 0; }
.steps__n {
  display: inline-block;
  font-size: 12px; font-weight: 500; color: var(--ink-mute);
  letter-spacing: 0.18em;
  margin-bottom: 18px;
}
.steps__item p { color: var(--ink-mute); margin: 0; font-size: 15px; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* ============================================
   06 · VIDEO
   ============================================ */
.video { padding: 100px 0 160px; }
.video__head { text-align: center; max-width: 60ch; margin: 0 auto 60px; }
.video__head .h2 { max-width: none; margin-bottom: 12px; }
.video__head .body { margin-left: auto; margin-right: auto; }
.video__frame {
  border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--ink-soft);
  box-shadow: 0 30px 60px -30px rgba(20,20,19,0.25);
}
.video__frame video { width: 100%; height: 100%; object-fit: cover; }

/* ============================================
   07 · PACKS — Tabs Productos / Combos
   ============================================ */
.tabs {
  display: inline-flex;
  margin: 56px auto 48px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(14,14,13,0.05);
  border: 1px solid var(--line);
  gap: 4px;
  justify-content: center;
}
.tabs { display: flex; width: max-content; margin-left: auto; margin-right: auto; }
.tabs__btn {
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-mute);
  background: transparent;
  border: 0;
  padding: 10px 28px;
  border-radius: 999px;
  cursor: pointer;
  transition: color .35s var(--ease-soft), background .35s var(--ease-soft);
}
.tabs__btn:hover { color: var(--ink); }
.tabs__btn.is-active {
  background: var(--ink);
  color: var(--bg);
}

.tabpanel { display: none; }
.tabpanel.is-active { display: block; animation: tab-in .5s var(--ease-soft); }
@keyframes tab-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.product__media {
  position: relative;
  aspect-ratio: 3 / 4;
  margin-bottom: 18px;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--line);
}
.product__media video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform .8s var(--ease-soft);
}
.product:hover .product__media video { transform: scale(1.06); }
.product__badge {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  background: var(--ink);
  color: var(--bg);
  font-size: 10px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.product__name {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.product__desc {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--ink-mute);
  line-height: 1.5;
  flex-grow: 1;
}
.product .btn {
  align-self: flex-start;
  padding: 6px 0 0;
  border: 0;
  border-radius: 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.product .btn::before { content: none; }
.product .btn:hover { background: transparent; box-shadow: none; transform: none; color: #000; }
.product .btn:hover .arrow { transform: translateX(5px); }

@media (max-width: 980px) {
  .products { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .products { grid-template-columns: 1fr; }
}

.packs {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.pack {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  display: flex; flex-direction: column; gap: 8px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.pack:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -24px rgba(14,14,13,0.2); }
.pack--featured {
  background: linear-gradient(180deg, #1C1C1A 0%, #0E0E0D 100%);
  color: var(--bg);
  border-color: transparent;
}
.pack--featured .pack__desc { color: rgba(250,249,245,0.7); }
.pack__badge {
  position: absolute; top: -12px; left: 28px;
  background: var(--bg); color: var(--ink);
  font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line);
}
.pack__name { margin: 0; font-size: 24px; font-weight: 500; letter-spacing: -0.025em; }
.pack__qty { margin: 0 0 14px; font-size: 13px; color: var(--ink-mute); font-weight: 500; letter-spacing: 0.06em; }
.pack--featured .pack__qty { color: rgba(250,249,245,0.55); }
.pack__desc { margin: 0 0 28px; color: var(--ink-mute); font-size: 15px; line-height: 1.55; flex-grow: 1; }
.pack .btn { align-self: flex-start; }
.pack--featured .btn--primary { background: var(--bg); color: var(--ink); }
.pack--featured .btn--primary:hover { background: #fff; }
@media (max-width: 880px) { .packs { grid-template-columns: 1fr; } }

/* ============================================
   08 · LOGOS MARQUEE
   ============================================ */
.logos { padding: 140px 0 140px; }
.logos .h2 { margin-bottom: 80px; }
.logos .body { margin: 0 auto 56px; max-width: 64ch; }

.marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex; align-items: center; gap: 80px;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.marquee__track img {
  height: 72px;
  width: auto;
  max-width: 200px;
  min-width: 120px;
  object-fit: contain;
  flex-shrink: 0;
  filter: grayscale(1) brightness(0.5);
  opacity: 0.75;
  transition: filter .3s var(--ease), opacity .3s var(--ease);
}
.marquee__track img:hover { filter: none; opacity: 1; }
/* Cuadrados → más altos para emparejar área visible con los horizontales */
.marquee__track img[data-tall] { height: 112px; min-width: 140px; }
/* Verticales (más alto que ancho) → todavía más altos */
.marquee__track img[data-vertical] { height: 124px; min-width: 130px; }
/* Logos cuyo PNG tiene padding transparente excesivo → scale visual */
.marquee__track img[src*='sinfrontera'] { transform: scale(1.7); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================
   09 · FAQ
   ============================================ */
.faq { margin-top: 40px; border-top: 1px solid var(--line); }
.faq__item {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-weight: 400; font-size: 17px; letter-spacing: -0.015em;
  color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; font-size: 22px; font-weight: 300; color: var(--ink-mute);
  transition: transform .25s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p {
  margin: 14px 0 4px; color: var(--ink-mute); font-size: 16px; line-height: 1.6; max-width: 60ch;
}

/* ============================================
   10 · CIERRE
   ============================================ */
.close {
  padding: 220px 0 200px;
  text-align: center;
  background:
    radial-gradient(1000px 600px at 50% 100%, rgba(14,14,13,0.08), transparent 60%),
    linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}
.close .h2 { max-width: 22ch; margin-left: auto; margin-right: auto; }
.close .body { margin-left: auto; margin-right: auto; }
.close__ctas {
  display: flex; gap: 24px; justify-content: center; align-items: center; flex-wrap: wrap;
  margin-top: 32px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  background: var(--bg);
}
.footer__inner {
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
}
.footer__inner img { height: 22px; width: auto; opacity: 0.8; }
.footer p { margin: 0; font-size: 13px; color: var(--ink-mute); }
.footer__legal { color: var(--ink-mute); opacity: 0.7; }
.footer__dev {
  margin-top: 6px !important;
  font-size: 11px !important;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint) !important;
  opacity: 0.85;
}
.footer__dev a {
  color: var(--ink-mute);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .25s var(--ease-soft), border-color .25s var(--ease-soft);
}
.footer__dev a:hover { color: var(--ink); border-bottom-color: var(--ink-faint); }

/* ============================================
   REVEAL ON SCROLL — Apple-style: slow, soft, scale up
   ============================================ */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease-soft), transform 1.1s var(--ease-soft); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Stagger: hijos dentro de un .reveal aparecen escalonados */
.reveal > * { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-soft), transform .9s var(--ease-soft); }
.reveal.is-visible > * { opacity: 1; transform: none; }
.reveal.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal.is-visible > *:nth-child(2) { transition-delay: 90ms; }
.reveal.is-visible > *:nth-child(3) { transition-delay: 180ms; }
.reveal.is-visible > *:nth-child(4) { transition-delay: 270ms; }
.reveal.is-visible > *:nth-child(5) { transition-delay: 360ms; }

/* Stagger horizontal en grids (steps, packs, products) */
.steps__item, .pack, .product { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease-soft), transform 1s var(--ease-soft); }
.reveal.is-visible .steps__item, .reveal.is-visible .pack, .reveal.is-visible .product { opacity: 1; transform: none; }
.reveal.is-visible .steps__item:nth-child(1), .reveal.is-visible .pack:nth-child(1), .reveal.is-visible .product:nth-child(1) { transition-delay: 120ms; }
.reveal.is-visible .steps__item:nth-child(2), .reveal.is-visible .pack:nth-child(2), .reveal.is-visible .product:nth-child(2) { transition-delay: 220ms; }
.reveal.is-visible .steps__item:nth-child(3), .reveal.is-visible .pack:nth-child(3), .reveal.is-visible .product:nth-child(3) { transition-delay: 320ms; }
.reveal.is-visible .steps__item:nth-child(4), .reveal.is-visible .product:nth-child(4) { transition-delay: 420ms; }

/* ============================================
   MOBILE
   ============================================ */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 80px 0; }
  .close { padding: 96px 0 80px; }

  /* Hero — tighter, centered tonality, wordmark más sutil */
  .hero {
    padding: 110px 0 80px;
    min-height: auto;
  }
  .hero__copy { max-width: 100%; }
  .h1 {
    font-size: clamp(34px, 9vw, 44px);
    letter-spacing: -0.035em;
    line-height: 1.05;
    margin: 0 0 22px;
    max-width: 18ch;
  }
  .eyebrow { margin: 0 0 18px; font-size: 11px; }
  .lead { font-size: 15px; margin: 0 0 32px; line-height: 1.5; max-width: 38ch; }

  /* CTAs apiladas, primario full-width, link centrado sin underline edge-to-edge */
  .hero__ctas {
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
  .hero__ctas .btn--primary,
  .hero__ctas .btn--ghost { width: 100%; justify-content: center; }
  .hero__ctas .btn--link {
    width: auto;
    align-self: center;
    border-bottom: 0;
    padding: 8px 4px;
    color: var(--ink-mute);
  }
  .hero__ctas .btn--link:hover { color: var(--ink); }
  .btn { padding: 14px 20px; min-height: 48px; }

  /* Wordmark watermark — oculto en mobile para que no compita con el texto */
  .hero__mark { display: none; }
}

/* ============================================
   SCROLL-DRIVEN ANIMATIONS — Apple-style, progresivo
   Reemplaza/complementa el reveal IO con scroll-timeline
   ============================================ */

/* Smooth anchors */
html { scroll-behavior: smooth; }

@supports (animation-timeline: view()) {

  /* Cualquier .reveal: progresivo fade + lift basado en posición en viewport */
  .reveal {
    /* anula el opacity:0 estático del IO — scroll-driven se encarga */
    animation: reveal-progress linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
    opacity: 1; /* base, lo controla el keyframe */
    transform: none;
  }
  /* el JS que pone is-visible deja de ser necesario; igual mantenemos compat */

  @keyframes reveal-progress {
    from { opacity: 0; transform: translateY(48px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* Stagger interno: hijos directos también progresan, con leve delay vía animation-range */
  .reveal > .h2,
  .reveal > .container > .h2,
  .reveal .h2--center {
    animation: title-progress linear both;
    animation-timeline: view();
    animation-range: entry 5% cover 35%;
  }
  @keyframes title-progress {
    from { opacity: 0; transform: translateY(28px); letter-spacing: -0.025em; filter: blur(4px); }
    to   { opacity: 1; transform: translateY(0);   letter-spacing: -0.045em; filter: blur(0); }
  }

  /* Photos: entran con escala + desaturado → color */
  .split__photo,
  .product__media,
  .video__frame {
    animation: photo-progress linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 50%;
  }
  @keyframes photo-progress {
    from { opacity: 0; transform: scale(1.08); filter: grayscale(0.6) brightness(0.95); }
    to   { opacity: 1; transform: scale(1);    filter: grayscale(0)   brightness(1); }
  }

  /* Numeral gigante: se agranda mientras entra */
  .numeral__n {
    animation: numeral-progress linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 60%;
  }
  @keyframes numeral-progress {
    from { opacity: 0;    transform: translateY(40px) scale(0.92); }
    to   { opacity: 0.08; transform: translateY(0)    scale(1); }
  }

  /* Pasos / packs / productos: stagger horizontal progresivo */
  .steps__item,
  .pack,
  .product {
    animation: card-progress linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
    opacity: 1;
    transform: none;
  }
  @keyframes card-progress {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* Hero wordmark gigante: parallax — sube y se desvanece mientras scrolleás el hero */
  .hero__mark {
    animation: hero-mark-scroll linear both;
    animation-timeline: scroll(root);
    animation-range: 0 80vh;
  }
  @keyframes hero-mark-scroll {
    from { transform: translateY(-50%) rotate(-4deg); opacity: 0.92; }
    to   { transform: translateY(-90%) rotate(-4deg); opacity: 0; }
  }

  /* Hero copy: parallax suave hacia arriba */
  .hero__copy {
    animation: hero-copy-scroll linear both;
    animation-timeline: scroll(root);
    animation-range: 0 70vh;
  }
  @keyframes hero-copy-scroll {
    from { transform: translateY(0); opacity: 1; }
    to   { transform: translateY(-40px); opacity: 0; }
  }
}

/* Respeto del usuario que prefiere reducir movimiento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal > *, .split__photo, .product__media, .video__frame,
  .numeral__n, .steps__item, .pack, .product, .hero__mark, .hero__copy {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
  }
}
