@import url('https://fonts.googleapis.com/css2?family=Anton&family=Barlow+Condensed:wght@600;700&family=Orbitron:wght@600;700;900&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
  --pink-dark: #8B4F1C;
  --pink: #B87848;
  --pink-light: #F0DCC4;
  --pink-bg: #FBF5EC;
  --gold: #C9A84C;
  --gold-dark: #9A7A28;
  --gold-light: #FDF4DC;
  --dark: #1E0E00;
  --text: #2C1800;
  --text-light: #7A5A3A;
  --white: #FFFFFF;
  --border: #E0CEAD;
  --shadow-sm: none;
  --shadow: none;
  --shadow-lg: none;
  --radius: 2px;
  --radius-sm: 2px;
  --transition: all 0.3s ease;
  --font-heading: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ── Page transitions ── */
@keyframes pgIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pgOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-8px); }
}
body { animation: pgIn 0.48s cubic-bezier(0.33, 1, 0.68, 1) both; }
body.page-leaving { animation: pgOut 0.26s ease forwards !important; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
:focus:not(:focus-visible) { outline: none; }
a, button { touch-action: manipulation; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--dark);
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.7rem); }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1rem; }

/* ── Helpers ── */
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 580px;
  margin: 0 auto 3rem;
}
.text-center { text-align: center; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-alt { background: var(--pink-bg); }

.gold-divider {
  width: 80px;
  height: 3px;
  background: var(--gold);
  margin: 1.2rem auto;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.btn-primary {
  background: var(--pink-dark);
  color: var(--white);
}
.btn-primary:hover { background: var(--dark); }
.btn-gold {
  background: var(--gold-dark);
  color: var(--white);
}
.btn-gold:hover { background: var(--dark); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline:hover { background: var(--white); color: var(--pink-dark); }

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  background: #FAF3E8;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar.scrolled {
  background: #FFFFFF;
  border-bottom-color: var(--border);
}
.navbar.scrolled .nav-logo { color: var(--dark); }
.navbar.scrolled .nav-links a { color: var(--dark); }
.navbar.scrolled .hamburger span { background: var(--dark); }

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.nav-logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark);
  transition: var(--transition);
}
.nav-logo span { color: var(--gold-dark); letter-spacing: 0.18em; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text);
  position: relative;
  display: inline-block;
  padding: 5px 8px;
  /* Fill animation — background grows from top, always behind text */
  background-image: linear-gradient(var(--dark), var(--dark));
  background-repeat: no-repeat;
  background-position: 0 2px; /* sit just below the top border */
  background-size: 100% 0%;
  transition: background-size 0.32s ease, color 0.28s ease;
}

/* Top & bottom border lines that compress into place on hover */
.nav-links a::before {
  content: '';
  position: absolute;
  inset: 0;
  border-top: 2px solid var(--dark);
  border-bottom: 2px solid var(--dark);
  transform: scaleY(2.5);
  opacity: 0;
  transition: transform 0.32s ease, opacity 0.28s ease;
  transform-origin: center;
  pointer-events: none;
}

/* Remove old gold underline */
.nav-links a::after { display: none !important; }

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background-size: 100% 100%;
}
.nav-links a:hover::before,
.nav-links a.active::before {
  transform: scaleY(1);
  opacity: 1;
}

/* Book Now CTA — keep pill style, suppress the border animation */
.nav-cta {
  padding: 10px 24px !important;
  background: var(--pink-dark) !important;
  color: var(--white) !important;
  border-radius: 2px;
  font-size: 0.82rem !important;
  background-repeat: repeat !important;
  background-position: 0 0 !important;
  background-size: auto !important;
  transition: background 0.2s ease !important;
}
.nav-cta::before { display: none !important; }
.nav-cta:hover { background: var(--dark) !important; color: var(--white) !important; }
.navbar.scrolled .nav-cta { color: var(--white) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Hero (Home) ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #FAF3E8;
  position: relative;
  overflow: hidden;
}
.hero::before {
  display: none;
}

/* ── Floating Avatar Circles (Slite-inspired) ── */
.float-avatar {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  pointer-events: none;
  opacity: 0;
}
.float-avatar span {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.03em;
}
.f-circle {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 0.8rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.13);
  letter-spacing: 0.02em;
}
/* floatIn delay + floatBob starts after floatIn finishes (delay = in-delay + 0.6s) */
.float-a1 { top: 20%; left: 7%;    animation: floatIn 0.6s ease 0.8s forwards, floatBob 5.2s ease-in-out 1.4s infinite; }
.float-a2 { top: 10%; left: 33%;   animation: floatIn 0.6s ease 1.1s forwards, floatBob 4.8s ease-in-out 1.7s infinite; }
.float-a3 { top: 18%; right: 8%;   animation: floatIn 0.6s ease 1.4s forwards, floatBob 5.5s ease-in-out 2.0s infinite; }
.float-a4 { bottom: 28%; left: 5%; animation: floatIn 0.6s ease 1.7s forwards, floatBob 4.6s ease-in-out 2.3s infinite; }
.float-a5 { bottom: 30%; right: 7%; animation: floatIn 0.6s ease 2.0s forwards, floatBob 5.0s ease-in-out 2.6s infinite; }

@keyframes floatIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes floatBob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-11px); }
}

/* ── HandWrittenTitle ── */
.handwritten-title {
  position: relative;
  margin: 0 auto 0.8rem;
  padding: 0;
}
.ht-svg { display: none; }
.ht-path {
  stroke: var(--gold);
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 9;
  opacity: 0.85;
}
@keyframes htDraw {
  to { stroke-dashoffset: 0; }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.14);
  border: 1px solid rgba(201,168,76,0.45);
  border-radius: 2px;
  padding: 8px 20px;
  margin-bottom: 1.6rem;
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  animation: fadeUp 0.7s ease 0.2s both;
}
.hero h1 {
  color: var(--dark);
  margin-bottom: 1.2rem;
  line-height: 1;
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-family: 'Barlow Condensed', 'Anton', Impact, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  animation: fadeUp 0.8s ease 0.45s both;
}
.hero > .container > .hero-content > p,
.hero-desc {
  color: var(--text-light);
  font-size: 1.08rem;
  line-height: 1.85;
  margin-bottom: 2.5rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeUp 0.8s ease 0.7s both;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; animation: fadeUp 0.8s ease 0.9s both; }

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

/* Outline button for light backgrounds */
.btn-outline-light {
  background: transparent;
  color: var(--dark);
  border: 2px solid rgba(26,8,0,0.28);
}
.btn-outline-light:hover { background: var(--dark); color: var(--white); }

.scroll-indicator {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(45,20,0,0.35);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(45,20,0,0.35), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ── Page Hero ── */
.page-hero {
  background: var(--dark);
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  display: none;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.05rem; margin: 0; }

/* ── Feature Icons Strip ── */
.features-strip { padding: 56px 0; border-bottom: 1px solid var(--border); }
.features-strip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.feature-strip-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.feature-strip-item:hover { background: var(--pink-bg); }
.feature-icon-sm {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--pink-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pink-dark);
  flex-shrink: 0;
}
.feature-icon-sm svg { display: block; width: 24px; height: 24px; }
.feature-strip-item h4 { font-size: 1rem; margin-bottom: 2px; }
.feature-strip-item p { font-size: 0.85rem; color: var(--text-light); margin: 0; }

/* ── Service Cards ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
}
.service-card:hover { border-color: var(--pink-dark); }
.service-card-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.8rem;
  background: var(--pink-light);
}
.service-card-body { padding: 1.5rem; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.service-card p { color: var(--text-light); font-size: 0.92rem; margin-bottom: 1.2rem; }
.service-card-footer { display: flex; align-items: center; justify-content: space-between; }
.price-label { font-size: 0.75rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.06em; }
.price { font-family: var(--font-heading); font-size: 1.6rem; color: var(--pink-dark); font-weight: 700; }

/* ── Testimonials ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.8rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow); border-color: var(--pink-light); }
.stars { color: var(--gold); font-size: 0.95rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial-text { color: var(--text-light); font-style: italic; line-height: 1.8; margin-bottom: 1.5rem; font-size: 0.97rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.t-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--pink-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.t-name { font-weight: 700; font-size: 0.95rem; color: var(--dark); }
.t-sub { font-size: 0.8rem; color: var(--text-light); }

/* ── CTA Banner ── */
.cta-banner {
  background: var(--dark);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  display: none;
}
.cta-banner-content { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: 0.8rem; }
.cta-banner p { color: rgba(255,255,255,0.82); font-size: 1.05rem; max-width: 480px; margin: 0 auto 2.2rem; }

/* ── Footer ── */
.footer { background: #0D0D0D; color: rgba(255,255,255,0.65); padding: 64px 0 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand h3 { font-family: 'Orbitron', sans-serif; font-size: 1rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); margin-bottom: 1rem; }
.footer-brand h3 span { color: var(--gold); letter-spacing: 0.2em; }
.footer-brand p { font-size: 0.9rem; line-height: 1.8; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 0.65rem; }
.social-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  cursor: pointer;
}
.social-icon:hover { background: var(--pink-dark); border-color: var(--pink-dark); color: var(--white); }
.social-icon svg { display: block; width: 18px; height: 18px; }
.footer-col h4 { color: var(--white); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.4rem; font-family: var(--font-body); }
.footer-col li { margin-bottom: 0.65rem; }
.footer-col li a { font-size: 0.88rem; color: rgba(255,255,255,0.55); transition: var(--transition); }
.footer-col li a:hover { color: var(--gold); }
.footer-contact-line { display: flex; gap: 0.5rem; font-size: 0.88rem; color: rgba(255,255,255,0.55); margin-bottom: 0.65rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.83rem;
}
.footer-bottom-links a { color: rgba(255,255,255,0.4); margin-left: 1.2rem; transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--gold); }

/* ── Services Page ── */
.services-category { margin-bottom: 4rem; }
.category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border);
}
.category-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--pink-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.category-header h2 { font-size: 1.9rem; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.75rem;
}
.pricing-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}
.pricing-item:hover { border-color: var(--pink-dark); background: var(--pink-bg); transform: translateX(4px); }
.pricing-name { font-weight: 700; color: var(--dark); font-size: 0.93rem; }
.pricing-desc { font-size: 0.78rem; color: var(--text-light); margin-top: 2px; }
.pricing-price { font-family: var(--font-heading); font-size: 1.35rem; color: var(--pink-dark); font-weight: 700; white-space: nowrap; margin-left: 1rem; }

.services-note {
  background: var(--gold-light);
  border: 1px solid rgba(201,168,76,0.3);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.5rem;
  margin-bottom: 3rem;
  font-size: 0.93rem;
  color: var(--text);
}

