/* ============================================
   MIKA SANTILLÁN NUTRICIONISTA
   Portada rediseñada — se carga después de styles.css
   (admin.html y customer.html siguen solo con styles.css)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500&display=swap');

:root {
  --font-headline: 'Fraunces', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', 'Inter', sans-serif;

  --espresso: #2B1D12;
  --cocoa: #4B3621;
  --copper: #B07650;
  --copper-light: #E3B892;
  --cream: #FBF6EE;
  --sand: #F3EADC;
  --sand-deep: #E8DCC8;
  --ink: #1E1B13;
  --ink-soft: #5B5045;
  --line: rgba(75, 54, 33, 0.14);

  --color-surface: var(--cream);
  --color-accent: var(--copper-light);
  --color-accent-dark: var(--copper);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-height: 76px;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
}

h1, h2, h3, h4 {
  font-family: var(--font-headline);
  font-weight: 500;
  color: var(--espresso);
  letter-spacing: -0.01em;
}

h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); line-height: 1.08; }
h3 { font-size: 1.35rem; line-height: 1.25; }

h1 em, h2 em, h3 em {
  font-style: italic;
  color: var(--copper);
  font-weight: 400;
}

p { color: var(--ink-soft); }

.section { padding: clamp(4.5rem, 3rem + 6vw, 8rem) 0; }
.section--sand { background: var(--sand); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
}
.eyebrow--light { color: var(--copper-light); }

.head {
  max-width: 680px;
  margin: 0 auto clamp(2.5rem, 2rem + 2vw, 4rem);
  text-align: center;
}
.head .eyebrow::after {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
}
.head p { font-size: 1.08rem; margin-top: 1rem; }
.head--light h2 { color: #fff; }
.head--left { text-align: left; margin: 0; }
.head--left .eyebrow::after { display: none; }
.head--left .btn { margin-top: 1.75rem; }

/* ---------- Botones ---------- */
.btn { font-family: var(--font-body); letter-spacing: 0.01em; }
.btn--primary {
  background: var(--espresso);
  box-shadow: 0 10px 30px -12px rgba(43, 29, 18, 0.6);
}
.btn--primary:hover { background: var(--cocoa); }
.btn--copper {
  background: linear-gradient(135deg, #C98D63, var(--copper));
  color: #fff;
  box-shadow: 0 14px 34px -14px rgba(176, 118, 80, 0.9);
}
.btn--copper:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn--glass {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn--glass:hover { background: rgba(255, 255, 255, 0.22); transform: translateY(-2px); }
.btn--outline { border-color: var(--line); color: var(--espresso); }

/* ---------- Navegación ---------- */
.nav {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background 0.35s ease, box-shadow 0.35s ease, height 0.35s ease;
}
.nav.scrolled {
  background: rgba(251, 246, 238, 0.9);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line);
  height: 66px;
}
.nav__logo { height: 46px; transition: height 0.35s ease, filter 0.35s ease; }
.nav.scrolled .nav__logo { height: 40px; }
.nav__link { font-weight: 600; color: var(--ink-soft); }
.nav__link::after { background: var(--copper); }
.nav__social { display: flex; gap: 0.25rem; }
.nav__social a { color: var(--ink-soft); }

@media (min-width: 769px) {
  .has-hero .nav:not(.scrolled) .nav__logo { filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0,0,0,0.3)); }
  .has-hero .nav:not(.scrolled) .nav__link,
  .has-hero .nav:not(.scrolled) .nav__social a { color: rgba(255, 255, 255, 0.88); }
  .has-hero .nav:not(.scrolled) .nav__link:hover { color: #fff; }
  .has-hero .nav:not(.scrolled) .btn--outline { color: #fff; border-color: rgba(255,255,255,0.4); }
  .has-hero .nav:not(.scrolled) .nav__cta { background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.35); box-shadow: none; }
}

