@charset "UTF-8";

/* ========================================
   Локальные шрифты (152-ФЗ compliance)
   ======================================== */

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('fonts/inter.woff2') format('woff2');
}

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/playfair.woff2') format('woff2');
}

/* ========================================
   Современный европейский дизайн
   ======================================== */

:root {
    /* Цветовая палитра из логотипа */
    --color-primary: #0f0f0f;
    --color-secondary: #fafbfc;
    --color-accent: #00bcd4;
    --color-accent-hover: #00a3b8;
    --color-accent-light: #e0f7fa;
    --color-green: #22c55e;
    --color-blue: #0288d1;
    --color-text: #1a1a1a;
    --color-text-secondary: #595959;
    --color-text-tertiary: #8c8c8c;
    --color-border: #e8eaed;
    --color-border-light: #f1f3f5;
    --color-white: #ffffff;
    --color-black: #000000;
    --color-success: #22c55e;
    --color-warning: #ff9800;

    /* Типографика */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    /* Spacing - 8px сетка для премиум дизайна */
    --spacing-xs: 0.5rem;     /* 8px */
    --spacing-sm: 1rem;       /* 16px */
    --spacing-md: 1.5rem;     /* 24px */
    --spacing-lg: 3rem;       /* 48px */
    --spacing-xl: 5rem;       /* 80px */
    --spacing-2xl: 8rem;      /* 128px */

    /* Transitions - плавные как у Apple */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Shadows - мягкие и премиальные */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 4px 0 rgba(0, 0, 0, 0.06), 0 1px 2px 0 rgba(0, 0, 0, 0.03);
    --shadow-md: 0 4px 8px 0 rgba(0, 0, 0, 0.08), 0 2px 4px 0 rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 12px 24px 0 rgba(0, 0, 0, 0.1), 0 6px 12px 0 rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 40px 0 rgba(0, 0, 0, 0.12), 0 10px 20px 0 rgba(0, 0, 0, 0.06);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* ========================================
   Reset & Base
   ======================================== */

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

html, body {
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    line-height: 1.5;
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-weight: 400;
    font-size: 16px;
    width: 100%;
}

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

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

p {
    margin-bottom: 0;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: inherit;
}

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

/* ========================================
   Container
   ======================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    position: relative;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }
}

/* ========================================
   Header
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition-normal);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.logo img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0 auto;
}

.nav-menu a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text);
    position: relative;
    transition: var(--transition-fast);
}

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

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

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

.phone-btn {
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, var(--color-green) 0%, var(--color-accent) 100%);
    color: var(--color-white);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.phone-btn:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--color-primary);
    min-width: 44px;
    min-height: 44px;
    padding: 0.5rem;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0, 188, 212, 0.2);
    border-radius: 8px;
    transition: background-color 0.2s ease;
    border: none;
    background: transparent;
}

.mobile-menu-btn:hover,
.mobile-menu-btn:active {
    background-color: rgba(0, 188, 212, 0.1);
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 8rem;
    padding-bottom: 3rem;
    background: linear-gradient(135deg, #f0fdf9 0%, #ecfeff 50%, #f0f9ff 100%);
    overflow: hidden;
}

.hero-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
}

.hero-shape-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(0, 188, 212, 0.2));
    top: -150px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.hero-shape-2 {
    width: 350px;
    height: 350px;
    background: linear-gradient(225deg, rgba(0, 188, 212, 0.15), rgba(2, 136, 209, 0.15));
    bottom: -100px;
    left: -100px;
    animation: float 15s ease-in-out infinite reverse;
}

.hero-shape-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(45deg, rgba(34, 197, 94, 0.1), rgba(0, 188, 212, 0.1));
    top: 50%;
    left: 10%;
    animation: float 18s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Hero Badge (Social Proof) */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #fef3c7, #fef9c3);
    border: 2px solid #f59e0b;
    border-radius: 100px;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}

.badge-stars {
    color: #92400e;
    font-size: 1rem;
    line-height: 1;
}

.badge-divider {
    color: #92400e;
    opacity: 0.5;
}

.badge-reviews {
    color: #92400e;
}

