/* ==============================================
   LEGACY AUTOPLEX — CONTACT PAGE CSS
   Requires base.css loaded first.
=============================================== */

/* ---- HERO ---- */
.contact-hero {
    min-height: 60vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    border-bottom: 0.5px solid var(--border);
}

.contact-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.contact-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    filter: brightness(0.55) saturate(0.75);
    display: block;
}

.contact-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, var(--black) 0%, rgba(7,7,15,0.8) 35%, transparent 70%),
        linear-gradient(to top, var(--black) 0%, transparent 35%);
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    width: 55%;
    padding: 160px 0 80px 64px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 60vh;
}

.contact-hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(64px, 9vw, 120px);
    line-height: 0.9;
    letter-spacing: 0.01em;
    color: var(--white);
    margin-bottom: 24px;
}

.contact-hero-content .contact-header-sub {
    font-size: clamp(15px, 1.5vw, 18px);
    color: var(--gray-light);
    line-height: 1.8;
    max-width: 480px;
    font-weight: 300;
}

/* ---- MAIN CONTACT SECTION ---- */
.section-contact-main {
    padding: var(--section-pad);
    border-bottom: 0.5px solid var(--border);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: start;
}

/* Left: info block */
.contact-info { }

.contact-info-block {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 0.5px solid var(--border);
}
.contact-info-block:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.contact-info-label {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.contact-info-value {
    font-size: 17px;
    color: var(--white);
    line-height: 1.7;
}

.contact-info-value a {
    color: var(--white);
    transition: color 0.2s;
}
.contact-info-value a:hover { color: var(--gold); }

.contact-info-note {
    font-size: 13px;
    color: var(--gray);
    margin-top: 8px;
    line-height: 1.6;
    font-style: italic;
}

/* Map embed placeholder */
.contact-map {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--black-mid);
    border: 0.5px solid var(--border);
    overflow: hidden;
    margin-top: 40px;
    position: relative;
}
.contact-map img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.55) saturate(0.65);
    display: block;
}
.contact-map::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7,7,15,0.5) 0%, transparent 50%);
}
.contact-map-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    flex-direction: column;
    gap: 12px;
}
.contact-map-placeholder span {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(196,160,80,0.25);
    text-align: center;
    line-height: 2;
}

/* Right: form */
.contact-form-box {
    background: var(--card-bg);
    border: 0.5px solid var(--border);
    padding: 48px 44px;
}
.contact-form-box h3 { font-size: 26px; margin-bottom: 6px; }
.contact-form-box-sub {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 36px;
}

/* ---- CTA CARDS ---- */
.section-contact-ctas {
    padding: var(--section-pad);
    background: var(--black-mid);
}

.cta-cards-header { max-width: 480px; margin-bottom: 56px; }
.cta-cards-header h2 { margin-bottom: 16px; }

.cta-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 0.5px solid var(--border);
}

.cta-card {
    background: var(--card-bg);
    padding: 48px 40px;
    border-right: 0.5px solid var(--border);
    position: relative;
    transition: background 0.3s;
}
.cta-card:last-child { border-right: none; }
.cta-card:hover { background: var(--black-light); }

.cta-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.cta-card:hover::before { opacity: 1; }

.cta-card-eyebrow {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.cta-card h3 {
    font-size: clamp(22px, 2.5vw, 30px);
    margin-bottom: 16px;
}

.cta-card p {
    font-size: 15px;
    color: var(--gray-light);
    line-height: 1.7;
    margin-bottom: 32px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 960px) {
    .contact-hero-bg img { filter: brightness(0.4) saturate(0.6); }
    .contact-hero-bg::after {
        background: rgba(7,7,15,0.72),
                    linear-gradient(to top, var(--black) 0%, transparent 30%);
    }
    .contact-hero-content { width: 100%; padding: 140px 24px 72px; min-height: 60vh; }
    .contact-layout { grid-template-columns: 1fr; gap: 48px; }
    .cta-cards-grid { grid-template-columns: 1fr; }
    .cta-card { border-right: none; border-bottom: 0.5px solid var(--border); }
    .cta-card:last-child { border-bottom: none; }
    .contact-form-box { padding: 32px 24px; }
}