/* Contact page — extends home-redesign.css */

.contact-page {
    --amx-navy: #020c41;
    --amx-blue: #030d75;
    --amx-pink: #fa0073;
    --amx-surface: #f4f6fb;
    --amx-radius: 1.25rem;
    background: var(--amx-surface);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.contact-hero {
    min-height: 100vh;
    min-height: 100dvh;
}
.contact-hero__bg {
    background:
        linear-gradient(160deg, rgba(2, 12, 65, 0.88) 0%, rgba(3, 13, 117, 0.72) 42%, rgba(2, 12, 65, 0.9) 100%),
        url('../images/gallery/amx/amx-01.png') center 40% / cover no-repeat;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}
@media (min-width: 1024px) {
    .contact-layout {
        grid-template-columns: 1fr 1.05fr;
        gap: 2.5rem 2.5rem;
        align-items: stretch;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.contact-highlights {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.contact-info__head {
    text-align: center;
    margin-bottom: 1.75rem;
}
.contact-info__title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 700;
    color: var(--amx-blue);
    letter-spacing: -0.02em;
    margin: 0 0 0.65rem;
    text-align: center;
}
.contact-info__desc {
    margin: 0 auto;
    max-width: 36rem;
    font-size: 1rem;
    line-height: 1.65;
    color: #64748b;
    text-align: justify !important;
    text-justify: inter-word;
    text-align-last: center !important;
}

.contact-highlight {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.35rem 1.25rem;
    background: #fff;
    border: 1px solid rgba(3, 13, 117, 0.1);
    border-radius: var(--amx-radius);
    box-shadow: 0 8px 24px rgba(2, 12, 65, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.contact-highlight:hover {
    transform: translateY(-3px);
    border-color: rgba(3, 13, 117, 0.18);
    box-shadow: 0 16px 36px rgba(2, 12, 65, 0.09);
}
.contact-highlight__icon {
    width: 2.85rem;
    height: 2.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.85rem;
    margin-bottom: 0.85rem;
    background: rgba(3, 13, 117, 0.08);
    color: var(--amx-blue);
    font-size: 1.1rem;
}
.contact-highlight__title {
    margin: 0 0 0.45rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--amx-blue);
}
.contact-highlight__text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #64748b;
    text-align: justify !important;
    text-justify: inter-word;
    text-align-last: center !important;
}

.contact-footnote {
    margin: 0;
    padding-top: 0.25rem;
    font-size: 0.95rem;
    color: #64748b;
    text-align: center;
    width: 100%;
}
@media (min-width: 1024px) {
    .contact-footnote {
        grid-column: 1 / -1;
        padding-top: 0.5rem;
    }
}
.contact-footnote a {
    color: var(--amx-blue);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(3, 13, 117, 0.25);
}
.contact-footnote a:hover {
    color: var(--amx-pink);
    border-bottom-color: rgba(250, 0, 115, 0.4);
}

.contact-form-card {
    position: relative;
    height: 100%;
    padding: 1.75rem 1.5rem 1.6rem;
    background: #fff;
    border-radius: 1.35rem;
    border: 1px solid rgba(3, 13, 117, 0.08);
    box-shadow:
        0 1px 2px rgba(2, 12, 65, 0.04),
        0 18px 48px rgba(2, 12, 65, 0.08);
    overflow: hidden;
}
.contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #fa0073;
}
.contact-form-card__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.contact-form-card__icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(3, 13, 117, 0.08);
    color: var(--amx-blue);
    font-size: 1.15rem;
    flex-shrink: 0;
}
.contact-form-card__title {
    margin: 0 0 0.35rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--amx-blue);
    text-align: center;
}
.contact-form-card__sub {
    margin: 0 auto;
    max-width: 28rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #64748b;
    text-align: justify !important;
    text-justify: inter-word;
    text-align-last: center !important;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.1rem;
}
@media (min-width: 640px) {
    .contact-form-grid { grid-template-columns: 1fr 1fr; }
}
.contact-form-grid__full { grid-column: 1 / -1; }

.contact-label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--amx-blue);
}
.contact-label span { color: var(--amx-pink); }

.contact-input {
    width: 100%;
    padding: 0.8rem 0.95rem;
    border: 1.5px solid rgba(3, 13, 117, 0.12);
    border-radius: 0.85rem;
    background: #f8fafc;
    color: #0f172a;
    font-size: 0.9375rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.contact-input:focus {
    outline: none;
    background: #fff;
    border-color: rgba(3, 13, 117, 0.35);
    box-shadow: 0 0 0 4px rgba(3, 13, 117, 0.08);
}
textarea.contact-input { resize: vertical; min-height: 8rem; }

.contact-recaptcha {
    display: flex;
    justify-content: center;
}
.contact-submit-wrap {
    display: flex;
    justify-content: center;
    padding-top: 0.25rem;
}
.contact-submit {
    min-width: 12rem;
    border: none;
    cursor: pointer;
}

.contact-thanks {
    text-align: center;
    padding: 2rem 1rem;
}
.contact-thanks.hidden { display: none; }
.contact-thanks__icon {
    font-size: 3rem;
    color: var(--amx-pink);
    margin-bottom: 0.85rem;
}
.contact-thanks__title {
    margin: 0 0 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--amx-blue);
}
.contact-thanks__text {
    margin: 0 0 1.35rem;
    color: #64748b;
}
.contact-thanks .home-btn {
    border: none;
    cursor: pointer;
}
