    /* ============================
   CSS RESET & ROOT VARIABLES
   ============================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* === LIGHT SLATE-BLUE THEME === */
    --clr-bg: #f0f4f8;
    --clr-bg-2: #e8eef5;
    --clr-bg-3: #dde5ef;
    --clr-card: #ffffff;
    --clr-card-hover: #f5f8fc;
    --clr-border: rgba(59, 100, 155, 0.15);
    --clr-border-hover: rgba(59, 100, 155, 0.45);

    /* blue palette */
    --clr-purple-100: #e8f0fe;
    --clr-purple-200: #c5d8f6;
    --clr-purple-300: #93b8ee;
    --clr-purple-400: #5b91db;
    --clr-purple-500: #3b6ea5;
    --clr-purple-600: #2f5d93;
    --clr-purple-700: #244d80;
    --clr-purple-800: #1a3d6b;
    --clr-purple-900: #102d55;

    --clr-text: #1a2a3a;
    --clr-text-muted: #4a6580;
    --clr-text-dim: #7a9ab5;
    --clr-white: #1a2a3a;

    --gradient-purple: linear-gradient(135deg, #3b6ea5 0%, #2f5d93 50%, #244d80 100%);
    --gradient-hero: linear-gradient(135deg, #eaf1fa 0%, #d6e6f5 50%, #eaf1fa 100%);
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #f5f8fc 100%);
    --gradient-glow: radial-gradient(ellipse at center, rgba(59, 110, 165, 0.1) 0%, transparent 70%);

    --shadow-sm: 0 2px 8px rgba(30, 70, 120, 0.07);
    --shadow-md: 0 8px 24px rgba(30, 70, 120, 0.1);
    --shadow-lg: 0 16px 48px rgba(30, 70, 120, 0.13);
    --shadow-purple: 0 8px 32px rgba(59, 110, 165, 0.2);
    --shadow-purple-lg: 0 16px 48px rgba(59, 110, 165, 0.28);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;

    --transition: 0.3s ease;
    --transition-slow: 0.6s ease;

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    --container-max: 1280px;
    --container-pad: 24px;

    --header-h: 80px;
}

/* ============================
   BASE
   ============================ */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background-color: var(--clr-bg);
    color: var(--clr-text);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

ul, ol {
    list-style: none;
}

/* ============================
   SCROLLBAR
   ============================ */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--clr-bg);
}
::-webkit-scrollbar-thumb {
    background: var(--clr-purple-700);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--clr-purple-500);
}

/* ============================
   SELECTION
   ============================ */
::selection {
    background: rgba(59, 110, 165, 0.25);
    color: var(--clr-text);
}

/* ============================
   CONTAINER
   ============================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

/* ============================
   SECTION
   ============================ */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--clr-purple-700);
    background: rgba(47,93,147,0.08);
    border: 1px solid rgba(47,93,147,0.2);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--clr-text);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--clr-text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.accent {
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================
   BUTTONS
   ============================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.08);
    opacity: 0;
    transition: opacity var(--transition);
}

.btn:hover::before {
    opacity: 1;
}

.btn--primary {
    background: var(--gradient-purple);
    color: #ffffff;
    border: 1px solid transparent;
    box-shadow: var(--shadow-purple);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-purple-lg);
}

.btn--primary:active {
    transform: translateY(0);
}

.btn--outline {
    background: transparent;
    color: var(--clr-purple-600);
    border: 1px solid rgba(47, 93, 147, 0.4);
}

.btn--outline:hover {
    border-color: var(--clr-purple-500);
    color: var(--clr-purple-700);
    background: rgba(47, 93, 147, 0.08);
    transform: translateY(-2px);
}

/* Стеклянная кнопка — для hero на тёмном фото */
.btn--glass {
    background: rgba(255,255,255,0.1);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.28);
    backdrop-filter: blur(10px);
}

.btn--glass:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

.btn--sm {
    font-size: 13px;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
}

.btn__dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 8px rgba(74,222,128,0.8);
    animation: blink 2s ease-in-out infinite;
    flex-shrink: 0;
    margin-right: 6px;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

.btn--lg {
    font-size: 16px;
    padding: 16px 32px;
}

.btn--full {
    width: 100%;
}

/* ============================
   PRELOADER
   ============================ */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--clr-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader__inner {
    text-align: center;
}

.preloader__logo {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 900;
    color: var(--clr-text);
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.preloader__logo span {
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.preloader__bar {
    width: 200px;
    height: 3px;
    background: rgba(59,110,165,0.2);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.preloader__fill {
    height: 100%;
    width: 0%;
    background: var(--gradient-purple);
    border-radius: 2px;
    animation: preload 1.8s ease forwards;
}

@keyframes preload {
    0% { width: 0%; }
    60% { width: 80%; }
    100% { width: 100%; }
}

/* ============================
   HEADER
   ============================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    transition: all var(--transition);
}

.header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
    backdrop-filter: blur(0px);
}

.header.scrolled::before {
    background: rgba(240, 244, 248, 0.96);
    border-bottom-color: var(--clr-border);
    backdrop-filter: blur(20px);
}

/* Логотип и ссылки белые пока hero виден */
.header:not(.scrolled) .header__logo {
    color: #ffffff;
}
.header:not(.scrolled) .header__nav-link {
    color: rgba(255,255,255,0.85);
}
.header:not(.scrolled) .header__nav-link:hover {
    color: #ffffff;
    background: rgba(255,255,255,0.12);
}
.header:not(.scrolled) .header__phone {
    color: rgba(255,255,255,0.85);
}
.header:not(.scrolled) .header__phone:hover {
    color: #ffffff;
}

/* Ссылки в открытом мобильном меню — всегда белые */
.header__nav.open .header__nav-link,
.header__nav.open .header__nav-link:hover {
    color: #ffffff !important;
}
.header:not(.scrolled) .btn--outline {
    color: #ffffff;
    border-color: rgba(255,255,255,0.5);
}
.header:not(.scrolled) .btn--outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: #ffffff;
}
.header:not(.scrolled) .burger span {
    background: #ffffff;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.header__logo {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 900;
    color: var(--clr-text);
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.header__logo span {
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header__nav {
    flex: 1;
}

.header__nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.header__nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--clr-text-muted);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;
}

.header__nav-link:hover {
    color: var(--clr-purple-600);
    background: rgba(47, 93, 147, 0.1);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.header__phone {
    font-size: 14px;
    font-weight: 600;
    color: var(--clr-text-muted);
    transition: color var(--transition);
    white-space: nowrap;
}

.header__phone:hover {
    color: var(--clr-purple-600);
}

.header__icon-call,
.header__icon-whatsapp {
    display: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    transition: background var(--transition), color var(--transition);
    flex-shrink: 0;
}

.header__icon-call {
    color: #3B6EA5;
}

.header__icon-call:hover {
    background: rgba(59,110,165,0.1);
}

.header__icon-whatsapp {
    color: #25D366;
}

.header__icon-whatsapp:hover {
    background: rgba(37,211,102,0.1);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}

.burger:hover {
    background: rgba(59,110,165,0.1);
}

.burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--clr-text);
    border-radius: 2px;
    transition: all var(--transition);
}

.burger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.burger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.burger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================
   HERO
   ============================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--header-h);
}

