.gov-order-page {
    padding-bottom: 104px;
}

.gov-order-hero {
    max-width: 1040px;
    margin: 0 auto 120px;
    text-align: center;
}

.gov-order-hero h1 {
    margin-bottom: 32px;
    color: #111;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.05;
}

.gov-order-hero p {
    max-width: 850px;
    margin: 0 auto 32px;
    color: var(--gray-main);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.3;
}

.gov-order-section {
    margin-bottom: 120px;
}

.gov-order-section:last-child {
    margin-bottom: 0;
}

.gov-order-section__head {
    max-width: 880px;
    margin: 0 auto 60px;
    text-align: center;
}

.gov-order-section__head h2 {
    margin-bottom: 32px;
    color: #111;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.08;
}

.gov-order-section__head p {
    color: var(--gray-main);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.3;
}

.gov-order-cards {
    display: grid;
    gap: 20px;
}

.gov-order-cards--benefits,
.gov-order-cards--process {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gov-order-cards--tasks {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.gov-order-cards--tasks .gov-order-card {
    grid-column: span 2;
}

.gov-order-cards--tasks .gov-order-card--wide {
    grid-column: span 3;
}

.gov-order-card {
    min-height: 204px;
    padding: 32px;
    background-color: #f7f7f7;
}

.gov-order-card__head {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-bottom: 20px;
}

.gov-order-card__icon,
.gov-order-card__number {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-color: var(--color-main);
    border-radius: 8px;
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
}

.gov-order-card__icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.gov-order-card h3 {
    margin-bottom: 0;
    color: #111;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.08;
}

.gov-order-card p {
    color: var(--gray-main);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.35;
}

.gov-order-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.gov-order-stat {
    min-height: 168px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 32px;
    color: #fff;
    text-align: center;
    background-color: var(--color-main);
    border-radius: 8px;
}

.gov-order-stat strong {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
}

.gov-order-stat span {
    max-width: 250px;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.25;
}

.gov-order-platforms {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 24px;
    margin-top: 32px;
}

.gov-order-platforms span {
    min-width: 174px;
    padding: 12px 24px;
    color: #111;
    text-align: center;
    background-color: #f7f7f7;
    border-radius: 4px;
    font-size: 16px;
    line-height: 1;
}

.modal-form__field--date {
    position: relative;
}

.modal-form__field--date input {
    padding-right: 64px;
    cursor: pointer;
}

.gov-order-modal__date-input {
    caret-color: transparent;
}

.modal-form__date-icon {
    position: absolute;
    top: 50%;
    right: 24px;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    pointer-events: none;
}

.modal-form__date-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.modal-form__file {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    cursor: pointer;
}

.modal-form__file input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.modal-form__file-icon {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #d53434;
}

.modal-form__file-icon img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.modal-form__file-text {
    color: #070707;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
}

.modal-form__file-note {
    margin: 0 0 28px;
    color: #7b7b7b;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.3;
}

.button-gov-middle {
    display: flex;
    min-width: 260px;
    min-height: 64px;
    width: max-content;
    padding: 16px 32px;
    margin-inline: auto;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
}

.gov-order-cards--tasks {
    margin-bottom: 40px;
}

.air-datepicker.gov-order-datepicker {
    --adp-width: 284px;
    --adp-z-index: 100000;
    --adp-font-family: inherit;
    --adp-font-size: 16px;
    --adp-background-color: #ffffff;
    --adp-background-color-hover: #f6f6f6;
    --adp-background-color-active: #efefef;
    --adp-color: #141414;
    --adp-color-secondary: #b1b1b1;
    --adp-color-other-month: #b7b7b7;
    --adp-color-other-month-hover: #8d8d8d;
    --adp-border-color: #ececec;
    --adp-border-color-inline: #ececec;
    --adp-border-color-inner: #f0f0f0;
    --adp-border-radius: 24px;
    --adp-nav-height: 52px;
    --adp-nav-action-size: 32px;
    --adp-nav-arrow-color: #141414;
    --adp-day-name-color: #141414;
    --adp-day-name-color-hover: #141414;
    --adp-day-cell-height: 32px;
    --adp-month-cell-height: 44px;
    --adp-year-cell-height: 52px;
    --adp-cell-border-radius: 6px;
    --adp-cell-background-color-selected: #d53434;
    --adp-cell-background-color-selected-hover: #c02e2e;
    --adp-cell-background-color-in-range: rgba(213, 52, 52, 0.1);
    --adp-cell-background-color-in-range-hover: rgba(213, 52, 52, 0.16);
    --adp-cell-border-color-in-range: #d53434;
    --adp-btn-color: #d53434;
    --adp-btn-color-hover: #d53434;
    --adp-btn-border-radius: 999px;
    --adp-btn-background-color-hover: transparent;
    --adp-btn-background-color-active: transparent;
    width: 284px;
    border: 1px solid #ececec;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
}

.air-datepicker-overlay {
    z-index: 99999;
}

.air-datepicker.gov-order-datepicker .air-datepicker--pointer {
    display: none;
}

.air-datepicker.gov-order-datepicker .air-datepicker-nav {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) 32px;
    align-items: center;
    padding: 16px 16px 8px;
    border-bottom: 0;
}

.air-datepicker.gov-order-datepicker .air-datepicker-nav--action {
    width: 32px;
    height: 32px;
}

.air-datepicker.gov-order-datepicker .air-datepicker-nav--action[data-action="prev"] {
    justify-self: start;
}

.air-datepicker.gov-order-datepicker .air-datepicker-nav--action[data-action="next"] {
    justify-self: end;
}

.air-datepicker.gov-order-datepicker .air-datepicker-nav--action:hover,
.air-datepicker.gov-order-datepicker .air-datepicker-nav--title:hover {
    background: #f6f6f6;
}

.air-datepicker.gov-order-datepicker .air-datepicker-nav--title {
    justify-self: center;
    gap: 10px;
    padding: 0 12px;
    font-size: 16px;
    font-weight: 400;
    color: #141414;
}

.air-datepicker.gov-order-datepicker .air-datepicker-nav--title i {
    margin-left: 0;
    color: inherit;
}

.gov-order-datepicker__title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.gov-order-datepicker__title-arrow {
    width: 9px;
    height: 9px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    transform-origin: center;
}

.air-datepicker.gov-order-datepicker .air-datepicker-body--day-names {
    margin: 0 0 8px;
}

.air-datepicker.gov-order-datepicker .air-datepicker-body--day-name {
    font-size: 14px;
    font-weight: 400;
    text-transform: none;
}

.air-datepicker.gov-order-datepicker .air-datepicker-body--cells {
    row-gap: 4px;
    column-gap: 2px;
}

.air-datepicker.gov-order-datepicker .air-datepicker-cell {
    font-size: 14px;
    font-weight: 400;
}

.air-datepicker.gov-order-datepicker .air-datepicker-cell.-day-.-other-month- {
    color: #b8b8b8;
}

.air-datepicker.gov-order-datepicker .air-datepicker-cell.-selected- {
    font-weight: 400;
}

.air-datepicker.gov-order-datepicker .air-datepicker-cell.-month-,
.air-datepicker.gov-order-datepicker .air-datepicker-cell.-year- {
    border-radius: 6px;
}

.air-datepicker.gov-order-datepicker .air-datepicker--content {
    padding: 0 16px;
}

.air-datepicker.gov-order-datepicker .air-datepicker--buttons {
    padding: 16px;
    border-top: 1px solid #f0f0f0;
}

.air-datepicker.gov-order-datepicker .air-datepicker-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.air-datepicker.gov-order-datepicker .air-datepicker-button {
    width: auto;
    min-width: 0;
    padding: 0;
    font-size: 16px;
    font-weight: 500;
}

.air-datepicker.gov-order-datepicker .air-datepicker-button:hover,
.air-datepicker.gov-order-datepicker .air-datepicker-button:focus,
.air-datepicker.gov-order-datepicker .air-datepicker-button:active {
    background: transparent;
}

.air-datepicker.gov-order-datepicker .gov-order-datepicker__button--cancel {
    color: #d53434;
}

.air-datepicker.gov-order-datepicker .gov-order-datepicker__button--confirm {
    min-width: 68px;
    height: 40px;
    padding: 0 20px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #d53434;
    color: #ffffff;
}

.air-datepicker.gov-order-datepicker .gov-order-datepicker__button--confirm:hover,
.air-datepicker.gov-order-datepicker .gov-order-datepicker__button--confirm:focus,
.air-datepicker.gov-order-datepicker .gov-order-datepicker__button--confirm:active {
    background: #c02e2e;
    color: #ffffff;
}

@media (min-width: 728px) {
    .gov-order-cards--benefits .gov-order-card__head {
        align-items: center;
    }
}

@media (max-width: 1600px) {
    .gov-order-hero h1 {
        font-size: 36px;
    }

    .gov-order-section__head h2 {
        font-size: 34px;
    }

    .gov-order-card {
        padding: 32px 24px;
    }

    .gov-order-card h3 {
        font-size: 20px;
    }

    .gov-order-stat strong {
        font-size: 44px;
    }
}

@media (max-width: 1425px) {
    .gov-order-hero {
        margin-bottom: 112px;
    }

    .gov-order-section {
        margin-bottom: 112px;
    }

    .gov-order-section__head {
        margin-bottom: 52px;
    }

    .gov-order-cards--benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gov-order-card {
        min-height: 190px;
        padding: 28px 24px;
    }

    .gov-order-card h3 {
        font-size: 18px;
        line-height: 1.12;
    }

    .gov-order-card p {
        font-size: 15px;
    }

    .gov-order-card__icon,
    .gov-order-card__number {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .gov-order-card__icon img {
        width: 20px;
        height: 20px;
    }

    .gov-order-stat strong {
        font-size: 40px;
    }

    .gov-order-stat span,
    .gov-order-platforms span {
        font-size: 14px;
    }
}

@media (max-width: 1280px) {
    .gov-order-cards--benefits,
    .gov-order-cards--process {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gov-order-cards--tasks {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gov-order-cards--tasks .gov-order-card,
    .gov-order-cards--tasks .gov-order-card--wide {
        grid-column: auto;
    }

    .gov-order-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .gov-order-hero {
        max-width: 680px;
        margin-bottom: 96px;
    }

    .gov-order-hero h1 {
        font-size: 32px;
    }

    .gov-order-section {
        margin-bottom: 96px;
    }

    .gov-order-section__head {
        max-width: 640px;
        margin-bottom: 44px;
    }

    .gov-order-section__head h2 {
        margin-bottom: 24px;
        font-size: 30px;
    }

    .gov-order-button {
        width: fit-content;
    }

    .gov-order-cards--tasks {
        margin-bottom: 32px;
    }

}

@media (max-width: 992px) {
    .gov-order-section .gov-order-cards + .button-hero {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .gov-order-page {
        padding-bottom: 72px;
    }

    .gov-order-hero {
        max-width: 640px;
        margin-bottom: 80px;
    }

    .gov-order-hero h1 {
        margin-bottom: 32px;
        font-size: 32px;
    }

    .gov-order-hero p {
        margin-bottom: 32px;
        font-size: 16px;
    }

    .gov-order-section {
        margin-bottom: 100px;
    }

    .gov-order-section__head {
        margin-bottom: 40px;
    }

    .gov-order-section__head h2 {
        margin-bottom: 24px;
        font-size: 32px;
    }

    .gov-order-section__head p {
        font-size: 16px;
    }

    .gov-order-cards {
        gap: 20px;
    }

    .gov-order-cards--benefits,
    .gov-order-cards--process {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gov-order-cards--tasks {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gov-order-card {
        min-height: 204px;
        padding: 20px;
    }

    .gov-order-card h3 {
        font-size: 16px;
    }

    .gov-order-card p {
        font-size: 16px;
    }

    .gov-order-section .gov-order-cards + .button-hero {
        margin-top: 40px;
    }

    .gov-order-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gov-order-stat {
        min-height: 148px;
    }

    .gov-order-stat strong {
        font-size: 40px;
    }

    .gov-order-stat span {
        font-size: 16px;
    }

    .gov-order-platforms {
        gap: 12px 16px;
    }

    .gov-order-platforms span {
        min-width: 140px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .button-gov-middle {
        width: 100%;
        min-width: 0;
        min-height: 48px;
        padding: 14px 20px;
        font-size: 12px;
    }

    .gov-order-page {
        padding-bottom: 56px;
    }

    .gov-order-hero {
        margin-bottom: 72px;
    }

    .gov-order-hero h1 {
        margin-bottom: 20px;
        font-size: 22px;
    }

    .gov-order-hero p {
        margin-bottom: 28px;
        font-size: 14px;
    }

    .gov-order-section .gov-order-cards + .button-hero {
        margin-top: 28px;
    }

    .gov-order-section {
        margin-bottom: 72px;
    }

    .gov-order-section__head {
        margin-bottom: 28px;
    }

    .gov-order-section__head h2 {
        margin-bottom: 18px;
        font-size: 22px;
    }

    .gov-order-section__head p {
        font-size: 14px;
    }

    .gov-order-cards,
    .gov-order-cards--benefits,
    .gov-order-cards--tasks,
    .gov-order-cards--process,
    .gov-order-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .gov-order-card {
        min-height: unset;
        padding: 20px;
    }

    .gov-order-card__head {
        gap: 14px;
        margin-bottom: 16px;
    }

    .gov-order-card h3 {
        font-size: 14px;
    }

    .gov-order-card p {
        font-size: 14px;
    }

    .gov-order-stat {
        min-height: 116px;
        padding: 20px;
    }

    .gov-order-stat strong {
        margin-bottom: 12px;
        font-size: 40px;
    }

    .gov-order-stat span {
        font-size: 14px;
    }

    .gov-order-platforms {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-top: 20px;
    }

    .gov-order-platforms span {
        min-width: 0;
        padding: 10px 12px;
        font-size: 12px;
    }

    .gov-order-cards--tasks {
        margin-bottom: 24px;
    }

    .modal-form__field--date input {
        padding-right: 56px;
    }

    .modal-form__date-icon {
        right: 18px;
        width: 20px;
        height: 20px;
    }

    .modal-form__date-icon img {
        width: 20px;
        height: 20px;
    }

    .modal-form__file {
        gap: 10px;
        margin-bottom: 8px;
    }

    .modal-form__file-text,
    .modal-form__file-note {
        font-size: 16px;
    }

    .air-datepicker.gov-order-datepicker {
        width: min(284px, calc(100vw - 40px));
    }
}