@media (max-width: 1080px) {
  .nav__social { display: none; }
}
@media (max-width: 768px) {
  .has-hero .nav:not(.scrolled) .nav__hamburger span { background: #fff; }
  .has-hero .nav:not(.scrolled) .nav__logo { filter: brightness(0) invert(1); }
  .nav__cta { display: none; }
  .nav__links { background: var(--cream); }
  /* styles.css declara .mobile-only{display:none} después del media query y lo anula */
  .nav__links .mobile-only { display: block; }
}

/* ---------- Hero con video ---------- */
.hx {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--espresso);
  color: #fff;
  isolation: isolate;
}
.hx__media {
  position: absolute;
  inset: -12% 0 -12% 0;
  z-index: -2;
  will-change: transform;
}
.pv {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hx__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 13, 7, 0.55) 0%, rgba(20, 13, 7, 0.15) 30%, rgba(20, 13, 7, 0.35) 60%, rgba(20, 13, 7, 0.88) 100%),
    linear-gradient(90deg, rgba(20, 13, 7, 0.55) 0%, rgba(20, 13, 7, 0.1) 65%),
    radial-gradient(120% 80% at 0% 100%, rgba(43, 29, 18, 0.7), transparent 60%);
}
.hx__content {
  padding-top: calc(var(--nav-height) + 3rem);
  padding-bottom: clamp(5rem, 4rem + 4vw, 7.5rem);
  will-change: transform, opacity;
}
.hx__title {
  font-size: clamp(2.7rem, 1.6rem + 5.2vw, 6.2rem);
  line-height: 0.98;
  font-weight: 400;
  color: #fff;
  max-width: 13ch;
  letter-spacing: -0.025em;
}
.hx__title em { color: var(--copper-light); }
.hx__subtitle {
  max-width: 560px;
  margin-top: 1.6rem;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}
.hx__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.2rem;
}
.hx__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 1rem + 3vw, 4rem);
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  max-width: 640px;
}
.hx__stats dt {
  font-family: var(--font-headline);
  font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem);
  line-height: 1;
  color: #fff;
}
.hx__stats dd {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}
.hx__scroll {
  position: absolute;
  right: clamp(1.25rem, 4vw, 3rem);
  bottom: 2.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hx__scroll i {
  width: 1px;
  height: 56px;
  background: linear-gradient(rgba(255,255,255,0.8), transparent);
  animation: scrollHint 2.2s var(--ease-out) infinite;
  transform-origin: top;
}
@keyframes scrollHint {
  0% { transform: scaleY(0); opacity: 1; }
  70% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}
@media (max-width: 640px) {
  .hx__scroll { display: none; }
  .hx__actions .btn { flex: 1 1 100%; }
  .hx__stats { gap: 1.25rem 2rem; }
}

/* ---------- Quién soy ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2.5rem, 2rem + 4vw, 6rem);
  align-items: center;
}
.about__media {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 520px;
  width: 100%;
  justify-self: center;
}
.about__photo { position: absolute; margin: 0; overflow: hidden; will-change: transform; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__photo--main {
  inset: 0 18% 8% 0;
  border-radius: 999px 999px 24px 24px;
  box-shadow: 0 40px 80px -40px rgba(43, 29, 18, 0.55);
}
.about__photo--small {
  width: 44%;
  aspect-ratio: 3 / 4;
  right: 0;
  bottom: 0;
  border-radius: 20px;
  border: 6px solid var(--cream);
  box-shadow: 0 30px 60px -30px rgba(43, 29, 18, 0.6);
}
.about__seal {
  position: absolute;
  top: 8%;
  right: 4%;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: var(--espresso);
  color: #fff;
  display: grid;
  place-content: center;
  text-align: center;
  box-shadow: 0 20px 40px -20px rgba(43, 29, 18, 0.8);
}
.about__seal strong { font-family: var(--font-headline); font-size: 1.9rem; font-weight: 500; color: var(--copper-light); line-height: 1; }
.about__seal span { font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 0.35rem; color: rgba(255,255,255,0.8); }
.about__text h2 { margin-bottom: 1.5rem; }
.about__text .lead {
  font-family: var(--font-headline);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--cocoa);
  line-height: 1.45;
  margin-bottom: 1.25rem;
}
.about__text p + p { margin-top: 1rem; }
.about__text strong { color: var(--espresso); }
.about__signature { height: 74px; width: auto; margin: 1.75rem 0 1.5rem; opacity: 0.9; }
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 420px; }
}

/* ---------- Reel: video que se expande ---------- */
.reel {
  position: relative;
  height: 300vh;
  background: var(--cream);
  --p: 0;
}
.reel__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.reel__intro {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--nav-height) + 1.5rem);
  text-align: center;
  padding: 0 1.5rem;
  z-index: 2;
  opacity: calc(1 - var(--p) * 8);
  transform: translateY(calc(var(--p) * -160px));
}
.reel__intro .eyebrow::after { content: ''; width: 28px; height: 1px; background: currentColor; }
.reel__intro h2 { font-size: clamp(1.8rem, 1rem + 2.4vw, 3rem); }
.reel__frame {
  position: absolute;
  inset: 0;
  --ix: calc(22% * (1 - var(--e, 0)));
  --iy-top: calc(30% * (1 - var(--e, 0)));
  --iy-bot: calc(10% * (1 - var(--e, 0)));
  --ir: calc(28px * (1 - var(--e, 0)));
  clip-path: inset(var(--iy-top) var(--ix) var(--iy-bot) var(--ix) round var(--ir));
  background: var(--espresso);
}
.reel__frame .pv {
  transform: scale(calc(1.35 - var(--e, 0) * 0.35)) translateY(calc((var(--p) - 0.5) * -8%));
  will-change: transform;
}
.reel__shade {
  position: absolute;
  inset: 0;
  background: rgba(20, 13, 7, calc(0.15 + var(--e, 0) * 0.45));
}
.reel__lines {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  list-style: none;
  pointer-events: none;
}
.reel__line {
  grid-area: 1 / 1;
  font-family: var(--font-headline);
  font-size: clamp(2.2rem, 1.2rem + 5vw, 5.6rem);
  font-weight: 400;
  font-style: italic;
  color: #fff;
  text-align: center;
  padding: 0 1.5rem;
  line-height: 1.05;
  opacity: 0;
  transform: translateY(40px);
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}
.reel__line span {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--copper-light);
  margin-bottom: 1rem;
}
@media (max-width: 640px) {
  .reel__frame {
    --ix: calc(6% * (1 - var(--e, 0)));
    --iy-top: calc(34% * (1 - var(--e, 0)));
    --iy-bot: calc(14% * (1 - var(--e, 0)));
  }
}

