/*
Theme Name: KEZ Energy
Description: Firemný web KEZ Energy v štýle THERQON. Služby, realizácie a kontakt.
Version: 1.0.4
Requires at least: 6.6
Requires PHP: 8.0
Author: KEZ Energy
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kez-energy
*/
/* KEZ Energy — visual system shared with THERQON */
@font-face{font-family:Therqon;src:url('assets/sans-regular.woff') format('woff');font-weight:400;font-display:swap}
@font-face{font-family:Therqon;src:url('assets/sans-semibold.woff') format('woff');font-weight:600;font-display:swap}
@font-face{font-family:Therqon;src:url('assets/sans-bold.woff') format('woff');font-weight:700 900;font-display:swap}
:root{--navy:#0b1d36;--red:#e1121b;--mist:#f3f5f7;--line:#dce1e6;--gray:#596473;--max:1320px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:#fff;color:var(--navy);font:16px/1.65 Therqon,Arial,sans-serif;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto;display:block}p,h1,h2,h3{margin:0}p{color:var(--gray)}h1,h2,h3{line-height:1.15;letter-spacing:-.045em}h2{font-size:clamp(34px,4vw,56px);font-weight:600}h3{font-size:24px;font-weight:600}[hidden]{display:none!important}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #f16a70;outline-offset:5px}button:disabled{opacity:.5;cursor:not-allowed}.wrap{width:min(var(--max),calc(100% - 112px));margin-inline:auto}.section{padding-block:100px}.eyebrow{font-size:13px;letter-spacing:.15em;font-weight:700;line-height:1.6;color:var(--gray);margin-bottom:22px}.muted{color:#7b8b9a}.light{color:#cfdae5}.red-rule{display:inline-block;width:35px;height:3px;background:var(--red);vertical-align:middle;margin-right:12px}.icon{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.sprite{position:absolute;width:0;height:0;overflow:hidden}.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:16px 25px;min-height:54px;border:1px solid transparent;font-size:14px;font-weight:600;line-height:1.4;transition:background .2s,transform .2s}.button:hover{transform:translateY(-2px)}.button-red{background:var(--red);color:#fff}.button-red:hover{background:#be1018}.button-navy{background:var(--navy);color:white}.button-outline{background:transparent;color:white;border-color:#8190a0}.button-outline:hover{background:#ffffff12}.button-quiet{background:transparent;color:var(--navy);border-color:var(--line)}.text-link{font-size:14px;font-weight:600;border-bottom:1px solid var(--red);padding-bottom:5px;background:none;color:inherit}.skip{position:fixed;top:-100px;left:20px;padding:10px 20px;background:white;z-index:100}.skip:focus{top:10px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.header{position:sticky;top:0;z-index:40;min-height:88px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:16px 4%;gap:30px;border-bottom:1px solid #edf0f3}.brand{display:flex;align-items:center;gap:13px;flex:none}.brand img{width:91px;height:42px;object-fit:contain}.brand-name{display:block;font-size:22px;letter-spacing:.12em;font-weight:600;line-height:1.2}.brand-name small{display:block;font-size:9px;letter-spacing:.18em;margin-top:5px;color:#697789}.nav{display:flex;align-items:center;gap:27px}.nav>a{font-size:14px;font-weight:600}.nav>a:hover{color:var(--red)}.nav .button{color:white;padding:12px 22px;min-height:46px}.menu-toggle{display:none;border:0;background:none;padding:12px}.menu-toggle span{display:block;width:26px;height:2px;margin:6px 0;background:var(--navy)}
.hero{position:relative;min-height:670px;min-height:min(770px,calc(100svh - 88px));background:var(--navy);color:#fff;display:flex;align-items:center;overflow:hidden}.hero-image{position:absolute;width:100%;height:100%;object-fit:cover;object-position:50% 48%;inset:0}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,17,35,.94) 0%,rgba(5,19,37,.72) 34%,rgba(5,19,37,.1) 76%),linear-gradient(0deg,rgba(5,19,37,.65),transparent 35%)}.hero-content{position:relative;padding-block:72px 115px}.hero h1{font-size:clamp(48px,6vw,82px);font-weight:600;letter-spacing:-.045em;max-width:760px}.hero-intro{margin:26px 0 34px;font-size:18px;line-height:1.7;color:#e0e6ed;max-width:600px}.hero-actions{display:flex;align-items:center;gap:28px;flex-wrap:wrap}.hero-bottom{position:absolute;bottom:25px;left:0;right:0;display:flex;align-items:center;justify-content:space-between;gap:25px;color:#d5dee6;font-size:12px;letter-spacing:.12em}.hero-bottom a{font-size:13px;letter-spacing:0}.hero-bottom a:hover{color:white}
.section-top{display:flex;align-items:flex-end;justify-content:space-between;gap:60px;margin-bottom:45px}.section-top>p{max-width:440px}.audience-line{padding:24px 0;border-bottom:1px solid var(--line)}.audience-line .wrap{display:flex;justify-content:space-between;gap:20px;color:#657181;font-size:12px;font-weight:600;letter-spacing:.12em}.services-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-left:1px solid var(--line)}.service-card{padding:36px 30px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff}.service-icon{height:38px;width:38px;stroke-width:1.3;color:var(--red);margin-bottom:28px}.service-card h3{font-size:23px;margin-bottom:16px;min-height:52px}.service-card>p{font-size:15px;min-height:74px}.service-card details{margin-top:24px}.service-card summary{cursor:pointer;list-style:none;font-size:14px;font-weight:600;display:flex;justify-content:space-between;gap:15px}.service-card summary::-webkit-details-marker{display:none}.service-card summary:after{content:'+';font-size:23px;line-height:1}.service-card details[open] summary:after{content:'−'}.service-card ul{font-size:14px;color:var(--gray);padding-left:18px;margin:22px 0}.service-card li{margin:7px 0}.service-card .text-link{display:inline-block;border-width:0 0 1px;font-size:14px;margin-top:8px;text-align:left}.service-card.heat{background:var(--navy);color:#fff}.heat .therqon-logo{width:220px;margin:0 0 30px;max-width:95%}.heat h3{min-height:0}.heat>p{color:#bfccd9;min-height:0;margin:18px 0 27px}.heat a{display:inline-block}
.therqon-section{background:var(--navy);color:white}.therqon-layout{display:grid;grid-template-columns:1fr 1.08fr;gap:70px;align-items:center}.therqon-copy .therqon-logo{width:240px;margin-bottom:35px}.therqon-copy h2{font-size:clamp(38px,4vw,56px);margin-bottom:26px}.therqon-copy>p{color:#bdcbd9;margin-bottom:30px}.therqon-actions{display:flex;flex-wrap:wrap;gap:15px}.therqon-visual{position:relative;background:#fff;overflow:hidden;padding:35px 20px 25px}.therqon-visual img{width:100%;height:auto}.therqon-caption{border-top:1px solid #e5e8ec;margin:20px 10px 0;padding-top:16px;display:flex;justify-content:space-between;gap:20px;color:var(--navy);font-size:13px}.therqon-caption strong{letter-spacing:.08em}
.projects{background:var(--mist)}.project-toolbar{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:30px}.filters{display:flex;flex-wrap:wrap;gap:8px}.filter{background:white;border:1px solid var(--line);padding:10px 18px;font-size:14px;font-weight:600}.filter.active{background:var(--navy);color:white;border-color:var(--navy)}.filter:hover{border-color:var(--navy)}.result-count{font-size:13px;white-space:nowrap}.projects-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}.project-card{background:#fff;border:1px solid #e5e9ec}.project-photo{display:block;position:relative;overflow:hidden;background:#e6e9ee;aspect-ratio:4/3}.project-photo img{width:100%;height:100%;object-fit:cover;transition:transform .5s}.project-photo:hover img{transform:scale(1.035)}.project-photo span{position:absolute;right:14px;bottom:14px;background:#fff;padding:7px 12px;font-size:12px;font-weight:600}.project-info{padding:23px 24px 28px}.project-info .eyebrow{font-size:11px;margin-bottom:11px;color:#788492}.project-info h3{font-size:21px;line-height:1.3;margin-bottom:13px}.project-info>p:last-child{font-size:14px}.projects-more{display:block;margin:35px auto 0}.projects-empty{padding:35px;border:1px solid var(--line);text-align:center}
.about-layout{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:start}.about-copy p+p{margin-top:22px}.about-copy .text-link{display:inline-block;margin-top:28px}.facts{display:flex;gap:50px;border-top:1px solid var(--line);margin-top:34px;padding-top:25px}.fact strong{font-size:36px;line-height:1.2;font-weight:600;letter-spacing:-.04em}.fact span{display:block;font-size:13px;color:var(--gray);margin-top:5px}.process{display:grid;grid-template-columns:repeat(3,1fr);gap:35px;padding-top:65px}.process article{border-top:2px solid var(--navy);padding-top:24px}.process h3{font-size:21px;margin-bottom:12px}.process p{font-size:14px}
.contact{background:var(--mist)}.contact-layout{display:grid;grid-template-columns:.85fr 1.15fr;gap:90px}.contact h2{margin-bottom:28px}.contact-intro>p{max-width:410px}.contact-direct{margin:35px 0;display:flex;flex-direction:column;gap:8px;align-items:flex-start}.contact-direct a:first-child{font-size:29px;font-weight:600;letter-spacing:-.035em}.contact-direct a{font-size:20px}.contact-direct a:hover{color:var(--red)}.contact address{font-style:normal;color:var(--gray);font-size:15px}.contact address strong{color:var(--navy)}.contact-form{padding:35px;background:#fff;border:1px solid var(--line)}.contact-form label{display:block;font-size:14px;font-weight:600}.contact-form input,.contact-form select,.contact-form textarea{display:block;width:100%;border:1px solid #cdd5dc;background:#fff;color:var(--navy);padding:12px 14px;margin-top:8px;border-radius:0;font-size:16px}.contact-form textarea{resize:vertical;min-height:135px}.contact-form input::placeholder,.contact-form textarea::placeholder{color:#8a949e}.contact-form select{appearance:none;padding-right:38px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%230b1d36' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:18px}.contact-form label{margin-bottom:18px}.contact-form .consent{display:flex;align-items:flex-start;gap:10px;font-weight:400;font-size:13px;line-height:1.6;color:var(--gray)}.contact-form .consent input{width:16px;height:16px;flex:none;margin:3px 0 0;accent-color:var(--red)}.form-note{font-size:12px;margin-top:15px}.contact-form .button{width:100%}.form-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.notice{padding:18px 22px;background:#e7f2ec;border-left:3px solid #337c54;margin-bottom:22px;color:#245338}.notice.error{background:#fcecec;border-color:var(--red);color:#8a171c}.inquiry-result h3{margin-bottom:16px}.inquiry-result textarea{margin-block:20px}.result-actions{display:flex;gap:12px;flex-wrap:wrap}.result-actions .button{width:auto;flex:1}.inquiry-result>.text-link{border-width:0 0 1px;margin-top:18px}.action-status{font-size:13px;margin-top:12px;color:var(--gray)}
.footer{background:#07172c;color:white;padding:65px 0 25px}.footer-top{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:60px}.footer .brand-name{color:white}.footer .brand-name small{color:#a2afbd}.footer-top h3{font-size:15px;letter-spacing:0;margin-bottom:20px}.footer-top p,.footer-top address{color:#aab8c7;font-size:14px;font-style:normal;margin-top:22px}.footer-top a:not(.brand){display:block;color:#c5cfda;font-size:14px;margin:9px 0}.footer-top a:hover{color:#fff}.footer-bottom{border-top:1px solid #ffffff20;margin-top:42px;padding-top:22px;display:flex;justify-content:space-between;gap:20px;color:#99a8b8;font-size:12px}.footer-bottom button{font-size:12px;border:0;background:none;color:inherit}.footer-bottom a{color:inherit}.dialog{width:min(700px,calc(100% - 40px));max-height:calc(100svh - 40px);overflow:auto;border:0;color:var(--navy);padding:40px;box-shadow:0 15px 80px #0005}.dialog::backdrop{background:#061322c9}.dialog-close{position:absolute;right:16px;top:12px;border:0;background:#edf1f5;width:36px;height:36px;display:grid;place-items:center;font-size:25px;z-index:2}.dialog h2{font-size:32px;margin-bottom:25px}.dialog p+p{margin-top:18px}.gallery-dialog{width:min(1250px,calc(100% - 40px));padding:20px;background:#0b1d36;color:#fff}.gallery-dialog .dialog-close{background:white;color:var(--navy)}.gallery-dialog figure{margin:0}.gallery-dialog img{width:100%;max-height:calc(100svh - 160px);object-fit:contain}.gallery-dialog figcaption{padding:14px 3px;font-size:14px}.gallery-controls{display:flex;justify-content:space-between;align-items:center;gap:20px}.gallery-controls button{border:1px solid #63748a;background:none;color:white;padding:8px 15px;font-size:13px}.gallery-controls span{font-size:13px}.wp-page{min-height:55vh}.wp-page h1{font-size:42px;margin-bottom:30px}.wp-page p{margin:15px 0}.wp-page a{text-decoration:underline}.admin-bar .header{top:32px}.noscript{padding:20px;background:#fff1e7;text-align:center;font-size:14px}
@media(min-width:1600px){.hero-content{padding-block:100px 150px}.hero{min-height:760px}}
@media(max-width:1150px){.wrap{width:calc(100% - 72px)}.nav{gap:20px}.header{gap:20px}.nav>a{font-size:13px}.brand-name{font-size:20px}.brand img{width:75px}.therqon-layout{gap:40px}.contact-layout{gap:45px}.services-grid{grid-template-columns:repeat(2,1fr)}.service-card h3,.service-card>p{min-height:0}.service-card{padding:32px}.projects-grid{gap:20px}.section{padding-block:80px}}
@media(max-width:900px){.header{min-height:80px}.nav{display:none;position:absolute;top:100%;left:0;right:0;background:white;box-shadow:0 20px 30px #0b1d3620;padding:20px 36px 28px;align-items:stretch}.nav.open{display:flex;flex-direction:column;gap:0}.nav>a{padding:13px 0;font-size:16px;border-bottom:1px solid var(--line)}.nav .button{margin-top:14px;padding:15px}.menu-toggle{display:block}.hero{min-height:650px}.hero h1{font-size:60px}.section-top{gap:30px;align-items:flex-start}.section-top>p{max-width:340px;font-size:15px}.therqon-layout{grid-template-columns:1fr;gap:40px}.therqon-copy{max-width:600px}.therqon-visual{max-width:700px}.projects-grid{grid-template-columns:repeat(2,1fr)}.about-layout{gap:40px}.contact-layout{grid-template-columns:1fr;gap:35px}.contact-intro>p{max-width:600px}.footer-top{gap:30px}.brand img{width:85px}.brand-name{font-size:21px}.admin-bar .header{top:32px}}
@media(max-width:600px){.wrap{width:calc(100% - 40px)}.section{padding-block:65px}.header{padding:14px 20px;min-height:76px}.brand{gap:10px}.brand img{width:75px;height:35px}.brand-name{font-size:20px}.brand-name small{font-size:8px}.hero{min-height:650px}.hero-image{object-position:62% center}.hero-shade{background:linear-gradient(90deg,#07172ce8,#07172c7d),linear-gradient(0deg,#07172c99,transparent)}.hero h1{font-size:49px}.hero-intro{font-size:16px;max-width:340px;margin:24px 0 30px}.hero-content{padding-block:58px 100px}.hero-actions{gap:23px}.hero-actions .button{width:auto}.hero-bottom{bottom:23px;align-items:flex-start;flex-direction:column;gap:6px;letter-spacing:.06em;font-size:10px}.hero-bottom a{font-size:12px}.audience-line .wrap{display:grid;grid-template-columns:1fr 1fr;font-size:10px;gap:12px}.audience-line .wrap span:last-child{display:none}.eyebrow{font-size:11px;margin-bottom:18px}.section-top{display:block;margin-bottom:30px}.section-top>p{margin-top:23px;max-width:100%}.services-grid{grid-template-columns:1fr}.service-card{padding:30px 25px}.service-card h3{font-size:24px}.service-card>p{font-size:15px}.service-icon{margin-bottom:20px}.therqon-copy .therqon-logo{width:215px}.therqon-copy h2{font-size:38px}.therqon-actions .button{width:100%}.therqon-visual{padding:20px 8px 18px}.therqon-caption{font-size:11px;margin-top:10px}.project-toolbar{display:block;margin-bottom:25px}.filters{gap:7px}.filter{font-size:13px;padding:9px 13px}.result-count{margin-top:15px}.projects-grid{grid-template-columns:1fr;gap:24px}.project-info{padding:24px}.project-info h3{font-size:23px}.project-info .eyebrow{font-size:11px}.about-layout{grid-template-columns:1fr;gap:30px}.facts{gap:50px}.process{grid-template-columns:1fr;gap:28px;padding-top:45px}.process p{font-size:15px}.contact-form{padding:25px 20px}.form-row{grid-template-columns:1fr;gap:0}.contact-direct a:first-child{font-size:28px}.contact-direct a{font-size:19px}.footer{padding-top:50px}.footer-top{grid-template-columns:1fr 1fr;gap:35px 22px}.footer-top>div:first-child{grid-column:1/-1}.footer-bottom{flex-direction:column;gap:13px}.dialog{padding:35px 25px}.gallery-dialog{padding:12px;width:calc(100% - 20px)}.gallery-controls{gap:8px}.gallery-controls button{font-size:12px;padding:8px 10px}.gallery-dialog img{max-height:calc(100svh - 180px)}.admin-bar .header{top:46px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}

/* On-demand project video: no video bytes are requested before activation. */
#fc-tatran-presov{scroll-margin-top:110px}.project-info>p:not(.eyebrow){font-size:14px}.project-video-link{display:inline-flex;align-items:center;gap:10px;min-height:44px;margin-top:20px;padding:11px 16px;background:var(--navy);color:#fff;font-size:14px;font-weight:600}.project-video-link:hover{background:#193b60}.project-video-link svg{flex:none}.video-duration{font-size:12px;font-weight:400;color:#c4d1df;margin-left:3px}.video-dialog{width:min(1100px,calc(100% - 40px));padding:30px;background:#0b1d36;color:#fff}.video-dialog .eyebrow{color:#b9c6d4;margin:0 50px 10px 0;font-size:12px}.video-dialog h2{font-size:28px;margin:0 50px 24px 0}.video-dialog video{display:block;width:100%;height:auto;aspect-ratio:16/9;max-height:calc(100svh - 240px);object-fit:contain;background:#000}.video-dialog #project-video-summary{font-size:15px;color:#dce4ee;margin:18px 0 10px}.video-direct-link{display:inline-flex;align-items:center;min-height:44px;font-size:14px;text-decoration:underline;text-underline-offset:4px;color:#fff}.video-dialog #project-video-error{font-size:14px;color:#fff0be;margin:12px 0}.video-dialog::backdrop{background:#061322e8}
@media(max-width:600px){.video-dialog{width:calc(100% - 20px);padding:20px 12px 12px}.video-dialog h2{font-size:23px;margin-bottom:18px}.video-dialog .eyebrow{font-size:11px}.video-dialog video{max-height:calc(100svh - 230px)}.video-dialog #project-video-summary{font-size:14px}.project-video-link{width:100%;justify-content:center}}

.video-dialog .dialog-close{color:var(--navy);background:#fff;min-width:44px;min-height:44px}