.hero__bg {
    position: absolute;
    inset: 0;
}

.hero__bg-photo {
    position: absolute;
    inset: 0;
    background-image: url('img_render/main.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* Hero video background — only mobile */
.hero__bg-video {
    display: none;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

@media (max-width: 768px) {
    .hero__bg-video {
        display: block;
    }
    .hero__bg-photo {
        display: none;
    }
}

.hero__bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(10, 20, 35, 0.82) 0%,
        rgba(10, 20, 35, 0.65) 55%,
        rgba(10, 20, 35, 0.25) 100%
    );
}

.hero__particles {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: glow-pulse 4s ease-in-out infinite alternate;
    z-index: 1;
}

.hero__glow--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(47,93,147,0.18) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.hero__glow--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(36,77,128,0.14) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    animation-delay: 2s;
}

.hero__glow--3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59,110,165,0.1) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 1s;
}

@keyframes glow-pulse {
    0% { opacity: 0.6; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.1); }
}

.hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 40px 0 80px;
    min-height: calc(100vh - var(--header-h));
}

.hero__inner--single .hero__content {
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero__inner--single .hero__title {
    max-width: none;
    width: auto;
    margin-left: calc(-1 * var(--container-pad));
    margin-right: calc(-1 * var(--container-pad));
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
    text-align: center;
}

.hero__inner--single .hero__subtitle,
.hero__inner--single .hero__badge,
.hero__inner--single .hero__stats,
.hero__inner--single .hero__buttons,
.hero__inner--single .hero__trust {
    max-width: 600px;
    align-self: center;
    text-align: center;
}

/* Текст hero на тёмном фото — всегда белый */
.hero__inner--single .hero__title,
.hero__inner--single .hero__stat-num,
.hero__inner--single .hero__stat-plus {
    color: #ffffff;
}

.hero__inner--single .hero__subtitle {
    color: rgba(255,255,255,0.78);
}

.hero__inner--single .hero__subtitle strong {
    color: #ffffff;
}

.hero__inner--single .hero__stat-label {
    color: rgba(255,255,255,0.55);
}

.hero__inner--single .hero__stat-divider {
    background: rgba(255,255,255,0.18);
}

.hero__inner--single .hero__badge {
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.22);
    backdrop-filter: blur(8px);
}

/* Badge */
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: var(--clr-purple-700);
    background: rgba(47,93,147,0.08);
    border: 1px solid rgba(47,93,147,0.2);
    padding: 8px 18px;
    border-radius: 100px;
    margin-bottom: 28px;
}

.hero__badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 8px rgba(74,222,128,0.8);
    animation: blink 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Title */
.hero__title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 900;
    line-height: 1.05;
    color: var(--clr-text);
    margin-bottom: 0;
    letter-spacing: -0.02em;
}

.hero__title-accent {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1.05;
}

.hero__title-line3 {
    display: block;
    font-size: 0.62em;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 1;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.15);
    /* сброс градиентного цвета от hero__title-accent */
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: #ffffff;
    background-clip: unset;
    color: #ffffff;
}

/* Subtitle */
.hero__subtitle {
    font-size: 17px;
    color: var(--clr-text-muted);
    line-height: 1.75;
    margin-top: 28px;
    margin-bottom: 36px;
    max-width: 420px;
}

.hero__subtitle strong {
    color: var(--clr-text);
    font-weight: 600;
}

/* Stats */
.hero__stats {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 36px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(12px);
    padding: 18px 28px;
    width: fit-content;
}

.hero__stat {
    text-align: center;
    padding: 0 28px;
    white-space: nowrap;
}

.hero__stat-row {
    display: block;
    white-space: nowrap;
}

.hero__stat-num {
    display: inline;
    font-size: 36px;
    font-weight: 800;
    color: var(--clr-text);
    line-height: 1;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.hero__stat-plus {
    font-size: 36px;
    font-weight: 800;
    color: var(--clr-purple-600);
    white-space: nowrap;
    vertical-align: baseline;
    line-height: 1;
    letter-spacing: -0.02em;
}

.hero__stat-label {
    display: block;
    font-size: 11px;
    color: var(--clr-text-dim);
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.hero__stat-divider {
    width: 1px;
    height: 44px;
    background: rgba(255,255,255,0.18);
    flex-shrink: 0;
}

/* Buttons */
.hero__buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 28px;
    justify-content: center;
}

/* Trust line */
.hero__trust {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.hero__trust svg {
    opacity: 0.6;
    flex-shrink: 0;
}

/* Hero image */
.hero__image {
    display: flex;
    justify-content: flex-end;
}

.hero__image-card {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: var(--gradient-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-2xl);
    padding: 48px;
    box-shadow: var(--shadow-lg), 0 0 80px rgba(59,110,165,0.1);
}

.hero__image-visual {
    width: 100%;
    aspect-ratio: 1;
    max-width: 320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: var(--radius-xl);
}

.hero__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-xl);
    display: block;
}

.hero__visual-icon svg {
    width: 100%;
    height: 100%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

.hero__image-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(47,93,147,0.1);
    border: 1px solid rgba(47,93,147,0.25);
    border-radius: 100px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--clr-purple-700);
    backdrop-filter: blur(10px);
}

/* Scroll indicator */
.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.4);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    animation: scroll-bounce 2s ease-in-out infinite;
    z-index: 2;
}

.hero__scroll-line {
    width: 1px;
    height: 44px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================
   ABOUT
   ============================ */
.about {
    background: var(--clr-bg-2);
}

.about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about__content .section-tag,
.about__content .section-title {
    text-align: left;
}

.about__text {
    color: var(--clr-text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 15px;
}

.about__text:last-of-type {
    margin-bottom: 32px;
}

.about__text strong {
    color: var(--clr-text);
    font-weight: 600;
}

.about__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.about__feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--clr-text);
    background: rgba(47,93,147,0.05);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    transition: all var(--transition);
}

.about__feature:hover {
    border-color: var(--clr-border-hover);
    background: rgba(47,93,147,0.09);
    transform: translateX(4px);
}

.about__feature-icon {
    color: var(--clr-purple-600);
    flex-shrink: 0;
}

.about__numbers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about__photo-wrap {
    grid-column: 1 / -1;
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 220px;
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-md);
}

.about__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.about__photo:hover {
    transform: scale(1.03);
}

.about__number-card {
    background: var(--gradient-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.about__number-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-purple);
    opacity: 0;
    transition: opacity var(--transition);
}

.about__number-card:hover {
    border-color: var(--clr-border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-purple);
}

.about__number-card:hover::before {
    opacity: 1;
}

.about__number-value {
    font-size: 36px;
    font-weight: 800;
    color: var(--clr-white);
    line-height: 1;
    margin-bottom: 8px;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about__number-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--clr-text);
    margin-bottom: 4px;
}

