/* Evolution Creative Studio — v6 enhancement layer
   Loaded after site.css / additions.css on every page.
   Adds: sticky header, scroll progress, site search, pre-footer enquiry band,
   WhatsApp / back-to-top controls, scroll reveal, footer legal alignment. */

:root{
  --evo-ink:#0d0d0e;
  --evo-paper:#f7f5f2;
  --evo-orange:#fa5c1e;
  --evo-line:#2c2c2e;
}

/* ---------- 1. Sticky header with condensing state ---------- */
.site-header{position:sticky;top:0;z-index:100;transition:background-color .25s ease,box-shadow .25s ease,border-color .25s ease}
.site-header.is-stuck{background:rgba(11,11,12,.88);-webkit-backdrop-filter:blur(14px) saturate(140%);backdrop-filter:blur(14px) saturate(140%);box-shadow:0 10px 30px -18px rgba(0,0,0,.9);border-bottom-color:#232325}
.site-header.is-stuck .site-bar{min-height:62px}
.site-header .site-bar{transition:min-height .25s ease}
@media(max-width:790px){.site-header.is-stuck .site-bar{min-height:56px}}
@media(prefers-reduced-motion:reduce){.site-header,.site-header .site-bar{transition:none}}

/* Scroll progress line sits above the sticky header */
.evo-progress{position:fixed;inset-inline:0;top:0;height:2px;z-index:120;pointer-events:none;background:transparent}
.evo-progress span{display:block;height:100%;width:0;background:var(--evo-orange);transition:width .1s linear}

/* ---------- 2. Search trigger in the header ---------- */
.evo-search-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:38px;min-width:38px;padding:0 10px;margin:0;color:#d7d5d2;background:transparent;border:1px solid #3a3a3d;border-radius:3px;font-size:13px;line-height:1;white-space:nowrap}
.evo-search-btn:hover{color:#fff;border-color:var(--evo-orange)}
.evo-search-btn svg{width:16px;height:16px;flex:none}
.evo-search-btn kbd{font:inherit;font-size:11px;color:#8d8b88;border:1px solid #3a3a3d;border-radius:3px;padding:2px 5px}
@media(max-width:1180px){.evo-search-btn kbd{display:none}}
@media(max-width:1000px){.evo-search-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}}
@media(max-width:790px){.evo-search-btn{height:36px;min-width:36px;padding:0 8px}}
@media(max-width:400px){.evo-search-btn{padding:0 7px}}

/* ---------- 3. Search dialog ---------- */
.evo-search[hidden]{display:none}
.evo-search{position:fixed;inset:0;z-index:300;display:flex;align-items:flex-start;justify-content:center;padding:clamp(16px,8vh,110px) 16px 16px;background:rgba(6,6,7,.72);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.evo-search-panel{width:min(680px,100%);max-height:min(78vh,720px);display:flex;flex-direction:column;background:#131315;color:#f2f0ed;border:1px solid #3b3b3e;border-radius:8px;box-shadow:0 40px 90px -30px #000;overflow:hidden}
.evo-search-head{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid #2b2b2e}
.evo-search-head svg{width:18px;height:18px;color:#8f8d8a;flex:none}
.evo-search-head input{flex:1;min-width:0;background:transparent;border:0;color:#fff;font-size:17px;padding:6px 0;outline:none}
.evo-search-head input::placeholder{color:#8b8986}
.evo-search-esc{border:1px solid #3b3b3e;border-radius:4px;background:transparent;color:#a9a7a4;font-size:11px;padding:4px 7px}
.evo-search-body{overflow:auto;padding:8px 8px 12px;overscroll-behavior:contain}
.evo-search-group{margin:10px 8px 4px;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#8f8d8a}
html[dir="rtl"] .evo-search-group{letter-spacing:normal}
.evo-search-list{list-style:none;margin:0;padding:0}
.evo-search-item{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:5px;cursor:pointer;color:#e9e7e4}
.evo-search-item[aria-selected="true"],.evo-search-item:hover{background:#222225;color:#fff}
.evo-search-item.is-active{box-shadow:inset 3px 0 0 var(--evo-orange)}
html[dir="rtl"] .evo-search-item.is-active{box-shadow:inset -3px 0 0 var(--evo-orange)}
.evo-search-item img{width:38px;height:48px;object-fit:cover;border-radius:2px;background:#000;flex:none}
.evo-search-item .evo-search-title{font-size:15px;line-height:1.25}
.evo-search-item .evo-search-sub{display:block;font-size:12px;color:#a3a19e;margin-top:2px}
.evo-search-item .evo-search-kind{margin-inline-start:auto;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#8f8d8a;white-space:nowrap}
html[dir="rtl"] .evo-search-item .evo-search-kind{letter-spacing:normal}
.evo-search-empty{padding:26px 14px;color:#a9a7a4;font-size:15px}
.evo-search-foot{display:flex;flex-wrap:wrap;gap:6px 16px;padding:10px 16px;border-top:1px solid #2b2b2e;font-size:12px;color:#8f8d8a}
.evo-search-foot kbd{font:inherit;font-size:11px;border:1px solid #3b3b3e;border-radius:3px;padding:1px 5px;margin-inline-end:4px}

/* ---------- 4. Pre-footer enquiry band ---------- */
.evo-band{background:#0b0b0c;color:#f4f2ef;border-top:1px solid #2a2a2c;padding:clamp(44px,6vw,84px) 0}
.evo-band-inner{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(24px,4vw,64px);align-items:center}
.evo-band .evo-eyebrow{display:inline-flex;align-items:center;gap:10px;margin:0 0 16px;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#b7b5b2}
html[dir="rtl"] .evo-band .evo-eyebrow{letter-spacing:normal}
.evo-band .evo-eyebrow:before{content:"";width:26px;height:1px;background:var(--evo-orange)}
.evo-band h2{margin:0;font-size:clamp(28px,4vw,52px);line-height:1.04;letter-spacing:-.025em;color:#fff;max-width:18ch}
.evo-band p{margin:14px 0 0;color:#b9b7b4;font-size:clamp(15px,1.2vw,17px);max-width:52ch}
.evo-band-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.evo-band .evo-btn{display:inline-flex;align-items:center;gap:9px;min-height:46px;padding:12px 20px;border-radius:3px;font-size:15px;font-weight:650;border:1px solid transparent}
.evo-band .evo-btn svg{width:16px;height:16px;flex:none}
.evo-btn-primary{background:var(--evo-orange);color:#120a06;border-color:var(--evo-orange)}
.evo-btn-primary:hover{background:#ff7a45}
.evo-btn-ghost{color:#fff;border-color:#5a5754}
.evo-btn-ghost:hover{border-color:#fff}
.evo-band-channels{list-style:none;margin:0;padding:0;border-top:1px solid #2a2a2c}
.evo-band-channels li{border-bottom:1px solid #2a2a2c}
.evo-band-channels a{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 2px;color:#e9e7e4;font-size:15px}
.evo-band-channels a>svg{width:20px;height:20px;flex:none;color:#8f8d8a}
.evo-band-channels a>span{flex:1;min-width:0}
.evo-band-channels a>svg.evo-arrow{width:16px;height:16px}
.evo-band-channels a:hover{color:var(--evo-orange)}
.evo-band-channels small{display:block;color:#8f8d8a;font-size:12px;margin-top:3px}
.evo-band-channels .evo-arrow{color:#6f6c69;flex:none}
.evo-band-channels a:hover .evo-arrow{color:var(--evo-orange)}
@media(max-width:860px){.evo-band-inner{grid-template-columns:1fr}}

/* ---------- 5. Floating controls ---------- */
.evo-floats{position:fixed;inset-inline-end:clamp(12px,2vw,22px);bottom:clamp(12px,2vw,22px);z-index:150;display:flex;flex-direction:column;align-items:flex-end;gap:10px;pointer-events:none}
.evo-floats>*{pointer-events:auto}
.evo-float{display:inline-flex;align-items:center;justify-content:center;width:50px;height:50px;border-radius:50%;border:1px solid #3a3a3d;background:#141416;color:#f2f0ed;box-shadow:0 12px 26px -12px #000;transition:transform .18s ease,background-color .18s ease,border-color .18s ease,opacity .18s ease}
.evo-float:hover{transform:translateY(-2px);border-color:#6a6763}
.evo-float svg{width:22px;height:22px}
.evo-float-wa{background:#1faa59;border-color:#1faa59;color:#fff}
.evo-float-wa:hover{background:#25d366;border-color:#25d366}
.evo-float-wa svg{width:26px;height:26px}
.evo-top{opacity:0;visibility:hidden;transform:translateY(8px)}
.evo-top.is-visible{opacity:1;visibility:visible;transform:none}
@media(prefers-reduced-motion:reduce){.evo-float{transition:none}.evo-float:hover{transform:none}}
@media(max-width:600px){.evo-float{width:44px;height:44px}.evo-float svg{width:19px;height:19px}.evo-float-wa svg{width:22px;height:22px}}

/* ---------- 6. Scroll reveal (JS adds .evo-reveal) ---------- */
.evo-reveal{opacity:0;transform:translateY(14px);transition:opacity .55s ease,transform .55s ease}
.evo-reveal.is-in{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){.evo-reveal{opacity:1;transform:none;transition:none}}

/* ---------- 7. Footer alignment fix (v5 spread legal links across the full width) ---------- */
.foot-low{justify-content:flex-start;gap:14px 28px;align-items:center}
.foot-low .foot-legal{margin-inline-start:auto;gap:18px}
@media(max-width:600px){.foot-low .foot-legal{margin-inline-start:0}}

/* ---------- 8. Breadcrumbs (article pages) ---------- */
.evo-crumbs{padding:18px 0 0}
.evo-crumbs ol{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0;padding:0;list-style:none;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:#8f8d8a}
html[dir="rtl"] .evo-crumbs ol{letter-spacing:normal}
.evo-crumbs li{display:inline-flex;align-items:center;gap:8px}
.evo-crumbs li+li:before{content:"/";color:#55524f}
.evo-crumbs a{color:#b7b5b2}
.evo-crumbs a:hover{color:var(--evo-orange)}
.evo-crumbs [aria-current="page"]{color:var(--evo-orange)}

/* ---------- 9. Language switcher focus + print ---------- */
.site-lang:focus-visible,.evo-search-btn:focus-visible,.evo-float:focus-visible{outline:3px solid #ffab89;outline-offset:3px}
@media print{.site-header,.site-footer,.evo-band,.evo-floats,.evo-progress,.evo-search,.site-menu{display:none!important}}

/* Contact form: WhatsApp handoff link shares the secondary button styling */
.ec-page a.ec-quiet{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}

/* Compact header CTA once the search control is added */
@media(max-width:700px){.site-contact .cta-full{display:none}.site-contact .cta-short{display:inline}}

/* Keep brand, search, language, CTA and menu on one row down to 360px */
@media(max-width:640px){
  .site-header .site-bar{gap:6px;min-height:60px}
  .site-header .brand-lock{gap:7px;min-width:0}
  .site-header .brand-lock strong{font-size:17px;white-space:nowrap}
  .site-header .brand-lock small{font-size:7.5px}
  .site-header .site-lang{padding:6px 7px;font-size:12px}
  .site-header .site-contact{padding:6px 9px;min-height:34px;font-size:12.5px}
  .site-header .site-menu{min-width:40px;min-height:34px;padding:4px 6px;font-size:12.5px}
}
@media(max-width:430px){
  .site-header .brand-lock img{width:30px;height:30px}
  .site-header .brand-lock strong{font-size:15.5px}
  .site-header .brand-lock small{display:none}
  .site-header .site-lang{padding:5px 6px;font-size:11.5px}
  .site-header .site-contact{padding:5px 8px;font-size:12px}
}

/* ---------- 10. Services FAQ ---------- */
.evh-faq{padding-block:clamp(3.2rem,6vw,6.4rem);border-top:1px solid #d8d5cd}
.evh-faq-inner{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:clamp(24px,5vw,72px);align-items:start}
.evh-faq h2{margin:.5rem 0 0;font-size:clamp(1.9rem,3.4vw,3rem);line-height:1.06;letter-spacing:-.02em;color:#141312;max-width:14ch}
.evh-faq-lead{margin:1rem 0 0;color:#4a4744;font-size:1.02rem;max-width:34ch}
.evh-faq-more{display:inline-block;margin-top:1.2rem;font-size:.95rem;color:#1b1a18;border-bottom:1px solid var(--evo-orange);padding-bottom:2px}
.evh-faq-more:hover{color:#b4401a}
.evh-faq-list{display:grid}
.evh-faq-item{border-bottom:1px solid #cfccc4}
.evh-faq-item:first-child{border-top:1px solid #cfccc4}
.evh-faq-item summary{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:1.1rem 0;cursor:pointer;list-style:none}
.evh-faq-item summary::-webkit-details-marker{display:none}
.evh-faq-item h3{margin:0;font-size:clamp(1.02rem,1.35vw,1.22rem);font-weight:600;line-height:1.3;color:#141312}
.evh-faq-item .evh-plus{position:relative;width:14px;height:14px;flex:none;margin-top:.35em}
.evh-faq-item .evh-plus:before,.evh-faq-item .evh-plus:after{content:"";position:absolute;inset-inline-start:0;top:50%;width:14px;height:1.5px;background:#141312;transform:translateY(-50%)}
.evh-faq-item .evh-plus:after{transform:translateY(-50%) rotate(90deg);transition:transform .2s ease}
.evh-faq-item[open] .evh-plus:after{transform:translateY(-50%) rotate(0)}
.evh-faq-item p{margin:0 0 1.2rem;color:#45423f;font-size:.98rem;line-height:1.62;max-width:62ch}
html[dir="rtl"] .evh-faq h2{letter-spacing:normal}
@media(max-width:860px){.evh-faq-inner{grid-template-columns:1fr}}
