@charset "utf-8";
/* CSS Document */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

:root {
    --primary: #2e86de;       
    --accent-orange: #ff9f43;  
    --text-main: #2d3436;      
    --text-muted: #636e72;    
    --bg-body: #f1f2f6;       
    --bg-card: #ffffff;       
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-body);
    margin: 0;
}

/* GRILLA RESPONSIVA */
.contenedor-salones {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    column-gap: 15px;
    row-gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

@media (min-width: 992px) {
    .contenedor-salones {
        grid-template-columns: repeat(4, 1fr);
        column-gap: 25px;
        row-gap: 50px;
        padding: 0 20px;
    }
}

.titulo-seccion {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--text-main);
    text-align: left;
}

@media (min-width: 992px) {
    .titulo-seccion {
        padding: 0 20px;
    }
}

/* ESTILO DE LA TARJETA */
.card-salon {
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    height: 100%;
}

.card-salon:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.contenedor-img {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5; 
    overflow: hidden;
    background-color: #f9f9f9;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-salon:hover .card-img {
    transform: scale(1.08);
}

.logo-salon-flotante {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    padding: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    z-index: 1;
    border: 1px solid rgba(0,0,0,0.05);
}

.logo-salon-flotante img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    border-radius: 50%;
}

.card-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.titulo-salon {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: var(--text-main);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em; 
}

.info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.precio-tag {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-orange);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto; 
    padding-top: 10px;
}

.btn-detalles {
    display: block;
    text-align: center;
    background: var(--primary);
    color: #ffffff;
    text-decoration: none;
    padding: 10px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 12px;
    transition: background 0.3s ease;
}

.btn-detalles:hover {
    background: #1e5fad;
}