/* ── Gallery Page ── */
@keyframes galleryReveal {
  from { opacity: 0; transform: translateY(28px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0)   scale(1);    }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery-item {
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 1;
  opacity: 0;
  animation: galleryReveal 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  box-shadow: 0 2px 12px rgba(15,10,30,0.18);
}

/* Staggered entrance */
.gallery-item:nth-child(1)  { animation-delay: 0.04s; }
.gallery-item:nth-child(2)  { animation-delay: 0.09s; }
.gallery-item:nth-child(3)  { animation-delay: 0.14s; }
.gallery-item:nth-child(4)  { animation-delay: 0.19s; }
.gallery-item:nth-child(5)  { animation-delay: 0.24s; }
.gallery-item:nth-child(6)  { animation-delay: 0.29s; }
.gallery-item:nth-child(7)  { animation-delay: 0.34s; }
.gallery-item:nth-child(8)  { animation-delay: 0.39s; }
.gallery-item:nth-child(9)  { animation-delay: 0.44s; }
.gallery-item:nth-child(10) { animation-delay: 0.49s; }
.gallery-item:nth-child(11) { animation-delay: 0.54s; }
.gallery-item:nth-child(12) { animation-delay: 0.59s; }
.gallery-item:nth-child(13) { animation-delay: 0.64s; }
.gallery-item:nth-child(14) { animation-delay: 0.69s; }
.gallery-item:nth-child(15) { animation-delay: 0.74s; }

.gallery-item.tall { aspect-ratio: unset; grid-row: span 2; }

/* Filter hide/show */
.gallery-item.filtered-out {
  opacity: 0 !important;
  transform: scale(0.94);
  pointer-events: none;
  animation: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.gallery-item.filtered-in {
  animation: galleryReveal 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.gallery-thumb {
  width: 100%; height: 100%;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 2.8rem;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.gallery-item:hover .gallery-thumb {
  transform: scale(1.1);
}

.gallery-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(45,16,4,0.92) 0%, rgba(107,48,16,0.55) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 1.4rem;
  gap: 0.3rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.38s ease, transform 0.38s ease;
  color: var(--white);
}
.gallery-item:hover .gallery-overlay { opacity: 1; transform: translateY(0); }
.gallery-overlay-icon { font-size: 1.5rem; transform: translateY(8px); transition: transform 0.38s ease 0.06s; }
.gallery-item:hover .gallery-overlay-icon { transform: translateY(0); }
.gallery-overlay-text {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  transform: translateY(8px); transition: transform 0.38s ease 0.1s;
}
.gallery-item:hover .gallery-overlay-text { transform: translateY(0); }

/* ── About Page ── */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-img-wrap { position: relative; }
.about-img-main {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  background: var(--pink-light);
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}
.about-badge-float {
  position: absolute;
  bottom: -24px; right: -24px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow);
  text-align: center;
}
.badge-number { font-family: var(--font-heading); font-size: 2.8rem; color: var(--pink-dark); font-weight: 700; line-height: 1; }
.badge-text { font-size: 0.78rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }

.about-text h2 { margin-bottom: 1.5rem; }
.about-text p { color: var(--text-light); line-height: 1.85; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.8rem;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.value-card:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-4px); }
.value-icon { font-size: 2.4rem; margin-bottom: 1rem; }
.value-card h4 { font-family: var(--font-heading); font-size: 1.15rem; margin-bottom: 0.6rem; }
.value-card p { color: var(--text-light); font-size: 0.92rem; margin: 0; line-height: 1.65; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}
.team-card { text-align: center; }
.team-avatar {
  width: 140px; height: 140px;
  border-radius: 50%;
  margin: 0 auto 1.2rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
  border: 4px solid var(--border);
}
.team-card h4 { font-family: var(--font-heading); font-size: 1.2rem; margin-bottom: 0.3rem; }
.team-role { color: var(--gold-dark); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.6rem; }
.team-card p { color: var(--text-light); font-size: 0.9rem; max-width: 240px; margin: 0 auto; }

/* ── Contact Page ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: start;
}
.contact-info-panel {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 2.5rem;
  color: var(--white);
}
.contact-info-panel h3 { color: var(--white); margin-bottom: 2rem; }
.contact-detail { display: flex; gap: 1rem; margin-bottom: 1.8rem; align-items: flex-start; }
.contact-detail-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.13);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.contact-detail h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.contact-detail p, .contact-detail a {
  color: rgba(255,255,255,0.88);
  font-size: 0.93rem;
  line-height: 1.6;
  margin: 0;
}
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table tr td { padding: 3px 0; font-size: 0.88rem; color: rgba(255,255,255,0.8); }
.hours-table tr td:last-child { text-align: right; color: var(--gold); }

.contact-form-panel {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.contact-form-panel h3 { margin-bottom: 1.8rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.3rem; }
.form-group label { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-light); margin-bottom: 0.45rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--pink-dark); box-shadow: 0 0 0 3px rgba(181,36,91,0.1); }
.form-group textarea { resize: vertical; min-height: 110px; }

.map-embed {
  background: var(--pink-light);
  border-radius: var(--radius);
  height: 280px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.8rem;
  margin-top: 2rem;
  border: 1px solid var(--border);
  font-size: 2.8rem;
}
.map-embed p { font-size: 0.9rem; color: var(--text-light); font-weight: 700; margin: 0; }
.map-embed address { font-size: 0.85rem; color: var(--text-light); font-style: normal; text-align: center; }

.success-message {
  display: none;
  background: #E8F5E9;
  border: 1px solid #A5D6A7;
  border-radius: var(--radius-sm);
  padding: 1rem 1.5rem;
  color: #2E7D32;
  font-weight: 700;
  margin-top: 1rem;
}

/* ── Service Accordion Dropdown ── */
.svc-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.svc-link::after {
  content: '+';
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-left: 0.5rem;
}
.svc-link.active::after {
  transform: rotate(45deg);
}

.svc-dropdown {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s ease;
  background: var(--pink-bg);
  border-radius: var(--radius-sm);
  margin-top: 0;
}
.svc-dropdown.open {
  max-height: 400px;
  margin-top: 0.5rem;
}
.svc-dropdown-inner {
  padding: 1rem 1rem 0.9rem;
}
.svc-dd-meta {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}
.svc-dd-desc {
  font-size: 0.84rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 0.85rem;
}
.svc-dd-book {
  display: block;
  text-align: center;
  padding: 10px 20px !important;
  font-size: 0.8rem !important;
  width: 100%;
}

/* ── Testimonials Scrolling Columns ── */
.tsc-wrap {
  display: flex;
  gap: 1.5rem;
  height: 560px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 12%, black 88%, transparent 100%);
}
.tsc-col {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}
.tsc-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  animation: tscScroll linear infinite;
}
@keyframes tscScroll {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}
.tsc-card {
  background: var(--white);
  border-radius: 2px;
  border: 1px solid var(--border);
  padding: 1.8rem;
  box-shadow: 0 4px 20px rgba(139,79,28,0.07);
  flex-shrink: 0;
}
.tsc-stars {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 0.85rem;
}
.tsc-text {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.2rem;
  font-weight: 400;
}
.tsc-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.tsc-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.tsc-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.tsc-role {
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1.3;
  font-weight: 400;
}

