/* ===== Design tokens ===== */
:root {
  --paper: #f7eee4; /* Warm Sand brand background */
  --white2: #fcf6ef;
  --ink: #1f1b18; /* Rich deep charcoal/brown */
  --muted: #eddcd0;
  --muted-fg: #7a6e67;
  --line: #e3d2c4;
  --teal: #ff674d; /* Bayform Vibrant Coral/Tangerine primary */
  --teal-dark: #e8533a; /* Darker Coral hover */
  --lime: #f49f8d; /* Soft Coral / Peach accent */
  --calm-pink: #efa394;
  --calm-blue: #a3c4db; /* Accent sky blue from brand page */
  --calm-sand: #e6cbba;
  --radius: 1rem;
  --sans: "Almarai", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
svg.lucide { width: 1em; height: 1em; flex-shrink: 0; }

.container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 768px) { .container { padding: 0 2rem; } }
@media (min-width: 1024px) { .container { padding: 0 3rem; } }

.skip-link { position: absolute; left: -999px; top: 1rem; z-index: 100; background: var(--teal); color: #fff; padding: .5rem 1.25rem; border-radius: 99px; }
.skip-link:focus { left: 1rem; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  height: 2.75rem; padding: 0 1.5rem; border-radius: 99px;
  font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  white-space: nowrap; transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { height: 3rem; padding: 0 1.75rem; }
.btn-block { width: 100%; }
.btn-teal { background: var(--teal); color: #fff; box-shadow: 0 8px 20px -8px rgba(255,103,77,.6); }
.btn-teal:hover { background: var(--teal-dark); }
.btn-ink { background: var(--ink); color: var(--paper); margin-top: 1.75rem; }
.btn-ink:hover { background: var(--teal); }
.btn-lime { background: var(--teal); color: #fff; }
.btn-lime:hover { background: var(--teal-dark); }
.btn-glass { background: rgba(252,246,239,.85); color: var(--ink); border: 1px solid var(--line); backdrop-filter: blur(10px); }
.btn-glass:hover { color: var(--teal); border-color: var(--teal); }
.btn-outline { border: 1px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(247,238,228,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 6px 24px -12px rgba(0,0,0,.15); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.logo { display: flex; align-items: center; gap: .6rem; }
.logo-img { height: 42px; width: auto; object-fit: contain; display: block; }
.logo-light .logo-img { height: 44px; filter: brightness(0) invert(1); }

.nav-desktop { display: none; gap: 2.25rem; }
.nav-link {
  position: relative; padding: .5rem 0;
  font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  transition: color .2s;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: var(--teal); transform: scaleX(0); transition: transform .3s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--teal); }
.nav-link.active::after, .nav-link:hover::after { transform: scaleX(1); }
.header-actions { display: none; align-items: center; gap: 1.5rem; }
.dash-mobile-nav-actions { display: flex; align-items: center; gap: 0.5rem; }
.link-caps { font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.link-caps:hover { color: var(--teal); }

.menu-toggle { width: 44px; height: 44px; display: grid; place-items: center; border-radius: .75rem; font-size: 1.5rem; }
.menu-toggle:hover { background: var(--muted); }
.menu-toggle .icon-close { display: none; }
.menu-open .menu-toggle .icon-close { display: block; }
.menu-open .menu-toggle .icon-menu { display: none; }

.mobile-drawer {
  position: absolute; inset: 100% 0 auto 0; z-index: 40;
  background: var(--paper); border-top: 1px solid var(--line);
  padding: .75rem 1rem 1rem; display: flex; flex-direction: column; gap: .25rem;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.3);
  opacity: 0; transform: translateY(-8px); pointer-events: none;
  transition: opacity .25s, transform .25s var(--ease);
}
.mobile-drawer a:not(.btn) {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 48px; padding: .75rem; border-radius: .75rem;
  font-size: .85rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
}
.mobile-drawer a:not(.btn):hover { background: var(--muted); color: var(--teal); }
.mobile-drawer .btn { margin-top: .5rem; height: 3rem; border-radius: .75rem; }
.menu-open .mobile-drawer { opacity: 1; transform: none; pointer-events: auto; }
.backdrop { position: fixed; inset: 0; z-index: 30; background: rgba(0,0,0,.4); opacity: 0; pointer-events: none; transition: opacity .25s; }
body.menu-open .backdrop { opacity: 1; pointer-events: auto; }

@media (min-width: 900px) {
  .nav-desktop, .header-actions { display: flex; }
  .menu-toggle, .mobile-drawer, .backdrop, .dash-mobile-nav-actions { display: none !important; }
  .header-inner { height: 84px; }
}

/* ===== Hero ===== */
.hero-wrap { padding: .5rem; }
@media (min-width: 640px) { .hero-wrap { padding: 1rem; } }
@media (min-width: 768px) { .hero-wrap { padding: 1.5rem 1.5rem 0; } }
.hero {
  position: relative; max-width: 1600px; margin: 0 auto;
  min-height: min(88vh, 820px); border-radius: 1.25rem; overflow: hidden;
  background: #e9e4d8; box-shadow: 0 30px 60px -30px rgba(0,0,0,.35);
  display: flex; align-items: flex-end;
}
@media (min-width: 768px) { .hero { border-radius: 2rem; align-items: center; } }
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08); animation: heroZoom 2.4s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,20,20,.7) 0%, rgba(10,20,20,.15) 55%, transparent 100%);
}
@media (min-width: 768px) {
  .hero-overlay { background: linear-gradient(90deg, rgba(10,20,20,.6) 0%, rgba(10,20,20,.2) 50%, transparent 75%); }
}
.hero-content { position: relative; z-index: 2; padding: 2rem 1.5rem; color: #fff; max-width: 760px; }
@media (min-width: 768px) { .hero-content { padding: 4rem; } }
.hero-title { line-height: .85; margin: 1rem 0 1.25rem; }
.hero-main { display: block; font-weight: 800; font-size: clamp(3.5rem, 13vw, 10rem); letter-spacing: -.04em; }
.hero-sub { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(3rem, 10vw, 8rem); color: var(--lime); margin-left: .1em; }
.hero-tagline { font-size: clamp(1rem, 2vw, 1.35rem); opacity: .9; }
.hero-tagline em { font-family: var(--serif); font-size: 1.15em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-badge {
  position: absolute; z-index: 2; right: 1.5rem; top: 1.5rem;
  background: rgba(251,250,246,.9); backdrop-filter: blur(10px);
  padding: .9rem 1.2rem; border-radius: 1rem; text-align: center;
  display: none;
}
@media (min-width: 768px) { .hero-badge { display: block; right: 2.5rem; top: auto; bottom: 2.5rem; } }
.badge-num { display: block; font-family: var(--serif); font-size: 2.25rem; line-height: 1; color: var(--teal); }
.badge-label { font-size: .65rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }

/* ===== Marquee ===== */
.marquee { overflow: hidden; padding: 2rem 0 0; }
.marquee-track { display: flex; gap: 2rem; width: max-content; animation: marquee 30s linear infinite; align-items: center; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: clamp(2rem, 5vw, 3.5rem); color: var(--ink); opacity: .85; }
.marquee i { color: var(--teal); font-style: normal; font-size: 1.5rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== Sections ===== */
.section { padding: 3.5rem 0; }
@media (min-width: 768px) { .section { padding: 6rem 0; } }
.bordered { border-top: 1px solid var(--line); }
.grid-2 { display: grid; gap: 2.5rem; align-items: center; }
.grid-2.align-start { align-items: start; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.eyebrow { font-size: .7rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--teal); }
.eyebrow-light { color: var(--lime); }
.h2 { margin-top: 1rem; font-weight: 400; font-size: clamp(2rem, 5vw, 3.75rem); line-height: 1; letter-spacing: -.02em; }
.serif-accent { font-family: var(--serif); font-style: italic; color: var(--teal); }
.lead { margin-top: 1.25rem; font-size: clamp(.95rem, 1.4vw, 1.125rem); color: rgba(20,20,20,.7); line-height: 1.7; }
.body-text { margin-top: 1.5rem; display: grid; gap: 1rem; color: rgba(20,20,20,.78); font-size: clamp(.95rem, 1.4vw, 1.1rem); line-height: 1.75; max-width: 36rem; }
.section-intro { max-width: 48rem; }
.section-intro.center { margin: 0 auto; text-align: center; }
.text-link { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }

.photo-frame { border-radius: 1.5rem; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 20px 40px -24px rgba(0,0,0,.3); }
.photo-frame img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 1.2s var(--ease); }
.photo-frame:hover img { transform: scale(1.04); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); max-width: 30rem; }
.stat-num { display: block; font-family: var(--serif); font-size: clamp(2.25rem, 4vw, 3rem); line-height: 1; color: var(--teal); }
.stat-label { font-size: .65rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--muted-fg); }

/* ===== Program cards ===== */
.program-grid { margin-top: 2.5rem; display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .program-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .program-grid { grid-template-columns: repeat(4, 1fr); } }
.program-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white2); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .4s var(--ease), box-shadow .4s, border-color .3s;
}
.program-card:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -24px rgba(0,0,0,.25); border-color: rgba(31,111,107,.4); }
.program-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.program-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.program-card:hover .program-img img { transform: scale(1.06); }
.program-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,20,20,.55), transparent 50%); }
.num {
  position: absolute; z-index: 1; left: 1rem; top: 1rem;
  width: 2.25rem; height: 2.25rem; border-radius: 50%; display: grid; place-items: center;
  background: rgba(246,244,237,.9); color: var(--teal); font-size: .75rem; font-weight: 700;
}
.program-body { padding: 1.25rem 1.25rem 1.5rem; }
.program-body h3 { font-size: 1.1rem; font-weight: 700; }
.program-body p { margin-top: .6rem; font-size: .875rem; color: var(--muted-fg); line-height: 1.65; }

