:root {
    --color-primary: #1a56db;
    --color-primary-dark: #1e429f;
    --color-accent: #f59e0b;
    --color-accent-dark: #d97706;
    --color-text: #1f2937;
    --color-text-light: #6b7280;
    --color-bg: #ffffff;
    --color-bg-alt: #f3f4f6;
    --color-border: #e5e7eb;
    --radius: 12px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --container: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

ul {
    list-style: none;
}

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

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    color: var(--color-text);
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-light);
    margin-top: -36px;
    margin-bottom: 48px;
    font-size: 1.1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.btn-primary {
    background: var(--color-accent);
    color: #fff;
}

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

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

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

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--color-primary-dark);
}

.logo__icon {
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    color: #fff;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    font-weight: 500;
    color: var(--color-text);
    transition: color 0.2s;
}

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

.header__phone {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.header__phone a {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
}

.header__phone span {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    width: 28px;
    height: 3px;
    background: var(--color-text);
    border-radius: 2px;
}

/* Hero */
.hero {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26, 86, 219, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--color-text);
}

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

.hero__desc {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 32px;
    max-width: 540px;
}

.hero__features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.hero__feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    background: #fff;
    padding: 10px 16px;
    border-radius: 50px;
    box-shadow: var(--shadow);
}

.hero__feature::before {
    content: '✓';
    color: var(--color-accent);
    font-weight: 700;
}

.hero__image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #fff;
}

.hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Services */
.services {
    background: var(--color-bg);
}

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

.service-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.2s ease;
}

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

.service-card__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: var(--color-bg-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.service-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}

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

/* Pricing */
.pricing {
    background: var(--color-bg-alt);
}

.pricing__tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.pricing__tab {
    padding: 12px 24px;
    border: 1px solid var(--color-border);
    background: #fff;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.pricing__tab.active,
.pricing__tab:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.pricing__panel {
    display: none;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.pricing__panel.active {
    display: block;
}

.pricing__table {
    width: 100%;
    border-collapse: collapse;
}

.pricing__table th,
.pricing__table td {
    padding: 16px 24px;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.pricing__table th {
    background: var(--color-bg-alt);
    font-weight: 600;
    color: var(--color-text-light);
    text-transform: uppercase;
    font-size: 0.85rem;
}

.pricing__table tr:last-child td {
    border-bottom: none;
}

.pricing__table td:last-child {
    text-align: right;
    font-weight: 700;
    color: var(--color-primary);
    white-space: nowrap;
}

.pricing__table td:nth-child(2) {
    text-align: right;
    font-weight: 600;
}

.pricing__order {
    display: inline-block;
    padding: 8px 16px;
    background: var(--color-accent);
    color: #fff;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 0.2s;
}

.pricing__order:hover {
    background: var(--color-accent-dark);
}

.pricing__note {
    text-align: center;
    margin-top: 32px;
    color: var(--color-text-light);
}

/* Advantages */
.advantages {
    background: #fff;
}

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

.advantage-card {
    padding: 32px;
    background: var(--color-bg-alt);
    border-radius: var(--radius);
    transition: all 0.2s;
}

.advantage-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.advantage-card__icon {
    width: 56px;
    height: 56px;
    background: var(--color-primary);
    color: #fff;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.advantage-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.advantage-card__text {
    color: var(--color-text-light);
}

/* Steps */
.steps {
    background: linear-gradient(180deg, #f3f4f6 0%, #fff 100%);
}

.steps__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    counter-reset: step;
}

.step {
    position: relative;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    counter-increment: step;
}

.step::before {
    content: counter(step);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    background: var(--color-accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    box-shadow: var(--shadow);
}

.step__title {
    margin-top: 20px;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

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

/* Reviews */
.reviews {
    background: var(--color-bg);
}

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

.review-card {
    background: var(--color-bg-alt);
    border-radius: var(--radius);
    padding: 28px;
}

.review-card__stars {
    color: var(--color-accent);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.review-card__text {
    margin-bottom: 20px;
    font-style: italic;
    color: var(--color-text);
}

.review-card__author {
    font-weight: 700;
}

.review-card__date {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* CTA */
.cta {
    background: var(--color-primary);
    color: #fff;
    padding: 80px 0;
}

.cta__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta__title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta__desc {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta__form {
    background: #fff;
    color: var(--color-text);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

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

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form__privacy {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-top: 16px;
    line-height: 1.5;
}

.form__privacy a {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Footer */
.footer {
    background: #111827;
    color: #d1d5db;
    padding: 60px 0 24px;
}

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

.footer__title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer__links li {
    margin-bottom: 10px;
}

.footer__links a:hover {
    color: #fff;
}

.footer__phone {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    display: block;
    margin-bottom: 8px;
}

.footer__bottom {
    border-top: 1px solid #374151;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.9rem;
}

.footer__bottom a:hover {
    color: #fff;
}

/* Privacy page */
.privacy {
    padding: 60px 0;
}

.privacy h1 {
    font-size: 2rem;
    margin-bottom: 24px;
}

.privacy h2 {
    font-size: 1.4rem;
    margin-top: 32px;
    margin-bottom: 16px;
}

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

.privacy ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 16px;
    color: var(--color-text-light);
}

.privacy ul li {
    margin-bottom: 8px;
}

/* Districts */
.districts {
    background: var(--color-bg-alt);
}

.districts__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.districts__item {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 50px;
    padding: 12px 24px;
    font-weight: 500;
    color: var(--color-text);
    transition: all 0.2s;
}

.districts__item:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.districts__note {
    text-align: center;
    margin-top: 32px;
    color: var(--color-text-light);
}

/* Mobile */
@media (max-width: 992px) {
    .hero__inner,
    .cta__inner {
        grid-template-columns: 1fr;
    }

    .hero__title {
        font-size: 2.25rem;
    }

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

    .nav {
        display: none;
    }

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

@media (max-width: 640px) {
    .section {
        padding: 60px 0;
    }

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

    .hero {
        padding: 80px 0;
    }

    .hero__title {
        font-size: 1.85rem;
    }

    .hero__desc {
        font-size: 1rem;
    }

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

    .pricing__table th,
    .pricing__table td {
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    .cta__form {
        padding: 24px;
    }

    .header__phone a {
        font-size: 1rem;
    }

    .header__phone span {
        display: none;
    }
}

/* Mobile nav active state */
.nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    gap: 16px;
}
