/* ============================================
   SERENITY SPA — Wellness & Spa Template
   Sage + forest + gold, calm botanical luxury
   ============================================ */
:root {
  --sage: #7C9A8C;
  --forest: #2C3E35;
  --forest-dark: #21302A;
  --moss: #4E6E5C;
  --cream: #F7F5F0;
  --ivory: #FDFCF9;
  --gold: #C9A45C;
  --muted: #6E7A73;
  --line: #E7E3D9;
  --white: #FFFFFF;
  --shadow: 0 16px 40px rgba(44, 62, 53, 0.10);
  --shadow-lg: 0 24px 64px rgba(44, 62, 53, 0.16);
  --radius: 14px;
  --radius-lg: 24px;
  --font-head: 'Marcellus', Georgia, serif;
  --font-body: 'Montserrat', 'Helvetica Neue', sans-serif;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --space-9: 96px; --space-10: 128px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 15px; line-height: 1.7;
  color: var(--forest); background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { width: min(1180px, 92%); margin: 0 auto; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 252, 249, 0.93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.nav-logo {
  font-family: var(--font-head);
  font-size: 25px; font-weight: 400;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--forest);
}
.nav-logo em { font-style: normal; color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link {
  font-size: 13.5px; font-weight: 500;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--forest); opacity: 0.75;
  transition: color 0.2s, opacity 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--moss); opacity: 1; }
.nav-cta {
  background: var(--forest); color: var(--cream);
  padding: 12px 26px; border-radius: 2px;
  font-weight: 500; font-size: 12.5px; letter-spacing: 1.5px; text-transform: uppercase;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--moss); }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; flex-direction: column; justify-content: center;
  align-items: center; gap: 5px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--forest);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 620px; display: flex; align-items: center;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero-bg img.active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(115deg, rgba(33, 48, 42, 0.82), rgba(78, 110, 92, 0.55));
}
.hero .container { position: relative; z-index: 2; padding: 90px 0; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--gold); font-size: 13px; font-weight: 500;
  letter-spacing: 3px; text-transform: uppercase;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(44px, 5.5vw, 66px);
  font-weight: 400; line-height: 1.08;
  margin: 22px 0 18px; color: var(--white);
  max-width: 640px;
}
.hero-title em { color: var(--gold); }
.hero-desc { font-size: 16px; color: rgba(255,255,255,0.82); max-width: 480px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 15px 34px;
  border-radius: 2px; font-size: 13px; font-weight: 600;
  letter-spacing: 1.2px; text-transform: uppercase;
  transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: var(--white); }
.btn--gold:hover { background: #B8954D; }
.btn--ghost { border: 1.5px solid rgba(255,255,255,0.55); color: var(--white); background: transparent; }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.12); }
.btn--forest { background: var(--forest); color: var(--cream); }
.btn--forest:hover { background: var(--moss); }
.btn--white { background: var(--white); color: var(--forest); }
.btn--white:hover { background: var(--cream); }

/* ---------- Section scaffolding ---------- */
.section { padding: var(--space-9) 0; }
.section--cream { background: var(--cream); }
.section--forest { background: var(--forest); color: var(--cream); }
.section--forest .section-title { color: var(--white); }
.section--forest .section-desc { color: rgba(255,255,255,0.72); }
.section--forest .section-label { color: var(--gold); }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.section-label {
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(34px, 4.5vw, 48px);
  font-weight: 400; color: var(--forest);
  margin: 12px 0 16px;
}
.section-desc { color: var(--muted); font-size: 16px; max-width: 560px; }
.section-head { max-width: 640px; margin-bottom: var(--space-7); }

