/* KRESVYN — white-background option. Active when <html class="light">.
   The home banner (video) and the footer stay dark; everything else turns white. */
html.light,html.light body{background:#FFFFFF}
html.light{
  --bg:#FFFFFF;--bg2:#F5F7FA;--tx:#1E2A3B;--mu:#516075;--hd:#0A1A2F;--soft:#6B7A90;
  --tile:#FFFFFF;--card:#FFFFFF;--card2:#F5F7FA;
  --bd:rgba(10,26,47,.09);--bd2:rgba(10,26,47,.16);--or-text:#D9582A;--navy2:#E9EEF4;
}
/* dark islands keep the original palette */
html.light .hero2,html.light footer,html.light .announce,html.light .chat,html.light .cart-toast{
  --bg:#060D18;--bg2:#0A1424;--tx:#E9EEF5;--mu:#A8B5C8;--hd:#FFFFFF;--soft:#8493A8;
  --tile:rgba(255,255,255,.045);--bd:rgba(255,255,255,.09);--bd2:rgba(255,255,255,.18);--or-text:#FF9A70;--navy2:#10264A;
  color:var(--tx)
}

/* type */
html.light h1 em,html.light h2 em,html.light .o{background-image:linear-gradient(100deg,#FF9A70 0%,#FF7A45 45%,#D9582A 100%)}
html.light .hero2 h1 em,html.light .hero2 .o{background-image:linear-gradient(100deg,#FFE0D1 0%,#FFB08F 40%,#FF8A5C 100%)}
html.light .eyebrow::before{box-shadow:0 0 10px 1px rgba(255,138,92,.45)}
html.light .letter p,html.light .legal p,html.light .mini-ticks,html.light .sc-row.g p,
html.light .form label,html.light .soon-form label,html.light .skill-form label,html.light .kb-form label{color:var(--tx)}
html.light .letter .sig,html.light .price-tag,html.light .sk-price,html.light .cart-total,html.light .side-card,html.light .crumbs a{color:var(--hd)}

/* header: dark text on white glass; light text only while floating over the home banner */
html.light body.scrolled header{background:rgba(255,255,255,.82);border-bottom-color:var(--bd)}
html.light .logo img{content:url(Kresvyn-logo-primary.svg)}
html.light .nav ul{background:rgba(10,26,47,.04);box-shadow:none}
html.light .nav ul>li>a,html.light .lang{color:#3A4A60}
html.light .nav ul>li>a:hover,html.light .nav ul>li>a.on,html.light .lang:hover{color:var(--hd);background:rgba(10,26,47,.07)}
html.light .burger{background:#fff}
html.light .burger span{background:var(--hd)}
html.light .btn{background:#fff;color:var(--hd)}
html.light .btn:hover{background:#F1F4F8;border-color:rgba(10,26,47,.28)}
html.light .btn.primary{background:var(--or);color:var(--ink)}
html.light .btn.primary:hover{background:#FF9A70}
html.light body:has(.hero2):not(.scrolled) header .logo img{content:url(Kresvyn-logo-reversed.svg)}
html.light body:has(.hero2):not(.scrolled) header .nav ul{background:rgba(255,255,255,.05);border-color:rgba(255,255,255,.09)}
html.light body:has(.hero2):not(.scrolled) header .nav ul>li>a,html.light body:has(.hero2):not(.scrolled) header .lang{color:#C9D3E0}
html.light body:has(.hero2):not(.scrolled) header .nav ul>li>a.on,html.light body:has(.hero2):not(.scrolled) header .nav ul>li>a:hover{color:#fff;background:rgba(255,255,255,.1)}
html.light body:has(.hero2):not(.scrolled) header .burger{background:rgba(255,255,255,.06)}
html.light body:has(.hero2):not(.scrolled) header .burger span{background:#fff}
html.light .hero2 .btn:not(.primary){background:rgba(255,255,255,.06);color:#fff}
/* dropdowns and the mobile menu */
html.light .dd,html.light .modal .kb,html.light .modal .bk{background:#fff;box-shadow:0 30px 80px -30px rgba(10,26,47,.35)}
html.light .dd a{color:var(--hd)}
html.light .dd a:hover{background:#F1F4F8}
@media(max-width:1260px){
  html.light .nav ul,html.light body:has(.hero2):not(.scrolled) header .nav ul{background:#fff;border-color:var(--bd2);box-shadow:0 30px 80px -30px rgba(10,26,47,.35)}
  html.light .nav ul>li>a,html.light body:has(.hero2):not(.scrolled) header .nav ul>li>a{color:var(--hd)}
}

/* cards: white with a soft shadow instead of glass */
html.light .dcard,html.light .step,html.light .sec-card,html.light .book-card,html.light .skill-card,html.light .side-card,html.light .sk-card,html.light .pr-card,html.light .kb-confirm{
  background:#fff;border-color:var(--bd);box-shadow:0 1px 2px rgba(10,26,47,.04),0 12px 32px -18px rgba(10,26,47,.18)}
html.light .dcard:hover,html.light .step:hover,html.light .sec-card:hover{background:#fff;border-color:rgba(255,138,92,.55);box-shadow:0 26px 60px -28px rgba(255,138,92,.45)}
html.light main>section.alt .dcard,html.light main>section.alt .sec-card{background:#fff}

/* page heroes and bands */
html.light .phero{background:radial-gradient(50% 90% at 0% 100%,rgba(255,138,92,.16),transparent 70%),linear-gradient(#FFF8F4,#FFFFFF)}
html.light [dir=rtl] .phero,html.light[dir=rtl] .phero{background:radial-gradient(50% 90% at 100% 100%,rgba(255,138,92,.16),transparent 70%),linear-gradient(#FFF8F4,#FFFFFF)}
html.light section.cta{background:radial-gradient(60% 90% at 50% 118%,rgba(255,138,92,.32) 0%,rgba(255,138,92,.08) 45%,transparent 70%),#FFF8F4}
html.light .kres-ph{box-shadow:0 40px 100px -40px rgba(255,138,92,.5)}

/* forms, booking and chat buttons */
html.light .form input,html.light .form select,html.light .form textarea,html.light .soon-form input,html.light .skill-form input:not(.kb-hp),
html.light .kb-form input:not([type=checkbox]),html.light .kb-form textarea,html.light .kb-tz select,html.light .nl{background:#fff;color:var(--hd)}
html.light .kb-opt,html.light .kb-day,html.light .kb-slot{background:#fff;color:var(--hd)}
html.light .kb-steps li{background:#F5F7FA}
html.light .kb-steps li span{background:rgba(10,26,47,.1);color:var(--hd)}
html.light .kb-steps li.on,html.light .kb-ok-msg{color:var(--hd)}
html.light .x-btn{background:#F1F4F8;color:var(--hd)}
html.light .modal{background:rgba(10,26,47,.45)}
html.light .fab.ai::after{border-color:#fff}

/* theme switch button */
.theme-t{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:50%;border:1px solid var(--bd2);background:transparent;cursor:pointer;color:inherit;font-size:17px;line-height:1}
.theme-t:hover{border-color:var(--or)}
html.light .theme-t{color:var(--hd)}
/* page-hero illustrations have a navy backdrop: show them as a framed card on white */
@media(min-width:961px){
  html.light .phero .phph[src$=".svg"],html.light[dir=rtl] .phero .phph[src$=".svg"]{-webkit-mask-image:none;mask-image:none;object-fit:cover;padding:0;opacity:1;top:12%;bottom:auto;height:76%;width:min(34%,460px);inset-inline-end:var(--gut);border-radius:28px;box-shadow:0 30px 70px -30px rgba(10,26,47,.45)}
}
@media(max-width:960px){html.light .phero .phph[src$=".svg"]{display:none}}

html.light footer .nl{background:rgba(255,255,255,.04)}html.light footer .nl input{color:#fff}

/* divisions section, light version: soft white band, white cards, navy only inside the illustrations */
html.light main>section.divsec.divsec{background:radial-gradient(45% 55% at 90% 0%,rgba(255,138,92,.12),transparent 65%),linear-gradient(180deg,#FFFFFF,#F5F7FA)}
html.light .divsec::before{background-image:linear-gradient(rgba(10,26,47,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(10,26,47,.045) 1px,transparent 1px)}
html.light .div-tile{background:#fff;border-color:var(--bd);box-shadow:0 1px 2px rgba(10,26,47,.04),0 14px 36px -20px rgba(10,26,47,.2)}
html.light .div-tile.intro{background:none;box-shadow:none}
html.light .div-tile h3,html.light .div-tile.intro h2{color:var(--hd)}
html.light .div-tile.intro p{color:var(--mu)}
html.light .div-tile .dn,html.light .div-tile .go{color:var(--or-text)}
html.light .dbig{-webkit-text-stroke-color:rgba(10,26,47,.08)}
html.light .dtags li{border-color:var(--bd2);background:#F5F7FA;color:#3A4A60}
html.light a.div-tile:hover .dtags li{color:var(--hd)}
html.light .dglow{background:radial-gradient(380px circle at var(--mx,50%) var(--my,0%),rgba(255,138,92,.14),transparent 60%)}
html.light .dorbit .ring{border-color:rgba(10,26,47,.18)}
html.light .dorbit .node b{background:#fff;color:var(--hd)}
/* big card number: soft solid fill (outlined digits overlap and look broken) */
.dbig,html.light .dbig{-webkit-text-stroke:0;color:rgba(255,255,255,.05)}
html.light .dbig{color:rgba(10,26,47,.045)}
html.light a.div-tile:hover .dbig,a.div-tile:hover .dbig{-webkit-text-stroke:0;color:rgba(255,138,92,.16)}
html.light main .nl input:-webkit-autofill,html.light main .nl input:-webkit-autofill:focus{-webkit-text-fill-color:var(--hd);caret-color:var(--hd);-webkit-box-shadow:0 0 0 100px #fff inset;box-shadow:0 0 0 100px #fff inset}
html.light main .nl-ok{color:var(--hd)}
/* photo banners stay dark on the white theme */
html.light main>section.phero.has-bg,html.light[dir=rtl] main>section.phero.has-bg{background:#0A1A2F;--hd:#FFFFFF;--tx:#E9EEF5;--mu:#A8B5C8;--or-text:#FF9A70;color:#E9EEF5}
html.light .phero.has-bg h1 em{background-image:linear-gradient(100deg,#FFE0D1 0%,#FFB08F 40%,#FF8A5C 100%)}
html.light .phero.has-bg .crumbs a{color:#fff}
html.light .ind-card{background:#fff;box-shadow:0 1px 2px rgba(10,26,47,.04),0 14px 36px -20px rgba(10,26,47,.2)}
html.light .ind-steps li{background:#fff}
html.light .pz li,html.light .cap-chips li{background:#fff}

/* ---------- menu bar redesign (v116): clean white bar, text links with an orange underline ---------- */
html.light header,html.light body.scrolled header{background:#fff;border-bottom:1px solid rgba(10,26,47,.08);-webkit-backdrop-filter:none;backdrop-filter:none}
html.light body.scrolled header{box-shadow:0 8px 30px -18px rgba(10,26,47,.25)}
html.light .nav{min-height:76px}
html.light .nav ul,html.light body:has(.hero2):not(.scrolled) header .nav ul{background:none;border:0;box-shadow:none;padding:0;gap:clamp(4px,1.4vw,22px)}
html.light .nav ul>li>a{position:relative;min-height:76px;padding:0 4px;border-radius:0;background:none!important;font-size:15.5px;font-weight:500;color:#3A4A60}
html.light .nav ul>li>a::after{content:"";position:absolute;inset-inline:4px;bottom:20px;height:2px;border-radius:2px;background:var(--or);transform:scaleX(0);transition:transform .25s var(--ease)}
html.light .nav ul>li>a:hover,html.light .nav ul>li>a.on{color:var(--hd)}
html.light .nav ul>li>a:hover::after,html.light .nav ul>li>a.on::after{transform:scaleX(1)}
html.light .lang{min-height:38px;padding:0 14px;border-radius:999px;border:1px solid rgba(10,26,47,.14);font-size:14px;color:var(--hd)}
html.light .lang:hover{border-color:var(--or);color:var(--hd)}
html.light .nav-r{gap:10px}
html.light .nav-r .btn.primary{box-shadow:none}
/* over the home video: transparent bar, white text, until you scroll */
html.light body:has(.hero2):not(.scrolled) header{background:transparent;border-bottom-color:rgba(255,255,255,.12)}
html.light body:has(.hero2):not(.scrolled) header .nav ul>li>a{color:#D5DDE8}
html.light body:has(.hero2):not(.scrolled) header .nav ul>li>a:hover,html.light body:has(.hero2):not(.scrolled) header .nav ul>li>a.on{color:#fff}
html.light body:has(.hero2):not(.scrolled) header .lang{color:#fff;border-color:rgba(255,255,255,.3)}
@media(max-width:1260px){
  html.light .nav ul>li>a{min-height:48px;padding:0 14px;border-radius:12px}
  html.light .nav ul>li>a::after{display:none}
  html.light .nav ul>li>a:hover,html.light .nav ul>li>a.on{background:#F3F5F8!important}
  html.light .nav ul,html.light body:has(.hero2):not(.scrolled) header .nav ul{padding:10px;gap:2px;background:#fff;border:1px solid var(--bd2);box-shadow:0 30px 80px -30px rgba(10,26,47,.35)}
  html.light body:has(.hero2):not(.scrolled) header .nav ul>li>a{color:var(--hd)}
}

/* ---------- menu bar refinement (v118) ---------- */
html.light .nav{min-height:72px}
html.light .nav ul>li>a{min-height:72px;font-size:15px;color:#2A3A50}
html.light .nav ul>li>a::after{bottom:18px;inset-inline:50%;width:6px;height:6px;border-radius:50%;transform:translateX(50%) scale(0);transition:transform .25s var(--ease)}
html.light .nav ul>li>a:hover::after,html.light .nav ul>li>a.on::after{transform:translateX(50%) scale(1)}
html.light .nav ul>li>a.on{color:var(--or-text)}
html.light .has-dd>a{gap:6px}
html.light .has-dd>a::before{content:"";order:2;width:6px;height:6px;border-inline-end:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-2px);opacity:.6}
html.light .lang{min-height:36px;padding:0 12px;font-size:13.5px;font-weight:600;letter-spacing:.02em}
html.light .nav-r .btn.primary.sm{min-height:42px;padding:0 20px;font-weight:600}
@media(max-width:1260px){html.light .nav ul>li>a{min-height:48px}html.light .has-dd>a::before{display:none}}
html.light .has-dd>a::before{border:0;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg)}
html.light .bk2-steps li,html.light .bk2-box:not(.wa){background:#fff}
html.light .vp,html.light .ms,html.light .anav-c{background:#fff}
html.light .pz2 li,html.light .oc-g li,html.light .sv-ask,html.light .osv{background:#fff}html.light .sv-caps{--hd:#fff;color:#C9D3E0}
html.light .cl-c{background:#fff}

/* ---------- creative header buttons (v150) ---------- */
html.light .lang-sw{display:inline-flex;align-items:center;gap:7px;min-height:42px;padding:0 14px 0 12px;border-radius:999px;border:1px solid rgba(10,26,47,.14);background:#F5F7FA;color:var(--hd);font-weight:600;font-size:14px;transition:border-color .25s,background .25s,color .25s}
html.light .lang-sw svg{width:17px;height:17px;color:var(--or-text);transition:transform .5s var(--ease)}
html.light .lang-sw:hover{border-color:var(--or);background:#FFF4EE;color:var(--hd)}
html.light .lang-sw:hover svg{transform:rotate(180deg)}
html.light body:has(.hero2):not(.scrolled) header .lang-sw{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.28);color:#fff}
html.light body:has(.hero2):not(.scrolled) header .lang-sw svg{color:#FFB08F}
html.light .nav-r .cta-hd{position:relative;overflow:hidden;display:inline-flex;align-items:center;gap:10px;min-height:46px;padding:0 20px 0 6px;border:0;border-radius:999px;background:linear-gradient(120deg,#FF9A70 0%,#FF7A45 55%,#E8693A 100%);color:#0A1A2F;font-weight:700;font-size:14.5px;box-shadow:0 10px 24px -12px rgba(255,122,69,.8);transition:transform .25s var(--ease),box-shadow .25s}
[dir=rtl] .nav-r .cta-hd{padding:0 6px 0 20px}
html.light .nav-r .cta-hd::after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.55) 50%,transparent 70%);transform:translateX(-120%);animation:ctaShine 3.6s ease-in-out infinite}
@keyframes ctaShine{0%,60%{transform:translateX(-120%)}85%,100%{transform:translateX(120%)}}
html.light .nav-r .cta-hd:hover{transform:translateY(-2px);box-shadow:0 16px 30px -12px rgba(255,122,69,.9);background:linear-gradient(120deg,#FFB08F 0%,#FF8A5C 55%,#FF7A45 100%)}
.cta-ic{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#0A1A2F;color:#FF9A70;flex:none}
.cta-ic svg{width:17px;height:17px}
[dir=rtl] .cta-ic svg{transform:scaleX(-1)}
@media(prefers-reduced-motion:reduce){html.light .nav-r .cta-hd::after{animation:none}}
@media(max-width:760px){html.light .nav-r .cta-hd{display:none}}
/* AI Ad Creative Studio plans */
html.light .plan{background:#fff;box-shadow:0 1px 2px rgba(10,26,47,.04),0 12px 32px -18px rgba(10,26,47,.18)}
html.light .plan.feat{background:linear-gradient(160deg,#0E2342,#0A1A2F 70%,#07121F);box-shadow:0 30px 70px -34px rgba(10,26,47,.6)}
/* menu: a dropdown parent gets its dot only when you are on one of its pages (not on hover); the current page is marked inside the dropdown */
html.light .nav ul>li.has-dd>a:not(.on):hover::after{transform:translateX(50%) scale(0)}
html.light .dd a.on{color:var(--or-text);background:#FFF4EE;position:relative;padding-inline-start:28px}
html.light .dd a.on::before{content:"";position:absolute;inset-inline-start:12px;top:50%;width:6px;height:6px;margin-top:-3px;border-radius:50%;background:var(--or)}
html.light .dd a.on small{color:#B9653F}