.about__number-sub {
    font-size: 12px;
    color: var(--clr-text-dim);
}

/* ============================
   SERVICES
   ============================ */
.services {
    background: var(--clr-bg);
}

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

.service-card {
    background: var(--gradient-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xl);
    padding: 0;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gradient-purple);
    opacity: 0;
    transition: opacity var(--transition);
}

.service-card:hover {
    border-color: var(--clr-border-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-purple);
    background: var(--clr-card-hover);
}

.service-card:hover::before {
    opacity: 1;
}

/* ---- service card cover photo ---- */
.service-card__cover {
    width: 100%;
    height: 190px;
    overflow: hidden;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    flex-shrink: 0;
    position: relative;
}

.service-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.service-card:hover .service-card__cover img {
    transform: scale(1.06);
}

.service-card__cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 45%, rgba(20, 50, 90, 0.38) 100%);
    pointer-events: none;
}

.service-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px 28px 28px;
}

/* ---- end cover photo ---- */

.service-card--featured {
    border-color: var(--clr-border);
    background: transparent;
}

.service-card--featured .service-card__body {
    background: transparent;
}

.service-card--featured:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(59,110,165,0.4);
}

.service-card__badge {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(47,93,147,0.82);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 5px 12px;
    border-radius: 100px;
    backdrop-filter: blur(8px);
}

.service-card__icon {
    width: 52px;
    height: 52px;
    background: rgba(47,93,147,0.08);
    border: 1px solid rgba(47,93,147,0.18);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-purple-600);
    margin-bottom: 16px;
    flex-shrink: 0;
    transition: all var(--transition);
}

.service-card:hover .service-card__icon {
    background: rgba(47,93,147,0.18);
    border-color: rgba(47,93,147,0.35);
    color: var(--clr-purple-600);
    transform: scale(1.05);
}

.service-card__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-card__text {
    font-size: 14px;
    color: var(--clr-text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-card__list {
    flex: 1;
    margin-bottom: 24px;
}

.service-card__list li {
    font-size: 13px;
    color: var(--clr-text-muted);
    padding: 6px 0;
    padding-left: 18px;
    position: relative;
    border-bottom: 1px solid rgba(36,77,128,0.08);
}

.service-card__list li:last-child {
    border-bottom: none;
}

.service-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--clr-purple-600);
}

.service-card__price {
    font-size: 14px;
    color: var(--clr-text-muted);
    margin-bottom: 16px;
}

.service-card__price strong {
    color: var(--clr-purple-700);
    font-size: 18px;
    font-weight: 700;
}

.service-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: rgba(47,93,147,0.08);
    border: 1px solid rgba(47,93,147,0.25);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    color: var(--clr-purple-700);
    transition: all var(--transition);
    margin-top: auto;
}

.service-card__btn:hover {
    background: var(--gradient-purple);
    border-color: transparent;
    color: var(--clr-white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-purple);
}

/* ============================
   WORKS
   ============================ */
.works {
    background: var(--clr-bg-2);
}

.works__filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.works__filter-btn {
    font-size: 14px;
    font-weight: 500;
    color: var(--clr-text);
    background: #ffffff;
    border: 1px solid var(--clr-border);
    border-radius: 100px;
    padding: 10px 24px;
    transition: all var(--transition);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.works__filter-btn:hover,
.works__filter-btn.active {
    color: #ffffff;
    background: var(--gradient-purple);
    border-color: transparent;
    box-shadow: var(--shadow-purple);
}

.works__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 750px 450px auto 750px;
    gap: 20px;
}

/* Навигация слайдера — скрыта на десктопе */
.works__slider-nav {
    display: none;
}

/* Ряд 1: 3 одинаковых вертикальных */
.work-card:nth-child(1) { grid-column: 1; grid-row: 1; }
.work-card:nth-child(2) { grid-column: 2; grid-row: 1; }
.work-card:nth-child(3) { grid-column: 3; grid-row: 1; }

/* Ряд 2: 2 широких горизонтальных */
.work-card:nth-child(4) { grid-column: 1 / 3; grid-row: 2; }
.work-card:nth-child(5) { grid-column: 3;     grid-row: 2; }

/* Ряд 3: на всю ширину */
.work-card:nth-child(6) { grid-column: 1 / 4; grid-row: 3; }

/* Ряд 4: 2 новых вертикальных */
.work-card:nth-child(7) { grid-column: 1 / 3; grid-row: 4; }
.work-card:nth-child(8) { grid-column: 3;     grid-row: 4; }

.work-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                border-color 0.45s ease;
    display: flex;
    flex-direction: column;
    background: var(--clr-card);
    border: 1px solid var(--clr-border);
}

.work-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 64px rgba(30, 60, 110, 0.22);
    border-color: rgba(59, 110, 165, 0.35);
    z-index: 2;
}

/* фото занимает всё свободное место */
.work-card__image {
    flex: 1;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    min-height: 0;
    transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.work-card:hover .work-card__image {
    transform: scale(1.04);
}

/* оверлей с инфо — только при наведении */
.work-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 20, 45, 0.92) 0%, rgba(8, 20, 45, 0.4) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.work-card:hover .work-card__overlay {
    opacity: 0;
}

.work-card__info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.work-card__info p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    margin: 0;
}

.work-card__info-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #ffffff;
    background: rgba(59, 110, 165, 0.75);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 100px;
    padding: 3px 10px;
    backdrop-filter: blur(8px);
    width: fit-content;
}

/* белое окошко с названием под фото */

.work-card__caption h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--clr-text);
    margin: 0 0 8px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.work-card__caption-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.work-card__caption-tag {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--clr-purple-600);
    background: rgba(47, 93, 147, 0.08);
    border: 1px solid rgba(47, 93, 147, 0.18);
    border-radius: 100px;
    padding: 3px 10px;
    white-space: nowrap;
}

.work-card__caption-area {
    font-size: 12px;
    font-weight: 500;
    color: var(--clr-text-muted);
    white-space: nowrap;
}

.work-card__caption-duration {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--clr-border);
}

.work-card__caption-duration-label {
    font-size: 11px;
    color: var(--clr-text-muted);
}

.work-card__caption-duration-value {
    font-size: 11px;
    font-weight: 700;
    color: var(--clr-purple-600);
}

.work-card__caption {
    flex-shrink: 0;
    padding: 12px 16px 14px;
    background: var(--clr-card);
    border-top: 1px solid var(--clr-border);
    transition: background 0.35s ease;
}

.work-card:hover .work-card__caption {
    background: #f5f8fd;
}

.work-card__caption-desc {
    margin: 10px 0 0;
    font-size: 12px;
    line-height: 1.55;
    color: var(--clr-text-muted);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.35s ease, margin 0.3s ease;
    margin-top: 0;
}

.work-card:hover .work-card__caption-desc {
    max-height: 80px;
    opacity: 1;
    margin-top: 10px;
}

.work-card--wide .work-card__caption {
    padding: 10px 16px 12px;
}
.work-card--wide .work-card__caption h4 {
    margin: 0;
    white-space: nowrap;
}
.work-card--wide .work-card__caption-meta {
    margin-top: 6px;
}

