
.navbar,
.navbar.navbar-dark,
.navbar.navbar-light,
.navbar.bg-dark,
.navbar.bg-light {
    z-index: 1;
    padding: 0.75rem 1.5rem;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}


footer,
footer.bg-dark,
footer.bg-light {
    background: transparent !important;

    box-shadow: none !important;
    border: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* ===== base (desktop/tablet) ===== */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* важно для корректного ужимания текста во flex */
.logo-text-wrapper{
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
}

.logo-icon {
    height: 40px;
    width: 40px;
    flex: 0 0 40px;
    object-fit: contain;
    border-radius: 8px;
}

.logo-text {
    font-size: 2rem;
    color: #ffffff;
    font-weight: 600;

    /* если вдруг название длинное — не разнесет navbar */
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    text-shadow: 1px 1px 0px #100f0f,
    1px 2px 0px #0d0e0d,
    1px 3px 0px #131313,
    1px 4px 0px #0a0a0a,
    1px 5px 0px #00bfff,
    1px 6px 0px #00bfff,
    1px 7px 0px #00bfff,
    1px 8px 0px #080909,
    1px 9px 0px #0f1010,
    1px 10px 0px #00bfff,
    1px 10px 5px rgba(0, 191, 255, 0.4),
    1px 15px 10px rgba(0, 191, 255, 0.3),
    1px 20px 30px rgba(0, 191, 255, 0.2),
    1px 25px 50px rgba(0, 0, 0, 0.1);
}

.logo-slogan{
    max-width: 100%;
    white-space: normal;
    overflow: hidden;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    font-size: clamp(0.72rem, 2.5vw, 1rem);
    line-height: 1.15;
    letter-spacing: 0.2px;
}

/* ===== mobile: stack вертикально и центр ===== */
@media (max-width: 575.98px){
    .logo-wrapper{
        flex-direction: column;      /* иконка сверху */
        align-items: center;         /* центрируем по горизонтали */
        justify-content: center;
        gap: 0.35rem;
        text-align: center;          /* текст по центру */
    }

    .logo-icon{
        width: 34px;
        height: 34px;
        flex-basis: 34px;
        border-radius: 7px;
    }

    .logo-text-wrapper{
        align-items: center;         /* центр внутри колонки */
        min-width: 0;
    }

    .logo-text{
        font-size: clamp(1.25rem, 6vw, 1.6rem);
        white-space: normal;         /* на мобилке лучше разрешить перенос */
        text-overflow: clip;         /* троеточие не нужно, раз перенос разрешен */
        overflow: hidden;            /* но от переполнения защищаемся */
    }

    .logo-slogan{
        width: min(320px, 92vw);     /* чтобы строка не была “во всю” и читалась */
        margin: 0 auto;
        font-size: clamp(0.68rem, 3.2vw, 0.9rem);
        letter-spacing: 0.15px;
    }
}

/* ===== very small phones ===== */
@media (max-width: 379.98px){
    .logo-icon{
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }

    .logo-slogan{
        width: min(280px, 92vw);
        -webkit-line-clamp: 2;
    }
}

/* Основные пункты меню */
.navbar-nav .nav-link {
    font-size: 18px;
    color: #f0f0f0;
    font-weight: 500;
    padding: 8px 14px;
    margin-right: 15px;
    position: relative;
    transition: color 0.3s ease;
    text-decoration: none;
}

.navbar-nav .nav-link:hover {
    color: #00bfff;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 14px;
    right: 14px;
    height: 2px;
    background-color: #00bfff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    transform: scaleX(1);
}

/* Языковой селектор (дропдаун) */


.language-dropdown-toggle {
    color: #f0f0f0;
    font-weight: 500;

    padding: 8px 14px;
    background: transparent;
    border: none;
}

.language-dropdown-toggle:hover {
    color: #00bfff;
    text-decoration: none;
}

.language-form {
    margin: 0;
}

.dropdown-menu-dark {
    background-color: #2c2c2c;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.dropdown-menu-dark .dropdown-item {
    color: white;
    font-size: 0.95rem;
    padding: 8px 16px;
}

.dropdown-menu-dark .dropdown-item:hover {
    background-color: #00bfff;
    color: black;
}

.language-dropdown-toggle {
    position: relative;
    text-decoration: none;
    color: white;
}

/* Удаляем Bootstrap стрелку */
.language-dropdown-toggle::after {
    content: none !important;
}

/* Наше подчеркивание */
.language-dropdown-toggle::before {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 0;
    height: 2px;
    background-color: #00bfff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.language-dropdown-toggle:hover::before {
    transform: scaleX(1);
}

.navbar-nav .nav-link.active {
    color: #00bfff !important;
}

.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

.navbar-nav .nav-link.active:hover::after {
    transform: scaleX(1); /* не меняется */
}
/* ===== MOBILE NAVBAR LAYOUT ===== */
@media (max-width: 991.98px) {

    .navbar {
        position: relative;
    }

    /* логотип по центру */
    .navbar-brand {
        margin: 0 auto;
        text-align: center;
        z-index: 1;
    }

    /* бургер — вправо и вверх */
    .navbar-toggler {
        position: absolute;
        top: 0.6rem;
        right: 0.75rem;

        border: none;
        padding: 0.25rem 0.4rem;
        z-index: 2;
    }

    /* убираем стандартный outline */
    .navbar-toggler:focus {
        box-shadow: none;
    }

    /* иконка бургера */
    .navbar-toggler-icon {
        width: 1.6rem;
        height: 1.6rem;
        filter: invert(1); /* для тёмного фона */
    }
}
/* ================================
   YII2 NAVBAR — MOBILE BURGER FIX
================================ */

@media (max-width: 767.98px) {
    /* navbar как якорь */
    .navbar {
        position: relative;
    }

    /* бренд (логотип) по центру */
    .navbar-brand {
        margin: 0 auto;
        text-align: center;
        z-index: 1;
    }

    /* бургер — строго вправо и вверх */
    .navbar-toggler {
        position: absolute;
        top: 0.6rem;
        right: 0.75rem;
        border: none !important;
        padding: 0.25rem 0.4rem;
        z-index: 2;
    }

    .navbar-toggler:focus {
        box-shadow: none !important;
    }

    /* === САМ БУРГЕР: ЦВЕТ #9546ff === */
    .navbar-dark .navbar-toggler-icon {
        width: 1.7rem;
        height: 1.7rem;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%239546ff' stroke-width='2.4' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
        background-size: cover;
        background-repeat: no-repeat;
    }

    /* Дополнительно: убираем любой возможный дефолтный фон/фильтр */
    .navbar-toggler-icon {
        filter: none !important;
    }

    /* Если вдруг Bootstrap добавляет свой цвет при фокусе/активе */
    .navbar-toggler:active .navbar-toggler-icon,
    .navbar-toggler:focus .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%239546ff' stroke-width='2.4' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
    }
}



/* Фон частиц */
.particles-bg {
    position: absolute;
    inset: 0;
    z-index: -1;               /* ниже всего контента */
    pointer-events: none;      /* клики проходят сквозь */
}

/* Контент поверх */
.content-wrapper {
    position: relative;
    z-index: 1;                /* выше частиц */
    min-height: 100%;          /* чтобы footer не прилипал */
}

/* Если частицы всё равно слишком яркие — добавь opacity */
#particles-js canvas {
    opacity: 0.7 !important;  /* регулируй от 0.2 до 0.5 */
}

:root {
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(135deg, #efebef 0%, #f5576c 100%);
    --gradient-dark: linear-gradient(135deg, #0f0f0f 0%, #1a1a2e 100%);
    --color-primary: #6366f1;
    --color-accent: #ec4899;
}

body {
    font-family: 'Satoshi', 'Manrope', system-ui, sans-serif;
    background: #05050a;
    color: #e2e8f0;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Satoshi', sans-serif;
    font-weight: 800;
}


/* CONTENT — прозрачный, без карточки */
.hero-content {
    position: relative;
    z-index: 2; /* текст поверх canvas */
    max-width: 820px;
    margin: 0 auto;
}

/* === TITLE (неоновый, но без подложки) === */
.hero-content h1 {
    font-size: clamp(2.7rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: 0.04em;

    background: linear-gradient(135deg, #5d2ea5 0%, #c7d2fe 35%, #00bfff 95%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;


    margin-bottom: 1.2rem;
}

/* подзаголовки мягкие, светлые, читаемые */
.lead.hero-subtitle {
    font-size: 1.22rem;
    color: #e6e9f3;
    margin-bottom: 1rem;
    font-weight: 400;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
}

.hero-subtitle {
    font-size: 1.08rem;
    color: #c9d2e9;
    line-height: 1.55;
    margin-bottom: 1.25rem;
}

/* === BUTTON — неон-градиент, объёмная === */
#hero-section .btn-primary {
    font-size: 1.15rem;
    padding: 1rem 3rem;
    border-radius: 50px;
    border: none;
    font-weight: 600;

    background: linear-gradient(135deg, #8b5cf6, #ec4899 2%, #f97316);
    color: #fff;

    transition: transform .25s ease,
    filter .25s ease,
    box-shadow .25s ease;
}

/* hover-эффект */
#hero-section .btn-primary:hover {
    transform: translateY(-6px);
    filter: brightness(1.07);
}

/* click */
#hero-section .btn-primary:active {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.45);
}



/* карточка */
.s-card {
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 1.75rem 1.25rem 1.5rem;

    transition: transform .22s ease,
    background-color .22s ease,
    border-color .22s ease;
}

/* hover — спокойно */
.s-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.20);
}