/* ---------- Services grid ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--line);
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.service-card-img { aspect-ratio: 4 / 3.4; overflow: hidden; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.service-card:hover .service-card-img img { transform: scale(1.06); }
.service-card-body { padding: 26px 26px 28px; }
.service-card-tag {
  display: inline-block; font-size: 11.5px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 6px;
}
.service-card-title { font-family: var(--font-head); font-size: 22px; font-weight: 400; margin-bottom: 8px; color: var(--forest); }
.service-card-desc { color: var(--muted); font-size: 14px; }
.service-card-price { font-family: var(--font-head); font-size: 21px; color: var(--moss); margin-top: 14px; }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-imgs { position: relative; }
.split-img-main { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 4; }
.split-img-main img { width: 100%; height: 100%; object-fit: cover; }
.split-img-small {
  position: absolute; bottom: -30px; right: -20px;
  width: 45%; border-radius: var(--radius);
  overflow: hidden; border: 6px solid var(--ivory);
  box-shadow: var(--shadow-lg);
}
.split-img-small img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.split-body .section-title { margin-top: 10px; }
.check-list { display: grid; gap: 12px; margin: 22px 0; }
.check-list li { padding-left: 28px; position: relative; font-size: 15px; color: var(--muted); }
.check-list li::before { content: '✦'; position: absolute; left: 0; color: var(--gold); }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery-item { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 4.5; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.07); }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.team-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--line);
  text-align: center; transition: transform 0.3s, box-shadow 0.3s;
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.team-card-img { aspect-ratio: 4 / 4.8; overflow: hidden; }
.team-card-img img { width: 100%; height: 100%; object-fit: cover; }
.team-card-body { padding: 22px 20px 26px; }
.team-card-name { font-family: var(--font-head); font-size: 21px; font-weight: 400; color: var(--forest); }
.team-card-role { font-size: 12px; color: var(--gold); font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; margin-top: 5px; }

/* ---------- Testimonials ---------- */
.testimonials-wrap {
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden; padding: 80px 0;
}
.testimonials-bg { position: absolute; inset: 0; }
.testimonials-bg img { width: 100%; height: 100%; object-fit: cover; }
.testimonials-overlay { position: absolute; inset: 0; background: rgba(33, 48, 42, 0.82); }
.testimonials-wrap .container { position: relative; z-index: 2; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testimonial-card {
  background: rgba(255,255,255,0.08); border-radius: var(--radius);
  padding: 34px 28px; border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(6px);
}
.testimonial-card-stars { color: var(--gold); font-size: 16px; letter-spacing: 3px; margin-bottom: 14px; }
.testimonial-card-text { font-size: 15px; color: rgba(255,255,255,0.9); font-style: italic; margin-bottom: 20px; }
.testimonial-card-author { display: flex; align-items: center; gap: 14px; }
.testimonial-card-avatar { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; }
.testimonial-card-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-card-name { font-weight: 600; font-size: 15px; color: var(--white); }
.testimonial-card-role { font-size: 13px; color: rgba(255,255,255,0.6); }

/* ---------- Stats ---------- */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-num { font-family: var(--font-head); font-size: 46px; font-weight: 400; color: var(--gold); }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.7); letter-spacing: 1.5px; text-transform: uppercase; margin-top: 6px; }

/* ---------- Appointment / CTA ---------- */
.appointment-banner {
  position: relative; overflow: hidden;
  padding: var(--space-10) 0; text-align: center; color: var(--white);
}
.appointment-bg { position: absolute; inset: 0; }
.appointment-bg img { width: 100%; height: 100%; object-fit: cover; }
.appointment-overlay { position: absolute; inset: 0; background: rgba(44, 62, 53, 0.85); }
.appointment-banner .container { position: relative; z-index: 2; }
.cta-title { font-family: var(--font-head); font-size: clamp(36px, 4.5vw, 50px); font-weight: 400; margin-bottom: 14px; }
.cta-desc { font-size: 16px; opacity: 0.85; margin-bottom: 32px; }

