/* ==========================================================================
   The House of Minds — Shared Base Styles
   Mobile-first. Breakpoints: 480 / 768 / 1024 / 1280
   ========================================================================== */

:root {
  --deep-forest: #1e2719;
  --dark-olive: #2f4637;
  --muted-sage: #a8b5a2;

  --warm-ivory: #f4e8dc;
  --soft-beige: #e8e1d6;
  --sand: #dccfbc;

  --soft-gold: #c5a76a;
  --warm-brown: #7d6654;

  --dark-charcoal: #2d2d2d;
  --muted-grey: #707070;
  --white: #ffffff;

  --font-heading: "Playfair Display", "Cormorant Garamond", serif;
  --font-subheading: "Lora", Georgia, serif;
  --font-body: "Inter", "Jost", system-ui, -apple-system, sans-serif;

  --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: all 0.2s ease;

  --container-max: 1240px;
  --section-pad: clamp(56px, 9vw, 120px);
  --gutter: clamp(20px, 5vw, 48px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--dark-charcoal);
  background: var(--warm-ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
picture {
  display: contents;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-heading);
  font-weight: 600;
  margin: 0;
  color: var(--deep-forest);
}
p {
  margin: 0;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
svg {
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  line-height: 1.15;
}
.section-head p {
  margin-top: 14px;
  color: var(--muted-grey);
  font-size: 1.02rem;
}

/* Buttons — matches original design language (rounded-rect, not pill) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: var(--transition-smooth);
  white-space: nowrap;
}
.btn-primary {
  background-color: var(--soft-gold);
  color: var(--deep-forest);
}
.btn-primary2 {
  background-color: var(--soft-gold);
  color: var(--deep-forest);
}
.btn-primary2:hover {
  /* background-color: var(--warm-ivory); */
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}
.btn-primary:hover {
  background-color: var(--warm-ivory);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}
.btn-dark {
  background-color: var(--deep-forest);
  color: var(--white);
}
.btn-dark:hover {
  background-color: var(--dark-olive);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(30, 44, 34, 0.15);
}
.btn-outline {
  background: transparent;
  color: var(--deep-forest);
  border: 1.5px solid var(--deep-forest);
}
.btn-outline:hover {
  background: var(--deep-forest);
  color: var(--warm-ivory);
}
.btn-nav-cta {
  background-color: var(--soft-gold);
  color: var(--deep-forest);
  font-size: 0.8rem;
  padding: 10px 20px;
  border: 1px solid var(--soft-gold);
}
.btn-nav-cta:hover {
  background-color: var(--warm-ivory);
  color: var(--deep-forest);
  border-color: var(--warm-ivory);
}

.back-to-top {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(82px, calc(env(safe-area-inset-bottom) + 62px));
  z-index: 2147483645;
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--soft-gold);
  color: var(--deep-forest);
  box-shadow: 0 14px 30px rgba(30, 39, 25, 0.24);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(16px) scale(0.92);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition:
    opacity 0.28s ease,
    visibility 0.28s ease,
    transform 0.28s cubic-bezier(0.25, 1, 0.5, 1),
    background-color 0.28s ease,
    box-shadow 0.28s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  touch-action: manipulation;
}

.back-to-top:hover {
  background: var(--warm-ivory);
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 18px 36px rgba(30, 39, 25, 0.3);
}

.back-to-top:focus-visible {
  outline: 2px solid var(--warm-ivory);
  outline-offset: 4px;
}

.back-to-top svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

@media (max-width: 560px) {
  .back-to-top {
    right: max(16px, env(safe-area-inset-right));
    bottom: max(74px, calc(env(safe-area-inset-bottom) + 56px));
    width: 44px;
    height: 44px;
  }
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 2147483645;
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.35);
  text-decoration: none;
  transform: translateY(0) scale(1);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition:
    background-color 0.28s ease,
    transform 0.28s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.28s ease;
}

.whatsapp-float:hover {
  background: #1ebe5d;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 18px 36px rgba(37, 211, 102, 0.48);
}

