/* ====================
   1. ГЛОБАЛЬНЫЕ СТИЛИ И ПЕРЕМЕННЫЕ
   ==================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@500;700;800;900&display=swap');

:root {
    --primary-color: #01e49c; /* Фирменный мятно-зеленый */
    --primary-glow: rgba(1, 228, 156, 0.35);
    --primary-hover: #00c987;
    
    --bg-dark: #121014; /* Глубокий темный графит */
    --bg-navy: #15152c; /* Темно-синий индиго */
    --bg-card: rgba(21, 21, 44, 0.6); /* Полупрозрачное стекло */
    --bg-card-hover: rgba(28, 28, 64, 0.85);
    
    --text-white: #ffffff;
    --text-light: #e0e0e0;
    --text-mid: #a0a0b0;
    --text-dark: #121014;
    
    --border-color: rgba(224, 224, 224, 0.08);
    --border-hover: rgba(1, 228, 156, 0.3);
    
    --font-heading: 'Outfit', 'Exo 2', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --container-width: 1200px;
    --radius: 16px;
    --radius-sm: 8px;
    --transition-speed: 0.35s;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text-light);
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(28, 28, 64, 0.7) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(1, 228, 156, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(21, 21, 44, 0.5) 0%, transparent 60%);
    background-attachment: fixed;
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ====================
   ТИПОГРАФИКА
   ==================== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.25;
    color: var(--text-white);
    margin-top: 0;
}

h1 {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 1.2rem;
    text-align: center;
    letter-spacing: -0.5px;
}

h2 span {
    color: var(--primary-color);
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

h4 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.15rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto 3.5rem auto;
    color: var(--text-mid);
    font-weight: 400;
}

section {
    padding: 100px 0;
    position: relative;
}

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: var(--primary-color);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.95rem;
    transition: all var(--transition-speed) cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid var(--primary-color);
    cursor: pointer;
    box-shadow: 0 4px 15px var(--primary-glow);
    gap: 8px;
}

.btn:hover {
    transform: translateY(-3px);
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    box-shadow: 0 8px 25px var(--primary-glow);
    color: var(--text-dark);
}

.btn:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 1px solid rgba(224, 224, 224, 0.2);
    box-shadow: none;
}

.btn-secondary:hover {
    background: rgba(224, 224, 224, 0.05);
    border-color: rgba(224, 224, 224, 0.4);
    box-shadow: none;
    color: var(--text-white);
}

/* ====================
   2. АНИМАЦИИ
   ==================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ====================
   3. ШАПКА (HEADER)
   ==================== */
.header {
    background: rgba(18, 16, 20, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 16px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1100;
    transition: all var(--transition-speed) ease;
    border-bottom: 1px solid rgba(224, 224, 224, 0.03);
}

.header.scrolled {
    background: rgba(18, 16, 20, 0.95);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    display: flex;
    align-items: center;
}

.header-logo img {
    height: 90px;
    transition: height var(--transition-speed) ease;
}

.header.scrolled .header-logo img {
    height: 75px;
}

/* Навигация */
.nav-menu {
    display: none;
    gap: 30px;
}

@media(min-width: 992px) {
    .nav-menu {
        display: flex;
    }
}

.nav-menu a {
    color: var(--text-mid);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-speed) ease;
    position: relative;
    padding: 6px 0;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed) ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(224, 224, 224, 0.04);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 3px;
}

.language-switcher a {
    padding: 6px 12px;
    text-decoration: none;
    color: var(--text-mid);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 6px;
    transition: all var(--transition-speed) ease;
}

.language-switcher a:hover {
    color: var(--text-white);
}

.language-switcher a.active {
    background: var(--primary-color);
    color: var(--text-dark);
}

.header-phone {
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    color: var(--text-white);
    transition: color var(--transition-speed) ease;
    display: none;
}

@media(min-width: 576px) {
    .header-phone {
        display: inline-block;
    }
}

.header-phone:hover {
    color: var(--primary-color);
}

.header .btn-lk {
    padding: 10px 20px;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    box-shadow: none;
}

.header .btn-lk:hover {
    background: var(--primary-color);
    color: var(--text-dark);
    box-shadow: 0 4px 12px var(--primary-glow);
}

