@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&family=Space+Grotesk:wght@300..700&display=swap');

@font-face {
    font-family: "Courses Proxima";
    src: url("/fonts/proximanova_regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Courses Proxima";
    src: url("/fonts/proximanova_bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Courses Proxima";
    src: url("/fonts/proximanova_extrabold.woff2") format("woff2");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --courses-ink: #30275f;
    --courses-ink-deep: #251c52;
    --courses-orange: #ff5a0a;
    --courses-orange-dark: #e74700;
    --courses-lilac: #f7f4fd;
    --courses-lilac-deep: #eee9fa;
    --courses-line: #e2deec;
}

html {
    scroll-behavior: smooth;
}

body.courses-home {
    background: #fff;
    color: var(--courses-ink);
    font-family: "Raleway", sans-serif;
}

body.courses-home h1,
body.courses-home h2,
body.courses-home h3,
body.courses-home h4,
body.courses-home h5,
body.courses-home h6,
body.courses-home .courses-home__brand,
body.courses-home .courses-home__nav,
body.courses-home .courses-home__filter,
body.courses-home .courses-home__course-card-head h3 {
    font-family: "Space Grotesk", sans-serif;
}

.courses-home__page {
    min-height: 100vh;
    overflow: hidden;
    background: #fff;
}

.courses-home__header {
    padding: 28px 0 24px;
    background: #fff;
}

.courses-home__header-inner {
}

.courses-home__brand {
    color: var(--courses-ink);
    font-family: "Space Grotesk", "Courses Proxima", sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 0.83;
    letter-spacing: -0.06em;
}

.courses-home__brand-line {
    display: block;
}

.courses-home__brand-line--small {
    padding-left: 12px;
    font-size: 1.16rem;
}

.courses-home__brand-spark,
.courses-home__brand-clock {
    display: inline-block;
    margin-left: 2px;
    color: var(--courses-ink);
    font-size: 0.65em;
    vertical-align: top;
}

.courses-home__brand-clock {
    font-size: 0.7em;
    vertical-align: baseline;
}

.courses-home__nav {
}

.courses-home__nav a {
    color: var(--courses-ink);
    font-family: "Space Grotesk", "Courses Proxima", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    transition: color 180ms ease;
}

.courses-home__nav a:hover,
.courses-home__nav a:focus-visible {
    color: var(--courses-orange);
}

.courses-home__hero {
    position: relative;
    min-height: 386px;
    padding: 48px 50px;
    overflow: hidden;
    display: flex;
    border-radius: 34px;
    background: var(--courses-lilac);
    flex-direction: column;
    justify-content: center;
}

.courses-home__hero::before,
.courses-home__benefits::before,
.courses-home__final-cta::before {
    position: absolute;
    width: 270px;
    height: 270px;
    border: 26px solid rgba(218, 204, 247, 0.55);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.courses-home__hero::before {
    top: -158px;
    left: -60px;
}

.courses-home__hero-copy {
    position: relative;
    z-index: 2;
    max-width: 530px;
    padding-left: 30px;
}

.courses-home__hero h1 {
    max-width: 550px;
    margin: 0;
    color: var(--courses-ink);
    font-family: "Space Grotesk", "Courses Proxima", sans-serif;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1.06;
}

.courses-home__hero h1 em,
.courses-home__benefits h2 em {
    color: var(--courses-orange);
    font-style: normal;
}

.courses-home__button {
    align-items: center;
    justify-content: center;
    min-height: 50px;
    margin-top: 28px;
    padding: 12px 22px;
    border-radius: 11px;
    background: var(--courses-orange);
    color: #fff;
    font-family: "Space Grotesk", "Courses Proxima", sans-serif;
    font-size: 25px;
    font-weight: 800;
    line-height: 1;
    transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.courses-home__button:hover,
.courses-home__button:focus-visible {
    background: var(--courses-orange-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(255, 90, 10, 0.28);
}

.courses-home__hero-gallery {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    width: 58.333333%;
    padding-right: 70px;
    padding-left: 40px;
}

.courses-home__hero-gallery > .col-6 {
    height: 100%;
}

.courses-home__hero-mobile-slider {
    display: none;
}

.courses-home__hero-slider {
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

.courses-home__hero-slider-track {
    --courses-home__hero-slider-gap: 1rem;
    width: 100%;
    height: calc(var(--courses-home__hero-slider-height) + var(--courses-home__hero-slider-total-gap));
    min-height: 0;
    grid-template-rows: repeat(var(--courses-home__hero-slider-items), minmax(0, 1fr));
    will-change: transform;
}

.courses-home__hero-slider--up .courses-home__hero-slider-track {
    animation: courses-home-hero-slide-up 30s linear infinite;
}

.courses-home__hero-slider--down .courses-home__hero-slider-track {
    transform: translateY(calc(-50% + (var(--courses-home__hero-slider-gap) / 2)));
    animation: courses-home-hero-slide-down 30s linear infinite;
}

.courses-home__hero-slide {
    min-height: 0;
    overflow: hidden;
    border-radius: 15px;
    background: var(--courses-lilac-deep);
}

.courses-home__hero-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes courses-home-hero-slide-up {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(calc(-50% + (var(--courses-home__hero-slider-gap) / 2)));
    }
}

@keyframes courses-home-hero-slide-down {
    from {
        transform: translateY(calc(-50% + (var(--courses-home__hero-slider-gap) / 2)));
    }
    to {
        transform: translateY(0);
    }
}

.courses-home__hero-ring {
    position: absolute;
    z-index: 0;
    width: 100px;
    height: 100px;
    border: 17px solid rgba(218, 204, 247, 0.45);
    border-radius: 50%;
}

.courses-home__hero-ring--top {
    top: -30px;
    left: 70px;
}

.courses-home__catalog {
    padding: 76px 0 84px;
}

.courses-home__section-heading {
    margin-bottom: 30px;
}

.courses-home__section-heading--center {
    text-align: center;
}

.courses-home__section-heading h2 {
    margin: 0;
    color: var(--courses-ink);
    font-family: "Space Grotesk", "Courses Proxima", sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.65rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.05;
}

.courses-home__section-heading > p:last-child {
    max-width: 640px;
    margin: 14px auto 0;
    color: #77718e;
    font-size: 1rem;
}

.courses-home__filters {
    margin: 0 auto 38px;
}

.courses-home__filter {
    min-height: 42px;
    padding: 8px 14px;
    border: 1px solid var(--courses-line);
    border-radius: 10px;
    background: #fff;
    color: var(--courses-ink);
    font: inherit;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.courses-home__filter:hover,
.courses-home__filter:focus-visible,
.courses-home__filter.is-active {
    border-color: var(--courses-ink);
    background: var(--courses-ink);
    color: #fff;
    transform: translateY(-1px);
}

.courses-home__filter-icon {
    width: 20px;
    height: 20px;
    color: var(--courses-ink);
}

.courses-home__filter-icon img {
    display: block;
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.courses-home__filter.is-active .courses-home__filter-icon img, .courses-home__filter:hover   .courses-home__filter-icon img{
    filter: brightness(0) invert(1);
}

.courses-home__filter small {
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--courses-lilac);
    color: var(--courses-ink);
    font-size: 0.68rem;
    font-weight: 800;
}

.courses-home__course-grid {
    display: grid;
    grid-template-columns: repeat(5, 230px);
    justify-content: center;
    gap: 20px;
    width: 1250px;
    max-width: calc(100vw - 30px);
    margin-right: auto;
    margin-left: 50%;
    transform: translateX(-50%);
}

.courses-home__course-grid > [data-course-card-column] {
    width: 230px;
    max-width: 230px;
    padding-right: 0;
    padding-left: 0;
}

.courses-home__course-card {
    min-width: 0;
    min-height: 0;
    width: 230px;
    height: 360px;
    box-sizing: border-box;
    padding: 0;
    overflow: hidden;
    border: 2px solid var(--courses-ink);
    border-radius: 30px;
    background: #fff;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.courses-home__course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 28px rgba(48, 39, 95, 0.13);
}

.courses-home__course-card:focus-visible {
    outline: 3px solid rgba(255, 90, 10, 0.45);
    outline-offset: 4px;
}

.courses-home__course-card.is-hidden {
    display: none;
}

.courses-home__course-card-head {
    min-height: 73px;
    box-sizing: border-box;
    margin-bottom: 0;
    padding: 21px 13px 13px 26px;
}

.courses-home__course-arrow {
    flex: 0 0 auto;
    width: 39px;
    height: 39px;
    line-height: 1;
}

.courses-home__course-arrow img {
    display: block;
    width: 39px;
    height: 39px;
}

.courses-home__course-card-head h3 {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    margin: 0;
    overflow: visible;
    color: var(--courses-ink);
    font-family: "Space Grotesk", "Courses Proxima", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.02;
    white-space: normal;
}

.courses-home__course-image {
    height: 150px;
    margin: 0;
    overflow: hidden;
}

.courses-home__course-image img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 0 50px 0 28px;
    object-fit: cover;
}

.courses-home__course-image--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--courses-orange);
    font-size: 2rem;
}

.courses-home__course-description {
    min-height: 0;
    margin: 9px 12px 0;
    overflow: visible;
    color: var(--courses-ink);
    font-family: "Raleway", sans-serif;
    font-size: 10px;
    line-height: 1.08;
    text-align: center;
}

.courses-home__course-link {
    align-self: center;
    min-width: 138px;
    min-height: 40px;
    margin-top: auto;
    margin-bottom: 18px;
    padding: 8px 20px;
    border-radius: 22px;
    background: var(--courses-ink);
    color: #fff;
    font-family: "Raleway", sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.1;
    cursor: pointer;
    transition: background 180ms ease;
}

.courses-home__course-link:hover,
.courses-home__course-link:focus-visible {
    background: var(--courses-orange);
    color: #fff;
}

.courses-home__load-more {
    width: fit-content;
    margin: 28px auto 0;
    border: 0;
}

.courses-home__load-more[hidden] {
    display: none;
}

.courses-home__empty {
    padding: 60px 24px;
    border: 1px dashed var(--courses-line);
    border-radius: 20px;
    text-align: center;
}

.courses-home__empty[hidden] {
    display: none;
}

.courses-home__empty h3 {
    margin: 0;
    color: var(--courses-ink);
    font-family: "Space Grotesk", "Courses Proxima", sans-serif;
}

.courses-home__empty p {
    margin: 10px 0 0;
    color: #77718e;
}

.courses-home__benefits {
    position: relative;
    padding: 64px 48px 70px;
    overflow: hidden;
    border-radius: 34px;
    background: var(--courses-lilac);
}

.courses-home__benefits::before,
.courses-home__benefits::after {
    position: absolute;
    width: 329px;
    height: 139px;
    background: url('/img/icons/13_vector.svg') top left / 100% 100% no-repeat;
    content: "";
    pointer-events: none;
}

.courses-home__benefits::before {
    top: -30px;
    left: 0;
    border: none;
}

.courses-home__benefits::after {
    right: 0;
    bottom: 0;
    width: 328px;
    height: 119px;
    background-image: url('/img/icons/courses-benefits-after.svg');
}

.courses-home__benefits .courses-home__section-heading,
.courses-home__benefit-grid {
    position: relative;
    z-index: 1;
}

.courses-home__benefits .courses-home__section-heading {
    margin-bottom: 46px;
}

.courses-home__benefit {
    text-align: center;
}

.courses-home__benefit-icon {
    height: 50px;
    margin-bottom: 12px;
    line-height: 1;
}

.courses-home__benefit-icon img {
    display: block;
    width: auto;
    max-width: 58px;
    height: 48px;
    object-fit: contain;
}

.courses-home__benefit h3 {
    max-width: 170px;
    margin: 0;
    color: var(--courses-ink);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.05;
    text-transform: uppercase;
}

.courses-home__benefit p {
    max-width: 190px;
    margin: 10px 0 0;
    color: #77718e;
    font-size: 0.84rem;
    line-height: 1.12;
}

.courses-home__partners {
    padding: 80px 0 90px;
}

.courses-home__partners .courses-home__section-heading {
    margin-bottom: 42px;
}

.courses-home__partner {
    min-height: 60px;
    color: var(--courses-ink);
    font-family: "Space Grotesk", "Courses Proxima", sans-serif;
    font-size: clamp(1rem, 1.8vw, 1.55rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-align: center;
}

.courses-home__partner--1::before {
    content: "◢";
    margin-right: 5px;
    color: var(--courses-orange);
}

.courses-home__partner--2 {
    padding: 10px 18px;
    border: 2px solid #7f7b87;
    border-radius: 50%;
    font-family: Georgia, serif;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.12em;
}

.courses-home__partner--3::before {
    content: "✺";
    margin-right: 6px;
    color: #e4ad23;
    font-size: 1.7em;
}

.courses-home__partner--4 {
    font-weight: 500;
    letter-spacing: 0.2em;
}

.courses-home__partner--5 {
    font-size: 1.1rem;
    line-height: 0.95;
}

.courses-home__final-cta {
    position: relative;
    min-height: 150px;
    padding: 36px 126px;
    overflow: hidden;
    border-radius: 34px;
    background: var(--courses-lilac);
}

.courses-home__final-cta::before {
    top: -205px;
    left: -62px;
    width: 210px;
    height: 210px;
    border-width: 22px;
}

.courses-home__final-cta-ring {
    position: absolute;
    top: -30px;
    left: 0;
    width: 256px;
    height: 115px;
    border: none;
    border-radius: 0;
    background: url('/img/icons/final-cta-ring.svg') top left / 100% 100% no-repeat;
    pointer-events: none;
}

.courses-home__final-cta > div,
.courses-home__final-cta .courses-home__button {
    position: relative;
    z-index: 1;
    margin: auto;
}

.courses-home__final-cta h2 {
    margin: 0;
    color: var(--courses-ink);
    font-family: "Space Grotesk", "Courses Proxima", sans-serif;
    font-size: clamp(1.3rem, 2.3vw, 2rem);
    letter-spacing: -0.04em;
}

.courses-home__final-cta p {
    margin: 4px 0 0;
    color: var(--courses-ink);
    font-family: "Space Grotesk", "Courses Proxima", sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.1;
}

.courses-home__final-cta .courses-home__button {
    margin: auto !important;
    min-width: 260px;
    margin-top: 0;
    font-size: 1.12rem;
}

.courses-home__footer {
    padding: 24px 24px 34px;
    color: #a5a1ae;
    text-align: center;
}

.courses-home__footer span {
    font-family: "Space Grotesk", "Courses Proxima", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.08em;
}

.courses-home__footer small {
    font-size: 0.55rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@media (max-width: 1100px) {
    .courses-home__hero {
        padding-right: 28px;
        padding-left: 34px;
    }

    .courses-home__hero-copy {
        padding-left: 10px;
        margin: auto;
        text-align: center;
    }

    .courses-home__final-cta {
        padding-right: 60px;
        padding-left: 86px;
    }
}

@media (max-width: 1200px) {
    .courses-home__hero h1 br {
        display: none;
    }

    .courses-home__hero h1 {
        font-size: 26px;
        text-wrap: balance;
    }
}

@media (max-width: 1199px) {
    .courses-home__course-grid {
        grid-template-columns: repeat(4, 230px);
        width: 994px;
    }
}

@media (max-width: 991px) {
    .courses-home__course-grid {
        grid-template-columns: repeat(3, 230px);
        width: 738px;
    }

    .courses-home__hero-gallery {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        width: auto;
        height: 130px;
        min-height: 0;
    }
}

@media (max-width: 992px) {
    .courses-home__header,
    .courses-home__header-inner,
    .courses-home__header-top {
        text-align: center;
    }

    .courses-home__header-top {
        justify-content: center !important;
    }

    .courses-home__header-top .courses-home__nav {
        margin-left: 0 !important;
    }

    .courses-home__hero-gallery {
        padding: 0;
    }

    .courses-home__hero-gallery > .col-6 {
        display: none;
    }

    .courses-home__hero-mobile-slider {
        display: block;
        width: 100%;
        height: 100%;
        overflow: visible;
    }

    .courses-home__hero-mobile-slider-track {
        overflow: visible;
        margin: 0 -6px;
    }

    .courses-home__hero-mobile-slide {
        padding: 0 6px;
        overflow: visible;
    }

    .courses-home__hero-mobile-slide img {
        display: block;
        width: 100%;
        height: 110px;
        border-radius: 18px;
        object-fit: cover;
    }

    .courses-home__hero-mobile-slider .slick-list,
    .courses-home__hero-mobile-slider .slick-track {
        display: flex;
        overflow: visible;
    }

    .courses-home__hero-mobile-slider .slick-track {
        align-items: stretch;
    }

    .courses-home__hero-mobile-slider .slick-slide {
        height: auto;
        overflow: visible;
    }

    .courses-home__hero-mobile-slider .slick-slide > div,
    .courses-home__hero-mobile-slider .slick-slide .courses-home__hero-mobile-slide {
        height: 100%;
        overflow: visible;
    }
}

@media (max-width: 767px) {
    .courses-home__header {
        padding: 20px 0;
    }

    .courses-home__mobile-cta {
        padding: 9px 14px;
        border-radius: 999px;
        background: var(--courses-ink);
        color: #fff;
        font-size: 0.84rem;
        font-weight: 700;
    }

    .courses-home__hero {
        min-height: 0;
        padding: 44px 26px 26px;
        border-radius: 26px;
    }

    .courses-home__hero-copy {
        padding-left: 0;
    }

    .courses-home__hero h1 {
        font-size: 26px;
    }

    .courses-home__hero-gallery {
        margin-top: 40px;
        padding: 0;
    }

    .courses-home__hero-slider {
        height: 220px;
    }

    .courses-home__catalog {
        padding: 56px 0 64px;
    }

    .courses-home__filters {
        margin-right: -15px;
        margin-left: -15px;
        padding-right: 15px;
        padding-left: 15px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .courses-home__filters::-webkit-scrollbar {
        display: none;
    }

    .courses-home__filter {
        flex: 0 0 auto;
    }

    .courses-home__course-card {
        min-height: 0;
        height: 360px;
        width: 230px;
        padding: 0;
        border-radius: 30px;
    }

    .courses-home__course-image {
        margin-right: 0;
        margin-left: 0;
    }

    .courses-home__course-card h3 {
        font-size: 14px;
    }

    .courses-home__course-description {
        font-size: 10px;
    }

    .courses-home__benefits {
        padding: 48px 20px 56px;
        border-radius: 26px;
    }

    .courses-home__partners {
        padding: 60px 0 66px;
    }

    .courses-home__final-cta {
        min-height: 0;
        padding: 42px 26px;
        align-items: center;
        text-align: center;
        border-radius: 26px;
    }

    .courses-home__final-cta .courses-home__button {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 767px) {
    .courses-home__course-grid {
        grid-template-columns: repeat(2, 230px);
        width: 476px;
    }
}

@media (max-width: 520px) {
    .courses-home__course-grid {
        grid-template-columns: 230px;
        width: 230px;
    }
}

@media (max-width: 460px) {
    .courses-home__course-card {
        min-height: 0;
    }

    .courses-home__course-description {
        min-height: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .courses-home__hero-slider-track {
        animation: none;
        transform: none !important;
    }

    .courses-home__button,
    .courses-home__filter,
    .courses-home__course-card {
        transition: none;
    }
}

/* Category cards and lead modal */
.courses-home__partner::before {
    display: none !important;
}

.courses-home__partner--2,
.courses-home__partner--3,
.courses-home__partner--4,
.courses-home__partner--5 {
    padding: 0;
    border: 0;
    border-radius: 0;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: normal;
}

.courses-home__partner img {
    display: block;
    width: min(100%, 220px);
    max-height: 90px;
    object-fit: contain;
}

.courses-home__partner-list {
    margin: 0 -12px;
}

.courses-home__partner-list .slick-track {
    display: flex;
    align-items: center;
}

.courses-home__partner-list .slick-slide {
    height: auto;
}

.courses-home__partner-list .slick-slide > div {
    height: 100%;
}

.courses-home__partner-list .courses-home__partner {
    width: 100%;
    min-height: 108px;
    padding: 0 12px !important;
}

.courses-home__modal[hidden] {
    display: none !important;
}

body.courses-home.courses-home--modal-open {
    overflow: hidden;
}

.courses-home__modal {
    position: fixed;
    z-index: 1000;
    inset: 0;
    padding: 24px;
}

.courses-home__modal-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(37, 28, 82, 0.48);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.courses-home__modal-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 950px);
    min-height: min(600px, calc(100vh - 48px));
    max-height: min(720px, calc(100vh - 48px));
    box-sizing: border-box;
    padding: 150px 90px 120px;
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: 27px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(37, 28, 82, 0.3);
}

.courses-home__privacy-overlay {
    position: absolute;
    z-index: 4;
    inset: 0;
    display: flex;
    align-items: stretch;
    justify-content: center;
    box-sizing: border-box;
    padding: 38px 52px 34px;
    overflow: hidden;
    border-radius: inherit;
    background: #fff;
}

.courses-home__privacy-overlay[hidden] {
    display: none !important;
}

.courses-home__privacy-dialog {
    display: flex;
    width: min(100%, 700px);
    min-height: 0;
    flex-direction: column;
    color: #222;
}

.courses-home__privacy-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 0 22px;
    border-bottom: 1px solid var(--courses-line);
}

.courses-home__privacy-header h2 {
    margin: 0;
    color: var(--courses-ink);
    font-family: "Space Grotesk", "Courses Proxima", sans-serif;
    font-size: clamp(1.35rem, 3vw, 1.8rem);
    line-height: 1.05;
}

.courses-home__privacy-close {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--courses-ink);
    font-family: Arial, sans-serif;
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
}

.courses-home__privacy-content {
    min-height: 0;
    flex: 1 1 auto;
    padding: 22px 18px 22px 0;
    overflow-y: auto;
    font-family: "Raleway", sans-serif;
    font-size: 0.9rem;
    line-height: 1.5;
}

.courses-home__privacy-content h1,
.courses-home__privacy-content h2,
.courses-home__privacy-content h3,
.courses-home__privacy-content h4 {
    color: var(--courses-ink);
}

.courses-home__privacy-content a {
    color: var(--courses-ink);
}

.courses-home__privacy-footer {
    display: flex;
    justify-content: center;
    padding-top: 4px;
}

.courses-home__privacy-button {
    min-width: 130px;
    padding: 9px 20px;
    border: 0;
    border-radius: 25px;
    background: var(--courses-ink);
    color: #fff;
    font-family: "Space Grotesk", "Courses Proxima", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
}

.courses-home__privacy-button:hover,
.courses-home__privacy-button:focus-visible,
.courses-home__privacy-close:focus-visible {
    outline: 3px solid rgba(255, 90, 10, 0.35);
    outline-offset: 3px;
}

.courses-home__modal-dialog::before,
.courses-home__modal-dialog::after {
    position: absolute;
    width: 329px;
    height: 139px;
    background: url('/img/icons/13_vector.svg') top left / 100% 100% no-repeat;
    content: "";
    pointer-events: none;
}

.courses-home__modal-dialog::before {
    top: 0;
    left: 0;
}

.courses-home__modal-dialog::after {
    right: 0;
    bottom: 0;
    transform: rotate(180deg);
}

.courses-home__modal-ring {
    display: none;
}

.courses-home__modal-close {
    position: absolute;
    z-index: 2;
    top: 18px;
    right: 24px;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: var(--courses-ink);
    font-family: Arial, sans-serif;
    font-size: 3rem;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
}

.courses-home__modal-heading,
.courses-home__modal-form {
    position: relative;
    z-index: 1;
}

.courses-home__modal-heading {
    margin: 0 auto 32px;
    text-align: center;
}

.courses-home__modal-heading h2 {
    margin: 0;
    color: var(--courses-ink);
    font-family: "Space Grotesk", "Courses Proxima", sans-serif;
    font-size: clamp(1.65rem, 3vw, 1.9rem);
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.courses-home__modal-course {
    margin: 10px 0 0;
    color: #77718e;
    font-size: 0.95rem;
}

.courses-home__modal-course strong {
    color: var(--courses-orange);
}

.courses-home__modal-form {
    --bs-gutter-x: 12px;
    --bs-gutter-y: 10px;
    column-gap: 12px;
}

@media (min-width: 992px) {
    .courses-home__modal-form > .courses-home__modal-personal-fields,
    .courses-home__modal-form > .courses-home__modal-location-fields {
        width: calc((100% - 24px) * 6 / 12);
        max-width: calc((100% - 24px) * 6 / 12);
        flex: 0 0 auto;
    }

    .courses-home__modal-personal-fields > .courses-home__field-group--name {
        width: calc((100% - 12px) * 4 / 6);
        flex: 0 0 auto;
    }

    .courses-home__modal-personal-fields > .courses-home__field-group--age {
        width: calc((100% - 12px) * 2 / 6);
        flex: 0 0 auto;
    }

    .courses-home__modal-form > .courses-home__field-group--district,
    .courses-home__modal-form > .courses-home__field-group--email {
        width: calc((100% - 24px) * 6 / 12);
    }

    .courses-home__modal-form > .courses-home__field-group--phone,
    .courses-home__modal-form > .courses-home__field-group--education {
        width: calc((100% - 24px) * 6 / 12);
    }
}

.courses-home__modal-personal-fields,
.courses-home__modal-location-fields {
    column-gap: 12px; 
}

.courses-home__modal-personal-fields {
    flex-wrap: wrap;
}

.courses-home__modal-personal-fields > .courses-home__field-group {
    flex: 0 0 auto;
}

.courses-home__modal-location-fields > .courses-home__field-group {
    flex: 1 1 0;
}

.courses-home__field-group {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

@media (max-width: 992px) {
    .courses-home__modal-personal-fields {
        gap: 10px;
    }

    .courses-home__modal-personal-fields > .courses-home__field-group--age {
        width: 100%;
    }
}

.courses-home__field {
    position: relative;
    min-width: 0;
    min-height: 40px;
    padding-left: 0;
    overflow: hidden;
    border: 2px solid #e9eaf1;
    border-radius: 12px;
    background: #fff;
}

.courses-home__field-icon {
    flex: 0 0 40px;
    background: var(--courses-ink);
    color: #fff;
    font-size: 0.95rem;
}

.courses-home__field-icon img {
    display: block;
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.courses-home__field--age .courses-home__field-icon img {
    width: 18px;
    height: 20px;
}

.courses-home__field-chevron {
    position: absolute;
    top: 0;
    right: 0;
    width: 38px;
    height: 100%;
    background: #fff;
    pointer-events: none;
}

.courses-home__field-chevron img {
    display: block;
    width: 13px;
    height: 8px;
}

.courses-home__field input,
.courses-home__field select {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 0 12px;
    background: transparent;
    color: var(--courses-ink);
    font: inherit;
    font-size: 0.93rem;
}

.courses-home__field input::placeholder {
    color: #a8a8b2;
    opacity: 1;
}

.courses-home__field select {
    appearance: none;
    padding-right: 38px;
    cursor: pointer;
}

.courses-home__field:focus-within {
    border-color: var(--courses-orange);
    box-shadow: 0 0 0 3px rgba(255, 90, 10, 0.12);
}

.courses-home__modal-form .courses-home__field input.is-invalid,
.courses-home__modal-form .courses-home__field select.is-invalid {
    background: #fff4f1;
}

.courses-home__modal-form .invalid-feedback {
    width: 100%;
    margin: 6px 2px 0;
    color: #bd3216;
    font-size: 0.75rem;
    line-height: 1.4;
}

.courses-home__modal-privacy {
    margin: 24px auto 24px;
    text-align: center;
}

.courses-home__modal-privacy label {
    position: relative;
    padding-left: 26px;
    color: #77718e;
    font-size: 0.75rem;
    line-height: 1.3;
    cursor: pointer;
}

.courses-home__modal-privacy input[type="checkbox"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.courses-home__modal-privacy .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    width: 19px;
    height: 19px;
    border: 2px solid var(--courses-orange);
    border-radius: 5px;
    background: #fff;
}

.courses-home__modal-privacy input:checked + .checkmark::after {
    position: absolute;
    top: 1px;
    left: 5px;
    width: 5px;
    height: 10px;
    border: solid var(--courses-orange);
    border-width: 0 2px 2px 0;
    content: "";
    transform: rotate(45deg);
}

.courses-home__modal-privacy a {
    color: var(--courses-ink);
    text-decoration: underline;
}

.courses-home__modal-submit {
    min-width: 150px;
    min-height: 49px;
    margin-top: 0;
    padding: 10px 28px;
    border: 0;
    border-radius: 999px;
    background: var(--courses-orange);
    color: #fff;
    font-family: "Space Grotesk", "Courses Proxima", sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    cursor: pointer;
    transition: background 180ms ease, transform 180ms ease;
}

.courses-home__modal-submit:hover,
.courses-home__modal-submit:focus-visible {
    background: var(--courses-orange-dark);
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .courses-home__modal-dialog {
        padding: 50px 110px;
    }
}

@media (max-width: 767px) {
    .courses-home__modal {
        align-items: flex-start;
        padding: 12px;
        overflow-y: auto;
    }

    .courses-home__modal-dialog {
        max-height: calc(100vh - 24px);
        min-height: calc(100vh - 24px);
        padding: 78px 18px 36px;
        border-radius: 25px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .courses-home__modal-close {
        top: 12px;
        right: 14px;
    }
}