/* ── Feature Grid (Services) ── */
.fg-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.8rem;
}
.fg-header-text { max-width: 560px; }
.fg-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--dark);
  line-height: 1.15;
  margin: 0.5rem 0 1rem;
}
.fg-subtitle {
  font-size: 0.97rem;
  color: var(--text-light);
  line-height: 1.75;
  margin: 0;
  font-weight: 400;
}
.fg-illus {
  font-size: 5.5rem;
  opacity: 0.7;
  flex-shrink: 0;
  line-height: 1;
}
.fg-card {
  border-radius: 2px;
  border: 1px solid var(--border);
  background: var(--white);
  padding: 3rem 3.5rem;
  box-shadow: var(--shadow-sm);
}
.fg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.8rem 4rem;
}
.fg-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fg-item.fg-visible {
  opacity: 1;
  transform: translateY(0);
}
.fg-icon {
  display: block;
  width: 28px; height: 28px;
  margin-bottom: 0.65rem;
  color: var(--pink-dark);
}
.fg-icon svg { display: block; width: 28px; height: 28px; }
.fg-cat {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.fg-list { list-style: none; }
.fg-list li {
  font-size: 0.86rem;
  color: var(--text-light);
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(224,206,173,0.5);
  font-weight: 400;
}
.fg-list li:last-child { border-bottom: none; }
.fg-list li a {
  color: var(--text-light);
  transition: color 0.2s ease;
}
.fg-list li a:hover { color: var(--pink-dark); }
.fg-cta {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .about-story { grid-template-columns: 1fr; gap: 3rem; }
  .about-badge-float { position: static; display: inline-block; margin-top: 1rem; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .fg-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 2.5rem; }
  .fg-header { flex-direction: column; align-items: flex-start; }
  .fg-illus { display: none; }
  .fg-card { padding: 2rem; }
}

@media (max-width: 768px) {
  .tsc-wrap { height: 480px; }
  .tsc-col:nth-child(3) { display: none; }
  .hamburger { display: flex; }
  .features-strip { padding: 36px 0; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: rgba(26,8,0,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem;
    gap: 0;
    transition: right 0.4s cubic-bezier(0.77,0,0.175,1);
    box-shadow: -4px 0 40px rgba(0,0,0,0.3);
  }
  .nav-links.open { right: 0; }
  .nav-links a {
    font-size: 1.05rem;
    padding: 0.9rem 0;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    color: var(--white) !important;
  }
  .nav-links a:not(.nav-cta) {
    background-image: none !important;
    background-size: 0% 0% !important;
  }
  .nav-links a::before { display: none !important; }
  .nav-links a::after  { display: none !important; }
  .nav-links a:not(.nav-cta):hover,
  .nav-links a:not(.nav-cta).active { color: var(--gold) !important; }
  .nav-cta {
    margin-top: 1rem;
    display: block;
    text-align: center;
    border-radius: 2px;
    padding: 14px 24px !important;
    border-bottom: none !important;
  }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.tall { aspect-ratio: 1; grid-row: span 1; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .tsc-col:nth-child(2) { display: none; }
  .tsc-wrap { height: 440px; }
  .hero-buttons { flex-direction: column; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links a { margin: 0 0.6rem; }
  .fg-grid { grid-template-columns: 1fr; }
}

/* ── Mobile Booking & Forms ── */
@media (max-width: 768px) {
  /* Prevent iOS auto-zoom on input focus */
  input, select, textarea {
    font-size: 16px !important;
  }

  /* Booking form panel — reduce padding on small screens */
  .booking-form-panel {
    padding: 1.5rem 1.25rem;
    border-radius: var(--radius-sm);
  }

  /* Time slots — bigger touch targets */
  .time-slots { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
  .time-slot {
    padding: 12px 4px;
    font-size: 0.85rem;
    min-height: 48px;
    display: flex; align-items: center; justify-content: center; flex-direction: column;
  }

  /* Confirm button — full width, tall enough to tap comfortably */
  .booking-actions { flex-direction: column; }
  .booking-actions .btn { width: 100%; text-align: center; padding: 16px; font-size: 1rem; }

  /* Page hero text sizing */
  .page-hero-content h1 { font-size: clamp(1.8rem, 8vw, 2.8rem); }
  .page-hero { padding: 100px 1.25rem 60px; }

  /* Section padding */
  .section { padding: 44px 0; }
  .container { padding: 0 1.1rem; }

  /* Booking summary */
  .booking-summary { padding: 1rem; }
  .summary-row { font-size: 0.82rem; }

  /* Course cards */
  .course-grid { grid-template-columns: 1fr; }
  .course-card { margin-bottom: 0; }

  /* Stat cards on dashboard */
  .stats-row { grid-template-columns: repeat(2, 1fr); }

  /* Modal boxes */
  .modal-box { margin: 1rem; width: calc(100% - 2rem); max-height: 90vh; overflow-y: auto; }

  /* BP Hero on courses */
  .bp-title { font-size: clamp(2.2rem, 10vw, 3.5rem); }
  .bp-content { padding: 1.5rem 1rem; }
  .bp-sub { font-size: 0.95rem; }
}

@media (max-width: 480px) {
  .booking-form-panel { padding: 1.25rem 1rem; }
  .time-slots { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-card { padding: 1.25rem 0.75rem; }
  .stat-value { font-size: 1.8rem; }

  /* Make nav-cta Book Now button pop on mobile */
  .nav-links .nav-cta {
    font-size: 1rem;
    padding: 16px 24px !important;
  }
}

/* ── Filter Tabs ── */
.filter-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.filter-tab {
  padding: 9px 22px; border-radius: 2px; border: 2px solid var(--border);
  background: none; font-size: 0.82rem; font-weight: 700; cursor: pointer;
  transition: var(--transition); color: var(--text-light); letter-spacing: 0.04em;
  font-family: var(--font-body);
}
.filter-tab:hover { border-color: var(--pink-dark); color: var(--pink-dark); }
.filter-tab.active { background: var(--pink-dark); border-color: var(--pink-dark); color: white; }

/* ── Booking Page ── */
.booking-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items: start; }
.booking-form-panel { background: white; border-radius: var(--radius); padding: 2.5rem; box-shadow: var(--shadow); border: 1px solid var(--border); }
.booking-step { display: flex; gap: 1rem; margin-bottom: 1.8rem; }
.booking-step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--pink-dark);
  color: white; display: flex; align-items: center; justify-content: center;
  font-weight: 700; flex-shrink: 0; font-size: 1rem;
}
.booking-step-text h4 { font-size: 1rem; margin-bottom: 0.2rem; font-family: var(--font-body); }
.booking-step-text p { font-size: 0.87rem; color: var(--text-light); margin: 0; }
.booking-policy {
  background: var(--gold-light); border: 1px solid rgba(201,168,76,0.3);
  border-left: 4px solid var(--gold); border-radius: var(--radius-sm);
  padding: 1.2rem 1.5rem; margin-top: 2rem;
}
.booking-policy h4 { font-size: 0.88rem; color: var(--gold-dark); margin-bottom: 0.5rem; font-family: var(--font-body); font-weight: 700; }
.booking-policy ul { padding-left: 1.2rem; list-style: disc; }
.booking-policy ul li { font-size: 0.83rem; color: var(--text-light); margin-bottom: 0.35rem; }
.time-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.time-slot {
  padding: 8px 4px; border: 2px solid var(--border); border-radius: var(--radius-sm);
  text-align: center; font-size: 0.8rem; font-weight: 700; cursor: pointer;
  transition: var(--transition); background: none; color: var(--text); font-family: var(--font-body);
}
.time-slot:hover { border-color: var(--pink-dark); color: var(--pink-dark); }
.time-slot.selected { background: var(--pink-dark); border-color: var(--pink-dark); color: white; }
.booking-summary {
  background: var(--pink-bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 1.4rem; margin-bottom: 1.5rem; display: none;
}
.booking-summary h4 { margin-bottom: 0.75rem; font-size: 1rem; }
.summary-row { display: flex; justify-content: space-between; font-size: 0.88rem; margin-bottom: 0.4rem; }
.summary-row span:first-child { color: var(--text-light); }
.summary-row span:last-child { font-weight: 700; }
.booking-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
@media (max-width: 900px) { .booking-layout { grid-template-columns: 1fr; } }

/* ── Products / Shop ── */
.shop-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
.cart-btn {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 10px 20px; border-radius: 2px;
  border: 2px solid var(--border); background: white;
  font-weight: 700; font-size: 0.88rem; cursor: pointer;
  transition: var(--transition); font-family: var(--font-body); color: var(--text);
  position: relative;
}
.cart-btn:hover { border-color: var(--pink-dark); color: var(--pink-dark); }
.cart-count {
  position: absolute; top: -6px; right: -6px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--pink-dark); color: white;
  font-size: 0.7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 1.8rem; }
.product-card { background: white; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: var(--transition); }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-img {
  height: 220px; display: flex; align-items: center; justify-content: center;
  font-size: 4rem; background: var(--pink-light);
  position: relative;
}
.product-badge {
  position: absolute; top: 12px; right: 12px;
  background: var(--pink-dark); color: white;
  font-size: 0.72rem; font-weight: 700; padding: 4px 12px;
  border-radius: 2px; letter-spacing: 0.06em; text-transform: uppercase;
}
.product-body { padding: 1.3rem; }
.product-body h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.product-body p { color: var(--text-light); font-size: 0.86rem; margin: 0; }
.product-footer { padding: 1rem 1.3rem; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.product-price { font-family: var(--font-heading); font-size: 1.35rem; color: var(--pink-dark); font-weight: 700; }
.btn-add-cart {
  padding: 9px 18px; border-radius: 2px;
  background: var(--pink-dark);
  color: white; border: none; font-size: 0.8rem; font-weight: 700;
  cursor: pointer; transition: var(--transition); letter-spacing: 0.05em;
  font-family: var(--font-body);
}
.btn-add-cart:hover { transform: scale(1.05); box-shadow: 0 4px 12px rgba(139,79,28,0.35); }

/* Cart Sidebar */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1999; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-sidebar {
  position: fixed; top: 0; right: -420px; width: 400px; max-width: 100vw;
  height: 100vh; background: white; z-index: 2000; display: flex; flex-direction: column;
  box-shadow: -4px 0 40px rgba(0,0,0,0.15);
  transition: right 0.4s cubic-bezier(0.77,0,0.175,1);
}
.cart-sidebar.open { right: 0; }
.cart-head { padding: 1.5rem; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.cart-head h3 { font-size: 1.2rem; }
.cart-close-btn { background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--text-light); }
.cart-items { flex: 1; overflow-y: auto; padding: 1.5rem; }
.cart-item { display: flex; gap: 1rem; margin-bottom: 1.2rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--border); }
.cart-item:last-child { border-bottom: none; }
.cart-item-emoji { width: 56px; height: 56px; border-radius: 2px; background: var(--pink-light); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; flex-shrink: 0; }
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 700; font-size: 0.9rem; margin-bottom: 3px; }
.cart-item-price { color: var(--pink-dark); font-weight: 700; font-size: 0.88rem; }
.cart-item-qty { display: flex; align-items: center; gap: 0.4rem; margin-top: 0.4rem; }
.qty-btn { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--border); background: none; cursor: pointer; font-weight: 700; font-size: 0.9rem; transition: var(--transition); }
.qty-btn:hover { background: var(--pink-dark); color: white; border-color: var(--pink-dark); }
.qty-num { font-weight: 700; font-size: 0.9rem; min-width: 20px; text-align: center; }
.cart-remove { background: none; border: none; color: var(--text-light); cursor: pointer; font-size: 0.8rem; margin-left: auto; align-self: flex-start; }
.cart-foot { padding: 1.5rem; border-top: 1px solid var(--border); }
.cart-total-line { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.1rem; margin-bottom: 1rem; }
.cart-empty-msg { text-align: center; padding: 3rem 1rem; color: var(--text-light); font-size: 0.95rem; }
.cart-empty-icon { font-size: 3rem; margin-bottom: 0.75rem; }

/* ── Courses Page ── */
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; }

.course-card {
  background: white;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.42s cubic-bezier(0.34, 1.2, 0.64, 1), box-shadow 0.42s ease, border-color 0.3s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.course-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.33, 1, 0.68, 1);
  z-index: 2;
}
.course-card:hover::before { transform: scaleX(1); }
.course-card:hover {
  border-color: var(--pink-dark);
}

