:root {
  --paper: #fbfaf6;
  --ink: #153d36;
  --muted: #4f655c;
  --line: #d0dad0;
  --sage: #e4ede3;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
}
* { box-sizing: border-box; }
body, figure, h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #94701e; outline-offset: 4px; }
img { display: block; max-width: 100%; }
.shell, .page-section:not(#page-home) { width: min(1312px, 89%); margin-inline: auto; }
.skip { position: absolute; transform: translateY(-130%); padding: 12px; background: white; z-index: 3; }
.skip:focus { transform: none; }
.navbar { min-height: 80px; display: flex; align-items: center; gap: 30px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; font: 600 clamp(19px,1.65vw,25px)/1.08 var(--serif); letter-spacing: -.035em; }
.brand img { width: 52px; height: 52px; flex: none; object-fit: contain; }
.brand-name { max-width: 17ch; text-wrap: balance; overflow-wrap: anywhere; }
.navbar nav { display: flex; justify-content: center; gap: clamp(18px,2.5vw,42px); flex: 1; }
.navbar nav a { font-size: 14px; padding: 10px 0; position: relative; }
.navbar nav a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; border-bottom: 1px solid; }
.button { background: var(--ink); color: white; border-radius: 30px; padding: 14px 23px; display: inline-flex; gap: 20px; align-items: center; font-size: 14px; font-weight: 600; }
.button:hover { background: #27604e; }
.nav-appointment { font-size: 13px; padding: 11px 18px; }
.text-link { display: inline-flex; align-items: center; gap: 13px; font-size: 14px; font-weight: 600; padding: 6px 0; border-bottom: 1px solid #91a198; }
.text-link:hover, .navbar nav a:hover { color: #54816a; }
.page-section { display: none; }
.page-section.active { display: block; }
.hero { display: grid; grid-template-columns: 1fr 1.04fr; align-items: center; gap: clamp(25px,5.2vw,95px); padding-block: clamp(34px,3.8vw,64px); }
.kicker, .specimen figcaption, .visit-grid small { font-size: 11px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; line-height: 1.5; }
.kicker { color: #44695b; display: flex; align-items: center; gap: 12px; }
.rule { width: 33px; height: 1px; background: #557d68; }
h1,h2,h3,h4 { font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(54px,5.65vw,87px); line-height: .99; letter-spacing: -.056em; margin: 20px 0; text-wrap: balance; }
.hero-tagline { font: italic clamp(19px,1.65vw,25px)/1.3 var(--serif); color: #466752; margin-bottom: 10px; }
.intro { max-width: 440px; line-height: 1.65; font-size: clamp(15px,1.2vw,18px); color: var(--muted); }
.hero-actions,.contact-actions { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; margin-top: 26px; }
.specimen { position: relative; overflow: hidden; border-radius: 5px; background: #dceadf; }
.specimen img { width: 100%; height: clamp(335px,32vw,495px); object-fit: cover; }
.specimen figcaption { display: flex; justify-content: space-between; padding: 13px 18px; font-size: 9px; font-family: ui-monospace, Consolas, monospace; letter-spacing: .15em; background: #dbe9df; border-top: 1px solid #b6ccbc; }
.visit-strip { background: var(--ink); color: #fafbf5; }
.visit-grid { display: grid; grid-template-columns: .95fr 1.15fr 1fr; padding-block: 22px; }
.visit-grid a { display: flex; gap: 16px; align-items: center; justify-content: center; border-left: 1px solid #567469; padding: 2px 12px; }
.visit-grid a:first-child { border: 0; justify-content: flex-start; padding-left: 0; }
.visit-grid a:last-child { justify-content: flex-end; padding-right: 0; }
.visit-grid small { display: block; font-size: 9px; color: #c2d4c7; margin-bottom: 3px; }
.visit-grid strong { font-size: clamp(13px,1.2vw,18px); font-weight: 500; }
.visit-icon { display: inline-grid; place-items: center; width: 30px; flex: 0 0 30px; color: #d6e3d5; font: 35px/1 var(--serif); }
.phone-icon { font-size: 25px; }
.clock-icon { height: 23px; width: 23px; flex-basis: 23px; border: 1.7px solid; border-radius: 50%; position: relative; }
.clock-icon::after { content: ""; width: 5px; height: 7px; border: solid currentColor; border-width: 0 0 1.5px 1.5px; transform: translate(1px,-2px); }
.featured,.reviews { padding-block: clamp(45px,5vw,75px); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
h2 { font-size: clamp(38px,4.1vw,65px); letter-spacing: -.05em; line-height: 1.06; margin: 10px 0; }
.section-heading h2 { margin-bottom: 0; }
.featured-grid,.reviews-container { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(13px,1.65vw,25px); }
.feature-card { border: 1px solid var(--line); border-radius: 5px; overflow: hidden; background: #f2f1eb; }
.feature-art { height: clamp(185px,19vw,305px); background: #eee; }
.feature-art img { width: 100%; height: 100%; object-fit: contain; object-position: center; mix-blend-mode: multiply; }
.feature-card:nth-child(3n+1) .feature-art { background: #e2eadf; }
.feature-card:nth-child(3n+2) .feature-art { background: #e8e6db; }
.feature-card:nth-child(3n) .feature-art { background: #dfe9e4; }
.feature-detail { background: var(--paper); padding: 18px 20px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 8px; }
.feature-detail h3 { font-size: clamp(21px,2.1vw,32px); letter-spacing: -.045em; }
.feature-detail small { color: var(--muted); }
.feature-detail span { grid-column: 2; grid-row: 1/3; border: 1px solid var(--line); width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; }
.feature-card:hover .feature-detail span { background: var(--ink); color: white; }
.reviews { border-top: 1px solid var(--line); }
.reviews-container { margin-top: 28px; }
.review-card { border-top: 1px solid var(--line); padding: 18px 8px 10px 0; }
.stars { color: #82702e; letter-spacing: 3px; font-size: 13px; }
.review-card p { font: 19px/1.55 var(--serif); margin: 12px 0; }
.review-card h4 { font: 600 13px var(--sans); }
.review-card time { display: block; color: var(--muted); font: 13px/1.6 var(--sans); }
.review-card .stars + h4 { margin: 8px 0 2px; }
.review-card p { overflow-wrap: anywhere; white-space: pre-line; }
.page-section:not(#page-home) { padding-block: 48px 72px; min-height: 65vh; }
.services-grid,.cases-container,.about-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; margin-top: 30px; }
.service-item,.case-card,.doctor-row { border-top: 1px solid var(--line); padding: 24px 0; }
.service-icon img { width: 90px; height: 82px; object-fit: contain; mix-blend-mode: multiply; }
.service-icon { margin-bottom: 10px; }
.service-content h3,.case-content h3,.doctor-info h4 { font-size: 30px; letter-spacing: -.035em; }
.subtitle { color: #44695b; font-weight: 600; margin: 6px 0 12px; }
.description,.service-list,.about-text p,.doctor-info p,.case-content p,.footer-info p,.hours p { color: var(--muted); line-height: 1.65; }
.service-list { padding-left: 20px; font-size: 14px; }
.about-text { max-width: 765px; }
.about-text p,.doctor-info p,.case-content p,.about-gallery figcaption { white-space: pre-line; overflow-wrap: anywhere; }
.about-gallery img { width: 100%; aspect-ratio: 1.65; object-fit: cover; border-radius: 5px; }
.about-gallery figure:only-child { grid-column: 1/-1; max-width: 850px; }
.about-gallery figcaption { padding: 10px 0; color: var(--muted); }
.doctor-row { display: flex; gap: 28px; margin-top: 35px; align-items: center; }
.doctor-image img { width: 165px; border-radius: 5px; }
.doctor-info h2 { font: 600 12px var(--sans); text-transform: uppercase; letter-spacing: .12em; }
.case-gallery { display: flex; overflow: auto; gap: 8px; }
.case-img { max-height: 210px; width: auto; object-fit: contain; }
.case-content { margin-top: 14px; }
.contact-actions { margin: 18px 0 28px; }
.map-container iframe { width: 100%; height: 280px; border: 0; background: var(--sage); }
#contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; padding-top: 28px; }
#contact h3 { font-size: 29px; margin-bottom: 12px; }
.visitor-counter { color: var(--muted); margin-top: 12px; font-size: 12px; }
.site-footer { background: #e8eee5; padding: 30px 0; }
.site-footer .shell,.site-footer .shell>div { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.site-footer .shell { justify-content: space-between; }
.footer-brand { font: 24px var(--serif); }
.site-footer .shell>div { font-size: 14px; }
[hidden] { display: none !important; }
@media(max-width: 820px) {
 .shell,.page-section:not(#page-home) { width: 91%; }
 .navbar { gap: 15px; } .navbar nav { gap: 15px; }
 .hero { gap: 25px; } h1 { font-size: clamp(43px,6.2vw,56px); }
 .hero-actions { gap: 12px; } .button { padding: 12px 17px; }
 .visit-grid a { gap: 8px; } .visit-icon { display: none; }
}
@media(max-width: 650px) {
 .navbar { flex-wrap: wrap; justify-content: space-between; padding-top: 14px; row-gap: 6px; }
 .brand { flex: 1; min-width: 0; gap: 8px; font-size: clamp(16px,4.6vw,22px); } .brand img { height: 39px; width: 39px; }
 .navbar nav { width: 100%; flex: auto; order: 3; justify-content: space-between; gap: 7px; }
 .hero { grid-template-columns: 1fr; padding: 30px 0; gap: 25px; }
 h1 { font-size: clamp(48px,11.5vw,72px); } h1 br { display: none; }
 .specimen img { height: clamp(225px,57vw,335px); object-fit: contain; background: #dceadf; }
 .visit-grid { grid-template-columns: 1fr; padding-block: 4px; }
 .visit-grid a,.visit-grid a:first-child,.visit-grid a:last-child { justify-content: start; border: 0; padding: 11px 0; }
 .visit-grid a + a { border-top: 1px solid #416154; }
 .visit-grid a>span:last-child { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
 .visit-grid small { margin: 0; } .section-heading { align-items: start; flex-direction: column; gap: 9px; }
 .featured-grid,.reviews-container,.services-grid,.cases-container,.about-gallery,#contact { grid-template-columns: 1fr; }
 .feature-art { height: clamp(200px,60vw,295px); } .feature-detail h3 { font-size: 26px; }
 .doctor-row { align-items: start; flex-direction: column; }
}