/* иконка */
.s-card .icon-wrap {
    font-size: 2.4rem;
    margin-bottom: 1rem;
    color: #c7d2fe;
    transition: transform .22s ease;
}

.s-card:hover .icon-wrap {
    transform: scale(1.06);
}

/* заголовок */
.s-card .card-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: .55rem;
}

/* текст */
.s-card .s-text {
    font-size: 0.95rem;
    color: #cbd5f5;
    line-height: 1.55;
}

/* divider — тоже спокойнее */
.section-divider {
    width: 100%;
    height: 1px;
    margin: 40px auto 60px;
    background: linear-gradient(90deg, transparent, rgba(236, 72, 153, 0.65), rgba(99, 102, 241, 0.65), transparent);
}


/* ===== WORK PROCESS SECTION (CLEAN & CALM) ===== */
#work-process {
    padding: 90px 0;
    background: transparent !important;
}



/* Подзаголовок */
#work-process .section-sub {
    color: #cbd5f5;
    opacity: .9;
    margin-bottom: 2.5rem;
}

.step-card{
    position: relative;
    padding: 26px 22px;

    /* было 0.55 — делаем легче */
    background: rgba(15, 23, 42, 0.34);
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.22);

    /* glass */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    box-shadow:
            0 18px 45px rgba(0,0,0,.45),
            inset 0 1px 0 rgba(255,255,255,.10);

    transition:
            transform .25s ease,
            border-color .25s ease,
            background .25s ease,
            box-shadow .25s ease;

    cursor: default;
}

/* спокойный hover: меньше заливки, больше глубины */
.step-card:hover{
    transform: translateY(-4px);

    background: rgba(15, 23, 42, 0.26);
    border-color: rgba(99, 102, 241, 0.55);

    box-shadow:
            0 28px 75px rgba(0,0,0,.62),
            inset 0 1px 0 rgba(255,255,255,.14),
            0 0 0 1px rgba(99,102,241,.20);
}


.portfolio-strip {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 0.75rem;
    scroll-snap-type: x mandatory;
}

.portfolio-strip::-webkit-scrollbar {
    height: 6px;
}

.portfolio-strip::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.5);
    border-radius: 999px;
}

.portfolio-strip-item {
    flex: 0 0 280px;
    scroll-snap-align: start;

    background: rgba(15, 23, 42, 0.85);
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    overflow: hidden;

    display: flex;
    flex-direction: column;
}

.strip-media img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.strip-body {
    padding: 0.9rem 1rem 1.1rem;
}

.strip-body h5 {
    font-size: 1rem;
    margin-bottom: .4rem;
    color: #fff;
}

.strip-body p {
    font-size: 0.9rem;
    color: #cbd5f5;
    margin-bottom: .6rem;
}

/* ===== TECH STACK SECTION ===== */
#tech-stack {
    padding: 90px 0;
    background: transparent !important; /* полностью прозрачный фон */
    text-align: center;
}

/* Заголовок */
#tech-stack h2 {
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 700;

    background: linear-gradient(135deg, #5d2ea5 0%, #c7d2fe 35%, #00bfff 95%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow: 0 0 18px rgba(255, 255, 255, 0.15);
    margin-bottom: 1rem;
}

/* Подзаголовок */
#tech-stack p {
    color: #dbe4ff;
    opacity: .85;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

/* ===== TECH ICON BLOCK ===== */
#tech-stack .col-4,
#tech-stack .col-md-2 {
    transition: transform .3s ease, opacity .3s ease;
}

#tech-stack i {
    font-size: 2.7rem !important;
    transition: transform .3s ease, filter .3s ease, opacity .3s ease;
    opacity: .85;
}

/* Названия технологий */
#tech-stack div {
    font-size: 0.95rem;
    color: #e2e8f0;
    opacity: .9;
    font-weight: 500;
    margin-top: 5px;
    letter-spacing: .3px;
}

/* Hover — поднимаем + подсвечиваем */
#tech-stack .col-4:hover i,
#tech-stack .col-md-2:hover i {
    transform: translateY(-6px) scale(1.12);
    filter: drop-shadow(0 0 10px rgba(236, 72, 153, 0.5)) drop-shadow(0 0 18px rgba(99, 102, 241, 0.4));
    opacity: 1;
}

#tech-stack .col-4:hover div,
#tech-stack .col-md-2:hover div {
    color: #ffffff;
    opacity: 1;
}

/* Анимация появления технологий */
#tech-stack .col-4,
#tech-stack .col-md-2 {
    animation: techFadeUp .7s ease both;
}

@keyframes techFadeUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ================================
   PORTFOLIO PREVIEW (CALM GLASS — FIXED)
================================ */
#portfolio-preview{
    position: relative;
    overflow: visible;
    color: rgba(255,255,255,.92);

    /* фон под blur (если у тебя общий фон уже есть — можешь убрать этот background) */
    background:
            radial-gradient(1100px 360px at 50% -10%, rgba(99,102,241,.10), transparent 60%),
            linear-gradient(180deg, rgba(13,16,26,1), rgba(10,12,20,1)) !important;
}

/* strip */
#portfolio-preview .portfolio-strip{
    display:grid;
    grid-auto-flow:column;
    grid-auto-columns:minmax(260px,340px);
    gap:18px;

    padding:8px 6px 16px;
    margin:0 -6px;

    overflow-x:auto;
    overflow-y:visible;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;

    position:relative;
    z-index:1;
}

/* scrollbar */
#portfolio-preview .portfolio-strip::-webkit-scrollbar{ height:8px; }
#portfolio-preview .portfolio-strip::-webkit-scrollbar-track{ background: rgba(255,255,255,.08); }
#portfolio-preview .portfolio-strip::-webkit-scrollbar-thumb{
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    border-radius:10px;
}

/* card — calm glass (реально стекло) */
#portfolio-preview .portfolio-strip-item{
    position: relative; /* ВАЖНО: чтобы ::before лег ровно на карточку */
    scroll-snap-align:start;
    display:flex;
    flex-direction:column;

    border-radius:18px;
    overflow:hidden;

    /* стекло: темнее и чище, чем белый rgba */
    background: rgba(15, 23, 42, 0.30);
    border: 1px solid rgba(255,255,255,.10);

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

    box-shadow:
            0 22px 60px rgba(0,0,0,.55),
            inset 0 1px 0 rgba(255,255,255,.10);

    transform:none;
    transition:
            border-color .18s ease,
            box-shadow .18s ease,
            background .18s ease;
}

/* тонкий контур/подсветка */
#portfolio-preview .portfolio-strip-item::before{
    content:"";
    position:absolute;
    inset:0;
    border-radius:inherit;
    pointer-events:none;

    opacity:0;
    transition: opacity .18s ease;

    box-shadow:
            0 0 0 1px rgba(255,255,255,.14) inset,
            0 0 0 1px rgba(99,102,241,.18),
            0 0 22px rgba(236,72,153,.14);
}

/* hover — без движения, только "качество" */
#portfolio-preview .portfolio-strip-item:hover{
    background: rgba(15, 23, 42, 0.24);
    border-color: rgba(99,102,241,.25);

    box-shadow:
            0 34px 90px rgba(0,0,0,.68),
            inset 0 1px 0 rgba(255,255,255,.12),
            0 0 0 1px rgba(99,102,241,.18);
}

#portfolio-preview .portfolio-strip-item:hover::before{ opacity:1; }

/* media */
#portfolio-preview .strip-media{
    position:relative;
    aspect-ratio:16/10;
    overflow:hidden;
}

#portfolio-preview .strip-media img{
    width:100%;
    height:100%;
    object-fit:cover;

    transform:scale(1.02);
    transition: transform .28s ease, filter .28s ease;
    filter: saturate(1.05) contrast(1.03);
}

#portfolio-preview .portfolio-strip-item:hover .strip-media img{
    transform:scale(1.045);
}

/* badge */
#portfolio-preview .strip-type{
    position:absolute;
    top:12px;
    left:12px;
    z-index:2;

    padding:6px 12px;
    font-size:.72rem;
    font-weight:700;
    border-radius:999px;

    background: rgba(0,0,0,.35);
    border: 1px solid rgba(255,255,255,.18);
    color: rgba(255,255,255,.92);
}

/* body */
#portfolio-preview .strip-body{
    padding:14px 16px 18px;
    display:grid;
    gap:10px;
}

#portfolio-preview .strip-body h5{
    margin:0;
    font-size:1.05rem;
    font-weight:800;
}

#portfolio-preview .strip-body p{
    margin:0;
    font-size:.92rem;
    line-height:1.55;
    color: rgba(255,255,255,.72);

    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
    min-height: calc(1.55em * 3);
}

/* кнопка View */
#portfolio-preview .btn-ghost{
    align-self:flex-start;
    padding:8px 14px;
    font-size:.82rem;
    font-weight:700;
    border-radius:999px;

    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.16);
    color: rgba(255,255,255,.92) !important;
    text-decoration:none;

    transition: background .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

#portfolio-preview .btn-ghost:hover{
    background: rgba(255,255,255,.10);
    border-color: rgba(99,102,241,.28);
    box-shadow: 0 0 0 .18rem rgba(99,102,241,.18);
    transform: translateY(-1px);
}

/* View All */
#portfolio-preview .text-center.mt-4{
    position:relative;
    z-index:5;
}