.whatsapp-float:focus-visible {
  outline: 2px solid #25D366;
  outline-offset: 4px;
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

@media (max-width: 560px) {
  .whatsapp-float {
    right: max(16px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
    width: 44px;
    height: 44px;
  }
}

/* Reveal animation */
.reveal,
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.reveal.show,
.animate-on-scroll.appear {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 5000;
  padding: 24px 0;
  background: transparent;
  transition:
    padding 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    background-color 0.4s ease,
    box-shadow 0.4s ease;
}
.main-header.scrolled {
  padding: 16px 0;
  background-color: var(--deep-forest);
}
.main-header.over-dark-section,
.main-header.over-dark-section.scrolled {
  background-color: transparent;
  box-shadow: none;
}
.header-logo,
.nav-menu a,
.mobile-menu-toggle .bar {
  /* filter: drop-shadow(0 1px 4px rgba(0,0,0,0.45)); */
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

.main-header.scrolled .header-logo,
.main-header.scrolled .nav-menu a,
.main-header.scrolled .mobile-menu-toggle .bar {
  filter: brightness(0) invert(1);
}

.stack-stack {
  position: relative;
  isolation: isolate;
}

.stack-stack.gsap-stack-active {
  height: 100svh;
  min-height: 100svh;
  overflow: hidden;
}

.stack-stack.gsap-stack-active .stack-section {
  position: absolute;
  inset: 0;
}

.stack-section {
  position: relative;
  width: 100%;
  min-height: 80svh;
  overflow: hidden;
  isolation: isolate;
}

.stack-section.stack-end {
  min-height: 100svh;
  overflow: hidden;
}

.header-container {
  max-width: 1300px;
  margin-inline: auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.header-logo {
  width: 140px;
  height: auto;
  display: block;
  transition: var(--transition-smooth);
}
.logo-link:hover .header-logo {
  transform: scale(1.05);
}

.nav-menu-logo,
.nav-menu-brand,
.nav-menu-contact {
  display: none;
}

.nav-menu ul {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 36px);
}
.nav-menu a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  position: relative;
  padding: 8px 0;
  transition: var(--transition-fast);
}
.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: var(--soft-gold);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}
.nav-menu a.active,
.nav-menu a:hover {
  color: var(--white);
}
.nav-menu a.active::after,
.nav-menu a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 26px;
  z-index: 1100;
  background: none;
  border: none;
}
.mobile-menu-toggle .bar {
  height: 2px;
  width: 100%;
  background-color: var(--white);
  transition: var(--transition-smooth);
}

@media (max-width: 900px) {
  .main-header {
    z-index: 2147483646;
  }
  .mobile-menu-toggle {
    display: flex;
    position: relative;
    z-index: 100000;
  }
  body.menu-open .mobile-menu-toggle {
    position: fixed;
    top: max(20px, env(safe-area-inset-top));
    right: 20px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border-radius: 999px;
    background: rgba(30, 39, 25, 0.92);
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
    z-index: 2147483648;
    pointer-events: auto;
  }
  .header-cta {
    display: none;
  }
  .nav-menu {
    position: fixed;
    inset: 0 0 0 auto;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(30, 39, 25, 0.98);
    backdrop-filter: blur(10px);
    transform: translateX(100%);
    transition:
      transform 0.45s cubic-bezier(0.25, 1, 0.5, 1),
      opacity 0.35s ease;
    opacity: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: max(28px, env(safe-area-inset-top) + 8px) 24px max(28px, env(safe-area-inset-bottom) + 12px);
    pointer-events: none;
    z-index: 2147483644;
  }
  .nav-menu.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-menu ul {
    flex: 1;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    width: 100%;
    margin-top: clamp(28px, 6vh, 56px);
  }
  .nav-menu li {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    border-bottom: 1px solid rgba(220, 207, 188, 0.18);
  }
  .nav-menu a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    letter-spacing: 0.05em;
    padding: 18px 0;
    width: 100%;
    text-align: left;
  }
  .nav-menu a::after {
    display: none;
  }
  .nav-menu a.active,
  .nav-menu a:hover {
    color: var(--soft-gold);
  }
  body.menu-open {
    overflow: hidden;
    touch-action: none;
  }

  .nav-menu-logo {
    display: block;
    flex-shrink: 0;
  }
  .nav-menu-logo img {
    height: 52px;
    width: auto;
    display: block;
  }

  .nav-menu-brand {
    display: block;
    margin-top: 12px;
    flex-shrink: 0;
  }
  .nav-menu-brand-title {
    color: var(--warm-ivory);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    line-height: 1.1;
  }
  .nav-menu-brand-subtitle {
    margin-top: 6px;
    color: rgba(220, 207, 188, 0.72);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .nav-menu-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    flex-shrink: 0;
    width: 100%;
    margin-top: auto;
    padding-top: 24px;
  }
  .nav-menu-contact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
  }
  .nav-menu-contact-label {
    color: var(--soft-gold);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  .nav-menu-contact a,
  .nav-menu-contact span:not(.nav-menu-contact-label) {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    padding: 0;
    line-height: 1.5;
    text-align: left;
  }
  .nav-menu-contact a:hover {
    color: var(--soft-gold);
  }
}

