:root {
  --ink: #183236;
  --ink-soft: #5a6d70;
  --primary: #174b52;
  --primary-dark: #10383e;
  --accent: #b9d6ce;
  --accent-soft: #e8f1ee;
  --paper: #fffefb;
  --soft: #f4f7f5;
  --line: #dce5e2;
  --white: #ffffff;
  --shadow: 0 16px 45px rgba(17, 59, 64, .08);
  --radius: 20px;
  --shell: min(1120px, calc(100% - 40px));
  --header-height: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 16px); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
svg { display: block; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; padding: 10px 14px; color: var(--white); background: var(--primary); border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(220, 229, 226, .88);
  background: rgba(255, 254, 251, .94);
  backdrop-filter: blur(14px);
}
.header-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 46px; height: 46px; color: var(--primary); border: 1px solid var(--line); border-radius: 15px; background: var(--white); }
.brand-mark svg { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.brand-copy { display: grid; line-height: 1.22; }
.brand-copy strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.02rem; font-weight: 500; }
.brand-copy small { margin-top: 3px; color: var(--ink-soft); font-size: .72rem; }
.main-nav { display: flex; align-items: center; gap: 25px; }
.main-nav a { color: var(--ink-soft); font-size: .83rem; font-weight: 700; text-decoration: none; }
.main-nav a:hover { color: var(--primary); }
.main-nav .nav-call { padding: 10px 15px; color: var(--white); background: var(--primary); border-radius: 10px; }
.main-nav .nav-call:hover { color: var(--white); background: var(--primary-dark); }
.menu-button { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer; }
.menu-button > span:not(.sr-only) { display: block; width: 100%; height: 2px; margin-block: 4px; background: var(--primary); }

