:root, html[data-theme="light"] {
    --bg:        #FFFFFF;
    --bg-alt:    #F4F4F4;
    --bg-soft:   #ECECEC;
    --ink:       #1A1A1A;
    --steel:     #5A5F5F;
    --steel-light:#8C9090;
    --line:      #E4E4E4;
    --line-strong:#CFCFCF;
    --white:     #FFFFFF;
    --header-bg: rgba(255,255,255,0.92);

    --dark:      #373939;
    --dark-2:    #262828;
    --dark-soft: #454848;

    --orange:    #ED701D;
    --orange-hover:#F18B10;
    --orange-dark:#C85F10;
    --orange-light:#FFF0E2;

    --blue:      #05547F;
    --blue-hover:#0748A7;
    --blue-light:#E7F0F7;

    --purple:    #563E80;

    --shadow-sm: 0 2px 10px rgba(0,0,0,0.08);
    --shadow:    0 10px 30px rgba(8,67,72,0.10);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.22);
    --shadow-orange: 0 6px 18px rgba(237,112,29,0.32);

    --radius:    8px;
    --radius-lg: 16px;
    --radius-pill: 100px;

    --trans: all 0.3s cubic-bezier(0.4,0,0.2,1);
    --trans-fast: all 0.15s cubic-bezier(0.4,0,0.2,1);

    --section-pad: 90px 0;
    --cont-pad: 20px;
}

html[data-theme="dark"] {
    --bg:        #101214;
    --bg-alt:    #17191C;
    --bg-soft:   #1E2124;
    --ink:       #F2F2F0;
    --steel:     #ABB0B0;
    --steel-light:#767B7B;
    --line:      #2A2D30;
    --line-strong:#3A3E42;
    --white:     #1B1E21;
    --header-bg: rgba(16,18,20,0.86);

    --dark:      #050606;
    --dark-2:    #000000;
    --dark-soft: #1A1C1D;

    --orange-light: rgba(237,112,29,0.14);
    --blue-light: rgba(5,84,127,0.22);

    --shadow-sm: 0 2px 12px rgba(0,0,0,0.5);
    --shadow:    0 10px 34px rgba(0,0,0,0.55);
    --shadow-lg: 0 24px 64px rgba(0,0,0,0.65);
    --shadow-orange: 0 6px 22px rgba(237,112,29,0.5);
}