#portfolio-preview .btn-grad{
    padding:12px 22px;
    border-radius:999px;
    font-weight:800;
    letter-spacing:.2px;
    color:#fff !important;
    text-decoration:none;

    background: var(--gradient-primary);
    box-shadow: 0 18px 50px rgba(0,0,0,.35);
    transition: filter .15s ease, box-shadow .15s ease;
}

#portfolio-preview .btn-grad:hover{
    filter: brightness(1.05);
    box-shadow: 0 22px 60px rgba(0,0,0,.42);
}

/* mobile */
@media (max-width:768px){
    #portfolio-preview .portfolio-strip{
        grid-auto-columns:minmax(240px,82vw);
    }
}

/* reduce motion */
@media (prefers-reduced-motion: reduce){
    #portfolio-preview .portfolio-strip-item,
    #portfolio-preview .strip-media img,
    #portfolio-preview .btn-ghost{
        transition:none !important;
        transform:none !important;
    }
}

/* ================================
   TESTIMONIALS — CALM GLASS (REPLACE)
================================ */
#testimonials{
    padding: 90px 0;
    background: transparent !important;
    position: relative;
}

/* заголовки — общие, не трогаем section-title */
#testimonials .section-sub{
    color: #a5adba;
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

/* carousel */
#testimonials .carousel{
    position: relative;
    z-index: 1;
}

/* ===== CARD ===== */
#testimonials .t-card{
    position: relative;
    height: 100%;

    border-radius: 18px;
    padding: 2rem 1.75rem 1.85rem;

    /* стекло (чище, чем белый rgba) */
    background: rgba(15, 23, 42, 0.30);
    border: 1px solid rgba(255, 255, 255, 0.10);

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

    box-shadow:
            0 22px 60px rgba(0, 0, 0, 0.55),
            inset 0 1px 0 rgba(255, 255, 255, 0.10);

    transition:
            transform .22s ease,
            background .22s ease,
            border-color .22s ease,
            box-shadow .22s ease;
}

/* спокойный hover */
#testimonials .t-card:hover{
    transform: translateY(-3px);

    background: rgba(15, 23, 42, 0.24);
    border-color: rgba(99, 102, 241, 0.28);

    box-shadow:
            0 34px 90px rgba(0, 0, 0, 0.68),
            inset 0 1px 0 rgba(255, 255, 255, 0.12),
            0 0 0 1px rgba(99, 102, 241, 0.18);
}

/* мягкий блик сверху */
#testimonials .t-card::before{
    content:"";
    position:absolute;
    inset:0;
    border-radius:inherit;
    pointer-events:none;

    background:
            radial-gradient(700px 260px at 25% 0%,
            rgba(255,255,255,.10),
            transparent 55%),
            linear-gradient(180deg,
            rgba(255,255,255,.05),
            transparent 35%);

    opacity:.65;
}

/* контент поверх блика */
#testimonials .t-card > *{
    position: relative;
    z-index: 1;
}

/* ===== QUOTE ICON ===== */
#testimonials .t-quote{
    position:absolute;
    top:14px;
    right:18px;
    font-size:4.2rem;
    line-height:1;
    opacity:0.07;
    pointer-events:none;
    color:#ffffff;
    z-index:1;
}

/* ===== AVATAR ===== */
#testimonials .avatar-ring{
    width:84px;
    height:84px;
    margin:0 auto 1rem;
    padding:2px;
    border-radius:999px;

    background: linear-gradient(135deg,
    rgba(99,102,241,.78),
    rgba(236,72,153,.78)
    );

    box-shadow: 0 16px 36px rgba(0,0,0,.35);
}

#testimonials .avatar-ring img{
    width:100%;
    height:100%;
    border-radius:999px;
    object-fit:cover;
    background:#0e1117;
}

/* ===== TEXT ===== */
#testimonials blockquote{ margin:0; }

#testimonials blockquote p{
    font-size:0.96rem;
    line-height:1.6;
    color: rgba(255,255,255,.88);
}

/* имя */
#testimonials .blockquote-footer{
    margin-top:.75rem;
    font-size:.9rem;
    color:#c7cfdb;
}

/* ===== RATING ===== */
#testimonials .rating{
    display:flex;
    justify-content:center;
    gap:4px;
}

#testimonials .rating i{ font-size:0.95rem; }
#testimonials .rating .on{ color:#f7c948; }
#testimonials .rating .off{ color: rgba(255,255,255,.35); }

/* ===== BUTTON ===== */
#testimonials .btn-ghost{
    padding:7px 14px;
    font-size:0.82rem;
    font-weight:700;
    border-radius:999px;

    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.18);
    color: rgba(255,255,255,.92);

    transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

#testimonials .btn-ghost:hover{
    background: rgba(255,255,255,.10);
    border-color: rgba(99,102,241,.28);
    transform: translateY(-1px);
    box-shadow: 0 0 0 .18rem rgba(99,102,241,.18);
}

/* ===== NAV ===== */
#testimonials .testimonials-nav{ margin-top:1.75rem; }

#testimonials .testimonials-nav .btn-ghost{
    padding:.4rem .65rem;
    border-radius:999px;
}

#testimonials .testimonials-nav i{ font-size:1.8rem; }

/* ===== MOBILE ===== */
@media (max-width:768px){
    #testimonials{ padding:70px 0; }
}

/* reduce motion */
@media (prefers-reduced-motion: reduce){
    #testimonials .t-card,
    #testimonials .btn-ghost{
        transition:none !important;
        transform:none !important;
    }
}


/* —— scoped только для getStartedModal —— */
#getStartedModal {
    --icon: #9ec5ff;
    --label: #e7e9ee;
}

@media (prefers-color-scheme: light) {
    #getStartedModal {
        --icon: #2a78ff;
        --label: #0f1117;
    }
}

#getStartedModal .modal-dialog {
    max-width: 920px;
}

#getStartedModal .modal-content {
    border-radius: 18px;
    background: rgba(20, 22, 26, .92);
    border: 1px solid rgba(255, 255, 255, .12);

    color: #e7e9ee;
    box-shadow: 0 22px 60px rgba(0, 0, 0, .5);
    overflow: hidden;
}

@media (prefers-color-scheme: light) {
    #getStartedModal .modal-content {
        background: rgba(255, 255, 255, .9);
        color: #0f1117;
        border: 1px solid rgba(0, 0, 0, .08);
    }
}

#getStartedModal .modal-veil {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(800px 260px at 8% 0%, rgba(255, 99, 150, .18), transparent 60%),
    radial-gradient(700px 220px at 92% 0%, rgba(42, 120, 255, .18), transparent 65%);
}

#getStartedModal .modal-header {
    position: relative;
    z-index: 1;
    border: 0;
    padding: 1.25rem 1.5rem .5rem;
}

#getStartedModal .modal-title {
    background: linear-gradient(90deg, #2a78ff, #ff6396);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
}

#getStartedModal .modal-sub {
    margin: .25rem 0 0;
    color: #a5adba;
}

#getStartedModal .modal-body {
    position: relative;
    z-index: 1;
    padding: 1rem 1.5rem 1.5rem;
}

/* Лейблы и иконки */
#getStartedModal .form-label {
    color: var(--label);
    font-weight: 600;
}

#getStartedModal .input-group.with-icon .input-group-text {
    color: var(--icon);
    background: rgba(158, 197, 255, .10);
    border-color: rgba(158, 197, 255, .28);
    border-right: none;
    border-radius: .8rem 0 0 .8rem;
}

#getStartedModal .input-group.with-icon .form-control,
#getStartedModal .input-group.with-icon .form-select {
    border-left: none;
    border-radius: 0 .8rem .8rem 0;
}

/* Фокус полей */
#getStartedModal .form-control, #getStartedModal .form-select, #getStartedModal textarea {
    border-color: rgba(99, 102, 241, .28);
}

#getStartedModal .form-control:focus, #getStartedModal .form-select:focus, #getStartedModal textarea:focus {
    border-color: rgba(99, 102, 241, .6);
    box-shadow: 0 0 0 .22rem rgba(99, 102, 241, .25);
}

/* Файл-инпут (можно оставить нативный стиль) */
#getStartedModal .help-text {
    color: #a5adba;
}

/* Кнопка отправки */
#getStartedModal .btn-primary, #getStartedModal .btn-success {
    background: linear-gradient(90deg, #ff6396, #2a78ff);
    border: none;
    border-radius: .9rem;
    box-shadow: 0 12px 26px rgba(0, 0, 0, .35);
}

#getStartedModal .btn-primary:hover, #getStartedModal .btn-success:hover {
    filter: brightness(1.05);
    box-shadow: 0 16px 36px rgba(0, 0, 0, .45);
    transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
    #getStartedModal .btn-primary:hover, #getStartedModal .btn-success:hover {
        transform: none;
    }
}

/* Капча */
#getStartedModal .captcha img {
    border-radius: .6rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
}

/* ===== WHY US SECTION (calm glass, subtle hover) ===== */
#why-us {
    padding: 80px 0;
    background: transparent !important;
}

/* сетка */
#why-us .why-grid {
    row-gap: 1.75rem;
}