/* Sticky Phone Button (Mobile) */
.sticky-phone {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #22c55e;
    color: white;
    padding: 1.25rem 2rem;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1.125rem;
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    display: none;
    text-decoration: none;
}

.sticky-phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(34, 197, 94, 0.6);
}

@media (max-width: 768px) {
    .sticky-phone {
        display: block;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem 0;
}

.hero-tag {
    display: inline-block;
    padding: 0.625rem 1.5rem;
    background: linear-gradient(135deg, var(--color-accent-light) 0%, rgba(34, 197, 94, 0.1) 100%);
    border: 1.5px solid var(--color-accent);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 0 auto 1.5rem;
    text-transform: uppercase;
    color: #00a3b8;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 188, 212, 0.1);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--color-primary);
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2c2c2c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    width: 100%;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #3d3d3d;
    line-height: 1.6;
    margin: 0 auto 2rem;
    max-width: 600px;
    font-weight: 500;
    text-align: center;
    width: 100%;
    letter-spacing: 0.01em;
}

.hero-usps {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.hero-usp {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.75rem;
    background-color: var(--color-white);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.hero-usp:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.hero-usp svg {
    color: var(--color-success);
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

/* Компактные бейджи преимуществ в hero */
.hero-advantages {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.hero-advantage-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1.5px solid var(--color-border);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
    cursor: pointer;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.hero-advantage-badge:hover {
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    background: white;
}

.hero-advantage-badge svg {
    flex-shrink: 0;
    color: var(--color-accent);
}

.advantage-show-all {
    background: linear-gradient(135deg, var(--color-green), var(--color-accent));
    color: white;
    border: none;
    padding: 0.625rem 1.5rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.advantage-show-all:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

/* Scroll Down Arrow */
.scroll-down-arrow {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: var(--color-accent);
    opacity: 0.7;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out, transform 0.3s ease;
    animation: bounce 2s infinite;
    cursor: pointer;
    pointer-events: auto;
    visibility: visible;
}

.scroll-down-arrow:hover {
    opacity: 1;
    animation: none;
    transform: translateX(-50%) scale(1.1);
}

.scroll-down-arrow.hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.4s ease-out, visibility 0.4s ease-out;
}

.scroll-down-arrow svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Компактная статистика в hero */
.hero-stats-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 188, 212, 0.2);
    max-width: 700px;
    margin: 0 auto;
}

.stat-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.stat-compact-number {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-green) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.stat-compact-label {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    font-weight: 500;
    text-align: center;
}

.stat-compact-divider {
    font-size: 1.25rem;
    color: var(--color-accent);
    font-weight: 300;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    padding-top: 2.75rem;
    border-top: 1px solid var(--color-border);
    max-width: 550px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-green) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-text-light);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: var(--color-border);
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
    opacity: 0.8;
}

.scroll-indicator span {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-arrow {
    font-size: 1.5rem;
    color: var(--color-accent);
}

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

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    cursor: pointer;
    line-height: 1.5;
    text-align: center;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-green) 0%, var(--color-accent) 100%);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1ea952 0%, var(--color-accent-hover) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.btn-outline {
    background-color: var(--color-white);
    color: var(--color-text);
    border: 2px solid var(--color-accent);
    box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}

/* ========================================
   Sections
   ======================================== */

section {
    padding: var(--spacing-xl) 0;
}

@media (min-width: 1441px) {
    section {
        padding: calc(var(--spacing-xl) * 1.15) 0;
    }
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-label {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2rem);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-primary);
    letter-spacing: -0.02em;
    margin-bottom: 0;
}

.section-description {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin-top: 0.75rem;
}

/* ========================================
   Calculator Section
   ======================================== */

.calculator {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.calculator-form {
    background-color: var(--color-white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border-light);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition-normal);
    background-color: var(--color-white);
    color: var(--color-text);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px var(--color-accent-light);
    background-color: var(--color-white);
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 500;
}

.checkbox-group input[type="checkbox"] {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.radio-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background-color: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 500;
    transition: all var(--transition-normal);
    flex: 1;
    min-width: 160px;
}

.radio-label:hover {
    border-color: var(--color-accent);
    background-color: var(--color-accent-light);
}

