/* ===== ПЕРЕМЕННЫЕ ===== */
:root {
    --accent: #6C5CE7;
    --accent-dark: #5849c4;
    --accent-light: #a29bfe;
    --text: #2D3436;
    --text-light: #636E72;
    --bg: #FFFFFF;
    --bg-soft: #F8F9FD;
    --border: #E8E8F0;
    --shadow-sm: 0 2px 8px rgba(108, 92, 231, 0.08);
    --shadow-md: 0 8px 24px rgba(108, 92, 231, 0.12);
    --shadow-lg: 0 16px 48px rgba(108, 92, 231, 0.18);
    --radius: 16px;
    --radius-sm: 10px;
}

/* ===== СБРОСЫ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

/* ===== КОНТЕЙНЕР ===== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== КНОПКИ ===== */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    font-family: inherit;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: translateY(0);
}

.btn--small {
    padding: 10px 20px;
    font-size: 14px;
}

.btn--large {
    padding: 16px 36px;
    font-size: 17px;
    border-radius: var(--radius);
}

/* ===== ШАПКА ===== */
.header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.5px;
}

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

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.15), transparent 70%);
    pointer-events: none;
}

.hero__inner {
    text-align: center;
    max-width: 700px;
    position: relative;
    z-index: 1;
}

.hero__title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    color: var(--text);
}

.hero__subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.5;
}

/* ===== УСЛУГИ ===== */
.services {
    padding: 100px 0;
    background: var(--bg);
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 60px;
    text-align: center;
}

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

.service-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.service-card__name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.service-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.service-card__price {
    font-size: 24px;
    font-weight: 800;
    color: var(--accent);
}

.service-card__duration {
    font-size: 14px;
    color: var(--text-light);
    background: var(--bg-soft);
    padding: 6px 12px;
    border-radius: 8px;
}

.loading {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-light);
    padding: 40px 0;
    font-size: 16px;
}

/* ===== КОНТАКТЫ ===== */
.contacts {
    padding: 100px 0;
    background: var(--bg-soft);
}

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

.contact-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.contact-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.contact-card__icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.contact-card__label {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.contact-card__value {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    transition: color 0.2s ease;
}

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

/* ===== СОЦСЕТИ ===== */
.socials {
    text-align: center;
}

.socials__title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
}

.socials__list {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 100px;
    background: #fff;
    border: 1px solid var(--border);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s ease;
    color: var(--text);
}

.social-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* ===== CTA ===== */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.cta__inner {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.cta__title {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.cta__text {
    font-size: 19px;
    margin-bottom: 40px;
    opacity: 0.9;
}

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

.cta .btn--large:hover {
    background: #f5f5ff;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

/* ===== ПОДВАЛ ===== */
.footer {
    padding: 40px 0;
    background: var(--text);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.footer__inner p {
    margin-bottom: 8px;
    font-size: 14px;
}

.footer__note {
    font-size: 13px;
    opacity: 0.7;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0 80px;
    }

    .hero__title {
        font-size: 36px;
        letter-spacing: -1px;
    }

    .hero__subtitle {
        font-size: 17px;
    }

    .section-title {
        font-size: 30px;
        margin-bottom: 40px;
    }

    .services,
    .contacts,
    .cta {
        padding: 60px 0;
    }

    .cta__title {
        font-size: 30px;
    }

    .cta__text {
        font-size: 16px;
    }

    .btn--large {
        padding: 14px 28px;
        font-size: 15px;
    }

    .header__inner {
        padding: 12px 16px;
    }

    .logo {
        font-size: 18px;
    }
}