/* =========================================================
   SERENE AYURVEDA SPA — Design tokens
   Palette: deep teal (primary), brass gold (accent), ivory (light),
   sage (secondary), charcoal (text). Rooted in Ayurvedic materials —
   brass diyas, banana-leaf green, sandalwood — not a generic spa cream/terracotta look.
   Type: Fraunces (display, warm & carved) + Work Sans (body, clean utility)
   ========================================================= */

:root {
  --teal-900: #122E29;
  --teal-800: #1B3B36;
  --teal-700: #24493F;
  --ivory:    #FAF6EF;
  --sand:     #F0E9DA;
  --gold:     #B8874F;
  --gold-light: #D9B689;
  --sage:     #8FA68E;
  --charcoal: #26241F;
  --white:    #FFFFFF;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 28px;
  --shadow-soft: 0 12px 40px rgba(18, 46, 41, 0.12);
  --container: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--gold); color: var(--white);
  padding: 10px 16px; z-index: 999;
}
.skip-link:focus { left: 12px; top: 12px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.15; color: var(--teal-900); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--gold); color: var(--white); }
.btn-solid:hover { background: var(--teal-800); }
.btn-ghost { border-color: currentColor; color: var(--teal-800); }
.btn-outline-light { border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(18,46,41,0.08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--teal-900); }
.brand-mark { color: var(--gold); display: flex; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-size: 1.3rem; }
.brand-sub { font-size: 0.6rem; letter-spacing: 0.16em; color: var(--gold); font-weight: 600; }

.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--teal-900); display: block; }

.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav ul { display: flex; gap: 26px; }
.primary-nav a { font-size: 0.95rem; font-weight: 500; color: var(--teal-700); position: relative; padding: 4px 0; }
.primary-nav a.active,
.primary-nav a:hover { color: var(--gold); }
.nav-call { display: none; }

/* ============ HERO ============ */
.hero {
  position: relative;
  background: var(--teal-800);
  color: var(--ivory);
  overflow: hidden;
  padding: 72px 0 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--white);
  margin-bottom: 20px;
}
.hero-copy h1 em { font-style: italic; color: var(--gold-light); }
.hero-copy p { font-size: 1.08rem; color: rgba(250,246,239,0.82); max-width: 46ch; margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-trust { display: flex; gap: 28px; flex-wrap: wrap; font-size: 0.88rem; color: rgba(250,246,239,0.75); }
.hero-trust strong { color: var(--gold-light); font-family: var(--font-display); font-size: 1.4rem; display: block; }

.hero-art {
  position: relative;
  align-self: end;
}
.hero-art img {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  width: 100%;
  height: 460px;
  object-fit: cover;
}
.hero-art-badge {
  position: absolute;
  top: -18px; left: -18px;
  background: var(--gold);
  color: var(--white);
  width: 108px; height: 108px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  line-height: 1.2;
  box-shadow: var(--shadow-soft);
}

/* ============ SECTIONS ============ */
.section { padding: 88px 0; }
.section-tight { padding: 60px 0; }
.section-alt { background: var(--sand); }
.section-dark { background: var(--teal-900); color: var(--ivory); }
.section-dark h2 { color: var(--white); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.section-head p { color: var(--teal-700); margin-top: 14px; font-size: 1.05rem; }
.section-dark .section-head p { color: rgba(250,246,239,0.75); }

/* ============ RITUAL STEPS (signature element) ============ */
.ritual {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  counter-reset: step;
  position: relative;
}
.ritual::before {
  content: "";
  position: absolute;
  top: 34px; left: 6%; right: 6%;
  height: 1px;
  background: repeating-linear-gradient(to right, var(--gold) 0, var(--gold) 6px, transparent 6px, transparent 14px);
  z-index: 0;
}
.ritual-step { position: relative; z-index: 1; padding: 0 14px; text-align: center; }
.ritual-step .num {
  counter-increment: step;
  width: 68px; height: 68px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--ivory);
  border: 1.5px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold);
}
.ritual-step .num::before { content: counter(step, decimal-leading-zero); }
.ritual-step h4 { font-size: 1.05rem; margin-bottom: 8px; }
.ritual-step p { font-size: 0.9rem; color: var(--teal-700); }
.ritual-step .time { display: block; margin-top: 10px; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sage); }

