/* Deer Fight Gear — Contact page (#000 #FFF #E60000 #C9A227) */

.contact-page {
    overflow-x: hidden;
}

.contact-page *,
.contact-page *::before,
.contact-page *::after {
    min-width: 0;
}

/* ── Hero ───────────────────────────────────────────── */

.contact-hero {
    position: relative;
    min-height: var(--page-hero-min-height);
    display: flex;
    align-items: flex-end;
    padding: var(--page-hero-padding-top) var(--page-hero-padding-x) var(--page-hero-padding-bottom);
    overflow: hidden;
    background: #000000;
}

.contact-hero__bg {
    position: absolute;
    inset: 0;
}

.contact-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, #000000 0%, #000000 45%, transparent 100%);
}

.contact-hero__content {
    position: relative;
    z-index: 2;
    width: min(100%, 580px);
    max-width: 580px;
}

.contact-hero__eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 14px;
    border: 1px solid #C9A227;
    border-radius: 999px;
    color: #C9A227;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.contact-hero h1 {
    margin: 0 0 14px;
    max-width: 14ch;
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.05;
    color: #FFFFFF;
}

.contact-hero p {
    margin: 0 0 24px;
    max-width: min(100%, 50ch);
    font-size: 1rem;
    line-height: 1.7;
    color: #B0B0B0;
}

.contact-hero__btn {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 28px;
    border: 2px solid #C9A227;
    border-radius: 999px;
    background: #C9A227;
    color: #000000;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.contact-hero__btn:hover {
    transform: translateY(-3px);
    background: #000000;
    color: #C9A227;
}

/* ── Channel cards (white) ──────────────────────────── */

.contact-channels {
    width: 100%;
    padding: clamp(40px, 5vw, 56px) 5vw;
    overflow: hidden;
    background: #FFFFFF;
}

.contact-channels__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-channel {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px 20px;
    border: 1px solid #E8E8E8;
    border-radius: 16px;
    background: #FFFFFF;
    text-decoration: none;
    color: inherit;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.4s ease;
}

a.contact-channel:hover {
    transform: translateY(-6px);
    border-color: #C9A227;
    box-shadow: 0 16px 32px #EEEEEE;
    color: inherit;
}

.contact-channel__icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #000000;
    margin-bottom: 4px;
}

.contact-channel__icon--mail {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9A227' stroke-width='2'%3E%3Cpath d='M4 6h16v12H4V6zm0 0l8 7 8-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px;
}

.contact-channel__icon--phone {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9A227' stroke-width='2'%3E%3Cpath d='M6.5 4h3l1.5 5-2 1.2a11 11 0 0 0 5.8 5.8L18 14l5 1.5v3A2.5 2.5 0 0 1 20.6 21 15 15 0 0 1 3 6.5 2.5 2.5 0 0 1 6.5 4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px;
}

.contact-channel__icon--wa {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23C9A227'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 0 1-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 0 1-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 0 1 2.893 6.994c-.003 5.45-4.435 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0 0 12.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 0 0 5.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 0 0-3.48-8.413z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px;
}

.contact-channel__icon--clock {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9A227' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 8v4.2l2.8 1.6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px;
}

.contact-channel strong {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #E60000;
}

.contact-channel > span:last-child {
    font-size: 0.9rem;
    line-height: 1.45;
    color: #333333;
    word-break: break-word;
}

/* ── Main: form + map (black) ───────────────────────── */

.contact-main {
    width: 100%;
    padding: clamp(64px, 8vw, 96px) 5vw;
    overflow: hidden;
    background: #000000;
}

.contact-main__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(36px, 5vw, 56px);
    max-width: 1140px;
    margin: 0 auto;
    align-items: start;
}