/* Extra-short viewports (small phones / landscape): tighten spacing so
   the full menu is reachable and nothing gets clipped at the bottom. */
@media (max-width: 900px) and (max-height: 700px) {
  .nav-menu {
    padding-top: max(20px, env(safe-area-inset-top) + 8px);
    padding-bottom: max(20px, env(safe-area-inset-bottom) + 8px);
  }
  .nav-menu ul {
    margin-top: clamp(14px, 3vh, 28px);
  }
  .nav-menu li {
    /* shrink row height a bit so more items fit before scrolling kicks in */
  }
  .nav-menu a {
    padding: 12px 0;
    font-size: 1rem;
  }
  .nav-menu-contact {
    margin-top: 16px;
    padding-top: 16px;
    gap: 10px;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.main-footer {
  background: var(--deep-forest);
  color: var(--sand);
  padding: clamp(30px, 4vw, 40px) 0 20px;
  position: relative;
  z-index: 6000;
  border-top: solid var(--soft-gold) 1px;
}
.footer-container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
  gap: clamp(24px, 4vw, 40px);
}
.footer-logo img {
  height: 50px;
  filter: brightness(0) invert(1);
  margin-bottom: 10px;
}
.footer-tagline {
  color: var(--muted-sage);
  font-size: 0.85rem;
  line-height: 1.5;
}
.footer-links h4,
.footer-contact h4,
.footer-newsletter h4 {
  color: var(--warm-ivory);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--sand);
  transition: var(--transition-fast);
}
.footer-links a:hover {
  color: var(--soft-gold);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-contact a {
  font-size: 0.85rem;
  color: var(--sand);
  transition: var(--transition-fast);
}
.footer-contact a:hover {
  color: var(--soft-gold);
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.footer-social a {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(220, 207, 188, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}
.footer-social svg {
  width: 14px;
  height: 14px;
}
.footer-social a:hover {
  background: var(--soft-gold);
  border-color: var(--soft-gold);
  color: var(--deep-forest);
}
.footer-newsletter p {
  font-size: 0.82rem;
  color: var(--muted-sage);
  margin-bottom: 10px;
  line-height: 1.5;
}
.newsletter-form {
  display: flex;
  gap: 8px;
}
.newsletter-form input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(220, 207, 188, 0.3);
  background: rgba(255, 255, 255, 0.05);
  color: var(--warm-ivory);
  font-size: 0.82rem;
  min-width: 0;
}
.newsletter-form input::placeholder {
  color: var(--muted-sage);
}
.newsletter-form button {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  background: var(--soft-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}
.newsletter-form button svg {
  width: 16px;
  height: 16px;
  color: var(--deep-forest);
}
.newsletter-form button:hover {
  background: var(--warm-ivory);
}
.newsletter-feedback {
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--muted-sage);
  min-height: 1em;
}
.newsletter-feedback.success {
  color: var(--soft-gold);
}

.footer-divider {
  max-width: var(--container-max);
  margin: 20px auto 14px;
  padding-inline: var(--gutter);
  border-top: 1px solid rgba(220, 207, 188, 0.15);
}
.footer-bottom {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  text-align: center;
}
.footer-bottom-leaf {
  width: 36px;
  height: 14px;
  color: var(--soft-gold);
}
.footer-bottom p {
  font-size: 0.78rem;
  color: var(--muted-sage);
}

@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .newsletter-form {
    max-width: 340px;
  }
  .footer-logo img {
    height: 42px;
  }
}
.request-success {
  width: 100%;

  min-height: 400px;

  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  text-align: center;

  padding: 40px 20px;

  animation: requestSuccessFade 0.6s ease;
}

.request-success-icon {
  width: 76px;
  height: 76px;

  display: flex;

  align-items: center;
  justify-content: center;

  margin-bottom: 24px;

  border-radius: 50%;

  background: rgba(197, 167, 106, 0.18);

  color: var(--soft-gold);
}

.request-success-icon svg {
  width: 36px;
  height: 36px;
}

.request-success-eyebrow {
  margin-bottom: 12px;

  color: var(--soft-gold);

  font-size: 0.72rem;

  font-weight: 600;

  letter-spacing: 0.18em;
}

.request-success h3 {
  max-width: 480px;

  margin: 0 0 18px;

  color: var(--deep-forest);

  font-family: var(--font-heading);

  font-size: clamp(2rem, 4vw, 3rem);

  line-height: 1.15;
}

.request-success > p {
  max-width: 470px;

  margin: 0;

  color: var(--muted-grey);

  font-size: 1rem;

  line-height: 1.7;
}

.request-success-note {
  margin-top: 28px;

  padding: 12px 22px;

  border-radius: 999px;

  background: rgba(47, 70, 55, 0.08);

  color: var(--dark-olive);

  font-size: 0.88rem;

  font-weight: 500;
}

@keyframes requestSuccessFade {
  from {
    opacity: 0;

    transform: translateY(15px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}

@media (max-width: 576px) {
  .request-success {
    min-height: 360px;

    padding: 35px 15px;
  }

  .request-success-icon {
    width: 68px;

    height: 68px;
  }

  .request-success h3 {
    font-size: 2rem;
  }

  .request-success > p {
    font-size: 0.92rem;
  }
}

body.modal-open,
body.menu-open.modal-open {
  overflow: hidden;
  touch-action: none;
}

.book-session-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 32px);
  z-index: 2147483647;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.32s ease,
    visibility 0.32s ease;
}
.book-session-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.book-session-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 28, 22, 0.7);
  backdrop-filter: blur(10px);
}
.book-session-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: min(88svh, 920px);
  overflow: hidden;
  border-radius: 28px;
  background: var(--warm-ivory, #f4e8dc);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
  transform: translateY(24px) scale(0.96);
  transition: transform 0.32s cubic-bezier(0.25, 1, 0.5, 1);
}
.book-session-modal.is-open .book-session-modal__dialog {
  transform: translateY(0) scale(1);
}
.book-session-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.88);
  color: var(--deep-forest, #1e2719);
  font-size: 1.8rem;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(30, 39, 25, 0.14);
}
.book-session-modal__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.92fr);
  min-height: min(76svh, 640px);
}
.book-session-modal__form-pane {
  padding: clamp(28px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.book-session-modal__eyebrow {
  margin: 0;
  color: var(--soft-gold, #c5a76a);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.book-session-modal__title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}
.book-session-modal__copy {
  margin: 0;
  color: var(--muted-grey, #707070);
  font-size: 0.98rem;
  line-height: 1.7;
  max-width: 40ch;
}
.book-session-modal__form {
  display: grid;
  gap: 14px;
}
.book-session-modal__field {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border: 1px solid rgba(47, 70, 55, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--deep-forest, #1e2719);
  font: inherit;
}
.book-session-modal__field:focus {
  outline: none;
  border-color: rgba(197, 167, 106, 0.95);
  box-shadow: 0 0 0 4px rgba(197, 167, 106, 0.14);
  background: #fff;
}
.book-session-modal__textarea {
  min-height: 105px;
  resize: vertical;
}
.book-session-modal__submit {
  width: 100%;
  margin-top: 6px;
}
.book-session-modal__status {
  min-height: 1.4em;
  color: var(--muted-grey, #707070);
  font-size: 0.88rem;
}

/* =========================================================
   BOOK SESSION IMAGE
========================================================= */

.book-session-modal__media {
  position: relative;

  width: 100%;

  min-width: 0;

  min-height: 640px;

  background-image:
    linear-gradient(180deg, rgba(30, 39, 25, 0.03), rgba(30, 39, 25, 0.15)),
    url("../assets/home/Book-session-image.jpeg");

  background-position: center center;

  background-size: cover;

  background-repeat: no-repeat;

  overflow: hidden;
}

.book-session-modal__media::after {
  content: "";

  position: absolute;

  inset: 0;

  background: linear-gradient(
    135deg,
    rgba(30, 39, 25, 0.02),
    rgba(30, 39, 25, 0.12)
  );

  pointer-events: none;
}

@media (max-width: 900px) {
  .book-session-modal__dialog {
    max-height: 92svh;
    overflow-y: auto;
  }
  .book-session-modal__content {
    grid-template-columns: 1fr;
  }
  .book-session-modal__media {
    min-height: 190px;
    order: -1;
  }
}
@media (max-width: 560px) {
  .book-session-modal {
    padding: 12px;
  }
  .book-session-modal__dialog {
    border-radius: 22px;
  }
  .book-session-modal__close {
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
  }
  .book-session-modal__form-pane {
    padding: 26px 18px 22px;
    gap: 14px;
  }
  .book-session-modal__media {
    min-height: 145px;
  }
  .book-session-modal__copy {
    font-size: 0.9rem;
    line-height: 1.55;
  }
  .book-session-modal__field {
    padding: 12px 14px;
  }
  .book-session-modal__textarea {
    min-height: 88px;
  }
}

body.modal-open {
  overflow: hidden;
}

/* =========================================================
   BOOK SESSION SUCCESS
========================================================= */

.book-session-modal__success {
  display: none;

  width: 100%;
  min-height: 420px;

  flex-direction: column;

  align-items: center;
  justify-content: center;

  text-align: center;

  padding: 30px 10px;
}

.book-session-modal__success-icon {
  width: 76px;
  height: 76px;

  display: flex;

  align-items: center;
  justify-content: center;

  margin-bottom: 24px;

  border-radius: 50%;

  background: rgba(197, 167, 106, 0.18);

  color: var(--soft-gold);
}

.book-session-modal__success-icon svg {
  width: 36px;
  height: 36px;
}

.book-session-modal__success .book-session-modal__eyebrow {
  margin-bottom: 10px;
}

.book-session-modal__success h3 {
  margin: 8px 0 18px;

  color: var(--deep-forest);

  font-family: var(--font-heading);

  font-size: clamp(1.9rem, 3vw, 2.6rem);

  line-height: 1.15;
}

.book-session-modal__success > p {
  max-width: 430px;

  margin: 0 auto 24px;

  color: var(--muted-grey);

  font-size: 0.98rem;

  line-height: 1.7;
}

.book-session-modal__success > span {
  display: inline-flex;

  padding: 11px 20px;

  border-radius: 999px;

  background: rgba(47, 70, 55, 0.08);

  color: var(--dark-olive);

  font-size: 0.88rem;

  font-weight: 500;
}

/* =========================================================
   KEEP MODAL SIZE FIXED AFTER SUBMIT
========================================================= */

.book-session-modal__content {
  height: 640px;

  min-height: 640px;
}

.book-session-modal__form-pane {
  min-height: 640px;
}

.book-session-modal.request-sent .book-session-modal__content {
  height: 640px;

  min-height: 640px;
}

.book-session-modal.request-sent .book-session-modal__media {
  min-height: 640px;

  background-size: cover;

  background-position: center center;
}

@media (max-width: 900px) {
  .book-session-modal__content {
    height: auto;

    min-height: auto;
  }

  .book-session-modal__form-pane {
    min-height: auto;
  }

  .book-session-modal__media {
    min-height: 220px;
  }

  .book-session-modal.request-sent .book-session-modal__media {
    min-height: 220px;
  }

  .book-session-modal__success {
    min-height: 400px;
  }
}
/* ==========================================================
   SERVICES DROPDOWN
========================================================== */

.services-dropdown {
    position: relative;
}

.services-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

.services-arrow {
    width: 14px;
    height: 14px;
    transition: .3s ease;
}

.services-dropdown:hover .services-arrow {
    transform: rotate(180deg);
}

/* ===========================================================
   SERVICES MEGA MENU
=========================================================== */

.services-dropdown {
    position: relative;
}

/* Trigger */
.services-trigger {
    display: flex;
    align-items: center;
    height: 100%;
}

/* Show menu on hover */
.services-dropdown:hover .services-mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* Invisible hover bridge */
.services-mega-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -20px;
    height: 20px;
}

/* Mega Menu */
.services-mega-menu {
    position: absolute;

    top: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);

    width: 1240px;
    max-width: 92vw;

    background: linear-gradient(160deg, #1e2719 0%, #232f1d 100%);
    border: 1px solid rgba(197, 167, 106, 0.28);
    border-top: 2px solid var(--soft-gold);
    border-radius: 20px;

    padding: 40px 52px 44px;

    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(197, 167, 106, 0.04) inset;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity .3s ease,
        transform .3s cubic-bezier(0.25, 1, 0.5, 1);

    z-index: 9999;
}

.services-mega-menu__head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}
.services-mega-menu__eyebrow {
    flex-shrink: 0;
    color: var(--soft-gold);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.services-mega-menu__line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(197, 167, 106, 0.5), rgba(197, 167, 106, 0));
}

/* 6 × 2 Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);

    column-gap: 36px;
    row-gap: 26px;
}

/* Links */
.services-grid a {
    position: relative;
    display: inline-block;

    color: #f4e8dc;
    text-decoration: none;

    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.2px;

    padding-bottom: 8px;

    transition: color .25s ease;

    white-space: normal;
}
/* .services-grid a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: var(--soft-gold);
    transition: width .25s ease;
} */
.services-grid a:hover {
    color: var(--soft-gold);
}
.services-grid a:hover::after {
    width: 100%;
}

/* Tablet */
@media (max-width: 1200px) {

    .services-mega-menu {
        width: 92vw;
        padding: 34px 34px 38px;
    }

    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        column-gap: 28px;
        row-gap: 20px;
    }

}

/* Small tablet */
@media (max-width: 768px) {

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}

/* ===========================================================
   SERVICES — MOBILE (plus toggle + slide-in submenu)
=========================================================== */

.services-mobile-toggle,
.services-mobile-panel {
    display: none;
}

@media (max-width: 900px) {

    /* Desktop hover mega menu disabled on mobile */
    .services-mega-menu {
        display: none;
    }

    .services-dropdown {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }
    .services-dropdown .services-trigger {
        flex: 1;
    }

    /* Plus icon toggle button */
    .services-mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        margin-right: 4px;
        background: rgba(197, 167, 106, 0.1);
        border: 1px solid rgba(197, 167, 106, 0.3);
        border-radius: 999px;
        flex-shrink: 0;
        transition: var(--transition-fast);
    }
    .services-mobile-toggle:hover,
    .services-mobile-toggle.active {
        background: rgba(197, 167, 106, 0.22);
    }
    .plus-icon {
        position: relative;
        width: 14px;
        height: 14px;
    }
    .plus-icon span {
        position: absolute;
        background-color: var(--soft-gold);
        border-radius: 2px;
        transition: transform .3s ease;
    }
    .plus-icon span:first-child {
        top: 50%;
        left: 0;
        width: 100%;
        height: 2px;
        transform: translateY(-50%);
    }
    .plus-icon span:last-child {
        left: 50%;
        top: 0;
        width: 2px;
        height: 100%;
        transform: translateX(-50%);
    }
    .services-mobile-toggle.active .plus-icon span:last-child {
        transform: translateX(-50%) rotate(90deg) scale(0);
    }

    /* Slide-in submenu panel — sits on top of the main mobile nav */
    .services-mobile-panel {
        display: flex;
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100vh;

        background: rgba(30, 39, 25, 0.99);
        backdrop-filter: blur(10px);

        flex-direction: column;
        overflow: hidden;

        padding: max(28px, env(safe-area-inset-top) + 8px) 24px 28px;

        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);

        z-index: 2147483650;
        pointer-events: none;
    }
    .services-mobile-panel.open {
        transform: translateX(0);
        pointer-events: auto;
    }

    .services-mobile-back {
        display: flex;
        align-items: center;
        gap: 8px;
        align-self: flex-start;
        flex-shrink: 0;

        color: var(--soft-gold);
        font-size: 0.85rem;
        font-weight: 500;
        letter-spacing: 0.04em;

        padding: 10px 16px 10px 10px;
        border: 1px solid rgba(197, 167, 106, 0.3);
        border-radius: 999px;
        background: rgba(197, 167, 106, 0.08);
    }
    .services-mobile-back svg {
        stroke: var(--soft-gold);
    }

    .services-mobile-panel-title {
        flex-shrink: 0;
        margin-top: clamp(24px, 5vh, 40px);
        margin-bottom: 6px;
        color: var(--warm-ivory);
        font-family: var(--font-heading);
        font-size: 1.6rem;
    }

    .services-mobile-list {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        margin-top: 10px;
    }
    .services-mobile-list li {
        border-bottom: 1px solid rgba(220, 207, 188, 0.16);
    }
    .services-mobile-list a {
        display: block;
        padding: 16px 4px;
        color: rgba(255, 255, 255, 0.88);
        font-size: 1rem;
        letter-spacing: 0.02em;
        transition: var(--transition-fast);
    }
    .services-mobile-list a:hover,
    .services-mobile-list a:active {
        color: var(--soft-gold);
    }

}
html.menu-open,
body.menu-open {
  overflow: hidden;
  height: 100%;
}

body.menu-open {
  position: fixed;
  width: 100%;
}