/* Панорамная карточка на всю ширину */
.work-card--panorama .work-card__caption {
    padding: 14px 24px 16px;
    display: block;
}
.work-card--panorama .work-card__image {
    flex: none;
    width: 100%;
    height: 0;
    padding-top: 43.7%; /* пропорции fullpotolok.png: 2478/5675 * 100 */
}
.work-card--panorama .work-card__caption h4 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 8px;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
}
.work-card--panorama .work-card__caption-meta {
    flex-shrink: 0;
}

/* Вертикальная 1 — потолок */
.work-card__image--1 {
    background-image: url('/img_render/IMG_5360.webp');
    background-size: cover;
    background-position: center top;
}

/* Вертикальная 2 — шумоизоляция/отделка    /img_render/IMG_5350.png. */
.work-card__image--2 {
    background-image: url('/img_render/portfolio3.webp');
    background-size: cover;
    background-position: center;
}

/* Вертикальная 3 — стены/ниши.  /img_render/IMG_5316\ 2.png */
.work-card__image--3 {
    background-image: url('/img_render/portfolio4.webp');
    background-size: cover;
    background-position: center;
}

/* Горизонтальная 4 — панорама помещения (широкая левая) */
.work-card__image--4 {
    background-image: url('/img_render/portfolio.webp');
    background-size: cover;
    background-position: center 40%;
}

/* Горизонтальная 5 — облицовка/декор (правая) */
.work-card__image--5 {
    background-image: url('/img_render/IMG_5344\ 2.webp');
    background-size: cover;
    background-position: center 30%;
}

.work-card__image--6 {
    background-image: url('/img_render/fullpotolok.webp');
    background-size: cover;
    background-position: center 35%;
}

/* Вертикальная 7 */
.work-card__image--7 {
    background-image: url('/img_render/portfoliolast.webp');
    background-size: cover;
    background-position: center top;
}

/* Вертикальная 8 */
.work-card__image--8 {
    background-image: url('/img_render/IMG_4094.webp');
    background-size: cover;
    background-position: center;
}

/* ============================
   WORKS CTA BANNER
   ============================ */
.works-cta {
    padding: 0 0 80px;
}

.works-cta__inner {
    position: relative;
    overflow: hidden;
    background: var(--gradient-purple);
    border-radius: 24px;
    padding: 56px 64px;
    display: flex;
    align-items: center;
    gap: 48px;
    justify-content: space-between;
}

/* декоративные круги */
.works-cta__deco {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    pointer-events: none;
}
.works-cta__deco--1 {
    width: 400px;
    height: 400px;
    top: -160px;
    right: -80px;
}
.works-cta__deco--2 {
    width: 240px;
    height: 240px;
    bottom: -100px;
    left: 30%;
}

.works-cta__left {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.works-cta__badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 100px;
    padding: 6px 14px;
    margin-bottom: 20px;
}

.works-cta__title {
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 16px;
}

.works-cta__title span {
    position: relative;
    white-space: nowrap;
}

.works-cta__title span::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,0.45);
    border-radius: 2px;
}

.works-cta__sub {
    font-size: 15px;
    color: rgba(255,255,255,0.75);
    line-height: 1.65;
    margin: 0 0 28px;
    max-width: 480px;
}

.works-cta__stats {
    display: flex;
    align-items: center;
    gap: 20px;
}

.works-cta__stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.works-cta__stat strong {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.works-cta__stat span {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.works-cta__stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.2);
}

.works-cta__right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.works-cta__btn-main {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--clr-purple-700);
    font-size: 15px;
    font-weight: 700;
    padding: 16px 28px;
    border-radius: 12px;
    white-space: nowrap;
    transition: all 0.25s ease;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

.works-cta__btn-main:hover {
    background: var(--clr-purple-100);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

.works-cta__btn-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 24px;
    border-radius: 12px;
    white-space: nowrap;
    transition: all 0.25s ease;
    width: 100%;
    justify-content: center;
}

.works-cta__btn-phone:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
}

.works-cta__note {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    margin: 0;
}

/* ============================
   ADVANTAGES
   ============================ */
.advantages {
    background: var(--clr-bg);
}

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

.advantage-card {
    background: var(--gradient-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    position: relative;
    transition: all var(--transition);
    overflow: hidden;
}

.advantage-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gradient-purple);
    opacity: 0;
    transition: opacity var(--transition);
}

.advantage-card:hover {
    border-color: var(--clr-border-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-purple);
}

.advantage-card:hover::after {
    opacity: 1;
}

.advantage-card__number {
    font-size: 13px;
    font-weight: 700;
    color: var(--clr-purple-700);
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    opacity: 0.8;
}

.advantage-card__icon {
    color: var(--clr-purple-600);
    margin-bottom: 20px;
    transition: color var(--transition);
}

.advantage-card:hover .advantage-card__icon {
    color: var(--clr-purple-600);
}

.advantage-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: 12px;
    line-height: 1.3;
}

.advantage-card p {
    font-size: 14px;
    color: var(--clr-text-muted);
    line-height: 1.7;
}

/* ============================
   STAGES
   ============================ */
.stages {
    background: var(--clr-bg-2);
}

.stages__timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.stages__timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(59,110,165,0.3) 10%, rgba(59,110,165,0.3) 90%, transparent);
    transform: translateX(-50%);
}

.stage {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 48px;
    position: relative;
}

.stage:last-child {
    margin-bottom: 0;
}

.stage:nth-child(even) .stage__number {
    order: 2;
}
.stage:nth-child(even) .stage__content {
    order: 3;
    text-align: left;
}
.stage:nth-child(even)::before {
    content: '';
    order: 1;
}

.stage:nth-child(odd) .stage__content {
    text-align: right;
}
.stage:nth-child(odd)::after {
    content: '';
}

.stage__number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gradient-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    color: var(--clr-white);
    box-shadow: var(--shadow-purple);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.stage__content {
    flex: 1;
}

.stage__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: 10px;
}

.stage__text {
    font-size: 14px;
    color: var(--clr-text-muted);
    line-height: 1.7;
    margin-bottom: 12px;
}

.stage__time {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--clr-purple-700);
    background: rgba(47,93,147,0.08);
    border: 1px solid rgba(47,93,147,0.18);
    padding: 4px 12px;
    border-radius: 100px;
}

/* ============================
   MATERIALS
   ============================ */
.materials {
    background: var(--clr-bg);
}

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

.material-card {
    background: var(--gradient-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition);
}

.material-card:hover {
    border-color: var(--clr-border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-purple);
}