/* ---------- Servicios ---------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.svc {
  position: relative;
  padding: 2.5rem 2.25rem 2.75rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.4s ease;
}
.svc:hover { background: #fff; }
.svc__num {
  position: absolute;
  top: 1.6rem;
  right: 1.8rem;
  font-family: var(--font-headline);
  font-size: 0.95rem;
  color: var(--copper);
}
.svc__icon,
.pillar svg,
.chip svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.svc__icon { width: 34px; height: 34px; color: var(--cocoa); margin-bottom: 1.5rem; }
.svc h3 { margin-bottom: 0.75rem; }
.svc p { font-size: 0.95rem; line-height: 1.7; }
@media (max-width: 1024px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .services__grid { grid-template-columns: 1fr; }
  .svc { padding: 2rem 1.5rem; }
}

/* ---------- Modalidades ---------- */
.modes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
.mode {
  background: var(--cream);
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 60px -45px rgba(43, 29, 18, 0.45);
}
.mode__img { height: 280px; overflow: hidden; }
.mode__img img { width: 100%; height: 125%; object-fit: cover; will-change: transform; }
.mode__body { padding: 2rem 2.25rem 2.25rem; display: flex; flex-direction: column; flex: 1; }
.chip {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--sand);
  color: var(--cocoa);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
}
.chip svg { width: 15px; height: 15px; }
.mode h3 { font-size: 1.75rem; margin-bottom: 0.9rem; }
.mode p { font-size: 0.96rem; }
.mode__foot {
  margin-top: auto;
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem !important;
  font-weight: 600;
  color: var(--cocoa) !important;
}
.mode__foot svg { color: #25D366; }
@media (max-width: 820px) { .modes { grid-template-columns: 1fr; } .mode__img { height: 220px; } }

/* ---------- Planes ---------- */
.consult {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  max-width: 860px;
  margin: 0 auto 3.5rem;
}
.consult__item { background: #fff; padding: 2rem 2.25rem; }
.consult__label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--copper); }
.consult__price { display: block; font-family: var(--font-headline); font-size: 3rem; line-height: 1.1; color: var(--espresso); margin: 0.4rem 0 0.5rem; }
.consult__item p { font-size: 0.93rem; }
.consult__bonus { display: inline-block; margin-top: 0.9rem; font-size: 0.82rem; font-weight: 600; color: var(--cocoa); background: var(--sand); padding: 0.35rem 0.75rem; border-radius: 999px; }
@media (max-width: 640px) { .consult { grid-template-columns: 1fr; } }

