/* ─────────────────────────────────────────────────────
   pages.css - All page-specific styles
   Palette: Black / Gold / Cream
   ───────────────────────────────────────────────────── */


/* ── HOME ──────────────────────────────────────────── */

/* Adds top spacing equal to the navigation height */
#page-home {
  padding-top: var(--nav-h);
}

/* Main hero section container */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  isolation: isolate;
}

/* Full-size hero slider background layer */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Individual hero background slide */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1s ease, transform 6s ease;
}

/* Active slide becomes visible and returns to normal scale */
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* Dark overlay for better text readability over background images */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(rgba(0,0,0,.50), rgba(0,0,0,.70)),
    radial-gradient(circle at center, transparent 0%, rgba(0,0,0,.28) 100%);
}

/* Main content panel inside the hero */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 74px 34px 64px;
  max-width: 760px;
  background: rgba(18,16,13,.52);
  border: 1px solid rgba(201,168,76,.16);
  border-radius: 28px;
  box-shadow: 0 22px 70px rgba(0,0,0,.38);
  backdrop-filter: blur(8px);
}

/* Main hero heading */
.hero h1 {
  font-weight: 300;
  animation: fadeUp .7s .08s ease both;
  text-shadow: 0 8px 30px rgba(0,0,0,.30);
}

/* Highlighted word inside hero heading */
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

/* Supporting hero paragraph */
.hero-sub {
  font-size: 1.04rem;
  color: #ddd2c0;
  margin: 20px auto 38px;
  max-width: 520px;
  animation: fadeUp .7s .16s ease both;
}

/* CTA buttons container */
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp .7s .24s ease both;
}

/* Decorative layer above slider and overlay */
.hero-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
}

/* Large decorative circle in the top-right area */
.hero-deco::before {
  content: '';
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,.10);
  top: -140px;
  right: -160px;
}

/* Smaller decorative circle in the bottom-left area */
.hero-deco::after {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,.06);
  bottom: 60px;
  left: 40px;
}

/* Vertical gold accent line descending from the top */
.hero-deco-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, transparent, var(--gold));
}

/* Small uppercase eyebrow text above the hero title */
.hero-eyebrow {
  font-size: .68rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
  animation: fadeUp .7s ease both;
}

/* Duplicate hero heading rule kept as-is */
.hero h1 {
  font-weight: 300;
  animation: fadeUp .7s .08s ease both;
}

/* Duplicate emphasized text rule kept as-is */
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

/* Fade-up entrance animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Mobile adjustments for the hero section */
@media (max-width: 700px) {
  .hero {
    min-height: calc(100vh - var(--nav-h));
    padding: 20px;
  }

  /* Hero content card becomes full width on mobile */
  .hero-content {
    width: 100%;
    padding: 42px 22px 36px;
    border-radius: 22px;
  }

  /* Tighter eyebrow styling on smaller screens */
  .hero-eyebrow {
    letter-spacing: .22em;
    font-size: .62rem;
    margin-bottom: 18px;
  }

  /* Responsive hero heading size */
  .hero h1 {
    font-size: clamp(2.1rem, 9vw, 3.2rem);
    line-height: .95;
  }

  /* Smaller subtitle on mobile */
  .hero-sub {
    font-size: .95rem;
    margin: 18px auto 28px;
  }

  /* Reduced gap between CTA buttons */
  .hero-cta {
    gap: 10px;
  }

  /* Full-width CTA buttons on mobile */
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }
}


/* ── SHARED SECTION OVERLAYS ───────────────────────── */

/* Shared positioning context for decorative section overlays */
.features-section,
.about-section,
.home-gallery-section,
.testimonials-section,
#page-courses {
  position: relative;
}

/* Soft top gradient overlay for major sections */
.features-section::before,
.about-section::before,
.home-gallery-section::before,
.testimonials-section::before,
#page-courses::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,.01), transparent 18%);
  opacity: .45;
}


/* ── FEATURES ──────────────────────────────────────── */

/* Features section container */
.features-section {
  padding: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
}

