/* Сброс стилей и базовые настройки */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0A1F30;
    --secondary-color: #4a4a4a;
    --accent-color: #00CFFF;
    --accent-color-bright: #00FFFF;
    --background-color: #ffffff;
    --text-color: #1a1a1a;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --gray-light: #f5f5f5;
    --gray-medium: #9a9a9a;
    --gray-dark: #3a3a3a;
    --dark-blue: #0A1F30;
    --dark-blue-medium: #1A3A50;
    --cyan-glow: rgba(0, 207, 255, 0.3);
    --surface-color: #f5f7fb;
    --surface-alt: #ffffff;
    --gradient-hero: linear-gradient(135deg, #0a1f30 0%, #0d2c48 50%, #0b7099 100%);
    --gradient-accent: linear-gradient(135deg, #00cfff 0%, #00ffff 100%);
    --glass-border: rgba(255, 255, 255, 0.35);
    --glass-bg: rgba(255, 255, 255, 0.16);
    --hero-shadow: 0 40px 80px rgba(10, 31, 48, 0.28);
    --noise-color: rgba(10, 31, 48, 0.06);
}

html {
    overflow-x: hidden;
    transform: none;
}

body {
    font-family: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(160deg, #f7fbff 0%, #ffffff 55%, #f1f9ff 100%);
    font-size: 16px;
    font-weight: 400;
    padding-top: 50px; /* Отступ для фиксированной навигации */
    position: relative;
    overflow-x: hidden;
    transform: none;
    perspective: none;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(0, 207, 255, 0.15), transparent 45%),
        radial-gradient(circle at 80% 10%, rgba(0, 255, 240, 0.2), transparent 45%),
        radial-gradient(circle at 50% 80%, rgba(10, 31, 48, 0.08), transparent 55%);
    opacity: 0.75;
    z-index: 0;
}

h1, h2, h3, h4, h5, h6, .main-title, #hero-title {
    font-family: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Анимированные пузырьки */
.bubbles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    animation: bubble-rise linear infinite;
    opacity: 0.8;
}

.bubble.blue-light {
    background: #00CFFF;
    box-shadow: 
        0 0 3px rgba(0, 207, 255, 0.8),
        0 0 6px rgba(0, 207, 255, 0.5),
        0 0 9px rgba(0, 207, 255, 0.3);
}

@keyframes bubble-rise {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 1;
        filter: blur(0.3px);
    }
    20% {
        transform: translateY(-20vh) translateX(15px);
        opacity: 1;
        filter: blur(0.3px);
    }
    40% {
        transform: translateY(-40vh) translateX(-10px);
        opacity: 1;
        filter: blur(0.3px);
    }
    60% {
        transform: translateY(-60vh) translateX(8px);
        opacity: 1;
        filter: blur(0.3px);
    }
    80% {
        transform: translateY(-80vh) translateX(-5px);
        opacity: 0.8;
        filter: blur(0.5px);
    }
    100% {
        transform: translateY(-120vh) translateX(0);
        opacity: 0;
        filter: blur(1px);
    }
}

/* Навигация */
.navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
    transform: none;
}

/* Контейнер */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    transform: none;
    perspective: none;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
    transform: none;
}

.nav-logo {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-blue);
}

.nav-menu {
    display: flex !important;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    visibility: visible !important;
    opacity: 1 !important;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.btn-primary {
    background: var(--accent-color);
    color: var(--dark-blue);
    border-color: var(--accent-color);
    font-weight: 600;
    box-shadow: 0 0 15px var(--cyan-glow);
}
.btn-primary:hover { 
    background: var(--accent-color-bright);
    border-color: var(--accent-color-bright);
    transform: translateY(-1px);
    box-shadow: 0 0 20px rgba(0, 207, 255, 0.6);
}

.btn-ghost {
    background: transparent;
    color: var(--dark-blue);
}
.btn-ghost:hover { background: rgba(0,0,0,0.04); }

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 400;
    font-size: 0.85rem;
    transition: var(--transition);
    position: relative;
    padding: 6px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.nav-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--dark-blue);
    margin-bottom: 0;
    transition: var(--transition);
    display: block !important;
    line-height: 1.2;
    text-shadow: none;
    white-space: nowrap;
    opacity: 1 !important;
    visibility: visible !important;
}

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