.cta-banner {
  margin-top: 2.5rem; padding: 2rem 1.25rem; text-align: center;
  border: 1px solid rgba(31,111,107,.3); background: rgba(31,111,107,.05); border-radius: var(--radius);
}
@media (min-width: 768px) { .cta-banner { padding: 3rem 2.5rem; } }
.cta-title { font-size: clamp(1.25rem, 2.5vw, 1.9rem); font-weight: 700; }
.cta-banner p:last-child { max-width: 42rem; margin: .75rem auto 0; color: var(--muted-fg); }

/* ===== Class cards ===== */
.class-grid { margin-top: 2.5rem; display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .class-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.class-card {
  overflow: hidden; background: var(--white2); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.class-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -28px rgba(0,0,0,.3); }
.class-img { aspect-ratio: 4/5; overflow: hidden; }
.class-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.class-card:hover .class-img img { transform: scale(1.06); }
.class-body { padding: 1.5rem; }
.class-body h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 400; }
.class-tag { margin-top: .25rem; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--teal); }
.class-body > p:not(.class-tag) { margin-top: .75rem; font-size: .9rem; color: var(--muted-fg); line-height: 1.65; }
.class-meta { display: flex; gap: 1.25rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.class-meta li { display: flex; align-items: center; gap: .4rem; }
.class-meta svg { color: var(--teal); }

/* ===== Pricing ===== */
.price-grid { margin-top: 3rem; display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .price-grid { grid-template-columns: repeat(3, 1fr); align-items: center; } }
.price-card {
  position: relative; padding: 2rem; border-radius: 1.25rem;
  background: var(--white2); border: 1px solid var(--line);
}
.price-card.featured { background: var(--ink); color: #fff; border-color: var(--ink); padding: 2.5rem 2rem; }
.ribbon { position: absolute; top: -.75rem; left: 2rem; background: var(--teal); color: #fff; font-size: .65rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; padding: .35rem .8rem; border-radius: 99px; }
.price-name { font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); }
.featured .price-name { color: var(--lime); }
.price { margin-top: .75rem; font-family: var(--serif); font-size: 3.5rem; line-height: 1; }
.price span { font-size: 1.75rem; vertical-align: top; margin-right: .1rem; }
.price-note { font-size: .85rem; color: var(--muted-fg); margin-top: .25rem; }
.featured .price-note { color: rgba(255,255,255,.6); }
.price-card ul { margin: 1.5rem 0 1.75rem; display: grid; gap: .65rem; font-size: .9rem; }
.price-card li { display: flex; gap: .6rem; align-items: center; }
.price-card li svg { color: var(--teal); }
.featured li svg { color: var(--teal); }

/* ===== Testimonials ===== */
.testimonials { background: #26201d; color: #fff; text-align: center; }
.testimonial-slider { position: relative; min-height: 14rem; margin-top: 1.5rem; }
@media (min-width: 768px) { .testimonial-slider { min-height: 12rem; } }
.testimonial { position: absolute; inset: 0; opacity: 0; transform: translateY(12px); transition: opacity .6s, transform .6s var(--ease); pointer-events: none; }
.testimonial.active { opacity: 1; transform: none; pointer-events: auto; }
.testimonial p { font-family: var(--serif); font-size: clamp(1.5rem, 3.4vw, 2.6rem); line-height: 1.2; max-width: 56rem; margin: 0 auto; }
.testimonial cite { display: block; margin-top: 1.25rem; font-style: normal; font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); }
.slider-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1.5rem; }
.slider-dots button { width: .6rem; height: .6rem; border-radius: 99px; background: rgba(255,255,255,.3); transition: width .3s, background .3s; }
.slider-dots button.active { width: 2rem; background: var(--teal); }

/* ===== FAQ ===== */
.faq-list { display: grid; gap: .75rem; }
.faq-list details { background: var(--white2); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 1.25rem; transition: border-color .3s; }
.faq-list details[open] { border-color: rgba(255,103,77,.5); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { color: var(--teal); transition: transform .3s; font-size: 1.1rem; }
.faq-list details[open] summary svg { transform: rotate(45deg); }
.faq-list details p { padding-bottom: 1.25rem; color: var(--muted-fg); line-height: 1.7; font-size: .95rem; }

/* ===== Booking form ===== */
.contact-list { margin-top: 2rem; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .85rem; align-items: flex-start; font-weight: 700; }
.contact-list svg { color: var(--teal); margin-top: .2rem; font-size: 1.1rem; }
.contact-list a:hover { color: var(--teal); }
.book-form { background: var(--white2); border: 1px solid var(--line); border-radius: 1.5rem; padding: 1.5rem; display: grid; gap: 1rem; box-shadow: 0 30px 60px -40px rgba(0,0,0,.3); }
@media (min-width: 768px) { .book-form { padding: 2.25rem; } }
.field-row { display: grid; gap: 1rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.book-form label { display: grid; gap: .4rem; font-size: .7rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--muted-fg); }
.book-form input, .book-form select, .book-form textarea {
  font: inherit; font-size: .95rem; letter-spacing: 0; text-transform: none; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: .75rem;
  padding: .8rem 1rem; outline: none; transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.book-form input:focus, .book-form select:focus, .book-form textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(31,111,107,.15); }
.book-form .invalid { border-color: #c0392b; }
.form-msg { font-size: .9rem; text-align: center; min-height: 1.2em; color: var(--teal); font-weight: 700; }
.form-msg.error { color: #c0392b; }

/* ===== Footer ===== */
.site-footer { background: #0b0b0b; color: rgba(255,255,255,.7); padding-top: 3.5rem; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 4rem; } }
.footer-tag { margin: 1rem 0 1.25rem; font-weight: 700; font-size: .9rem; }
.footer-head { font-size: .65rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.footer-links { margin-top: .75rem; display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.5rem; }
.footer-links a, .footer-contact a { min-height: 36px; display: inline-flex; align-items: center; font-weight: 700; font-size: .9rem; transition: color .2s; }
.footer-links a:hover, .footer-contact a:hover { color: var(--lime); }
.footer-contact { margin-top: 1rem; display: grid; gap: .75rem; font-weight: 700; font-size: .9rem; }
.footer-contact li { display: flex; align-items: center; gap: .75rem; }
.footer-contact svg { color: var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 3rem; padding-top: 1.5rem; padding-bottom: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; }
.to-top { width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; transition: background .2s, color .2s; }
.to-top:hover { background: var(--lime); color: var(--ink); }

/* ===== Reveal animations ===== */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ===== Dedicated Page Layouts ===== */
.page-hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(180deg, rgba(255,103,77,.08) 0%, transparent 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero .h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  line-height: 1.1;
  margin: 0.75rem 0 1rem;
}
.page-hero .lead {
  max-width: 48rem;
  font-size: 1.15rem;
  color: var(--muted-fg);
}

.values-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (min-width: 768px) {
  .values-grid { grid-template-columns: repeat(3, 1fr); }
}
.value-card {
  background: var(--white2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
}
.value-num {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--teal);
  margin-bottom: 0.75rem;
}
.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.value-card p {
  color: var(--muted-fg);
  font-size: 0.95rem;
  line-height: 1.6;
}

.photo-gallery {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
@media (min-width: 768px) {
  .photo-gallery { grid-template-columns: 1.5fr 1fr 1fr; }
}
.gallery-item {
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px -24px rgba(0,0,0,.2);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.gallery-item:hover img {
  transform: scale(1.05);
}

.photo-gallery-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  margin-top: 2.5rem;
}

.coach-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) {
  .coach-grid { grid-template-columns: 1fr 1.2fr; }
}
.coach-photo {
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.15);
}
.coach-photo img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white2);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--line);
}
.specs-table th, .specs-table td {
  padding: 1.1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.specs-table th {
  background: var(--paper);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted-fg);
}
.table-responsive {
  overflow-x: auto;
  border-radius: 1rem;
}

.packages-extra-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .packages-extra-grid { grid-template-columns: repeat(3, 1fr); }
}
.pack-box {
  background: var(--white2);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.pack-box h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.pack-price {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--teal);
  margin: 0.5rem 0 1rem;
}
.pack-price span {
  font-size: 0.85rem;
  color: var(--muted-fg);
  font-family: var(--sans);
}
.pack-box p {
  color: var(--muted-fg);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.text-link {
  color: var(--teal);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.text-link:hover {
  text-decoration: underline;
}

/* ===== Education Page Styling ===== */
.education-modules-list {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}
.edu-card {
  background: var(--white2);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 2.25rem;
  box-shadow: 0 10px 30px -15px rgba(0,0,0,.08);
  transition: transform .3s var(--ease), border-color .3s;
}
.edu-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,103,77,.4);
}
.edu-card.highlight-card {
  background: linear-gradient(135deg, var(--white2) 0%, rgba(255,103,77,.06) 100%);
  border: 1px solid rgba(255,103,77,.35);
}
.edu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.edu-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--teal);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 99px;
}
.edu-meta-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-fg);
}
.edu-title {
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.edu-subtitle {
  font-size: 1rem;
  color: var(--muted-fg);
  line-height: 1.6;
  max-width: 54rem;
}
.edu-details-grid {
  display: grid;
  gap: 2rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
@media (min-width: 768px) {
  .edu-details-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.edu-detail-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.85rem;
}
.edu-checklist {
  display: grid;
  gap: 0.75rem;
}
.edu-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink);
}
.edu-checklist li svg {
  color: var(--teal);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* ===== Auth & Member Portal Dashboard Styling ===== */
.auth-section {
  padding: 4rem 0 5rem;
  min-height: calc(85vh - 80px);
  display: flex;
  align-items: center;
}
.auth-container {
  display: flex;
  justify-content: center;
}
.auth-card {
  width: 100%;
  max-width: 520px;
  background: var(--white2);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: 2.5rem 2.25rem;
  box-shadow: 0 30px 60px -35px rgba(0,0,0,.25);
}
.auth-card-head {
  text-align: center;
  margin-bottom: 2rem;
}
.auth-desc {
  color: var(--muted-fg);
  font-size: 0.95rem;
  margin-top: 0.5rem;
  line-height: 1.55;
}
.auth-form {
  display: grid;
  gap: 1.25rem;
}
.auth-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-fg);
}
.auth-form input, .auth-form select, .auth-form textarea {
  font: inherit;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 0.85rem 1.1rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.auth-form input:focus, .auth-form select:focus, .auth-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(255,103,77,.18);
}
.auth-card-footer {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted-fg);
}

