/* ==========================================================================
   ESTATEOS CONTACT PAGE STYLESHEET
   Modern Luxury Real Estate Contact & Concierge Experience
   ========================================================================== */

:root {
    --estate-primary: #2563eb;
    --estate-primary-hover: #1d4ed8;
    --estate-primary-light: #eff6ff;
    --estate-dark: #0f172a;
    --estate-slate: #1e293b;
    --estate-muted: #64748b;
    --estate-light: #f8fafc;
    --estate-green: #10b981;
    --estate-purple: #9333ea;
    --estate-border: #e2e8f0;
    --estate-border-light: #f1f5f9;
    --estate-card-bg: #ffffff;
    --estate-radius-lg: 24px;
    --estate-radius-md: 16px;
    --estate-radius-sm: 10px;
}

.estate-contact-wrapper {
    background: #f8fafc;
    min-height: 100vh;
    padding-top: 40px;
    padding-bottom: 90px;
}

/* --------------------------------------------------------------------------
   1. Hero Header
   -------------------------------------------------------------------------- */
.estate-contact-hero {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 40px;
}

.estate-contact-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 800;
    color: var(--estate-primary);
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.estate-contact-headline {
    font-size: 38px;
    font-weight: 800;
    color: var(--estate-dark);
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 14px;
}

.estate-contact-subtitle {
    font-size: 16px;
    color: var(--estate-muted);
    line-height: 1.6;
    margin: 0;
}

/* --------------------------------------------------------------------------
   2. Quick Contact 3-Card Grid
   -------------------------------------------------------------------------- */
.estate-contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.estate-contact-card {
    background: #ffffff;
    border: 1px solid var(--estate-border);
    border-radius: var(--estate-radius-lg);
    padding: 28px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none !important;
}

.estate-contact-card:hover {
    transform: translateY(-4px);
    border-color: #93c5fd;
    box-shadow: 0 16px 32px -10px rgba(37, 99, 235, 0.12);
}

.estate-contact-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.estate-contact-card-icon.blue {
    background: #eff6ff;
    color: var(--estate-primary);
}

.estate-contact-card-icon.green {
    background: #ecfdf5;
    color: var(--estate-green);
}

.estate-contact-card-icon.purple {
    background: #faf5ff;
    color: var(--estate-purple);
}

.estate-contact-card-label {
    font-size: 12px;
    font-weight: 800;
    color: var(--estate-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.estate-contact-card-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--estate-dark);
    line-height: 1.4;
    margin-bottom: 4px;
}

.estate-contact-card-subtext {
    font-size: 13px;
    color: var(--estate-muted);
    margin: 0;
}

/* --------------------------------------------------------------------------
   3. Main Split Section: Form & Live Map Embed
   -------------------------------------------------------------------------- */
.estate-contact-main-card {
    background: #ffffff;
    border: 1px solid var(--estate-border);
    border-radius: var(--estate-radius-lg);
    padding: 40px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
    height: 100%;
}

.estate-form-header {
    margin-bottom: 28px;
}

.estate-form-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--estate-dark);
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.estate-form-subtitle {
    font-size: 14px;
    color: var(--estate-muted);
    line-height: 1.5;
    margin: 0;
}

.estate-input-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--estate-dark);
    margin-bottom: 6px;
    display: block;
}

.estate-input-control {
    width: 100%;
    height: 48px;
    padding: 10px 16px;
    background: #f8fafc;
    border: 1.5px solid var(--estate-border);
    border-radius: var(--estate-radius-sm);
    font-size: 14px;
    color: var(--estate-dark);
    transition: all 0.2s ease;
    outline: none;
}

textarea.estate-input-control {
    height: auto;
    min-height: 120px;
    resize: vertical;
}

.estate-input-control:focus {
    background: #ffffff;
    border-color: var(--estate-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.estate-btn-submit-gradient {
    width: 100%;
    height: 50px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    border: none;
    border-radius: var(--estate-radius-sm);
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    transition: all 0.25s ease;
    cursor: pointer;
}

.estate-btn-submit-gradient:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
    transform: translateY(-1px);
}

/* Map & Live Highlight Side */
.estate-map-container {
    background: #ffffff;
    border: 1px solid var(--estate-border);
    border-radius: var(--estate-radius-lg);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}

.estate-map-frame-wrap {
    width: 100%;
    flex-grow: 1;
    min-height: 380px;
    background: #e2e8f0;
    position: relative;
}

.estate-map-frame-wrap iframe {
    width: 100%;
    height: 100%;
    min-height: 380px;
    border: 0;
}

.estate-map-stats-strip {
    padding: 24px 30px;
    background: #ffffff;
    border-top: 1px solid var(--estate-border-light);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    text-align: center;
}

.estate-stat-number {
    font-size: 20px;
    font-weight: 800;
    color: var(--estate-dark);
    letter-spacing: -0.02em;
}

.estate-stat-label {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--estate-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 2px;
}

/* --------------------------------------------------------------------------
   4. Responsive Styles
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .estate-contact-headline {
        font-size: 30px;
    }

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

    .estate-map-frame-wrap {
        min-height: 300px;
    }

    .estate-contact-main-card {
        padding: 30px 20px;
    }
}

@media (max-width: 575.98px) {
    .estate-contact-wrapper {
        padding-top: 24px;
        padding-bottom: 60px;
    }

    .estate-contact-headline {
        font-size: 24px;
    }

    .estate-contact-subtitle {
        font-size: 14px;
    }

    .estate-contact-card {
        padding: 20px;
    }

    .estate-map-stats-strip {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}
