/* ===== ШРИФТЫ =====
   Свои файлы в assets/fonts (не Google Fonts: IP посетителя не уходит в Google, GDPR).
   Набор latin: в нём есть ä, ö, å. Лицензия шрифтов: SIL Open Font License (Fontsource). */
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/inter-latin-400-normal.woff2) format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/inter-latin-500-normal.woff2) format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/inter-latin-600-normal.woff2) format('woff2');}
@font-face{font-family:'Manrope';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/manrope-latin-600-normal.woff2) format('woff2');}
@font-face{font-family:'Manrope';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/manrope-latin-700-normal.woff2) format('woff2');}
@font-face{font-family:'Manrope';font-style:normal;font-weight:800;font-display:swap;src:url(../fonts/manrope-latin-800-normal.woff2) format('woff2');}

:root{
    --font-heading:'Manrope',system-ui,sans-serif;
    --font-body:'Inter',system-ui,sans-serif;

    --navy:#152a4a;
    --navy-light:#1f3d68;
    --orange:#f5a623;
    --orange-dark:#e0930f;
    --bg:#ffffff;
    --bg-soft:#f7f8fb;
    --text:#1a2332;
    --text-mute:#5c6b7a;
    --border:#e7eaf0;
    --radius:14px;
    --shadow:0 10px 30px -12px rgba(21,42,74,.18);
}

/* ===== RESET / BASE ===== */
*{box-sizing:border-box;}
html{scroll-behavior:smooth;height:100%;overflow-x:hidden;}
body{
    margin:0;
    font-family:var(--font-body), sans-serif;
    color:var(--text);
    background:var(--bg);
    line-height:1.55;
    min-height:100vh;
    display:flex;
    flex-direction:column;
    overflow-x:hidden;
}
h1,h2,h3,h4,.logo-word{
    font-family:var(--font-heading), sans-serif;
    font-weight:800;
    letter-spacing:-0.02em;
}
img{max-width:100%;display:block;}
a{text-decoration:none;color:inherit;}
ul{list-style:none;margin:0;padding:0;}

/* ===== SHARED UTILITIES ===== */
.wrap{max-width:1180px;margin:0 auto;padding:0 24px;}

/* Кнопки: везде одна высота (42px), один шрифт и одна иконка 16px — и на компьютере, и на телефоне.
   Отдельно меньше только .btn-small в шапке. Ширину задаёт место (во всю ширину карточки или рядом две). */
.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:42px;
    padding:0 20px;
    border-radius:999px;
    font-family:var(--font-heading), sans-serif;
    font-weight:700;
    font-size:.85rem;
    border:2px solid transparent;
    cursor:pointer;
    transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
    white-space:nowrap;
}
.btn:hover{transform:translateY(-2px);}
.btn svg{width:16px;height:16px;flex-shrink:0;}
.btn-orange{background:linear-gradient(180deg,var(--orange),var(--orange-dark));color:var(--navy);box-shadow:0 4px 12px -4px rgba(224,147,15,.55);}
.btn-outline{background:#fff;border-color:var(--navy);color:var(--navy);}
.btn-outline:hover{background:var(--navy);color:#fff;}
.btn-small{min-height:0;padding:8px 18px;font-size:.82rem;}

.icon-circle{
    width:64px;height:64px;border-radius:50%;
    display:flex;align-items:center;justify-content:center;
    background:var(--bg-soft);border:2px solid var(--orange);
    color:var(--navy);flex-shrink:0;
}
.icon-circle svg{width:28px;height:28px;color:var(--navy);flex-shrink:0;}

/* ================================================
   HEADER / NAV
================================================ */
header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    width:100%;
    padding-top:12px;
    padding-bottom:12px;
    padding-left:max(24px, calc((100% - 1180px) / 2));
    padding-right:max(24px, calc((100% - 1180px) / 2));
    border-bottom:1px solid var(--border);
    position:sticky;top:0;background:#fff;z-index:50;
    gap:16px;
    flex-wrap:nowrap;
}
.brand{display:flex;align-items:center;gap:12px;flex-shrink:1;min-width:0;}
.brand-logo{height:44px;width:auto;max-width:110px;object-fit:contain;flex-shrink:0;display:block;}
.logo-word{font-size:1.2rem;font-weight:800;color:var(--navy);letter-spacing:.01em;line-height:1;white-space:nowrap;}
.logo-word span{color:var(--orange-dark);}
.logo-sub{
    font-size:.58rem;letter-spacing:.08em;color:var(--text-mute);font-weight:600;margin-top:2px;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}

nav{display:flex;align-items:center;gap:32px;margin-left:40px;}
/* nowrap: пункт меню не переносится на две строки (длинные слова на en/sv: «OM OSS», «LOGGA IN») */
nav a{font-weight:600;font-size:.95rem;color:var(--navy);position:relative;padding:4px 0;white-space:nowrap;}
nav a:hover{color:var(--orange-dark);}

.header-right{display:flex;align-items:center;gap:14px;flex-shrink:1;min-width:0;}
.contact-col{display:flex;flex-direction:column;align-items:flex-end;gap:6px;min-width:0;}
.phone-block{display:flex;align-items:center;gap:8px;color:var(--navy);}
.phone-block svg{width:18px;height:18px;color:var(--orange);flex-shrink:0;}
.phone-block strong{font-size:1rem;font-weight:700;white-space:nowrap;}
.phone-block a{color:inherit;}

.nav-toggle{display:none;background:none;border:none;cursor:pointer;padding:4px;flex-shrink:0;position:relative;z-index:46;}
.nav-toggle svg{width:28px;height:28px;color:var(--navy);}
.nav-toggle .icon-close{display:none;}
.nav-toggle.is-open .icon-burger{display:none;}
.nav-toggle.is-open .icon-close{display:block;}

.nav-overlay{display:none;position:fixed;inset:0;background:rgba(21,42,74,.25);z-index:40;opacity:0;transition:opacity .2s ease;}
.nav-overlay.nav-open{display:block;opacity:1;}

/* ================================================
   HERO
================================================ */

.hero{padding:64px 0 10px;position:relative;overflow:hidden;}

.hero::before{
    content:"";
    position:absolute;
    top:0; left:-40px;
    width:500px; height:500px;
    pointer-events:none;
    background:radial-gradient(circle, rgba(245,166,35,.12) 0%, transparent 70%);
    z-index:-1;
}

.hero-grid{
    display:grid;
    grid-template-columns:40fr 60fr;
    gap:50px;
    align-items:flex-start;
}

/* --- text column --- */
.eyebrow{
    display:inline-block;
    font-size:.78rem;
    font-weight:700;
    letter-spacing:.08em;
    color:var(--orange-dark);
    background:rgba(245,166,35,.1);
    padding:6px 14px;
    border-radius:20px;
    margin-bottom:16px;
}

.hero h1{font-size:2.7rem;font-weight:800;line-height:1.12;margin:0 0 18px;color:var(--navy);}
.hero h1 .accent{color:var(--orange-dark);}
.hero p{color:var(--text-mute);font-size:1.05rem;max-width:440px;margin-bottom:20px;}

.locations{display:flex;gap:22px;flex-wrap:wrap;margin-bottom:30px;}
.locations li{display:flex;align-items:center;gap:6px;font-weight:600;color:var(--navy);font-size:.92rem;}
.locations svg{width:16px;height:16px;color:var(--orange-dark);flex-shrink:0;}

.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:36px;}
.btn{transition:transform .2s ease, box-shadow .2s ease;}
.btn:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(0,0,0,.12);}