.alert-box {
  padding: 1rem 1.25rem;
  border-radius: 0.85rem;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.alert-error {
  background: #fdeee9;
  border: 1px solid #f9c0b2;
  color: #c0392b;
}
.alert-success {
  background: #eafaf1;
  border: 1px solid #a9dfbf;
  color: #1e8449;
}
.alert-warning {
  background: #fef9e7;
  border: 1px solid #f9e79f;
  color: #b7950b;
}

/* Portal Hero & Dashboard */
.portal-hero {
  padding: 3rem 0 2rem;
  background: linear-gradient(180deg, rgba(255,103,77,.08) 0%, transparent 100%);
  border-bottom: 1px solid var(--line);
}
.portal-welcome-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}
.portal-sub {
  color: var(--muted-fg);
  font-size: 1rem;
  margin-top: 0.4rem;
  max-width: 38rem;
}
.portal-credits-card {
  background: var(--white2);
  border: 2px solid var(--teal);
  border-radius: 1.25rem;
  padding: 1.5rem 2rem;
  text-align: center;
  min-width: 220px;
  box-shadow: 0 15px 35px -20px rgba(255,103,77,.4);
}
.credits-count {
  display: block;
  font-family: var(--serif);
  font-size: 3rem;
  line-height: 1;
  color: var(--teal);
  font-weight: 700;
}
.credits-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-fg);
  margin-top: 0.35rem;
}
.credits-badge {
  display: inline-block;
  background: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 99px;
  margin-top: 0.5rem;
  color: var(--ink);
}

