/* ═══════════════════════════════════════════════════════════════
   selform.css  —  Selform Pilates Design System
   ═══════════════════════════════════════════════════════════════ */

/* ── TOKENS ──────────────────────────────────────────────────── */
:root {
  --sage:        #9D9D8C;
  --sage-light:  #C5C4B8;
  --sage-dark:   #6E6E60;
  --cream:       #ECE6D4;
  --cream-dark:  #DDD6C2;
  --off-white:   #F7F4ED;
  --black:       #1A1A18;
  --black-soft:  #2E2E2A;
  --white:       #FFFFFF;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --ease:        cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.4, 0, 1, 1);

  --radius-sm:   10px;
  --radius-md:   18px;
  --radius-lg:   26px;

  --shadow-sm:   0 2px 12px rgba(26,26,24,.06);
  --shadow-md:   0 8px 32px rgba(26,26,24,.10);
  --shadow-lg:   0 24px 64px rgba(26,26,24,.14);
}

/* ── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); background: var(--off-white); color: var(--black); line-height: 1.7; overflow-x: hidden; }
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }
input, select, textarea { font-family: var(--font-body); }

/* ── TYPOGRAPHY ──────────────────────────────────────────────── */
.label {
  font-size: .625rem; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--sage); display: block;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 300; line-height: 1.1; }
h1 { font-size: clamp(2.4rem, 7vw, 5.5rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 5vw, 3rem);  letter-spacing: -.01em; }
h3 { font-size: clamp(1.3rem, 4vw, 1.6rem); font-weight: 400; }
h4 { font-size: 1.1rem; font-weight: 400; }
p  { font-size: .875rem; line-height: 1.85; color: var(--sage-dark); }

/* ── LAYOUT ──────────────────────────────────────────────────── */
.container     { max-width: 1200px; margin: 0 auto; padding: 0 3rem; }
.section       { padding: 4.5rem 0; }
.grid-2        { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.grid-3        { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .6875rem; font-weight: 500; letter-spacing: .2em;
  text-transform: uppercase; padding: .9rem 2rem;
  border-radius: var(--radius-sm);
  transition: all .3s var(--ease); white-space: nowrap;
}
.btn-dark    { background: var(--black);  color: var(--cream); }
.btn-dark:hover { background: var(--black-soft); }
.btn-outline { border: .5px solid var(--black); color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--cream); }
.btn-outline-light { border: .5px solid rgba(236,230,212,.5); color: var(--cream); }
.btn-outline-light:hover { background: rgba(236,230,212,.1); border-color: var(--cream); }
.btn-sage    { background: var(--sage); color: var(--cream); }
.btn-sage:hover { background: var(--sage-dark); }
.btn-full    { width: 100%; justify-content: center; }

/* ── NAV ──────────────────────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.5rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
  transition: all .4s var(--ease);
}
#nav.scrolled {
  background: rgba(247,244,237,.96);
  backdrop-filter: blur(16px) saturate(1.8);
  padding: 1rem 3rem;
  border-bottom: .5px solid rgba(157,157,140,.2);
  box-shadow: var(--shadow-sm);
}
/* backdrop-filter creates a containing block for position:fixed descendants,
   which would trap the full-screen .nav-links mobile overlay inside #nav's
   own (small) box instead of the viewport. Drop it while the menu is open. */
#nav.scrolled.menu-open {
  /* Instant, not animated: #nav's `transition: all .4s` would otherwise
     fade the backdrop-filter out over .4s, and a mid-transition filter
     value still establishes a containing block — trapping the full-screen
     .nav-links overlay inside #nav's small box until the fade finishes. */
  backdrop-filter: none;
  transition: none;
}
.nav-logo-img {
  height: 62px; width: auto;
  filter: none; opacity: 1;
  transition: filter .4s, opacity .4s, height .4s;
}
#nav.scrolled .nav-logo-img { height: 50px; }
#nav.scrolled .nav-logo-img {
  filter: brightness(0);
  opacity: .8;
}

.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-size: .6875rem; font-weight: 400; letter-spacing: .15em;
  text-transform: uppercase; color: rgba(236,230,212,.8);
  transition: color .2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 0;
  height: .5px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after { transform: scaleX(1); }
#nav.scrolled .nav-links a { color: rgba(26,26,24,.55); }
#nav.scrolled .nav-links a:hover { color: var(--black); }
/* Mobile full-screen menu is always a dark overlay — keep its text/close
   icon light even when #nav has picked up the "scrolled" (light-bar) state. */
#nav.scrolled .nav-links.open a { color: rgba(236,230,212,.75); }
#nav.scrolled .nav-links.open a:hover { color: var(--cream); }

.menu-btn {
  display: none; flex-direction: column;
  gap: 5px; padding: 4px;
  position: relative; z-index: 1001;
}
.menu-btn span {
  display: block; width: 22px; height: 1px;
  background: var(--cream); transition: all .3s;
}
#nav.scrolled .menu-btn span { background: var(--black); }
#nav.scrolled .menu-btn.active span { background: var(--cream); }
.menu-btn.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-btn.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── HERO ─────────────────────────────────────────────────────── */
#hero {
  min-height: 100vh; position: relative;
  background: var(--black-soft); overflow: hidden;
  display: flex; align-items: flex-end;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(155deg, #3a3a35 0%, #1a1a18 55%, #0d0d0c 100%);
}
.hero-photo {
  position: absolute; inset: 0;
  background: url('../img/studio-main.jpg') center 35%/cover no-repeat;
  opacity: .1;
}
.hero-grain {
  position: absolute; inset: 0; opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}
