﻿:root {
    --af-green: #08784f;
    --af-green-dark: #00643f;
    --af-green-light: #4caf22;
    --af-coral: #ef405d;
    --af-coral-dark: #da304d;
    --af-text: #17362c;
    --af-white: #fff;
}

/* =========================
   HEADER
   ========================= */

.af-header {
    position: fixed;
    top: 18px;
    left: 0;
    right: 0;
    z-index: 1030;
    transition: top .3s ease, transform .3s ease;
}

    .af-header .navbar {
        padding: 0;
    }

    .af-header .container {
        min-height: 78px;
        padding: 7px 10px 7px 14px;
        border: 1px solid rgba(8, 120, 79, .12);
        border-radius: 22px;
        background: rgba(255, 255, 255, .90);
        box-shadow: 0 16px 45px rgba(0, 73, 47, .10), inset 0 1px 0 rgba(255, 255, 255, .9);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    .af-header.is-scrolled {
        top: 8px;
    }

        .af-header.is-scrolled .container {
            box-shadow: 0 12px 35px rgba(0, 73, 47, .15);
        }

/* =========================
   BRAND
   ========================= */

.af-brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.af-brand__logo {
    display: block;
    width: 62px;
    height: 62px;
    object-fit: contain;
    transition: transform .25s ease, filter .25s ease;
}

.af-brand:hover .af-brand__logo {
    transform: scale(1.04);
    filter: drop-shadow(0 7px 10px rgba(8, 120, 79, .18));
}

@media (max-width: 991.98px) {
    .af-header .container {
        min-height: 66px;
        padding: 7px 8px 7px 12px;
    }

    .af-brand__logo {
        width: 52px;
        height: 52px;
    }
}

@media (max-width: 420px) {
    .af-brand__logo {
        width: 48px;
        height: 48px;
    }
}

/* =========================
   LINKS
   ========================= */

.af-header .navbar-nav {
    gap: 2px;
}

.af-header .nav-link {
    position: relative;
    padding: 12px 11px !important;
    color: #29483e;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: color .2s ease;
}

    .af-header .nav-link::after {
        content: "";
        position: absolute;
        right: 11px;
        bottom: 5px;
        left: 11px;
        height: 2px;
        border-radius: 2px;
        background: var(--af-coral);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .25s ease;
    }

    .af-header .nav-link:hover,
    .af-header .nav-link.active {
        color: var(--af-green);
    }

        .af-header .nav-link:hover::after,
        .af-header .nav-link.active::after {
            transform: scaleX(1);
        }

/* =========================
   ACTIONS
   ========================= */

.af-header__actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 18px;
}

.af-language {
    display: flex;
    align-items: center;
    gap: 7px;
}

    .af-language a {
        color: #7c8b86;
        font-size: 11px;
        font-weight: 800;
        text-decoration: none;
    }

        .af-language a:hover,
        .af-language a.active {
            color: var(--af-green);
        }

    .af-language span {
        width: 1px;
        height: 12px;
        background: #d5ddd9;
    }