.radio-label input[type="radio"] {
    width: 24px;
    height: 24px;
    cursor: pointer;
    accent-color: var(--color-accent);
}

.radio-label input[type="radio"]:checked + span {
    font-weight: 600;
    color: var(--color-accent);
}

.radio-label:has(input[type="radio"]:checked) {
    border-color: var(--color-accent);
    background-color: var(--color-accent-light);
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.1);
}

.calculator-result {
    background: var(--color-accent);
    padding: 3rem 2.5rem;
    border-radius: var(--radius-xl);
    color: var(--color-white);
    box-shadow: var(--shadow-xl);
}

@media (min-width: 1025px) {
    .calculator-result {
        position: sticky;
        top: 100px;
    }
}

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

.result-label {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.result-price {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.result-note {
    font-size: 0.875rem;
    opacity: 0.85;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.result-benefits {
    margin-bottom: 2rem;
    text-align: left;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
    font-size: 0.9375rem;
}

.benefit-item svg {
    flex-shrink: 0;
}

.btn-calculator {
    width: 100%;
    background: linear-gradient(135deg, var(--color-green) 0%, var(--color-accent) 100%);
    color: var(--color-white);
    font-weight: 600;
    border: none;
}

.btn-calculator:hover {
    background: linear-gradient(135deg, var(--color-green) 0%, var(--color-accent) 100%);
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   Advantages Section
   ======================================== */

.advantages {
    background-color: var(--color-white);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.advantage-card {
    background-color: var(--color-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    transition: all var(--transition-slow);
    border: 1px solid var(--color-border-light);
    text-align: center;
    box-shadow: var(--shadow-xs);
}

.advantage-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-accent-light);
    background-color: var(--color-white);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent-light);
    border-radius: var(--radius-lg);
    color: var(--color-accent);
    transition: all var(--transition-slow);
}

.advantage-card:hover .advantage-icon {
    background: var(--color-accent);
    color: var(--color-white);
    transform: scale(1.05) rotate(-5deg);
}

.advantage-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.advantage-card p {
    color: var(--color-text-secondary);
    line-height: 1.5;
    font-size: 0.9375rem;
}

/* Компактный вариант карточек преимуществ */
.advantage-card-compact {
    padding: 1.5rem 1rem;
    min-height: auto;
}

.advantage-card-compact .advantage-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
}

.advantage-card-compact h3 {
    font-size: 0.95rem;
    margin-bottom: 0;
    font-weight: 600;
}

.advantage-card-compact p {
    display: none; /* Скрываем описание для компактности */
}

/* Сетка для модального окна преимуществ */
.advantages-modal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.advantage-modal-card {
    background-color: var(--color-white);
    padding: 1.75rem 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
    text-align: center;
    transition: all var(--transition-normal);
}

.advantage-modal-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent-light);
}

.advantage-modal-card .advantage-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
}

.advantage-modal-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.advantage-modal-card p {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Адаптив для модального окна преимуществ */
@media (max-width: 768px) {
    .advantages-modal-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .advantage-modal-card {
        padding: 1.5rem 1.25rem;
    }

    .hero-advantages {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        padding: 0 1rem;
    }

    .hero-advantage-badge {
        scroll-snap-align: start;
        flex-shrink: 0;
    }
}

/* ========================================
   About Section
   ======================================== */

.about {
    background-color: var(--color-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.about-text .lead {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--color-text);
    margin-bottom: 2rem;
    font-weight: 400;
}

.feature-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.feature-list li {
    padding: 0.875rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.6;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
    font-size: 1.25rem;
}

.about-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.about-image:hover img {
    transform: scale(1.05);
}

/* ========================================
   Services Section
   ======================================== */

.services {
    background-color: var(--color-secondary);
}

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

.service-card {
    background: var(--color-white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.service-icon {
    width: 48px;
    height: 48px;
    background: var(--color-accent-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: all var(--transition-normal);
    color: var(--color-accent);
}

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

.service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.service-card:hover .service-icon {
    background: var(--color-accent);
    color: var(--color-white);
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.service-card p {
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
}

.service-price {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-accent);
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(0, 188, 212, 0.1));
    border-radius: 8px;
    margin-bottom: 1rem;
}

.service-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--color-green) 0%, var(--color-accent) 100%);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all var(--transition-normal);
    cursor: pointer;
    margin-top: auto;
}

.service-btn:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-lg);
}

