/**
 * Flatsome Child - Builder Element: Contact Location & FAQ
 * Class: contact-location
 */

.contact-location {
    position: relative;
    padding: 40px 0 30px;
    background-color: #f8fafc;
    box-sizing: border-box;
    width: 100%;
}

.contact-location .cl-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.contact-location .cl-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: stretch;
}

/* Base Card Style */
.contact-location .cl-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 34px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #eef2f6;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

/* Card Header */
.contact-location .cl-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.contact-location .cl-header-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #e6f3ec;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ltc-primary, #006039);
    flex-shrink: 0;
}

.contact-location .cl-header-icon svg {
    width: 20px;
    height: 20px;
}

.contact-location .cl-custom-header-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
}

.contact-location .cl-card-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--ltc-heading, #004d2e);
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Left Card: Google Map View
   ========================================================================== */
.contact-location .cl-map-wrapper {
    position: relative;
    width: 100%;
    height: 380px;
    border-radius: 14px;
    overflow: hidden;
    background: #e5e3df;
    border: 1px solid #e2e8f0;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}

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

.contact-location .cl-no-map-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 24px;
    text-align: center;
    color: #64748b;
    font-size: 14px;
    background: #f8fafc;
}

/* Mock Styled Map (Fallback / Match Image 5) */
.contact-location .cl-map-mockup {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #e8ecdf;
    background-image: 
        radial-gradient(#c2e59c 20%, transparent 20%),
        linear-gradient(45deg, #f5f5f5 25%, transparent 25%, transparent 75%, #f5f5f5 75%, #f5f5f5),
        linear-gradient(45deg, #e4e8ec 25%, transparent 25%, transparent 75%, #e4e8ec 75%, #e4e8ec);
    background-size: 180px 180px, 60px 60px, 60px 60px;
    background-position: 40px 60px, 0 0, 30px 30px;
    overflow: hidden;
}

/* Map Info Card Overlay */
.contact-location .cl-map-info-card {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #ffffff;
    border-radius: 10px;
    padding: 14px 18px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
    max-width: 250px;
    z-index: 10;
    box-sizing: border-box;
}

.contact-location .cl-info-company {
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.contact-location .cl-info-address {
    font-size: 11.5px;
    color: #64748b;
    margin: 0 0 6px 0;
    line-height: 1.4;
}

.contact-location .cl-info-rating {
    font-size: 11.5px;
    color: #eab308;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 6px;
}

.contact-location .cl-info-rating span {
    color: #475569;
    font-weight: 600;
}

.contact-location .cl-info-link {
    font-size: 11.5px;
    color: #1a73e8;
    text-decoration: none;
    font-weight: 500;
}

.contact-location .cl-info-link:hover {
    text-decoration: underline;
}

/* Map Center Pin */
.contact-location .cl-map-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -100%);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 5;
    pointer-events: none;
}

.contact-location .cl-pin-icon {
    width: 38px;
    height: 38px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.contact-location .cl-pin-label {
    background: #ffffff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #004d2e;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
}

/* Map Controls */
.contact-location .cl-map-controls {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    z-index: 10;
}

.contact-location .cl-map-btn {
    width: 32px;
    height: 32px;
    background: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #475569;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.15s ease;
}

.contact-location .cl-map-btn:hover {
    background: #f1f5f9;
}

.contact-location .cl-map-satellite-btn {
    position: absolute;
    bottom: 16px;
    left: 16px;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
    background: #334155;
}

.contact-location .cl-map-satellite-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==========================================================================
   Right Card: FAQ Accordion
   ========================================================================== */
.contact-location .cl-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.contact-location .cl-faq-item {
    border: 1px solid #f1f5f9;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.contact-location .cl-faq-item.active {
    border-color: #cbd5e1;
    background: #fbfdfc;
}

.contact-location .cl-faq-question {
    width: 100%;
    padding: 16px 18px;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    cursor: pointer;
    font-size: 14.5px;
    font-weight: 600;
    color: #1e293b;
    gap: 14px;
    box-sizing: border-box;
    transition: color 0.2s ease;
    margin-right: 0;
    margin-bottom: 0;
}

.contact-location .cl-faq-question:hover,
.contact-location .cl-faq-item.active .cl-faq-question {
    color: var(--ltc-primary, #006039);
}

.contact-location .cl-faq-chevron {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: #94a3b8;
    transition: transform 0.25s ease, color 0.2s ease;
}

.contact-location .cl-faq-item.active .cl-faq-chevron {
    transform: rotate(180deg);
    color: var(--ltc-primary, #006039);
}

.contact-location .cl-faq-answer {
    display: none;
    padding: 0 18px 16px;
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.6;
    box-sizing: border-box;
}

.contact-location .cl-faq-footer {
    margin-top: 24px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.contact-location .cl-more-faq-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ltc-primary, #006039) !important;
    text-decoration: none !important;
    transition: transform 0.2s ease;
}

.contact-location .cl-more-faq-link:hover {
    transform: translateX(4px);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
    .contact-location .cl-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .contact-location .cl-map-wrapper {
        height: 340px;
    }
}

@media (max-width: 768px) {
    .contact-location .cl-card {
        padding: 24px 20px;
    }

    .contact-location .cl-map-info-card {
        max-width: 200px;
        padding: 10px 14px;
    }
}