/* Four-column grid for feature cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--border);
}

/* Individual feature card */
.feature-card {
  background: var(--bg2);
  padding: 40px 28px;
  text-align: center;
  transition: var(--tr);
  border: none;
}

/* Hover state for feature card */
.feature-card:hover {
  background: var(--bg3);
}

/* Circular icon wrapper */
.feature-icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: var(--gold);
  font-size: .95rem;
  transition: var(--tr);
}

/* Highlight icon on feature hover */
.feature-card:hover .feature-icon {
  border-color: var(--gold);
  background: var(--rose-pale);
}

/* Feature title */
.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  font-weight: 300;
}

/* Feature description */
.feature-card p {
  font-size: .82rem;
  color: var(--text-s);
  line-height: 1.6;
}

/* Mobile features layout */
@media (max-width: 700px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-card {
    padding: 28px 20px;
  }
}


/* ── ABOUT ─────────────────────────────────────────── */

/* About section wrapper */
.about-section {
  padding: 88px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Two-column about layout */
.about-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  align-items: start;
}

/* Mobile layout for about section */
@media (max-width: 780px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* About/profile image */
.about-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--r2);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

/* Placeholder shown when no profile image exists */
.about-photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--r2);
  background: var(--bg3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

/* Decorative corner marks */
.about-photo-placeholder::before,
.about-photo-placeholder::after {
  content: '';
  position: absolute;
  width: 32px;
  height: 32px;
  border-color: var(--gold);
  border-style: solid;
}

/* Top-left corner accent */
.about-photo-placeholder::before {
  top: 16px;
  left: 16px;
  border-width: 1.5px 0 0 1.5px;
}

/* Bottom-right corner accent */
.about-photo-placeholder::after {
  bottom: 16px;
  right: 16px;
  border-width: 0 1.5px 1.5px 0;
}

/* Social links row */
.about-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

/* Circular social button */
.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-m);
  text-decoration: none;
  transition: var(--tr);
  font-size: .75rem;
}

/* Social button hover state */
.social-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--rose-pale);
}

/* SVG icon size inside social buttons */
.social-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* Person name in about section */
.about-name {
  font-family: var(--font-d);
  font-size: 2.2rem;
  margin-bottom: 4px;
  font-weight: 300;
}

/* Person title/role */
.about-title {
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

/* Biography text */
.about-bio {
  font-size: .95rem;
  line-height: 1.8;
  color: var(--text-m);
  margin-bottom: 32px;
  white-space: pre-line;
}

/* Certificates section title */
.certs-title {
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-s);
  margin-bottom: 14px;
}

/* Responsive certificates grid */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px,1fr));
  gap: 10px;
}

/* Certificate image tile */
.cert-photo-item {
  border-radius: var(--r);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--bg3);
  transition: var(--tr);
}

/* Certificate hover state */
.cert-photo-item:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(201,168,76,.15);
}

/* Certificate image */
.cert-photo-item img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}

/* Certificate caption */
.cert-photo-label {
  font-size: .72rem;
  color: var(--text-s);
  padding: 6px 8px;
  text-align: center;
}


/* ── GALLERY PREVIEW ───────────────────────────────── */

/* Homepage gallery preview section */
.home-gallery-section {
  padding: 80px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}

/* Preview grid with 3 equal columns */
.gallery-preview {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 3px;
  margin-top: 40px;
  background: var(--border);
}

/* Individual gallery preview tile */
.gallery-preview-item {
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  transition: transform .4s;
  border: none;
}

/* Preview image styling */
.gallery-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

/* Zoom effect on tile hover */
.gallery-preview-item:hover img,
.gallery-preview-item:hover {
  transform: scale(1.06);
}


/* ── TESTIMONIALS ──────────────────────────────────── */

/* Testimonials section wrapper */
.testimonials-section {
  padding: 80px 0;
  background: var(--bg);
}

/* Responsive testimonials grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 18px;
  margin-top: 40px;
  background: transparent;
}

/* Testimonial card */
.test-card {
  background: linear-gradient(180deg, rgba(29,25,21,.96), rgba(20,18,16,.96));
  padding: 28px;
  transition: var(--tr);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
}

