/* reset.css */
/* ==========================================================================
   NovaCore CSS Reset v1.0
   ========================================================================== */

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
picture,
svg,
canvas,
video {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

button,
input,
textarea,
select {
    font: inherit;
    border: none;
    outline: none;
    background: none;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

fieldset {
    border: 0;
}

textarea {
    resize: vertical;
}

:focus-visible {
    outline: 2px solid #8B5CF6;
    outline-offset: 4px;
}

::selection {
    background: rgba(139, 92, 246, .35);
}


/* variables.css */
:root {

    /* Colors */

    --bg: #0B0D12;
    --surface: #151923;
    --surface-hover: #1C2130;

    --accent: #8B5CF6;
    --accent-light: #C55EFF;

    --text: #FFFFFF;
    --muted: #B7C0D0;

    --border: rgba(255,255,255,.08);

    --success: #4ADE80;
    --warning: #FBBF24;

    /* Radius */

    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 28px;
    --radius-xl: 40px;

    /* Shadows */

    --shadow:
        0 20px 60px rgba(0,0,0,.35);

    --shadow-glow:
        0 0 80px rgba(139,92,246,.25);

    /* Container */

    --container: 1280px;

    /* Header */

    --header-height: 86px;

    /* Animation */

    --transition:
        .35s cubic-bezier(.4,.0,.2,1);

}


/* fonts.css */
/* ==========================================================================
   Local Manrope — self-hosted, no external requests.
   Files live in /public/assets/fonts/ (cyrillic_latin subset, v20)
   ========================================================================== */

@font-face {
    font-family: "Manrope";
    src: url("/assets/fonts/manrope-v20-cyrillic_latin-regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Manrope";
    src: url("/assets/fonts/manrope-v20-cyrillic_latin-500.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Manrope";
    src: url("/assets/fonts/manrope-v20-cyrillic_latin-600.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Manrope";
    src: url("/assets/fonts/manrope-v20-cyrillic_latin-700.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Manrope";
    src: url("/assets/fonts/manrope-v20-cyrillic_latin-800.woff2") format("woff2");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}


/* layout.css */
html,
body {

    background: var(--bg);
    color: var(--text);

}

body {

    font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    overflow-x: hidden;

}

.container {

    width: min(
        90%,
        var(--container)
    );

    margin-inline: auto;

}

section {

    position: relative;

    padding-block: 110px;

}

.grid {

    display: grid;

}

.flex {

    display: flex;

}

.hidden {

    display: none !important;

}

body.menu-open{

    overflow:hidden;

}

/* Phase 18 — safe-area support for edge-to-edge mobile browsers */
@supports (padding: max(0px)) {
    body {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }
}


/* typography.css */
body {

    font-size: 16px;
    line-height: 1.7;

}

h1 {

    font-size: clamp(44px,7vw,74px);

    line-height: 1.05;

    font-weight: 800;

    letter-spacing: -.03em;

}

h2 {

    font-size: clamp(34px,5vw,56px);

    line-height: 1.1;

    font-weight: 800;

}

h3 {

    font-size: 24px;

    font-weight: 700;

}

p {

    color: var(--muted);

}

.badge {

    display: inline-flex;

    align-items: center;

    gap: .6rem;

    padding: .7rem 1rem;

    border-radius: 999px;

    background: rgba(255,255,255,.05);

    border: 1px solid var(--border);

}

.section-head {

    max-width: 640px;

    margin-bottom: 56px;

}

.section-head p {

    margin-top: 16px;

    font-size: 18px;
}


/* buttons.css */
.button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: .75rem;

    padding: 16px 30px;

    border-radius: 999px;

    font-weight: 700;

    transition: var(--transition);

}

.button img {

    width: 18px;
    height: 18px;

}

.button--primary {

    color: #fff;

    background:
        linear-gradient(
            135deg,
            var(--accent),
            var(--accent-light)
        );

    box-shadow: var(--shadow-glow);

}

.button--primary:hover {

    transform:
        translateY(-3px);

    filter: brightness(1.08);

}

.button--glass {

    background:
        rgba(255,255,255,.05);

    border:
        1px solid var(--border);

    backdrop-filter:
        blur(18px);

}

.button--glass:hover {

    background:
        rgba(255,255,255,.08);

}


/* components.css */
/* ==========================================================================
   Shared components — reused across multiple blocks.

   Rule: a block's own namespaced classes (hero__*, footer__*, services__*,
   trust__*, ...) never get used outside that block's own template/CSS file.
   Anything genuinely shared lives here instead, under its own neutral name.
   ========================================================================== */

/* Round icon badge with accent border — used in the hero contact card
   and in the footer social links.

   Two proven, independent CSS mechanisms do the centering, deliberately:
   flexbox centers the inner glyph box (rock solid, box-model math), and
   background-size:contain scales the icon inside that box while preserving
   its own aspect ratio (unlike explicit "18px 18px", which stretches). */
.social-icon{

    flex-shrink:0;

    display:flex;

    align-items:center;

    justify-content:center;

    width:42px;
    height:42px;

    border-radius:50%;

    border:1.5px solid rgba(139,92,246,.55);

    transition:background-color .3s ease;

}

a.social-icon:hover{

    background-color:rgba(139,92,246,.2);

}

.social-icon__glyph{

    width:18px;
    height:18px;

    background-repeat:no-repeat;

    background-position:center;

    background-size:contain;

}

.social-icon--phone .social-icon__glyph{

    background-image:url('/assets/svg/phone-outline.svg');

}

.social-icon--telegram .social-icon__glyph{

    background-image:url('/assets/svg/telegram-outline.svg');

}

.social-icon--vk .social-icon__glyph{

    background-image:url('/assets/svg/vk-outline.svg');

}

/* ==========================================================================
   Modal shell — shared by any popup on the site (order modal, calculator).
   Each modal keeps its own root class (.order-modal, .calculator-modal) for
   the fixed-position overlay so JS can target it individually, but the
   visual shell (backdrop, card, close button) and eyebrow/title/text/action
   buttons are all shared here to avoid re-declaring the same design twice.
   ========================================================================== */

.modal-backdrop{

    position:absolute;

    inset:0;

    background:rgba(6,7,10,.85);

    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);

}

.modal-box{

    position:relative;

    isolation:isolate;

    overflow:hidden;

    width:100%;

    padding:44px 36px 36px;

    border-radius:var(--radius-xl);

    text-align:center;

    background:

        linear-gradient(
            160deg,
            rgba(139,92,246,.35),
            rgba(11,13,18,.98) 55%
        ),
        var(--surface);

    border:1px solid rgba(139,92,246,.4);

    box-shadow:

        0 30px 80px rgba(0,0,0,.55),
        0 0 60px rgba(139,92,246,.2);

    transform:translateY(16px) scale(.97);

    transition:var(--transition);

}

.active .modal-box{

    transform:translateY(0) scale(1);

}

.modal-close{

    position:absolute;

    top:18px;
    right:18px;

    width:38px;
    height:38px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:rgba(255,255,255,.06);

    border:1px solid var(--border);

    transition:var(--transition);

}

.modal-close:hover{

    background:rgba(255,255,255,.12);

}

.modal-eyebrow{

    font-size:13px;
    font-weight:800;
    letter-spacing:.06em;
    text-transform:uppercase;

    color:var(--accent-light);

    margin-bottom:12px;

}

.modal-title{

    margin-bottom:12px;

}

.modal-text{

    max-width:340px;

    margin-inline:auto;

    margin-bottom:32px;

}

.action-btn-group{

    display:flex;

    flex-direction:column;

    gap:14px;

}

.action-btn{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:12px;

    width:100%;

    padding:15px 20px;

    border-radius:999px;

    font-weight:700;

    font-size:15px;

    transition:var(--transition);

}

.action-btn--primary{

    color:#fff;

    background:linear-gradient(135deg,var(--accent),var(--accent-light));

    box-shadow:var(--shadow-glow);

}

.action-btn--primary:hover{

    transform:translateY(-2px);

    filter:brightness(1.08);

}

.action-btn--glass{

    color:var(--text);

    background:rgba(255,255,255,.05);

    border:1px solid var(--border);

}

.action-btn--glass:hover{

    background:rgba(255,255,255,.1);

    border-color:rgba(139,92,246,.4);

}

/* Respect the user's reduced-motion preference. */
@media (prefers-reduced-motion: reduce){
    html{
        scroll-behavior:auto;
    }

    *,
    *::before,
    *::after{
        scroll-behavior:auto !important;
        animation-duration:.01ms !important;
        animation-iteration-count:1 !important;
        transition-duration:.01ms !important;
    }
}

/* ==========================================================================
   Scroll reveal — progressive enhancement
   ========================================================================== */

[data-reveal]{
    opacity:0;
    transform:translateY(26px);
    transition:
        opacity .72s cubic-bezier(.2,.7,.2,1) var(--reveal-delay,0ms),
        transform .72s cubic-bezier(.2,.7,.2,1) var(--reveal-delay,0ms);
}

[data-reveal].is-visible{
    opacity:1;
    transform:none;
}

@media (prefers-reduced-motion:reduce){
    [data-reveal]{opacity:1;transform:none;transition:none}
}


/* header.css */
/* ==========================================================================
   Header
   ========================================================================== */

.header {

    position: fixed;

    inset: 0 0 auto 0;

    height: var(--header-height);

    z-index: 1000;

    transition:
        background .35s ease,
        border-color .35s ease,
        backdrop-filter .35s ease,
        box-shadow .35s ease;

}

.header--scrolled {

    background: rgba(11,13,18,.72);

    backdrop-filter: blur(20px);

    -webkit-backdrop-filter: blur(20px);

    border-bottom: 1px solid var(--border);

    box-shadow: 0 12px 40px rgba(0,0,0,.25);

}

.header__container{

    height:100%;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:40px;

}

.header__logo{

    flex-shrink:0;

    transition:var(--transition);

}

.header__logo:hover{

    opacity:.9;

}

.header__logo img{

    display:block;

    width:auto;

    height:42px;

}

.header__nav{

    display:flex;

    align-items:center;

    gap:34px;

    margin-left:auto;

}

.header__link{

    position:relative;

    font-weight:600;

    color:var(--muted);

    transition:var(--transition);

}

.header__link:hover{

    color:var(--text);

}

.header__link::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:100%;

    height:2px;

    background:linear-gradient(
        90deg,
        var(--accent),
        var(--accent-light)
    );

    transform:scaleX(0);

    transform-origin:left;

    transition:var(--transition);

}

.header__link:hover::after{

    transform:scaleX(1);

}

.header__actions{

    display:flex;

    align-items:center;

    gap:18px;

}

.header__burger{

    display:none;

    width:48px;

    height:48px;

    border-radius:50%;

    background:rgba(255,255,255,.05);

    border:1px solid var(--border);

    transition:var(--transition);

}

.header__burger:hover{

    background:rgba(255,255,255,.08);

}

.header__burger img{

    margin:auto;

}

.mobile-menu{

    position:fixed;

    top:var(--header-height);

    left:0;

    width:100%;

    height:calc(100vh - var(--header-height));

    background:rgba(11,13,18,.96);

    backdrop-filter:blur(24px);

    -webkit-backdrop-filter:blur(24px);

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    gap:48px;

    opacity:0;

    visibility:hidden;

    pointer-events:none;

    transform:translateY(-20px);

    transition:var(--transition);

}

.mobile-menu.active{

    opacity:1;

    visibility:visible;

    pointer-events:auto;

    transform:none;

}

.mobile-menu__nav{

    display:flex;

    flex-direction:column;

    align-items:center;

    gap:28px;

}

.mobile-menu__nav a{

    font-size:28px;

    font-weight:700;

    color:var(--text);

}

.mobile-menu__social{

    display:flex;

    gap:18px;

}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width:980px){

    .header__nav{

        display:none;

    }

    .header__burger{

        display:flex;

        align-items:center;

        justify-content:center;

    }

}

@media (max-width:640px){

    .header{

        height:74px;

    }

    :root{

        --header-height:74px;

    }

    .header__container{

        gap:18px;

    }

    .header .button span{

        display:none;

    }

    .header .button{

        width:48px;

        height:48px;

        padding:0;

    }

}


/* hero.css */
/* ==========================================================================
   Hero — premium composition
   ========================================================================== */

.hero{
    position:relative;
    min-height:840px;
    overflow:hidden;
    display:flex;
    align-items:center;
    padding-top:calc(var(--header-height) + 46px);
    padding-bottom:34px;
    isolation:isolate;
}

.hero__container{
    position:relative;
    z-index:3;
    min-height:820px;
    display:flex;
    align-items:center;
    padding-bottom:190px;
}

.hero__bg{
    position:absolute;
    inset:0;
    z-index:0;
    overflow:hidden;
    background:#090b10;
}

.hero__bg > img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center center;
    transform:scale(1.015);
    animation:heroBackdrop 18s ease-in-out infinite alternate;
}

.hero__bg-overlay{
    position:absolute;
    inset:0;
    background:
        radial-gradient(circle at 72% 43%, rgba(139,92,246,.08), transparent 30%),
        linear-gradient(90deg,
            rgba(7,9,14,.99) 0%,
            rgba(7,9,14,.96) 25%,
            rgba(7,9,14,.78) 44%,
            rgba(7,9,14,.28) 67%,
            rgba(7,9,14,.10) 100%),
        linear-gradient(180deg,
            rgba(7,9,14,.08) 45%,
            rgba(7,9,14,.72) 82%,
            rgba(7,9,14,.98) 100%);
}

.hero__bg::after{
    content:"";
    position:absolute;
    inset:0;
    opacity:.16;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),
        linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
    background-size:54px 54px;
    mask-image:linear-gradient(90deg,#000,transparent 72%);
    pointer-events:none;
}

.hero__orb{
    position:absolute;
    border-radius:50%;
    filter:blur(68px);
    pointer-events:none;
    mix-blend-mode:screen;
}

.hero__orb--one{
    width:420px;
    height:420px;
    right:4%;
    top:9%;
    background:rgba(139,92,246,.24);
    animation:heroOrbOne 10s ease-in-out infinite alternate;
}

.hero__orb--two{
    width:300px;
    height:300px;
    right:23%;
    bottom:4%;
    background:rgba(197,94,255,.18);
    animation:heroOrbTwo 12s ease-in-out infinite alternate;
}

.hero__content{
    position:relative;
    z-index:4;
    width:min(710px,61%);
}

.hero__badge{
    display:inline-flex;
    align-items:center;
    gap:10px;
    width:fit-content;
    margin-bottom:25px;
    padding:9px 16px 9px 10px;
    border:1px solid rgba(197,94,255,.22);
    border-radius:999px;
    background:linear-gradient(135deg,rgba(139,92,246,.10),rgba(255,255,255,.035));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
    backdrop-filter:blur(18px);
    font-size:14px;
    color:#e7e3ed;
}

.hero__badge-icon{
    width:29px;
    height:29px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:rgba(139,92,246,.14);
    color:var(--accent-light);
}

.hero__title{
    margin:0 0 22px;
    max-width:760px;
    line-height:.98;
    letter-spacing:-.045em;
    text-wrap:balance;
}

.hero__title-main,
.hero__title-accent{
    display:block;
}

.hero__title-main{
    white-space:nowrap;
    font-size:clamp(46px,5.05vw,76px);
    color:#fff;
}

.hero__title-accent{
    margin-top:8px;
    width:fit-content;
    font-size:clamp(48px,5.25vw,80px);
    background:linear-gradient(90deg,#fff 0%,#dfc4ff 38%,#c55eff 75%,#8b5cf6 100%);
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
}

.hero__description{
    max-width:620px;
    margin-bottom:30px;
    font-size:clamp(16px,1.35vw,19px);
    line-height:1.72;
    color:#b7bfce;
}

.hero__buttons{
    display:flex;
    align-items:center;
    gap:14px;
    flex-wrap:wrap;
    margin-bottom:25px;
}

.hero__primary{
    min-width:220px;
}

.hero__secondary{
    background:rgba(14,17,25,.68);
    border-color:rgba(255,255,255,.12);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}

.hero__highlights{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:20px 28px;
    max-width:700px;
}

.hero__highlight{
    min-width:0;
    display:flex;
    align-items:center;
    gap:10px;
    padding:0;
    border:0;
    border-radius:0;
    background:none;
    box-shadow:none;
    backdrop-filter:none;
    transition:transform .3s ease;
}

.hero__highlight:hover{
    transform:translateY(-2px);
}

.hero__highlight-icon{
    flex:0 0 38px;
    width:38px;
    height:38px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:linear-gradient(135deg,rgba(139,92,246,.20),rgba(197,94,255,.08));
    border:1px solid rgba(197,94,255,.22);
    box-shadow:0 8px 24px rgba(139,92,246,.10),inset 0 1px 0 rgba(255,255,255,.06);
}

.hero__highlight-icon img{
    width:20px;
    height:20px;
}

.hero__highlight-copy{
    display:flex;
    flex-direction:column;
    line-height:1.25;
}

.hero__highlight-copy strong{
    font-size:14px;
    color:#fff;
}

.hero__highlight-copy small{
    margin-top:3px;
    font-size:11px;
    color:#8f98aa;
}

.hero__advantages{
    position:absolute;
    left:0;
    right:0;
    bottom:4px;
    z-index:4;
}

/* Entry choreography */
.hero__badge,
.hero__title,
.hero__description,
.hero__buttons,
.hero__highlights,
.hero__advantages{
    opacity:0;
    transform:translateY(22px);
    animation:heroReveal .72s cubic-bezier(.2,.7,.2,1) forwards;
}

.hero__title{animation-delay:.07s}
.hero__description{animation-delay:.14s}
.hero__buttons{animation-delay:.21s}
.hero__highlights{animation-delay:.28s}
.hero__advantages{animation-delay:.38s}

@keyframes heroReveal{to{opacity:1;transform:translateY(0)}}
@keyframes heroBackdrop{from{transform:scale(1.015) translate3d(0,0,0)}to{transform:scale(1.045) translate3d(-.5%,0,0)}}
@keyframes heroOrbOne{to{transform:translate3d(-28px,34px,0) scale(1.12)}}
@keyframes heroOrbTwo{to{transform:translate3d(28px,-24px,0) scale(.9)}}

@media (max-width:1180px){
    .hero__container{min-height:790px;padding-bottom:184px}
    .hero__content{width:min(650px,62%)}
    .hero__title-main{font-size:clamp(44px,5vw,66px)}
    .hero__title-accent{font-size:clamp(46px,5.1vw,69px)}
    .hero__advantages{right:0}
}

@media (max-width:980px){
    .hero{
        min-height:auto;
        padding-top:calc(var(--header-height) + 54px);
        padding-bottom:30px;
    }
    .hero__container{
        min-height:800px;
        align-items:flex-start;
        padding-bottom:180px;
    }
    .hero__content{width:min(640px,76%)}
    .hero__bg > img{object-position:61% center}
    .hero__bg-overlay{
        background:
            linear-gradient(90deg,rgba(7,9,14,.98) 0%,rgba(7,9,14,.94) 37%,rgba(7,9,14,.48) 66%,rgba(7,9,14,.20) 100%),
            linear-gradient(180deg,rgba(7,9,14,.08) 35%,rgba(7,9,14,.94) 89%,#07090e 100%);
    }
    .hero__advantages{right:0}
}

@media (max-width:760px){
    .hero{
        padding-top:calc(var(--header-height) + 34px);
        padding-bottom:24px;
    }
    .hero__container{
        display:block;
        min-height:auto;
        padding-bottom:0;
    }
    .hero__content{width:100%;padding-bottom:350px}
    .hero__title-main{
        white-space:normal;
        font-size:clamp(42px,12vw,60px);
        line-height:1.02;
    }
    .hero__title-accent{font-size:clamp(44px,12.7vw,64px)}
    .hero__description{max-width:94%;font-size:16px}
    .hero__bg > img{
        object-position:70% bottom;
    }
    .hero__bg-overlay{
        background:
            linear-gradient(180deg,rgba(7,9,14,.96) 0%,rgba(7,9,14,.87) 42%,rgba(7,9,14,.27) 62%,rgba(7,9,14,.60) 78%,#07090e 100%);
    }
    .hero__buttons{display:grid;grid-template-columns:1fr;max-width:390px}
    .hero__buttons .button{width:100%}
    .hero__highlights{
        display:flex;
        gap:13px 18px;
    }
    .hero__highlight{justify-content:flex-start}
    .hero__highlight-icon{flex-basis:34px;width:34px;height:34px}
    .hero__highlight-copy small{display:none}
    .hero__highlight-copy strong{font-size:12px}
    .hero__contact-card{display:none}
    .hero__advantages{position:relative;left:auto;right:auto;bottom:auto;margin-top:0}
}

@media (max-width:520px){
    .hero__content{padding-bottom:300px}
    .hero__badge{margin-bottom:19px}
    .hero__title{margin-bottom:18px}
    .hero__description{margin-bottom:24px;line-height:1.62}
    .hero__buttons{margin-bottom:18px}
    .hero__highlights{gap:12px 16px}
    .hero__bg > img{object-position:72% bottom}
}

@media (prefers-reduced-motion:reduce){
    .hero__bg > img,.hero__orb{animation:none!important}
}


/* advantages.css */
/* ==========================================================================
   Advantages — centered premium trust panel
   ========================================================================== */

.advantages__box{
    margin-top:24px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:1px;
    background:rgba(255,255,255,.07);
    border:1px solid rgba(255,255,255,.08);
    border-radius:var(--radius-lg);
    overflow:hidden;
    box-shadow:0 18px 55px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.04);
}

.advantages__item{
    min-height:162px;
    padding:22px 18px 20px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    background:linear-gradient(160deg,rgba(22,26,38,.96),rgba(16,19,28,.96));
}

.advantages__icon{
    width:58px;
    height:58px;
    display:grid;
    place-items:center;
    margin:0 auto 14px;
    border-radius:50%;
    background:linear-gradient(135deg,rgba(139,92,246,.22),rgba(197,94,255,.08));
    border:1px solid rgba(197,94,255,.26);
    box-shadow:0 0 0 6px rgba(139,92,246,.035),0 12px 32px rgba(139,92,246,.10),inset 0 1px 0 rgba(255,255,255,.07);
}

.advantages__icon img{
    width:28px;
    height:28px;
}

.advantages__title{
    margin:0 0 7px;
    font-size:16px;
    line-height:1.3;
    font-weight:700;
    color:var(--text);
}

.advantages__text{
    margin:0;
    font-size:13px;
    line-height:1.45;
    color:var(--muted);
}

@media (max-width:900px){
    .advantages__box{grid-template-columns:repeat(2,1fr)}
}

@media (max-width:540px){
    .advantages__box{grid-template-columns:repeat(2,1fr);border-radius:22px}
    .advantages__item{min-height:148px;padding:18px 12px}
    .advantages__icon{width:52px;height:52px;margin-bottom:12px}
    .advantages__icon img{width:25px;height:25px}
    .advantages__title{font-size:14px}
    .advantages__text{font-size:12px}
}


/* contact-card.css */
/* ==========================================================================\n   Hero contact card — premium glass panel\n   ========================================================================== */

.hero__contact-card{
    position:absolute;
    z-index:5;
    top:auto;
    right:0;
    bottom:208px;
    width:340px;
    height:auto;
    min-height:0;
    padding:24px;
    overflow:visible;
    border-radius:30px;
    border:1px solid rgba(197,94,255,.58);
    background:
        radial-gradient(circle at 88% 0%,rgba(139,92,246,.17),transparent 34%),
        linear-gradient(155deg,rgba(27,22,43,.94),rgba(14,13,23,.91));
    box-shadow:
        0 30px 80px rgba(0,0,0,.48),
        0 0 0 1px rgba(139,92,246,.07) inset,
        0 0 50px rgba(139,92,246,.14);
    backdrop-filter:blur(24px) saturate(120%);
    -webkit-backdrop-filter:blur(24px) saturate(120%);
    opacity:0;
    transform:translateY(18px);
    animation:heroContactCardReveal .72s .32s cubic-bezier(.2,.7,.2,1) forwards;
}

.hero__contact-card::before{
    content:"";
    position:absolute;
    z-index:-1;
    width:200px;
    height:200px;
    right:-65px;
    top:-90px;
    border-radius:50%;
    background:rgba(197,94,255,.13);
    filter:blur(52px);
    pointer-events:none;
}

.hero__contact-head{
    position:relative;
    margin-bottom:17px;
}

.hero__contact-card-title{
    margin:0;
    color:#fff;
    font-size:17px;
    line-height:1.2;
    font-weight:800;
    letter-spacing:.025em;
    text-transform:uppercase;
}

.hero__contact-card-title span{color:var(--accent-light)}

.hero__contact-accent{
    display:block;
    width:78px;
    height:3px;
    margin-top:12px;
    border-radius:999px;
    background:linear-gradient(90deg,var(--accent),var(--accent-light),transparent);
    box-shadow:0 0 18px rgba(197,94,255,.34);
}

.hero__contact-list{
    display:grid;
    gap:9px;
}

.hero__contact-row{
    position:relative;
    display:grid;
    grid-template-columns:48px minmax(0,1fr) 34px;
    align-items:center;
    gap:11px;
    min-height:66px;
    padding:9px 11px;
    border:1px solid rgba(139,92,246,.34);
    border-radius:20px;
    color:var(--text);
    background:linear-gradient(145deg,rgba(139,92,246,.09),rgba(255,255,255,.025));
    transition:transform .28s ease,border-color .28s ease,background-color .28s ease,box-shadow .28s ease;
}

.hero__contact-row:hover{
    color:#fff;
    transform:translateY(-2px);
    border-color:rgba(197,94,255,.7);
    background:linear-gradient(145deg,rgba(139,92,246,.17),rgba(255,255,255,.045));
    box-shadow:0 12px 28px rgba(0,0,0,.24),0 0 24px rgba(139,92,246,.10);
}

.hero__contact-icon{
    position:relative;
    width:48px;
    height:48px;
    display:grid;
    place-items:center;
    border-radius:50%;
    border:1px solid rgba(197,94,255,.62);
    background:
        radial-gradient(circle at 35% 28%,rgba(255,255,255,.20),transparent 28%),
        linear-gradient(145deg,rgba(197,94,255,.42),rgba(83,45,175,.28));
    box-shadow:0 0 20px rgba(139,92,246,.20),inset 0 0 15px rgba(197,94,255,.10);
}

.hero__contact-icon--telegram{
    background:
        radial-gradient(circle at 35% 28%,rgba(255,255,255,.22),transparent 28%),
        linear-gradient(145deg,rgba(55,169,255,.55),rgba(139,92,246,.38) 70%);
}

.hero__contact-icon--vk{
    background:
        radial-gradient(circle at 35% 28%,rgba(255,255,255,.22),transparent 28%),
        linear-gradient(145deg,rgba(60,130,255,.52),rgba(139,92,246,.38) 72%);
}

.hero__contact-icon img{
    width:23px;
    height:23px;
    object-fit:contain;
    filter:brightness(0) invert(1);
}

.hero__contact-copy{
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:2px;
}

.hero__contact-copy strong{
    overflow-wrap:anywhere;
    font-size:14px;
    line-height:1.22;
    font-weight:700;
    color:#fff;
}

.hero__contact-copy small{
    font-size:11px;
    line-height:1.2;
    color:var(--muted);
}

.hero__contact-arrow{
    width:34px;
    height:34px;
    display:grid;
    place-items:center;
    border-radius:50%;
    border:1px solid rgba(139,92,246,.58);
    background:rgba(139,92,246,.07);
    transition:var(--transition);
}

.hero__contact-arrow::before{
    content:"";
    width:7px;
    height:7px;
    border-top:2px solid #fff;
    border-right:2px solid #fff;
    transform:rotate(45deg) translate(-1px,1px);
}

.hero__contact-row:hover .hero__contact-arrow{
    background:linear-gradient(135deg,var(--accent),var(--accent-light));
    border-color:transparent;
    transform:translateX(2px);
    box-shadow:0 0 20px rgba(139,92,246,.3);
}

.hero__contact-meta{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-top:14px;
    padding-top:13px;
    border-top:1px solid rgba(255,255,255,.09);
    color:var(--muted);
    font-size:10px;
    line-height:1.25;
}

.hero__contact-status{
    display:inline-flex;
    align-items:center;
    gap:6px;
}

.hero__contact-status i{
    width:7px;
    height:7px;
    flex:none;
    border-radius:50%;
    background:#4ade80;
    box-shadow:0 0 12px rgba(74,222,128,.65);
}

.hero__contact-hours{white-space:nowrap}

@keyframes heroContactCardReveal{
    to{opacity:1;transform:translateY(0)}
}

@media (max-width:1280px){
    .hero__contact-card{
        right:8px;
        bottom:206px;
        width:316px;
        padding:20px;
    }
    .hero__contact-row{
        grid-template-columns:44px minmax(0,1fr) 32px;
        min-height:61px;
        gap:9px;
        padding:8px 10px;
    }
    .hero__contact-icon{width:44px;height:44px}
    .hero__contact-icon img{width:21px;height:21px}
    .hero__contact-copy strong{font-size:13px}
}

@media (max-width:1100px){
    .hero__contact-card{
        right:4px;
        bottom:202px;
        width:288px;
        padding:18px;
    }
    .hero__contact-head{margin-bottom:14px}
    .hero__contact-card-title{font-size:15px}
    .hero__contact-accent{margin-top:10px}
    .hero__contact-row{
        grid-template-columns:42px minmax(0,1fr) 30px;
        min-height:58px;
        border-radius:17px;
    }
    .hero__contact-icon{width:42px;height:42px}
    .hero__contact-icon img{width:20px;height:20px}
    .hero__contact-copy strong{font-size:12px}
    .hero__contact-copy small{font-size:10px}
    .hero__contact-arrow{width:30px;height:30px}
    .hero__contact-meta{margin-top:12px;padding-top:11px;font-size:9px}
}

@media (max-width:880px){
    .hero__contact-card{
        right:0;
        bottom:194px;
        width:272px;
    }
}

@media (max-width:760px){
    .hero__contact-card{display:none}
}

@media (prefers-reduced-motion:reduce){
    .hero__contact-card{opacity:1;transform:none;animation:none}
}


/* trust.css */
/* ==========================================================================
   Trust Bar
   ========================================================================== */

.trust{
    position:relative;
    padding-block:52px 72px;
}

.trust__bar{
    position:relative;
    overflow:hidden;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    padding:24px 14px;
    border:1px solid rgba(255,255,255,.07);
    border-radius:26px;
    background:linear-gradient(135deg,rgba(21,25,35,.78),rgba(13,16,23,.82));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 22px 60px rgba(0,0,0,.12);
}

.trust__bar::before{
    content:"";
    position:absolute;
    width:320px;
    height:140px;
    left:50%;
    top:-95px;
    transform:translateX(-50%);
    border-radius:50%;
    background:rgba(139,92,246,.15);
    filter:blur(65px);
}

.trust__item{
    position:relative;
    z-index:1;
    text-align:center;
    padding:10px 20px;
}

.trust__item + .trust__item::before{
    content:"";
    position:absolute;
    left:0;
    top:50%;
    width:1px;
    height:44px;
    transform:translateY(-50%);
    background:rgba(255,255,255,.07);
}

.trust__value{
    margin-bottom:5px;
    font-size:clamp(27px,3vw,39px);
    font-weight:800;
    line-height:1.05;
    letter-spacing:-.035em;
    background:linear-gradient(90deg,#fff,#e3c7ff 48%,#c55eff);
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
}

.trust__label{font-size:14px;color:#9ea7b8}

@media (max-width:760px){
    .trust{padding-block:36px 58px}
    .trust__bar{grid-template-columns:repeat(2,1fr);row-gap:12px;padding:16px 10px}
    .trust__item:nth-child(3)::before{display:none}
    .trust__item:nth-child(n+3){border-top:1px solid rgba(255,255,255,.055);padding-top:20px}
}

@media (max-width:430px){
    .trust__value{font-size:27px}
    .trust__label{font-size:12px}
    .trust__item{padding-inline:8px}
}


/* services.css */
/* ==========================================================================
   Services — premium cards
   ========================================================================== */

.services{
    position:relative;
    overflow:hidden;
}

.services::before{
    content:"";
    position:absolute;
    width:620px;
    height:620px;
    right:-340px;
    top:8%;
    border-radius:50%;
    background:rgba(139,92,246,.10);
    filter:blur(110px);
    pointer-events:none;
}

.section-kicker{
    display:inline-block;
    margin-bottom:12px;
    font-size:12px;
    font-weight:800;
    letter-spacing:.12em;
    text-transform:uppercase;
    color:var(--accent-light);
}

.services__grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:22px;
}

.services__card{
    position:relative;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    min-height:470px;
    padding:34px 30px 30px;
    border-radius:30px;
    border:1px solid rgba(255,255,255,.075);
    background:
        radial-gradient(circle at 50% -15%,rgba(139,92,246,.15),transparent 38%),
        linear-gradient(155deg,rgba(24,28,40,.93),rgba(14,17,25,.96));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 18px 55px rgba(0,0,0,.16);
    transition:transform .36s cubic-bezier(.2,.7,.2,1),border-color .36s ease,box-shadow .36s ease;
}

.services__card::after{
    content:"";
    position:absolute;
    left:18%;
    right:18%;
    top:-2px;
    height:1px;
    background:linear-gradient(90deg,transparent,var(--accent-light),transparent);
    opacity:.38;
    transition:opacity .3s ease,left .3s ease,right .3s ease;
}

.services__card:hover{
    transform:translateY(-8px);
    border-color:rgba(197,94,255,.30);
    box-shadow:0 28px 80px rgba(0,0,0,.28),0 0 55px rgba(139,92,246,.08),inset 0 1px 0 rgba(255,255,255,.07);
}

.services__card:hover::after{left:8%;right:8%;opacity:.72}

.services__icon-wrap{
    display:flex;
    justify-content:center;
    margin-bottom:22px;
}

.services__icon{
    position:relative;
    width:92px;
    height:92px;
    display:grid;
    place-items:center;
    border-radius:50%;
    color:#fff;
    background:
        radial-gradient(circle at 35% 28%,rgba(255,255,255,.12),transparent 28%),
        linear-gradient(145deg,rgba(139,92,246,.19),rgba(197,94,255,.07));
    border:1px solid rgba(197,94,255,.30);
    box-shadow:0 0 0 7px rgba(139,92,246,.035),0 12px 34px rgba(139,92,246,.12),inset 0 1px 0 rgba(255,255,255,.08);
    transition:transform .4s cubic-bezier(.2,.7,.2,1),box-shadow .4s ease;
}

.services__icon::before{
    content:"";
    position:absolute;
    inset:7px;
    border-radius:50%;
    border:1px solid rgba(255,255,255,.05);
}

.services__card:hover .services__icon{
    transform:translateY(-3px) scale(1.04);
    box-shadow:0 0 0 8px rgba(139,92,246,.045),0 16px 44px rgba(197,94,255,.19),inset 0 1px 0 rgba(255,255,255,.10);
}

.services__icon svg{
    position:relative;
    z-index:1;
    width:48px;
    height:48px;
    overflow:visible;
}

.services__title{
    margin:0 auto 8px;
    max-width:280px;
    text-align:center;
    font-size:21px;
    line-height:1.25;
    text-wrap:balance;
}

.services__price{
    margin:0 auto;
    width:fit-content;
    text-align:center;
    font-size:16px;
    font-weight:800;
    background:linear-gradient(90deg,#caa7ff,#c55eff);
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
}

.services__divider{
    width:42px;
    height:1px;
    margin:20px auto 18px;
    background:linear-gradient(90deg,transparent,rgba(197,94,255,.7),transparent);
}

.services__list{
    display:flex;
    flex-direction:column;
    gap:11px;
    margin-bottom:26px;
}

.services__list li{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:14px;
    line-height:1.45;
    color:#aeb6c6;
}

.services__list-mark{
    flex:0 0 8px;
    width:8px;
    height:8px;
    border-radius:50%;
    background:linear-gradient(135deg,var(--accent),var(--accent-light));
    box-shadow:0 0 12px rgba(197,94,255,.44);
}

.services__cta{
    margin-top:auto;
    width:100%;
    color:#fff;
    background:linear-gradient(135deg,#8B5CF6 0%,#A84EF0 48%,#C55EFF 100%);
    border:1px solid rgba(255,255,255,.08);
    box-shadow:0 12px 32px rgba(139,92,246,.18),inset 0 1px 0 rgba(255,255,255,.14);
}

.services__cta:hover{
    box-shadow:0 16px 42px rgba(197,94,255,.28),inset 0 1px 0 rgba(255,255,255,.18);
}

.services__cta img{
    transition:transform .25s ease;
}

.services__cta:hover img{transform:translate(3px,-3px)}

@media (max-width:980px){
    .services__grid{grid-template-columns:repeat(2,1fr)}
}

@media (max-width:640px){
    .services__grid{grid-template-columns:1fr;gap:15px}
    .services__card{min-height:auto;padding:29px 24px 24px}
    .services__icon{width:82px;height:82px}
    .services__icon svg{width:43px;height:43px}
    .services__list{max-width:320px;width:100%;margin-left:auto;margin-right:auto}
}


/* gallery.css */
/* ==========================================================================
   Gallery — editorial masonry grid
   ========================================================================== */

.gallery{
    position:relative;
    overflow:hidden;
    background:linear-gradient(180deg,transparent,rgba(139,92,246,.025) 52%,transparent);
}

.gallery__grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    grid-auto-rows:180px;
    grid-auto-flow:dense;
    gap:14px;
}

.gallery__item{
    position:relative;
    min-height:0;
    overflow:hidden;
    grid-row:span 2;
    border-radius:22px;
    border:1px solid rgba(255,255,255,.07);
    background:#11141c;
    box-shadow:0 12px 35px rgba(0,0,0,.16);
    isolation:isolate;
    cursor:zoom-in;
}

.gallery__item--tall{grid-row:span 3}
.gallery__item--wide{grid-column:span 2;grid-row:span 2}

.gallery__item img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .75s cubic-bezier(.2,.7,.2,1),filter .5s ease;
}

.gallery__item::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:1;
    background:
        linear-gradient(180deg,transparent 40%,rgba(7,9,14,.55) 100%),
        radial-gradient(circle at 70% 18%,rgba(197,94,255,.16),transparent 36%);
    opacity:.18;
    transition:opacity .4s ease;
}

.gallery__item::after{
    content:"";
    position:absolute;
    inset:0;
    z-index:3;
    border-radius:inherit;
    border:1px solid rgba(197,94,255,0);
    transition:border-color .4s ease,box-shadow .4s ease;
    pointer-events:none;
}

.gallery__veil{
    position:absolute;
    inset:0;
    z-index:2;
    display:grid;
    place-items:center;
    opacity:0;
    background:rgba(7,9,14,.12);
    backdrop-filter:blur(0);
    transition:opacity .35s ease,backdrop-filter .35s ease;
}

.gallery__zoom{
    width:54px;
    height:54px;
    display:grid;
    place-items:center;
    border-radius:50%;
    color:#fff;
    background:rgba(16,18,28,.68);
    border:1px solid rgba(197,94,255,.36);
    box-shadow:0 14px 40px rgba(0,0,0,.32),0 0 32px rgba(139,92,246,.12);
    transform:scale(.75);
    transition:transform .35s cubic-bezier(.2,.7,.2,1);
}

.gallery__zoom svg{width:23px;height:23px}

.gallery__item:hover img{transform:scale(1.055);filter:saturate(1.05) contrast(1.03)}
.gallery__item:hover::before{opacity:.6}
.gallery__item:hover::after{border-color:rgba(197,94,255,.28);box-shadow:inset 0 0 35px rgba(139,92,246,.05)}
.gallery__item:hover .gallery__veil{opacity:1;backdrop-filter:blur(1px)}
.gallery__item:hover .gallery__zoom{transform:scale(1)}

/* ==========================================================================
   Lightbox
   ========================================================================== */

.lightbox{
    position:fixed;
    inset:0;
    z-index:2000;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:34px;
    background:rgba(5,6,10,.92);
    backdrop-filter:blur(24px);
    -webkit-backdrop-filter:blur(24px);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .3s ease,visibility .3s ease;
}

.lightbox.active{opacity:1;visibility:visible;pointer-events:auto}

.lightbox__figure{
    width:auto;
    max-width:calc(100vw - 150px);
    max-height:calc(100dvh - 34px);
    margin:0;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
}

.lightbox__media{
    position:relative;
    display:inline-block;
    width:auto;
    height:auto;
    max-width:100%;
    max-height:calc(100dvh - 105px);
    line-height:0;
    flex:0 1 auto;
}

.lightbox__media > img{
    display:block;
    width:auto;
    height:auto;
    max-width:min(92vw,1200px);
    max-height:calc(100dvh - 105px);
    object-fit:contain;
    border-radius:20px;
    box-shadow:0 34px 100px rgba(0,0,0,.55),0 0 70px rgba(139,92,246,.08);
}

.lightbox__watermark{
    position:absolute;
    right:14px;
    bottom:14px;
    z-index:2;
    width:220px;
    height:130px;
    display:grid;
    place-items:center;
    pointer-events:none;
    isolation:isolate;
}

.lightbox__watermark::before{
    content:"";
    position:absolute;
    inset:-12px;
    z-index:-1;
    background:radial-gradient(ellipse at center,
        rgba(5,7,12,.82) 0%,
        rgba(5,7,12,.66) 32%,
        rgba(5,7,12,.34) 55%,
        rgba(5,7,12,.10) 72%,
        rgba(5,7,12,0) 100%);
    filter:blur(5px);
}

.lightbox__watermark img{
    display:block;
    width:180px;
    max-width:82%;
    height:auto;
    opacity:.92;
    filter:drop-shadow(0 3px 14px rgba(0,0,0,.45));
}

.lightbox__figure figcaption{margin-top:14px;color:#9199aa;font-size:13px}

.lightbox__close,
.lightbox__nav{
    position:absolute;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:rgba(22,24,35,.72);
    border:1px solid rgba(255,255,255,.10);
    box-shadow:0 12px 30px rgba(0,0,0,.20);
    backdrop-filter:blur(12px);
    transition:background .25s ease,border-color .25s ease,transform .25s ease;
}

.lightbox__close{top:24px;right:24px;width:48px;height:48px}
.lightbox__nav{top:50%;width:56px;height:56px;transform:translateY(-50%)}
.lightbox__nav--prev{left:24px}
.lightbox__nav--next{right:24px}
.lightbox__nav:hover{background:rgba(139,92,246,.28);border-color:rgba(197,94,255,.38);transform:translateY(-50%) scale(1.05)}
.lightbox__close:hover{background:rgba(139,92,246,.28);border-color:rgba(197,94,255,.38);transform:scale(1.05)}
.lightbox__nav-icon--next{transform:scaleX(-1)}

@media (max-width:980px){
    .gallery__grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:155px}
}

@media (max-width:700px){
    .gallery__grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:145px;gap:9px}
    .gallery__item,.gallery__item--tall,.gallery__item--wide{grid-column:span 1;grid-row:span 2}
    .gallery__item:nth-child(1),.gallery__item:nth-child(6),.gallery__item:nth-child(11){grid-row:span 3}
    .gallery__item{border-radius:16px}
    .gallery__zoom{width:46px;height:46px}
    .lightbox{padding:12px}
    .lightbox__figure{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}
    .lightbox__media{max-height:calc(100dvh - 100px)}
    .lightbox__media > img{max-width:calc(100vw - 24px);max-height:calc(100dvh - 100px);border-radius:14px}
    .lightbox__nav{width:44px;height:44px}
    .lightbox__nav--prev{left:10px}
    .lightbox__nav--next{right:10px}
    .lightbox__close{top:14px;right:14px}
    .lightbox__watermark{right:6px;bottom:6px;width:150px;height:92px}
    .lightbox__watermark img{width:122px}
}

@media (max-width:430px){
    .gallery__grid{grid-auto-rows:118px}
}


/* cta.css */
/* ==========================================================================
   CTA
   ========================================================================== */

.cta{

    padding-block:60px 110px;

}

.cta__card{

    position:relative;

    overflow:hidden;

    isolation:isolate;

    text-align:center;

    padding:80px 40px;

    border-radius:var(--radius-xl);

    background:var(--surface);

    border:1px solid var(--border);

}

.cta__glow{

    position:absolute;

    inset:auto;

    top:50%;
    left:50%;

    width:900px;
    height:500px;

    transform:translate(-50%,-50%);

    background:radial-gradient(circle,
        rgba(139,92,246,.35) 0%,
        rgba(197,94,255,.12) 45%,
        transparent 75%);

    filter:blur(60px);

    z-index:-1;

}

.cta__eyebrow{

    display:inline-block;

    font-weight:700;

    letter-spacing:.06em;

    text-transform:uppercase;

    font-size:14px;

    color:var(--accent-light);

    margin-bottom:18px;

}

.cta__title{

    max-width:640px;

    margin-inline:auto;

    margin-bottom:20px;

}

.cta__text{

    max-width:520px;

    margin-inline:auto;

    font-size:18px;

    margin-bottom:44px;

}

.cta__buttons{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:18px;

    margin-bottom:36px;

}

.cta__social{

    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:14px;

}

.cta__social-link{

    min-width:154px;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:12px;
    padding:9px 16px 9px 9px;
    border-radius:999px;
    border:1px solid rgba(197,94,255,.18);
    background:linear-gradient(135deg,rgba(139,92,246,.10),rgba(255,255,255,.035));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
    color:#d7dbe4;
    font-weight:700;
    transition:transform .3s ease,border-color .3s ease,background .3s ease,box-shadow .3s ease,color .3s ease;

}

.cta__social-icon{

    width:46px;
    height:46px;
    flex:0 0 46px;
    display:grid;
    place-items:center;
    border-radius:50%;
    color:#fff;
    background:linear-gradient(145deg,rgba(139,92,246,.30),rgba(197,94,255,.12));
    border:1px solid rgba(197,94,255,.32);
    box-shadow:0 8px 24px rgba(139,92,246,.13),inset 0 1px 0 rgba(255,255,255,.10);

}

.cta__social-icon img{

    width:26px;
    height:26px;
    object-fit:contain;

}

.cta__social-link:hover{

    transform:translateY(-3px);
    color:#fff;
    border-color:rgba(197,94,255,.42);
    background:rgba(139,92,246,.13);
    box-shadow:0 14px 34px rgba(139,92,246,.12),inset 0 1px 0 rgba(255,255,255,.07);

}

@media (max-width:640px){

    .cta__card{

        padding:56px 24px;

    }

    .cta__buttons{

        flex-direction:column;

    }

    .cta__buttons .button{

        width:100%;

    }

    .cta__social{gap:10px}
    .cta__social-link{min-width:0;flex:1 1 145px}
    .cta__social-icon{width:44px;height:44px;flex-basis:44px}
    .cta__social-icon img{width:24px;height:24px}
}


/* faq.css */
/* ==========================================================================
   FAQ
   ========================================================================== */

.faq__list{

    max-width:1100px;

    margin-inline:auto;

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:14px;

    align-items:stretch;

}

.faq__item{

    border-radius:var(--radius);

    background:var(--surface);

    border:1px solid var(--border);

    transition:var(--transition);

}

.faq__item:has(.faq__question[aria-expanded="true"]){

    border-color:rgba(139,92,246,.4);

}

.faq__question{

    width:100%;

    display:flex;

    align-items:center;

    gap:16px;

    padding:24px 26px;

    text-align:left;

    font-weight:700;

    font-size:17px;

    color:var(--text);

}

.faq__number{

    flex-shrink:0;

    display:flex;

    align-items:center;

    justify-content:center;

    width:32px;
    height:32px;

    border-radius:50%;

    background:linear-gradient(135deg,var(--accent),var(--accent-light));

    color:#fff;

    font-size:14px;
    font-weight:800;

}

.faq__question-text{

    flex:1;

}

.faq__icon{

    flex-shrink:0;

    transform:rotate(-90deg);

    transition:var(--transition);

}

.faq__question[aria-expanded="true"] .faq__icon{

    transform:rotate(0deg);

    filter:none;

}

.faq__answer-wrap{

    display:grid;

    grid-template-rows:0fr;

    transition:var(--transition);

}

.faq__question[aria-expanded="true"] + .faq__answer-wrap{

    grid-template-rows:1fr;

}

.faq__answer-inner{

    overflow:hidden;

}

.faq__answer{

    padding:0 26px 24px 74px;

    color:var(--muted);

    line-height:1.7;

}

@media (max-width:900px){

    .faq__list{

        grid-template-columns:1fr;

    }

}

@media (max-width:640px){

    .faq__question{

        padding:20px;

        font-size:16px;

        gap:12px;

    }

    .faq__number{

        width:28px;
        height:28px;

        font-size:13px;

    }

    .faq__answer{

        padding:0 20px 20px 60px;

    }
}


/* contacts.css */
/* ==========================================================================
   Contacts
   ========================================================================== */

.contacts__layout{

    display:grid;

    grid-template-columns:.9fr 1.1fr;

    gap:60px;

    align-items:center;

    padding:56px;

    border-radius:var(--radius-xl);

    background:var(--surface);

    border:1px solid var(--border);

}

.contacts__eyebrow{

    font-weight:700;

    letter-spacing:.04em;

    text-transform:uppercase;

    font-size:13px;

    color:var(--accent-light);

    margin-bottom:16px;

}

.contacts__phone{

    display:block;

    font-size:clamp(30px,4vw,44px);

    font-weight:800;

    letter-spacing:-.02em;

    color:var(--text);

    margin-bottom:14px;

    transition:var(--transition);
}

.contacts__phone:hover{

    color:var(--accent-light);

}

.contacts__area{

    color:var(--muted);

    font-size:16px;

}

.contacts__channels{

    display:flex;

    flex-direction:column;

    gap:16px;

}

.contacts__card{

    display:flex;

    align-items:center;

    gap:18px;

    padding:20px 24px;

    border-radius:var(--radius);

    background:rgba(255,255,255,.04);

    border:1px solid var(--border);

    transition:var(--transition);

}

.contacts__card:hover{

    transform:translateX(6px);

    border-color:rgba(139,92,246,.4);

    background:rgba(255,255,255,.07);

}

.contacts__icon{

    flex-shrink:0;

    display:flex;

    align-items:center;

    justify-content:center;

    width:48px;
    height:48px;

    border-radius:50%;

    background:linear-gradient(135deg,var(--accent),var(--accent-light));

}

.contacts__card-text{

    display:flex;

    flex-direction:column;

    gap:2px;

}

.contacts__card-title{

    font-weight:700;

}

.contacts__card-sub{

    font-size:14px;

    color:var(--muted);

}

@media (max-width:900px){

    .contacts__layout{

        grid-template-columns:1fr;

        padding:40px 28px;

        gap:40px;

    }
}


/* footer.css */
/* ==========================================================================
   Footer
   ========================================================================== */

.footer{

    padding-top:90px;

    padding-bottom:0;

    border-top:1px solid var(--border);

}

.footer__grid{

    display:grid;

    grid-template-columns:1.4fr 1fr 1fr 1.2fr;

    gap:48px;

    padding-bottom:60px;

}

.footer__brand img{

    width:auto;
    height:36px;

    margin-bottom:20px;

}

.footer__tagline{

    max-width:280px;

    font-size:15px;

    margin-bottom:24px;

}

.footer__social{

    display:flex;

    gap:12px;

}

.footer__col-title{

    font-weight:700;

    color:var(--text);

    margin-bottom:20px;

}

.footer__nav{

    display:flex;

    flex-direction:column;

    gap:12px;

}

.footer__nav a,
.footer__contact{

    display:block;

    color:var(--muted);

    font-size:15px;

    transition:var(--transition);

}

.footer__nav a:hover,
.footer__contact:hover{

    color:var(--accent-light);

}

.footer__contact{

    margin-bottom:12px;

}

.footer__bottom{

    padding-block:26px;

    border-top:1px solid var(--border);

    text-align:center;

    font-size:14px;

    color:var(--muted);

}

@media (max-width:900px){

    .footer__grid{

        grid-template-columns:1fr 1fr;

        row-gap:40px;

    }
}

@media (max-width:540px){

    .footer__grid{

        grid-template-columns:1fr;

    }
}


/* order-modal.css */
/* ==========================================================================
   Order modal — overlay positioning only, shell/buttons live in components.css
   ========================================================================== */

.order-modal{

    position:fixed;

    inset:0;

    z-index:3000;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:20px;

    opacity:0;

    visibility:hidden;

    pointer-events:none;

    transition:var(--transition);

}

.order-modal.active{

    opacity:1;

    visibility:visible;

    pointer-events:auto;

}

.order-modal .modal-box{

    max-width:440px;

}

@media (max-width:480px){

    .order-modal .modal-box{

        padding:36px 24px 28px;

    }

}


/* calculator-modal.css */
/* ==========================================================================
   Calculator modal — overlay positioning + form controls specific to it
   ========================================================================== */

.calculator-modal{

    position:fixed;

    inset:0;

    z-index:3000;

    display:flex;

    align-items:center;

    justify-content:center;

    padding:20px;

    opacity:0;

    visibility:hidden;

    pointer-events:none;

    transition:var(--transition);

}

.calculator-modal.active{

    opacity:1;

    visibility:visible;

    pointer-events:auto;

}

.calculator-modal .modal-box{

    max-width:460px;

    text-align:left;

}

.calculator-modal .modal-eyebrow,
.calculator-modal .modal-title,
.calculator-modal .modal-text{

    text-align:center;

}

.calculator-field{

    margin-bottom:16px;

}

.calculator-section-label{

    font-size:14px;
    font-weight:700;

    color:var(--text);

    margin-bottom:10px;

}

.calculator-row{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:12px;

    margin-bottom:16px;

}

.calculator-row .calculator-field{

    margin-bottom:0;

    min-width:0;

}

.calculator-field label{

    display:block;

    font-size:13px;
    font-weight:700;

    color:var(--muted);

    margin-bottom:8px;

}

.calculator-stepper{

    display:flex;

    align-items:center;

    border-radius:14px;

    background:rgba(255,255,255,.05);

    border:1px solid var(--border);

    overflow:hidden;

}

.calculator-stepper__btn{

    flex-shrink:0;

    display:flex;

    align-items:center;

    justify-content:center;

    width:38px;
    height:46px;

    font-size:20px;
    font-weight:700;

    color:var(--accent-light);

    transition:var(--transition);

}

.calculator-stepper__btn:hover{

    background:rgba(139,92,246,.18);

}

.calculator-stepper__btn:active{

    background:rgba(139,92,246,.3);

}

.calculator-stepper__value{

    flex:1;

    min-width:0;

    text-align:center;

    background:none;

    border:none;

    color:var(--text);

    font-family:inherit;

    font-size:15px;
    font-weight:700;

    padding:0;

    cursor:default;

}

.calculator-select,
.calculator-input{

    width:100%;

    min-width:0;

    padding:13px 16px;

    border-radius:14px;

    background:rgba(255,255,255,.05);

    border:1px solid var(--border);

    color:var(--text);

    font-family:inherit;

    font-size:15px;

    transition:var(--transition);

}

.calculator-select:focus,
.calculator-input:focus{

    outline:none;

    border-color:rgba(139,92,246,.55);

    background:rgba(255,255,255,.08);

}

.calculator-select{

    appearance:none;

    background-image:url('/assets/svg/chevron-down.svg');

    background-repeat:no-repeat;

    background-position:right 14px center;

    background-size:16px 16px;

    padding-right:44px;

}

.calculator-select option{

    background:#151821;

    color:var(--text);

}

.calculator-input::-webkit-outer-spin-button,
.calculator-input::-webkit-inner-spin-button{

    -webkit-appearance:none;

    margin:0;

}

.calculator-result{

    display:flex;

    align-items:center;

    justify-content:space-between;

    flex-wrap:wrap;

    gap:6px 12px;

    padding:18px 20px;

    margin-bottom:18px;

    border-radius:16px;

    background:rgba(139,92,246,.12);

    border:1px solid rgba(139,92,246,.3);

}

.calculator-result__label{

    font-size:14px;

    color:var(--muted);

}

.calculator-result__value{

    font-size:22px;
    font-weight:800;

    background:linear-gradient(90deg,#FFFFFF,var(--accent-light));

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;

}

.calculator-disclaimer{

    font-size:13px;

    color:var(--muted);

    text-align:center;

    margin-bottom:24px;

}

@media (max-width:480px){

    .calculator-modal .modal-box{

        padding:36px 24px 28px;

    }

    .calculator-row{

        grid-template-columns:1fr 1fr;

        row-gap:16px;

    }

    .calculator-row .calculator-field:last-child{

        grid-column:1 / -1;

    }

}


/* error-page.css */
/* ==========================================================================
   404
   ========================================================================== */

.error-page{

    position:relative;

    isolation:isolate;

    overflow:hidden;

    min-height:calc(100vh - var(--header-height));

    display:flex;

    align-items:center;

    text-align:center;

    padding-block:80px;

}

.error-page__glow{

    position:absolute;

    top:50%;
    left:50%;

    width:900px;
    height:600px;

    transform:translate(-50%,-50%);

    background:radial-gradient(circle,
        rgba(139,92,246,.35) 0%,
        rgba(197,94,255,.12) 45%,
        transparent 75%);

    filter:blur(70px);

    z-index:-1;

}

.error-page__code{

    font-size:clamp(80px,14vw,160px);

    font-weight:800;

    line-height:1;

    background:linear-gradient(90deg,#FFFFFF,var(--accent-light));

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;

    margin-bottom:8px;

}

.error-page__title{

    margin-bottom:18px;

}

.error-page__text{

    max-width:520px;

    margin-inline:auto;

    font-size:18px;

    margin-bottom:40px;

}

.error-page__buttons{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:18px;

}

@media (max-width:640px){

    .error-page__buttons{

        flex-direction:column;

        align-items:center;

    }

    .error-page__buttons .button{

        width:100%;

        max-width:320px;

    }
}


/* premium.css */
/* ==========================================================================
   Premium polish — shared visual finishing layer
   ========================================================================== */

:root{
    --premium-glow:rgba(139,92,246,.16);
    --premium-glow-strong:rgba(197,94,255,.24);
    --premium-line:rgba(255,255,255,.075);
}

/* Section rhythm and depth */
main > section{
    scroll-margin-top:calc(var(--header-height) + 18px);
}

.section-head{
    position:relative;
    z-index:1;
}

.section-head h2{
    position:relative;
    display:inline-block;
}

.section-head h2::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-12px;
    width:54px;
    height:2px;
    border-radius:99px;
    background:linear-gradient(90deg,var(--accent),var(--accent-light),transparent);
    box-shadow:0 0 18px rgba(197,94,255,.25);
}

.section-head p{
    margin-top:26px;
}

/* Reveal — softer, stagger-friendly, no layout shift */
[data-reveal]{
    opacity:0;
    transform:translate3d(0,22px,0);
    filter:blur(4px);
    transition:
        opacity .68s cubic-bezier(.2,.7,.2,1),
        transform .68s cubic-bezier(.2,.7,.2,1),
        filter .68s ease;
    transition-delay:var(--reveal-delay,0ms);
    will-change:opacity,transform;
}

[data-reveal].is-visible{
    opacity:1;
    transform:translate3d(0,0,0);
    filter:blur(0);
}

/* Interactive spotlight. JS only updates --spot-x / --spot-y on pointer devices. */
.services__card,
.contacts__card,
.faq__item,
.trust__bar,
.cta__card{
    --spot-x:50%;
    --spot-y:50%;
}

.services__card::before,
.contacts__card::before,
.faq__item::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:0;
    border-radius:inherit;
    pointer-events:none;
    opacity:0;
    background:radial-gradient(260px circle at var(--spot-x) var(--spot-y),rgba(197,94,255,.11),transparent 58%);
    transition:opacity .3s ease;
}

.services__card:hover::before,
.contacts__card:hover::before,
.faq__item:hover::before{
    opacity:1;
}

.services__card > *,
.contacts__card > *,
.faq__item > *{
    position:relative;
    z-index:1;
}

/* Header: a little more premium when it becomes glass */
.header--scrolled{
    background:linear-gradient(180deg,rgba(8,10,15,.88),rgba(8,10,15,.68));
    border-bottom-color:rgba(197,94,255,.10);
    box-shadow:0 14px 50px rgba(0,0,0,.24),0 1px 0 rgba(255,255,255,.025) inset;
}

.header__link.is-active{
    color:#fff;
}

.header__link.is-active::after{
    transform:scaleX(1);
}

/* Hero micro-polish — no transforms here: Hero positioning stays fully controlled by hero.css */
.hero__contact-card{
    transition:border-color .35s ease,box-shadow .35s ease;
}

.hero__contact-card:hover{
    border-color:rgba(197,94,255,.26);
    box-shadow:0 28px 80px rgba(0,0,0,.34),0 0 54px rgba(139,92,246,.10),inset 0 1px 0 rgba(255,255,255,.07);
}

.hero__badge-icon img,
.advantages__icon img,
.services__icon svg,
.contacts__icon img{
    transition:transform .38s cubic-bezier(.2,.7,.2,1),filter .38s ease;
}

.hero__badge:hover .hero__badge-icon img{
    transform:rotate(10deg) scale(1.08);
}

.advantages__item:hover .advantages__icon img{
    transform:translateY(-2px) scale(1.08);
    filter:drop-shadow(0 0 10px rgba(197,94,255,.28));
}

/* Trust: visual movement without extra boxes */
.trust__item{
    transition:transform .3s ease;
}

.trust__item:hover{
    transform:translateY(-3px);
}

.trust__value{
    transition:filter .3s ease;
}

.trust__item:hover .trust__value{
    filter:drop-shadow(0 0 12px rgba(197,94,255,.18));
}

/* Services: richer icon motion, still restrained */
.services__card:hover .services__icon svg{
    transform:scale(1.06) rotate(-2deg);
    filter:drop-shadow(0 0 12px rgba(197,94,255,.16));
}

.services__card:hover .services__price{
    filter:drop-shadow(0 0 10px rgba(197,94,255,.16));
}

/* Gallery: premium frame + caption cue */
.gallery__item{
    transition:transform .38s cubic-bezier(.2,.7,.2,1),box-shadow .38s ease,border-color .38s ease;
}

.gallery__item:hover{
    transform:translateY(-3px);
    border-color:rgba(197,94,255,.25);
    box-shadow:0 22px 55px rgba(0,0,0,.28),0 0 38px rgba(139,92,246,.06);
}

.gallery__zoom{
    isolation:isolate;
}

.gallery__zoom::after{
    content:"";
    position:absolute;
    inset:-8px;
    z-index:-1;
    border-radius:50%;
    border:1px solid rgba(197,94,255,.16);
    opacity:0;
    transform:scale(.8);
    transition:opacity .35s ease,transform .35s ease;
}

.gallery__item:hover .gallery__zoom::after{
    opacity:1;
    transform:scale(1);
}

.lightbox.active .lightbox__figure{
    animation:lightboxFigureIn .34s cubic-bezier(.2,.7,.2,1) both;
}

.lightbox__caption{
    margin-top:14px;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
    color:#aab2c2;
    font-size:13px;
}

.lightbox__caption-text{
    max-width:min(70vw,760px);
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
}

.lightbox__caption-sep{
    width:4px;
    height:4px;
    border-radius:50%;
    background:var(--accent-light);
    box-shadow:0 0 9px rgba(197,94,255,.45);
}

@keyframes lightboxFigureIn{
    from{opacity:0;transform:scale(.975) translateY(8px)}
    to{opacity:1;transform:none}
}

/* CTA: ambient moving glow */
.cta__glow{
    animation:ctaGlowDrift 9s ease-in-out infinite alternate;
}

@keyframes ctaGlowDrift{
    from{transform:translate(-53%,-50%) scale(.95)}
    to{transform:translate(-47%,-50%) scale(1.08)}
}

.cta__social-link img{
    transition:transform .32s cubic-bezier(.2,.7,.2,1);
}

.cta__social-link:hover img{
    transform:scale(1.08) rotate(-3deg);
}

/* FAQ: subtle opened-state glow */
.faq__item{
    position:relative;
    overflow:hidden;
}

.faq__item:has(.faq__question[aria-expanded="true"]){
    background:linear-gradient(145deg,rgba(24,28,40,.92),rgba(15,18,26,.97));
    box-shadow:0 18px 50px rgba(0,0,0,.16),0 0 34px rgba(139,92,246,.045);
}

.faq__number{
    box-shadow:0 8px 20px rgba(139,92,246,.16),inset 0 1px 0 rgba(255,255,255,.15);
}

/* Contacts */
.contacts__layout{
    position:relative;
    overflow:hidden;
    background:
        radial-gradient(circle at 16% 30%,rgba(139,92,246,.10),transparent 35%),
        linear-gradient(145deg,rgba(22,26,37,.95),rgba(13,16,23,.97));
    box-shadow:0 24px 70px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.045);
}

.contacts__layout::before{
    content:"";
    position:absolute;
    width:360px;
    height:360px;
    right:-180px;
    top:-190px;
    border-radius:50%;
    background:rgba(197,94,255,.09);
    filter:blur(75px);
    pointer-events:none;
}

.contacts__card{
    position:relative;
    overflow:hidden;
}

.contacts__card:hover .contacts__icon img{
    transform:scale(1.1) rotate(-3deg);
}

/* Footer */
.footer{
    position:relative;
    overflow:hidden;
}

.footer::before{
    content:"";
    position:absolute;
    left:8%;
    right:8%;
    top:0;
    height:1px;
    background:linear-gradient(90deg,transparent,rgba(197,94,255,.24),rgba(255,255,255,.09),rgba(139,92,246,.24),transparent);
}

.footer__nav a,
.footer__contact{
    transition:color .25s ease,transform .25s ease;
}

.footer__nav a:hover,
.footer__contact:hover{
    transform:translateX(3px);
}

/* Mouse-only effects should not fight touch interactions. */
@media (hover:none){
    .services__card::before,
    .contacts__card::before,
    .faq__item::before{display:none}

    .gallery__item:hover,
    .trust__item:hover{transform:none}
}

@media (max-width:760px){
    .section-head h2::after{left:50%;transform:translateX(-50%)}
    .lightbox__caption{padding-inline:52px;gap:8px}
    .lightbox__caption-text{max-width:58vw}
}

@media (prefers-reduced-motion:reduce){
    [data-reveal]{opacity:1;transform:none;filter:none;transition:none}
    .cta__glow{animation:none}
    .lightbox.active .lightbox__figure{animation:none}
    .hero__contact-card{transition:none}
}

/* ==========================================================================\n   Section headings — clean premium typography\n   ========================================================================== */
.section-head{
    max-width:760px;
    margin-bottom:58px;
}

.section-kicker{
    display:inline-flex;
    align-items:center;
    gap:11px;
    margin-bottom:14px;
    padding:0;
    border:0;
    border-radius:0;
    background:none;
    box-shadow:none;
    color:var(--accent-light);
    font-size:12px;
    font-weight:800;
    line-height:1.2;
    letter-spacing:.11em;
    text-transform:uppercase;
}

.section-kicker::before{
    content:"";
    width:26px;
    height:1px;
    flex:0 0 26px;
    border-radius:99px;
    background:linear-gradient(90deg,var(--accent),var(--accent-light));
    box-shadow:0 0 12px rgba(197,94,255,.28);
}

.section-head h2{
    display:block;
    max-width:760px;
    margin:0;
    color:#fff;
    background:none;
    -webkit-background-clip:initial;
    background-clip:initial;
    font-size:clamp(40px,4.15vw,58px);
    font-weight:800;
    line-height:1.06;
    letter-spacing:-.038em;
    text-wrap:balance;
}

.section-head h2::after{
    display:none;
}

.section-head p{
    max-width:650px;
    margin-top:18px;
    color:#9ea8ba;
    font-size:17px;
    line-height:1.7;
}

@media (max-width:760px){
    .section-head{
        margin-bottom:38px;
        text-align:left;
    }

    .section-kicker{
        margin-bottom:11px;
        font-size:10px;
        letter-spacing:.10em;
    }

    .section-kicker::before{
        width:20px;
        flex-basis:20px;
    }

    .section-head h2{
        font-size:clamp(34px,9vw,44px);
        line-height:1.08;
        letter-spacing:-.033em;
    }

    .section-head p{
        margin-top:15px;
        font-size:15px;
        line-height:1.62;
    }
}


/* responsive.css */
/* ========================================================================== 
   Responsive & touch polish — Phase 3
   Loaded last in the production bundle so these rules only refine layout.
   ========================================================================== */

/* Better anchor positioning below the fixed header. */
section[id]{
    scroll-margin-top:calc(var(--header-height) + 18px);
}

/* Prevent long Russian words / phone numbers from forcing horizontal scroll. */
h1,h2,h3,p,a,span{
    overflow-wrap:break-word;
}

/* Tablet --------------------------------------------------------------- */
@media (max-width:1100px){
    section{padding-block:92px}
    .section-head{margin-bottom:44px}

    .container{width:min(92%,var(--container))}

    .header__container{gap:22px}
    .header__nav{gap:24px}

    .services__grid{gap:18px}
    .services__card{min-height:455px;padding:30px 26px 26px}

    .contacts__layout{gap:34px;padding:44px}
    .cta__card{padding:70px 36px}
}

/* Tablet portrait / large phones -------------------------------------- */
@media (max-width:820px){
    :root{--header-height:76px}

    section{padding-block:78px}
    .container{width:min(calc(100% - 34px),var(--container))}

    h2{font-size:clamp(32px,7.4vw,46px)}
    .section-head{margin-bottom:34px}
    .section-head p{font-size:16px}

    .header{height:var(--header-height)}
    .header__logo img{height:37px;width:auto}
    .header__actions{gap:10px}
    .header__burger{width:46px;height:46px}

    .mobile-menu{
        justify-content:flex-start;
        align-items:stretch;
        gap:30px;
        padding:42px 24px max(32px,env(safe-area-inset-bottom));
        height:calc(100dvh - var(--header-height));
        overflow-y:auto;
    }
    .mobile-menu__nav{align-items:stretch;gap:10px}
    .mobile-menu__nav a{
        display:flex;
        align-items:center;
        min-height:58px;
        padding:0 18px;
        border:1px solid rgba(255,255,255,.07);
        border-radius:18px;
        background:rgba(255,255,255,.035);
        font-size:21px;
    }
    .mobile-menu__social{
        margin-top:auto;
        display:grid;
        grid-template-columns:1fr 1fr;
        gap:12px;
    }
    .mobile-menu__social a{
        min-height:50px;
        display:grid;
        place-items:center;
        border-radius:999px;
        border:1px solid rgba(139,92,246,.26);
        background:rgba(139,92,246,.08);
        font-weight:700;
    }

    .hero__highlights{max-width:520px}

    .trust__bar{border-radius:22px}

    .services__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
    .services__card{min-height:auto;padding:28px 22px 24px;border-radius:24px}
    .services__icon{width:84px;height:84px}
    .services__icon svg{width:44px;height:44px}

    .gallery__grid{gap:10px}

    .faq__question{min-height:76px}

    .contacts__layout{padding:34px 28px;border-radius:28px}

    .cta{padding-block:46px 82px}
    .cta__card{border-radius:28px;padding:60px 28px}
}

/* Phones --------------------------------------------------------------- */
@media (max-width:640px){
    section{padding-block:64px}
    .container{width:min(calc(100% - 28px),var(--container))}

    body{font-size:15px}
    h1{letter-spacing:-.038em}
    h2{font-size:clamp(30px,9vw,40px);letter-spacing:-.03em}
    h3{font-size:21px}

    .section-head{margin-bottom:28px}
    .section-head p{margin-top:12px;line-height:1.65}

    .header__container{gap:10px}
    .header__logo img{height:34px}
    .header .button{width:44px;height:44px}
    .header__burger{width:44px;height:44px}

    /* Hero: preserve the premium background but keep copy readable. */
    .hero{
        min-height:100svh;
        padding-top:calc(var(--header-height) + 26px);
        padding-bottom:18px;
    }
    .hero__content{padding-bottom:285px}
    .hero__badge{font-size:12px;padding:7px 12px 7px 8px;margin-bottom:16px}
    .hero__badge-icon{width:26px;height:26px}
    .hero__title{margin-bottom:16px}
    .hero__title-main{
        white-space:nowrap;
        font-size:clamp(35px,10.7vw,48px);
        letter-spacing:-.048em;
    }
    .hero__title-accent{
        margin-top:5px;
        font-size:clamp(38px,11.8vw,52px);
        letter-spacing:-.045em;
    }
    .hero__description{max-width:100%;font-size:15px;line-height:1.58;margin-bottom:20px}
    .hero__buttons{gap:10px;margin-bottom:16px;max-width:none}
    .hero__buttons .button{min-height:50px;padding:13px 20px}
    .hero__highlights{display:flex;gap:11px 16px}
    .hero__highlight{padding:0;border:0;border-radius:0;background:none;box-shadow:none;gap:7px}
    .hero__highlight-icon{width:31px;height:31px;flex-basis:31px;border-radius:50%}
    .hero__highlight-icon img{width:17px;height:17px}
    .hero__highlight-copy strong{font-size:11px;white-space:nowrap}
    .hero__bg > img{object-position:70% bottom}
    .hero__bg::after{background-size:38px 38px}

    /* Trust becomes a compact 2×2 panel instead of four cramped columns. */
    .trust{padding-block:28px 52px}
    .trust__bar{padding:8px;gap:0;border-radius:20px}
    .trust__item{min-height:92px;display:flex;flex-direction:column;justify-content:center;padding:12px 8px}
    .trust__item + .trust__item::before{height:36px}
    .trust__item:nth-child(n+3){padding-top:12px}
    .trust__value{font-size:26px;margin-bottom:4px}
    .trust__label{font-size:11px;line-height:1.35}

    /* Service cards: center the complete composition on mobile. */
    .services__grid{grid-template-columns:1fr;gap:13px}
    .services__card{padding:28px 22px 22px;text-align:center}
    .services__title{font-size:20px}
    .services__list{max-width:340px;margin:0 auto 22px;text-align:left}
    .services__cta{min-height:50px}

    /* Editorial 2-column gallery with larger tap targets. */
    .gallery__grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:122px;gap:8px}
    .gallery__item{border-radius:15px}
    .gallery__item:nth-child(1),
    .gallery__item:nth-child(5),
    .gallery__item:nth-child(10),
    .gallery__item:nth-child(14){grid-row:span 3}
    .gallery__zoom{width:42px;height:42px}

    .lightbox{padding:10px}
    .lightbox__figure{width:100%}
    .lightbox__media > img{max-height:78dvh;border-radius:16px}
    .lightbox__figure figcaption{padding-inline:44px;font-size:12px}
    .lightbox__close{top:max(10px,env(safe-area-inset-top));right:10px;width:44px;height:44px}
    .lightbox__nav{top:auto;bottom:max(18px,env(safe-area-inset-bottom));width:48px;height:48px;transform:none}
    .lightbox__nav--prev{left:calc(50% - 58px)}
    .lightbox__nav--next{right:calc(50% - 58px)}
    .lightbox__nav:hover{transform:scale(1.04)}

    .cta{padding-block:38px 68px}
    .cta__card{padding:50px 20px;border-radius:24px}
    .cta__text{font-size:16px;margin-bottom:30px}
    .cta__buttons{gap:10px;margin-bottom:28px}
    .cta__social{gap:14px;flex-wrap:wrap}

    .faq__list{gap:10px}
    .faq__item{border-radius:17px}
    .faq__question{padding:18px 16px;gap:10px;font-size:15px;line-height:1.4}
    .faq__answer{padding:0 16px 18px 52px;font-size:14px}

    .contacts__layout{padding:26px 18px;gap:28px;border-radius:24px}
    .contacts__intro{text-align:center}
    .contacts__phone{font-size:clamp(27px,8.5vw,36px)}
    .contacts__channels{gap:10px}
    .contacts__card{padding:15px 16px;border-radius:17px;gap:13px}
    .contacts__card:hover{transform:none}
    .contacts__icon{width:44px;height:44px}
    .contacts__card-sub{font-size:12px}

    .modal-box{
        max-height:calc(100dvh - 24px);
        overflow-y:auto;
        overscroll-behavior:contain;
        border-radius:24px;
    }
    .order-modal,.calculator-modal{padding:12px}
    .order-modal .modal-box,.calculator-modal .modal-box{padding:36px 18px 22px}
    .modal-close{top:12px;right:12px;width:40px;height:40px}
    .calculator-row{grid-template-columns:1fr 1fr;gap:10px}
    .calculator-row .calculator-field:last-child{grid-column:1/-1}
    .calculator-stepper__btn{width:42px;height:48px}
}

