:root {
  --sand: #e5dcca;
  --paper: #f8f4ec;
  --linen: #eee7d9;
  --ink: #1d3325;
  --green: #244f32;
  --sage: #849487;
  --moss: #a7b441;
  --clay: #a7725b;
  --line: rgba(36, 79, 50, 0.18);
  --shadow: 0 30px 90px rgba(29, 51, 37, 0.16);
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(90deg, rgba(36, 79, 50, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(229, 220, 202, 0.92), rgba(248, 244, 236, 1) 520px);
  background-size: 82px 82px, auto;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

main {
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 26px;
  align-items: center;
  width: min(1200px, calc(100% - 42px));
  min-height: 84px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
  background: rgba(248, 244, 236, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  min-width: 0;
  font-weight: 800;
}

.brand img {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(36, 79, 50, 0.16);
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 33%;
}

.brand span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand small {
  color: rgba(29, 51, 37, 0.68);
  font-size: 0.75rem;
  font-weight: 600;
}

nav {
  display: flex;
  gap: 24px;
  color: rgba(29, 51, 37, 0.7);
  font-size: 0.92rem;
  font-weight: 700;
}

nav a:hover,
.course-card a:hover {
  color: var(--green);
}

.round-action {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--green);
}

.hero,
.section,
.feature-band,
footer {
  width: min(1200px, calc(100% - 42px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  min-height: 100svh;
  padding: 52px 0 68px;
}

.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 18px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  color: var(--green);
  font-size: clamp(2.85rem, 5.8vw, 5.7rem);
  line-height: 1;
}

h2 {
  max-width: 720px;
  font-size: clamp(1.8rem, 3vw, 3.1rem);
  line-height: 1.08;
}

h3 {
  font-size: clamp(1.35rem, 1.9vw, 1.85rem);
  line-height: 1.16;
}

h3 strong {
  color: var(--green);
  font-family: inherit;
  font-weight: 900;
}

.lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(29, 51, 37, 0.72);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.7;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 900;
  line-height: 1;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  border-color: var(--green);
  background: var(--green);
  color: #fffaf0;
}

.button.secondary {
  border-color: rgba(36, 79, 50, 0.24);
  background: rgba(255, 250, 240, 0.52);
  color: var(--green);
}

.button.light {
  border-color: #fffaf0;
  background: #fffaf0;
  color: var(--green);
}

.signature-line {
  width: min(560px, 100%);
  height: 18px;
  margin-top: 44px;
  background:
    linear-gradient(90deg, var(--sage) 0 78%, transparent 78%),
    linear-gradient(90deg, transparent 0 16%, var(--green) 16% 100%);
  background-size: 100% 8px, 100% 8px;
  background-position: left top, left bottom;
  background-repeat: no-repeat;
}

.hero-media {
  position: relative;
  min-height: 630px;
}

.hero-media::before {
  position: absolute;
  inset: 34px -34px -26px 38px;
  border: 1px solid rgba(36, 79, 50, 0.22);
  content: "";
}

.hero-media img {
  position: relative;
  width: 100%;
  height: 610px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  object-fit: cover;
  object-position: 50% 36%;
}

.hero-card {
  position: absolute;
  right: -18px;
  bottom: 34px;
  display: grid;
  gap: 7px;
  width: min(330px, calc(100% - 22px));
  padding: 18px 20px;
  border: 1px solid rgba(36, 79, 50, 0.16);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.94);
  box-shadow: 0 22px 50px rgba(29, 51, 37, 0.16);
  overflow: hidden;
}

.hero-card strong,
.hero-card > span:not(.brand-watermark) {
  position: relative;
  z-index: 1;
}

.hero-card span {
  color: rgba(29, 51, 37, 0.68);
  line-height: 1.45;
}

.brand-watermark {
  position: absolute;
  right: 14px;
  bottom: -20px;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 6.4rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  opacity: 0.1;
  pointer-events: none;
}

.section {
  padding: 74px 0;
  border-top: 1px solid var(--line);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 78px);
}

.intro-panel,
.agenda-copy > p,
.feature-band p {
  color: rgba(29, 51, 37, 0.72);
  font-size: 1rem;
  line-height: 1.72;
}