/* Hover animation for testimonial card */
.test-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.4);
}

/* Star rating display */
.stars {
  color: var(--gold);
  font-size: .95rem;
  margin-bottom: 12px;
  letter-spacing: 3px;
}

/* Testimonial quote text */
.test-text {
  font-size: .92rem;
  margin-bottom: 16px;
  font-style: italic;
  line-height: 1.65;
  color: var(--text-m);
}

/* Testimonial author label */
.test-author {
  font-size: .72rem;
  letter-spacing: .1em;
  color: var(--text-s);
}


/* ── FOOTER ────────────────────────────────────────── */

/* Global page footer */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 28px;
  text-align: center;
  background: var(--bg2);
}

/* Footer brand text */
.footer-brand {
  font-family: var(--font-d);
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 8px;
  letter-spacing: .1em;
  font-weight: 300;
}


/* ── GALLERY PAGE ──────────────────────────────────── */

/* Main gallery page wrapper */
#page-gallery {
  padding-top: calc(var(--nav-h) + 56px);
  padding-bottom: 80px;
  background: var(--bg);
}

/* Gallery filter button row */
.gallery-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
}

/* Gallery filter button */
.filter-btn {
  padding: 7px 18px;
  border-radius: 30px;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text-m);
  font-family: var(--font-b);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--tr);
}

/* Hover and active states for gallery filters */
.filter-btn:hover,
.filter-btn.active {
  background: var(--rose-pale);
  border-color: var(--gold);
  color: var(--gold);
}

/* Masonry-style gallery columns */
.gallery-grid {
  columns: 3 240px;
  gap: 3px;
}

/* Individual gallery item container */
.gallery-item {
  break-inside: avoid;
  margin-bottom: 3px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: var(--bg3);
  border: none;
}

/* Main gallery image */
.gallery-item-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}

/* Placeholder for missing gallery image */
.gallery-item-placeholder {
  aspect-ratio: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  transition: transform .4s;
}

/* Slightly taller aspect ratio variation */
.gallery-item:nth-child(3n+2) .gallery-item-img,
.gallery-item:nth-child(3n+2) .gallery-item-placeholder {
  aspect-ratio: 4/5;
}

/* Another varied aspect ratio for layout rhythm */
.gallery-item:nth-child(5n+1) .gallery-item-img,
.gallery-item:nth-child(5n+1) .gallery-item-placeholder {
  aspect-ratio: 3/4;
}

/* Zoom effect on gallery hover */
.gallery-item:hover .gallery-item-img,
.gallery-item:hover .gallery-item-placeholder {
  transform: scale(1.04);
}

/* Bottom gradient overlay for labels */
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 55%);
  opacity: 0;
  transition: var(--tr);
  display: flex;
  align-items: flex-end;
  padding: 12px;
}

/* Reveal overlay on hover */
.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

/* Category/tag inside overlay */
.gallery-item-tag {
  font-size: .68rem;
  letter-spacing: .1em;
  color: var(--gold);
}

/* Gold top accent line */
.gallery-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border);
  z-index: 1;
  opacity: 0;
  transition: var(--tr);
}

/* Highlight accent line on hover */
.gallery-item:hover::before {
  opacity: 1;
  background: var(--gold);
}


/* ── BOOKING ───────────────────────────────────────── */

/* Main booking page wrapper */
#page-booking {
  padding-top: var(--nav-h);
  min-height: 100vh;
}

/* Booking page top summary bar */
.booking-top-bar {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
}

/* Booking page title */
.booking-top-bar h2 {
  font-size: 1.3rem;
  color: var(--text);
  font-weight: 300;
}

/* Booking page subtitle/description */
.booking-top-bar p {
  font-size: .82rem;
  margin: 2px 0 0;
  color: var(--text-s);
}

/* Right-aligned rating area */
.booking-rating {
  margin-left: auto;
  text-align: right;
}

/* Rating number */
.rate-num {
  font-family: var(--font-d);
  font-size: 1.6rem;
  color: var(--gold);
  font-weight: 300;
}

/* Rating stars row */
.rate-stars {
  color: var(--gold);
  font-size: .9rem;
  letter-spacing: 3px;
}

