main .home-hero { width: 100%; max-width: none; margin: 0; padding: 56px max(24px, calc((100vw - 1240px) / 2)) 28px; background: linear-gradient(125deg, #f3f8fc 0%, #fff 62%, #eaf4fc 100%); }
.home-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 64px; }
main .home-hero p { text-align: left; color: #52677a; }
main .home-hero .home-hero-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 2px; color: #357cad; margin-bottom: 20px; }
.home-hero h1 { font-size: clamp(34px, 4.1vw, 56px); line-height: 1.32; font-weight: 600; letter-spacing: -.8px; }
.home-hero h1 span { color: #3486ba; }
main .home-hero .home-hero-description { font-size: 17px; line-height: 1.9; max-width: 540px; margin-top: 24px; }
.home-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.home-hero-actions a { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 48px; padding: 13px 20px; border-radius: 10px; font-size: 16px; font-weight: 500; }
.home-hero-actions .hero-primary { color: white; background: #14538e; }
.hero-primary span { color: inherit; }
.hero-primary:hover { background: #0d4070; }
.hero-secondary { border: 1px solid #cddde9; background: #fff; }
.hero-secondary:hover { background: #eaf4fc; }
.home-hero a:focus-visible { outline: 3px solid #b08b51; outline-offset: 4px; }
.home-hero-contact { margin-top: 22px; }
main .home-hero-contact p { font-size: 14px; line-height: 1.9; }
.home-hero-contact a { text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.home-hero-photos { min-width: 0; position: relative; padding: 0 16px 86px 0; isolation: isolate; }
.home-hero-photos::before { content: ''; position: absolute; inset: 34px 0 46px 34px; border-radius: 32px; background: #dceef9; z-index: -1; }
.hero-procedure-room { position: relative; overflow: hidden; border-radius: 28px; background: #e5edf2; box-shadow: 0 18px 44px #163d5714; }
.hero-procedure-room::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, #0d2c46c9); pointer-events: none; }
.hero-procedure-room > img { display: block; width: 100%; height: 460px; object-fit: cover; object-position: center 45%; }
.hero-procedure-room figcaption { position: absolute; bottom: 28px; left: 24px; z-index: 1; color: #fff; font-size: 23px; font-weight: 500; }
.hero-procedure-room figcaption span { display: block; color: #d7edff; font-size: 10px; letter-spacing: 1.6px; margin-bottom: 8px; }
.hero-procedure-room figcaption small { display: block; color: #e4eff6; font-size: 12px; font-weight: 400; margin-top: 4px; }
.hero-room-expand, .hero-xray-expand { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #ffffffed; color: #14538e; font-size: 24px; }
.hero-room-expand { position: absolute; top: 18px; right: 18px; z-index: 2; box-shadow: 0 3px 12px #163d5714; }
.hero-room-expand:hover { background: #dceef9; }
.hero-xray-room { position: absolute; bottom: 0; right: 0; width: 54%; padding: 8px; background: #fff; border: 1px solid #e6eef4; border-radius: 20px; box-shadow: 0 16px 36px #153f631c; z-index: 3; }
.hero-xray-room > a { position: relative; display: block; overflow: hidden; border-radius: 13px; }
.hero-xray-room img { display: block; width: 100%; height: 138px; object-fit: cover; transition: transform 220ms ease; }
.hero-xray-expand { position: absolute; right: 8px; bottom: 8px; }
.hero-xray-room figcaption { font-size: 17px; line-height: 1.5; padding: 12px 10px 8px; font-weight: 500; }
.hero-xray-room figcaption span { display: block; color: #62798d; font-size: 9px; letter-spacing: 1.3px; margin-bottom: 3px; }
@media(hover: hover) and (pointer: fine) { .hero-xray-room a:hover img { transform: scale(1.035); } }
@media(prefers-reduced-motion: reduce) { .hero-xray-room img { transition: none; } .hero-xray-room a:hover img { transform: none; } }
.hero-accreditation { display: flex; align-items: center; gap: 20px; margin-top: 40px; padding: 24px 0 0; border-top: 1px solid #dbe6ee; }
.hero-accreditation > img { width: 72px; height: 72px; flex-shrink: 0; }
main .hero-accreditation h2 { text-align: left; font-size: 18px; margin-bottom: 5px; }
main .hero-accreditation p { font-size: 12px; line-height: 1.8; }
.hero-accreditation > a { margin-left: auto; flex-shrink: 0; font-size: 14px; padding: 12px; text-decoration: underline; text-underline-offset: 4px; }
.hero-new-tab { display: block; font-size: 11px; }
@media(max-width: 1000px) { .home-hero-grid { gap: 28px; } .hero-procedure-room > img { height: 430px; } }
@media(max-width: 800px) {
 main .home-hero { padding: 36px 20px 24px; }
 .home-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
 .home-hero h1 { font-size: clamp(34px, 7vw, 48px); }
 main .home-hero .home-hero-description { max-width: none; font-size: 16px; }
 .hero-procedure-room > img { height: 420px; }
 .hero-accreditation { flex-wrap: wrap; gap: 14px; margin-top: 28px; }
 .hero-accreditation > div { flex: 1; min-width: 180px; }
 .hero-accreditation > a { margin-left: 86px; padding-left: 0; }
}
@media(max-width: 380px) { .home-hero-actions { flex-direction: column; } }

@media(max-width: 480px) { .home-hero-photos { padding-right: 10px; padding-bottom: 190px; } .hero-procedure-room > img { height: 360px; } .hero-xray-room { width: 65%; } .hero-xray-room img { height: 120px; } .hero-procedure-room figcaption { bottom: 40px; left: 18px; font-size: 21px; } }

/* Gallery controls adapt to any number of clinic photos. */
.home-hero-photos.clinic-gallery { padding-bottom: 0; }
.clinic-gallery::before { bottom: 100px; }
.clinic-slide[hidden], .clinic-gallery-controls[hidden] { display: none; }
.clinic-slide:not([hidden]) { animation: clinic-reveal 400ms ease-out; }
@keyframes clinic-reveal { from { opacity: .35; } to { opacity: 1; } }
.clinic-gallery-controls { position: relative; display: flex; align-items: center; gap: 12px; margin: 12px 0 0; padding: 8px 4px; }
.clinic-gallery-label { font-size: 13px; color: #52677a; }
.clinic-gallery button { cursor: pointer; border: 0; min-height: 44px; min-width: 44px; background: transparent; }
.clinic-gallery button:focus-visible { outline: 3px solid #b08b51; outline-offset: 2px; border-radius: 8px; }
.clinic-dots { display: flex; margin-left: auto; }
.clinic-dots button { display: grid; place-items: center; }
.clinic-dots button span { display: block; width: 7px; height: 7px; border-radius: 8px; background: #bdcddd; transition: width 180ms ease, background-color 180ms ease; }
.clinic-dots button[aria-pressed="true"] span { width: 22px; background: #2585d5; }
.clinic-counter { font-size: 11px; color: #62798d; white-space: nowrap; }
.clinic-arrows { display: flex; gap: 6px; }
.clinic-arrows button { border: 1px solid #dce7f0; border-radius: 50%; color: #14538e; background: #fff; font-size: 19px; }
.clinic-arrows button:hover { background: #e5f1fb; border-color: #a7cbe6; }
@media(max-width:480px) { .clinic-gallery-controls { gap: 4px; flex-wrap: wrap; } .clinic-gallery-label { width: 100%; } }
@media(prefers-reduced-motion:reduce) { .clinic-slide:not([hidden]) { animation: none; } .clinic-dots button span { transition: none; } }

.hero-accreditation-links { margin-left: auto; display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
.hero-accreditation-links a { font-size: 13px; text-decoration: underline; text-underline-offset: 4px; padding: 8px; }
@media(max-width:800px) { .hero-accreditation-links { margin-left: 86px; } }
