:root {
    --bg-dark: #0A0A0A;
    --accent-glow: rgba(55, 85, 52, 0.35);
    --accent-btn: #C4E82E;
    --accent-glow-soft: rgba(196, 232, 46, 0.35);
    --text-main: #EAEAEA;
    --text-muted: rgba(234, 234, 234, 0.55);
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.09);
    --bor: rgba(255, 255, 255, 0.09);
    --sur: rgba(255, 255, 255, 0.04);
    --gw-glow-1: rgba(196, 232, 46, 0.95);
    --gw-glow-2: rgba(150, 210, 55, 0.88);
    --gw-glow-3: rgba(80, 160, 45, 0.72);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
}

body {
    font-family: var(--font-main);
    font-weight: 400;
    color: var(--text-main);
    background-image: 
        radial-gradient(circle at 10% 20%, var(--accent-glow) 0%, transparent 30%),
        radial-gradient(circle at 90% 30%, var(--accent-glow) 0%, transparent 30%),
        radial-gradient(circle at 80% 80%, var(--accent-glow) 0%, transparent 30%),
        radial-gradient(circle at 20% 70%, var(--accent-glow) 0%, transparent 30%);
    background-attachment: fixed;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@keyframes noise-animation { 0% { transform: translate(0,0); } 10% { transform: translate(-5%,-5%); } 20% { transform: translate(-10%,5%); } 30% { transform: translate(5%,-10%); } 40% { transform: translate(-5%,15%); } 50% { transform: translate(-10%,-5%); } 60% { transform: translate(15%,0); } 70% { transform: translate(0,10%); } 80% { transform: translate(-15%,0); } 90% { transform: translate(10%,5%); } 100% { transform: translate(5%,0); } }
.noise-overlay { position: fixed; top: -50%; left: -50%; width: 200%; height: 200%; z-index: -1; background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEV8fHx8fHx8fHx8fHx8fHx8fHx8fHwqD2/3AAAACHRSTlMAAQ4PIyQlJygvOkF+f6mrAAAAAWJLR0QAiAUdSAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAFVJREFUOMtjYMAFWFLi4uLExMXFiciD5Y8P/H/4/4//H/5/2P/x//X/t//X/p/5f+b/if8T/w/+H/w/8H/g/8D/g/8H/h/8P/B/4D8QAAC1eQ4YxJq9aQAAAABJRU5ErkJggg==); opacity: 0.03; animation: noise-animation .2s infinite; }

@font-face {
    font-family: 'Involve';
    src: url('https://klageportfolio.com/assets/fonts/Involve.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

.container { max-width: 1000px; margin: 0 auto; padding: 0 40px; }

/* === HEADER (размеры как на klageportfolio.com) === */
@keyframes slideDown { from { transform: translateY(-100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.header { position: fixed; width: 100%; top: 0; z-index: 1000; padding-top: max(18px, env(safe-area-inset-top, 18px)); animation: slideDown 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; transition: padding-top 0.4s ease; }
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 64px;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.header.scrolled { padding-top: 10px; }
.header.scrolled .header-inner {
    max-width: 680px;
    margin: 0 auto;
    background: rgba(8, 6, 4, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0 12px 0 24px;
    border-radius: 100px;
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
    min-height: 56px;
}
.logo {
    font-family: 'Involve', sans-serif;
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 0.35em;
    color: var(--text-main);
    text-decoration: none;
    text-transform: uppercase;
    line-height: 1;
}
.nav { display: flex; align-items: center; gap: 9px; }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu .nav-link {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 5px 13px;
    border-radius: 100px;
    transition: color 0.28s;
}
.nav-menu .nav-link:hover { color: #fff; }
.lang-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 11px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4) !important;
    text-decoration: none;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    transition: color 0.25s, border-color 0.25s;
}
.lang-switch:hover { color: #fff !important; border-color: rgba(255, 255, 255, 0.35); }
.header-right { display: flex; align-items: center; gap: 9px; }
.header .btn-accent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 17px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 100px;
    background: var(--accent-btn);
    color: #000;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}
.header .btn-accent:visited,
.header .btn-accent:active {
    color: #000;
    background: var(--accent-btn);
}
.header .btn-accent:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--accent-glow-soft);
    color: #000;
    background: var(--accent-btn);
}
.burger-menu { display: none; }

/* === HERO SECTION (типографика как на klageportfolio.com) === */
@keyframes hero-fi {
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes gw-pulse-opacity {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
@keyframes ice-float {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0.72; }
    50% { transform: translate3d(0, -0.12em, 0) rotate(18deg); opacity: 1; }
}
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 24px;
    position: relative;
    width: 100%;
}
.hero-content { position: relative; z-index: 2; }
.htitle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 0;
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    animation: hero-fi 0.9s 0.1s forwards;
    position: relative;
    z-index: 2;
    will-change: opacity, transform;
}
.hsup {
    font-family: 'Involve', sans-serif;
    font-size: clamp(8.5px, 2.2vw, 9.5px);
    font-weight: 700;
    letter-spacing: 0.25em;
    padding-left: 0.25em;
    text-transform: uppercase;
    color: var(--accent-btn);
    text-shadow: 0 0 12px rgba(196, 232, 46, 0.45);
    margin-bottom: -4px;
    text-align: center;
}
.hhand {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(20px, 3.5vw, 36px);
    font-weight: 300;
    letter-spacing: 0.03em;
    text-transform: none;
    color: #fff;
    margin: 0;
    position: relative;
    z-index: 2;
    line-height: 1;
}
.gw-ice-wrap {
    display: inline-block;
    position: relative;
    font-size: clamp(22px, 4.2vw, 68px);
    line-height: 1.08;
    padding: 0.14em 0.04em 0.2em;
    margin: -0.18em 0 0.04em;
    vertical-align: middle;
}
.ice {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    width: 0.2em;
    height: 0.2em;
    min-width: 7px;
    min-height: 7px;
    background: linear-gradient(145deg, rgba(235, 252, 255, 0.95), rgba(160, 215, 255, 0.4));
    box-shadow: 0 0 0.06em rgba(200, 240, 255, 0.55);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: ice-float 3.2s ease-in-out infinite;
    will-change: transform, opacity;
}
.ice--1 { top: -0.28em; left: -0.08em; animation-delay: 0s; }
.ice--2 { top: -0.22em; right: -0.06em; animation-delay: 0.35s; }
.ice--4 { bottom: -0.26em; left: 12%; animation-delay: 0.2s; }
.ice--6 { left: -0.2em; top: 38%; animation-delay: 0.9s; }
.ice--7 { right: -0.18em; top: 42%; animation-delay: 0.15s; }
@media (prefers-reduced-motion: reduce) {
    .ice {
        animation: none;
        opacity: 0.8;
    }
}
.gw-container {
    position: relative;
    z-index: 1;
    display: inline-grid;
    place-items: center;
    transform: translateZ(0);
    font-size: 1em;
}
.gw-blur,
.gw-sharp,
.gw-text {
    grid-area: 1 / 1;
    font-family: 'Involve', sans-serif;
    font-size: 1em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.1;
    padding: 0 0.05em;
}
.gw-blur {
    color: #fff;
    filter: blur(6px);
    user-select: none;
    pointer-events: none;
    text-shadow:
        0 0 40px var(--gw-glow-1),
        0 0 90px var(--gw-glow-2),
        0 0 190px var(--gw-glow-3);
    will-change: opacity;
    animation: gw-pulse-opacity 4s ease-in-out infinite alternate;
    transform: translateZ(0);
}
.gw-sharp {
    color: #fff;
    user-select: none;
    pointer-events: none;
    text-shadow:
        0 0 8px rgba(196, 232, 46, 0.55),
        0 0 8px rgba(255, 255, 255, 0.45);
    mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.5) 10%, black 20%, black 80%, rgba(0, 0, 0, 0.5) 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.5) 10%, black 20%, black 80%, rgba(0, 0, 0, 0.5) 90%, transparent 100%);
}
.gw-text {
    color: transparent;
    user-select: text;
    z-index: 5;
}
.desc {
    color: var(--text-muted);
    font-size: clamp(14px, 1.55vw, 16.5px);
    font-weight: 400;
    line-height: 1.75;
    max-width: 520px;
    margin: 25px auto 35px;
}

/* === BUTTONS (герой/футер — как bpri/bsec на klageportfolio.com) === */
.btn {
    border-radius: 100px;
    text-decoration: none;
    transition: transform 0.22s, box-shadow 0.22s, background 0.22s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}
.hero-buttons .btn,
.footer-buttons .btn {
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 13px 26px;
    gap: 9px;
}
.hero-buttons .btn-accent,
.footer-buttons .btn-accent {
    background: var(--accent-btn);
    color: #000;
}
.hero-buttons .btn-accent:hover,
.footer-buttons .btn-accent:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px var(--accent-glow-soft), 0 0 60px rgba(196, 232, 46, 0.15);
}
.hero-buttons .btn-dark {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--bor);
    font-weight: 600;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.hero-buttons .btn-dark:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.09);
}
.hero-buttons { display: flex; gap: 11px; flex-wrap: wrap; justify-content: center; }

