/* -------------------------------------------------------------------------
 * OccultSakhi - Main Theme Stylesheet
 * Brand System: Fraunces (serif) + Figtree (sans)
 * Colors: Purple (#6d4fad), Electric Yellow (#fff300), Bindi Red (#d42027), Cream (#f7f4ed)
 * ------------------------------------------------------------------------- */

:root {
  /* Brand Palette */
  --brand-50: #f4f0fb;
  --brand-100: #e7dff5;
  --brand-200: #cfc0eb;
  --brand-300: #b29adc;
  --brand-400: #9074c6;
  --brand-500: #7c5cb8;
  --brand-600: #6d4fad; /* Primary Brand Purple */
  --brand-700: #5a4190;
  --brand-800: #483472;
  --brand-900: #372757;
  --brand-950: #241a3a;

  /* Accent Yellow */
  --glow-300: #fff880;
  --glow-400: #fff54d;
  --glow-500: #fff300;
  --glow-600: #e0d500;

  /* Bindi Red */
  --bindi-500: #d42027;
  --bindi-600: #b31b21;

  /* Warm Cream Neutrals */
  --cream-50: #fdfcf9;
  --cream-100: #f7f4ed; /* Brand Background */
  --cream-200: #efeadd;
  --cream-300: #e3dcc9;

  /* Ink / Text */
  --ink-950: #201a2e;
  --ink-800: #3a3350;
  --ink-600: #5c5570;
  --ink-400: #6e677c;

  /* Fonts */
  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'Figtree', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows */
  --shadow-card: 0 1px 2px rgb(36 26 58 / 0.06), 0 8px 24px rgb(36 26 58 / 0.08);
  --shadow-card-hover: 0 2px 4px rgb(36 26 58 / 0.08), 0 16px 40px rgb(36 26 58 / 0.14);
}

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

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

body {
  background-color: var(--cream-100);
  color: var(--ink-950);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--ink-950);
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

input, button, select, textarea {
  font: inherit;
  color: inherit;
}

/* Layout Containers */
.os-container {
  max-width: 1152px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.os-container-narrow {
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.os-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-primary {
  background-color: var(--brand-600);
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(109, 79, 173, 0.3);
}

.btn-primary:hover {
  background-color: var(--brand-700);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--brand-700);
  box-shadow: inset 0 0 0 1px rgba(109, 79, 173, 0.25);
}

.btn-secondary:hover {
  background-color: var(--brand-50);
}

.btn-glow {
  background-color: var(--glow-500);
  color: var(--ink-950);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(255, 243, 0, 0.4);
}

.btn-glow:hover {
  background-color: var(--glow-400);
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--brand-700);
  background: transparent;
}

.btn-ghost:hover {
  background-color: var(--brand-50);
}

/* Section Headings */
.section-heading {
  margin-bottom: 3rem;
}

.section-heading.text-center {
  text-align: center;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-600);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.25rem;
  line-height: 1.2;
  color: var(--ink-950);
}

@media (min-width: 640px) {
  .section-title {
    font-size: 2.75rem;
  }
}

.section-subtitle {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--ink-600);
  line-height: 1.6;
}

/* Cards */
.os-card {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.os-card-hover:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

/* -------------------------------------------------------------------------
 * Header & Navigation
 * ------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(247, 244, 237, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(109, 79, 173, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.site-logo img {
  height: 2.25rem;
  width: auto;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-800);
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-600);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .header-actions {
    display: flex;
  }
}

.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--ink-800);
  cursor: pointer;
}

@media (min-width: 768px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--cream-100);
  border-bottom: 1px solid rgba(109, 79, 173, 0.1);
  padding: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.mobile-menu.open {
  display: block;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-nav-list a {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-800);
  padding: 0.35rem 0;
}

/* -------------------------------------------------------------------------
 * Hero Section
 * ------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
  padding-bottom: 6rem;
}

.hero-glow-1 {
  position: absolute;
  top: -10rem;
  right: -5%;
  width: 30rem;
  height: 30rem;
  border-radius: 9999px;
  background-color: rgba(207, 192, 235, 0.4);
  filter: blur(70px);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: -6rem;
  left: -5%;
  width: 22rem;
  height: 22rem;
  border-radius: 9999px;
  background-color: rgba(255, 243, 0, 0.15);
  filter: blur(70px);
  pointer-events: none;
}

.hero-content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background-color: #ffffff;
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand-700);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  border: 1px solid rgba(109, 79, 173, 0.15);
}

.hero-badge .bindi-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background-color: var(--bindi-500);
}

.hero-title {
  margin-top: 1.5rem;
  font-size: 2.5rem;
  line-height: 1.15;
  color: var(--ink-950);
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-subtitle {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: var(--ink-600);
  line-height: 1.6;
}

@media (min-width: 640px) {
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

.hero-buttons {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.hero-stats {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat-val {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--brand-700);
  font-family: var(--font-serif);
}

@media (min-width: 640px) {
  .stat-val {
    font-size: 2.25rem;
  }
}

.stat-label {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-400);
}

/* -------------------------------------------------------------------------
 * Life Dimensions Strip
 * ------------------------------------------------------------------------- */
.dimensions-section {
  border-top: 1px solid rgba(109, 79, 173, 0.1);
  border-bottom: 1px solid rgba(109, 79, 173, 0.1);
  background-color: rgba(255, 255, 255, 0.6);
  padding: 3rem 0;
}

.dimensions-title {
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-400);
}