/* карточка: стекло + аккуратный градиентный бордер через background-clip */
#why-us .why-card {
    position: relative;
    overflow: hidden;

    border-radius: 18px;
    padding: 1.6rem 1.25rem 1.45rem;

    /* градиентный бордер без псевдо-слоёв на всю секцию */
    border: 1px solid transparent;
    background: linear-gradient(rgba(15, 23, 42, .58), rgba(15, 23, 42, .58)) padding-box,
    linear-gradient(135deg, rgba(99, 102, 241, .55), rgba(236, 72, 153, .55)) border-box;

    box-shadow: 0 18px 45px rgba(0, 0, 0, .22),
    0 0 0 1px rgba(255, 255, 255, .06) inset;

    transition: box-shadow .22s ease,
    background .22s ease,
    border-color .22s ease,
    transform .22s ease;
}

/* мягкий "блик" сверху — выглядит как стекло */
#why-us .why-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    background: radial-gradient(650px 220px at 25% 0%,
    rgba(255, 255, 255, .10),
    transparent 55%);

    opacity: .6;
}

/* hover — спокойный: чуть больше контраста + лёгкая тень, почти без движения */
#why-us .why-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 26px 70px rgba(0, 0, 0, .30),
    0 0 0 1px rgba(255, 255, 255, .09) inset;
    background: linear-gradient(rgba(15, 23, 42, .62), rgba(15, 23, 42, .62)) padding-box,
    linear-gradient(135deg, rgba(99, 102, 241, .75), rgba(236, 72, 153, .75)) border-box;
}

/* содержимое всегда поверх блика */
#why-us .why-card > * {
    position: relative;
    z-index: 1;
}

/* иконка — стеклянный круг, без неонового «взрыва» */
#why-us .icon-wrap {
    width: 64px;
    height: 64px;
    margin: 0 auto 0.85rem;
    border-radius: 999px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);

    color: rgba(255, 255, 255, .92);
    font-size: 1.7rem;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .18);
    transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

/* hover по карточке: иконка слегка "оживает", но без прыжков и кислотных теней */
#why-us .why-card:hover .icon-wrap {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .22);
}

/* заголовок и текст */
#why-us .why-title {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, .94);
    margin-bottom: 0.35rem;
    letter-spacing: .2px;
}

#why-us .why-text {
    font-size: .9rem;
    color: rgba(203, 213, 245, .86);
    margin: 0;
    line-height: 1.55;
}

/* адаптив */
@media (max-width: 576px) {
    #why-us .why-card {
        padding: 1.35rem 1.1rem 1.25rem;
    }

    #why-us .icon-wrap {
        width: 58px;
        height: 58px;
        font-size: 1.5rem;
    }
}

/* уважение prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    #why-us .why-card,
    #why-us .icon-wrap {
        transition: none !important;
        transform: none !important;
    }
}


/* ===== CONTACT SECTION ===== */



/* сабтайтл */
#contact p.section-sub,
#contact > .container > p {
    color: #a5adba !important;
}

/* карточки (стеклянные блоки формы и контактов) */
#contact .card-glass {
    border-radius: 1.1rem;
    background: rgba(15, 23, 42, 0.82);
    border: 1px solid rgba(148, 163, 184, 0.5);

    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.7),
    0 0 0 1px rgba(15, 23, 42, 0.75) inset;
    position: relative;
    overflow: hidden;
}

/* лёгкий градиентный glow внутри карточки */
#contact .card-glass::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(236, 72, 153, 0.18), transparent 60%),
    radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.16), transparent 60%);
    opacity: 0.7;
    pointer-events: none;
    z-index: 0;
}

#contact .card-glass > * {
    position: relative;
    z-index: 1;
}

/* поля формы */
#contact .form-floating > .form-control,
#contact .form-floating > .form-control-plaintext,
#contact .form-floating > .form-select {
    border-radius: .85rem;
    background-color: rgba(15, 23, 42, 0.9);
    color: #e5e7eb;
}

#contact .form-control,
#contact .form-select {
    border-color: rgba(148, 163, 184, 0.55);
}

#contact .form-control::placeholder {
    color: rgba(148, 163, 184, 0.7);
}

#contact .form-control:focus,
#contact .form-select:focus {
    border-color: rgba(96, 165, 250, 0.85);
    box-shadow: 0 0 0 .18rem rgba(59, 130, 246, 0.55);
    background-color: rgba(15, 23, 42, 0.96);
}

/* текст ошибок */
#contact .help-block {
    color: #fca5a5;
}

/* кнопки */
#contact .btn-grad {
    background: linear-gradient(90deg, #ff6396, #6366f1);
    color: #fff;
    border: none;
    border-radius: .9rem;
    padding-inline: 1.5rem;
    box-shadow: 0 12px 26px rgba(79, 70, 229, 0.5),
    0 0 0 1px rgba(15, 23, 42, 0.7) inset;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

#contact .btn-grad:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 16px 36px rgba(79, 70, 229, 0.65),
    0 0 0 1px rgba(15, 23, 42, 0.7) inset;
}

#contact .btn-ghost {
    border-radius: .9rem;
    border: 1px solid rgba(148, 163, 184, 0.7);
    color: #e5e7eb;
    background: transparent;
    padding-inline: 1.2rem;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

#contact .btn-ghost:hover {
    border-color: rgba(96, 165, 250, 0.9);
    box-shadow: 0 0 0 .18rem rgba(59, 130, 246, 0.35);
    background: rgba(15, 23, 42, 0.75);
}

/* список контактов справа */
#contact .contact-list .item {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    padding: .75rem 0;
    border-bottom: 1px dashed rgba(148, 163, 184, 0.4);
}

#contact .contact-list .item:last-child {
    border-bottom: none;
}

#contact .contact-list i {
    font-size: 1.25rem;
    color: #60a5fa;
    margin-top: .15rem;
}

#contact .contact-list .fw-semibold {
    font-size: .9rem;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: #e5e7eb;
}

#contact .contact-list a {
    color: #e7e9ee;
    text-decoration: none;
    font-size: .95rem;
}

#contact .contact-list a:hover {
    text-decoration: underline;
}

#contact .contact-list small {
    font-size: .8rem;
}

/* соцсети */
#contact .contact-list .bi-facebook,
#contact .contact-list .bi-instagram,
#contact .contact-list .bi-telegram,
#contact .contact-list .bi-linkedin {
    transition: transform .2s ease, color .2s ease;
}

#contact .contact-list a:hover .bi-facebook {
    color: #60a5fa;
    transform: translateY(-1px);
}

#contact .contact-list a:hover .bi-instagram {
    color: #f97316;
    transform: translateY(-1px);
}

#contact .contact-list a:hover .bi-telegram {
    color: #38bdf8;
    transform: translateY(-1px);
}

#contact .contact-list a:hover .bi-linkedin {
    color: #0ea5e9;
    transform: translateY(-1px);
}

/* карта */
#contact .map-wrap {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.5) inset,
    0 12px 30px rgba(15, 23, 42, 0.85);
}

/* адаптив */
@media (max-width: 767.98px) {
    #contact {
        padding: 70px 0;
    }

    #contact .card-glass {
        padding: 1.5rem !important;
    }
}
.navbar,
.navbar.navbar-dark,
.navbar.navbar-light,
.navbar.bg-dark,
.navbar.bg-light {
    z-index: 1;
    padding: 0.75rem 1.5rem;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}


footer,
footer.bg-dark,
footer.bg-light {
    background: transparent !important;

    box-shadow: none !important;
    border: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}


/* Логотип — иконка + текст */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    height: 40px;
    width: 40px;
    object-fit: contain;
    border-radius: 8px;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text {
    font-size: 2rem;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 1px 1px 0px #100f0f,
    1px 2px 0px #0d0e0d,
    1px 3px 0px #131313,
    1px 4px 0px #0a0a0a,
    1px 5px 0px #00bfff,
    1px 6px 0px #00bfff,
    1px 7px 0px #00bfff,
    1px 8px 0px #080909,
    1px 9px 0px #0f1010,
    1px 10px 0px #00bfff,
    1px 10px 5px rgba(0, 191, 255, 0.4),
    1px 15px 10px rgba(0, 191, 255, 0.3),
    1px 20px 30px rgba(0, 191, 255, 0.2),
    1px 25px 50px rgba(0, 0, 0, 0.1);
}

.logo-slogan {
    font-size: 1rem;
    color: white;
    letter-spacing: 0.5px;
}

/* Основные пункты меню */
.navbar-nav .nav-link {
    font-size: 18px;
    color: #f0f0f0;
    font-weight: 500;
    padding: 8px 14px;
    margin-right: 15px;
    position: relative;
    transition: color 0.3s ease;
    text-decoration: none;
}

.navbar-nav .nav-link:hover {
    color: #00bfff;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 14px;
    right: 14px;
    height: 2px;
    background-color: #00bfff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    transform: scaleX(1);
}

/* Языковой селектор (дропдаун) */


.language-dropdown-toggle {
    color: #f0f0f0;
    font-weight: 500;

    padding: 8px 14px;
    background: transparent;
    border: none;
}

.language-dropdown-toggle:hover {
    color: #00bfff;
    text-decoration: none;
}

.language-form {
    margin: 0;
}

.dropdown-menu-dark {
    background-color: #2c2c2c;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.dropdown-menu-dark .dropdown-item {
    color: white;
    font-size: 0.95rem;
    padding: 8px 16px;
}

.dropdown-menu-dark .dropdown-item:hover {
    background-color: #00bfff;
    color: black;
}

.language-dropdown-toggle {
    position: relative;
    text-decoration: none;
    color: white;
}

/* Удаляем Bootstrap стрелку */
.language-dropdown-toggle::after {
    content: none !important;
}

