
/* Elektroservis Frane / premium v2 / consistent alignment on desktop + mobile */
:root{--max:1240px}
.container{width:min(calc(100% - 64px),var(--max))}
.header-inner,.topline-inner,.footer-top,.footer-bottom,.hero-inner,.trust-grid,.services-section>.container,.workflow-layout,.location-grid,.faq-layout{max-width:var(--max)}
.services-head{align-items:start}.section-intro{padding-top:3px}.services-grid{align-items:stretch}.services-grid .service-card{height:100%;min-width:0;min-height:194px}
.footer-top{align-items:start}.footer-col h3{min-height:16px}.footer-col{gap:10px}
/* Detailed service/city pages: all sections share the exact same horizontal grid */
.detail-main{background:#fff;overflow:clip;color:#0a1b37}.detail-wrap{padding-bottom:90px}
.detail-breadcrumb{display:flex;align-items:center;gap:12px;min-height:70px;font-size:12px;color:#8292a8;flex-wrap:wrap}.detail-breadcrumb a{color:#1668bc;font-weight:750}.detail-breadcrumb a:hover{text-decoration:underline}.detail-breadcrumb span[aria-current=page]{color:#617187}.detail-breadcrumb span:not([aria-current]){opacity:.65}
.detail-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0;min-height:480px;border-radius:12px;overflow:hidden;background:linear-gradient(120deg,#061329,#103368);box-shadow:0 26px 50px #071b3b19;color:#fff}
.detail-hero-copy{padding:clamp(35px,4.5vw,68px);display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0}.detail-eyebrow{display:flex;align-items:center;gap:14px;color:#8fceff;letter-spacing:.14em;font-size:10px;font-weight:900;line-height:1.6;margin-bottom:25px}.detail-index{color:#04172e;background:#42d3ff;border-radius:3px;font-weight:900;padding:6px 9px;letter-spacing:.05em;white-space:nowrap}.detail-eyebrow i{font-style:normal;color:#15b9ff}
.detail-hero h1{font-size:clamp(35px,3.6vw,57px);letter-spacing:-.047em;line-height:1.075;margin:0 0 22px;font-weight:930;max-width:590px;overflow-wrap:break-word}.detail-lead{font-size:clamp(13px,1.14vw,15px);line-height:1.85;color:#d7e5f8;margin:0;max-width:555px;text-wrap:pretty}.detail-actions{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin-top:30px}.detail-actions .button{min-height:49px;gap:17px}.detail-call{font-size:13px;font-weight:800;color:#d7ebff;padding:10px 1px}.detail-call span{margin-left:7px;color:#49d9ff}
.detail-photo{min-height:480px;position:relative;isolation:isolate;background:#071b34;overflow:hidden}.detail-photo::before{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(0deg,#061329a1,transparent 38%),linear-gradient(90deg,#06132946,transparent 40%);pointer-events:none}.detail-photo img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:center;filter:saturate(1.08) contrast(1.04)}.detail-photo>span{position:absolute;z-index:2;right:25px;bottom:21px;color:#eef8ff;font-size:10px;letter-spacing:.12em;font-weight:850}.detail-photo>span b{color:#16c5ff}
.detail-section-head{margin:74px 0 27px;display:flex;align-items:end;justify-content:space-between;gap:36px}.detail-section-head h2,.detail-faq h2,.detail-related h2{font-size:clamp(30px,3vw,43px);font-weight:900;line-height:1.08;letter-spacing:-.045em;margin:15px 0 0}.detail-section-head h2 span,.detail-faq h2 span{color:#00a9ed}.detail-section-head>p{max-width:280px;font-size:13px;color:#6b7b92;margin:0 0 4px}
.detail-topics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;align-items:stretch}.detail-topic{padding:34px 36px 37px;border:1px solid #dee9f3;background:#f5f8fd;border-radius:9px;display:flex;flex-direction:column;min-height:228px;transition:transform .2s,box-shadow .2s}.detail-topic:hover{transform:translateY(-3px);box-shadow:0 12px 30px #051b3712}.topic-top{display:flex;align-items:center;gap:13px;margin-bottom:22px}.topic-number{color:#0072d9;font-weight:900;font-size:12px;letter-spacing:.16em}.topic-dash{height:1px;background:#c6daeb;flex:1;max-width:40px}.detail-topic h3{font-size:20px;line-height:1.27;letter-spacing:-.022em;font-weight:850;margin:0 0 13px}.detail-topic p{font-size:14px;line-height:1.77;color:#586b82;margin:0;max-width:55ch}
.detail-note{margin-top:18px;padding:35px 38px;background:linear-gradient(108deg,#092144,#113d79);border-radius:9px;color:white;display:flex;align-items:center;justify-content:space-between;gap:30px}.note-tag{color:#62d4ff;font-size:10px;font-weight:900;letter-spacing:.15em}.detail-note h2{font-size:25px;line-height:1.2;margin:14px 0 9px;letter-spacing:-.025em}.detail-note p{max-width:750px;margin:0;color:#c9dbf3;font-size:13px}.detail-note .button{flex-shrink:0}
.detail-faq{display:grid;grid-template-columns:1fr 1.6fr;gap:68px;margin-top:80px;align-items:start}.detail-faq-title>p{color:#687990;font-size:13px;margin:20px 0 0;max-width:280px}.detail-faq-items{display:grid;gap:10px}.detail-faq details{border:1px solid #e1e9f3;border-radius:7px;padding:0 21px;background:#f9fbff}.detail-faq summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:15px;justify-content:space-between;padding:18px 0;color:#0b2346;font-size:14px;font-weight:800}.detail-faq summary::-webkit-details-marker{display:none}.detail-faq summary span{font-size:21px;color:#0878d4}.detail-faq details[open] summary span{transform:rotate(45deg)}.detail-faq details p{color:#596e85;font-size:13px;line-height:1.8;margin:0;padding-bottom:20px}
.detail-related{margin-top:80px}.detail-related-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}.detail-related-head>a{font-weight:850;font-size:13px;color:#086bd3}.detail-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.rel-card{min-height:210px;position:relative;display:flex;align-items:flex-end;overflow:hidden;border-radius:8px;background:#071b34;color:white;padding:24px;isolation:isolate}.rel-card:after{content:'';z-index:-1;position:absolute;inset:0;background:linear-gradient(0deg,#061329f2,#06132900 80%)}.rel-card img{position:absolute;z-index:-2;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .25s}.rel-card:hover img{transform:scale(1.04)}.rel-card span{font-size:17px;font-weight:850;line-height:1.25;padding-right:15px}.rel-card b{margin-left:auto;color:#44d2ff;font-size:24px;font-weight:500}
.city-hero .detail-photo img{object-fit:cover}
.legal-preview-main{background:#f5f8fc;min-height:60vh}.legal-preview-body{padding:65px 0 85px;line-height:1.75;color:#22364f}.legal-preview-body h1{font-size:clamp(36px,4vw,52px);line-height:1.15;letter-spacing:-.04em;color:#0a2346}.legal-preview-body h2{font-size:24px;margin:36px 0 15px;color:#0b2a55}.legal-preview-body h3{font-size:19px;color:#0b2a55}.legal-preview-body p,.legal-preview-body li{font-size:15px;line-height:1.8;max-width:85ch}.legal-preview-body a{color:#0064c4;text-decoration:underline}.legal-preview-body article,.legal-preview-body section{max-width:100%;box-sizing:border-box}.legal-preview-body .wrap,.legal-preview-body .container,.legal-preview-body .ef-legal-wrap{width:100%!important;max-width:100%!important;padding-left:0!important;padding-right:0!important;margin-left:0!important;margin-right:0!important}
@media(max-width:1120px){.detail-hero h1{font-size:clamp(34px,4.3vw,51px)}.detail-hero-copy{padding:35px}.detail-hero,.detail-photo{min-height:450px}.detail-topic{padding:28px 29px}.detail-faq{gap:32px}}
@media(max-width:760px){.container{width:calc(100% - 36px)}.detail-wrap{padding-bottom:60px}.detail-breadcrumb{min-height:57px;font-size:10px;gap:8px;line-height:1.5}.detail-hero{grid-template-columns:1fr;display:flex;flex-direction:column;min-height:unset;border-radius:9px}.detail-hero-copy{padding:33px 25px 30px}.detail-eyebrow{font-size:9px;letter-spacing:.08em;gap:10px;margin-bottom:19px}.detail-hero h1{font-size:clamp(34px,9vw,49px);line-height:1.07;margin-bottom:18px}.detail-lead{font-size:13px;line-height:1.73}.detail-actions{gap:10px;margin-top:24px;display:flex}.detail-actions .button{width:100%;justify-content:center;min-height:51px;font-size:13px}.detail-call{margin:0 auto;padding:4px 0}.detail-photo{min-height:0;height:235px}.detail-photo>span{font-size:9px;right:16px;bottom:15px}.detail-section-head{margin:53px 0 22px;display:block}.detail-section-head h2,.detail-faq h2,.detail-related h2{font-size:34px}.detail-section-head>p{font-size:12px;margin:12px 0 0}.detail-topics{grid-template-columns:1fr;gap:10px}.detail-topic{min-height:unset;padding:25px 24px 27px}.topic-top{margin-bottom:15px}.detail-topic h3{font-size:19px;margin-bottom:9px}.detail-topic p{font-size:13px;line-height:1.7}.detail-note{padding:30px 24px;display:block;margin-top:12px}.detail-note h2{font-size:24px}.detail-note p{font-size:12px}.detail-note .button{margin-top:24px;width:100%;justify-content:center}.detail-faq{display:block;margin-top:58px}.detail-faq-title>p{margin:12px 0 23px}.detail-faq summary{font-size:13px;padding:16px 0}.detail-faq details{padding:0 15px}.detail-related{margin-top:60px}.detail-related-head{align-items:start}.detail-related-head>a{font-size:11px;max-width:85px;text-align:right;margin-top:6px}.detail-related-grid{grid-template-columns:1fr;gap:10px}.rel-card{min-height:154px;padding:18px}.rel-card span{font-size:17px}.legal-preview-body{padding:40px 0 70px}.legal-preview-body h1{font-size:35px}.legal-preview-body p,.legal-preview-body li{font-size:13px}}
@media(max-width:410px){.detail-actions .button{font-size:12px}.detail-hero-copy{padding:28px 20px 27px}.detail-hero h1{font-size:33px}.detail-note{padding-inline:20px}}