/* Portal Tabs */
.portal-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}
.portal-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 0.75rem 0.75rem 0 0;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted-fg);
  background: transparent;
  transition: all 0.2s;
  white-space: nowrap;
}
.portal-tab-btn:hover {
  color: var(--teal);
  background: rgba(255,103,77,.06);
}
.portal-tab-btn.active {
  color: var(--teal);
  border-bottom: 3px solid var(--teal);
  background: var(--white2);
}

.portal-tab-content {
  display: none;
}
.portal-tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.dash-card {
  background: var(--white2);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 2.25rem;
  box-shadow: 0 10px 30px -20px rgba(0,0,0,.1);
}
.dash-card-head {
  margin-bottom: 1.5rem;
}
.dash-card-head h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
}
.dash-card-head p {
  color: var(--muted-fg);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.upcoming-booking-item {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  padding: 1.25rem;
  background: var(--paper);
  border-radius: 1rem;
  border: 1px solid var(--line);
}
.ub-date {
  background: var(--teal);
  color: #fff;
  border-radius: 0.75rem;
  padding: 0.65rem 0.85rem;
  text-align: center;
  min-width: 65px;
}
.ub-day {
  display: block;
  font-family: var(--serif);
  font-size: 1.75rem;
  line-height: 1;
  font-weight: 700;
}
.ub-month {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.ub-info h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}
.ub-info p {
  font-size: 0.82rem;
  color: var(--muted-fg);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 99px;
  margin-top: 0.4rem;
}
.badge-confirmed {
  background: #eafaf1;
  color: #1e8449;
}
.badge-paid {
  background: #eafaf1;
  color: #1e8449;
}

.dash-tips-list {
  display: grid;
  gap: 0.65rem;
}
.dash-tips-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--muted-fg);
  line-height: 1.5;
}
.dash-tips-list li svg {
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* ===== Admin CMS Control Panel Styling ===== */
.admin-images-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (min-width: 640px) {
  .admin-images-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .admin-images-grid { grid-template-columns: repeat(3, 1fr); }
}
.admin-image-card {
  background: var(--white2);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 10px 25px -15px rgba(0,0,0,.1);
  display: flex;
  flex-direction: column;
}
.aic-preview {
  height: 180px;
  background: #141414;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.aic-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.aic-preview img:hover {
  transform: scale(1.05);
}
.aic-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}
.aic-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--teal);
  background: rgba(255,103,77,.1);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
  width: fit-content;
}
.aic-body h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.aic-path {
  font-size: 0.75rem;
  color: var(--muted-fg);
  word-break: break-all;
  margin-bottom: 1rem;
}
.aic-file-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  background: var(--teal);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.2s;
}
.aic-file-label:hover {
  background: var(--teal-dark);
}

.admin-section-block {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.admin-section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
}
.admin-fields-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .admin-fields-grid { grid-template-columns: 1fr 1fr; }
}
.admin-field-item label {
  display: grid;
  gap: 0.35rem;
}
.afi-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
}
.afi-key {
  font-size: 0.7rem;
  color: var(--muted-fg);
  font-family: monospace;
}

/* ===== Certificate Verification & Education Styles ===== */
.verify-section {
  background: var(--paper);
  border-radius: 1.5rem;
  border: 1px solid var(--line);
  padding: 3rem 2rem;
  margin: 3.5rem 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.verify-search-bar {
  display: flex;
  gap: 0.75rem;
  max-width: 600px;
  margin: 1.5rem 0 1rem;
}
.verify-search-bar input {
  flex: 1;
  font: inherit;
  font-size: 1rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: var(--white2);
  outline: none;
  transition: border-color 0.2s;
  letter-spacing: 0.05em;
  font-family: monospace;
}
.verify-search-bar input:focus {
  border-color: var(--teal);
}
.verify-result-card {
  background: var(--white2);
  border-radius: 1.25rem;
  border: 2px solid #27ae60;
  padding: 2.5rem;
  margin-top: 2rem;
  position: relative;
  box-shadow: 0 15px 35px rgba(39, 174, 96, 0.1);
}
.verify-badge-valid {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #eafaf1;
  color: #27ae60;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid #a3e4d7;
}
.verify-badge-invalid {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fdedec;
  color: #e74c3c;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid #fadbd8;
}
.verify-details-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.verify-detail-item {
  display: grid;
  gap: 0.35rem;
}
.verify-detail-item .v-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-fg);
}
.verify-detail-item .v-val {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
}
.cert-seal {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37, #aa820a);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
  text-align: center;
  border: 2px dashed rgba(255,255,255,0.7);
}