/* Rating count text */
.rate-count {
  font-size: .72rem;
  color: var(--text-s);
}

/* Main booking layout: categories + services */
.booking-body {
  display: flex;
  flex: 1;
  overflow: hidden;
}

/* Left-side service categories panel */
.booking-cats {
  width: 250px;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
  background: var(--bg2);
  overflow-y: auto;
}

/* Category item row */
.booking-cat-item {
  padding: 17px 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  transition: var(--tr);
}

/* Category hover effect */
.booking-cat-item:hover {
  background: var(--bg3);
}

/* Active category state */
.booking-cat-item.active {
  background: var(--rose-pale);
  border-left: 2px solid var(--gold);
  padding-left: 20px;
}

/* Category title */
.booking-cat-name {
  font-size: .9rem;
  color: var(--text-m);
  transition: var(--tr);
}

/* Active category title color */
.booking-cat-item.active .booking-cat-name {
  color: var(--gold);
}

/* Small badge inside category item */
.booking-cat-badge {
  font-size: .65rem;
  color: var(--text-s);
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2px 8px;
}

/* Right-side services list panel */
.booking-services-panel {
  flex: 1;
  overflow-y: auto;
}

/* Service item row */
.booking-svc-item {
  padding: 20px 26px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--tr);
}

/* Service item hover state */
.booking-svc-item:hover {
  background: var(--bg2);
}

/* Service information column */
.booking-svc-info {
  flex: 1;
  min-width: 0;
}

/* Service name */
.booking-svc-name {
  font-size: .95rem;
  color: var(--text);
  margin-bottom: 4px;
}

/* Service duration text */
.booking-svc-dur {
  font-size: .76rem;
  color: var(--text-s);
  margin-bottom: 4px;
}

/* Hidden expandable service description */
.booking-svc-desc {
  font-size: .83rem;
  color: var(--text-m);
  display: none;
  margin-top: 6px;
}

/* Button/text used to toggle service description */
.toggle-desc {
  font-size: .72rem;
  color: var(--gold);
  cursor: pointer;
  margin-left: 8px;
}

/* Underline description toggle on hover */
.toggle-desc:hover {
  text-decoration: underline;
}

/* Right side of service row: price + selector */
.booking-svc-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  min-width: 140px;
  flex-shrink: 0;
}

/* Service price */
.booking-svc-price {
  font-family: var(--font-d);
  font-size: 1.2rem;
  color: var(--gold);
  white-space: nowrap;
  text-align: right;
  font-weight: 300;
}

/* Secondary small price note */
.booking-svc-price small {
  font-family: var(--font-b);
  font-size: .7rem;
  color: var(--text-s);
  display: block;
}

/* Custom service checkbox */
.svc-checkbox {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  border: 1.5px solid var(--border);
  background: var(--bg3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--tr);
  flex-shrink: 0;
}

/* Checkbox hover state */
.svc-checkbox:hover {
  border-color: var(--gold);
}

/* Checked checkbox state */
.svc-checkbox.checked {
  background: var(--gold);
  border-color: var(--gold);
}

/* Checkmark symbol for checked checkbox */
.svc-checkbox.checked::after {
  content: '✓';
  color: var(--bg);
  font-size: .8rem;
  font-weight: 500;
}

/* Dropdown wrapper for service options */
.options-dropdown {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--r);
  margin-top: 8px;
  overflow: hidden;
}

/* Individual option row */
.option-item {
  padding: 11px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
  transition: var(--tr);
}

/* Remove bottom border from last option */
.option-item:last-child {
  border-bottom: none;
}

/* Option hover state */
.option-item:hover {
  background: var(--rose-pale);
}

/* Selected option state */
.option-item.selected {
  background: var(--rose-pale);
  border-left: 2px solid var(--gold);
}

/* Option name */
.option-name {
  font-size: .88rem;
  color: var(--text-m);
}

/* Option price */
.option-price {
  font-family: var(--font-d);
  font-size: 1rem;
  color: var(--gold);
  font-weight: 300;
}