.dimensions-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .dimensions-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.dimension-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #ffffff;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dimension-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.dimension-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background-color: var(--brand-50);
  color: var(--brand-700);
  font-size: 1.125rem;
}

.dimension-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-800);
}

/* -------------------------------------------------------------------------
 * Steps / How It Works
 * ------------------------------------------------------------------------- */
.steps-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background-color: var(--brand-600);
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
}

.step-title {
  margin-top: 1.25rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink-950);
}

.step-body {
  margin-top: 0.75rem;
  color: var(--ink-600);
  font-size: 0.9375rem;
}

/* -------------------------------------------------------------------------
 * Dark Services Strip
 * ------------------------------------------------------------------------- */
.dark-services-section {
  background-color: var(--brand-950);
  padding: 5rem 0;
}

.dark-services-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .dark-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .dark-services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.dark-service-card {
  display: block;
  border-radius: 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.75rem;
  transition: all 0.2s ease;
}

.dark-service-card:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.dark-service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  background-color: rgba(109, 79, 173, 0.4);
  color: var(--glow-500);
  font-size: 1.25rem;
}

.dark-service-title {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
}

.dark-service-tagline {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: rgba(247, 244, 237, 0.7);
  line-height: 1.5;
}

.dark-service-price {
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--glow-500);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* -------------------------------------------------------------------------
 * Prediction Scorecard Preview
 * ------------------------------------------------------------------------- */
.scorecard-section {
  background-color: rgba(255, 255, 255, 0.6);
  padding: 5rem 0;
}

.scorecard-grid {
  display: grid;
  align-items: center;
  gap: 3rem;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .scorecard-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.scorecard-box {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-card-hover);
  border: 1px solid rgba(109, 79, 173, 0.1);
}

.badge-tag {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  background-color: var(--brand-50);
  color: var(--brand-700);
}

.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  background-color: #d1fae5;
  color: #047857;
}

/* -------------------------------------------------------------------------
 * Assessment CTA Banner
 * ------------------------------------------------------------------------- */
.assessment-banner {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  background-color: var(--brand-700);
  padding: 3.5rem 1.5rem;
  text-align: center;
  color: #ffffff;
}

@media (min-width: 640px) {
  .assessment-banner {
    padding: 4rem 3rem;
  }
}

.assessment-banner-glow {
  position: absolute;
  top: -5rem;
  right: -5rem;
  width: 16rem;
  height: 16rem;
  border-radius: 9999px;
  background-color: rgba(255, 243, 0, 0.2);
  filter: blur(50px);
  pointer-events: none;
}

.assessment-banner h2 {
  color: #ffffff;
  font-size: 1.875rem;
}

@media (min-width: 640px) {
  .assessment-banner h2 {
    font-size: 2.25rem;
  }
}

.assessment-banner p {
  margin-top: 1rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
}

/* -------------------------------------------------------------------------
 * Testimonials & FAQ
 * ------------------------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}

.testimonial-quote {
  flex: 1;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-800);
}

.testimonial-footer {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(109, 79, 173, 0.1);
}

.testimonial-author {
  font-weight: 600;
  color: var(--ink-950);
}

.testimonial-meta {
  font-size: 0.875rem;
  color: var(--ink-600);
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background-color: #ffffff;
  border-radius: 0.75rem;
  padding: 1.25rem;
  box-shadow: var(--shadow-card);
}

.faq-item[open] {
  border: 1px solid rgba(109, 79, 173, 0.15);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
  color: var(--ink-950);
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-toggle-icon {
  color: var(--brand-600);
  font-size: 1.25rem;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-answer {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-600);
}

/* -------------------------------------------------------------------------
 * Astrologer Directory & Profiles
 * ------------------------------------------------------------------------- */