/* Printable Certificate Sheet */
.cert-document-wrap {
  max-width: 960px;
  margin: 3rem auto;
  background: #fff;
  border: 12px solid #2b5a54;
  outline: 4px solid #b8860b;
  outline-offset: -8px;
  padding: 4rem 3.5rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(0,0,0,0.15);
  font-family: var(--sans);
  color: #1a1a1a;
  text-align: center;
}
.cert-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.04;
  width: 400px;
  pointer-events: none;
}
.cert-title {
  font-family: var(--serif);
  font-size: 2.8rem;
  color: #2b5a54;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 1.5rem 0 0.5rem;
}
.cert-subtitle {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #b8860b;
  font-weight: 700;
}
.cert-student-name {
  font-family: var(--serif);
  font-size: 3.2rem;
  color: #1a1a1a;
  margin: 2rem 0 1rem;
  border-bottom: 2px solid #b8860b;
  display: inline-block;
  padding: 0 2rem 0.5rem;
  font-style: italic;
}
.cert-course {
  font-size: 1.35rem;
  font-weight: 700;
  color: #2b5a54;
  margin: 1rem 0;
}
.cert-signatures {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e0e0e0;
}
.cert-sig-block {
  text-align: center;
  min-width: 200px;
}
.cert-sig-line {
  border-top: 1px solid #1a1a1a;
  margin-top: 2rem;
  padding-top: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}

