.contact-page {
    --contact-shell: 1360px;
    --contact-red: #e51e2a;
    --contact-ink: #202020;
    --contact-muted: #6d6d6d;
    --contact-line: #dedede;
    overflow: hidden;
    color: var(--contact-ink);
    background: #fff;
}

.contact-shell {
    width: min(var(--contact-shell), calc(100% - 80px));
    margin: 0 auto;
}

.contact-hero {
    position: relative;
    height: 450px;
    overflow: hidden;
    color: #fff;
    background: #222;
}

.contact-hero > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: contact-hero-in 1.2s ease-out both;
}

.contact-hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .58) 0%, rgba(0, 0, 0, .25) 48%, rgba(0, 0, 0, .08) 100%);
}

.contact-hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    width: min(var(--contact-shell), calc(100% - 80px));
    margin: 0 auto;
    flex-direction: column;
    justify-content: center;
    animation: contact-copy-in .72s .12s ease-out both;
}

.contact-hero-content p,
.contact-section-heading > p,
.contact-inquiry > header > p {
    margin: 0;
    letter-spacing: 0;
    text-transform: uppercase;
}

.contact-hero-content p {
    margin-bottom: 18px;
    font-size: 15px;
    font-weight: 600;
}

.contact-hero-content h1 {
    margin: 0;
    font-size: 54px;
    font-weight: 500;
    line-height: 1.16;
}

.contact-main {
    position: relative;
    padding: 112px 0 124px;
}

.contact-main::before {
    position: absolute;
    top: 0;
    left: 0;
    width: min(27vw, 460px);
    height: 4px;
    content: "";
    background: var(--contact-red);
}

.contact-main-grid {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(520px, 1.08fr);
    align-items: start;
    gap: 96px;
}

.contact-directory {
    min-width: 0;
    padding-top: 6px;
    animation: contact-copy-in .72s .2s ease-out both;
}

.contact-section-heading > p,
.contact-inquiry > header > p {
    color: var(--contact-red);
    font-size: 13px;
    font-weight: 700;
}

.contact-section-heading h2,
.contact-inquiry h2 {
    margin: 14px 0 0;
    font-size: 38px;
    font-weight: 500;
    line-height: 1.3;
}

.contact-section-heading > span {
    display: block;
    max-width: 590px;
    margin-top: 24px;
    color: var(--contact-muted);
    font-size: 16px;
    line-height: 1.9;
}

.contact-department-list {
    display: grid;
    margin-top: 58px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--contact-line);
    border-bottom: 1px solid var(--contact-line);
}

.contact-department {
    min-width: 0;
    padding: 34px 34px 32px 0;
}

.contact-department + .contact-department {
    padding-right: 0;
    padding-left: 34px;
    border-left: 1px solid var(--contact-line);
}

.contact-department h3 {
    margin: 0 0 26px;
    font-size: 20px;
    font-weight: 600;
}

.contact-person {
    display: grid;
    grid-template-columns: minmax(74px, auto) minmax(0, 1fr);
    align-items: baseline;
    gap: 20px;
}

.contact-person + .contact-person {
    margin-top: 18px;
}

.contact-person span {
    color: var(--contact-muted);
    font-size: 14px;
}

.contact-person a {
    color: var(--contact-ink);
    font-size: 17px;
    font-weight: 600;
    white-space: nowrap;
    transition: color .2s ease;
}

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

.contact-general-list {
    margin: 32px 0 0;
}

.contact-general-list > div {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 24px;
    padding: 12px 0;
}

.contact-general-list dt,
.contact-general-list dd {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
}

.contact-general-list dt {
    color: var(--contact-muted);
}

.contact-general-list dd {
    color: #333;
}

.contact-general-list a {
    transition: color .2s ease;
}

.contact-general-list a:hover {
    color: var(--contact-red);
}

.contact-inquiry {
    padding: 50px 52px 54px;
    background: #f5f5f5;
    animation: contact-copy-in .72s .3s ease-out both;
}

.contact-inquiry h2 {
    font-size: 31px;
}

.contact-inquiry form {
    margin-top: 38px;
}

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

.contact-inquiry label {
    display: grid;
    min-width: 0;
    gap: 9px;
}

.contact-inquiry label > span {
    color: #555;
    font-size: 13px;
    line-height: 1.4;
}