/* Мобильное меню бургер */
.burger-menu {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1100;
}

@media(min-width: 992px) {
    .burger-menu {
        display: none;
    }
}

.burger-menu span {
    width: 26px;
    height: 2px;
    background-color: var(--text-white);
    transition: all var(--transition-speed) ease;
}

.burger-menu.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.burger-menu.open span:nth-child(2) {
    opacity: 0;
}

.burger-menu.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -7px);
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-dark);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    padding: 100px 30px 40px 30px;
    gap: 24px;
    transition: right var(--transition-speed) ease;
    border-left: 1px solid var(--border-color);
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 600;
    transition: color var(--transition-speed) ease;
}

.mobile-nav a:hover {
    color: var(--primary-color);
}

/* ====================
   4. ГЛАВНЫЙ ЭКРАН (HERO)
   ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 160px;
    padding-bottom: 80px;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(18, 16, 20, 0.92) 0%, rgba(21, 21, 44, 0.88) 50%, rgba(18, 16, 20, 0.95) 100%);
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero-content {
    max-width: 800px;
    text-align: left;
}

.hero h1 span {
    color: var(--primary-color);
}

.hero-content p {
    color: var(--text-mid);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* ====================
   5. МАРКЕТПЛЕЙСЫ
   ==================== */
.marketplaces {
    background-color: var(--bg-navy);
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.market-card {
    background: rgba(18, 16, 20, 0.4);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    transition: all var(--transition-speed) ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.market-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.market-logo {
    height: 38px;
    object-fit: contain;
    margin-bottom: 15px;
    filter: grayscale(1) brightness(0.85);
    transition: filter var(--transition-speed) ease;
}

.market-card:hover .market-logo {
    filter: none;
}

.market-logo.kaspi-logo {
    width: 137px !important;
    height: 32px !important;
    flex-shrink: 0;
}

.kaspi-logo .kaspi-text {
    fill: rgba(255, 255, 255, 0.4);
    transition: fill var(--transition-speed) ease;
}

.market-card:hover .kaspi-logo .kaspi-text {
    fill: #ffffff;
}

.market-card p {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-mid);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 35px 30px;
    transition: all var(--transition-speed) cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-speed) ease;
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 24px;
    display: inline-block;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--text-mid);
    font-size: 0.95rem;
    margin: 0;
}

/* ====================
   7. КАЛЬКУЛЯТОР
   ==================== */
.calculator-section {
    background-color: var(--bg-navy);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.calc-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

@media(min-width: 992px) {
    .calc-container {
        grid-template-columns: 1.2fr 0.8fr;
        padding: 50px;
    }
}

.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.calc-group-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.grid-select {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.select-card {
    background: rgba(18, 16, 20, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.select-card:hover {
    border-color: rgba(224, 224, 224, 0.2);
}

.select-card.active {
    background: rgba(1, 228, 156, 0.08);
    border-color: var(--primary-color);
    box-shadow: inset 0 0 10px rgba(1, 228, 156, 0.1);
}

.select-card span {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-white);
}

.select-card small {
    display: block;
    font-size: 0.75rem;
    color: var(--text-mid);
    margin-top: 4px;
}

/* Слайдер */
.range-wrapper {
    background: rgba(18, 16, 20, 0.3);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 20px;
}

.range-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    align-items: center;
}

.range-val-box {
    background: var(--primary-color);
    color: var(--text-dark);
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
}

.custom-range {
    width: 100%;
    -webkit-appearance: none;
    height: 6px;
    background: rgba(224, 224, 224, 0.1);
    border-radius: 3px;
    outline: none;
}

.custom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    box-shadow: 0 0 10px var(--primary-glow);
    transition: transform 0.1s;
}

.custom-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* Чекбоксы (услуги) */
.calc-checkboxes {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media(min-width: 576px) {
    .calc-checkboxes {
        grid-template-columns: repeat(2, 1fr);
    }
}

.checkbox-card {
    background: rgba(18, 16, 20, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all var(--transition-speed) ease;
}

.checkbox-card:hover {
    border-color: rgba(224, 224, 224, 0.2);
}

.checkbox-card.active {
    background: rgba(1, 228, 156, 0.05);
    border-color: var(--primary-color);
}

.checkbox-card input {
    display: none;
}

.custom-check {
    width: 20px;
    height: 20px;
    border: 2px solid var(--text-mid);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.checkbox-card.active .custom-check {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.custom-check i {
    font-size: 0.75rem;
    color: var(--text-dark);
    opacity: 0;
    transition: opacity 0.2s;
}

.checkbox-card.active .custom-check i {
    opacity: 1;
}

.checkbox-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-white);
}

/* Результат калькулятора */
.calc-result-box {
    background: rgba(18, 16, 20, 0.7);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.result-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.result-header h4 {
    margin: 0 0 8px 0;
    color: var(--text-mid);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.result-price {
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.1;
}

.result-price span {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-white);
}

.result-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-mid);
}

.detail-item span:last-child {
    color: var(--text-white);
    font-weight: 600;
}

/* ====================
   8. ПРЕИМУЩЕСТВА (ADVANTAGES)
   ==================== */
.advantages {
    background-color: var(--bg-dark);
}

.adv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.adv-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 30px;
    transition: all var(--transition-speed) ease;
}

.adv-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    background: var(--bg-card-hover);
}

