:root {
  --ink: #15201d;
  --muted: #60706a;
  --line: #dce5df;
  --paper: #f8faf7;
  --soft: #edf4ef;
  --white: #ffffff;
  --sage: #7ea28f;
  --teal: #176c70;
  --teal-dark: #0f4c50;
  --clay: #c96f55;
  --clay-soft: #f1d5ca;
  --shadow: 0 20px 60px rgba(21, 32, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 22px;
  align-items: center;
  min-height: 74px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(248, 250, 247, 0.94);
  border-bottom: 1px solid rgba(220, 229, 223, 0.86);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: clamp(190px, 24vw, 280px);
  height: auto;
}

.site-nav {
  justify-self: center;
  display: flex;
  gap: clamp(14px, 2.4vw, 30px);
}

.site-nav a,
.site-footer a {
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.active,
.site-footer a:hover {
  color: var(--teal-dark);
}

.nav-action {
  padding: 10px 18px;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal);
  font-weight: 900;
  text-decoration: none;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: clamp(52px, 7vw, 88px) clamp(20px, 5vw, 72px) 42px;
  background:
    radial-gradient(circle at 88% 24%, rgba(201, 111, 85, 0.16), transparent 24%),
    linear-gradient(120deg, #f8faf7 0%, #edf4ef 58%, #e5f0ee 100%);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  max-width: 820px;
  font-size: clamp(2.45rem, 5vw, 5.2rem);
  line-height: 0.99;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.1vw, 3.45rem);
  line-height: 1.06;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.14rem;
}

.hero-copy > p:not(.eyebrow),
.booking-copy > p,
.approach-panel > p,
.section-intro > p,
.section-heading > p,
.profile-panel p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions,
.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--teal);
}

.button.primary:hover,
.nav-action:hover {
  background: var(--teal-dark);
}

.button.secondary {
  color: var(--ink);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
  margin: 0;
}

.hero-stats div {
  padding: 16px;
  border: 1px solid rgba(220, 229, 223, 0.8);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.hero-stats dt {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 900;
}

.hero-stats dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-visual {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% 4% 4% 8%;
  border-radius: 38% 62% 46% 54%;
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-visual img {
  position: relative;
  width: min(88%, 620px);
  max-height: 74vh;
  object-fit: contain;
  filter: drop-shadow(0 30px 30px rgba(21, 32, 29, 0.16));
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quick-actions a {
  min-height: 92px;
  padding: 18px clamp(14px, 3vw, 34px);
  background: var(--white);
  text-decoration: none;
}

.quick-actions span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quick-actions strong {
  color: var(--teal-dark);
}

.section {
  padding: clamp(58px, 8vw, 110px) clamp(20px, 5vw, 72px);
  scroll-margin-top: 96px;
}

.page-hero {
  padding: clamp(54px, 8vw, 96px) clamp(20px, 5vw, 72px);
  background:
    radial-gradient(circle at 90% 20%, rgba(201, 111, 85, 0.12), transparent 24%),
    linear-gradient(120deg, #f8faf7 0%, #edf4ef 100%);
}

.page-hero h1 {
  max-width: 980px;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.1rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(30px, 5vw, 72px);
}

.service-grid,
.info-grid,
.credential-grid,
.referral-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.program-card,
.hours-panel,
.booking-form,
.info-grid article,
.credential-grid article,
.referral-grid article,
.faq-list details,
.profile-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 32px rgba(21, 32, 29, 0.06);
}

.service-card,
.info-grid article,
.credential-grid article,
.referral-grid article {
  padding: 24px;
}

.service-card p,
.program-card p,
.hours-panel p,
.info-grid p,
.credential-grid p,
.referral-grid p,
.faq-list p {
  color: var(--muted);
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--clay-soft);
  color: #8c3d2d;
  font-weight: 900;
}

.about-section {
  background: var(--soft);
}

.biokinetics-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(30px, 5vw, 72px);
  background: var(--white);
}

.profile-panel {
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 46px);
  align-items: center;
  padding: clamp(22px, 4vw, 36px);
  margin-bottom: 18px;
}

.profile-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
  object-position: center 22%;
  box-shadow: 0 12px 32px rgba(21, 32, 29, 0.16);
}