/* Bottom cart summary bar */
.cart-bar {
  background: var(--bg2);
  border-top: 2px solid var(--gold);
  padding: 14px 26px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  flex-shrink: 0;
  box-shadow: 0 -4px 24px rgba(0,0,0,.4);
}

/* Hidden state for cart bar */
.cart-bar.hidden {
  display: none;
}

/* List of selected services */
.cart-items-list {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

/* Tag representing a selected service */
.cart-tag {
  background: var(--rose-pale);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: .76rem;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
}

/* Remove button inside selected service tag */
.cart-tag button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-s);
  font-size: .9rem;
  padding: 0;
  transition: var(--tr);
}

/* Hover state for tag remove button */
.cart-tag button:hover {
  color: var(--gold);
}

/* Total booking price */
.cart-total {
  font-family: var(--font-d);
  font-size: 1.3rem;
  color: var(--gold);
  white-space: nowrap;
  font-weight: 300;
}

/* Total booking duration */
.cart-dur {
  font-size: .76rem;
  color: var(--text-s);
}

/* Mobile layout for booking page */
@media (max-width: 700px) {
  .booking-body {
    flex-direction: column;
  }

  /* Categories become horizontally scrollable pills */
  .booking-cats {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border);
    display: flex;
    overflow-x: auto;
    padding: 8px 10px;
    gap: 6px;
  }

  /* Compact category pill style for mobile */
  .booking-cat-item {
    border-bottom: none;
    border-radius: 30px;
    padding: 9px 16px;
    white-space: nowrap;
    flex-shrink: 0;
    border-left: none !important;
    padding-left: 16px !important;
  }

  /* Hide mobile categories scrollbar */
  .booking-cats::-webkit-scrollbar {
    height: 0;
  }
}


/* ── BOOKING WIZARD ────────────────────────────────── */

/* Fullscreen wizard overlay */
.wizard-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: var(--tr);
}

/* Open state for wizard overlay */
.wizard-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* Main wizard modal */
.wizard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  width: 100%;
  max-width: 900px;
  max-height: 92vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(16px);
  transition: var(--tr);
  box-shadow: var(--shadow-lg);
}

/* Remove entrance offset when wizard is open */
.wizard-overlay.open .wizard {
  transform: none;
}

/* Wizard header */
.wizard-header {
  padding: 18px 26px;
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

/* Wizard title */
.wizard-header h3 {
  font-size: 1.2rem;
  flex: 1;
  font-weight: 300;
}

/* Selected service label in the wizard header */
.wizard-svc-label {
  font-size: .76rem;
  color: var(--gold);
}

/* Wizard close button */
.wizard-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-s);
  font-size: 1.3rem;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--tr);
}

/* Wizard close button hover state */
.wizard-close:hover {
  color: var(--gold);
}

/* Wizard step navigation bar */
.wizard-steps {
  display: flex;
  padding: 0 26px;
  border-bottom: 1px solid var(--border);
  background: var(--bg3);
  flex-shrink: 0;
}

/* Individual wizard step label */
.wstep {
  padding: 13px 0;
  margin-right: 24px;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-s);
  border-bottom: 2px solid transparent;
  transition: var(--tr);
}

/* Active wizard step */
.wstep.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* Completed wizard step */
.wstep.done {
  color: var(--gold-d);
  border-bottom-color: var(--gold-d);
}

/* Scrollable wizard content area */
.wizard-body {
  flex: 1;
  overflow-y: auto;
  padding: 26px;
}

/* Hidden wizard panel by default */
.wizard-panel {
  display: none;
}

/* Active wizard panel */
.wizard-panel.active {
  display: block;
}

/* Wizard footer with controls and summary */
.wizard-footer {
  padding: 16px 26px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg2);
  flex-shrink: 0;
  gap: 12px;
  flex-wrap: wrap;
}

/* Small summary/helper text in wizard footer */
.wiz-mini {
  font-size: .82rem;
  color: var(--text-s);
}

/* Highlighted value inside wizard footer summary */
.wiz-mini strong {
  color: var(--gold);
  font-family: var(--font-d);
  font-size: 1rem;
  font-weight: 300;
}