.adv-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(1, 228, 156, 0.12);
    line-height: 1;
    margin-bottom: 10px;
    transition: color var(--transition-speed) ease;
}

.adv-card:hover .adv-number {
    color: rgba(1, 228, 156, 0.25);
}

.adv-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.adv-card p {
    color: var(--text-mid);
    font-size: 0.9rem;
    margin: 0;
}

/* ====================
   9. СХЕМА РАБОТЫ (STEPS)
   ==================== */
.steps {
    background-color: var(--bg-navy);
}

.steps-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.steps-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: rgba(224, 224, 224, 0.08);
}

@media(min-width: 768px) {
    .steps-timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 50px;
}

@media(min-width: 768px) {
    .timeline-item {
        padding-left: 0;
        width: 50%;
        margin-bottom: 50px;
    }
    
    .timeline-item:nth-child(odd) {
        float: left;
        clear: both;
        padding-right: 40px;
        text-align: right;
    }
    
    .timeline-item:nth-child(even) {
        float: right;
        clear: both;
        padding-left: 40px;
        text-align: left;
    }
}

.timeline-dot {
    position: absolute;
    left: 11px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--bg-dark);
    border: 3px solid var(--primary-color);
    z-index: 10;
    box-shadow: 0 0 10px var(--primary-glow);
}

@media(min-width: 768px) {
    .timeline-dot {
        left: auto;
        right: -10px;
    }
    
    .timeline-item:nth-child(even) .timeline-dot {
        left: -10px;
        right: auto;
    }
}

.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    transition: all var(--transition-speed) ease;
}

.timeline-card:hover {
    border-color: var(--primary-color);
    transform: scale(1.02);
}

.timeline-num {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.timeline-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.timeline-card p {
    color: var(--text-mid);
    font-size: 0.9rem;
    margin: 0;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

/* ====================
   10. ТАРИФЫ (PRICING)
   ==================== */
.pricing {
    background-color: var(--bg-dark);
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.price-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: all var(--transition-speed) ease;
    display: flex;
    flex-direction: column;
}

.price-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-8px);
    background: var(--bg-card-hover);
}

.price-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 10px 35px rgba(1, 228, 156, 0.15);
}

.badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: var(--text-dark);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.price-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-white);
}

.price-cost {
    margin-bottom: 30px;
}

.price-val {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.price-period {
    font-size: 0.85rem;
    color: var(--text-mid);
}

.price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 35px 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.price-features li {
    font-size: 0.9rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-features li i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

.price-card .btn {
    margin-top: auto;
    width: 100%;
}

.pricing-actions {
    text-align: center;
    margin-top: 30px;
}

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

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: all var(--transition-speed) ease;
}

.faq-item:hover {
    border-color: rgba(224, 224, 224, 0.2);
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 1.05rem;
    margin: 0;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--text-white);
    padding-right: 15px;
}

.faq-icon {
    font-size: 1rem;
    color: var(--primary-color);
    transition: transform var(--transition-speed) ease;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
    padding: 0 24px;
    color: var(--text-mid);
    font-size: 0.95rem;
}