@media print {
  body * {
    visibility: hidden;
  }
  .cert-document-wrap, .cert-document-wrap * {
    visibility: visible;
  }
  .cert-document-wrap {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 3rem 2.5rem;
    box-shadow: none;
    border-width: 8px;
  }
  .no-print {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .pricing-page-layout {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================
   ARCWAVE PILATES DASHBOARD & BOOKING CALENDAR SYSTEM
   ========================================================== */
.arc-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.arc-stat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 4px 18px rgba(0,0,0,0.03);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.arc-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.arc-stat-num {
  font-family: var(--serif);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.arc-stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-fg);
  margin-top: 0.4rem;
}
.arc-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Arcwave Hero Reserve Banner */
.arc-reserve-banner {
  background: linear-gradient(135deg, var(--teal) 0%, #1e423d 100%);
  border-radius: 1.25rem;
  color: #fff;
  padding: 2rem 2.5rem;
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(43,90,84,0.25);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.arc-banner-sub {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  margin: 0.35rem 0 0;
  max-width: 520px;
  line-height: 1.5;
}

/* Calendar Filter Pills */
.arc-calendar-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.arc-type-toggle {
  display: inline-flex;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.35rem;
  border-radius: 0.85rem;
  gap: 0.35rem;
}
.arc-type-btn {
  padding: 0.55rem 1.25rem;
  border-radius: 0.65rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted-fg);
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.arc-type-btn.active {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 4px 12px rgba(43,90,84,0.25);
}
.arc-type-btn:hover:not(.active) {
  color: var(--ink);
  background: rgba(0,0,0,0.03);
}

/* 14-Day Date Strip */
.arc-date-strip {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  padding: 0.5rem 0 1rem;
  scrollbar-width: thin;
}
.arc-date-strip::-webkit-scrollbar {
  height: 6px;
}
.arc-date-strip::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 99px;
}
.arc-date-pill {
  flex: 0 0 auto;
  min-width: 76px;
  padding: 0.85rem 0.5rem;
  text-align: center;
  border-radius: 1rem;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}
.arc-date-pill .dow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.75;
}
.arc-date-pill .day-num {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0.2rem 0;
  line-height: 1;
}
.arc-date-pill .month-name {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  opacity: 0.7;
}
.arc-date-pill:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
}
.arc-date-pill.active {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(43,90,84,0.3);
  transform: translateY(-2px);
}
.arc-date-pill.active .dow,
.arc-date-pill.active .month-name {
  opacity: 0.9;
}

/* Time Period Group */
.arc-period-section {
  margin-bottom: 2.25rem;
}
.arc-period-head {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted-fg);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.arc-period-head i {
  color: var(--teal);
}

/* Slot Card */
.arc-slot-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  transition: all 0.2s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}
.arc-slot-card:hover {
  border-color: rgba(43,90,84,0.4);
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}
.arc-slot-time {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.arc-slot-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.55rem;
  border-radius: 0.4rem;
  background: rgba(43,90,84,0.08);
  color: var(--teal);
}
.arc-slot-meta {
  font-size: 0.82rem;
  color: var(--fg);
  margin: 0.25rem 0 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.arc-slot-capacity {
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.capacity-ok { color: #2e7d32; }
.capacity-warn { color: #d35400; }
.capacity-full { color: #c0392b; }

/* Reschedule Dropdown / Form */
.reschedule-panel {
  background: var(--white2);
  border: 1.5px dashed var(--teal);
  border-radius: 0.85rem;
  padding: 1rem 1.25rem;
  margin-top: 0.75rem;
  animation: fadeIn 0.2s ease;
}

/* ==========================================================
   COMPREHENSIVE MOBILE-FIRST & RESPONSIVE ENHANCEMENTS
   ========================================================== */

/* 1. Global Touch & Viewport Stability */
html, body {
  overflow-x: hidden;
  width: 100%;
  -webkit-text-size-adjust: 100%;
}

@media (max-width: 768px) {
  /* Prevent automatic iOS Safari zoom-in on focus */
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="tel"],
  input[type="date"],
  select,
  textarea {
    font-size: 16px !important;
  }

  /* Touch-friendly buttons */
  .btn {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Compact container padding on mobile screens */
  .container {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  /* Reduce massive section vertical padding on phones */
  .section {
    padding: 3rem 0;
  }

  /* Dash Card mobile padding */
  .dash-card {
    padding: 1.35rem 1.15rem !important;
    border-radius: 1rem;
  }
}

/* 2. Member Dashboard Header & Stat Pills on Mobile */
.portal-welcome-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.portal-stat-pills {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

@media (max-width: 899px) {
  .portal-welcome-row {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }

  .portal-stat-pills {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    width: 100%;
  }

  .portal-stat-card {
    padding: 0.85rem 0.5rem !important;
    min-width: 0 !important;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .portal-stat-card .arc-stat-num {
    font-size: 1.75rem !important;
    line-height: 1;
  }

  .portal-stat-card .arc-stat-label {
    font-size: 0.65rem !important;
    letter-spacing: 0.04em !important;
    margin-top: 0.3rem;
  }

  .portal-stat-card .arc-stat-icon {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .portal-stat-card .arc-stat-num {
    font-size: 1.5rem !important;
  }
  .portal-stat-card .arc-stat-label {
    font-size: 0.6rem !important;
  }
}

/* 3. Dashboard Navigation Tabs on Mobile */
@media (max-width: 768px) {
  .portal-tabs {
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
    margin-bottom: 1.25rem;
  }
  .portal-tabs::-webkit-scrollbar {
    display: none;
  }
  .portal-tab-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 0.78rem;
    padding: 0.55rem 0.9rem;
    border-radius: 99px;
  }
  .portal-tab-btn svg {
    width: 14px;
    height: 14px;
  }
}

/* 4. Calendar Controls, Toggle & Date Strip on Mobile */
@media (max-width: 768px) {
  .arc-calendar-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
  }
  .arc-type-toggle {
    display: flex;
    width: 100%;
  }
  .arc-type-btn {
    flex: 1;
    justify-content: center;
    text-align: center;
    padding: 0.65rem 0.5rem;
    font-size: 0.78rem;
  }
  .arc-jump-date-row {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
  }
  .arc-jump-date-row input[type="date"] {
    flex: 1;
    max-width: none;
  }

  .arc-date-strip {
    display: flex;
    gap: 0.45rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 0.35rem 0.25rem 0.75rem;
  }
  .arc-date-pill {
    scroll-snap-align: start;
    min-width: 60px;
    padding: 0.55rem 0.35rem;
    border-radius: 0.75rem;
  }
  .arc-date-pill .dow {
    font-size: 0.65rem;
  }
  .arc-date-pill .day-num {
    font-size: 1.15rem;
    margin: 0.15rem 0;
  }
  .arc-date-pill .month-name {
    font-size: 0.62rem;
  }
}

/* 5. Slot Cards on Mobile (Vertical Touch Layout) */
@media (max-width: 768px) {
  .arc-slot-card {
    flex-direction: column;
    align-items: stretch;
    gap: 0.9rem;
    padding: 1.15rem 1.15rem;
    margin-bottom: 0.75rem;
  }
  .arc-slot-card > div:first-child {
    min-width: 0 !important;
  }
  .arc-slot-card > div:last-child {
    text-align: left !important;
    width: 100%;
  }
  .arc-slot-card .btn {
    width: 100% !important;
    height: 44px;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .arc-slot-time {
    font-size: 1.05rem;
    flex-wrap: wrap;
  }
  .arc-slot-meta {
    font-size: 0.78rem;
    gap: 0.5rem;
  }
}

/* 6. Pricing Packages Grid on Mobile */
@media (max-width: 768px) {
  .price-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
  }
  .price-card {
    padding: 1.75rem 1.5rem !important;
  }
  .price-card .btn {
    height: 44px;
    font-size: 0.9rem;
  }
}

/* 7. Public Header & Mobile Drawer */
@media (max-width: 480px) {
  .header-inner {
    height: 64px;
    padding: 0 1rem;
  }
  .logo-img {
    max-height: 32px;
  }
  .dash-mobile-nav-actions .btn {
    height: 32px;
    padding: 0 0.55rem;
    font-size: 0.72rem;
  }
}

/* 8. Responsive Forms & Modals */
@media (max-width: 640px) {
  .field-row {
    grid-template-columns: 1fr !important;
    gap: 0.75rem;
  }
  .book-form {
    padding: 1.25rem 1rem !important;
  }
  .auth-form {
    padding: 1.25rem 1rem !important;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .hero-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* 9. Tables on Mobile */
@media (max-width: 768px) {
  .table-responsive {
    border-radius: 0.75rem;
    border: 1px solid var(--line);
  }
  .specs-table th, .specs-table td {
    padding: 0.75rem 0.85rem;
    font-size: 0.8rem;
  }
}

/* ============================================================== */
/* ARCWAVE-STYLE ADMIN CONTROL PANEL & SIDEBAR (BAYFORM ORIGINAL PALETTE) */
/* ============================================================== */
.arc-admin-app {
  display: flex;
  min-height: 100vh;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
}

.arc-admin-sidebar {
  width: 250px;
  flex-shrink: 0;
  background: var(--white2);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1rem;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 1000;
  transition: transform 0.25s ease;
}

.arc-admin-brand {
  display: flex;
  flex-direction: column;
  padding: 0 0.5rem 0.25rem;
}
.arc-admin-brand .brand-logo {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.04em;
  text-decoration: none;
  line-height: 1.1;
}
.arc-admin-brand .brand-sub {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-fg);
  margin-top: 0.15rem;
}

.arc-studio-selector {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.75rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
  margin: 1.25rem 0 1rem;
  cursor: default;
}

.arc-admin-nav-group-title {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-fg);
  margin: 1.25rem 0 0.35rem 0.65rem;
}

.arc-admin-nav-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
  margin-bottom: 0.2rem;
}
.arc-admin-nav-item:hover {
  background: var(--muted);
  color: var(--ink);
}
.arc-admin-nav-item.active {
  background: var(--teal) !important;
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(255, 103, 77, 0.35);
}
.arc-admin-nav-item i {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.arc-admin-nav-badge {
  margin-left: auto;
  background: var(--muted);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 10px;
}
.arc-admin-nav-item.active .arc-admin-nav-badge {
  background: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.arc-admin-sidebar-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.arc-admin-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.arc-admin-user-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.arc-admin-user-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.arc-admin-user-role {
  font-size: 0.72rem;
  color: var(--muted-fg);
}
.arc-admin-logout-btn {
  margin-left: auto;
  color: var(--muted-fg);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  text-decoration: none;
}
.arc-admin-logout-btn:hover {
  color: var(--teal-dark);
  background: rgba(255, 103, 77, 0.12);
}

/* Admin Main Content Container */
.arc-admin-main {
  flex: 1;
  min-width: 0;
  padding: 2.25rem 2.75rem;
  background: var(--paper);
  overflow-y: auto;
}

.arc-admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}
.arc-admin-category-tag {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-fg);
  margin-bottom: 0.25rem;
}
.arc-admin-header-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
  line-height: 1.2;
}

.arc-view-site-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white2);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}
.arc-view-site-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--paper);
}

.arc-admin-greeting-row {
  margin-top: 0.5rem;
  margin-bottom: 1.75rem;
}
.arc-admin-greeting-title {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 0.2rem;
}
.arc-admin-greeting-title .admin-serif-accent {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  color: var(--teal);
}
.arc-admin-greeting-meta {
  font-size: 0.82rem;
  color: var(--muted-fg);
}

/* 4 Metrics Cards Grid */
.arc-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.arc-metric-card {
  background: var(--white2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.25rem 1.4rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.arc-metric-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}
.arc-metric-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.arc-metric-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-fg);
}
.arc-metric-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 103, 77, 0.12);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
}
.arc-metric-value {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--ink);
  margin-top: 0.6rem;
  line-height: 1;
}

