/* ===== СТИЛИ SIMONENKO.PRO v6.1 - 2025 EDITION PREMIUM ===== */
/* Современные анимации, glassmorphism, 3D эффекты, magnetic interactions */

/* Оптимизация производительности */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Улучшенная плавность прокрутки */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}
/* ===== 1. ПЕРЕМЕННЫЕ И БАЗОВЫЕ СТИЛИ ===== */
:root {
    /* Цвета */
    --color-dark: #23262D;
    --color-gold: #CAA84E;
    --color-white: #FFFFFF;
    --color-bg: #FFFFFF;
    --color-text: #333333;
    --color-text-light: #6c757d;
    --color-border: #e9ecef;
    
    /* Типографика */
    --font-main: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Контейнер */
    --container-width: 1200px;
    --container-padding: 1.5rem;
    
    /* Переходы */
    --transition-fast: 0.2s ease-in-out;
}

/* Сброс стилей */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-size: 16px;
    background-color: #FFFFFF;
}

body {
    font-family: var(--font-main);
    background-color: #FFFFFF;
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none; /* Скрываем стандартный курсор для кастомного */
}

/* Custom Cursor (2025) */
.custom-cursor {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-gold);
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.2s ease;
    mix-blend-mode: difference;
}

.custom-cursor.cursor-hover {
    transform: scale(2);
    background: var(--color-dark);
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.5;
    mix-blend-mode: difference;
}

.cursor-follower.cursor-follower-hover {
    transform: scale(1.5);
    opacity: 0.8;
}

@media (max-width: 992px) {
    body {
        cursor: auto;
    }
    .custom-cursor,
    .cursor-follower {
        display: none;
    }
}