/* Наше подчеркивание */
.language-dropdown-toggle::before {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 0;
    height: 2px;
    background-color: #00bfff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.language-dropdown-toggle:hover::before {
    transform: scaleX(1);
}

.navbar-nav .nav-link.active {
    color: #00bfff !important;
}

.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

.navbar-nav .nav-link.active:hover::after {
    transform: scaleX(1); /* не меняется */
}

:root {
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(135deg, #efebef 0%, #f5576c 100%);
    --gradient-dark: linear-gradient(135deg, #0f0f0f 0%, #1a1a2e 100%);
    --color-primary: #6366f1;
    --color-accent: #ec4899;
}

body {
    font-family: 'Satoshi', 'Manrope', system-ui, sans-serif;
    background: #05050a;
    color: #e2e8f0;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Satoshi', sans-serif;
    font-weight: 800;
}


/* CONTENT — прозрачный, без карточки */
.hero-content {
    position: relative;
    z-index: 2; /* текст поверх canvas */
    max-width: 820px;
    margin: 0 auto;
}

/* === TITLE (неоновый, но без подложки) === */
.hero-content h1 {
    font-size: clamp(2.7rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: 0.04em;

    background: linear-gradient(135deg, #5d2ea5 0%, #c7d2fe 35%, #00bfff 95%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;


    margin-bottom: 1.2rem;
}

/* подзаголовки мягкие, светлые, читаемые */
.lead.hero-subtitle {
    font-size: 1.22rem;
    color: #e6e9f3;
    margin-bottom: 1rem;
    font-weight: 400;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
}

.hero-subtitle {
    font-size: 1.08rem;
    color: #c9d2e9;
    line-height: 1.55;
    margin-bottom: 1.25rem;
}

/* === BUTTON — неон-градиент, объёмная === */
#hero-section .btn-primary {
    font-size: 1.15rem;
    padding: 1rem 3rem;
    border-radius: 50px;
    border: none;
    font-weight: 600;

    background: linear-gradient(135deg, #8b5cf6, #ec4899 2%, #f97316);
    color: #fff;

    transition: transform .25s ease,
    filter .25s ease,
    box-shadow .25s ease;
}

/* hover-эффект */
#hero-section .btn-primary:hover {
    transform: translateY(-6px);
    filter: brightness(1.07);
}

/* click */
#hero-section .btn-primary:active {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.45);
}

/* ================================
   GUARANTEES — CALM GLASS (SCOPED)
================================ */
#guarantees{
    padding: 90px 0;
    background: transparent !important;
    position: relative;
}

/* подзаголовок */
#guarantees .section-sub{
    color: rgba(219,228,255,.88);
    max-width: 760px;
    margin: 0 auto 2.5rem;
}

/* сетка */
#guarantees .g-grid{
    row-gap: 1.75rem;
}

/* карточка гарантий */
#guarantees .g-card{
    position: relative;
    overflow: hidden;

    height: 100%;
    border-radius: 18px;
    padding: 1.6rem 1.35rem 1.45rem;

    border: 1px solid transparent;

    /* стекло + градиентный бордер как #why-us */
    background:
            linear-gradient(rgba(15,23,42,.34), rgba(15,23,42,.34)) padding-box,
            linear-gradient(135deg, rgba(99,102,241,.55), rgba(236,72,153,.55)) border-box;

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

    box-shadow:
            0 22px 55px rgba(0,0,0,.45),
            inset 0 1px 0 rgba(255,255,255,.14);

    transition:
            transform .22s ease,
            box-shadow .22s ease,
            background .22s ease;
}

/* мягкий блик сверху */
#guarantees .g-card::before{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    opacity:.55;

    background:
            radial-gradient(650px 220px at 25% 0%,
            rgba(255,255,255,.10),
            transparent 55%),
            radial-gradient(600px 260px at 90% 30%,
            rgba(99,102,241,.12),
            transparent 60%);
}

/* hover — спокойно (как у тебя) */
#guarantees .g-card:hover{
    transform: translateY(-2px);

    background:
            linear-gradient(rgba(15,23,42,.24), rgba(15,23,42,.24)) padding-box,
            linear-gradient(135deg, rgba(99,102,241,.78), rgba(236,72,153,.78)) border-box;

    box-shadow:
            0 32px 85px rgba(0,0,0,.62),
            inset 0 1px 0 rgba(255,255,255,.18),
            0 0 0 1px rgba(99,102,241,.25);
}

/* содержимое поверх блика */
#guarantees .g-card > *{
    position: relative;
    z-index: 1;
}

/* иконка слева (или сверху) */
#guarantees .g-icon{
    width: 56px;
    height: 56px;
    border-radius: 16px;

    display:flex;
    align-items:center;
    justify-content:center;

    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);

    color: rgba(255,255,255,.92);
    box-shadow: 0 12px 30px rgba(0,0,0,.22);

    font-size: 1.55rem;
}

/* заголовок */
#guarantees .g-title{
    font-size: 1.05rem;
    font-weight: 800;
    margin: .2rem 0 .35rem;
    color: rgba(255,255,255,.94);
}

/* текст */
#guarantees .g-text{
    margin: 0;
    font-size: .92rem;
    line-height: 1.55;
    color: rgba(203,213,245,.86);
}

/* “badge” (не обязательно) */
#guarantees .g-badge{
    display:inline-flex;
    align-items:center;
    gap:.35rem;

    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .2px;

    padding: .35rem .65rem;
    border-radius: 999px;

    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
    color: rgba(255,255,255,.92);
}

/* мини-лист внутри карточки */
#guarantees .g-list{
    margin: .65rem 0 0;
    padding-left: 1.1rem;
    color: rgba(203,213,245,.84);
    font-size: .9rem;
    line-height: 1.55;
}
#guarantees .g-list li{ margin: .25rem 0; }

/* адаптив */
@media (max-width: 576px){
    #guarantees{ padding: 70px 0; }
    #guarantees .g-card{ padding: 1.35rem 1.1rem 1.2rem; }
    #guarantees .g-icon{ width: 52px; height: 52px; border-radius: 14px; }
}

/* reduce motion */
@media (prefers-reduced-motion: reduce){
    #guarantees .g-card{ transition:none !important; transform:none !important; }
}
/* ================================
   FAQ — CALM GLASS (BOOTSTRAP 5)
================================ */
#faq{
    padding: 90px 0;
    background: transparent !important;
    position: relative;
}

/* подзаголовок */
#faq .section-sub{
    color: rgba(219,228,255,.88);
    max-width: 760px;
    margin: 0 auto 2.5rem;
}

/* accordion wrapper */
#faq .accordion{
    --faq-bg: rgba(15,23,42,.30);
    --faq-bg-hover: rgba(15,23,42,.24);
    --faq-line: rgba(255,255,255,.12);
    --faq-line-strong: rgba(99,102,241,.28);
    --faq-text: rgba(255,255,255,.92);
    --faq-muted: rgba(203,213,245,.82);
    --faq-focus: rgba(99,102,241,.22);
}

/* item */
#faq .accordion-item{
    border: 1px solid transparent;
    border-radius: 18px;
    overflow: hidden;

    background:
            linear-gradient(var(--faq-bg), var(--faq-bg)) padding-box,
            linear-gradient(135deg, rgba(99,102,241,.55), rgba(236,72,153,.55)) border-box;

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

    box-shadow:
            0 22px 55px rgba(0,0,0,.45),
            inset 0 1px 0 rgba(255,255,255,.10);

    transition: box-shadow .18s ease, background .18s ease, transform .18s ease;
}

/* расстояние между айтемами */
#faq .accordion-item + .accordion-item{
    margin-top: 14px;
}

/* hover — спокойно */
#faq .accordion-item:hover{
    background:
            linear-gradient(var(--faq-bg-hover), var(--faq-bg-hover)) padding-box,
            linear-gradient(135deg, rgba(99,102,241,.75), rgba(236,72,153,.75)) border-box;

    box-shadow:
            0 32px 85px rgba(0,0,0,.62),
            inset 0 1px 0 rgba(255,255,255,.12),
            0 0 0 1px rgba(99,102,241,.18);

    transform: translateY(-1px);
}

/* header button */
#faq .accordion-button{
    background: transparent !important;
    color: var(--faq-text) !important;

    font-weight: 800;
    letter-spacing: .15px;

    padding: 1.05rem 1.15rem;
    border: 0;
    box-shadow: none !important;
}

/* убираем дефолтный серый фон при open */
#faq .accordion-button:not(.collapsed){
    color: var(--faq-text) !important;
}

/* лёгкий разделитель внутри айтема */
#faq .accordion-button{
    position: relative;
}
#faq .accordion-button::before{
    content:"";
    position:absolute;
    inset: 0;
    pointer-events:none;
    opacity:.45;
    background:
            radial-gradient(700px 220px at 25% 0%,
            rgba(255,255,255,.10),
            transparent 55%),
            radial-gradient(600px 240px at 90% 30%,
            rgba(99,102,241,.12),
            transparent 60%);
}

/* текст поверх блика */
#faq .accordion-button > *{
    position: relative;
    z-index: 1;
}

/* иконка-стрелка (bootstrap uses background-image) */
#faq .accordion-button::after{
    filter: invert(1);
    opacity: .85;
    transform: rotate(0deg);
}
#faq .accordion-button:not(.collapsed)::after{
    opacity: 1;
}