.nav-link:hover .nav-label {
    color: var(--accent-color);
    text-shadow: 0 0 8px var(--cyan-glow);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
    box-shadow: 0 0 8px var(--cyan-glow);
}

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

.nav-link.active {
    color: var(--accent-color);
}

.nav-link.active .nav-label {
    color: var(--accent-color);
    text-shadow: 0 0 8px var(--cyan-glow);
}

.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger {
    width: 25px;
    height: 3px;
    background: var(--dark-blue);
    transition: var(--transition);
    border-radius: 2px;
}

/* Мобильное меню */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 50px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 50px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 40px;
        transition: var(--transition);
        border-right: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 0.75rem;
        padding: 12px 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-label {
        font-size: 0.8rem !important;
        color: var(--dark-blue) !important;
        font-weight: 700 !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .nav-toggle {
        display: flex;
    }

    .nav-actions { display: none; }
    
    .nav-toggle.active .hamburger:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active .hamburger:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .hamburger:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* Заголовок */
.header {
    padding: 40px 0 50px;
    border-bottom: none;
    position: relative;
    background:
        radial-gradient(circle at 15% 20%, rgba(0, 207, 255, 0.22), transparent 55%),
        radial-gradient(circle at 85% 0%, rgba(0, 255, 240, 0.2), transparent 45%),
        linear-gradient(140deg, #ffffff 0%, #f4faff 52%, #eaf6ff 100%);
    overflow: hidden;
    transform: none;
}

.header::before,
.header::after {
    content: '';
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.35;
    z-index: 0;
}

.header::before {
    background: rgba(0, 207, 255, 0.55);
    top: -120px;
    left: -160px;
}

.header::after {
    background: rgba(10, 31, 48, 0.55);
    bottom: -180px;
    right: -120px;
}


@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.header-content {
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    transform: none;
}

.header-text {
    flex: 1;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.header-text--center {
    margin: 0 auto;
    align-items: center;
    text-align: center;
}

.header-text--center .subtitle,
.header-text--center .header-description,
.header-text--center .hero-stat-grid {
    text-align: center;
}

.header-text--center .hero-actions {
    justify-content: center;
}
}

.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--dark-blue);
    background: rgba(0, 207, 255, 0.12);
    border: 1px solid rgba(0, 207, 255, 0.3);
    border-radius: 999px;
    padding: 8px 18px;
    box-shadow: 0 12px 30px rgba(0, 207, 255, 0.18);
}

.header-description {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--secondary-color);
    max-width: 520px;
    margin: 0;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 4px;
    flex-wrap: wrap;
}

.hero-actions .btn {
    height: 46px;
    padding: 0 22px;
    font-size: 0.95rem;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: none;
}

.main-title {
    font-size: clamp(3.5rem, 7vw, 5.6rem);
    font-weight: 700;
    color: var(--dark-blue);
    margin: 0;
    margin-bottom: 20px;
    letter-spacing: -0.04em;
    line-height: 1.02;
    text-align: left;
    position: relative;
}

.main-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -15px;
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, #00CFFF 0%, #00FFFF 100%);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 207, 255, 0.5);
}

.subtitle {
    font-size: 1.8rem;
    color: var(--secondary-color);
    font-weight: 400;
    margin: 0;
    text-align: left;
    letter-spacing: -0.01em;
    max-width: 520px;
}

.hero-primary {
    background: var(--gradient-accent);
    color: var(--dark-blue);
    border: none;
    box-shadow: 0 18px 45px rgba(0, 207, 255, 0.45);
}

.hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 26px 60px rgba(0, 207, 255, 0.45);
}

.hero-secondary {
    border-color: rgba(10, 31, 48, 0.18);
    color: var(--dark-blue);
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(8px);
}

.hero-secondary:hover {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(10, 31, 48, 0.28);
}

.hero-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 16px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(10, 31, 48, 0.05);
    border-radius: 18px;
    padding: 20px 22px;
    box-shadow: 0 12px 30px rgba(10, 31, 48, 0.08);
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark-blue);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--secondary-color);
    line-height: 1.45;
}

