/* =============================================
   FOREVR LASH LOUNGE — Stylesheet
   Palette: warm cream / near-black / dusty rose
   Display: Playfair Display (bold editorial serif, 900w)
   ============================================= */

:root {
  --bg:           #F6F2EE;
  --bg-tinted:    #EDE8E3;
  --text:         #1A1A1A;
  --text-muted:   #6B6461;
  --accent:       #C4A49B;
  --accent-light: #EAD9D4;
  --accent-dark:  #A08078;
  --border:       #1A1A1A;
  --border-light: #D8CFC9;
  --white:        #FDFCFB;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Jost', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

strong {
  font-weight: 600;
}

/* =============================================
   KEYFRAMES
   ============================================= */

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

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes ambientFloat {
  0%, 100% {
    transform: scale(1) translate(0%, 0%);
    opacity: 0.45;
  }
  33% {
    transform: scale(1.06) translate(-1.5%, 2%);
    opacity: 0.32;
  }
  66% {
    transform: scale(1.04) translate(1.5%, -1%);
    opacity: 0.4;
  }
}

@keyframes underlineGrow {
  from { width: 0; opacity: 0; }
  to   { width: 48px; opacity: 1; }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* =============================================
   SCROLL REVEAL
   ============================================= */

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 1.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   NAVIGATION
   ============================================= */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: var(--bg);
  border-bottom: 1px solid var(--border-light);
  animation: fadeIn 0.6s ease both;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-logo-accent {
  color: var(--accent);
  font-style: italic;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  padding-bottom: 2px;
  transition: color 0.25s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  width: 100%;
}

/* =============================================
   HERO
   ============================================= */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  background-color: var(--bg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, var(--accent-light) 0%, transparent 70%);
  pointer-events: none;
  animation: ambientFloat 12s ease-in-out infinite;
}

.hero-inner {
  position: relative;
  max-width: 780px;
}

.hero-location {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
  animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.2s;
}

.hero-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 0.88;
  margin-bottom: 32px;
}

.wm-forevr,
.wm-lash,
.wm-lounge {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  text-transform: uppercase;
  display: block;
}

.wm-forevr {
  font-size: clamp(4rem, 12vw, 8.5rem);
  letter-spacing: 0.06em;
  color: var(--text);
}

.wm-lash {
  font-size: clamp(4.5rem, 14vw, 10rem);
  letter-spacing: 0.04em;
  color: var(--accent);
  font-style: italic;
}

.wm-lounge {
  font-size: clamp(3.8rem, 11vw, 8rem);
  letter-spacing: 0.08em;
  color: var(--text);
}

.hero-tagline {
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 40px;
  font-weight: 300;
  animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 1.05s;
}

.hero .btn-primary {
  display: inline-block;
  animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 1.2s;
}

/* =============================================
   BUTTON
   ============================================= */

.btn-primary {
  display: inline-block;
  padding: 14px 44px;
  border: 1.5px solid var(--text);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  background: linear-gradient(to right, var(--text) 50%, transparent 50%);
  background-size: 200% 100%;
  background-position: right center;
  transition:
    background-position 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
  background-position: left center;
  color: var(--bg);
}

/* =============================================
   NOTICE BANNER
   ============================================= */

.notice-banner {
  background: var(--text);
  color: var(--bg);
  text-align: center;
  padding: 14px 24px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  font-weight: 400;
  animation: fadeIn 0.6s ease both;
  animation-delay: 1.5s;
}

.notice-banner a {
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.notice-banner a:hover {
  color: var(--accent);
}

/* =============================================
   SECTIONS
   ============================================= */

.section {
  padding: 96px 24px;
}

.section--tinted {
  background-color: var(--bg-tinted);
}

.container {
  max-width: 1160px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 64px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  height: 1.5px;
  background: var(--accent);
  margin: 16px auto 0;
  width: 0;
  opacity: 0;
  transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s,
              opacity 0.4s ease 0.3s;
}

.section-title.is-visible::after {
  width: 48px;
  opacity: 1;
}

/* =============================================
   SERVICE CATEGORIES
   ============================================= */

.service-category {
  margin-bottom: 72px;
}

.category-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 14px;
  margin-bottom: 32px;
}

/* =============================================
   SERVICE GRID
   ============================================= */

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.service-grid--narrow {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  max-width: 680px;
}

/* =============================================
   SERVICE CARD
   ============================================= */

.service-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  overflow: hidden;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition:
    border-color 0.3s,
    box-shadow 0.3s,
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(196, 164, 155, 0.18);
  transform: translateY(-4px);
}

.service-card.featured {
  border-color: var(--text);
}

.service-card--accent {
  background: var(--accent-light);
  border-color: var(--accent);
}