@media (max-width:430px){
    .container{width:min(calc(100% - 22px),var(--container))}
    .hero__content{padding-bottom:260px}
    .hero__title-main{font-size:clamp(33px,10.2vw,43px)}
    .hero__title-accent{font-size:clamp(36px,11.3vw,47px)}
    .hero__highlights{gap:10px 14px}
    .hero__highlight:last-child{width:auto}
    .gallery__grid{grid-auto-rows:108px}
    .cta__social{flex-direction:column;align-items:center}
}

/* Touch devices should not retain desktop hover states after a tap. */
@media (hover:none){
    .button--primary:hover,.button--glass:hover,
    .services__card:hover,.services__card:hover .services__icon,
    .gallery__item:hover img,.hero__highlight:hover,
    .contacts__card:hover,.footer__social-link:hover{
        transform:none;
        filter:none;
    }
}

/* Respect accessibility settings everywhere, including reveal effects. */
@media (prefers-reduced-motion:reduce){
    html{scroll-behavior:auto}
    *,*::before,*::after{
        scroll-behavior:auto!important;
        animation-duration:.01ms!important;
        animation-iteration-count:1!important;
        transition-duration:.01ms!important;
    }
    [data-reveal]{opacity:1!important;transform:none!important}
}


/* ========================================================================== 
   Phase 18 — final mobile UX polish
   ========================================================================== */

