@font-face {
    font-family: "ProximaNova";
    src: url("fonts/proximanova/ProximaNova-Light.woff2") format("woff2"),
        url("fonts/proximanova/ProximaNova-Light.woff") format("woff");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "ProximaNova";
    src: url("fonts/proximanova/ProximaNova-Regular.woff2") format("woff2"),
        url("fonts/proximanova/ProximaNova-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "ProximaNova";
    src: url("fonts/proximanova/ProximaNova-Semibold.woff2") format("woff2"),
        url("fonts/proximanova/ProximaNova-Semibold.woff") format("woff");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "ProximaNova";
    src: url("fonts/proximanova/ProximaNova-Bold.woff2") format("woff2"),
        url("fonts/proximanova/ProximaNova-Bold.woff") format("woff");
    font-weight: 700 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --blue: #0755d7;
    --deep-blue: #07165f;
    --cyan: #05bfc1;
    --teal: #058995;
    --text: #16204c;
    --muted: #737b91;
    --line: #d7dde8;
    --white: #ffffff;
    --shadow: 0 14px 38px rgba(17, 42, 91, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    overflow-x: hidden;
}

body {
    min-height: 100%;
    margin: 0;
    font-family: "ProximaNova", Arial, Helvetica, sans-serif;
    color: var(--text);
    background: #f7fbff;
    overflow-x: hidden;
}

button,
input {
    font: inherit;
}

.registration-page {
    position: relative;
    min-height: calc(100vh + 84px);
    overflow-x: hidden;
    overflow-y: auto;
    background: url("../images/background/png/background_clean_no_characters.png") center / 100% 100% no-repeat;
}

.hero {
    position: relative;
    z-index: 5;
    width: min(1480px, 78vw);
    margin: 0 auto;
    padding: 26px 0 106px;
    text-align: center;
}

.brand-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    width: 500px;
    max-width: 100%;
    margin-bottom: 22px;
}

.logo-comooon {
    width: 225px;
}

.logo-separator {
    width: 22px;
}

.logo-pros {
    width: 205px;
}

.intro h1 {
    margin: 0;
    font-size: clamp(44px, 3.1vw, 60px);
    line-height: 1.02;
    letter-spacing: 0;
    color: var(--deep-blue);
    font-weight: 800;
    white-space: nowrap;
}

.title-brand {
    color: var(--blue);
}

.title-course {
    color: var(--teal);
}

.subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 6px 0 13px;
    color: var(--deep-blue);
    font-size: clamp(20px, 1.38vw, 27px);
    font-weight: 700;
}

.subtitle img {
    width: 29px;
    height: 29px;
    object-fit: contain;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    width: min(960px, 100%);
    margin: 0 auto 13px;
    padding: 0;
    list-style: none;
}

.feature-pill {
    display: flex;
    min-height: 68px;
    align-items: center;
    gap: 15px;
    padding: 8px 18px;
    border: 1px solid rgba(198, 207, 224, 0.9);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 5px 14px rgba(6, 40, 118, 0.12);
    text-align: left;
}

.feature-pill img {
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
}

.feature-pill-blue-icon img {
    padding: 8px 0;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.08);
    object-fit: contain;
}

.feature-pill span {
    font-size: 22px;
    line-height: 1.05;
    color: var(--deep-blue);
    font-weight: 800;
}

.lead {
    margin: 0 0 12px;
    color: #2c3142;
    font-size: 20px;
    line-height: 1.08;
    font-weight: 500;
}

.application-form {
    width: min(945px, 100%);
    margin: 0 auto;
    padding: 8px 38px 18px;
    border: 1px solid rgba(202, 210, 225, 0.78);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow);
    text-align: left;
}

.application-form h2 {
    margin: 0 0 6px;
    color: var(--blue);
    text-align: center;
    font-size: 22px;
    line-height: 1.2;
}

.form-message {
    display: none;
    margin: 0 0 10px;
    padding: 8px 14px;
    border-radius: 10px;
    font-weight: 700;
    text-align: center;
}

.form-message.is-visible {
    display: block;
}

.form-message.success {
    color: #047078;
    background: rgba(5, 191, 193, 0.12);
}

.form-message.error {
    color: #ac2452;
    background: rgba(255, 80, 130, 0.12);
}

.format-field {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 405px;
    max-width: 100%;
    margin: 0 0 7px;
    padding: 0;
    border: 0;
}

