/* Společná hlavička, fotografie a průsvitné plochy */
body>header,body>header.header{background:#092e49f7!important;color:white;border-bottom:1px solid #4592aa;backdrop-filter:blur(16px)}
body>header :is(.brand,.brand strong,.brand-copy strong,.brand-copy em,nav a,.menu-toggle){color:#f2fbff!important}
body>header .brand small,body>header .brand-copy small{color:#91e5ec!important}
body>header .brand img{background:#f3fbff;border-radius:9px;padding:3px}
body>header nav a:hover,body>header nav a[aria-current=page]{color:#84fff1!important;text-shadow:0 0 12px #40c6c9}
body>header nav .nav-contact,.hero .btn.primary,.tools-card .btn.primary{background:linear-gradient(150deg,#157a9a,#076075);border:1px solid #72deda;border-radius:30px;color:white}
.photo-head.photo-head{color:white;background:linear-gradient(96deg,#082c47f5 0%,#103b58e8 40%,#16445c45 78%),var(--scene) center 48%/cover!important;border-bottom:3px solid #16aaac;padding-block:clamp(36px,5vw,78px)}
.photo-head :is(h1,p,a,.kicker,.faq-kicker,.ref-kicker){color:white!important}
.photo-head h1 span{color:#87f2e7!important}
.photo-head:is(.ea-heading,.tools-hero,.faq-hero)>.wrap,.photo-head.faq-hero>.faq-wrap{box-sizing:border-box;max-width:min(720px,88%);margin:0 auto 0 max(6%,calc((100% - 1136px)/2));padding:clamp(20px,3vw,40px);background:linear-gradient(135deg,#204d67eb,#316783a6);border:1px solid #b2e3ea99;border-radius:24px;backdrop-filter:blur(10px)}
.ref-heading.photo-head,.policy-head{padding-inline:clamp(24px,4vw,54px);border-radius:20px;overflow:hidden}
.ref-heading.photo-head p{max-width:400px;background:#0a3455cf;padding:14px;border-radius:10px}
.site-photo{margin:clamp(18px,3vw,40px) auto;width:min(1120px,90%);height:clamp(150px,23vw,320px);border-radius:20px;overflow:hidden;background:#103951}
.site-photo img{display:block;width:100%;height:100%;object-fit:cover}
.ep-policy .site-photo{height:150px;width:100%}
body:has(.tools-checker) .site-photo img{object-fit:contain}
body .tools-section:not(.tools-white),body .ea-section,body .faq-content,body .ref-section{background:linear-gradient(115deg,#0e3653,#175574)!important;color:#effaff}
body :is(.tools-section:not(.tools-white),.ea-section,.ref-section) :is(.tools-lead,.tools-small,.ea-intro,.ea-bottom p,.ref-breadcrumb){color:#d0eef7!important}
body :is(.tools-note,.tools-checker,.tools-source,.tools-card,.ea-card-body,.ref-tools,.faq-group,.ref-card){color:#17394b}
body .tools-section:not(.tools-white) .tools-checker .tools-small{color:#38576b!important}
body .faq-group{padding:clamp(16px,3vw,30px)}
@media(max-width:950px){body>header nav{background:#103a56!important}.photo-head:is(.ea-heading,.tools-hero,.faq-hero)>.wrap,.photo-head.faq-hero>.faq-wrap{margin-inline:auto}}

/* Modré sklo pro přehled revize a katalog referencí. */
body.lightning-page #sluzby {
  background: radial-gradient(ellipse at top right,#195372,#10354f 62%,#0b2c45) !important;
}
body.lightning-page #sluzby .service-grid,
body.lightning-page #lhuty .interval-grid { background:transparent !important; border:0; }
body.lightning-page #sluzby .service-card,
body.lightning-page #sluzby .note,
body.lightning-page #lhuty .interval-card,
body .ref-section .ref-card,
body .ref-section .ref-cta,
body .ref-section .ref-empty {
  background:linear-gradient(145deg,rgba(36,85,112,.96),rgba(16,49,73,.96)) !important;
  color:#f6fcff !important; border:1px solid #6096af !important;
  box-shadow:inset 0 1px 0 #b8ebff29,0 8px 22px #071f3424;
  border-radius:18px;
}
body.lightning-page #sluzby :is(h2,h3,b), body.lightning-page #lhuty .interval-card h3,
body .ref-section .ref-card :is(h3,.ref-year,strong),body .ref-section .ref-cta h3 {color:#fff !important;}
body.lightning-page #sluzby :is(p,.note),body.lightning-page #lhuty .interval-card p,
body .ref-section .ref-card :is(.ref-location,.ref-description,.ref-partner,.ref-card-top),
body .ref-section :is(.ref-tools,.ref-search,.ref-count,.ref-home,.ref-home a) {color:#deeff9 !important;}
body.lightning-page #sluzby .eyebrow,body.lightning-page #lhuty .interval-number,
body .ref-section .ref-card svg {color:#8ff4ed !important;}
body.lightning-page #sluzby .service-icon {border-radius:12px;background:#0c3551;color:#b3ffff;border:1px solid #639cb5;}
body.lightning-page #sluzby .note {border-left:4px solid #79dedc !important;}
body .ref-section .ref-photo figcaption {background:#10344d;color:#d9eff9;border-color:#517990;}
body .ref-section .ref-photo figcaption :is(span,a) {color:#e4f7ff !important;}
body .ref-section .ref-filters button {border:1px solid #81adbf;border-radius:12px;color:#f7fcff;background:#194762;}
body .ref-section .ref-filters button:hover {background:#265c76;}
body .ref-section .ref-filters button.is-active {background:#a3efe9;border-color:#a3efe9;color:#0c344a;}
body .ref-section :focus-visible {outline:3px solid #a3fff6;outline-offset:3px;}
body .ref-section .ref-search input {color:#102f42;background:#f6fbff;border-radius:10px;}
body .ref-section .ref-search input::placeholder {color:#486073;opacity:1;}
.site-photo {position:relative;box-sizing:border-box;border:1px solid #76aabe;box-shadow:0 12px 34px #0a38552e;}
.site-photo img {opacity:.91;}
.site-photo::after {content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 1px 0 #daf8ff75;background:linear-gradient(110deg,#175b760e,transparent 60%,#0c425528);}
body .site-footer {background:linear-gradient(110deg,#092b42,#0d344c);color:#edf8ff;}
body .site-footer .footer-brand {align-items:center;color:#fff !important;}
body .site-footer .footer-brand small {color:#a5eee8 !important;}
body .site-footer .footer-mark,body header .brand-symbol {display:block;width:44px;height:54px;box-sizing:content-box;object-fit:contain;padding:6px 8px;background:#f2faff;border-radius:8px;flex:none;max-width:none;}
body .site-footer :is(p,address,a) {color:#deeff9;}
body .ea-section .ea-interest :is(.kicker,h2,p),body .ea-section>.wrap>.kicker {color:#f3faff !important;}
body .ea-section .ea-interest .kicker,body .ref-cta .ref-kicker {color:#a5f4eb !important;}
body .ea-interest {border-top-color:#67c6d2;}
.photo-credit {text-align:center;color:#163b50;background:#e6f2f6;padding:5px 12px;font-size:.78rem;}
.photo-credit a {color:#17495f;text-decoration:underline;}
body:has(.tools-checker) .site-photo img {object-fit:cover;}
/* Fotografie plynule přechází do povrchu pod ní. */
body figure.site-photo,body .ref-photo-frame {
  border:0 !important;border-radius:0 !important;box-shadow:none !important;background:transparent;
}
body .site-photo::after {content:none;}
body figure.site-photo img,body .ref-photo-frame img {
  border:0;border-radius:0;opacity:1;
  mask-image:linear-gradient(to right,transparent,#000 9%,#000 91%,transparent),linear-gradient(to bottom,transparent,#000 12%,#000 86%,transparent);
  mask-composite:intersect;
}
body .photo-head.photo-head {border:0;border-radius:0;}
body .ref-section .ref-card .ref-card-body {background:#183e55 !important;color:#f5fbff;}
body .ea-card .ea-card-body,body .faq-content .faq-group,
body :is(.tools-card,.tools-note,.tools-checker,.tools-source) {background:#e3eef4 !important;color:#18364a;}
body .contact form {background:#14394e !important;color:white;}
body .contact form :is(label,h3) {color:white !important;}
body .contact .muted,body .footer-bottom,body .footer-bottom span,body .faq-content .faq-count {color:#daeaf3 !important;}
body .ea-section .section-top .red,body .ea-section .ea-intro .red,body .ea-section h2 .red,
body .management .kicker.light,body .contact .kicker.light,body .section.dark .eyebrow {color:#a4f1e9 !important;}
body .tools-teaser .tools-tag,body .tools-card .tools-chip {background:#e1f5f3!important;color:#0c5359!important;}
body .tools-card .tools-icon {color:#095566;}
body .faq-content .faq-cta {background:#193f56;color:white;}
body :is(.faq-breadcrumb,.ref-breadcrumb,.hromosvody-breadcrumb,.breadcrumb):is(div,nav,p) {background:#dfedf4;color:#18465d!important;}
body :is(.faq-breadcrumb,.ref-breadcrumb,.hromosvody-breadcrumb,.breadcrumb) :is(a,span) {color:#18465d!important;}
body .section:not(.dark) .section-head .eyebrow,body .price-section .price-note,body .care-note {color:#294b5c;}
