:root {
  --bg: #eef4f3;
  --panel: rgba(255, 255, 255, 0.92);
  --panel-strong: #ffffff;
  --panel-soft: rgba(248, 252, 251, 0.94);
  --text: #1d2a2f;
  --text-strong: #102026;
  --text-body: #45575d;
  --muted: #6f8487;
  --line: rgba(113, 149, 153, 0.22);
  --accent: #3f8f86;
  --accent-hover: #32766f;
  --accent-soft: #dff1ee;
  --accent-deep: #1f5e5d;
  --shadow: 0 20px 50px rgba(28, 64, 72, 0.09);
  --radius-xl: 34px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --container: 1680px;
  --content: 1320px;
  --font-text:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial,
    sans-serif;
  --font-display:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue",
    Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(176, 220, 216, 0.36), transparent 34%),
    linear-gradient(180deg, #f6fbfa 0%, #edf4f3 46%, #e8efee 100%);
  color: var(--text);
  font-family: var(--font-text);
  line-height: 1.6;
  letter-spacing: -0.011em;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.34), transparent 48%),
    radial-gradient(circle at 85% 15%, rgba(182, 214, 233, 0.2), transparent 16%);
  opacity: 0.8;
}

body.is-ready [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 30px, 0) scale(0.99);
  filter: blur(6px);
  transition:
    opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

body.is-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

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

img {
  max-width: 100%;
}

p,
li,
button {
  font-size: 16px;
  color: var(--text-body);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 18px 0 72px;
}

.top-contact-bar {
  width: calc(100% - 40px);
  max-width: calc(var(--container) - 40px);
  margin: 0 auto 8px;
  text-align: center;
}

.top-contact-bar p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.3;
}

.top-contact-bar span {
  display: inline-block;
  margin: 0 8px;
}

.site-header {
  position: relative;
  z-index: 50;
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 62px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(18, 57, 61, 0.08);
  backdrop-filter: saturate(180%) blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  width: clamp(132px, 16vw, 210px);
  height: auto;
}

.site-menu {
  display: block;
}

.menu-toggle {
  display: none;
}

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

.site-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
}

.site-nav a.is-active {
  font-weight: 700;
}

.nav-cta {
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(63, 143, 134, 0.2);
  color: var(--accent-deep);
  font-weight: 700;
  white-space: nowrap;
}

.nav-cta:hover,
.nav-cta.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.hero,
.section {
  position: relative;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(239, 248, 246, 0.92));
  border-radius: var(--radius-xl);
}

.section,
.hero {
  width: min(calc(100% - 48px), var(--content));
  margin-left: auto;
  margin-right: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 32px;
  align-items: stretch;
  margin-bottom: 56px;
}

.hero-copy,
.hero-card,
.soft-panel,
.info-card,
.contact-side,
.map-card {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: clamp(38px, 5vw, 72px);
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at top left, rgba(195, 229, 223, 0.54), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(245, 251, 250, 0.98) 100%);
}

.hero-card {
  padding: clamp(22px, 2.8vw, 30px);
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at top, rgba(232, 246, 243, 0.95), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(238, 248, 247, 0.98) 100%);
}

.eyebrow,
.contact-kicker {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-hero-title,
.section-heading h2,
.service-card h3,
.contact-card h3,
.map-card h3 {
  color: var(--text-strong);
  font-family: var(--font-display);
  letter-spacing: -0.032em;
}

.home-hero-title {
  margin: 0 0 18px;
  font-size: clamp(42px, 5vw, 78px);
  line-height: 0.96;
  max-width: 12ch;
}

.hero-lead {
  margin: 0 0 18px;
  font-size: 20px;
  line-height: 1.45;
  color: var(--text);
}

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

.stacked-actions {
  flex-direction: column;
  align-items: flex-start;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

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

.button-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 14px 26px rgba(63, 143, 134, 0.22);
}

.button-primary:hover {
  background: var(--accent-hover);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.82);
  color: var(--accent-deep);
  border: 1px solid rgba(63, 143, 134, 0.18);
}

.editorial-photo {
  width: 100%;
  margin: 0 0 18px;
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
}

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

.hero-photo {
  margin: 0;
  aspect-ratio: 0.92 / 1.04;
}

.doctor-hero-photo {
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.72), transparent 42%),
    linear-gradient(180deg, #f8fcfc 0%, #eef6f5 100%);
}

