/* Sage Clinic — Aesthetic-Medicine + Wellness
   Style: Cream pastel + sage-green + blush pink, Apple-Health-cards aesthetic */

:root {
  --cream: #F8F6F2;
  --cream-warm: #F2EDE4;
  --sage: #9CAF88;
  --sage-deep: #7B8E68;
  --sage-pale: #D9E1CE;
  --blush: #E8C9C0;
  --blush-deep: #D4A89C;
  --gold: #D4B996;
  --ink: #1F1F1F;
  --ink-soft: #3A3A3A;
  --ink-mute: #6B6B6B;
  --ink-pale: #A0A0A0;
  --line: #E8E4DC;
  --white: #FFFFFF;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  font-feature-settings: 'tnum' 1;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.serif { font-family: 'Fraunces', 'Times New Roman', serif; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.narrow { max-width: 800px; margin: 0 auto; }

/* === NAV === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 32px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(248, 246, 242, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.nav-brand-mark {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sage), var(--sage-pale));
  position: relative;
}
.nav-brand-mark::before {
  content: ""; position: absolute; inset: 6px;
  background: var(--cream);
  border-radius: 50%;
}
.nav-brand-mark::after {
  content: ""; position: absolute; inset: 10px;
  background: var(--sage);
  border-radius: 50%;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 14.5px;
  color: var(--ink-soft);
  font-weight: 500;
  position: relative;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--sage-deep); }
.nav-cta {
  padding: 11px 22px;
  background: var(--ink);
  color: var(--cream);
  font-size: 14px;
  font-weight: 500;
  border-radius: 100px;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--sage-deep); }
.nav-mobile-toggle { display: none; padding: 8px 14px; border-radius: 100px; background: var(--ink); color: var(--cream); font-size: 13px; }

@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .nav-mobile-toggle { display: block; }
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 32px 80px;
  display: flex; align-items: center;
  background:
    radial-gradient(ellipse 800px 600px at 80% 30%, var(--blush) 0%, transparent 55%),
    radial-gradient(ellipse 600px 500px at 20% 70%, var(--sage-pale) 0%, transparent 50%),
    var(--cream);
  overflow: hidden;
}
.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.06;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}
.hero-content { z-index: 2; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  margin-bottom: 28px;
  font-weight: 500;
}
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sage); }
.hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 400;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: italic;
  font-family: 'Fraunces', serif;
  color: var(--sage-deep);
  font-weight: 300;
}
.hero-sub {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 480px;
  line-height: 1.55;
  margin-bottom: 36px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  padding: 14px 24px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { background: var(--sage-deep); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--cream); }

.hero-visual {
  position: relative;
  height: 560px;
  display: flex; align-items: center; justify-content: center;
}
.hero-leaf {
  position: absolute;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  z-index: 0;
}
.hero-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 20px 60px -20px rgba(31, 31, 31, 0.15);
  z-index: 2;
}
.hero-card-1 { top: 8%; left: -8%; width: 220px; }
.hero-card-2 { bottom: 14%; right: -4%; width: 240px; }
.hero-card-3 { top: 42%; right: 18%; width: 200px; }

.hero-card-icon {
  width: 32px; height: 32px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  margin-bottom: 12px;
  font-weight: 600;
}
.hero-card-icon.sage { background: var(--sage-pale); color: var(--sage-deep); }
.hero-card-icon.blush { background: var(--blush); color: var(--blush-deep); }
.hero-card-icon.gold { background: rgba(212, 185, 150, 0.3); color: var(--gold); }
.hero-card-label { font-size: 11px; letter-spacing: 0.05em; color: var(--ink-mute); text-transform: uppercase; margin-bottom: 4px; }
.hero-card-value { font-size: 28px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; line-height: 1.1; }
.hero-card-meta { font-size: 12px; color: var(--ink-pale); margin-top: 4px; }

@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { height: 380px; order: -1; }
  .hero-card-1, .hero-card-3 { display: none; }
  .hero-card-2 { position: static; width: 100%; }
}

/* === SECTION === */
.section { padding: 120px 0; }
.section-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: var(--sage-pale);
  color: var(--sage-deep);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 22px;
}
.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 400;
  margin-bottom: 24px;
}
.section-title em { font-style: italic; color: var(--sage-deep); font-weight: 300; }
.section-lede {
  font-size: 19px;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 600px;
  margin-bottom: 60px;
}

/* === TREATMENTS GRID === */
.treatments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.treatment-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
  transition: all 0.3s;
  cursor: pointer;
  display: flex; flex-direction: column;
}
.treatment-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -15px rgba(31, 31, 31, 0.1);
  border-color: var(--sage);
}
.treatment-icon {
  width: 44px; height: 44px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.treatment-icon svg { width: 22px; height: 22px; }
.treatment-icon.sage { background: var(--sage-pale); color: var(--sage-deep); }
.treatment-icon.blush { background: var(--blush); color: var(--blush-deep); }
.treatment-icon.gold { background: rgba(212, 185, 150, 0.3); color: var(--gold); }
.treatment-icon.warm { background: var(--cream-warm); color: var(--ink-soft); }

.treatment-name { font-size: 17px; font-weight: 600; margin-bottom: 6px; letter-spacing: -0.01em; }
.treatment-desc { font-size: 14px; color: var(--ink-mute); line-height: 1.55; margin-bottom: 18px; flex: 1; }
.treatment-price {
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.treatment-price strong { font-family: 'Fraunces', serif; font-size: 18px; font-weight: 500; }

@media (max-width: 1080px) { .treatments-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .treatments-grid { grid-template-columns: 1fr; } }

/* === BIG SPLIT === */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  padding: 120px 0;
}
.split-section.reverse > .split-img { order: 1; }
.split-img {
  height: 600px;
  background-size: cover;
  background-position: center;
  border-radius: 32px;
  filter: saturate(0.95);
}
.split-content { padding: 0 20px; }
@media (max-width: 880px) {
  .split-section { grid-template-columns: 1fr; gap: 40px; }
  .split-img { height: 380px; border-radius: 24px; }
}

/* === PHOTO STRIP === */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 60px;
}
.photo-strip > div {
  height: 280px;
  background-size: cover;
  background-position: center;
  border-radius: 18px;
  filter: saturate(0.92);
}
@media (max-width: 880px) { .photo-strip { grid-template-columns: repeat(2, 1fr); } }

