/*==================================================*
 * SIDV THEME - CONTACT MAP & REGIONAL COVERAGE
 *==================================================*/

.sidv-contact-map {

    padding: 6rem 0;

    background: #F8FAFC;

    overflow: hidden;

}


/*==================================================*
 * HEADER DE SECCIÓN
 *==================================================*/

.sidv-contact-map__header {

    max-width: 780px;

    margin: 0 auto 3.5rem;

    text-align: center;

}

.sidv-contact-map__badge {

    display: inline-flex;

    align-items: center;

    gap: .5rem;

    padding: .5rem 1.1rem;

    border-radius: 999px;

    background: #FFF4E5;

    color: #f09700;

    font-size: .82rem;

    font-weight: 700;

    letter-spacing: .08em;

    text-transform: uppercase;

}

.sidv-contact-map__badge-dot {

    width: 8px;

    height: 8px;

    border-radius: 50%;

    background-color: #f09700;

}

.sidv-contact-map__title {

    margin: 1.2rem 0;

    color: #0D2137;

    font-size: clamp(2.1rem, 4vw, 3.2rem);

    font-weight: 800;

    line-height: 1.18;

    letter-spacing: -0.02em;

}

.sidv-contact-map__subtitle {

    max-width: 680px;

    margin: 0 auto;

    color: #667085;

    font-size: 1.05rem;

    line-height: 1.8;

}


/*==================================================*
 * LAYOUT PRINCIPAL (MAPA + FICHA SEDE)
 *==================================================*/

.sidv-contact-map__layout {

    display: grid;

    grid-template-columns: minmax(0, 1.5fr) minmax(320px, .9fr);

    min-height: 520px;

    overflow: hidden;

    background: #FFFFFF;

    border: 1px solid #E5E7EB;

    border-radius: 28px;

    box-shadow: 0 24px 60px rgba(13, 33, 55, .08);

}


/*==================================================*
 * MARCO DEL MAPA & INDICADOR PULSANTE
 *==================================================*/

.sidv-contact-map__frame-wrapper {

    position: relative;

    width: 100%;

    height: 100%;

    min-height: 480px;

}

.sidv-contact-map__frame {

    position: relative;

    width: 100%;

    height: 100%;

    min-height: 480px;

    background: #E2E8F0;

}

.sidv-contact-map__frame iframe {

    display: block;

    width: 100%;

    height: 100%;

    min-height: 480px;

    border: 0;

    transition: filter .3s ease;

}

/* Previene el bloqueo de scroll accidental */
.sidv-contact-map__frame.is-interaction-disabled iframe {

    pointer-events: none;

}

.sidv-contact-map__frame.is-interaction-enabled iframe {

    pointer-events: auto;

}

/* Etiqueta flotante sobre el mapa */
.sidv-contact-map__frame-tag {

    position: absolute;

    bottom: 1.5rem;

    left: 1.5rem;

    z-index: 2;

    display: inline-flex;

    align-items: center;

    gap: .65rem;

    padding: .6rem 1.1rem;

    border-radius: 12px;

    background: rgba(13, 33, 55, .90);

    backdrop-filter: blur(8px);

    color: #FFFFFF;

    font-size: .85rem;

    font-weight: 600;

    box-shadow: 0 8px 20px rgba(0, 0, 0, .2);

}

.sidv-pulse-indicator {

    position: relative;

    display: inline-block;

    width: 10px;

    height: 10px;

    border-radius: 50%;

    background-color: #f09700;

}

.sidv-pulse-indicator::after {

    content: '';

    position: absolute;

    top: -3px;

    left: -3px;

    width: 16px;

    height: 16px;

    border-radius: 50%;

    background-color: rgba(240, 151, 0, .5);

    animation: sidvPulse 2s infinite;

}

@keyframes sidvPulse {

    0% {

        transform: scale(0.8);

        opacity: 1;

    }

    100% {

        transform: scale(2.2);

        opacity: 0;

    }

}


/*==================================================*
 * TARJETA DE INFORMACIÓN DE SEDE
 *==================================================*/

.sidv-contact-map__info {

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    padding: 3.5rem 3rem;

    background: #FFFFFF;

}

.sidv-contact-map__info-header {

    margin-bottom: 2rem;

}

.sidv-contact-map__eyebrow {

    display: block;

    margin-bottom: .5rem;

    color: #f09700;

    font-size: .8rem;

    font-weight: 700;

    letter-spacing: .08em;

    text-transform: uppercase;

}

.sidv-contact-map__info-title {

    margin: 0;

    color: #0D2137;

    font-size: 2.1rem;

    font-weight: 800;

    line-height: 1.2;

}

.sidv-contact-map__details {

    display: flex;

    flex-direction: column;

    gap: 1.25rem;

}

.sidv-contact-map__detail-item {

    display: flex;

    align-items: flex-start;

    gap: 1.1rem;

    padding-top: 1.25rem;

    border-top: 1px solid #EEF2F6;

}

.sidv-contact-map__detail-item:first-child {

    border-top: 0;

    padding-top: 0;

}

.sidv-contact-map__icon {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 44px;

    height: 44px;

    flex: 0 0 44px;

    border-radius: 12px;

    background: #E6F0F4;

    color: #025672;

}

