/* Hlavička a sjednocené rozložení obsahu. */
html{scroll-padding-top:145px;color-scheme:dark;scrollbar-color:#4a4844 #151515}
.header{height:128px;border-bottom:0;gap:32px;background:rgba(17,17,17,.94)}
.brand{position:relative;z-index:1;flex-shrink:0}
.brand img{width:204px;height:104px}
.header-contour{position:absolute;inset:0;pointer-events:none;overflow:hidden;color:#dec29b66}
.header-contour::before,.header-contour::after{content:"";position:absolute;height:1px;background:currentColor}
.header-contour::before{left:0;top:12px;width:calc(5vw + 190px)}
.header-contour svg{position:absolute;left:calc(5vw + 190px);top:12px;width:130px;height:116px;overflow:visible}
.header-contour path{fill:none;stroke:currentColor;stroke-width:1;vector-effect:non-scaling-stroke}
.header-contour::after{left:calc(5vw + 320px);right:0;bottom:0}
.header nav a{display:flex;align-items:center;min-height:44px}
.hero-new{height:calc(100svh - 128px)}
.legal-toc{top:154px;max-height:calc(100svh - 175px)}
.legal-section{scroll-margin-top:150px}
.photo-gallery{grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-rows:clamp(215px,20vw,305px);gap:18px}
.gallery-item,.gallery-item:nth-child(1),.gallery-item:nth-child(5){grid-column:span 2;aspect-ratio:auto;min-width:0;height:100%}
.gallery-item:nth-last-child(-n+2){grid-column:span 3}
.gallery-item img{object-position:center center}
.gallery-item>span{font-size:14px;line-height:1.4;min-height:75px}
.lesson .lesson-photo{height:auto;aspect-ratio:16/9}
.lesson-photo img{opacity:1;object-position:center}
.lesson-photo:after{background:linear-gradient(0deg,#222224aa,transparent 45%)}
.lesson-photo>span{bottom:-14px}
.lesson-booking{display:flex;justify-content:space-between;align-items:center;min-height:44px;margin-top:12px;color:var(--gold);font-size:14px}
.lesson-booking:hover{text-decoration:underline;text-underline-offset:4px}
.menu{min-width:44px;min-height:44px}
@media(max-width:1050px) and (min-width:761px){
 .header{padding-inline:24px;gap:18px;height:112px}
 .brand img{width:164px;height:88px}
 .header nav{gap:15px;font-size:13px}
 .header .booking-button{padding:13px 18px;font-size:13px;gap:12px;white-space:nowrap}
 .header-contour::before{width:174px;top:10px}
 .header-contour svg{left:174px;top:10px;width:96px;height:102px}
 .header-contour::after{left:270px}
 .lesson-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .photo-gallery{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:250px}
 .gallery-item,.gallery-item:nth-child(1),.gallery-item:nth-child(5),.gallery-item:nth-last-child(-n+2){grid-column:auto}
 .gallery-item:last-child{grid-column:1/-1}
}
@media(max-width:760px){
 html{scroll-padding-top:108px}
 .header{height:94px;padding-inline:14px;gap:10px;isolation:isolate}
 .brand img{width:128px;height:74px}
 .header .booking-button{font-size:12px;padding:12px 14px;gap:8px;min-height:44px;white-space:nowrap}
 .menu{padding:6px;margin-left:0}
 .header-contour::before{width:132px;top:7px}
 .header-contour svg{left:132px;top:7px;width:54px;height:87px}
 .header-contour::after{left:186px}
 .header nav{top:94px;max-height:calc(100dvh - 110px);overflow:auto;padding:18px 24px 24px;background:#151516;border-bottom:1px solid #dec29b55;box-shadow:0 18px 35px #0006}
 .header nav a{min-height:48px;font-size:17px}
 .hero-new{height:auto;min-height:calc(100svh - 94px);padding-top:54px;padding-bottom:110px}
 .hero-new h1{font-size:clamp(44px,11vw,72px)}
 .hero-new .intro{font-size:17px}
 .lesson-grid{grid-template-columns:1fr}
 .lesson .lesson-photo{height:auto;aspect-ratio:16/9}
 .lesson .lesson-body{padding:24px}
 .lesson-booking{min-height:48px}
 .photo-gallery{grid-template-columns:1fr;grid-auto-rows:auto;gap:16px}
 .gallery-item,.gallery-item:nth-child(1),.gallery-item:nth-child(5),.gallery-item:nth-last-child(-n+2){grid-column:1;aspect-ratio:16/10;height:auto}
 .gallery-item>span{font-size:14px;padding:40px 18px 18px}
 .legal-toc{position:static;max-height:none}
 .legal-section{scroll-margin-top:115px}
 .contact-grid a:not(.button),.footer-links a{display:inline-flex;align-items:center;min-height:44px}
 .contact-links>p{margin-bottom:6px}
 #gallery-dialog{width:calc(100% - 24px);max-width:none;max-height:calc(100dvh - 24px);padding:8px;border-radius:14px}
 #gallery-dialog>img{max-width:100%;max-height:74dvh}
 .gallery-close{right:14px;top:14px;width:48px;height:48px}
}
@media(max-width:360px){
 .header{padding-inline:10px;gap:6px}
 .brand img{width:112px;height:66px}
 .header .booking-button{font-size:11px;padding:12px 10px;gap:6px}
 .header-contour::before{width:114px}
 .header-contour svg{left:114px}
 .header-contour::after{left:168px}
 .stats strong{font-size:28px}
}
@media(prefers-reduced-motion:reduce){.header-contour{transition:none}}

/* Logo patří k úvodu; kompaktní značka doprovází další procházení. */
html{scroll-padding-top:112px}
.header{height:96px}
.brand img{width:144px;height:72px}
.header-contour::before{top:2px;width:calc(5vw + 144px)}
.header-contour svg{left:calc(5vw + 144px);top:2px;height:94px;width:108px}
.header-contour::after{left:calc(5vw + 252px)}
.home-header:not(.brand-visible) .brand{opacity:0;visibility:hidden}
.home-header .brand{transition:opacity .25s}
.home-header .header-contour::before,.home-header .header-contour svg{display:none}
.home-header .header-contour::after{left:0}
.hero-new{height:calc(100svh - 96px);min-height:850px;max-height:1100px;padding-top:38px;padding-bottom:120px}
.hero-logo{width:240px;height:auto;margin-bottom:28px}
.hero-new .eyebrow{margin-bottom:24px}
.hero-new h1{font-size:clamp(64px,7.2vw,104px)}
.space img[src*="posilovna-kladky"]{height:115%;top:-15%;object-position:15% bottom}
.lesson-registration{display:flex;align-items:center;justify-content:space-between;gap:36px;margin-top:36px;padding:34px 38px;border:1px solid #dec29b40;border-radius:22px;background:linear-gradient(115deg,#dec29b0d,#1b1b1d)}
.lesson-registration .eyebrow{font-size:10px;margin-bottom:10px}
.lesson-registration h3{font-size:30px;letter-spacing:-.035em;line-height:1.2;margin-bottom:12px}
.lesson-registration p:last-child{color:#bbb9bd;font-size:15px;margin-bottom:0;max-width:470px}
.registration-button{flex-shrink:0;gap:20px}
.legal-toc{top:122px;max-height:calc(100svh - 144px)}
.legal-section{scroll-margin-top:118px}
body.gallery-open{overflow:hidden}
#gallery-dialog{width:min(1180px,94vw);max-width:none;max-height:94dvh;padding:12px;overflow:hidden}
.gallery-stage{position:relative;height:min(74dvh,780px);background:#080809;border-radius:10px;overflow:hidden;touch-action:pan-y pinch-zoom;user-select:none}
.gallery-stage>img{width:100%;height:100%;object-fit:contain}
.gallery-close{z-index:2;right:24px;top:24px;line-height:1}
.gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#111e;border:1px solid #ffffff50;color:#fff;cursor:pointer;box-shadow:0 3px 18px #0005}
.gallery-prev{left:14px}.gallery-next{right:14px}
.gallery-arrow svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.gallery-arrow:hover,.gallery-close:hover{background:#dec29b;color:#161616}
.gallery-arrow:focus-visible,.gallery-close:focus-visible{outline-offset:3px}
.gallery-meta{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:48px;padding:12px 6px 0}
.gallery-meta p{margin:0;color:#d0ced0;font-size:14px;line-height:1.4}
.gallery-counter{color:var(--gold);font-size:13px;white-space:nowrap;font-variant-numeric:tabular-nums}
@media(max-width:1050px) and (min-width:761px){
 .header-contour::before{width:168px}.header-contour svg{left:168px}.header-contour::after{left:276px}
 .lesson-registration{padding:30px;gap:24px}.registration-button{font-size:13px;padding-inline:21px}
}
@media(max-width:760px){
 html{scroll-padding-top:92px}
 .header{height:76px;gap:8px}
 .brand img{width:112px;height:58px}
 .header nav{top:76px;max-height:calc(100dvh - 92px)}
 .header-contour::before{width:126px;top:2px}
 .header-contour svg{left:126px;top:2px;width:54px;height:74px}
 .header-contour::after{left:180px}
 .hero-new{height:auto;min-height:calc(100svh - 76px);max-height:none;padding-top:30px;padding-bottom:105px}
 .hero-logo{width:180px;margin-bottom:24px}
 .hero-new h1{font-size:clamp(44px,11vw,72px)}
 .hero-new .eyebrow{margin-bottom:22px}
 .hero-new .intro{font-size:17px}
 .new-space-label{margin-top:26px}
 .lesson-registration{display:block;padding:26px 24px;margin-top:24px}
 .lesson-registration h3{font-size:28px}
 .registration-button{margin-top:24px;width:100%;font-size:13px;padding:14px 17px;gap:12px;min-height:48px}
 .legal-toc{position:static;max-height:none}.legal-section{scroll-margin-top:100px}
 #gallery-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 20px);padding:7px}
 .gallery-stage{height:70dvh;max-height:calc(100dvh - 105px)}
 .gallery-arrow{width:44px;height:44px}.gallery-prev{left:8px}.gallery-next{right:8px}
 .gallery-close{width:44px;height:44px;right:16px;top:16px}
 .gallery-meta{gap:12px;padding:12px 5px 5px;min-height:52px}
 .gallery-meta p{font-size:12px}.gallery-counter{font-size:12px}
}
@media(max-width:360px){.header{gap:6px}.brand img{width:104px}.hero-logo{width:165px}.registration-button{font-size:12px}}
@media(prefers-reduced-motion:reduce){.home-header .brand{transition:none}}

/* Jedna obsahová mřížka pro malé displeje i široké QHD monitory. */
:root{
 --content-width:1320px;
 --page-gutter:clamp(24px,5vw,80px);
 --content-inset:max(var(--page-gutter),calc((100% - var(--content-width))/2));
}
.section{width:100%;max-width:none;padding-inline:var(--content-inset)}
.lessons-section>*,.pricing-section>*{max-width:none}
.header,.hero-new,.box-feature{padding-inline:var(--content-inset)}
.hero-bottom{left:var(--content-inset);right:var(--content-inset)}
.box-feature-content{width:100%;max-width:660px;padding:65px 0}
.fitko-cover{margin-inline:var(--content-inset)}
.equipment-band{width:100%;max-width:none;padding-inline:var(--content-inset)}
.section>.equipment-band{padding-inline:0}
footer{max-width:none;padding-inline:var(--content-inset)}
footer .footer-meta{display:flex;flex-direction:column;align-items:flex-end;gap:9px;margin-left:auto;text-align:right}
footer .site-credit{font-size:11px;line-height:1.6;color:#99969b}
footer .site-credit span{width:auto;color:#cdbb9f;white-space:nowrap}
@media(max-width:1050px){footer{flex-wrap:wrap}footer .footer-meta{flex-basis:100%}}
.spaces{grid-template-columns:repeat(2,minmax(0,1fr))}
.header-contour::before{width:calc(var(--content-inset) + 144px)}
.header-contour svg{left:calc(var(--content-inset) + 144px)}
.header-contour::after{left:calc(var(--content-inset) + 252px)}
.home-header .header-contour::after{left:0}
@media(min-width:761px){
 .hero-new .hero-photo{mask-image:linear-gradient(90deg,transparent,#000 18%)}
 .hero-new .hero-shade{background:linear-gradient(90deg,#101011 0%,#101011f5 calc(var(--content-inset) + 230px),#10101190 calc(50% + 80px),#10101110 88%),linear-gradient(0deg,#101011,transparent 25%)}
}
@media(max-width:1050px) and (min-width:761px){
 .header{padding-inline:24px}
 .header-contour::before{width:168px}.header-contour svg{left:168px}.header-contour::after{left:276px}
}
@media(max-width:760px){
 :root{--page-gutter:24px}
 .header{padding-inline:14px}
 .spaces{grid-template-columns:1fr}
 .box-feature-content{padding-block:55px}
 .header-contour::before{width:126px}.header-contour svg{left:126px}.header-contour::after{left:180px}
}
@media(max-width:360px){.header{padding-inline:10px}}
.contact-links>a.contact-channel{display:flex;align-items:center;gap:12px;min-height:44px;margin-bottom:4px}
.contact-channel .icon{width:20px;height:20px;color:var(--gold)}

/* Jediné logo při scrollování plynule přejde do lišty. */
.header-contour::before,.header-contour svg{display:none}
.header-contour::after{left:0}
.logo-flight{position:fixed;left:0;top:0;z-index:21;pointer-events:none;transform-origin:0 0;will-change:transform}
.logo-motion .hero-logo,.logo-motion .home-header .brand img{opacity:0}
.logo-flight .logo-flight-image{width:100%;height:100%;max-width:none;object-fit:contain}
.price-highlights .box-price-note{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 14px;margin-top:18px;color:var(--gold,#dfc397);font-size:14px}
.box-price-note strong{font-size:20px;white-space:nowrap;font-weight:600}

/* Zvýhodněné vstupy jsou čitelné hned v přehledu i v tabulce. */
.price-highlights article{display:flex;flex-direction:column}
.student-price{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;margin-top:auto;padding:16px;border:1px solid #dec29b55;border-radius:13px;background:#dec29b12;color:#f3dabb}
.student-price>span{font-size:13px;font-weight:600;line-height:1.45}
.student-price strong{font-size:30px;font-weight:650;line-height:1.15;letter-spacing:-.035em;white-space:nowrap}
.student-price small{font-size:16px;font-weight:500;letter-spacing:0}
.featured .student-price{background:#201e1a;color:#f5debd;border-color:#201e1a}
.featured .student-price>span{color:#e1cbb0}
.membership-table tr>:last-child{background:#dec29b0d;border-left:1px solid #dec29b28}
.price-details .membership-table thead th:last-child{color:#f3dabb;font-weight:650}
.price-details .membership-table tbody td:last-child{color:#f3dabb;font-size:18px;font-weight:650}
@media(max-width:760px){
 .student-price{padding:15px 16px}
 .price-details .membership-table thead th{white-space:normal}
 .price-details .membership-table tbody td:last-child{font-size:15px}
}
@media(max-width:360px){
 .student-price{padding:14px 12px;gap:8px}
 .student-price>span{font-size:12px}
 .student-price strong{font-size:27px}
 .student-price small{font-size:14px}
}