.credential-label {
  display: block;
  margin-bottom: 10px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.credential-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.approach {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 24px;
  background: var(--teal-dark);
  color: var(--white);
}

.approach .eyebrow,
.approach-panel p,
.hours-panel p,
.hours-panel dd {
  color: #d7ece4;
}

.approach-panel {
  align-self: center;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 820px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.process-list li {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.process-list strong,
.process-list span {
  display: block;
}

.process-list span {
  margin-top: 6px;
  color: #d7ece4;
}

.hours-panel {
  padding: 26px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.hours-panel dl {
  display: grid;
  gap: 14px;
  margin: 0 0 20px;
}

.hours-panel div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.hours-panel dt {
  font-weight: 900;
}

.hours-panel dd {
  margin: 0;
  text-align: right;
}

.section-heading {
  max-width: 880px;
  margin-bottom: 28px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.program-card {
  overflow: hidden;
}

.program-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 18px;
  background: #eef5f1;
}

.program-card div {
  padding: 22px;
}

.clinic-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 66px);
  align-items: center;
  background: var(--soft);
}

.clinic-photo {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.clinic-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.clinic-copy p {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.08rem;
}

.clinic-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding-left: 20px;
  color: var(--muted);
  font-weight: 700;
}

.referral-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(28px, 5vw, 64px);
  background: var(--white);
}

.referral-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faq-section {
  background: var(--soft);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  font-weight: 900;
  cursor: pointer;
}

.faq-list p {
  margin: 12px 0 0;
}

.journey-section {
  background: var(--white);
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.journey-grid article {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.journey-grid span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal);
  font-weight: 900;
}

.journey-grid p {
  color: var(--muted);
}

.appointment-section {
  background: var(--soft);
}

.appointment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.appointment-grid article,
.payment-note {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 32px rgba(21, 32, 29, 0.06);
}

.appointment-grid span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: #8c3d2d;
  background: var(--clay-soft);
  font-weight: 900;
}

.appointment-grid p,
.payment-note p {
  color: var(--muted);
}

.price {
  display: block;
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-size: 2rem;
  line-height: 1;
}

.payment-note {
  margin-top: 18px;
}

.booking-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 66px);
  align-items: start;
  background: #edf4ef;
}

address {
  margin-top: 26px;
  color: var(--muted);
  font-style: normal;
}

address a {
  color: var(--teal-dark);
  font-weight: 800;
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
}

.booking-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 900;
}

.booking-form .full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(23, 108, 112, 0.18);
  border-color: var(--teal);
}

.form-status {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: var(--teal-dark);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.site-footer strong {
  display: block;
  color: var(--ink);
}

.site-footer p {
  margin: 4px 0 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.legal-page {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 90px) 20px;
}

.legal-page h1 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
}

.legal-page section {
  margin-top: 34px;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .site-nav,
  .nav-action {
    display: none;
  }

  .menu-button {
    display: block;
    justify-self: end;
  }

  .site-header.menu-open .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    justify-self: stretch;
    gap: 0;
    padding-top: 8px;
  }

  .site-header.menu-open .menu-button {
    grid-column: 3;
    grid-row: 1;
  }

  .site-header.menu-open .site-nav a {
    padding: 12px 0;
    border-top: 1px solid var(--line);
  }

  .hero,
  .split,
  .biokinetics-section,
  .approach,
  .clinic-section,
  .booking-section,
  .referral-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 360px;
  }

  .quick-actions,
  .program-grid,
  .referral-grid,
  .journey-grid,
  .appointment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    padding-inline: 16px;
  }

  .brand small {
    display: none;
  }

  .brand img {
    width: 154px;
  }

  h1 {
    font-size: clamp(2.1rem, 11vw, 3.1rem);
  }

  h2 {
    font-size: clamp(1.85rem, 9vw, 2.65rem);
  }

  .hero,
  .section {
    padding-inline: 16px;
  }

  .hero-actions,
  .contact-buttons,
  .site-footer {
    flex-direction: column;
  }

  .button,
  .hero-actions a,
  .contact-buttons a {
    width: 100%;
  }

  .hero-stats,
  .service-grid,
  .info-grid,
  .quick-actions,
  .program-grid,
  .booking-form,
  .credential-grid,
  .referral-grid,
  .journey-grid,
  .appointment-grid,
  .process-list,
  .profile-panel {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 300px;
  }

  .hours-panel div {
    display: block;
  }

  .hours-panel dd {
    text-align: left;
  }
}