.material-card__logo {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 0.1em;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.material-card p {
    font-size: 13px;
    color: var(--clr-text-muted);
    line-height: 1.7;
}

/* ============================
   TEAM
   ============================ */
.team {
    background: var(--clr-bg);
}

/* ---- новый showcase-лейаут ---- */
.team__showcase {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 64px;
    align-items: flex-end;
}

.team__showcase-content {
    padding-bottom: 0;
}

.team__showcase-content .section-title {
    margin-top: 12px;
    margin-bottom: 20px;
}

.team__showcase-text {
    font-size: 15px;
    line-height: 1.75;
    color: var(--clr-text-muted);
    margin-bottom: 14px;
}

.team__showcase-text strong {
    color: var(--clr-text);
}

.team__showcase-stats {
    display: flex;
    gap: 32px;
    margin: 28px 0 28px;
}

.team__showcase-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.team__showcase-stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--clr-purple-500);
    line-height: 1;
}

.team__showcase-stat-label {
    font-size: 12px;
    color: var(--clr-text-muted);
    font-weight: 500;
}

.team__showcase-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.team__showcase-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--clr-text);
    font-weight: 500;
}

.team__showcase-feature svg {
    flex-shrink: 0;
    color: var(--clr-purple-500);
}

.team__showcase-photo {
    position: relative;
    width: 360px;
    flex-shrink: 0;
    align-self: flex-end;
}

.team__showcase-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: bottom;
    filter: drop-shadow(0 8px 32px rgba(30, 60, 110, 0.15));
}

/* ============================
   REVIEWS
   ============================ */
.reviews {
    background: var(--clr-bg-2);
}

.reviews__slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.reviews__track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 24px;
    align-items: stretch;
}

.review-card {
    flex: 0 0 calc(33.333% - 16px);
    background: var(--gradient-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    border-color: var(--clr-border-hover);
    box-shadow: var(--shadow-purple);
}

.review-card__stars {
    font-size: 20px;
    color: #f59e0b;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.review-card__text {
    font-size: 14px;
    color: var(--clr-text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
    flex: 1;
}

.review-card__author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
}

.review-card__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--clr-white);
    flex-shrink: 0;
    overflow: hidden;
}

.review-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.review-card__name {
    font-size: 14px;
    font-weight: 600;
    color: var(--clr-text);
    margin-bottom: 2px;
}

.review-card__date {
    font-size: 12px;
    color: var(--clr-text-dim);
}

.reviews__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.reviews__btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--clr-border);
    color: var(--clr-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
}

.reviews__btn:hover {
    background: var(--gradient-purple);
    border-color: transparent;
    color: var(--clr-white);
    box-shadow: var(--shadow-purple);
}

.reviews__dots {
    display: flex;
    gap: 8px;
}

.reviews__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--clr-text-dim);
    cursor: pointer;
    transition: all var(--transition);
}

.reviews__dot.active {
    background: var(--clr-purple-500);
    width: 24px;
    border-radius: 4px;
}

/* ============================
   FAQ
   ============================ */
.faq {
    background: var(--clr-bg);
}

.faq__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq__item {
    background: var(--gradient-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: border-color var(--transition);
}

.faq__item.active {
    border-color: rgba(59,110,165,0.3);
}

.faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 22px 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--clr-text);
    text-align: left;
    cursor: pointer;
    transition: color var(--transition);
    background: none;
    border: none;
    font-family: var(--font-primary);
}

.faq__question:hover {
    color: var(--clr-purple-600);
}

.faq__icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(47,93,147,0.08);
    border: 1px solid rgba(47,93,147,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-purple-600);
    flex-shrink: 0;
    transition: all var(--transition);
}

.faq__item.active .faq__icon {
    background: var(--gradient-purple);
    border-color: transparent;
    color: var(--clr-white);
    transform: rotate(45deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    visibility: hidden;
}

.faq__answer p {
    padding: 0 24px 22px;
    font-size: 14px;
    color: var(--clr-text-muted);
    line-height: 1.8;
    margin: 0;
}

.faq__item.active .faq__answer {
    max-height: 600px;
    visibility: visible;
}
/* ============================
   QUIZ
   ============================ */
.quiz {
    background: var(--clr-bg);
    position: relative;
}

.quiz__inner {
    max-width: 720px;
    margin: 0 auto;
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xl);
    padding: 48px 48px 40px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.06);
}

.quiz__header {
    text-align: center;
    margin-bottom: 32px;
}

.quiz__header .section-title {
    margin-bottom: 8px;
}

.quiz__header .section-subtitle {
    margin-bottom: 0;
}

/* Progress */
.quiz__progress {
    height: 6px;
    background: var(--clr-border);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.quiz__progress-bar {
    height: 100%;
    background: var(--gradient-purple);
    border-radius: 3px;
    transition: width 0.4s ease;
}

.quiz__step-counter {
    font-size: 13px;
    color: var(--clr-text-dim);
    text-align: right;
    margin-bottom: 28px;
}

/* Steps */
.quiz__step {
    display: none;
}

.quiz__step.active {
    display: block;
    animation: quizFadeIn 0.35s ease;
}

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

.quiz__question {
    font-size: 22px;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: 24px;
    text-align: center;
}

.quiz__step-subtitle {
    font-size: 14px;
    color: var(--clr-text-muted);
    text-align: center;
    margin-bottom: 28px;
}

.quiz__hint {
    font-size: 13px;
    color: var(--clr-text-dim);
    text-align: center;
    margin-top: 12px;
}

/* Options grid */
.quiz__options--grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.quiz__option {
    cursor: pointer;
}

.quiz__option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.quiz__option-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 16px;
    border: 2px solid var(--clr-border);
    border-radius: var(--radius-lg);
    background: var(--clr-bg);
    transition: all 0.25s ease;
    text-align: center;
}

.quiz__option-card:hover {
    border-color: rgba(152, 132, 235, 0.4);
    background: rgba(152, 132, 235, 0.04);
}

.quiz__option input:checked + .quiz__option-card {
    border-color: var(--clr-purple-500, #9884eb);
    background: rgba(152, 132, 235, 0.08);
    box-shadow: 0 0 0 3px rgba(152, 132, 235, 0.15);
}

.quiz__option-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--clr-purple-500);
    background: var(--clr-purple-100);
    border-radius: var(--radius-md);
    transition: all 0.25s ease;
}

.quiz__option-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

.quiz__option input:checked + .quiz__option-card .quiz__option-icon {
    background: var(--gradient-purple);
    color: #fff;
}

/* Contact form (step 5) */
.quiz__contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 400px;
    margin: 0 auto;
}

.quiz__input {
    text-align: center;
    font-size: 16px;
}

/* Success */
.quiz__success {
    text-align: center;
    padding: 32px 0;
}

.quiz__success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    background: var(--clr-purple-100);
    border-radius: 50%;
}

.quiz__success-icon svg {
    width: 40px;
    height: 40px;
}

.quiz__success-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: 8px;
}

.quiz__success-text {
    font-size: 14px;
    color: var(--clr-text-muted);
    max-width: 360px;
    margin: 0 auto;
}

/* Navigation */
.quiz__nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    gap: 12px;
}

.quiz__btn-prev {
    gap: 8px;
    font-size: 15px;
    padding: 12px 24px;
}

.quiz__btn-next,
.quiz__btn-submit {
    margin-left: auto;
    gap: 8px;
    font-size: 15px;
    padding: 12px 28px;
}
/* ============================
   REQUEST FORM
   ============================ */
