.contact-hero {
    position: relative;
    isolation: isolate;
    padding: 78px 0 82px;
    color: #fff;
    background-image: url("../images/hero.png");
    background-position: center 42%;
    background-size: cover;
}

.contact-hero::before {
    position: absolute;
    content: "";
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg,
            rgba(10, 14, 35, 0.9) 0%,
            rgba(16, 21, 46, 0.75) 46%,
            rgba(16, 21, 46, 0.55) 100%),
        linear-gradient(0deg, rgba(10, 14, 35, 0.75), transparent 62%);
}

.contact-hero::after {
    position: absolute;
    content: "";
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at 82% 15%, rgba(215, 181, 109, 0.22), transparent 30%);
    pointer-events: none;
}

.contact-hero-inner {
    max-width: 820px;
}

.contact-eyebrow,
.contact-kicker {
    color: #E8D19C;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.contact-hero h1 {
    margin-top: 14px;
    font-size: clamp(2.2rem, 5vw, 4rem);
}

.contact-hero p:last-child {
    max-width: 590px;
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.82);
}

.contact-content {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: clamp(36px, 7vw, 96px);
    align-items: start;
    padding-top: 72px;
    padding-bottom: 88px;
}

.contact-details {
    padding-top: 12px;
}

.contact-kicker {
    color: #5B4BBD;
}

.contact-details h2,
.contact-form-card h2 {
    margin-top: 12px;
    color: #10152E;
    font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.contact-intro,
.contact-form-intro {
    margin-top: 10px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 22px;
    padding: 17px;
    border: 1px solid #E7E9F0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(16, 21, 46, 0.045);
}

a.contact-method {
    transition: border-color 0.2s ease, transform 0.2s ease;
}

a.contact-method:hover {
    transform: translateY(-2px);
    border-color: #B9B0E8;
}

.contact-method-icon {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    border-radius: 12px;
    color: #443591;
    background: #F0EEFA;
    font-size: 20px;
    font-weight: 700;
}

.contact-whatsapp-icon {
    color: #16865B;
    background: #E8F6EF;
}

.contact-method small,
.contact-method strong {
    display: block;
}

.contact-method small {
    color: #777D91;
    font-size: 11px;
}

.contact-method strong {
    margin-top: 3px;
    color: #10152E;
    font-size: 15px;
}

.contact-email {
    opacity: 0.82;
}

.contact-form-card {
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid #E7E9F0;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(16, 21, 46, 0.09);
}

.contact-field {
    margin-top: 19px;
}

.contact-field label {
    display: block;
    margin-bottom: 7px;
    color: #20243A;
    font-size: 12px;
    font-weight: 700;
}

.contact-field label > span:first-child:not(.optional-label) {
    color: #B3261E;
}

.optional-label {
    color: #777D91;
    font-size: 11px;
    font-weight: 400;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid #D9DCE6;
    border-radius: 9px;
    color: #20243A;
    background: #fff;
    font: inherit;
    font-size: 13px;
}

.contact-field textarea {
    min-height: 132px;
    resize: vertical;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    outline: 3px solid rgba(91, 75, 189, 0.16);
    border-color: #5B4BBD;
}

.contact-submit {
    width: 100%;
    justify-content: center;
    margin-top: 22px;
}

.contact-privacy-note {
    margin-top: 12px;
    font-size: 11px;
    text-align: center;
}

.contact-privacy-note a {
    color: #443591;
    font-weight: 700;
    text-decoration: underline;
}

.contact-form-error {
    margin-top: 12px;
    color: #B3261E;
    font-weight: 700;
}

.site-footer .footer-legal a {
    font-size: 10px;
}

@media (max-width: 760px) {
    .contact-hero {
        padding: 56px 0 60px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 34px;
        padding-top: 42px;
        padding-bottom: 56px;
    }

    .contact-details {
        padding-top: 0;
    }
}