.plans__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 2.4rem 2.1rem 2.1rem;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.plan:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -45px rgba(43, 29, 18, 0.5); }
.plan--featured {
  background: var(--espresso);
  border-color: var(--espresso);
  color: #fff;
  transform: translateY(-14px);
  box-shadow: 0 50px 90px -50px rgba(43, 29, 18, 0.9);
}
.plan--featured:hover { transform: translateY(-20px); }
.plan__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #C98D63, var(--copper));
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}
.plan__name { font-size: 1.75rem; margin-bottom: 0.5rem; }
.plan--featured .plan__name { color: #fff; }
.plan__desc { font-size: 0.93rem; min-height: 3.2em; }
.plan--featured .plan__desc { color: rgba(255, 255, 255, 0.72); }
.plan__price { display: flex; align-items: baseline; gap: 0.65rem; margin: 1.6rem 0 0.25rem; }
.plan__price strong { font-family: var(--font-headline); font-size: 3.4rem; font-weight: 500; line-height: 1; color: var(--espresso); }
.plan--featured .plan__price strong { color: #fff; }
.plan__price s { font-size: 0.9rem; color: var(--ink-soft); }
.plan--featured .plan__price s { color: rgba(255, 255, 255, 0.5); }
.plan__save { font-size: 0.8rem; font-weight: 700; color: var(--copper); }
.plan--featured .plan__save { color: var(--copper-light); }
.plan__list { margin: 1.6rem 0; padding-top: 1.4rem; border-top: 1px solid var(--line); display: grid; gap: 0.7rem; }
.plan--featured .plan__list { border-color: rgba(255, 255, 255, 0.14); }
.plan__list li { display: flex; gap: 0.65rem; font-size: 0.92rem; line-height: 1.5; color: var(--ink-soft); }
.plan--featured .plan__list li { color: rgba(255, 255, 255, 0.85); }
.plan__list li::before { content: '✓'; color: var(--copper); font-weight: 700; }
.plan__list li.plan__bonus { font-weight: 600; color: var(--cocoa); }
.plan__list li.plan__bonus::before { content: '🎁'; }
.plan--featured .plan__list li.plan__bonus { color: var(--copper-light); }
.plan__time { font-size: 0.8rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 1.25rem; }
.plan--featured .plan__time { color: rgba(255, 255, 255, 0.65); }
.plan .btn { margin-top: auto; width: 100%; }
.plan--featured .btn { background: linear-gradient(135deg, #C98D63, var(--copper)); color: #fff; }
.plan:not(.plan--featured) .btn { background: transparent; color: var(--espresso); border: 1.5px solid var(--espresso); box-shadow: none; }
.plan:not(.plan--featured) .btn:hover { background: var(--espresso); color: #fff; }
@media (max-width: 1024px) {
  .plans__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; gap: 2rem; }
  .plan--featured { transform: none; }
  .plan--featured:hover { transform: translateY(-6px); }
}

.why150 {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
  margin: 4rem auto 0;
  max-width: 900px;
  padding: 2.25rem 2.5rem;
  border-radius: 24px;
  background: var(--sand);
}
.why150__num { font-family: var(--font-headline); font-size: 4.2rem; line-height: 1; color: var(--copper); }
.why150__num small { display: block; font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cocoa); margin-top: 0.3rem; text-align: center; }
.why150 h3 { margin-bottom: 0.5rem; }
.why150 p { font-size: 0.95rem; }
@media (max-width: 640px) { .why150 { grid-template-columns: 1fr; text-align: center; padding: 2rem 1.5rem; } }

.ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 3rem auto 0;
  max-width: 900px;
  text-align: center;
}
.ribbon li { padding: 1rem; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.ribbon li + li { border-left: 1px solid var(--line); }
.ribbon strong { display: block; font-family: var(--font-headline); font-size: 1.15rem; letter-spacing: 0; text-transform: none; color: var(--espresso); font-weight: 500; margin-bottom: 0.2rem; }
@media (max-width: 640px) {
  .ribbon { grid-template-columns: 1fr 1fr; }
  .ribbon li:nth-child(3) { border-left: none; }
}

/* ---------- Banda con frase ---------- */
.band {
  position: relative;
  overflow: hidden;
  padding: clamp(6rem, 4rem + 8vw, 11rem) 0;
  isolation: isolate;
}
.band__img {
  position: absolute;
  inset: -20% 0;
  width: 100%;
  height: 140%;
  object-fit: cover;
  z-index: -2;
  will-change: transform;
}
.band::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(251, 246, 238, 0.92), rgba(251, 246, 238, 0.55));
}
.band__quote {
  max-width: 820px;
  font-family: var(--font-headline);
  font-style: italic;
  font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.9rem);
  line-height: 1.25;
  color: var(--espresso);
}
.band__quote cite {
  display: block;
  margin-top: 1.5rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
}