.contact-inquiry input,
.contact-inquiry select,
.contact-inquiry textarea {
    width: 100%;
    border: 1px solid #d8d8d8;
    border-radius: 0;
    outline: none;
    color: #252525;
    background: #fff;
    font: inherit;
    font-size: 15px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-inquiry input,
.contact-inquiry select {
    height: 50px;
    padding: 0 14px;
}

.contact-inquiry textarea {
    min-height: 132px;
    padding: 13px 14px;
    line-height: 1.7;
    resize: vertical;
}

.contact-inquiry input:focus,
.contact-inquiry select:focus,
.contact-inquiry textarea:focus {
    border-color: var(--contact-red);
    box-shadow: 0 0 0 2px rgba(229, 30, 42, .1);
}

.contact-message-field {
    margin-top: 24px;
}

.contact-inquiry small {
    color: #b41922;
    font-size: 12px;
    line-height: 1.5;
}

.contact-inquiry button {
    display: inline-flex;
    min-width: 176px;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    margin-top: 30px;
    padding: 0 22px 0 26px;
    border: 0;
    border-radius: 0;
    color: #fff;
    background: var(--contact-red);
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}

.contact-inquiry button span {
    font-size: 15px;
    font-weight: 600;
}

.contact-inquiry button b {
    font-size: 20px;
    font-weight: 400;
}

.contact-inquiry button:hover {
    background: #c81923;
    transform: translateY(-2px);
}

.contact-inquiry button:focus-visible,
.contact-channel-list a:focus-visible,
.contact-person a:focus-visible {
    outline: 2px solid var(--contact-red);
    outline-offset: 3px;
}

.contact-form-success {
    margin: 24px 0 0;
    padding: 14px 16px;
    border-left: 3px solid #238052;
    color: #1c6543;
    background: #e5f4eb;
    font-size: 14px;
    line-height: 1.7;
}

.contact-online {
    padding: 98px 0 116px;
    background: #f3f3f3;
}

.contact-section-heading--center {
    text-align: center;
}

.contact-section-heading--center h2 {
    font-size: 35px;
}

.contact-channel-list {
    display: grid;
    margin-top: 58px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid #d7d7d7;
    border-bottom: 1px solid #d7d7d7;
}

.contact-channel-list a {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 168px;
    padding: 32px 52px 30px 0;
    flex-direction: column;
    justify-content: center;
    transition: color .2s ease, background-color .2s ease;
}

.contact-channel-list a + a {
    padding-left: 34px;
    border-left: 1px solid #d7d7d7;
}

.contact-channel-list span {
    color: var(--contact-muted);
    font-size: 14px;
}

.contact-channel-list strong {
    overflow-wrap: anywhere;
    margin-top: 16px;
    color: var(--contact-ink);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
}

.contact-channel-list b {
    position: absolute;
    top: 50%;
    right: 20px;
    color: var(--contact-red);
    font-size: 24px;
    font-weight: 400;
    transform: translateY(-50%);
    transition: transform .2s ease;
}

.contact-channel-list a:hover strong {
    color: var(--contact-red);
}

.contact-channel-list a:hover b {
    transform: translate(4px, -50%);
}

@keyframes contact-hero-in {
    from { opacity: .78; transform: scale(1.025); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes contact-copy-in {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1100px) {
    .contact-main-grid {
        grid-template-columns: 1fr;
        gap: 68px;
    }

    .contact-directory {
        width: min(760px, 100%);
    }

    .contact-inquiry {
        width: min(820px, 100%);
    }

    .contact-channel-list {
        grid-template-columns: 1fr;
    }

    .contact-channel-list a,
    .contact-channel-list a + a {
        min-height: 128px;
        padding: 25px 58px 25px 0;
        border-left: 0;
    }

    .contact-channel-list a + a {
        border-top: 1px solid #d7d7d7;
    }
}

@media (max-width: 700px) {
    .contact-shell,
    .contact-hero-content {
        width: calc(100% - 38px);
    }

    .contact-hero {
        height: 300px;
    }

    .contact-hero-content h1 {
        font-size: 38px;
    }

    .contact-main {
        padding: 72px 0 82px;
    }

    .contact-main::before {
        width: 32%;
        height: 3px;
    }

    .contact-section-heading h2,
    .contact-inquiry h2 {
        font-size: 29px;
    }

    .contact-department-list,
    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .contact-department {
        padding: 28px 0;
    }

    .contact-department + .contact-department {
        padding-left: 0;
        border-top: 1px solid var(--contact-line);
        border-left: 0;
    }

    .contact-inquiry {
        padding: 36px 22px 40px;
    }

    .contact-form-grid {
        gap: 20px;
    }

    .contact-general-list > div {
        grid-template-columns: 94px minmax(0, 1fr);
        gap: 16px;
    }

    .contact-online {
        padding: 70px 0 82px;
    }

    .contact-section-heading--center h2 {
        font-size: 28px;
    }

    .contact-channel-list {
        margin-top: 42px;
    }

    .contact-channel-list a,
    .contact-channel-list a + a {
        min-height: 118px;
        padding-left: 0;
    }
}

@media (max-width: 390px) {
    .contact-person {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .contact-person + .contact-person {
        margin-top: 20px;
    }

    .contact-general-list > div {
        grid-template-columns: 1fr;
        gap: 3px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-hero > img,
    .contact-hero-content,
    .contact-directory,
    .contact-inquiry {
        animation: none;
    }

    .contact-inquiry button,
    .contact-channel-list b {
        transition: none;
    }
}