.hero-orb {
    position: absolute;
    top: -40px;
    right: -60px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(0, 255, 240, 0.6), rgba(0, 207, 255, 0.05));
    filter: blur(10px);
    opacity: 0.8;
    animation: orbPulse 12s ease-in-out infinite;
    z-index: 0;
}

.hero-card {
    position: relative;
    z-index: 1;
    width: 100%;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    padding: 32px 30px;
    box-shadow: 0 25px 45px rgba(10, 31, 48, 0.2);
    backdrop-filter: blur(18px);
    overflow: hidden;
}


/* Основной контент */
.main-content {
    padding: 20px 0;
    transform: none;
    perspective: none;
}

/* Героическая секция */
.hero-section {
    text-align: center;
    margin-bottom: 24px;
    transform: none;
    scroll-margin-top: 50px; /* Отступ для фиксированной навигации при прокрутке */
}

/* Общие стили для заголовков секций */
.section-header {
    margin-bottom: 48px;
    text-align: left;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--dark-blue);
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* Блок блога */
.blog-section {
    margin-bottom: 80px;
    padding: 72px 60px;
    scroll-margin-top: 50px; /* Отступ для фиксированной навигации при прокрутке */
    position: relative;
    border-radius: 32px;
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.96) 0%, rgba(241, 249, 255, 0.96) 100%);
    box-shadow: 0 35px 70px rgba(10, 31, 48, 0.12);
    overflow: hidden;
    isolation: isolate;
}

.blog-section::before,
.blog-section::after {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    z-index: -1;
}

.blog-section::before {
    top: -180px;
    right: -120px;
    background: rgba(0, 207, 255, 0.35);
}

.blog-section::after {
    bottom: -160px;
    left: -140px;
    background: rgba(10, 31, 48, 0.18);
}

.blog-header {
    margin-bottom: 48px;
    text-align: left;
}

.blog-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 12px;
}

.blog-title {
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--dark-blue);
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

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

.blog-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    cursor: pointer;
}

.blog-card-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: var(--gray-light);
}

.blog-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0e0e0 0%, #c0c0c0 100%);
}

.blog-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 1;
}

.blog-overlay-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.blog-overlay-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 400;
}

.blog-overlay-subtitle-small {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 4px 0 0 0;
    font-weight: 400;
}

.blog-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin: 0 0 12px 0;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.blog-card-description {
    font-size: 0.95rem;
    color: var(--secondary-color);
    line-height: 1.6;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--gray-medium);
}

.blog-date {
    font-weight: 400;
}

.blog-views {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 400;
}

.blog-views svg {
    width: 16px;
    height: 16px;
    opacity: 0.6;
}

.hero-content {
    text-align: left;
    max-width: 920px;
    margin: 0 auto 0 0;
}

.hero-content .section-header {
    margin-bottom: 24px;
}

.hero-content h2 {
    font-size: 2.5rem;
    font-weight: 400;
}

#hero-title {
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--dark-blue);
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--secondary-color);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Дополнительные контентные блоки */
.content-block {
    text-align: left;
    margin-bottom: 80px;
    padding: 64px 48px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(245, 252, 255, 0.96) 100%);
    border: 1px solid rgba(10, 31, 48, 0.05);
    box-shadow: 0 30px 60px rgba(10, 31, 48, 0.12);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transform: none;
    scroll-margin-top: 50px; /* Отступ для фиксированной навигации при прокрутке */
}

.content-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0% 0%, rgba(0, 207, 255, 0.18), transparent 60%);
    opacity: 0.8;
    z-index: -1;
}

.block-content {
    text-align: left;
}

.block-content .section-header {
    text-align: left;
    margin-bottom: 24px;
}

.block-content h2 {
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--dark-blue);
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.block-content p {
    font-size: 1.1rem;
    color: var(--secondary-color);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Стили калькулятора - элегантный минималистический дизайн */
.calculator-container {
    max-width: 640px;
    margin: 30px auto 0;
    padding: 36px 28px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.03),
        0 20px 60px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.calculator-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 0, 0, 0.08) 20%, 
        rgba(0, 0, 0, 0.08) 80%, 
        transparent 100%);
    pointer-events: none;
}

