/* Elektroservis Frane — V11 cinematic storytelling, without simulated 3D.
   Standalone and offline; keeps real navigation and forms intact. */
.ef11-scene{--ef11-p:0;position:relative;overflow:hidden;isolation:isolate;min-height:clamp(560px,76vh,780px);margin:clamp(42px,6vw,82px) 0 72px;border:1px solid rgba(193,188,255,.2);border-radius:clamp(20px,2.4vw,36px);color:#f9f8ff;background:#090b18;box-shadow:0 34px 90px rgba(11,9,35,.22);display:flex;align-items:center;justify-content:flex-start}
.ef11-scene *{box-sizing:border-box}
.ef11-visual,.ef11-visual>*,.ef11-visual:before,.ef11-visual:after{position:absolute;inset:0;pointer-events:none}
.ef11-visual{z-index:0}.ef11-visual img{width:100%;height:100%;object-fit:cover;object-position:60% center;opacity:.93;transform:scale(1.075);transition:transform 1s cubic-bezier(.15,.8,.2,1),filter 1s ease;will-change:auto}
.ef11-scene.ef11-in .ef11-visual img{transform:scale(1)}
.ef11-tint{background:linear-gradient(90deg,#080b18 0%,rgba(8,10,23,.94) 26%,rgba(9,11,23,.53) 58%,rgba(10,12,24,.09) 100%)}
.ef11-veil{background:linear-gradient(108deg,transparent 40%,rgba(176,161,255,.28) 49%,transparent 58%);transform:translateX(-135%);opacity:.75}
.ef11-scene.ef11-in .ef11-veil{animation:ef11-wipe 1.3s cubic-bezier(.18,.78,.3,1) .1s both}
.ef11-line-travel{inset:auto 4% 16% auto;width:170px;height:1px;background:linear-gradient(90deg,transparent,var(--ef11-accent),transparent);box-shadow:0 0 16px var(--ef11-accent);transform:translateX(-60px);opacity:.5}
.ef11-rings{display:none}.ef11-dots{display:none}.ef11-flow-lines{display:none}
.ef11-content{position:relative;z-index:2;width:min(61%,680px);padding:clamp(30px,7.5%,96px);margin:0;transform:translate3d(0,24px,0);opacity:.85;transition:transform 1.05s cubic-bezier(.2,.86,.2,1),opacity .8s ease}
.ef11-in .ef11-content{transform:translate3d(0,0,0);opacity:1}
.ef11-eyebrow{display:block;font:750 clamp(10px,1vw,12px)/1.5 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:.23em;color:var(--ef11-accent);text-transform:uppercase;margin-bottom:20px}
.ef11-content h2{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:white;font-weight:760;letter-spacing:-.07em;font-size:clamp(42px,5.1vw,76px);line-height:1.055;margin:0 0 22px;max-width:660px;overflow-wrap:normal}
.ef11-content h2 em{font-style:normal;color:var(--ef11-accent)}
.ef11-content p{font:400 clamp(15px,1.28vw,19px)/1.7 system-ui,-apple-system,"Segoe UI",sans-serif;color:#d8d8ec;max-width:495px;margin:0}
.ef11-signature{display:flex;align-items:center;gap:15px;margin-top:38px;font:700 10px/1.4 system-ui,sans-serif;letter-spacing:.16em;color:#e7e7f7}
.ef11-signature svg{width:100px;height:22px;color:var(--ef11-accent)}
.ef11-signature svg path{stroke-dasharray:140;stroke-dashoffset:140;transition:stroke-dashoffset 1.2s ease .25s}
.ef11-in .ef11-signature svg path{stroke-dashoffset:0}
.ef11-note{position:absolute;z-index:4;right:clamp(22px,5%,74px);bottom:clamp(38px,9%,88px);display:flex;align-items:center;gap:12px;max-width:295px;padding:15px 21px;border:1px solid rgba(255,255,255,.31);border-radius:999px;background:rgba(9,12,28,.75);color:#fff;font:600 clamp(12px,1vw,14px)/1.45 system-ui,sans-serif;box-shadow:0 14px 34px rgba(0,0,0,.3),0 0 26px rgba(197,187,255,.08);backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px);transform:translate3d(40px,12px,0);opacity:0;transition:opacity .75s ease .7s,transform 1s cubic-bezier(.17,.85,.28,1) .65s}
.ef11-in .ef11-note{opacity:1;transform:translate3d(0,0,0)}
.ef11-note-point{display:block;width:6px;height:6px;flex:none;background:var(--ef11-accent);border-radius:50%;box-shadow:0 0 14px var(--ef11-accent)}
.ef11-number{position:absolute;bottom:28px;left:42px;z-index:2;font:700 9px/1.4 ui-monospace,Consolas,monospace;letter-spacing:.18em;color:#c1c2e0}
.ef11-stage-progress{position:absolute;bottom:0;left:0;right:0;height:2px;background:#ffffff18;z-index:2}.ef11-stage-progress span{width:100%;height:100%;display:block;background:var(--ef11-accent);transform:scaleX(var(--ef11-p));transform-origin:left}
/* The transitions are deliberately unique to each service. */
/* 01 — technical layers slide from right, violet shadow follows */
.ef11-layers .ef11-visual img{object-position:65% center}.ef11-layers .ef11-visual:after{content:"";background:repeating-linear-gradient(90deg,transparent 0 84px,#cec8ff11 85px 86px);opacity:.36;mix-blend-mode:screen}
.ef11-layers .ef11-veil{background:linear-gradient(100deg,transparent 22%,#b4a6ff34 50%,transparent 76%)}
.ef11-layers .ef11-line-travel{top:13%;bottom:auto;right:11%;height:72%;width:1px;background:linear-gradient(transparent,#a69aff99,transparent);transform:translateX(14px)}
/* 02 — sweeping waves cross the climate image */
.ef11-air{background:#060f23}.ef11-air .ef11-tint{background:linear-gradient(90deg,#071324 0%,#0b1a30eb 27%,#0a1d328a 58%,#09142327)}
.ef11-air .ef11-flow-lines{display:block;inset:9% 0 0 28%;opacity:.66;overflow:hidden}.ef11-air .ef11-flow-lines svg{width:100%;height:100%;overflow:visible;fill:none;stroke:#91e9ffb3;stroke-width:2;filter:drop-shadow(0 0 12px #50bfff88)}.ef11-air .ef11-flow-lines path{stroke-dasharray:850;stroke-dashoffset:850;transition:stroke-dashoffset 1.8s ease .22s}
.ef11-air.ef11-in .ef11-flow-lines path{stroke-dashoffset:0}.ef11-air .ef11-veil{background:linear-gradient(105deg,transparent 25%,#83daff2c 52%,transparent 75%)}
/* 03 — frost lifts vertically, transparent glass behind */
.ef11-frost{background:#061c2d}.ef11-frost .ef11-tint{background:linear-gradient(90deg,#081826 0%,#0e2939ef 35%,#153d4a72 74%,#10354d22)}
.ef11-frost .ef11-veil{background:linear-gradient(180deg,#b7ecff93 0%,#a7defb20 50%,transparent 100%);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);transform:translateY(0);transition:transform 1.4s ease,opacity 1.4s ease}
.ef11-frost.ef11-in .ef11-veil{animation:none;transform:translateY(-110%);opacity:0}
/* 04 — water concentric rings glide across glass */
.ef11-water{background:#07162b}.ef11-water .ef11-tint{background:linear-gradient(90deg,#071524 0%,#0c263eeb 34%,#0b3a536e 67%,#091b2e13)}
.ef11-water .ef11-rings{display:block;inset:auto -8% -43% auto;width:540px;height:540px;border:1.5px solid #8adfff99;border-radius:50%;box-shadow:0 0 0 52px #a1ecff09,0 0 0 110px #90e1fa0d,0 0 0 177px #a9ecfa08;opacity:.4;transform:scale(.65);transition:transform 1.6s ease,opacity 1.6s ease}
.ef11-water.ef11-in .ef11-rings{transform:scale(1);opacity:1}.ef11-water .ef11-veil{background:linear-gradient(130deg,transparent 20%,#7ecaff45 50%,transparent 83%)}
/* 05 — mechanical drum rotates in a separate plane */
.ef11-drum{background:#0d0c21}.ef11-drum .ef11-tint{background:linear-gradient(90deg,#0d0b21 2%,#221b3de0 39%,#251c4255 72%,transparent)}
.ef11-drum .ef11-rings{display:block;left:auto;top:8%;right:5%;width:min(53%,480px);aspect-ratio:1;height:auto;border:2px dashed #bbaafd7c;border-radius:50%;box-shadow:inset 0 0 40px #a4a4ff26,0 0 70px #8c75ff33;opacity:.7;transition:transform 2.2s cubic-bezier(.3,.8,.25,1),opacity 1s}
.ef11-drum.ef11-in .ef11-rings{transform:rotate(135deg)}
/* 06 — scan / digital signal */
.ef11-signal{background:#0c102a}.ef11-signal .ef11-tint{background:linear-gradient(90deg,#0c1024,#13183cde 40%,#1b214e65 75%,transparent)}
.ef11-signal .ef11-dots{display:block;inset:0;opacity:.4;background-image:radial-gradient(#acb3ffaf 1px,transparent 1px);background-size:24px 24px;mask-image:linear-gradient(90deg,transparent 34%,#000 100%)}
.ef11-signal .ef11-line-travel{width:2px;height:100%;top:0;bottom:0;left:74%;right:auto;background:linear-gradient(transparent,#aaadff,transparent);box-shadow:0 0 40px #748fff;transform:translateX(-120px);transition:transform 1.6s ease}
.ef11-signal.ef11-in .ef11-line-travel{transform:translateX(100px)}
/* 07 — a clean ignition halo, no cartoon flame */
.ef11-ignition{background:#060e25}.ef11-ignition .ef11-tint{background:linear-gradient(90deg,#081229,#11152ed9 34%,#19254b55 72%,transparent)}
.ef11-ignition .ef11-rings{display:block;width:310px;height:310px;left:auto;top:calc(50% - 155px);right:12%;border:2px solid #99d6ff9c;border-radius:50%;opacity:.1;box-shadow:0 0 15px #78afff,0 0 70px #3b78ffc0,0 0 0 38px #9ccaff1a,0 0 0 85px #9ccaff09;transform:scale(.45);transition:opacity 1.4s,transform 1.8s cubic-bezier(.16,.83,.25,1)}
.ef11-ignition.ef11-in .ef11-rings{opacity:.65;transform:scale(1)}
/* 08 — warm thermal gradient reveal */
.ef11-heat{--ef11-accent:#ffc199;background:#110d17}.ef11-heat .ef11-tint{background:linear-gradient(90deg,#0e0b16 0%,#23131fe3 38%,#5b2f1c66 80%,#41271c1c)}
.ef11-heat .ef11-veil{background:linear-gradient(120deg,transparent 26%,rgba(255,184,122,.33) 49%,transparent 74%)}
.ef11-heat .ef11-visual:after{content:"";background:radial-gradient(ellipse at 76% 50%,#ffab5436,transparent 60%);opacity:.1;transition:opacity 1.4s}
.ef11-heat.ef11-in .ef11-visual:after{opacity:.75}
/* Page-specific arrival with slide + soft shadow; no JS-required blank states. */
body[data-ef11-page] .detail-hero,body[data-ef11-page='city'] .city-hero,body[data-ef11-page='request'] .inner-hero,body[data-ef11-page='track'] .inner-hero,body[data-ef11-page='shop'] .inner-hero{animation:ef11-enter .95s cubic-bezier(.17,.8,.28,1) both}
@keyframes ef11-enter{from{opacity:.68;transform:translateY(25px);filter:drop-shadow(0 30px 45px #20173469)}to{opacity:1;transform:translateY(0);filter:drop-shadow(0 0 0 transparent)}}
body[data-ef11-page='air'] .detail-hero{animation-name:ef11-enter-right}
@keyframes ef11-enter-right{from{opacity:.7;transform:translateX(32px);filter:blur(2px)}to{opacity:1;transform:translateX(0);filter:blur(0)}}
body[data-ef11-page='frost'] .detail-hero{animation-name:ef11-enter-frost}
@keyframes ef11-enter-frost{from{opacity:.65;filter:blur(6px)}to{opacity:1;filter:blur(0)}}
body[data-ef11-page='water'] .detail-hero{animation-name:ef11-enter-water}
@keyframes ef11-enter-water{from{opacity:.7;transform:translateY(35px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}
body[data-ef11-page='drum'] .detail-hero{animation-name:ef11-enter-left}
@keyframes ef11-enter-left{from{opacity:.7;transform:translateX(-30px)}to{opacity:1;transform:translateX(0)}}
body[data-ef11-page='signal'] .detail-hero{animation-name:ef11-enter-signal}
@keyframes ef11-enter-signal{from{opacity:.6;transform:translateY(5px);filter:contrast(.6)}to{opacity:1;transform:translateY(0);filter:contrast(1)}}
body[data-ef11-page='ignition'] .detail-hero{animation-name:ef11-enter-heat}
@keyframes ef11-enter-heat{from{opacity:.65;filter:brightness(.65)}to{opacity:1;filter:brightness(1)}}
body[data-ef11-page='heat'] .detail-hero{animation-name:ef11-enter-heat}
/* Supporting pages also have distinct, restrained animation, without disturbing forms. */
body[data-ef11-page='request'] .feature-main{animation:ef11-enter .85s ease .2s both}
body[data-ef11-page='track'] .feature-main{animation:ef11-enter-right .85s ease .2s both}
body[data-ef11-page='shop'] .catalog-section{animation:ef11-enter-left .85s ease .2s both}
body[data-ef11-page='city'] .city-hero{animation:ef11-enter-frost 1s ease both}
/* Interaction fidelity */
.ef11-scene a:focus-visible{outline:3px solid white;outline-offset:3px}
@keyframes ef11-wipe{from{transform:translateX(-135%)}to{transform:translateX(135%)}}
@media(max-width:850px){
 .ef11-scene{min-height:clamp(610px,85vh,760px);margin:38px 0 55px;align-items:flex-start}
 .ef11-content{width:100%;padding:clamp(30px,6vw,52px);max-width:640px}
 .ef11-visual img{object-position:68% center}
 .ef11-tint,.ef11-air .ef11-tint,.ef11-frost .ef11-tint,.ef11-water .ef11-tint,.ef11-drum .ef11-tint,.ef11-signal .ef11-tint,.ef11-ignition .ef11-tint,.ef11-heat .ef11-tint{background:linear-gradient(180deg,#090b19 0%,#0a0c1de9 26%,#090c1b97 58%,#090a1533 100%)}
 .ef11-content h2{max-width:550px;font-size:clamp(42px,8vw,70px)}.ef11-note{right:18px;bottom:54px}
 .ef11-rings{opacity:.3}.ef11-number{left:26px;bottom:23px}
}
@media(max-width:560px){
 .ef11-scene{min-height:675px;border-radius:25px;display:block;margin:30px 0 44px;box-shadow:0 18px 50px #08051836}
 .ef11-content{padding:38px 25px;width:100%}
 .ef11-content h2{font-size:clamp(40px,11vw,56px);line-height:1.07;letter-spacing:-.067em;margin-bottom:17px}
 .ef11-content p{font-size:15px;line-height:1.64;max-width:360px}
 .ef11-eyebrow{letter-spacing:.14em;font-size:10px;margin-bottom:16px}
 .ef11-signature{margin-top:25px;gap:9px;font-size:9px;letter-spacing:.11em}.ef11-signature svg{width:64px}
 .ef11-visual img{object-position:58% center}
 .ef11-tint,.ef11-air .ef11-tint,.ef11-frost .ef11-tint,.ef11-water .ef11-tint,.ef11-drum .ef11-tint,.ef11-signal .ef11-tint,.ef11-ignition .ef11-tint,.ef11-heat .ef11-tint{background:linear-gradient(180deg,#090b19 0%,#090c1cf8 31%,#090c1db2 55%,#090b1b11 100%)}
 .ef11-note{max-width:calc(100% - 38px);padding:12px 16px;bottom:58px;right:18px;font-size:12px}
 .ef11-number{left:22px;bottom:19px}
 .ef11-air .ef11-flow-lines{inset:37% -10% 0 0}
 .ef11-water .ef11-rings{width:270px;height:270px;right:-80px;bottom:-100px}
 .ef11-ignition .ef11-rings{width:190px;height:190px;right:3%;top:62%}
 .ef11-drum .ef11-rings{width:230px;right:2%;top:48%}
}
@media(prefers-reduced-motion:reduce){
 .ef11-scene *,.ef11-scene *:before,.ef11-scene *:after,body[data-ef11-page] .detail-hero,body[data-ef11-page] .inner-hero,body[data-ef11-page] .feature-main,body[data-ef11-page] .city-hero,body[data-ef11-page] .catalog-section{animation:none!important;transition:none!important;transform:none!important}
 .ef11-note,.ef11-content{opacity:1!important}.ef11-veil{opacity:0!important}
 .ef11-signature svg path{stroke-dashoffset:0!important}
}

@media(max-width:560px){.ef11-number{display:none}.ef11-note{bottom:74px}}
/* Secondary content enters gently only after it becomes visible. */
.ef11-card{opacity:1;transition:transform .65s cubic-bezier(.2,.8,.2,1),box-shadow .5s ease}.ef11-card.is-visible{transform:translateY(0)}
@media(prefers-reduced-motion:reduce){.ef11-card{transition:none!important}}
/* On narrow phones, entering tracking panels must move vertically, not past the screen edge. */
@media(max-width:760px){body[data-ef11-page='track'] .feature-main{animation-name:ef11-enter!important}}

/* Preserve the original vector identity at all breakpoints */
 collapsing in the flex navigation layout. */
.site-header .header-inner>.brand{flex:0 0 224px!important;width:224px!important;min-width:224px!important;max-width:224px;min-height:42px;display:flex;align-items:center}
.site-header .brand>.ef-real-lockup{width:224px!important;height:auto!important;max-width:224px!important;max-height:none!important;display:block;flex:0 0 224px!important}
@media(max-width:760px){.site-header .header-inner>.brand{flex-basis:205px!important;width:205px!important;min-width:205px!important}.site-header .brand>.ef-real-lockup{width:205px!important;max-width:205px!important;flex-basis:205px!important}}
@media(max-width:360px){.site-header .header-inner>.brand{flex-basis:177px!important;width:177px!important;min-width:177px!important}.site-header .brand>.ef-real-lockup{width:177px!important;max-width:177px!important;flex-basis:177px!important}}


/* Native same-origin page transition (Chrome-compatible), gently and briefly */
@view-transition{navigation:auto}
::view-transition-old(root){animation:ef11-page-out .18s ease both}
::view-transition-new(root){animation:ef11-page-in .34s cubic-bezier(.2,.8,.2,1) both}
@keyframes ef11-page-out{to{opacity:.25;filter:blur(3px)}}
@keyframes ef11-page-in{from{opacity:.2;transform:translateY(7px);filter:blur(3px)}to{opacity:1;transform:translateY(0);filter:none}}
.ef-real-lockup{height:auto;max-height:54px;width:auto;max-width:235px;object-fit:contain}
.ef-real-footer{height:auto;max-width:min(300px,100%);width:auto}
@media(prefers-reduced-motion:reduce){::view-transition-old(root),::view-transition-new(root){animation:none!important}}