a {
    color: var(--color-gold);
    text-decoration: none;
    transition: var(--transition-fast);
}
a:hover {
    color: var(--color-dark);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Обработка ошибок загрузки изображений */
img[src=""],
img:not([src]) {
    opacity: 0;
    visibility: hidden;
}

img[onerror] {
    min-height: 100px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
}

h1, h2, h3, h4 {
    color: var(--color-dark);
    font-weight: 800;
    line-height: 1.2;
}

.container {
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: rgba(202, 168, 78, 0.1);
    border: 1px solid rgba(202, 168, 78, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.section-subtitle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(202, 168, 78, 0.2), transparent);
    transition: left 0.6s ease;
}

.section-header:hover .section-subtitle {
    background: rgba(202, 168, 78, 0.15);
    border-color: var(--color-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(202, 168, 78, 0.2);
}

.section-header:hover .section-subtitle::before {
    left: 100%;
}

.section-title {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark) 70%, var(--color-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gold {
    color: var(--color-gold);
}

/* Градиентный текст */
.gradient-text {
    background: linear-gradient(135deg, var(--color-gold) 0%, #b99846 50%, var(--color-gold) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

/* ===== 2. КНОПКИ (BTN) ===== */
.btn {
    display: inline-block;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn--primary {
    background: linear-gradient(135deg, var(--color-gold) 0%, #b99846 100%);
    color: var(--color-dark);
    border-color: var(--color-gold);
    box-shadow: 0 6px 20px rgba(202, 168, 78, 0.3);
}

.btn--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn--primary:hover::before {
    left: 100%;
}
.btn--primary:hover {
    background: linear-gradient(135deg, #b99846 0%, var(--color-gold) 100%);
    border-color: #b99846;
    color: var(--color-dark);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(202, 168, 78, 0.4);
}

.btn--magnetic {
    position: relative;
    overflow: hidden;
}

.btn--magnetic::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn--magnetic:hover::before {
    width: 300px;
    height: 300px;
}

.btn--secondary {
    background-color: transparent;
    color: var(--color-dark);
    border-color: var(--color-border);
}
.btn--secondary:hover {
    background-color: var(--color-dark);
    color: var(--color-white);
    border-color: var(--color-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(35, 38, 45, 0.2);
}

/* НОВЫЙ СТИЛЬ: ЗОЛОТО НА ТЕМНОМ ФОНЕ (ДЛЯ МОБИЛЬНОГО МЕНЮ) */
.btn--gold-inverse {
    background-color: var(--color-dark);
    color: var(--color-gold);
    border-color: var(--color-gold);
}
.btn--gold-inverse:hover {
    background-color: var(--color-gold);
    color: var(--color-dark);
}

.btn--large {
    padding: 1rem 2.2rem;
    font-size: 1rem;
}
.btn--small {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
}

/* ===== 3. ШАПКА (HEADER) ===== */
.header {
    width: 100%;
    position: sticky; 
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(202, 168, 78, 0.1);
    z-index: 1000;
    height: 80px; /* Десктопная высота */
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.02);
}

.header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.98);
    border-bottom-color: rgba(202, 168, 78, 0.2);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    gap: 1rem;
    min-height: 0;
}

.header__brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: none !important;
    background-color: transparent !important;
    flex-shrink: 0;
    height: 100%;
    padding: 0 !important;
    margin: 0;
    border: none !important;
}

.header__logo-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 auto;
    height: 100%;
    width: auto;
    max-width: 100%;
    background: none !important;
    background-color: transparent !important;
    padding: 0 !important;
    margin: 0;
    line-height: 0;
    text-decoration: none;
    box-sizing: border-box;
    outline: none;
    border: none !important;
    transition: opacity 0.2s ease;
}

.header__logo-link:hover {
    opacity: 0.8;
}

.header__logo-link:focus,
.header__logo-link:active {
    outline: none;
    border: none;
}

.header__logo {
    display: block;
    width: auto;
    height: auto;
    max-height: 60px;
    max-width: 351px;
    object-fit: contain;
    object-position: center;
    background: none !important;
    background-color: transparent !important;
    padding: 0 !important;
    margin: 0;
    border: none !important;
    outline: none;
    box-shadow: none;
    filter: none;
    vertical-align: middle;
}

.header__nav-list {
    display: flex;
    gap: 2rem;
}

.header__nav-link {
    color: var(--color-text);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
}
.header__nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    transition: var(--transition-fast);
}
.header__nav-link:hover::after,
.header__nav-link.active::after {
    width: 100%;
}
.header__nav-link.active {
    color: var(--color-dark);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}

.header__lang-switcher {
    font-weight: 600;
}
.header__lang-switcher .active {
    color: var(--color-dark);
    padding-right: 0.5rem;
}
.header__lang-switcher a {
    color: var(--color-text-light);
    padding-left: 0.5rem;
    border-left: 1px solid var(--color-border);
}
.header__lang-switcher a:hover {
    color: var(--color-gold);
}

.header__toggle {
    display: none; 
    font-size: 1.8rem;
    color: var(--color-dark);
    background: none;
    border: none;
    cursor: pointer;
}

/* Скрываем кнопку в мобильном меню на десктопе */
.header__nav-cta-mobile {
    display: none;
}
/* Скрываем блок контактов в десктопе */
.header__nav-contacts-mobile {
    display: none;
}

.header__nav-lang-mobile {
    display: none;
}

.header__nav-lang-current {
    color: var(--color-dark);
}

.header__nav-lang-divider {
    color: var(--color-border);
}

/* ===== 4. HERO (ГЛАВНЫЙ ЭКРАН) ===== */
.hero {
    padding-top: 4rem;
    padding-bottom: 4rem;
    background-color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(202, 168, 78, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-glow 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float-glow {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-30px, -30px) scale(1.1);
        opacity: 0.8;
    }
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
}

.hero__title {
    font-size: 3.5rem; 
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark) 60%, var(--color-gold) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: title-gradient 5s ease infinite;
    position: relative;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

@keyframes title-gradient {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

.hero__description {
    font-size: 1.15rem;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.hero__actions {
    display: flex;
    gap: 1rem;
}

.hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(202, 168, 78, 0.2);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.hero__visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(202, 168, 78, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 0;
}

@keyframes pulse-glow {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

.hero__visual img {
    width: 100%;      
    max-width: 500px;  
    height: auto;      
    margin: 0 auto;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 20px 40px rgba(202, 168, 78, 0.2));
    position: relative;
    z-index: 1;
    transform: translateY(var(--parallax-offset, 0));
    mix-blend-mode: multiply;
}

.hero__visual:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(202, 168, 78, 0.2);
    border-color: var(--color-gold);
    background: rgba(255, 255, 255, 0.95);
}

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

.hero__visual:hover img {
    transform: translateY(calc(var(--parallax-offset, 0) - 15px)) scale(1.05) rotateY(5deg);
}

/* ===== 5. УСЛУГИ (SERVICES) ===== */
.services {
    background-color: var(--color-white); 
}

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

.service-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(202, 168, 78, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(202, 168, 78, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

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

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(202, 168, 78, 0.2);
    border-color: var(--color-gold);
    background: rgba(255, 255, 255, 0.95);
}

.magnetic-card {
    will-change: transform;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.service-card__icon {
    margin-bottom: 1.5rem;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    display: inline-block;
}

.service-card:hover .service-card__icon {
    transform: scale(1.15) rotate(10deg) translateY(-5px);
}

.service-card__icon i {
    font-size: 4.5rem; 
    background: linear-gradient(135deg, var(--color-gold) 0%, #b99846 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    transition: all 0.4s ease;
    filter: drop-shadow(0 4px 8px rgba(202, 168, 78, 0.3));
}

.service-card:hover .service-card__icon i {
    filter: drop-shadow(0 8px 16px rgba(202, 168, 78, 0.5));
}

.service-card__badge {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, rgba(202, 168, 78, 0.1) 0%, rgba(202, 168, 78, 0.05) 100%);
    border: 1px solid rgba(202, 168, 78, 0.3);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-card__badge--hot {
    background: linear-gradient(135deg, rgba(202, 168, 78, 0.2) 0%, rgba(202, 168, 78, 0.1) 100%);
    border-color: var(--color-gold);
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(202, 168, 78, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(202, 168, 78, 0);
    }
}

.service-card__title {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
    position: relative;
}

.service-card:hover .service-card__title {
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card__description {
    font-size: 0.95rem;
    color: var(--color-text-light);
}

.service-card--cta {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(202, 168, 78, 0.05) 100%);
    color: var(--color-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 2px solid var(--color-gold);
    position: relative;
    overflow: hidden;
}

.service-card--cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(202, 168, 78, 0.1) 0%, transparent 70%);
    animation: rotate-gradient 10s linear infinite;
}

@keyframes rotate-gradient {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.service-card--cta .service-card__title {
    color: var(--color-dark);
}
.service-card--cta .service-card__description {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}
.service-card--cta .btn--secondary {
    border-color: var(--color-gold);
    color: var(--color-dark);
    align-self: flex-start;
}
.service-card--cta .btn--secondary:hover {
    background-color: var(--color-gold);
    color: var(--color-dark);
}

/* ===== 5.5. СТАТИСТИКА (STATS) ===== */
.stats {
    background-color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(202, 168, 78, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-stats 10s ease-in-out infinite;
    pointer-events: none;
}

.stats::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(202, 168, 78, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-stats 12s ease-in-out infinite reverse;
    pointer-events: none;
}

@keyframes float-stats {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(20px, -20px) scale(1.1);
    }
}

.section-description {
    color: var(--color-text-light);
    font-size: 1.1rem;
    margin-top: 0.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(202, 168, 78, 0.2);
    transform-style: preserve-3d;
    will-change: transform;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(202, 168, 78, 0.1), transparent);
    transition: left 0.6s;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-12px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 20px 60px rgba(202, 168, 78, 0.25);
    border-color: var(--color-gold);
    background: rgba(255, 255, 255, 0.95);
}

.stat-card__icon {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--color-gold) 0%, #b99846 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    display: inline-block;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 4px 8px rgba(202, 168, 78, 0.3));
    position: relative;
}

.stat-card__icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(202, 168, 78, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stat-card:hover .stat-card__icon {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 8px 16px rgba(202, 168, 78, 0.5));
}

.stat-card:hover .stat-card__icon::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.5);
}

.stat-card__value {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1;
    position: relative;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.stat-card:hover .stat-card__value {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(202, 168, 78, 0.3));
}

.stat-card__value::after {
    content: attr(data-suffix);
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-left: 0.2rem;
}

.stat-card__label {
    font-size: 1rem;
    color: var(--color-text-light);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.stat-card__progress {
    width: 100%;
    height: 6px;
    background-color: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.stat-card__progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--color-gold) 0%, #b99846 50%, var(--color-gold) 100%);
    background-size: 200% 100%;
    border-radius: 10px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(202, 168, 78, 0.5);
    animation: gradient-flow 3s ease infinite;
}

@keyframes gradient-flow {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

.stat-card__progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

.stat-card__progress-bar::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    animation: rotate-glow 3s linear infinite;
}

@keyframes rotate-glow {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* ===== 6. О НАС (ABOUT) ===== */
.about__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about__visual img {
    border-radius: 12px;
    object-fit: cover;
    height: 450px; 
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(var(--parallax-offset, 0));
}

.about__content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: var(--color-text-light);
}
.about__content strong {
    color: var(--color-dark);
}

.about__checklist {
    margin-top: 2rem;
}
.about__checklist li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}
.about__checklist i {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--color-gold) 0%, #b99846 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 2px 4px rgba(202, 168, 78, 0.3));
    display: inline-block;
}

.about__checklist li {
    transition: transform 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
}

.about__checklist li:hover {
    transform: translateX(5px);
    background: rgba(202, 168, 78, 0.05);
}

.about__checklist li:hover i {
    transform: scale(1.3) rotate(10deg);
    filter: drop-shadow(0 4px 8px rgba(202, 168, 78, 0.5));
}

/* ===== 7. FAQ (Частые вопросы) ===== */
.faq {
    background-color: var(--color-white);
}
.faq__list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq__item {
    border: 1px solid var(--color-border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    position: relative;
}

.faq__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--color-gold) 0%, #b99846 100%);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s ease;
}