/* === GENERAL SECTION STYLES (как .cnt / .slbl / .stitle / .wcard) === */
.section { padding: 100px 0; }
h2.section-title {
    font-size: 10px;
    letter-spacing: 0.32em;
    padding-left: 0.32em;
    text-transform: uppercase;
    color: var(--accent-btn);
    font-weight: 700;
    margin-bottom: 50px;
    line-height: 1.4;
}
h2.section-title span {
    font-family: 'Involve', sans-serif;
    font-size: clamp(26px, 3.8vw, 46px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-top: 14px;
    margin-bottom: 0;
    color: var(--text-main);
    display: block;
    text-transform: none;
}
.glass-card {
    background: var(--sur);
    border: 1px solid var(--bor);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 14px;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.15s ease;
    transform: translateZ(0);
}
.glass-card:hover { transform: translate3d(0, -5px, 0); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); border-color: rgba(196, 232, 46, 0.3); }
.review-card.glass-card {
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.02);
}
.review-card.glass-card:hover {
    transform: translateY(-3px);
    box-shadow: none;
    border-color: var(--bor);
}
.video-grid + h2.section-title { margin-top: 60px; }
.video-grid { display: grid; gap: 24px; margin-top: 0; }
.video-grid.horizontal { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.video-grid.vertical { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.video-card {
    overflow: hidden;
    background: rgba(0, 0, 0, 0.75);
}
.video-shell {
    position: relative;
    width: 100%;
    background: #000;
}
.video-grid.horizontal .video-shell { aspect-ratio: 16 / 9; }
.video-grid.vertical .video-shell { aspect-ratio: 9 / 16; }
.portfolio-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    background: #000;
}
.video-label {
    margin: 0;
    padding: 11px 12px;
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.03em;
}
.video-card.video-unavailable .video-shell::before {
    content: attr(data-video-error);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.85));
}

