.servicios-hero {
    height: 40vh;
    background: url("../Imagenes/dep_laser.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    font-weight: bold;
}

.servicios-hero::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(197,122,168,0.5);
}

.servicios-hero h1 {
    position: relative;
    color: white;
    z-index: 2;
    font-size: 2.8rem;
    top: 30px;
}

/* INTRO */
.servicios-intro {
    text-align: center;
    padding: 30px 20px;
    max-width: 700px;
    margin: 0 auto;
}

.servicios-intro p {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    line-height: 1.9;
    color: #C57AA8;
}

/* línea decorativa */
.servicios-intro::after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background: #C57AA8;
    margin: 25px auto 0;
}

/* CATEGORÍAS */
.categoria {
    padding: 25px 20px;
}

.categoria h2 {
    text-align: center;
    margin-bottom: 35px;

    font-size: clamp(1.8rem, 3vw, 3.5rem);
    font-family: 'Playfair Display', serif;
    color: #C57AA8;
    font-weight: 500;
}

/* GRID */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* TARJETAS */
.servicio {
    padding: 15px;
    background: white;
    border-radius: 10px;
    text-align: center;
    font-size: 0.95rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.servicio:hover {
    transform: translateY(-5px);
    color: #C57AA8;
}

.cta-servicios {
    text-align: center;
    padding: 25px 20px;
}

/* TARJETA */
.servicio {
    display: block;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: #333;

    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
}

/* IMAGEN */
.servicio img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

/* TEXTO */
.servicio span {
    display: block;
    padding: 10px;
    font-size: 0.9rem;
    text-align: center;
}

/* HOVER */
.servicio:hover {
    transform: translateY(-5px);
}

.servicio:hover span {
    color: #C57AA8;
}

.btn {
    display: inline-block;
    margin-top: 0px;
    padding: 12px 25px;
    background: #C57AA8;
    color: white;
    border-radius: 30px;
    text-decoration: none;
}

/* DESKTOP */
@media(min-width: 768px){

    .servicios-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 900px;
        margin: 0 auto;
    }

    .servicios-hero {
    height: 60vh;
    
    }

    .servicios-intro p {
    font-size: 2rem;
    
    }
}