:root {
    --red: #cc2028;
    --ink: #17283e;
    --line: #d7dfe8;
    --navy: #14263e;
    --navy-deep: #0b192b;
    --canvas: #f5f7fa;
    --surface: #fff;
    --surface-muted: #eaf0f6;
    --muted: #53657b;
    --on-dark: #dbe5f0;
}

body {
    background: var(--canvas);
    color: var(--ink);
}

.container {
    width: calc(100% - 48px);
    max-width: 1180px;
    margin: 0 auto;
}

.section {
    padding: 50px 0;
}

.icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.button, .icon-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
}

.button {
    border: 1px solid var(--red);
    background: var(--red);
    color: white;
}

.button-outline {
    background: transparent;
    color: var(--red);
}

.icon-button {
    border: 1px solid var(--line);
    background: transparent;
    padding: 10px;
}

input, textarea, .select-button {
    width: 100%;
    border: 1px solid var(--line);
    padding: 12px;
    background: var(--surface);
}

input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--red);
}

button:disabled {
    opacity: .5;
}

a:hover {
    color: var(--red);
}

input:focus, textarea:focus, .select-button:focus {
    outline: none;
    border-color: var(--red);
}

:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 3px;
}

h1 {
    font-size: 40px;
    line-height: 1.15;
}

h2 {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 20px;
}

.number-heading .number-prefix {
    color: var(--number-prefix-color, var(--red));
}

.number-heading a:hover,
.number-heading a:focus-visible {
    color: var(--red);
}

p {
    margin-bottom: 16px;
}

.page-hero {
    padding: 35px 0;
    position: relative;
}

.page-hero > img {
    display: none;
}

.status-box {
    padding: 30px;
    border: 1px solid var(--line);
}

.custom-select {
    position: relative;
}

.native-select {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.select-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    text-align: left;
}

.select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    z-index: 30;
}

.select-options {
    max-height: 280px;
    overflow-y: auto;
    box-shadow: 0 8px 24px #0002;
}

.select-options button {
    display: block;
    width: 100%;
    padding: 12px;
    text-align: left;
    border: 0;
    background: none;
}

.select-options button:hover, .select-options [aria-selected="true"] {
    background: var(--surface-muted);
}

.dialog-open {
    overflow: hidden;
}

.toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 200;
    background: #fff;
    padding: 20px;
}

.blocking-status {
    position: fixed;
    inset: 0;
    background: #f1f4f8dd;
    z-index: 200;
    display: flex;
}

.blocking-status > div {
    margin: auto;
}

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 80px;
    z-index: 30;
    background: #fff;
}

.skip-link {
    position: absolute;
    left: -9999px;
}

.skip-link:focus {
    left: 10px;
    top: 10px;
    z-index: 300;
    background: white;
}

.form-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.form-group {
    width: calc(50% - 12px);
}

.form-group.full-width {
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
}

.field-error, .form-status {
    color: #a81420;
    margin: 5px 0;
}

.form-status.is-success {
    color: #237044;
}

.form-actions {
    display: flex;
    gap: 16px;
    margin-top: 25px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--red);
}

.text-button {
    border: 0;
    color: var(--red);
    background: none;
    padding: 8px;
}

.contact-list > div {
    margin-bottom: 15px;
    overflow-wrap: anywhere;
}

.contact-list dt {
    font-weight: bold;
}

.contact-list dd {
    margin: 0;
}

.pagination, .page-controls, .page-count {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.pagination {
    margin-top: 30px;
}

.page-count {
    width: 100%;
    gap: 25px;
}

.page-link {
    padding: 6px 10px;
    border: 1px solid var(--line);
}

.page-link.is-current {
    background: var(--red);
    color: white;
}

.page-link.is-disabled {
    opacity: .45;
}

.page-jump {
    display: flex;
    gap: 8px;
    align-items: center;
}

.page-jump .custom-select {
    min-width: 80px;
}

.spinner {
    display: block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--line);
    border-top-color: var(--red);
}

.spinner {
    border-radius: 50%;
    animation: spin .8s linear infinite;
}

@keyframes spin {
    to {
    transform: rotate(360deg);
}

}

.unavailable {
    max-width: 600px;
    margin: 15vh auto;
    padding: 24px;
}

