:root {
  --bg: #f8f6f3;
  --paper: #ffffff;
  --text: #2f2d2a;
  --muted: #6e6a66;
  --line: #e7e0d8;
  --accent: #b08d73;
  --accent-dark: #8f6d55;
  --soft: #efe7df;
  --max: 1080px;
  --radius: 22px;
  --shadow: 0 8px 24px rgba(57, 47, 38, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 15.5px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(248, 246, 243, 0.86);
  border-bottom: 1px solid rgba(176, 141, 115, 0.12);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand small {
  display: block;
  font-family: inherit;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 2px;
}

.menu {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 0.92rem;
}

.menu a {
  color: var(--muted);
}

.menu a:hover {
  color: var(--text);
}

.menu a.is-active {
  color: var(--accent-dark);
}

.menu a:not(.btn).is-active {
  position: relative;
}

.menu a:not(.btn).is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn-secondary:hover {
  background: #fff;
}

.hero {
  padding: 56px 0 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--accent-dark);
  font-size: 0.83rem;
  margin-bottom: 16px;
}

h1,
h2,
h3 {
  margin: 0 0 14px;
  line-height: 1.15;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

h1 {
  font-size: clamp(2rem, 4.6vw, 3.9rem);
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.55rem);
}

h3 {
  font-size: 1.16rem;
}

.lead {
  font-size: 1rem;
  color: var(--muted);
  max-width: 58ch;
}

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

.hero-card {
  background: linear-gradient(180deg, #ffffff, #f4eee8);
  border: 1px solid var(--line);
  border-radius: 28px;
  min-height: 460px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 22px;
}

.hero-portrait {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.portrait-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(248, 246, 243, 0.04), rgba(111, 87, 63, 0.18)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 30%);
}

.hero-note {
  position: relative;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(176, 141, 115, 0.18);
  border-radius: 20px;
  padding: 16px 18px;
  max-width: 290px;
  box-shadow: var(--shadow);
}

.hero-note strong {
  display: block;
  margin-bottom: 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}

section {
  padding: 26px 0;
}

.visual-card {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--paper);
}

.visual-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.inline-visual {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  background: var(--paper);
}

.inline-visual img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
}

.inline-visual-small {
  max-width: 360px;
}

.inline-visual-small img {
  height: 220px;
}

.inline-visual-wide img {
  height: 220px;
}

.image-accent {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  align-items: center;
}

.image-accent-copy {
  max-width: 34rem;
}

.image-accent .eyebrow {
  margin-bottom: 10px;
}

.image-accent .lead {
  margin: 0;
  font-size: 0.96rem;
}

.section-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.intro-grid,
.two-col,
.contact-grid,
.patient-grid {
  display: grid;
  gap: 24px;
}

.intro-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
}

.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}

.stat strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.two-col {
  grid-template-columns: 1fr 1fr;
}

.over-grid {
  align-items: start;
}

.over-side {
  display: grid;
  align-content: start;
}

.box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
}

.box ul {
  margin: 0;
  padding-left: 18px;
}

.box li + li {
  margin-top: 10px;
}

.muted {
  color: var(--muted);
}

.quote {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  color: var(--accent-dark);
  margin-bottom: 14px;
}

.contact-grid {
  grid-template-columns: 0.75fr 1.25fr;
  gap: 36px;
  align-items: start;
}

.contact-intro {
  padding: 8px 4px;
}

.contact-intro .lead {
  margin-top: 0;
}

.contact-note {
  position: relative;
  margin-top: 24px;
  padding: 14px 16px 14px 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft);
}

.contact-note::before {
  content: "i";
  position: absolute;
  top: 15px;
  left: 16px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 26px;
  border-color: rgba(176, 141, 115, 0.35);
  box-shadow: 0 10px 28px rgba(57, 47, 38, 0.08);
}

.form-heading {
  padding-bottom: 2px;
}

.form-heading .eyebrow {
  margin-bottom: 10px;
}

.form-heading h3 {
  margin: 0 0 5px;
}

.form-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field label {
  font-weight: 600;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--text);
  background: var(--paper);
  font: inherit;
  line-height: 1.4;
}

.form-field input {
  min-height: 46px;
}

.form-field textarea {
  resize: vertical;
  min-height: 140px;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(176, 141, 115, 0.28);
  border-color: var(--accent);
}

.form-field-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.captcha-field {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft);
}

.captcha-field label {
  grid-column: 1 / -1;
}

.captcha-field input {
  max-width: 160px;
  background: #fff;
}

.captcha-refresh {
  border: 0;
  padding: 10px 0;
  color: var(--accent-dark);
  background: transparent;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.captcha-refresh:hover {
  text-decoration: underline;
}

.form-submit {
  justify-self: start;
  cursor: pointer;
  min-width: 170px;
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.65;
}

.form-status {
  min-height: 1.5em;
  margin: 0;
  font-weight: 600;
}

.form-status.is-success {
  color: #39714d;
}

.form-status.is-error {
  color: #a23b36;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.contact-item {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.contact-item span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.footer {
  padding: 22px 0 36px;
  color: var(--muted);
  font-size: 0.9rem;
}

.small {
  font-size: 0.92rem;
  color: var(--muted);
}

.divider {
  height: 1px;
  background: var(--line);
  margin: 18px 0 0;
}

.section-gap {
  margin-top: 20px;
}

@media (max-width: 980px) {
  .hero-grid,
  .image-accent,
  .intro-grid,
  .two-col,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: 340px;
  }

  .inline-visual-small {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 20px;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 15px;
  }

  .container {
    width: min(var(--max), calc(100% - 28px));
  }

  .nav {
    align-items: flex-start;
    padding: 12px 0;
    flex-direction: column;
    min-height: auto;
  }

  .menu {
    gap: 10px 12px;
    width: 100%;
    justify-content: flex-start;
    font-size: 0.9rem;
  }

  .menu a:not(.btn).is-active::after {
    bottom: -6px;
  }

  .section-card {
    padding: 20px;
  }

  .hero {
    padding-top: 28px;
    padding-bottom: 22px;
  }

  .hero-card {
    min-height: 300px;
    padding: 16px;
  }

  .hero-note {
    max-width: 100%;
    font-size: 0.92rem;
  }

  .inline-visual img,
  .inline-visual-small img,
  .inline-visual-wide img {
    height: 200px;
  }

  .btn {
    width: 100%;
    min-height: 44px;
  }

  .hero-actions .btn {
    width: auto;
    min-width: 0;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
  }

  h2 {
    font-size: clamp(1.4rem, 6vw, 2rem);
  }

  .lead {
    font-size: 0.97rem;
  }
}
