/* Skip Studio — identidad de skip.buq.studio, estilo boutique */
:root {
  --ivory: #FBF9F7;
  --cream: #EBE7D8;
  --beige: #DED6C5;
  --ink: #151515;
  --black: #000001;
  --text: rgba(21, 21, 21, .75);
  --wine: #50123D;
  --mauve: #8C5A75;
  --terracotta: #B3735A;
  --coffee: #563E33;
  --line: rgba(21, 21, 21, .12);
  --radius: 24px;
  --radius-sm: 14px;
  --serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.25, .6, .2, 1);
  --section: clamp(80px, 8.4vw, 120px);
  --gutter: clamp(16px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }

@media (min-width: 1024px) { body { font-size: 17px; } }
strong, b { font-weight: 500; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -.005em; }
h1 { font-size: clamp(48px, 7.2vw, 104px); font-weight: 300; }
h2 { font-size: clamp(40px, 4.45vw, 64px); font-weight: 300; }
h3 { font-size: 28px; font-weight: 500; }
em { font-style: italic; color: inherit; }
h2 em, h1 em { font-weight: 400; }
p { color: var(--text); }
/* Etiquetas pequeñas: mayúsculas, espaciadas, malva */
.eyebrow, .label, .num, .pkg-cat, .coach p, .tag, .hero-card-eyebrow {
  font-family: var(--sans); font-size: 11px; font-weight: 400; letter-spacing: .22em; text-transform: uppercase; color: var(--mauve);
}
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px; }
.eyebrow i { width: 24px; height: 1px; background: currentColor; flex: none; opacity: .7; }
.eyebrow--light { color: rgba(255,255,255,.9); }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 56px; }
.section-head h2 { max-width: 720px; }
.section-note { max-width: 360px; margin: 0; font-size: 1em; color: var(--text); }

/* ---------- Buttons ----------
   Principal: .btn-pill (vino). Secundario sobre fotos/fondos oscuros: .btn-pill--light.
   Secundario sobre fondos claros: .btn-ghost. Mismo tamaño en toda la página. */