.service-selection h3,
.slider-container h3 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark-blue);
    margin-bottom: 16px;
    text-align: center;
    letter-spacing: -0.3px;
}

.service-options {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.service-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px 16px;
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.service-option::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.03);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.service-option:hover::after {
    width: 300px;
    height: 300px;
}

.service-option:hover {
    border-color: var(--accent-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--cyan-glow);
}

.service-option input[type="radio"] {
    margin-right: 10px;
    accent-color: var(--accent-color);
    transform: scale(1.1);
    cursor: pointer;
}

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

.service-option:has(input:checked) {
    border-color: var(--accent-color);
    background: rgba(0, 207, 255, 0.05);
    box-shadow: 0 2px 8px var(--cyan-glow);
}

.service-label {
    font-weight: 400;
    color: var(--text-color);
    transition: all 0.3s ease;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.min-info {
    margin-bottom: 24px;
    text-align: center;
}

.min-info span {
    font-size: 0.85rem;
    color: var(--secondary-color);
    background: transparent;
    padding: 6px 12px;
    border-radius: 6px;
    border: none;
    font-weight: 400;
    opacity: 0.7;
}

.slider-wrapper {
    margin-bottom: 18px;
    position: relative;
}

/* Дополнительные опции калькулятора */
.options-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 6px 0 14px;
}
.option-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.08);
    background: #fff;
}
.option-checkbox input { transform: scale(1.1); }
.option-hint { color: var(--secondary-color); margin-left: 4px; }

#users-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    /* Слои: 1) бегущие линии, 2) сине‑фиолетовый фейд, 3) базовый трек */
    background:
        repeating-linear-gradient(45deg, rgba(0, 207, 255, 0.25) 0 12px, rgba(0, 207, 255, 0.05) 12px 24px) 0 0/var(--p,0%) 100% no-repeat,
        linear-gradient(90deg, #00CFFF 0%, #00FFFF 100%) 0 0/var(--p,0%) 100% no-repeat,
        rgba(0, 0, 0, 0.05);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    margin-bottom: 24px;
    position: relative;
    animation: stripeShift 1.8s linear infinite;
}

/* Анимация перелива линий во время взаимодействия */
@keyframes stripeShift {
    from { background-position: 0 0, 0 0, 0 0; }
    to   { background-position: 48px 0, 0 0, 0 0; }
}

/* Анимация всегда активна; класс .active больше не требуется */

#users-slider::-webkit-slider-runnable-track {
    background: rgba(0, 0, 0, 0.05);
    height: 6px;
    border-radius: 3px;
    margin-top: 0;
}

#users-slider::-moz-range-track {
    background: rgba(0, 0, 0, 0.05);
    height: 6px;
    border-radius: 3px;
    border: none;
}

#users-slider::-moz-focus-outer {
    border: 0;
}

#users-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent-color);
    cursor: pointer;
    box-shadow: 
        0 2px 8px rgba(0, 207, 255, 0.4),
        0 0 0 1px rgba(0, 207, 255, 0.2),
        0 0 12px var(--cyan-glow);
    transition: all 0.2s ease;
    margin-top: calc((6px - 22px) / 2);
}

#users-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    background: var(--accent-color-bright);
    box-shadow: 
        0 4px 12px rgba(0, 207, 255, 0.6),
        0 0 0 1px rgba(0, 207, 255, 0.3),
        0 0 20px var(--cyan-glow);
}

#users-slider::-webkit-slider-thumb:active {
    transform: scale(0.95);
}

#users-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent-color);
    cursor: pointer;
    border: none;
    box-shadow: 
        0 2px 8px rgba(0, 207, 255, 0.4),
        0 0 0 1px rgba(0, 207, 255, 0.2),
        0 0 12px var(--cyan-glow);
    transition: all 0.2s ease;
}

#users-slider::-moz-range-thumb:hover {
    transform: scale(1.15);
    background: var(--accent-color-bright);
    box-shadow: 
        0 4px 12px rgba(0, 207, 255, 0.6),
        0 0 0 1px rgba(0, 207, 255, 0.3),
        0 0 20px var(--cyan-glow);
}