.directory-controls {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: var(--shadow-card);
  margin-bottom: 2rem;
}

.directory-search {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgba(109, 79, 173, 0.2);
  background-color: var(--cream-50);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s;
}

.directory-search:focus {
  border-color: var(--brand-600);
  box-shadow: 0 0 0 3px rgba(109, 79, 173, 0.15);
}

.filter-pills {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-pill {
  border-radius: 9999px;
  padding: 0.375rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  background-color: var(--brand-50);
  color: var(--brand-700);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-pill.active, .filter-pill:hover {
  background-color: var(--brand-600);
  color: #ffffff;
}

.astrologers-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .astrologers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .astrologers-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.astrologer-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.astrologer-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.astrologer-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.astrologer-avatar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  background-color: var(--brand-100);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--brand-700);
}

.online-indicator {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 0.875rem;
  height: 0.875rem;
  border-radius: 9999px;
  border: 2px solid #ffffff;
  background-color: #10b981;
}

.online-indicator.offline {
  background-color: var(--ink-400);
}

.astrologer-meta-stats {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  border-top: 1px solid rgba(109, 79, 173, 0.1);
  border-bottom: 1px solid rgba(109, 79, 173, 0.1);
  padding: 0.75rem 0;
  font-size: 0.8125rem;
}

.astrologer-bio {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--ink-600);
  line-height: 1.5;
  flex: 1;
}

/* -------------------------------------------------------------------------
 * Interactive Booking Engine Styles
 * ------------------------------------------------------------------------- */
.os-container-booking {
  max-width: 1200px;
}

.booking-wrapper {
  background-color: #ffffff;
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 640px) {
  .booking-wrapper {
    padding: 1.25rem 0.875rem;
    border-radius: 1rem;
    margin: 0;
  }
}

@media (min-width: 640px) {
  .booking-wrapper {
    padding: 2rem 2.25rem;
  }
}

.booking-layout {
  display: grid;
  grid-template-columns: 100%;
  gap: 1.5rem;
  align-items: start;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  .booking-layout {
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr);
    gap: 2.25rem;
  }
}

.booking-form-col {
  min-width: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.booking-sidebar {
  min-width: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  .booking-sidebar {
    position: sticky;
    top: 2rem;
  }
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-950);
  margin-bottom: 0.35rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  border-radius: 0.625rem;
  border: 1px solid rgba(109, 79, 173, 0.2);
  background-color: var(--cream-50);
  padding: 0.625rem 0.875rem;
  font-size: 0.9375rem;
  outline: none;
  transition: all 0.2s;
  box-sizing: border-box;
}

@media (max-width: 640px) {
  /* Prevent iOS Safari from automatically zooming into the page on field focus */
  .form-input, .form-select, .form-textarea {
    font-size: 16px !important;
  }
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--brand-600);
  box-shadow: 0 0 0 3px rgba(109, 79, 173, 0.15);
}

/* Service chips grid */
.service-chips-grid {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .service-chips-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
  }
  .service-chips-grid .duration-btn {
    padding: 0.625rem 0.45rem;
    font-size: 0.78rem;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
    word-break: normal;
    min-height: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    border-radius: 0.625rem;
  }
}

/* Duration buttons */
.duration-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.duration-btn {
  padding: 0.625rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(109, 79, 173, 0.2);
  background-color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
}