/* Two-column calendar/time layout */
.cal-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Stack calendar layout on small screens */
@media (max-width: 560px) {
  .cal-layout {
    grid-template-columns: 1fr;
  }
}

/* Calendar section header */
.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

/* Calendar month title */
.cal-header h4 {
  font-size: 1rem;
  font-weight: 300;
}

/* Month navigation button */
.cal-nav {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 34px;
  height: 34px;
  cursor: pointer;
  color: var(--text-m);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--tr);
  font-size: 1.1rem;
}

/* Calendar navigation hover state */
.cal-nav:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Calendar grid with 7 columns */
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7,1fr);
  gap: 4px;
}

/* Weekday labels */
.cal-day-name {
  text-align: center;
  font-size: .6rem;
  letter-spacing: .06em;
  color: var(--text-s);
  padding-bottom: 6px;
}

/* Day cell button */
.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  font-size: .8rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--tr);
  background: none;
  color: var(--text-m);
  font-family: var(--font-b);
}

/* Disabled day state */
.cal-day:disabled {
  opacity: .25;
  cursor: not-allowed;
}

/* Hover state for selectable days */
.cal-day:not(:disabled):hover {
  border-color: var(--border);
  background: var(--bg3);
}

/* Selected day */
.cal-day.selected {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
}

/* Today indicator styling */
.cal-day.today {
  color: var(--gold-l);
}

/* Empty placeholder cell */
.cal-day.empty {
  pointer-events: none;
}

/* Date label above the time slots */
.slots-date-label {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 14px 0 10px;
}

/* Grid of available time slots */
.slots-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 8px;
}

/* Single time slot button */
.time-slot {
  padding: 10px;
  border-radius: var(--r);
  background: var(--bg3);
  border: 1px solid var(--border);
  text-align: center;
  font-size: .8rem;
  cursor: pointer;
  transition: var(--tr);
  color: var(--text-m);
}

/* Hover state for time slot */
.time-slot:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Selected time slot */
.time-slot.selected {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
}

/* Unavailable/taken time slot */
.time-slot.taken {
  opacity: .25;
  pointer-events: none;
  text-decoration: line-through;
}

/* Booking confirmation summary card */
.confirm-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 22px;
  margin-bottom: 16px;
}

/* Confirmation row */
.conf-row {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: .88rem;
  gap: 10px;
}

/* Remove divider from the last confirmation row */
.conf-row:last-child {
  border-bottom: none;
}

/* Label column in confirmation row */
.conf-lbl {
  color: var(--text-s);
  flex-shrink: 0;
}

/* Value column in confirmation row */
.conf-val {
  color: var(--text);
  text-align: right;
}

/* Total row label styling */
.conf-total .conf-lbl {
  color: var(--text);
}

/* Total row value styling */
.conf-total .conf-val {
  color: var(--gold);
  font-family: var(--font-d);
  font-size: 1.4rem;
  font-weight: 300;
}

/* Guest details form card */
.guest-form {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 22px;
  margin-bottom: 16px;
}

/* Guest form section title */
.guest-form h4 {
  margin-bottom: 14px;
  font-size: .7rem;
  font-family: var(--font-b);
  letter-spacing: .14em;
  color: var(--text-s);
  text-transform: uppercase;
}


/* ── PROFILE ───────────────────────────────────────── */

/* Profile page wrapper */
#page-profile {
  padding-top: calc(var(--nav-h) + 56px);
  padding-bottom: 80px;
  background: var(--bg);
}

/* Main profile page layout */
.profile-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 22px;
}

/* Mobile layout for profile page */
@media (max-width: 720px) {
  .profile-layout {
    grid-template-columns: 1fr;
  }
}

/* Sticky profile sidebar card */
.profile-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 28px;
  text-align: center;
  position: sticky;
  top: 80px;
  height: fit-content;
  box-shadow: var(--shadow);
}

/* Circular profile avatar */
.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gold-pale);
  border: 2px solid var(--border);
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  font-family: var(--font-d);
  color: var(--gold);
}

/* Profile name */
.profile-name {
  font-family: var(--font-d);
  font-size: 1.3rem;
  margin-bottom: 3px;
  font-weight: 300;
}