.slider-value {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--dark-blue);
    letter-spacing: -0.5px;
}

.slider-value span:first-child {
    font-weight: 500;
    letter-spacing: -0.3px;
}

.calculation-results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 16px;
}

.result-card {
    background: #ffffff;
    padding: 18px 16px;
    border-radius: 14px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.result-input input {
    width: 120px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.08);
    outline: none;
    text-align: center;
    font-size: 1rem;
    padding: 0 10px;
    background: #fff;
}

@media (max-width: 768px) {
    .result-input input { width: 100%; }
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.08), transparent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.result-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 8px 24px var(--cyan-glow),
        0 2px 6px rgba(0, 207, 255, 0.2);
    border-color: var(--accent-color);
}

.result-card h4 {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--secondary-color);
    margin-bottom: 16px;
    text-transform: none;
    letter-spacing: 0;
    opacity: 0.8;
}

.result-value {
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--dark-blue);
    line-height: 1;
    letter-spacing: -1px;
    transition: all 0.3s ease;
}

.result-value::after {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: rgba(0, 0, 0, 0.12);
    margin: 12px auto 0;
    transition: all 0.3s ease;
}

.result-card.updated .result-value {
    animation: subtleShine 0.6s ease;
}

.result-card.updated .result-value::after {
    animation: lineExpand 0.4s ease;
}