.faq__item:hover::before,
.faq__item[open]::before {
    transform: scaleY(1);
}

.faq__item:hover {
    border-color: var(--color-gold);
    box-shadow: 0 8px 30px rgba(202, 168, 78, 0.15);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.95);
}

.faq__item[open] {
    border-color: var(--color-gold);
    box-shadow: 0 12px 40px rgba(202, 168, 78, 0.2);
    background: rgba(255, 255, 255, 1);
}

.faq__question {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1.5rem;
    cursor: pointer;
    list-style: none; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-dark);
}
.faq__question::-webkit-details-marker {
    display: none; 
}

.faq__icon {
    font-size: 1.5rem;
    color: var(--color-gold);
    transition: var(--transition-fast);
}

.faq__answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--color-text-light);
    border-top: 1px solid var(--color-border);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq__item[open] .faq__icon {
    transform: rotate(180deg);
}

/* ===== 8. CTA (Призыв к действию) ===== */
.cta {
    background-color: var(--color-white);
    padding-top: 5rem;
    padding-bottom: 5rem;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--color-border);
}
.cta__container {
    text-align: center;
    max-width: 700px;
    position: relative;
    z-index: 1;
}
.cta__title {
    color: var(--color-dark);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.cta__description {
    color: var(--color-text-light);
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
}

/* ===== 9. FOOTER (Подвал) ===== */
.footer {
    background-color: var(--color-white); 
    color: var(--color-text-light); 
    border-top: 1px solid var(--color-border); 
    padding-top: 5rem;
}

.footer__container {
    border-bottom: 1px solid var(--color-border); 
}

.footer__main {
    display: grid;
    grid-template-columns: 1fr 1.5fr; 
    gap: 4rem; 
    padding-bottom: 4rem;
}

.footer__description {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.footer__partner-badge {
    margin: 1.5rem 0; 
    line-height: 1;
}
.footer__partner-badge img {
    display: block; 
}

.footer__socials {
    display: none; /* Скрываем старый блок socials */
}

/* НОВЫЙ БЛОК ДЛЯ ИКОНОК МЕССЕНДЖЕРОВ (ДЕСКТОП) */
.footer__socials-full {
    display: flex;
    gap: 1.5rem; /* Отступ между иконками */
    margin-top: 1.5rem;
}

.footer__socials-full a i {
    font-size: 2rem; /* Размер для десктопа */
    color: var(--color-dark); /* Делаем иконки темно-серыми */
    transition: var(--transition-fast);
}

.footer__socials-full a:hover i {
    color: var(--color-gold); /* Ховер в золотой */
}
/* КОНЕЦ НОВОГО БЛОКА */

.footer__links-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer__title {
    color: var(--color-dark); 
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer__icon {
    display: none;
}

.footer__list li {
    margin-bottom: 0.75rem;
}
.footer__list a {
    color: var(--color-text-light); 
}
.footer__list a:hover {
    color: var(--color-dark); 
    padding-left: 5px;
}

.footer__list--contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.footer__list--contact i {
    font-size: 1.2rem;
    color: var(--color-gold);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
    font-size: 0.9rem;
}
.footer__policy a {
    color: var(--color-text-light); 
}
.footer__policy a:hover {
    color: var(--color-dark); 
}

/* ===== 9.5 СТИЛИ ДЛЯ СТРАНИЦЫ УСЛУГ (SERVICE PAGE) ===== */
.page-hero {
    background-color: var(--color-white);
    padding: 4rem 0;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.page-hero__title {
    color: var(--color-dark);
    font-size: 3rem; /* 48px */
    margin-bottom: 1rem;
}

.page-hero__description {
    color: var(--color-text-light);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

.service-details .section-title {
    font-size: 2.2rem; /* 36px */
    margin-bottom: 1.5rem;
}

.service-details .section-subtitle {
    margin-bottom: 0.5rem;
}

.service-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding-bottom: 5rem;
    margin-bottom: 5rem;
    border-bottom: 1px solid var(--color-border);
}

.service-feature:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.service-feature__visual {
    border-radius: 12px;
    overflow: hidden;
}
.service-feature__visual img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.service-feature.service-feature--reversed {
    grid-template-columns: 1fr 1fr;
}

.service-feature.service-feature--reversed .service-feature__content {
    order: 2;
}
.service-feature.service-feature--reversed .service-feature__visual {
    order: 1;
}

.service-feature__list {
    margin-top: 2rem;
    list-style: none;
    padding: 0;
}
.service-feature__list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--color-dark);
}
.service-feature__list li i {
    font-size: 1.5rem;
    color: var(--color-gold);
}

/* ===== 9.6 СТИЛИ ДЛЯ СТРАНИЦЫ КЕЙСОВ ===== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.portfolio-card {
    display: block;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(202, 168, 78, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    position: relative;
}

.portfolio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(202, 168, 78, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

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

.portfolio-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(202, 168, 78, 0.2);
    border-color: var(--color-gold);
    background: rgba(255, 255, 255, 0.95);
}
.portfolio-card__image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.portfolio-card__image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(202, 168, 78, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.portfolio-card:hover .portfolio-card__image::after {
    opacity: 1;
}

.portfolio-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1) contrast(1);
}

.portfolio-card:hover .portfolio-card__image img {
    transform: scale(1.1) rotate(1deg);
    filter: brightness(1.05) contrast(1.1);
}
.portfolio-card__content {
    padding: 1.5rem;
}
.portfolio-card__category {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-gold);
    background-color: #fcf8ed;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 1rem;
}
.portfolio-card__title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-dark);
    line-height: 1.4;
}
.portfolio-card:hover .portfolio-card__title {
    color: var(--color-gold);
}

/* ===== 9.7 СТИЛИ ДЛЯ МОДАЛЬНОГО ОКНА ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal.active {
    opacity: 1;
    visibility: visible;
}
.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(35, 38, 45, 0.7);
    backdrop-filter: blur(5px);
    cursor: pointer;
}
.modal__content {
    position: relative;
    background-color: var(--color-white);
    padding: 2.5rem;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    margin: 1rem;
    z-index: 2001;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}
.modal.active .modal__content {
    transform: scale(1);
}
.modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--color-text-light);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: var(--transition-fast);
}
.modal__close:hover {
    color: var(--color-dark);
}
.modal__title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}
.modal__description {
    font-size: 1rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}
.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.form-group {
    display: flex;
    flex-direction: column;
}
.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea {
    font-family: var(--font-main);
    font-size: 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    transition: var(--transition-fast);
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(202, 168, 78, 0.2);
}
.form-group textarea {
    resize: vertical;
    min-height: 100px;
}
.form-status {
    font-size: 0.95rem;
    margin-top: 1rem;
    text-align: center;
}
.form-status.success {
    color: #00B98D; /* Зеленый */
}
.form-status.error {
    color: #F84D4D; /* Красный */
}

/* ===== 9.8 СТИЛИ ДЛЯ СТРАНИЦЫ КОНТАКТОВ ===== */
.contact-page__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}
.contact-info__title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}
.contact-info__text {
    font-size: 1.05rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}