.service-modal {
    max-width: 700px;
    max-height: 85vh;
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
    margin: 2rem;
}

.service-modal-header {
    position: relative;
    height: 250px;
    background-size: cover;
    background-position: center;
}

.service-modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.service-modal-title {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    color: white;
    font-size: 2rem;
    font-weight: 700;
    z-index: 1;
}

.service-modal-body {
    padding: 2.5rem 2.5rem 3.5rem 2.5rem;
}

.service-modal-price {
    display: inline-block;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-accent);
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(0, 188, 212, 0.1));
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

.service-modal-description {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 1.75rem;
    padding: 1.25rem;
    background-color: var(--color-secondary);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--color-accent);
}

.service-features {
    list-style: none;
    margin: 1.5rem 0 2rem 0;
    text-align: left;
}

.service-features li {
    padding: 1rem 0 1rem 2.5rem;
    position: relative;
    font-size: 0.9375rem;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border-light);
    line-height: 1.5;
}

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

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 1rem;
    color: var(--color-green);
    font-weight: 700;
    font-size: 1.25rem;
}

/* ========================================
   How We Work Section
   ======================================== */

.how-we-work {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.steps-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.step-card {
    flex: 1;
    min-width: 200px;
    background-color: var(--color-white);
    padding: 2rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid var(--color-border);
    position: relative;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--color-accent);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: var(--shadow-md);
}

.step-icon {
    width: 64px;
    height: 64px;
    margin: 1.5rem auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
}

.step-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.step-arrow {
    font-size: 2rem;
    color: var(--color-accent);
    font-weight: 300;
    flex-shrink: 0;
}

/* ========================================
   Reviews Section
   ======================================== */

.reviews {
    background-color: var(--color-white);
}

.yandex-reviews-wrapper {
    margin-bottom: 3rem;
    min-height: 400px;
    position: relative;
}

.reviews-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    gap: 1.5rem;
}

.loader {
    width: 48px;
    height: 48px;
    border: 4px solid var(--color-border-light);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.review-card {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    transition: all var(--transition-slow);
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-xs);
}

.review-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-border);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.review-rating {
    color: #ffc107;
    font-size: 1.25rem;
}

.review-date {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

.review-text {
    color: var(--color-text);
    line-height: 1.5;
    margin-bottom: 1.25rem;
    font-size: 0.9375rem;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-green), var(--color-accent));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--color-accent-light);
    box-shadow: var(--shadow-sm);
}

.review-author h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.review-author p {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

.yandex-link {
    text-align: center;
    margin-top: 2rem;
}

.yandex-link .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.reviews-error {
    text-align: center;
    padding: 3rem;
    color: var(--color-text-secondary);
}

.reviews-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 3rem 0;
    border-top: 1px solid var(--color-border);
}

.stat-box {
    text-align: center;
    padding: 2rem;
    background-color: var(--color-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.stat-text {
    font-size: 0.9375rem;
    color: var(--color-text-light);
}

/* ========================================
   Final CTA Section
   ======================================== */

.final-cta {
    background: var(--color-primary);
    color: var(--color-white);
}

.cta-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-benefits {
    list-style: none;
}

.cta-benefits li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.cta-benefits svg {
    color: var(--color-accent-2);
    flex-shrink: 0;
}

.cta-form-wrapper {
    background-color: var(--color-white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.cta-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: var(--color-white);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: var(--shadow-md);
}

.cta-form-wrapper h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1.75rem;
    text-align: center;
    margin-top: 0.5rem;
}

.cta-form input,
.cta-form select {
    width: 100%;
    padding: 0.9375rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9375rem;
    transition: all var(--transition-fast);
}

.cta-form input:focus,
.cta-form select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(0, 163, 204, 0.1);
}

.btn-cta {
    width: 100%;
    margin-bottom: 1rem;
}

.cta-note {
    font-size: 0.75rem;
    color: var(--color-text-light);
    text-align: center;
    line-height: 1.5;
}

/* ========================================
   VK Posts Section
   ======================================== */

.vk-posts {
    background-color: var(--color-bg);
    overflow: hidden;
}

.vk-posts .section-subtitle {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.vk-posts-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.vk-posts-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 60px;
    transition: all 0.3s ease;
    max-width: 1200px;
    margin: 0 auto;
}

.vk-post-card {
    background: var(--color-secondary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.vk-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 188, 212, 0.2);
}

.vk-post-image {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 220px !important;
    min-height: 220px !important;
    max-height: 220px !important;
    object-fit: cover !important;
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.1) 0%, rgba(76, 175, 80, 0.1) 100%);
    border-radius: 0;
}

