:root {
  --ink: #17312d;
  --ink-soft: #46605a;
  --forest: #1f4a42;
  --forest-2: #2f665b;
  --sage: #91a99c;
  --sage-pale: #dfe8e2;
  --cream: #f7f4ed;
  --sand: #e8dfd2;
  --white: #fff;
  --warning: #b44c3e;
  --shadow: 0 24px 70px rgba(31, 74, 66, .12);
  --radius: 28px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.skip-link {
  position: fixed; z-index: 200; top: 10px; left: 10px; transform: translateY(-150%);
  background: var(--ink); color: white; padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { transform: none; }

.demo-bar {
  background: #132c28; color: #dce8e2; text-align: center; padding: 8px 16px;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
}
.demo-bar strong { color: #fff; }
.topline { background: var(--white); border-bottom: 1px solid rgba(31,74,66,.1); }
.topline-inner {
  min-height: 44px; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; font-size: 13px; color: var(--ink-soft);
}
.topline-status { display: flex; align-items: center; gap: 9px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #69a47c; box-shadow: 0 0 0 5px #e6f1e9; }
.topline-links { display: flex; gap: 20px; }
.topline a:hover { color: var(--forest); }

.site-header {
  position: sticky; z-index: 90; top: 0; background: rgba(247,244,237,.94);
  border-bottom: 1px solid rgba(31,74,66,.1); backdrop-filter: blur(18px);
}
.header-inner { height: 88px; display: flex; align-items: center; gap: 36px; }
.brand { display: flex; align-items: center; gap: 13px; margin-right: auto; }
.brand-mark {
  width: 43px; height: 43px; border: 1px solid var(--forest); border-radius: 50%;
  position: relative; display: grid; place-items: center; color: var(--forest);
}
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; background: currentColor; border-radius: 10px; }
.brand-mark::before { width: 18px; height: 2px; }
.brand-mark::after { width: 2px; height: 18px; }
.brand-copy strong { display: block; font-family: var(--serif); font-size: 21px; line-height: 1; font-weight: 500; }
.brand-copy small { display: block; margin-top: 5px; font-size: 10px; letter-spacing: .17em; text-transform: uppercase; color: var(--ink-soft); }
.desktop-nav { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 600; }
.desktop-nav a { position: relative; padding: 32px 0; }
.desktop-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 23px; height: 1px;
  background: var(--forest); transition: right .25s ease;
}
.desktop-nav a:hover::after, .desktop-nav a.active::after { right: 0; }
.header-cta, .button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 0 21px; border: 1px solid var(--forest); border-radius: 999px;
  background: var(--forest); color: white; font-weight: 700; font-size: 14px; transition: .2s ease;
}
.header-cta:hover, .button:hover { background: #173a34; transform: translateY(-1px); box-shadow: 0 10px 25px rgba(31,74,66,.16); }
.button.light { background: var(--white); color: var(--forest); border-color: var(--white); }
.button.ghost { background: transparent; color: var(--forest); }
.button.small { min-height: 42px; padding-inline: 17px; font-size: 13px; }
.menu-toggle {
  display: none; border: 0; background: transparent; color: var(--ink); width: 44px; height: 44px;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.menu-toggle span { width: 24px; height: 2px; background: currentColor; transition: .2s ease; }
.mobile-nav { display: none; }

.hero {
  min-height: 690px; position: relative; display: grid; align-items: center; overflow: hidden;
  background: var(--forest);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(18,45,40,.98) 0%, rgba(18,45,40,.9) 39%, rgba(18,45,40,.12) 72%);
}
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-content { position: relative; z-index: 2; color: white; padding: 90px 0 104px; max-width: 650px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 11px; margin: 0 0 23px;
  color: var(--sage); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: currentColor; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, .display { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; line-height: 1.04; }
h1 { margin-bottom: 26px; font-size: clamp(48px, 6vw, 82px); }
.hero h1 em, .page-hero h1 em, h2 em { color: #b9cfc2; font-weight: 400; }
.hero-lead { max-width: 590px; margin-bottom: 34px; color: #e2ebe6; font-size: 19px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.hero-meta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; color: #dbe7e0; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: "✓"; color: #c7e4d3; }

.quick-actions {
  position: relative; z-index: 4; margin-top: -46px; display: grid; grid-template-columns: repeat(4, 1fr);
  background: white; border-radius: 24px; box-shadow: var(--shadow); overflow: hidden;
}
.quick-card { min-height: 128px; padding: 24px; border-right: 1px solid #e5ebe7; transition: .2s ease; }
.quick-card:last-child { border-right: 0; }
.quick-card:hover { background: #f2f7f4; }
.quick-card small { display: block; margin-bottom: 9px; color: var(--sage); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.quick-card strong { display: block; font-family: var(--serif); font-size: 22px; font-weight: 500; }
.quick-card span { display: block; margin-top: 5px; color: var(--ink-soft); font-size: 13px; }

.section { padding: 108px 0; }
.section.compact { padding: 76px 0; }
.section.white { background: white; }
.section.dark { background: var(--forest); color: white; }
.section.sage { background: var(--sage-pale); }
.section-head { max-width: 750px; margin-bottom: 48px; }
.section-head h2, .split-copy h2 { margin-bottom: 22px; font-size: clamp(40px, 4.8vw, 66px); }
.section-head > p, .split-copy > p { color: var(--ink-soft); font-size: 18px; }
.section.dark .section-head > p, .section.dark .split-copy > p { color: #cddbd5; }
.kicker { color: var(--forest-2); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  min-height: 310px; position: relative; padding: 34px; background: white; border: 1px solid rgba(31,74,66,.09);
  border-radius: var(--radius); overflow: hidden; transition: .25s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-index { color: var(--sage); font-family: var(--serif); font-size: 16px; }
.service-card h3 { margin: 48px 0 14px; font-family: var(--serif); font-size: 30px; font-weight: 500; line-height: 1.1; }
.service-card p { color: var(--ink-soft); font-size: 14px; }
.card-link { position: absolute; left: 34px; bottom: 30px; color: var(--forest); font-size: 13px; font-weight: 800; }
.split { display: grid; grid-template-columns: 1.04fr .96fr; gap: 80px; align-items: center; }
.split-image { min-height: 580px; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow); }
.split-copy .points { display: grid; gap: 15px; margin: 34px 0; padding: 0; list-style: none; }
.points li { display: flex; align-items: flex-start; gap: 13px; }
.points li::before { content: "↗"; display: grid; place-items: center; min-width: 27px; height: 27px; border-radius: 50%; background: var(--sage-pale); color: var(--forest); font-size: 12px; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 50px; border-top: 1px solid rgba(255,255,255,.15); }
.metric { padding: 33px 24px 0 0; }
.metric strong { display: block; font-family: var(--serif); color: #dbe9e1; font-size: 44px; font-weight: 400; }
.metric span { color: #b8cbc2; font-size: 13px; }

.doctor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.doctor-card {
  position: relative; min-height: 470px; border-radius: var(--radius); background: #d9e3dd;
  overflow: hidden; isolation: isolate;
}
.doctor-card::before {
  content: ""; position: absolute; inset: 0; background-image: var(--doctor-image);
  background-size: cover; background-position: var(--doctor-pos, 66% center); transition: transform .5s ease;
}
.doctor-card:hover::before { transform: scale(1.035); }
.doctor-card::after { content: ""; position: absolute; inset: 40% 0 0; z-index: -0; background: linear-gradient(transparent, rgba(15,41,36,.93)); }
.doctor-info { position: absolute; z-index: 2; left: 27px; right: 27px; bottom: 27px; color: white; }
.doctor-info small { color: #c7dbd0; font-weight: 700; }
.doctor-info h3 { margin: 6px 0 3px; font-family: var(--serif); font-size: 28px; font-weight: 500; }
.doctor-info p { margin: 0; font-size: 13px; color: #d8e6df; }
.doctor-card.team-a { --doctor-pos: center 24%; }
.doctor-card.team-b { --doctor-pos: center 23%; }
.doctor-card.team-c { --doctor-pos: center 22%; }

.service-hub {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 42px;
}
.service-tile {
  display: flex; justify-content: space-between; gap: 25px; padding: 27px 28px; background: white;
  border-radius: 18px; border: 1px solid rgba(31,74,66,.1); transition: .2s ease;
}
.service-tile:hover { border-color: var(--sage); transform: translateY(-2px); }
.service-tile strong { font-family: var(--serif); font-size: 22px; font-weight: 500; }
.service-tile span { color: var(--forest); font-size: 20px; }
.quote-band { padding: 74px 0; background: #dfe8e2; }
.quote-band blockquote { max-width: 930px; margin: 0 auto; text-align: center; font-family: var(--serif); font-size: clamp(31px, 4vw, 50px); line-height: 1.24; letter-spacing: -.03em; }
.quote-band cite { display: block; margin-top: 22px; font-family: var(--sans); color: var(--ink-soft); font-size: 13px; font-style: normal; letter-spacing: .12em; text-transform: uppercase; }

.page-hero { padding: 88px 0 78px; background: var(--forest); color: white; }
.page-hero-grid { display: grid; grid-template-columns: 1fr .7fr; align-items: end; gap: 60px; }
.page-hero h1 { max-width: 800px; margin: 0; font-size: clamp(48px, 6vw, 78px); }
.page-hero-copy { color: #d4e0da; font-size: 18px; }
.breadcrumb { margin-bottom: 30px; color: #b4cbc0; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.breadcrumb a { color: white; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 76px; align-items: start; }
.prose h2 { margin: 58px 0 20px; font-size: clamp(36px, 4vw, 52px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 34px 0 12px; font-family: var(--serif); font-size: 27px; font-weight: 500; }
.prose p, .prose li { color: var(--ink-soft); }
.prose .lead { color: var(--ink); font-family: var(--serif); font-size: 26px; line-height: 1.5; }
.prose ul { padding-left: 20px; }
.info-sidebar { position: sticky; top: 125px; display: grid; gap: 15px; }
.info-card { padding: 26px; border-radius: 20px; background: white; box-shadow: 0 12px 35px rgba(31,74,66,.07); }
.info-card.dark { background: var(--forest); color: white; }
.info-card small { display: block; margin-bottom: 9px; color: var(--sage); font-weight: 800; text-transform: uppercase; letter-spacing: .13em; }
.info-card strong { display: block; font-family: var(--serif); font-size: 23px; font-weight: 500; }
.info-card p { margin: 9px 0 0; font-size: 13px; color: var(--ink-soft); }
.info-card.dark p { color: #c9d9d1; }
.info-card a { display: inline-block; margin-top: 13px; font-weight: 800; font-size: 13px; }

.profile-hero { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 590px; background: white; }
.profile-photo {
  min-height: 590px; background-image: var(--doctor-image); background-size: cover;
  background-position: var(--doctor-pos); background-repeat: no-repeat;
}
.profile-copy { padding: 80px clamp(35px, 7vw, 100px); align-self: center; }
.profile-copy h1 { color: var(--ink); font-size: clamp(48px, 5vw, 70px); }
.profile-copy .role { color: var(--forest-2); font-weight: 800; }
.profile-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 35px; padding-top: 30px; border-top: 1px solid #dfe7e2; }
.profile-facts small { display: block; color: var(--sage); font-weight: 800; text-transform: uppercase; letter-spacing: .11em; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; counter-reset: process; }
.process-card { padding: 28px; border-radius: 20px; background: white; counter-increment: process; }
.process-card::before { content: "0" counter(process); display: block; margin-bottom: 40px; color: var(--sage); font-family: var(--serif); font-size: 18px; }
.process-card h3 { font-family: var(--serif); font-size: 23px; font-weight: 500; }
.process-card p { margin: 0; color: var(--ink-soft); font-size: 13px; }

.accordion { display: grid; gap: 10px; }
.accordion details { border-radius: 16px; background: white; border: 1px solid rgba(31,74,66,.1); }
.accordion summary { cursor: pointer; list-style: none; padding: 22px 55px 22px 24px; position: relative; font-weight: 750; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; position: absolute; right: 22px; top: 19px; font-size: 24px; font-weight: 300; }
.accordion details[open] summary::after { content: "–"; }
.accordion details p { padding: 0 24px 22px; margin: 0; color: var(--ink-soft); }

.form-shell { padding: 38px; border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 750; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid #cad6cf; border-radius: 12px; background: #fbfcfa;
  padding: 13px 14px; color: var(--ink); outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--forest); box-shadow: 0 0 0 3px #e1ebe6; }
.field textarea { min-height: 125px; resize: vertical; }
.form-note { margin: 18px 0; padding: 15px; border-radius: 12px; background: #f8eee7; color: #79493e; font-size: 12px; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-soft); font-size: 12px; }
.success-message { display: none; margin-top: 20px; padding: 18px; border-radius: 12px; background: #e6f2ea; color: #28583f; font-weight: 700; }
.success-message.show { display: block; }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 13px 0; border-bottom: 1px solid #e0e8e3; }
.hours-table td:last-child { text-align: right; font-weight: 700; }
.notice { padding: 24px; border-left: 4px solid var(--sage); background: white; color: var(--ink-soft); }
.notice.warning { border-color: var(--warning); background: #fff4f1; color: #763e35; }
.notfall-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.emergency-card { padding: 36px; border-radius: var(--radius); background: white; }
.emergency-card.life { background: #8e3e35; color: white; }
.emergency-number { display: block; margin: 25px 0 10px; font-family: var(--serif); font-size: 64px; line-height: 1; }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 30px; }
.contact-panel { padding: 36px; border-radius: var(--radius); background: var(--forest); color: white; }
.contact-panel h2 { font-size: 46px; }
.contact-panel p { color: #cbdad2; }
.contact-list { display: grid; gap: 24px; margin-top: 36px; }
.contact-item small { display: block; color: var(--sage); text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }
.contact-item strong { display: block; margin-top: 4px; font-family: var(--serif); font-size: 22px; font-weight: 500; }
.map-placeholder {
  min-height: 380px; display: grid; place-items: center; border-radius: var(--radius);
  background: linear-gradient(135deg, #d8e2db, #bdcec4); color: var(--forest); text-align: center;
}

.cta-band { padding: 72px 0; background: var(--forest); color: white; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-inner h2 { margin: 0; max-width: 720px; font-size: clamp(38px, 5vw, 62px); }
.footer { background: #132c28; color: white; padding: 74px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr .9fr; gap: 45px; }
.footer-brand p { max-width: 330px; color: #b9cbc3; font-size: 14px; }
.footer h3 { margin-bottom: 18px; color: #9fb8ac; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; }
.footer-links { display: grid; gap: 10px; color: #d8e4de; font-size: 14px; }
.footer-bottom { margin-top: 54px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 20px; color: #9db3aa; font-size: 12px; }

.floating-actions {
  position: fixed; z-index: 70; right: 18px; bottom: 18px; display: grid; gap: 9px;
}
.float-button {
  width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%;
  background: var(--forest); color: white; box-shadow: 0 12px 35px rgba(20,55,48,.25); font-weight: 800;
}
.float-button.emergency { background: var(--warning); }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .desktop-nav, .header-cta, .topline-links { display: none; }
  .menu-toggle { display: flex; }
  .header-inner { height: 76px; }
  .mobile-nav {
    position: fixed; display: flex; visibility: hidden; opacity: 0; transform: translateY(-10px);
    inset: 121px 0 auto; height: calc(100vh - 121px); padding: 35px 24px 50px;
    background: var(--cream); flex-direction: column; gap: 10px; transition: .2s ease;
  }
  .mobile-nav.open { visibility: visible; opacity: 1; transform: none; }
  .mobile-nav a { padding: 14px 6px; border-bottom: 1px solid #dfe6e1; font-family: var(--serif); font-size: 28px; }
  .quick-actions { grid-template-columns: repeat(2, 1fr); }
  .quick-card:nth-child(2) { border-right: 0; }
  .quick-card:nth-child(-n+2) { border-bottom: 1px solid #e5ebe7; }
  .split, .content-layout, .page-hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .split { gap: 45px; }
  .split-image { min-height: 460px; width: 100%; }
  .info-sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
  .card-grid, .doctor-grid { grid-template-columns: repeat(2, 1fr); }
  .doctor-card:last-child { grid-column: 1 / -1; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .profile-hero { grid-template-columns: 1fr; }
  .profile-photo { min-height: 540px; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .container { width: min(100% - 30px, 1180px); }
  .topline-inner { justify-content: center; }
  .hero { min-height: 750px; align-items: end; }
  .hero-image { object-position: 67% center; }
  .hero::after { background: linear-gradient(0deg, rgba(18,45,40,.99) 5%, rgba(18,45,40,.76) 63%, rgba(18,45,40,.15)); }
  .hero-content { padding: 230px 0 88px; }
  .hero-lead { font-size: 16px; }
  .hero-actions .button { width: 100%; }
  .quick-actions { margin-top: -30px; }
  .quick-card { padding: 19px; min-height: 115px; }
  .quick-card strong { font-size: 18px; }
  .section { padding: 78px 0; }
  .section.compact { padding: 58px 0; }
  .card-grid, .doctor-grid, .service-hub, .notfall-grid, .form-grid, .info-sidebar { grid-template-columns: 1fr; }
  .doctor-card:last-child { grid-column: auto; }
  .service-card { min-height: 290px; }
  .metrics { grid-template-columns: 1fr; }
  .metric { padding: 23px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .process-grid { grid-template-columns: 1fr; }
  .profile-photo { min-height: 430px; }
  .profile-copy { padding: 55px 24px; }
  .profile-facts { grid-template-columns: 1fr; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .floating-actions { right: 11px; bottom: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