.btn-pill {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 16px 34px; border-radius: 999px; border: 1px solid var(--wine);
  background: var(--wine); color: #fff;
  font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  line-height: 1; white-space: nowrap; text-align: center;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), padding .4s var(--ease);
}
.btn-pill::after {
  content: "→"; position: absolute; right: 14px; top: 50%; font-size: 14px; letter-spacing: 0;
  opacity: 0; transform: translate(-6px, -50%); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.btn-pill:hover { background: var(--mauve); border-color: var(--mauve); }
.btn-pill:hover::after, .btn-pill:focus-visible::after { opacity: 1; transform: translate(0, -50%); }
.btn-pill:focus-visible { outline: 2px solid var(--mauve); outline-offset: 3px; }
.btn-pill--light { background: transparent; border-color: rgba(255,255,255,.85); color: #fff; }
.btn-pill--light:hover { background: #fff; border-color: #fff; color: var(--wine); }
.btn-ghost { background: transparent; border-color: var(--wine); color: var(--wine); }
.btn-ghost:hover { background: var(--wine); border-color: var(--wine); color: #fff; }
.btn-pill[disabled] { cursor: not-allowed; opacity: .55; }
.btn-pill[disabled]::after { display: none; }

.round-btn {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--wine); color: var(--wine); font-family: var(--sans); font-size: 16px; font-weight: 300;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.round-btn:hover { background: var(--wine); color: #fff; }
.round-btn--light { border-color: rgba(255,255,255,.7); color: #fff; }
.round-btn--light:hover { background: #fff; color: var(--wine); border-color: #fff; }
.rail-nav { display: flex; gap: 10px; }

/* ---------- Glass ---------- */
.glass {
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  color: #fff;
}
.feature-card, .packages-card, .testi-card { background: rgba(58, 14, 44, .34); border-color: rgba(255,255,255,.22); }
.dot-sm { width: 6px; height: 6px; border-radius: 50%; background: #fff; display: block; margin-bottom: auto; }

/* ---------- Hero ---------- */
.hero-shell { padding: 12px; }
.hero {
  position: relative; overflow: hidden; border-radius: var(--radius);
  min-height: calc(100svh - 24px); display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -1; background: var(--ink); }
.hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video {
  position: absolute; top: 50%; left: 50%; border: 0; pointer-events: none;
  width: max(100%, calc((100svh - 24px) * 16 / 9));
  height: max(100%, calc((100vw - 24px) * 9 / 16));
  transform: translate(-50%, -50%);
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,1,.4) 0%, rgba(0,0,1,0) 24%),
    linear-gradient(20deg, rgba(40,8,30,.82) 0%, rgba(40,8,30,.38) 42%, rgba(0,0,1,.05) 72%);
}

.nav {
  position: absolute; top: 16px; left: 16px; right: 16px; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  height: 64px; padding: 0 10px 0 14px; border-radius: 18px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  transition: background .4s, color .4s, border-color .4s, box-shadow .4s, transform .45s var(--ease), opacity .3s;
}
/* Fija al bajar del hero; se esconde al bajar y reaparece al subir */
.nav.is-fixed {
  position: fixed; top: 12px; left: 50%; right: auto; transform: translateX(-50%);
  width: min(1100px, calc(100% - 24px));
  background: rgba(251, 249, 247, .92); border-color: var(--line); color: var(--ink);
  box-shadow: 0 10px 40px -20px rgba(21,21,21,.35);
  animation: navIn .5s var(--ease);
}
.nav.is-fixed.is-hidden { transform: translate(-50%, calc(-100% - 24px)); opacity: 0; pointer-events: none; }
@keyframes navIn { from { opacity: 0; transform: translate(-50%, -12px); } }
.brand {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--wine); box-shadow: 0 6px 18px -8px rgba(40,8,30,.6);
}
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand-dark { display: none; }
.nav-links { display: flex; gap: 32px; font-size: 12px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; }
.nav-links a { opacity: .88; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 50%; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
.menu-btn span:first-child { top: 16px; }
.menu-btn span:last-child { top: 23px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.hero-copy { padding: 0 clamp(20px, 3.5vw, 56px) clamp(32px, 4.5vw, 64px); max-width: 820px; }
.hero-copy h1 { margin-bottom: 22px; color: #fff; }
.hero-copy p { margin: 0 0 34px; max-width: 460px; color: rgba(255,255,255,.88); }

/* Invitación discreta: marfil translúcido */
.glass.hero-card {
  position: absolute; right: clamp(20px, 3vw, 48px); bottom: clamp(32px, 4.5vw, 64px);
  display: flex; gap: 18px; width: 420px; padding: 14px; border-radius: 20px;
  background: rgba(251, 249, 247, .74); border: 1px solid rgba(255, 255, 255, .55); color: var(--ink);
  backdrop-filter: blur(14px) saturate(1.1); -webkit-backdrop-filter: blur(14px) saturate(1.1);
}
.hero-card img { width: 112px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; flex: none; }
.hero-card > div { display: flex; flex-direction: column; gap: 6px; padding: 6px 6px 4px 0; min-width: 0; }
.hero-card strong { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.1; }
.hero-card span { font-size: 15px; line-height: 1.5; color: var(--text); }
.hero-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; flex-wrap: wrap; }
.hero-card-foot b { font-family: var(--serif); font-weight: 300; font-size: 32px; line-height: 1; }
.hero-card-foot small { font-family: var(--sans); font-size: 13px; font-weight: 300; color: var(--text); }

/* Mobile sheet */
.sheet {
  position: fixed; inset: 0; z-index: 15; background: var(--ivory); padding: 110px var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.sheet[hidden] { display: none; }
.sheet nav { display: flex; flex-direction: column; }
.sheet nav a { font-family: var(--serif); font-weight: 300; font-size: 36px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.sheet .btn-pill { align-self: stretch; }
body.menu-open .nav { position: fixed; background: rgba(251,249,247,.9); color: var(--ink); border-color: var(--line); }
body.menu-open { overflow: hidden; }

/* ---------- About ---------- */
.about { position: relative; text-align: center; padding-top: var(--section); padding-bottom: var(--section); }
.about-title { max-width: 980px; margin: 0 auto; font-size: clamp(32px, 3.7vw, 54px); font-weight: 300; line-height: 1.18; }
.about-title em { color: var(--wine); }
.about-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 940px; margin: 64px auto 56px; text-align: left; }
.about-cols p { margin: 0; color: var(--text); padding-top: 20px; border-top: 1px solid var(--line); }
.about-figure {
  position: absolute; right: max(var(--gutter), 2%); top: 22%; width: 100px;
  opacity: .9; pointer-events: none;
}

/* ---------- Classes ---------- */
.classes { position: relative; padding-bottom: var(--section); }
.class-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.class-row { border-bottom: 1px solid var(--line); }
.class-row a {
  display: grid; grid-template-columns: 72px minmax(0, 1.15fr) minmax(0, 1fr) 48px; align-items: center; gap: 32px;
  padding: 40px 0; transition: color .4s var(--ease);
}
.class-row h3 { font-size: clamp(34px, 3.7vw, 54px); font-weight: 400; transition: transform .6s var(--ease), color .4s var(--ease); }
.class-row p { margin: 0; color: var(--text); max-width: 440px; }
.class-row .arrow { justify-self: end; font-size: 24px; font-weight: 300; color: var(--mauve); transition: transform .6s var(--ease), color .4s var(--ease); }
.class-row .row-img { display: none; }
.class-row a:hover h3 { transform: translateX(10px); color: var(--wine); }
.class-row a:hover .arrow { transform: translateX(8px); color: var(--wine); }
.cursor-img {
  position: fixed; top: 0; left: 0; z-index: 5; width: 220px; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 20px; pointer-events: none; opacity: 0;
  transform: translate(-50%, -50%) scale(.92); transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.cursor-img.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* ---------- Video feature ---------- */
.feature { padding-bottom: var(--section); }
.feature-media { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 8; background: var(--beige); }
.feature-media > img { width: 100%; height: 100%; object-fit: cover; }
.feature-card, .packages-card {
  position: absolute; left: clamp(16px, 3vw, 36px); bottom: clamp(16px, 3vw, 36px);
  display: flex; flex-direction: column; gap: 8px; width: 320px; min-height: 220px; padding: 24px; border-radius: 20px;
}
.feature-card strong, .packages-card strong { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.1; margin-top: 20px; }
.feature-card > span:not(.dot-sm), .packages-card > span:not(.dot-sm) { font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.9); }
.feature-card .btn-pill { align-self: flex-start; margin-top: 14px; }

/* ---------- Coaches ---------- */
.coaches { padding-bottom: var(--section); }
.rail {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0 max(var(--gutter), calc((100vw - 1320px) / 2 + var(--gutter)));
  scroll-padding: 0 max(var(--gutter), calc((100vw - 1320px) / 2 + var(--gutter)));
}
.rail::-webkit-scrollbar { display: none; }
.coach { flex: 0 0 clamp(230px, 24vw, 300px); scroll-snap-align: start; }
.coach-img { aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: var(--cream); margin-bottom: 20px; }
.coach-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 1.2s var(--ease); }
.coach:hover .coach-img img { transform: scale(1.03); }
.coach h3 { font-size: 30px; font-weight: 400; }
.coach p { margin: 8px 0 0; line-height: 1.6; }

/* ---------- Values ---------- */
.values { padding-bottom: var(--section); }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value-card {
  position: relative; overflow: hidden; min-height: 400px; padding: 28px; border-radius: 20px;
  border: 1px solid var(--beige); background: #fff; display: flex; flex-direction: column; justify-content: space-between;
  transition: color .4s, border-color .4s;
}
.value-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0;
  transform: scale(1.06); transition: opacity .6s var(--ease), transform .9s var(--ease);
}
.value-card::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40,8,30,.1) 30%, rgba(40,8,30,.85));
  opacity: 0; transition: opacity .6s var(--ease);
}
.value-card > * { position: relative; z-index: 1; }
.value-card img { z-index: 0; }
.value-card .num { transition: color .4s; }
.value-card h3 { font-size: 34px; font-weight: 400; margin-bottom: 10px; }
.value-card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text); transition: color .4s; }
.value-card.is-active { color: #fff; border-color: transparent; }
.value-card.is-active img { opacity: 1; transform: scale(1); }
.value-card.is-active::after { opacity: 1; }
.value-card.is-active .num, .value-card.is-active p { color: rgba(255,255,255,.85); }

.accredit {
  display: grid; grid-template-columns: 120px 1fr 90px; align-items: center; gap: 32px;
  margin-top: 48px; padding: 32px 40px; border-radius: 24px; background: var(--cream);
}
.accredit img { width: 100%; height: auto; mix-blend-mode: multiply; }
.accredit p { margin: 0; color: var(--coffee); }

/* ---------- Packages ---------- */
.packages { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; padding-bottom: var(--section); }
.packages-media { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--beige); }
.packages-media > img { width: 100%; height: 100%; object-fit: cover; }
.packages-body h2 { margin-bottom: 40px; }
.plan-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.plan {
  display: flex; justify-content: space-between; align-items: center; gap: 28px;
  padding: 40px; border-radius: 24px; background: #fff; border: 1px solid var(--beige);
}
.plan h3 { font-size: 34px; font-weight: 400; }
.plan p { margin: 6px 0 0; color: var(--text); max-width: 320px; }
.plan-buy { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; flex: none; }
.plan-buy b { font-family: var(--serif); font-weight: 300; font-size: 52px; line-height: 1; }
.plan-buy small { font-family: var(--sans); font-size: 14px; font-weight: 300; opacity: .75; }
.plan--featured, .pkg--featured { background: linear-gradient(135deg, var(--wine) 0%, var(--coffee) 100%); color: #fff; border-color: transparent; }
.plan--featured p, .pkg--featured p { color: rgba(255,255,255,.8); }
/* "Más popular": una línea fina de texto, no una pastilla */
.tag { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.tag::before { content: ""; width: 20px; height: 1px; background: currentColor; }
.plan--featured .tag, .pkg--featured .tag { color: rgba(255,255,255,.85); }

/* ---------- Testimonials ---------- */
.testimonials { padding-bottom: var(--section); }
.testi-media { position: relative; border-radius: 20px; overflow: hidden; min-height: 620px; display: flex; align-items: flex-end; justify-content: flex-end; }
.testi-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.testi-media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,1,0) 30%, rgba(40,8,30,.45)); z-index: 0; }
.testi-card { position: relative; z-index: 1; width: min(500px, calc(100% - 32px)); margin: clamp(16px, 3vw, 40px); padding: 32px; border-radius: 20px; }
.testi-track { display: grid; min-height: 230px; }
.testi-track blockquote { grid-area: 1 / 1; margin: 0; opacity: 0; transform: translateY(10px); transition: opacity .7s var(--ease), transform .7s var(--ease); pointer-events: none; }
.testi-track blockquote.is-active { opacity: 1; transform: none; pointer-events: auto; }
.testi-track p { margin: 0 0 18px; font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.4; color: #fff; }
.testi-track cite { font-style: italic; font-family: var(--serif); font-size: 22px; font-weight: 400; }
.testi-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.25); }
.testi-count { font-size: 11px; letter-spacing: .22em; color: rgba(255,255,255,.85); }

