/* ==========================================================================
   MDHANI Luxury Editorial System — Contact Page Stylesheet
   ========================================================================== */

/* Layout & Spatial Architectures */
.contact-split-container {
    padding: 8rem var(--page-padding, 10%) 6rem var(--page-padding, 10%);
    background: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr; /* Approximately 58% to 42% spatial split */
    gap: 5.5rem;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
}

/* Typography Overrides & Hierarchy */
.contact-main-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 3.25rem;
    font-weight: 500;
    line-height: 1.15;
    color: var(--navy-dark, #0a192f);
    margin: 1.5rem 0 1rem 0;
    letter-spacing: -0.02em;
}

.contact-main-title em {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
}

.contact-lead-text {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.65;
    color: var(--text-muted, #4a5568);
    margin-bottom: 3.5rem;
    max-width: 580px;
}

/* Embedded Form Configurations */
.mdhani-embedded-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 620px;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a192f' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

/* Right Column Contact Matrix */
.contact-info-block {
    padding-left: 2rem;
    border-left: 1px solid #e2e8f0;
}

.contact-info-block .section-label {
    margin-bottom: 2.5rem;
}

.info-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.info-card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

/* Golden Outlined Icon Styles */
.info-icon-wrapper-gold {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--gold-pale, #c5a880);
    background-color: transparent;
    color: var(--gold-pale, #c5a880);
    flex-shrink: 0;
}

.info-details h4 {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--navy-dark, #0a192f);
    margin: 0 0 0.4rem 0;
}

.info-details p {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1rem;
    line-height: 1.55;
    color: var(--text-muted, #4a5568);
    margin: 0;
}

.contact-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: var(--gold-pale, #c5a880);
}

/* AMFI Regulatory Stack Styling */
.regulatory-credentials-stack {
    margin-top: 3.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.reg-item {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.95rem;
    line-height: 1.5;
}

.reg-label {
    font-weight: 600;
    color: var(--navy-dark, #0a192f);
}

.reg-value {
    color: var(--text-muted, #555555);
    margin-left: 0.25rem;
}

/* Digital Ecosystem Triggers */
.social-touchpoints-wrapper {
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid #e2e8f0;
}

.social-touchpoints-wrapper h4 {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--navy-dark, #0a192f);
    margin: 0 0 1.25rem 0;
}

.social-icon-row {
    display: flex;
    gap: 1rem;
}

.social-round-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #cbd5e1;
    color: var(--navy-mid, #1a365d);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-round-btn:hover {
    color: #ffffff;
    background-color: var(--navy-dark, #0a192f);
    border-color: var(--navy-dark, #0a192f);
    transform: translateY(-2px);
}

/* Map Section Implementations */
.map-integration-band {
    padding: 0 var(--page-padding, 10%) 6rem var(--page-padding, 10%);
    background: #ffffff;
}

.map-inner-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.map-inner-wrapper iframe {
    display: block;
}

/* Responsive Structural Breakpoints */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .contact-info-block {
        padding-left: 0;
        border-left: none;
        padding-top: 4rem;
        border-top: 1px solid #e2e8f0;
    }
}

@media (max-width: 768px) {
    .contact-split-container {
        padding: 5rem 6% 4rem 6%;
    }
    
    .map-integration-band {
        padding: 0 6% 4rem 6%;
    }
    
    .contact-main-title {
        font-size: 2.5rem;
    }
    
    .contact-lead-text {
        margin-bottom: 2.5rem;
    }
}

/* Inline submission status (contact form, risk profiler) */
.form-status {
    margin: 0 0 18px;
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.5;
    border-left: 3px solid transparent;
}
.form-status[hidden] { display: none; }
.form-status.is-error { color: #7a2b26; background: #fdf3f2; border-left-color: #b3413a; }
.form-status.is-success { color: #1f5130; background: #eef7f0; border-left-color: #2e7d32; }
.mdhani-embedded-form .btn-primary:disabled { opacity: .65; cursor: not-allowed; }


/* Social icon buttons are 40x40: extend the tap area to 44x44 without changing their look */
.social-round-btn { position: relative; }
.social-round-btn::before { content: ""; position: absolute; inset: -2px; }


/* Contact form fields only changed their border colour when focused (gold on white is faint);
   add a soft ring so keyboard users can see which field is active. Existing border change is kept. */
.form-input:focus { box-shadow: 0 0 0 3px rgba(193, 138, 53, 0.30); }
