/* Final master brief: focused completion on top of the established UX iteration. */
.brief-site .g-fixed-contact{display:none!important}
.brief-site .brief-nav .header-phone{order:0;display:inline-flex;align-items:center;font-size:15px;font-weight:400;min-height:44px;padding:0;margin-left:4px;color:var(--ink);background:none;border:0;white-space:nowrap}
.brief-site .brief-nav{gap:16px}
.brief-header>.container{gap:20px}
.brief-main .service-hero p:first-of-type,.final-med-hero p:first-of-type{color:var(--ink)}
.service-hero{align-items:start}
.service-hero .service-photo{position:sticky;top:calc(var(--header-height) + 24px);margin-top:4px;max-height:410px}
.service-hero p{margin-bottom:18px}
.service-hero .service-tagline{font-size:24px;line-height:1.3;font-weight:500;color:var(--ink);margin-bottom:18px}
.home-split{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
.home-split>img{width:100%;height:400px;object-fit:cover;object-position:center 57%;border-radius:8px;display:block}
.home-split>div{min-width:0}
.home-diagnostics{background:var(--primary-dark);color:#eef2f1}
.home-diagnostics h2,.brief-main .home-diagnostics a{color:#fff}
.home-diagnostics .home-split>img{height:390px;object-fit:contain;background:#f7f7f3}
.home-contact .btn{margin-top:20px;background:var(--accent);border-color:var(--accent);color:var(--ink)}
.medicine-teaser{display:grid;grid-template-columns:224px 1fr;gap:56px;align-items:center;max-width:900px!important}
.medicine-teaser .med-brand-logo{width:224px;height:auto;max-width:100%}
.photo-mosaic{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:24px}
.photo-mosaic figure{margin:0;min-width:0;display:flex;flex-direction:column}
.photo-mosaic figure:first-child{grid-row:span 2}
.photo-mosaic figure:last-child{grid-column:2/4}
.photo-mosaic a{display:block;overflow:hidden;border-radius:8px;flex:1}
.photo-mosaic img{display:block;width:100%;height:210px;object-fit:cover}
.photo-mosaic figure:first-child img{height:100%;min-height:420px}
.photo-mosaic figcaption{display:none}
.photo-mosaic .photo-jubileusz img{object-fit:contain;background:var(--warm)}
.photo-mosaic .photo-jubileusz figcaption{display:block;margin-top:10px;font-size:14px;line-height:1.4}
.final-about-intro{align-items:start;gap:48px}
.final-about-intro h2{font-size:26px}
.final-about-intro img{height:400px;object-position:50% 50%;margin-top:4px}
.editorial-split{display:grid;grid-template-columns:1.15fr .85fr;gap:56px;align-items:center}
.editorial-split>div{min-width:0}
.editorial-split figure{margin:0;min-width:0}
.editorial-split img{display:block;width:100%;height:auto;border-radius:8px}
.editorial-split figcaption{font-size:15px;line-height:1.5;margin-top:12px}
.about-photos{grid-template-columns:1fr 1fr}
.about-photos figure:first-child{grid-row:auto}
.about-photos figure:last-child{grid-column:auto}
.about-photos img,.about-photos figure:first-child img{height:320px;min-height:0}
.brief-site .final-gallery{display:block;columns:3;column-gap:28px}
.final-gallery figure{display:inline-block;width:100%;margin:0 0 28px;break-inside:avoid;vertical-align:top}
.final-gallery a{display:block;border-radius:8px;overflow:hidden}
.brief-site .final-gallery img{display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain;transform:none}
.final-gallery figcaption{font-size:14px;line-height:1.45;padding-top:10px}
.map-fallback{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 24px;border-bottom:1px solid var(--line);padding:0 0 24px;margin-bottom:20px}
.map-fallback p{margin:0}
.contact-booking>.btn{margin-bottom:24px}
.contact-booking p:last-child{font-size:16px}
.contact-extra a{display:inline-flex;align-items:center;min-height:44px}
.final-med-hero{display:block;max-width:900px}
.medicine-page .final-med-hero p{max-width:76ch}
.brief-section.tinted-section{background:var(--warm);padding:32px;border-top:0;border-radius:8px;margin:12px 0 32px}
.brief-section .section-photo{display:block;width:100%;height:auto;border-radius:8px}
.brief-main [id]{scroll-margin-top:16px}
@media(min-width:1200px) and (max-width:1399px){
 .brief-header>.container{width:calc(100% - 40px);gap:16px}
 .brief-header .identity-logo{width:140px}
 .brief-site .brief-nav{font-size:14px;gap:12px}
 .brief-site .brief-nav .header-phone{font-size:14px;margin-left:0}
 .brief-site .brief-nav .btn{font-size:14px;padding:11px 12px}
}
@media(max-width:1199px){
 .brief-site .brief-nav .header-phone{display:none}
 .brief-site .brief-nav{gap:0}
 .home-split{gap:36px}
 .editorial-split{gap:32px}
 .brief-site .final-gallery{columns:2}
 .photo-mosaic{gap:16px}
}
@media(max-width:760px){
 .brief-site:not(.menu-open):not(.lightbox-open) .g-fixed-contact{display:flex!important}
 .brief-site{padding-bottom:calc(76px + env(safe-area-inset-bottom))!important}
 .brief-main .service-hero .service-photo{position:static;max-height:300px;object-position:var(--photo-focus-mobile,50% 50%)}
 .service-hero .service-tagline{font-size:22px}
 .home-split,.editorial-split,.final-about-intro{grid-template-columns:1fr;gap:24px}
 .home-split>img{height:280px;object-position:50% 62%}
 .home-diagnostics .home-split>img{height:320px}
 .medicine-teaser{grid-template-columns:1fr;gap:12px}
 .medicine-teaser .med-brand-logo{width:180px;justify-self:center}
 .photo-mosaic{grid-template-columns:1fr 1fr;gap:16px}
 .photo-mosaic figure:first-child{grid-row:auto;grid-column:1/-1}
 .photo-mosaic figure:last-child{grid-column:1/-1}
 .photo-mosaic img{height:200px}
 .photo-mosaic figure:first-child img{height:240px;min-height:0}
 .photo-mosaic .photo-jubileusz img{height:auto}
 .final-about-intro img{height:270px}
 .final-about-intro h2{font-size:24px}
 .about-photos figure:first-child,.about-photos figure:last-child{grid-column:auto}
 .about-photos img,.about-photos figure:first-child img{height:230px}
 .brief-site .final-gallery{columns:1}
 .brief-section.tinted-section{padding:24px;margin:8px 0 24px}
 .map-fallback{display:block}
 .map-fallback .text-link{margin-top:8px}
}
@media print{.brief-site .g-fixed-contact{display:none!important}.service-hero .service-photo{position:static}.final-gallery{columns:2!important}}

/* Final scoped corrections, 2026-10-04. */
.brief-site .final-gallery a{aspect-ratio:auto}
.brief-site .contact-arrival img{height:auto;aspect-ratio:auto;object-fit:contain}
.home-service-groups h3 a{min-height:44px;min-width:44px;align-items:center;padding:6px 0}
.brief-main p>a:not(.btn),.brief-main .brief-links>a{display:inline-flex;align-items:center;min-height:44px;min-width:44px;padding:6px 0;vertical-align:middle;max-width:100%}
.visit-anxiety{margin-top:28px}
.visit-anxiety h3{margin-bottom:12px}
.visit-anxiety .text-link{min-width:44px}

/* Release candidate: scoped photo, navigation and mobile corrections. */
.brief-site .brief-nav .header-phone{text-decoration:none}
.brief-nav .service-group>summary{align-items:center;padding-bottom:8px}
.brief-site .service-group>summary>.service-group-link{font:inherit;letter-spacing:inherit;text-transform:inherit;min-width:0;min-height:44px;padding:0;margin:0;flex:1;text-decoration:none}
.brief-site .service-group>summary>.service-group-link:hover{text-decoration:underline;text-underline-offset:4px}
.service-group-toggle{display:none}
.brief-main .service-hero .rc-photo{height:auto;aspect-ratio:auto;max-height:none;object-fit:contain;object-position:50% 50%}
.g-home-main .photo-mosaic .photo-budynek img{object-position:100% 50%}
.med-nav a{min-width:44px;min-height:44px}
@media(min-width:1200px) and (max-width:1399px){
 .brief-site .brief-nav{gap:10px}
 .brief-nav .services-menu>summary{white-space:normal;max-width:150px;line-height:1.3}
}
@media(max-width:1199px){
 .brief-nav .service-group>summary{padding:4px 0;gap:0}
 .brief-nav .service-group>summary::after{display:none}
 .brief-site .service-group>summary>.service-group-link{min-height:48px;padding:8px 0}
 .service-group-toggle{display:flex;align-items:center;justify-content:center;flex:0 0 44px;min-height:48px}
 .service-group-toggle::after{content:"";width:6px;height:6px;border-right:1.5px solid;border-bottom:1.5px solid;transform:rotate(45deg)}
 .service-group[open] .service-group-toggle::after{transform:rotate(225deg)}
}
@media(max-width:760px){
 html{scroll-padding-bottom:calc(var(--contact-bar-height,65px + env(safe-area-inset-bottom)) + 16px)}
 .brief-site{padding-bottom:var(--contact-space,calc(83px + env(safe-area-inset-bottom)))!important}
 .brief-site .brief-main{padding-bottom:calc(36px + var(--contact-bar-height,65px + env(safe-area-inset-bottom)))!important}
 .brief-main .brief-steps{row-gap:12px}
 .brief-main :is(.brief-steps li,h2,h3,.btn,a){scroll-margin-bottom:16px}
}
