:root{--primary-color:#f47b20;--primary-color-rgb:244,123,32;--secondary-color:#162431;}
#logo img{width:250px!important;height:auto!important;max-height:74px!important;object-fit:contain}
header.smaller #logo img{width:205px!important}
.bg-color,.btn-main,.bg-color-2{background:#f47b20!important}.id-color,.id-color-2,.subtitle{color:#f47b20!important}
#mainmenu li a:hover,#mainmenu li a.menu-item.active{color:#f47b20!important}
.ergo-hero{background:linear-gradient(90deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.9) 45%,rgba(255,255,255,.2) 75%),url('../images/misc/handy-man.webp') center/cover no-repeat;min-height:760px;display:flex;align-items:center}
.ergo-hero h1{font-size:64px;line-height:1.05}.ergo-hero .accent{color:#f47b20}.ergo-hero p{max-width:610px;font-size:19px}
.product-card-img{height:245px;object-fit:cover;width:100%}.product-card .absolute{z-index:3}
#scroll-top-ergo{position:fixed;right:24px;bottom:24px;width:48px;height:48px;border-radius:50%;background:#f47b20;color:#fff;border:0;z-index:9999;display:none;font-size:23px;box-shadow:0 8px 25px rgba(0,0,0,.2)}
#scroll-top-ergo.show{display:block}.ergo-dark{background:#162431}.ergo-logo-footer{width:240px;background:#fff;padding:10px;border-radius:5px}
@media(max-width:991px){#logo img{width:190px!important}.ergo-hero{min-height:650px}.ergo-hero h1{font-size:44px}}
/* Ergo Konsult v4 refinements */
header:not(.smaller) #logo img{width:290px!important;max-height:84px!important}
header.smaller #logo img{width:225px!important}
#services,#section-products,.ergo-brands{padding-top:75px!important;padding-bottom:75px!important}
#section-products .row.g-4{row-gap:28px!important}
.product-card{background:#f5f6f7!important;border:1px solid #edf0f2;box-shadow:0 8px 28px rgba(22,36,49,.05)}
.product-card-img{height:230px!important;background:#f4f5f6}
.product-meta{padding:18px 22px 22px;text-align:left;background:#fff}
.product-meta span{font-size:11px;letter-spacing:1.3px;font-weight:700;color:#8b939b}
.product-meta h4{margin:6px 0 8px}
.product-meta a{font-weight:700;color:#f47b20;font-size:14px}
.ergo-project-img{width:100%;height:330px;object-fit:cover}
.ergo-brands{background:#fff}
.brand-tile{height:112px;border:1px solid #e7eaed;border-radius:16px;display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:800;letter-spacing:1px;color:#4d5862;background:#fafbfb;transition:.25s ease}
.brand-tile:hover{transform:translateY(-4px);border-color:#f47b20;color:#f47b20;box-shadow:0 12px 30px rgba(22,36,49,.08)}
@media(max-width:991px){header:not(.smaller) #logo img{width:220px!important}#services,#section-products,.ergo-brands{padding-top:55px!important;padding-bottom:55px!important}}
.ergo-hero{background:linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.92) 42%,rgba(255,255,255,.35) 72%),url('../images/legacy/ban2.jpg') center/cover no-repeat!important}

/* Ergo Konsult v5 - footer navigation */
footer.ergo-dark .widget ul li a,
footer.ergo-dark .subfooter a {
  color:#d9dee3!important;
  transition:color .2s ease;
}
footer.ergo-dark .widget ul li a:hover,
footer.ergo-dark .widget ul li a:focus,
footer.ergo-dark .subfooter a:hover,
footer.ergo-dark .subfooter a:focus {
  color:#f47b20!important;
}

/* v6 SVG logo + contact links */
#logo img.logo-main,#logo img.logo-scroll,#logo img.logo-mobile{height:auto;max-height:72px;width:auto}.ergo-logo-footer{width:260px;height:auto}.ergo-dark .widget p a{color:#d9dee3;transition:color .2s ease}.ergo-dark .widget p a:hover{color:#f47b20}

/* Ergo Konsult v7 - clean topbar + self-contained SVG icons */
#topbar{background:#f47b20!important;color:#fff!important;height:auto!important;min-height:38px}
#topbar .container{max-width:1320px}
.ergo-topbar{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:24px;font-size:13px;line-height:1.2}
.ergo-topbar-left{display:flex;align-items:center;gap:24px;white-space:nowrap}
.ergo-topbar a,.ergo-topbar-right{color:#fff!important;display:flex;align-items:center;gap:7px;text-decoration:none}
.ergo-topbar a:hover{color:#162431!important}
.ergo-topbar svg{width:15px;height:15px;fill:currentColor;flex:0 0 15px}
.ergo-topbar-right{margin-left:auto;justify-content:flex-end;white-space:nowrap}
header.has-topbar:not(.smaller) .de-flex{min-height:86px;align-items:center}
header.has-topbar:not(.smaller) #logo img{width:260px!important;max-height:72px!important}
header.smaller #logo img{width:215px!important;max-height:60px!important}
header #mainmenu{display:flex;align-items:center;gap:2px}
header #mainmenu>li>a{padding-left:15px!important;padding-right:15px!important;white-space:nowrap}
header .menu_side_area .btn-main{white-space:nowrap;padding-left:20px;padding-right:20px}
.ergo-service-icon{display:block;width:38px;height:38px;fill:#f47b20}
.ergo-strip-icon{width:29px;height:29px;fill:#fff;vertical-align:middle;margin-right:12px}
.ergo-contact-icon{width:16px;height:16px;fill:#f47b20;vertical-align:-3px;margin-right:8px}
footer.ergo-dark .widget p{display:flex;align-items:flex-start}
footer.ergo-dark .widget p a{display:inline}
@media(max-width:1199px){.ergo-topbar-left{gap:14px}.ergo-topbar{font-size:12px}header.has-topbar:not(.smaller) #logo img{width:225px!important}header #mainmenu>li>a{padding-left:10px!important;padding-right:10px!important}.menu_side_area .btn-main{font-size:13px}}
@media(max-width:991px){#topbar{display:none!important}header.has-topbar:not(.smaller) .de-flex{min-height:74px}header.has-topbar:not(.smaller) #logo img{width:215px!important;max-height:62px!important}.menu_side_area .btn-main{display:none!important}}

/* Ergo Konsult v8 */
.ergo-logo-footer{width:260px!important;height:auto!important;background:transparent!important;padding:0!important;border-radius:0!important;box-shadow:none!important}
.ergo-projects-home{padding-top:75px!important;padding-bottom:75px!important}.project-label{display:block;font-size:11px;font-weight:700;letter-spacing:1.2px;color:#f47b20;margin-bottom:8px}.ergo-text-link{font-weight:700;color:#f47b20}.ergo-text-link:hover{color:#162431}

/* Ergo Konsult v9 - white footer logo + author credit */
.ergo-logo-footer{width:260px!important;height:auto!important;background:transparent!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;object-fit:contain}
.footer-credit{margin-left:18px;padding-left:18px;border-left:1px solid rgba(255,255,255,.18)}
.footer-credit a{color:#d9dee3!important;transition:color .2s ease}
.footer-credit a:hover{color:#f47b20!important}
@media(max-width:767px){.footer-credit{display:block;margin:6px 0 0;padding:0;border:0}}

/* Ergo Konsult v10 - About page */
.ergo-page-hero{padding-top:190px!important;padding-bottom:90px!important}.ergo-page-hero h1{font-size:54px}.ergo-ee-logo{max-height:330px}.ergo-about-facts{display:grid;grid-template-columns:1fr 1fr;gap:16px}.ergo-about-facts>div{background:#f5f6f7;border:1px solid #e8ebee;border-radius:18px;padding:26px}.ergo-about-facts strong{display:block;color:#f47b20;font-size:28px;margin-bottom:6px}.ergo-about-facts span{font-size:14px}.ergo-docs{padding-top:80px!important;padding-bottom:80px!important}.ergo-doc-card{display:block;background:#fff;border:1px solid #e8ebee;border-radius:18px;overflow:hidden;height:100%;box-shadow:0 8px 28px rgba(22,36,49,.05);transition:.25s ease}.ergo-doc-card:hover{transform:translateY(-5px);box-shadow:0 16px 35px rgba(22,36,49,.11)}.ergo-doc-img{height:340px;padding:18px;background:#eef1f3;display:flex;align-items:center;justify-content:center}.ergo-doc-img.ref{height:300px}.ergo-doc-img img{max-width:100%;max-height:100%;object-fit:contain}.ergo-doc-meta{padding:20px}.ergo-doc-meta span{font-size:10px;letter-spacing:1.3px;font-weight:800;color:#f47b20}.ergo-doc-meta h4{font-size:18px;margin:7px 0}.ergo-doc-meta small{color:#66717b}.bg-color-3 .ergo-doc-card{background:#fff}@media(max-width:991px){.ergo-page-hero{padding-top:120px!important;padding-bottom:60px!important}.ergo-page-hero h1{font-size:40px}.ergo-about-facts{margin-top:10px}}@media(max-width:575px){.ergo-about-facts{grid-template-columns:1fr}.ergo-doc-img,.ergo-doc-img.ref{height:280px}}

/* Ergo Konsult v11 - normalized documents + lightbox */
.ergo-cert-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}
.ergo-doc-card{appearance:none;-webkit-appearance:none;width:100%!important;min-width:0!important;padding:0!important;text-align:left!important;color:inherit!important;font:inherit!important;cursor:pointer!important}
.ergo-doc-img{width:100%!important;height:330px!important;min-height:330px!important;max-height:330px!important;overflow:hidden!important;padding:18px!important;box-sizing:border-box!important;background:#eef1f3!important;display:flex!important;align-items:center!important;justify-content:center!important}
.ergo-doc-img img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;margin:0!important}
.ergo-reference-card{appearance:none;-webkit-appearance:none;width:100%;height:100%;border:1px solid #e8ebee;border-radius:18px;background:#fff;padding:22px;display:grid;grid-template-columns:180px 1fr;gap:24px;align-items:center;text-align:left;cursor:pointer;box-shadow:0 8px 28px rgba(22,36,49,.05);transition:.25s ease;color:#162431}
.ergo-reference-card:hover{transform:translateY(-5px);box-shadow:0 16px 35px rgba(22,36,49,.11);border-color:#f47b20}
.ergo-reference-card>img{display:block!important;width:180px!important;height:230px!important;max-width:180px!important;object-fit:contain!important;background:#f2f4f5;padding:10px;border-radius:10px}
.ergo-reference-card span{font-size:10px;letter-spacing:1.2px;font-weight:800;color:#f47b20}.ergo-reference-card h3{font-size:22px;margin:8px 0}.ergo-reference-card p{margin:0 0 14px;color:#66717b}.ergo-reference-card strong{color:#f47b20;font-size:14px}
.ergo-lightbox{position:fixed;inset:0;z-index:10050;display:none}.ergo-lightbox.show{display:block}.ergo-lightbox-backdrop{position:absolute;inset:0;background:rgba(8,18,28,.88)}.ergo-lightbox-dialog{position:absolute;left:50%;top:4vh;transform:translateX(-50%);width:min(1050px,92vw);height:92vh;background:#fff;border-radius:18px;padding:22px 22px 28px;overflow:auto;box-shadow:0 25px 70px rgba(0,0,0,.35)}.ergo-lightbox-dialog h3{padding-right:55px;margin-bottom:20px}.ergo-lightbox-close{position:sticky;top:0;float:right;z-index:2;width:42px;height:42px;border:0;border-radius:50%;background:#f47b20;color:#fff;font-size:28px;line-height:1;cursor:pointer}.ergo-lightbox-pages{display:grid;gap:22px;clear:both}.ergo-lightbox-pages img{display:block;width:auto!important;height:auto!important;max-width:100%!important;max-height:none!important;margin:0 auto;border:1px solid #e4e7ea;box-shadow:0 8px 28px rgba(22,36,49,.08)}
@media(max-width:991px){.ergo-cert-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ergo-reference-card{grid-template-columns:140px 1fr}.ergo-reference-card>img{width:140px!important;max-width:140px!important;height:190px!important}}
@media(max-width:575px){.ergo-cert-grid{grid-template-columns:1fr}.ergo-doc-img{height:300px!important;min-height:300px!important;max-height:300px!important}.ergo-reference-card{grid-template-columns:1fr}.ergo-reference-card>img{width:100%!important;max-width:100%!important;height:240px!important}.ergo-lightbox-dialog{top:2vh;height:96vh;width:96vw;padding:16px}}

/* Ergo Konsult v12 - Services */
.ergo-services-hero{padding-bottom:70px!important}.ergo-service-hero-img{width:100%;height:330px;object-fit:cover}.ergo-services-intro{padding:75px 0 30px}.ergo-service-section{padding:75px 0}.ergo-service-photo{display:block;width:100%;height:390px;object-fit:cover;border-radius:20px;box-shadow:0 12px 34px rgba(22,36,49,.10)}.ergo-service-ee{display:block;max-width:100%;max-height:370px;margin:auto;object-fit:contain}.ergo-service-number{display:block;font-size:56px;line-height:1;font-weight:800;color:rgba(244,123,32,.14);margin-bottom:8px}.ergo-service-tags{display:flex;flex-wrap:wrap;gap:9px;margin:24px 0}.ergo-service-tags span{padding:8px 13px;border:1px solid #e5e9ec;border-radius:30px;background:#f7f8f9;font-size:13px;font-weight:600}.ergo-service-note{border-left:3px solid #f47b20;padding:13px 18px;margin:24px 0;background:#fff;border-radius:0 10px 10px 0}.ergo-design-block{background:#162431;color:#dce2e7}.ergo-design-block h2{color:#fff}.ergo-design-block .lead{color:#fff}.ergo-design-card{background:#fff;border-radius:20px;padding:42px;color:#162431;display:flex;flex-direction:column;gap:12px}.ergo-design-card svg{width:64px;height:64px;fill:#f47b20}.ergo-design-card strong{font-size:25px}.ergo-design-card span{color:#66717b}.ergo-design-block .ergo-service-number{color:rgba(244,123,32,.35)}
@media(max-width:991px){.ergo-service-section{padding:55px 0}.ergo-services-intro{padding:55px 0 15px}.ergo-service-photo{height:320px}.ergo-service-number{font-size:44px}}

/* Ergo Konsult v13 — Projects */
.ergo-projects-hero{padding:165px 0 85px;background:#fff}
.ergo-projects-hero h1{font-size:54px;line-height:1.08;margin-bottom:18px}
.ergo-projects-hero .lead{max-width:680px}
.ergo-projects-intro{padding:70px 0 35px}
.ergo-projects-grid{padding:35px 0 90px}
.ergo-project-card{height:100%;background:#fff;border:1px solid #e8ecef;border-radius:18px;overflow:hidden;box-shadow:0 12px 34px rgba(22,36,49,.06);transition:.25s ease}
.ergo-project-card:hover{transform:translateY(-5px);box-shadow:0 18px 42px rgba(22,36,49,.10)}
.ergo-project-card .project-image{height:300px;background:#f3f5f6;overflow:hidden}
.ergo-project-card .project-image img{width:100%;height:100%;object-fit:cover;transition:.35s ease}
.ergo-project-card:hover .project-image img{transform:scale(1.035)}
.ergo-project-card .project-body{padding:26px 28px 30px}
.ergo-project-card .project-type{display:block;color:#f47b20;font-size:11px;font-weight:800;letter-spacing:1.2px;text-transform:uppercase;margin-bottom:8px}
.ergo-project-card h3{font-size:24px;margin-bottom:12px}
.ergo-project-card p{margin-bottom:0;color:#6f7880}
.ergo-projects-list{padding:85px 0;background:#f7f8f9}
.ergo-project-list-item{display:flex;gap:18px;align-items:flex-start;padding:22px 0;border-bottom:1px solid #e0e4e7}
.ergo-project-list-item:first-child{border-top:1px solid #e0e4e7}
.ergo-project-list-item .num{min-width:42px;color:#f47b20;font-weight:800;font-size:14px}
.ergo-project-list-item strong{display:block;color:#162431;font-size:17px;margin-bottom:4px}
.ergo-project-list-item span{color:#7a838a;font-size:14px}
.ergo-projects-stat{background:#162431;color:#fff;border-radius:18px;padding:34px;height:100%}
.ergo-projects-stat strong{display:block;color:#f47b20;font-size:46px;line-height:1;margin-bottom:10px}
.ergo-projects-stat span{font-size:17px}
@media(max-width:991px){.ergo-projects-hero{padding:130px 0 55px}.ergo-projects-hero h1{font-size:42px}.ergo-project-card .project-image{height:250px}.ergo-projects-grid{padding-bottom:60px}}

/* Manufacturer logos */
.brand-logo-tile{padding:24px 34px;background:#fff;overflow:hidden}
.brand-logo-tile img{display:block;width:100%;height:58px;object-fit:contain;object-position:center}
.brand-logo-tile:hover img{transform:scale(1.035)}
.brand-logo-tile img{transition:transform .25s ease}
@media(max-width:767px){.brand-logo-tile{height:100px;padding:20px 30px}.brand-logo-tile img{height:52px}}
/* v14 contacts */
.brand-logo-tile img[alt="Viessmann"]{height:54px;max-width:82%;margin:auto}
.brand-logo-tile img[alt="Midea"]{height:54px;max-width:72%;margin:auto}
.brand-logo-tile img[alt="BAXI"]{height:50px;max-width:66%;margin:auto}
.ergo-contact-hero{padding:165px 0 90px;background:#fff}
.ergo-contact-hero h1{font-size:58px;line-height:1.02;margin-bottom:20px}
.ergo-contact-hero .lead{max-width:660px}
.ergo-contact-card{height:100%;border:1px solid #e7ebef;border-radius:18px;padding:30px;background:#fff;box-shadow:0 12px 35px rgba(22,36,49,.05)}
.ergo-contact-card .contact-icon{width:46px;height:46px;border-radius:12px;background:#fff2e8;display:flex;align-items:center;justify-content:center;margin-bottom:20px}
.ergo-contact-card .contact-icon svg{width:23px;height:23px;fill:#f47b20}
.ergo-contact-card h3{font-size:20px;margin-bottom:10px}.ergo-contact-card p{margin:0;color:#75808a}.ergo-contact-card a{color:#162431}.ergo-contact-card a:hover{color:#f47b20}
.ergo-contact-main{padding:90px 0;background:#f7f8f9}
.ergo-contact-form{background:#fff;border-radius:20px;padding:42px;box-shadow:0 14px 45px rgba(22,36,49,.06)}
.ergo-contact-form .form-control,.ergo-contact-form .form-select{height:54px;border:1px solid #e1e6ea;border-radius:10px;padding:0 16px;background:#fff}
.ergo-contact-form textarea.form-control{height:155px;padding-top:15px;resize:vertical}
.ergo-contact-form label{font-weight:600;font-size:14px;margin-bottom:7px;color:#162431}
.ergo-map-wrap{height:100%;min-height:550px;border-radius:20px;overflow:hidden;background:#e9ecef;box-shadow:0 14px 45px rgba(22,36,49,.06)}
.ergo-map-wrap iframe{width:100%;height:100%;min-height:550px;border:0}
.ergo-contact-note{font-size:13px;color:#8b949d;margin-top:12px}
@media(max-width:991px){.ergo-contact-hero{padding:130px 0 65px}.ergo-contact-hero h1{font-size:42px}.ergo-contact-main{padding:65px 0}.ergo-contact-form{padding:28px}.ergo-map-wrap,.ergo-map-wrap iframe{min-height:400px}}

/* v14.1 — topbar aligned with the main site content */
@media (min-width:1200px){
  #topbar .container{max-width:1140px!important}
}
@media (max-width:767px){
  .ergo-topbar{flex-wrap:wrap;gap:6px 14px;padding:7px 0}
  .ergo-topbar-left{flex-wrap:wrap;gap:7px 14px;white-space:normal}
  .ergo-topbar-right{width:100%;margin-left:0;justify-content:flex-start;white-space:normal}
}


/* Ergo Konsult v14.5: compact header inquiry CTA */
.ergo-nav-inquiry{padding-left:22px!important;padding-right:22px!important;white-space:nowrap;}
#inquiry{scroll-margin-top:120px;}

/* Ergo Konsult v14.6 - align topbar address with Inquiry button */
@media (min-width:1200px){
  .ergo-topbar-right{transform:translateX(34px)}
}

/* v15.1 production: legal pages, contact form, privacy controls */
.ergo-alert{padding:15px 18px;border-radius:12px;margin-bottom:22px;font-size:14px}.ergo-alert-success{background:#eaf7ef;color:#17643a;border:1px solid #cbead7}.ergo-alert-error{background:#fff0ed;color:#8b2f22;border:1px solid #f4d0c9}.ergo-field-error{color:#b5412e;font-size:12px;margin-top:5px}.ergo-check{display:flex;gap:10px;align-items:flex-start;font-size:13px;color:#66717b}.ergo-check input{margin-top:4px}.ergo-check a{color:#f47b20}.ergo-hp{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}.ergo-map-consent{height:100%;min-height:550px;display:flex;align-items:center;justify-content:center;text-align:center;padding:45px;background:#162431;color:#fff}.ergo-map-consent h3{color:#fff}.ergo-map-consent p{color:#d8dee3;max-width:480px}.ergo-map-consent .btn-main{border:0}.ergo-legal{padding:165px 0 90px}.ergo-legal h1{font-size:48px}.ergo-legal-body{max-width:900px}.ergo-legal-body h2{font-size:26px;margin:38px 0 12px}.ergo-legal-body h3{font-size:20px;margin:28px 0 10px}.ergo-legal-body p,.ergo-legal-body li{color:#65717b}.ergo-legal-body a{color:#f47b20}.ergo-legal-note{background:#f7f8f9;border-left:3px solid #f47b20;padding:18px 20px;border-radius:0 12px 12px 0}.ergo-cookie-banner{position:fixed;left:20px;right:20px;bottom:20px;z-index:12000;display:none}.ergo-cookie-banner.show{display:block}.ergo-cookie-inner{max-width:1180px;margin:auto;background:#162431;color:#fff;border-radius:16px;padding:22px 24px;box-shadow:0 18px 60px rgba(0,0,0,.25);display:flex;gap:28px;align-items:center;justify-content:space-between}.ergo-cookie-inner strong{font-size:17px}.ergo-cookie-inner p{margin:5px 0 0;color:#d7dde2;font-size:13px}.ergo-cookie-actions{display:flex;gap:9px;flex:0 0 auto}.btn-cookie-primary,.btn-cookie-secondary{border-radius:9px;padding:11px 15px;font-weight:700;font-size:13px;cursor:pointer}.btn-cookie-primary{border:1px solid #f47b20;background:#f47b20;color:#fff}.btn-cookie-secondary{border:1px solid rgba(255,255,255,.3);background:transparent;color:#fff}.ergo-cookie-link{border:0;background:none;color:inherit;padding:0;cursor:pointer;font:inherit}.ergo-cookie-link:hover{color:#f47b20}.ergo-cookie-modal{position:fixed;inset:0;z-index:12010;display:none}.ergo-cookie-modal.show{display:block}.ergo-cookie-backdrop{position:absolute;inset:0;background:rgba(8,18,28,.72)}.ergo-cookie-dialog{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(620px,92vw);background:#fff;border-radius:18px;padding:30px;box-shadow:0 25px 80px rgba(0,0,0,.3)}.ergo-cookie-x{position:absolute;right:18px;top:14px;border:0;background:none;font-size:30px;cursor:pointer}.ergo-cookie-row{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:20px 0;border-top:1px solid #e8ecef}.ergo-cookie-row strong,.ergo-cookie-row small{display:block}.ergo-cookie-row small{color:#77818a;margin-top:4px}.ergo-always{font-size:12px;font-weight:700;color:#568064;white-space:nowrap}.ergo-switch input{display:none}.ergo-switch span{display:block;width:48px;height:26px;border-radius:20px;background:#c9ced2;position:relative;cursor:pointer}.ergo-switch span:after{content:'';position:absolute;width:20px;height:20px;left:3px;top:3px;border-radius:50%;background:#fff;transition:.2s}.ergo-switch input:checked+span{background:#f47b20}.ergo-switch input:checked+span:after{left:25px}.ergo-cookie-modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}.ergo-cookie-dialog .btn-cookie-secondary{color:#162431;border-color:#ccd2d6}@media(max-width:767px){.ergo-cookie-inner{display:block}.ergo-cookie-actions{margin-top:16px;flex-wrap:wrap}.ergo-cookie-actions button{flex:1 1 auto}.ergo-cookie-banner{left:10px;right:10px;bottom:10px}.ergo-cookie-dialog{padding:25px 20px}.ergo-cookie-modal-actions{flex-wrap:wrap}.ergo-legal{padding:125px 0 65px}.ergo-legal h1{font-size:38px}.ergo-map-consent{min-height:400px}}

/* v15.2 production footer */
.ergo-subfooter-row{display:flex;align-items:center;justify-content:space-between;gap:28px;width:100%}
.ergo-subfooter-meta{display:flex;align-items:center;min-width:0}
.ergo-legal-nav{display:flex;align-items:center;justify-content:flex-end;gap:20px;flex-wrap:wrap;white-space:nowrap}
.ergo-legal-nav a,.ergo-legal-nav button{font-size:14px}
@media(max-width:991px){.ergo-subfooter-row{align-items:flex-start;flex-direction:column;gap:14px}.ergo-legal-nav{justify-content:flex-start;white-space:normal}.ergo-subfooter-meta{align-items:flex-start;flex-direction:column}.footer-credit{margin:7px 0 0;padding:0;border:0}}
@media(max-width:575px){.ergo-legal-nav{gap:10px 16px}}

/* v15.3 production footer polish */
.subfooter{padding:0!important;border-top:1px solid rgba(255,255,255,.09)}
.ergo-subfooter-row{min-height:92px;display:grid!important;grid-template-columns:1.1fr .9fr 1.25fr;align-items:center;gap:30px;width:100%}
.ergo-subfooter-left{display:flex;align-items:center;gap:9px;white-space:nowrap;font-size:13px;color:rgba(255,255,255,.78)}
.ergo-dot{color:#f47b20}.ergo-subfooter-credit{font-size:13px;padding-left:26px;border-left:1px solid rgba(255,255,255,.14);color:rgba(255,255,255,.72)}
.ergo-subfooter-credit a{color:#fff}.ergo-subfooter-credit a:hover{color:#f47b20}
.ergo-subfooter-legal{display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.ergo-legal-nav{display:flex;align-items:center;gap:10px!important;flex-wrap:nowrap!important;white-space:nowrap}
.ergo-legal-nav a,.ergo-legal-nav span,.ergo-cookie-link{font-size:12.5px;color:rgba(255,255,255,.72)}
.ergo-legal-nav span{color:rgba(244,123,32,.75)}
.ergo-legal-nav a:hover,.ergo-cookie-link:hover{color:#f47b20}
.ergo-cookie-link{padding:0!important;background:none!important;border:0!important;text-decoration:none;cursor:pointer}
@media(max-width:991px){.ergo-subfooter-row{grid-template-columns:1fr!important;gap:10px!important;padding:24px 0;min-height:0}.ergo-subfooter-left{white-space:normal;flex-wrap:wrap}.ergo-subfooter-credit{padding:0;border:0}.ergo-subfooter-legal{align-items:flex-start}.ergo-legal-nav{flex-wrap:wrap!important}}
@media(max-width:575px){.ergo-subfooter-left .ergo-dot{display:none}.ergo-subfooter-left{display:block}.ergo-subfooter-left span{display:block}.ergo-legal-nav{gap:8px!important}}


/* v15.4 — Legal pages: site-width layout + readable content */
.ergo-legal-content {
    padding: 65px 0 90px;
}

.ergo-legal-body {
    width: 100%;
    max-width: none;
}

.ergo-legal-body > p,
.ergo-legal-body > h2,
.ergo-legal-body > h3,
.ergo-legal-body > ul,
.ergo-legal-body > ol {
    max-width: 1050px;
}

.ergo-legal-body .ergo-legal-note {
    max-width: 1050px;
}

@media (max-width: 991px) {
    .ergo-legal-content {
        padding: 45px 0 65px;
    }
}

@media (max-width: 767px) {
    .ergo-legal-content {
        padding: 35px 0 50px;
    }
}

/* v18.2.4 dynamic contacts */
.ergo-topbar-item{color:#fff;display:flex;align-items:center;gap:7px}
.ergo-topbar-right-wrap{margin-left:auto;display:flex;align-items:center;gap:18px}
.ergo-topbar-right-wrap .ergo-topbar-right{margin-left:0}
footer.ergo-dark .widget p .ergo-contact-icon{flex:0 0 16px;margin-top:3px}
footer.ergo-dark .widget p{gap:0}
