/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* ===== Основные цвета ===== */
    --primary-blue: #2563EB;
    --dark-blue: #1E40AF;
    --darker-blue: #1E3A8A;
    
    /* ===== Нейтральные цвета ===== */
    --dark-gray: #1F2937;
    --white: #FFFFFF;
    --black: #000000;
    --gray: #f5f5f5;
    
    /* ===== Фоны ===== */
    --bg-hero: var(--primary-blue);
    --bg-header: var(--dark-gray);
    --bg-white: var(--white);
    --bg-gray: var(--gray);
    --bg-table-header: #C8D9FF;
    --bg-table-row: #F8F8F8;
    
    /* ===== Цвета текста ===== */
    --text-on-blue: var(--white);
    --text-on-white: var(--dark-gray);
    --text-color: var(--dark-gray);
    --text-secondary: #6c757d;
    --text-small-opacity: 0.9;
    
    /* ===== Типографика - Размеры шрифтов ===== */
    --font-size-h1: clamp(1.75rem, 4vw, 3rem); /* 28px - 48px */
    --font-size-h2: clamp(1.25rem, 3vw, 2rem); /* 24px - 32px */
    --font-size-h3: clamp(1.25rem, 2vw, 1.5rem); /* 20px - 24px */
    --font-size-body: 1rem; /* 16px */
    --font-size-body-large: 1.125rem; /* 18px */
    --font-size-small: 0.875rem; /* 14px */
    --font-size-cta: 1.125rem; /* 18px - 20px */

    
    /* ===== Типографика - Веса шрифтов ===== */
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* ===== Типографика - Межстрочные интервалы ===== */
    --line-height-h1: 1.2;
    --line-height-h2: 1.4;
    --line-height-h3: 1.3;
    --line-height-body: 1.6;
    --line-height-default: 1.6;
    
    /* ===== Отступы - Базовые значения ===== */
    --spacing-base: 8px;
    --spacing-xs: calc(var(--spacing-base) * 1); /* 8px */
    --spacing-sm: calc(var(--spacing-base) * 2); /* 16px */
    --spacing-md: calc(var(--spacing-base) * 3); /* 24px */
    --spacing-lg: calc(var(--spacing-base) * 4); /* 32px */
    --spacing-xl: calc(var(--spacing-base) * 5); /* 40px */
    --spacing-2xl: calc(var(--spacing-base) * 6); /* 48px */
    --spacing-3xl: calc(var(--spacing-base) * 8); /* 64px */
    --spacing-4xl: calc(var(--spacing-base) * 10); /* 80px */
    --spacing-5xl: calc(var(--spacing-base) * 15); /* 120px */
    
    /* ===== Отступы - Специфические ===== */
    --padding-section: 80px 0; /* Между секциями */
    --padding-section-large: 120px 0;
    --padding-section-mobile: 50px 0;
    --padding-hero: 80px 0 120px;
    --padding-hero-mobile: 60px 0;
    --padding-header: 1rem 0;
    --padding-card: 2.5rem; /* 32px - 40px */
    --padding-card-mobile: 2rem;
    --padding-cta: 16px 48px;
    --padding-container: 0 20px;
    --padding-container-mobile: 0 15px;
    
    /* ===== Размеры компонентов ===== */
    --header-height: 60px; /* 60px - 80px */
    --header-height-large: 80px;
    --card-min-height: 200px;
    --card-width: 280px;
    --card-height: 180px;
    --cta-height: 56px; /* 56px - 64px */
    --cta-height-large: 64px;
    --cta-min-width: 280px;
    --cta-max-width: 320px;
    
    /* ===== Скругления ===== */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-card: 12px;
    --radius-card-large: 16px;
    
    /* ===== Тени ===== */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-cta: 0 4px 12px rgba(0, 0, 0, 0.2);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.3);
    
    /* ===== Эффекты и переходы ===== */
    --transition: all 0.3s ease;
    --transition-fast: all 0.2s ease;
    --transition-slow: all 0.5s ease;
    --transform-hover-btn: translateY(-2px);
    --transform-hover-card: translateY(-4px);
    
    /* ===== Контейнер ===== */
    --container-max-width: 1200px;
    --container-max-width-large: 1400px;
    
    /* ===== Брейкпоинты ===== */
    --breakpoint-mobile: 768px;
    --breakpoint-tablet: 1024px;
    
    /* ===== Границы ===== */
    --border-color: #dee2e6;
    --border-radius: 5px;
    
    /* ===== Обратная совместимость (старые переменные) ===== */
    --primary-color: var(--primary-blue);
    --secondary-color: var(--text-secondary);
    --text-color: var(--text-on-white);
    --bg-white: var(--white);
    --shadow: var(--shadow-sm);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-white);
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Header ===== */
.header {
    background-color: var(--bg-header);
    padding: var(--padding-header);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: inline-block;
}

.logo__image {
    display: block;
    height: auto;
    max-height: 30px;
    width: auto;
}

.header__contacts {
    display: flex;
    gap: 2rem;
    color: var(--text-on-blue);
}

.contact-item {
    display: flex;
    flex-direction: column;
}

.contact-item__main {
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-medium);
    color: var(--text-on-blue);
}

.contact-item__sub {
    font-size: var(--font-size-small);
    color: var(--text-on-blue);
    opacity: 0.8;
    margin-top: 0.25rem;
}