.intro-panel p {
  margin: 0;
}

.check-list {
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.check-list li,
.contact-actions span {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--green);
  font-weight: 900;
}

.feature-band {
  position: relative;
  display: block;
  padding: clamp(28px, 4.5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(132, 148, 135, 0.18), transparent 56%),
    var(--linen);
  overflow: hidden;
}

.feature-band::after {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: -34px;
  color: var(--green);
  content: "HF";
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(7rem, 18vw, 16rem);
  line-height: 0.9;
  opacity: 0.08;
  pointer-events: none;
}

.feature-band > div {
  position: relative;
  z-index: 1;
}

.feature-band h2 {
  max-width: 700px;
  font-size: clamp(1.7rem, 2.65vw, 2.75rem);
  line-height: 1.1;
}

.feature-band p:last-child {
  max-width: 650px;
  margin: 24px 0 0;
}

.section-heading {
  max-width: 820px;
}

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

.course-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.58);
}

.agenda {
  display: block;
}

.agenda .agenda-copy {
  max-width: 900px;
}

.agenda h2 {
  max-width: 780px;
  font-size: clamp(1.75rem, 2.8vw, 2.95rem);
  line-height: 1.1;
}

.agenda-copy > p {
  margin: 0;
}

.new-patient-window {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  margin: 22px 0 24px;
  border: 1px solid rgba(36, 79, 50, 0.18);
  border-left: 6px solid var(--green);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.72);
}

.new-patient-window strong {
  color: var(--green);
}

.new-patient-window span {
  color: rgba(29, 51, 37, 0.72);
  font-size: 1.08rem;
  font-weight: 900;
}

.agenda-actions {
  margin-top: 28px;
}

.agenda-actions span {
  color: var(--green);
}

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

.course-card {
  display: flex;
  flex-direction: column;
  min-height: 400px;
  padding: 24px;
}

.course-card > p {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.course-description {
  margin: 18px 0 0;
  color: rgba(29, 51, 37, 0.72);
  font-size: 0.98rem;
  line-height: 1.6;
  text-transform: none;
}

.course-highlights {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.course-highlights li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  color: rgba(29, 51, 37, 0.78);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.35;
}

.course-highlights svg {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--green);
}

dl {
  display: grid;
  gap: 18px;
  margin: 28px 0;
}

dt {
  color: rgba(29, 51, 37, 0.58);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

dd {
  margin: 5px 0 0;
  color: var(--ink);
}

.course-card a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: auto;
  color: var(--green);
  font-weight: 900;
}

.contact-actions span {
  color: var(--green);
}

footer {
  display: grid;
  gap: 8px;
  padding: 28px 0 46px;
  border-top: 1px solid var(--line);
}

footer p {
  margin: 0;
  color: rgba(29, 51, 37, 0.66);
  line-height: 1.55;
}

footer p:first-child {
  color: var(--ink);
  font-weight: 900;
}

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

  nav {
    display: none;
  }

  .hero,
  .intro {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: auto;
  }

  .hero-media img {
    height: 540px;
  }

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

}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .section,
  .feature-band,
  footer {
    width: min(100% - 28px, 1200px);
  }

  .site-header {
    min-height: 72px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand small {
    display: none;
  }

  h1 {
    font-size: clamp(2.35rem, 11vw, 3.35rem);
  }

  h2 {
    font-size: clamp(1.65rem, 8vw, 2.35rem);
    line-height: 1.12;
  }

  .hero {
    gap: 32px;
    padding: 34px 0 50px;
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .signature-line {
    margin-top: 40px;
  }

  .hero-media::before {
    inset: 22px -10px -14px 18px;
  }

  .hero-media img {
    height: 430px;
  }

  .hero-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 14px;
  }

  .section {
    padding: 54px 0;
  }

  .feature-band {
    padding: 24px 20px;
  }

  .feature-band h2,
  .agenda h2 {
    font-size: clamp(1.55rem, 7.4vw, 2.15rem);
  }

  .course-grid {
    grid-template-columns: 1fr;
  }

  .course-card {
    min-height: auto;
  }

}