.hero-accent {
  position: absolute; top: 0; right: 0;
  width: 55%; height: 100%; background: var(--sage); opacity: .05;
  clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
  animation: accentPulse 8s ease-in-out infinite alternate;
}
@keyframes accentPulse {
  from { opacity: .04; } to { opacity: .09; }
}
.hero-circle {
  position: absolute; right: 8%; top: 50%; transform: translateY(-50%);
  width: min(300px, 26vw); height: min(300px, 26vw); border-radius: 50%;
  border: .5px solid rgba(236,230,212,.1);
  display: flex; align-items: center; justify-content: center;
  animation: spin 40s linear infinite;
}
.hero-circle-inner {
  width: 76%; height: 76%; border-radius: 50%;
  border: .5px solid rgba(236,230,212,.07);
  display: flex; align-items: center; justify-content: center;
  animation: spin 25s linear infinite reverse;
}
.hero-circle-core {
  width: 56%; height: 56%; border-radius: 50%;
  background: rgba(157,157,140,.08);
  border: .5px solid rgba(157,157,140,.18);
  display: flex; align-items: center; justify-content: center;
  animation: spin 25s linear infinite;
}
.hero-circle-core img { width: 65%; opacity: .65; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-content {
  position: relative; z-index: 2;
  padding: 0 3rem 7rem; max-width: 680px;
}
.hero-eyebrow {
  font-size: .625rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--sage-light); margin-bottom: 1.8rem;
  display: flex; align-items: center; gap: 1rem;
  opacity: 0; animation: fadeUp .8s var(--ease) .2s forwards;
}
.hero-eyebrow::before {
  content: ''; display: block; width: 2rem;
  height: .5px; background: var(--sage-light); flex-shrink: 0;
}
#hero h1       { color: var(--cream); margin-bottom: 1.4rem; opacity: 0; animation: fadeUp .9s var(--ease) .4s forwards; }
#hero h1 em    { font-style: italic; color: var(--sage-light); }
.hero-sub      { color: rgba(236,230,212,.78); max-width: 440px; margin-bottom: 2.8rem; opacity: 0; animation: fadeUp .9s var(--ease) .6s forwards; }
.hero-btns     { display: flex; gap: 1rem; flex-wrap: wrap; opacity: 0; animation: fadeUp .9s var(--ease) .8s forwards; }
.hero-stats {
  display: flex; gap: 3rem; margin-top: 4rem;
  padding-top: 2.5rem; border-top: .5px solid rgba(236,230,212,.1);
  opacity: 0; animation: fadeUp .9s var(--ease) 1s forwards;
}
.stat-num   { font-family: var(--font-display); font-size: 2rem; font-weight: 300; color: var(--cream); line-height: 1; }
.stat-label { font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(236,230,212,.65); margin-top: .3rem; }

.scroll-cue {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%); z-index: 2;
  opacity: 0; animation: fadeIn 1s ease 1.6s forwards;
}
.scroll-cue-line {
  width: 1px; height: 50px; margin: 0 auto;
  background: linear-gradient(to bottom, transparent, rgba(236,230,212,.4));
  animation: scrollBob 2.2s ease-in-out infinite;
}
@keyframes scrollBob {
  0%, 100% { transform: scaleY(1); opacity: .4; }
  50%       { transform: scaleY(1.3); opacity: .9; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { to { opacity: 1; } }

/* ── GALLERY MOSAIC ───────────────────────────────────────────── */
.gallery-strip {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: repeat(2, 240px);
  gap: 6px;
  background: var(--black);
}
.gallery-strip-img {
  overflow: hidden;
  position: relative;
}
.gallery-strip-img.gs-big  { grid-row: 1 / 3; }
.gallery-strip-img.gs-tall { display: none; }
.gallery-strip-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
  display: block;
}
.gallery-strip-img:hover img { transform: scale(1.06); }

/* ── MARQUEE ──────────────────────────────────────────────────── */
.marquee-wrap {
  background: var(--sage); overflow: hidden;
  padding: 1rem 0; border-top: .5px solid var(--sage-dark);
}
.marquee-track {
  display: flex; width: max-content;
  animation: marquee 22s linear infinite;
}
.marquee-item {
  display: flex; align-items: center; gap: 2rem;
  padding: 0 2rem; white-space: nowrap;
  font-size: .6rem; font-weight: 500; letter-spacing: .25em;
  text-transform: uppercase; color: rgba(236,230,212,.65);
}
.marquee-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(236,230,212,.35); }
@keyframes marquee {
  from { transform: translateX(0); } to { transform: translateX(-50%); }
}

/* ── REVEAL ANIMATION ────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }
.d4 { transition-delay: .4s; }
.d5 { transition-delay: .5s; }

/* ── ABOUT ────────────────────────────────────────────────────── */
#despre { background: var(--off-white); }
.about-img-wrap { position: relative; }
.about-img {
  aspect-ratio: 4/5; background: var(--cream);
  border-radius: var(--radius-lg);
  position: relative; overflow: hidden;
}
.about-img-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.about-img-fill {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,26,24,.75) 0%, rgba(26,26,24,.2) 60%, transparent 100%);
}
.about-img-quote {
  position: absolute; bottom: 2.5rem; left: 2.5rem; right: 2.5rem;
  font-family: var(--font-display); font-size: 1.5rem;
  font-style: italic; font-weight: 300; color: var(--cream); line-height: 1.35;
  text-shadow: 0 2px 20px rgba(0,0,0,.5);
}
.about-badge {
  position: absolute; top: -1.5rem; right: -1.5rem;
  width: 110px; height: 110px; border-radius: 50%;
  background: var(--cream); border: .5px solid var(--cream-dark);
  box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem;
}
.about-badge .num { font-family: var(--font-display); font-size: 2rem; font-weight: 300; line-height: 1; }
.about-badge .lbl { font-size: .5rem; letter-spacing: .18em; text-transform: uppercase; color: var(--sage-dark); text-align: center; }