/* ---------- Guías ---------- */
.guides__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}
.guide {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.guide:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -45px rgba(43, 29, 18, 0.5); }
.guide__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.guide__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.guide:hover .guide__img img { transform: scale(1.06); }
/* Las portadas subidas desde el admin ya vienen diseñadas (con título): no recortarlas */
.guide__img--cover img { object-fit: contain; padding: 0.75rem; }
.guide__body { padding: 1.6rem 1.75rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.guide__tag { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--copper); margin-bottom: 0.5rem; }
.guide h3 { margin-bottom: 0.6rem; }
.guide p { font-size: 0.93rem; margin-bottom: 1.5rem; }
.guide__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.guide__price { font-family: var(--font-headline); font-size: 2rem; color: var(--espresso); }

/* ---------- Proceso ---------- */
.path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  list-style: none;
  --fill: 0;
}
.path::before,
.path::after {
  content: '';
  position: absolute;
  top: 27px;
  left: 28px;
  right: 28px;
  height: 2px;
  background: var(--sand-deep);
}
.path::after {
  background: var(--copper);
  transform-origin: left;
  transform: scaleX(var(--fill));
}
.path__step { position: relative; z-index: 1; }
.path__dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--cream);
  border: 2px solid var(--copper);
  font-family: var(--font-headline);
  font-size: 1.35rem;
  color: var(--copper);
  margin-bottom: 1.4rem;
}
.path__step h3 { margin-bottom: 0.5rem; }
.path__step p { font-size: 0.93rem; }
@media (max-width: 900px) {
  .path { grid-template-columns: 1fr; gap: 2.25rem; padding-left: 0; }
  .path::before, .path::after { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; }
  .path::after { transform-origin: top; transform: scaleY(var(--fill)); }
  .path__step { padding-left: 80px; }
  .path__dot { position: absolute; left: 0; top: 0; }
}