/* ---------- Promo ---------- */
.promo { padding-bottom: var(--section); }
.promo-inner { display: grid; grid-template-columns: 1.2fr 1fr; border-radius: 24px; overflow: hidden; background: var(--wine); color: #fff; }
.promo-copy { padding: clamp(40px, 5.5vw, 88px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.promo-copy h2 { margin-bottom: 18px; color: #fff; }
.promo-copy h2 em { color: var(--cream); }
.promo-copy > p:not(.eyebrow) { margin: 0 0 36px; color: rgba(255,255,255,.85); max-width: 420px; }
.promo-inner > img { width: 100%; height: 100%; min-height: 360px; max-height: 520px; object-fit: cover; }

/* ---------- Footer ---------- */
.footer { background: var(--cream); padding: clamp(70px, 9vw, 110px) 0 28px; margin: 0 12px 12px; border-radius: var(--radius); }
.footer-top { display: grid; grid-template-columns: 1.1fr 1.4fr; gap: 48px; }
.footer h2 { font-size: clamp(36px, 3.7vw, 56px); font-weight: 300; }
.footer h2 em { color: var(--wine); }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; font-size: 15px; }
.footer h4 { font-family: var(--sans); font-size: 11px; font-weight: 400; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 16px; color: var(--mauve); }
.footer-cols p { margin: 0; color: var(--coffee); }
.footer-cols a { display: block; color: var(--coffee); margin-bottom: 6px; transition: color .2s; }
.footer-cols a:hover { color: var(--wine); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 80px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--coffee); }
.footer-bottom img { width: 54px; height: 54px; object-fit: contain; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(21,5,16,.88); display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-frame { width: min(1100px, 100%); aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; background: #000; }
.modal-frame iframe { width: 100%; height: 100%; border: 0; }
.modal-close { position: absolute; top: 18px; right: 22px; color: #fff; font-size: 34px; line-height: 1; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn-pill, .btn-pill::after, .class-row h3, .class-row .arrow, .coach-img img { transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .about-figure { display: none; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .glass.hero-card { position: relative; right: auto; bottom: auto; margin: 0 16px 16px; width: auto; }
  .hero-copy { padding-bottom: 24px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 40px; }
  .about { text-align: left; }
  .about-cols { grid-template-columns: 1fr; gap: 16px; margin: 32px 0; }
  .class-row a { grid-template-columns: 1fr 80px; grid-template-areas: "num img" "title img" "desc desc"; gap: 8px 20px; padding: 32px 0; }
  .class-row .num { grid-area: num; }
  .class-row h3 { grid-area: title; }
  .class-row p { grid-area: desc; }
  .class-row .row-img { display: block; grid-area: img; width: 80px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; align-self: start; }
  .class-row p { margin-top: 6px; }
  .class-row .arrow { display: none; }
  .cursor-img { display: none; }
  .feature-media { aspect-ratio: 4 / 5; }
  .value-card { color: #fff; border-color: transparent; min-height: 260px; }
  .value-card img { opacity: 1; transform: none; }
  .value-card::after { opacity: 1; }
  .value-card .num, .value-card p { color: rgba(255,255,255,.85); }
  .packages { grid-template-columns: 1fr; }
  .testi-media { min-height: 640px; }
  .promo-inner { grid-template-columns: 1fr; }
  .promo-inner > img { max-height: 360px; }
  .accredit { grid-template-columns: 1fr; gap: 20px; padding: 32px 28px; }
  .accredit img:first-child { width: 110px; }
  .accredit img:last-child { display: none; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .nav { top: 10px; left: 10px; right: 10px; height: 58px; }
  .nav .btn-pill { display: none; }
  main .btn-pill:not(.btn-pill--light):not(.btn-ghost), .modal .btn-pill { width: 100%; }
  .brand { width: 42px; height: 42px; }
  .brand img { width: 38px; height: 38px; }
  .hero-card img { width: 88px; }
  .value-grid { grid-template-columns: 1fr; }
  .plan { flex-direction: column; align-items: stretch; padding: 32px 28px; }
  .plan-buy { align-items: stretch; gap: 20px; }
  .plan-buy b { font-size: 46px; }
  .footer-bottom { flex-direction: column-reverse; gap: 14px; align-items: flex-start; }
}

/* =========================================================
   Página Comprar: paquetes + cuenta + checkout
   ========================================================= */
.nav.is-static { animation: none; }
.page-shop main { padding-top: 110px; }
/* Botón de cuenta: mismo estilo que el secundario (.btn-ghost) */
.account-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 16px 34px;
  border-radius: 999px; border: 1px solid var(--wine); background: transparent; color: var(--wine);
  font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; line-height: 1; white-space: nowrap;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.account-btn:hover { background: var(--wine); color: #fff; }
.nav-links a[aria-current="page"] { color: var(--wine); opacity: 1; }

.shop-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; padding-top: 40px; padding-bottom: var(--section); }
.shop-hero h1 { font-size: clamp(48px, 6.1vw, 88px); margin-bottom: 24px; }
.shop-hero h1 em { color: var(--wine); }
.shop-hero-copy > p:not(.eyebrow) { margin: 0; max-width: 480px; color: var(--text); }
.shop-hero-media { border-radius: 20px; overflow: hidden; aspect-ratio: 5 / 4; background: var(--beige); }
.shop-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }

.shop { padding-bottom: var(--section); }
.shop-tabs { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--cream); width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.shop-tabs::-webkit-scrollbar { display: none; }
.shop-tabs button { min-height: 44px; padding: 0 24px; border-radius: 999px; font-size: 12px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--coffee); white-space: nowrap; transition: background .4s var(--ease), color .4s var(--ease); }
.shop-tabs button.is-active { background: var(--wine); color: #fff; }
.shop-note { margin: 24px 0 36px; color: var(--text); }
.shop-legal { margin: 36px 0 0; font-size: 14px; color: var(--text); }

.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pkg {
  display: flex; flex-direction: column; min-height: 300px; padding: 40px; border-radius: 24px;
  background: #fff; border: 1px solid var(--beige);
}
.pkg-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; min-height: 24px; }
.pkg-top .tag { margin: 0; }
.pkg h3 { font-size: 38px; font-weight: 400; margin: 36px 0 8px; }
.pkg p { margin: 0 0 32px; font-size: 16px; color: var(--text); line-height: 1.6; }
.pkg-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: auto; padding-top: 24px; border-top: 1px solid var(--beige); }
.pkg-foot b { font-family: var(--serif); font-weight: 300; font-size: 48px; line-height: 1; }
.pkg-foot small { font-family: var(--sans); font-size: 14px; font-weight: 300; opacity: .75; }
.pkg.pkg--featured { background: linear-gradient(135deg, var(--wine) 0%, var(--coffee) 100%); border-color: transparent; color: #fff; }
.pkg--featured .pkg-cat { color: rgba(255,255,255,.75); }
.pkg.pkg--featured p { color: rgba(255,255,255,.85); }
.pkg--featured .pkg-foot { border-top-color: rgba(255,255,255,.2); }

/* Checkout */
.checkout { position: fixed; inset: 0; z-index: 90; background: rgba(21,5,16,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; }
.checkout[hidden] { display: none; }
.checkout-panel {
  display: grid; grid-template-columns: .9fr 1.1fr; grid-template-rows: minmax(0, 1fr); width: min(980px, 100%); max-height: calc(100svh - 32px);
  border-radius: 24px; overflow: hidden; background: var(--ivory); box-shadow: 0 30px 80px -40px rgba(0,0,0,.45);
  animation: coIn .7s var(--ease);
}
@keyframes coIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.checkout-media { position: relative; background: var(--beige); }
.checkout-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.checkout-pkg {
  position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 4px;
  padding: 20px 22px; border-radius: 20px; background: rgba(58, 14, 44, .45);
}
.checkout-pkg .pkg-cat { color: rgba(255,255,255,.75); }
.checkout-pkg strong { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; }
.checkout-pkg > span:not(.pkg-cat) { font-size: 15px; color: rgba(255,255,255,.88); }
.checkout-pkg b { font-family: var(--serif); font-weight: 300; font-size: 40px; line-height: 1; margin-top: 10px; }
.checkout-pkg small { font-family: var(--sans); font-size: 14px; font-weight: 300; opacity: .8; }
.checkout-body { position: relative; padding: 44px clamp(22px, 4vw, 52px); overflow-y: auto; }
.checkout-close { position: absolute; top: 14px; right: 16px; width: 38px; height: 38px; border-radius: 50%; font-size: 24px; line-height: 1; color: var(--ink); transition: background .2s; }
.checkout-close:hover { background: var(--cream); }
.steps { display: flex; gap: 8px; list-style: none; margin: 0 0 26px; padding: 0; counter-reset: s; }
.steps li { flex: 1; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--text); padding-top: 12px; border-top: 1px solid var(--line); counter-increment: s; }
.steps li::before { content: "0" counter(s) " "; font-weight: 500; }
.steps li.is-on { color: var(--mauve); border-top-color: var(--mauve); }
.co-step h2 { font-size: clamp(34px, 3.4vw, 46px); margin-bottom: 10px; }
.co-sub { margin: 0 0 26px; font-size: 16px; color: var(--text); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: block; margin-bottom: 12px; }
.field span { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 400; color: var(--coffee); }
.field input {
  width: 100%; height: 52px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--beige); background: #fff;
  font: inherit; font-size: 16px; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus { outline: none; border-color: var(--mauve); box-shadow: 0 0 0 4px rgba(140,90,117,.15); }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 8px 0 4px; font-size: 15px; line-height: 1.5; color: var(--text); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--wine); flex: none; }
.co-error { min-height: 22px; margin: 10px 0; font-size: 15px; color: var(--wine); font-weight: 400; }
.co-submit { width: 100%; }
.co-switch { margin: 18px 0 0; font-size: 15px; color: var(--text); text-align: center; }
.co-switch button { color: var(--wine); font-weight: 400; text-decoration: underline; text-underline-offset: 4px; }
.summary { border-radius: 20px; background: #fff; border: 1px solid var(--beige); padding: 8px 22px; margin-bottom: 26px; }
.summary > div { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; font-size: 16px; }
.summary > div + div { border-top: 1px solid var(--line); }
.summary-muted { color: var(--text); font-size: 12.5px !important; }
.summary-total { font-weight: 400; }
.summary-total span:last-child { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1; color: var(--wine); }
.co-label { margin: 0 0 12px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--mauve); }
.pay-methods { display: grid; gap: 8px; margin-bottom: 20px; }
.pay-methods label { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--beige); background: #fff; font-size: 16px; cursor: pointer; transition: border-color .2s, background .2s; }
.pay-methods input { accent-color: var(--wine); width: 18px; height: 18px; margin: 0; }
.pay-methods label:has(input:checked) { border-color: var(--wine); background: rgba(80,18,61,.04); }
.co-done { text-align: center; padding-top: 20px; }
.done-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%; border: 1px solid var(--wine); color: var(--wine); font-size: 26px; font-weight: 300; }
.co-demo { margin: 0 0 24px; padding: 12px 14px; border-radius: 12px; background: var(--cream); font-size: 12px; color: var(--coffee); }

@media (max-width: 1080px) { .pkg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) {
  .page-shop main { padding-top: 96px; }
  .shop-hero { grid-template-columns: 1fr; padding-top: 10px; }
  .shop-hero-media { aspect-ratio: 16 / 10; }
  .pkg-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .checkout { padding: 0; place-items: end stretch; }
  .checkout-panel { grid-template-columns: 1fr; grid-template-rows: 150px minmax(0, 1fr); max-height: 94svh; border-radius: var(--radius) var(--radius) 0 0; width: 100%; }
  .checkout-media { height: 150px; }
  .checkout-pkg { left: 14px; right: 14px; bottom: 14px; padding: 12px 14px; flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 10px; }
  .checkout-pkg > span:not(.pkg-cat) { display: none; }
  .checkout-pkg .pkg-cat { width: 100%; }
  .checkout-pkg strong { font-size: 24px; }
  .checkout-pkg b { font-size: 30px; margin: 0 0 0 auto; }
  .checkout-body { padding: 32px 20px 36px; }
}
@media (max-width: 520px) {
  .pkg-grid { grid-template-columns: 1fr; }
  .shop-tabs { flex-wrap: wrap; width: auto; border-radius: 28px; }
  .steps { margin-right: 44px; }
  .pkg { min-height: 0; padding: 32px 28px; }
  .pkg h3 { margin-top: 24px; }
  .pkg-foot { flex-direction: column; align-items: stretch; gap: 20px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .nav .account-btn { display: block; max-width: 170px; padding: 16px 20px; overflow: hidden; text-overflow: ellipsis; }
}

/* =========================================================
   Reservar · Mi cuenta · Panel del estudio · piezas comunes
   ========================================================= */
.link-arrow { display: inline-block; font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--wine); border-bottom: 1px solid currentColor; padding-bottom: 3px; transition: color .4s var(--ease); }
.link-arrow:hover { color: var(--mauve); }
.field select { width: 100%; height: 52px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--beige); background: #fff; font: inherit; font-size: 16px; color: var(--ink); }
.co-switch button:disabled, .co-submit:disabled { opacity: .6; cursor: progress; }
.secure-note { margin: 18px 0 0; font-size: 14px; color: var(--text); text-align: center; }
.done-actions { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 22px; }
#doneTicket { margin-bottom: 4px; }
#brick { margin-bottom: 6px; }

.demo-banner {
  position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 60;
  max-width: calc(100% - 24px); padding: 10px 18px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 12px; letter-spacing: .04em; text-align: center;
  display: flex; align-items: center; gap: 12px;
}
.demo-banner button { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); font-size: 14px; line-height: 1; color: #fff; }
.demo-banner button:hover { background: #fff; color: var(--ink); }
.toast {
  position: fixed; left: 50%; top: 18px; transform: translate(-50%, -140%); z-index: 120;
  max-width: min(540px, calc(100% - 24px)); padding: 16px 22px; border-radius: 16px;
  background: var(--wine); color: #fff; font-size: 15px; line-height: 1.5;
  transition: transform .6s var(--ease);
}
.toast[data-tipo="error"] { background: var(--coffee); }
.toast.is-on { transform: translate(-50%, 0); }

/* Reservar */
.shop-hero--compact { grid-template-columns: 1.2fr 1fr; padding-bottom: 56px; }
.credit-strip { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; align-self: end; justify-content: flex-end; font-size: 15px; color: var(--coffee); }
.credit-pill { display: inline-flex; align-items: baseline; gap: 8px; padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--beige); font-size: 15px; }
.credit-pill b { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1; color: var(--wine); }
.credit-pill small { color: var(--text); font-size: 13px; }
.agenda { padding-bottom: var(--section); }
.agenda-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.day-rail { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 2px; max-width: 100%; }
.day-rail::-webkit-scrollbar { display: none; }
.day-rail button {
  flex: none; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 64px; padding: 12px 0; border-radius: 999px;
  border: 1px solid var(--beige); background: transparent; transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.day-rail button span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--mauve); }