.sidv-contact-map__detail-content strong {

    display: block;

    margin-bottom: .25rem;

    color: #0D2137;

    font-size: .92rem;

    font-weight: 700;

}

.sidv-contact-map__detail-content p {

    margin: 0;

    color: #667085;

    font-size: .95rem;

    line-height: 1.5;

}

.sidv-contact-map__subtext {

    font-size: .85rem !important;

    color: #98A2B3 !important;

}


/*==================================================*
 * BOTÓN DE NAVEGACIÓN CÓMO LLEGAR
 *==================================================*/

.sidv-contact-map__action {

    margin-top: 2.5rem;

}

.sidv-btn-directions {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 1rem;

    width: 100%;

    padding: 1.1rem 1.5rem;

    border-radius: 14px;

    background: #025672;

    color: #FFFFFF;

    font-size: .95rem;

    font-weight: 700;

    text-decoration: none;

    box-shadow: 0 10px 20px rgba(2, 86, 114, .2);

    transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);

}

.sidv-btn-directions:hover {

    background: #013f54;

    transform: translateY(-3px);

    box-shadow: 0 16px 30px rgba(2, 86, 114, .3);

    color: #FFFFFF;

}


/*==================================================*
 * COBERTURA REGIONAL & HUBS INDUSTRIALES
 *==================================================*/

.sidv-coverage-section {

    margin-top: 5rem;

    padding-top: 4rem;

    border-top: 1px solid #E2E8F0;

}

.sidv-coverage-section__header {

    max-width: 750px;

    margin-bottom: 2.5rem;

}

.sidv-coverage-section__header h3 {

    margin: 0 0 1rem;

    color: #0D2137;

    font-size: 1.8rem;

    font-weight: 800;

}

.sidv-coverage-section__header p {

    margin: 0;

    color: #667085;

    font-size: 1rem;

    line-height: 1.7;

}

.sidv-coverage-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));

    gap: 1.5rem;

}

.sidv-coverage-card {

    display: flex;

    flex-direction: column;

    padding: 2rem;

    border-radius: 18px;

    background: #FFFFFF;

    border: 1px solid #E5E7EB;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .03);

    opacity: 0;

    transform: translateY(20px);

    transition: opacity .6s ease, transform .6s ease, border-color .3s ease, box-shadow .3s ease;

}

.sidv-coverage-card.is-visible {

    opacity: 1;

    transform: translateY(0);

}

.sidv-coverage-card:hover {

    border-color: #025672;

    box-shadow: 0 18px 35px rgba(2, 86, 114, .08);

}

.sidv-coverage-card__tag {

    align-self: flex-start;

    margin-bottom: .85rem;

    padding: .3rem .75rem;

    border-radius: 6px;

    background: #F1F5F9;

    color: #025672;

    font-size: .75rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .05em;

}

.sidv-coverage-card__title {

    margin: 0 0 .65rem;

    color: #0D2137;

    font-size: 1.2rem;

    font-weight: 700;

}

.sidv-coverage-card__desc {

    margin: 0;

    color: #667085;

    font-size: .92rem;

    line-height: 1.6;

}


/*==================================================*
 * ANIMACIONES Y REVEAL
 *==================================================*/

.sidv-contact-map__header,
.sidv-contact-map__layout {

    opacity: 0;

    transform: translateY(30px);

    transition: opacity .7s cubic-bezier(0.16, 1, 0.3, 1), transform .7s cubic-bezier(0.16, 1, 0.3, 1);

}

.sidv-contact-map.is-visible .sidv-contact-map__header,
.sidv-contact-map.is-visible .sidv-contact-map__layout {

    opacity: 1;

    transform: translateY(0);

}


/*==================================================*
 * MEDIA QUERIES & ADAPTABILIDAD RESPONSIVA
 *==================================================*/

@media (max-width: 1100px) {

    .sidv-contact-map__layout {

        grid-template-columns: minmax(0, 1.3fr) minmax(300px, .9fr);

    }

    .sidv-contact-map__info {

        padding: 2.5rem 2rem;

    }

}

@media (max-width: 900px) {

    .sidv-contact-map__layout {

        grid-template-columns: 1fr;

    }

    .sidv-contact-map__frame-wrapper,
    .sidv-contact-map__frame,
    .sidv-contact-map__frame iframe {

        min-height: 380px;

    }

    .sidv-contact-map__info {

        padding: 2.5rem;

    }

}

@media (max-width: 768px) {

    .sidv-contact-map {

        padding: 4rem 0;

    }

    .sidv-contact-map__header {

        margin-bottom: 2.5rem;

    }

    .sidv-contact-map__layout {

        border-radius: 20px;

    }

    .sidv-contact-map__frame-wrapper,
    .sidv-contact-map__frame,
    .sidv-contact-map__frame iframe {

        min-height: 320px;

    }

    .sidv-contact-map__frame-tag {

        bottom: 1rem;

        left: 1rem;

        font-size: .78rem;

        padding: .5rem .85rem;

    }

    .sidv-contact-map__info {

        padding: 2rem 1.5rem;

    }

    .sidv-contact-map__info-title {

        font-size: 1.75rem;

    }

    .sidv-coverage-section {

        margin-top: 3.5rem;

        padding-top: 3rem;

    }

    .sidv-coverage-grid {

        grid-template-columns: 1fr;

    }

}