.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: 2rem; }
.feature-item  { display: flex; align-items: flex-start; gap: .7rem; font-size: .8125rem; color: var(--sage-dark); padding: .5rem 0; }
.feature-check {
  width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px;
  border-radius: 50%; border: .5px solid var(--sage-light);
  display: flex; align-items: center; justify-content: center;
}
.feature-check svg { width: 7px; height: 7px; stroke: var(--sage); fill: none; stroke-width: 2.5; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .6875rem; font-weight: 500; letter-spacing: .15em; text-transform: uppercase;
  color: var(--black); margin-top: 2rem;
  border-bottom: .5px solid var(--black); padding-bottom: 2px;
  transition: gap .25s var(--ease);
}
.link-arrow:hover { gap: 1rem; }

/* ── WHY ──────────────────────────────────────────────────────── */
#why { background: var(--sage); position: relative; overflow: hidden; }
#why::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(26,26,24,.08) 0%, transparent 100%);
  pointer-events: none;
}
.why-header { text-align: center; margin-bottom: 4rem; }
.why-header .label { color: rgba(236,230,212,.45); }
.why-header h2     { color: var(--cream); margin-top: .8rem; }

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.why-card {
  padding: 2.2rem 1.6rem; text-align: center;
  background: rgba(236,230,212,.03);
  border-radius: var(--radius-md);
  transition: background .3s;
}
.why-card:hover      { background: rgba(236,230,212,.08); }
.why-icon {
  width: 48px; height: 48px; margin: 0 auto 1.2rem;
  border: .5px solid rgba(236,230,212,.18); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .3s;
}
.why-card:hover .why-icon { border-color: rgba(236,230,212,.45); }
.why-icon svg { width: 20px; height: 20px; stroke: rgba(236,230,212,.6); fill: none; stroke-width: 1.5; transition: stroke .3s; }
.why-card:hover .why-icon svg { stroke: var(--cream); }
.why-card h4 { font-size: 1rem; font-weight: 400; color: var(--cream); margin-bottom: .5rem; }
.why-card p  { font-size: .75rem; color: rgba(236,230,212,.82); line-height: 1.6; }

/* ── RULES ────────────────────────────────────────────────────── */
#rules { background: var(--cream); display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; padding: 0 3rem; }
.rule-card {
  padding: 3.2rem 2.5rem;
  border-radius: var(--radius-md);
  position: relative; overflow: hidden; transition: background .4s var(--ease);
}
.rule-card:hover      { background: rgba(157,157,140,.1); }
.rule-num {
  font-family: var(--font-display); font-size: 5rem; font-weight: 300;
  color: var(--sage-light); opacity: .35; line-height: 1; margin-bottom: 1.5rem;
  user-select: none; transition: opacity .4s, color .4s;
}
.rule-card:hover .rule-num { opacity: .55; color: var(--sage); }
.rule-card h3 {
  font-family: var(--font-body); font-size: .75rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; margin-bottom: 1rem;
}
.rule-card p { font-size: .85rem; line-height: 1.9; }

/* ── ABONAMENTE ───────────────────────────────────────────────── */
#abonamente { background: var(--off-white); text-align: center; }
.section-header { margin-bottom: 1rem; }
.section-header .label { margin-bottom: 1rem; }
.section-header p { max-width: 500px; margin: .8rem auto 0; }

.plans-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0; align-items: end;
}
.plan-card {
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid rgba(157,157,140,.22);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  display: flex; flex-direction: column;
  transition: background .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
  position: relative;
}
.plan-card:hover {
  background: rgba(255,255,255,.8);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  z-index: 2;
}
.plan-card.featured {
  background: rgba(157,157,140,.88);
  backdrop-filter: blur(14px) saturate(1.3);
  border-color: rgba(157,157,140,.5);
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  z-index: 3;
}
.plan-card.featured:hover { transform: translateY(-14px); }

.plan-badge {
  font-size: .55rem; letter-spacing: .22em; text-transform: uppercase;
  background: var(--black); color: var(--cream);
  padding: .3rem .8rem; display: inline-block;
  margin-bottom: 1.2rem; align-self: flex-start;
}
.plan-name     { font-family: var(--font-display); font-size: 1.4rem; font-weight: 400; margin-bottom: .2rem; }
.plan-sessions { font-size: .625rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sage); margin-bottom: 1.5rem; }
.plan-card.featured .plan-sessions { color: rgba(236,230,212,.6); }
.plan-price    { font-family: var(--font-display); font-size: 2.4rem; font-weight: 300; line-height: 1; margin-bottom: .25rem; }
.plan-price .unit { font-size: 1rem; font-weight: 300; margin-left: .2rem; }
.plan-desc     { font-size: .78rem; color: var(--sage-dark); margin-bottom: 1.5rem; line-height: 1.6; flex: 1; }
.plan-card.featured .plan-name,
.plan-card.featured .plan-price  { color: var(--cream); }
.plan-card.featured .plan-desc   { color: rgba(236,230,212,.7); }

.plan-features { list-style: none; margin-bottom: 2rem; text-align: left; }
.plan-features li {
  font-size: .75rem; color: var(--sage-dark);
  padding: .35rem 0; border-bottom: .5px solid rgba(157,157,140,.15);
  display: flex; align-items: center; gap: .5rem;
}
.plan-features li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--sage); flex-shrink: 0; }
.plan-card.featured .plan-features li { color: rgba(236,230,212,.75); border-bottom-color: rgba(236,230,212,.1); }
.plan-card.featured .plan-features li::before { background: rgba(236,230,212,.4); }

.btn-plan {
  font-size: .625rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  border: .5px solid var(--black); color: var(--black);
  border-radius: var(--radius-sm);
  padding: .75rem 1rem; transition: all .25s; background: transparent;
}
.btn-plan:hover { background: var(--black); color: var(--cream); }
.plan-card.featured .btn-plan { border-color: var(--cream); color: var(--cream); }
.plan-card.featured .btn-plan:hover { background: var(--cream); color: var(--black); }

.plans-footnote { font-size: .75rem; color: var(--sage-dark); margin-top: 1.5rem; }

/* ── CALENDAR ─────────────────────────────────────────────────── */
#rezervari { background: var(--off-white); }