/* 2-Column Overview Layout */
.arc-overview-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.arc-card {
  background: var(--white2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  margin-bottom: 1.5rem;
}
.arc-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}
.arc-card-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.2rem;
}
.arc-card-header p {
  font-size: 0.82rem;
  color: var(--muted-fg);
  margin: 0;
}
.arc-card-header a {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.arc-card-header a:hover {
  text-decoration: underline;
  color: var(--teal-dark);
}

/* Today at studio class slot rows */
.arc-today-slot {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  display: grid;
  grid-template-columns: 85px 1fr auto;
  align-items: center;
  gap: 1rem;
}
.arc-today-time {
  display: flex;
  flex-direction: column;
}
.arc-today-time .time-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
.arc-today-time .duration-val {
  font-size: 0.75rem;
  color: var(--muted-fg);
  margin-top: 0.15rem;
}

.arc-today-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.arc-today-title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.2rem;
}
.arc-today-class-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}
.arc-today-type-pill {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255, 103, 77, 0.15);
  color: var(--teal);
}
.arc-today-type-pill.private {
  background: rgba(31, 27, 24, 0.08);
  color: var(--ink);
}
.arc-today-teacher {
  font-size: 0.78rem;
  color: var(--muted-fg);
  margin-bottom: 0.25rem;
}
.arc-today-members {
  font-size: 0.82rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.arc-today-members.empty {
  color: var(--muted-fg);
  font-style: italic;
}

.arc-today-ratio-badge {
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  background: var(--muted);
  color: var(--ink);
  white-space: nowrap;
}
.arc-today-ratio-badge.full {
  background: #fde8e8;
  color: #c0392b;
}
.arc-today-ratio-badge.active-booked {
  background: rgba(255, 103, 77, 0.15);
  color: var(--teal);
}

/* Coming Up items */
.arc-notice-item {
  padding: 0.85rem 1rem;
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  margin-bottom: 0.75rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.arc-notice-icon {
  color: var(--teal);
  margin-top: 0.15rem;
  flex-shrink: 0;
}
.arc-notice-content h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.15rem;
}
.arc-notice-content p {
  font-size: 0.78rem;
  color: var(--muted-fg);
  margin: 0;
  line-height: 1.4;
}

/* Mobile Admin Nav & Off-canvas */
.arc-admin-mobile-topbar {
  display: none;
  background: var(--white2);
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 1.25rem;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 999;
}
.arc-admin-mobile-toggle {
  background: transparent;
  border: none;
  color: var(--ink);
  cursor: pointer;
  padding: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.arc-admin-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 999;
}

@media (max-width: 992px) {
  .arc-admin-mobile-topbar {
    display: flex;
  }
  .arc-admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    transform: translateX(-100%);
    box-shadow: 4px 0 25px rgba(0,0,0,0.15);
  }
  .arc-admin-sidebar.open {
    transform: translateX(0);
  }
  .arc-admin-overlay.open {
    display: block;
  }
  .arc-admin-main {
    padding: 1.5rem 1.25rem;
  }
  .arc-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .arc-overview-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .arc-metrics-grid {
    grid-template-columns: 1fr;
  }
  .arc-today-slot {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
}

/* ============================================================== */
/* ARCWAVE-STYLE MEMBER DASHBOARD COMPONENTS (arcwavepilatesstudio.in/dashboard) */
/* ============================================================== */
.arc-member-tabs-nav {
  display: flex;
  gap: 1.75rem;
  border-bottom: 1.5px solid var(--line);
  margin-bottom: 2.25rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.arc-member-tabs-nav::-webkit-scrollbar {
  display: none;
}
.arc-member-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 0.2rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-fg);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
  background: transparent;
  cursor: pointer;
  margin-bottom: -1.5px;
}
.arc-member-tab-btn:hover {
  color: var(--teal);
}
.arc-member-tab-btn.active {
  color: var(--teal) !important;
  border-bottom-color: var(--teal) !important;
}
.arc-member-tab-btn i {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* HOME TAB: 2-Column Grid Layout */
.arc-home-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 992px) {
  .arc-home-grid {
    grid-template-columns: 1fr;
  }
}

/* Left Member Profile Card */
.arc-profile-card {
  background: var(--white2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2.25rem 1.75rem 1.75rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}
.arc-profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--teal);
  color: #ffffff;
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 6px 16px rgba(255,103,77,0.3);
}
.arc-profile-name {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.25rem;
  line-height: 1.2;
}
.arc-profile-sub {
  font-size: 0.82rem;
  color: var(--muted-fg);
  margin-bottom: 1.5rem;
}
.arc-profile-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
  margin-bottom: 1.5rem;
}
.arc-profile-stat-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.arc-profile-stat-col:not(:last-child) {
  border-right: 1px solid var(--line);
}
.arc-profile-stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.1;
}
.arc-profile-stat-lbl {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-fg);
  margin-top: 0.25rem;
}
.arc-profile-contact-list {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--ink);
}
.arc-profile-contact-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  word-break: break-all;
}
.arc-profile-contact-item i {
  width: 15px;
  height: 15px;
  color: var(--teal);
  flex-shrink: 0;
}

