/* ESTILOS ESPECÍFICOS PÁGINA SUCURSALES */

.sucursales-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.sucursal-card {
    background: var(--w);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(15, 40, 71, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.sucursal-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(15, 40, 71, 0.15);
    border-color: var(--sky);
}

.sucursal-header {
    background: linear-gradient(135deg, var(--deep) 0%, var(--teal) 100%);
    color: var(--w);
    padding: 1.5rem;
}

.sucursal-header h3 {
    margin: 0 0 0.8rem 0;
    font-size: 1.4rem;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
}

.sucursal-region {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    padding: 0.4rem 0.8rem;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.sucursal-content {
    padding: 1.5rem;
}

.sucursal-info {
    margin-bottom: 1rem;
}

.sucursal-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.2rem;
    align-items: flex-start;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray);
}

.sucursal-info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-icon {
    font-size: 1.4rem;
    min-width: 1.4rem;
    flex-shrink: 0;
}

.info-text {
    flex: 1;
}

.info-label {
    font-weight: 700;
    color: var(--deep);
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
    font-family: 'Sora', sans-serif;
}

.info-value {
    color: var(--teal);
    font-size: 0.95rem;
}

.sucursal-accion {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--gray);
}

.btn-sucursal {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    font-family: inherit;
}

.btn-whatsapp {
    background: #25d366;
    color: white;
}

.btn-whatsapp:hover {
    background: #20ba61;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-mapa {
    background: var(--gray);
    color: var(--deep);
    border: 2px solid var(--sky);
}

.btn-mapa:hover {
    background: var(--mint);
    border-color: var(--deep);
    transform: translateY(-2px);
}

/* FILTRO POR REGIÓN */
.filtro-region {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.filtro-btn {
    padding: 0.7rem 1.5rem;
    border: 2px solid var(--sky);
    background: var(--w);
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--deep);
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.filtro-btn:hover {
    border-color: var(--deep);
    color: var(--sky);
    transform: translateY(-2px);
}

.filtro-btn.active {
    background: linear-gradient(135deg, var(--deep) 0%, var(--teal) 100%);
    color: var(--w);
    border-color: var(--deep);
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(15, 40, 71, 0.2);
}

/* BANNER SUPERIOR */
.banner-superior {
    background: linear-gradient(135deg, var(--deep) 0%, var(--teal) 100%);
    color: var(--w);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(15, 40, 71, 0.1);
}

.banner-superior h2 {
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
}

.banner-superior p {
    margin: 0;
    font-size: 1.1rem;
    opacity: 0.95;
}

/* HORARIOS GENERALES */
.horarios-general {
    background: linear-gradient(135deg, var(--deep) 0%, var(--teal) 100%);
    color: var(--w);
    padding: 2rem;
    border-radius: 16px;
    margin: 2rem 0;
    box-shadow: 0 4px 15px rgba(15, 40, 71, 0.1);
}

.horarios-general h3 {
    margin-top: 0;
    font-family: 'Sora', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
}

.horarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.horario-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.horario-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.horario-card h4 {
    margin: 0 0 0.8rem 0;
    font-size: 1rem;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
}

.horario-card p {
    margin: 0.4rem 0;
    font-size: 0.9rem;
    opacity: 0.95;
}

.destacado {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    display: inline-block;
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: 0.4rem;
}

/* INFORMACIÓN ADICIONAL */
.info-adicional {
    background: var(--mint);
    padding: 2rem;
    border-radius: 16px;
    margin: 2rem 0;
    text-align: center;
    border: 2px solid var(--sky);
    box-shadow: 0 2px 8px rgba(93, 206, 215, 0.1);
}

.info-adicional h3 {
    margin-top: 0;
    color: var(--deep);
    font-family: 'Sora', sans-serif;
}

.info-adicional p {
    color: var(--teal);
    margin: 1rem 0;
    font-size: 1rem;
}

.info-adicional a {
    display: inline-block;
    background: linear-gradient(135deg, var(--deep) 0%, var(--teal) 100%);
    color: var(--w);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.info-adicional a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 40, 71, 0.2);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .sucursales-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .banner-superior h2 {
        font-size: 1.5rem;
    }

    .horarios-grid {
        grid-template-columns: 1fr;
    }

    .sucursal-accion {
        flex-direction: column;
    }

    .btn-sucursal {
        width: 100%;
    }

    .filtro-region {
        gap: 0.5rem;
    }

    .filtro-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .sucursal-accion {
        gap: 0.6rem;
    }

    .info-icon {
        font-size: 1.2rem;
    }
}