.cal-wrap {
  max-width: 860px; margin: 3rem auto 0;
  background: var(--white);
  border: .5px solid rgba(157,157,140,.2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.cal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.8rem 2rem 1.5rem;
  border-bottom: .5px solid rgba(157,157,140,.12);
}
.cal-month-lbl { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; }
.cal-nav { display: flex; gap: .5rem; }
.cal-nav-btn {
  width: 36px; height: 36px;
  border: .5px solid rgba(157,157,140,.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; color: var(--sage-dark); transition: all .2s;
}
.cal-nav-btn:hover { background: var(--sage); color: var(--cream); border-color: var(--sage); }

.cal-body { padding: 1.5rem 2rem; }
.cal-days-hdr { display: grid; grid-template-columns: repeat(7, 1fr); margin-bottom: .5rem; }
.cal-day-lbl  { text-align: center; font-size: .6rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--sage); padding: .4rem 0; }

.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-cell {
  aspect-ratio: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 3px;
  font-size: .8125rem; border-radius: var(--radius-sm);
  transition: all .2s var(--ease); position: relative;
}
.cal-cell.avail  { cursor: pointer; }
.cal-cell.avail:hover { background: var(--cream); }
.cal-cell.today  { background: var(--sage); color: var(--cream); cursor: pointer; }
.cal-cell.sel    { background: var(--black); color: var(--cream); }
.cal-cell.dis    { color: rgba(157,157,140,.3); }
.cal-dots        { display: flex; gap: 2px; }
.cal-dot         { width: 3px; height: 3px; border-radius: 50%; background: var(--sage); }
.cal-cell.today .cal-dot,
.cal-cell.sel   .cal-dot { background: rgba(236,230,212,.6); }

.cal-legend {
  display: flex; gap: 1.5rem;
  padding: 1rem 2rem; border-top: .5px solid rgba(157,157,140,.1);
}
.leg-item  { display: flex; align-items: center; gap: .4rem; font-size: .675rem; color: var(--sage-dark); }
.leg-swatch { width: 12px; height: 12px; border-radius: 4px; }
.leg-swatch.today { background: var(--sage); }
.leg-swatch.avail { background: var(--cream); border: .5px solid var(--sage-light); }
.leg-swatch.sel   { background: var(--black); }
.leg-swatch.dis   { background: rgba(157,157,140,.15); }

/* ── TIME SLOTS ───────────────────────────────────────────────── */
.panel {
  border-top: .5px solid rgba(157,157,140,.12);
  padding: 1.8rem 2rem;
  display: none;
}
.panel.open {
  display: block;
  animation: slideDown .35s var(--ease);
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.panel-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1.2rem; }
.panel-title  { font-family: var(--font-display); font-size: 1.1rem; }

.slots-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.slot-btn {
  padding: .55rem .2rem; text-align: center; font-size: .7rem; font-weight: 400;
  border: .5px solid rgba(157,157,140,.25); background: var(--off-white);
  border-radius: var(--radius-sm);
  color: var(--black); transition: all .2s;
}
.slot-btn:hover:not(.taken) { background: var(--black); color: var(--cream); border-color: var(--black); }
.slot-btn.selected           { background: var(--black); color: var(--cream); border-color: var(--black); }
.slot-btn.taken              { color: rgba(157,157,140,.35); text-decoration: line-through; cursor: not-allowed; font-size: .65rem; }

/* ── BOOKING FORM ─────────────────────────────────────────────── */
.booking-bar {
  background: var(--off-white); border-left: 2px solid var(--sage);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: .9rem 1.2rem; margin-bottom: 1.5rem; font-size: .8125rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
}
.booking-bar strong { font-weight: 500; }
.change-link { font-size: .625rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sage); border-bottom: .5px solid var(--sage); }