.request {
    background: var(--clr-bg-2);
    position: relative;
    overflow: hidden;
}

.request::before {
    content: '';
    position: absolute;
    top: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59,110,165,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.request::after {
    content: '';
    position: absolute;
    bottom: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(47,93,147,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.request__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.request__content .section-tag,
.request__content .section-title {
    text-align: left;
}

.request__subtitle {
    font-size: 16px;
    color: var(--clr-text-muted);
    line-height: 1.7;
    margin-bottom: 36px;
}

.request__benefits {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.request__benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--clr-text);
}

/* Form */
.request-form {
    background: var(--gradient-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-2xl);
    padding: 40px;
    position: relative;
}

.request-form__title {
    font-size: 22px;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--clr-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    background: #ffffff;
    border: 1px solid rgba(47,93,147,0.2);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    font-size: 15px;
    font-family: var(--font-primary);
    color: var(--clr-text);
    transition: all var(--transition);
    outline: none;
}

.form-input::placeholder {
    color: var(--clr-text-dim);
}

.form-input:focus {
    border-color: rgba(47,93,147,0.55);
    background: #f0f6fc;
    box-shadow: 0 0 0 3px rgba(47,93,147,0.1);
}

.form-input.error {
    border-color: #ef4444;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a855f7' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-select option {
    background: #ffffff;
    color: var(--clr-text);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-error {
    display: none;
    font-size: 12px;
    color: #ef4444;
    margin-top: 6px;
}

.form-error.visible {
    display: block;
}

.form-group--checkbox {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
    display: none;
}

.form-checkbox__mark {
    width: 20px;
    height: 20px;
    border: 1px solid rgba(59,110,165,0.4);
    border-radius: 4px;
    background: transparent;
    flex-shrink: 0;
    margin-top: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.form-checkbox input:checked + .form-checkbox__mark {
    background: var(--gradient-purple);
    border-color: transparent;
}

.form-checkbox input:checked + .form-checkbox__mark::after {
    content: '';
    display: block;
    width: 5px;
    height: 9px;
    border: 2px solid white;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translateY(-1px);
}

.form-checkbox__text {
    font-size: 13px;
    color: var(--clr-text-muted);
    line-height: 1.5;
}

.form-link {
    color: var(--clr-purple-600);
    text-decoration: underline;
}

.form-note {
    font-size: 12px;
    color: var(--clr-text-dim);
    text-align: center;
    margin-top: 16px;
}

.form-success {
    display: none;
    position: absolute;
    inset: 0;
    background: var(--gradient-card);
    border-radius: var(--radius-2xl);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
}

.form-success.visible {
    display: flex;
    animation: success-in 0.5s ease forwards;
}

@keyframes success-in {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.form-success h4 {
    font-size: 22px;
    font-weight: 700;
    color: var(--clr-text);
    margin: 20px 0 12px;
}

.form-success p {
    font-size: 15px;
    color: var(--clr-text-muted);
    line-height: 1.6;
}

/* ============================
   CONTACTS
   ============================ */
.contacts {
    background: var(--clr-bg);
}

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

.contacts__info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-item__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(47,93,147,0.08);
    border: 1px solid rgba(47,93,147,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-purple-600);
    flex-shrink: 0;
}

.contact-item__label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--clr-purple-500);
    margin-bottom: 6px;
}

.contact-item__value {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: var(--clr-text);
    margin-bottom: 4px;
    transition: color var(--transition);
}

a.contact-item__value:hover {
    color: var(--clr-purple-600);
}

.contacts__social {
    padding-top: 8px;
}

.contacts__social-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--clr-text-dim);
    display: block;
    margin-bottom: 16px;
}

.contacts__social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: rgba(59,110,165,0.08);
    border: 1px solid rgba(59,110,165,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-text-muted);
    transition: all var(--transition);
}

.social-link:hover {
    background: var(--gradient-purple);
    border-color: transparent;
    color: var(--clr-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-purple);
}

.contacts__map {
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 420px;
    border: 1px solid var(--clr-border);
}

.contacts__map iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    display: block;
    border: none;
    border-radius: var(--radius-xl);
}

.contacts__map-placeholder {
    background: var(--gradient-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xl);
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contacts__map-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.contacts__map-content p {
    font-size: 16px;
    color: var(--clr-text-muted);
    line-height: 1.6;
}

/* ============================
   FOOTER
   ============================ */
.footer {
    background: var(--clr-bg-3);
    border-top: 1px solid var(--clr-border);
    padding-top: 72px;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--clr-border);
}

.footer__logo {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 900;
    color: var(--clr-text);
    display: block;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.footer__logo span {
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer__tagline {
    font-size: 14px;
    color: var(--clr-text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
}

.footer__license {
    font-size: 12px;
    color: var(--clr-text-dim);
}

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

.footer__nav-col h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--clr-text-muted);
    margin-bottom: 16px;
}

.footer__nav-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__nav-col li a,
.footer__nav-col li {
    font-size: 14px;
    color: var(--clr-text-dim);
    transition: color var(--transition);
    line-height: 1.5;
}

.footer__nav-col li a:hover {
    color: var(--clr-purple-600);
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
}

.footer__copy {
    font-size: 13px;
    color: var(--clr-text-dim);
}

.footer__legal {
    display: flex;
    gap: 24px;
}

.footer__legal a {
    font-size: 13px;
    color: var(--clr-text-dim);
    transition: color var(--transition);
}

.footer__legal a:hover {
    color: var(--clr-purple-600);
}

/* ============================
   FLOATING CTA
   ============================ */
.floating-cta {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 500;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition);
    pointer-events: none;
}

.floating-cta.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.floating-cta__phone {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-white);
    box-shadow: var(--shadow-purple-lg);
    transition: all var(--transition);
    animation: phone-pulse 2.5s ease-in-out infinite;
}

.floating-cta__phone:hover {
    transform: scale(1.1);
    box-shadow: 0 0 40px rgba(59,110,165,0.6);
}

@keyframes phone-pulse {
    0%, 100% { box-shadow: var(--shadow-purple-lg); }
    50% { box-shadow: 0 0 0 12px rgba(59,110,165,0.15), var(--shadow-purple-lg); }
}

/* ============================
   ANIMATIONS
   ============================ */
[data-animate] {
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate="fade-up"] {
    transform: translateY(40px);
}

[data-animate="fade-right"] {
    transform: translateX(-40px);
}

[data-animate="fade-left"] {
    transform: translateX(40px);
}

[data-animate].animated {
    opacity: 1;
    transform: translate(0, 0);
}

