:root {
  --ink: #26312c;
  --muted: #68746e;
  --sage: #607a66;
  --sage-dark: #3f5f4d;
  --clay: #c87665;
  --petal: #f7e7e2;
  --mist: #edf3ef;
  --cream: #fbf8f3;
  --white: #ffffff;
  --line: rgba(38, 49, 44, 0.12);
  --shadow: 0 20px 60px rgba(38, 49, 44, 0.12);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

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

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 54px);
  background: rgba(251, 248, 243, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(38, 49, 44, 0.08);
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sage);
  color: var(--white);
  font-family: Lora, serif;
  font-weight: 700;
}

.brand strong,
.brand small { display: block; }
.brand strong { font-size: 15px; line-height: 1.1; }
.brand small { font-size: 12px; color: var(--muted); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 600;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
}

.site-nav a:hover { color: var(--sage-dark); }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: stretch;
  background: var(--mist);
}

.hero-media {
  min-height: 680px;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px clamp(28px, 6vw, 84px) 72px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--sage-dark);
  letter-spacing: 0;
  text-transform: uppercase;
}

h1, h2, h3 {
  font-family: Lora, Georgia, serif;
  line-height: 1.08;
  margin: 0;
}

h1 { font-size: clamp(48px, 8vw, 96px); }
h2 { font-size: clamp(32px, 4.8vw, 58px); }
h3 { font-size: 22px; }

.lead {
  max-width: 620px;
  margin: 24px 0 0;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--sage-dark); color: var(--white); }
.btn-primary:hover { background: var(--sage); }
.btn-secondary { border-color: var(--line); background: rgba(255,255,255,0.55); }

.intro-band {
  padding: 28px clamp(20px, 5vw, 64px);
  background: var(--sage-dark);
  color: var(--white);
}

.intro-band p {
  max-width: 1100px;
  margin: 0 auto;
  font-family: Lora, Georgia, serif;
  font-size: clamp(22px, 3vw, 38px);
  line-height: 1.25;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
}

.copy-stack p {
  margin: 0 0 18px;
  font-size: 18px;
  color: var(--muted);
}

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

.credentials article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(38, 49, 44, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.credentials article { padding: 26px; }

.credentials article:hover {
  transform: translateY(-4px);
  border-color: rgba(96, 122, 102, 0.26);
  box-shadow: 0 20px 46px rgba(38, 49, 44, 0.12);
}

.credentials span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--clay);
  font-weight: 800;
}
.credentials small {
  display: block;
  margin-top: 10px;
  color: var(--sage-dark);
  font-weight: 800;
}
.credentials p,
.service-card p,
.clinic-copy p { color: var(--muted); }

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-kicker {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
}

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

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 470px;
  display: flex;
  align-items: flex-end;
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: 0 18px 46px rgba(38, 49, 44, 0.14);
}

.service-card figure {
  position: absolute;
  inset: 0;
  margin: 0;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.76;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(38,49,44,0.9), rgba(38,49,44,0.22) 62%, rgba(38,49,44,0.02));
}

.service-card:hover img {
  transform: scale(1.035);
  opacity: 0.86;
}

.service-content {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 245px;
  box-sizing: border-box;
  padding: 28px 28px 34px;
  color: var(--white);
}

.service-content span {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.88);
  font-size: 12px;
  font-weight: 800;
}

.service-content h3 {
  margin-bottom: 10px;
}

.service-card p {
  margin: 0;
  color: rgba(255,255,255,0.82);
}

.clinic-section {
  width: 100%;
  max-width: none;
  background: var(--mist);
  padding-left: max(20px, calc((100vw - 1180px) / 2));
  padding-right: max(20px, calc((100vw - 1180px) / 2));
}

.clinic-board {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(30px, 6vw, 76px);
  align-items: start;
}

.clinic-panel {
  position: sticky;
  top: 108px;
  padding: clamp(28px, 4vw, 42px);
  background: var(--sage-dark);
  color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.clinic-panel .eyebrow {
  color: rgba(255,255,255,0.72);
}

.clinic-panel p:not(.eyebrow) {
  margin: 20px 0 0;
  color: rgba(255,255,255,0.78);
  font-size: 17px;
}

.clinic-directory {
  display: grid;
  gap: 12px;
}

.clinic-place {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 126px;
  padding: 18px 16px;
  border-top: 1px solid rgba(38, 49, 44, 0.14);
  border-radius: var(--radius);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.clinic-place:last-child {
  border-bottom: 1px solid rgba(38, 49, 44, 0.14);
}

.clinic-place:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.64);
  border-color: rgba(38, 49, 44, 0.08);
  box-shadow: 0 16px 38px rgba(38, 49, 44, 0.08);
}

.clinic-place img {
  width: 82px;
  height: 64px;
  object-fit: contain;
  padding: 10px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(38, 49, 44, 0.08);
  border-radius: var(--radius);
}