.doctor-hero-photo img {
  object-fit: contain;
  object-position: center bottom;
}

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

.summary-item {
  padding: 16px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(63, 143, 134, 0.1);
  border-radius: 20px;
}

.summary-label,
.summary-value {
  margin: 0;
}

.summary-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.summary-value {
  margin-top: 8px;
  color: var(--text);
  font-weight: 600;
}

.section {
  margin-bottom: 34px;
  padding: clamp(32px, 4vw, 48px);
}

.biography-section {
  padding-left: 0;
  padding-right: 0;
}

.biography-section .section-heading {
  padding-left: clamp(32px, 4vw, 48px);
  padding-right: clamp(32px, 4vw, 48px);
}

.site-header,
.hero,
.section,
.site-footer {
  max-width: 1240px;
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(32px, 3.4vw, 54px);
  line-height: 1.02;
  max-width: 14ch;
}

.split-feature,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: 32px;
  align-items: center;
}

.soft-panel,
.biography-text {
  padding: clamp(28px, 3vw, 34px);
}

.biography-text {
  width: 100%;
  max-width: none;
}

.check-list,
.service-list {
  margin: 18px 0 0;
  padding-left: 18px;
}

.check-list li,
.service-list li {
  margin-bottom: 10px;
}

.split-photo {
  margin: 0;
  aspect-ratio: 1 / 0.9;
}

.map-preview {
  min-height: 320px;
}

.cards.two-up {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  min-height: 100%;
}

.service-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.service-card h3,
.contact-card h3,
.map-card h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.05;
}

.service-card p,
.service-card ul {
  margin-top: 0;
  margin-bottom: 0;
}

.doctor-spotlight {
  align-items: center;
}

.profile-photo {
  width: clamp(220px, 24vw, 310px);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 50%;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.7), transparent 40%),
    linear-gradient(180deg, #f9fdfd 0%, #eef6f5 100%);
  box-shadow: 0 20px 50px rgba(31, 94, 93, 0.16);
}

.profile-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.contact-card,
.contact-side,
.map-card {
  height: 100%;
}

.contact-card a,
.contact-side a,
.map-card a,
.summary-value a {
  color: var(--accent-deep);
  font-weight: 700;
}

.compact-contact-grid {
  align-items: stretch;
}

.bio-hero .hero-copy {
  min-height: 520px;
}

.bio-hero .hero-card {
  min-height: 520px;
}

.language-band {
  margin-top: 18px;
  max-width: 240px;
}

.biography-text p {
  margin-top: 0;
  margin-bottom: 18px;
}

.contact-photo {
  aspect-ratio: 1.2 / 0.7;
}

.site-footer {
  width: min(calc(100% - 48px), var(--content));
  margin: 26px auto 0;
  padding: 26px 0 0;
  border-top: 1px solid rgba(63, 143, 134, 0.12);
}

.site-footer p {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 980px) {
  .hero,
  .split-feature,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-card,
  .bio-hero .hero-copy,
  .bio-hero .hero-card {
    min-height: auto;
  }

  .cards.two-up,
  .summary-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .page-shell {
    padding-top: 12px;
  }

  .site-header {
    width: calc(100% - 24px);
    padding: 14px 16px;
    border-radius: 28px;
    align-items: flex-start;
  }

  .site-menu {
    width: 100%;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    list-style: none;
    cursor: pointer;
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
  }

  .menu-toggle::-webkit-details-marker {
    display: none;
  }

  .menu-icon {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
  }

  .menu-icon span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
  }

  .site-menu > .site-nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 14px;
  }

  .site-nav a {
    font-size: 15px;
  }

  .site-nav .nav-cta {
    justify-content: center;
  }

  .hero,
  .section,
  .site-footer {
    width: min(calc(100% - 24px), var(--content));
  }

  .hero {
    margin-bottom: 28px;
  }

  .hero-copy,
  .hero-card,
  .section,
  .soft-panel,
  .service-card,
  .biography-text {
    padding: 24px;
  }

  .home-hero-title {
    font-size: clamp(34px, 11vw, 54px);
    max-width: none;
  }

  .hero-lead {
    font-size: 18px;
  }

  .service-card h3,
  .contact-card h3,
  .map-card h3 {
    font-size: 24px;
  }

  .brand-logo {
    width: 150px;
  }

  .top-contact-bar {
    width: calc(100% - 24px);
  }

  .top-contact-bar p {
    font-size: 10px;
  }
}