.service-card-img {
  display: block;
  width: calc(100% + 52px);
  margin: -28px -26px 22px;
  height: 200px;
  object-fit: cover;
  object-position: center;
}

.service-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.service-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.service-badge {
  flex-shrink: 0;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--text);
  color: var(--bg);
  padding: 4px 10px;
  margin-top: 2px;
}

.service-card--accent .service-badge {
  background: var(--accent-dark);
}

.service-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

.service-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.service-duration {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.service-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.25s;
}

.service-card:hover .service-price {
  color: var(--accent-dark);
}

/* =============================================
   POLICIES
   ============================================= */

.policies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

.policy-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition:
    border-color 0.3s,
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s;
}

.policy-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(196, 164, 155, 0.14);
}

.policy-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.policy-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.policy-disclaimer {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--accent-dark);
  font-style: italic;
}

/* =============================================
   CONTACT
   ============================================= */

.contact-container {
  text-align: center;
}

.contact-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: -40px;
  margin-bottom: 56px;
}

.contact-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 28px 40px;
  border: 1px solid var(--border-light);
  background: var(--white);
  min-width: 220px;
  transition:
    border-color 0.3s,
    box-shadow 0.3s,
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-item:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 24px rgba(196, 164, 155, 0.16);
  transform: translateY(-4px);
}

.contact-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.25s;
}

.contact-item:hover .contact-value {
  color: var(--accent-dark);
}

/* =============================================
   FOOTER
   ============================================= */

.footer {
  background: var(--text);
  color: var(--bg);
  padding: 48px 24px;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.footer-location {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 242, 238, 0.5);
}

.footer-copy {
  font-size: 0.7rem;
  color: rgba(246, 242, 238, 0.35);
  margin-top: 8px;
}

/* =============================================
   HAMBURGER + MOBILE NAV DRAWER
   ============================================= */

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transform-origin: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-drawer {
  position: fixed;
  top: 49px;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border-light);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 99;
  display: none;
}

.nav-drawer.is-open {
  max-height: 240px;
}

.nav-drawer-links {
  list-style: none;
  padding: 8px 0 16px;
}

.nav-drawer-links li a {
  display: block;
  padding: 16px 24px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
  transition: color 0.2s, background 0.2s;
}

.nav-drawer-links li:last-child a {
  border-bottom: none;
}

.nav-drawer-links li a:hover {
  color: var(--text);
  background: var(--accent-light);
}


/* =============================================
   LASH STYLE QUIZ
   ============================================= */

.quiz-wrapper {
  position: relative;
  overflow: hidden;
  margin-top: 56px;
  border: 1px solid var(--border-light);
  background: var(--white);
  padding: 120px 44px;
}

.quiz-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  filter: blur(2.2px);
}

.quiz-intro {
  position: relative;
  z-index: 1;
  text-align: center;
}

.quiz-prompt {
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 12px;
}

.quiz-heading {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.quiz-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.btn-quiz-toggle {
  display: inline-block;
  padding: 13px 40px;
  border: 1.5px solid var(--text);
  background: linear-gradient(to right, var(--text) 50%, transparent 50%);
  background-size: 200% 100%;
  background-position: right center;
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  cursor: pointer;
  transition:
    background-position 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-quiz-toggle:hover {
  background-position: left center;
  color: var(--bg);
}

.quiz-body {
  position: relative;
  z-index: 1;
  display: none;
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid var(--border-light);
}

.quiz-body.is-open {
  display: block;
}

.quiz-progress {
  height: 1.5px;
  background: var(--border-light);
  margin-bottom: 36px;
}

.quiz-progress-bar {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.quiz-step {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  max-width: 580px;
  margin: 0 auto;
}

.quiz-step.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.quiz-q-count {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.quiz-question {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.35;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quiz-option {
  padding: 14px 20px;
  border: 1px solid var(--border-light);
  background: transparent;
  font-family: 'Jost', sans-serif;
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s;
}

.quiz-option:hover {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--text);
  transform: translateX(5px);
}

.quiz-result {
  display: none;
  text-align: center;
  animation: fadeUp 0.4s ease both;
}

.quiz-result.is-visible {
  display: block;
}

.quiz-result-img {
  display: block;
  width: 100%;
  max-width: 420px;
  height: 260px;
  object-fit: cover;
  object-position: center;
  margin: 0 auto 28px;
  border: 1px solid var(--border-light);
}

.quiz-result-label {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 10px;
}

.quiz-result-name {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.quiz-result-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 24px;
  line-height: 1.7;
}

.quiz-result-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 18px 0;
  margin-bottom: 28px;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.quiz-result-meta span {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.quiz-result-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem !important;
  font-weight: 600;
  color: var(--text) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.quiz-result-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.quiz-retake {
  background: none;
  border: none;
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.quiz-retake:hover {
  color: var(--text);
}

/* =============================================
   BOOK BUTTON (on cards)
   ============================================= */

.btn-book {
  margin-top: 8px;
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border-light);
  font-family: 'Jost', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  background: linear-gradient(to right, var(--text) 50%, transparent 50%);
  background-size: 200% 100%;
  background-position: right center;
  color: var(--text-muted);
  transition:
    background-position 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s;
}

.btn-book:hover {
  background-position: left center;
  color: var(--bg);
  border-color: var(--text);
}

/* =============================================
   MODAL OVERLAY
   ============================================= */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.55);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--bg);
  width: 100%;
  max-width: 820px;
  max-height: 92vh;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 52px;
  position: relative;
  transform: translateY(28px) scale(0.98);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.is-open .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-muted);
  transition: color 0.2s, transform 0.2s;
}

.modal-close:hover {
  color: var(--text);
  transform: rotate(90deg);
}

/* ---- Modal Header ---- */

.modal-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.modal-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.modal-service-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* =============================================
   BOOKING FORM
   ============================================= */

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
  width: 100%;
}