/* Right Column: Pack Status Card */
.arc-pack-card {
  background: var(--white2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2.25rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
  margin-bottom: 2rem;
}
.arc-pack-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255,103,77,0.12);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.arc-pack-title {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.arc-pack-desc {
  font-size: 0.88rem;
  color: var(--muted-fg);
  margin-bottom: 1.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.arc-pack-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* BOOKING TAB: Group vs Private Switcher */
.arc-book-type-toggle {
  display: inline-flex;
  padding: 0.35rem;
  background: var(--white2);
  border: 1px solid var(--line);
  border-radius: 99px;
  margin-bottom: 2rem;
}
.arc-book-type-btn {
  padding: 0.45rem 1.4rem;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  transition: all 0.2s ease;
}
.arc-book-type-btn.active {
  background: var(--teal);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(255,103,77,0.3);
}

/* Week Day Strip (7 Cards) */
.arc-week-strip {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  padding-bottom: 0.85rem;
  margin-bottom: 2.25rem;
}
.arc-week-card {
  flex: 1;
  min-width: 90px;
  background: var(--white2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.arc-week-card:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
}
.arc-week-card.active {
  background: var(--teal);
  border-color: var(--teal);
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(255,103,77,0.35);
}
.arc-week-card.active .dow,
.arc-week-card.active .closed-tag {
  color: #ffffff !important;
  opacity: 0.9;
}
.arc-week-card .dow {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-fg);
}
.arc-week-card .day-num {
  font-size: 1.45rem;
  font-weight: 800;
  margin: 0.2rem 0;
  line-height: 1;
}
.arc-week-card .closed-tag {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #c0392b;
  letter-spacing: 0.05em;
}

/* 3-Column Slot Cards Grid (Screenshot 2) */
.arc-slots-3col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 992px) {
  .arc-slots-3col-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .arc-slots-3col-grid {
    grid-template-columns: 1fr;
  }
}
.arc-grid-slot-card {
  background: var(--white2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.35rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s, box-shadow 0.2s;
}
.arc-grid-slot-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}
.arc-gslot-top {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.4rem;
}
.arc-gslot-dot {
  color: var(--teal);
  font-size: 1.2rem;
  line-height: 1;
}
.arc-gslot-time {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
}
.arc-gslot-dur {
  font-size: 0.78rem;
  color: var(--muted-fg);
}
.arc-gslot-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.85rem;
}
.arc-gslot-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.65rem;
  border-radius: 20px;
  margin-bottom: 1.25rem;
  align-self: flex-start;
}
.arc-gslot-pill.green {
  background: rgba(46, 125, 50, 0.12);
  color: #2e7d32;
}
.arc-gslot-pill.orange {
  background: rgba(230, 126, 34, 0.12);
  color: #d35400;
}
.arc-gslot-pill.red {
  background: rgba(192, 57, 43, 0.12);
  color: #c0392b;
}

/* Clean Empty State in Card */
.arc-empty-card-state {
  background: var(--white2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 3rem 1.5rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.arc-empty-card-state p {
  color: var(--muted-fg);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

/* Tab Panels */
.arc-tab-panel {
  display: none;
}
.arc-tab-panel.active {
  display: block;
  animation: fadeIn 0.25s ease-in-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================== */
/* BAYFORM PILATES BOUTIQUE MEMBER PORTAL STYLES                  */
/* ============================================================== */
.bf-portal-hero {
  padding: 2.25rem 0 1.5rem;
  background: linear-gradient(180deg, rgba(247,238,228,0.7) 0%, rgba(247,238,228,0) 100%);
  border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
}
.bf-portal-hero-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.bf-portal-welcome h1 {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--ink);
  margin: 0.15rem 0 0.35rem;
  line-height: 1.15;
}
.bf-portal-tagline {
  font-size: 0.88rem;
  color: var(--muted-fg);
  margin: 0;
}
.bf-portal-quick-chips {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.bf-quick-chip {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 0.45rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.bf-quick-chip .chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

/* Floating Segmented Tab Navigation */
.bf-nav-tabs-wrap {
  margin-bottom: 2.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 0.25rem;
}
.bf-nav-tabs-wrap::-webkit-scrollbar {
  display: none;
}
.bf-nav-tabs {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 0.35rem;
  display: inline-flex;
  gap: 0.35rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}
.bf-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted-fg);
  text-decoration: none;
  border-radius: 99px;
  transition: all 0.2s ease;
  white-space: nowrap;
  background: transparent;
  border: none;
  cursor: pointer;
}
.bf-tab-btn:hover {
  color: var(--teal);
  background: rgba(255,103,77,0.06);
}
.bf-tab-btn.active {
  background: var(--teal) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(255,103,77,0.28);
}
.bf-tab-btn i {
  width: 15px;
  height: 15px;
}

/* Boutique Member Pass Card */
.bf-member-pass {
  background: linear-gradient(145deg, #ffffff 0%, var(--white2) 100%);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2.25rem 1.75rem 1.75rem;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.03);
  position: relative;
  overflow: hidden;
}
.bf-member-pass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--teal), #ff8a73);
}
.bf-pass-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-fg);
  margin-bottom: 1.5rem;
}
.bf-pass-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal) 0%, #e8533a 100%);
  color: #ffffff;
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 6px 18px rgba(255,103,77,0.25);
  border: 3px solid #ffffff;
}
.bf-pass-name {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.2rem;
  line-height: 1.2;
}
.bf-pass-tier {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-bottom: 1.5rem;
}
.bf-pass-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(247,238,228,0.5);
  border-radius: 12px;
  padding: 1rem 0.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(227,210,196,0.5);
}
.bf-pass-stat-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.bf-pass-stat-col:not(:last-child) {
  border-right: 1px solid var(--line);
}
.bf-pass-stat-val {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.1;
}
.bf-pass-stat-lbl {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-fg);
  margin-top: 0.25rem;
}
.bf-pass-footer-list {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.82rem;
  color: var(--ink);
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.bf-pass-footer-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  word-break: break-all;
}
.bf-pass-footer-item i {
  width: 14px;
  height: 14px;
  color: var(--teal);
  flex-shrink: 0;
}

/* Boutique Session Slot Cards */
.bf-slot-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.4rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
  position: relative;
}
.bf-slot-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,103,77,0.4);
  box-shadow: 0 8px 24px rgba(255,103,77,0.08);
}
.bf-slot-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.bf-slot-time {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.bf-slot-dur {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted-fg);
  background: var(--paper);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}
.bf-slot-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.35rem;
  line-height: 1.25;
}
.bf-slot-desc {
  font-size: 0.82rem;
  color: var(--muted-fg);
  line-height: 1.45;
  margin-bottom: 1rem;
}
.bf-slot-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(227,210,196,0.6);
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Day Selector Strip */
.bf-day-strip {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 2.25rem;
  scrollbar-width: none;
}
.bf-day-strip::-webkit-scrollbar {
  display: none;
}
.bf-day-card {
  flex: 1;
  min-width: 92px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem 0.6rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}
.bf-day-card:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
}
.bf-day-card.active {
  background: var(--teal) !important;
  border-color: var(--teal) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(255,103,77,0.32);
}
.bf-day-card.active .dow,
.bf-day-card.active .closed-tag {
  color: #ffffff !important;
  opacity: 0.95;
}
.bf-day-card .dow {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-fg);
}
.bf-day-card .day-num {
  font-size: 1.55rem;
  font-weight: 800;
  margin: 0.25rem 0;
  line-height: 1;
}

/* Segmented Pills for Mode Switch */
.bf-segmented-pills {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 4px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  gap: 4px;
}
.bf-seg-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted-fg);
  text-decoration: none;
  transition: all 0.2s ease;
}
.bf-seg-pill:hover {
  color: var(--ink);
  background: rgba(247, 238, 228, 0.4);
}
.bf-seg-pill.active {
  background: var(--teal);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(255,103,77,0.25);
}