.vk-post-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.vk-post-text {
    color: var(--color-text);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.vk-post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 188, 212, 0.1);
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.vk-post-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.vk-post-stats {
    display: flex;
    gap: 1rem;
}

.vk-post-stat {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.vk-post-link {
    display: inline-block;
    margin-top: auto;
    color: var(--color-accent);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.vk-post-link:hover {
    color: var(--color-green);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-secondary);
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    color: var(--color-accent);
}

.carousel-btn:hover {
    background: var(--color-accent);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

.vk-posts-loading {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--color-text-secondary);
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(0, 188, 212, 0.1);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.vk-group-link {
    text-align: center;
}

.vk-group-link .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    padding: 0.875rem 2rem;
    margin-bottom: 1rem;
}

.vk-members {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.vk-members span {
    font-weight: 700;
    color: var(--color-accent);
}

/* ========================================
   Contact Section
   ======================================== */

.contact {
    background-color: var(--color-secondary);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: start;
}

.contact-info h2 {
    font-family: var(--font-display);
    font-size: 2.25rem;
    color: var(--color-primary);
    margin-bottom: 2.5rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.contact-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2rem;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-white);
    border-radius: 12px;
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
}

.contact-item a,
.contact-item p {
    font-size: 1.0625rem;
    color: var(--color-primary);
    font-weight: 500;
    line-height: 1.5;
}

.contact-item a:hover {
    color: var(--color-accent);
}

.contact-note {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-top: 0.25rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
}

.social-links a {
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-white);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all var(--transition-fast);
    border: 1px solid var(--color-border);
}

.social-links a:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-4px);
    border-color: var(--color-accent);
}

.form-description {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.contact-form-wrapper {
    background-color: var(--color-white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border-light);
}

.contact-form-wrapper h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1.75rem;
    line-height: 1.3;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition-normal);
    line-height: 1.5;
    background-color: var(--color-white);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px var(--color-accent-light);
}

.contact-form button {
    width: 100%;
    margin-top: 0.75rem;
}

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

/* ========================================
   Footer
   ======================================== */

.footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    font-size: 0.9375rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-nav h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-white);
}

.footer-nav ul {
    list-style: none;
}

.footer-nav ul li {
    margin-bottom: 0.75rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    transition: var(--transition-fast);
}

.footer-nav a:hover {
    color: var(--color-white);
}

.footer-contact h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-white);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-fast);
}

.footer-contact a:hover {
    color: var(--color-white);
}

/* ========================================
   Modal
   ======================================== */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--color-white);
    padding: 2.75rem 2.5rem;
    border-radius: var(--radius-xl);
    max-width: 480px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
    box-shadow: var(--shadow-xl);
}

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

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--color-text-light);
    cursor: pointer;
    transition: var(--transition-fast);
    line-height: 1;
}

.modal-close-btn {
    width: 100%;
    margin-top: 2rem;
    text-align: center;
}

/* How We Work Modal Styles */
.how-we-work-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.work-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--color-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-light);
    transition: all var(--transition-normal);
}

.work-step:hover {
    background: var(--color-white);
    border-color: var(--color-accent-light);
    box-shadow: var(--shadow-sm);
}

.work-step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-green) 0%, var(--color-accent) 100%);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
}

.work-step-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.work-step-content p {
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Checkbox Consent Styles */
.checkbox-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 1rem 0;
    cursor: pointer;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--color-text-secondary);
}