.day-rail button b { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1; }
.day-rail button.is-empty { opacity: .4; }
.day-rail button.is-active { background: var(--wine); border-color: var(--wine); color: #fff; opacity: 1; }
.day-rail button.is-active span { color: rgba(255,255,255,.8); }
.agenda-day { font-size: clamp(36px, 3.6vw, 52px); font-weight: 300; margin-bottom: 24px; }
.agenda-day::first-letter { text-transform: uppercase; }
.class-slots { display: grid; border-top: 1px solid var(--line); }
.slot {
  display: grid; grid-template-columns: 130px 1fr 220px auto; align-items: center; gap: 32px;
  padding: 32px 0; border-bottom: 1px solid var(--line);
}
.slot--mine .slot-info h3 { color: var(--wine); }
.slot-time b { display: block; font-family: var(--serif); font-weight: 300; font-size: 34px; line-height: 1; }
.slot-time span { font-size: 14px; color: var(--text); }
.slot-info h3 { font-size: clamp(28px, 2.6vw, 38px); font-weight: 400; margin: 6px 0 4px; }
.slot-info p { margin: 0; color: var(--text); }
.slot-cap span { display: block; font-size: 14px; color: var(--coffee); margin-bottom: 10px; }
.slot-cap i { display: block; height: 2px; background: var(--cream); overflow: hidden; }
.slot-cap em { display: block; height: 100%; background: var(--mauve); }
.empty-day { padding: 56px 24px; border-bottom: 1px solid var(--line); text-align: center; }
.empty-day p { margin: 0 0 6px; }
.empty-day p:first-child { font-family: var(--serif); font-size: 30px; font-weight: 300; color: var(--ink); }
.checkout-panel--solo { grid-template-columns: 1fr; width: min(560px, 100%); }

/* Mi cuenta */
.page-shop .account, .page-shop .admin { padding-top: 32px; padding-bottom: var(--section); }
.account-auth { display: grid; grid-template-columns: 1fr 1fr; border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--beige); min-height: 600px; }
.account-auth-media img { width: 100%; height: 100%; object-fit: cover; }
.account-auth-box { padding: clamp(28px, 4.5vw, 64px); }
.account-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.account-head h1 { font-size: clamp(48px, 5.6vw, 80px); }
.account-head-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card-block { padding: 40px; border-radius: 24px; background: #fff; border: 1px solid var(--beige); }
.card-block > h2 { font-size: clamp(32px, 2.8vw, 40px); margin-bottom: 20px; }
.credit-row { display: flex; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.credit-row:last-of-type { margin-bottom: 24px; }
.credit-row b { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; border: 1px solid var(--wine); color: var(--wine); font-family: var(--serif); font-size: 26px; font-weight: 400; flex: none; }
.credit-row strong, .res-row strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.2; }
.credit-row span, .res-row span { font-size: 15px; color: var(--text); }
.res-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.res-row:last-child { border-bottom: 0; }
.estado { padding: 0; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; color: var(--coffee) !important; }
.estado--aprobada { color: var(--wine) !important; }
.estado--pendiente { color: var(--terracotta) !important; }
.estado--rechazada, .estado--cancelada, .estado--reembolsada { color: var(--coffee) !important; opacity: .75; }
.perfil-form { margin-bottom: 24px; }
.perfil-form .field input:disabled { background: var(--ivory); color: var(--text); }

/* Panel del estudio */
.admin-class header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 16px; }
.admin-class h3 { font-size: 32px; font-weight: 400; margin: 6px 0 2px; }
.admin-class .co-sub { margin: 0; }
.admin-class + .admin-class { margin-top: 16px; }
.cap-badge { font-family: var(--serif); font-size: 28px; font-weight: 300; color: var(--wine); white-space: nowrap; }
.roster { list-style: none; margin: 0 0 20px; padding: 0; }
.roster li { display: grid; grid-template-columns: 1fr auto 140px; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.roster .check { margin: 0; color: var(--ink); font-size: 16px; }
.origen { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--mauve); }
.origen--web { color: var(--wine); }
.origen--totalpass { color: var(--mauve); }
.origen--fitpass { color: var(--terracotta); }
.origen--wellhub { color: var(--coffee); }
.tel { font-size: 15px; color: var(--text); text-align: right; }
.ext-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.ext-form input, .ext-form select { height: 48px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--beige); background: var(--ivory); font: inherit; font-size: 16px; }
.ext-form input { flex: 1; min-width: 180px; }
.tabla { width: 100%; border-collapse: collapse; font-size: 15px; margin-bottom: 24px; }
.tabla th { text-align: left; font-size: 11px; font-weight: 400; letter-spacing: .22em; text-transform: uppercase; color: var(--mauve); padding: 10px 12px; border-bottom: 1px solid var(--line); }
.tabla td { padding: 14px 12px; border-bottom: 1px solid var(--line); }
.horario-form { display: grid; grid-template-columns: repeat(6, 1fr) auto; gap: 12px; align-items: end; margin-bottom: 20px; }
.horario-form .field { margin: 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 20px; }
.stat { padding: 32px; border-radius: 24px; background: linear-gradient(135deg, var(--wine), var(--coffee)); color: #fff; }
.stat span { display: block; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.stat b { display: block; font-family: var(--serif); font-weight: 300; font-size: 48px; line-height: 1; margin: 14px 0 6px; }
.stat small { font-size: 14px; color: rgba(255,255,255,.8); }

@media (max-width: 980px) {
  .slot { grid-template-columns: 110px 1fr auto; }
  .slot-cap { grid-column: 2 / 4; grid-row: 2; }
  .horario-form { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .shop-hero--compact { grid-template-columns: 1fr; }
  .credit-strip { justify-content: flex-start; }
  .account-auth { grid-template-columns: 1fr; min-height: 0; }
  .account-auth-media { height: 180px; }
  .account-grid, .stats { grid-template-columns: 1fr; }
  .card-block { padding: 32px 24px; }
  .tabla { display: block; overflow-x: auto; white-space: nowrap; }
}
@media (max-width: 520px) {
  .slot { grid-template-columns: 1fr; gap: 14px; padding: 28px 0; }
  .slot-time { display: flex; gap: 10px; align-items: baseline; }
  .slot-cap, .slot-cta { grid-column: 1; grid-row: auto; }
  .slot-cta .btn-pill { width: 100%; }
  .roster li { grid-template-columns: 1fr auto; }
  .roster .tel { grid-column: 1 / 3; text-align: left; }
  .horario-form { grid-template-columns: 1fr 1fr; }
  .ext-form .btn-pill { width: 100%; }
  .res-row { flex-wrap: wrap; }
  .demo-banner { font-size: 11px; border-radius: 14px; }
}

/* Legales */
.legal { max-width: 760px; padding-top: 30px; padding-bottom: var(--section); }
.legal h1 { font-size: clamp(48px, 5.6vw, 80px); margin-bottom: 24px; }
.legal h2 { font-size: clamp(30px, 2.8vw, 40px); margin: 48px 0 12px; }
.legal p, .legal li { color: var(--text); line-height: 1.7; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--wine); text-decoration: underline; }
.legal-draft { padding: 16px 20px; border-radius: 16px; background: var(--cream); color: var(--coffee) !important; font-size: 15px !important; }

/* Panel del estudio · semana, alumnas, paquetes, reportes */
.admin-tabs { margin-bottom: 40px; }
.week-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.week-title { font-size: clamp(28px, 3vw, 44px); font-weight: 300; text-align: center; }
.week-title::first-letter { text-transform: uppercase; }
.week-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.week-day { display: flex; flex-direction: column; gap: 8px; min-height: 220px; padding: 12px; border-radius: 20px; border: 1px solid var(--beige); background: #fff; }
.week-day.is-today { border-color: var(--mauve); }
.week-day-head { display: flex; align-items: baseline; justify-content: space-between; padding: 4px 4px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.week-day-head span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--mauve); }
.week-day-head b { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1; }
.week-class { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 14px; background: var(--ivory); border: 1px solid var(--cream); text-align: left; transition: border-color .4s var(--ease), background .4s var(--ease); }
.week-class:hover { border-color: var(--mauve); background: #fff; }
.week-class strong { font-family: var(--serif); font-weight: 500; font-size: 18px; line-height: 1.15; }
.week-class span { font-size: 13px; color: var(--text); }
.week-class .wc-time { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mauve); }
.week-class .wc-cap { color: var(--wine); font-weight: 400; }
.week-class.is-cancel { opacity: .55; text-decoration: line-through; }
.week-empty { margin: 8px 4px; font-size: 13px; color: var(--text); }
.admin-class.is-cancel { opacity: .7; }
.cancel-link { margin-top: 18px; color: var(--coffee); }
.alumnas-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.alumnas-head h2 { margin: 0; }
.search-input { flex: 1; max-width: 420px; min-width: 220px; height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--beige); background: var(--ivory); font: inherit; font-size: 16px; }
.search-input:focus { outline: none; border-color: var(--mauve); }
.tabla--click tbody tr { cursor: pointer; transition: background .3s; }
.tabla--click tbody tr:hover, .tabla--click tbody tr:focus-visible { background: var(--ivory); outline: none; }
.ficha-panel { width: min(680px, 100%); }
.ficha-h { font-size: 24px; font-weight: 400; margin: 32px 0 12px; }
.ficha-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; }
.ficha-form .field { margin: 0; }
.ficha-form .btn-pill { grid-column: 1 / -1; justify-self: start; }
.pkg-edit-list { display: grid; gap: 10px; }
.pkg-edit { display: grid; grid-template-columns: 1.1fr 1.6fr 140px auto auto; gap: 12px; align-items: end; padding: 16px 18px; border-radius: 18px; border: 1px solid var(--beige); background: var(--ivory); }
.pkg-edit .field { margin: 0; }
.pkg-edit.is-off { opacity: .6; }
.pkg-on { margin: 0 0 14px; white-space: nowrap; }
.report-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
@media (max-width: 1080px) {
  .week-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pkg-edit { grid-template-columns: 1fr 1fr; }
  .pkg-edit .btn-pill { justify-self: start; }
}
@media (max-width: 680px) {
  .week-grid { grid-template-columns: 1fr; }
  .week-day { min-height: 0; }
  .ficha-form, .pkg-edit { grid-template-columns: 1fr; }
  .ficha-form .btn-pill, .report-actions .btn-pill { width: 100%; }
}
.checkout-panel.checkout-panel--solo { grid-template-rows: minmax(0, 1fr); }