.booking-form.is-hidden {
  display: none;
}

.form-row {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.form-row > * {
  min-width: 0;
}

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

.form-row--2 {
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.req {
  color: var(--accent-dark);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  background: var(--white);
  font-family: 'Jost', sans-serif;
  font-size: 0.88rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(196, 164, 155, 0.15);
}

.field-error {
  font-size: 0.68rem;
  color: #a84040;
  min-height: 14px;
  letter-spacing: 0.02em;
}

/* =============================================
   CALENDAR
   ============================================= */

.calendar {
  border: 1px solid var(--border-light);
  background: var(--white);
  padding: 16px;
  user-select: none;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

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

.cal-month {
  font-family: 'Playfair Display', serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.cal-nav {
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-muted);
  padding: 0 4px;
  transition: color 0.2s;
}

.cal-nav:hover {
  color: var(--text);
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  width: 100%;
}

.cal-grid > * {
  min-width: 0;
}

.cal-day-label {
  text-align: center;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-bottom: 8px;
}

.cal-cell {
  text-align: center;
  padding: 8px 2px;
  font-size: 0.8rem;
  cursor: default;
  transition: background 0.15s, color 0.15s;
}

.cal-active {
  cursor: pointer;
}

.cal-active:hover:not(.cal-selected) {
  background: var(--accent-light);
}

.cal-past {
  color: var(--border-light);
}

.cal-today:not(.cal-selected) {
  font-weight: 700;
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cal-selected {
  background: var(--text) !important;
  color: var(--bg) !important;
  font-weight: 600;
}

/* =============================================
   TIME SLOTS
   ============================================= */

.time-slots {
  border: 1px solid var(--border-light);
  background: var(--white);
  padding: 14px;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  width: 100%;
  min-width: 0;
}

.time-slots::-webkit-scrollbar {
  width: 4px;
}
.time-slots::-webkit-scrollbar-track {
  background: transparent;
}
.time-slots::-webkit-scrollbar-thumb {
  background: var(--border-light);
}

.time-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  width: 100%;
}

.time-grid > * {
  min-width: 0;
}

.time-slot {
  padding: 9px 4px;
  border: 1px solid var(--border-light);
  background: transparent;
  font-family: 'Jost', sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  text-align: center;
}

.time-slot:hover:not(.time-selected) {
  border-color: var(--accent);
  color: var(--text);
  background: var(--accent-light);
}

.time-selected {
  background: var(--text) !important;
  border-color: var(--text) !important;
  color: var(--bg) !important;
}

/* =============================================
   SUBMIT BUTTON
   ============================================= */

.btn-submit {
  padding: 15px;
  border: 1.5px solid var(--text);
  background: linear-gradient(to right, var(--text) 50%, transparent 50%);
  background-size: 200% 100%;
  background-position: right center;
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  cursor: pointer;
  transition:
    background-position 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-submit:hover {
  background-position: left center;
  color: var(--bg);
}

/* =============================================
   SUCCESS STATE
   ============================================= */

.booking-success {
  display: none;
  text-align: center;
  padding: 56px 24px;
}

.booking-success.is-visible-block {
  display: block;
}

.success-icon {
  width: 60px;
  height: 60px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-dark);
  margin: 0 auto 24px;
}

.booking-success h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.booking-success p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* =============================================
   RESPONSIVE — TABLET (max-width: 768px)
   ============================================= */

@media (max-width: 768px) {
  .nav {
    padding: 14px 20px;
    animation: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  .nav--hidden {
    animation: none;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    border-color: transparent;
  }

  .nav--hidden + .nav-drawer {
    opacity: 0;
    pointer-events: none;
    border-color: transparent;
  }

  .nav-links {
    gap: 18px;
  }

  .nav-links a {
    font-size: 0.68rem;
  }

  .hero {
    min-height: 100dvh;
    padding: 90px 20px 56px;
  }

  .hero-tagline {
    margin-bottom: 32px;
  }

  .section {
    padding: 64px 20px;
  }

  .section-title {
    margin-bottom: 40px;
  }

  .category-title {
    font-size: 1.5rem;
  }

  .service-grid,
  .service-grid--narrow {
    grid-template-columns: 1fr;
  }

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

  .contact-sub {
    margin-top: -24px;
  }

  .contact-cards {
    flex-direction: column;
    align-items: center;
  }

  .contact-item {
    width: 100%;
    max-width: 100%;
    padding: 22px 20px;
  }

  .quiz-wrapper {
    padding: 32px 20px;
  }

  .quiz-heading {
    font-size: 1.5rem;
  }

  .quiz-option {
    padding: 16px 18px;
  }

  .modal {
    max-height: 92vh;
    padding: 32px 20px 40px;
  }

  /* Stack all form fields into a single column */
  .form-row,
  .form-row--3,
  .form-row--2 {
    display: flex;
    flex-direction: column;
  }

  .form-group {
    width: 100%;
  }

  .calendar,
  .time-slots {
    width: 100%;
  }

  .cal-cell {
    padding: 10px 2px;
    font-size: 0.82rem;
  }

  .time-slot {
    padding: 12px 4px;
    font-size: 0.78rem;
  }

  .time-slots {
    max-height: none;
  }
}

/* =============================================
   RESPONSIVE — MOBILE (max-width: 480px)
   ============================================= */

@media (max-width: 480px) {
  .reveal {
    transition:
      opacity 2.2s cubic-bezier(0.16, 1, 0.3, 1),
      transform 2.2s cubic-bezier(0.16, 1, 0.3, 1);
  }

  /* Nav */
  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-drawer {
    display: block;
  }

  /* Hero */
  .hero {
    padding: 76px 16px 48px;
  }

  .hero-tagline {
    font-size: 0.82rem;
    margin-bottom: 24px;
  }

  /* Sections */
  .section {
    padding: 48px 16px;
  }

  .section-title {
    font-size: 2rem;
    letter-spacing: 0.04em;
    margin-bottom: 28px;
  }

  .category-title {
    font-size: 1.3rem;
    letter-spacing: 0.05em;
  }

  .service-category {
    margin-bottom: 48px;
  }

  .service-card {
    padding: 20px 16px;
  }

  .service-card-img {
    width: calc(100% + 32px);
    margin: -20px -16px 18px;
  }

  /* Disable translateY lift on touch to prevent sticky hover states */
  .service-card:hover,
  .policy-card:hover,
  .contact-item:hover {
    transform: none;
  }

  /* Notice banner */
  .notice-banner {
    font-size: 0.65rem;
    letter-spacing: 0.07em;
    padding: 12px 16px;
    line-height: 1.6;
  }

  /* Contact */
  .contact-sub {
    margin-top: -12px;
    font-size: 0.82rem;
    margin-bottom: 32px;
  }

  .contact-item {
    padding: 18px 16px;
  }

  .contact-value {
    font-size: 0.95rem;
  }

  /* Quiz */
  .quiz-wrapper {
    padding: 72px 16px;
    margin-top: 36px;
  }

  .quiz-heading {
    font-size: 1.3rem;
  }

  .quiz-sub {
    font-size: 0.8rem;
  }

  .quiz-question {
    font-size: 1.05rem;
    margin-bottom: 18px;
  }

  .quiz-option {
    padding: 15px 14px;
    font-size: 0.86rem;
  }

  .quiz-option:hover {
    transform: none;
  }

  .quiz-result-name {
    font-size: 1.4rem;
  }

  .quiz-result-desc {
    font-size: 0.84rem;
  }

  .quiz-result-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .btn-submit {
    width: 100%;
  }

  /* Modal */
  .modal-overlay {
    padding: 16px;
  }

  .modal {
    max-height: 92vh;
    padding: 24px 16px 32px;
  }

  .modal-service-name {
    font-size: 1.3rem;
  }

  /* Time slots: 3 columns on small screens */
  .time-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .time-slot {
    padding: 11px 2px;
    font-size: 0.68rem;
  }

  .time-slots {
    max-height: none;
  }
}

/* =============================================
   REDUCED MOTION
   ============================================= */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