/* Comfortable touch targets without changing the desktop composition. */
@media (pointer:coarse){
    .header__burger,
    .header .button,
    .lightbox__close,
    .lightbox__nav,
    .modal-close,
    .calculator-stepper__btn{
        min-width:44px;
        min-height:44px;
    }

    .gallery__item,
    .button,
    .faq__question,
    .contacts__card,
    .mobile-menu a{
        touch-action:manipulation;
        -webkit-tap-highlight-color:transparent;
    }
}

@media (max-width:820px){
    .header__container{
        padding-left:max(0px,env(safe-area-inset-left));
        padding-right:max(0px,env(safe-area-inset-right));
    }

    .mobile-menu{
        height:calc(100dvh - var(--header-height));
        padding-left:max(24px,env(safe-area-inset-left));
        padding-right:max(24px,env(safe-area-inset-right));
        overscroll-behavior:contain;
        -webkit-overflow-scrolling:touch;
    }
}

@media (max-width:640px){
    .hero{
        min-height:100dvh;
        min-height:100svh;
    }

    .hero__buttons .button,
    .services__cta,
    .cta__buttons .button{
        min-height:50px;
    }

    .faq__question{
        min-height:58px;
    }

    .lightbox{
        min-height:100dvh;
        padding-top:max(10px,env(safe-area-inset-top));
        padding-bottom:max(10px,env(safe-area-inset-bottom));
        padding-left:max(10px,env(safe-area-inset-left));
        padding-right:max(10px,env(safe-area-inset-right));
    }

    .order-modal,
    .calculator-modal{
        padding-top:max(12px,env(safe-area-inset-top));
        padding-bottom:max(12px,env(safe-area-inset-bottom));
        padding-left:max(12px,env(safe-area-inset-left));
        padding-right:max(12px,env(safe-area-inset-right));
    }
}

/* Keyboard focus stays visible even on dark/glass controls. */
:is(a,button,input,select,textarea):focus-visible{
    outline:2px solid var(--accent-light,#C55EFF);
    outline-offset:4px;
}


/* performance.css */
/* ==========================================================================
   Performance hints — below-the-fold rendering and motion containment
   ========================================================================== */

@supports (content-visibility: auto) {
    .services,
    .cta,
    .faq,
    .contacts,
    .footer {
        content-visibility: auto;
        contain-intrinsic-size: auto 900px;
    }
}

.hero__bg > img {
    backface-visibility: hidden;
}

@media (max-width: 767px) {
    .hero__orb,
    .services::before,
    .trust::before,
    .cta__glow {
        filter: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