.af-register {
    display: inline-flex;
    min-height: 54px;
    padding: 0 21px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, #f24a67, var(--af-coral));
    box-shadow: 0 10px 22px rgba(239, 64, 93, .24);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

    .af-register:hover {
        color: #fff;
        background: linear-gradient(135deg, var(--af-coral), var(--af-coral-dark));
        box-shadow: 0 13px 27px rgba(239, 64, 93, .32);
        transform: translateY(-2px);
    }

    .af-register i {
        font-size: 17px;
    }

/* =========================
   MOBILE BUTTON
   ========================= */

.af-toggler {
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: var(--af-green);
    box-shadow: none !important;
}

    .af-toggler span {
        display: block;
        width: 21px;
        height: 2px;
        margin: 5px auto;
        border-radius: 2px;
        background: #fff;
        transition: transform .25s ease;
    }

/* =========================
   TABLET AND MOBILE
   ========================= */

@media (max-width: 1199.98px) {
    .af-brand__text {
        display: none;
    }

    .af-header .nav-link {
        padding-inline: 8px !important;
        font-size: 13px;
    }

    .af-header__actions {
        margin-left: 10px;
    }
}

@media (max-width: 991.98px) {
    .af-header {
        top: 10px;
        padding-inline: 12px;
    }

        .af-header .container {
            min-height: 66px;
            padding: 8px 9px 8px 13px;
            border-radius: 18px;
        }

    .af-brand__mark {
        width: 46px;
        height: 46px;
    }

    .af-brand__text {
        display: flex;
    }

        .af-brand__text strong {
            font-size: 13px;
        }

        .af-brand__text small {
            display: none;
        }

    .af-header .navbar-collapse {
        margin: 9px -9px -8px -13px;
        padding: 18px;
        border-radius: 0 0 18px 18px;
        background: linear-gradient(145deg, var(--af-green-dark), var(--af-green));
    }

    .af-header .navbar-nav {
        align-items: stretch !important;
        gap: 3px;
    }

    .af-header .nav-link {
        padding: 13px 5px !important;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
        color: rgba(255, 255, 255, .9);
        font-size: 16px;
    }

        .af-header .nav-link:hover,
        .af-header .nav-link.active {
            color: #fff;
        }

        .af-header .nav-link::after {
            display: none;
        }

    .af-header__actions {
        margin: 18px 0 0;
        justify-content: space-between;
    }

    .af-language a {
        color: rgba(255, 255, 255, .65);
    }

        .af-language a:hover,
        .af-language a.active {
            color: #fff;
        }

    .af-language span {
        background: rgba(255, 255, 255, .25);
    }

    .af-register {
        min-height: 49px;
        border-radius: 13px;
    }
}

@media (max-width: 420px) {
    .af-brand__text {
        max-width: 185px;
    }

        .af-brand__text strong {
            font-size: 12px;
        }

    .af-register {
        padding-inline: 17px;
    }
}

.forum-hero {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    background-color: #fff;
    background-image: url("/images/farmacad26/main-bg.jpg");
    background-repeat: no-repeat;
    background-position: top right;
    background-size: cover;
}

.forum-hero__container,
.forum-hero__container > .row {
    min-height: 100svh;
}

.forum-hero__content {
    display: flex;
    padding-top: 100px; /* место для фиксированного меню */
    align-items: center;
    flex-direction: column;
}

.forum-hero__title {
    display: block;
    width: 100%;
    max-width: 720px;
    height: auto;
    object-fit: contain;
}

.forum-hero__button {
    display: inline-flex;
    min-height: 56px;
    margin-top: 28px;
    padding: 0 28px;
    align-items: center;
    justify-content: center;
    gap: 11px;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, #f44d69, #e93655);
    box-shadow: 0 12px 28px rgba(239, 64, 93, .25);
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

    .forum-hero__button:hover {
        color: #fff;
        box-shadow: 0 16px 32px rgba(239, 64, 93, .32);
        transform: translateY(-2px);
    }

@media (max-width: 1199.98px) {
    .forum-hero {
        background-position: 54% center;
    }

    .forum-hero__title {
        max-width: 560px;
    }
}

@media (max-width: 767.98px) {
    .forum-hero {
        min-height: 100svh;
        padding-top: 0;
        background-size: auto 56vw;
        background-position: right 82px;
        background-color: #fff;
    }

    .forum-hero__container,
    .forum-hero__container > .row {
        min-height: 100svh;
    }

        .forum-hero__container > .row {
            align-items: flex-end !important;
        }

    .forum-hero__content {
        min-height: 58svh;
        padding: 30px 4px 42px;
        justify-content: center;
    }

    .forum-hero__title {
        width: min(100%, 460px);
        margin-inline: auto;
    }

    .forum-hero__button {
        min-height: 52px;
        margin-top: 22px;
        padding-inline: 23px;
    }
}

/* =========================
   REGISTRATION FORM
   ========================= */

.af-registration-form {
    --form-green: #08784f;
    --form-green-dark: #00643f;
    --form-green-light: #4daf28;
    --form-coral: #ef405d;
    --form-text: #17362c;
    --form-muted: #72817c;
    position: relative;
    padding: clamp(24px, 4vw, 48px);
    border: 1px solid rgba(8, 120, 79, .12);
    border-radius: 28px;
    background: radial-gradient( circle at 100% 0, rgba(77, 175, 40, .08), transparent 30% ), #fff;
    box-shadow: 0 24px 65px rgba(0, 83, 53, .10);
}

    .af-registration-form::before {
        content: "";
        position: absolute;
        top: 0;
        left: 40px;
        width: 110px;
        height: 4px;
        border-radius: 0 0 5px 5px;
        background: var(--form-coral);
    }

    /* Группы полей */

    .af-registration-form .form-group {
        position: relative;
        margin-bottom: 18px;
    }

    .af-registration-form .row {
        --bs-gutter-x: 18px;
    }

        .af-registration-form .row.mb-2 {
            margin-bottom: 0 !important;
        }

    /* Поля */

    .af-registration-form .form-control {
        width: 100%;
        min-height: 58px;
        padding: 20px 16px 7px;
        border: 1px solid #dce7e2;
        border-radius: 14px;
        color: var(--form-text);
        background-color: rgba(250, 253, 251, .9);
        font-size: 15px;
        font-weight: 600;
        box-shadow: none;
        outline: none;
        transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
    }

    .af-registration-form textarea.form-control {
        min-height: 105px;
        padding-top: 24px;
        resize: vertical;
    }

    .af-registration-form select.form-control {
        padding-top: 18px;
        padding-right: 42px;
        cursor: pointer;
    }

    .af-registration-form .form-control:hover {
        border-color: rgba(8, 120, 79, .4);
    }

    .af-registration-form .form-control:focus {
        border-color: var(--form-green);
        background-color: #fff;
        box-shadow: 0 0 0 4px rgba(8, 120, 79, .10);
    }

    /* Floating label */

    .af-registration-form .floating-label {
        position: absolute;
        top: 19px;
        left: 17px;
        z-index: 2;
        max-width: calc(100% - 34px);
        margin: 0;
        overflow: hidden;
        color: var(--form-muted);
        font-size: 14px;
        font-weight: 600;
        line-height: 1;
        white-space: nowrap;
        text-overflow: ellipsis;
        pointer-events: none;
        transform-origin: left top;
        transition: top .18s ease, color .18s ease, font-size .18s ease;
    }

    /* Поднимаем label при фокусе или наличии значения */

    .af-registration-form .form-control:focus ~ .floating-label,
    .af-registration-form .form-control:not(:placeholder-shown) ~ .floating-label {
        top: 9px;
        color: var(--form-green);
        font-size: 10px;
    }

    /*
 Для select и textarea label лучше держать поднятым постоянно.
*/

    .af-registration-form select ~ .floating-label,
    .af-registration-form textarea ~ .floating-label {
        top: 9px;
        color: var(--form-green);
        font-size: 10px;
    }

    /* Ошибки */

    .af-registration-form .text-danger {
        display: block;
        margin-top: 6px;
        color: #d92d4a !important;
        font-size: 12px;
        font-weight: 600;
    }

    .af-registration-form .input-validation-error {
        border-color: var(--form-coral);
        background-color: #fffafb;
    }

        .af-registration-form .input-validation-error:focus {
            border-color: var(--form-coral);
            box-shadow: 0 0 0 4px rgba(239, 64, 93, .10);
        }

    /* Informational blocks */

    .af-registration-form .alert {
        margin-bottom: 18px;
        padding: 18px 20px;
        border: 0;
        border-radius: 16px;
    }

    .af-registration-form .alert-light {
        color: var(--form-text);
        background: #f1f8f4;
    }

    .af-registration-form .alert-warning {
        color: #4b3b20;
        background: #fff8e9;
        box-shadow: inset 4px 0 0 #f3b83f;
    }

    .af-registration-form .alert p:last-of-type {
        margin-bottom: 12px;
    }

    .af-registration-form .alert p {
        line-height: 1.55;
    }

    /* Checkboxes and radio */

    .af-registration-form .form-check {
        display: flex;
        min-height: 28px;
        margin-bottom: 8px;
        padding-left: 32px;
        align-items: flex-start;
    }

        .af-registration-form .form-check:last-child {
            margin-bottom: 0;
        }

    .af-registration-form .form-check-input {
        width: 20px;
        height: 20px;
        margin-top: 1px;
        margin-left: -32px;
        border: 2px solid rgba(8, 120, 79, .35);
        box-shadow: none;
        cursor: pointer;
    }

        .af-registration-form .form-check-input:checked {
            border-color: var(--form-green);
            background-color: var(--form-green);
        }

        .af-registration-form .form-check-input:focus {
            border-color: var(--form-green);
            box-shadow: 0 0 0 4px rgba(8, 120, 79, .10);
        }

    .af-registration-form .form-check-label {
        color: var(--form-text);
        font-size: 14px;
        font-weight: 600;
        line-height: 1.45;
        cursor: pointer;
    }

/* Submit */

.af-submit {
    display: inline-flex;
    min-width: 220px;
    min-height: 58px;
    padding: 0 28px;
    border: 0;
    border-radius: 16px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #fff;
    background: linear-gradient(135deg, #f44d69, #e93655);
    box-shadow: 0 13px 28px rgba(239, 64, 93, .25);
    font-size: 15px;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease;
}

    .af-submit:hover {
        box-shadow: 0 17px 34px rgba(239, 64, 93, .34);
        transform: translateY(-2px);
    }

    .af-submit:active {
        box-shadow: 0 8px 18px rgba(239, 64, 93, .22);
        transform: translateY(0);
    }

    .af-submit i {
        font-size: 18px;
        transition: transform .2s ease;
    }

    .af-submit:hover i {
        transform: translateX(4px);
    }

@media (max-width: 767.98px) {
    .af-registration-form {
        padding: 25px 18px;
        border-radius: 21px;
    }

        .af-registration-form::before {
            left: 24px;
            width: 80px;
        }

        .af-registration-form .form-control {
            min-height: 56px;
        }

        .af-registration-form .form-group {
            margin-bottom: 14px;
        }

        .af-registration-form .alert {
            padding: 16px;
            border-radius: 14px;
        }

    .af-submit {
        width: 100%;
        min-height: 55px;
    }

    .af-registration-form .row.justify-content-center,
    .af-registration-form .row.justify-content-center > .col-auto {
        width: 100%;
    }
}

.af-registration-section {
    padding: clamp(70px, 9vw, 120px) 0;
    background: radial-gradient( circle at 10% 20%, rgba(77, 175, 40, .07), transparent 28% ), #f8fbf9;
}

.af-section-heading {
    max-width: 650px;
    margin: 0 auto 40px;
    text-align: center;
}

    .af-section-heading span {
        color: #ef405d;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: .14em;
        text-transform: uppercase;
    }

    .af-section-heading h2 {
        margin: 10px 0 12px;
        color: #08784f;
        font-size: clamp(34px, 5vw, 56px);
        font-weight: 800;
    }

    .af-section-heading p {
        margin: 0;
        color: #72817c;
        font-size: 16px;
    }

/* =========================
   PRELOADER
   ========================= */

.af-preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: grid;
    place-items: center;
    overflow: hidden;
    visibility: visible;
    background: radial-gradient( circle at 72% 25%, rgba(77, 175, 40, .12), transparent 32% ), radial-gradient( circle at 22% 80%, rgba(239, 64, 93, .07), transparent 28% ), #fff;
    opacity: 1;
    transition: opacity .55s ease, visibility .55s ease;
}

    .af-preloader::before {
        content: "";
        position: absolute;
        top: -40%;
        right: -20%;
        width: min(75vw, 850px);
        aspect-ratio: 1;
        border: 2px solid rgba(77, 175, 40, .12);
        border-radius: 50%;
    }

    .af-preloader.is-hidden {
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
    }

.af-preloader__content {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.af-preloader__logo-wrap {
    position: relative;
    display: grid;
    width: 132px;
    height: 132px;
    place-items: center;
}

.af-preloader__logo {
    position: relative;
    z-index: 2;
    display: block;
    width: 96px;
    height: 96px;
    object-fit: contain;
    animation: af-logo-pulse 1.8s ease-in-out infinite;
}

.af-preloader__ring {
    position: absolute;
    inset: 0;
    border: 2px solid rgba(77, 175, 40, .15);
    border-top-color: #ef405d;
    border-right-color: #08784f;
    border-radius: 50%;
    animation: af-ring-spin 1.15s linear infinite;
}

    .af-preloader__ring::after {
        content: "";
        position: absolute;
        inset: 9px;
        border: 1px solid rgba(8, 120, 79, .16);
        border-bottom-color: #4daf28;
        border-radius: inherit;
        animation: af-ring-spin-reverse 1.7s linear infinite;
    }

.af-preloader__line {
    width: 118px;
    height: 3px;
    margin-top: 23px;
    overflow: hidden;
    border-radius: 10px;
    background: rgba(8, 120, 79, .12);
}

    .af-preloader__line span {
        display: block;
        width: 46%;
        height: 100%;
        border-radius: inherit;
        background: linear-gradient( 90deg, #4daf28, #08784f, #ef405d );
        animation: af-line-move 1.25s ease-in-out infinite;
    }

.af-preloader__text {
    margin-top: 12px;
    color: #6f817a;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .22em;
    text-transform: uppercase;
}

@keyframes af-ring-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes af-ring-spin-reverse {
    to {
        transform: rotate(-360deg);
    }
}

@keyframes af-logo-pulse {
    0%, 100% {
        opacity: .82;
        transform: scale(.96);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes af-line-move {
    0% {
        transform: translateX(-110%);
    }

    50% {
        transform: translateX(115%);
    }

    100% {
        transform: translateX(250%);
    }
}

/* Блокируем прокрутку во время загрузки */

body.af-loading {
    overflow: hidden;
}

@media (max-width: 575.98px) {
    .af-preloader__logo-wrap {
        width: 112px;
        height: 112px;
    }

    .af-preloader__logo {
        width: 80px;
        height: 80px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .af-preloader__ring,
    .af-preloader__ring::after,
    .af-preloader__logo,
    .af-preloader__line span {
        animation-duration: 3s;
    }
}

/* =========================
   PARTNERS
   ========================= */

.af-partners {
    position: relative;
}

.af-partners__heading {
    max-width: 650px;
    margin: 0 auto 40px;
    text-align: center;
}

    .af-partners__heading span {
        display: inline-block;
        margin-bottom: 9px;
        color: #ef405d;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: .14em;
        text-transform: uppercase;
    }

    .af-partners__heading h2 {
        margin: 0;
        color: #08784f;
        font-size: clamp(32px, 4.5vw, 52px);
        font-weight: 800;
        line-height: 1.1;
    }

/* Карточка логотипа */

.af-partner-card {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 145px;
    padding: 25px;
    overflow: hidden;
    border: 1px solid rgba(8, 120, 79, .10);
    border-radius: 20px;
    align-items: center;
    justify-content: center;
    background: #fff;
    box-shadow: 0 12px 32px rgba(0, 76, 48, .07);
    text-decoration: none;
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

    /* Небольшой фирменный акцент */

    .af-partner-card::before {
        content: "";
        position: absolute;
        top: 0;
        right: 22px;
        left: 22px;
        height: 3px;
        border-radius: 0 0 5px 5px;
        background: linear-gradient( 90deg, transparent, #4daf28, #08784f, transparent );
        opacity: 0;
        transform: scaleX(.5);
        transition: opacity .25s ease, transform .25s ease;
    }

    .af-partner-card img {
        display: block;
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: 72px;
        object-fit: contain;
        filter: saturate(.9);
        transition: filter .25s ease, transform .25s ease;
    }

    .af-partner-card:hover {
        border-color: rgba(8, 120, 79, .25);
        box-shadow: 0 18px 42px rgba(0, 76, 48, .12);
        transform: translateY(-5px);
    }

        .af-partner-card:hover::before {
            opacity: 1;
            transform: scaleX(1);
        }

        .af-partner-card:hover img {
            filter: saturate(1);
            transform: scale(1.04);
        }

    /* =========================
   INDIVIDUAL LOGO SIZES
   ========================= */

.af-partner-card {
    --logo-scale: 1;
    display: flex;
    width: 100%;
    height: 180px;
    padding: 30px;
    overflow: hidden;
    align-items: center;
    justify-content: center;
}

    .af-partner-card img {
        display: block;
        width: 72%;
        height: 82px;
        max-width: 270px;
        object-fit: contain;
        transform: scale(var(--logo-scale));
        transform-origin: center;
        transition: transform .25s ease, filter .25s ease;
    }

    .af-partner-card:hover img {
        transform: scale(calc(var(--logo-scale) * 1.04));
    }

/* Вертикальный логотип — ориентируемся преимущественно на высоту */
.af-partner-card--kusum img {
    width: 150px;
    height: 105px;
}

.af-partner-card--kusum {
    --logo-scale: 1.30;
}

.af-partner-card--farmak {
    --logo-scale: 1.30;
}

.af-partner-card--teva {
    --logo-scale: .82;
}

.af-partner-card--santo {
    --logo-scale: 1;
}

.af-partner-card--haleon {
    --logo-scale: 1.02;
}

.af-partner-card--worwag {
    --logo-scale: 1.22;
}

@media (max-width: 767.98px) {
    .af-partners__heading {
        margin-bottom: 28px;
    }

    .af-partner-card {
        min-height: 115px;
        padding: 18px 16px;
        border-radius: 16px;
    }

        .af-partner-card img {
            max-height: 55px;
        }

            .af-partner-card img[alt="Kusum"] {
                max-height: 61px;
            }

            .af-partner-card img[alt="Farmak"],
            .af-partner-card img[alt="Teva"],
            .af-partner-card img[alt="Polpharma Santo"],
            .af-partner-card img[alt="Haleon"] {
                max-height: 46px;
            }

            .af-partner-card img[alt="Wörwag Pharma"] {
                max-height: 53px;
            }
}

@media (max-width: 767.98px) {
    .af-partner-card {
        height: 120px;
        padding: 18px;
    }

        .af-partner-card img {
            width: 78%;
            height: 58px;
        }

    .af-partner-card--kusum img {
        width: 100px;
        height: 72px;
    }
}

.af-partners-section {
    position: relative;
    padding: clamp(70px, 9vw, 120px) 0;
    overflow: hidden;
    background: radial-gradient( circle at 100% 10%, rgba(77, 175, 40, .08), transparent 30% ), #f8fbf9;
}

/* =========================
   FOOTER
   ========================= */

.af-footer {
    position: relative;
    overflow: hidden;
    color: rgba(255, 255, 255, .86);
    background: radial-gradient( circle at 12% 0, rgba(77, 175, 40, .38), transparent 32% ), linear-gradient(135deg, #075c40, #00704a 55%, #08784f);
}

    .af-footer::before {
        content: "";
        position: absolute;
        top: -240px;
        right: -180px;
        width: 520px;
        height: 520px;
        border: 1px solid rgba(255, 255, 255, .10);
        border-radius: 50%;
        pointer-events: none;
    }

    .af-footer::after {
        content: "";
        position: absolute;
        right: 50px;
        bottom: 40px;
        width: 110px;
        height: 70px;
        opacity: .22;
        background-image: radial-gradient( circle, #fff 3px, transparent 4px );
        background-size: 18px 18px;
        pointer-events: none;
    }

    .af-footer .container {
        position: relative;
        z-index: 2;
    }

.af-footer__decoration {
    width: 100%;
    height: 5px;
    background: linear-gradient( 90deg, #4daf28 0 38%, #ef405d 38% 50%, rgba(255, 255, 255, .8) 50% 52%, #ef405d 52% 64%, #4daf28 64% );
}

.af-footer__main {
    padding: 65px 0 55px;
}

/* Логотип */

.af-footer__brand {
    display: inline-flex;
    max-width: 240px;
    padding: 18px 22px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 20px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 18px 38px rgba(0, 45, 29, .20);
    transition: background-color .25s ease, transform .25s ease;
}

    .af-footer__brand:hover {
        background: #fff;
        transform: translateY(-4px);
    }

.af-footer__logo {
    display: block;
    width: 100%;
    max-height: 100px;
    object-fit: contain;
}

/* Контакты */

.af-footer__contacts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.af-footer__contact {
    display: flex;
    min-height: 140px;
    padding: 22px 18px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 18px;
    align-items: flex-start;
    gap: 13px;
    background: rgba(255, 255, 255, .07);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: border-color .25s ease, background-color .25s ease, transform .25s ease;
}

    .af-footer__contact:hover {
        border-color: rgba(255, 255, 255, .24);
        background: rgba(255, 255, 255, .11);
        transform: translateY(-4px);
    }

.af-footer__icon {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    flex: 0 0 40px;
    border-radius: 12px;
    color: #fff;
    background: #ef405d;
    box-shadow: 0 8px 18px rgba(72, 0, 14, .19);
    font-size: 18px;
}

.af-footer__label {
    display: block;
    margin: 2px 0 9px;
    color: rgba(255, 255, 255, .62);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.af-footer__links {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

    .af-footer__links a {
        width: fit-content;
        color: #fff;
        font-size: 13px;
        font-weight: 700;
        line-height: 1.45;
        text-decoration: none;
        overflow-wrap: anywhere;
        transition: color .2s ease;
    }

        .af-footer__links a:hover {
            color: #b8ef9d;
        }

    .af-footer__links .bi-arrow-up-right {
        margin-left: 3px;
        font-size: 11px;
    }

/* Нижняя строка */

.af-footer__bottom {
    display: flex;
    min-height: 78px;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, .13);
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.af-footer__copyright {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, .65);
    font-size: 12px;
    line-height: 1.6;
}

    .af-footer__copyright strong {
        color: rgba(255, 255, 255, .92);
    }

.af-footer__separator {
    width: 4px;
    height: 4px;
    flex: 0 0 4px;
    border-radius: 50%;
    background: #ef405d;
}

.af-footer__up {
    display: grid;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 13px;
    place-items: center;
    flex: 0 0 44px;
    color: #fff;
    background: rgba(255, 255, 255, .08);
    text-decoration: none;
    transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

    .af-footer__up:hover {
        color: #08784f;
        background: #fff;
        transform: translateY(-3px);
    }

/* =========================
   TABLET
   ========================= */

@media (max-width: 991.98px) {
    .af-footer__main {
        padding: 55px 0 45px;
    }

    .af-footer__contacts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .af-footer__contact:last-child {
        grid-column: 1 / -1;
        min-height: auto;
    }
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 767.98px) {
    .af-footer__main {
        padding: 45px 0 35px;
    }

    .af-footer__brand {
        max-width: 210px;
    }

    .af-footer__contacts {
        grid-template-columns: 1fr;
    }

    .af-footer__contact,
    .af-footer__contact:last-child {
        grid-column: auto;
        min-height: auto;
        padding: 18px;
    }

    .af-footer__bottom {
        align-items: flex-start;
    }

    .af-footer__copyright {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .af-footer__separator {
        display: none;
    }
}

/* =========================
   REGISTRATION SUCCESS
   ========================= */

.af-registration-success {
    position: relative;
    padding: clamp(30px, 5vw, 58px);
    overflow: hidden;
    border: 1px solid rgba(8, 120, 79, .13);
    border-radius: 30px;
    background: radial-gradient( circle at 100% 0, rgba(77, 175, 40, .12), transparent 34% ), #fff;
    box-shadow: 0 25px 65px rgba(0, 83, 53, .11);
    text-align: center;
}

    .af-registration-success::before {
        content: "";
        position: absolute;
        top: -115px;
        right: -115px;
        width: 260px;
        height: 260px;
        border: 1px solid rgba(77, 175, 40, .13);
        border-radius: 50%;
    }

.af-registration-success__icon {
    position: relative;
    display: grid;
    width: 78px;
    height: 78px;
    margin: 0 auto 22px;
    border: 8px solid rgba(77, 175, 40, .12);
    border-radius: 50%;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, #4daf28, #08784f);
    box-shadow: 0 12px 28px rgba(8, 120, 79, .22);
    font-size: 31px;
}

.af-registration-success__label {
    display: block;
    margin-bottom: 9px;
    color: #ef405d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.af-registration-success h2 {
    margin: 0 0 16px;
    color: #08784f;
    font-size: clamp(30px, 4.5vw, 48px);
    font-weight: 800;
    line-height: 1.1;
}

.af-registration-success__lead {
    max-width: 650px;
    margin: 0 auto 30px;
    color: #536861;
    font-size: 16px;
    line-height: 1.7;
}

/* Дата и формат */

.af-registration-success__info {
    display: grid;
    max-width: 650px;
    margin: 0 auto 22px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.af-registration-success__item {
    display: flex;
    min-height: 92px;
    padding: 18px;
    border: 1px solid rgba(8, 120, 79, .11);
    border-radius: 17px;
    align-items: center;
    gap: 13px;
    background: #f4f9f6;
    text-align: left;
}

.af-registration-success__item-icon {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 13px;
    place-items: center;
    color: #08784f;
    background: rgba(77, 175, 40, .14);
    font-size: 19px;
}

.af-registration-success__item small {
    display: block;
    margin-bottom: 3px;
    color: #7a8d86;
    font-size: 11px;
    font-weight: 700;
}

.af-registration-success__item strong {
    display: block;
    color: #17362c;
    font-size: 14px;
    font-weight: 800;
}

/* Уведомление */

.af-registration-success__notice {
    display: flex;
    max-width: 650px;
    margin: 0 auto 20px;
    padding: 17px 19px;
    border-radius: 16px;
    align-items: flex-start;
    gap: 13px;
    color: #70531b;
    background: #fff7e5;
    box-shadow: inset 4px 0 0 #f0b33b;
    text-align: left;
}

    .af-registration-success__notice i {
        margin-top: 1px;
        color: #d89416;
        font-size: 21px;
    }

    .af-registration-success__notice p {
        margin: 0;
        font-size: 13px;
        line-height: 1.6;
    }

.af-registration-success__reminder {
    max-width: 620px;
    margin: 0 auto 26px;
    color: #71827c;
    font-size: 13px;
    line-height: 1.6;
}

/* Кнопка */

.af-registration-success__button {
    display: inline-flex;
    min-height: 54px;
    padding: 0 25px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
    background: linear-gradient(135deg, #f44d69, #e93655);
    box-shadow: 0 12px 25px rgba(239, 64, 93, .23);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: box-shadow .2s ease, transform .2s ease;
}

    .af-registration-success__button:hover {
        color: #fff;
        box-shadow: 0 16px 30px rgba(239, 64, 93, .31);
        transform: translateY(-2px);
    }

@media (max-width: 575.98px) {
    .af-registration-success {
        padding: 30px 18px;
        border-radius: 22px;
    }

    .af-registration-success__icon {
        width: 68px;
        height: 68px;
        font-size: 27px;
    }

    .af-registration-success__info {
        grid-template-columns: 1fr;
    }

    .af-registration-success__item {
        min-height: 82px;
    }

    .af-registration-success__button {
        width: 100%;
    }
}

.af-login-invitation {
    display: grid;
    padding: 20px 22px;
    border: 1px solid rgba(8, 120, 79, .14);
    border-radius: 20px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 17px;
    background: linear-gradient( 105deg, rgba(77, 175, 40, .09), rgba(255, 255, 255, .96) 45% );
    box-shadow: 0 13px 35px rgba(0, 83, 53, .07);
}

.af-login-invitation__icon {
    display: grid;
    width: 52px;
    height: 52px;
    border-radius: 15px;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, #4daf28, #08784f);
    box-shadow: 0 9px 20px rgba(8, 120, 79, .20);
    font-size: 23px;
}

.af-login-invitation__content strong {
    display: block;
    margin-bottom: 4px;
    color: #08784f;
    font-size: 16px;
    font-weight: 800;
}

.af-login-invitation__content p {
    margin: 0;
    color: #667a73;
    font-size: 13px;
    line-height: 1.55;
}

.af-login-invitation__button {
    display: inline-flex;
    min-height: 48px;
    padding: 0 21px;
    border: 1px solid rgba(8, 120, 79, .16);
    border-radius: 14px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #08784f;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 83, 53, .07);
    font-size: 14px;
    font-weight: 800;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

    .af-login-invitation__button:hover {
        border-color: #08784f;
        color: #fff;
        background: #08784f;
        transform: translateY(-2px);
    }

@media (max-width: 767.98px) {
    .af-login-invitation {
        padding: 19px;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: flex-start;
    }

    .af-login-invitation__button {
        width: 100%;
        grid-column: 1 / -1;
    }
}

@media (max-width: 420px) {
    .af-login-invitation {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .af-login-invitation__icon {
        margin-inline: auto;
    }

    .af-login-invitation__button {
        grid-column: auto;
    }
}

/* Затемнение */

.af-login-modal {
    --login-green: #08784f;
    --login-green-dark: #00643f;
    --login-coral: #ef405d;
    --login-text: #17362c;
}

    .af-login-modal .modal-backdrop {
        background-color: #003d29;
    }

.modal-backdrop.show {
    opacity: .62;
}

/* Окно */

.af-login-modal .modal-dialog {
    width: calc(100% - 28px);
    max-width: 520px;
    margin-inline: auto;
}

.af-login-modal .modal-content {
    overflow: hidden;
    border: 1px solid rgba(8, 120, 79, .13);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 30px 90px rgba(0, 45, 29, .28);
}

/* Header */

.af-login-modal .modal-header {
    position: relative;
    padding: 23px 25px;
    border-bottom: 1px solid rgba(8, 120, 79, .10);
    align-items: center;
    background: radial-gradient( circle at 100% 0, rgba(77, 175, 40, .13), transparent 50% ), #f8fbf9;
}

    .af-login-modal .modal-header::before {
        content: "";
        position: absolute;
        bottom: -1px;
        left: 25px;
        width: 70px;
        height: 3px;
        border-radius: 4px 4px 0 0;
        background: #ef405d;
    }

.af-login-modal__title {
    display: flex;
    align-items: center;
    gap: 13px;
}

.af-login-modal__title-icon {
    display: grid;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, #4daf28, #08784f);
    font-size: 21px;
}

.af-login-modal__title small {
    display: block;
    margin-bottom: 2px;
    color: #ef405d;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.af-login-modal .modal-title {
    margin: 0;
    color: #08784f;
    font-size: 22px;
    font-weight: 800;
}

.af-login-modal .btn-close {
    padding: 9px;
    border-radius: 10px;
    background-color: rgba(8, 120, 79, .08);
    box-shadow: none;
}

/* Body */

.af-login-modal .modal-body {
    padding: 26px 25px 12px;
}

.af-login-modal__description {
    margin: 0 0 22px;
    color: #697c75;
    font-size: 13px;
    line-height: 1.65;
}

.af-login-field {
    margin-bottom: 18px;
}

    .af-login-field > label {
        display: block;
        margin: 0 0 7px 3px;
        color: #304a41;
        font-size: 12px;
        font-weight: 800;
    }

.af-login-field__control {
    position: relative;
}

    .af-login-field__control > i {
        position: absolute;
        top: 50%;
        left: 16px;
        z-index: 2;
        color: #08784f;
        font-size: 17px;
        pointer-events: none;
        transform: translateY(-50%);
    }

.af-login-field .form-control {
    min-height: 56px;
    padding: 12px 16px 12px 47px;
    border: 1px solid #dce7e2;
    border-radius: 14px;
    color: #17362c;
    background: #f9fcfa;
    font-size: 14px;
    font-weight: 600;
    box-shadow: none;
}

    .af-login-field .form-control::placeholder {
        color: #a4b2ad;
        font-weight: 400;
    }

    .af-login-field .form-control:focus {
        border-color: #08784f;
        background: #fff;
        box-shadow: 0 0 0 4px rgba(8, 120, 79, .10);
    }

/* Footer */

.af-login-modal .modal-footer {
    padding: 14px 25px 25px;
    border-top: 0;
    gap: 10px;
}

.af-login-modal__cancel,
.af-login-modal__submit {
    display: inline-flex;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 14px;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
}

.af-login-modal__cancel {
    border: 1px solid #dce7e2;
    color: #657770;
    background: #fff;
}

    .af-login-modal__cancel:hover {
        border-color: #b9cbc3;
        color: #17362c;
    }

.af-login-modal__submit {
    border: 0;
    gap: 9px;
    color: #fff;
    background: linear-gradient(135deg, #f44d69, #e93655);
    box-shadow: 0 11px 23px rgba(239, 64, 93, .23);
}

    .af-login-modal__submit:hover {
        box-shadow: 0 15px 28px rgba(239, 64, 93, .31);
        transform: translateY(-1px);
    }

@media (max-width: 575.98px) {
    .af-login-modal .modal-content {
        border-radius: 21px;
    }

    .af-login-modal .modal-header,
    .af-login-modal .modal-body {
        padding-right: 19px;
        padding-left: 19px;
    }

    .af-login-modal .modal-footer {
        display: grid;
        padding-right: 19px;
        padding-left: 19px;
        grid-template-columns: 1fr 1fr;
    }

    .af-login-modal__cancel,
    .af-login-modal__submit {
        width: 100%;
        padding-inline: 15px;
    }
}

.af-logout-form {
    margin: 24px 0 0;
    text-align: center;
}

.af-logout-button {
    display: inline-flex;
    min-height: 48px;
    padding: 0 21px;
    border: 1px solid rgba(8, 120, 79, .22);
    border-radius: 14px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #08784f;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 83, 53, .07);
    font-size: 14px;
    font-weight: 800;
    transition: color .2s ease, border-color .2s ease, background-color .2s ease, transform .2s ease;
}

    .af-logout-button:hover {
        border-color: #ef405d;
        color: #ef405d;
        background: #fff8fa;
        transform: translateY(-2px);
    }

    .af-logout-button:active {
        transform: translateY(0);
    }

    .af-logout-button i {
        font-size: 17px;
    }

/* =========================
   ABOUT FORUM
   ========================= */

.af-about-section {
    position: relative;
    padding: clamp(75px, 9vw, 125px) 0;
    overflow: hidden;
    background: radial-gradient( circle at 0 50%, rgba(77, 175, 40, .09), transparent 30% ), #f8fbf9;
}

    .af-about-section::before {
        content: "";
        position: absolute;
        top: 55px;
        right: 4%;
        width: 105px;
        height: 70px;
        opacity: .12;
        background-image: radial-gradient( circle, #08784f 3px, transparent 4px );
        background-size: 18px 18px;
    }

/* Левая композиция */

.af-about-visual {
    position: relative;
    display: grid;
    width: min(100%, 470px);
    min-height: 480px;
    margin-inline: auto;
    overflow: hidden;
    border-radius: 34px;
    place-items: center;
    color: #fff;
    background: radial-gradient( circle at 75% 20%, rgba(255, 255, 255, .18), transparent 27% ), linear-gradient(145deg, #075f42, #08784f 58%, #4daf28);
    box-shadow: 0 30px 65px rgba(0, 83, 53, .20);
}

    .af-about-visual::before {
        content: "";
        position: absolute;
        right: -125px;
        bottom: -120px;
        width: 340px;
        height: 340px;
        border: 2px solid rgba(255, 255, 255, .15);
        border-radius: 50%;
    }

    .af-about-visual::after {
        content: "";
        position: absolute;
        right: -75px;
        bottom: -70px;
        width: 240px;
        height: 240px;
        border: 1px solid rgba(255, 255, 255, .18);
        border-radius: 50%;
    }

.af-about-visual__circle {
    position: absolute;
    top: -80px;
    left: -90px;
    width: 260px;
    height: 260px;
    border: 45px solid rgba(255, 255, 255, .07);
    border-radius: 50%;
}

.af-about-visual__content {
    position: relative;
    z-index: 2;
    display: flex;
    padding: 50px 30px;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.af-about-visual__label {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, .78);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.af-about-visual__number {
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(110px, 13vw, 175px);
    font-weight: 400;
    line-height: .95;
    text-shadow: 0 15px 35px rgba(0, 45, 29, .22);
}

.af-about-visual__year {
    margin-top: 19px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.af-about-visual__badge {
    position: absolute;
    right: 24px;
    bottom: 24px;
    z-index: 3;
    display: flex;
    padding: 13px 16px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 16px;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

    .af-about-visual__badge i {
        color: #ff6680;
        font-size: 24px;
    }

    .af-about-visual__badge span {
        color: #fff;
        font-size: 11px;
        font-weight: 700;
        line-height: 1.35;
    }

/* Заголовок */

.af-section-heading--left {
    max-width: none;
    margin: 0 0 25px;
    text-align: center;
}

    .af-section-heading--left span {
        display: inline-block;
        margin-bottom: 8px;
        color: #ef405d;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: .15em;
        text-transform: uppercase;
    }

    .af-section-heading--left h2 {
        margin: 0;
        color: #08784f;
        font-size: clamp(38px, 5vw, 58px);
        font-weight: 800;
        line-height: 1.05;
    }

/* Текст */

.af-about-text {
    color: #5d716a;
    font-size: 15px;
    line-height: 1.85;
}

    .af-about-text p {
        margin: 0 0 18px;
    }

.af-about-text__lead {
    color: #3f574f;
    font-size: 17px;
    line-height: 1.8;
}

    .af-about-text__lead strong {
        color: #17362c;
        font-weight: 800;
    }

/* Преимущества */

.af-about-features {
    display: grid;
    margin-top: 29px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.af-about-feature {
    display: flex;
    min-height: 94px;
    padding: 15px 13px;
    border: 1px solid rgba(8, 120, 79, .11);
    border-radius: 16px;
    align-items: center;
    gap: 11px;
    color: #28493e;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0, 83, 53, .06);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.45;
    transition: border-color .2s ease, transform .2s ease;
}

    .af-about-feature:hover {
        border-color: rgba(8, 120, 79, .28);
        transform: translateY(-3px);
    }

.af-about-feature__icon {
    display: grid;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    place-items: center;
    flex: 0 0 40px;
    color: #08784f;
    background: rgba(77, 175, 40, .12);
    font-size: 18px;
}

/* Кнопка */

.af-about-button {
    display: inline-flex;
    min-height: 54px;
    margin-top: 28px;
    padding: 0 25px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
    background: linear-gradient(135deg, #f44d69, #e93655);
    box-shadow: 0 12px 26px rgba(239, 64, 93, .23);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: box-shadow .2s ease, transform .2s ease;
}

    .af-about-button:hover {
        color: #fff;
        box-shadow: 0 16px 32px rgba(239, 64, 93, .31);
        transform: translateY(-2px);
    }

    .af-about-button i {
        transition: transform .2s ease;
    }

    .af-about-button:hover i {
        transform: translateY(3px);
    }

/* =========================
   MOBILE
   ========================= */

@media (max-width: 991.98px) {
    .af-about-visual {
        min-height: 390px;
    }

    .af-about-content {
        max-width: 720px;
        margin-inline: auto;
    }
}

@media (max-width: 767.98px) {
    .af-about-section {
        padding: 70px 0;
    }

    .af-about-visual {
        min-height: 330px;
        border-radius: 24px;
    }

    .af-about-visual__number {
        font-size: 120px;
    }

    .af-about-features {
        grid-template-columns: 1fr;
    }

    .af-about-feature {
        min-height: 75px;
    }

    .af-about-button {
        width: 100%;
    }
}

/* =========================
   SPEAKERS SECTION
   ========================= */

.af-speakers-section {
    position: relative;
    padding: clamp(75px, 9vw, 125px) 0;
    overflow: hidden;
    background: radial-gradient( circle at 100% 12%, rgba(77, 175, 40, .09), transparent 28% ), radial-gradient( circle at 0 85%, rgba(239, 64, 93, .05), transparent 25% ), #f8fbf9;
}

    .af-speakers-section::before {
        content: "";
        position: absolute;
        top: 70px;
        right: 3%;
        width: 105px;
        height: 75px;
        opacity: .12;
        background-image: radial-gradient( circle, #08784f 3px, transparent 4px );
        background-size: 18px 18px;
        pointer-events: none;
    }

    .af-speakers-section::after {
        content: "";
        position: absolute;
        bottom: -180px;
        left: -180px;
        width: 420px;
        height: 420px;
        border: 1px solid rgba(77, 175, 40, .11);
        border-radius: 50%;
        pointer-events: none;
    }

    .af-speakers-section .container {
        position: relative;
        z-index: 2;
    }

    /* Заголовок */

    .af-speakers-section .af-section-heading {
        max-width: 720px;
        margin: 0 auto 45px;
        text-align: center;
    }

        .af-speakers-section .af-section-heading > span {
            display: inline-block;
            margin-bottom: 9px;
            color: #ef405d;
            font-size: 11px;
            font-weight: 800;
            letter-spacing: .15em;
            text-transform: uppercase;
        }

        .af-speakers-section .af-section-heading h2 {
            margin: 0 0 15px;
            color: #08784f;
            font-size: clamp(38px, 5vw, 58px);
            font-weight: 800;
            line-height: 1.08;
        }

        .af-speakers-section .af-section-heading p {
            max-width: 650px;
            margin: 0 auto;
            color: #687b74;
            font-size: 15px;
            line-height: 1.7;
        }

@media (max-width: 767.98px) {
    .af-speakers-section {
        padding: 70px 0;
    }

        .af-speakers-section .af-section-heading {
            margin-bottom: 30px;
        }

            .af-speakers-section .af-section-heading p {
                font-size: 14px;
            }
}

/* =========================
   SPEAKER CARDS
   ========================= */

.af-speaker-card {
    position: relative;
    display: flex;
    height: 100%;
    min-height: 285px;
    padding: 25px;
    overflow: hidden;
    border: 1px solid rgba(8, 120, 79, .11);
    border-radius: 22px;
    flex-direction: column;
    background: radial-gradient( circle at 100% 0, rgba(77, 175, 40, .10), transparent 32% ), #fff;
    box-shadow: 0 14px 38px rgba(0, 83, 53, .08);
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

    .af-speaker-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 25px;
        width: 72px;
        height: 4px;
        border-radius: 0 0 5px 5px;
        background: #ef405d;
    }

    .af-speaker-card::after {
        content: "";
        position: absolute;
        top: -72px;
        right: -72px;
        width: 170px;
        height: 170px;
        border: 1px solid rgba(77, 175, 40, .13);
        border-radius: 50%;
        pointer-events: none;
    }

    .af-speaker-card:hover {
        border-color: rgba(8, 120, 79, .25);
        box-shadow: 0 22px 48px rgba(0, 83, 53, .13);
        transform: translateY(-6px);
    }

/* Верх карточки */

.af-speaker-card__top {
    position: relative;
    z-index: 2;
    display: flex;
    margin-bottom: 23px;
    align-items: center;
    gap: 15px;
}

.af-speaker-card__photo {
    position: relative;
    display: grid;
    width: 76px;
    height: 76px;
    padding: 4px;
    overflow: hidden;
    border: 1px solid rgba(8, 120, 79, .16);
    border-radius: 50%;
    place-items: center;
    flex: 0 0 76px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(8, 120, 79, .16);
}

    .af-speaker-card__photo img {
        display: block;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
        object-position: center top;
    }

    .af-speaker-card__photo span {
        display: grid;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        place-items: center;
        color: #fff;
        background: linear-gradient(145deg, #4daf28, #08784f);
        font-family: Georgia, "Times New Roman", serif;
        font-size: 21px;
        font-weight: 700;
        text-transform: uppercase;
    }

@media (max-width: 767.98px) {
    .af-speaker-card__photo {
        width: 66px;
        height: 66px;
        flex-basis: 66px;
    }

        .af-speaker-card__photo span {
            font-size: 18px;
        }
}

/* Имя и описание */

.af-speaker-card__content {
    position: relative;
    z-index: 2;
    flex: 1;
}

    .af-speaker-card__content h3 {
        margin: 0 0 13px;
        color: #17362c;
        font-size: 20px;
        font-weight: 700;
        line-height: 1.28;
    }

        .af-speaker-card__content h3 span {
            display: block;
            color: #08784f;
            font-size: 24px;
            font-weight: 800;
        }

.af-speaker-card__title {
    color: #687b74;
    font-size: 13px;
    line-height: 1.65;
}

    .af-speaker-card__title p {
        margin: 0;
    }

        .af-speaker-card__title p + p {
            margin-top: 7px;
        }

/* Низ карточки */

.af-speaker-card__footer {
    display: flex;
    margin-top: 22px;
    padding-top: 15px;
    border-top: 1px solid rgba(8, 120, 79, .10);
    align-items: center;
    gap: 8px;
    color: #8a9994;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

    .af-speaker-card__footer i {
        color: #ef405d;
        font-size: 15px;
    }

@media (max-width: 767.98px) {
    .af-speaker-card {
        min-height: 255px;
        padding: 22px 19px;
        border-radius: 19px;
    }

        .af-speaker-card::before {
            left: 19px;
        }

    .af-speaker-card__avatar {
        width: 56px;
        height: 56px;
        flex-basis: 56px;
        font-size: 18px;
    }

    .af-speaker-card__content h3 {
        font-size: 18px;
    }

        .af-speaker-card__content h3 span {
            font-size: 21px;
        }
}

/* =========================
   PROGRAM SECTION
   ========================= */

.af-program-section {
    position: relative;
    padding: clamp(75px, 9vw, 125px) 0;
    overflow: hidden;
    background: radial-gradient( circle at 100% 8%, rgba(77, 175, 40, .09), transparent 25% ), #fff;
}

    .af-program-section .container {
        position: relative;
        z-index: 2;
    }

    .af-program-section .af-section-heading {
        max-width: 720px;
        margin: 0 auto 25px;
        text-align: center;
    }

        .af-program-section .af-section-heading > span {
            display: inline-block;
            margin-bottom: 9px;
            color: #ef405d;
            font-size: 11px;
            font-weight: 800;
            letter-spacing: .15em;
            text-transform: uppercase;
        }

        .af-program-section .af-section-heading h2 {
            margin: 0 0 15px;
            color: #08784f;
            font-size: clamp(38px, 5vw, 58px);
            font-weight: 800;
            line-height: 1.08;
        }

        .af-program-section .af-section-heading p {
            margin: 0;
            color: #687b74;
            font-size: 15px;
            line-height: 1.7;
        }

/* PDF */

.af-program-download {
    display: flex;
    margin: 0 0 42px;
    justify-content: center;
}

    .af-program-download > a {
        display: flex;
        min-width: min(100%, 380px);
        padding: 13px 17px;
        border: 1px solid rgba(8, 120, 79, .14);
        border-radius: 17px;
        align-items: center;
        gap: 13px;
        color: #17362c;
        background: #f7fbf8;
        box-shadow: 0 10px 25px rgba(0, 83, 53, .06);
        text-decoration: none;
        transition: .2s ease;
    }

        .af-program-download > a:hover {
            border-color: rgba(8, 120, 79, .32);
            color: #08784f;
            background: #fff;
            transform: translateY(-2px);
        }

.af-program-download__icon {
    display: grid;
    width: 45px;
    height: 45px;
    border-radius: 13px;
    place-items: center;
    flex: 0 0 45px;
    color: #fff;
    background: #ef405d;
    font-size: 20px;
}

.af-program-download a > span:nth-child(2) {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
}

.af-program-download strong {
    font-size: 14px;
    line-height: 1.35;
}

.af-program-download small {
    margin-top: 2px;
    color: #84938e;
    font-size: 11px;
}

.af-program-download a > i {
    color: #08784f;
    font-size: 18px;
}

/* День */

.af-program-day + .af-program-day {
    margin-top: 55px;
}

.af-program-day__header {
    display: flex;
    margin-bottom: 20px;
    align-items: center;
    gap: 17px;
}

.af-program-day__date {
    display: flex;
    width: 76px;
    height: 76px;
    border-radius: 21px;
    align-items: center;
    justify-content: center;
    flex: 0 0 76px;
    flex-direction: column;
    color: #fff;
    background: linear-gradient(145deg, #4daf28, #08784f);
    box-shadow: 0 12px 25px rgba(8, 120, 79, .20);
}

.af-program-day__number {
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}

.af-program-day__month {
    margin-top: 5px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.af-program-day__heading > span {
    color: #ef405d;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.af-program-day__heading h3 {
    margin: 4px 0 0;
    color: #17362c;
    font-size: clamp(23px, 3vw, 34px);
    font-weight: 800;
}

/* Зал */

.af-program-hall {
    overflow: hidden;
    border: 1px solid rgba(8, 120, 79, .13);
    border-radius: 25px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(0, 83, 53, .08);
}

    .af-program-hall + .af-program-hall {
        margin-top: 25px;
    }

.af-program-hall__header {
    display: flex;
    padding: 17px 24px;
    align-items: center;
    gap: 11px;
    color: #fff;
    background: linear-gradient(135deg, #075f42, #08784f);
}

.af-program-hall__icon {
    display: grid;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    place-items: center;
    flex: 0 0 34px;
    background: rgba(255, 255, 255, .13);
}

.af-program-hall__header h4 {
    margin: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
}

.af-program-hall__body {
    padding: 25px;
}

/* Тематический блок */

.af-program-topic + .af-program-topic {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid #e4eee9;
}

.af-program-topic__header {
    margin-bottom: 20px;
    padding: 20px 22px;
    border-radius: 17px;
    background: linear-gradient( 135deg, rgba(77, 175, 40, .09), rgba(8, 120, 79, .04) );
}

.af-program-topic__time {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 6px 10px;
    border-radius: 20px;
    align-items: center;
    gap: 6px;
    color: #08784f;
    background: #fff;
    font-size: 11px;
    font-weight: 800;
}

.af-program-topic__header h5 {
    margin: 0;
    color: #17362c;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.4;
}

.af-program-topic__subtitle {
    margin-top: 7px;
    color: #637870;
    font-size: 14px;
    line-height: 1.6;
}

.af-program-moderators {
    display: flex;
    margin-top: 14px;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 5px;
    color: #6b7e77;
    font-size: 12px;
}

.af-program-moderators__label {
    color: #ef405d;
    font-weight: 800;
}

.af-program-moderators__names a {
    color: #08784f;
    font-weight: 800;
    text-decoration: none;
}

    .af-program-moderators__names a:hover {
        color: #ef405d;
    }

/* Доклады */

.af-program-lecture {
    position: relative;
    display: grid;
    min-height: 96px;
    grid-template-columns: 22px 90px minmax(0, 1fr) minmax(210px, .65fr);
}

    .af-program-lecture + .af-program-lecture {
        margin-top: 8px;
    }

.af-program-lecture__marker {
    position: relative;
}

    .af-program-lecture__marker::after {
        content: "";
        position: absolute;
        top: 27px;
        bottom: -18px;
        left: 6px;
        width: 1px;
        background: #d6e6de;
    }

.af-program-lecture:last-child
.af-program-lecture__marker::after {
    display: none;
}

.af-program-lecture__marker span {
    position: relative;
    z-index: 2;
    display: block;
    width: 13px;
    height: 13px;
    margin-top: 7px;
    border: 3px solid #d8f0e0;
    border-radius: 50%;
    background: #08784f;
}

.af-program-lecture__time {
    display: flex;
    padding-top: 3px;
    flex-direction: column;
    color: #08784f;
    font-size: 14px;
    font-weight: 800;
}

    .af-program-lecture__time small {
        margin-top: 2px;
        color: #91a19b;
        font-size: 11px;
        font-weight: 700;
    }

.af-program-lecture__content {
    padding: 0 25px 25px 0;
}

    .af-program-lecture__content h6 {
        margin: 0;
        color: #253f36;
        font-size: 15px;
        font-weight: 800;
        line-height: 1.55;
    }

.af-program-lecture__subtitle {
    margin-top: 6px;
    color: #74867f;
    font-size: 12px;
    line-height: 1.55;
}

.af-program-lecture__speakers {
    padding: 0 0 25px 22px;
    border-left: 1px solid #e5eee9;
}

.af-program-speaker + .af-program-speaker {
    margin-top: 13px;
}

.af-program-speaker > a {
    color: #08784f;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

    .af-program-speaker > a:hover {
        color: #ef405d;
    }

.af-program-speaker__title,
.af-program-speaker__location {
    margin-top: 4px;
    color: #7b8b85;
    font-size: 10px;
    line-height: 1.5;
}

    .af-program-speaker__title p {
        margin: 0;
    }

    .af-program-speaker__location i {
        margin-right: 3px;
        color: #ef405d;
    }

/* Перерыв */

.af-program-lecture--break {
    min-height: 64px;
    padding: 13px 15px 13px 0;
    border-radius: 13px;
    background: #fff5f7;
}

    .af-program-lecture--break
    .af-program-lecture__marker span {
        border-color: #ffdce2;
        background: #ef405d;
    }

    .af-program-lecture--break
    .af-program-lecture__content {
        padding-bottom: 0;
    }

        .af-program-lecture--break
        .af-program-lecture__content h6 {
            color: #ef405d;
        }

/* =========================
   MOBILE
   ========================= */

@media (max-width: 767.98px) {
    .af-program-section {
        padding: 70px 0;
    }

    .af-program-download {
        margin-bottom: 32px;
    }

    .af-program-day__date {
        width: 64px;
        height: 64px;
        border-radius: 17px;
        flex-basis: 64px;
    }

    .af-program-day__number {
        font-size: 24px;
    }

    .af-program-hall {
        border-radius: 20px;
    }

    .af-program-hall__header {
        padding: 15px 17px;
    }

    .af-program-hall__body {
        padding: 15px;
    }

    .af-program-topic__header {
        padding: 17px;
    }

        .af-program-topic__header h5 {
            font-size: 17px;
        }

    .af-program-lecture {
        padding: 15px 0;
        grid-template-columns: 18px 68px minmax(0, 1fr);
    }

    .af-program-lecture__marker::after {
        bottom: -23px;
        left: 5px;
    }

    .af-program-lecture__marker span {
        width: 11px;
        height: 11px;
    }

    .af-program-lecture__time {
        font-size: 12px;
    }

    .af-program-lecture__content {
        padding: 0;
    }

        .af-program-lecture__content h6 {
            font-size: 14px;
        }

    .af-program-lecture__speakers {
        padding: 13px 0 0;
        border: 0;
        grid-column: 3;
    }

    .af-program-lecture--break {
        padding: 12px 8px 12px 0;
    }
}