.format-field legend {
    grid-column: 1 / -1;
    margin-bottom: 3px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
}

.format-card {
    position: relative;
    display: flex;
    min-height: 50px;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    border: 2px solid rgba(6, 83, 199, 0.55);
    border-radius: 8px;
    cursor: pointer;
}

.format-card:nth-of-type(2) {
    border-color: rgba(5, 164, 169, 0.55);
}

.format-card input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.format-card img {
    width: 29px;
    height: 29px;
    flex: 0 0 auto;
}

.format-card span {
    display: grid;
    gap: 5px;
}

.format-card strong {
    color: var(--blue);
    font-size: 14px;
    line-height: 1;
}

.format-card:nth-of-type(2) strong {
    color: var(--teal);
}

.format-card small {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.2;
}

.format-card:has(input:checked) {
    background: rgba(5, 191, 193, 0.08);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 32px;
}

.input-wrap {
    position: relative;
}

.input-wrap img {
    position: absolute;
    top: 50%;
    left: 16px;
    width: 16px;
    height: 16px;
    transform: translateY(-50%);
    object-fit: contain;
    opacity: 0.78;
    pointer-events: none;
}

.input-wrap input {
    width: 100%;
    height: 30px;
    padding: 0 14px 0 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.88);
    outline: none;
    box-shadow: inset 0 1px 2px rgba(12, 35, 75, 0.04);
}

.input-wrap input:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(5, 191, 193, 0.14);
}

.input-wrap input::placeholder {
    color: #818799;
}

.form-bottom {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    justify-items: center;
    gap: 18px;
    margin-top: 8px;
}

.agreement {
    display: flex;
    align-items: center;
    justify-self: start;
    gap: 10px;
    color: #6c7284;
    font-size: 12px;
}

.agreement input {
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: var(--cyan);
}

.form-bottom button {
    display: inline-flex;
    min-width: 236px;
    height: 39px;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(90deg, var(--cyan), var(--blue));
    box-shadow: 0 8px 16px rgba(3, 84, 188, 0.28);
    cursor: pointer;
    font-size: 18px;
    font-weight: 800;
}

.form-bottom button:disabled {
    cursor: wait;
    opacity: 0.78;
}

.form-bottom button span {
    position: relative;
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border-radius: 50%;
    color: var(--blue);
    background: var(--white);
}

.form-bottom button span::before {
    content: "";
    position: absolute;
    width: 12px;
    height: 3px;
    border-radius: 999px;
    background: var(--blue);
}

.form-bottom button span::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    border-top: 3px solid var(--blue);
    border-right: 3px solid var(--blue);
    transform: translateX(3px) rotate(45deg);
}

.character {
    position: absolute;
    z-index: 8;
    height: auto;
    user-select: none;
    pointer-events: none;
}

.character-left {
    left: 7.8vw;
    bottom: calc(12.8vh + 125px);
    width: min(250px, 13vw);
}

.character-cub {
    left: 13.4vw;
    bottom: calc(2.8vh + 145px);
    width: min(232px, 12.1vw);
}

.character-right {
    right: 2.7vw;
    bottom: calc(15.3vh + 168px);
    width: min(365px, 19vw);
}

.character-tiger {
    right: 16.2vw;
    bottom: calc(1.8vh + 146px);
    width: min(230px, 12vw);
}

.character-panther {
    right: 0.4vw;
    bottom: calc(1.4vh + 138px);
    width: min(270px, 15vw);
}

.page-footer {
    position: absolute;
    right: 11vw;
    bottom: 8px;
    left: 14.2vw;
    z-index: 7;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    color: rgba(255, 255, 255, 0.94);
}

.page-footer::before {
    content: "";
    position: absolute;
    right: -11vw;
    top: -50px;
    left: -14.2vw;
    height: 1px;
    background: rgba(255, 255, 255, 0.32);
    box-shadow: 0 1px 0 rgba(0, 96, 221, 0.45);
}

.benefit {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 18px;
}

.benefit + .benefit {
    border-left: 1px solid rgba(255, 255, 255, 0.4);
    padding-left: 34px;
}

.benefit img {
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    object-fit: contain;
}

.benefit span {
    display: grid;
    gap: 4px;
    min-width: 0;
    font-size: 14px;
    line-height: 1.2;
}

.benefit strong {
    font-size: 17px;
}