/* === ABOUT, REVIEWS, FAQ === */
.about-card { display: flex; gap: 35px; padding: 35px; align-items: center; }
.about-photo { width: 120px; height: 120px; background: #111; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--text-muted); flex-shrink: 0; }
.about-text h3 {
    font-family: 'Involve', sans-serif;
    font-size: 34px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 22px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.about-text p { color: rgba(232, 230, 222, 0.72); font-size: 14.5px; line-height: 1.82; margin-bottom: 18px; }
.about-text p:last-child { margin-bottom: 0; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.review-card {
    padding: 24px;
    border: 1px solid var(--bor);
    transition: transform 0.3s, background 0.3s;
}
.review-card:hover { background: rgba(255, 255, 255, 0.03); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.review-header .avatar { width: 40px; height: 40px; background: #111; border-radius: 50%; }
.review-header h4 { font-size: 13.5px; font-weight: 600; color: var(--text-main); line-height: 1.6; }
.review-header span { font-size: 11px; color: var(--text-muted); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.review-card p { font-size: 13.5px; line-height: 1.6; color: var(--text-main); font-style: normal; }
.faq-wrapper.glass-card {
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.faq-wrapper.glass-card:hover {
    transform: none;
    border-color: transparent;
    box-shadow: none;
}
.faq-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.faq-item {
    border: 1px solid var(--bor);
    border-radius: 13px;
    overflow: hidden;
    transition: border-color 0.28s, box-shadow 0.28s;
}
.faq-item.active {
    border-color: rgba(196, 232, 46, 0.5);
    box-shadow: 0 0 40px rgba(196, 232, 46, 0.1);
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-main);
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 500;
    text-align: left;
    padding: 20px 26px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.28s;
}
.faq-question:hover { background: rgba(255, 255, 255, 0.02); }
.faq-item.active .faq-question { background: rgba(196, 232, 46, 0.03); }
.faq-question .icon { font-size: 20px; font-weight: 300; color: var(--text-muted); transition: transform 0.32s ease, color 0.28s ease; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-answer p { padding: 14px 26px 24px; font-size: 13.5px; line-height: 1.78; color: var(--text-muted); }
.faq-item.active .faq-answer { max-height: 280px; }
.faq-item.active .icon { transform: rotate(45deg); color: var(--accent-btn); }

/* === SCROLL INDICATOR & FOOTER (как .sdown / CTA / .fcopy) === */
.scroll-indicator { position: absolute; bottom: 34px; left: 0; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 7px; }
.scroll-indicator span { font-size: 10px; letter-spacing: 0.25em; color: var(--text-muted); font-weight: 500; }
.scroll-indicator .line { width: 1px; height: 38px; background: linear-gradient(to bottom, var(--accent-btn), transparent); }
.footer { text-align: center; padding: 80px 0 100px; background: linear-gradient(to top, rgba(0,0,0,0.4), transparent); }
.footer-title {
    font-family: 'Involve', sans-serif;
    font-size: clamp(26px, 3.8vw, 50px);
    font-weight: 700;
    line-height: 1.08;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}
.footer-desc {
    font-size: 15.5px;
    line-height: 1.72;
    color: var(--text-muted);
    max-width: 440px;
    margin: 0 auto 40px;
}
.footer-buttons { display: flex; gap: 11px; justify-content: center; flex-wrap: wrap; margin-bottom: 80px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 50px 0 0; border-top: 1px solid var(--bor); max-width: 1000px; margin: 0 auto; }
.copyright { font-size: 11px; letter-spacing: 0.1em; font-weight: 500; color: rgba(255, 255, 255, 0.5); }

/* === ANIMATIONS === */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in:nth-child(2) { transition-delay: 0.1s; } .fade-in:nth-child(3) { transition-delay: 0.2s; } .fade-in:nth-child(4) { transition-delay: 0.3s; }

/* === RESPONSIVE & BURGER MENU === */
.burger-menu {
    display: none; flex-direction: column; gap: 5px; width: 24px; height: 24px;
    background: transparent; border: none; cursor: pointer; z-index: 1001;
}
.burger-menu span { width: 100%; height: 2px; background-color: white; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.burger-menu.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-menu.active span:nth-child(2) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
    .container { padding: 0 24px; }
    .header.scrolled .header-inner { max-width: calc(100vw - 32px); }
    .nav {
        position: relative;
        z-index: 1000;
        flex-shrink: 0;
        gap: 16px;
    }
    .nav-menu {
        position: fixed; top: 0; left: 0; width: 100%; height: 100%;
        background-color: rgba(10, 10, 10, 0.95); backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px); flex-direction: column; justify-content: center;
        align-items: center; gap: 25px; transform: translateY(-100%);
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        opacity: 0; pointer-events: none; z-index: 999;
    }
    .nav-menu.active {
        transform: translateY(0); opacity: 1; pointer-events: all;
    }
    .nav-menu .nav-link { font-size: 22px; }
    .lang-switch {
        margin-left: 0;
        position: relative;
        z-index: 1002;
        flex-shrink: 0;
    }
    .header-right { display: none; }
    .burger-menu { display: flex; }
    .footer-bottom { flex-direction: column; gap: 15px; }
}

@media (max-width: 600px) {
    h2.section-title { font-size: 9.5px; margin-bottom: 40px; }
    h2.section-title span { font-size: 28px; }
    .about-text h3 { font-size: 26px; }
    .hsup {
        font-size: 7.5px;
        margin-bottom: -2px;
    }
    .gw-ice-wrap {
        font-size: clamp(16px, 3.8vw, 36px);
    }
    .hhand {
        font-size: clamp(20px, 6.5vw, 24px);
    }
    .htitle {
        gap: 8px;
    }
    .desc {
        margin-top: 15px;
        margin-bottom: 30px;
        font-size: 14px;
        line-height: 1.6;
    }
}

@media (max-width: 768px) {
    .hero { padding: 100px 24px 60px; }
    .desc { font-size: 14px; }
    .hero-buttons { flex-direction: column; gap: 12px; align-items: stretch; width: max-content; max-width: 100%; margin-left: auto; margin-right: auto; }
    .hero-buttons .btn { width: 100%; max-width: 320px; justify-content: center; font-size: 13.5px; padding: 13px 26px; }
    .section { padding: 70px 0; }
    .video-grid.horizontal, .reviews-grid { grid-template-columns: 1fr; }
    .video-grid.vertical { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
    .about-card { flex-direction: column; text-align: center; }
}