/* Profile stats container */
.profile-stats {
  display: flex;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 16px;
}

/* Single profile stat cell */
.profile-stat {
  flex: 1;
  text-align: center;
}

/* Divider between stat cells */
.profile-stat + .profile-stat {
  border-left: 1px solid var(--border);
}

/* Stat value */
.stat-val {
  font-family: var(--font-d);
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 300;
}

/* Stat label */
.stat-lbl {
  font-size: .6rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-s);
}

/* Generic content section wrapper */
.section-panel {
  margin-bottom: 22px;
}

/* Section header row */
.section-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

/* Section title */
.section-panel-head h3 {
  font-size: .7rem;
  font-family: var(--font-b);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-s);
}

/* Booking card inside profile */
.booking-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 15px 17px;
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 6px;
  transition: var(--tr);
  flex-wrap: wrap;
}

/* Hover state for booking item */
.booking-item:hover {
  border-color: var(--border2);
}

/* Date badge block for booking item */
.booking-date-badge {
  min-width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--bg3);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-d);
  flex-shrink: 0;
}

/* Day number inside booking date badge */
.booking-date-badge .day {
  font-size: 1.2rem;
  line-height: 1;
  color: var(--gold);
  font-weight: 300;
}

/* Month abbreviation inside booking date badge */
.booking-date-badge .mon {
  font-size: .55rem;
  letter-spacing: .08em;
  color: var(--text-s);
  text-transform: uppercase;
}

/* Booking text information column */
.booking-info {
  flex: 1;
  min-width: 0;
}

/* Booking title */
.booking-info h4 {
  font-size: .9rem;
  margin-bottom: 2px;
  overflow: hidden;
}

/* Booking secondary text */
.booking-info p {
  font-size: .76rem;
}

/* Booking action buttons container */
.booking-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}


/* ── AI PAGE ───────────────────────────────────────── */

/* AI page wrapper */
#page-ai {
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: 80px;
  background: var(--bg);
}

/* Centered AI layout container */
.ai-layout {
  max-width: 740px;
  margin: 0 auto;
}

/* Main AI chat component */
.ai-chat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* AI chat header */
.ai-chat-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg2);
}

/* AI assistant avatar */
.ai-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-pale);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  color: var(--gold);
}

/* AI online status text */
.ai-online {
  font-size: .7rem;
  color: #7dd894;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Green status dot */
.ai-online::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7dd894;
}

/* Scrollable messages area */
.ai-messages {
  height: 400px;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg);
}

/* Generic chat message row */
.ai-msg {
  display: flex;
  gap: 10px;
  max-width: 88%;
}

/* User message alignment */
.ai-msg.user {
  flex-direction: row-reverse;
  align-self: flex-end;
}

/* User bubble color override */
.ai-msg.user .msg-bubble {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

/* Shared message bubble styling */
.msg-bubble {
  padding: 11px 15px;
  border-radius: 16px 16px 4px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: .88rem;
  line-height: 1.55;
}

/* User bubble corner variation */
.ai-msg.user .msg-bubble {
  border-radius: 16px 16px 16px 4px;
}

/* Small message avatar */
.msg-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  flex-shrink: 0;
  align-self: flex-end;
  color: var(--gold);
}

/* User avatar styling */
.ai-msg.user .msg-avatar {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
}

/* Typing indicator container */
.typing-indicator {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 4px 0;
}

/* Typing indicator dots */
.typing-indicator span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-s);
  animation: typingB 1.2s ease infinite;
}

/* Second typing dot delay */
.typing-indicator span:nth-child(2) {
  animation-delay: .2s;
}

/* Third typing dot delay */
.typing-indicator span:nth-child(3) {
  animation-delay: .4s;
}

/* Typing dots bounce animation */
@keyframes typingB {
  0%,60%,100% {
    transform: none;
    opacity: .4;
  }
  30% {
    transform: translateY(-5px);
    opacity: 1;
  }
}

/* Suggestion chips row */
.ai-suggestions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  padding: 12px 18px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}