html { transition: background-color 0.35s ease; }
body { transition: background-color 0.35s ease, color 0.35s ease; }
.header, .about-card, .svc-card, .cta-band, .request-band, .info-card, .partner-tile,
.contact-card, .perk-card, .adv-card, .nav-dropdown, .nav.open, .form-field input,
.form-field textarea, .form-field select, .mini-gallery-item, .project-photo, .map-block {
    transition: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease, var(--trans);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { font-size:16px; scroll-behavior:smooth; }
body {
    font-family:'Inter',-apple-system,BlinkMacSystemFont,sans-serif;
    background:var(--bg);
    color:var(--ink);
    line-height:1.6;
    overflow-x:hidden;
    -webkit-font-smoothing:antialiased;
    min-width:320px;
}

img { max-width:100%; display:block; }
::selection { background:var(--orange); color:#fff; }

h1,h2,h3,h4 { font-family:'Montserrat',sans-serif; font-weight:800; color:var(--ink); }

.container { width:100%; max-width:1360px; margin:0 auto; padding:0 var(--cont-pad); }
.section { padding:var(--section-pad); width:100%; position:relative; }
.section-alt { background:var(--bg-alt); }
.section-dark { background:var(--dark); color:#fff; position:relative; overflow:hidden; }
.section-dark .section-title, .section-dark h1, .section-dark h2, .section-dark h3 { color:#fff; }

.grid { display:grid; gap:1px; background:var(--line); border:1px solid var(--line); }
.grid-1 { grid-template-columns:1fr; }
.grid > * { background:var(--bg); }
.section-alt .grid > * { background:var(--bg-alt); }

.ghost-text {
    position:absolute; top:-0.12em; left:0; right:0; text-align:center;
    font-family:'Montserrat',sans-serif; font-weight:800; line-height:0.8;
    font-size:clamp(4rem,14vw,11rem); color:rgba(255,255,255,0.05);
    white-space:nowrap; pointer-events:none; z-index:0; user-select:none;
}

.diagonal-accent {
    position:absolute; top:0; right:0; width:44px; height:220px;
    background:var(--orange); z-index:2;
    clip-path:polygon(0 100%, 100% 0%, 100% 100%);
    display:none;
}

.eyebrow {
    font-family:'Inter',sans-serif; font-size:0.78rem; font-weight:700;
    text-transform:uppercase; letter-spacing:0.14em; color:var(--orange);
    margin-bottom:14px; display:flex; align-items:center; gap:10px;
}

.eyebrow::before { content:''; display:block; width:22px; height:3px; background:var(--orange); border-radius:2px; flex-shrink:0; }
.section-header.center .eyebrow { justify-content:center; }
.section-dark .eyebrow { color:var(--orange); }

.section-header { margin-bottom:44px; position:relative; z-index:1; }
.section-header.center { text-align:center; }
.section-title { font-size:clamp(1.9rem,4.8vw,3.1rem); font-weight:800; line-height:1.08; letter-spacing:-0.01em; }
.section-title span { color:var(--orange); }
.section-subtitle { font-size:clamp(0.94rem,2.6vw,1.05rem); color:var(--steel); line-height:1.7; max-width:640px; margin-top:16px; font-family:'Inter',sans-serif; font-weight:400; }
.section-dark .section-subtitle { color:rgba(255,255,255,0.62); }
.section-header.center .section-subtitle { margin-left:auto; margin-right:auto; }

.btn {
    display:inline-flex; align-items:center; justify-content:center; gap:10px;
    padding:17px 30px; border:1px solid transparent; border-radius:var(--radius);
    font-size:0.9rem; font-weight:700; text-decoration:none; cursor:pointer;
    transition:var(--trans); min-height:54px; width:100%; font-family:'Inter',sans-serif;
}

.btn-primary { background:var(--orange); color:#fff; box-shadow:var(--shadow-orange); }
.btn-primary:hover { background:var(--orange-hover); box-shadow:0 10px 26px rgba(237,112,29,0.42); transform:translateY(-2px); }
.btn-secondary { background:transparent; color:#fff; border:1.5px solid rgba(255,255,255,0.4); }
.btn-secondary:hover { background:rgba(255,255,255,0.1); border-color:#fff; }
.btn-outline-dark { background:transparent; color:var(--ink); border:1.5px solid var(--line-strong); }
.btn-outline-dark:hover { border-color:var(--orange); color:var(--orange); }
.btn-ghost { background:transparent; color:var(--blue); border:none; width:auto; min-height:auto; padding:0; font-weight:700; font-size:0.92rem; }
.btn-ghost:hover { color:var(--orange); }
.btn-ghost i { transition:var(--trans-fast); }
.btn-ghost:hover i { transform:translateX(4px); }

.topbar { background:var(--dark); color:rgba(255,255,255,0.72); font-size:0.8rem; }
.topbar .container { display:flex; align-items:center; justify-content:space-between; height:38px; flex-wrap:wrap; gap:4px; }
.topbar a { color:rgba(255,255,255,0.85); text-decoration:none; }
.topbar a:hover { color:var(--orange); }
.topbar-phone { display:flex; align-items:center; gap:8px; font-weight:600; color:#fff; }
.topbar-phone i { color:var(--orange); }

.header {
    position:sticky; top:0; left:0; right:0; z-index:1000;
    border-bottom:1px solid var(--line); transition:var(--trans); width:100%;
}

.header::before {
    content:''; position:absolute; inset:0; z-index:-1;
    background:var(--header-bg); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
}

.header.scrolled { box-shadow:var(--shadow-sm); }
.header-content { display:flex; align-items:center; justify-content:space-between; height:78px; gap:16px; }

.logo { display:flex; align-items:center; gap:12px; text-decoration:none; flex-shrink:1; min-width:0; }
.logo-mark {
    width:44px; height:44px; border-radius:var(--radius); flex-shrink:0;
    display:flex; align-items:center; justify-content:center;
    color:#fff; font-size:1.2rem;
}

.logo-mark-img { width:100%; height:100%; object-fit:contain; }
.logo-text-block { display:flex; flex-direction:column; line-height:1.15; min-width:0; }
.logo-text { font-family:'Montserrat',sans-serif; font-size:clamp(0.88rem,2.8vw,1.05rem); font-weight:800; color:var(--ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.logo-accent { color:var(--orange); }
.logo-sub { font-family:'Inter',sans-serif; font-size:0.62rem; letter-spacing:0.08em; text-transform:uppercase; color:var(--steel-light); white-space:nowrap; }

.nav { display:none; }
.nav-item { position:relative; }
.nav-link {
    color:var(--ink); text-decoration:none; font-weight:700; font-size:0.9rem;
    transition:var(--trans-fast); padding:14px 15px; display:flex; align-items:center; gap:6px; position:relative;
}

.nav-link::after { content:''; position:absolute; left:15px; right:15px; bottom:8px; height:2px; background:var(--orange); transform:scaleX(0); transform-origin:left; transition:var(--trans-fast); }
.nav-link i.chev { font-size:0.62rem; color:var(--steel-light); transition:var(--trans-fast); }
.nav-link:hover, .nav-link.active { color:var(--orange-dark); }
.nav-link:hover::after, .nav-link.active::after { transform:scaleX(1); }
.nav-item:hover .nav-link i.chev { transform:rotate(180deg); color:var(--orange); }

.nav-dropdown {
    position:absolute; top:100%; left:0; background:var(--white); border:1px solid var(--line);
    border-radius:var(--radius-lg); box-shadow:var(--shadow-lg); min-width:280px; padding:10px;
    opacity:0; visibility:hidden; transform:translateY(8px); transition:all 0.2s ease; z-index:50;
}

.nav-item:hover .nav-dropdown { opacity:1; visibility:visible; transform:translateY(0); }
.nav-dropdown a {
    display:flex; align-items:center; gap:10px; padding:12px 13px; color:var(--steel); text-decoration:none;
    font-size:0.88rem; font-weight:600; border-radius:var(--radius); transition:var(--trans-fast);
}

.nav-dropdown a i { color:var(--orange); width:16px; text-align:center; font-size:0.85rem; }
.nav-dropdown a:hover { background:var(--orange-light); color:var(--orange-dark); }

.header-cta { display:none; align-items:center; gap:14px; }
.header-phone { text-align:right; }
.header-phone-num { display:block; font-family:'Montserrat',sans-serif; font-weight:800; color:var(--ink); font-size:0.95rem; text-decoration:none; }
.header-phone-hint { font-size:0.72rem; color:var(--steel-light); }
.header-cta .btn { width:auto; min-height:46px; padding:0 22px; font-size:0.8rem; }

.mobile-menu-btn {
    display:flex; background:transparent; border:1.5px solid var(--line-strong); color:var(--ink);
    font-size:1rem; cursor:pointer; padding:10px; min-height:44px; min-width:44px;
    align-items:center; justify-content:center; border-radius:var(--radius); transition:var(--trans); flex-shrink:0;
}

.mobile-menu-btn:hover { border-color:var(--orange); color:var(--orange); }

.header-actions { display:flex; align-items:center; gap:10px; flex-shrink:0; }

.theme-toggle-btn {
    display:flex; align-items:center; justify-content:center; flex-shrink:0;
    width:44px; height:44px; border-radius:50%; border:1.5px solid var(--line-strong);
    background:transparent; color:var(--ink); cursor:pointer; transition:var(--trans); position:relative; overflow:hidden;
}

.theme-toggle-btn:hover { border-color:var(--orange); color:var(--orange); transform:rotate(-12deg); }
.theme-toggle-btn i { position:absolute; font-size:1.05rem; transition:all 0.35s cubic-bezier(0.4,0,0.2,1); }
.theme-icon-sun { opacity:0; transform:translateY(14px) rotate(-90deg); }
.theme-icon-moon { opacity:1; transform:translateY(0) rotate(0deg); }
html[data-theme="dark"] .theme-icon-sun { opacity:1; transform:translateY(0) rotate(0deg); }
html[data-theme="dark"] .theme-icon-moon { opacity:0; transform:translateY(-14px) rotate(90deg); }

.glow-orb { position:absolute; border-radius:50%; filter:blur(60px); pointer-events:none; z-index:0; opacity:0.55; }
.glow-orb.orange { background:var(--orange); animation:float-orb 9s ease-in-out infinite; }
.glow-orb.blue { background:var(--blue); animation:float-orb 11s ease-in-out infinite reverse; }
@keyframes float-orb {
    0%,100% { transform:translate(0,0) scale(1); }
    50% { transform:translate(24px,-30px) scale(1.12); }
}

.hero-gear { position:absolute; color:rgba(255,255,255,0.05); pointer-events:none; z-index:0; animation:spin-slow 26s linear infinite; }
.hero-gear.gear-2 { animation-duration:34s; animation-direction:reverse; color:rgba(237,112,29,0.08); }
@keyframes spin-slow { from{transform:rotate(0deg);} to{transform:rotate(360deg);} }

.blueprint-grid { position:absolute; inset:0; z-index:0; pointer-events:none; opacity:0.5;
    background-image:
        repeating-linear-gradient(0deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 64px),
        repeating-linear-gradient(90deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 64px);
}

.light-grid { position:absolute; inset:0; z-index:0; pointer-events:none; opacity:0.7;
    background-image:
        repeating-linear-gradient(0deg, var(--line) 0 1px, transparent 1px 64px),
        repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 64px);
}

.ghost-text-outline {
    position:absolute; top:-0.1em; left:0; right:0; text-align:center;
    font-family:'Montserrat',sans-serif; font-weight:800; line-height:0.8;
    font-size:clamp(4rem,14vw,11rem); color:transparent;
    -webkit-text-stroke:1.5px var(--line-strong);
    white-space:nowrap; pointer-events:none; z-index:0; user-select:none; opacity:0.8;
}

html[data-theme="dark"] .ghost-text-outline { -webkit-text-stroke-color:rgba(255,255,255,0.14); }

.marquee-strip {
    background:var(--dark-2); overflow:hidden; padding:18px 0; position:relative; border-top:1px solid rgba(255,255,255,0.06); border-bottom:1px solid rgba(255,255,255,0.06);
}
html[data-theme="dark"] .theme-toggle-btn {
    border-color: rgba(237,112,29,0.35);
    color: var(--orange);
}
html[data-theme="dark"] .theme-toggle-btn:hover {
    box-shadow: 0 0 18px rgba(237,112,29,0.4);
}
.marquee-track { display:flex; width:max-content; animation:marquee-scroll 32s linear infinite; }
.marquee-strip:hover .marquee-track { animation-play-state:paused; }
.marquee-item {
    display:flex; align-items:center; gap:14px; padding:0 36px; white-space:nowrap;
    font-family:'Montserrat',sans-serif; font-weight:800; font-size:1.05rem; color:rgba(255,255,255,0.5);
    text-transform:uppercase; letter-spacing:0.03em;
}

.marquee-item i { color:var(--orange); font-size:0.8rem; }
@keyframes marquee-scroll { from{transform:translateX(0);} to{transform:translateX(-50%);} }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation:none; } .hero-gear { animation:none; } .glow-orb { animation:none; } }

@media (max-width:1023px){
    .nav.open {
        display:flex; flex-direction:column; gap:0; height:auto;
        position:absolute; top:100%; left:0; right:0;
        background:var(--white); padding:4px 20px 12px; z-index:999;
        max-height:420px; overflow-y:auto;
        border-bottom-left-radius:var(--radius-lg); border-bottom-right-radius:var(--radius-lg);
        box-shadow:var(--shadow-lg); border-top:1px solid var(--line);
    }

    .nav.open .nav-item { border-bottom:1px solid var(--line); }
    .nav.open .nav-link { padding:16px 4px; font-size:1.02rem; justify-content:space-between; }
    .nav.open .nav-link::after { display:none; }

    .nav.open .nav-dropdown {
        position:static; opacity:1; visibility:visible; transform:none; box-shadow:none; border:none;
        display:none; padding:0 0 10px 14px; background:transparent;
    }

    .nav.open .nav-item.open .nav-dropdown { display:flex; flex-direction:column; }
    .nav.open .nav-item.open .nav-link i.chev { transform:rotate(180deg); }
}

.hero {
    position:relative; overflow:hidden; background:var(--dark); color:#fff;
    padding:110px 0 130px;
    background-image:
        radial-gradient(ellipse 900px 500px at 90% -10%, rgba(237,112,29,0.28), transparent 60%),
        radial-gradient(ellipse 700px 500px at 5% 110%, rgba(5,84,127,0.4), transparent 60%),
        linear-gradient(155deg, rgba(5,6,6,0.86) 0%, rgba(16,18,20,0.9) 100%),
        url('images/zavod_img/gibka.jpg');
    background-size:cover, cover, cover, cover;
    background-position:center, center, center, center 65%;
    background-repeat:no-repeat;
}

.hero-figure { position:absolute; inset:0; opacity:0.08; pointer-events:none; z-index:0; }
.hero-figure svg { position:absolute; }
.hero-inner { position:relative; z-index:1; text-align:center; }
.hero-badge {
    display:inline-flex; align-items:center; gap:8px; padding:9px 18px; background:rgba(255,255,255,0.08);
    border:1px solid rgba(255,255,255,0.16); border-radius:var(--radius-pill); margin-bottom:28px;
    font-size:0.78rem; font-weight:700; color:#fff; text-transform:uppercase; letter-spacing:0.08em;
}

.hero-badge::before { content:''; width:8px; height:8px; background:var(--orange); border-radius:50%; flex-shrink:0; }

.hero-title {
    font-family:'Montserrat',sans-serif; font-weight:800; line-height:0.98; letter-spacing:-0.01em;
    font-size:clamp(2.6rem,8vw,5.6rem); margin-bottom:22px;
}

.hero-scope { display:flex; flex-wrap:wrap; justify-content:center; gap:0; margin-bottom:30px; font-family:'Montserrat',sans-serif; font-weight:700; font-size:clamp(1rem,2.6vw,1.5rem); color:rgba(255,255,255,0.82); }
.hero-scope span { display:inline-flex; align-items:center; padding:0 18px; }
.hero-scope span:not(:first-child)::before { content:'/'; margin-right:18px; color:var(--orange); font-weight:800; font-size:1.3em; }
.hero-subtitle { font-family:'Inter',sans-serif; font-weight:400; font-size:clamp(1rem,2.6vw,1.12rem); color:rgba(255,255,255,0.65); max-width:640px; margin:0 auto 36px; line-height:1.7; }
.hero-buttons { display:flex; flex-direction:column; gap:14px; max-width:420px; margin:0 auto; }

.about-wrap { 
    position:relative; 
    z-index:2; 
    margin-top:-90px; 
}

.about-card {
    background:var(--dark); border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-lg);
    display:grid; grid-template-columns:1fr; position:relative;
    background-image: radial-gradient(ellipse 500px 300px at 95% 0%, rgba(237,112,29,0.16), transparent 65%);
}

.about-card-media {
    background-image: url('images/zavod_img/frazer_4py.jpg');
    background-size:cover; background-position:center;
    min-height:220px; position:relative; overflow:hidden;
}

.about-card-media::before {
    content:''; position:absolute; inset:0;
    background: repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 26px);
}

.about-card-media-tag { position:relative; z-index:1; padding:28px; font-family:'Montserrat',sans-serif; font-weight:800; color:#fff; font-size:1.3rem; }
.about-card-body { padding:44px 36px; color:#fff; }
.about-card-body h3 { font-size:clamp(1.4rem,3.4vw,1.9rem); margin-bottom:18px; }
.about-card-body p { color:rgba(255,255,255,0.65); font-size:0.94rem; line-height:1.8; margin-bottom:14px; font-family:'Inter',sans-serif; font-weight:400; }
.about-card-stats { display:flex; flex-wrap:wrap; gap:26px; margin-top:22px; padding-top:22px; border-top:1px solid rgba(255,255,255,0.12); }
.about-card-stat-num { display:block; font-family:'Montserrat',sans-serif; font-weight:800; font-size:1.7rem; color:var(--orange); }
.about-card-stat-label { font-size:0.76rem; color:rgba(255,255,255,0.55); text-transform:uppercase; letter-spacing:0.04em; }

.svc-grid { display:grid; grid-template-columns:1fr; gap:20px; }
.svc-card {
    position:relative; border-radius:var(--radius-lg); overflow:hidden; text-decoration:none; color:inherit;
    min-height:340px; display:flex; flex-direction:column; justify-content:flex-end; padding:28px;
    background: linear-gradient(150deg, var(--dark) 0%, var(--dark-2) 60%, #1c3040 130%);
    transition:var(--trans); isolation:isolate;
}

.svc-card::before {
    content:''; position:absolute; inset:0; z-index:0;
    background: radial-gradient(circle at 80% 15%, rgba(237,112,29,0.28), transparent 45%),
                repeating-linear-gradient(135deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 26px);
}

.svc-card::after {
    content:''; position:absolute; inset:0; z-index:0;
    background:linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.05) 65%);
    transition:var(--trans);
}

.svc-card:hover { transform:translateY(-6px) scale(1.015); box-shadow:var(--shadow-lg); }
.svc-card-index { position:relative; z-index:1; font-family:'Montserrat',sans-serif; font-weight:800; font-size:0.78rem; color:var(--orange); letter-spacing:0.08em; margin-bottom:auto; }
.svc-icon {
    position:relative; z-index:1; width:56px; height:56px; border-radius:50%; background:var(--orange);
    display:flex; align-items:center; justify-content:center; font-size:1.35rem; color:#fff; margin-bottom:18px;
    transition:var(--trans); box-shadow:var(--shadow-orange);
}

.svc-card:hover .svc-icon { background:#fff; color:var(--orange); transform:rotate(-14deg) scale(1.08); }
.svc-title { position:relative; z-index:1; font-family:'Montserrat',sans-serif; font-weight:800; font-size:1.2rem; color:#fff; margin-bottom:8px; }
.svc-desc { position:relative; z-index:1; color:rgba(255,255,255,0.62); font-size:0.86rem; line-height:1.6; margin-bottom:16px; }
.svc-link { position:relative; z-index:1; display:inline-flex; align-items:center; gap:8px; color:var(--orange); font-weight:700; font-size:0.85rem; }
.svc-link i { transition:var(--trans-fast); }
.svc-card:hover .svc-link i { transform:translateX(4px); }

.adv-section { padding:110px 0 130px; }
.adv-grid { display:grid; grid-template-columns:1fr; gap:1px; position:relative; z-index:1; background:rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.08); border-radius:var(--radius-lg); overflow:hidden; }
.adv-card { background:var(--dark-2); padding:32px 26px; transition:var(--trans); }
.adv-card:hover { background:#2f3232; }
.adv-icon { width:52px; height:52px; border-radius:50%; background:rgba(237,112,29,0.14); display:flex; align-items:center; justify-content:center; font-size:1.25rem; color:var(--orange); margin-bottom:18px; }
.adv-title { font-family:'Montserrat',sans-serif; font-weight:800; font-size:1.05rem; color:#fff; margin-bottom:10px; }
.adv-desc { color:rgba(255,255,255,0.6); font-size:0.89rem; line-height:1.65; font-family:'Inter',sans-serif; font-weight:400; }

.stat-strip { display:grid; grid-template-columns:1fr; gap:16px; margin-bottom:44px; }
.stat-pill { background:var(--orange-light); border-radius:var(--radius-lg); padding:24px 26px; text-align:center; }
.stat-pill-num { display:block; font-family:'Montserrat',sans-serif; font-weight:800; font-size:clamp(1.8rem,5vw,2.3rem); color:var(--orange-dark); margin-bottom:4px; }
.stat-pill-label { font-size:0.82rem; color:var(--steel); font-weight:600; text-transform:uppercase; letter-spacing:0.03em; }

.partner-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
.partner-tile {
    background:var(--bg); border:1px solid var(--line); border-radius:var(--radius-lg); padding:26px 18px;
    text-align:center; transition:var(--trans); cursor:pointer; position:relative; overflow:visible;
}

.partner-tile:hover { border-color:var(--orange); box-shadow:var(--shadow); transform:translateY(-3px); }
.fullscreen-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 16px 18px;
    border-radius: 50%;
    transition: var(--trans);
    z-index: 10;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.fullscreen-nav:hover {
    background: var(--orange);
    border-color: var(--orange);
}

.fullscreen-prev { left: 20px; }
.fullscreen-next { right: 20px; }
.fullscreen-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 14px;
    border-radius: 50%;
    transition: var(--trans);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.fullscreen-close:hover {
    background: var(--orange);
    border-color: var(--orange);
}

.fullscreen-content {
    position: relative;
    max-width: 95%;
    max-height: 95%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#fullscreen-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
}

.fullscreen-caption {
    margin-top: 16px;
    color: #fff;
    font-size: 0.92rem;
    text-align: center;
    background: rgba(255,255,255,0.08);
    padding: 9px 20px;
    border-radius: var(--radius);
}

.fullscreen-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 16px 18px;
    border-radius: 50%;
    transition: var(--trans);
    z-index: 10;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.fullscreen-nav:hover {
    background: var(--orange);
    border-color: var(--orange);
}

.fullscreen-prev { left: 20px; }
.fullscreen-next { right: 20px; }
.fullscreen-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 14px;
    border-radius: 50%;
    transition: var(--trans);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.fullscreen-close:hover {
    background: var(--orange);
    border-color: var(--orange);
}

.cookie-banner {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    background: var(--bg);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    padding: 18px 22px;
    max-width: 340px;
    width: calc(100% - 48px);
    box-shadow: var(--shadow-lg);
    transition: transform 0.35s ease, opacity 0.35s ease;
    transform: translateY(0);
    opacity: 1;
}

.cookie-banner.hidden {
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
}

.cookie-banner-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cookie-text {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--ink);
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.cookie-text br {
    display: block;
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
}

.cookie-accept-btn {
    background: var(--orange);
    color: #fff;
    border: none;
    padding: 6px 18px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--trans-fast);
    font-family: 'Inter', sans-serif;
}

.cookie-accept-btn:hover {
    background: var(--orange-hover);
    transform: scale(1.03);
}

.cookie-more {
    font-size: 0.78rem;
    color: var(--steel);
    text-decoration: underline;
    transition: color 0.2s;
    font-family: 'Inter', sans-serif;
}

.cookie-more:hover {
    color: var(--orange);
}

/* Тёмная тема */
html[data-theme="dark"] .cookie-banner {
    background: var(--dark-2);
    border-color: var(--line);
}

html[data-theme="dark"] .cookie-text {
    color: var(--ink);
}

html[data-theme="dark"] .cookie-more {
    color: var(--steel-light);
}

html[data-theme="dark"] .cookie-more:hover {
    color: var(--orange);
}

@media (max-width: 600px) {
    .cookie-banner {
        bottom: 16px;
        right: 16px;
        width: calc(100% - 32px);
        padding: 16px 18px;
    }
    .cookie-actions {
        justify-content: flex-end;
    }
}

.fullscreen-content {
    position: relative;
    max-width: 95%;
    max-height: 95%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.partner-grid {
    position: relative;
    z-index: 3;  
}

.partner-tile {
    position: relative;
    z-index: 1;   
}

.partner-tile:hover {
    z-index: 20; 
}
#fullscreen-image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
}

.fullscreen-caption {
    margin-top: 16px;
    color: #fff;
    font-size: 0.92rem;
    text-align: center;
    background: rgba(255,255,255,0.08);
    padding: 9px 20px;
    border-radius: var(--radius);
}

.partner-tile-logo img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transform: scale(1);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.partner-tile:hover .partner-tile-logo img {
    transform: scale(1.06);
}

.partner-tile:hover {
    border-color: var(--orange);
    box-shadow: 0 12px 32px rgba(237, 112, 29, 0.16);
    transform: translateY(-4px);
}

.partner-tile-logo { width:100%; height:70px; display:flex; align-items:center; justify-content:center; margin-bottom:12px; }
.partner-tile-name { font-family:'Montserrat',sans-serif; font-weight:700; font-size:0.88rem; color:var(--ink); }
/* ====== ПАРТНЁРЫ: попап ====== */
.partner-grid .partner-tile { position: relative; z-index: 1; }
.partner-grid .partner-tile:hover,
.partner-grid .partner-tile.mobile-active { z-index: 20; }

.partner-grid .partner-tile .partner-info-popup {
    position: absolute;
    bottom: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    width: 290px;
    max-width: 88vw;
    padding: 20px 22px;
    border-radius: var(--radius-lg);
    text-align: left;
    background: #FFFFFF !important;
    border: 1px solid var(--line) !important;
    box-shadow: 0 24px 60px rgba(0,0,0,0.28), 0 4px 14px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease, visibility 0s .22s;
    z-index: 1000;
}

.partner-grid .partner-tile:hover .partner-info-popup,
.partner-grid .partner-tile.mobile-active .partner-info-popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    transition: opacity .22s ease, transform .22s ease, visibility 0s 0s;
    pointer-events: auto;
}

/* стрелка */
.partner-grid .partner-tile .partner-info-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 9px solid transparent;
    border-top-color: #FFFFFF !important;   /* цвет фона попапа */
}

/* заголовок */
.partner-grid .partner-tile .partner-info-popup h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 0.94rem;
    line-height: 1.3;
    margin: 0 0 8px;
    color: #C85F10 !important;              /* тёмно-оранжевый — читаем на белом */
}

/* текст описания — вот тут было белое на белом */
.partner-grid .partner-tile .partner-info-popup p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.83rem;
    line-height: 1.6;
    margin: 0;
    color: #5A5F5F !important;              /* серый — виден на белом */
}

/* ====== ТЁМНАЯ ТЕМА ====== */
html[data-theme="dark"] .partner-grid .partner-tile .partner-info-popup {
    background: #17191C !important;
    border-color: #3A3E42 !important;
    box-shadow: 0 24px 60px rgba(0,0,0,0.65), 0 4px 14px rgba(0,0,0,0.4);
}
html[data-theme="dark"] .partner-grid .partner-tile .partner-info-popup::after {
    border-top-color: #17191C !important;
}
html[data-theme="dark"] .partner-grid .partner-tile .partner-info-popup h5 {
    color: #ED701D !important;
}
html[data-theme="dark"] .partner-grid .partner-tile .partner-info-popup p {
    color: #ABB0B0 !important;
}
.cta-band {
    background:linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
    border-radius:var(--radius-lg); padding:52px 32px; text-align:center; color:#fff;
    box-shadow:var(--shadow-orange); position:relative; overflow:hidden;
}

.cta-band::before { content:''; position:absolute; inset:0; background:repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 30px); }
.cta-band > * { position:relative; z-index:1; }
.cta-band .eyebrow { color:#fff; justify-content:center; }
.cta-band .eyebrow::before { background:#fff; }
.cta-band .section-title { color:#fff; margin-bottom:14px; }
.cta-band .section-subtitle { color:rgba(255,255,255,0.85); }
.cta-band .btn { width:auto; margin-top:20px; }
.cta-band .btn-primary { background:#fff; color:var(--orange-dark); box-shadow:0 10px 26px rgba(0,0,0,0.2); }
.cta-band .btn-primary:hover { background:var(--dark); color:#fff; }

.request-band {
    background:var(--dark); border-radius:var(--radius-lg); padding:0; overflow:hidden;
    display:grid; grid-template-columns:1fr; box-shadow:var(--shadow-lg);
    background-image: radial-gradient(ellipse 600px 300px at 90% 0%, rgba(237,112,29,0.2), transparent 65%);
}

.request-info { padding:44px 32px; }
.request-info .eyebrow { color:var(--orange); }
.request-info h2 { color:#fff; font-size:clamp(1.5rem,4vw,2.1rem); font-weight:800; margin-bottom:14px; line-height:1.2; }
.request-info p { color:rgba(255,255,255,0.62); font-size:0.95rem; line-height:1.7; margin-bottom:22px; font-family:'Inter',sans-serif; font-weight:400; }
.request-info-phone { display:flex; align-items:center; gap:12px; margin-bottom:8px; }
.request-info-phone i { width:40px; height:40px; background:rgba(237,112,29,0.16); color:var(--orange); border-radius:50%; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.request-info-phone a { color:#fff; font-family:'Montserrat',sans-serif; font-weight:800; font-size:1.15rem; text-decoration:none; }
.request-info-note { color:rgba(255,255,255,0.42); font-size:0.8rem; margin-top:16px; }

.request-form { background:var(--bg); padding:36px 32px; display:flex; flex-direction:column; gap:14px; }
.request-form h3 { font-size:1.1rem; font-weight:800; color:var(--ink); margin-bottom:2px; }
.form-field { display:flex; flex-direction:column; gap:6px; }
.form-field label { font-size:0.78rem; font-weight:700; color:var(--steel); }
.form-field input, .form-field textarea, .form-field select {
    border:1.5px solid var(--line-strong); border-radius:var(--radius); padding:14px 15px; font-size:0.92rem;
    font-family:'Inter',sans-serif; color:var(--ink); background:var(--bg); transition:var(--trans-fast); width:100%;
}

.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline:none; border-color:var(--orange); box-shadow:0 0 0 3px rgba(237,112,29,0.14); }
.form-field textarea { resize:vertical; min-height:88px; }
.form-consent { font-size:0.74rem; color:var(--steel-light); line-height:1.5; }
.form-success {
    display:none; align-items:center; gap:10px; background:var(--orange-light); border:1px solid rgba(237,112,29,0.25);
    color:var(--orange-dark); padding:12px 14px; border-radius:var(--radius); font-size:0.86rem; font-weight:700;
}

.form-success.show { display:flex; }
.form-success i { color:var(--orange); }

.float-contacts { position:fixed; right:20px; bottom:20px; display:flex; flex-direction:column; gap:10px; z-index:900; }
.float-btn {
    width:54px; height:54px; border-radius:50%; display:flex; align-items:center; justify-content:center;
    color:#fff; font-size:1.35rem; box-shadow:var(--shadow-lg); text-decoration:none; transition:var(--trans);
}

.float-btn:hover { transform:translateY(-3px) scale(1.06); }
.float-btn.wa { background:#25D366; }
.float-btn.tg { background:#2AABEE; }
.float-btn.call { background:var(--orange); }

.footer { background:var(--dark-2); border-top:5px solid var(--orange); padding:56px 0 24px; color:rgba(255,255,255,0.68); }
.footer-content { display:grid; grid-template-columns:1fr; gap:30px; margin-bottom:30px; padding-bottom:30px; border-bottom:1px solid rgba(255,255,255,0.1); }
.footer-logo-block { display:flex; align-items:center; gap:14px; margin-bottom:16px; }
.footer-logo-mark {
    width:44px; height:44px; border-radius:var(--radius); flex-shrink:0;
    display:flex; align-items:center; justify-content:center; color:#fff; font-size:1.2rem;
}

.footer-company { font-family:'Montserrat',sans-serif; font-size:1.05rem; font-weight:800; color:#fff; }
.footer-section p { color:rgba(255,255,255,0.55); margin-bottom:10px; line-height:1.6; font-size:0.86rem; }
.footer-section h4 { font-family:'Inter',sans-serif; font-size:0.76rem; font-weight:700; margin-bottom:15px; color:#fff; text-transform:uppercase; letter-spacing:0.07em; }
.footer-section ul { list-style:none; }
.footer-section li { margin-bottom:9px; }
.footer-section a { color:rgba(255,255,255,0.6); text-decoration:none; font-size:0.86rem; transition:color 0.2s ease; }
.footer-section a:hover { color:var(--orange); }
.footer-contact-item { display:flex; align-items:center; gap:10px; margin-bottom:11px; color:rgba(255,255,255,0.6); font-size:0.86rem; }
.footer-contact-icon { width:14px; color:var(--orange); flex-shrink:0; }
.footer-bottom { display:flex; flex-wrap:wrap; gap:8px; justify-content:space-between; color:rgba(255,255,255,0.35); }
.footer-bottom p { font-size:0.74rem; line-height:1.4; }

.fade-in-on-scroll { opacity:0; transform:translateY(18px); transition:all 0.6s cubic-bezier(0.4,0,0.2,1); }
.fade-in-on-scroll.visible { opacity:1; transform:translateY(0); }

@keyframes fadeInUp { from{opacity:0;transform:translateY(18px)} to{opacity:1;transform:translateY(0)} }
.animate-in { animation:fadeInUp 0.6s ease-out forwards; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; scroll-behavior:auto !important; } }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline:2px solid var(--orange); outline-offset:2px; }

::-webkit-scrollbar { width:8px; }
::-webkit-scrollbar-track { background:var(--bg-alt); }
::-webkit-scrollbar-thumb { background:var(--line-strong); }
::-webkit-scrollbar-thumb:hover { background:var(--orange); }

.breadcrumb { font-family:'Inter',sans-serif; font-size:0.78rem; color:rgba(255,255,255,0.45); letter-spacing:0.02em; margin-bottom:20px; }
.breadcrumb a { color:rgba(255,255,255,0.7); text-decoration:none; }
.breadcrumb a:hover { color:var(--orange); }
.breadcrumb span { color:var(--orange); }

.page-hero {
    position:relative; overflow:hidden; background:var(--dark); color:#fff;
    padding:64px 0 96px;
    background-image:
        radial-gradient(ellipse 800px 460px at 92% -10%, rgba(237,112,29,0.2), transparent 60%),
        radial-gradient(ellipse 600px 420px at 5% 110%, rgba(5,84,127,0.32), transparent 60%),
        linear-gradient(155deg, var(--dark) 0%, var(--dark-2) 100%);
}

.page-hero .eyebrow { color:var(--orange); }
.page-hero h1 { color:#fff; font-size:clamp(2rem,5.4vw,3.4rem); line-height:1.1; }
.page-hero .section-subtitle { color:rgba(255,255,255,0.62); }
.page-hero-wrap { position:relative; z-index:2; margin-top:-56px; }

.info-grid { display:grid; grid-template-columns:1fr; gap:16px; }
.info-card { background:var(--bg); border:1px solid var(--line); border-radius:var(--radius-lg); padding:30px 26px; transition:var(--trans); }
.info-card:hover { border-color:var(--orange); box-shadow:var(--shadow); transform:translateY(-3px); }
.info-icon { width:52px; height:52px; border-radius:50%; background:var(--orange-light); display:flex; align-items:center; justify-content:center; font-size:1.25rem; color:var(--orange-dark); margin-bottom:18px; }
.info-title { font-family:'Montserrat',sans-serif; font-weight:800; font-size:1.05rem; margin-bottom:10px; color:var(--ink); }
.info-desc { color:var(--steel); font-size:0.89rem; line-height:1.65; }

.service-block { padding:56px 0; border-top:1px solid var(--line); display:grid; grid-template-columns:1fr; gap:32px; }
.service-block:first-of-type { border-top:none; padding-top:0; }
.service-block-index { font-family:'Montserrat',sans-serif; font-weight:800; color:var(--orange); font-size:0.85rem; letter-spacing:0.06em; margin-bottom:14px; }
.service-block-head { display:flex; align-items:center; gap:16px; margin-bottom:16px; }
.service-icon-lg { width:58px; height:58px; border-radius:var(--radius); background:var(--dark); display:flex; align-items:center; justify-content:center; font-size:1.4rem; color:var(--orange); flex-shrink:0; }
.service-block-title { font-size:clamp(1.3rem,3.2vw,1.8rem); color:var(--ink); }
.service-block-desc { color:var(--steel); line-height:1.75; font-size:0.97rem; max-width:760px; margin-bottom:18px; font-family:'Inter',sans-serif; font-weight:400; }
.service-block-desc strong { color:var(--orange-dark); font-weight:700; }
.service-features { list-style:none; margin-bottom:20px; }
.service-features li { color:var(--steel); font-size:0.9rem; margin-bottom:10px; padding-left:26px; position:relative; }
.service-features li::before { content:'\f00c'; font-family:'Font Awesome 6 Free'; font-weight:900; position:absolute; left:0; top:1px; color:var(--orange); font-size:0.72rem; background:var(--orange-light); width:18px; height:18px; border-radius:50%; display:flex; align-items:center; justify-content:center; }

.mini-gallery { display:flex; flex-wrap:wrap; gap:1px; background:var(--line); border-radius:var(--radius-lg); overflow:hidden; }
.mini-gallery-item { flex:1 1 220px; background:var(--dark); overflow:hidden; cursor:pointer; position:relative; min-height:190px; }
.mini-gallery-item img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform 0.35s ease; z-index:0; }
.mini-gallery-item::before {
    content:''; position:absolute; inset:0; z-index:1;
    background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.1) 55%, rgba(0,0,0,0.3) 100%);
}

.mini-gallery-item span { position:absolute; left:14px; bottom:14px; right:14px; z-index:2; color:#fff; font-size:0.82rem; font-weight:700; font-family:'Montserrat',sans-serif; }
.mini-gallery-item:hover img { transform:scale(1.08); }

.projects-gallery { display:flex; flex-wrap:wrap; gap:14px; }
.project-photo { flex:1 1 220px; background:var(--dark); overflow:hidden; cursor:pointer; position:relative; border-radius:var(--radius-lg); aspect-ratio:4/3; }
.project-photo::before { content:attr(data-index); position:absolute; top:12px; left:12px; font-family:'Montserrat',sans-serif; font-weight:800; font-size:0.7rem; color:#fff; background:rgba(237,112,29,0.85); padding:4px 10px; z-index:2; border-radius:20px; }
.project-photo img { width:100%; height:100%; object-fit:cover; transition:transform 0.3s ease; }
.project-photo:hover img { transform:scale(1.06); }

.perk-grid { display:grid; grid-template-columns:1fr; gap:16px; }
.perk-card { background:var(--bg); border:1px solid var(--line); border-radius:var(--radius-lg); padding:26px 22px; transition:var(--trans); }
.perk-card:hover { border-color:var(--orange); box-shadow:var(--shadow); }
.perk-icon { color:var(--orange); font-size:1.3rem; margin-bottom:14px; }
.perk-title { font-family:'Montserrat',sans-serif; font-weight:800; font-size:0.96rem; color:var(--ink); margin-bottom:8px; }
.perk-desc { color:var(--steel); font-size:0.85rem; line-height:1.6; }

.contact-card { background:var(--bg); border:1px solid var(--line); padding:28px 24px; text-align:left; transition:var(--trans); height:100%; border-radius:var(--radius-lg); }
.contact-card:hover { border-color:var(--orange); box-shadow:var(--shadow); }
.contact-icon { width:48px; height:48px; margin-bottom:16px; background:var(--orange-light); border-radius:var(--radius); display:flex; align-items:center; justify-content:center; font-size:1.15rem; color:var(--orange-dark); }
.contact-title { font-family:'Montserrat',sans-serif; font-size:1rem; font-weight:800; margin-bottom:10px; color:var(--ink); }
.contact-info { font-size:0.96rem; color:var(--steel); margin-bottom:4px; font-weight:600; word-break:break-word; }
.contact-info a { color:inherit; text-decoration:none; }
.contact-info a:hover { color:var(--orange); }
.contact-subinfo { color:var(--steel-light); font-size:0.8rem; margin-top:10px; }

.hours-table { width:100%; border-collapse:collapse; margin-top:6px; }
.hours-table td { padding:13px 0; border-bottom:1px solid var(--line); color:var(--steel); font-size:0.92rem; }
.hours-table td:last-child { text-align:right; color:var(--ink); font-weight:700; }

.map-block { background:var(--dark); border-radius:var(--radius-lg); height:100%; min-height:280px; display:flex; align-items:center; justify-content:center; flex-direction:column; gap:12px; color:rgba(255,255,255,0.55); position:relative; overflow:hidden; }
.map-block::before { content:''; position:absolute; inset:0; background:radial-gradient(circle at 80% 15%, rgba(237,112,29,0.22), transparent 45%), repeating-linear-gradient(135deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 26px); }
.map-block i, .map-block div { position:relative; z-index:1; }
.map-block i { font-size:2.1rem; color:var(--orange); }

.fullscreen-viewer { display:none; position:fixed; inset:0; background:rgba(10,10,10,0.96); z-index:20000; opacity:0; transition:opacity 0.25s ease; }
.fullscreen-viewer.active { display:flex; align-items:center; justify-content:center; opacity:1; }
.fullscreen-content { max-width:95%; max-height:95%; display:flex; flex-direction:column; align-items:center; position:relative; }
#fullscreen-image { max-width:100%; max-height:85vh; object-fit:contain; box-shadow:var(--shadow-lg); border-radius:var(--radius-lg); }
.fullscreen-caption { margin-top:16px; color:#fff; font-size:0.92rem; text-align:center; background:rgba(255,255,255,0.08); padding:9px 20px; border-radius:var(--radius); }
.fullscreen-close { position:absolute; top:18px; right:18px; background:rgba(255,255,255,0.1); border:1px solid rgba(255,255,255,0.2); color:#fff; font-size:1.5rem; cursor:pointer; padding:14px; border-radius:50%; transition:var(--trans); width:48px; height:48px; display:flex; align-items:center; justify-content:center; }
.fullscreen-close:hover { background:var(--orange); border-color:var(--orange); }

@media (max-width:480px){
    :root{--cont-pad:14px}
    .float-contacts{right:14px;bottom:14px}
    .float-btn{width:46px;height:46px;font-size:1.15rem}
    .partner-grid{grid-template-columns:1fr}
    .marquee-item{font-size:0.85rem;padding:0 22px}
    .glow-orb{filter:blur(40px);}
}

@media (min-width:640px){
    .request-form{padding:36px}
    .stat-strip{grid-template-columns:repeat(3,1fr)}
    .service-block{grid-template-columns:1fr 1fr}
    .service-block-desc{margin-bottom:0}
}

.hero .hero-title,
.hero .hero-subtitle,
.hero .hero-badge,
.hero .hero-scope,
.about-card .about-card-body h3,
.about-card .about-card-body p,
.about-card .about-card-stat-num,
.about-card .about-card-stat-label,
.section-dark .section-title,
.section-dark .section-subtitle,
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark p,
.adv-section .adv-title,
.adv-section .adv-desc {
    color: #fff;
}

@media (min-width:768px){
    :root{--section-pad:100px 0;--cont-pad:32px}
    .hero-buttons{flex-direction:row;max-width:none;justify-content:center}
    .btn{width:auto;min-width:210px}
    .about-card{grid-template-columns:0.9fr 1.1fr}
    .about-card-media{min-height:auto}
    .svc-grid{grid-template-columns:repeat(2,1fr)}
    .adv-grid{grid-template-columns:repeat(3,1fr)}
    .partner-grid{grid-template-columns:repeat(3,1fr)}
    .diagonal-accent{display:block}
    .info-grid{grid-template-columns:repeat(3,1fr)}
    .perk-grid{grid-template-columns:repeat(2,1fr)}
    .grid-2-contact{display:grid;grid-template-columns:1fr 1fr;gap:24px}
}

@media (min-width:960px){
    .request-band{grid-template-columns:1fr 1fr}
}

@media (min-width:1024px){
    .nav{display:flex;list-style:none;gap:2px;margin-left:24px}
    .header-cta{display:flex}
    .mobile-menu-btn{display:none}
    .footer-content{grid-template-columns:repeat(4,1fr);gap:36px}
    .svc-grid{grid-template-columns:repeat(3,1fr)}
    .adv-grid{grid-template-columns:repeat(3,1fr)}
    .partner-grid{grid-template-columns:repeat(4,1fr)}
    .perk-grid{grid-template-columns:repeat(4,1fr)}
}

@media (min-width:1280px){
    .logo-text-block{display:flex}
}

.model-info {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: var(--trans);
}

.model-info:hover { border-color: var(--orange); }

.model-info-head {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.model-info-tag {
    align-self: flex-start;
    font-family: 'Inter', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--orange);
    background: var(--orange-light);
    padding: 4px 9px;
    border-radius: var(--radius-pill);
}

html[data-theme="dark"] .model-info-tag {
    background: rgba(237,112,29,0.18);
}

.model-info-title {
    font-size: clamp(1.05rem, 2.6vw, 1.2rem);
    line-height: 1.25;
}

.model-info-desc {
    font-size: 0.82rem;
    color: var(--steel);
    line-height: 1.55;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.model-info-meta {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.model-meta-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
}

.model-meta-row:last-child { border-bottom: none; }

.model-meta-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--steel-light);
    font-weight: 700;
    flex-shrink: 0;
}

.model-meta-value {
    font-size: 0.84rem;
    color: var(--ink);
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    text-align: right;
}

.model-info-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 2px;
}

.model-info-actions .btn {
    flex: 1;
    min-height: 44px;
    padding: 0 18px;
    font-size: 0.82rem;
    width: auto;
}

.model-file-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    padding: 0 14px;
    border: 1.5px solid var(--line-strong);
    border-radius: var(--radius);
    color: var(--ink);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    transition: var(--trans);
    flex-shrink: 0;
}

.model-file-link i { color: var(--orange); font-size: 0.85rem; }

.model-file-link:hover {
    border-color: var(--orange);
    color: var(--orange);
    background: var(--orange-light);
}

    #modelSection .mv-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 24px;
    }
    @media (min-width: 900px) {
        #modelSection .mv-grid { grid-template-columns: repeat(3, 1fr); }
    }

    #modelSection .mv-cell {
        position: relative;
        width: 100%;
        aspect-ratio: 1 / 1;
        cursor: grab;
        touch-action: none;
        user-select: none;
    }
    #modelSection .mv-cell:active { cursor: grabbing; }
    #modelSection .mv-cell canvas {
        display: block;
        width: 100% !important;
        height: 100% !important;
        position: absolute; inset: 0;
    }
    #modelSection .mv-name {
        position: absolute;
        top: 8px; left: 8px;
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        font-size: 0.78rem;
        color: var(--ink, #1A1A1A);
        background: var(--bg, #fff);
        border: 1px solid var(--line, #E4E4E4);
        padding: 5px 11px;
        border-radius: 100px;
        z-index: 3;
        pointer-events: none;
    }
    #modelSection .mv-arrows {
        position: absolute;
        right: 6px; bottom: 6px;
        display: grid;
        grid-template-columns: repeat(3, 34px);
        grid-template-rows: repeat(3, 34px);
        gap: 4px;
        z-index: 3;
        pointer-events: none;
    }
    #modelSection .mv-arrow {
        pointer-events: auto;
        background: var(--bg, #fff);
        border: 1px solid var(--line-strong, #CFCFCF);
        border-radius: 50%;
        color: var(--ink, #1A1A1A);
        cursor: pointer;
        display: flex; align-items: center; justify-content: center;
        font-size: 0.75rem;
        transition: all 0.15s ease;
        padding: 0;
    }
    #modelSection .mv-arrow:hover {
        background: #ED701D; border-color: #ED701D; color: #fff;
    }
    #modelSection .mv-arrow:active { transform: scale(0.9); }
    #modelSection .mv-up    { grid-area: 1 / 2; }
    #modelSection .mv-left  { grid-area: 2 / 1; }
    #modelSection .mv-right { grid-area: 2 / 3; }
    #modelSection .mv-down  { grid-area: 3 / 2; }

.bolt-game {
    position: fixed;
    inset: 0;
    z-index: 50000;
    background: rgba(10, 10, 10, 0.94);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.bolt-game.open { opacity: 1; pointer-events: auto; }
.bolt-game[hidden] { display: none; }

.bolt-game-inner {
    position: relative;
    width: 100%;
    max-width: 720px;
    background: var(--dark-2, #262828);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
    padding: 0 0 4px;
}

.bolt-game-hud {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 14px 20px;
    background: linear-gradient(180deg, rgba(237, 112, 29, 0.06), transparent);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 600;
}

.bolt-hud-item b {
    color: #ED701D;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    margin-left: 4px;
}

.bolt-close {
    margin-left: auto;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.bolt-close:hover {
    background: #ED701D;
    border-color: #ED701D;
    transform: rotate(90deg);
}

#boltCanvas {
    display: block;
    width: 100%;
    height: auto;
    background:
        radial-gradient(ellipse 500px 300px at 50% 0%, rgba(237, 112, 29, 0.12), transparent 60%),
        linear-gradient(180deg, #1a1c1d 0%, #0e0f10 100%);
    touch-action: none;
    cursor: crosshair;
}

.bolt-game-hint {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    padding: 10px 20px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.42);
    letter-spacing: 0.02em;
}

.bolt-game-hint i { color: #ED701D; }

.bolt-game-over {
    position: absolute;
    inset: 48px 0 0;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.bolt-game-over.show { opacity: 1; pointer-events: auto; }

.bolt-game-over-card {
    text-align: center;
    padding: 32px 40px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
}

.bolt-game-over-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 8px;
}

.bolt-game-over-sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.62);
    margin-bottom: 20px;
}

.bolt-game-over-sub b {
    color: #ED701D;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
}

.bolt-game-again {
    background: #ED701D;
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 6px 18px rgba(237, 112, 29, 0.4);
}

.bolt-game-again:hover {
    background: #F18B10;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(237, 112, 29, 0.55);
}

@media (max-width: 520px) {
    .bolt-game-hud { padding: 10px 14px; gap: 12px; font-size: 0.74rem; }
    .bolt-hud-item b { font-size: 0.9rem; }
    .bolt-game-hint { font-size: 0.66rem; padding: 8px 14px 10px; }
    .bolt-game-over-card { padding: 24px 26px; }
    .bolt-game-over-title { font-size: 1.2rem; }
}