.contact-page {
    --navy: #111b29;
    --ink: #142033;
    --muted: #596575;
    --gold: #c89a4a;
    --gold-soft: #ead0a0;
    --paper: #fbf6ec;
    --paper-deep: #efe3cf;
    --red: #8e0710;
    --red-deep: #64040a;

    color: var(--ink);
    background:
        radial-gradient(circle at 82% 18%, rgba(200, 154, 74, 0.16), transparent 30%),
        linear-gradient(180deg, #fffaf0 0%, var(--paper) 48%, var(--paper-deep) 100%);
    overflow-x: clip;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.contact-hero {
    position: relative;
    min-height: clamp(360px, 42vw, 560px);
    display: grid;
    align-items: center;
    padding: clamp(70px, 8vw, 118px) clamp(24px, 7vw, 96px) clamp(120px, 12vw, 190px);
    isolation: isolate;
    overflow: hidden;
}

.contact-hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(251,246,236,0.98) 0%,
            rgba(251,246,236,0.96) 35%,
            rgba(251,246,236,0.85) 50%,
            rgba(251,246,236,0.25) 75%,
            rgba(251,246,236,0.00) 100%
        ),
        url('/assets/images/flag-hall.avif');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    z-index: -1;
}

.contact-hero::after {
    content: "CONTACT";
    position: absolute;
    right: -0.08em;
    bottom: -0.13em;
    color: rgba(17, 27, 41, 0.1);
    font-size: clamp(8rem, 23vw, 21rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.08em;
    z-index: 5;
    pointer-events: none;
}

.contact-hero__content {
    width: min(760px, 100%);
    padding-left: 40px;
}

.contact-kicker {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 18px;
    color: var(--red);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.contact-kicker::after {
    content: "";
    width: 48px;
    height: 1px;
    background: currentColor;
    opacity: 0.62;
}

.contact-hero h1 {
    max-width: 760px;
    margin: 0;
    font-family: Georgia, serif;
    font-size: clamp(3.1rem, 6.2vw, 7rem);
    line-height: 0.93;
    letter-spacing: -0.065em;
    font-weight: 400;
    color: var(--navy);
}

.contact-hero p:not(.contact-kicker) {
    max-width: 620px;
    margin: 26px 0 0;
    color: #283545;
    font-size: clamp(1.04rem, 1.16vw, 1.22rem);
    line-height: 1.72;
}

.contact-inquiry {
    position: relative;
    z-index: 3;
    margin: clamp(-118px, -9vw, -78px) auto clamp(58px, 7vw, 96px);
    padding: 0 clamp(22px, 5vw, 70px);
}

.contact-form {
    background:
        linear-gradient(135deg, rgba(255,255,255,0.96), rgba(251,246,236,0.92)),
        var(--paper);
    border: 1px solid rgba(200, 154, 74, 0.62);
    box-shadow: 0 34px 90px rgba(17, 27, 41, 0.20);
    padding: clamp(26px, 3vw, 42px);
}

.contact-form__honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-form__section-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.contact-form__section-heading--second {
    margin-top: clamp(30px, 4vw, 52px);
}

.contact-form__section-heading span,
.contact-form__section-heading h2 {
    margin: 0;
    color: var(--navy);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    line-height: 1.2;
    text-transform: uppercase;
}

.contact-form__section-heading::after {
    content: "";
    width: 42px;
    height: 1px;
    background: var(--gold);
    opacity: 0.72;
}

.contact-purpose {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(200, 154, 74, 0.5);
}

.contact-purpose__card {
    position: relative;
    min-height: 230px;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 12px;
    padding: 28px 22px;
    border: 0;
    border-right: 1px solid rgba(200, 154, 74, 0.42);
    background: rgba(255, 255, 255, 0.72);
    color: var(--ink);
    text-align: center;
    cursor: pointer;
    transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.contact-purpose__card:last-child {
    border-right: 0;
}

.contact-purpose__card:hover,
.contact-purpose__card:focus-visible {
    background: rgba(255, 255, 255, 0.82);
    outline: 0;
}

.contact-purpose__card.is-selected {
    background: linear-gradient(180deg, #b40815, var(--red-deep));
    color: #fff;
    box-shadow: 0 24px 54px rgba(142, 7, 16, 0.28);
    transform: translateY(-1px);
}

.contact-purpose__card.is-selected::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -12px;
    width: 22px;
    height: 22px;
    background: var(--red-deep);
    transform: translateX(-50%) rotate(45deg);
}

.contact-purpose__icon {
    width: 62px;
    height: 62px;
    display: inline-grid;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    color: var(--gold);
    font-size: 1.65rem;
    line-height: 1;
}

.contact-purpose__card.is-selected .contact-purpose__icon {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(255, 255, 255, 0.96);
    color: var(--red);
}

.contact-purpose strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-purpose em {
    display: block;
    max-width: 210px;
    color: var(--muted);
    font-size: 0.96rem;
    font-style: normal;
    line-height: 1.55;
}

.contact-purpose__card.is-selected em {
    color: rgba(255, 255, 255, 0.88);
}

.contact-form__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(290px, 0.42fr);
    gap: clamp(28px, 4vw, 58px);
    align-items: stretch;
}

.contact-fields {
    display: grid;
    gap: 16px;
}

.contact-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.contact-form label {
    display: grid;
    gap: 7px;
}

.contact-form label span {
    color: var(--navy);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-form label span em {
    color: var(--muted);
    font-style: normal;
    letter-spacing: 0.04em;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    box-sizing: border-box;
    min-height: 56px;
    padding: 14px 16px;
    border: 1px solid rgba(200, 154, 74, 0.5);
    background: rgba(255, 255, 255, 0.72);
    color: var(--ink);
    font: inherit;
    border-radius: 0;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid rgba(200, 154, 74, 0.7);
    outline-offset: 2px;
    background: #fff;
}

.contact-form textarea {
    min-height: 156px;
    resize: vertical;
    line-height: 1.55;
}

.contact-form__full {
    grid-column: 1 / -1;
}

.contact-form__message {
    min-height: 1.35rem;
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.45;
}

.contact-form__message[data-type="success"] {
    color: var(--red);
    font-weight: 800;
}

.contact-form__message[data-type="error"] {
    color: #9f111b;
    font-weight: 800;
}

.contact-submit-row {
    display: grid;
    grid-template-columns: minmax(220px, 0.66fr) minmax(180px, 0.34fr);
    gap: 24px;
    align-items: center;
}

.contact-submit-row button {
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 16px 24px;
    background: linear-gradient(180deg, #b40815, var(--red-deep));
    border: 1px solid rgba(142, 7, 16, 0.55);
    box-shadow: 0 18px 34px rgba(142, 7, 16, 0.22);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 170ms ease, opacity 170ms ease, background 170ms ease;
}

.contact-submit-row button:hover,
.contact-submit-row button:focus-visible {
    transform: translateY(-1px);
    background: var(--red-deep);
}

.contact-submit-row button:disabled {
    opacity: 0.72;
    cursor: wait;
    transform: none;
}

.contact-submit-row p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.contact-next {
    padding: clamp(24px, 3vw, 36px);
    background:
        radial-gradient(circle at 20% 10%, rgba(200, 154, 74, 0.16), transparent 38%),
        rgba(255, 255, 255, 0.46);
    border-left: 1px solid rgba(200, 154, 74, 0.38);
}

.contact-next__kicker {
    margin: 0 0 24px;
    color: var(--navy);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.contact-next div {
    padding: 22px 0;
    border-top: 1px solid rgba(200, 154, 74, 0.34);
}

.contact-next div:last-child {
    border-bottom: 1px solid rgba(200, 154, 74, 0.34);
}

.contact-next strong,
.contact-next span {
    display: block;
}

.contact-next strong {
    color: var(--navy);
    font-family: Georgia, serif;
    font-size: 1.12rem;
    font-weight: 400;
}

.contact-next span {
    margin-top: 7px;
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.48;
}

@media (max-width: 1060px) {
    .contact-purpose {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-purpose__card:nth-child(2) {
        border-right: 0;
    }

    .contact-purpose__card:nth-child(-n+2) {
        border-bottom: 1px solid rgba(200, 154, 74, 0.42);
    }

    .contact-form__body {
        grid-template-columns: 1fr;
    }

    .contact-next {
        border-left: 0;
        border-top: 1px solid rgba(200, 154, 74, 0.38);
    }
}

@media (max-width: 720px) {
    .contact-hero {
        min-height: auto;
        padding: 52px 22px 104px;
    }

    .contact-hero h1 {
        font-size: clamp(2.65rem, 14vw, 4.35rem);
    }

    .contact-inquiry {
        margin-top: -68px;
        padding: 0 18px 54px;
    }

    .contact-form {
        padding: 20px;
    }

    .contact-purpose {
        grid-template-columns: 1fr;
    }

    .contact-purpose__card {
        min-height: 170px;
        border-right: 0;
        border-bottom: 1px solid rgba(200, 154, 74, 0.42);
    }

    .contact-purpose__card:last-child {
        border-bottom: 0;
    }

    .contact-purpose__card.is-selected::after {
        display: none;
    }

    .contact-form__grid,
    .contact-submit-row {
        grid-template-columns: 1fr;
    }
}