@import url('settings.css');

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--color-white);
    transition: box-shadow .3s ease;
}
.header.header_scrolled {
    box-shadow: 0 6px 18px rgba(35, 31, 32, .07);
}
.header .header__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 92px;
    gap: 0 16px;
}
.header .header__logo {
    display: flex;
    align-items: center;
    width: fit-content;
    min-width: 0;
}
.header .header__logo .header__logo-img {
    height: 65px;
    width: auto;
    max-width: 100%;
}
.header .header__info {
    display: flex;
    flex: none;
    align-items: center;
    gap: 0 10px;
}
.header .header__site {
    min-height: 48px;
    padding: 0 14px 0 16px;
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.header .header__site svg {
    width: 16px;
    height: 16px;
}
.header__lang {
    position: relative;
}
.header__lang .header__lang-btn {
    display: flex;
    align-items: center;
    gap: 0 8px;
    height: 48px;
    padding: 0 10px 0 12px;
    border-radius: 12px;
    background-color: var(--secondary-bg-color);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .03em;
    transition: background-color .3s ease;
}
.header__lang .header__lang-btn:hover {
    background-color: #E3E3E3;
}
.header__lang .header__lang-flag {
    flex: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(35, 31, 32, .08);
}
.header__lang .header__lang-arrow {
    width: 16px;
    height: 16px;
    color: var(--muted-text-color);
    transition: transform .3s ease;
}
.header__lang .header__lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 10;
    min-width: 196px;
    padding: 6px;
    border-radius: 12px;
    background-color: var(--color-white);
    box-shadow: 0 18px 40px rgba(35, 31, 32, .14), 0 0 0 1px rgba(35, 31, 32, .06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.header__lang.header__lang_active .header__lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.header__lang.header__lang_active .header__lang-arrow {
    transform: rotate(180deg);
}
.header__lang .header__lang-item {
    display: flex;
    align-items: center;
    gap: 0 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--main-text-color);
    font-size: 15px;
    font-weight: 500;
    transition: background-color .3s ease;
}
.header__lang .header__lang-item:hover,
.header__lang .header__lang-item:focus-visible {
    background-color: var(--light-bg-color);
    color: var(--main-text-color);
}
.header__lang .header__lang-tick {
    width: 16px;
    height: 16px;
    margin-left: auto;
    color: var(--accent-color);
    visibility: hidden;
}
.header__lang .header__lang-item.header__lang-item_active .header__lang-tick {
    visibility: visible;
}

.hero {
    padding: 40px 0 0;
}
.hero .hero__row {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 0 96px;
}
.hero .hero__content {
    flex: 1 1 auto;
    min-width: 0;
}
.hero .hero__date {
    color: var(--main-blue-color);
    font-size: 22px;
    font-weight: 600;
    line-height: 32px;
    letter-spacing: -.005em;
}
.hero .hero__title {
    margin-top: 10px;
    color: var(--accent-color);
    font-size: 88px;
    font-weight: 300;
    line-height: 102%;
    letter-spacing: -.035em;
}
.hero .hero__description {
    max-width: 480px;
    margin-top: 20px;
    color: var(--secondary-text-color);
    font-size: 18px;
    line-height: 1.6;
}
.hero .hero__action {
    margin-top: 28px;
}
.hero .hero__image {
    --gap: 6px;
    --line: 6px;
    position: relative;
    isolation: isolate;
    flex: 0 0 auto;
    width: 480px;
    min-height: 440px;
    margin: calc(var(--gap) + var(--line)) calc(var(--gap) + var(--line)) 0;
    container-type: inline-size;
}
.hero .hero__image img,
.hero .hero__image::before,
.hero .hero__image::after {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='46.2' viewBox='0 0 100 46.2'%3E%3Cpath d='M0 46.2C0 27.5 20 12.1 50 0C80 12.1 100 27.5 100 46.2Z'/%3E%3C/svg%3E") top / 100% auto no-repeat, linear-gradient(transparent calc(.462 * var(--w) - 1px), #000 0);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='46.2' viewBox='0 0 100 46.2'%3E%3Cpath d='M0 46.2C0 27.5 20 12.1 50 0C80 12.1 100 27.5 100 46.2Z'/%3E%3C/svg%3E") top / 100% auto no-repeat, linear-gradient(transparent calc(.462 * var(--w) - 1px), #000 0);
}
.hero .hero__image::before,
.hero .hero__image::after {
    content: '';
    position: absolute;
    bottom: 0;
}
.hero .hero__image::before {
    --w: calc(100cqw + 2 * (var(--gap) + var(--line)));
    top: calc(-1 * (var(--gap) + var(--line)));
    right: calc(-1 * (var(--gap) + var(--line)));
    left: calc(-1 * (var(--gap) + var(--line)));
    z-index: -2;
    background-color: var(--main-blue-color);
}
.hero .hero__image::after {
    --w: calc(100cqw + 2 * var(--gap));
    top: calc(-1 * var(--gap));
    right: calc(-1 * var(--gap));
    left: calc(-1 * var(--gap));
    z-index: -1;
    background-color: var(--color-white);
}
.hero .hero__image img {
    --w: 100cqw;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 34% 45%;
}

.countdown {
    width: fit-content;
    max-width: 100%;
    margin-top: 40px;
    padding: 20px 22px 22px;
    border-radius: 12px;
    background-color: var(--secondary-bg-color);
}
.countdown .countdown__title {
    display: flex;
    align-items: center;
    gap: 0 10px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: .02em;
    text-transform: uppercase;
}
.countdown .countdown__dot {
    position: relative;
    display: none;
    flex: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--main-blue-color);
}
.countdown .countdown__dot::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: inherit;
    animation: countdown-pulse 1.6s ease-out infinite;
}
.countdown .countdown__text {
    display: none;
    margin-top: 6px;
    color: var(--secondary-text-color);
    font-size: 15px;
    line-height: 1.5;
}
.countdown.countdown_live .countdown__dot,
.countdown.countdown_live .countdown__text,
.countdown.countdown_finished .countdown__text {
    display: block;
}
.countdown.countdown_live .countdown__row,
.countdown.countdown_finished .countdown__row {
    display: none;
}
.countdown .countdown__row {
    display: grid;
    grid-template-columns: repeat(4, 80px);
    gap: 12px;
    margin-top: 14px;
}
.countdown .countdown__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px 0;
    padding: 14px 2px 12px;
    border-radius: 10px;
    background-color: var(--main-text-color);
    color: var(--color-white);
}
.countdown .countdown__number {
    font-size: 30px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.01em;
    font-variant-numeric: tabular-nums;
}
.countdown .countdown__label {
    color: var(--light-blue-color);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.application {
    padding: 72px 0 80px;
}
.application .application__section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 0 24px;
    padding: 44px 0;
    border-top: 1px solid var(--light-border-color);
}
.application .application__section:first-child {
    padding-top: 12px;
    border-top: 0;
}
.application .application__section.application__section_submit {
    padding-top: 0;
    border-top: 0;
}
.application .application__section.application__section_submit .application__body {
    grid-column: 2;
}
.application .application__aside {
    position: sticky;
    top: 116px;
    align-self: start;
}
.application .application__roles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.application .application__fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}
.application .application__chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.application .application__subtitle {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -.01em;
}
.application .application__hint {
    margin-top: 6px;
    color: var(--muted-text-color);
    font-size: 15px;
    line-height: 1.5;
}
.application .application__group {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.application .application__group.application__group_wide {
    grid-column: 1 / -1;
}
.application .application__label {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 8px;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}
.application .application__required {
    margin-left: -6px;
    color: var(--error-color);
}
.application .application__note {
    color: var(--muted-text-color);
    font-weight: 400;
}
.application .application__input {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--color-white);
    font-size: 16px;
    line-height: 1.4;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color .3s ease, background-color .3s ease, box-shadow .3s ease;
}
.application .application__input::placeholder {
    color: #A9A3A4;
    opacity: 1;
}
.application .application__input:hover {
    border-color: #B3ADAE;
}
.application .application__input:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: var(--light-bg-color);
    box-shadow: 0 0 0 4px rgba(116, 102, 102, .12);
}
.application .application__input.application__input_error {
    border-color: var(--error-color);
    background-color: var(--error-bg-color);
}
.application .application__input.application__input_error:focus {
    box-shadow: 0 0 0 4px rgba(207, 53, 41, .12);
}
.application .application__input.application__input_select {
    padding-right: 46px;
    background-image: url('../images/select-arrow.svg');
    background-position: right 14px center;
    background-repeat: no-repeat;
    background-size: 18px;
    cursor: pointer;
}
.application .application__input.application__input_textarea {
    min-height: 128px;
    resize: vertical;
}
.application .application__error {
    margin-top: 8px;
    color: var(--error-color);
    font-size: 13px;
    line-height: 1.4;
}
.application .application__trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.application .application__alert {
    display: flex;
    align-items: flex-start;
    gap: 0 10px;
    margin-bottom: 20px;
    padding: 12px 16px;
    border: 1px solid #F1C7C2;
    border-radius: 10px;
    background-color: var(--error-bg-color);
    color: #A3261C;
    font-size: 15px;
    line-height: 1.45;
}
.application .application__alert svg {
    flex: none;
    width: 19px;
    height: 19px;
    margin-top: 1px;
}
.application .application__submit {
    display: flex;
    align-items: center;
    gap: 16px 28px;
}
.application .application__btn {
    flex: none;
    min-width: 240px;
}
.application .application__btn-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, .35);
    border-top-color: var(--color-white);
    border-radius: 50%;
    animation: spin .8s linear infinite;
}
.application .application__btn.application__btn_loading {
    pointer-events: none;
}
.application .application__btn.application__btn_loading .application__btn-spinner {
    display: block;
}
.application .application__privacy {
    max-width: 544px;
    color: var(--muted-text-color);
    font-size: 13px;
    line-height: 1.55;
}
.application .application__privacy a {
    color: var(--main-blue-color);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.application .application__done {
    padding: 72px 48px;
    border: 1px solid var(--light-border-color);
    border-radius: 20px;
    background-color: var(--color-white);
    text-align: center;
}
.application .application__done:focus {
    outline: none;
}
.application .application__done-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: var(--color-white);
    animation: pop .5s cubic-bezier(.2, .7, .2, 1) both;
}
.application .application__done-icon svg {
    width: 36px;
    height: 36px;
}
.application .application__done-title {
    margin-top: 24px;
    color: var(--accent-color);
    font-size: 48px;
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -.025em;
}
.application .application__done-text {
    max-width: 576px;
    margin: 14px auto 0;
    color: var(--secondary-text-color);
    font-size: 17px;
    line-height: 1.6;
}
.application .application__done-number {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 4px 10px;
    margin-top: 24px;
    padding: 10px 18px;
    border-radius: 12px;
    background-color: var(--light-bg-color);
    color: var(--secondary-text-color);
    font-size: 15px;
}
.application .application__done-number strong {
    color: var(--main-text-color);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.application .application__done-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}
