/*
Theme Name: Podbabská
Version: 0.4.14
Description: Vlastní šablona Půjčovna Podbabská s rezervacemi Flotello.
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: podbabska
*/
@font-face{font-family:Montserrat;src:url('assets/fonts/Montserrat-Regular.ttf');font-weight:400;font-display:swap}@font-face{font-family:Montserrat;src:url('assets/fonts/Montserrat-Medium.ttf');font-weight:500;font-display:swap}@font-face{font-family:Montserrat;src:url('assets/fonts/Montserrat-SemiBold.ttf');font-weight:600;font-display:swap}@font-face{font-family:Montserrat;src:url('assets/fonts/Montserrat-Bold.ttf');font-weight:700;font-display:swap}@font-face{font-family:Montserrat;src:url('assets/fonts/Montserrat-ExtraBold.ttf');font-weight:800;font-display:swap}
:root{--navy:#21264E;--mint:#8DC89A;--muted:#626b89;--line:#dfe3ed;--pale:#f5f6f8}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;color:var(--navy);background:#fff;font:400 14px/1.5 Montserrat,sans-serif}button,input{font:inherit;color:inherit}button,a,input{touch-action:manipulation}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #39784a;outline-offset:4px}h1,h2,h3,p{margin:0}h2{font-weight:800;line-height:1.15}h3{line-height:1.3}.container{width:min(1120px,89%);margin:auto}.icon{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.logo{width:220px;height:auto;display:block}.button{display:inline-flex;align-items:center;justify-content:center;gap:15px;min-height:46px;padding:12px 24px;border:0;border-radius:30px;background:var(--mint);color:var(--navy);font-size:13px;font-weight:800;text-decoration:none;transition:background .2s,transform .2s}.button:hover{background:#a4d5ae;text-decoration:none;transform:translateY(-1px)}.button span{font-size:23px;line-height:1}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:22px;height:86px}header{background:white;position:sticky;top:0;z-index:5;box-shadow:0 1px 0 #21264e09}nav{display:flex;gap:26px;font-size:13px;font-weight:500}nav a{padding:8px 0}.active{border-bottom:2px solid var(--mint);font-weight:700}.header-phone{font-size:12px;font-weight:800;display:flex;align-items:center;gap:10px;white-space:nowrap}.header-phone .icon{width:16px;height:16px}.header-cta{font-size:12px;padding:10px 20px;min-height:42px}.menu-toggle{display:none}.hero{background:url('assets/web_header.png') center center/cover no-repeat;min-height:552px}.hero-inner{padding:45px 0 32px}h1{font-size:clamp(36px,4.8vw,64px);line-height:1.02;font-weight:800;letter-spacing:-1.8px}h1 em{font-style:normal;color:var(--mint)}.hero-copy{margin-top:12px;line-height:1.45;font-weight:500}.reservation{margin-top:20px;padding:16px 18px 12px;width:418px;background:#fff;border-radius:22px;box-shadow:0 8px 30px #21264e12}.tabs{border:0;padding:0;margin:0 0 14px;display:grid;grid-template-columns:1fr 1fr;gap:10px}.tabs label{position:relative;cursor:pointer}.tabs input{position:absolute;opacity:0;width:100%;height:100%;margin:0}.tabs span{display:flex;align-items:center;justify-content:center;gap:15px;border-radius:30px;background:#eee;min-height:42px;font-size:12px;font-weight:700}.tabs input:checked+span{background:var(--navy);color:var(--mint)}.tabs input:focus-visible+span{outline:3px solid var(--mint);outline-offset:2px}.dates{display:grid;grid-template-columns:1fr 1fr;gap:15px}.dates label{font-size:12px;font-weight:600;min-width:0}.dates input{display:block;width:100%;min-width:0;margin-top:5px;border:1px solid var(--line);padding:10px 9px;border-radius:7px;background:white;font-size:12px;min-height:42px}.availability{width:100%;margin-top:17px;position:relative}.availability span{position:absolute;right:20px}.form-note{text-align:center;font-size:9px;color:var(--muted);margin-top:7px}.benefits{display:grid;grid-template-columns:repeat(4,1fr);padding:30px 0;gap:22px}.benefit{display:flex;align-items:center;gap:20px;border-right:1px solid var(--line)}.benefit:last-child{border:0}.benefit>.icon{width:44px;height:44px}.benefit strong{font-size:14px;display:block}.benefit span{display:block;font-size:11px;color:var(--muted);margin-top:4px}.vehicles{display:grid;grid-template-columns:1fr 1fr;gap:30px;padding:16px 0 26px}.vehicle{border:1px solid var(--line);border-radius:14px;overflow:hidden}.vehicle>img{width:100%;height:auto;aspect-ratio:2.08;object-fit:cover;display:block;border-radius:13px}.vehicle-body{padding:14px 28px 24px;position:relative}.vehicle h2{font-size:36px}.vehicle p{font-size:15px;color:var(--muted);line-height:1.45}.vehicle ul{list-style:none;margin:15px 0 0;padding:0;color:var(--muted);font-size:12px;line-height:2.3}.vehicle li:before{content:'✓';display:inline-flex;align-items:center;justify-content:center;background:var(--mint);color:white;width:18px;height:18px;border-radius:50%;margin-right:12px;font-weight:700}.vehicle .button{position:absolute;right:22px;bottom:20px;font-size:11px;padding:10px 20px}.how{background:var(--navy);color:white;overflow:hidden;padding:18px 0 28px}.how h2{text-align:center;font-size:46px;color:var(--mint)}.intro{text-align:center;margin-top:4px;font-size:17px}.steps{position:relative;display:grid;grid-template-columns:repeat(3,1fr);gap:60px;margin-top:16px;padding-top:8px}.brand-route{position:absolute;top:0;left:-8%;width:116%;height:104px;pointer-events:none}.brand-route path{fill:none;stroke:var(--mint);stroke-width:22;stroke-linecap:round;stroke-linejoin:round}.steps article{position:relative;padding:0 0 0 34px}.step-number{position:relative;display:flex;align-items:center;justify-content:center;border:4px solid var(--mint);border-radius:50%;background:var(--navy);font-weight:800;font-size:23px;width:52px;height:52px;margin:18px 0 35px}.steps article:nth-of-type(2) .step-number{margin-top:38px;margin-bottom:15px}.steps article:nth-of-type(3) .step-number{margin-top:18px}.steps .icon{width:52px;height:52px;color:var(--mint);display:block;margin-bottom:4px}.steps h3{font-size:17px;font-weight:800}.steps p{font-size:13px;margin-top:5px}.why{background:var(--pale);padding:22px 0 26px}.why h2,.bottom-grid h2{font-size:25px;margin-bottom:16px}.reasons{display:grid;grid-template-columns:repeat(4,1fr);gap:25px}.reason{display:flex;align-items:center;gap:22px}.reason>span{display:flex;align-items:center;justify-content:center;border-radius:50%;width:66px;height:66px;background:var(--mint);flex-shrink:0}.reason .icon{width:34px;height:34px}.reason strong{font-size:12px}.reason small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.bottom-grid{display:grid;grid-template-columns:.95fr 1.15fr;gap:56px;padding:26px 0}.faq details{border:1px solid var(--line);border-radius:6px;margin-bottom:4px;font-size:12px}.faq summary{cursor:pointer;padding:7px 15px;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:12px}.faq summary::-webkit-details-marker{display:none}.faq summary:after{content:'⌄';font-size:18px;line-height:1}.faq details[open] summary:after{transform:rotate(180deg)}.faq details p{padding:4px 15px 12px;color:var(--muted);line-height:1.7}.text-button{background:none;border:0;padding:9px 0 0;font-size:12px;text-decoration:underline}.text-button span{color:#39784a;font-size:23px;margin-left:8px}.contact{display:grid;grid-template-columns:1fr 1fr;gap:20px}.contact address{font-style:normal;font-size:13px;line-height:1.6;margin-bottom:14px}.contact a:not(.map){display:flex;align-items:center;gap:12px;font-size:11px;margin-bottom:9px}.contact a .icon{width:15px;height:15px}.contact .map-button{margin-top:14px}.map{align-self:start;margin-top:4px;border-radius:18px;overflow:hidden;display:block;background:#e8efe7}.map svg{display:block;width:100%;height:250px;object-fit:cover}footer{background:var(--navy);color:white;padding:25px 0 12px}.footer-main{display:flex;align-items:center;justify-content:space-between;gap:30px}footer .logo{filter:brightness(0) invert(1)}footer nav{color:var(--mint);font-size:10px;gap:22px}.legal{display:flex;gap:20px}.legal button{background:none;border:0;color:white;font-size:9px;padding:4px 0}.legal button:hover{text-decoration:underline}.footer-contact a{display:flex;align-items:center;gap:12px;font-size:11px;margin:8px 0}.footer-contact .icon{width:14px;height:14px}.footer-bottom{border-top:1px solid #ffffff24;margin-top:18px;padding-top:13px;display:flex;justify-content:space-between;font-size:8px;color:#e2e4ee}.prototype-note{font-size:9px;color:#c5c9dd;margin-top:12px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.skip{position:fixed;top:-100px;z-index:20;background:white;padding:15px}.skip:focus{top:0}dialog{border:0;border-radius:20px;padding:38px;max-width:520px;width:calc(100% - 32px);color:var(--navy);box-shadow:0 24px 90px #0003}dialog::backdrop{background:#151936aa;backdrop-filter:blur(4px)}.close-dialog{position:absolute;right:15px;top:8px;border:0;background:none;font-size:30px}.dialog-eyebrow{font-size:9px;letter-spacing:1px;color:var(--muted)}dialog h2{margin:15px 0;font-size:28px}dialog p{margin:12px 0}dialog dl{background:var(--pale);border-radius:12px;padding:18px;display:grid;grid-template-columns:1fr 1fr;gap:9px}dialog dt{color:var(--muted)}dialog dd{margin:0;font-weight:700}dialog .button{margin-top:10px}
@media(min-width:1500px){.hero{background-size:cover;min-height:610px}.hero-inner{padding-top:55px}}@media(max-width:1100px){.header-inner{gap:18px;height:72px}.logo{width:180px}nav{gap:20px;font-size:12px}.header-phone{font-size:10px}.header-cta{padding:10px 16px}.hero{min-height:480px}.hero-inner{padding-top:36px}h1{font-size:52px}.reservation{width:365px;margin-top:16px}.benefits{gap:20px}.benefit{gap:15px}.benefit strong{font-size:12px}.benefit span{font-size:10px}.benefit>.icon{width:36px;height:36px}.vehicle-body{padding:12px 24px 22px}.vehicle h2{font-size:30px}.vehicle p{font-size:13px}.vehicle ul{font-size:11px}.vehicle .button{font-size:10px;padding:10px 18px}.how h2{font-size:38px}.steps{gap:35px}.steps h3{font-size:15px}.steps p{font-size:12px}.reason{gap:16px}.reason>span{width:56px;height:56px}.reason strong{font-size:11px}.reason small{font-size:9px}.why h2,.bottom-grid h2{font-size:21px}.bottom-grid{gap:42px}.contact{gap:14px}.contact a:not(.map){font-size:10px}.map svg{height:220px}}
@media(max-width:850px){.header-phone{display:none}.hero{background-position:56% center}.hero h1{font-size:44px}.hero-copy{font-size:12px}.reservation{width:345px}.benefits{grid-template-columns:1fr 1fr;gap:22px}.benefit:nth-child(2){border:0}.vehicle .button{position:static;margin-top:12px}.vehicle p br{display:none}.reasons{grid-template-columns:1fr 1fr}.bottom-grid{grid-template-columns:1fr;gap:28px}.contact{grid-template-columns:1fr 1fr}.map svg{height:230px}.footer-main{flex-wrap:wrap}.footer-contact{display:none}}
@media(max-width:600px){html{scroll-padding-top:80px}.container{width:90%}.header-inner{height:70px;gap:10px}.logo{width:168px}.header-cta{display:none}.menu-toggle{display:block;background:none;border:1px solid var(--line);border-radius:8px;padding:8px 12px;font-size:12px;font-weight:600}header nav{display:none;position:absolute;top:70px;left:0;right:0;background:#fff;padding:18px 5%;box-shadow:0 12px 20px #21264e15;flex-direction:column;gap:6px}header nav.open{display:flex}header nav a{padding:10px 0}.hero{background-size:auto 330px;background-position:62% 120px;background-repeat:no-repeat;background-color:#e7f2fb;min-height:0}.hero-inner{padding-top:26px;padding-bottom:24px}.hero h1{font-size:clamp(31px,8vw,46px);letter-spacing:-1px;line-height:1.06}.hero-copy{font-size:11px;margin-top:10px;line-height:1.55}.reservation{margin-top:218px;width:100%;max-width:440px;padding:16px;border-radius:18px}.tabs span{min-height:46px}.dates input{font-size:12px;padding:10px 6px}.form-note{font-size:9px}.benefits{padding:25px 0;gap:23px 14px}.benefit{border:0;gap:10px}.benefit>.icon{width:31px;height:31px}.benefit strong{font-size:10px}.benefit span{font-size:9px}.vehicles{grid-template-columns:1fr;padding:0 0 25px;gap:20px}.vehicle-body{padding:18px 22px 23px}.vehicle h2{font-size:30px}.vehicle p{font-size:13px}.vehicle ul{font-size:11px}.vehicle .button{font-size:11px;margin-top:15px}.how{padding:26px 0 30px}.how h2{font-size:31px}.intro{font-size:12px;margin-top:8px}.steps{grid-template-columns:1fr;gap:25px;margin-top:28px;padding-top:0}.brand-route{display:none}.steps:before{content:'';position:absolute;left:25px;top:24px;bottom:80px;width:8px;background:var(--mint)}.steps article{padding:0 0 0 78px;min-height:118px}.step-number,.steps article:nth-of-type(2) .step-number,.steps article:nth-of-type(3) .step-number{position:absolute;left:4px;top:0;margin:0;width:50px;height:50px;font-size:21px}.steps .icon{width:40px;height:40px}.steps h3{font-size:15px}.steps p{font-size:12px}.why{padding:24px 0}.why h2,.bottom-grid h2{font-size:22px}.reasons{gap:22px 16px}.reason{gap:10px;align-items:flex-start}.reason>span{width:42px;height:42px}.reason .icon{width:26px;height:26px}.reason strong{font-size:10px;line-height:1.3;display:block;margin-top:4px}.reason small{font-size:9px}.bottom-grid{padding:25px 0;gap:30px}.faq summary{min-height:44px;padding:10px 12px;font-size:11px}.contact{grid-template-columns:1fr}.contact a:not(.map){font-size:12px}.contact .map-button{width:max-content}.map svg{height:200px}.footer-main{gap:18px}footer .logo{width:190px}footer nav{font-size:11px;gap:20px}.legal{gap:15px;margin-top:6px}.legal button{font-size:9px;min-height:34px}.footer-bottom{font-size:8px;gap:15px}.prototype-note{font-size:9px;line-height:1.6}dialog{padding:30px 23px}dialog h2{font-size:24px}dialog dl{font-size:12px;padding:13px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* The curve is drawn in CSS-pixel coordinates measured from the numbered anchors. */
.icon{stroke-width:1pt}.icon>*{vector-effect:non-scaling-stroke}
.steps{isolation:isolate}
.steps:before{display:none}
.steps .brand-route-responsive{display:block;position:absolute;inset:0;width:100%;height:100%;overflow:visible;z-index:-1;pointer-events:none}
.steps .brand-route-responsive .route-curve{stroke:url(#route-gradient)}
@media(max-width:600px){.steps .brand-route-responsive{display:block}}
@media(min-width:601px) and (max-width:700px){.header-cta{display:none}}

/* WordPress and reservation page */
body.admin-bar header{top:32px}.legal a{font-size:10px;padding:8px 0}.reservation-page{padding:48px 0 64px;min-height:65vh}.reservation-page h1{font-size:clamp(32px,5vw,48px);margin:18px 0}.reservation-page .lead{max-width:680px;color:var(--muted);margin:16px 0 28px}.reservation-widget{margin-top:28px;min-height:320px}.reservation-help{padding:18px;background:var(--pale);border-radius:12px;margin-top:28px}.reservation-help a{text-decoration:underline}.preview-banner{background:#fff3cf;padding:10px 5%;font-size:12px;text-align:center}.content-page{padding:45px 0;min-height:60vh;max-width:800px}.content-page p{margin:16px 0}.preview-selection{padding:20px;border:1px solid var(--line);border-radius:16px;margin:20px 0}.preview-selection p{margin:8px 0}.footer-contact{display:block}
@media(max-width:782px){body.admin-bar header{top:46px}}
@media(max-width:600px){.reservation-page{padding-top:25px}.hero{position:relative;background:none;background-color:#e7f2fb}.hero:before{content:'';position:absolute;top:125px;left:0;right:0;height:330px;background:url('assets/web_header.png') 62% center/auto 330px no-repeat}.hero-inner{position:relative}.footer-contact{width:100%}}

.hero-copy{max-width:420px} .footer-contact a{overflow-wrap:anywhere}

[hidden]{display:none!important}.steps p{max-width:280px}.hero-copy{max-width:395px}

/* Keep the sticky navigation clear of the WordPress toolbar. */
body.admin-bar header{top:32px}
@media(max-width:782px){body.admin-bar header{top:46px}}
@media(max-width:600px){body.admin-bar header{top:0}}
.legal a{font-size:10px;padding:6px 0;display:inline-block}
.legal:empty{display:none}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.button{transition:none}}

@media(min-width:601px){body.admin-bar main section[id]{scroll-margin-top:46px}}

/* Mobile hero uses a continuous photograph rather than a fixed-height strip. */
@media(max-width:600px){
 .hero:before{top:0;bottom:0;height:auto;background-size:cover;background-position:62% center}
}

/* Photo height is independent of the booking card; only its lower edge overlaps. */
@media(max-width:600px){
 .hero{--photo-height:clamp(340px,100vw,440px);background-color:#fff}
 .hero:before{top:0;bottom:auto;height:var(--photo-height);background-size:cover;background-position:78% top}
 .hero-inner{display:grid;grid-template-rows:minmax(calc(var(--photo-height) - 60px),auto) auto;padding-top:26px;padding-bottom:24px}
 .hero .reservation{margin-top:0;justify-self:center}
}

/* Equal-height desktop card bodies anchor both CTAs to the card bottom. */
@media(min-width:851px){.vehicle{display:flex;flex-direction:column}.vehicle-body{flex:1}}

.reservation{position:relative}.dates .pb-date-source{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none;padding:0;border:0}.pb-date-trigger{display:block;width:100%;text-align:left;margin-top:5px;padding:10px 9px;min-height:42px;background:#fff;border:1px solid var(--line);border-radius:7px;font-size:12px}.pb-calendar{position:absolute;z-index:10;width:min(308px,100%);padding:14px;background:white;border:1px solid var(--line);border-radius:14px;box-shadow:0 10px 35px #21264e30;color:var(--navy)}.pb-calendar[hidden]{display:none}.pb-calendar-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.pb-calendar button{background:transparent;border:0;color:var(--navy);border-radius:7px}.pb-calendar-head button{width:36px;height:36px;font-size:25px}.pb-calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;text-align:center}.pb-calendar-grid span{font-size:11px;padding:6px 0;color:var(--muted)}.pb-calendar-grid button{height:36px;font-size:12px}.pb-calendar button:disabled{opacity:.5;cursor:default;background:transparent}.pb-calendar-grid button.outside-month{color:var(--muted)}.pb-calendar-grid button:not(:disabled):hover{background:#edf0f6}.pb-calendar-grid button[aria-pressed="true"],.pb-calendar-grid button[aria-pressed="true"]:hover{background:var(--navy);color:#fff}.pb-calendar-clear{margin-top:10px;padding:8px;font-size:11px;text-decoration:underline}

.pb-date-trigger{display:flex;justify-content:space-between;align-items:center;gap:6px}.pb-date-trigger:after{content:'';display:block;width:16px;height:16px;flex-shrink:0;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23626b89' stroke-width='1.5'%3E%3Crect x='4' y='5' width='16' height='16' rx='2'/%3E%3Cpath d='M8 2v6m8-6v6M4 11h16'/%3E%3C/svg%3E")}

.map iframe{display:block;width:100%;height:250px;border:0}@media(max-width:1100px){.map iframe{height:220px}}@media(max-width:850px){.map iframe{height:230px}}@media(max-width:600px){.map iframe{height:250px}}

.legal{flex-wrap:wrap;gap:4px 18px}

/* Separate photo overlay, fading from 60% white to clear at the copy's lower edge. */
.hero{position:relative;isolation:isolate;--hero-fade-height:300px}
.hero:after{content:'';position:absolute;top:0;left:0;right:0;height:var(--hero-fade-height);background:linear-gradient(to bottom,rgba(255,255,255,.6) 0%,rgba(255,255,255,0) 100%);z-index:0;pointer-events:none}
.hero-inner{position:relative;z-index:1}
@media(max-width:600px){.hero{--hero-fade-height:220px}}

/* Keep Flotello's own scroll target reachable inside the mobile booking viewport.
   An iframe expanded to its full content height has no internal scroll range. */
@media(max-width:600px){
 .reservation-widget iframe{
  max-height:calc(100vh - 96px);
  max-height:calc(100svh - 96px);
  min-height:0!important;
 }
}