@media (max-width: 480px) {
  .duration-buttons {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem;
  }
  .duration-buttons .duration-btn {
    padding: 0.5rem 0.2rem;
    font-size: 0.75rem;
    line-height: 1.2;
    min-height: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}

.duration-btn.active, .duration-btn:hover {
  background-color: var(--brand-600);
  color: #ffffff;
  border-color: var(--brand-600);
}

/* Horizontal swipeable date scroll */
.date-scroll {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  gap: 0.5rem;
  padding: 0.25rem 0.1rem 0.75rem 0.1rem;
  margin: 0;
  scrollbar-width: thin;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.date-scroll::-webkit-scrollbar {
  height: 4px;
}

.date-scroll::-webkit-scrollbar-thumb {
  background: rgba(109, 79, 173, 0.25);
  border-radius: 4px;
}

.date-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 0 0 4.25rem;
  min-width: 4.25rem;
  padding: 0.5rem 0.25rem;
  border-radius: 0.625rem;
  border: 1px solid rgba(109, 79, 173, 0.2);
  background-color: #ffffff;
  cursor: pointer;
  scroll-snap-align: start;
  touch-action: manipulation;
  transition: all 0.2s;
}

.date-btn.active, .date-btn:hover {
  background-color: var(--brand-600);
  color: #ffffff;
  border-color: var(--brand-600);
}

.date-btn-day {
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 600;
}

.date-btn-num {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.2;
}

/* Responsive slots grid */
.slots-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)) !important;
  gap: 0.45rem !important;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .slots-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.35rem !important;
  }
}

@media (max-width: 360px) {
  .slots-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.35rem !important;
  }
}

.slot-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.4rem 0.2rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(109, 79, 173, 0.2);
  background-color: var(--cream-50);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  touch-action: manipulation;
}

@media (max-width: 480px) {
  .slot-btn {
    font-size: 0.72rem;
    min-height: 38px;
  }
}

.slot-btn.active, .slot-btn:not(:disabled):hover {
  background-color: var(--brand-600);
  color: #ffffff;
  border-color: var(--brand-600);
}

.slot-btn:disabled {
  cursor: not-allowed !important;
  opacity: 0.45;
}

/* Responsive form layouts */
.form-row-2col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .form-row-2col {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .form-row-2col .col-span-2 {
    grid-column: span 2;
  }
}

.form-row-birth {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

@media (min-width: 520px) {
  .form-row-birth {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
}

.booking-summary-box {
  background-color: var(--cream-50);
  border-radius: 1rem;
  border: 1px solid rgba(109, 79, 173, 0.15);
  padding: 1.25rem;
}

@media (min-width: 640px) {
  .booking-summary-box {
    padding: 1.5rem;
  }
}

.payment-option-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  cursor: pointer;
  padding: 0.75rem 0.875rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(109, 79, 173, 0.15);
  background: #ffffff;
  transition: all 0.15s;
}

.payment-option-card:hover {
  border-color: var(--brand-600);
  background: rgba(109, 79, 173, 0.04);
}

.qr-code-box {
  background: #ffffff;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(109, 79, 173, 0.15);
  text-align: center;
  margin-top: 1rem;
}

/* -------------------------------------------------------------------------
 * 8-Step Assessment Wizard
 * ------------------------------------------------------------------------- */
.assessment-card {
  background-color: #ffffff;
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: var(--shadow-card);
  max-width: 680px;
  margin: 0 auto;
}

.progress-track {
  height: 6px;
  background-color: var(--brand-100);
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.progress-fill {
  height: 100%;
  background-color: var(--brand-600);
  transition: width 0.3s ease;
}

.option-pill-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.option-pill {
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(109, 79, 173, 0.2);
  background-color: #ffffff;
  cursor: pointer;
  text-align: center;
  font-weight: 600;
  transition: all 0.2s;
}

.option-pill.active, .option-pill:hover {
  background-color: var(--brand-50);
  border-color: var(--brand-600);
  color: var(--brand-700);
}

.scale-slider {
  width: 100%;
  margin-top: 1.5rem;
  accent-color: var(--brand-600);
}

/* -------------------------------------------------------------------------
 * Footer
 * ------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--brand-950);
  color: var(--cream-100);
  padding-top: 4.5rem;
  padding-bottom: 3.5rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr repeat(4, 1fr);
  }
}

.footer-logo img {
  height: 2.5rem;
  width: auto;
}

.footer-blurb {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(247, 244, 237, 0.7);
  max-width: 18rem;
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 243, 0, 0.9);
}

.footer-links {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(247, 244, 237, 0.75);
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  margin-top: 3.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: rgba(247, 244, 237, 0.6);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* -------------------------------------------------------------------------
 * WordPress Core & Article Content
 * ------------------------------------------------------------------------- */
.prose {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--ink-800);
}

.prose p {
  margin-bottom: 1.5rem;
}

.prose h2 {
  font-size: 1.75rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.prose h3 {
  font-size: 1.35rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.prose ul, .prose ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.prose ul {
  list-style-type: disc;
}

.prose ol {
  list-style-type: decimal;
}

.prose li {
  margin-bottom: 0.5rem;
}