.clinic-place-cpg {
  grid-template-columns: 126px minmax(0, 1fr) auto;
}

.clinic-place-cpg img {
  width: 126px;
  padding: 4px;
}

.clinic-place h3 {
  margin-bottom: 5px;
  font-size: 24px;
}

.clinic-place p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.clinic-place nav {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
}

.clinic-place nav a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(38, 49, 44, 0.12);
  border-radius: 50%;
  background: rgba(255,255,255,0.68);
  color: var(--sage-dark);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.clinic-place nav svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.clinic-place nav a:hover {
  transform: translateY(-1px);
  background: var(--white);
  border-color: rgba(200, 118, 101, 0.28);
  color: var(--clay);
}

.clinic-place:first-child {
  background: rgba(255,255,255,0.58);
  border: 1px solid rgba(38, 49, 44, 0.1);
  box-shadow: 0 18px 42px rgba(38, 49, 44, 0.08);
}

.clinic-place:first-child + .clinic-place {
  border-top: none;
}

.clinic-place:first-child nav a:first-child {
  color: var(--white);
  background: var(--sage-dark);
  border-color: var(--sage-dark);
}

.clinic-place:first-child nav a:first-child:hover {
  background: var(--sage);
}

.personal {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
}
.personal-copy {
  padding-right: 28px;
}
.personal-copy p:not(.eyebrow) {
  font-size: 18px;
  color: var(--muted);
}
.personal img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-section {
  padding: 96px clamp(20px, 5vw, 64px);
  background: var(--petal);
}

.contact-panel {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
}

.contact-panel p {
  color: var(--muted);
  font-size: 18px;
}

.contact-links {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}
.contact-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--sage-dark);
  font-weight: 800;
  text-decoration: none;
  line-height: 1.2;
}

.contact-links svg {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  padding: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.58);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.contact-links a:hover {
  color: var(--clay);
}

.contact-links a:hover svg {
  transform: translateY(-1px);
  background: var(--white);
}

.contact-form {
  display: grid;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.contact-form label {
  display: grid;
  gap: 7px;
  font-weight: 700;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: #fffdf9;
}
.contact-form textarea { resize: vertical; }

.spam-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  min-height: 20px;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.form-status.success { color: var(--sage-dark); }
.form-status.error { color: var(--clay); }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 64px);
  background: var(--ink);
  color: var(--white);
}
.site-footer p { margin: 0; }
.site-footer div {
  display: flex;
  gap: 18px;
}
.site-footer a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 10px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px 12px; }
  .hero,
  .split,
  .personal,
  .contact-panel { grid-template-columns: 1fr; }
  .hero-media { min-height: 58vh; order: 2; }
  .hero-content { padding-top: 110px; }
  .credentials,
  .service-grid,
  .clinic-board { grid-template-columns: 1fr; }
  .service-card,
  .service-card-featured {
    min-height: 390px;
    transform: none;
  }
  .clinic-panel {
    position: static;
  }
  .clinic-place {
    grid-template-columns: 76px minmax(0, 1fr);
  }
  .clinic-place-cpg {
    grid-template-columns: 112px minmax(0, 1fr);
  }
  .clinic-place-cpg img { width: 112px; }
  .clinic-place nav {
    grid-column: 2;
    justify-content: flex-start;
  }
  .personal-copy { padding-right: 0; }
  .site-footer { flex-direction: column; }
}

@media (max-width: 560px) {
  .brand small { display: none; }
  .hero-actions .btn { width: 100%; }
  .section { width: min(100% - 28px, 1180px); padding: 70px 0; }
  .clinic-section {
    width: 100%;
    padding-left: 14px;
    padding-right: 14px;
  }
  .contact-section { padding: 70px 14px; }
  .service-card { min-height: 340px; }
  .service-content { padding: 22px; }
  .clinic-board { gap: 22px; }
  .clinic-panel { padding: 24px; }
  .clinic-directory { gap: 12px; }
  .clinic-place,
  .clinic-place:first-child {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 12px 14px;
    min-height: 0;
    padding: 14px;
    background: rgba(255,255,255,0.76);
    border: 1px solid rgba(38, 49, 44, 0.1);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(38, 49, 44, 0.06);
  }
  .clinic-place img {
    grid-row: span 2;
    width: 74px;
    height: 58px;
    padding: 8px;
  }
  .clinic-place-cpg {
    grid-template-columns: 110px minmax(0, 1fr);
  }
  .clinic-place-cpg img {
    width: 110px;
    padding: 4px;
  }
  .clinic-place h3 {
    margin-bottom: 3px;
    font-size: 19px;
    line-height: 1.15;
  }
  .clinic-place p {
    font-size: 14px;
  }
  .clinic-place nav {
    grid-column: 2;
    align-items: center;
    flex-direction: row;
    gap: 8px;
  }
  .clinic-place nav a {
    width: 38px;
    height: 38px;
  }
  .site-footer div { flex-direction: column; gap: 8px; }
}
