﻿.ubicacion-section {
    padding: 70px 0;
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.07), transparent 25%), linear-gradient(180deg, #f8fbff 0%, #eef3f9 100%);
}

.ubicacion-wrapper {
    max-width: 1500px;
    margin: 0 auto;
}

.ubicacion-header {
    text-align: center;
    margin-bottom: 36px;
}

    .ubicacion-header h2 {
        margin: 0 0 10px 0;
        font-size: 34px;
        font-weight: 800;
        color: #1f2d3d;
    }

    .ubicacion-header p {
        margin: 0;
        font-size: 15px;
        color: #6b7280;
    }

.ubicacion-card {
    height: 100%;
    background: rgba(255,255,255,0.95);
    border-radius: 24px;
    box-shadow: 0 12px 34px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.05);
    padding: 24px;
    border: 1px solid rgba(255,255,255,0.7);
}

.ubicacion-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

    .ubicacion-card-header h3 {
        margin: 0;
        font-size: 22px;
        color: #243247;
        font-weight: 700;
    }

.ubicacion-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: #eef4ff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 700;
}

.mapa-frame-wrap {
    overflow: hidden;
    border-radius: 18px;
    min-height: 430px;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.04);
}

.mapa-frame {
    width: 100%;
    height: 430px;
    border: 0;
    display: block;
}

.info-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}

.ubicacion-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 12px;
    border-radius: 16px;
    background: #f8fbff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .ubicacion-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    }

.ubicacion-icono {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #60a5fa);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.ubicacion-texto h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
    color: #243247;
    font-weight: 700;
}

.ubicacion-texto p {
    margin: 0;
    font-size: 14px;
    color: #5b6472;
    line-height: 1.5;
}

.ubicacion-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

    .ubicacion-link:hover {
        text-decoration: underline;
    }

.ubicacion-extra {
    margin-top: 6px;
}

.btn-ruta-mapa {
    display: inline-block;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 999px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .btn-ruta-mapa:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 28px rgba(37, 99, 235, 0.34);
        color: #fff;
    }

@media (max-width: 991.98px) {
    .mapa-frame-wrap,
    .mapa-frame {
        min-height: 320px;
        height: 320px;
    }
}

@media (max-width: 767.98px) {
    .ubicacion-section {
        padding: 50px 0;
    }

    .ubicacion-header h2 {
        font-size: 28px;
    }

    .ubicacion-card {
        padding: 18px;
        border-radius: 20px;
    }
}