/* фокус */
#faq .accordion-button:focus{
    border: 0;
    box-shadow: 0 0 0 .22rem var(--faq-focus) !important;
}

/* body */
#faq .accordion-body{
    color: var(--faq-muted);
    line-height: 1.65;
    padding: 0 1.15rem 1.15rem;
}

/* список внутри FAQ */
#faq .accordion-body ul{
    margin: .65rem 0 0;
    padding-left: 1.15rem;
}
#faq .accordion-body li{ margin: .25rem 0; }

/* внутренняя линия между header и body */
#faq .accordion-collapse{
    border-top: 1px solid rgba(255,255,255,.08);
}

/* mobile */
@media (max-width: 576px){
    #faq{ padding: 70px 0; }
    #faq .accordion-button{ padding: .95rem 1rem; }
    #faq .accordion-body{ padding: 0 1rem 1rem; }
}

/* reduce motion */
@media (prefers-reduced-motion: reduce){
    #faq .accordion-item{ transition:none !important; transform:none !important; }
}

/* ===== SERVICES (CLEAN GLASS) ===== */
#services {
    background: transparent !important;
}

/* карточка */
.s-card {
    background: rgba(15, 23, 42, 0.35); /* ↓ ПРОЗРАЧНЕЕ */
    backdrop-filter: blur(10px);       /* ← КЛЮЧ */
    -webkit-backdrop-filter: blur(10px);

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 1.75rem 1.25rem 1.5rem;

    box-shadow:
            0 20px 40px rgba(0,0,0,.45),
            inset 0 1px 0 rgba(255,255,255,.15);

    transition:
            transform .25s ease,
            background .25s ease,
            box-shadow .25s ease;
}


/* hover — спокойно */
.s-card:hover {
    transform: translateY(-5px);
    background: rgba(15, 23, 42, 0.22);
    border-color: rgba(255, 255, 255, 0.20);
    box-shadow:
            0 30px 60px rgba(0,0,0,.6),
            0 0 0 1px rgba(99,102,241,.35);
}


/* иконка */
.s-card .icon-wrap {
    font-size: 2.4rem;
    margin-bottom: 1rem;
    color: #c7d2fe;
    transition: transform .22s ease;
}

.s-card:hover .icon-wrap {
    transform: scale(1.06);
}

/* заголовок */
.s-card .card-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: .55rem;
}

/* текст */
.s-card .s-text {
    font-size: 0.95rem;
    color: #cbd5f5;
    line-height: 1.55;
}

/* divider — тоже спокойнее */
.section-divider {
    width: 100%;
    height: 1px;
    margin: 40px auto 60px;
    background: linear-gradient(90deg, transparent, rgba(236, 72, 153, 0.65), rgba(99, 102, 241, 0.65), transparent);
}


/* ===== WORK PROCESS SECTION (CLEAN & CALM) ===== */
#work-process {
    padding: 90px 0;
    background: transparent !important;
}



/* Подзаголовок */
#work-process .section-sub {
    color: #cbd5f5;
    opacity: .9;
    margin-bottom: 2.5rem;
}

/* ===== STEP CARD ===== */
.step-card {
    position: relative;
    padding: 26px 22px;

    background: rgba(15, 23, 42, 0.55); /* 🔹 легче и прозрачнее */
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.35);

    transition: transform .25s ease,
    border-color .25s ease,
    background-color .25s ease;

    cursor: default;
}

/* спокойный hover */
.step-card:hover {
    transform: translateY(-4px);
    background: rgba(15, 23, 42, 0.68);
    border-color: rgba(99, 102, 241, 0.65);
}

/* ===== NUMBER ===== */
.step-num {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 6px;

    color: #e5e7ff;
    opacity: .85;
}

/* ===== ICON ===== */
.step-card .icon-wrap {
    font-size: 1.9rem;
    margin-bottom: 10px;
    color: var(--color-primary);
}

/* ===== TITLE ===== */
.step-title {
    font-size: 1rem;
    font-weight: 600;
    color: #f8fafc;
    margin-bottom: 4px;
}

/* ===== TEXT ===== */
.step-text {
    font-size: 0.9rem;
    color: #cbd5f5;
    opacity: .9;
    line-height: 1.45;
}

/* ===== MOBILE ===== */
@media (max-width: 576px) {
    .step-card {
        padding: 22px 18px;
    }
}


.portfolio-strip {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 0.75rem;
    scroll-snap-type: x mandatory;
}

.portfolio-strip::-webkit-scrollbar {
    height: 6px;
}

.portfolio-strip::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.5);
    border-radius: 999px;
}

.portfolio-strip-item {
    flex: 0 0 280px;
    scroll-snap-align: start;

    background: rgba(15, 23, 42, 0.85);
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    overflow: hidden;

    display: flex;
    flex-direction: column;
}

.strip-media img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.strip-body {
    padding: 0.9rem 1rem 1.1rem;
}

.strip-body h5 {
    font-size: 1rem;
    margin-bottom: .4rem;
    color: #fff;
}

.strip-body p {
    font-size: 0.9rem;
    color: #cbd5f5;
    margin-bottom: .6rem;
}

/* ===== TECH STACK SECTION ===== */
#tech-stack {
    padding: 90px 0;
    background: transparent !important; /* полностью прозрачный фон */
    text-align: center;
}

/* Заголовок */
#tech-stack h2 {
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 700;

    background: linear-gradient(135deg, #5d2ea5 0%, #c7d2fe 35%, #00bfff 95%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow: 0 0 18px rgba(255, 255, 255, 0.15);
    margin-bottom: 1rem;
}

/* Подзаголовок */
#tech-stack p {
    color: #dbe4ff;
    opacity: .85;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

/* ===== TECH ICON BLOCK ===== */
#tech-stack .col-4,
#tech-stack .col-md-2 {
    transition: transform .3s ease, opacity .3s ease;
}

#tech-stack i {
    font-size: 2.7rem !important;
    transition: transform .3s ease, filter .3s ease, opacity .3s ease;
    opacity: .85;
}

/* Названия технологий */
#tech-stack div {
    font-size: 0.95rem;
    color: #e2e8f0;
    opacity: .9;
    font-weight: 500;
    margin-top: 5px;
    letter-spacing: .3px;
}

/* Hover — поднимаем + подсвечиваем */
#tech-stack .col-4:hover i,
#tech-stack .col-md-2:hover i {
    transform: translateY(-6px) scale(1.12);
    filter: drop-shadow(0 0 10px rgba(236, 72, 153, 0.5)) drop-shadow(0 0 18px rgba(99, 102, 241, 0.4));
    opacity: 1;
}

#tech-stack .col-4:hover div,
#tech-stack .col-md-2:hover div {
    color: #ffffff;
    opacity: 1;
}

/* Анимация появления технологий */
#tech-stack .col-4,
#tech-stack .col-md-2 {
    animation: techFadeUp .7s ease both;
}

@keyframes techFadeUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
/* ================================
   PORTFOLIO CAROUSEL NAVIGATION
================================ */

/* убираем фон у кнопок */
#portfolioCarousel .carousel-control-prev,
#portfolioCarousel .carousel-control-next {
    background: transparent;
    opacity: 1;
}

/* белые иконки */
#portfolioCarousel .carousel-control-prev-icon,
#portfolioCarousel .carousel-control-next-icon {
    background-image: none; /* убираем bootstrap svg */
    width: 2.2rem;
    height: 2.2rem;
}

/* рисуем свои стрелки (белые) */
#portfolioCarousel .carousel-control-prev-icon::before,
#portfolioCarousel .carousel-control-next-icon::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;

    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    background-color: #ffffff;
}

/* стрелка влево */
#portfolioCarousel .carousel-control-prev-icon::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M11 1L3 8l8 7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* стрелка вправо */
#portfolioCarousel .carousel-control-next-icon::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 1l8 7-8 7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* hover — лёгкое свечение */
#portfolioCarousel .carousel-control-prev:hover .carousel-control-prev-icon::before,
#portfolioCarousel .carousel-control-next:hover .carousel-control-next-icon::before {
    background-color: #ffffff;
    filter: drop-shadow(0 0 6px rgba(255,255,255,.6));
}
/* ================================
   PORTFOLIO SECTION — TRANSPARENT
================================ */

#portfolio-preview {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

/* если вдруг был псевдофон */
#portfolio-preview::before,
#portfolio-preview::after {
    content: none !important;
}


/* —— scoped только для getStartedModal —— */
#getStartedModal {
    --icon: #9ec5ff;
    --label: #e7e9ee;
}

@media (prefers-color-scheme: light) {
    #getStartedModal {
        --icon: #2a78ff;
        --label: #0f1117;
    }
}

#getStartedModal .modal-dialog {
    max-width: 920px;
}

#getStartedModal .modal-content {
    border-radius: 18px;
    background: rgba(20, 22, 26, .92);
    border: 1px solid rgba(255, 255, 255, .12);

    color: #e7e9ee;
    box-shadow: 0 22px 60px rgba(0, 0, 0, .5);
    overflow: hidden;
}

@media (prefers-color-scheme: light) {
    #getStartedModal .modal-content {
        background: rgba(255, 255, 255, .9);
        color: #0f1117;
        border: 1px solid rgba(0, 0, 0, .08);
    }
}

#getStartedModal .modal-veil {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(800px 260px at 8% 0%, rgba(255, 99, 150, .18), transparent 60%),
    radial-gradient(700px 220px at 92% 0%, rgba(42, 120, 255, .18), transparent 65%);
}