.contact-info__list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.contact-info__list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}
.contact-info__list li i {
    font-size: 1.8rem;
    color: var(--color-gold);
    min-width: 30px; 
    text-align: center;
}
.contact-info__list li a {
    color: var(--color-dark);
}
.contact-info__list li a:hover {
    color: var(--color-gold);
}
.contact-info__list li span {
    color: var(--color-dark);
}
.contact-form-wrapper {
    background-color: var(--color-white); 
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--color-border);
}
.contact-form-wrapper .modal-form {
    gap: 1.5rem;
}
.contact-form-wrapper .btn--large {
    width: 100%;
}

/* ===== 9.9 СТИЛИ ДЛЯ СТРАНИЦЫ PPC/SERVICES PAGE ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}
.step-card {
    padding: 1.5rem;
    background-color: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}
.step-card__number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}
.step-card__title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}
.step-card p {
    color: var(--color-text-light);
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    text-align: center;
}
.benefit-card {
    padding: 2rem;
    border: 1px solid var(--color-border);
    border-radius: 12px;
}
.benefit-card i {
    font-size: 3rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
    display: block;
    text-align: center;
}
.benefit-card h4 {
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--color-dark);
}
.benefit-card p {
    font-size: 0.95rem;
    color: var(--color-text-light);
}


/* ===== 10. АДАПТИВНОСТЬ (RESPONSIVE) ===== */