/* ============ SERVICE CARDS ============ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(18,46,41,0.06);
  transition: transform 0.25s ease;
}
.service-card:hover { transform: translateY(-6px); }
.service-card .icon { color: var(--gold); margin-bottom: 18px; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.service-card p { color: var(--teal-700); font-size: 0.95rem; margin-bottom: 16px; }
.service-card .price { font-family: var(--font-display); color: var(--teal-900); font-size: 1.1rem; }
.service-card .price span { font-size: 0.8rem; color: var(--sage); font-family: var(--font-body); }

.service-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(18,46,41,0.1);
}
.service-row h3 { font-size: 1.2rem; margin-bottom: 6px; }
.service-row p { color: var(--teal-700); font-size: 0.92rem; max-width: 52ch; }
.service-row .meta { text-align: right; white-space: nowrap; }
.service-row .duration { display: block; font-size: 0.8rem; color: var(--sage); margin-top: 4px; }
.service-row .price { font-family: var(--font-display); font-size: 1.15rem; color: var(--gold); }

/* ============ TESTIMONIALS ============ */
.testimonial-card {
  background: var(--teal-800);
  color: var(--ivory);
  border-radius: var(--radius-md);
  padding: 30px;
}
.testimonial-card p { font-family: var(--font-display); font-size: 1.1rem; font-style: italic; margin-bottom: 18px; }
.testimonial-card .who { font-size: 0.85rem; color: var(--gold-light); font-weight: 600; }

/* ============ CTA BAND ============ */
.cta-band {
  background: var(--gold);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 50px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); font-size: 1.9rem; }
.cta-band .btn-solid { background: var(--teal-900); }
.cta-band .btn-solid:hover { background: var(--white); color: var(--teal-900); }