#getStartedModal .modal-header {
    position: relative;
    z-index: 1;
    border: 0;
    padding: 1.25rem 1.5rem .5rem;
}

#getStartedModal .modal-title {
    background: linear-gradient(90deg, #2a78ff, #ff6396);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
}

#getStartedModal .modal-sub {
    margin: .25rem 0 0;
    color: #a5adba;
}

#getStartedModal .modal-body {
    position: relative;
    z-index: 1;
    padding: 1rem 1.5rem 1.5rem;
}

/* Лейблы и иконки */
#getStartedModal .form-label {
    color: var(--label);
    font-weight: 600;
}

#getStartedModal .input-group.with-icon .input-group-text {
    color: var(--icon);
    background: rgba(158, 197, 255, .10);
    border-color: rgba(158, 197, 255, .28);
    border-right: none;
    border-radius: .8rem 0 0 .8rem;
}

#getStartedModal .input-group.with-icon .form-control,
#getStartedModal .input-group.with-icon .form-select {
    border-left: none;
    border-radius: 0 .8rem .8rem 0;
}

/* Фокус полей */
#getStartedModal .form-control, #getStartedModal .form-select, #getStartedModal textarea {
    border-color: rgba(99, 102, 241, .28);
}

#getStartedModal .form-control:focus, #getStartedModal .form-select:focus, #getStartedModal textarea:focus {
    border-color: rgba(99, 102, 241, .6);
    box-shadow: 0 0 0 .22rem rgba(99, 102, 241, .25);
}

/* Файл-инпут (можно оставить нативный стиль) */
#getStartedModal .help-text {
    color: #a5adba;
}

/* Кнопка отправки */
#getStartedModal .btn-primary, #getStartedModal .btn-success {
    background: linear-gradient(90deg, #ff6396, #2a78ff);
    border: none;
    border-radius: .9rem;
    box-shadow: 0 12px 26px rgba(0, 0, 0, .35);
}

#getStartedModal .btn-primary:hover, #getStartedModal .btn-success:hover {
    filter: brightness(1.05);
    box-shadow: 0 16px 36px rgba(0, 0, 0, .45);
    transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
    #getStartedModal .btn-primary:hover, #getStartedModal .btn-success:hover {
        transform: none;
    }
}

/* Капча */
#getStartedModal .captcha img {
    border-radius: .6rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
}

#why-us .why-card{
    position: relative;
    overflow: hidden;

    border-radius: 18px;
    padding: 1.6rem 1.25rem 1.45rem;

    border: 1px solid transparent;

    /* стекло: более прозрачная подложка + blur */
    background:
            linear-gradient(rgba(15,23,42,.34), rgba(15,23,42,.34)) padding-box,
            linear-gradient(135deg, rgba(99,102,241,.55), rgba(236,72,153,.55)) border-box;

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

    box-shadow:
            0 22px 55px rgba(0,0,0,.45),
            inset 0 1px 0 rgba(255,255,255,.14);

    transition:
            box-shadow .22s ease,
            background .22s ease,
            transform .22s ease;
}

#why-us .why-card:hover{
    transform: translateY(-2px);

    background:
            linear-gradient(rgba(15,23,42,.24), rgba(15,23,42,.24)) padding-box,
            linear-gradient(135deg, rgba(99,102,241,.78), rgba(236,72,153,.78)) border-box;

    box-shadow:
            0 32px 85px rgba(0,0,0,.62),
            inset 0 1px 0 rgba(255,255,255,.18),
            0 0 0 1px rgba(99,102,241,.25);
}

/* ===== UNIFIED SECTION HEADERS ===== */
.section-title{
    font-size: clamp(2rem, 4vw, 2.7rem);
    font-weight: 800;
    letter-spacing: .2px;

    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

    text-shadow: 0 0 14px rgba(99,102,241,.12);
    margin-bottom: .75rem;
}

.section-sub{
    color: rgba(219,228,255,.88);
    font-size: 1.1rem;
    line-height: 1.55;
    max-width: 720px;
    margin-inline: auto;
}


/* ===== CONTACT SECTION ===== */

/* сабтайтл */
#contact p.section-sub,
#contact > .container > p {
    color: #a5adba !important;
}

/* карточки (стеклянные блоки формы и контактов) */
#contact .card-glass {
    border-radius: 1.1rem;
    background: rgba(15, 23, 42, 0.82);
    border: 1px solid rgba(148, 163, 184, 0.5);

    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.7),
    0 0 0 1px rgba(15, 23, 42, 0.75) inset;
    position: relative;
    overflow: hidden;
}

/* лёгкий градиентный glow внутри карточки */
#contact .card-glass::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(236, 72, 153, 0.18), transparent 60%),
    radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.16), transparent 60%);
    opacity: 0.7;
    pointer-events: none;
    z-index: 0;
}

#contact .card-glass > * {
    position: relative;
    z-index: 1;
}

/* поля формы */
#contact .form-floating > .form-control,
#contact .form-floating > .form-control-plaintext,
#contact .form-floating > .form-select {
    border-radius: .85rem;
    background-color: rgba(15, 23, 42, 0.9);
    color: #e5e7eb;
}

#contact .form-control,
#contact .form-select {
    border-color: rgba(148, 163, 184, 0.55);
}

#contact .form-control::placeholder {
    color: rgba(148, 163, 184, 0.7);
}

#contact .form-control:focus,
#contact .form-select:focus {
    border-color: rgba(96, 165, 250, 0.85);
    box-shadow: 0 0 0 .18rem rgba(59, 130, 246, 0.55);
    background-color: rgba(15, 23, 42, 0.96);
}

/* текст ошибок */
#contact .help-block {
    color: #fca5a5;
}

/* кнопки */
#contact .btn-grad {
    background: linear-gradient(90deg, #ff6396, #6366f1);
    color: #fff;
    border: none;
    border-radius: .9rem;
    padding-inline: 1.5rem;
    box-shadow: 0 12px 26px rgba(79, 70, 229, 0.5),
    0 0 0 1px rgba(15, 23, 42, 0.7) inset;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

#contact .btn-grad:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 16px 36px rgba(79, 70, 229, 0.65),
    0 0 0 1px rgba(15, 23, 42, 0.7) inset;
}

#contact .btn-ghost {
    border-radius: .9rem;
    border: 1px solid rgba(148, 163, 184, 0.7);
    color: #e5e7eb;
    background: transparent;
    padding-inline: 1.2rem;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

#contact .btn-ghost:hover {
    border-color: rgba(96, 165, 250, 0.9);
    box-shadow: 0 0 0 .18rem rgba(59, 130, 246, 0.35);
    background: rgba(15, 23, 42, 0.75);
}

/* список контактов справа */
#contact .contact-list .item {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    padding: .75rem 0;
    border-bottom: 1px dashed rgba(148, 163, 184, 0.4);
}

#contact .contact-list .item:last-child {
    border-bottom: none;
}

#contact .contact-list i {
    font-size: 1.25rem;
    color: #60a5fa;
    margin-top: .15rem;
}

#contact .contact-list .fw-semibold {
    font-size: .9rem;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: #e5e7eb;
}

#contact .contact-list a {
    color: #e7e9ee;
    text-decoration: none;
    font-size: .95rem;
}

#contact .contact-list a:hover {
    text-decoration: underline;
}

#contact .contact-list small {
    font-size: .8rem;
}

/* соцсети */
#contact .contact-list .bi-facebook,
#contact .contact-list .bi-instagram,
#contact .contact-list .bi-telegram,
#contact .contact-list .bi-linkedin {
    transition: transform .2s ease, color .2s ease;
}

#contact .contact-list a:hover .bi-facebook {
    color: #60a5fa;
    transform: translateY(-1px);
}

#contact .contact-list a:hover .bi-instagram {
    color: #f97316;
    transform: translateY(-1px);
}

#contact .contact-list a:hover .bi-telegram {
    color: #38bdf8;
    transform: translateY(-1px);
}

#contact .contact-list a:hover .bi-linkedin {
    color: #0ea5e9;
    transform: translateY(-1px);
}

/* карта */
#contact .map-wrap {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.5) inset,
    0 12px 30px rgba(15, 23, 42, 0.85);
}

/* адаптив */
@media (max-width: 767.98px) {
    #contact {
        padding: 70px 0;
    }

    #contact .card-glass {
        padding: 1.5rem !important;
    }
}


/* ===== LEAVE TESTIMONIAL (calm glass, no shift) ===== */
#leave-testimonial{
    background: transparent !important;
    color: rgba(255,255,255,.92);
}

#leave-testimonial .tform-glass{
    border-radius: 18px;
    padding: 18px 18px;

    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.12);

    box-shadow: 0 14px 40px rgba(0,0,0,.28);
}

/* labels */
#leave-testimonial .tform-label{
    color: rgba(231,233,238,.92);
    font-weight: 700;
    letter-spacing: .2px;
}

/* inputs */
#leave-testimonial .tform-control{
    border-radius: 14px;
    background: rgba(15,23,42,.55);
    border: 1px solid rgba(148,163,184,.35);
    color: rgba(255,255,255,.92);

    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

#leave-testimonial .tform-control::placeholder{
    color: rgba(203,213,245,.65);
}

#leave-testimonial .tform-control:focus{
    outline: none;
    background: rgba(15,23,42,.62);
    border-color: rgba(99,102,241,.75);
    box-shadow: 0 0 0 .18rem rgba(99,102,241,.22);
}