/* Десктопная версия (от 993px) */
@media (min-width: 993px) {
    .header__logo-link {
        height: 100%;
    }
    
    .header__logo {
        width: auto;
        height: auto;
        max-height: 60px;
        max-width: 351px;
        background: none !important;
        background-color: transparent !important;
    }
    
    .hero__visual {
        background: rgba(255, 255, 255, 0.8) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border: 1px solid rgba(202, 168, 78, 0.2) !important;
        border-radius: 20px !important;
        padding: 2rem !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06) !important;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
        overflow: hidden !important;
    }
    
    .hero__visual:hover {
        transform: translateY(-8px) !important;
        box-shadow: 0 20px 60px rgba(202, 168, 78, 0.2) !important;
        border-color: var(--color-gold) !important;
        background: rgba(255, 255, 255, 0.95) !important;
    }
    
    .hero__visual {
        background: rgba(255, 255, 255, 0.8) !important;
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }
}

/* Планшеты (до 992px) */
@media (max-width: 992px) {

    .header {
        height: 60px; 
    }
    
    .header__container {
        gap: 0.75rem;
    }
    
    .header__brand {
        gap: 0.5rem;
        flex-shrink: 0;
    }
    
    .header__actions {
        gap: 1rem;
        flex-shrink: 0;
    }

    .header__logo-link {
        height: 100%;
        width: auto;
        max-width: 100%;
        background: none !important;
        background-color: transparent !important;
        padding: 0 !important;
        margin: 0;
        border: none !important;
    }
    
    .header__logo {
        width: auto;
        height: auto;
        max-height: 50px;
        max-width: 273px;
        object-fit: contain;
        object-position: center;
        background: none !important;
        background-color: transparent !important;
        padding: 0 !important;
        margin: 0;
        border: none !important;
        box-shadow: none;
        filter: none;
        vertical-align: middle;
    }

    .header__toggle {
        display: block; 
        z-index: 1001; 
    }
    
    .header__nav {
        position: fixed;
        top: 60px; 
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px); 
        background-color: var(--color-white);
        flex-direction: column;
        padding: 2rem;
        transition: 0.3s ease-in-out;
        z-index: 999;
    }
    
    .header__nav.show-menu {
        left: 0;
    }
    
    .header__nav-list {
        flex-direction: column; /* МЕНЮ ВЕРТИКАЛЬНОЕ */
        gap: 1.5rem;
        align-items: center;
        padding-top: 1rem;
        padding-bottom: 1rem;
        height: 100%;
        overflow-y: auto; 
    }
    
    .header__lang-switcher {
        display: none;
    }

    .header__nav-lang-mobile {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        width: 100%;
        margin-top: 0.5rem;
        padding-top: 0.75rem;
        border-top: 1px solid var(--color-border);
        font-weight: 700;
        color: var(--color-dark);
    }

    .header__nav-lang-mobile .header__nav-lang-link {
        color: var(--color-text-light);
        font-weight: 600;
    }

    .header__nav-lang-mobile .header__nav-lang-link:hover {
        color: var(--color-gold);
    }

    .header__nav-link {
        font-size: 1.5rem; /* УВЕЛИЧЕННЫЙ ШРИФТ */
    }

    .header__actions .btn--small {
        display: none !important; /* СКРЫВАЕМ КНОПКУ РЯДОМ С БУРГЕРОМ */
    }

    /* Стили для кнопки "Обсудить проект" внутри мобильного меню */
    .header__nav-cta-mobile {
        display: list-item; 
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--color-border);
        text-align: center;
        width: 100%;
    }
    .header__nav-cta-mobile .btn--large {
        font-size: 1.5rem; 
        font-weight: 800; 
    }
    
    /* ===== СТИЛИ КОНТАКТОВ В МЕНЮ (НА ПЛАНШЕТЕ) ===== */
    .header__nav-contacts-mobile {
        display: flex;
        flex-direction: column;
        align-items: center; 
        width: 100%;
        margin-top: 2rem;
        padding-top: 1rem;
        border-top: 1px solid var(--color-border);
    }
    .header__nav-phone-link {
        font-size: 2rem; 
        font-weight: 800;
        color: var(--color-dark);
        margin-bottom: 1rem;
    }
    .header__nav-socials-mobile {
        display: flex;
        gap: 2rem; 
    }
    .header__nav-socials-mobile a i {
        font-size: 3.75rem; /* ИЗМЕНЕНО: 50% от 2.5rem */
        color: var(--color-dark);
        font-family: 'boxicons' !important; 
        font-weight: normal; 
    }
    /* ============================================== */

    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero__visual {
        grid-row: 1; 
        margin-bottom: 2rem; 
    }
    .hero__actions {
        justify-content: center;
    }
    .hero__title {
        font-size: 2.8rem;
    }
    
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .about__container {
        grid-template-columns: 1fr; 
        gap: 2rem;                   
    }
    .about__content { order: 2; }
    .about__visual { order: 1; }
    .about__visual img {
        height: auto;        
        max-height: 400px;   
        margin: 0 auto;      
    }

    .service-feature,
    .service-feature.service-feature--reversed {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .service-feature.service-feature--reversed .service-feature__content {
        order: 1; 
    }
    .service-feature.service-feature--reversed .service-feature__visual {
        order: 2; 
    }
    .service-feature__visual img {
        height: 300px; 
    }

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

    .contact-page__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .contact-form-wrapper {
        padding: 2rem; 
    }
    
    .footer__main {
        grid-template-columns: 1fr 1fr; 
    }
    .footer__brand {
        grid-column: 1 / 3; 
    }
    .footer__links-wrapper {
        grid-template-columns: 1fr 1fr; 
    }
    .footer__contact {
        grid-column: 1 / 3; 
    }
    .footer__list {
        max-height: none;
        overflow: visible;
        padding-left: 0;
    }
    .footer__title {
        cursor: default;
        padding: 0;
        margin-bottom: 1.5rem;
    }
}