[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="300"] { transition-delay: 0.3s; }

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1200px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero__inner--single .hero__title {
        font-size: 50px;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        text-align: center;
    }
    .team__showcase {
        gap: 40px;
    }
    .team__showcase-photo {
        width: 300px;
    }
    .works__grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 570px 390px 390px 480px 570px;
        gap: 14px;
    }
    .works__grid .work-card:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
    }
    .works__grid .work-card:nth-child(1) { grid-column: 1; grid-row: 1; }
    .works__grid .work-card:nth-child(2) { grid-column: 2; grid-row: 1; }
    .works__grid .work-card:nth-child(3) { grid-column: 1 / 3; grid-row: 2; }
    .works__grid .work-card:nth-child(4) { grid-column: 1; grid-row: 3; }
    .works__grid .work-card:nth-child(5) { grid-column: 2; grid-row: 3; }
    .works__grid .work-card:nth-child(6) { grid-column: 1 / 3; grid-row: 4; }
    .works__grid .work-card:nth-child(7) { grid-column: 1; grid-row: 5; }
    .works__grid .work-card:nth-child(8) { grid-column: 2; grid-row: 5; }
    .header__nav-link {
        font-size: 13px;
        padding: 6px 8px;
    }
}

@media (max-width: 1024px) {
    .hero__inner {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    .hero__inner--single .hero__title {
        font-size: 44px;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        text-align: center;
    }
    .hero__image {
        justify-content: center;
    }
    .hero__image-card {
        max-width: 380px;
    }
    .hero__stats {
        justify-content: center;
    }
    .hero__buttons {
        justify-content: center;
    }
    .hero__badge {
        margin-left: auto;
        margin-right: auto;
    }
    .hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .about__inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .advantages__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .request__inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .contacts__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .footer__inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (min-width: 769px) and (max-width: 1075px) {
    .header__nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 18, 30, 0.97);
        backdrop-filter: blur(20px);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header__nav.open {
        opacity: 1;
        visibility: visible;
    }

    .header__nav-list {
        flex-direction: column;
        gap: 8px;
    }

    .header__nav-link {
        font-size: 20px;
        padding: 12px 24px;
        color: rgba(255, 255, 255, 0.85);
    }

    .header__nav-link:hover {
        color: #fff;
        background: rgba(255, 255, 255, 0.08);
    }

    .header__phone {
        display: none;
    }

    .header__icon-call,
    .header__icon-whatsapp {
        display: flex;
    }

    .burger {
        display: flex;
    }
}

@media (max-width: 768px) {
    :root {
        --header-h: 70px;
    }

    .section {
        padding: 72px 0;
    }

    .header__nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 18, 30, 0.97);
        backdrop-filter: blur(20px);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header__nav.open {
        opacity: 1;
        visibility: visible;
    }

    .header__nav-list {
        flex-direction: column;
        gap: 8px;
    }

    .header__nav-link {
        font-size: 20px;
        padding: 12px 24px;
        color: rgba(255, 255, 255, 0.85);
    }

    .header__nav-link:hover {
        color: #fff;
        background: rgba(255, 255, 255, 0.08);
    }

    .header__phone {
        display: none;
    }

    .header__icon-call,
    .header__icon-whatsapp {
        display: flex;
    }

    .burger {
        display: flex;
    }

   .hero__particles {
        display: none;
    }
    .hero__inner {
        padding: 32px 0 40px;
    }

    .hero__title {
        font-size: clamp(28px, 4vw, 44px);
    }

    .hero__inner--single .hero__title {
        font-size: 36px;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        text-align: center;
    }

    .hero__stats {
        gap: 20px;
        width: 100%;
        padding: 14px 16px;
        justify-content: space-around;
    }

    .hero__stat {
        padding: 0 8px;
    }

    .hero__stat-num {
        font-size: 26px;
    }

    .hero__stat-plus {
        font-size: 26px;
    }

    .services__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .service-card__cover {
        height: 140px;
    }

    .service-card__body {
        padding: 12px;
    }

    .service-card__title {
        font-size: 13px;
    }

    .service-card__text,
    .service-card__list {
        display: none;
    }

    .service-card__price {
        margin-top: 8px;
        font-size: 13px;
    }

    /* ====== Works Mobile Slider ====== */
    .works__slider-wrap {
        position: relative;
        overflow: hidden;
        width: 100%;
    }

    .works-cta__inner {
        flex-direction: column;
        padding: 36px 24px;
        gap: 32px;
        border-radius: 20px;
    }

    .works-cta__right {
        width: 100%;
    }

    .works-cta__btn-main {
        width: 100%;
        justify-content: center;
        font-size: 14px;
        padding: 15px 20px;
    }

    .works-cta__stats {
        gap: 14px;
    }

    .works-cta__stat strong {
        font-size: 18px;
    }

    .works-cta__deco--1 {
        width: 260px;
        height: 260px;
        top: -80px;
        right: -60px;
    }

    .works__grid {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0;
        grid-template-columns: none;
        grid-template-rows: none;
        transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
        will-change: transform;
    }

    .works__grid .work-card,
    .works__grid .work-card--wide,
    .works__grid .work-card--panorama {
        flex: 0 0 100%;
        width: 100%;
        min-width: 100%;
        grid-column: auto !important;
        grid-row: auto !important;
    }

    .works__grid .work-card:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
    }

    /* фото держат свои пропорции на мобильном */
    .works__grid .work-card__image {
        flex: none;
        width: 100%;
        height: auto;
        min-height: unset;
    }
    /* вертикальные карточки 1, 2, 3, 7, 8 — портретное фото ~3:4 */
    .works__grid .work-card:nth-child(1) .work-card__image,
    .works__grid .work-card:nth-child(2) .work-card__image,
    .works__grid .work-card:nth-child(3) .work-card__image,
    .works__grid .work-card:nth-child(7) .work-card__image,
    .works__grid .work-card:nth-child(8) .work-card__image {
        padding-top: 75%;
        height: 0;
    }
    /* горизонтальные карточки 4, 5, 6 */
    .works__grid .work-card:nth-child(4) .work-card__image,
    .works__grid .work-card:nth-child(5) .work-card__image,
    .works__grid .work-card:nth-child(6) .work-card__image {
        padding-top: 75%;
        height: 0;
    }

    /* Позиционирование фото в мобильном слайдере */
    .works__grid .work-card:nth-child(1) .work-card__image { background-position: center bottom; }
    .works__grid .work-card:nth-child(3) .work-card__image { background-position: center bottom; }
    .works__grid .work-card:nth-child(7) .work-card__image { background-position: center bottom; }

    /* Навигация слайдера работ */
    .works__slider-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 16px;
        margin-top: 24px;
    }

    .works__slider-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(59,110,165,0.08);
        border: 1px solid rgba(59,110,165,0.2);
        color: var(--clr-text-muted);
        cursor: pointer;
        transition: all var(--transition);
        flex-shrink: 0;
    }

    .works__slider-btn:hover {
        background: var(--gradient-purple);
        border-color: transparent;
        color: #fff;
    }

    .works__slider-dots {
        display: flex;
        gap: 8px;
        align-items: center;
    }

    .works__slider-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(59,110,165,0.2);
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
        padding: 0;
    }

    .works__slider-dot.active {
        background: var(--clr-purple-500, #9884eb);
        width: 24px;
        border-radius: 4px;
    }

    .advantages__grid {
        grid-template-columns: 1fr;
    }

    .team__showcase {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .team__showcase-content {
        text-align: center;
    }

    .team__showcase-content .section-tag {
        margin-left: auto;
        margin-right: auto;
    }

    .team__showcase-photo {
        width: 220px;
        margin: 0 auto;
        order: 1;
    }

    .team__showcase-stats {
        gap: 16px;
        justify-content: center;
    }

    .team__showcase-features {
        align-items: flex-start;
        text-align: left;
        max-width: 340px;
        margin: 0 auto;
    }

    .faq__grid {
        grid-template-columns: 1fr;
    }

    .stages__timeline::before {
        left: 32px;
    }

    .stage {
        grid-template-columns: auto 1fr;
        gap: 24px;
    }

    .stage:nth-child(even) .stage__number { order: 1; }
    .stage:nth-child(even) .stage__content { order: 2; text-align: left; }
    .stage:nth-child(even)::before { display: none; }
    .stage:nth-child(odd) .stage__content { text-align: left; }
    .stage:nth-child(odd)::after { display: none; }

    .materials__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reviews__track {
        flex-wrap: nowrap;
    }

    .review-card {
        flex: 0 0 calc(100% - 0px);
    }

    .footer__nav {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .request-form {
        padding: 28px 24px;
    }
}

@media (max-width: 408px) {
    .header__icon-whatsapp {
        display: none;
    }
}

@media (max-width: 480px) {
    :root {
        --container-pad: 14px;
        --header-h: 62px;
    }

    /* ── HEADER ── */
    .header__logo {
        font-size: 18px;
    }

    /* ── BUTTONS ── */
    .btn--lg {
        padding: 13px 20px;
        font-size: 14px;
    }

    .btn--sm {
        font-size: 12px;
        padding: 7px 14px;
    }

    /* ── HERO ── */
    .hero {
        min-height: 100svh;
    }

    .hero__inner {
        padding: 20px 0 28px;
        align-items: flex-start;
        padding-top: calc(var(--header-h) + 4px);
    }

    .hero__inner--single .hero__content {
        max-width: 100%;
    }

    .hero__badge {
        font-size: 10px;
        padding: 5px 10px;
        margin-bottom: 14px;
    }

    .hero__title {
        font-size: clamp(24px, 8.5vw, 34px);
        margin-bottom: 0;
        line-height: 1.1;
    }

    .hero__title-line3 {
        font-size: 0.5em;
        letter-spacing: 0.04em;
    }

    .hero__subtitle {
        font-size: 13px;
        margin-top: 14px;
        margin-bottom: 20px;
        max-width: 100%;
        line-height: 1.55;
    }

    .hero__stats {
        width: 100%;
        padding: 10px 4px;
        margin-bottom: 20px;
        border-radius: var(--radius-lg);
        gap: 0;
    }

    .hero__stat {
        padding: 0 4px;
        flex: 1;
    }

    .hero__stat-num {
        font-size: 19px;
    }

    .hero__stat-plus {
        font-size: 19px;
    }

    .hero__stat-label {
        font-size: 8px;
        letter-spacing: 0.04em;
    }

    .hero__stat-divider {
        height: 28px;
    }

    .hero__buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-bottom: 16px;
    }

    .hero__buttons .btn {
        width: 100%;
        max-width: 100%;
        text-align: center;
        justify-content: center;
    }

    .hero__trust {
        font-size: 10px;
    }

    .hero__bg-overlay {
        background: rgba(8, 16, 28, 0.74);
    }

    .hero__scroll {
        display: none;
    }

    /* ── SECTION ОБЩЕЕ ── */
    .section {
        padding: 52px 0;
    }

    .section-tag {
        font-size: 10px;
        padding: 4px 10px;
    }

    .section-title {
        font-size: clamp(22px, 7vw, 30px);
    }

    .section-subtitle {
        font-size: 13px;
    }

    /* ── SERVICES ── */
    .services__grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .service-card__cover {
        height: 150px;
    }

    .service-card__body {
        padding: 12px 14px;
    }

    .service-card__title {
        font-size: 14px;
    }

    /* ── WORKS ── */
    .works-cta__inner {
        padding: 28px 18px;
        gap: 24px;
        border-radius: 16px;
    }

    .works-cta__title {
        font-size: clamp(18px, 6vw, 24px);
    }

    .works-cta__btn-main {
        font-size: 13px;
        padding: 13px 16px;
    }

    .works-cta__stats {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .works__slider-btn {
        width: 36px;
        height: 36px;
    }

    /* ── ADVANTAGES ── */
    .advantages__grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .adv-card {
        padding: 18px 16px;
    }

    .adv-card__icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    .adv-card__title {
        font-size: 15px;
    }

    /* ── STAGES ── */
    .stages__timeline::before {
        left: 24px;
    }

    .stage {
        grid-template-columns: auto 1fr;
        gap: 16px;
    }

    .stage__number {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }

    .stage__title {
        font-size: 15px;
    }

    .stage__text {
        font-size: 13px;
    }

    /* ── TEAM ── */
    .team__showcase-photo {
        width: 160px;
    }

    .team__showcase-stat-num {
        font-size: 22px;
    }

    .team__showcase-stat-label {
        font-size: 11px;
    }

    /* ── MATERIALS ── */
    .materials__grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .material-card {
        padding: 16px 14px;
    }

    /* ── REVIEWS ── */
    .review-card {
        padding: 20px 16px;
    }

    .review-card__text {
        font-size: 13px;
    }

    /* ── FAQ ── */
    .faq__grid {
        grid-template-columns: 1fr;
    }

    .faq__question {
        font-size: 14px;
        padding: 14px 16px;
    }

    .faq__answer {
        font-size: 13px;
        padding: 0 16px 14px;
    }

    /* ── ABOUT ── */
    .about__features {
        grid-template-columns: 1fr;
        gap: 10px;
    }


    /* ── QUIZ ── */
    .quiz__inner {
        padding: 28px 16px 24px;
    }

    .quiz__question {
        font-size: 18px;
    }

    .quiz__options--grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .quiz__option-card {
        flex-direction: row;
        padding: 14px 16px;
    }

    .quiz__option-icon {
        font-size: 22px;
    }
    /* ── REQUEST FORM ── */
    .request-form {
        padding: 22px 16px;
        border-radius: 16px;
    }

    .request-form__title {
        font-size: 20px;
    }

    .form__input,
    .form__select,
    .form__textarea {
        font-size: 14px;
        padding: 11px 14px;
    }

    /* ── CONTACTS ── */
    .contacts__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-card {
        padding: 18px 16px;
    }

    /* ── FOOTER ── */
    .footer__nav {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer__legal {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        font-size: 11px;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    /* ── FLOATING CTA ── */
    .floating-cta {
        bottom: 16px;
        right: 16px;
    }

    .floating-cta__btn {
        width: 52px;
        height: 52px;
    }
}

/* ============================
   PARTICLE DOTS
   ============================ */
.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(168, 85, 247, 0.4);
    animation: particle-float linear infinite;
    pointer-events: none;
}

@keyframes particle-float {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}