/* hint */
#leave-testimonial .tform-hint{
    margin-top: .35rem;
    font-size: .86rem;
    color: rgba(203,213,245,.75);
}

/* buttons (no translate on hover) */
#leave-testimonial .tform-btn-grad{
    background: var(--gradient-primary);
    border: 0;
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 800;
    color: #fff;

    transition: filter .15s ease, box-shadow .15s ease;
    box-shadow: 0 16px 44px rgba(0,0,0,.35);
}

#leave-testimonial .tform-btn-grad:hover{
    filter: brightness(1.06);
    box-shadow: 0 18px 52px rgba(0,0,0,.42);
}

#leave-testimonial .tform-btn-ghost{
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 700;

    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.16);
    color: rgba(255,255,255,.92);

    transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

#leave-testimonial .tform-btn-ghost:hover{
    background: rgba(255,255,255,.09);
    border-color: rgba(255,255,255,.22);
    box-shadow: 0 0 0 .18rem rgba(236,72,153,.14);
}

/* =========================
   FLASH STACK — TECH THEME
   ========================= */

.flash-stack.flash-stack--tech{
    position: fixed;
    left: 50%;
    top: 18%;                 /* выше центра */
    transform: translateX(-50%);
    z-index: 9999;

    width: min(720px, calc(100vw - 28px));
    display: grid;
    gap: 12px;

    pointer-events: none;     /* клики проходят сквозь контейнер */
}

/* сама карточка кликабельная (закрыть) */
.flash-stack--tech .alert-tech{
    pointer-events: auto;
}

/* базовая карточка */
.flash-stack--tech .alert-tech{
    --glass: rgba(255,255,255,.06);
    --line: rgba(255,255,255,.14);
    --text: rgba(255,255,255,.92);
    --muted: rgba(255,255,255,.72);

    position: relative;
    display: grid;
    grid-template-columns: 28px 1fr 34px;
    align-items: start;
    gap: 12px;

    padding: 14px 14px;
    margin: 0;

    border-radius: 16px;
    border: 1px solid var(--line);
    background: var(--glass);
    color: var(--text);

    box-shadow:
            0 18px 50px rgba(0,0,0,.38),
            0 0 0 1px rgba(0,0,0,.10) inset;

    /* без смещения: только визуальные эффекты */
    transform: none;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;

    overflow: hidden;
}

/* лёгкий “блик” */
.flash-stack--tech .alert-tech::before{
    content:"";
    position:absolute;
    inset:-2px;
    pointer-events:none;
    opacity:.55;
    background:
            radial-gradient(650px 220px at 18% 0%, rgba(255,255,255,.14), transparent 55%),
            radial-gradient(520px 240px at 90% 30%, rgba(99,102,241,.18), transparent 60%);
}

/* акцентная полоса слева */
.flash-stack--tech .alert-tech::after{
    content:"";
    position:absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--color-primary), var(--color-accent));
    opacity: .9;
}

/* hover — без translate, только “качество” */
.flash-stack--tech .alert-tech:hover{
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.20);
    box-shadow:
            0 22px 70px rgba(0,0,0,.45),
            0 0 0 1px rgba(255,255,255,.06) inset;
}

/* типографика */
.flash-stack--tech .flash-title{
    font-weight: 800;
    letter-spacing: .2px;
    line-height: 1.2;
    margin-top: 1px;
}

.flash-stack--tech .flash-message{
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.45;
    margin: 2px 0 0;
}

/* иконка */
.flash-stack--tech .flash-icon{
    font-size: 1.25rem;
    line-height: 1;
    margin-top: 2px;
    opacity: .95;
}

/* кнопка закрытия */
.flash-stack--tech .flash-close{
    justify-self: end;
    margin-top: 1px;

    filter: invert(1);
    opacity: .75;
    transition: opacity .15s ease, transform .15s ease;
}
.flash-stack--tech .flash-close:hover{
    opacity: 1;
    transform: none; /* без движения */
}

/* ===== цветовые варианты по типу (используем bootstrap классы alert-*) ===== */
.flash-stack--tech .alert-tech.alert-success{
    border-color: rgba(34,197,94,.28);
}
.flash-stack--tech .alert-tech.alert-success::after{
    background: linear-gradient(180deg, rgba(34,197,94,1), rgba(99,102,241,1));
}

.flash-stack--tech .alert-tech.alert-danger{
    border-color: rgba(239,68,68,.30);
}
.flash-stack--tech .alert-tech.alert-danger::after{
    background: linear-gradient(180deg, rgba(239,68,68,1), rgba(236,72,153,1));
}

.flash-stack--tech .alert-tech.alert-warning{
    border-color: rgba(245,158,11,.32);
}
.flash-stack--tech .alert-tech.alert-warning::after{
    background: linear-gradient(180deg, rgba(245,158,11,1), rgba(236,72,153,1));
}

.flash-stack--tech .alert-tech.alert-info{
    border-color: rgba(59,130,246,.30);
}
.flash-stack--tech .alert-tech.alert-info::after{
    background: linear-gradient(180deg, rgba(59,130,246,1), rgba(99,102,241,1));
}

/* Bootstrap может красить .alert-* фон — вырубаем */
.flash-stack--tech .alert{
    background-color: transparent; /* базово */
}
.flash-stack--tech .alert-success,
.flash-stack--tech .alert-danger,
.flash-stack--tech .alert-warning,
.flash-stack--tech .alert-info{
    background-color: transparent !important;
    color: inherit !important;
}

/* анимация появления */
@keyframes flashPop {
    from { opacity: 0; filter: blur(2px); }
    to   { opacity: 1; filter: blur(0); }
}
.flash-stack--tech .alert-tech{
    animation: flashPop .18s ease both;
}

/* mobile */
@media (max-width: 576px){
    .flash-stack.flash-stack--tech{
        top: 14%;
        width: calc(100vw - 18px);
    }

    .flash-stack--tech .alert-tech{
        grid-template-columns: 26px 1fr 34px;
        padding: 12px 12px;
        border-radius: 14px;
    }
}
/* captcha block inside testimonial form */
#leave-testimonial .tform-captcha img{
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(15,23,42,.55);
    box-shadow: 0 12px 30px rgba(0,0,0,.25);
    max-width: 100%;
    height: auto;
}
#leave-testimonial .tform-captcha .form-control{
    min-height: 44px;
}


/* кнопка под навигацией */
#testimonials .btn-grad{
    border: none;
    border-radius: 999px;
    padding: 12px 22px;
    font-weight: 800;
    letter-spacing: .2px;
    color: #fff !important;
    background: var(--gradient-primary);
    box-shadow: 0 18px 50px rgba(0,0,0,.35);
}
#testimonials .btn-grad:hover{
    filter: brightness(1.05);
}

/* контейнер раскрытия формы */
#testimonials .tform-collapse{
    overflow: hidden;
}

/* стеклянная форма внутри testimonials */
#testimonials .tform-glass{
    border-radius: 18px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 18px 50px rgba(0,0,0,.30);
    padding: 1.25rem;
}

/* поля */
#testimonials .tform-label{
    color: rgba(231,233,238,.92);
    font-weight: 600;
}
#testimonials .tform-control{
    background: rgba(15,23,42,.65);
    border: 1px solid rgba(148,163,184,.40);
    color: #e5e7eb;
    border-radius: .85rem;
}
#testimonials .tform-control:focus{
    border-color: rgba(99,102,241,.65);
    box-shadow: 0 0 0 .22rem rgba(99,102,241,.20);
    background: rgba(15,23,42,.75);
}
#testimonials .tform-hint{
    margin-top: .35rem;
    color: rgba(165,173,186,.95);
    font-size: .85rem;
}

/* капча */
#testimonials .tform-captcha img{
    border-radius: .75rem;
    box-shadow: 0 10px 24px rgba(0,0,0,.25);
}

/* кнопки внутри формы */
#testimonials .tform-btn-ghost{
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.04);
    color: rgba(255,255,255,.92);
    border-radius: .9rem;
}
#testimonials .tform-btn-ghost:hover{
    background: rgba(255,255,255,.07);
    border-color: rgba(255,255,255,.30);
}

/* важное: hover без смещения для карточек (если где-то было translateY) */
#testimonials .t-card:hover{
    transform: none !important;
}
.avatar-ring {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.avatar-ring img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-fallback i {
    font-size: 3rem;
}
/* CONTACT FORM: white input text */
#contact .form-control {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
}

/* placeholder */
#contact .form-control::placeholder {
    color: rgba(255, 255, 255, 0.55) !important;
}

/* focus */
#contact .form-control:focus {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    box-shadow: 0 0 0 .2rem rgba(255, 255, 255, 0.12) !important;
}

/* floating labels in dark form */
#contact .form-floating > label {
    color: white !important;
}

#contact .form-floating > label:active {
    color: black !important;
}

/* captcha input тоже белым */
#contact .captcha .form-control,
#contact input[name*="verifyCode"] {
    color: #fff !important;
}

/* Chrome autofill (иначе будет чёрный текст/жёлтый фон) */
#contact input:-webkit-autofill,
#contact textarea:-webkit-autofill,
#contact select:-webkit-autofill {
    -webkit-text-fill-color: #fff !important;
    transition: background-color 999999s ease-in-out 0s;
    box-shadow: 0 0 0px 1000px rgba(15, 18, 25, 0.95) inset !important;
    caret-color: #fff !important;
}
