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

html, body, .header--mobile, .header-mobile__container {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-sizing: border-box;
}

body {
    background: linear-gradient(120deg, #e6ecf5 0%, #f7fafd 100%);
    min-height: 100vh;
    font-family: 'Inter', Arial, sans-serif;
    margin: 0;
    color: #2d3540;
}

/* Контейнер */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Градиентный текст */
.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn--primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn--primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.6);
}

.btn--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn--primary:hover::before {
    left: 100%;
}

.btn--secondary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    backdrop-filter: none;
}

.btn--secondary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    margin-top: 0 !important;
    padding-top: 0 !important;
    background: #fff !important;
    backdrop-filter: none !important;
    box-shadow: 0 4px 32px 0 rgba(106,137,231,0.10), 0 1.5px 16px 0 #764ba244;
    border-radius: 0 0 24px 24px;
    transition: background 0.3s, box-shadow 0.3s;
    min-height: 88px;
}
.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 16px;
    padding-bottom: 16px;
}
.header__logo {
    margin-right: 18px;
}
.logo__icon svg {
    width: 44px;
    height: 44px;
    stroke: url(#logo-gradient);
    fill: none;
    stroke-width: 2.5;
    opacity: 1;
    filter: drop-shadow(0 2px 8px #6a89e733);
}
.logo__text {
    font-size: 2rem;
    font-weight: 700;
    margin-left: 12px;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #6a89e7 0%, #8f5be8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 8px #6a89e733;
}
.nav__menu {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav__menu li:first-child { margin-left: 24px; }
.nav__menu li:last-child { margin-right: 24px; }
.nav__messengers {
    display: flex;
    align-items: center;
    margin-left: 18px;
    gap: 14px;
}
.nav__menu li a {
    color: #222;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}
.nav__menu li a:hover, .nav__menu li a.active {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}
@media (max-width: 900px) {
    .nav__menu { gap: 12px; }
    .nav__menu li:first-child { margin-left: 8px; }
    .nav__menu li:last-child { margin-right: 8px; }
    .header__logo { margin-right: 8px; }
    .nav__messengers { margin-left: 8px; }
    .nav__menu li a { font-size: 16px; }
    .header__container { padding-left: 10px; padding-right: 10px; padding-top: 6px; padding-bottom: 6px; }
}
@media (max-width: 700px) {
    .nav__menu {
        flex-direction: column;
        background: #fff;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        z-index: 100;
        gap: 0;
        display: none;
        box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    }
    .nav__menu.active { display: flex; }
    .nav__menu li a { padding: 16px 20px; border-radius: 0; }
}
.header__contacts {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 18px;
    flex-wrap: nowrap;
    margin: 0 !important;
    padding: 0 !important;
}
.header__contact {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 50%;
    box-shadow: 0 2px 8px 0 rgba(106,137,231,0.10);
    transition: box-shadow 0.2s, border 0.2s, transform 0.2s;
    background: transparent;
    border: none;
    overflow: hidden;
}
.header__contact svg {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: block;
    background: none;
    margin: 0;
    padding: 0;
}
.header__contact:hover {
    box-shadow: 0 0 0 4px #6a89e733, 0 2px 12px #8f5be855;
    transform: translateY(-2px) scale(1.07);
}
.header__contact a.telegram {
    border-color: #29b6f6;
}
.header__contact a.whatsapp {
    border-color: #25d366;
}
@media (max-width: 1100px) {
    .header__container {
        min-height: 54px;
        padding: 0 8px;
    }
    .logo__icon svg {
        width: 32px;
        height: 32px;
    }
    .logo__text {
        font-size: 1.2rem;
        margin-left: 6px;
    }
    .nav__menu {
        font-size: 0.85rem;
        gap: 16px;
    }
    .header__contact a {
        width: 24px;
        height: 24px;
        min-width: 24px;
        min-height: 24px;
    }
    .header__contact svg {
        width: 14px;
        height: 14px;
    }
}
@media (max-width: 700px) {
    .header__container {
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
        padding: 8px 2px;
        gap: 8px;
    }
    .nav__menu {
        justify-content: center;
        width: 100%;
        font-size: 0.7rem;
        gap: 8px;
        flex-direction: row !important;
    }
    .header__contact {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center;
        gap: 10px !important;
    }
    .header__contact a {
        width: 20px;
        height: 20px;
        min-width: 20px;
        min-height: 20px;
    }
    .header__contact svg {
        width: 10px;
        height: 10px;
    }
}

.nav__logo .logo-text {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.nav__logo .logo-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav__logo:hover .logo-text::after {
    transform: scaleX(1);
}

.nav__phone {
    text-decoration: none;
    color: #667eea;
    font-weight: 600;
    font-size: 18px;
    padding: 10px 20px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav__phone:hover {
    background: rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: url('../img/hero-bg.svg') center/cover;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero__particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

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

.hero__title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    font-weight: 400;
}

.hero__features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 45px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.feature:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(10px);
}

.feature__icon {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.feature span {
    color: white;
    font-weight: 500;
    font-size: 16px;
}

.hero__buttons {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.hero__image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero__card {
    position: relative;
    width: 350px;
    height: 220px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.hero__card:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) scale(1.1);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.4);
}

.hero__card--big {
    width: 440px;
    height: 280px;
    margin: 0 auto;
    box-shadow: 0 25px 60px rgba(102,126,234,0.25);
}

.license-img {
    width: 95%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    background: #fff;
    display: block;
    margin: 0 auto;
}

.card-glow {
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
    border-radius: 30px;
    z-index: -1;
    filter: blur(30px);
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    0% { opacity: 0.5; transform: scale(1); }
    100% { opacity: 0.8; transform: scale(1.1); }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-subtitle {
    font-size: 20px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Categories Section */
.categories {
    padding: 120px 0;
    background: white;
    position: relative;
}

.categories::before {
    display: none !important;
}

.categories__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
    justify-content: center;
    align-items: stretch;
}

.category-card {
    min-height: 370px;
    background: white;
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.category-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.category-card__icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 0;
    margin-bottom: 20px;
}

.category-card__icon img {
    width: 240px;
    height: 240px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 12px rgba(102,126,234,0.08);
    display: block;
    margin: 0 auto;
}

.category-card__title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
    transition: color 0.3s ease;
}

.category-card:hover .category-card__title {
    color: #667eea;
}

.category-card__desc {
    flex: 1 1 auto;
    min-height: 60px;
    margin-bottom: 18px;
    color: #666;
    line-height: 1.6;
    font-size: 16px;
}

.category-card__price {
    min-height: 38px;
    margin-bottom: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    color: #667eea;
    text-shadow: 0 2px 10px rgba(102, 126, 234, 0.2);
}

.category-card__btn {
    margin-top: auto;
    width: 100%;
    padding: 18px;
    font-size: 16px;
    border-radius: 15px;
}

/* Advantages Section */
.advantages {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8ecff 100%);
    position: relative;
}

.advantages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23667eea" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.advantages__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
}

.advantage-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(102,126,234,0.10);
    padding: 40px 30px 30px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 320px;
    max-width: 350px;
    min-height: 260px;
    transition: box-shadow 0.3s, transform 0.3s;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.advantage-card:hover::before {
    opacity: 1;
}

.advantage-card:hover {
    box-shadow: 0 16px 48px rgba(102,126,234,0.18);
    transform: translateY(-8px) scale(1.03);
}

.advantage-card__icon {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-card__icon svg {
    width: 64px;
    height: 64px;
    display: block;
}

.advantage-card__text {
    font-size: 18px;
    color: #333;
    text-align: center;
    font-weight: 500;
}

/* Reviews Section */
.reviews {
    padding: 120px 0;
    background: white;
    position: relative;
}

.reviews::before {
    display: none !important;
}

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

.review-card {
    background: white;
    border-radius: 25px;
    padding: 40px 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 80px;
    color: rgba(102, 126, 234, 0.1);
    font-family: serif;
    line-height: 1;
}

.review-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.review-card__header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.review-card__avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #667eea;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

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

.review-card__name {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.review-card__rating {
    display: flex;
    gap: 3px;
}

.star {
    color: #ffd700;
    font-size: 18px;
    text-shadow: 0 2px 5px rgba(255, 215, 0, 0.3);
}

.review-card__text {
    color: #666;
    line-height: 1.7;
    font-style: italic;
    font-size: 16px;
    position: relative;
    z-index: 2;
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="contact-pattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="2" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23contact-pattern)"/></svg>');
}

.contact__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    position: relative;
    z-index: 2;
}

.contact__title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 25px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.contact__subtitle {
    font-size: 20px;
    margin-bottom: 50px;
    opacity: 0.9;
    line-height: 1.6;
}

.contact__methods {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact__method {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    text-decoration: none;
    color: white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.contact__method::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.contact__method:hover::before {
    left: 100%;
}

.contact__method:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(15px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.contact__method-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.contact__method:hover .contact__method-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.3);
}

.contact__method-icon svg {
    width: 30px;
    height: 30px;
}

.contact__method-info {
    display: flex;
    flex-direction: column;
}

.contact__method-name {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 5px;
}

.contact__method-value {
    opacity: 0.8;
    font-size: 16px;
}

/* Forms */
.form {
    background: white;
    border-radius: 25px;
    padding: 50px 40px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.form__title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 35px;
    text-align: center;
    color: #333;
}

.form__group {
    margin-bottom: 25px;
    position: relative;
}

.form__input,
.form__select,
.form__textarea {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid #e1e5e9;
    border-radius: 15px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
    position: relative;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.form__btn {
    width: 100%;
    padding: 18px;
    font-size: 18px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.form__btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.form__btn:hover::before {
    left: 100%;
}

.form__btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #23243a 0%, #2d2e4a 100%);
    color: #fff;
    padding: 70px 0 30px;
    position: relative;
    border-top: 4px solid #667eea;
}

.footer__container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 18px;
}

.footer__desc {
    color: #b3b3c6;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 320px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 180px;
}

.footer__link {
    color: #b3b3c6;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.2s, transform 0.2s;
    position: relative;
    padding-left: 18px;
}

.footer__link::before {
    content: '\2192';
    position: absolute;
    left: 0;
    color: #667eea;
    transition: transform 0.2s;
}

.footer__link:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer__link:hover::before {
    transform: translateX(5px);
}

.footer__contacts {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 10px;
}

.footer__contact {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #23243a;
    box-shadow: 0 2px 8px rgba(102,126,234,0.08);
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
    margin-left: 2px;
    border: 1.5px solid #667eea;
}

.footer__contact:hover {
    background: #667eea;
    transform: translateY(-2px) scale(1.12);
    box-shadow: 0 4px 16px rgba(102,126,234,0.12);
}

.footer__contact svg {
    display: block;
}

.footer__bottom {
    border-top: 1px solid #35365a;
    padding-top: 30px;
    text-align: center;
    color: #b3b3c6;
    font-size: 15px;
    margin-top: 40px;
}

@media (max-width: 900px) {
    .footer__container {
        flex-direction: column;
        gap: 30px;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .header__container {
        min-height: 64px;
        padding: 0 10px;
    }
    .logo__text {
        font-size: 20px;
        margin-left: 6px;
    }
    .header__contact {
        width: 32px;
        height: 32px;
    }
    .footer {
        padding: 40px 0 20px;
    }
    .footer__container {
        gap: 18px;
    }
    .footer__logo {
        font-size: 20px;
    }
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
}

.modal__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: white;
    border-radius: 25px;
    padding: 50px 40px;
    max-width: 550px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    position: relative;
    transition: transform 0.3s ease;
}

.modal__close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal__close:hover {
    color: #333;
    background: #f5f5f5;
    transform: rotate(90deg);
}

.modal__title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 35px;
    text-align: center;
    color: #333;
}

/* Notifications */
.notification {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 3000;
    max-width: 450px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.notification--success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-radius: 15px;
    padding: 25px;
}

.notification__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.notification__close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification__close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav__menu {
        display: none;
    }
    
    .nav__burger {
        display: flex;
    }
    
    .hero__content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    
    .hero__title {
        font-size: 42px;
    }
    
    .hero__buttons {
        justify-content: center;
    }
    
    .hero__card {
        width: 280px;
        height: 180px;
    }
    
    .contact__content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .footer__container {
        flex-direction: column;
        gap: 30px;
        align-items: flex-start;
    }
    
    .modal__content {
        padding: 30px 25px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .categories__grid {
        grid-template-columns: 1fr;
    }
    
    .advantages__grid {
        grid-template-columns: 1fr;
    }
    
    .reviews__slider {
        grid-template-columns: 1fr;
    }
    
    .hero__buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .category-card__icon {
        justify-content: center;
        margin-left: 0;
    }
    
    .header__container {
        min-height: 64px;
        padding: 0 10px;
    }
    
    .logo__text {
        font-size: 20px;
        margin-left: 6px;
    }
    
    .header__contact {
        width: 32px;
        height: 32px;
    }
    
    body {
        padding-top: 64px;
    }
    
    .license-card__img {
        max-width: 98vw;
        padding: 4px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero__title {
        font-size: 32px;
    }
    
    .hero__subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .category-card,
    .advantage-card,
    .review-card {
        padding: 30px 20px;
    }
    
    .form {
        padding: 30px 25px;
    }
    
    .modal__content {
        padding: 25px 20px;
    }
}

/* Documents Section */
.documents {
    padding: 120px 0;
    background: #f8f9ff;
    position: relative;
}

.documents__grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 30px;
    margin-bottom: 30px;
}

.document-card {
    display: inline-block;
    background: linear-gradient(135deg, #f8faff 60%, #e8ecff 100%);
    border-radius: 22px;
    box-shadow: 0 8px 40px rgba(102,126,234,0.10), 0 1.5px 8px rgba(102,126,234,0.06);
    padding: 18px 18px 10px 18px;
    margin: 0;
    text-align: center;
    border: 2px solid;
    border-image: linear-gradient(135deg, #667eea 0%, #f093fb 100%) 1;
    transition: box-shadow 0.4s, transform 0.4s, border-color 0.4s;
    animation: docFadeIn 0.7s cubic-bezier(0.4,0,0.2,1);
}
.document-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 60px rgba(102,126,234,0.18), 0 2px 12px rgba(102,126,234,0.10);
    border-color: #764ba2;
}

@keyframes docFadeIn {
    0% { opacity: 0; transform: translateY(30px) scale(0.98); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.document-card__img {
    display: block;
    max-width: 900px;
    max-height: 700px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
    margin: 0 auto;
    box-shadow: 0 2px 16px rgba(102,126,234,0.10);
    background: #fff;
    border: 1.5px solid #e3e8f7;
    transition: box-shadow 0.3s, border-color 0.3s;
}
.document-card:hover .document-card__img {
    box-shadow: 0 8px 32px rgba(102,126,234,0.18);
    border-color: #667eea;
}

.document-card__caption {
    font-size: 17px;
    color: #764ba2;
    font-weight: 600;
    margin: 14px 0 6px 0;
    letter-spacing: 0.2px;
    background: linear-gradient(90deg, #667eea 0%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    transition: color 0.3s;
}

.licenses {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.licenses::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.licenses__container {
    position: relative;
    z-index: 2;
}

.licenses__title {
    text-align: center;
    color: white;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.licenses__subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

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

.license-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.license-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.license-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

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

.license-card__icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.license-card__icon svg {
    width: 30px;
    height: 30px;
    fill: white;
}

.license-card__title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
}

.license-card__desc {
    color: #666;
    line-height: 1.6;
    font-size: 16px;
}

.licenses__info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 40px;
}

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

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.info-item__icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-item__icon svg {
    width: 25px;
    height: 25px;
    fill: white;
}

.info-item__content h4 {
    color: white;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.info-item__content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    font-size: 15px;
}

@media (max-width: 768px) {
    .licenses {
        padding: 60px 0;
    }
    
    .licenses__title {
        font-size: 36px;
    }
    
    .licenses__subtitle {
        font-size: 18px;
        margin-bottom: 40px;
    }
    
    .licenses__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .license-card {
        padding: 25px;
    }
    
    .licenses__info {
        padding: 30px 20px;
    }
    
    .licenses__info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .info-item {
        padding: 15px;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 28px;
    color: #667eea;
    text-decoration: none;
}
.logo__icon {
    display: flex;
    align-items: center;
}
.logo__text {
    font-family: 'Open Sans', Arial, sans-serif;
    font-weight: 900;
    font-size: 30px;
    color: #667eea;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-left: 10px;
}

.license-card__img {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 18px auto;
    display: block;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(102,126,234,0.16);
    object-fit: contain;
    background: #f7f7fa;
    padding: 16px;
}

.licenses {
    padding-bottom: 30px;
}

#categories, .categories {
    margin-top: 30px !important;
}

.reviews::before {
    display: none !important;
}

.logo__icon svg.st11 {
    stroke: url(#logo-gradient);
    stroke-width: 2.5;
    fill: none;
    transition: stroke 0.3s;
}
.logo__icon:hover svg.st11 {
    stroke: #764ba2;
}

/* SVG-иконки категорий */
.category-card__icon svg {
    width: 56px;
    height: 56px;
    stroke: url(#logo-gradient);
    stroke-width: 2.5;
    fill: none;
    display: block;
    margin: 0 auto;
    transition: stroke 0.3s;
}
.category-card__icon svg:hover {
    stroke: #764ba2;
}

.main,
main {
    margin-top: 88px;
}

.docs-list-section {
    position: relative;
    padding: 90px 0 70px 0;
    overflow: hidden;
}
.docs-list-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(ellipse at 60% 20%, #b3a6e6 0%, #667eea 40%, #764ba2 100%);
    opacity: 0.25;
    filter: blur(32px) saturate(1.2);
    pointer-events: none;
}
.glass-effect {
    background: rgba(30, 32, 48, 0.82);
    border-radius: 28px;
    box-shadow: 0 8px 32px rgba(102,126,234,0.18);
    padding: 56px 40px 40px 40px;
    max-width: 650px;
    margin: 0 auto;
    color: #fff;
    text-align: center;
    backdrop-filter: blur(12px) saturate(1.2);
    border: 1.5px solid rgba(255,255,255,0.12);
    position: relative;
    z-index: 1;
}
.docs-list-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 10px;
}
.docs-list-title-icon svg {
    width: 48px;
    height: 48px;
    display: block;
    filter: drop-shadow(0 2px 8px #667eea44);
}
.docs-list-title {
    font-size: 44px;
    font-weight: 900;
    letter-spacing: 1.5px;
    background: linear-gradient(135deg, #fff 60%, #b3a6e6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}
.docs-list-subtitle {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 32px;
    letter-spacing: 0.5px;
    color: #e0e0e0;
}
.docs-list {
    text-align: left;
    margin: 0 auto 28px auto;
    padding-left: 0;
    font-size: 18px;
    line-height: 1.8;
    color: #fff;
    counter-reset: docnum;
    max-width: 500px;
}
.docs-list li {
    margin-bottom: 18px;
    position: relative;
    padding-left: 0;
    list-style: none;
    display: flex;
    align-items: flex-start;
    opacity: 0;
    transform: translateY(30px);
    animation: docsListFadeIn 0.7s cubic-bezier(.4,2,.6,1) forwards;
}
.docs-list li:nth-child(1) { animation-delay: 0.1s; }
.docs-list li:nth-child(2) { animation-delay: 0.2s; }
.docs-list li:nth-child(3) { animation-delay: 0.3s; }
.docs-list li:nth-child(4) { animation-delay: 0.4s; }
.docs-list li:nth-child(5) { animation-delay: 0.5s; }
.docs-list-li-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    margin-right: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 2px 8px #667eea33;
}
.docs-list-note {
    font-size: 16px;
    color: #b3a6e6;
    margin-top: 22px;
    text-align: center;
}
@keyframes docsListFadeIn {
    to {
        opacity: 1;
        transform: none;
    }
}
@media (max-width: 700px) {
    .glass-effect {
        padding: 28px 8px 18px 8px;
    }
    .docs-list-title {
        font-size: 28px;
    }
    .docs-list-title-row {
        gap: 10px;
    }
    .docs-list {
        font-size: 16px;
    }
}

.docs-list-modern {
    max-width: none;
    min-height: 0;
    width: 100%;
    margin: 0;
    padding: 72px 48px 56px 48px;
    border-radius: 32px;
    box-shadow: 0 12px 48px 0 rgba(102,126,234,0.22);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.docs-list-title-row {
    gap: 28px;
}
.animated-doc-icon {
    animation: docIconAppear 1.1s cubic-bezier(.4,2,.6,1) both, docIconSwing 2.5s 1.1s infinite ease-in-out alternate;
}
.docs-list-title-icon svg {
    width: 64px;
    height: 64px;
}
@keyframes docIconAppear {
    0% { opacity: 0; transform: scale(0.7) translateY(-30px); }
    100% { opacity: 1; transform: none; }
}
@keyframes docIconSwing {
    0% { transform: rotate(-4deg); }
    100% { transform: rotate(4deg); }
}
.docs-list {
    align-items: flex-start;
    padding-left: 0;
    font-size: 19px;
    line-height: 2.1;
}
.docs-list-li-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    font-size: 22px;
    margin-right: 18px;
}
@media (max-width: 700px) {
    .docs-list-modern {
        padding: 16px 2vw 12px 2vw;
        border-radius: 18px;
    }
    .docs-list-title-row {
        gap: 10px;
    }
    .docs-list-title-icon svg {
        width: 38px;
        height: 38px;
    }
    .docs-list {
        font-size: 15px;
        line-height: 1.7;
    }
    .docs-list-li-icon {
        width: 24px;
        height: 24px;
        font-size: 15px;
        margin-right: 8px;
    }
}

.achievements-section {
    width: 100%;
    background: linear-gradient(135deg, #f7f8fd 0%, #e9e6f7 100%);
    padding: 80px 0 80px 0;
    margin: 0;
    animation: fadeSlideIn 1.1s cubic-bezier(.4,2,.6,1) both;
}
@keyframes fadeSlideIn {
    0% { opacity: 0; transform: translateY(60px) scale(0.98); }
    100% { opacity: 1; transform: none; }
}
.achievements-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 64px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}
.achievements-img-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 320px;
    max-width: 480px;
    flex: 1 1 440px;
    animation: fadeUpImg 1.2s cubic-bezier(.4,2,.6,1) both;
}
@keyframes fadeUpImg {
    0% { opacity: 0; transform: translateY(40px) scale(0.92); }
    100% { opacity: 1; transform: none; }
}
.achievements-img {
    width: 420px;
    height: 320px;
    max-width: 100%;
    border-radius: 24px;
    box-shadow: 0 12px 48px rgba(102,126,234,0.18);
    background: #fff;
    object-fit: cover;
    margin-bottom: 0;
    transition: transform 0.4s cubic-bezier(.4,2,.6,1), box-shadow 0.3s;
    will-change: transform;
    display: block;
}
.achievements-img-block:hover .achievements-img {
    transform: scale(1.045) rotate(-1.5deg);
    box-shadow: 0 20px 64px 0 rgba(102,126,234,0.22);
}
.achievements-img-caption {
    font-size: 16px;
    color: #888;
    margin-top: 2px;
    text-align: center;
}
.achievements-info-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 320px;
    flex: 1 1 400px;
}
.achievements-title {
    font-size: 38px;
    font-weight: 900;
    margin-bottom: 38px;
    text-align: center;
    color: #222;
    letter-spacing: 0.5px;
}
.achievements-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 36px;
    margin-bottom: 38px;
    width: 100%;
    max-width: 480px;
}
.achievement-card {
    background: rgba(255,255,255,0.92);
    border-radius: 22px;
    box-shadow: 0 6px 32px 0 rgba(102,126,234,0.13);
    padding: 32px 18px 24px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 160px;
    min-height: 110px;
    height: 100%;
    transition: box-shadow 0.3s, transform 0.3s, border 0.3s;
    animation: fadeUp 0.7s cubic-bezier(.4,2,.6,1) both;
    border: 2px solid transparent;
    position: relative;
}
.achievement-card:nth-child(1) { animation-delay: 0.1s; }
.achievement-card:nth-child(2) { animation-delay: 0.2s; }
.achievement-card:nth-child(3) { animation-delay: 0.3s; }
.achievement-card:nth-child(4) { animation-delay: 0.4s; }
.achievement-card:hover {
    box-shadow: 0 16px 48px 0 rgba(102,126,234,0.18);
    transform: translateY(-6px) scale(1.045);
    border: 2px solid;
    border-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%) 1;
    z-index: 2;
}
.achievement-value {
    font-size: 36px;
    font-weight: 900;
    color: #667eea;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px #667eea22;
}
.achievement-label {
    font-size: 17px;
    color: #444;
    text-align: center;
    font-weight: 500;
}
.achievements-btn {
    margin-top: 22px;
    min-width: 240px;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 2px 16px #667eea22;
    transition: box-shadow 0.3s, background 0.3s;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}
.achievements-btn:hover {
    box-shadow: 0 4px 32px #764ba2aa, 0 0 0 4px #fff2;
    background: linear-gradient(90deg, #764ba2 0%, #667eea 100%);
}
@media (max-width: 900px) {
    .achievements-container {
        flex-direction: column;
        gap: 38px;
    }
    .achievements-info-block {
        min-width: 0;
        width: 100%;
    }
    .achievements-cards {
        max-width: 100%;
        gap: 18px 12px;
    }
}
@media (max-width: 600px) {
    .achievements-section {
        padding: 28px 0 28px 0;
    }
    .achievements-title {
        font-size: 22px;
        margin-bottom: 16px;
    }
    .achievements-cards {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 18px;
    }
    .achievement-card {
        min-width: 0;
        padding: 14px 4px 10px 4px;
        min-height: 70px;
    }
    .achievements-img {
        width: 98vw;
        height: auto;
        border-radius: 12px;
    }
}

.achievements-outer {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.achievements-title {
    font-size: 38px;
    font-weight: 900;
    margin-bottom: 48px;
    text-align: center;
    color: #222;
    letter-spacing: 0.5px;
}
.achievements-flex {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 64px;
    width: 100%;
}
.achievements-img-card {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 8px 32px rgba(102,126,234,0.13);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 520px;
    height: 370px;
    min-width: 340px;
    max-width: 600px;
    min-height: 240px;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
    animation: fadeUpImg 1.2s cubic-bezier(.4,2,.6,1) both;
    margin-left: 100px;
}
@media (max-width: 1100px) {
    .achievements-img-card {
        width: 98vw;
        max-width: 480px;
        min-width: 0;
        height: auto;
        aspect-ratio: 1.3/1;
        min-height: 0;
        margin-left: 0;
    }
}
.achievements-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 22px;
    display: block;
}
.achievements-img-card:hover {
    box-shadow: 0 20px 64px 0 rgba(102,126,234,0.22);
    transform: scale(1.03) rotate(-1.5deg);
}
.achievements-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 1 500px;
    min-width: 340px;
}
.achievements-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 36px;
    margin-bottom: 38px;
    width: 100%;
    max-width: 520px;
    height: 370px;
    align-items: stretch;
}
.achievement-card {
    background: rgba(255,255,255,0.92);
    border-radius: 22px;
    box-shadow: 0 6px 32px 0 rgba(102,126,234,0.13);
    padding: 32px 18px 24px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 160px;
    min-height: 110px;
    height: 100%;
    transition: box-shadow 0.3s, transform 0.3s, border 0.3s;
    animation: fadeUp 0.7s cubic-bezier(.4,2,.6,1) both;
    border: 2px solid transparent;
    position: relative;
}
@media (max-width: 1100px) {
    .achievements-cards-grid {
        max-width: 100%;
        gap: 18px 12px;
        height: auto;
    }
    .achievement-card {
        height: auto;
    }
}
.achievement-card:hover {
    box-shadow: 0 16px 48px 0 rgba(102,126,234,0.18);
    transform: translateY(-6px) scale(1.045);
    border: 2px solid;
    border-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%) 1;
    z-index: 2;
}
.achievement-value {
    font-size: 36px;
    font-weight: 900;
    color: #667eea;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px #667eea22;
}
.achievement-label {
    font-size: 17px;
    color: #444;
    text-align: center;
    font-weight: 500;
}
.achievements-btn {
    margin-top: 32px;
    min-width: 240px;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 2px 16px #667eea22;
    transition: box-shadow 0.3s, background 0.3s;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    align-self: center;
}
.achievements-btn:hover {
    box-shadow: 0 4px 32px #764ba2aa, 0 0 0 4px #fff2;
    background: linear-gradient(90deg, #764ba2 0%, #667eea 100%);
}
@media (max-width: 1100px) {
    .achievements-flex {
        flex-direction: column;
        gap: 38px;
        align-items: center;
    }
    .achievements-img-card {
        width: 98vw;
        max-width: 480px;
        min-width: 0;
        height: auto;
        aspect-ratio: 1.3/1;
        min-height: 0;
    }
    .achievements-img {
        width: 100%;
        height: auto;
        border-radius: 22px;
    }
    .achievements-right {
        min-width: 0;
        width: 100%;
    }
    .achievements-cards-grid {
        max-width: 100%;
        gap: 18px 12px;
    }
}
@media (max-width: 600px) {
    .achievements-section {
        padding: 28px 0 28px 0;
    }
    .achievements-title {
        font-size: 22px;
        margin-bottom: 16px;
    }
    .achievements-cards-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 18px;
    }
    .achievement-card {
        min-width: 0;
        padding: 14px 4px 10px 4px;
        min-height: 70px;
    }
    .achievements-img-card {
        width: 98vw;
        height: auto;
        border-radius: 12px;
    }
    .achievements-img {
        width: 100%;
        height: auto;
        border-radius: 12px;
    }
} 

.faq-section {
  width: 100%;
  background: linear-gradient(135deg, #f7f8fd 0%, #e9e6f7 100%);
  padding: 80px 0 80px 0;
  margin: 0;
}
.faq-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.faq-title {
  font-size: 34px;
  font-weight: 900;
  margin-bottom: 48px;
  text-align: center;
  color: #222;
  letter-spacing: 0.5px;
}
.faq-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.faq-item {
  background: rgba(255,255,255,0.92);
  border-radius: 20px;
  box-shadow: 0 6px 32px 0 rgba(102,126,234,0.10);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
  animation: fadeUp 0.7s cubic-bezier(.4,2,.6,1) both;
}
.faq-item:hover {
  box-shadow: 0 12px 40px 0 rgba(102,126,234,0.16);
  transform: translateY(-2px) scale(1.01);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  font-size: 20px;
  font-weight: 700;
  color: #667eea;
  padding: 28px 32px 22px 32px;
  padding-right: 60px;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
  position: relative;
}
.faq-question:after {
  content: '\25BC';
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  font-size: 18px;
  color: #764ba2;
  transition: transform 0.3s;
}
.faq-item.open .faq-question:after {
  transform: translateY(-50%) rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: none;
  color: #333;
  font-size: 17px;
  line-height: 1.7;
  padding: 0 32px;
  transition: max-height 0.5s cubic-bezier(.4,2,.6,1), padding 0.3s;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 32px 28px 32px;
}
@media (max-width: 600px) {
  .faq-section {
    padding: 32px 0 32px 0;
  }
  .faq-title {
    font-size: 20px;
    margin-bottom: 18px;
  }
  .faq-question {
    font-size: 16px;
    padding: 16px 12px 12px 12px;
  }
  .faq-answer, .faq-item.open .faq-answer {
    font-size: 15px;
    padding: 0 12px 12px 12px;
  }
} 

.reviews-section {
  width: 100%;
  background: linear-gradient(135deg, #f7f8fd 0%, #e9e6f7 100%);
  padding: 80px 0 80px 0;
  margin: 0;
}
.reviews-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.reviews-title {
  font-size: 34px;
  font-weight: 900;
  margin-bottom: 24px;
  text-align: center;
  color: #222;
  letter-spacing: 0.5px;
}
.reviews-subtitle {
  font-size: 17px;
  color: #667eea;
  margin-bottom: 28px;
  text-align: center;
  font-weight: 500;
}
.reviews-scroll {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  margin-bottom: 32px;
}
.reviews-list {
  display: flex;
  gap: 24px;
  min-width: 700px;
  width: max-content;
}
.review-img {
  width: 260px;
  height: 420px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 6px 32px 0 rgba(102,126,234,0.13);
  background: #fff;
  transition: box-shadow 0.3s, transform 0.3s;
  cursor: pointer;
  flex-shrink: 0;
  border: 2px solid transparent;
}
.review-img:hover {
  box-shadow: 0 16px 48px 0 rgba(102,126,234,0.18);
  transform: scale(1.04) rotate(-1.5deg);
  border: 2px solid #667eea33;
}
.reviews-more-btn {
  margin-top: 18px;
  min-width: 220px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 2px 12px #667eea22;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  align-self: center;
  transition: box-shadow 0.3s, background 0.3s;
}
.reviews-more-btn:hover {
  box-shadow: 0 4px 32px #764ba2aa, 0 0 0 4px #fff2;
  background: linear-gradient(90deg, #764ba2 0%, #667eea 100%);
}
@media (max-width: 900px) {
  .review-img {
    width: 180px;
    height: 300px;
    border-radius: 14px;
  }
  .reviews-list {
    gap: 12px;
    min-width: 400px;
  }
}
@media (max-width: 600px) {
  .reviews-section {
    padding: 32px 0 32px 0;
  }
  .reviews-title {
    font-size: 20px;
    margin-bottom: 12px;
  }
  .reviews-subtitle {
    font-size: 13px;
    margin-bottom: 12px;
  }
  .reviews-list {
    gap: 8px;
    min-width: 220px;
  }
  .review-img {
    width: 110px;
    height: 180px;
    border-radius: 8px;
  }
  .reviews-more-btn {
    min-width: 120px;
    font-size: 14px;
    margin-top: 10px;
  }
} 

/* --- Review Modal --- */
.review-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  justify-content: center;
  align-items: center;
  background: rgba(20, 24, 32, 0.85);
  transition: opacity 0.3s;
}
.review-modal.active {
  display: flex;
  animation: fadeIn 0.3s;
}
.review-modal__overlay {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: transparent;
}
.review-modal__content {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(34, 40, 49, 0.7);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  padding: 24px 24px 16px 24px;
  animation: modalPop 0.3s;
}
.review-modal__img {
  max-width: 80vw;
  max-height: 70vh;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
  background: #fff;
  object-fit: contain;
}
.review-modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 2rem;
  cursor: pointer;
  z-index: 3;
  transition: background 0.2s;
}
.review-modal__close:hover {
  background: rgba(0,0,0,0.8);
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes modalPop {
  from { transform: scale(0.95); opacity: 0; } to { transform: scale(1); opacity: 1; }
}
@media (max-width: 600px) {
  .review-modal__content {
    max-width: 98vw;
    max-height: 98vh;
    padding: 8px 4px 4px 4px;
  }
  .review-modal__img {
    max-width: 96vw;
    max-height: 70vh;
  }
  .review-modal__close {
    top: 4px;
    right: 8px;
    width: 32px;
    height: 32px;
    font-size: 1.5rem;
  }
}

/* --- Address Section --- */
.address-section {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  min-height: 420px;
  background: #f7f8fa;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.address-map {
  width: 100vw;
  height: 420px;
  position: relative;
  z-index: 1;
}
.address-map iframe {
  width: 100vw;
  height: 420px;
  border: none;
  display: block;
}
.address-overlay {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  min-width: 260px;
  max-width: 96vw;
  height: auto;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: rgba(255,255,255,0.75);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  padding: 18px 32px 14px 32px;
  pointer-events: auto;
}
@media (max-width: 600px) {
  .address-overlay {
    top: 2px;
    padding: 8px 8px 6px 8px;
    border-radius: 10px;
  }
}
.address-title {
  font-size: 38px;
  font-weight: 800;
  color: #222;
  margin-bottom: 12px;
  text-align: center;
  letter-spacing: 0.01em;
}
.address-text {
  font-size: 22px;
  color: #444;
  text-align: center;
  font-weight: 500;
  line-height: 1.5;
}
@media (max-width: 900px) {
  .address-title { font-size: 28px; }
  .address-text { font-size: 17px; }
  .address-section, .address-map, .address-map iframe { height: 300px; min-height: 0; }
}
@media (max-width: 600px) {
  .address-title { font-size: 20px; }
  .address-text { font-size: 14px; }
  .address-section, .address-map, .address-map iframe { height: 180px; min-height: 0; }
  .address-overlay { padding: 0 4px; }
}

/* --- Footer Modern --- */
.footer__container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 40px 18px 40px;
}
.footer__col--logo {
  flex: 1 1 260px;
  min-width: 180px;
}
.footer__logo {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 10px;
}
.footer__desc {
  color: #b3a6e6;
  font-size: 15px;
  margin-bottom: 0;
  max-width: 320px;
}
.footer__col--nav {
  flex: 2 1 340px;
  min-width: 180px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.footer__menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer__menu li a {
  color: #888;
  font-size: 16px;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.footer__menu li a:hover, .footer__menu li a.active {
  background: #f0f0f7;
  color: #764ba2;
}
.footer__col--contacts {
  flex: 1 1 180px;
  min-width: 120px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
.footer__contacts {
  display: flex;
  gap: 16px;
}
.footer__contact {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: none;
  transition: box-shadow 0.2s, transform 0.2s;
}
.footer__contact:hover {
  box-shadow: 0 0 0 4px #764ba233, 0 2px 12px #8f5be855;
  transform: translateY(-2px) scale(1.07);
}
.footer__bottom {
  width: 100%;
  text-align: center;
  color: #b3a6e6;
  font-size: 15px;
  padding: 18px 0 8px 0;
  margin-top: 0;
}
@media (max-width: 900px) {
  .footer__container {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 28px 10px 10px 10px;
  }
  .footer__col--nav { justify-content: flex-start; }
  .footer__desc { max-width: 100%; }
}
@media (max-width: 600px) {
  .footer__container { padding: 16px 2px 6px 2px; }
  .footer__logo { font-size: 1.2rem; }
  .footer__menu { gap: 8px 8px; }
  .footer__bottom { font-size: 13px; padding: 10px 0 4px 0; }
}

/* --- Адаптивность HEADER --- */
@media (max-width: 900px) {
  .header__container {
    flex-direction: row;
    padding-left: 10px;
    padding-right: 10px;
    gap: 8px;
  }
  .logo__icon svg {
    width: 32px;
    height: 32px;
  }
  .logo__text {
    font-size: 1.2rem;
    margin-left: 6px;
  }
  .nav__menu {
    gap: 12px;
  }
  .header__contacts {
    gap: 10px;
  }
}
@media (max-width: 700px) {
  .header__container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-height: 54px;
    padding: 0 8px;
    position: relative;
  }
  .logo {
    display: none;
  }
  .burger {
    display: flex !important;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    color: #fff;
    font-weight: 700;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    margin-right: 8px;
  }
  .burger span {
    display: block;
    width: 28px;
    height: 4px;
    background: #222;
    border-radius: 2px;
    margin-bottom: 0;
   
  }
  .burger span:not(:last-child) {
    margin-bottom: 4px;
  }
  
  .header__contacts {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-left: 0;
  }
  .header__contact {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    margin: 0 0 0 8px;
    padding: 0;
    border-radius: 8px;
    background: none;
    border: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .header__contact svg {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: block;
    background: none;
    margin: 0;
    padding: 0;
  }
  .nav__menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #23243a;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 70px 0 0 0;
    z-index: 2000;
    display: none;
    min-height: 100vh;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  }
  .nav__menu.active {
    display: flex;
  }
  .nav__menu li {
    width: 100%;
  }
  .nav__menu li a {
    display: block;
    width: 100%;
    padding: 18px 24px;
    font-size: 20px;
    color: #fff;
    border-radius: 0;
    border-bottom: 1px solid #35365a;
    background: none;
    text-align: left;
  }
}
@media (max-width: 600px) {
  .header__container {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: 8px 2px;
    gap: 8px;
  }
  .logo {
    justify-content: center;
    width: 100%;
  }
  .nav__menu {
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 100;
    gap: 0;
    display: none;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  }
  .nav__menu.active { display: flex; }
  .nav__menu li a { padding: 16px 20px; border-radius: 0; }
  .header__contacts { justify-content: center; width: 100%; }
}

/* --- Адаптивность FOOTER --- */
@media (max-width: 900px) {
  .footer__container {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 24px 8px 0 8px;
  }
  .footer__col--logo, .footer__col--nav, .footer__col--contacts {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .footer__logo { justify-content: center; }
  .footer__desc { text-align: center; margin: 8px auto 0 auto; }
  .footer__menu { justify-content: center; }
  .footer__contacts { justify-content: center; }
}
@media (max-width: 600px) {
  .footer__container {
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 18px 2px 0 2px;
  }
  .footer__col--logo, .footer__col--nav, .footer__col--contacts {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .footer__logo { justify-content: center; }
  .footer__desc { text-align: center; margin: 8px auto 0 auto; }
  .footer__menu { flex-direction: column; gap: 10px; align-items: center; }
  .footer__contacts { justify-content: center; gap: 12px; }
}

@media (max-width: 900px) {
  .header {
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  .header__container {
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
}
@media (max-width: 700px) {
  .header {
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  .header__container {
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
}

@media (max-width: 900px) {
  .header--desktop { display: none !important; }
  .header--mobile { display: flex !important; width: 100%; background: #23243a; position: fixed; top: 0; left: 0; z-index: 1000; }
  .header-mobile__container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 8px;
    min-height: 54px;
    gap: 0;
    position: relative;
  }
  .burger {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 56px;
    min-width: 56px;
    height: 100%;
    display: flex !important;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    color: #fff;
    font-weight: 700;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    margin: 0;
    padding-left: 8px;
    z-index: 2;
  }
  .burger span {
    display: block;
    width: 28px;
    height: 4px;
    background: #222;
    border-radius: 2px;
    margin-bottom: 0;
    
  }
  .burger span:not(:last-child) {
    margin-bottom: 4px;
  }
  .burger.menu-label {
    background: none;
    margin: 0 0 0 8px;
    color: #222;
    font-weight: 700;
    font-size: 16px;
  }
  .logo-mobile {
    display: flex !important;
    align-items: center;
    gap: 10px;
    justify-content: center;
    flex: 1 1 auto;
    text-align: center;
    text-decoration: none !important;
    background: none;
    z-index: 1;
  }
  .logo-mobile .logo__icon svg {
    width: 36px;
    height: 36px;
  }
  .logo-mobile .logo__text {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #6a89e7 0%, #8f5be8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 8px #6a89e733;
    text-decoration: none !important;
  }
  .header__contacts {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 72px;
    min-width: 72px;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding-right: 8px;
    justify-content: flex-end;
    z-index: 2;
  }
  .header__contact {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    margin: 0;
    padding: 0;
    border-radius: 8px;
    background: none;
    border: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .header__contact svg {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: block;
    background: none;
    margin: 0;
    padding: 0;
  }
}
@media (min-width: 901px) {
  .header--mobile { display: none !important; }
}

/* Desktop Header */
.header--desktop {
  display: flex;
  align-items: center;
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  margin-top: 0 !important;
  padding-top: 0 !important;
  box-shadow: 0 4px 16px rgba(118,75,162,0.10);
}

@media (max-width: 900px) {
  .header--mobile {
    display: flex !important;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 12px rgba(102,126,234,0.10);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    min-height: 54px;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    padding: 0;
  }
  .header-mobile__container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    min-height: 54px;
    padding: 0 6px;
    background: #fff;
    box-shadow: none;
  }
  .burger {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 32px;
    height: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
  }
  .burger span {
    width: 28px;
    height: 3px;
    background: #222;
    border-radius: 2px;
    margin-bottom: 0;
    
  }
  .burger span:not(:last-child) {
    margin-bottom: 3px;
  }
  .logo-mobile {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(90deg,#667eea,#764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: unset;
    min-width: 0;
    text-align: center;
  }
  .logo-mobile .logo__icon svg {
    width: 28px;
    height: 28px;
  }
  .logo-mobile .logo__text {
    font-size: 1.1rem;
    margin-left: 4px;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(90deg,#667eea,#764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 8px #6a89e733;
    text-decoration: none !important;
  }
  .header__contacts {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    min-width: 60px;
    justify-content: flex-end;
    z-index: 2;
    margin: 0;
    padding: 0;
  }
  .header__contact {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    background: none;
    border: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .header__contact svg {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: block;
    background: none;
    margin: 0;
    padding: 0;
  }
}

.header--desktop .header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 72px;
}

.header--desktop .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(90deg,#667eea,#764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
}

.header--desktop .logo__icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header--desktop .nav__menu {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header--desktop .nav__menu a {
  color: #222;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s;
}

.header--desktop .nav__menu a:hover {
  color: #764ba2;
}

.header--desktop .header__contacts {
  display: flex;
  gap: 16px;
}

.header--desktop .header__contact {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .2s;
}

.header--desktop .header__contact:hover {
  opacity: 0.7;
}

/* Mobile Header */
.header--mobile {
  display: none;
  top: 0 !important;
  background: #fff;
}

@media (max-width: 900px) {
  .header--desktop { display: none; }
  .header--mobile {
    display: block;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    position: sticky;
    top: 0;
    z-index: 100;
  }
  .header-mobile__container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    width: 100%;
    padding: 0 12px;
    background: #fff;
  }
  .burger {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    z-index: 2;
  }
  .header--mobile .header__contacts {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 80px;
    justify-content: flex-end;
    z-index: 2;
  }
  .logo-mobile {
    position: relative;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(90deg,#667eea,#764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: unset;
    flex: 1 1 auto;
    min-width: 0;
    text-align: center;
  }
  .mobile-nav-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 200;
    gap: 32px;
    padding: 0 16px;
    overflow-y: auto;
    box-shadow: 0 4px 32px rgba(118,75,162,0.10);
    list-style: none;
    margin: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
  }
  .mobile-nav-menu.active {
    opacity: 1;
    pointer-events: auto;
  }
  .mobile-nav-messengers {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 0;
  }
}
@media (min-width: 901px) {
  .mobile-nav-messengers, .mobile-messenger-btn { display: none !important; }
}

@media (max-width: 900px) {
  .burger span {
    display: inline-block;
    width: 24px;
    height: 3px;
    background: #222;
    border-radius: 2px;
    margin-right: 0;
    
  }
  .burger .menu-label {
    color: #222;
    font-weight: 700;
    font-size: 16px;
    margin-left: 8px;
  }
  .logo-mobile .logo__text {
    color: #222;
    background: none;
    -webkit-text-fill-color: #222;
  }
  .mobile-nav-menu li a {
    color: #222;
    background: none;
    -webkit-text-fill-color: #222;
  }
}

@media (max-width: 900px) {
  .header-mobile__container {
    position: relative;
    min-height: 60px;
    width: 100%;
    background: #fff;
  }
  .menu-label {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #222;
    font-weight: 700;
    font-size: 16px;
    z-index: 103;
  }
  .burger {
    position: absolute;
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    z-index: 104;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
  }
  .logo-mobile {
    position: absolute;
    left: 0; right: 0;
    margin: 0 auto;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(90deg,#667eea,#764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: unset;
    width: max-content;
    z-index: 101;
    top: 50%;
    transform: translateY(-50%);
  }
  .header--mobile .header__contacts {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 80px;
    justify-content: flex-end;
    z-index: 102;
  }
}

@media (max-width: 900px) {
  .header-mobile__container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 72px;
    padding: 0 12px;
    position: relative;
    background: #fff;
  }
  .burger {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 7px;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    width: 44px;
    height: 44px;
    z-index: 104;
  }
  .burger span {
    display: block;
    width: 36px;
    height: 4px;
    background: #222;
    border-radius: 2px;
    margin-bottom: 0;
   
  }
  .burger span:not(:last-child) {
    margin-bottom: 4px;
  }
  .logo-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(90deg,#667eea,#764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: unset;
    flex: 1 1 auto;
    min-width: 0;
    text-align: center;
    margin: 0 auto;
    position: relative;
    left: 0;
    right: 0;
    z-index: 101;
  }
  .logo-mobile .logo__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .mobile-nav-menu {
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(102,126,234,0.18);
    opacity: 0;
    transform: translateY(-40px) scale(0.98);
    transition: opacity 0.4s cubic-bezier(.4,2,.6,1), transform 0.5s cubic-bezier(.4,2,.6,1);
  }
  .mobile-nav-menu.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }
  .mobile-nav-menu li {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s cubic-bezier(.4,2,.6,1), transform 0.5s cubic-bezier(.4,2,.6,1);
  }
  .mobile-nav-menu.active li {
    opacity: 1;
    transform: none;
  }
  .mobile-nav-menu.active li:nth-child(1) { transition-delay: 0.08s; }
  .mobile-nav-menu.active li:nth-child(2) { transition-delay: 0.16s; }
  .mobile-nav-menu.active li:nth-child(3) { transition-delay: 0.24s; }
  .mobile-nav-menu.active li:nth-child(4) { transition-delay: 0.32s; }
  .mobile-nav-menu.active li:nth-child(5) { transition-delay: 0.40s; }
  .mobile-nav-menu.active li:nth-child(6) { transition-delay: 0.48s; }
  .mobile-nav-menu.active li:nth-child(7) { transition-delay: 0.56s; }
  .mobile-nav-menu.active li:nth-child(8) { transition-delay: 0.64s; }
  .mobile-nav-menu li a {
    font-size: 1.3rem;
    font-weight: 600;
    padding: 12px 0;
    color: #222;
    text-decoration: none;
    transition: color .2s, background 0.3s;
    display: block;
    text-align: center;
    border-radius: 12px;
  }
  .mobile-nav-menu li a:hover {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    color: #fff;
  }
  .mobile-nav-messengers {
    margin-top: 32px;
    gap: 32px;
  }
  .burger {
    display: flex !important;
    opacity: 1 !important;
    z-index: 2000;
    pointer-events: auto;
  }
  .logo-mobile {
    display: flex !important;
    opacity: 1 !important;
    z-index: 2000;
    pointer-events: auto;
  }
}

@media (max-width: 900px) {
  .logo-mobile {
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: max-content;
    z-index: 1;
  }
}

@media (max-width: 900px) {
  .logo-mobile .logo__text {
    font-weight: 700;
    font-size: 2rem;
    background: linear-gradient(90deg,#667eea,#764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    font-family: inherit;
    letter-spacing: 0.02em;
    line-height: 1.1;
    margin-left: 8px;
  }
}

@media (max-width: 900px) {
  .header-mobile__container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 72px;
    width: 100%;
    padding: 0 12px;
    position: relative;
    background: #fff;
  }
  .logo-mobile {
    position: static;
    margin-left: 16px;
    margin-right: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(90deg,#667eea,#764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
  }
  .header--mobile .header__contacts {
    margin-left: auto;
  }
}

@media (max-width: 900px) {
  .header-mobile__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    width: 100%;
    padding: 0 8px;
    position: relative;
    background: #fff;
  }
  .burger {
    margin-left: 0;
    margin-right: 0;
  }
  .logo-mobile {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.7rem;
    font-weight: 700;
    margin-left: 16px;
    margin-right: 16px;
    background: linear-gradient(90deg,#667eea,#764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    color: unset;
  }
  .logo-mobile .logo__icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .header--mobile .header__contacts {
    margin-left: auto;
    gap: 12px;
  }
}

.header-mobile__container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  min-height: 72px;
  padding: 0 12px;
  background: #fff;
}
.logo-mobile {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  background: linear-gradient(90deg,#667eea,#764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: unset;
  flex: 1 1 auto;
  min-width: 0;
  text-align: center;
}

@media (max-width: 900px) {
  .header-mobile__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    width: 100%;
    min-height: 54px;
    padding: 0 6px;
    background: #fff;
    box-shadow: none;
  }
  .logo-mobile {
    position: static;
    left: auto;
    transform: none;
    margin: 0 auto;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(90deg,#667eea,#764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: unset;
    min-width: 0;
    text-align: center;
  }
  .burger {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    z-index: 2;
    width: 32px;
    height: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
  }
  .header__contacts {
    position: static;
    right: auto;
    top: auto;
    transform: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    min-width: 60px;
    justify-content: flex-end;
    z-index: 2;
    margin: 0;
    padding: 0;
  }
}

@media (max-width: 900px) {
  .header-mobile__container {
    min-height: 64px;
    height: 64px;
  }
  .burger {
    margin-left: 16px;
    margin-right: 12px;
  }
  .logo-mobile {
    margin: 0;
    margin-right: auto;
    margin-left: -105px;
    gap: 7px;
    align-items: center;
    display: flex;
  }
}

@media (max-width: 900px) {
 
}

@media (max-width: 900px) {
  .mobile-nav-menu {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
}

@media (max-width: 900px) {
  .header__contact svg {
    width: 32px;
    height: 32px;
  }
  .header__contact {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
  }
}

@media (max-width: 900px) {
  
}

@media (max-width: 900px) {
  .burger {
    height: 44px;
    width: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background: none;
    border: none;
    padding: 0;
    margin: 0 12px 0 16px;
  }
  .burger span {
    display: block;
    width: 28px;
    height: 3px;
    background: #222;
    border-radius: 2px;
    margin-bottom: 0;
    
    opacity: 1;
  }
  .burger span:not(:last-child) {
    margin-bottom: 8px;
  }
  
}

@media (max-width: 900px) {
  .burger {
    display: flex !important;
    opacity: 1 !important;
    z-index: 1100;
    pointer-events: auto;
  }
  .logo-mobile {
    display: flex !important;
    opacity: 1 !important;
    z-index: 1100;
    pointer-events: none;
  }
}

.messenger-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(40,40,60,0.25);
  align-items: center;
  justify-content: center;
  transition: background 0.4s cubic-bezier(.4,2,.6,1);
  backdrop-filter: blur(6px);
}
.messenger-modal.active {
  display: flex;
  background: rgba(40,40,60,0.45);
}
.messenger-modal__content {
  background: #fff;
  padding: 36px 28px 28px 28px;
  border-radius: 22px;
  max-width: 340px;
  width: 90vw;
  box-shadow: 0 8px 32px #667eea33, 0 0 0 4px rgba(102,126,234,0.08);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10001;
  opacity: 0;
  transform: translateY(40px) scale(0.92);
  border: 2.5px solid;
  border-image: linear-gradient(90deg,#667eea) 1;
  box-shadow: 0 8px 32px #667eea22, 0 0 16px 2px #764ba244;
  transition: all 0.5s cubic-bezier(.4,2,.6,1);
}
.messenger-modal.active .messenger-modal__content {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.messenger-modal__close {
  position: absolute;
  right: 18px;
  top: 12px;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10002;
  color: #667eea;
  transition: color 0.2s;
}
.messenger-modal__close:hover {
  color: #b62e2e;
}
.messenger-modal__title {
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 800;
  color: #667eea;
  text-align: center;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg,#667eea,#764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.messenger-modal__subtitle {
  margin-bottom: 22px;
  font-size: 15px;
  color: #764ba2;
  text-align: center;
  font-weight: 500;
}
.messenger-btn {
  width: 100%;
  margin-bottom: 16px;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 0;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  transition: background 0.25s, box-shadow 0.25s, color 0.2s, transform 0.25s;
  box-shadow: 0 2px 12px #667eea11;
  opacity: 0;
  transform: translateY(20px);
  animation: messengerBtnFadeIn 0.6s cubic-bezier(.4,2,.6,1) forwards;
}
.messenger-modal.active .messenger-btn:nth-child(4) {
  animation-delay: 0.15s;
}
.messenger-modal.active .messenger-btn:nth-child(5) {
  animation-delay: 0.32s;
}
@keyframes messengerBtnFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.messenger-btn--wa {
  background: linear-gradient(90deg,#43e97b,#38f9d7);
  color: #1a7f1a;
  box-shadow: 0 2px 12px #43e97b22;
}
.messenger-btn--wa:hover {
  background: linear-gradient(90deg,#38f9d7,#43e97b);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 18px #43e97b33;
}
.messenger-btn--tg {
  background: linear-gradient(90deg,#667eea,#764ba2);
  color: #fff;
  box-shadow: 0 2px 12px #667eea22;
}
.messenger-btn--tg:hover {
  background: linear-gradient(90deg,#764ba2,#667eea);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 18px #667eea33;
}
@media (max-width: 600px) {
  .messenger-modal__content {
    padding: 18px 8px 18px 8px;
    max-width: 98vw;
  }
  .messenger-modal__title { font-size: 18px; }
  .messenger-btn { font-size: 16px; padding: 12px 0; }
}

/* --- Профиль администратора --- */
.admin-profile-glass {
  max-width: 1100px;
  min-width: 600px;
  margin: 56px auto 0 auto;
  background: linear-gradient(120deg,rgba(255,255,255,0.32) 60%,rgba(118,75,162,0.13) 100%);
  box-shadow: 0 16px 64px 0 rgba(31,38,135,0.25), 0 0 0 12px rgba(118,75,162,0.08) inset;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-radius: 48px;
  border: 2.5px solid rgba(255,255,255,0.36);
  padding: 72px 72px 40px 72px;
  position: relative;
  transition: box-shadow 0.3s, background 0.3s;
}
.admin-profile-glass:hover {
  box-shadow: 0 18px 60px 0 rgba(31,38,135,0.28), 0 0 0 12px rgba(118,75,162,0.09) inset;
}
.admin-profile-header {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-bottom: 48px;
}
.admin-profile-avatar {
  width: 160px;
  height: 160px;
  font-size: 4.2em;
  box-shadow: 0 8px 40px 0 rgba(118,75,162,0.22), 0 0 0 16px #fff inset;
  border: 6px solid #fff;
}
.admin-profile-name {
  font-size: 3em;
  margin-bottom: 16px;
}
.admin-profile-lastlogin {
  font-size: 1.45em;
}
.admin-profile-form {
  margin: 48px 0 32px 0;
  padding: 36px 36px 28px 36px;
  border-radius: 28px;
  gap: 32px;
}
.profile-logs-block {
  margin-top: 48px;
  border-radius: 28px;
  padding: 32px 36px 18px 36px;
}
.profile-logs-title {
  font-size: 1.7em;
  margin-bottom: 24px;
  gap: 18px;
}
.profile-log-item {
  gap: 22px;
  padding: 18px 0;
  font-size: 1.22em;
}
.profile-log-date {
  font-size: 1.18em;
  margin-right: 18px;
  min-width: 180px;
}
.profile-log-action {
  margin-right: 18px;
}
@media (max-width: 1200px) {
  .admin-profile-glass {
    max-width: 99vw;
    min-width: 0;
    padding: 18px 2vw 12px 2vw;
  }
  .admin-profile-header {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  .admin-profile-avatar {
    width: 100px;
    height: 100px;
    font-size: 2.6em;
  }
}

/* --- Статистика --- */
.stats-glass {
  max-width: 700px;
  margin: 0 auto 36px auto;
  background: rgba(255,255,255,0.22);
  box-shadow: 0 8px 40px 0 #667eea22, 0 1.5px 0 0 #764ba2;
  border-radius: 32px;
  backdrop-filter: blur(14px);
  border: 2px solid rgba(102,126,234,0.13);
  padding: 38px 32px 32px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  animation: fadeIn 0.7s;
}
.stats-title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 2em;
  font-weight: 800;
  color: #667eea;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}
.stats-cards {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}
.stats-card {
  background: rgba(255,255,255,0.32);
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 #667eea11;
  padding: 28px 32px 22px 32px;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: box-shadow 0.18s, transform 0.18s;
  position: relative;
  margin-bottom: 12px;
}
.stats-card:hover {
  box-shadow: 0 6px 24px 0 #667eea22;
  transform: translateY(-4px) scale(1.04);
}
.stats-card .stats-icon {
  margin-bottom: 6px;
}
.stats-card .stats-value {
  font-size: 2.1em;
  font-weight: 800;
  color: #764ba2;
  letter-spacing: 0.5px;
}
.stats-card .stats-label {
  font-size: 1.08em;
  color: #667eea;
  font-weight: 600;
  text-align: center;
}
.stats-card.stats-green .stats-value { color: #4fd37c; }
.stats-card.stats-blue .stats-value { color: #3bb2e0; }
.stats-card.stats-orange .stats-value { color: #ffb300; }
.stats-card.stats-red .stats-value { color: #ff7043; }
@media (max-width: 900px) {
  .stats-cards { flex-direction: column; gap: 16px; align-items: center; }
  .stats-card { width: 100%; min-width: 0; }
}

.admin-layout {
  display: flex;
  min-height: 100vh;
  background: none;
}
.admin-sidebar {
  width: 220px;
  background: rgba(245,247,250,0.92);
  box-shadow: 2px 0 24px 0 rgba(60,120,120,0.07);
  padding: 36px 0 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  position: relative;
  border-radius: 0 24px 24px 0;
  backdrop-filter: blur(8px);
}
.admin-sidebar .sidebar-logo {
  font-size: 1.7rem;
  font-weight: 900;
  color: #5a6e8c;
  letter-spacing: 2px;
  margin-bottom: 32px;
  text-shadow: 0 2px 12px #b3c2d622;
}
.admin-sidebar nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #3b4a5a;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 12px 0 0 12px;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s;
  font-size: 1.13rem;
  letter-spacing: 0.5px;
  position: relative;
}
.admin-sidebar nav a.active, .admin-sidebar nav a:hover {
  background: linear-gradient(90deg, #e6ecf5 0%, #dbe6f6 100%);
  color: #4a5a6a;
  box-shadow: 0 2px 12px 0 #b3c2d622;
}
.admin-main {
  flex: 1;
  padding: 48px 0 0 0;
  background: none;
}
.admin-section {
  background: rgba(255,255,255,0.82);
  border-radius: 22px;
  box-shadow: 0 4px 32px 0 rgba(102,126,234,0.05);
  padding: 36px 32px 28px 32px;
  margin-bottom: 32px;
  animation: fadeIn 0.5s;
  backdrop-filter: blur(6px);
}
.admin-section.active { display: block; }
form { margin-bottom: 18px; }
input[type="text"], input[type="password"], textarea, select {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1.5px solid #d0d7e2;
  background: #f7fafc;
  font-size: 1.08rem;
  margin-bottom: 16px;
  transition: border 0.22s, box-shadow 0.22s;
  box-shadow: 0 1px 6px 0 rgba(102,126,234,0.04);
  color: #2d3540;
}
input[type="text"]:focus, input[type="password"]:focus, textarea:focus, select:focus {
  border: 1.5px solid #8ca6c6;
  outline: none;
  box-shadow: 0 2px 12px 0 #b3c2d622;
}
button, .inline-form button {
  background: linear-gradient(90deg,#b3c2d6 0%,#8ca6c6 100%);
  color: #2d3540;
  border: none;
  border-radius: 10px;
  padding: 13px 26px;
  font-size: 1.08rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(60,120,120,0.07);
  transition: background 0.22s, box-shadow 0.22s, transform 0.18s;
  margin-bottom: 6px;
}
button:hover, .inline-form button:hover {
  background: linear-gradient(90deg,#8ca6c6 0%,#b3c2d6 100%);
  box-shadow: 0 4px 16px 0 #b3c2d622;
  transform: scale(1.03);
}
.alert-success, .alert-error {
  padding: 12px 0;
  border-radius: 10px;
  margin-bottom: 18px;
  text-align: center;
  font-size: 1.08em;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.alert-success { background: #eaffea; color: #2e9b4f; }
.alert-error { background: #ffeaea; color: #b62e2e; }
.section-icon svg { filter: grayscale(0.3) brightness(0.9); }
.profile-glass, .admin-profile-glass, .stats-glass {
  background: rgba(255,255,255,0.18) !important;
  box-shadow: 0 8px 40px 0 #b3c2d622, 0 1.5px 0 0 #8ca6c6;
  border-radius: 32px;
  backdrop-filter: blur(14px);
  border: 2px solid rgba(102,126,234,0.10);
}
.profile-avatar, .admin-profile-avatar {
  background: linear-gradient(135deg,#b3c2d6 60%,#8ca6c6 100%) !important;
  box-shadow: 0 4px 18px #b3c2d622;
  border: 4px solid #fff;
}
.profile-info-title, .admin-profile-name, .stats-title {
  color: #5a6e8c !important;
}
.profile-log-action, .profile-log-date, .profile-log-item, .profile-log-json, .profile-log-list, .profile-logs-title {
  color: #2d3540 !important;
}
.stats-card {
  background: rgba(255,255,255,0.28) !important;
  box-shadow: 0 2px 12px 0 #b3c2d622 !important;
}
.stats-card .stats-value {
  color: #5a6e8c !important;
}
.stats-card.stats-green .stats-value { color: #6bbf7c !important; }
.stats-card.stats-blue .stats-value { color: #7fa7c7 !important; }
.stats-card.stats-orange .stats-value { color: #e2b86b !important; }
.stats-card.stats-red .stats-value { color: #e28b6b !important; }
::-webkit-scrollbar {
  width: 8px;
  background: #e6ecf5;
}
::-webkit-scrollbar-thumb {
  background: #d0d7e2;
  border-radius: 8px;
}
@media (max-width: 900px) {
  .admin-section, .stats-glass { padding: 18px 4vw 12px 4vw; }
  .admin-profile-glass, .profile-glass { padding: 18px 4vw 12px 4vw; }
}

/* --- Модальные окна админки --- */
.modal-img-view {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0; right: 0; bottom: 0;
  align-items: center;
  justify-content: center;
  background: rgba(40,50,70,0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: opacity 0.25s;
  animation: fadeInScale 0.45s;
}
.modal-img-view.active { display: flex; }
.modal-img-view form {
  background: linear-gradient(120deg,rgba(255,255,255,0.32) 60%,rgba(180,200,220,0.18) 100%);
  box-shadow: 0 12px 48px 0 #b3c2d633, 0 0 0 12px #8ca6c622 inset;
  border-radius: 28px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 48px 38px 32px 38px;
  min-width: 320px;
  max-width: 98vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  position: relative;
  animation: fadeInScale 0.5s;
  box-shadow: 0 8px 40px 0 #b3c2d622, 0 1.5px 0 0 #8ca6c6;
}
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.92) translateY(30px); }
  to   { opacity: 1; transform: none; }
}
.modal-img-view__close {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: #8ca6c6;
  cursor: pointer;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.18s, transform 0.18s;
  box-shadow: 0 2px 8px 0 #b3c2d622;
}
.modal-img-view__close:hover {
  background: #e6ecf5;
  color: #5a6e8c;
  transform: scale(1.15) rotate(12deg);
}
.modal-img-view h3 {
  font-size: 1.55em;
  font-weight: 800;
  color: #5a6e8c;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.modal-img-view h3 svg {
  width: 1.3em;
  height: 1.3em;
  vertical-align: middle;
  opacity: 0.8;
}
.modal-img-view input[type="text"],
.modal-img-view input[type="password"],
.modal-img-view textarea {
  width: 100%;
  padding: 15px 18px;
  border-radius: 12px;
  border: 1.5px solid #d0d7e2;
  background: #f7fafc;
  font-size: 1.13rem;
  margin-bottom: 12px;
  transition: border 0.22s, box-shadow 0.22s;
  box-shadow: 0 2px 10px 0 #b3c2d622;
  color: #2d3540;
}
.modal-img-view input[type="text"]:focus,
.modal-img-view input[type="password"]:focus,
.modal-img-view textarea:focus {
  border: 1.5px solid #8ca6c6;
  outline: none;
  box-shadow: 0 4px 18px 0 #b3c2d622;
}
.modal-img-view button[type="submit"] {
  background: linear-gradient(90deg,#b3c2d6 0%,#8ca6c6 100%);
  color: #2d3540;
  border: none;
  border-radius: 12px;
  padding: 15px 0;
  font-size: 1.13rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 12px 0 #b3c2d622;
  transition: background 0.22s, box-shadow 0.22s, transform 0.18s;
  margin-top: 8px;
  width: 100%;
}
.modal-img-view button[type="submit"]:hover {
  background: linear-gradient(90deg,#8ca6c6 0%,#b3c2d6 100%);
  box-shadow: 0 6px 24px 0 #b3c2d622;
  transform: scale(1.04);
}
@media (max-width: 600px) {
  .modal-img-view form {
    min-width: 0;
    width: 98vw;
    padding: 18px 4vw 12px 4vw;
  }
  .modal-img-view h3 { font-size: 1.18em; }
  .modal-img-view__close { top: 8px; right: 8px; font-size: 1.5rem; width: 36px; height: 36px; }
}