/* ---------- Contact / forms ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-label { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--forest); font-weight: 600; }
.form-input, .form-select, .form-textarea {
  padding: 14px 16px; border: 1.5px solid var(--line);
  border-radius: 8px; font-family: var(--font-body);
  font-size: 15px; background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(124, 154, 140, 0.16);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-ok, .form-err {
  display: none; padding: 13px 18px; border-radius: 8px;
  font-size: 14.5px;
}
.form-ok.show, .form-err.show { display: block; }
.form-ok { background: #EAF7EE; color: #1E7B44; }
.form-err { background: #FDEBEC; color: #B02A37; }
.contact-info {
  background: var(--cream); border-radius: var(--radius-lg);
  padding: 40px 36px;
}
.contact-info h3 { font-family: var(--font-head); font-size: 27px; font-weight: 400; margin-bottom: 22px; color: var(--forest); }
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: none; }
.contact-item-icon { width: 44px; height: 44px; flex-shrink: 0; background: var(--white); color: var(--moss); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.contact-item-label { font-size: 12px; color: var(--muted); letter-spacing: 1.2px; text-transform: uppercase; }
.contact-item-text { font-size: 15px; font-weight: 600; margin-top: 2px; }
.hours-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; margin-top: 8px; }
.hours-grid div { display: flex; justify-content: space-between; font-size: 14.5px; padding: 5px 0; border-bottom: 1px dashed var(--line); }

/* ---------- Page hero ---------- */
.page-hero {
  background: var(--forest); padding: 84px 0 64px; text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: '✦'; position: absolute; right: 40px; bottom: 24px;
  font-size: 60px; color: rgba(201, 164, 92, 0.25);
}
.page-hero-title { font-family: var(--font-head); font-size: clamp(40px, 5vw, 54px); font-weight: 400; color: var(--white); position: relative; z-index: 2; }
.page-hero-desc { font-size: 16px; color: rgba(255,255,255,0.7); margin-top: 14px; position: relative; z-index: 2; }

/* ---------- Treatments / pricing ---------- */
.treatments-list { max-width: 760px; margin: 0 auto; }
.treatment-row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 20px; padding: 22px 0; border-bottom: 1px dashed var(--line);
}
.treatment-row:last-child { border-bottom: none; }
.treatment-name { font-family: var(--font-head); font-size: 22px; font-weight: 400; color: var(--forest); }
.treatment-desc { color: var(--muted); font-size: 14px; margin-top: 2px; }
.treatment-price { font-family: var(--font-head); font-size: 21px; color: var(--gold); white-space: nowrap; }
.treatment-row-name { font-family: var(--font-head); font-size: 22px; font-weight: 400; color: var(--forest); }
.treatment-row-desc { color: var(--muted); font-size: 14px; margin-top: 2px; }
.treatment-row-price { font-family: var(--font-head); font-size: 21px; color: var(--gold); white-space: nowrap; }

/* ---------- Footer ---------- */
.footer { background: var(--forest-dark); color: rgba(255,255,255,0.75); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-brand-logo { font-family: var(--font-head); font-size: 26px; color: var(--white); letter-spacing: 1.5px; text-transform: uppercase; }
.footer-brand-logo em { font-style: normal; color: var(--gold); }
.footer-brand-desc { font-size: 15px; margin-top: 12px; max-width: 300px; color: rgba(255,255,255,0.5); }
.footer-heading { font-family: var(--font-head); font-size: 18px; color: var(--white); margin-bottom: 18px; }
.footer-links { display: grid; gap: 10px; }
.footer-link { font-size: 15px; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-link:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 14px; color: rgba(255,255,255,0.45); }
.back-to-top { position: fixed; bottom: 28px; right: 28px; width: 46px; height: 46px; border-radius: 50%; background: var(--forest); color: var(--gold); border: none; font-size: 20px; cursor: pointer; z-index: 90; opacity: 0; pointer-events: none; transition: opacity 0.3s, transform 0.2s; box-shadow: var(--shadow); }
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px); background: var(--moss); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; gap: 50px; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 78px; left: 0; right: 0;
    background: var(--ivory); flex-direction: column;
    padding: 24px; gap: 20px; align-items: flex-start;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    transform: translateY(-120%); transition: transform 0.35s ease; z-index: 99;
  }
  .nav-links.open { transform: translateY(0); }
  .services-grid, .gallery-grid, .team-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .appointment-banner { padding: 64px 0; }
  .split-img-small { display: none; }
  .treatment-row { flex-wrap: wrap; }
  .treatment-row-price { flex-basis: 100%; text-align: right; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}