:root {
  --blue: #0878bd;
  --blue-dark: #075c91;
  --blue-light: #eaf6fc;
  --teal: #168d94;
  --ink: #18313f;
  --muted: #647783;
  --white: #fff;
  --line: #dbe8ee;
  --shadow: 0 18px 45px rgba(18, 78, 112, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Arial, Helvetica, sans-serif; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.topbar { background: var(--blue-dark); color: #e9f6fd; font-size: 13px; }
.topbar-inner { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 700; white-space: nowrap; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.97); box-shadow: 0 2px 18px rgba(22,63,84,.08); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--blue-dark); font-size: 22px; font-weight: 700; letter-spacing: -.5px; }
.brand img { width: 41px; height: 31px; object-fit: contain; }
.brand strong { color: var(--teal); }
nav { display: flex; align-items: center; gap: 28px; }
nav a { text-decoration: none; font-size: 15px; font-weight: 700; color: #385361; }
nav a:hover, nav a:focus { color: var(--blue); }
.menu-toggle { display: none; border: 1px solid var(--line); background: #fff; padding: 9px 13px; border-radius: 6px; color: var(--blue-dark); font-weight: 700; }
.hero { background: linear-gradient(120deg, #f3fbff 0%, #e2f3fb 100%); overflow: hidden; }
.hero-grid { min-height: 620px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 58px; padding-block: 74px; }
.eyebrow { margin: 0 0 8px; color: var(--teal); text-transform: uppercase; letter-spacing: 1.7px; font-size: 12px; font-weight: 800; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 18px; max-width: 680px; color: var(--blue-dark); font-size: clamp(44px, 6vw, 76px); line-height: 1.04; letter-spacing: -2.4px; }
h2 { margin-bottom: 18px; color: var(--blue-dark); font-size: clamp(30px, 4vw, 45px); line-height: 1.15; letter-spacing: -1px; }
h3 { color: var(--blue-dark); }
.lead { max-width: 650px; color: #435e6c; font-size: 19px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 23px; border-radius: 5px; text-decoration: none; font-weight: 700; transition: .2s ease; }
.button.primary { background: var(--blue); color: #fff; }
.button.primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.button.outline { border: 1px solid var(--blue); color: var(--blue-dark); background: #fff; }
.hours-card { display: grid; max-width: 475px; padding: 18px 20px; background: #fff; border-left: 4px solid var(--teal); box-shadow: 0 8px 24px rgba(18,78,112,.08); }
.hours-card span { color: var(--muted); font-size: 13px; }
.hours-card strong { font-size: 14px; }
.hero-visual { position: relative; }
.hero-visual::before { content: ""; position: absolute; inset: -22px 24px 24px -22px; border: 2px solid rgba(8,120,189,.18); border-radius: 34px 6px 34px 6px; }
.hero-visual img { position: relative; width: 100%; aspect-ratio: 1.29; object-fit: cover; border-radius: 34px 6px 34px 6px; box-shadow: var(--shadow); }
.section { padding-block: 94px; }
.two-column { display: grid; grid-template-columns: .78fr 1.22fr; align-items: center; gap: 74px; }
.photo-frame { min-height: 390px; display: grid; place-items: center; padding: 55px; background: linear-gradient(145deg, #dff3fb, #f8fcfe); border-radius: 6px 46px 6px 46px; box-shadow: var(--shadow); }
.photo-frame img { width: 100%; image-rendering: auto; border: 9px solid #fff; box-shadow: 0 12px 30px rgba(20,68,92,.18); }
.about p:not(.eyebrow) { color: var(--muted); }
.text-link { color: var(--blue); font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.services { background: #f6fbfd; }
.section-heading { max-width: 650px; margin-bottom: 40px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { min-height: 190px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 28px rgba(22,78,107,.07); }
.service-card h3 { margin: 22px 0 0; font-size: 20px; line-height: 1.3; }
.service-icon { display: grid; place-items: center; width: 50px; height: 50px; background: var(--blue-light); color: var(--blue); border-radius: 50%; font-size: 20px; font-weight: 800; }
.doctor { padding-block: 80px; }
.doctor-card { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 34px; padding: 42px; border: 1px solid var(--line); border-left: 6px solid var(--teal); border-radius: 8px; box-shadow: var(--shadow); }
.doctor-card img { width: 150px; height: 150px; object-fit: cover; border-radius: 50%; }
.doctor-card h2 { margin-bottom: 6px; }
.doctor-meta { color: var(--blue); font-weight: 700; }
.doctor-card p:last-child { margin-bottom: 0; color: var(--muted); }
.contact { background: var(--blue-dark); color: #eaf7ff; }
.contact .eyebrow { color: #85d7dc; }
.contact h2, .contact h3 { color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.schedule { padding: 30px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 8px; }
.schedule div { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-top: 1px solid rgba(255,255,255,.14); }
.schedule strong { text-align: right; }
footer { background: #0a2635; color: #bed1dc; padding-block: 30px; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 40px; }
.footer-inner p { margin: 0; }
.footer-inner a { color: #fff; }
.footer-brand { color: #fff; font-size: 19px; }
.footer-brand strong { color: #80d1d5; }

@media (max-width: 860px) {
  .topbar-inner span { display: none; }
  .topbar-inner { justify-content: center; }
  .menu-toggle { display: block; }
  nav { display: none; position: absolute; top: 122px; left: 20px; right: 20px; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); }
  nav.open { display: flex; }
  nav a { padding: 11px 12px; }
  .hero-grid, .two-column, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 44px; padding-block: 58px; }
  .hero-copy { order: 1; }
  .hero-visual { order: 2; max-width: 620px; }
  .two-column { gap: 44px; }
  .photo-frame { min-height: 300px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 540px) {
  .container { width: min(100% - 28px, 1120px); }
  .brand { font-size: 18px; }
  .nav-wrap { min-height: 72px; }
  nav { top: 112px; left: 14px; right: 14px; }
  h1 { font-size: 43px; letter-spacing: -1.5px; }
  .lead { font-size: 17px; }
  .section { padding-block: 70px; }
  .photo-frame { min-height: 245px; padding: 32px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 150px; }
  .doctor-card { grid-template-columns: 1fr; padding: 30px; }
  .doctor-card img { width: 120px; height: 120px; }
  .contact-grid { gap: 45px; }
  .schedule { padding: 23px; }
  .schedule div { flex-direction: column; gap: 4px; }
  .schedule strong { text-align: left; }
}
