:root {
  --bg: #f6f2ea;
  --bg-soft: #fffaf3;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-strong: #ffffff;
  --text: #17313b;
  --muted: #5f7077;
  --line: rgba(23, 49, 59, 0.12);
  --primary: #0d6a78;
  --primary-deep: #0a4c56;
  --accent: #d7a96b;
  --shadow: 0 18px 45px rgba(24, 42, 51, 0.12);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(215, 169, 107, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(13, 106, 120, 0.16), transparent 24%),
    linear-gradient(180deg, #fbf7f1 0%, var(--bg) 100%);
  line-height: 1.6;
}

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

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(246, 242, 234, 0.78);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  font-family: "DM Serif Display", serif;
  font-size: 1.55rem;
  letter-spacing: 0.01em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: var(--muted);
  font-weight: 600;
}

.hero {
  padding: 72px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.8fr);
  gap: 36px;
  align-items: center;
}

.eyebrow,
.card-kicker,
.credential-label,
.timeline-period {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--primary);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
}

h1,
h2 {
  font-family: "DM Serif Display", serif;
  font-weight: 400;
}

h1 {
  margin-top: 14px;
  font-size: clamp(2.9rem, 6vw, 5.4rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
  font-size: 1.25rem;
}

.lead {
  margin: 22px 0 0;
  max-width: 62ch;
  font-size: 1.08rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  box-shadow: 0 16px 30px rgba(10, 76, 86, 0.26);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
}

.button.full {
  width: 100%;
}

.contact-panel .button + .button {
  margin-top: 12px;
}

.hero-highlights {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.hero-highlights li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

.hero-highlights li::before,
.care-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary));
}

.hero-card,
.credential-card,
.timeline-item,
.procedure-card,
.care-card,
.contact-panel {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  border-radius: var(--radius-xl);
}

.hero-card {
  overflow: hidden;
}

.portrait-shell {
  padding: 18px;
}

.portrait-placeholder {
  min-height: 370px;
  border-radius: calc(var(--radius-xl) - 8px);
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.72), transparent 38%),
    linear-gradient(180deg, rgba(13, 106, 120, 0.24), rgba(23, 49, 59, 0.8)),
    linear-gradient(135deg, #d8e4e7, #b5c5ca);
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.92);
  text-align: center;
  padding: 24px;
  font-weight: 700;
}

.portrait-image {
  width: 100%;
  min-height: 370px;
  border-radius: calc(var(--radius-xl) - 8px);
  object-fit: cover;
  object-position: center top;
  background: linear-gradient(135deg, #d8e4e7, #b5c5ca);
}

.hero-card-body {
  padding: 0 28px 30px;
}

.credentials {
  padding: 18px 0 20px;
}

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

.credential-card,
.procedure-card,
.care-card,
.contact-panel {
  padding: 28px;
}

.section {
  padding: 62px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255,255,255,0.3), rgba(255,255,255,0.58));
  border-top: 1px solid rgba(255,255,255,0.6);
  border-bottom: 1px solid rgba(23, 49, 59, 0.06);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.section-heading h2 {
  margin-top: 12px;
  max-width: 13ch;
}

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

.section-heading.narrow h2 {
  max-width: none;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  padding: 26px 26px 24px;
}

.timeline-item p:last-child,
.procedure-card p,
.credential-card p,
.care-card p,
.contact-panel p {
  color: var(--muted);
}

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

.care-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: start;
}

.care-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.care-list li {
  position: relative;
  padding-left: 24px;
}

.contact-section {
  padding-top: 24px;
  padding-bottom: 78px;
}

.contact-box {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.85fr);
  gap: 28px;
  padding: 34px;
  border-radius: calc(var(--radius-xl) + 6px);
  background: linear-gradient(140deg, rgba(11, 82, 92, 0.96), rgba(16, 44, 52, 0.96));
  color: #f7f3ec;
  box-shadow: 0 26px 50px rgba(12, 31, 36, 0.26);
}

.contact-box .eyebrow,
.contact-box .contact-panel strong {
  color: #f5c58b;
}

.contact-box p {
  color: rgba(247, 243, 236, 0.82);
}

.contact-panel {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.footer {
  padding: 26px 0 38px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 960px) {
  .hero-grid,
  .section-grid,
  .care-grid,
  .contact-box,
  .credentials-grid,
  .procedure-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: none;
  }

  .section-heading h2 {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    gap: 14px 18px;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-actions,
  .nav {
    width: 100%;
  }

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

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

  .hero-card-body,
  .credential-card,
  .timeline-item,
  .procedure-card,
  .care-card,
  .contact-panel,
  .contact-box {
    padding: 22px;
  }

  .portrait-placeholder {
    min-height: 280px;
  }

  .portrait-image {
    min-height: 280px;
  }
}

@media (max-width: 920px) and (orientation: landscape) {
  .topbar {
    position: static;
  }

  .hero {
    padding-top: 30px;
  }

  h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
  }

  .portrait-image {
    min-height: 240px;
  }
}