.form-grid     { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-full     { grid-column: 1 / -1; }
.form-group    { display: flex; flex-direction: column; gap: .4rem; }
.form-lbl      { font-size: .6rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--sage); }
.form-input {
  font-size: .875rem; padding: .75rem 1rem;
  border: .5px solid rgba(157,157,140,.35);
  border-radius: var(--radius-sm);
  background: var(--off-white); color: var(--black);
  outline: none; transition: border-color .2s, box-shadow .2s; width: 100%;
}
.form-input:focus { border-color: var(--sage); box-shadow: 0 0 0 3px rgba(157,157,140,.1); }
.form-input::placeholder { color: rgba(157,157,140,.5); }
.field-error { font-size: .72rem; color: #8B2020; margin-top: .25rem; display: none; }
.field-error.show { display: block; }
.form-input.error { border-color: #C0392B; }

.order-box {
  background: var(--cream); padding: 1.2rem 1.4rem;
  margin: 1rem 0; display: none;
}
.order-box.show { display: block; }
.order-row { display: flex; justify-content: space-between; align-items: baseline; font-size: .875rem; padding: .25rem 0; }
.order-row.total { border-top: .5px solid rgba(157,157,140,.3); margin-top: .5rem; padding-top: .8rem; font-weight: 500; }
.order-price { font-family: var(--font-display); font-size: 1.5rem; font-weight: 300; }

.secure-note { font-size: .75rem; color: var(--sage-dark); margin: 1rem 0; display: flex; align-items: flex-start; gap: .5rem; line-height: 1.7; }
.secure-note svg { flex-shrink: 0; margin-top: 2px; }
.secure-note strong { color: var(--black); }

.err-banner { font-size: .78rem; color: #8B2020; background: #FDF0F0; border-left: 2px solid #C0392B; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: .7rem 1rem; margin-bottom: 1rem; display: none; }
.err-banner.show { display: block; }

.btn-checkout {
  width: 100%; padding: 1.1rem 2rem;
  background: var(--black); color: var(--cream);
  font-size: .6875rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  border: none; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; gap: .8rem;
  position: relative; overflow: hidden; transition: opacity .3s;
}
.btn-checkout::before {
  content: ''; position: absolute; inset: 0;
  background: var(--sage); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.btn-checkout:hover::before { transform: scaleX(1); }
.btn-checkout span { position: relative; z-index: 1; }
.btn-checkout svg  { position: relative; z-index: 1; }
.btn-checkout:disabled { opacity: .5; pointer-events: none; }

/* Success / Cancel ────────────────────────────────────────────── */
.result-panel { padding: 3rem 2rem; text-align: center; display: none; }
.result-panel.show { display: block; animation: fadeIn .5s var(--ease); }
.success-circle {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--sage); color: var(--cream); font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  animation: popIn .5s var(--ease);
}
@keyframes popIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.result-panel h3 { font-size: 1.8rem; margin-bottom: .5rem; }
.result-panel p  { margin-bottom: .8rem; }

.access-code-display {
  font-family: 'Courier New', monospace;
  font-size: 2.4rem; font-weight: 700; letter-spacing: .3em;
  color: var(--black); background: var(--cream);
  display: inline-block; padding: .8rem 2rem .8rem 2.6rem;
  margin: .8rem auto 0; border: .5px solid var(--cream-dark);
  border-radius: var(--radius-md);
}
.access-code-note {
  font-size: .75rem; color: var(--sage-dark);
  margin-top: .8rem; margin-bottom: 0;
}

/* Access code badge on booking items */
.bi-access-code {
  display: flex; flex-direction: column; align-items: center;
  padding: .3rem .8rem; margin-left: auto;
  background: var(--cream); border: .5px solid var(--cream-dark);
  border-radius: var(--radius-sm);
}
.bi-code-label {
  font-size: .45rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--sage); margin-bottom: .15rem;
}
.bi-code-val {
  font-family: 'Courier New', monospace;
  font-size: .85rem; font-weight: 700; letter-spacing: .15em;
  color: var(--black);
}

/* ── PROGRAM ──────────────────────────────────────────────────── */
#program { background: var(--sage); position: relative; overflow: hidden; }
#program::after {
  content: 'PROGRAM';
  position: absolute; right: -2rem; top: 50%; transform: translateY(-50%) rotate(90deg);
  font-family: var(--font-display); font-size: 10rem; font-weight: 300;
  color: rgba(236,230,212,.03); letter-spacing: .2em; pointer-events: none; white-space: nowrap; user-select: none;
}
#program .label { color: rgba(236,230,212,.4); }
#program h2     { color: var(--cream); margin-top: .8rem; margin-bottom: 2.5rem; }
.program-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.1rem 0; border-bottom: .5px solid rgba(236,230,212,.1);
  transition: padding-left .3s var(--ease);
}
.program-row:last-child { border-bottom: none; }
.program-row:hover      { padding-left: .5rem; }
.prog-day   { font-size: .75rem; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; color: rgba(236,230,212,.8); }
.prog-hours { font-family: var(--font-display); font-size: 1.3rem; color: var(--cream); }
.prog-hours.closed { color: rgba(236,230,212,.25); font-style: italic; font-size: 1rem; }

.program-notes { background: rgba(255,255,255,.06); border-radius: var(--radius-md); padding: 2rem; margin-top: .5rem; }
.program-notes h4 { font-size: .6rem; font-weight: 500; letter-spacing: .25em; text-transform: uppercase; color: rgba(236,230,212,.4); margin-bottom: 1rem; }
.prog-rule   { display: flex; gap: .8rem; padding: .6rem 0; font-size: .82rem; color: rgba(236,230,212,.6); line-height: 1.7; }
.prog-rule-n { font-family: var(--font-display); font-size: 1.1rem; color: rgba(236,230,212,.2); flex-shrink: 0; line-height: 1.4; }

/* ── CONTACT ──────────────────────────────────────────────────── */
#contact { background: var(--black); }
#contact .label { color: var(--sage-light); }
#contact h2     { color: var(--cream); margin-top: .8rem; margin-bottom: 2.5rem; }
.contact-row {
  display: flex; gap: 1.5rem; padding: 1rem 0;
  border-bottom: .5px solid rgba(255,255,255,.06);
  transition: padding-left .3s var(--ease);
}
.contact-row:last-child { border-bottom: none; }
.contact-row:hover      { padding-left: .3rem; }
.contact-lbl { font-size: .6rem; font-weight: 500; letter-spacing: .25em; text-transform: uppercase; color: var(--sage); min-width: 80px; padding-top: 2px; }
.contact-val { font-size: .875rem; color: rgba(236,230,212,.6); }
.contact-val a { color: inherit; transition: color .2s; }
.contact-val a:hover { color: var(--cream); }

.contact-form h3     { font-family: var(--font-display); font-size: 1.6rem; font-weight: 300; color: var(--cream); margin-bottom: 1.5rem; }
.contact-form .form-input { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); color: var(--cream); }
.contact-form .form-input::placeholder { color: rgba(236,230,212,.3); }
.contact-form .form-input:focus  { border-color: var(--sage); }
.contact-form .form-lbl  { color: var(--sage-light); }
.contact-form .form-group { margin-bottom: .8rem; }
textarea.form-input { resize: vertical; }

/* ── FOOTER ───────────────────────────────────────────────────── */
footer {
  background: var(--black); border-top: .5px solid rgba(255,255,255,.05);
  padding: 3.5rem 3rem 2rem;
}
.footer-main {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 3rem; padding-bottom: 2.5rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  flex: 1;
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.footer-logo-img { height: 42px; filter: none; opacity: .55; }
.footer-brand p  { font-size: .8rem; color: rgba(236,230,212,.5); max-width: 200px; }
.footer-col h4 {
  font-size: .7rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--cream); font-weight: 500; margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .65rem; }