.contact-kicker {
    display: inline-block;
    margin-bottom: 12px;
    color: #E60000;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.contact-form-wrap h2,
.contact-location h2 {
    margin: 0 0 12px;
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    line-height: 1.12;
    color: #C9A227;
}

.contact-form-wrap > p,
.contact-location__note {
    margin: 0 0 24px;
    font-size: 0.92rem;
    line-height: 1.7;
    color: #999999;
}

.contact-location__address {
    margin: 0 0 12px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.6;
    color: #FFFFFF;
}

.contact-alert {
    margin-bottom: 20px;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
}

.contact-alert--success {
    border: 1px solid #C9A227;
    background: #111100;
    color: #C9A227;
}

.contact-alert--error {
    border: 1px solid #E60000;
    background: #150000;
    color: #FFFFFF;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-field span {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #C9A227;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #333333;
    border-radius: 10px;
    background: #0A0A0A;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 0.92rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: #666666;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    outline: none;
    border-color: #C9A227;
    box-shadow: 0 0 0 3px #332200;
}

.contact-field select {
    min-height: 51px;
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #C9A227 50%),
        linear-gradient(135deg, #C9A227 50%, transparent 50%);
    background-position:
        calc(100% - 18px) 50%,
        calc(100% - 12px) 50%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.contact-field textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-form__submit {
    align-self: flex-start;
    min-height: 50px;
    padding: 0 32px;
    border: 2px solid #C9A227;
    border-radius: 999px;
    background: #C9A227;
    color: #000000;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.35s ease, background 0.3s ease;
}

.contact-form__submit:hover {
    transform: translateY(-3px);
    background: #000000;
    color: #C9A227;
}

.contact-map {
    margin: 20px 0;
    border: 2px solid #C9A227;
    border-radius: 16px;
    overflow: hidden;
    background: #111111;
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 280px;
    border: 0;
}

.contact-location__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.contact-loc-btn {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.contact-loc-btn--gold {
    border: 2px solid #C9A227;
    background: #C9A227;
    color: #000000;
}

.contact-loc-btn--gold:hover {
    transform: translateY(-2px);
    background: #000000;
    color: #C9A227;
}

.contact-loc-btn--outline {
    border: 2px solid #FFFFFF;
    background: transparent;
    color: #FFFFFF;
}

.contact-loc-btn--outline:hover {
    transform: translateY(-2px);
    background: #FFFFFF;
    color: #000000;
}

/* ── Bottom CTA banner (white) ──────────────────────── */

.contact-banner {
    width: 100%;
    padding: clamp(48px, 6vw, 72px) 5vw;
    overflow: hidden;
    background: #FFFFFF;
}

.contact-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
    padding: clamp(32px, 4vw, 44px);
    border: 2px solid #000000;
    border-radius: 20px;
    background: #FFFFFF;
    transition: border-color 0.35s ease;
}

.contact-banner.is-in .contact-banner__inner {
    border-color: #C9A227;
}

.contact-banner h2 {
    margin: 8px 0 10px;
    max-width: 28ch;
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 2.8vw, 1.85rem);
    font-weight: 800;
    line-height: 1.12;
    color: #000000;
}

.contact-banner p {
    margin: 0;
    max-width: 48ch;
    font-size: 0.92rem;
    line-height: 1.65;
    color: #666666;
}

.contact-banner__btn {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 28px;
    border: 2px solid #C9A227;
    border-radius: 999px;
    background: #C9A227;
    color: #000000;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.3s ease, background 0.3s ease;
}

.contact-banner__btn:hover {
    transform: translateY(-3px);
    background: #000000;
    color: #C9A227;
}

/* ── Scroll reveal ──────────────────────────────────── */

.contact-page.js-ready .contact-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--contact-delay, 0ms);
}

.contact-page.js-ready .contact-reveal--right {
    transform: translateX(36px);
}

.contact-page.js-ready .contact-reveal.is-in,
.contact-page.js-ready .contact-reveal--right.is-in {
    opacity: 1;
    transform: translate(0);
}

/* ── Responsive ─────────────────────────────────────── */

@media (max-width: 991px) {
    .contact-channels__grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .contact-hero__overlay {
        background: linear-gradient(180deg, transparent 15%, #000000 88%);
    }
}

@media (max-width: 640px) {
    .contact-hero {
        padding-inline: 24px;
    }

    .contact-hero__content {
        width: 100%;
        max-width: 100%;
    }

    .contact-hero h1 {
        max-width: none;
        font-size: clamp(2rem, 9vw, 2.35rem);
    }

    .contact-hero p {
        width: 100%;
        max-width: 100%;
        font-size: 0.95rem;
        overflow-wrap: break-word;
    }

    .contact-channels,
    .contact-main,
    .contact-banner {
        padding-inline: 24px;
    }

    .contact-channels__grid,
    .contact-main__grid,
    .contact-banner__inner {
        width: 100%;
        max-width: 100%;
        margin-inline: 0;
    }

    .contact-channels__grid,
    .contact-form__row {
        grid-template-columns: 1fr;
    }

    .contact-banner__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-page.js-ready .contact-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