/* ===== Main Content ===== */
.main {
    min-height: calc(100vh - 200px);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    padding: var(--padding-hero);
    overflow: hidden;
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(30, 64, 175, 0.9)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%231F2937" width="1200" height="600"/></svg>');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero__content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.hero__left {
    color: var(--text-on-blue);
}

.hero__title {
    font-size: var(--font-size-h1);
    font-weight: var(--font-weight-bold);
    margin-bottom: 1.5rem;
    line-height: var(--line-height-h1);
    color: var(--text-on-blue);
}

.hero__subtitle {
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-bold);
    margin-bottom: 2rem;
    line-height: var(--line-height-h2);
    color: var(--text-on-blue);
}

.hero__right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero__feature-cards {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
}

.hero-feature-card {
    background-color: var(--primary-blue);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    aspect-ratio: 1;
    gap: 10px;
    width: 100%;
    height: 100%;
    justify-content: center;
}

.hero-feature-card__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.hero-feature-card__icon svg {
    width: 100  ;
    height: 100%;
    color: var(--text-on-blue);
}

.hero-feature-card__label {
    position: absolute;
    font-size: 0.75rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-on-blue);
    bottom: 4px;
}

.hero-feature-card__text {
    color: var(--text-on-blue);
    font-size: var(--font-size-small);
    line-height: var(--line-height-small);
    font-weight: var(--font-weight-medium);
    margin: 0;
    text-align: center;
}

.hero__description {
    color: var(--text-on-blue);
    font-size: var(--font-size-body);
    line-height: var(--line-height-body);
    margin: 0;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

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

.btn--primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn--cta {
    background-color: var(--primary-blue);
    color: var(--text-on-blue);
    padding: var(--padding-cta);
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--font-size-cta);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    text-transform: uppercase;
    box-shadow: var(--shadow-md);
}

.btn--cta:hover {
    background-color: var(--darker-blue);
    transform: var(--transform-hover-btn);
    box-shadow: var(--shadow-cta);
}

/* ===== Sections ===== */
section {
    padding: var(--padding-section);
}

.section__title {
    font-size: var(--font-size-h1);
    font-weight: var(--font-weight-bold);
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-on-white);
}

/* ===== Services Section ===== */
.services {
    background-color: var(--bg-gray);
    padding: var(--padding-section);
}

.services__content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
}

.services__text {
    max-width: 600px;
    width: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.services__title {
    font-size: var(--font-size-h1);
    font-weight: var(--font-weight-bold);
    color: var(--text-on-white);
    margin-bottom: 1.5rem;
    line-height: var(--line-height-h1);
}

.services__description {
    font-size: var(--font-size-h3);
    color: var(--text-on-white);
    line-height: var(--line-height-h3);
}

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

.service-card {
    background-color: var(--bg-white);
    padding: 1.5rem;
    border: 1px solid var(--black);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    aspect-ratio: 1;
    justify-content: center;
    min-height: 150px;
}

.service-card__icon {
    width: 48px;
    height: 48px;
    color: var(--black);
    flex-shrink: 0;
}

.service-card__icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--black);
}

.service-card__text {
    color: var(--black);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-normal);
    margin: 0;
    line-height: 1.4;
}

/* ===== Pricing Section ===== */
.pricing {
    background-color: var(--bg-white);
    padding: var(--padding-section);
}

.pricing__section {
    margin-bottom: 4rem;
}

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

.pricing__section-title {
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-bold);
    color: var(--text-on-white);
    margin-bottom: 2rem;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-white);
}

.pricing-table thead {
    background-color: var(--bg-table-header);
}

.pricing-table th {
    padding: 1rem;
    text-align: left;
    font-weight: var(--font-weight-bold);
    color: var(--text-on-white);
    text-transform: uppercase;
    font-size: var(--font-size-small);
}

.pricing-table tbody tr:nth-child(even) {
    background-color: var(--bg-table-row);
}

.pricing-table tbody tr:nth-child(odd) {
    background-color: var(--bg-white);
}

.pricing-table td {
    padding: 1rem;
    color: var(--text-on-white);
    font-size: var(--font-size-body);
}

/* ===== How-to Section ===== */
.how-to {
    background-color: var(--bg-white);
    padding: var(--padding-section);
    background-color: var(--bg-gray);
}

.how-to__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.how-to-card {
    background-color: var(--bg-white);
    padding: var(--padding-card);
    border-radius: var(--radius-card-large);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.how-to-card__title {
    font-size: var(--font-size-h3);
    font-weight: var(--font-weight-bold);
    color: var(--text-on-white);
    margin-bottom: 1rem;
}

.how-to-card__text {
    font-size: var(--font-size-body);
    color: var(--text-on-white);
    line-height: var(--line-height-body);
    margin: 0;
}

/* ===== Footer ===== */
.footer {
    background-color: var(--black);
    color: var(--text-on-blue);
    padding: 3rem 0;
}

.footer__content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.footer__left,
.footer__right {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__phone,
.footer__email,
.footer__address,
.footer__copyright {
    color: var(--text-on-blue);
    font-size: var(--font-size-body);
}

.footer__copyright {
    opacity: 0.8;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero__content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

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

@media (max-width: 768px) {
    .header__content {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .header__contacts {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .hero {
        padding: var(--padding-hero-mobile);
        min-height: auto;
    }

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

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1.25rem;
    }

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

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

    .how-to__cards {
        grid-template-columns: 1fr;
    }

    .footer__content {
        flex-direction: column;
        gap: 2rem;
    }

    .section__title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    section {
        padding: 50px 0;
    }

    .hero {
        padding: 60px 0;
    }
}