.footer-col a { font-size: .8rem; color: rgba(236,230,212,.5); transition: color .2s; }
.footer-col a:hover { color: rgba(236,230,212,.9); }
.footer-copy { font-size: .625rem; color: rgba(236,230,212,.4); letter-spacing: .05em; }
.footer-divider { height: .5px; background: rgba(255,255,255,.08); margin-bottom: 1.5rem; }

/* ── LEGAL BADGES ─────────────────────────────────────────────── */
.legal-badges {
  display: flex; flex-direction: column; align-items: flex-end; gap: .6rem;
  flex-shrink: 0;
}
.legal-badge-img { display: block; line-height: 0; transition: opacity .2s; border-radius: 6px; overflow: hidden; }
.legal-badge-img:hover { opacity: .8; }
.legal-badge-img img { height: 44px; width: auto; display: block; }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
  .footer-main { flex-direction: column; align-items: stretch; gap: 2rem; }
  .legal-badges { flex-direction: row; align-items: center; }
}
@media (max-width: 600px) {
  footer { padding: 2.5rem 1.5rem 1.5rem; text-align: center; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; justify-items: center; }
  .footer-brand { align-items: center; }
  .footer-col ul { align-items: center; }
  .legal-badges { justify-content: center; }
}

/* ── BOOKING GATE ─────────────────────────────────────────────── */
.booking-gate {
  padding: 2.5rem 2rem; text-align: center;
}
.booking-gate-icon {
  width: 52px; height: 52px; border-radius: 50%;
  border: .5px solid var(--sage-light);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
}
.booking-gate-icon svg { stroke: var(--sage); }
.booking-gate h4 { font-size: 1.2rem; font-weight: 400; margin-bottom: .6rem; }
.booking-gate p {
  font-size: .85rem; color: var(--sage-dark); line-height: 1.75;
  max-width: 380px; margin: 0 auto 1.8rem;
}
.booking-gate-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── TOAST ────────────────────────────────────────────────────── */
#toast {
  position: fixed; bottom: 2rem; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--black-soft); color: var(--cream);
  padding: .9rem 2rem; font-size: .78rem; letter-spacing: .08em;
  z-index: 9999; transition: transform .4s var(--ease);
  pointer-events: none; border-left: 2px solid var(--sage);
}
#toast.show { transform: translateX(-50%) translateY(0); }

/* ── WAITLIST STRIP ───────────────────────────────────────────── */
.waitlist-strip { background: var(--black-soft); padding: 2.2rem 0; }
.waitlist-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.waitlist-form { display: flex; gap: .8rem; flex-wrap: wrap; }
.waitlist-form .form-input { min-width: 260px; background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.15); color: var(--cream); }
.waitlist-form .form-input::placeholder { color: rgba(236,230,212,.35); }

/* ── DISCOUNT CODE APPLY ──────────────────────────────────────── */
.discount-apply { max-width: 420px; margin: 2rem auto 0; text-align: left; }
.discount-apply-row { display: flex; gap: .6rem; margin-top: .5rem; }
.discount-apply-row .form-input { flex: 1; }

/* ── OPENING OFFER MODAL ──────────────────────────────────────── */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(26,26,24,.7); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 1.5rem;
  overflow-y: auto;
}
.modal-overlay.show { display: flex; animation: fadeIn .3s var(--ease); }
.modal-box {
  position: relative; background: var(--off-white);
  border-radius: var(--radius-lg);
  max-width: 480px; width: 100%; padding: 2.8rem 2.2rem;
  max-height: calc(100vh - 3rem); overflow-y: auto;
  box-shadow: var(--shadow-lg); text-align: center;
  animation: popIn .35s var(--ease);
  margin: auto;
}
.modal-close {
  position: absolute; top: .6rem; right: .6rem;
  width: 2.2rem; height: 2.2rem; display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; line-height: 1; color: var(--black-soft);
}
.offer-desc {
  margin: 1rem 0 1.5rem; color: var(--black-soft);
  font-size: .9rem; line-height: 1.7;
}
.offer-footnote {
  margin-top: 1.2rem; font-size: .75rem; color: var(--sage-dark);
}
.offer-packages { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.offer-package { background: var(--cream); border-radius: var(--radius-md); padding: 1.5rem 1rem; }
.offer-package-sessions { font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: var(--black-soft); font-weight: 500; margin-bottom: .4rem; }
.offer-package-price { font-family: var(--font-display); font-size: 1.8rem; font-weight: 300; color: var(--black); }
.offer-package-price .unit { font-size: .9rem; margin-left: .2rem; }
.offer-package-valid { font-size: .75rem; color: var(--black-soft); margin: .4rem 0 1rem; }

/* ── COOKIE NOTICE ───────────────────────────────────────────────── */
.cookie-notice {
  position: fixed; left: 1.25rem; right: 1.25rem; bottom: -8rem;
  z-index: 2100;
  max-width: 720px; margin: 0 auto;
  display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap;
  background: var(--black); color: var(--cream);
  border-radius: var(--radius-md);
  padding: 1rem 1.4rem;
  padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  box-shadow: var(--shadow-lg);
  transition: bottom .5s var(--ease);
}
.cookie-notice.show { bottom: 1.25rem; }
.cookie-notice p { flex: 1; min-width: 220px; margin: 0; font-size: .78rem; line-height: 1.6; color: var(--sage-light); }
.cookie-notice p a { color: var(--cream); text-decoration: underline; }
.cookie-notice .btn { flex-shrink: 0; padding: .7rem 1.3rem; font-size: .7rem; }

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .why-grid    { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .container  { padding: 0 1.5rem; }
  #nav        { padding: 1rem 1.5rem; }
  #nav.scrolled { padding: .8rem 1.5rem; }
  .nav-links  { display: none; }
  .menu-btn   { display: flex; }

  .hero-content { padding: 0 1.5rem 5rem; }
  .hero-circle  { display: none; }

  .gallery-strip { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 140px); }
  .gallery-strip-img.gs-big, .gallery-strip-img.gs-tall { grid-column: auto; grid-row: auto; }
  .gallery-strip-img.gs-tall { display: block; }

  .grid-2      { grid-template-columns: 1fr; gap: 3rem; }
  .about-badge { display: none; }

  .why-grid    { grid-template-columns: repeat(2, 1fr); }
  #rules       { grid-template-columns: 1fr; padding: 0 1.5rem; }

  .plans-grid  { grid-template-columns: 1fr 1fr; }
  .plan-card.featured { transform: none; box-shadow: none; }

  .slots-grid  { grid-template-columns: repeat(5, 1fr); }
  .form-grid   { grid-template-columns: 1fr; }
  .form-full   { grid-column: 1; }

}