/* --- stats row --- */
.hero-stats{display:flex;gap:32px;padding-top:24px;border-top:1px solid #eee;flex-wrap:wrap;}
.hero-stats > div{display:flex;flex-direction:column;gap:4px;}
.hero-stats strong{font-size:1.4rem;color:var(--navy);font-weight:800;}
.hero-stats span{font-size:.8rem;color:var(--text-mute);}

.hero-avatars{display:flex;}
.hero-avatars img{
    width:32px;height:32px;border-radius:50%;
    border:2px solid #fff;
    margin-left:-10px;
    object-fit:cover;
    box-shadow:0 2px 6px rgba(0,0,0,.1);
}
.hero-avatars img:first-child{margin-left:0;}

/* --- image column --- */
.hero-img-outer{padding:12px;}
.hero-img-wrap{
    position:relative;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 20px 50px rgba(0,0,0,.15);
    height:100%;
}
.hero-img-wrap::before{
    content:"";
    position:absolute;
    inset:-12px;
    border:2px solid rgba(245,166,35,.25);
    border-radius:28px;
    z-index:-1;
}
.hero-img-wrap::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(to top, rgba(0,0,0,.35), transparent 40%);
    pointer-events:none;
}
.hero-img-wrap img{
    display:block;
    width:100%;
    height:100%;
    min-height:480px;
    object-fit:cover;
}

/* --- floating badges --- */
.hero-badge{
    position:absolute;
    display:flex; align-items:center; gap:12px;
    background:rgba(255,255,255,.92);
    backdrop-filter:blur(8px);
    padding:12px 18px;
    border-radius:14px;
    box-shadow:0 10px 25px rgba(0,0,0,.15);
    z-index:2;
}
.hero-badge svg{width:26px;height:26px;color:var(--orange-dark);flex-shrink:0;}
.hero-badge strong{display:block;font-size:1rem;color:var(--navy);}
.hero-badge span{font-size:.75rem;color:var(--text-mute);}

.hero-badge-top{top:24px; right:24px;}

/* ===== Hero Slogan ===== */
.hero-slogan {
    font-size: 1.15rem;
    line-height: 1.55;
    color: var(--text-mute);
    margin: 1.25rem 0 1.75rem;
    max-width: 540px;
}

.hero-slogan strong {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--navy, #0f1c2e);
    letter-spacing: -0.02em;
    margin-bottom: 0.35rem;
    position: relative;
}

/* Красивая оранжевая линия под сильной фразой */
.hero-slogan strong::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--orange);
    margin-top: 0.45rem;
    border-radius: 2px;
}

/* Если тёмная тема */
[data-theme="dark"] .hero-slogan strong {
    color: #fff;
}

[data-theme="dark"] .hero-slogan {
    color: #a8b8cc;
}


/* ================================================
   SERVICES GALLERY (palvelut)
================================================ */
.gallery{padding:70px 0 50px;}

/* --- header --- */
.services-head{max-width:640px;margin-bottom:34px;}
.eyebrow{
    display:inline-block;
    font-size:.78rem;font-weight:700;letter-spacing:.08em;
    color:var(--orange-dark);
    background:rgba(245,166,35,.1);
    padding:6px 14px;border-radius:20px;margin-bottom:16px;
}
.services__title{font-size:2.1rem;font-weight:800;line-height:1.25;color:var(--navy);margin:0 0 14px;}
.services__title .accent{color:var(--orange-dark);}
.services-sub{color:var(--text-mute);font-size:1rem;line-height:1.5;}

/* --- grid --- */
.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}

.gallery-card{
    border-radius:22px;
    background:#fff;
    border:1px solid var(--border);
    transition:box-shadow .35s ease, transform .35s ease;
}
.gallery-card:hover{
    box-shadow:0 24px 50px rgba(20,30,60,.14);
    transform:translateY(-6px);
}

.card-media{position:relative;height:170px;}


.card-media-inner{
    position:relative;
    height:100%;
    overflow:hidden;
    border-radius:22px 22px 0 0;
}
.card-media-inner img{
    width:100%;height:100%;object-fit:cover;
    display:block;
    transition:transform .6s ease;
}
.gallery-card:hover .card-media-inner img{transform:scale(1.09);}

.card-media-inner::after{
    content:"";
    position:absolute;inset:0;
    background:linear-gradient(to top, rgba(10,20,45,.55) 0%, rgba(10,20,45,0) 55%);
}

/* иконка — отдельный слой в .card-media, не обрезается */
.icon-badge{
    position:absolute;left:20px;bottom:-24px;z-index:3;
    width:52px;height:52px;border-radius:16px;
    background:var(--orange);
    display:flex;align-items:center;justify-content:center;
    box-shadow:0 1px 3px rgba(0,0,0,.15);
}