/* === TEAM CARDS === */
.team-section { padding: 120px 0; background: var(--cream-warm); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 60px; }
.team-card {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.3s;
  border: 1px solid transparent;
}
.team-card:hover { transform: translateY(-4px); border-color: var(--sage); }
.team-img {
  height: 320px;
  background-size: cover;
  background-position: center;
}
.team-info { padding: 22px; }
.team-name { font-family: 'Fraunces', serif; font-size: 22px; margin-bottom: 4px; font-weight: 500; }
.team-role { font-size: 13px; color: var(--sage-deep); letter-spacing: 0.05em; text-transform: uppercase; font-weight: 600; margin-bottom: 12px; }
.team-bio { font-size: 14px; color: var(--ink-mute); line-height: 1.55; }

@media (max-width: 880px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .team-grid { grid-template-columns: 1fr; } }

/* === TESTIMONIAL SLIDER === */
.testimonials { padding: 120px 0; }
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 50px;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.testimonial-stars { color: var(--gold); margin-bottom: 28px; font-size: 18px; letter-spacing: 0.1em; }
.testimonial-quote {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 28px;
  font-weight: 400;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; justify-content: center; gap: 14px; }
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background-size: cover; background-position: center;
}
.testimonial-name { font-size: 15px; font-weight: 600; text-align: left; }
.testimonial-role { font-size: 13px; color: var(--ink-mute); text-align: left; }

/* === BOOKING FORM (booking.html) === */
.booking-section { padding: 80px 0 120px; }
.booking-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 48px;
  max-width: 640px;
  margin: 0 auto;
}
.booking-steps { display: flex; gap: 12px; margin-bottom: 36px; }
.booking-step {
  flex: 1;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--cream);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-mute);
  display: flex; align-items: center; gap: 8px;
  border: 1px solid transparent;
  transition: all 0.2s;
}
.booking-step.active { background: var(--sage-pale); color: var(--sage-deep); border-color: var(--sage); }
.booking-step.done { background: var(--white); color: var(--ink); border-color: var(--line); }
.booking-step-num {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}
.booking-step.active .booking-step-num { background: var(--sage); color: var(--white); }

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 8px;
  font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 4px var(--sage-pale);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 28px; }

.treatment-pick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.treatment-pick {
  padding: 16px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
  display: flex; align-items: center; gap: 12px;
}
.treatment-pick:hover { border-color: var(--sage); }
.treatment-pick.selected { background: var(--sage-pale); border-color: var(--sage); }
.treatment-pick-name { font-size: 14.5px; font-weight: 500; color: var(--ink); }
.treatment-pick-meta { font-size: 12px; color: var(--ink-mute); }

@media (max-width: 540px) {
  .booking-card { padding: 28px; }
  .form-row, .treatment-pick-grid { grid-template-columns: 1fr; }
  .booking-steps { flex-wrap: wrap; }
}

/* === FAQ === */
.faq-section { padding: 100px 0; }
.faq-list { max-width: 760px; margin: 60px auto 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 22px 0;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-q .faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--sage-pale);
  color: var(--sage-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  transition: transform 0.3s;
  line-height: 0.6;
}
.faq-item.open .faq-q .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; color: var(--ink-mute); font-size: 15.5px; line-height: 1.65; }
.faq-item.open .faq-a { max-height: 250px; padding-bottom: 24px; }

/* === FOOTER === */
footer {
  background: var(--ink);
  color: var(--cream-warm);
  padding: 80px 0 40px;
}
footer .nav-brand { color: var(--cream); }
footer .nav-brand-mark::before { background: var(--ink); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand { font-size: 28px; }
.footer-tagline { color: rgba(248, 246, 242, 0.7); font-size: 14.5px; line-height: 1.7; max-width: 320px; margin-top: 18px; }
.footer-col h4 { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage); margin-bottom: 18px; font-weight: 600; }
.footer-col a, .footer-col p { display: block; font-size: 14px; color: rgba(248, 246, 242, 0.7); padding: 5px 0; line-height: 1.65; }
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(248, 246, 242, 0.12);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  font-size: 12px;
  color: rgba(248, 246, 242, 0.5);
}

@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }

/* === REVEAL === */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* === PAGE-HEADER (sub-pages) === */
.page-header {
  padding: 160px 32px 80px;
  text-align: center;
  background:
    radial-gradient(ellipse 600px 400px at 20% 100%, var(--blush) 0%, transparent 60%),
    radial-gradient(ellipse 500px 400px at 80% 100%, var(--sage-pale) 0%, transparent 60%),
    var(--cream);
  position: relative;
  overflow: hidden;
}
.page-header h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 400;
  margin-bottom: 18px;
}
.page-header h1 em { font-style: italic; color: var(--sage-deep); font-weight: 300; }
.page-header p { font-size: 19px; color: var(--ink-soft); max-width: 580px; margin: 0 auto; line-height: 1.55; }