@media (max-width: 600px) {
  .plans-grid   { grid-template-columns: 1fr; }
  .why-grid     { grid-template-columns: 1fr 1fr; }
  .cookie-notice {
    left: .6rem; right: .6rem; bottom: -10rem;
    flex-direction: column; align-items: stretch; text-align: center;
    gap: .85rem; padding: 1rem 1.1rem;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    border-radius: var(--radius-sm);
  }
  .cookie-notice.show { bottom: .6rem; }
  .cookie-notice p { min-width: 0; font-size: .74rem; }
  .cookie-notice .btn { width: 100%; padding: .75rem; }
  .hero-stats   { flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; }
  .slots-grid   { grid-template-columns: repeat(4, 1fr); }
  .gallery-strip { grid-template-rows: repeat(2, 110px); }
  .offer-packages { grid-template-columns: 1fr; gap: .75rem; }
  .waitlist-inner { flex-direction: column; align-items: flex-start; }

  .modal-overlay { padding: .75rem; align-items: flex-start; }
  .modal-box     { padding: 2.2rem 1.3rem 1.6rem; max-height: calc(100vh - 1.5rem); }
  .modal-box h2  { font-size: clamp(1.6rem, 8vw, 2.2rem); }
  .offer-package { padding: 1.1rem .9rem; }
  .offer-package-price { font-size: 1.5rem; }

  .section      { padding: 4rem 0; }
  #dash-hero    { padding: 5rem 0 2.5rem; min-height: auto; }
  .hero-content { padding: 0 1rem 4rem; }

  .cal-nav-btn  { width: 44px; height: 44px; }
  .cal-header   { padding: 1.2rem 1rem; }
  .cal-body     { padding: 1rem; }
  .cal-legend   { padding: .75rem 1rem; gap: .75rem; flex-wrap: wrap; }
  .panel        { padding: 1.2rem 1rem; }
  .slot-btn     { padding: .75rem .3rem; font-size: .7rem; }
  .booking-bar  { flex-direction: column; align-items: flex-start; gap: .4rem; }

  .feature-grid     { grid-template-columns: 1fr; }
  .why-card         { padding: 1.8rem 1.2rem; }
  .rule-card        { padding: 2.5rem 1.5rem; }
  .btn-plan         { padding: 1rem; font-size: .65rem; }
  .dash-confirm-info { flex-direction: column; gap: 1rem; }
  .plan-status-card { flex-direction: column; align-items: flex-start; }
  .psc-right        { text-align: left; }
  .psc-sessions     { align-items: flex-start; padding: 0; }
}

@media (max-width: 420px) {
  .container    { padding: 0 1rem; }
  .section      { padding: 3rem 0; }
  #nav          { padding: .8rem 1rem; }
  #nav.scrolled { padding: .6rem 1rem; }
  .hero-content { padding: 0 1rem 3.5rem; }
  .hero-stats   { gap: .8rem; }
  .stat-num     { font-size: 1.6rem; }

  .why-grid     { grid-template-columns: 1fr; }

  .slots-grid   { grid-template-columns: repeat(3, 1fr); }
  .plan-price   { font-size: 2rem; }
  .access-code-display { font-size: 1.8rem; letter-spacing: .15em; padding: .6rem 1.2rem .6rem 1.6rem; }

  .booking-item { flex-wrap: wrap; gap: .75rem; }
  .bi-access-code { margin-left: 0; }

  .rule-num     { font-size: 3.5rem; }
  .program-notes { padding: 1.5rem 1.2rem; }
}

/* ═══════════════════════════════════════════════════════════════
   NAV AUTH ELEMENTS
   ═══════════════════════════════════════════════════════════════ */
.nav-auth-group {
  display: flex; align-items: center; gap: 1.2rem;
}
.nav-link-plain {
  font-size: .6875rem; font-weight: 400; letter-spacing: .15em;
  text-transform: uppercase; color: rgba(236,230,212,.8);
  transition: color .2s; white-space: nowrap;
}
#nav.scrolled .nav-link-plain { color: rgba(26,26,24,.55); }
.nav-link-plain:hover { color: var(--cream); }
#nav.scrolled .nav-link-plain:hover { color: var(--black); }
.nav-user-name {
  font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(236,230,212,.5);
}
#nav.scrolled .nav-user-name { color: rgba(26,26,24,.4); }
.nav-btn { padding: .65rem 1.4rem; }
.nav-mobile-auth { display: none; }

/* ── Mobile nav open state ──────────────────────────────────── */
@media (max-width: 900px) {
  .nav-auth-group { display: none; }
  .nav-mobile-auth { display: list-item; }
  .nav-links {
    display: none; flex-direction: column; gap: 0;
    position: fixed; inset: 0; top: 0;
    background: rgba(26,26,24,.97); backdrop-filter: blur(16px);
    padding: 6rem 3rem 3rem; z-index: 999;
    align-items: flex-start;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; border-bottom: .5px solid rgba(236,230,212,.08); }
  .nav-links a {
    display: block; padding: 1.1rem 0;
    font-size: .75rem; color: rgba(236,230,212,.75);
  }
}

/* ═══════════════════════════════════════════════════════════════
   AUTH PAGES (login / register)
   ═══════════════════════════════════════════════════════════════ */