.icon-badge svg{width:24px;height:24px;color:#fff;}

/* --- body --- */
.gallery-card-body{padding:32px 20px 18px;}
.gallery-card h3{
    font-size:1rem;font-weight:800;color:var(--navy);
    margin:0 0 10px;
}
.gallery-card ul li{
    font-size:.84rem;color:var(--text-mute);margin-bottom:5px;
    padding-left:16px;position:relative;
}
.gallery-card ul li::before{
    content:"";position:absolute;left:0;top:7px;
    width:6px;height:6px;border-radius:50%;background:var(--orange);
}



/* ================================================
   HOW IT WORKS
================================================ */

/* Два блока под услугами: «Siivous- ja korjauspalvelut» (голубой) и «Yritysasiakkaille» (бежевый) */
.offers{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:28px;}
.offer{
    display:flex;flex-direction:column;
    padding:24px 26px;
    background:#eef2f8;
    border:1px solid #dfe6f1;
    border-radius:var(--radius);
}
.offer--biz{background:#fdf3e4;border-color:#f6e0bf;}
.offer-head{display:flex;gap:18px;align-items:center;flex:1;}
.offer-icon{width:72px;height:72px;flex-shrink:0;color:var(--navy);}
.offer-icon .icon-hole{fill:#eef2f8;}
.offer-icon .icon-halo{fill:none;stroke:#eef2f8;}
.offer--biz .offer-icon .icon-hole{fill:#fdf3e4;}
.offer-text{border-left:3px solid var(--orange);padding-left:16px;}
.offer-text h3{font-size:1.2rem;font-weight:800;color:var(--navy);margin:0 0 6px;}
.offer-text p{color:var(--text);font-size:.92rem;line-height:1.5;margin:0;}
.offer-actions{display:flex;align-items:center;gap:18px;margin-top:20px;}
.offer-actions .btn{flex:1;}
.offer-mail{display:inline-flex;align-items:center;gap:7px;font-weight:700;font-size:.9rem;color:var(--navy);text-decoration:none;white-space:nowrap;}
.offer-mail:hover{color:var(--orange-dark);}
.offer-mail svg{width:17px;height:17px;color:var(--orange-dark);}
[data-theme="dark"] .offer{background:var(--bg-soft);border-color:var(--border);}
[data-theme="dark"] .offer-icon{color:var(--text);}
[data-theme="dark"] .offer-icon .icon-hole{fill:var(--bg-soft);}
[data-theme="dark"] .offer-icon .icon-halo{stroke:var(--bg-soft);}
[data-theme="dark"] .offer-text h3,
[data-theme="dark"] .offer-mail{color:var(--text);}
@media (max-width:900px){
    .offers{grid-template-columns:1fr;}
}
@media (max-width:640px){
    .offers{gap:12px;margin-top:16px;}
    .offer{padding:16px;}
    .offer-head{gap:12px;align-items:flex-start;}
    .offer-icon{width:52px;height:52px;}
    .offer-text{padding-left:12px;}
    .offer-text h3{font-size:1rem;}
    .offer-text p{font-size:.86rem;}
    .offer-actions{flex-direction:column;gap:10px;margin-top:14px;}
    .offer-actions .btn{width:100%;}
}

.how{padding:60px 0 74px;background:var(--bg-soft);}
.how h2{text-align:center;font-size:1.9rem;font-weight:800;color:var(--navy);margin:0 0 46px;}
.how-grid{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;flex-wrap:wrap;}
.how-step{display:flex;gap:14px;flex:1;min-width:220px;align-items:flex-start;}

.how-num{
    width:40px;height:40px;border-radius:50%;
    background:linear-gradient(145deg, var(--orange), var(--orange-dark));
    color:var(--navy);
    display:flex;align-items:center;justify-content:center;
    font-weight:800;flex-shrink:0;
    box-shadow:0 4px 10px rgba(245,166,35,.3);
}

.how-step h3{font-size:.95rem;font-weight:700;color:var(--navy);margin:6px 0 6px;display:flex;align-items:center;gap:8px;}
.how-step h3 svg{width:16px;height:16px;color:var(--orange-dark);flex-shrink:0;}
.how-step p{font-size:.85rem;color:var(--text-mute);margin:0;}
.how-arrow{align-self:center;color:var(--orange-dark);flex-shrink:0;padding-top:6px;}
.how-arrow svg{width:22px;height:22px;}

/* ================================================
   RETURN FROM TRIP / CTA SPLIT (yhteys)
================================================ */
.split{padding:36px 0;}
.split-grid{display:grid;grid-template-columns:1fr 1.3fr .95fr;gap:36px;align-items:stretch;}
.split-img{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);}
.split-img img{width:100%;height:100%;max-height:340px;object-fit:cover;min-height:200px;}
.split-text{display:flex;flex-direction:column;justify-content:center;}
.split-text h2{font-size:1.7rem;font-weight:600;color:var(--navy);margin:0 0 6px;line-height:1.25;}
.split-text h2 .accent{color:var(--orange-dark);}
.split-text p{color:var(--text-mute);margin:10px 0 12px;}
.checklist{display:flex;flex-wrap:wrap;gap:10px 22px;margin-bottom:10px;}
.checklist li{display:flex;align-items:center;gap:8px;font-weight:600;font-size:.9rem;color:var(--navy);}
.checklist svg{width:18px;height:18px;color:var(--orange-dark);flex-shrink:0;}
.tagline-strong{font-weight:700;color:var(--navy);}

.call-card{
    position:relative;
    background:linear-gradient(180deg,#fff, #fbfbfd);
    color:var(--navy);border-radius:var(--radius);
    padding:32px 30px;
    display:flex;flex-direction:column;justify-content:center;
    box-shadow:none;border:1px solid var(--border);
}
.call-card::before{
    content:"";
    position:absolute;top:0;left:24px;right:24px;height:3px;
    background:linear-gradient(90deg,var(--orange),var(--orange-dark));
    border-radius:0 0 4px 4px;
}

.call-card-top{display:flex;align-items:center;gap:12px;margin-bottom:20px;}
.call-card-top p{color:var(--text-mute);margin:0;font-size:.92rem;line-height:1.4;}

.phone-icon{
    width:42px;height:42px;border-radius:50%;
    background:linear-gradient(135deg,#ffb648,var(--orange-dark));
    display:flex;align-items:center;justify-content:center;flex-shrink:0;
    box-shadow:0 4px 10px rgba(230,150,20,.3);
}
.phone-icon svg{width:20px;height:20px;color:#fff;}

.call-divider{height:1px;background:var(--border);margin-bottom:20px;}

.big-phone{margin-bottom:20px;}
.phone-label{
    display:block;font-size:.75rem;font-weight:700;
    text-transform:uppercase;letter-spacing:.06em;
    color:var(--text-mute);margin-bottom:4px;
}
.big-phone a{
    display:block;font-size:1.9rem;font-weight:800;
    color:var(--navy);text-decoration:none;letter-spacing:-.02em;
    transition:color .2s;
}
.big-phone a:hover{color:var(--orange-dark);}

/* Почта под телефоном в карточке «Ota yhteyttä» */
.big-email{margin:-6px 0 20px;text-align:center;} /* по центру, как телефон над ней */
.big-email a{
    display:inline-flex;align-items:center;gap:8px;
    font-size:1.1rem;font-weight:700;color:var(--navy);
    text-decoration:none;word-break:break-all;transition:color .2s;
}
.big-email a:hover{color:var(--orange-dark);}
.big-email svg{width:18px;height:18px;flex-shrink:0;color:var(--orange-dark);}

.call-perks{
    list-style:none;padding:0;margin:0 0 22px;
    display:flex;flex-direction:column;gap:8px;
}
.call-perks li{
    font-size:.85rem;color:var(--text-mute);
    padding-left:20px;position:relative;
}
.call-perks li::before{
    content:"✓";
    position:absolute;left:0;top:0;
    color:var(--orange-dark);font-weight:800;font-size:.9rem;
}

.call-card .btn-orange{width:100%;}

.call-card .top-row{display:flex;align-items:center;gap:12px;margin-bottom:14px;}
.call-card .phone-icon{width:40px;height:40px;border-radius:50%;background:var(--orange);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.call-card .phone-icon svg{width:20px;height:20px;color:var(--navy);}
.call-card p{color:var(--text-mute);margin:0;font-size:.95rem;}
.call-card .big-phone{font-size:1.6rem;font-weight:800;margin-bottom:12px;color:var(--navy);text-align:center;}
.call-card .btn-orange{width:100%;}

/* ================================================
   WHY CHOOSE (meista)
================================================ */
.why{padding:80px 0;text-align:center;background:var(--bg-soft);}
.why h2{font-size:2rem;font-weight:800;color:var(--navy);margin:0 0 50px;}
.why h2 .accent{color:var(--orange-dark);}

.why-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:26px;align-items:start;}

.why-item{padding:8px;}

.why-item .icon-circle{
    margin:0 auto 18px;
    width:64px;height:64px;
    background:var(--orange);
    border:2px solid var(--orange);
    display:flex;align-items:center;justify-content:center;
    transition:background .25s ease, box-shadow .25s ease, transform .25s ease;
}
.why-item .icon-circle svg{
    width:26px;height:26px;
    color:#fff;
}

.why-item:hover .icon-circle{
    background:var(--orange-dark);
    box-shadow:0 10px 24px rgba(245,166,35,.35);
    transform:scale(1.05);
}

.why-item h3{font-size:.88rem;font-weight:700;color:var(--navy);margin:0 0 8px;text-transform:uppercase;letter-spacing:.02em;}
.why-item p{font-size:.84rem;color:var(--text-mute);margin:0;line-height:1.5;}


/* ================================================
   FOOTER
================================================ */
footer{
    background:var(--navy);
    color:#c9d3e0;
    padding:30px 0;
    margin-top:auto;
    position:relative;
    z-index:1;
    box-shadow:0 -4px 10px -4px rgba(0,0,0,.15);
}

.footer-grid{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:40px;
    align-items:start;
}

.footer-brand{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:18px;
}
.footer-brand .brand-mark{box-shadow:inset 0 0 0 2px var(--orange);}
.footer-brand .logo-word{color:#fff;}
.footer-brand .logo-sub{color:#8fa0b8;}

.footer-contact{
    display:flex;
    flex-direction:column;
    gap:10px;
    font-size:.85rem;
}
.footer-contact a{
    display:flex;
    align-items:center;
    gap:8px;
    color:#e6ebf2;
    font-weight:600;
}
.footer-contact svg{
    width:16px;
    height:16px;
    color:var(--orange);
    flex-shrink:0;
}

/* Paytrail column */
.footer-payment{
    font-size:0.8rem;
    line-height:1.55;
    color:rgba(255,255,255,0.65);
}
.footer-payment strong{
    display:block;
    margin-bottom:0.4rem;
    font-size:0.85rem;
    color:rgba(255,255,255,0.9);
    font-weight:600;
}
.footer-payment p{
    margin:0;
}

/* Mobile */
@media (max-width: 768px){
    .footer-grid{
        grid-template-columns: 1fr;
        gap:28px;
    }
}

/* ================================================
   DARK THEME
================================================ */
:root, [data-theme="light"]{
    color-scheme:light;
}

[data-theme="dark"]{
    color-scheme:dark;
    --bg:#0f1826;
    --bg-soft:#16233a;
    --text:#e7ecf3;
    --text-mute:#9fb0c3;
    --border:#2a3852;
    --shadow:0 10px 30px -12px rgba(0,0,0,.5);
}

body, header, nav, .call-card, .gallery-card, .btn-outline, .icon-circle{
    transition:background-color .25s ease, color .25s ease, border-color .25s ease;
}

[data-theme="dark"] header{background:var(--bg);}
[data-theme="dark"] .call-card{background:var(--bg-soft);}
[data-theme="dark"] .gallery-card{background:var(--bg-soft);}
[data-theme="dark"] .btn-outline{background:var(--bg);color:var(--text);border-color:var(--text);}
[data-theme="dark"] .btn-outline:hover{background:var(--text);color:var(--bg);}
[data-theme="dark"] .why-item .icon-circle{background:var(--bg-soft);}
[data-theme="dark"] .icon-circle{background:var(--bg-soft);}

@media (max-width:1100px){
    [data-theme="dark"] nav{
        background:rgba(15,24,38,.7);
    }
}

/* ===== THEME TOGGLE SWITCH =====
   Компактный переключатель-«таблетка»: кружок с солнцем (светлая) уезжает вправо и становится луной (тёмная).
   Высота 26px (24px на мобильном) — шапку не растягивает. */
.theme-toggle{
    position:relative;
    display:block;
    width:50px;
    height:26px;
    border-radius:999px;
    border:1.5px solid var(--orange);
    background:var(--bg-soft);
    cursor:pointer;
    padding:0;
    flex-shrink:0;
    align-self:center;
    transition:background-color .25s ease, border-color .25s ease;
}
.theme-toggle::before{                /* кружок */
    content:"";
    position:absolute;
    top:2px;left:2px;
    width:19px;height:19px;
    border-radius:50%;
    background:linear-gradient(180deg,var(--orange),var(--orange-dark));
    box-shadow:0 1px 3px rgba(0,0,0,.25);
    transition:transform .25s ease;
}
.theme-toggle svg{
    position:absolute;
    top:50%;
    width:12px;
    height:12px;
    margin-top:-6px;
    color:var(--navy);
    transition:left .25s ease;
}
.theme-toggle .icon-sun{left:5.5px;}
.theme-toggle .icon-moon{display:none;left:29.5px;}
[data-theme="dark"] .theme-toggle::before{transform:translateX(24px);}
[data-theme="dark"] .theme-toggle .icon-sun{display:none;}
[data-theme="dark"] .theme-toggle .icon-moon{display:block;}
[data-theme="dark"] .theme-toggle svg{color:var(--navy);}  /* иконка на оранжевом кружке */
.theme-toggle:focus-visible{outline:2px solid var(--orange);outline-offset:2px;}

@media (max-width:640px){
    .theme-toggle{width:44px;height:24px;}
    .theme-toggle::before{width:17px;height:17px;}
    .theme-toggle svg{width:11px;height:11px;margin-top:-5.5px;}
    .theme-toggle .icon-sun{left:5px;}
    .theme-toggle .icon-moon{left:25px;}
    [data-theme="dark"] .theme-toggle::before{transform:translateX(20px);}
}

/* ===== DARK THEME: contrast fix for navy text ===== */
[data-theme="dark"] .logo-word,
[data-theme="dark"] .phone-block,
[data-theme="dark"] nav a,
[data-theme="dark"] .hero h1,
[data-theme="dark"] .locations li,
[data-theme="dark"] .gallery h2,
[data-theme="dark"] .gallery-card h3,
[data-theme="dark"] .how h2,
[data-theme="dark"] .how-step h3,
[data-theme="dark"] .split-text h2,
[data-theme="dark"] .checklist li,
[data-theme="dark"] .tagline-strong,
[data-theme="dark"] .call-card,
[data-theme="dark"] .call-card .big-phone,
[data-theme="dark"] .why h2,
[data-theme="dark"] .why-item h3,
[data-theme="dark"] .icon-circle{
    color:var(--text);
}

[data-theme="dark"] .big-phone a{color:var(--text);}
[data-theme="dark"] .big-phone a:hover{color:var(--orange-dark);}
[data-theme="dark"] .big-email a{color:var(--text);}
[data-theme="dark"] .big-email a:hover{color:var(--orange-dark);}

[data-theme="dark"] .hero h1 .accent,
[data-theme="dark"] .split-text h2 .accent,
[data-theme="dark"] .why h2 .accent,
[data-theme="dark"] nav a:hover{
    color:var(--orange-dark);
}

[data-theme="dark"] .how-num,
[data-theme="dark"] .btn-orange,
[data-theme="dark"] .call-card .phone-icon svg{
    color:var(--navy);
}

[data-theme="dark"] .icon-circle svg{
    color:var(--text);
}

[data-theme="dark"] .nav-toggle svg{
    color:var(--text);
}

/* ================================================
   HINNASTO MODAL
================================================ */
.modal-overlay{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(21,42,74,.45);
    backdrop-filter:blur(4px);
    z-index:80;
    align-items:center;
    justify-content:center;
    padding:20px;
}
.modal-overlay.modal-open{display:flex;}

.modal-box{
    background:var(--bg);
    color:var(--text);
    border-radius:var(--radius);
    max-width:640px;
    width:100%;
    max-height:88vh;
    overflow-y:auto;
    padding:36px 32px 32px;
    position:relative;
    box-shadow:var(--shadow);
    border:1px solid var(--border);
}

.modal-close{
    position:absolute;
    top:14px;right:14px;
    width:34px;height:34px;
    border-radius:50%;
    border:none;
    background:var(--bg-soft);
    color:var(--navy);
    font-size:1.3rem;
    line-height:1;
    cursor:pointer;
    display:flex;align-items:center;justify-content:center;
}
[data-theme="dark"] .modal-close{color:var(--text);}

.modal-title{
    font-size:1.6rem;
    font-weight:800;
    color:var(--navy);
    margin:0 0 6px;
    text-align:center;
}
[data-theme="dark"] .modal-title{color:var(--text);}

.modal-sub{
    color:var(--text-mute);
    margin:0 0 24px;
    font-size:.95rem;
    text-align:center;
}

.modal-box h3{
    font-size:1.05rem;
    font-weight:700;
    color:var(--navy);
    margin:0 0 10px;
    text-align:center;
}
[data-theme="dark"] .modal-box h3{color:var(--text);}

.modal-box p{
    color:var(--text-mute);
    font-size:.92rem;
    margin:0 0 16px;
    text-align:center;
}

.modal-duration-title{
    text-align:center;
    font-size:1.05rem;
    font-weight:700;
    color:var(--navy);
    margin:0 0 8px;
}
[data-theme="dark"] .modal-duration-title{color:var(--text);}

.modal-duration-text{
    text-align:center;
    color:var(--text-mute);
    font-size:.92rem;
    margin:0 0 20px;
}

.modal-table-scroll{
    overflow-x:auto;
    margin:12px 0 24px;
    border:1px solid var(--border);
    border-radius:10px;
}
.modal-table{width:100%;border-collapse:collapse;min-width:480px;font-size:.85rem;}
.modal-table thead th{
    background:var(--navy);
    color:#fff;
    text-align:center;
    font-weight:700;
    padding:12px 14px;
}
.modal-table tbody td{
    padding:12px 14px;
    border-top:1px solid var(--border);
    text-align:center;
}
.modal-table tbody tr:nth-child(odd){background:var(--bg-soft);}

.modal-note{
    text-align:center;
    color:var(--text-mute);
    font-size:.92rem;
    margin:0 0 12px;
}
.modal-note-small{
    font-size:.85rem;
    opacity:.85;
    margin-bottom:24px;
}

.modal-box .btn{width:100%;}

/* Аварийный вызов в прайсе */
.modal-table tbody tr.is-urgent td:first-child{color:#d64545;font-weight:700;}

/* Блок «Siivous- ja korjauspalvelut» в прайсе: выделен фоном, иконка слева */
.modal-extra{
    display:flex;
    gap:18px;
    align-items:flex-start;
    background:#e9eef6;
    border:1px solid #dbe3ef;
    border-radius:12px;
    padding:18px 20px;
    margin:8px 0 18px;
    text-align:left;
}
.modal-extra-icon{width:64px;height:64px;flex-shrink:0;color:var(--navy);}
.modal-extra-text{flex:1;}
.modal-box .modal-extra h3{text-align:left;margin:0 0 6px;font-size:1.02rem;font-weight:800;}
.modal-box .modal-extra p{text-align:left;color:var(--text);margin:0 0 10px;font-size:.92rem;}
.modal-box .modal-extra p.modal-extra-cta{font-weight:700;color:var(--navy);margin:0;}
.modal-box .modal-quote-btn{display:flex;margin-bottom:12px;}
[data-theme="dark"] .modal-extra{background:var(--bg-soft);border-color:var(--border);}
[data-theme="dark"] .modal-extra-icon{color:var(--text);}
[data-theme="dark"] .modal-extra-icon rect{fill:var(--bg-soft);}
[data-theme="dark"] .modal-extra-icon path[stroke="#fff"]{stroke:var(--bg-soft);}
[data-theme="dark"] .modal-box .modal-extra p.modal-extra-cta{color:var(--text);}

@media (max-width:640px){
    .modal-box{padding:28px 18px 24px;}
    .modal-title{font-size:1.3rem;}

    /* Прайс на телефоне: каждая строка — карточка «подпись: значение», ничего не уходит за край */
    .modal-table-scroll{overflow:visible;border:none;}
    .modal-table{min-width:0;}
    .modal-table thead{display:none;}
    .modal-table tbody tr,
    .modal-table tbody tr:nth-child(odd){
        display:block;
        background:var(--bg-soft); /* все карточки одного цвета, как на макете */
        border:1px solid var(--border);
        border-radius:10px;
        margin-bottom:10px;
        padding:8px 16px;
        box-shadow:0 2px 6px -3px rgba(21,42,74,.12);
    }
    .modal-table tbody td{
        display:flex;
        justify-content:space-between;
        gap:12px;
        border-top:none;
        padding:6px 0;
        text-align:right;
    }
    .modal-table tbody td::before{
        content:attr(data-label);
        font-weight:600;
        color:var(--text-mute);
        text-align:left;
    }
    .modal-table tbody td:first-child{font-weight:800;font-size:1rem;justify-content:flex-start;text-transform:uppercase;color:var(--navy);}
    [data-theme="dark"] .modal-table tbody td:first-child{color:var(--text);}
    .modal-table tbody tr.is-urgent td:first-child{color:#d64545;}
    .modal-table tbody td:first-child::before{content:none;} /* название пакета — заголовок карточки, без подписи */
    .modal-table tbody td.td-price{font-weight:800;font-size:1rem;color:var(--navy);}
    [data-theme="dark"] .modal-table tbody td.td-price{color:var(--text);}
    .modal-table tbody td.td-price::before{font-size:.85rem;align-self:center;}

    .modal-extra{gap:12px;padding:14px;}
    .modal-extra-icon{width:52px;height:52px;}
}


/* ====================== MOBILE ========================== */


/* ================================================
   HEADER / NAV — TABLET (≤1100px)
================================================ */
@media (max-width:1100px){
    nav{
        display:flex;
        flex-direction:column;
        justify-content:flex-start;
        align-items:stretch;
        gap:0;

        position:fixed;
        top:0;right:0;
        height:100vh;
        width:50vw;
        max-width:340px;

        background:rgba(255,255,255,.55);
        backdrop-filter:blur(14px);
        -webkit-backdrop-filter:blur(14px);

        margin-left:0;
        padding:100px 28px 28px;
        z-index:45;

        transform:translateX(100%);
        transition:transform .25s ease;
        overflow-y:auto;
    }
    nav.nav-open{transform:translateX(0);}
    nav a{
        font-size:1.05rem;
        padding:14px 0;
        border-bottom:1px solid rgba(21,42,74,.08);
        white-space:nowrap;
    }

    .contact-col .btn-small{display:none;}
    .nav-toggle{display:block;}

    /* --- SERVICES GALLERY --- */
    .gallery-grid{grid-template-columns:repeat(3,1fr);gap:20px 14px;}

    /* --- HOW IT WORKS --- */
    .how-grid{flex-direction:column;}
    .how-arrow{display:none;}

    /* --- WHY CHOOSE --- */
    .why-grid{grid-template-columns:repeat(3,1fr);gap:30px 20px;}

    /* --- RETURN FROM TRIP / CTA SPLIT --- */
    .split-grid{grid-template-columns:1fr;gap:24px;}
    .split-img img{max-height:260px;}

    /* --- STRIP --- */
    .strip-grid{grid-template-columns:repeat(2,1fr);}

    /* --- global spacing --- */
    .wrap{
        padding-left:16px;
        padding-right:16px;
    }
}

/* ================================================
   HEADER / NAV — MOBILE (≤640px)
================================================ */
@media (max-width:640px){
    header{padding-top:10px;padding-bottom:10px;gap:8px;}
    .brand{gap:8px;}
    .brand-logo{height:30px;max-width:60px;}
    .logo-word{font-size:.8rem;overflow:hidden;text-overflow:ellipsis;}
    .logo-sub{display:none;}

    .header-right{gap:6px;}
    .contact-col{gap:2px;flex-shrink:0;}
    .phone-block strong{font-size:.7rem;}
    .phone-block svg{width:12px;height:12px;}
    .btn-small{padding:6px 10px;font-size:.68rem;}

    .nav-toggle svg{width:24px;height:24px;}

    /* --- HERO --- */
    .hero{padding:20px 0 24px;}
    .hero-grid{
        display:block;
        text-align:center;
    }
    .hero-content{margin-bottom:16px;}
    .hero-img-outer{width:100%;padding:8px;box-sizing:border-box;}
    .hero-img-wrap{width:100%;height:auto;border-radius:16px;box-shadow:none;}
    .hero-img-wrap img{width:100%;height:150px;min-height:150px;display:block;object-fit:cover;}
    /* на телефоне значок «Vakuutettu» на фото скрыт */
    .hero-badge-top{display:none;}
    .hero h1{font-size:1.4rem;line-height:1.3;margin:0 0 8px;}
    .hero p{font-size:.88rem;max-width:320px;margin:0 auto 12px;}
    .locations{justify-content:center;gap:6px 14px;margin-bottom:16px;}
    .locations li{font-size:.82rem;}
    .locations svg{width:14px;height:14px;}
    .hero-actions{justify-content:center;gap:10px;width:100%;}
    .hero-actions .btn{flex:1 1 0;max-width:190px;}

    /* --- SERVICES GALLERY --- */
    .gallery{padding:24px 0 12px;}
    .services-head{margin-bottom:18px;}
    .services-sub{font-size:.88rem;}
    .gallery h2{font-size:1.3rem;margin:0 0 20px;}
    .services__title{font-size:1.35rem;}
    /* 6 услуг всегда в 2 колонки — видны за пару прокруток */
    .gallery-grid{grid-template-columns:repeat(2,1fr);gap:10px;}
    .gallery-card{border-radius:16px;}
    .card-media{height:104px;}
    .card-media-inner{border-radius:16px 16px 0 0;}
    .gallery-card-body{padding:20px 10px 12px;}
    .gallery-card h3{font-size:.86rem;line-height:1.2;margin:0 0 7px;}
    .gallery-card ul li{font-size:.75rem;line-height:1.3;margin-bottom:4px;padding-left:11px;}
    .gallery-card ul li::before{width:5px;height:5px;top:5px;}
    .all-services{margin:20px 0 0;}

    /* уменьшаем значок услуги */
    .icon-badge{
        width:32px;
        height:32px;
        bottom:-12px;
        left:10px;
        border-radius:9px;
    }
    .icon-badge svg{
        width:15px;
        height:15px;
    }
    /* --- HOW IT WORKS --- */
    .how{padding:28px 0 32px;}
    .how h2{font-size:1.3rem;margin:0 0 20px;}
    .how-grid{gap:16px;}
    .how-step p{font-size:.82rem;}

    /* --- RETURN FROM TRIP / CTA SPLIT --- */
    .split{padding:20px 0;}
    .split-grid{gap:16px;}
    .split-img img{max-height:170px;}
    .split-text h2{font-size:1.3rem;}
    .split-text p{font-size:.88rem;margin:6px 0 8px;}
    .checklist{gap:6px 14px;}
    .checklist li{font-size:.82rem;}
    .call-card{padding:16px 18px;}
    .call-card .big-phone{font-size:1.25rem;margin-bottom:8px;}
    .big-email{margin:0 0 12px;}
    .big-email a{font-size:1rem;}

    /* --- WHY CHOOSE --- */
    .why{padding:28px 0;}
    .why h2{font-size:1.3rem;margin:0 0 20px;}
    .why-grid{grid-template-columns:repeat(2,1fr);gap:20px 14px;}
    .why-item .icon-circle{width:48px;height:48px;margin:0 auto 10px;}
    .why-item .icon-circle svg{width:20px;height:20px;}
    .why-item h3{font-size:.78rem;margin:0 0 4px;}
    .why-item p{font-size:.78rem;}

    /* --- STRIP --- */
    .strip-grid{padding:20px 0;gap:14px;}
    .strip-item .icon-circle{width:52px;height:52px;}
    .strip-item .icon-circle svg{width:22px;height:22px;}
    .strip-item h4{font-size:.8rem;}
    .strip-item p{font-size:.75rem;}

    /* --- FOOTER --- */
    footer{padding:20px 0;}
    .footer-grid{flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:18px;}
    .footer-brand{gap:10px;}
    .footer-contact{flex-direction:row;flex-wrap:wrap;align-items:center;gap:10px 20px;width:100%;}
    .footer-contact a{font-size:.85rem;}
    .footer-social{gap:10px;margin-left:auto;}
    .footer-social a{width:36px;height:36px;}

    /* --- global spacing (override tablet value for tighter mobile) --- */
    .wrap{
        padding-left:16px;
        padding-right:16px;
    }
}

@media (max-width:380px){
    .phone-block{display:none;}
}
/* ================================================
   ВХОД В КАБИНЕТ (KIRJAUDU / OMA TILI), ЮРИДИЧЕСКИЕ ССЫЛКИ, ПЛАШКА EVÄSTEET, СТРАНИЦЫ LEGAL
================================================ */
.brand{color:inherit;}

/* На компьютере — обведённая кнопка в конце меню */
nav a.nav-login{
    border:2px solid var(--navy);
    border-radius:999px;
    padding:4px 16px;
}
nav a.nav-login:hover{background:var(--navy);color:#fff;}
[data-theme="dark"] nav a.nav-login{border-color:var(--text);}
[data-theme="dark"] nav a.nav-login:hover{background:var(--text);color:var(--bg);}

/* В выезжающем меню (планшет, телефон) — обычный пункт, выделен цветом */
@media (max-width:1100px){
    nav a.nav-login{
        border:none;border-radius:0;padding:14px 0;
        color:var(--orange-dark);
    }
    nav a.nav-login:hover{background:none;color:var(--orange-dark);}
    [data-theme="dark"] nav a.nav-login:hover{background:none;color:var(--orange-dark);}
}

/* Переключатель языка FI / EN — последний пункт меню (partials/site/header).
   На компьютере — в строке меню, в выезжающем меню — отдельной строкой */
nav .lang-switch{display:flex;align-items:center;gap:4px;}
nav .lang-switch a{padding:4px 6px;font-size:.85rem;color:var(--text-mute);}
nav .lang-switch a.is-active{color:var(--orange-dark);}
nav .lang-switch a + a{border-left:1px solid var(--border);}
/* Компьютер (меню в строке): компактная шапка, всё в одну строку на fi/en/sv.
   - меньше отступы в меню, переключатель языка мельче и вплотную;
   - блок «OTA YHTEYTTÄ» и переключатель темы не сжимаются: меню не может на них наехать. */
@media (min-width:1101px){
    header{gap:12px;}
    nav{gap:22px;margin-left:20px;}
    nav a{font-size:.9rem;}
    nav a.nav-login{padding:4px 12px;}
    nav .lang-switch{gap:0;}
    nav .lang-switch a{padding:2px 6px;font-size:.8rem;}
    .theme-toggle{margin-left:auto;}            /* прижат к кнопке справа, а не посередине */
    .header-right{flex-shrink:0;}
    .contact-col{flex-shrink:0;}
}
/* Неширокий экран компьютера: ещё плотнее */
@media (min-width:1101px) and (max-width:1400px){
    .brand{gap:8px;}
    .brand-logo{height:38px;}
    .logo-word{font-size:1.05rem;}
    .logo-sub{white-space:normal;max-width:220px;line-height:1.3;} /* подпись в две строки */
    nav{gap:14px;margin-left:12px;}
    nav a{font-size:.85rem;}
    nav a.nav-login{padding:3px 10px;}
    .btn-small{padding:8px 14px;}
}
@media (max-width:1100px){
    nav .lang-switch{padding:14px 0;gap:0;border-bottom:1px solid rgba(21,42,74,.08);}
    nav .lang-switch a{font-size:1.05rem;padding:0 12px 0 0;border-bottom:none;}
    nav .lang-switch a + a{padding-left:12px;}
}

/* Подвал: строка с копирайтом и ссылками на Tietosuojaseloste и Evästeet */
.footer-legal{
    display:flex;flex-wrap:wrap;gap:8px 22px;align-items:center;
    margin-top:24px;padding-top:16px;
    border-top:1px solid rgba(255,255,255,.12);
    font-size:.8rem;color:rgba(255,255,255,.6);
}
.footer-legal a{color:rgba(255,255,255,.85);text-decoration:underline;text-underline-offset:3px;}
.footer-legal a:hover{color:var(--orange);}

/* Плашка про evästeet внизу экрана */
.cookie-notice{
    position:fixed;left:16px;right:16px;bottom:16px;z-index:70;
    max-width:720px;margin:0 auto;
    display:flex;align-items:center;gap:16px;
    background:var(--bg);color:var(--text);
    border:1px solid var(--border);border-radius:14px;
    box-shadow:0 12px 40px -10px rgba(0,0,0,.35);
    padding:14px 18px;
}
.cookie-notice[hidden]{display:none;}
body.has-cookie-notice{padding-bottom:110px;}
@media (max-width:640px){ body.has-cookie-notice{padding-bottom:170px;} }
.cookie-notice p{margin:0;font-size:.88rem;line-height:1.45;color:var(--text-mute);}
.cookie-notice a{color:var(--orange-dark);text-decoration:underline;}
.cookie-notice .btn{flex-shrink:0;}
@media (max-width:640px){
    .cookie-notice{flex-direction:column;align-items:stretch;left:10px;right:10px;bottom:10px;}
    .cookie-notice .btn{width:100%;min-height:42px;padding:0 20px;font-size:.85rem;}
}

/* Страницы Evästeet и Tietosuojaseloste */
.legal{max-width:820px;padding-top:48px;padding-bottom:64px;}
.legal h1{font-size:2.1rem;color:var(--navy);margin:0 0 6px;}
.legal h2{font-size:1.2rem;color:var(--navy);margin:34px 0 10px;}
.legal p,.legal li{color:var(--text-mute);line-height:1.65;}
.legal ul{list-style:disc;padding-left:22px;}
.legal li{margin-bottom:6px;}
.legal a{color:var(--orange-dark);text-decoration:underline;text-underline-offset:3px;}
/* Кнопка внутри юр. страницы (LATAA PDF на /sopimusehdot): без этого текст оранжевый на оранжевом */
.legal a.btn-orange{color:var(--navy);text-decoration:none;}
.legal strong,.legal em{color:var(--text);}
.legal code{font-size:.85em;background:var(--bg-soft);border:1px solid var(--border);border-radius:6px;padding:1px 6px;}
.legal-updated{font-size:.85rem;margin:0 0 24px;}
.legal-table{border:1px solid var(--border);border-radius:10px;overflow:hidden;margin:12px 0;}
.legal-table table{width:100%;border-collapse:collapse;font-size:.9rem;}
.legal-table th{background:var(--navy);color:#fff;text-align:left;padding:10px 14px;}
.legal-table td{padding:10px 14px;border-top:1px solid var(--border);vertical-align:top;color:var(--text-mute);}
[data-theme="dark"] .legal h1,[data-theme="dark"] .legal h2{color:var(--text);}
@media (max-width:640px){
    .legal{padding-top:28px;}
    .legal h1{font-size:1.6rem;}
    .legal-table thead{display:none;}
    .legal-table tr{display:block;border-top:1px solid var(--border);padding:8px 14px;}
    .legal-table tr:first-child{border-top:none;}
    .legal-table td{display:block;border:none;padding:3px 0;}
    .legal-table td::before{content:attr(data-label) ": ";font-weight:600;color:var(--text);}
}


/* ================================================
   НАДПИСЬ KOTIVAHTIPRO — цвета логотипа
   KOTI синий, VAHTI золотой, PRO синий (в одну строку).
   Шапка: светлые/тёмные цвета по теме. Футер всегда тёмно-синий — там всегда «тёмные» цвета.
================================================ */
.logo-word{
    --kv-blue-1:#1f6ff5; --kv-blue-2:#0a4fc4; --kv-blue-3:#073a92;
    --kv-gold-1:#f2b200; --kv-gold-2:#d99100; --kv-gold-3:#a86a00;
    --kv-edge:rgba(4,30,80,.18);
    --kv-glow:none;
}
[data-theme="dark"] .logo-word,
footer .logo-word{
    --kv-blue-1:#5aa2ff; --kv-blue-2:#1d72ff; --kv-blue-3:#0a4fd0;
    --kv-gold-1:#ffe27a; --kv-gold-2:#ffc21a; --kv-gold-3:#e09a00;
    --kv-edge:rgba(0,0,0,.45);
    --kv-glow:drop-shadow(0 0 8px rgba(29,114,255,.35)) drop-shadow(0 0 12px rgba(255,194,26,.18));
}
.logo-word .kv-koti,
.logo-word .kv-vahti,
.logo-word .kv-pro{
    -webkit-background-clip:text;
            background-clip:text;
    -webkit-text-fill-color:transparent;
    -webkit-text-stroke:.5px var(--kv-edge);
    filter:var(--kv-glow);
}
.logo-word .kv-koti,
.logo-word .kv-pro{
    color:var(--kv-blue-2); /* запасной цвет для старых браузеров */
    background-image:linear-gradient(180deg,var(--kv-blue-1) 0%,var(--kv-blue-2) 55%,var(--kv-blue-3) 100%);
}
.logo-word .kv-vahti{
    color:var(--kv-gold-2);
    background-image:linear-gradient(180deg,var(--kv-gold-1) 0%,var(--kv-gold-2) 55%,var(--kv-gold-3) 100%);
}