.application .application__done.application__done_closed .application__done-icon {
    background-color: var(--secondary-bg-color);
    color: var(--accent-color);
}

.role-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0 14px;
    height: 100%;
    padding: 18px 50px 18px 18px;
    border: 1px solid var(--light-border-color);
    border-radius: 12px;
    background-color: var(--color-white);
    cursor: pointer;
    transition: border-color .3s ease, box-shadow .3s ease, background-color .3s ease;
}
.role-card:hover {
    border-color: #CBC5C5;
    box-shadow: 0 7px 15px rgba(45, 39, 86, .07);
}
.role-card .role-card__input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}
.role-card .role-card__icon {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--secondary-bg-color);
    color: var(--main-text-color);
    transition: background-color .3s ease, color .3s ease;
}
.role-card .role-card__icon svg {
    width: 20px;
    height: 20px;
}
.role-card .role-card__text {
    display: flex;
    flex-direction: column;
    gap: 4px 0;
    padding-top: 2px;
}
.role-card .role-card__name {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
}
.role-card .role-card__hint {
    color: var(--muted-text-color);
    font-size: 14px;
    line-height: 1.45;
}
.role-card .role-card__mark {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 22px;
    height: 22px;
    border: 1.5px solid #C6C0C0;
    border-radius: 50%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 13px;
    transition: background-color .3s ease, border-color .3s ease;
}
.role-card:has(.role-card__input:checked) {
    border-color: var(--accent-color);
    background-color: var(--accent-light-color);
    box-shadow: inset 0 0 0 1px var(--accent-color);
}
.role-card:has(.role-card__input:focus-visible) {
    outline: 2px solid var(--main-blue-color);
    outline-offset: 3px;
}
.role-card .role-card__input:checked ~ .role-card__icon {
    background-color: var(--accent-color);
    color: var(--color-white);
}
.role-card .role-card__input:checked ~ .role-card__mark {
    border-color: var(--accent-color);
    background-color: var(--accent-color);
    background-image: url('../images/check.svg');
}

