/* ==========================================================================
   Sacred Flow Healing — Stylesheet
   Palette: warm ivory, sage green, soft teal, natural stone, muted gold
   Display: Cormorant Garamond · Body: Jost
   ========================================================================== */

:root {
  /* Colour tokens */
  --ivory:       #FAF6EE;
  --ivory-deep:  #F1EAD9;
  --sage:        #7E9169;
  --sage-deep:   #4F5F3D;
  --teal:        #5D8880;
  --teal-deep:   #3A5C55;
  --stone:       #CFC7B6;
  --gold:        #B8935A;
  --gold-light:  #D9BD8C;
  --ink:         #2F3B2A;
  --ink-soft:    #55604D;
  --white:       #FFFFFF;

  /* Type */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --max-width: 1180px;
  --section-pad: clamp(4rem, 8vw, 7rem);
  --radius: 6px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.65;
  font-weight: 400;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
ul { padding: 0; margin: 0; list-style: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--sage-deep);
  line-height: 1.15;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.25rem; color: var(--teal-deep); margin-top: 1.4em; }

p { margin: 0 0 1em; color: var(--ink-soft); }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.9em;
}
.eyebrow.center { text-align: center; }
h2.center { text-align: center; margin-bottom: 2.5rem; }

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--section-pad) 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 0.9em 2.2em;
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}
.btn-primary {
  background: var(--sage-deep);
  color: var(--ivory);
  box-shadow: 0 4px 14px rgba(79, 95, 61, 0.25);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79, 95, 61, 0.32);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(184, 147, 90, 0.18);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.brand-mark { height: 40px; width: auto; }
.brand-word {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--sage-deep);
  letter-spacing: 0.01em;
}
.brand-word em {
  font-style: normal;
  color: var(--gold);
  font-weight: 500;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}
.primary-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.01em;
  position: relative;
  padding: 0.2rem 0;
}
.primary-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.primary-nav a:not(.nav-cta):hover::after,
.primary-nav a:not(.nav-cta):focus-visible::after {
  width: 100%;
}

.nav-cta {
  background: var(--teal-deep);
  color: var(--ivory) !important;
  padding: 0.55em 1.3em;
  border-radius: var(--radius);
  transition: background 0.2s ease;
}
.nav-cta:hover { background: var(--sage-deep); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--sage-deep);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, var(--ivory) 0%, #F5EFDF 100%);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-backdrop svg { width: 100%; height: 100%; }
.river-1 { fill: var(--sage); opacity: 0.16; }
.river-2 { fill: var(--teal); opacity: 0.14; }

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 0 1.5rem;
}

.hero h1 {
  margin-bottom: 0.55em;
}

.hero-sub {
  font-size: 1.15rem;
  max-width: 620px;
  margin: 0 auto 2rem;
}

/* ==========================================================================
   WAVE DIVIDERS — signature "river" motif echoing the logo
   ========================================================================== */
.divider {
  line-height: 0;
  width: 100%;
}
.divider svg { width: 100%; height: 60px; display: block; }
.divider-sage svg path { fill: var(--ivory-deep); }
.divider-sage { background: var(--ivory); }

.divider-teal-flip svg path { fill: var(--ivory); }
.divider-teal-flip { background: var(--ivory-deep); }

.divider-ivory-flip svg path { fill: var(--ivory); }
.divider-ivory-flip { background: var(--ivory-deep); }

.divider-teal svg path { fill: var(--ivory-deep); }
.divider-teal { background: var(--ivory); }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about { background: var(--ivory-deep); }

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.about-photo img {
  border-radius: var(--radius);
  box-shadow: 0 20px 40px -20px rgba(47, 59, 42, 0.35);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}

/* ==========================================================================
   TREATMENT SECTIONS (Bowen / Reiki)
   ========================================================================== */
.treatment { background: var(--ivory); }
.treatment.alt { background: var(--ivory); }

.treatment-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.treatment-grid.reverse { grid-template-columns: 0.7fr 1.3fr; }
.treatment-grid.reverse .treatment-text { order: 2; }
.treatment-grid.reverse .treatment-art { order: 1; }

.treatment-art {
  margin: 0;
  display: flex;
  justify-content: center;
}
.treatment-art svg { width: 100%; max-width: 280px; height: auto; }
.art-ring { fill: none; stroke: var(--gold-light); stroke-width: 1.5; }
.art-leaf { fill: none; stroke: var(--sage); stroke-width: 2.5; }
.art-vein { stroke: var(--sage); stroke-width: 1; opacity: 0.6; }
.art-lotus { fill: none; stroke: var(--gold); stroke-width: 2.5; }
.art-dot { fill: var(--gold); }
.art-dot-sm { fill: var(--gold-light); }

/* ==========================================================================
   PRICES
   ========================================================================== */
.prices { background: var(--ivory-deep); }

