/* Shared responsive and touch adjustments. Keep after page styles. */
.nav-toggle{display:none}#quiz-step :is(h2,legend){scroll-margin-top:145px}header .patient-menu>summary:after{display:none}
:where(main) img{max-width:100%}main :where(.hero,.service-layout,.request-layout,.quiz-shell)>*{min-width:0}
:where(button,a,summary,input):focus-visible{outline:3px solid #b66b10;outline-offset:4px}
@media(max-width:1100px){
 html{scroll-padding-top:105px}#quiz-step :is(h2,legend){scroll-margin-top:105px}
 header nav.wrap{min-height:86px;height:auto;display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;padding-top:6px!important;padding-bottom:6px!important}
 header .brand{margin:0}header .site-logo{width:170px;height:76px}
 .nav-enhanced .nav-toggle{display:flex;align-items:center;gap:12px;min-height:44px;padding:10px 15px;font:600 16px Arial,sans-serif;border:1px solid var(--green);border-radius:6px;color:var(--green);background:white;cursor:pointer}
 header nav .links{width:100%;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:3px;padding:10px 0 16px;max-height:calc(100dvh - 100px);overflow-y:auto;overscroll-behavior:contain}
 .nav-enhanced header nav .links{display:none}.nav-enhanced header nav .links.is-open{display:flex}
 header nav .links>a,header nav .links>a:not(.btn){display:block;font-size:16px;padding:11px 12px;min-height:46px;white-space:normal;border-radius:5px}
 header .links .btn{text-align:center;margin-top:8px}
 header .links details{width:100%;position:relative}
 header .links details>summary{font-size:16px;min-height:46px;padding:11px 12px;justify-content:space-between}
 header .links .services-dropdown,header .links .patient-dropdown{position:static;width:100%;min-width:0;max-width:none;max-height:none;box-shadow:none;margin:0 0 8px;padding:5px 10px;border-radius:6px}
 header .links .services-dropdown a,header .links .patient-dropdown a{display:block!important;min-height:44px;font-size:16px!important;padding:10px 12px!important}
 .service,.team-section,.patient-sections section,.service-copy h2[id]{scroll-margin-top:105px}
}
@media(max-width:600px){
 .top{flex-wrap:wrap;justify-content:center;gap:4px 16px;padding-top:8px;padding-bottom:8px}.top>a{min-height:36px;display:flex;align-items:center}
 .hero h1{font-size:clamp(2.65rem,11vw,3.5rem)}h1{overflow-wrap:anywhere}
 .hero{padding-top:32px;padding-bottom:38px}.hero .actions{margin:24px 0}.actions .btn{max-width:100%;white-space:normal;text-align:center}
 .hero .actions .btn{width:100%}.contact-box{padding:24px}.contact-box .btn{width:100%;padding:13px 16px;text-align:center}
 .request-card,.quiz-panel{padding:22px 18px}.request-card input{min-width:0;min-height:48px;font-size:17px!important}
 .request-consent{min-height:44px;padding:4px 0}.quiz-navigation .btn{padding:12px 18px;min-height:48px}
 .quiz-option{min-height:54px}.quiz-option:hover{transform:none}.quiz-teaser{padding:26px 22px}
 .implant-jump a{display:inline-flex;align-items:center;min-height:44px}.filter-btn{min-height:44px}
 .featured-care-card>div{padding:23px}.featured-care-card h3{font-size:2rem}
 .service-intro h1,.request-heading h1,.communities-intro h1{font-size:clamp(2.5rem,10vw,3.4rem)}
 .service-aside{padding:24px}.back-top{min-height:44px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}

/* Heritage badge styled to match Acer's logo treatment. */
header .brand{gap:10px;letter-spacing:normal}header .brand .site-logo{width:185px;height:90px}header .brand .logo-heritage{display:inline-flex;flex-direction:column;align-items:flex-start;flex-shrink:0;width:auto;background:transparent;border-left:6px solid #d0a64d;border-radius:6px;padding:12px 17px;margin-left:6px;color:var(--ink);font:600 15px/1.4 Arial,sans-serif}header .logo-heritage>span{letter-spacing:.3px;white-space:nowrap}header .brand .logo-heritage strong{display:block;font:800 30px/1.2 Arial,sans-serif;letter-spacing:-.045em;margin-top:4px;color:#886220;white-space:nowrap}header nav.wrap{flex-wrap:wrap}
@media(max-width:1100px){header .brand{gap:6px}header .brand .site-logo{width:clamp(90px,28vw,120px);height:70px}header .brand .logo-heritage{width:108px;padding:6px 9px;border-left-width:3px;margin-left:0;font-size:12px;line-height:1.15}header .logo-heritage>span{white-space:normal}header .brand .logo-heritage strong{font-size:20px;line-height:1.15}header nav.wrap{gap:8px}}
@media(max-width:380px){header .brand .logo-heritage{width:95px;padding:6px;font-size:11px}header .brand .logo-heritage strong{font-size:18px}}
/* Two-row header: larger identity above navigation. */
header nav.wrap{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;height:auto;padding-top:10px;padding-bottom:0}
header .brand{justify-content:center;gap:24px;margin:0 auto;padding-bottom:10px;max-width:100%}
header .brand .site-logo{width:280px;height:126px}
header .brand .logo-heritage{padding:15px 22px;border-left-width:6px;font-size:18px}
header .brand .logo-heritage strong{font-size:44px}
header nav .links{width:100%;justify-content:center;border-top:1px solid var(--line);padding:10px 0;gap:22px}
html{scroll-padding-top:225px}
@media(max-width:1100px){
 header nav.wrap{padding-top:8px!important;padding-bottom:8px!important;gap:0}
 header .brand{width:100%;gap:12px;padding-bottom:8px}
 header .brand .site-logo{width:clamp(130px,38vw,210px);height:clamp(82px,23vw,110px)}
 header .brand .logo-heritage{width:130px;padding:9px 12px;font-size:14px;border-left-width:4px;margin-left:0}
 header .brand .logo-heritage strong{font-size:28px}
 .nav-enhanced header .nav-toggle{align-self:center;min-width:120px;justify-content:center}
 header nav .links{align-items:stretch;gap:3px;margin-top:8px;padding:8px 0;max-height:calc(100dvh - 180px)}
 html{scroll-padding-top:185px}
}
@media(max-width:380px){header .brand{gap:8px}header .brand .logo-heritage{width:120px;padding:8px 10px;font-size:13px}header .brand .logo-heritage strong{font-size:26px}}