/* ---------- Pilares ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.pillar {
  padding: 2.25rem 1.75rem;
  border-radius: 24px;
  background: var(--sand);
  transition: background 0.4s ease, transform 0.5s var(--ease-out);
}
.pillar:hover { background: #fff; transform: translateY(-4px); }
.pillar svg { width: 30px; height: 30px; color: var(--copper); margin-bottom: 1.25rem; }
.pillar h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.pillar p { font-size: 0.92rem; }
@media (max-width: 1024px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Resultados ---------- */
.results {
  background: var(--espresso);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.results::before {
  content: '';
  position: absolute;
  width: 900px;
  height: 900px;
  right: -300px;
  top: -400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176, 118, 80, 0.28), transparent 65%);
  pointer-events: none;
}
.results__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 900px;
  margin: 0 auto 4.5rem;
  text-align: center;
}
.results__stats > div { padding: 0 1rem; }
.results__stats > div + div { border-left: 1px solid rgba(255, 255, 255, 0.12); }
.results__stats dt { font-family: var(--font-headline); font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); color: var(--copper-light); line-height: 1.1; }
.results__stats dd { margin-top: 0.5rem; font-size: 0.85rem; color: rgba(255, 255, 255, 0.65); }
@media (max-width: 640px) {
  .results__stats { grid-template-columns: 1fr; gap: 1.75rem; }
  .results__stats > div + div { border-left: none; }
}
.testimonials-carousel { max-width: 860px; }
.carousel-viewport { box-shadow: none; border-radius: 28px; }
.testimonial {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  padding: 3rem 3.25rem 2.5rem;
  min-height: 300px;
}
.testimonial::before { font-family: var(--font-headline); font-size: 110px; color: var(--copper-light); opacity: 0.35; top: 0.5rem; left: 2rem; }
.testimonial__text {
  font-family: var(--font-headline);
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  color: rgba(255, 255, 255, 0.9) !important;
  line-height: 1.65;
}
.testimonial__author { color: var(--copper-light) !important; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; }
.testimonial__author::before { background: var(--copper-light); width: 28px; height: 1px; }
@media (max-width: 640px) { .testimonial { padding: 2.5rem 1.6rem 2rem; } }

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
}
.faq .head { position: sticky; top: calc(var(--nav-height) + 2rem); }
.faq-item {
  background: transparent;
  border-radius: 0;
  margin: 0;
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item:hover { box-shadow: none; }
.faq-question { padding: 1.5rem 0; font-size: 1.12rem; font-weight: 500; color: var(--espresso); }
.faq-answer__inner { padding: 0 2.5rem 1.6rem 0; font-size: 0.96rem; }
@media (max-width: 900px) {
  .faq { grid-template-columns: 1fr; }
  .faq .head { position: static; }
}

/* ---------- CTA final ---------- */
.cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(7rem, 5rem + 8vw, 12rem) 0;
  text-align: center;
  color: #fff;
  background: var(--espresso);
}
.cta__media { position: absolute; inset: 0; z-index: -2; }
.cta__media .pv { height: 140%; margin-top: -20%; will-change: transform; }
.cta::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(80% 90% at 50% 50%, rgba(20, 13, 7, 0.55), rgba(20, 13, 7, 0.88));
}
.cta h2 { color: #fff; max-width: 14ch; margin: 0 auto; }
.cta h2 em { color: var(--copper-light); }
.cta p { color: rgba(255, 255, 255, 0.8); font-size: 1.1rem; max-width: 520px; margin: 1.25rem auto 0; }
.cta .hx__actions { justify-content: center; }
.cta .eyebrow::after { content: ''; width: 28px; height: 1px; background: currentColor; }

/* ---------- Modal de pago ---------- */
.modal.pay {
  max-width: 480px;
  width: calc(100% - 2rem);
  max-height: 92vh;
  overflow-y: auto;
  text-align: center;
  padding: 2.25rem 1.75rem 1.75rem;
  border-radius: 24px;
  position: relative;
}
.modal.pay .eyebrow::after { content: ''; width: 28px; height: 1px; background: currentColor; }
.pay__title { font-size: 1.6rem; margin-bottom: 0.25rem; }
.pay__price { font-family: var(--font-headline); font-size: 2.4rem; color: var(--espresso); margin-bottom: 1.25rem; }
.pay__box { min-height: 120px; text-align: left; }
.pay__loading, .pay__error { text-align: center; padding: 2.5rem 0; font-size: 0.95rem; }
.pay__error { color: #B3261E; }
.pay__form { display: grid; gap: 0.85rem; text-align: left; }
.pay__form[hidden] { display: none; }
.pay__form label { display: grid; gap: 0.35rem; font-size: 0.8rem; font-weight: 700; color: var(--cocoa); }
.pay__form .btn { width: 100%; margin-top: 0.35rem; }
.pay__form .pay__error { padding: 0; text-align: left; }
.pay__hint { font-size: 0.88rem; margin-bottom: 0.15rem; }
.pay__login { font-size: 0.8rem; text-align: center; }
.pay__login a { color: var(--copper); font-weight: 600; text-decoration: underline; }
.pay__note { font-size: 0.78rem; margin-top: 1.25rem; }
.pay__alt { font-size: 0.82rem; margin-top: 0.5rem; }
.pay__alt a { color: var(--copper); font-weight: 600; text-decoration: underline; }

/* ---------- Footer ---------- */
.footer { background: #1D130B; }
.footer__brand img { height: 64px; }

/* ---------- Animación de entrada ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hx__scroll i { animation: none; }
  .reel { height: auto; }
  .reel__sticky { position: relative; height: auto; min-height: 100svh; }
  .reel__frame { --e: 1; }
  .reel__intro { position: relative; opacity: 1; transform: none; padding-top: 4rem; }
  .reel__intro h2 { color: #fff; }
  .reel__lines { position: relative; display: flex; flex-direction: column; gap: 3rem; padding: 4rem 0 6rem; }
  .reel__line { opacity: 1; transform: none; }
  [data-parallax], .hx__media, .hx__content { transform: none !important; }
}