.price-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.price-card {
  background: var(--ivory);
  border: 1px solid rgba(184, 147, 90, 0.25);
  border-radius: var(--radius);
  padding: 1.8rem 1.4rem;
  text-align: center;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px -16px rgba(47, 59, 42, 0.3);
}
.price-card h3 { margin-top: 0; font-size: 1.15rem; }
.price-duration {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-bottom: 0.6rem;
}
.price-amount {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--teal-deep);
  margin: 0;
}
.price-card.featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, #FBF3E4 0%, var(--ivory) 100%);
}
.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--ivory);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3em 0.9em;
  border-radius: 999px;
  white-space: nowrap;
}

.home-visit-note {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.home-visit-note h3 { margin-top: 0; }

.travel-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.2rem;
  font-size: 0.95rem;
}
.travel-table th, .travel-table td {
  padding: 0.7em 1em;
  border-bottom: 1px solid rgba(184, 147, 90, 0.25);
  text-align: left;
}
.travel-table th {
  font-weight: 500;
  color: var(--sage-deep);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials { background: var(--ivory); }

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  margin: 0;
  background: var(--ivory-deep);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  position: relative;
}
.testimonial-card p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 1rem;
}
.testimonial-card footer {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.testimonial-card footer cite { font-style: normal; color: var(--ink-soft); }

.testimonial-card.placeholder {
  border: 1px dashed rgba(184, 147, 90, 0.4);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.testimonial-card.placeholder p {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.9rem;
  color: var(--ink-soft);
  opacity: 0.7;
  margin: 0;
}

/* ==========================================================================
   FAQS
   ========================================================================== */
.faqs { background: var(--ivory-deep); }

.faq-groups {
  max-width: 780px;
  margin: 0 auto;
}

.faq-group { margin-bottom: 2.8rem; }
.faq-group:last-child { margin-bottom: 0; }

.faq-group-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-family: var(--font-body);
  font-weight: 600;
  margin: 0 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(184, 147, 90, 0.3);
}

.faq-item {
  border-bottom: 1px solid rgba(184, 147, 90, 0.2);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.1rem 0;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  position: relative;
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: var(--sage-deep);
  transition: transform 0.25s ease;
}
.faq-icon::before {
  width: 100%; height: 2px;
  top: 50%; left: 0;
  transform: translateY(-50%);
}
.faq-icon::after {
  width: 2px; height: 100%;
  left: 50%; top: 0;
  transform: translateX(-50%);
}
.faq-question[aria-expanded="true"] .faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.faq-answer > * { overflow: hidden; }
.faq-question[aria-expanded="true"] + .faq-answer {
  grid-template-rows: 1fr;
  padding-bottom: 1.1rem;
}
.faq-answer p:last-child { margin-bottom: 0; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact { background: var(--ivory); }

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-details {
  margin: 1.5rem 0 2rem;
}
.contact-details li {
  padding: 0.5em 0;
  border-bottom: 1px solid rgba(184, 147, 90, 0.2);
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.contact-details strong { color: var(--sage-deep); }

.contact-photo img {
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: 0 20px 40px -20px rgba(47, 59, 42, 0.3);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: var(--ivory-deep);
  padding: 2rem;
  border-radius: var(--radius);
}
.contact-form label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--sage-deep);
  margin-top: 0.9rem;
}
.contact-form label .optional { color: var(--ink-soft); font-weight: 400; }

.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 0.7em 0.9em;
  border: 1px solid rgba(184, 147, 90, 0.35);
  border-radius: 4px;
  background: var(--ivory);
  color: var(--ink);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  outline: none;
}

.location-choice {
  border: none;
  padding: 0.9rem 0 0;
  margin: 0;
}
.location-choice legend {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--sage-deep);
  padding: 0 0 0.5rem;
}
.radio-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--ink-soft);
  margin-right: 1.5rem;
  margin-top: 0 !important;
}

.contact-form .btn { margin-top: 1.4rem; align-self: flex-start; }

.hidden-field { position: absolute; left: -9999px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--sage-deep);
  color: var(--ivory);
  padding: 3rem 1.5rem 2rem;
  text-align: center;
}
.footer-inner { max-width: 500px; margin: 0 auto; }
.footer-mark { margin: 0 auto 0.8rem; opacity: 0.9; }
.footer-word {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0 0 0.2rem;
}
.footer-tagline {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--gold-light);
  margin: 0 0 1.5rem;
}
.footer-copyright {
  font-size: 0.8rem;
  color: rgba(250, 246, 238, 0.7);
  margin: 0;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
  .about-grid,
  .treatment-grid,
  .treatment-grid.reverse,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .treatment-grid .treatment-text,
  .treatment-grid.reverse .treatment-text { order: 2; }
  .treatment-grid .treatment-art,
  .treatment-grid.reverse .treatment-art { order: 1; max-width: 200px; margin: 0 auto; }

  .price-cards { grid-template-columns: repeat(2, 1fr); }
  .testimonial-cards { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ivory);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(184, 147, 90, 0.2);
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.2s ease;
  }
  .primary-nav.open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }
  .primary-nav a { width: 100%; padding: 0.7rem 0; }
  .nav-cta { margin-top: 0.6rem; text-align: center; }

  .price-cards { grid-template-columns: 1fr; }
}