@media (max-width: 640px) {
.container {
    width: calc(100% - 32px);
}
 .form-group {
    width: 100%;
}

}
body {
    background: var(--canvas);
}
.container {
    max-width: 1180px;
}
.section {
    padding: 88px 0;
}
h1, h2, h3 {
    font-weight: 600;
    letter-spacing: -.035em;
}
h2 {
    font-size: clamp(30px, 3vw, 44px);
    line-height: 1.13;
    margin-bottom: 24px;
}
h3 {
    font-size: 23px;
}
p {
    line-height: 1.85;
}
.button {
    min-height: 48px;
    padding: 13px 24px;
    font-weight: 600;
    letter-spacing: .01em;
    justify-content: center;
    transition: background-color .2s, border-color .2s, color .2s;
}
.button:hover {
    background: #a81420;
    border-color: #a81420;
    color: #fff;
}
.button-outline:hover {
    background: var(--surface-muted);
    color: #a81420;
}
.icon-button {
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    transition: background-color .2s, color .2s, border-color .2s;
}
.icon-button:hover {
    background: #a81420;
    border-color: #a81420;
    color: #fff;
}
input, textarea, .select-button {
    min-height: 46px;
    border-radius: 2px;
    transition: border-color .18s;
}
input:focus-visible, textarea:focus-visible, .select-button:focus-visible {
    outline: none;
    box-shadow: none;
    border-color: var(--red);
}
[aria-invalid="true"] {
    border-color: var(--red);
}
input[type="checkbox"] {
    min-height: 0;
    cursor: pointer;
}
.text-link {
    font-weight: 600;
    padding: 8px 0;
}
.text-link:hover .icon {
    transform: translateX(4px);
}
.text-link .icon {
    transition: transform .2s;
}
.page-hero {
    display: flex;
    align-items: center;
    min-height: 290px;
    padding: 48px 0;
    overflow: hidden;
    background: var(--navy);
    isolation: isolate;
    color: #fff;
}
.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg, #09182beb 0%, #14263eb8 42%, #14263e26 100%);
}
.page-hero > img {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.page-hero .container {
    position: relative;
    z-index: 2;
}
.page-hero h1 {
    font-size: clamp(34px, 4vw, 52px);
    max-width: 51%;
    margin-bottom: 0;
    letter-spacing: -.04em;
}
.status-box {
    background: var(--surface-muted);
    text-align: center;
    padding: 50px 24px;
}
.toast {
    max-width: calc(100vw - 40px);
    border-left: 3px solid var(--red);
    box-shadow: 0 10px 40px #0b1b3026;
}
.back-to-top {
    color: var(--navy);
    border-color: var(--line);
}
.form-status {
    padding: 12px 0;
}
.field-error {
    line-height: 1.5;
    text-align: left;
    padding-top: 3px;
}
.contact-list dt {
    font-size: 14px;
    color: var(--navy);
    margin-bottom: 4px;
}
.contact-list dd {
    white-space: pre-line;
}
.page-link {
    min-width: 38px;
    text-align: center;
    background: var(--surface);
}
.page-link:not(.is-disabled):hover {
    border-color: var(--red);
}
.page-count {
    color: var(--muted);
}
.select-options {
    border: 1px solid var(--line);
}
.select-options [role="option"]:focus {
    outline-offset: -3px;
}
@media (max-width: 900px) {
    .form-group {
        width: 100%;
    }
    .section {
        padding: 64px 0;
    }
    .page-hero {
        min-height: 260px;
    }
}
@media (max-width: 640px) {
    .section {
        padding: 48px 0;
    }
    .page-hero {
        min-height: 245px;
        padding: 48px 0;
        align-items: center;
    }
    .page-hero > img {
        inset: 0;
        height: 100%;
        object-position: right center;
    }
    .page-hero::after {
        background: linear-gradient(90deg, #09182beb 0%, #14263eb3 55%, #14263e59 100%);
    }
    .page-hero h1 {
        max-width: 100%;
        font-size: 32px;
        margin-bottom: 0;
    }
    h2 {
        font-size: 32px;
    }
    .page-controls {
        gap: 5px;
    }
    .page-link {
        padding: 5px 8px;
        min-width: 30px;
    }
    .pagination {
        row-gap: 15px;
    }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}
