:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary-color: #1e40af;
    --accent-color: #60a5fa;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --text-lighter: #9ca3af;
    --bg-color: #ffffff;
    --bg-light: #f9fafb;
    --bg-dark: #f3f4f6;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
}

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

body {
    font-family: 'Manrope', 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

/* Стили для секции спонсоров */
/* Стили для секции спонсоров с текстом */
/* Стили для секции спонсоров с выравненным текстом */
/* Стили для секции спонсоров с выравненным текстом */
.sponsors {
    padding: 3rem 0;
    background-color: #ffffff;
    /* Используем конкретный цвет вместо переменной */
}

.sponsors__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    align-items: start;
}

.sponsor-card {
    text-align: center;
    transition: all 0.3s ease;
}

.sponsor-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #1f2937;
    /* Цвет текста */
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    margin-bottom: 1rem;
    width: 100%;
}

.sponsor-logo {
    max-width: 200%;
    max-height: 160px;
    width: auto;
    height: auto;
    /* filter: grayscale(100%); */
    opacity: 0.8;
    transition: all 0.3s ease;
}

.sponsor-name {
    font-size: 1rem;
    font-weight: 500;
    margin-top: 1.5rem;
    width: 100%;
    text-align: center;
}

.sponsor-card:hover .sponsor-logo {
    /* filter: grayscale(0%); */
    opacity: 1;
    transform: scale(1.05);
}

.sponsor-card:hover .sponsor-name {
    color: #2563eb;
    /* Основной синий цвет */
}

#cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #222;
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    flex-wrap: wrap;
}

#cookie-consent p {
    margin: 0;
    flex: 1 1 100%;
    text-align: center;
}

#cookie-consent button {
    margin-top: 10px;
    padding: 8px 16px;
    border: none;
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
    border-radius: 4px;
}

#cookie-consent button:hover {
    background-color: #45a049;
}

h1,
h2,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h3 {
    font-weight: 400;
    line-height: 1.1;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

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

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

.btn--outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

.btn--large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo__text {
    font-size: 18px;
    font-weight: 500;
    white-space: nowrap;
    /* Текст не переносится на новую строку */
}

.logo__image {
    height: 60px;
    /* Регулируйте высоту по необходимости */
    width: auto;
    /* Сохраняет пропорции изображения */
    margin-right: 10px;
    /* Отступ между логотипом и текстом */
}

.logo__icon {
    margin-right: 0.5rem;
    font-size: 1.25em;
}

.nav__list {
    display: flex;
}

.nav__item {
    margin-left: 2rem;
}

.nav__link {
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero section */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #f0f7ff 0%, #e1effe 100%);
}

.hero__content {
    max-width: 600px;
}

.hero__title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.hero__subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero__image {
    display: none;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section__title {
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.section__subtitle {
    font-size: 1.75rem;
    font-weight: 200;
    text-align: center;
    margin-bottom: 1.25 rem;
    color: var(--text-color);
}

/* Services */
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-color);
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.service-card__icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card__title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-card__description {
    color: var(--text-light);
}

/* About */
.about__grid {
    display: grid;
    gap: 3rem;
}

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

.about__content {
    max-width: 600px;
}

.about__text {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.about__stat {
    text-align: center;
}

.about__stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.about__stat-text {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* How it works */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    counter-reset: step-counter;
}

.step {
    position: relative;
    padding: 2rem 1.5rem;
    background-color: var(--bg-light);
    border-radius: 0.5rem;
    text-align: center;
}

.step__number {
    position: absolute;
    top: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 3rem;
    height: 3rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.step__title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

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

/* Pricing */
.pricing__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background-color: var(--bg-color);
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card--popular {
    border: 2px solid var(--primary-color);
}

.pricing-card__badge {
    position: absolute;
    top: -0.75rem;
    right: 1.5rem;
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-card__title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.pricing-card__price {
    margin-bottom: 1.5rem;
}

.pricing-card__amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.pricing-card__period {
    font-size: 1rem;
    color: var(--text-light);
}

.pricing-card__features {
    margin-bottom: 2rem;
}

.pricing-card__features li {
    margin-bottom: 0.75rem;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.pricing-card__features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* CTA */
.cta {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.cta__title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.cta__text {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Contact */
.contact__grid {
    display: grid;
    gap: 3rem;
}

.contact__info {
    max-width: 500px;
}

.contact__text {
    margin-bottom: 2rem;
    color: var(--text-light);
}

.contact__details {
    margin-bottom: 2rem;
}

.contact__detail {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact__detail i {
    margin-right: 1rem;
    color: var(--primary-color);
    width: 1.5rem;
    text-align: center;
}

.contact__social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--bg-light);
    border-radius: 50%;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: white;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    padding: 4rem 0 0;
}

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

.footer__col {
    margin-bottom: 2rem;
}

.footer__title {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.footer__links li {
    margin-bottom: 0.75rem;
}

.footer__links a {
    color: var(--text-light);
    transition: color 0.3s ease;
}

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

.footer__subscribe {
    display: flex;
    margin-bottom: 1.5rem;
}

.footer__subscribe input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.375rem 0 0 0.375rem;
    font-family: inherit;
}

.footer__subscribe button {
    border-radius: 0 0.375rem 0.375rem 0;
    padding: 0 1rem;
}

.footer__bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer__copyright {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.footer__legal {
    display: flex;
    gap: 1rem;
}

.footer__legal a {
    color: var(--text-light);
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

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

/* Responsive styles */
@media (min-width: 768px) {
    .hero {
        display: flex;
        align-items: center;
        min-height: 100vh;
        padding: 0;
    }

    .hero .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 3rem;
    }

    .hero__image {
        display: block;
    }

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

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

@media (max-width: 767px) {
    .nav__list {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--bg-color);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        transition: left 0.3s ease;
    }

    .nav__list.active {
        left: 0;
    }

    .nav__item {
        margin: 1rem 0;
    }

    .nav-toggle {
        display: block;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero__buttons {
        flex-direction: column;
    }

    .footer__bottom {
        flex-direction: column;
    }

    .footer__legal {
        flex-direction: column;
        gap: 0.5rem;
    }

}

/* Стили для группы радиокнопок */
.radio-group {
    margin: 15px 0;
}

.radio-option {
    display: flex;
    align-items: center;
    /* Выравниваем по центру вертикально */
    margin-bottom: 10px;
}

.radio-option input[type="radio"] {
    margin: 0 10px 0 0;
    /* Отступ только справа */
    width: auto;
    /* Сбрасываем фиксированную ширину */
}

.radio-option label {
    cursor: pointer;
    margin: 0;
    /* Убираем внешние отступы */
    line-height: 1.5;
    /* Межстрочный интервал как у основного текста */
}

/* Flash сообщения */
.flash-messages {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    max-width: 400px;
}

.flash {
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    color: white;
    font-weight: 500;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.5s, fadeOut 0.5s 4.5s;
}

.flash-success {
    background-color: #4CAF50;
}

.flash-error {
    background-color: #F44336;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}