/* Телефоны (до 768px) */
@media (max-width: 768px) {

    /* ===== ГЛОБАЛЬНЫЕ ОТСТУПЫ (Оптимизация) ===== */
    .section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    .hero {
        padding-top: 4.5rem;
        padding-bottom: 2.5rem;
    }
    .cta {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    .page-hero {
        padding: 2.5rem 0;
    }
    .hero__visual {
        margin-bottom: 0;
    }
    .hero__content {
        margin-top: 1.5rem;
    }
    /* =========================================== */

    .section-title {
        font-size: 2rem;
    }
    
    .hero__title {
        font-size: 2.2rem;
    }
    
    .hero__actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .services__grid {
        grid-template-columns: 1fr;
    }
    
    .stats__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-card {
        padding: 2rem 1.5rem;
    }
    
    .stat-card__value {
        font-size: 2.8rem;
    }
    
    .about__visual img {
        max-height: 300px; 
    }

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

    .steps-grid, .benefits-grid {
        grid-template-columns: 1fr;
    }

    .contact-page__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    .contact-info__list li {
        font-size: 1rem;
    }
    
    .modal__content {
        width: 100%;
        height: 100%;
        max-width: 100%;
        margin: 0;
        border-radius: 0;
        padding: 2.5rem 1.5rem;
        overflow-y: auto;
    }
    .modal__title {
        font-size: 1.8rem;
    }
    .modal__close {
        top: 1rem;
        right: 1rem;
    }

    /* Улучшение стилей кнопки в мобильном меню */
    .header__nav-cta-mobile .btn--large {
        width: 90%;
        margin: 0 auto;
    }
    .header__nav-phone-link {
        font-size: 1.5rem; 
    }
    .header__nav-socials-mobile a i {
        font-size: 3rem; /* ИЗМЕНЕНО: 50% от 2rem */
        font-family: 'boxicons' !important;
    }
    
    /* Стили логотипа для мобильных устройств */
    .header__logo {
        max-width: 234px;
        max-height: 40px;
        width: auto;
        height: auto;
        background: none !important;
        background-color: transparent !important;
        padding: 0 !important;
        border: none !important;
    }
    
    /* Скрытие любых плавающих кнопок */
    .btn--fixed-mobile, .fixed-cta-button {
        display: none !important;
    }
    
    /* Стили футера для телефона */
    .footer__main {
        grid-template-columns: 1fr; 
    }
    .footer__brand {
        grid-column: auto; 
    }
    .footer__links-wrapper {
        grid-template-columns: 1fr; 
    }
    .footer__contact {
        grid-column: auto; 
    }
    
    .footer__bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-description {
        font-size: 1rem;
    }

    .hero__title {
        font-size: 1.9rem;
    }

    .hero__description {
        font-size: 1rem;
        margin-bottom: 1.75rem;
    }

    .hero__visual img {
        max-width: 320px;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .service-card,
    .stat-card,
    .faq__item {
        padding: 1.5rem;
    }

    .service-card {
        border-radius: 16px;
    }

    .stat-card {
        text-align: left;
        padding: 1.75rem 1.5rem;
    }

    .stat-card__icon {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }

    .stat-card__value {
        font-size: 2.2rem;
    }

    .stat-card__progress {
        height: 4px;
    }

    .faq__question {
        font-size: 1rem;
        padding: 1.25rem;
    }

    .faq__answer {
        padding: 0 1.25rem 1.25rem;
    }

    .about__visual img {
        max-height: 260px;
    }

    .header__nav {
        padding: 1.5rem 1.25rem;
    }

    .header__nav-list {
        gap: 1rem;
    }
    
    .header__container {
        gap: 0.5rem;
    }
    
    .header__brand {
        flex-shrink: 0;
    }
    
    .header__actions {
        gap: 0.75rem;
        flex-shrink: 0;
    }

    .header__logo-link {
        height: 100%;
        width: auto;
        max-width: 100%;
        background: none !important;
        background-color: transparent !important;
        padding: 0 !important;
        margin: 0;
        border: none !important;
    }
    
    .header__logo {
        width: auto;
        height: auto;
        max-height: 35px;
        max-width: 215px;
        object-fit: contain;
        object-position: center;
        background: none !important;
        background-color: transparent !important;
        padding: 0 !important;
        margin: 0;
        border: none !important;
        box-shadow: none;
        filter: none;
        vertical-align: middle;
    }
}

/* ===== 11. HELPER CLASSES (Служебные классы) ===== */
.body-no-scroll {
    overflow: hidden;
    height: 100%; 
}