.check-chip {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0 10px;
    height: 100%;
    min-height: 44px;
    padding: 10px 16px 10px 12px;
    border: 1px solid transparent;
    border-radius: 12px;
    background-color: var(--secondary-bg-color);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    cursor: pointer;
    transition: background-color .3s ease, border-color .3s ease;
}
.check-chip:hover {
    background-color: #E4E4E4;
}
.check-chip .check-chip__input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}
.check-chip .check-chip__box {
    flex: none;
    width: 20px;
    height: 20px;
    border: 1.5px solid #B2ACAD;
    border-radius: 6px;
    background-color: var(--color-white);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 13px;
    transition: background-color .3s ease, border-color .3s ease;
}
.check-chip:has(.check-chip__input:checked) {
    border-color: var(--accent-color);
    background-color: var(--accent-light-color);
}
.check-chip:has(.check-chip__input:focus-visible) {
    outline: 2px solid var(--main-blue-color);
    outline-offset: 3px;
}
.check-chip .check-chip__input:checked + .check-chip__box {
    border-color: var(--accent-color);
    background-color: var(--accent-color);
    background-image: url('../images/check.svg');
}

.footer {
    background-color: var(--secondary-bg-color);
}
.footer .footer__main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 40px 24px;
    padding: 64px 0 0;
}
.footer .footer__logo {
    display: flex;
    width: fit-content;
}
.footer .footer__logo .footer__logo-img {
    height: 64px;
    width: auto;
    max-width: 100%;
}
.footer .footer__about {
    max-width: 384px;
    margin-top: 20px;
    color: var(--muted-text-color);
    font-size: 15px;
    line-height: 1.55;
}
.footer .footer__details {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px 32px;
}
.footer__details .footer__col {
    flex: 1 1 0;
    min-width: 0;
}
.footer__col .footer__col-title {
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}
.footer__col .footer__col-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px 0;
    font-size: 15px;
    line-height: 1.5;
}
.footer__col .footer__col-text {
    color: var(--muted-text-color);
}
.footer__col .footer__col-text.footer__col-text_main {
    color: var(--main-text-color);
    font-weight: 500;
}
.footer__col .footer__col-text.footer__col-text_address {
    max-width: 260px;
    margin-top: 6px;
}
.footer__col .footer__col-link {
    color: var(--main-text-color);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    transition: color .3s ease;
}
.footer__col .footer__col-link:hover {
    color: var(--main-blue-color);
}
.footer__col .footer__map-link {
    display: inline-flex;
    align-items: center;
    gap: 0 6px;
    margin-top: 8px;
    color: var(--main-blue-color);
    font-weight: 500;
    transition: color .3s ease;
}
.footer__col .footer__map-link:hover {
    color: var(--dark-blue-color);
}
.footer__col .footer__map-link svg {
    width: 15px;
    height: 15px;
}
.footer__col .footer__hours {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 280px;
}
.footer__hours .footer__hours-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0 12px;
    padding: 9px 0;
    border-bottom: 1px solid #DCD8D8;
}
.footer__hours .footer__hours-item:first-child {
    padding-top: 0;
}
.footer__hours .footer__hours-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}
.footer__hours .footer__hours-day {
    color: var(--muted-text-color);
}
.footer__hours .footer__hours-time {
    color: var(--main-text-color);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.footer .footer__partners {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px 32px;
    margin-top: 40px;
    padding: 28px 0 32px;
    border-top: 1px solid #D9D6D6;
}
.footer__partners .footer__org {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 28px;
}
.footer__org .footer__org-title {
    color: var(--muted-text-color);
    font-size: 14px;
    font-weight: 500;
}
.footer__org .footer__org-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}
.footer__org .footer__org-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 64px;
    padding: 0 22px;
    border-radius: 12px;
    background-color: var(--color-white);
}
.footer__org .footer__org-link {
    display: block;
}
.footer__org .footer__org-logo {
    display: block;
    width: auto;
}
.footer__partners .footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.footer__socials .footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-white);
    color: var(--main-blue-color);
    transition: .3s all ease;
}
.footer__socials .footer__social-link:hover {
    background-color: var(--main-blue-color);
    color: var(--color-white);
}
.footer__socials .footer__social-link svg {
    width: 17px;
    height: 17px;
}
.footer .footer__bottom {
    background-color: var(--main-text-color);
    color: rgba(255, 255, 255, .86);
    font-size: 13px;
}
.footer__bottom .footer__bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 24px;
    padding: 16px 0;
}
.footer__bottom .footer__link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
}
.footer__bottom .footer__link-list a {
    color: rgba(255, 255, 255, .78);
    transition: color .3s ease;
}
.footer__bottom .footer__link-list a:hover {
    color: var(--color-white);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
@keyframes pop {
    from {
        opacity: 0;
        transform: scale(.6);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
@keyframes countdown-pulse {
    from {
        opacity: .6;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(2.6);
    }
}

@media all and (max-width: 1400px) {
    .hero .hero__row {
        gap: 0 72px;
    }
    .hero .hero__title {
        font-size: 76px;
    }
}

@media all and (max-width: 1200px) {
    .hero .hero__row {
        gap: 0 56px;
    }
    .hero .hero__image {
        width: 420px;
    }
    .hero .hero__title {
        font-size: 68px;
    }
    .footer .footer__main {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media all and (max-width: 992px) {
    .hero .hero__row {
        flex-direction: column;
        align-items: stretch;
        gap: 28px 0;
    }
    .hero .hero__image {
        order: -1;
        width: auto;
        min-height: 0;
        aspect-ratio: 16 / 10;
    }
    .hero .hero__title {
        font-size: 64px;
    }
    .countdown {
        margin-top: 32px;
    }
    .application {
        padding: 56px 0 64px;
    }
    .application .application__section {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px 0;
        padding: 32px 0;
    }
    .application .application__section:first-child {
        padding-top: 8px;
    }
    .application .application__section.application__section_submit .application__body {
        grid-column: auto;
    }
    .application .application__aside {
        position: static;
    }
    .application .application__done {
        padding: 56px 32px;
    }
}

@media all and (max-width: 768px) {
    html {
        scroll-padding-top: 84px;
    }
    .header .header__row {
        height: 68px;
    }
    .header .header__logo .header__logo-img {
        height: 44px;
    }
    .header .header__info {
        gap: 0 8px;
    }
    .header__lang .header__lang-btn {
        gap: 0 6px;
        height: 44px;
        padding: 0 8px 0 10px;
    }
    .header .header__site {
        min-height: 44px;
    }
    .hero {
        padding-top: 20px;
    }
    .hero .hero__date {
        font-size: 17px;
        line-height: 1.45;
    }
    .hero .hero__title {
        font-size: 52px;
    }
    .hero .hero__description {
        font-size: 17px;
    }
    .countdown {
        padding: 18px 18px 20px;
    }
    .application .application__done-title {
        font-size: 40px;
    }
    .footer .footer__main {
        padding-top: 48px;
    }
    .footer .footer__details {
        flex-wrap: wrap;
    }
    .footer__details .footer__col {
        flex: 0 0 calc(50% - 16px);
    }
    .application .application__roles,
    .application .application__fields,
    .application .application__chips {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media all and (max-width: 576px) {
    .header .header__logo .header__logo-img {
        height: 42px;
    }
    .header .header__site {
        width: 44px;
        padding: 0;
    }
    .header .header__site .header__site-text {
        display: none;
    }
    .hero .hero__image {
        --gap: 4px;
        --line: 4px;
        aspect-ratio: 16 / 11;
    }
    .hero .hero__title {
        font-size: 44px;
    }
    .hero .hero__btn {
        width: 100%;
    }
    .countdown {
        width: 100%;
    }
    .countdown .countdown__row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }
    .countdown .countdown__number {
        font-size: 26px;
    }
    .countdown .countdown__label {
        font-size: 10px;
    }
    .application .application__submit {
        flex-direction: column;
        align-items: stretch;
    }
    .application .application__btn {
        width: 100%;
        min-width: 0;
    }
    .application .application__done {
        padding: 48px 20px;
    }
    .application .application__done-actions .main__btn {
        width: 100%;
    }
    .footer__details .footer__col {
        flex: 0 0 100%;
    }
    .footer__bottom .footer__bottom-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media all and (max-width: 380px) {
    .header .header__site {
        display: none;
    }
}