.hero { position: relative; overflow: hidden; color: var(--white); background: var(--primary-dark); }
.hero-pattern { position: absolute; inset: 0; opacity: .34; background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(to right, transparent 5%, black 48%, transparent 100%); }
.hero::after { content: ""; position: absolute; width: 520px; height: 520px; top: -250px; right: -120px; border: 1px solid rgba(185,214,206,.22); border-radius: 50%; box-shadow: 0 0 0 65px rgba(185,214,206,.035), 0 0 0 130px rgba(185,214,206,.025); }
.hero-content { position: relative; z-index: 1; padding-block: clamp(76px, 11vw, 142px) clamp(72px, 9vw, 116px); }
.location-line { margin: 0 0 24px; color: var(--accent); font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero h1 { max-width: 850px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem, 7.2vw, 6.25rem); font-weight: 400; line-height: .98; letter-spacing: -.035em; }
.practice-names { margin: 30px 0 0; color: rgba(255,255,255,.78); font-size: clamp(1rem, 2.4vw, 1.28rem); line-height: 1.55; }
.hero-contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 920px; margin-top: 48px; border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.hero-contact a { display: grid; gap: 4px; min-width: 0; padding: 21px 24px 21px 0; text-decoration: none; }
.hero-contact a + a { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.18); }
.hero-contact span { color: var(--accent); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero-contact strong { overflow-wrap: anywhere; font-size: .94rem; font-weight: 650; }
.hero-contact a:hover strong { text-decoration: underline; }

.important-notice { color: var(--ink); background: var(--accent); }
.notice-content { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 17px; }
.notice-content div { display: flex; align-items: baseline; gap: 14px; }
.notice-content strong { font-size: .9rem; }
.notice-content span { color: #3e5b5f; font-size: .82rem; }
.notice-content a { font-size: .8rem; font-weight: 800; text-underline-offset: 3px; }

.section { padding-block: clamp(72px, 9vw, 112px); }
.section-soft { background: var(--soft); }
.section-dark { color: var(--white); background: var(--primary-dark); }
.section-title { margin-bottom: 38px; }
.section-title.compact { margin-bottom: 25px; }
.section-title p { margin: 0 0 7px; color: var(--primary); font-size: .7rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.section-title h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4.6vw, 3.45rem); font-weight: 400; line-height: 1.08; letter-spacing: -.02em; }
.section-title-light p { color: var(--accent); }
.section-title-light h2 { color: var(--white); }

.doctor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.info-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.doctor-card { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; padding: 30px; }
.initials { display: grid; place-items: center; width: 66px; height: 66px; color: var(--white); border-radius: 18px; background: var(--primary); font-family: Georgia, "Times New Roman", serif; font-size: 1.08rem; }
.doctor-card h3 { margin: 0 0 12px; font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; font-weight: 500; line-height: 1.25; }
.doctor-card p { margin: 2px 0; color: var(--ink-soft); font-size: .9rem; }

.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service-card { min-height: 225px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.service-card h3 { margin: 0 0 16px; font-family: Georgia, "Times New Roman", serif; font-size: 1.22rem; font-weight: 500; line-height: 1.25; }
.service-card ul { margin: 0; padding-left: 18px; color: var(--ink-soft); font-size: .86rem; }
.service-card li + li { margin-top: 7px; }
abbr { text-decoration: none; }
.small-note { max-width: 900px; margin: 24px auto 0; color: var(--ink-soft); font-size: .77rem; text-align: center; }
.small-note.left { margin-inline: 0; text-align: left; }

.two-column { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.fact-panel { padding: clamp(28px, 4vw, 46px); border: 1px solid var(--line); border-radius: 26px; background: var(--white); box-shadow: var(--shadow); }
.fact-panel .section-title { margin-bottom: 26px; }
.fact-panel > p { color: var(--ink-soft); }
.accent-panel { color: var(--white); border-color: transparent; background: var(--primary); }
.fact-list { margin: 0; }
.fact-list > div { display: grid; grid-template-columns: 115px 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.17); }
.fact-list dt { color: var(--accent); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.fact-list dd { margin: 0; font-size: .9rem; }
.plain-links { display: grid; gap: 8px; margin-top: 25px; }
.plain-links a { width: fit-content; color: var(--primary); font-weight: 750; text-underline-offset: 3px; }

.hours-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(45px, 8vw, 110px); align-items: start; }
.phone-hours { display: grid; gap: 8px; max-width: 360px; padding: 22px 0 0; border-top: 1px solid rgba(255,255,255,.16); }
.phone-hours span { color: var(--accent); font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.phone-hours strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; font-weight: 400; line-height: 1.4; }
.hours-table { padding: 12px 32px 24px; border: 1px solid rgba(255,255,255,.13); border-radius: 24px; background: rgba(255,255,255,.045); }
.hours-row { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.hours-row span { color: rgba(255,255,255,.68); }
.hours-row strong { text-align: right; font-size: .91rem; line-height: 1.5; }
.hours-table > p { margin: 19px 0 0; color: rgba(255,255,255,.5); font-size: .76rem; }

.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.contact-card { display: grid; gap: 8px; min-height: 150px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); text-decoration: none; }
.contact-card span { color: var(--primary); font-size: .7rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.contact-card strong { overflow-wrap: anywhere; font-family: Georgia, "Times New Roman", serif; font-size: 1.15rem; font-weight: 500; line-height: 1.35; }
.contact-card em { align-self: end; margin-top: 12px; color: var(--ink-soft); font-size: .75rem; font-style: normal; }
.contact-card:hover { border-color: var(--accent); }

.legal-section { padding-block: 72px 95px; border-top: 1px solid var(--line); background: var(--soft); }
.legal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
summary { position: relative; padding: 21px 56px 21px 23px; list-style: none; font-weight: 800; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; top: 50%; right: 23px; transform: translateY(-50%); color: var(--primary); font-size: 1.45rem; font-weight: 400; }
details[open] summary { border-bottom: 1px solid var(--line); }
details[open] summary::after { content: "−"; }
.legal-content { padding: 25px; color: var(--ink-soft); font-size: .82rem; }
.legal-content h3 { margin: 25px 0 7px; color: var(--ink); font-size: .95rem; }
.legal-content h3:first-child { margin-top: 0; }
.legal-content p { margin: 0 0 13px; }
.legal-content a { color: var(--primary); }

.site-footer { color: rgba(255,255,255,.72); background: #0b272c; }
.footer-content { display: grid; grid-template-columns: 1.4fr auto auto; gap: 40px; align-items: center; padding-block: 36px; }
.footer-content > div { display: grid; gap: 4px; }
.footer-content strong { color: var(--white); font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
.footer-content span, .footer-content p, .footer-content a, .footer-content button { font-size: .76rem; }
.footer-content p { margin: 0; }
.footer-content nav { display: flex; gap: 17px; }
.footer-content a, .footer-content button { padding: 0; border: 0; color: rgba(255,255,255,.72); background: none; text-decoration: none; cursor: pointer; }
.footer-content a:hover, .footer-content button:hover { color: var(--white); text-decoration: underline; }

.privacy-banner {
  position: fixed;
  z-index: 250;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  width: min(860px, calc(100% - 36px));
  margin-inline: auto;
  padding: 22px;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  background: rgba(11,39,44,.98);
  box-shadow: 0 24px 70px rgba(0,0,0,.25);
}
.privacy-banner[hidden] { display: none; }
.privacy-banner h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.2rem; font-weight: 500; }
.privacy-banner p { margin: 5px 0 0; color: rgba(255,255,255,.68); font-size: .78rem; }
.privacy-actions { display: flex; gap: 9px; }
.privacy-actions a, .privacy-actions button { padding: 10px 14px; border: 1px solid rgba(255,255,255,.28); border-radius: 9px; color: var(--white); background: transparent; font-size: .76rem; font-weight: 800; text-decoration: none; cursor: pointer; }
.privacy-actions button { color: var(--primary-dark); border-color: var(--accent); background: var(--accent); }
.noscript-note { position: fixed; z-index: 300; left: 15px; right: 15px; bottom: 15px; padding: 13px; color: var(--white); border-radius: 10px; background: var(--primary-dark); font-size: .8rem; }

:focus-visible { outline: 3px solid rgba(33,103,114,.36); outline-offset: 3px; }

@media (max-width: 960px) {
  :root { --header-height: 72px; }
  .menu-button { display: block; }
  .main-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: grid;
    gap: 0;
    padding: 16px 20px 25px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow);
    transform: translateY(-130%);
    opacity: 0;
    visibility: hidden;
    transition: transform .22s ease, opacity .22s ease, visibility .22s ease;
  }
  .main-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .main-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .main-nav .nav-call { margin-top: 12px; border: 0; text-align: center; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hours-grid { gap: 50px; }
  .footer-content { grid-template-columns: 1fr auto; }
  .footer-content > p { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  :root { --shell: min(100% - 28px, 1120px); }
  .brand-copy small { display: none; }
  .hero-content { padding-block: 65px 70px; }
  .hero h1 { font-size: clamp(2.85rem, 13.5vw, 4.8rem); }
  .hero-contact { grid-template-columns: 1fr; }
  .hero-contact a { padding: 15px 0; }
  .hero-contact a + a { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .notice-content { align-items: flex-start; }
  .notice-content div { display: grid; gap: 2px; }
  .doctor-grid, .two-column, .hours-grid, .contact-grid, .legal-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .fact-list > div { grid-template-columns: 1fr; gap: 5px; }
  .hours-grid { gap: 38px; }
  .footer-content { grid-template-columns: 1fr; align-items: start; }
  .footer-content nav { flex-wrap: wrap; }
  .privacy-banner { grid-template-columns: 1fr; gap: 16px; left: 12px; right: 12px; bottom: 12px; width: calc(100% - 24px); padding: 19px; }
}

@media (max-width: 440px) {
  .brand-mark { width: 42px; height: 42px; }
  .brand-copy strong { font-size: .9rem; }
  .doctor-card { grid-template-columns: 1fr; }
  .initials { width: 55px; height: 55px; }
  .notice-content { display: grid; gap: 9px; }
  .hours-table { padding-inline: 20px; }
  .hours-row { grid-template-columns: .75fr 1.25fr; }
  .privacy-actions { display: grid; grid-template-columns: 1fr; }
  .privacy-actions a, .privacy-actions button { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