.checkbox-consent input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 24px;
    height: 24px;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-consent a {
    color: var(--color-accent);
    text-decoration: underline;
    transition: var(--transition-fast);
}

.checkbox-consent a:hover {
    color: var(--color-accent-hover);
}

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

.modal-content h2 {
    font-family: var(--font-display);
    font-size: 1.875rem;
    color: var(--color-primary);
    margin-bottom: 1.75rem;
    line-height: 1.25;
}

.success-modal h2 {
    color: #00c853;
}

/* ========================================
   Video Background
   ======================================== */

.video-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.03;
    pointer-events: none;
}

#cleaningCanvas {
    width: 100%;
    height: 100%;
}

/* ========================================
   Animations
   ======================================== */

.section-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.section-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

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

/* Tablet: 2 posts per row */
@media (max-width: 1024px) and (min-width: 769px) {
    .vk-posts-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0 40px;
    }
}

@media (max-width: 1024px) {
    .container {
        max-width: 100%;
        padding: 0 2rem;
    }

    /* Мобильное меню */
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 1.5rem 2rem 2rem;
        gap: 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        border-top: 1px solid var(--color-border);
        z-index: 999;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        border-bottom: 1px solid var(--color-border-light);
    }

    .nav-menu a {
        display: block;
        padding: 1rem 0;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .header-contact {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .phone-btn {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }

    .logo {
        font-size: 1.125rem;
    }

    .logo img {
        width: 40px;
        height: 40px;
    }

    .header {
        padding: 0;
    }

    .nav {
        padding: 0.875rem 0;
    }

    .about-content,
    .contact-wrapper,
    .calculator-wrapper,
    .cta-wrapper {
        grid-template-columns: 1fr;
        gap: 2.75rem;
    }

    .calculator-result {
        position: static;
    }

    .services-grid,
    .advantages-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.75rem;
    }

    .steps-wrapper {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
        font-size: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .btn {
        min-height: 44px;
        touch-action: manipulation;
    }

    /* VK Posts mobile */
    .vk-posts-container {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-prev {
        left: -10px;
    }

    .carousel-next {
        right: -10px;
    }

    .vk-post-image {
        height: 200px;
    }

    /* iOS input improvements */
    input[type="text"],
    input[type="tel"],
    input[type="email"],
    input[type="number"],
    select,
    textarea {
        font-size: 16px;
        touch-action: manipulation;
    }

    .hero {
        padding-top: 100px;
        padding-bottom: 4rem;
        min-height: auto;
        padding-left: 0;
        padding-right: 0;
        background: linear-gradient(135deg, #e8fcf3 0%, #d9f7f7 50%, #e3f4ff 100%);
        position: relative;
    }

    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 50% 40%, transparent 0%, rgba(255, 255, 255, 0.3) 100%);
        z-index: 0;
        pointer-events: none;
    }

    /* Keep hero visual elements on mobile for design consistency */
    .hero-visual {
        display: block;
        opacity: 0.5;
    }

    /* Simplify hero shapes on mobile - smaller and less intensive */
    .hero-shape {
        display: block;
        opacity: 0.4;
    }

    .hero-shape-1 {
        width: 300px;
        height: 300px;
        top: -100px;
        right: -50px;
        /* Disable animation on mobile for performance */
        animation: none;
    }

    .hero-shape-2 {
        width: 250px;
        height: 250px;
        bottom: -80px;
        left: -80px;
        animation: none;
    }

    .hero-shape-3 {
        width: 180px;
        height: 180px;
        top: 50%;
        left: 5%;
        animation: none;
    }

    .hero .container {
        padding: 0 1.25rem;
        width: 100%;
        max-width: 100%;
    }

    .hero-content {
        padding: 2rem 0;
        width: 100%;
        max-width: 100%;
        position: relative;
        z-index: 1;
    }

    .hero-title {
        font-size: 2.25rem;
        line-height: 1.25;
        margin-bottom: 1.25rem;
        font-weight: 800;
        color: #0a0a0a;
        letter-spacing: -0.02em;
        background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .hero-subtitle {
        font-size: 1.0625rem;
        margin-bottom: 1.75rem;
        font-weight: 500;
        color: #3d3d3d;
        line-height: 1.6;
        letter-spacing: 0.005em;
    }

    .hero-tag {
        font-size: 0.6875rem;
        padding: 0.625rem 1.5rem;
        margin-bottom: 1rem;
        background: linear-gradient(135deg, rgba(224, 247, 250, 0.95) 0%, rgba(34, 197, 94, 0.15) 100%);
        box-shadow: 0 2px 8px rgba(0, 188, 212, 0.15);
        font-weight: 700;
        letter-spacing: 0.06em;
    }

    .hero-usps {
        flex-direction: column;
        gap: 0.875rem;
        margin-bottom: 2rem;
    }

    .hero-usp {
        font-size: 0.875rem;
        gap: 0.625rem;
        padding: 1rem 1.5rem;
        background-color: rgba(255, 255, 255, 0.95);
        border: 1.5px solid rgba(0, 188, 212, 0.2);
        box-shadow: 0 4px 12px rgba(0, 188, 212, 0.12), 0 2px 4px rgba(0, 0, 0, 0.06);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        transition: all 0.2s ease;
    }

    .hero-usp:active {
        transform: scale(0.98);
        box-shadow: 0 2px 6px rgba(0, 188, 212, 0.15);
    }

    .hero-usp svg {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        padding-top: 2rem;
    }

    .stat-divider {
        display: none;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.875rem;
    }

    .services-grid,
    .reviews-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    section {
        padding: 3.5rem 0;
    }

    .section-title {
        font-size: 1.875rem;
        margin-bottom: 0.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2.5rem;
        width: 100%;
    }

    .hero-buttons .btn-primary {
        padding: 1.125rem 2.25rem;
        font-size: 1.0625rem;
        font-weight: 700;
        box-shadow: 0 8px 16px rgba(0, 188, 212, 0.25), 0 4px 8px rgba(34, 197, 94, 0.15);
        border-radius: 14px;
        transform: translateY(0);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
        animation: pulse-glow 2s ease-in-out infinite;
    }

    .hero-buttons .btn-primary:active {
        animation: none;
        transform: translateY(2px);
        box-shadow: 0 4px 8px rgba(0, 188, 212, 0.2);
    }

    @keyframes pulse-glow {
        0%, 100% {
            box-shadow: 0 8px 16px rgba(0, 188, 212, 0.25), 0 4px 8px rgba(34, 197, 94, 0.15);
        }
        50% {
            box-shadow: 0 8px 20px rgba(0, 188, 212, 0.35), 0 4px 12px rgba(34, 197, 94, 0.25);
        }
    }

    .scroll-down-arrow {
        bottom: 1rem;
        width: 36px;
        height: 36px;
        opacity: 0.5;
        color: rgba(0, 188, 212, 0.6);
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }

    .btn svg {
        width: 18px;
        height: 18px;
    }

    .hero-tag {
        font-size: 0.75rem;
        padding: 0.4375rem 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .contact-form-wrapper,
    .calculator-form,
    .cta-form-wrapper {
        padding: 2rem 1.5rem;
    }

    .section-header {
        margin: 0 auto 3rem;
    }

    section {
        padding: var(--spacing-lg) 0;
    }

    .reviews-stats {
        grid-template-columns: 1fr;
    }

    .step-arrow {
        display: none;
    }
}

@media (max-width: 480px) {
    :root {
        font-size: 15px;
    }

    .btn {
        min-height: 48px;
    }

    .container {
        padding: 0 1.25rem;
    }

    .hero {
        padding-top: 76px;
        padding-bottom: 3rem;
        min-height: auto;
    }

    .hero .container {
        padding: 0 1rem;
        width: 100%;
        max-width: 100%;
    }

    .hero-content {
        padding: 1rem 0;
        width: 100%;
        max-width: 100%;
    }

    /* Further optimize hero shapes for smaller devices */
    .hero-shape-1 {
        width: 250px;
        height: 250px;
        top: -80px;
        right: -40px;
    }

    .hero-shape-2 {
        width: 200px;
        height: 200px;
        bottom: -60px;
        left: -60px;
    }

    .hero-shape-3 {
        width: 150px;
        height: 150px;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 0.875rem;
        font-weight: 800;
        letter-spacing: -0.015em;
    }

    .hero-subtitle {
        font-size: 0.9375rem;
        margin-bottom: 1rem;
        font-weight: 500;
        line-height: 1.65;
        color: #3d3d3d;
    }

    .hero-tag {
        font-size: 0.75rem;
        padding: 0.5rem 1.125rem;
        margin-bottom: 0.75rem;
    }

    .hero-usp {
        font-size: 0.875rem;
    }

    .hero-usps {
        gap: 0.875rem;
    }

    .hero-buttons {
        margin-bottom: 2.5rem;
        width: 100%;
    }

    .scroll-down-arrow {
        bottom: 1rem;
        width: 32px;
        height: 32px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 100%;
    }

    .btn {
        padding: 0.8125rem 1.25rem;
        font-size: 0.875rem;
    }

    .hero-stats-compact {
        flex-direction: column;
        gap: 1rem;
        padding-top: 1.5rem;
    }

    .stat-compact-divider {
        display: none;
    }

    .stat-compact-number {
        font-size: 1.125rem;
    }

    .stat-compact-label {
        font-size: 0.6875rem;
    }

    .hero-stats {
        gap: 1.25rem;
        padding-top: 1.5rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.8125rem;
    }

    section {
        padding: 3rem 0;
    }

    .service-card,
    .review-card {
        padding: 1.5rem 1.25rem;
    }

    .service-card h3,
    .advantage-card h3 {
        font-size: 1.125rem;
    }

    .service-card p,
    .advantage-card p {
        font-size: 0.9375rem;
    }

    .contact-form-wrapper {
        padding: 1.75rem 1.25rem;
    }

    .modal-content {
        width: 95%;
        max-width: 95%;
        margin: 1rem;
        padding: 1.5rem 1rem;
    }

    .modal-header h2 {
        font-size: 1.375rem;
    }

    .modal-close {
        top: 0.75rem;
        right: 0.75rem;
        font-size: 1.75rem;
    }

    .modal-content {
        padding: 2rem 1.5rem;
    }

    .service-modal {
        max-height: 90vh;
        margin: 1rem;
        width: calc(100% - 2rem);
    }

    .service-modal-header {
        height: 180px;
    }

    .service-modal-title {
        font-size: 1.5rem;
        bottom: 1rem;
        left: 1rem;
    }

    .service-modal-body {
        padding: 1.5rem 1.5rem 2.5rem 1.5rem;
    }

    .service-modal-price {
        font-size: 1rem;
        padding: 0.625rem 1.25rem;
    }

    .service-modal-description {
        font-size: 0.875rem;
        padding: 1rem;
    }

    .service-features li {
        font-size: 0.875rem;
        padding: 0.875rem 0 0.875rem 2rem;
    }

    .service-features li::before {
        font-size: 1.125rem;
        top: 0.875rem;
    }
}

/* ========================================
   Extra Small Devices (320px)
   ======================================== */

@media (max-width: 320px) {
    :root {
        font-size: 15px;
    }

    .hero-title {
        font-size: 1.5rem !important;
    }

    .section-title {
        font-size: 1.625rem !important;
    }

    /* Prevent iOS zoom on inputs */
    input[type="text"],
    input[type="tel"],
    input[type="email"],
    input[type="number"],
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* ========================================
   FAQ Section
   ======================================== */
.faq {
    background-color: var(--color-white);
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--color-white);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-item:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--color-primary);
    transition: all var(--transition-fast);
}

.faq-question:hover {
    color: var(--color-accent);
}

.faq-question svg {
    flex-shrink: 0;
    transition: transform var(--transition-normal);
    color: var(--color-accent);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    font-size: 0.9375rem;
}

@media (max-width: 768px) {
    .faq-question {
        font-size: 0.9375rem;
        padding: 1.25rem;
    }
    
    .faq-answer p {
        padding: 0 1.25rem 1.25rem 1.25rem;
        font-size: 0.875rem;
    }
}
