/*
 * Contact Us page.
 * Loaded by resources/views/contact.blade.php on top of portal.css, so this
 * file declares only the classes that do not already exist there.
 * section-label, section-title, section-desc and fade-up come from
 * portal.css. The stylesheet also repairs malformed rules that were present
 * in the source file (a broken .map-visual flex declaration).
 */

/* ─── HERO ─── */
.contact-hero {
    padding: 7rem 0 3rem;
    background: linear-gradient(165deg, var(--zl-blue-pale) 0%, var(--zl-white) 50%, var(--zl-red-pale) 100%);
    position: relative;
    overflow: hidden;
}
.contact-hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
}
.contact-hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    line-height: 1.08;
    color: var(--zl-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}
.contact-hero h1 .text-gradient {
    background: var(--zl-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.contact-hero .lead {
    font-size: 1.1rem;
    color: var(--zl-gray-600);
    line-height: 1.7;
    max-width: 600px;
}

/* ─── CONTACT INFO CARDS ─── */
.contact-info {
    padding: 3rem 0 4rem;
    background: var(--zl-white);
}
.info-card {
    background: var(--zl-white);
    border: 1px solid var(--zl-gray-200);
    border-radius: var(--zl-radius-lg);
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
}
.info-card:hover {
    border-color: transparent;
    box-shadow: var(--zl-shadow-xl);
    transform: translateY(-4px);
}
.info-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 1rem;
}
.info-card h5 {
    font-weight: 700;
    font-size: 1rem;
    color: var(--zl-dark);
    margin-bottom: 0.4rem;
}
.info-card p {
    font-size: 0.88rem;
    color: var(--zl-gray-500);
    line-height: 1.6;
    margin-bottom: 0.3rem;
}
.info-card a {
    color: var(--zl-blue);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
}
.info-card a:hover {
    color: var(--zl-blue-light);
}

/* ─── MAP SECTION ─── */
.contact-map {
    padding: 0 0 5rem;
    background: var(--zl-white);
}
.map-container {
    display: flex;
    border: 1px solid var(--zl-gray-200);
    border-radius: var(--zl-radius-xl);
    overflow: hidden;
    box-shadow: var(--zl-shadow-lg);
    min-height: 480px;
}
.map-visual {
    flex: 1;
    position: relative;
    background: var(--zl-gray-100);
    overflow: hidden;
    min-height: 400px;
}
.map-visual img,
.map-visual iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}
.map-visual iframe {
    filter: saturate(0.85) contrast(1.05);
}
.map-details {
    flex: 0 0 380px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--zl-white);
}
.map-details .office-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    background: var(--zl-blue-pale);
    color: var(--zl-blue);
    margin-bottom: 1.2rem;
    width: fit-content;
}
.map-details h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--zl-dark);
    margin-bottom: 0.4rem;
    letter-spacing: -0.01em;
}
.map-details .office-subtitle {
    font-size: 0.9rem;
    color: var(--zl-gray-500);
    margin-bottom: 2rem;
}
.detail-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.3rem;
}
.detail-row .detail-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--zl-gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--zl-blue);
    flex-shrink: 0;
    border: 1px solid var(--zl-gray-200);
}
.detail-row .detail-text h6 {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--zl-dark);
    margin-bottom: 0.15rem;
}
.detail-row .detail-text p {
    font-size: 0.85rem;
    color: var(--zl-gray-500);
    margin: 0;
    line-height: 1.5;
}
.detail-row .detail-text a {
    color: var(--zl-blue);
    font-weight: 600;
    text-decoration: none;
}
.detail-row .detail-text a:hover {
    text-decoration: underline;
}
.map-details .btn-directions {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    background: var(--zl-gradient);
    color: white;
    font-weight: 700;
    font-size: 0.88rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.25);
    margin-top: 0.5rem;
}
.map-details .btn-directions:hover {
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.35);
    transform: translateY(-1px);
    color: white;
}
@media (max-width: 991.98px) {
    .map-container {
        flex-direction: column;
        min-height: auto;
    }
    .map-visual {
        min-height: 300px;
    }
    .map-details {
        flex: 0 0 auto;
    }
}
@media (max-width: 767.98px) {
    .map-visual {
        min-height: 240px;
    }
    .map-details {
        padding: 1.5rem;
    }
}

/* ─── FAQ ─── */
.contact-faq {
    padding: 5rem 0;
    background: var(--zl-gray-50);
}
.faq-item {
    background: var(--zl-white);
    border: 1px solid var(--zl-gray-200);
    border-radius: var(--zl-radius);
    margin-bottom: 0.8rem;
    overflow: hidden;
    transition: border-color 0.2s;
}
.faq-item:hover {
    border-color: var(--zl-gray-300);
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.1rem 1.3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--zl-dark);
    transition: color 0.2s;
}
.faq-question:hover {
    color: var(--zl-blue);
}
.faq-question .faq-chevron {
    color: var(--zl-gray-400);
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}
.faq-question[aria-expanded="true"] .faq-chevron {
    transform: rotate(180deg);
}
.faq-question[aria-expanded="true"] {
    color: var(--zl-blue);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.faq-answer.open {
    max-height: 300px;
}
.faq-answer-inner {
    padding: 0 1.3rem 1.1rem;
    font-size: 0.9rem;
    color: var(--zl-gray-600);
    line-height: 1.7;
}

/* ─── SOCIAL STRIP ─── */
.contact-social {
    padding: 3rem 0;
    background: var(--zl-white);
    border-top: 1px solid var(--zl-gray-200);
}
.social-strip {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.social-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.3rem;
    background: var(--zl-gray-50);
    border: 1px solid var(--zl-gray-200);
    border-radius: 10px;
    text-decoration: none;
    color: var(--zl-gray-600);
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.25s ease;
}
.social-link:hover {
    border-color: var(--zl-blue);
    background: var(--zl-blue-pale);
    color: var(--zl-blue);
    transform: translateY(-2px);
    box-shadow: var(--zl-shadow-sm);
}
.social-link i {
    font-size: 1.1rem;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 767.98px) {
    .contact-hero {
        padding: 5.5rem 0 2rem;
    }
}