.auth-section {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: var(--black-soft);
  padding: 7rem 1.5rem 4rem;
}
.auth-card {
  background: var(--off-white);
  padding: 3rem 2.5rem;
  width: 100%; max-width: 420px;
  border: .5px solid var(--cream-dark);
  border-radius: var(--radius-lg);
}
.auth-card-wide { max-width: 680px; }

.auth-logo-link { display: block; margin-bottom: 2rem; }
.auth-logo { height: 48px; width: auto; opacity: .9; }

.auth-title {
  font-size: 2rem; font-weight: 300; letter-spacing: -.01em;
  color: var(--black); margin-bottom: .4rem;
}
.auth-sub { font-size: .8rem; color: var(--sage-dark); margin-bottom: 2rem; }

.auth-error {
  background: #fef2f2; border: .5px solid #fca5a5;
  color: #b91c1c; font-size: .8rem; padding: .8rem 1rem;
  margin-bottom: 1.5rem;
}
.auth-submit { margin-top: 1.8rem; }

.auth-switch {
  text-align: center; font-size: .8rem; color: var(--sage-dark);
  margin-top: 1.5rem;
}
.auth-switch a {
  color: var(--black); font-weight: 500;
  border-bottom: .5px solid currentColor; padding-bottom: 1px;
}

/* ═══════════════════════════════════════════════════════════════
   DASHBOARD HERO
   ═══════════════════════════════════════════════════════════════ */
#dash-hero {
  background: var(--black);
  padding: 8rem 0 4rem;
  min-height: 320px;
}
.dash-hero-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 2.5rem;
}
#dash-hero h1 { color: var(--cream); }
#dash-hero h1 em { color: var(--sage-light); }

/* ── Active plan status card ──────────────────────────────────── */
.plan-status-card {
  display: flex; align-items: center; gap: 3rem;
  background: rgba(236,230,212,.05);
  backdrop-filter: blur(10px);
  border: .5px solid rgba(236,230,212,.12);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  flex-wrap: wrap;
}
.plan-status-card.no-plan {
  justify-content: space-between;
  gap: 1.5rem;
}
.psc-left { flex: 1; min-width: 140px; }
.psc-sessions {
  display: flex; flex-direction: column; align-items: center;
  padding: 0 2.5rem;
  border-left: .5px solid rgba(236,230,212,.12);
  border-right: .5px solid rgba(236,230,212,.12);
}
.psc-num {
  font-family: var(--font-display); font-size: 3rem; font-weight: 300;
  color: var(--cream); line-height: 1;
}
.psc-lbl {
  font-size: .6rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--sage); margin-top: .4rem;
}
.psc-right { flex: 1; min-width: 140px; text-align: right; }

/* ═══════════════════════════════════════════════════════════════
   DASHBOARD CONFIRM BOX
   ═══════════════════════════════════════════════════════════════ */
.dash-confirm-box { margin-top: 1.5rem; }

.dash-confirm-info {
  display: flex; gap: 2.5rem; flex-wrap: wrap;
  padding: 1.2rem 1.5rem;
  background: var(--off-white);
  border: .5px solid var(--cream-dark);
  border-radius: var(--radius-md);
  margin-bottom: 1.2rem;
}
.dci-item {
  display: flex; flex-direction: column; gap: .3rem;
}
.dci-item strong { font-size: .9rem; color: var(--black); }

/* ═══════════════════════════════════════════════════════════════
   BOOKINGS LIST
   ═══════════════════════════════════════════════════════════════ */
.bookings-list {
  display: flex; flex-direction: column; gap: .5rem;
}
.booking-item {
  display: flex; align-items: center; gap: 1.5rem;
  padding: 1.1rem 1.5rem;
  background: var(--off-white);
  border: .5px solid var(--cream-dark);
  border-radius: var(--radius-md);
  transition: border-color .2s;
}
.booking-item.cancelled { opacity: .55; }
.booking-item.completed { opacity: .7; }
.booking-item:hover { border-color: var(--sage-light); }

.bi-date {
  display: flex; flex-direction: column; align-items: center;
  min-width: 44px;
}
.bi-day {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 300;
  line-height: 1; color: var(--black);
}
.bi-mon {
  font-size: .55rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--sage); margin-top: .2rem;
}
.bi-details {
  flex: 1; display: flex; flex-direction: column; gap: .2rem;
}
.bi-details strong { font-size: .9rem; font-weight: 500; color: var(--black); }
.bi-details span   { font-size: .75rem; color: var(--sage-dark); }

.bi-status {
  font-size: .55rem; letter-spacing: .18em; text-transform: uppercase;
  padding: .3rem .7rem;
  border: .5px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  color: var(--sage-dark); white-space: nowrap;
}
.bi-status.scheduled { border-color: var(--sage); color: var(--sage-dark); }
.bi-status.cancelled { border-color: #fca5a5; color: #b91c1c; }
.bi-status.completed { border-color: var(--sage-dark); color: var(--sage-dark); }

.bi-cancel {
  font-size: .6rem; letter-spacing: .15em; text-transform: uppercase;
  color: rgba(26,26,24,.4); border-bottom: .5px solid transparent;
  padding-bottom: 1px; white-space: nowrap;
  transition: color .2s, border-color .2s;
}
.bi-cancel:hover { color: #b91c1c; border-color: #b91c1c; }

@media (max-width: 700px) {
  .auth-card, .auth-card-wide { padding: 2rem 1.5rem; }
  .plan-status-card { gap: 1.5rem; padding: 1.5rem; }
  .psc-sessions { border: none; padding: .5rem 0; }
  .dash-hero-top { flex-direction: column; gap: 1rem; }
  .booking-item { gap: 1rem; padding: .9rem 1rem; }
  .bi-cancel {
    flex-basis: 100%; order: 10;
    text-align: center; padding: .7rem; margin-top: .3rem;
    font-size: .65rem; color: #b91c1c;
    border: .5px solid #fca5a5; border-radius: var(--radius-sm);
  }
}
