/* ===== Design tokens ===== */
:root {
  --sage-50: #f4f7f3;
  --sage-100: #e6ede2;
  --sage-200: #cddcc4;
  --sage-500: #6b8f5f;
  --sage-600: #56774b;
  --sage-700: #43603a;
  --ink-900: #24302a;
  --ink-700: #3b463f;
  --ink-500: #5d6a62;
  --cream: #faf7f0;
  --cream-2: #f2ece0;
  --gold: #c79a4b;
  --terracotta: #b5583a;
  --terracotta-dark: #99432a;
  --white: #ffffff;

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1140px;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(36, 48, 42, 0.06);
  --shadow-md: 0 10px 30px rgba(36, 48, 42, 0.10);
  --shadow-lg: 0 20px 50px rgba(36, 48, 42, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-700);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-900);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
}

p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }

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

.section {
  padding: 96px 0;
}
.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}
.section-head p {
  color: var(--ink-500);
  font-size: 1.05rem;
  margin-top: 14px;
}

.bg-cream-2 { background: var(--cream-2); }
.bg-ink { background: var(--ink-900); color: var(--sage-100); }
.bg-ink h2, .bg-ink h3, .bg-ink h4 { color: var(--white); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--terracotta-dark); }
.btn-ghost {
  background: transparent;
  border-color: rgba(36, 48, 42, 0.18);
  color: var(--ink-900);
}
.btn-ghost:hover { border-color: var(--ink-900); }
.btn-ghost-light {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.35);
  color: var(--white);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.16); }
.btn-block { width: 100%; justify-content: center; }

/* ===== Nav ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.nav.is-scrolled {
  background: rgba(250, 247, 240, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink-900);
}
.nav:not(.is-scrolled) .brand-name,
.nav:not(.is-scrolled) .brand-sub { color: var(--white); }
.brand-sub {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage-600);
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-700);
  position: relative;
  padding: 4px 0;
}
.nav:not(.is-scrolled) .nav-links a { color: rgba(255,255,255,0.92); }
.nav-links a:hover { color: var(--terracotta); }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-900);
}
.nav:not(.is-scrolled) .nav-phone { color: var(--white); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink-900);
  margin: 5px 0;
  transition: 0.2s;
}
.nav:not(.is-scrolled) .nav-toggle span { background: var(--white); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 28, 24, 0.55) 0%, rgba(20, 28, 24, 0.72) 55%, rgba(20, 28, 24, 0.88) 100%);
  z-index: 1;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero .container {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  padding-bottom: 60px;
}
.hero-content { max-width: 700px; }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  margin-bottom: 20px;
}
.hero .lede {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.88);
  max-width: 560px;
  margin-bottom: 34px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 44px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}
.hero-meta-item svg { flex-shrink: 0; color: var(--gold); }

/* ===== Icons ===== */
.icon { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; }

/* ===== Trust strip ===== */
.trust-strip {
  background: var(--sage-700);
  color: var(--sage-50);
  padding: 18px 0;
}
.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  justify-content: center;
  text-align: center;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}
.trust-strip strong { color: var(--white); font-weight: 700; }

/* ===== Services ===== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.service-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-media img { transform: scale(1.06); }
.service-body {
  padding: 22px 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.service-body p { color: var(--ink-500); font-size: 0.92rem; flex: 1; }
.service-link {
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--terracotta);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ===== Conditions ===== */
.conditions-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.condition-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--sage-500);
}
.condition-card h4 {
  font-size: 1.02rem;
  margin-bottom: 14px;
  color: var(--sage-700);
}
.condition-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0; padding: 0;
}
.condition-tags li {
  font-size: 0.82rem;
  background: var(--sage-50);
  color: var(--ink-700);
  padding: 6px 12px;
  border-radius: 999px;
}

/* ===== About ===== */
.about-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.about-photo {
  position: sticky;
  top: 110px;
}
.about-photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
}
.about-photo-cap {
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-500);
  margin-top: 14px;
}
.about-bio p {
  font-size: 1.02rem;
  color: var(--ink-700);
}
.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 32px;
}
.credential-pill {
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--sage-100);
  color: var(--sage-700);
  padding: 7px 14px;
  border-radius: 999px;
}

.timeline {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  border-left: 2px solid var(--sage-200);
}
.timeline li {
  position: relative;
  padding: 0 0 32px 28px;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -7px; top: 3px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--terracotta);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 2px var(--sage-200);
}
.timeline-year {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--sage-700);
  font-weight: 700;
  margin-bottom: 4px;
}
.timeline-title {
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 6px;
  font-size: 0.98rem;
}
.timeline-body {
  color: var(--ink-500);
  font-size: 0.92rem;
}