@keyframes subtleShine {
    0% { opacity: 1; }
    50% { opacity: 0.6; transform: scale(0.98); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes lineExpand {
    0% { width: 24px; opacity: 1; }
    50% { width: 40px; opacity: 0.4; }
    100% { width: 24px; opacity: 1; }
}

/* Информационные карточки */
.info-section {
    margin-bottom: 30px;
    scroll-margin-top: 50px; /* Отступ для фиксированной навигации при прокрутке */
}

.info-section .section-header {
    text-align: left;
    margin-bottom: 40px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.info-card {
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Flip card effect */
.flip-card {
    perspective: 1000px;
    position: relative;
    min-height: 220px;
    /* визуальные стили перенесены на вращаемый блок */
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.flip-card .flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: inherit;
    transform-style: preserve-3d;
    transition: transform 0.6s ease, box-shadow 0.3s ease;
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.flip-card:hover .flip-inner {
    transform: rotateY(180deg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Убираем любые эффекты инверсии цвета при наведении */
.flip-card:hover .flip-inner,
.flip-card:hover .flip-front,
.flip-card:hover .flip-back {
    color: var(--text-color) !important;
    filter: none !important;
    -webkit-filter: none !important;
    background: var(--background-color) !important;
}

.flip-card .flip-front,
.flip-card .flip-back {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 16px;
    background: var(--background-color);
    color: var(--text-color); /* Нормальный цвет текста, без инверсии */
}

.flip-card .flip-back {
    transform: rotateY(180deg);
    background: var(--background-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.flip-card .flip-front h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-blue);
}

.flip-card .flip-front p {
    display: none; /* Скрываем параграф на лицевой стороне, показываем только вопрос */
}

.flip-card .flip-back p {
    color: var(--secondary-color);
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
    text-align: center;
    padding: 0 10px;
}

.flip-card .flip-back h3 {
    display: none; /* Скрываем заголовок на задней стороне */
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.info-card h3 {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.info-card p {
    color: var(--secondary-color);
    line-height: 1.6;
}

/* Чат и FAQ секция */
.chat-faq-section {
    margin: 80px 0 40px 0;
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
    scroll-margin-top: 50px; /* Отступ для фиксированной навигации при прокрутке */
}

.chat-faq-section .section-header {
    text-align: left;
    margin-bottom: 48px;
}

.chat-faq-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.chat-container,
.faq-section {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Чат секция */
.chat-container {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.chat-messages {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chat-message {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.chat-message.user {
    justify-content: flex-end;
    flex-direction: row-reverse;
}

.chat-message.bot {
    justify-content: flex-start;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--dark-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.message-avatar.bot {
    background: linear-gradient(135deg, #0A1F30 0%, #1A3A50 100%);
}

.message-content {
    flex: 1;
    max-width: 70%;
}

.message-bubble {
    background: white;
    padding: 14px 18px;
    border-radius: 14px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    position: relative;
}

.message-bubble.bot {
    background: linear-gradient(135deg, #0A1F30 0%, #1A3A50 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), 0 0 15px var(--cyan-glow);
}

.message-bubble.bot::after {
    content: 'T';
    position: absolute;
    right: 10px;
    bottom: 10px;
    font-size: 0.65rem;
    font-weight: 700;
    opacity: 0.6;
}

.message-text {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    color: var(--text-color);
}

.message-bubble.bot .message-text {
    color: white;
}

.message-time {
    font-size: 0.7rem;
    color: var(--secondary-color);
    margin-top: 10px;
    opacity: 0.5;
    font-weight: 400;
}

.message-bubble.bot .message-time {
    color: white;
    opacity: 0.75;
}

/* FAQ Секция */
.faq-section {
    margin-top: 0;
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    opacity: 1 !important;
    visibility: visible !important;
}

.faq-section .section-title {
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--dark-blue);
    text-align: left;
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    min-height: 200px;
    width: 100%;
}

.faq-item {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    min-height: 60px;
    width: 100%;
}

.faq-item:hover {
    border-color: var(--accent-color);
    box-shadow: 0 2px 4px var(--cyan-glow);
}

.faq-item.active {
    border-color: var(--accent-color);
    box-shadow: 0 4px 8px var(--cyan-glow);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 400;
    color: #0A1F30;
    margin: 0;
    letter-spacing: -0.2px;
    line-height: 1.4;
    opacity: 1 !important;
    visibility: visible !important;
}

.faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
    position: relative;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: #0A1F30;
    border-radius: 1px;
}

.faq-icon::before {
    width: 16px;
    height: 2px;
}

.faq-icon::after {
    width: 2px;
    height: 16px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.faq-item.active .faq-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer-content {
    padding: 0 28px 24px;
    color: #4a4a4a;
    line-height: 1.7;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    font-size: 0.95rem;
}

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

/* Контактная секция */
.contact-section {
    text-align: center;
    padding: 40px 0;
    background: #f8f9fa;
    border-radius: 12px;
    margin: 0 0 20px;
    scroll-margin-top: 50px; /* Отступ для фиксированной навигации при прокрутке */
}

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

.contact-info p {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.social-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 16px;
    border: 1px solid var(--accent-color);
    border-radius: 6px;
}

.social-link:hover {
    background-color: var(--accent-color);
    color: var(--dark-blue);
    box-shadow: 0 0 15px var(--cyan-glow);
}

/* Подвал */
.footer {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    color: var(--secondary-color);
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-separator {
    color: var(--border-color);
    font-size: 0.85rem;
}

.footer-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
}

.footer-link:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.2s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #ffffff;
    margin: auto;
    padding: 0;
    border-radius: 16px;
    max-width: 700px;
    width: 90%;
    max-height: 85vh;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.15),
        0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease;
    overflow: hidden;
}

.modal-header {
    padding: 28px 32px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--dark-blue);
    letter-spacing: -0.5px;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 32px;
    color: var(--secondary-color);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border-radius: 6px;
}

.modal-close:hover {
    background: rgba(0, 207, 255, 0.1);
    color: var(--accent-color);
}

.modal-body {
    padding: 32px;
    overflow-y: auto;
    color: var(--text-color);
    line-height: 1.7;
}

.modal-body h3 {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--dark-blue);
    margin: 24px 0 12px;
}

.modal-body h3:first-child {
    margin-top: 0;
}

.modal-body p {
    margin-bottom: 16px;
    color: var(--text-color);
}

.modal-body ul, .modal-body ol {
    margin: 16px 0;
    padding-left: 24px;
}

.modal-body li {
    margin-bottom: 8px;
    color: var(--text-color);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Адаптивность модального окна */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .modal-header {
        padding: 24px 20px;
    }
    
    .modal-header h2 {
        font-size: 1.3rem;
    }
    
    .modal-body {
        padding: 24px 20px;
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 70px 0 90px;
    }
    
    .header-content {
        padding-left: 30px;
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
    
    .header-visual {
        max-width: none;
    }
    
    .main-title {
        font-size: 4rem;
    }
    
    .main-title::after {
        width: 80px;
        height: 2px;
    }
    
    .subtitle {
        font-size: 1.3rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }

    #hero-title {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }

    .hero-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .hero-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

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

    .hero-card {
        padding: 26px 24px;
    }

    .hero-card--secondary {
        max-width: 100%;
    }

    .hero-orb {
        display: none;
    }

    .flip-card .flip-front,
    .flip-card .flip-back {
        padding: 20px;
    }
    
    .flip-card {
        min-height: 200px;
    }
    
    .block-content h2 {
        font-size: 2rem;
    }
    
    .section-title,
    .blog-title,
    .block-content h2 {
        font-size: 2rem;
    }
    
    .block-content p {
        font-size: 1rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .info-card {
        padding: 20px;
    }
    
    .chat-faq-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .chat-container {
        padding: 24px;
    }
    
    .faq-section {
        padding: 24px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-header {
        margin-bottom: 32px;
        text-align: left;
    }
    
    .content-block {
        padding: 44px 28px;
        border-radius: 24px;
        margin-bottom: 60px;
    }
    
    .section-label {
        font-size: 0.7rem;
    }
    
    .faq-question {
        padding: 20px 24px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-answer-content {
        padding: 0 24px 20px;
    }
    
    .message-content {
        max-width: 85%;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .social-link {
        width: 200px;
        text-align: center;
    }
    
    .calculator-container {
        padding: 40px 28px;
        margin: 30px auto 0;
    }
    
    .service-options {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .service-option {
        width: 100%;
        justify-content: center;
    }
    
    .calculation-results {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .result-card {
        padding: 28px 24px;
    }
    
    .result-value {
        font-size: 1.8rem;
    }
    
    .slider-value {
        font-size: 1.5rem;
    }
    
    .blog-section {
        margin-bottom: 60px;
        padding: 48px 28px;
        border-radius: 28px;
        box-shadow: 0 24px 50px rgba(10, 31, 48, 0.12);
    }
    
    .blog-title {
        font-size: 2rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .blog-card-image {
        height: 200px;
    }
    
    .blog-overlay-title {
        font-size: 1.25rem;
    }
    
    .blog-card-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 60px 0 80px;
    }
    
    .header-content {
        padding-left: 20px;
        gap: 20px;
    }
    
    .main-title {
        font-size: 3rem;
    }
    
    .main-title::after {
        width: 60px;
        height: 2px;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .header-description {
        font-size: 1rem;
    }

    .hero-content h2 {
        font-size: 1.6rem;
    }

    #hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .blog-title {
        font-size: 1.75rem;
    }

    .blog-section {
        padding: 32px 18px;
        border-radius: 22px;
        box-shadow: 0 18px 40px rgba(10, 31, 48, 0.12);
    }
    
    .section-header {
        margin-bottom: 24px;
    }
    
    .section-label {
        font-size: 0.7rem;
    }
    
    .block-content h2 {
        font-size: 1.4rem;
    }

    .flip-card .flip-front,
    .flip-card .flip-back {
        padding: 18px;
    }

    .flip-card {
        min-height: 180px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .content-block {
        padding: 32px 18px;
        border-radius: 20px;
        margin-bottom: 48px;
    }

    .main-content {
        padding: 40px 0;
    }
    
    .blog-title {
        font-size: 1.75rem;
    }
    
    .blog-card-content {
        padding: 20px;
    }
    
    .blog-overlay-title {
        font-size: 1.1rem;
    }
    
    .blog-image-overlay {
        padding: 20px;
    }
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.content-block,
.info-card,
.contact-section {
    animation: fadeInUp 0.6s ease-out;
}

.content-block:nth-child(2) {
    animation-delay: 0.1s;
}

.content-block:nth-child(3) {
    animation-delay: 0.2s;
}

.content-block:nth-child(4) {
    animation-delay: 0.3s;
}

.info-card:nth-child(2) {
    animation-delay: 0.4s;
}

.info-card:nth-child(3) {
    animation-delay: 0.5s;
}