.faq-item.open .faq-answer {
    max-height: 1000px;
    padding-bottom: 20px;
    transition: max-height 0.5s cubic-bezier(1, 0, 1, 0);
}

/* ====================
   12. КОНТАКТЫ И ФОРМА
   ==================== */
.contacts {
    background-color: var(--bg-dark);
}

.contacts-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media(min-width: 992px) {
    .contacts-container {
        grid-template-columns: 1fr 1fr;
    }
}

.contacts-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

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

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(1, 228, 156, 0.08);
    border: 1px solid rgba(1, 228, 156, 0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-text h4 {
    margin: 0 0 5px 0;
    color: var(--text-mid);
    font-size: 0.85rem;
    text-transform: uppercase;
}

.contact-text a, .contact-text p {
    margin: 0;
    font-size: 1.05rem;
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-speed) ease;
}

.contact-text a:hover {
    color: var(--primary-color);
}

.map-wrapper {
    height: 250px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Форма обратной связи */
.contact-form-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
}

.contact-form-box h3 {
    margin-bottom: 25px;
    font-size: 1.5rem;
    text-align: center;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-mid);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    background-color: rgba(18, 16, 20, 0.6);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-white);
    font-size: 0.95rem;
    font-family: var(--font-body);
    transition: all var(--transition-speed) ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 12px var(--primary-glow);
    background-color: rgba(18, 16, 20, 0.8);
}

.form-control::placeholder {
    color: rgba(160, 160, 176, 0.5);
}

textarea.form-control {
    resize: none;
    height: 120px;
}

.contact-form-box .btn {
    width: 100%;
    margin-top: 10px;
}

/* ====================
   13. ПОДВАЛ (FOOTER)
   ==================== */
.footer {
    background-color: var(--bg-dark);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px 0;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.footer-logo img {
    height: 90px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-btn {
    width: 44px;
    height: 44px;
    background: rgba(224, 224, 224, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.15rem;
    transition: all var(--transition-speed) ease;
    text-decoration: none;
}

.social-btn:hover {
    background: var(--primary-color);
    color: var(--text-dark);
    border-color: var(--primary-color);
    box-shadow: 0 0 12px var(--primary-glow);
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    color: var(--text-mid);
    font-size: 0.85rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: var(--text-mid);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* ====================
   14. МОДАЛЬНОЕ ОКНО
   ==================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(12, 10, 14, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-speed) ease;
    padding: 20px;
}

.modal.open {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: var(--bg-navy);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    width: 100%;
    max-width: 480px;
    padding: 40px;
    position: relative;
    transform: scale(0.9);
    transition: transform var(--transition-speed) cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}

.modal.open .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-mid);
    font-size: 1.4rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: var(--primary-color);
}

.modal-content h3 {
    margin-bottom: 12px;
    font-size: 1.45rem;
    text-align: center;
}

.modal-content p {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-mid);
    margin-bottom: 25px;
    line-height: 1.5;
}

/* ====================
   15. ВИДЖЕТ WHATSAPP
   ==================== */
.wa-widget {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 999;
    text-decoration: none;
}

.wa-btn {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.85rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    animation: waPulse 2s infinite;
    transition: transform 0.3s;
}

.wa-btn:hover {
    transform: scale(1.1);
}

@keyframes waPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Плавающая кнопка CTA для мобильных */
.mobile-cta-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 998;
    display: none;
    opacity: 0;
    transform: translateY(80px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-cta-float.visible {
    opacity: 1;
    transform: translateY(0);
}

.mobile-cta-float .btn {
    padding: 12px 24px;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px var(--primary-glow);
    border-radius: var(--radius-sm);
}

/* ====================
   16. АДАПТИВНОСТЬ
   ==================== */
@media(max-width: 991px) {
    section {
        padding: 70px 0;
    }
}

@media(max-width: 768px) {
    .header {
        padding: 10px 0;
    }
    
    .header-logo img {
        height: 60px;
    }
    
    .header.scrolled .header-logo img {
        height: 50px;
    }

    .hero {
        padding-top: 130px;
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .mobile-cta-float {
        display: block;
    }
    
    .contact-form-box {
        padding: 30px 20px;
    }
}