.course-img {
  height: 220px;
  background: var(--dark);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.4rem 1.5rem;
  flex-shrink: 0;
}
.course-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.35) 100%);
  pointer-events: none;
}
.course-img--beginner  { background: linear-gradient(135deg, #8B6520 0%, #C9A84C 55%, #9A7A28 100%); }
.course-img--intermediate { background: linear-gradient(135deg, #5C2D0F 0%, #9B5828 55%, #7A3D18 100%); }
.course-img--advanced  { background: linear-gradient(135deg, #100700 0%, #3D1F0A 50%, #6B3010 100%); }

.crd-num {
  position: absolute;
  right: -0.04em;
  bottom: -0.1em;
  font-family: 'Orbitron', sans-serif;
  font-size: 8rem;
  font-weight: 900;
  color: rgba(255,255,255,0.07);
  line-height: 1;
  pointer-events: none;
  letter-spacing: -0.04em;
  user-select: none;
  z-index: 0;
}
.course-img--beginner .crd-num { color: rgba(0,0,0,0.1); }
.crd-icon {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 0.35s cubic-bezier(0.34,1.4,0.64,1), background 0.3s;
}
.course-card:hover .crd-icon {
  transform: scale(1.1);
  background: rgba(255,255,255,0.18);
}
.crd-icon svg {
  width: 36px;
  height: 36px;
  color: rgba(255,255,255,0.9);
  stroke: rgba(255,255,255,0.9);
}
.course-img--beginner .crd-icon { background: rgba(0,0,0,0.12); border-color: rgba(0,0,0,0.18); }
.course-img--beginner .crd-icon svg { color: rgba(0,0,0,0.7); stroke: rgba(0,0,0,0.7); }

.course-level-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 14px;
  border-radius: 2px;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.level-beginner  { background: rgba(255,255,255,0.92); color: #7A5A10; }
.level-intermediate { background: rgba(255,255,255,0.92); color: #6B3010; }
.level-advanced  { background: rgba(255,255,255,0.92); color: #3D1F0A; }

.course-body { padding: 1.6rem 1.5rem 0.8rem; flex: 1; }
.course-body h3 { font-size: 1.25rem; margin-bottom: 0.5rem; line-height: 1.2; color: var(--dark); }
.course-body > p { color: var(--text-light); font-size: 0.87rem; margin-bottom: 0; line-height: 1.75; }

.course-meta {
  display: flex;
  flex-wrap: wrap;
  margin: 1rem 0;
  padding: 0.75rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  row-gap: 0.35rem;
}
.course-meta-tag {
  display: flex;
  align-items: center;
  gap: 0.32rem;
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 600;
  padding-right: 1rem;
  margin-right: 1rem;
  border-right: 1px solid var(--border);
}
.course-meta-tag:last-child { border-right: none; padding-right: 0; margin-right: 0; }
.course-meta-tag svg { width: 13px; height: 13px; color: var(--gold); flex-shrink: 0; }

.course-includes { margin-bottom: 0.25rem; }
.course-includes h5 {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-dark);
  margin-bottom: 0.55rem;
  font-family: var(--font-body);
  font-weight: 700;
}
.course-includes li { font-size: 0.84rem; color: var(--text); padding: 0.3rem 0 0.3rem 1.5rem; position: relative; line-height: 1.45; }
.course-includes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.52rem;
  width: 14px; height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 6L9 17l-5-5' stroke='%23C9A84C' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

.course-foot {
  padding: 1.2rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: var(--pink-bg);
  flex-shrink: 0;
}
.course-price-block small { display: block; font-size: 0.7rem; color: var(--text-light); margin-bottom: 2px; letter-spacing: 0.06em; text-transform: uppercase; }
.course-price-block .price { font-size: 1.45rem; }
.crd-btn { padding: 10px 22px !important; font-size: 0.8rem !important; }

/* Trainer banner */
.trainer-banner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 4rem;
  align-items: center;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.trainer-banner-img {
  height: 480px;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}
.trainer-banner-text {
  padding: 3rem 3rem 3rem 0;
}
.trainer-banner-text h2 { margin-bottom: 0; }
.trainer-banner-text p { color: var(--text-light); line-height: 1.8; font-size: 0.97rem; }
.trainer-banner-text em { color: var(--pink-dark); font-style: normal; font-weight: 700; }

@media (max-width: 900px) {
  .trainer-banner { grid-template-columns: 1fr; }
  .trainer-banner-img { height: 320px; }
  .trainer-banner-text { padding: 2rem; }
}

/* Why grid */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }

.why-card {
  text-align: center;
  padding: 2.4rem 1.5rem 2rem;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform 0.42s cubic-bezier(0.34, 1.2, 0.64, 1), box-shadow 0.42s ease, border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.why-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.45s cubic-bezier(0.33, 1, 0.68, 1);
}
.why-card:hover::after { transform: scaleX(1); }
.why-card:hover {
  border-color: var(--gold);
}

.why-icon-wrap {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--pink-light);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.3rem;
  color: var(--pink-dark);
  transition: transform 0.38s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.why-card:hover .why-icon-wrap { transform: scale(1.1) rotate(-5deg); }
.why-icon-wrap svg { width: 28px; height: 28px; }
.why-card h4 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.why-card p { font-size: 0.85rem; color: var(--text-light); margin: 0; line-height: 1.7; }

/* Scroll reveal */
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}
.reveal-up.is-visible { opacity: 1; transform: translateY(0); }
.course-grid .reveal-up:nth-child(2),
.why-grid .reveal-up:nth-child(2) { transition-delay: 0.09s; }
.course-grid .reveal-up:nth-child(3),
.why-grid .reveal-up:nth-child(3) { transition-delay: 0.18s; }
.course-grid .reveal-up:nth-child(4),
.why-grid .reveal-up:nth-child(4) { transition-delay: 0.09s; }
.course-grid .reveal-up:nth-child(5),
.why-grid .reveal-up:nth-child(5) { transition-delay: 0.18s; }
.course-grid .reveal-up:nth-child(6),
.why-grid .reveal-up:nth-child(6) { transition-delay: 0.27s; }

/* ── Admin Dashboard ── */
.admin-page { background: #F4F6F9; min-height: 100vh; }
.admin-topbar {
  background: var(--dark);
  padding: 0 2rem; height: 64px; display: flex; align-items: center;
  justify-content: space-between; position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.admin-topbar-logo { font-family: 'Orbitron', sans-serif; color: white; font-size: 0.9rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.admin-topbar-logo span { color: var(--gold); letter-spacing: 0.2em; }
.admin-topbar-right { display: flex; align-items: center; gap: 1rem; color: rgba(255,255,255,0.8); font-size: 0.85rem; }
.admin-logout { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); color: white; padding: 6px 14px; border-radius: 6px; cursor: pointer; font-size: 0.8rem; font-family: var(--font-body); transition: var(--transition); }
.admin-logout:hover { background: rgba(255,255,255,0.2); }

.admin-layout { display: flex; min-height: calc(100vh - 64px); }
.admin-sidebar-nav { width: 230px; background: white; border-right: 1px solid #E5E7EB; padding: 1.5rem 0; flex-shrink: 0; }
.admin-nav-group { margin-bottom: 0.25rem; }
.admin-nav-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: #9CA3AF; padding: 0.75rem 1.5rem 0.25rem; }
.admin-nav-btn {
  display: flex; align-items: center; gap: 0.75rem;
  width: 100%; padding: 0.75rem 1.5rem; background: none;
  border: none; border-left: 3px solid transparent;
  color: #4B5563; font-size: 0.88rem; font-weight: 700;
  cursor: pointer; transition: var(--transition); text-align: left;
  font-family: var(--font-body);
}
.admin-nav-btn:hover { color: var(--pink-dark); background: var(--pink-bg); }
.admin-nav-btn.active { color: var(--pink-dark); background: var(--pink-bg); border-left-color: var(--pink-dark); }
.admin-nav-icon { font-size: 1rem; }

.admin-main { flex: 1; padding: 2rem; overflow-y: auto; }
.admin-panel { display: none; }
.admin-panel.active { display: block; }
.admin-panel-title { font-size: 1.5rem; margin-bottom: 1.5rem; color: var(--dark); }

.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.stat-card { background: white; border-radius: 2px; padding: 1.4rem 1.5rem; border: 1px solid #E5E7EB; }
.stat-card-highlight { background: var(--pink-dark); border-color: transparent; }
.stat-card-highlight .stat-value { color: white; }
.stat-card-highlight .stat-name { color: rgba(255,255,255,0.75); }
.stat-emoji { font-size: 1.6rem; margin-bottom: 0.6rem; }
.stat-value { font-family: var(--font-heading); font-size: 2rem; color: var(--pink-dark); line-height: 1; margin-bottom: 0.2rem; }
.stat-name { font-size: 0.78rem; color: #6B7280; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }

.admin-card { background: white; border-radius: 2px; border: 1px solid #E5E7EB; overflow: hidden; margin-bottom: 1.5rem; }
.admin-card-head { padding: 1.1rem 1.5rem; border-bottom: 1px solid #E5E7EB; display: flex; justify-content: space-between; align-items: center; }
.admin-card-head h3 { font-size: 0.95rem; font-weight: 700; font-family: var(--font-body); margin: 0; color: var(--dark); }
.admin-card-body { overflow-x: auto; }

.data-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.data-table th { padding: 0.7rem 1rem; background: #F9FAFB; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #6B7280; border-bottom: 1px solid #E5E7EB; text-align: left; white-space: nowrap; }
.data-table td { padding: 0.85rem 1rem; border-bottom: 1px solid #F3F4F6; color: var(--text); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: #FAFAFA; }
.tbl-actions { display: flex; gap: 0.4rem; }
.tbl-btn { padding: 4px 10px; border-radius: 6px; border: none; cursor: pointer; font-size: 0.78rem; font-weight: 700; font-family: var(--font-body); transition: var(--transition); }
.tbl-edit { background: var(--gold-light); color: var(--gold-dark); }
.tbl-edit:hover { background: #ECD88A; }
.tbl-delete { background: #FEE2E2; color: #DC2626; }
.tbl-delete:hover { background: #FECACA; }

.admin-tag { display: inline-block; padding: 2px 10px; border-radius: 20px; font-size: 0.72rem; font-weight: 700; background: var(--pink-bg); color: var(--pink-dark); white-space: nowrap; }
.admin-toolbar { display: flex; gap: 0.75rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.admin-search-input { flex: 1; min-width: 180px; padding: 9px 14px; border: 2px solid #E5E7EB; border-radius: 8px; font-size: 0.87rem; font-family: var(--font-body); outline: none; transition: var(--transition); }
.admin-search-input:focus { border-color: var(--pink-dark); }
.btn-admin { padding: 9px 18px; border-radius: 8px; border: none; font-size: 0.85rem; font-weight: 700; cursor: pointer; transition: var(--transition); font-family: var(--font-body); }
.btn-admin-pink { background: var(--pink-dark); color: white; }
.btn-admin-pink:hover { opacity: 0.88; }
.btn-admin-ghost { background: #F3F4F6; color: #374151; }
.btn-admin-ghost:hover { background: #E5E7EB; }

/* Status badges */
.badge { padding: 3px 10px; border-radius: 2px; font-size: 0.73rem; font-weight: 700; white-space: nowrap; }
.badge-confirmed { background: #DCFCE7; color: #15803D; }
.badge-pending { background: #FEF9C3; color: #B45309; }
.badge-cancelled { background: #FEE2E2; color: #B91C1C; }
.badge-completed { background: #EDE9FE; color: #6D28D9; }
.badge-low { background: #FEE2E2; color: #DC2626; }
.badge-ok { background: #DCFCE7; color: #16A34A; }

/* Modal */
.modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 1rem; opacity: 0; pointer-events: none; transition: opacity 0.25s; }
.modal-backdrop.open { opacity: 1; pointer-events: all; }
.modal-box { background: white; border-radius: 2px; padding: 2rem; max-width: 460px; width: 100%; max-height: 90vh; overflow-y: auto; }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.modal-head h3 { font-size: 1.25rem; margin: 0; }
.modal-x { background: none; border: none; font-size: 1.4rem; cursor: pointer; color: #9CA3AF; transition: var(--transition); }
.modal-x:hover { color: var(--dark); }
.mfg { margin-bottom: 1.1rem; }
.mfg label { display: block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #6B7280; margin-bottom: 0.4rem; }
.mfg input, .mfg select, .mfg textarea { width: 100%; padding: 10px 13px; border: 2px solid #E5E7EB; border-radius: 8px; font-size: 0.9rem; font-family: var(--font-body); outline: none; transition: var(--transition); background: white; color: var(--dark); }
.mfg input:focus, .mfg select:focus, .mfg textarea:focus { border-color: var(--pink-dark); }
.mfg textarea { resize: vertical; min-height: 80px; }
.modal-foot { display: flex; gap: 0.75rem; justify-content: flex-end; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid #E5E7EB; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }

/* Login screen */
.login-overlay { position: fixed; inset: 0; background: var(--dark); display: flex; align-items: center; justify-content: center; z-index: 9999; }
.login-box { background: white; border-radius: 2px; padding: 3rem 2.5rem; max-width: 380px; width: 100%; text-align: center; }
.login-logo { font-family: 'Orbitron', sans-serif; font-size: 1.1rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.5rem; }
.login-logo span { color: var(--gold); letter-spacing: 0.2em; }
.login-box p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 2rem; }
.login-err { color: #DC2626; font-size: 0.85rem; margin-top: 0.5rem; display: none; }

/* No data state */
.no-data { text-align: center; padding: 3rem 1rem; color: #9CA3AF; }

/* ── Analytics Panel ── */
.an-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem; }
.an-period { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.an-period-btn { background: white; border: 1px solid #E5E7EB; padding: 0.38rem 0.9rem; border-radius: 2px; font-size: 0.78rem; font-weight: 600; cursor: pointer; color: #6B7280; transition: all 0.2s; font-family: var(--font-body); }
.an-period-btn:hover { border-color: var(--pink-dark); color: var(--pink-dark); }
.an-period-btn.active { background: var(--pink-dark); border-color: var(--pink-dark); color: white; }
.an-kpi-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.an-kpi-card { background: white; border-radius: 2px; border: 1px solid #E5E7EB; padding: 1.25rem 1.4rem; }
.an-kpi-label { font-size: 0.72rem; color: #9CA3AF; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; margin-bottom: 0.45rem; }
.an-kpi-val { font-family: var(--font-heading); font-size: 1.85rem; color: var(--dark); line-height: 1; margin-bottom: 0.3rem; }
.an-kpi-delta { font-size: 0.78rem; font-weight: 600; min-height: 1.1em; }
.an-up   { color: #16A34A; }
.an-down { color: #DC2626; }
.an-charts-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.an-empty { text-align: center; padding: 2rem 1rem; color: #9CA3AF; font-size: 0.88rem; }
@media (max-width: 960px) { .an-charts-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .an-charts-row { grid-template-columns: 1fr; } .an-kpi-val { font-size: 1.5rem; } }
.no-data-icon { font-size: 3rem; margin-bottom: 0.75rem; }
.no-data p { margin: 0; font-size: 0.9rem; }

/* ── Admin Mobile ── */
.admin-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: white;
  border-top: 1px solid #E5E7EB;
  z-index: 300;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.admin-bottom-nav::-webkit-scrollbar { display: none; }

.admin-bottom-btn {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 68px;
  height: 60px;
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 700;
  color: #9CA3AF;
  border-top: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0 8px;
}
.admin-bottom-btn svg { width: 20px; height: 20px; }
.admin-bottom-btn.active { color: var(--pink-dark); border-top-color: var(--pink-dark); }

@media (max-width: 768px) {
  /* Show bottom nav, hide sidebar */
  .admin-bottom-nav { display: flex; }
  .admin-sidebar-nav { display: none; }

  /* Topbar — hide username to save space */
  .admin-topbar { padding: 0 1rem; }
  .admin-topbar-right > span:first-child { display: none; }

  /* Main content — tighter padding, clear bottom nav */
  .admin-main { padding: 1rem; padding-bottom: 76px; }

  /* Stats — 2 columns on mobile */
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .stat-card { padding: 1rem 0.9rem; }
  .stat-value { font-size: 1.6rem; }

  /* Cards */
  .admin-card { border-radius: 2px; }
  .admin-card-head { padding: 0.9rem 1rem; }

  /* Dashboard 2-col grid → 1-col */
  .admin-panel > div[style*="grid-template-columns:1fr 1fr"],
  .admin-panel > div[style*="grid-template-columns: 1fr 1fr"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
  }

  /* Tables — horizontal scroll, reduced density */
  .admin-card-body { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .data-table { font-size: 0.78rem; min-width: 480px; }
  .data-table th { padding: 0.55rem 0.7rem; font-size: 0.68rem; }
  .data-table td { padding: 0.7rem 0.7rem; }

  /* Bookings: hide Phone + Cancel Reason on mobile */
  #panel-bookings .data-table th:nth-child(2),
  #panel-bookings .data-table td:nth-child(2),
  #panel-bookings .data-table th:nth-child(8),
  #panel-bookings .data-table td:nth-child(8) { display: none; }

  /* Clients: hide Email, DOB, Total Visits, Notes */
  #panel-clients .data-table th:nth-child(3),
  #panel-clients .data-table td:nth-child(3),
  #panel-clients .data-table th:nth-child(4),
  #panel-clients .data-table td:nth-child(4),
  #panel-clients .data-table th:nth-child(6),
  #panel-clients .data-table td:nth-child(6),
  #panel-clients .data-table th:nth-child(8),
  #panel-clients .data-table td:nth-child(8) { display: none; }

  /* Inventory: hide Min Qty + Notes */
  #panel-inventory .data-table th:nth-child(5),
  #panel-inventory .data-table td:nth-child(5),
  #panel-inventory .data-table th:nth-child(7),
  #panel-inventory .data-table td:nth-child(7) { display: none; }

  /* Calendar — smaller cells */
  .cal-header { gap: 0.5rem; margin-bottom: 1rem; }
  .cal-title { font-size: 0.95rem; min-width: 140px; text-align: center; }
  .cal-nav-btn { padding: 6px 10px; font-size: 0.9rem; }
  .cal-grid { gap: 2px; }
  .cal-cell { min-height: 52px; padding: 4px 3px; }
  .cal-day-header { font-size: 0.58rem; padding: 4px 0; }
  .cal-day-num { font-size: 0.72rem; }
  .cal-booking-chip { font-size: 0.55rem; padding: 1px 3px; }

  /* Analytics KPI row */
  .an-kpi-row { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .an-kpi-val { font-size: 1.5rem; }
  .an-topbar { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .an-period { flex-wrap: wrap; }

  /* Specials */
  .sp-grid { grid-template-columns: 1fr; }
  .sp-summary { grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
  .sp-stat-val { font-size: 1.4rem; }

  /* Modals → bottom sheets on mobile */
  .modal-backdrop {
    align-items: flex-end;
    padding: 0;
  }
  .modal-box {
    border-radius: 2px 20px 0 0;
    max-width: 100%;
    width: 100%;
    max-height: 88vh;
    overflow-y: auto;
    margin: 0;
    animation: sheetUp 0.32s cubic-bezier(0.33, 1, 0.68, 1) both;
  }
  @keyframes sheetUp {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
  }

  /* Toolbar */
  .admin-toolbar { flex-direction: column; }
  .admin-search-input { width: 100%; }

  /* Form rows in modals */
  .booking-layout { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .time-slots { grid-template-columns: repeat(2, 1fr); }
  .sp-colour-row { gap: 0.5rem; }
}

/* ── BackgroundPaths Hero (Courses Page) ── */
.bp-hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  justify-content: center; overflow: hidden;
  background: #FAF3E8;
}
.bp-svg-layer {
  position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
}
.bp-path {
  fill: none;
  stroke-dasharray: 3000;
  stroke-dashoffset: 3000;
  animation: bpPathDraw 8s linear infinite;
}
@keyframes bpPathDraw {
  0%   { stroke-dashoffset: 3000; }
  50%  { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -3000; }
}
.bp-content {
  position: relative; z-index: 10; text-align: center;
  padding: 2rem 1.5rem; max-width: 700px;
}
.bp-label {
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: #9B5828; font-weight: 700; margin-bottom: 1.2rem;
  font-family: var(--font-body);
}
.bp-title {
  font-family: var(--font-body); font-size: clamp(2.6rem, 7vw, 4.8rem);
  font-weight: 800; line-height: 1.08; margin-bottom: 1.8rem;
  letter-spacing: -0.03em; color: var(--dark);
}
.bp-letter {
  display: inline-block;
  color: var(--pink-dark);
  opacity: 0;
  animation: bpLetterRise 0.5s ease-out forwards;
  animation-delay: var(--d, 0s);
}
.bp-title-line { display: block; }
@keyframes bpLetterRise {
  from { transform: translateY(24px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.bp-sub {
  font-size: 1.05rem; color: #6B3010; opacity: 0.75; margin-bottom: 2.5rem;
  max-width: 480px; margin-left: auto; margin-right: auto; line-height: 1.6;
}
.bp-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2.2rem; border-radius: 2px;
  background: var(--pink-dark);
  border: 1px solid var(--pink-dark);
  color: white; font-weight: 700; font-size: 0.95rem;
  text-decoration: none; transition: background 0.2s ease, border-color 0.2s ease;
}
.bp-btn:hover {
  background: var(--dark);
  border-color: var(--dark);
}
.bp-scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  color: #9B5828; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  opacity: 0.6;
}
.bp-scroll-arrow {
  width: 18px; height: 18px; border-right: 2px solid #9B5828; border-bottom: 2px solid #9B5828;
  transform: rotate(45deg);
  animation: bpScrollBounce 1.5s ease-in-out infinite;
}
@keyframes bpScrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%       { transform: rotate(45deg) translateY(5px); }
}

/* ── Taken / Request Time Slot ── */
.time-slot.taken-request {
  background: #FEF3C7; border-color: #D97706; color: #92400E;
}
.time-slot.taken-request::after { content: 'Request'; display: block; font-size: 0.62rem; font-weight: 600; margin-top: 1px; }
.time-slot.taken-request:hover { background: #FDE68A; border-color: #B45309; }
.time-slot.taken-request.selected { background: #D97706; border-color: #D97706; color: white; }

/* ── Closed day message ── */
.slot-closed-msg {
  padding: 0.85rem 1rem; background: #FEE2E2;
  border: 1px solid #FCA5A5; border-radius: var(--radius-sm);
  color: #991B1B; font-size: 0.88rem; font-weight: 600;
  grid-column: 1 / -1;
}

/* ── Request notice ── */
.request-notice {
  display: none; padding: 0.75rem 1rem;
  background: #FFFBEB; border: 1px solid #D97706;
  border-radius: var(--radius-sm); font-size: 0.84rem;
  color: #92400E; margin-top: 0.5rem;
  grid-column: 1 / -1;
}

/* ── Booking Success ── */
.booking-success {
  display: none; text-align: center;
  background: #FFF8F0;
  border: 1px solid var(--gold); border-radius: var(--radius);
  padding: 3rem 2rem;
}
.booking-success-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.booking-success h3 { color: var(--pink-dark); margin-bottom: 0.75rem; font-size: 1.5rem; }
.booking-success p { color: var(--text-light); margin-bottom: 0.4rem; }
.booking-success .bs-detail { font-weight: 700; color: var(--text); font-size: 0.92rem; }

/* ── Blocked client row ── */
tr.client-blocked td { background: #FFF1F1; }
.badge-blocked { background: #FEE2E2; color: #991B1B; padding: 3px 8px; border-radius: 2px; font-size: 0.74rem; font-weight: 700; }
.badge-active  { background: #DCFCE7; color: #166534; padding: 3px 8px; border-radius: 2px; font-size: 0.74rem; font-weight: 700; }
.tbl-btn.tbl-block   { background: #FEE2E2; color: #991B1B; border: 1px solid #FCA5A5; }
.tbl-btn.tbl-block:hover { background: #FECACA; }
.tbl-btn.tbl-unblock { background: #DCFCE7; color: #166534; border: 1px solid #86EFAC; }
.tbl-btn.tbl-unblock:hover { background: #BBF7D0; }

/* ── Admin Calendar ── */
.cal-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.cal-nav-btn {
  background: none; border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 7px 16px;
  cursor: pointer; font-size: 1rem; font-family: var(--font-body);
  transition: var(--transition);
}
.cal-nav-btn:hover { background: var(--pink-bg); border-color: var(--pink); }
.cal-title { font-size: 1.2rem; font-weight: 700; color: var(--pink-dark); min-width: 210px; text-align: center; }
.cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 3px; margin-bottom: 1.5rem;
}
.cal-day-header {
  text-align: center; font-size: 0.72rem; font-weight: 700;
  color: var(--text-light); padding: 6px 0;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.cal-cell {
  min-height: 76px; padding: 6px; border: 1px solid var(--border);
  border-radius: 6px; cursor: pointer; background: white;
  transition: background 0.15s;
}
.cal-cell:hover { background: var(--pink-bg); border-color: var(--pink-light); }
.cal-cell.cal-empty { background: none; border-color: transparent; cursor: default; }
.cal-cell.cal-today { border-color: var(--pink-dark); background: rgba(107,48,16,0.04); }
.cal-cell.cal-today .cal-day-num { color: var(--pink-dark); font-weight: 900; }
.cal-cell.cal-has-bookings { background: #FFF8F0; }
.cal-day-num { font-size: 0.8rem; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.cal-booking-chip {
  font-size: 0.67rem; padding: 2px 5px; border-radius: 4px;
  margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cal-chip-pending { background: #FEF3C7; color: #92400E; }
.cal-chip-confirmed { background: #DCFCE7; color: #166534; }
.cal-chip-completed { background: #E0E7FF; color: #3730A3; }
.cal-chip-cancelled { background: #FEE2E2; color: #991B1B; text-decoration: line-through; }
.cal-more { font-size: 0.67rem; color: var(--text-light); font-style: italic; }
.cal-detail {
  background: var(--pink-bg); border-radius: var(--radius);
  padding: 1.5rem; min-height: 100px;
}
.cal-detail-empty { text-align: center; color: var(--text-light); padding: 2rem 0; }
.cal-booking-detail {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 0.85rem; background: white; border-radius: var(--radius-sm);
  margin-bottom: 0.6rem; border: 1px solid var(--border);
}
.cal-detail-time { font-size: 0.85rem; font-weight: 800; color: var(--pink-dark); min-width: 74px; }
.cal-detail-info { flex: 1; font-size: 0.84rem; }
.cal-detail-info strong { display: block; margin-bottom: 2px; color: var(--text); }
.cal-detail-info .cal-sub { color: var(--text-light); font-size: 0.8rem; }

/* ── Course Bar List ── */
.mgt-wrap { margin-bottom: 5rem; }

.mgt-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.mgt-heading { margin: 0.3rem 0 0; line-height: 1.1; }
.mgt-tagline { display: none; }

/* Break out of container — bars go full viewport width */
.mgt-list {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
}

.mgt-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.4rem 5vw;
  background: #2D1408;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  text-decoration: none;
  color: white;
  cursor: default;
  transition: none;
}

.mgt-row-num {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.12em;
  min-width: 22px;
  flex-shrink: 0;
}

.mgt-row-name {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 700;
  color: white;
  flex: 1;
  letter-spacing: 0.01em;
  transition: none;
}

.mgt-row-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.06em;
  background: none;
  border: none;
  padding: 0;
  white-space: nowrap;
  flex-shrink: 0;
}

.mgt-row-price {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
  min-width: auto;
  text-align: right;
}

/* Hide the old magnetic circle */
.mgt-circle { display: none; }

@media (max-width: 600px) {
  .mgt-row { gap: 1rem; padding: 1.2rem 1.2rem; }
  .mgt-row-tag { display: none; }
  .mgt-intro { align-items: flex-start; flex-direction: column; }
}

/* ── Specials & Discounts Admin ── */
.sp-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.sp-panel-head .admin-panel-title { margin: 0; }

.sp-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.sp-stat { background: white; border: 1px solid #E5E7EB; border-radius: 2px; padding: 1rem 1.3rem; }
.sp-stat-val { font-family: var(--font-heading); font-size: 1.7rem; color: var(--pink-dark); line-height: 1; }
.sp-stat-label { font-size: 0.7rem; color: #9CA3AF; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; margin-top: 4px; }

.sp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.25rem;
}

.sp-card {
  background: white;
  border-radius: 2px;
  border: 1px solid #E5E7EB;
  overflow: hidden;
  transition: box-shadow 0.25s, opacity 0.25s;
  display: flex;
  flex-direction: column;
}
.sp-card:hover { border-color: var(--pink-dark); }
.sp-card.sp-inactive { opacity: 0.55; }

.sp-card-banner {
  padding: 1.3rem 1.4rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.sp-banner-gold   { background: var(--gold-dark); }
.sp-banner-pink   { background: var(--pink-dark); }
.sp-banner-green  { background: #16A34A; }
.sp-banner-purple { background: #7C3AED; }

.sp-discount-label {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
  color: white;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.sp-applies-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* Toggle switch */
.sp-toggle-wrap { cursor: pointer; flex-shrink: 0; margin-top: 2px; }
.sp-toggle-input { display: none; }
.sp-toggle-track {
  display: block;
  width: 40px; height: 22px;
  background: rgba(255,255,255,0.25);
  border-radius: 11px;
  position: relative;
  transition: background 0.2s;
  border: 1px solid rgba(255,255,255,0.3);
}
.sp-toggle-track::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
  transition: transform 0.22s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.sp-toggle-input:checked + .sp-toggle-track { background: rgba(255,255,255,0.45); border-color: rgba(255,255,255,0.5); }
.sp-toggle-input:checked + .sp-toggle-track::after { transform: translateX(18px); }

.sp-card-body { padding: 1.1rem 1.4rem; flex: 1; }
.sp-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.6rem; margin-bottom: 0.4rem; }
.sp-name { font-size: 0.95rem; font-weight: 700; color: var(--dark); margin: 0; }
.sp-desc { font-size: 0.81rem; color: #6B7280; line-height: 1.6; margin: 0 0 0.75rem; }
.sp-meta { display: flex; align-items: center; gap: 0.4rem; font-size: 0.75rem; color: #9CA3AF; }

.sp-status-badge { font-size: 0.67rem; font-weight: 700; padding: 3px 10px; border-radius: 2px; white-space: nowrap; }
.sp-status-active   { background: #DCFCE7; color: #166534; }
.sp-status-inactive { background: #F3F4F6; color: #9CA3AF; }
.sp-status-expired  { background: #FEE2E2; color: #B91C1C; }
.sp-status-upcoming { background: #FEF9C3; color: #92400E; }

.sp-card-foot { padding: 0.7rem 1.4rem; border-top: 1px solid #F3F4F6; display: flex; justify-content: flex-end; gap: 0.5rem; }

.sp-empty { text-align: center; padding: 4rem 1rem; color: #9CA3AF; display: none; }
.sp-empty p { font-size: 0.93rem; margin: 0.75rem 0 1.5rem; line-height: 1.6; }

/* Colour picker */
.sp-colour-row { display: flex; gap: 0.65rem; flex-wrap: wrap; margin-top: 0.5rem; }
.sp-colour-opt { cursor: pointer; }
.sp-colour-opt input { display: none; }
.sp-colour-swatch { display: inline-block; padding: 6px 16px; border-radius: 2px; font-size: 0.76rem; font-weight: 700; border: 2px solid transparent; transition: all 0.18s; cursor: pointer; }
.sp-swatch-gold   { background: var(--gold-dark); color: white; }
.sp-swatch-pink   { background: var(--pink-dark); color: white; }
.sp-swatch-green  { background: #16A34A; color: white; }
.sp-swatch-purple { background: #7C3AED; color: white; }
.sp-colour-opt input:checked + .sp-colour-swatch { outline: 3px solid #374151; outline-offset: 2px; }

/* ── Specials Public Banner (services + index) ── */
.specials-banner {
  background: var(--dark);
  padding: 48px 0;
  display: none;
}
.specials-banner.has-specials { display: block; }
.sb-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.8rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.sb-head-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.sb-head-title { font-family: var(--font-heading); font-size: clamp(1.5rem, 3vw, 2rem); color: white; margin: 0.2rem 0 0; line-height: 1.2; }
.sb-head-count { font-size: 0.8rem; color: rgba(255,255,255,0.55); font-weight: 600; }

.sb-cards { display: flex; gap: 1rem; flex-wrap: wrap; }

.sb-card {
  flex: 1;
  min-width: 240px;
  max-width: 380px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 2px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1.4rem 1.5rem;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  transition: background 0.25s, transform 0.25s;
}
.sb-card:hover { background: rgba(255,255,255,0.13); transform: translateY(-3px); }

.sb-badge {
  border-radius: 2px;
  padding: 0.7rem 1rem;
  text-align: center;
  flex-shrink: 0;
  min-width: 80px;
}
.sb-badge-gold   { background: var(--gold-dark); }
.sb-badge-pink   { background: var(--pink-dark); }
.sb-badge-green  { background: #16A34A; }
.sb-badge-purple { background: #7C3AED; }

.sb-badge-val {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  color: white;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.sb-badge-sub { font-size: 0.62rem; color: rgba(255,255,255,0.7); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 2px; }

.sb-info { flex: 1; min-width: 0; }
.sb-name { font-weight: 700; color: white; font-size: 0.93rem; margin-bottom: 0.3rem; }
.sb-desc { font-size: 0.8rem; color: rgba(255,255,255,0.65); line-height: 1.55; margin-bottom: 0.5rem; }
.sb-applies { font-size: 0.7rem; font-weight: 700; color: var(--gold); letter-spacing: 0.06em; text-transform: uppercase; }
.sb-expires { font-size: 0.7rem; color: rgba(255,255,255,0.45); margin-top: 0.3rem; }

@media (max-width: 768px) {
  .sb-cards { flex-direction: column; }
  .sb-card { max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  body, body.page-leaving { animation: none !important; }
  .reveal-up { opacity: 1 !important; transform: none !important; }
}

/* ── Quick Book Bottom Sheet (Services Page) ── */
.qb-backdrop {
  position: fixed; top: 0; left: 0; right: 0; height: 100vh; height: 100dvh;
  background: rgba(20, 8, 0, 0.58);
  z-index: 2100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.qb-backdrop.open { opacity: 1; pointer-events: all; }

.qb-sheet {
  background: var(--white);
  width: 100%;
  max-width: 520px;
  border-radius: 0;
  transform: translateY(100%);
  transition: transform 0.38s cubic-bezier(0.33, 1, 0.68, 1);
  border-top: 1px solid var(--border);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
}
.qb-sheet.open { transform: translateY(0); }

.qb-handle {
  width: 40px; height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: 14px auto 0;
}

.qb-body {
  padding: 22px 28px calc(32px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1;
}

.qb-cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: 0 0 0.5rem;
}

.qb-name {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 4vw, 1.65rem);
  color: var(--dark);
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.qb-meta-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.qb-price {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--pink-dark);
}

.qb-desc {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0 0 1.6rem;
}

.qb-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.qb-dismiss {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-light);
  cursor: pointer;
  padding: 12px 16px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s;
  letter-spacing: 0.01em;
  touch-action: manipulation;
}
.qb-dismiss:hover { color: var(--dark); }

/* Pricing items — show pointer + hover state to signal they're clickable */
.pricing-item {
  cursor: pointer;
  user-select: none;
  touch-action: manipulation;
}
.pricing-item:hover {
  border-color: var(--pink-dark);
  background: var(--pink-bg);
  transform: translateX(4px);
}
.pricing-item:active { background: var(--pink-light); }

/* Desktop — center as a floating card */
@media (min-width: 600px) {
  .qb-backdrop { align-items: center; padding: 24px; }
  .qb-sheet {
    border-radius: 2px;
    transform: translateY(18px);
    max-width: 460px;
  }
  .qb-handle { display: none; }
}

/* ══════════════════════════════════════════════
   MOBILE POLISH
   ══════════════════════════════════════════════ */

/* Dynamic viewport height — fixes iOS Safari chrome resize jank on hero */
@supports (min-height: 100dvh) {
  .hero, .bp-hero { min-height: 100dvh; }
}
@media (max-width: 768px) {
  @supports (min-height: 100dvh) {
    .hero { min-height: auto; }
  }
}

/* Safe-area insets for notched iPhones */
.navbar {
  padding-top: env(safe-area-inset-top, 0px);
}
.footer {
  padding-bottom: max(28px, calc(28px + env(safe-area-inset-bottom, 0px)));
}
.admin-bottom-nav {
  padding-bottom: max(0px, env(safe-area-inset-bottom, 0px));
}

@media (max-width: 768px) {

  /* ── Hero — hide floating avatars, tighten height so no dead space ── */
  .float-avatar { display: none; }
  .hero { min-height: auto; padding-top: 6rem; padding-bottom: 4rem; }

  /* ── HandWritten oval — tighter padding on mobile ── */
  .handwritten-title { padding: 1.8rem 0.5rem; }

  /* ── Filter tabs — horizontal scroll instead of wrapping ── */
  .filter-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Break out of container so scroll reaches edges */
    margin-left: -1.1rem;
    margin-right: -1.1rem;
    padding-left: 1.1rem;
    padding-right: 1.1rem;
    padding-bottom: 6px;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  }
  .filter-tabs::-webkit-scrollbar { display: none; }
  .filter-tab { flex-shrink: 0; min-height: 44px; padding: 10px 18px; }

  /* ── Service overlay — flex container so the drawer (its child) sits at
     the bottom and can slide up reliably, same architecture as qb-sheet ── */
  .svc-overlay {
    display: flex;
    align-items: flex-end;
  }

  /* ── Service drawer — bottom sheet on mobile ──
     position: relative makes it a flex child of the overlay instead of
     a separate fixed element, which is the only layout that works reliably
     on mobile WebKit (same pattern as the working quick-book sheet). ── */
  .svc-drawer {
    position: relative;
    top: auto; right: auto; bottom: auto; left: auto;
    width: 100%;
    height: auto;
    max-height: 88vh;
    border-radius: 0;
    border-top: 1px solid var(--border);
    transform: translateY(100%);
    transition: transform 0.38s cubic-bezier(0.33, 1, 0.68, 1);
  }
  .svc-drawer.open { transform: translateY(0); }

  /* Drag handle indicator at top of the dark header */
  .svc-drawer-head {
    position: relative;
    border-radius: 0;
    padding-top: 2.5rem;
  }
  .svc-drawer-head::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px; height: 4px;
    background: rgba(255, 255, 255, 0.38);
    border-radius: 2px;
  }

  /* Scrollable body — safe-area bottom padding for iPhone home indicator */
  .svc-drawer-body {
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
    padding-bottom: calc(2.5rem + env(safe-area-inset-bottom, 0px));
  }

  /* ── Service links — full-width block tap targets ──
     Default anchor has no padding, making it ~14px tall and nearly
     impossible to tap accurately on mobile. ── */
  .fg-list li { padding: 0; }
  .fg-list li a {
    display: block;
    padding: 0.65rem 0;
  }

  /* ── Cart sidebar — full width on mobile ── */
  .cart-sidebar { width: 100%; right: -100%; }
  .cart-sidebar.open { right: 0; }

  /* ── Section label — prevent wrapping in page heroes ── */
  .page-hero p { font-size: 0.95rem; padding: 0 0.5rem; }

  /* ── CTA banner buttons ── */
  .cta-banner .btn { min-height: 48px; display: flex; align-items: center; justify-content: center; }

  /* ── Booking — info sidebar below form ── */
  .booking-layout > div:last-child { margin-top: 0; }

  /* ── Contact form row ── */
  .contact-layout .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {

  /* ── Quick Book Sheet — tighter padding on very small phones ── */
  .qb-body { padding: 18px 18px calc(28px + env(safe-area-inset-bottom, 0px)); }

  /* ── Pricing items — stack on very small phones so price is never clipped ── */
  .pricing-item { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
  .pricing-price { margin-left: 0; font-size: 1.2rem; }

  /* ── Hero badge text ── */
  .hero-badge { font-size: 0.7rem; padding: 7px 14px; letter-spacing: 0.1em; }

  /* ── Feature grid card ── */
  .fg-card { padding: 1.5rem 1rem; }
  .fg-grid { gap: 1.8rem 1.5rem; }

  /* ── Testimonial section title ── */
  .tsc-wrap { height: 400px; }

  /* ── Course foot — stack on very small phones ── */
  .course-foot { flex-direction: column; gap: 0.75rem; }
  .course-foot .btn { width: 100%; text-align: center; }

  /* ── Section subtitle ── */
  .section-subtitle { font-size: 0.97rem; }
}

/* ── Course card extras ── */
.course-img--bundle { background: linear-gradient(135deg, #3D1244 0%, #7B3F8C 55%, #5A2970 100%); }
.course-img--empire { background: linear-gradient(135deg, #6B0F3A 0%, #C9184A 40%, #9D0B2F 75%, #5C0A26 100%); }
.course-img--brow   { background: linear-gradient(135deg, #5A3A0A 0%, #A0722A 55%, #7A5018 100%); }

/* ── Course card photo images ── */
.course-img--photo { background: #1a1a1a; height: auto; padding: 0; }
.course-img--photo img {
  position: static;
  width: 100%;
  height: auto;
  display: block;
}
.course-img--photo::after { display: none; }
.course-img--photo .crd-icon { display: none; }

.level-bundle { background: rgba(255,255,255,0.92); color: #3D1244; }
.level-master { background: var(--gold); color: #1E0E00; }
.level-empire { background: #C9184A; color: #fff; letter-spacing: 0.04em; }

.course-addon-box {
  margin: 0.75rem 1.5rem 0;
  padding: 0.9rem 1rem;
  background: var(--gold-light);
  border: 1px solid var(--gold);
  border-radius: 2px;
}
.course-addon-box-label {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.25rem;
}
.course-addon-box-name { font-size: 0.88rem; font-weight: 700; color: var(--dark); margin-bottom: 0.15rem; }
.course-addon-box-meta { font-size: 0.75rem; color: var(--text-light); }
.course-addon-box-price { font-size: 1.05rem; font-weight: 700; color: var(--pink-dark); margin-top: 0.3rem; }

.course-payment-plan {
  margin: 0.75rem 1.5rem 0;
  padding: 0.85rem 1rem;
  background: var(--pink-bg);
  border: 1px solid var(--border);
  border-radius: 2px;
}
.course-payment-plan-title {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.45rem;
}
.course-payment-rows { display: flex; flex-direction: column; gap: 0.18rem; }
.course-payment-row { display: flex; justify-content: space-between; font-size: 0.77rem; color: var(--text); }
.course-payment-row strong { color: var(--pink-dark); }

.course-save-tag {
  display: inline-block;
  background: var(--gold);
  color: #1E0E00;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 6px;
  border-radius: 2px;
  margin-left: 0.4rem;
  vertical-align: middle;
}

.course-deposit-note { font-size: 0.68rem; color: var(--text-light); margin-top: 2px; }

.course-spots-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201,24,74,0.15);
  border: 1px solid rgba(201,24,74,0.4);
  color: #ff6b9d;
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 0.5rem;
}
.course-spots-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #C9184A;
  animation: pulseDot 1.5s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(1.5); }
}
.course-intake-note {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.course-card--empire {
  grid-column: 1 / -1;
  border-color: #9D0B2F;
  background: linear-gradient(135deg, #1E0007 0%, #2C000E 100%);
}
.course-card--empire::before { background: linear-gradient(90deg, #C9184A, var(--gold)); }
.course-card--empire .course-body h3 { color: #fff; }
.course-card--empire .course-body > p { color: rgba(255,255,255,0.62); }
.course-card--empire .course-includes h5,
.course-card--empire .course-includes li { color: rgba(255,255,255,0.8); }
.course-card--empire .course-includes li::before { color: var(--gold); }
.course-card--empire .course-foot { border-top-color: rgba(255,255,255,0.1); background: rgba(0,0,0,0.28); }
.course-card--empire .course-meta-tag { color: rgba(255,255,255,0.65); border-color: rgba(255,255,255,0.12); }
.course-card--empire .course-meta-tag svg { color: var(--gold); }
.course-card--empire .course-price-block small { color: rgba(255,255,255,0.45); }
.course-card--empire .course-price-block .price { color: #fff; }
.course-card--empire .course-deposit-note { color: rgba(255,255,255,0.4); }
.course-card--empire .course-payment-plan { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); margin: 0.75rem 1.5rem 0; }
.course-card--empire .course-payment-plan-title { color: rgba(255,255,255,0.4); }
.course-card--empire .course-payment-row { color: rgba(255,255,255,0.7); }
.course-card--empire .course-payment-row strong { color: var(--gold); }

.course-empire-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 2rem;
  margin: 1rem 1.5rem 0;
}
.course-empire-col-title {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.45rem;
}
.course-empire-list { list-style: none; padding: 0; margin: 0; }
.course-empire-list li {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.78);
  padding: 0.18rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.course-empire-list li::before { content: '✔'; color: var(--gold); flex-shrink: 0; font-size: 0.7rem; margin-top: 0.1rem; }

@media (max-width: 640px) {
  .course-empire-grid { grid-template-columns: 1fr; }
  .course-card--empire { grid-column: 1; }
}

/* ── Course addon checkbox toggle ── */
.course-addon-toggle {
  display: block;
  cursor: pointer;
  user-select: none;
}
.course-addon-toggle-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}
.course-addon-toggle input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.course-addon-toggle-box {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 2px solid var(--gold);
  border-radius: 3px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, border-color 0.18s;
}
.course-addon-toggle input:checked ~ .course-addon-toggle-box,
.course-addon-toggle input:checked + .course-addon-toggle-box {
  background: var(--gold);
  border-color: var(--gold-dark);
}
.course-addon-toggle input:checked + .course-addon-toggle-box::after {
  content: '✓';
  font-size: 11px;
  color: #1E0E00;
  font-weight: 900;
  line-height: 1;
}
.course-addon-box.is-selected {
  border-color: var(--pink-dark);
  background: #FFF8EC;
}

/* ── Contact page course pre-fill banner ── */
.course-enrol-banner {
  background: var(--gold-light);
  border: 1px solid var(--gold);
  border-radius: 2px;
  padding: 0.8rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.88rem;
  color: var(--dark);
  line-height: 1.5;
}
.course-enrol-banner strong { color: var(--pink-dark); }

/* ── Graduates gallery strip ── */
.grads-section { margin-bottom: 5rem; }

.grads-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.grad-photo {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: 0 4px 18px rgba(139,79,28,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grad-photo:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 10px 32px rgba(139,79,28,0.25);
}

.grad-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

@media (max-width: 900px) {
  .grads-strip {
    grid-template-columns: repeat(3, 1fr);
  }
  .grads-strip .grad-photo:nth-child(4),
  .grads-strip .grad-photo:nth-child(5) {
    grid-column: span 1;
  }
}

@media (max-width: 580px) {
  .grads-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

/* ── Consent Modal ── */
.consent-backdrop {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; height: 100vh; height: 100dvh;
  background: rgba(10,4,0,0.82);
  z-index: 9992;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
}
.consent-backdrop.open { display: flex; }

.consent-box {
  background: var(--white);
  border-radius: var(--radius);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  overflow: hidden;
}

.consent-head {
  padding: 1.4rem 1.8rem 1rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.consent-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.3rem;
}
.consent-head h3 {
  font-size: 1.15rem;
  color: var(--dark);
  margin: 0;
}

.consent-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.4rem 1.8rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text);
}
.consent-body h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pink-dark);
  margin: 1.4rem 0 0.5rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--border);
}
.consent-body h4:first-child { margin-top: 0; }
.consent-body ul {
  margin: 0.4rem 0 0.8rem 1.2rem;
  padding: 0;
}
.consent-body ul li { margin-bottom: 0.25rem; }
.consent-body p { margin: 0 0 0.6rem; }
.consent-body strong { color: var(--dark); }

.consent-foot {
  padding: 1.2rem 1.8rem 1.4rem;
  border-top: 1px solid var(--border);
  background: var(--pink-bg);
  flex-shrink: 0;
}

.consent-check-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  margin-bottom: 1.1rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text);
}
.consent-check-label input { display: none; }
.consent-check-box {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 2px solid var(--pink-dark);
  border-radius: 4px;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.consent-check-label input:checked + .consent-check-box {
  background: var(--pink-dark);
  border-color: var(--pink-dark);
}
.consent-check-label input:checked + .consent-check-box::after {
  content: '✓';
  color: white;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.consent-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}
.consent-back-btn {
  padding: 0.7rem 1.4rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-light);
  border-radius: 2px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.consent-back-btn:hover { border-color: var(--pink-dark); color: var(--pink-dark); }
.consent-confirm-btn {
  padding: 0.7rem 1.8rem;
  background: var(--pink-dark);
  color: white;
  border: none;
  border-radius: 2px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}
.consent-confirm-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.consent-confirm-btn:not(:disabled):hover { background: var(--pink-mid); }

@media (max-width: 600px) {
  .consent-box { max-height: 95vh; border-radius: 12px 12px 0 0; align-self: flex-end; }
  .consent-head, .consent-body, .consent-foot { padding-left: 1.2rem; padding-right: 1.2rem; }
  .consent-actions { flex-direction: column-reverse; }
  .consent-back-btn, .consent-confirm-btn { width: 100%; text-align: center; }
}

/* ── Touch devices — always show gallery overlay (no hover on touch) ── */
@media (hover: none) {
  .gallery-overlay {
    opacity: 1 !important;
    transform: translateY(0) !important;
    background: linear-gradient(to top, rgba(45,16,4,0.72) 0%, rgba(107,48,16,0.25) 55%, transparent 100%);
  }
  .gallery-overlay-icon,
  .gallery-overlay-text { transform: translateY(0) !important; }

  /* Thumb scale on tap — brief active feedback instead of permanent hover */
  .gallery-item:active .gallery-thumb { transform: scale(1.04); }

  /* Disable desktop hover-lift animations that don't apply to touch */
  .service-card:hover { transform: none; box-shadow: var(--shadow-sm); }
  .product-card:hover { transform: none; box-shadow: none; }
  .btn-primary:hover,
  .btn-gold:hover { transform: none; }
  .pricing-item:hover { transform: none; }
  .feature-strip-item:hover { background: none; }
  .why-card:hover { transform: none; }
  .value-card:hover { transform: none; }

  /* Keep active/tap states responsive */
  .btn-primary:active { transform: scale(0.97); }
  .btn-gold:active { transform: scale(0.97); }
  .pricing-item:active { background: var(--pink-bg); border-color: var(--pink-dark); transform: none; }
  .service-card:active { box-shadow: var(--shadow); }
}



/* ── WhatsApp Floating Button ── */
.wa-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 9990;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.55); }
.wa-float svg { width: 30px; height: 30px; }

/* ── Cookie Notice ── */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9988;
  background: #1E0E00;
  border-top: 1px solid rgba(201,168,76,0.3);
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.cookie-bar p { margin: 0; font-size: 0.82rem; color: rgba(255,255,255,0.72); flex: 1; min-width: 200px; }
.cookie-bar-btn {
  padding: 0.5rem 1.3rem;
  background: var(--gold);
  color: #1E0E00;
  border: none;
  border-radius: 2px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  flex-shrink: 0;
  transition: background 0.2s;
}
.cookie-bar-btn:hover { background: #d4b05a; }

/* ── iCal / Add to Calendar button ── */
.btn-ical {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.4rem;
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
  margin-top: 0.75rem;
}
.btn-ical:hover { background: var(--gold); color: #1E0E00; }


/* ══════════════════════════════════════════════
   MOBILE FIXES – New Panels & Features
   ══════════════════════════════════════════════ */

@media (max-width: 768px) {

  /* ── Services Manager: hide Duration column ── */
  #panel-services-mgr .data-table th:nth-child(4),
  #panel-services-mgr .data-table td:nth-child(4) { display: none; }

  /* ── Courses Manager: hide Duration (col 3) and Deposit (col 5) ── */
  #panel-courses-mgr .data-table th:nth-child(3),
  #panel-courses-mgr .data-table td:nth-child(3),
  #panel-courses-mgr .data-table th:nth-child(5),
  #panel-courses-mgr .data-table td:nth-child(5) { display: none; }

  /* ── All admin toolbars: buttons go full-width when stacked ── */
  .admin-toolbar { flex-direction: column; gap: 0.6rem; }
  .admin-toolbar .btn-admin,
  .admin-toolbar .admin-search-input,
  .admin-toolbar select.admin-search-input { width: 100%; max-width: 100% !important; box-sizing: border-box; }

  /* ── iCal button: full-width, easy tap target ── */
  .btn-ical { width: 100%; justify-content: center; min-height: 48px; }

  /* ── Booking success panel: stack Back to Home button ── */
  #bookingSuccess .btn { display: block; width: 100%; text-align: center; box-sizing: border-box; }

  /* ── Cookie bar: safe-area for iPhone home indicator ── */
  .cookie-bar {
    padding: 0.75rem 1rem;
    padding-bottom: max(0.75rem, calc(0.75rem + env(safe-area-inset-bottom, 0px)));
  }
  .cookie-bar p { font-size: 0.78rem; }

  /* ── Settings panel: form full-width ── */
  #changePwForm { max-width: 100% !important; }
  #panel-settings .mfg { width: 100%; }

  /* ── Backup/restore buttons: full-width ── */
  #backupBtn,
  #panel-settings label.btn-admin { width: 100%; text-align: center; box-sizing: border-box; }

  /* ── Admin topbar: shrink padding on very small screens ── */
  .admin-topbar-logo { font-size: 0.78rem; letter-spacing: 0.1em; }

  /* ── Course card photo panels: cap height so portrait photos don't
     create extremely tall cards on mobile ── */
  .course-img--photo { max-height: 320px; overflow: hidden; }
  .course-img--photo img { object-fit: cover; object-position: top center; width: 100%; height: 100%; position: absolute; top: 0; left: 0; }
  .course-img--photo { position: relative; height: 280px; }
}

@media (max-width: 480px) {

  /* ── Cookie bar: tighter on very small phones ── */
  .cookie-bar {
    padding: 0.6rem 0.85rem;
    padding-bottom: max(0.6rem, calc(0.6rem + env(safe-area-inset-bottom, 0px)));
    gap: 0.65rem;
  }
  .cookie-bar p { font-size: 0.74rem; }
  .cookie-bar-btn { padding: 0.45rem 1rem; font-size: 0.74rem; }

  /* ── Admin bottom nav: smaller labels ── */
  .admin-bottom-btn { font-size: 0.52rem; min-width: 58px; padding: 0 5px; }
  .admin-bottom-btn svg { width: 18px; height: 18px; }

  /* ── Services/Courses manager: also hide Category tag on very small screens ── */
  #panel-services-mgr .data-table th:nth-child(1),
  #panel-services-mgr .data-table td:nth-child(1) { display: none; }

  /* ── Courses manager: hide Status (col 6) too on very small screens ── */
  #panel-courses-mgr .data-table th:nth-child(6),
  #panel-courses-mgr .data-table td:nth-child(6) { display: none; }

  /* ── Booking success panel: tighten spacing ── */
  .booking-success { padding: 1.5rem 1.1rem; }

  /* ── iCal button: tighter on tiny phones ── */
  .btn-ical { font-size: 0.78rem; padding: 0.55rem 1rem; }

  /* ── Settings panel password inputs: larger tap target ── */
  #cpwCurrent, #cpwNew, #cpwConfirm { min-height: 48px; }
}