/* ============ FORMS ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--teal-800); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid rgba(18,46,41,0.18);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.98rem;
  background: var(--white);
  color: var(--charcoal);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.form-note { font-size: 0.82rem; color: var(--sage); margin-top: 10px; }
.form-success { background: #E4EEE0; border: 1px solid var(--sage); color: var(--teal-900); padding: 16px 20px; border-radius: var(--radius-sm); margin-bottom: 24px; }
.form-error { background: #F6E3DE; border: 1px solid #C46A4E; color: #7A2E17; padding: 16px 20px; border-radius: var(--radius-sm); margin-bottom: 24px; }

.info-card { background: var(--white); border-radius: var(--radius-md); padding: 30px; box-shadow: var(--shadow-soft); }
.info-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.info-card .row { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(18,46,41,0.08); }
.info-card .row:last-child { border-bottom: none; }
.info-card .row .icon { color: var(--gold); flex-shrink: 0; }
.map-embed { border-radius: var(--radius-md); overflow: hidden; margin-top: 20px; border: 1px solid rgba(18,46,41,0.1); }
.map-embed iframe { width: 100%; height: 260px; border: 0; display: block; }

/* ============ THERAPIST PROFILES ============ */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 44px; }
.filter-btn {
  padding: 10px 22px; border-radius: 999px; border: 1px solid rgba(18,46,41,0.18);
  background: var(--white); font-family: var(--font-body); font-size: 0.9rem; font-weight: 600;
  color: var(--teal-700); cursor: pointer; transition: all 0.2s ease;
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.filter-btn.active { background: var(--teal-800); border-color: var(--teal-800); color: var(--white); }

.therapist-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.therapist-card {
  background: var(--white); border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-soft); border: 1px solid rgba(18,46,41,0.06);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.therapist-card.hidden { display: none; }
.therapist-card img { width: 100%; height: 260px; object-fit: cover; }
.therapist-card .body { padding: 22px; }
.therapist-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.therapist-card .role { font-size: 0.82rem; color: var(--gold); font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; margin-bottom: 12px; display: block; }
.therapist-card p { font-size: 0.88rem; color: var(--teal-700); margin-bottom: 14px; }
.therapist-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.therapist-tags span { font-size: 0.72rem; background: var(--sand); color: var(--teal-800); padding: 4px 10px; border-radius: 999px; font-weight: 600; }
.therapist-card .exp { font-size: 0.8rem; color: var(--sage); font-weight: 600; }

/* ============ FAQ ACCORDION ============ */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(18,46,41,0.12); }
.faq-question {
  width: 100%; text-align: left; background: none; border: none; padding: 22px 4px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  cursor: pointer; font-family: var(--font-display); font-size: 1.08rem; color: var(--teal-900);
}
.faq-question .plus {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--gold);
  color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
  transition: transform 0.25s ease;
}
.faq-item.open .faq-question .plus { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer p { padding: 0 4px 22px; color: var(--teal-700); font-size: 0.95rem; max-width: 65ch; }
.faq-item.open .faq-answer { max-height: 300px; }

/* ============ GALLERY ============ */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-grid img { border-radius: var(--radius-md); width: 100%; height: 260px; object-fit: cover; }
.gallery-grid .tall { height: 100%; grid-row: span 2; }

/* ============ FOOTER ============ */
.site-footer { background: var(--teal-900); color: rgba(250,246,239,0.8); padding: 64px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-col h3 { color: var(--gold-light); font-size: 0.95rem; margin-bottom: 16px; font-family: var(--font-body); letter-spacing: 0.04em; }
.footer-col p, .footer-col address { font-size: 0.9rem; margin-bottom: 10px; font-style: normal; line-height: 1.7; }
.footer-col ul li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-col a:hover { color: var(--gold-light); }
.footer-brand .brand-name { font-family: var(--font-display); font-size: 1.4rem; color: var(--white); display: block; }
.footer-brand .brand-sub { font-size: 0.65rem; letter-spacing: 0.16em; color: var(--gold); display: block; margin-bottom: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(250,246,239,0.12);
  padding: 20px 0 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-size: 0.8rem;
  color: rgba(250,246,239,0.55);
}

.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 200;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

/* ============ PAGE HEADER (inner pages) ============ */
.page-hero {
  background: var(--teal-800);
  color: var(--ivory);
  padding: 64px 0 56px;
  text-align: center;
}
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 2.8rem); }
.page-hero p { color: rgba(250,246,239,0.78); margin-top: 12px; max-width: 56ch; margin-left: auto; margin-right: auto; }
.breadcrumb { font-size: 0.82rem; color: var(--gold-light); margin-bottom: 14px; letter-spacing: 0.04em; }
.breadcrumb a { color: var(--gold-light); text-decoration: underline; }

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art img { height: 320px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .ritual { grid-template-columns: repeat(5, 1fr); }
  .therapist-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed; top: 68px; left: 0; right: 0;
    background: var(--ivory);
    flex-direction: column; align-items: stretch;
    padding: 20px 24px 30px;
    gap: 18px;
    border-bottom: 1px solid rgba(18,46,41,0.1);
    transform: translateY(-130%);
    transition: transform 0.3s ease;
  }
  .primary-nav.open { transform: translateY(0); }
  .primary-nav ul { flex-direction: column; gap: 4px; }
  .primary-nav ul a { display: block; padding: 12px 4px; border-bottom: 1px solid rgba(18,46,41,0.06); }
  .nav-call { display: block; text-align: center; }
  .nav-book { text-align: center; justify-content: center; }

  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .therapist-grid { grid-template-columns: 1fr; }
  .faq-question { font-size: 0.98rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .ritual { grid-template-columns: 1fr; gap: 34px; }
  .ritual::before { display: none; }
  .cta-band { flex-direction: column; text-align: center; padding: 36px 24px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid .tall { grid-row: span 1; height: 260px; }
  .section { padding: 60px 0; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