/* ===== Professional reference ===== */
.ref-compact {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}
.quote-mark {
  font-family: var(--font-display);
  font-size: 3.2rem;
  color: var(--sage-500);
  line-height: 1;
  margin-bottom: 4px;
}
.ref-quote {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  line-height: 1.45;
  margin-bottom: 14px;
}
.ref-attrib {
  color: var(--sage-100);
  font-size: 0.92rem;
  margin-bottom: 18px;
}
.ref-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
}
.ref-link:hover { color: var(--white); }
.stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 2px; }

/* ===== Patient reviews ===== */
.reviews-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.reviews-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* ===== Contact ===== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink-700);
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(36,48,42,0.16);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--cream);
  transition: border-color 0.2s;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--sage-500);
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-success {
  background: var(--sage-50);
  color: var(--sage-700);
  border: 1px solid var(--sage-200);
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 0.92rem;
  line-height: 1.5;
}
.form-note {
  font-size: 0.8rem;
  color: var(--ink-500);
  margin-top: 12px;
  text-align: center;
}

.contact-info-card {
  background: var(--ink-900);
  color: var(--sage-100);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 20px;
}
.contact-info-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.contact-info-row:last-child { border-bottom: none; }
.contact-info-row svg { color: var(--gold); margin-top: 2px; flex-shrink: 0; }
.contact-info-row .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 3px;
}
.contact-info-row .value { color: var(--white); font-weight: 500; font-size: 0.95rem; }
.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  line-height: 0;
}
.map-frame iframe { width: 100%; height: 280px; border: 0; }

/* ===== Footer ===== */
.footer {
  background: var(--ink-900);
  color: rgba(255,255,255,0.55);
  padding: 56px 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
}
.footer-brand .brand-name { color: var(--white); }
.footer-brand p { margin-top: 12px; font-size: 0.9rem; max-width: 320px; }
.footer h5 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 10px; font-size: 0.9rem; }
.footer a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}
.social-row { display: flex; gap: 12px; }
.social-row a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
}
.social-row a:hover { background: var(--sage-600); }

/* ===== Massage page specific ===== */
.sub-hero {
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
}
.sub-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,28,24,0.35), rgba(20,28,24,0.85));
  z-index: 1;
}
.sub-hero .container { position: relative; z-index: 2; padding-top: 140px; padding-bottom: 56px; }
.sub-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); }
.breadcrumb {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 14px;
}
.breadcrumb a:hover { color: var(--white); }

.price-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.price-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(36,48,42,0.06);
}
.price-card .price {
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--terracotta);
  margin: 10px 0;
}
.price-card .label { font-weight: 600; color: var(--ink-900); }
.price-card .sub { font-size: 0.82rem; color: var(--ink-500); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.two-col img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.check-list { list-style: none; margin: 20px 0 0; padding: 0; }
.check-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--ink-700);
  font-size: 0.96rem;
}
.check-list svg { color: var(--sage-500); flex-shrink: 0; margin-top: 3px; }

.press-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.press-grid figure { margin: 0; }
.press-grid img { border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.press-grid figcaption {
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--ink-500);
  text-align: center;
}

.quote-banner {
  text-align: center;
  padding: 64px 0;
}
.quote-banner blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--white);
  margin: 0 auto 14px;
  max-width: 700px;
  font-style: italic;
}
.quote-banner cite {
  font-style: normal;
  color: var(--sage-200);
  font-size: 0.9rem;
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .conditions-wrap { grid-template-columns: repeat(2, 1fr); }
  .about-wrap { grid-template-columns: 1fr; }
  .about-photo { position: static; max-width: 320px; margin: 0 auto; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .price-table { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .nav-links, .nav-cta .nav-phone-text { display: none; }
  .nav-toggle { display: block; }
  .nav-links.is-open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 20px 24px;
    gap: 18px;
    box-shadow: var(--shadow-md);
  }
  .nav-links.is-open a { color: var(--ink-900) !important; }
  .service-grid { grid-template-columns: 1fr; }
  .conditions-wrap { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .press-grid { grid-template-columns: 1fr; }
  .hero { min-height: 100vh; }
  .hero-meta { gap: 16px; flex-direction: column; align-items: flex-start; }
}