/* AI suggestion button */
.ai-suggestion-btn {
  padding: 6px 13px;
  border-radius: 20px;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text-m);
  font-family: var(--font-b);
  font-size: .72rem;
  cursor: pointer;
  transition: var(--tr);
}

/* Suggestion button hover */
.ai-suggestion-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Input area below chat */
.ai-input-area {
  padding: 13px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 10px;
  align-items: flex-end;
  background: var(--surface);
}

/* AI text input / textarea */
.ai-input {
  flex: 1;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  color: var(--text);
  font-family: var(--font-b);
  font-size: .88rem;
  outline: none;
  resize: none;
  max-height: 110px;
  transition: var(--tr);
}

/* Focus state for AI input */
.ai-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--glow);
}

/* AI send button */
.ai-send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
  cursor: pointer;
  color: var(--bg);
  font-size: .95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--tr);
  flex-shrink: 0;
}

/* Hover state for AI send button */
.ai-send:hover {
  background: var(--gold-l);
  transform: scale(1.06);
}

/* Disabled state for AI send button */
.ai-send:disabled {
  opacity: .4;
  cursor: not-allowed;
  transform: none;
}


/* ── COURSES ───────────────────────────────────────── */

/* Courses page wrapper */
#page-courses {
  padding-top: calc(var(--nav-h) + 56px);
  padding-bottom: 80px;
  background: var(--bg);
}

/* Contact/info bar above the courses grid */
.courses-contact-bar {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

/* Text inside the contact bar */
.courses-contact-bar p {
  margin: 0;
  font-size: .9rem;
  color: var(--text-m);
}

/* Row of contact links */
.courses-contact-bar .contact-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

/* Individual contact link */
.contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  color: var(--gold);
  font-family: var(--font-b);
  text-decoration: none;
  transition: var(--tr);
}

/* Hover state for contact links */
.contact-link:hover {
  color: var(--gold-l);
}

/* Responsive grid of course cards */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
  background: transparent;
}

/* Individual course card */
.course-card {
  background: linear-gradient(180deg, rgba(33,31,24,.98) 0%, rgba(20,18,16,.98) 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--tr);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 12px 40px rgba(0,0,0,.34);
  position: relative;
}

/* Decorative gradient border overlay */
.course-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 22px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(232,201,122,.30), rgba(201,168,76,.08), transparent 70%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Hover animation for course card */
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 52px rgba(0,0,0,.48);
  border-color: var(--border2);
}

/* Course media/image area */
.course-card-photo {
  aspect-ratio: 16/9;
  background: radial-gradient(circle at top, rgba(201,168,76,.12), transparent 45%), var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

/* Course image */
.course-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

/* Zoom image on course card hover */
.course-card:hover .course-card-photo img {
  transform: scale(1.05);
}

/* Main content area of the course card */
.course-card-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Footer area inside the course card */
.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid rgba(201,168,76,.16);
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
}

/* Course level label */
.course-level {
  font-size: .65rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

/* Course title */
.course-title {
  font-family: var(--font-d);
  font-size: 1.4rem;
  margin-bottom: 4px;
  font-weight: 300;
  color: var(--text);
}

/* Course subtitle */
.course-subtitle {
  font-size: .84rem;
  color: var(--text-s);
  margin-bottom: 14px;
}

/* Course description */
.course-desc {
  font-size: .88rem;
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}

/* Metadata row */
.course-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

/* Single metadata item */
.course-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  color: var(--text-m);
}

/* Includes section wrapper */
.course-includes {
  margin-bottom: 20px;
}

/* Includes section title */
.course-includes-title {
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-s);
  margin-bottom: 10px;
}

/* Single included item */
.course-include-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .84rem;
  color: var(--text-m);
  margin-bottom: 6px;
}

/* Decorative bullet before include item */
.course-include-item::before {
  content: '✦';
  color: var(--gold);
  font-size: .55rem;
  flex-shrink: 0;
}

/* Duplicate course footer rule kept as-is */
.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}

/* Course price styling */
.course-price {
  font-family: var(--font-d);
  font-size: 1.6rem;
  color: var(--gold);
  font-weight: 300;
}