/* --------- ESTILOS GENERALES --------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: "Poppins", sans-serif;
}

body {
    background-color: #fff;
    color: #444;
}

h1,
h2 {
    color: #d47fa6;
    text-align: center;
}

p {
    line-height: 1.6;
}

/* --------- MENÚ SUPERIOR --------- */
header {
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: #d47fa6;
    font-weight: bold;
    transition: color 0.3s;
}

nav a:hover {
    color: #a65c84;
}

/* --------- SECCIONES --------- */
section {
    padding: 90px 20px;
    max-width: 1000px;
    margin: auto;
}

/* --------- INICIO --------- */
/* --------- INICIO --------- */
#inicio {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 60vh;
    background: #fff;
    padding-top: 120px;
}

/* Contenedor rosa con bordes redondeados */
.inicio-container {
    background-color: #fff5fa;
    border-radius: 25px;
    padding: 50px 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

#inicio img {
    width: 160px;
    height: auto;
    margin-bottom: 10px;
}

#inicio h1 {
    font-size: 2.2rem;
    color: #d26ea5;
    margin-bottom: 5px;
}

#inicio p {
    font-size: 1.2rem;
    color: #555;
}

/* --------- QUIÉNES SOMOS --------- */
#quienes-somos {
    background-color: #fff;
}

#quienes-somos p {
    margin-top: 15px;
    text-align: center;
}

/* --------- SERVICIOS --------- */
.servicio {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    overflow: hidden;
    /* 👈 AÑADE ESTA LÍNEA */
}

#servicios {
    background-color: #fff;
    text-align: center;
    padding: 90px 20px;
}
/* --------- SERVICIOS --------- */

#servicios {
    background-color: #fff;
    text-align: center;
    padding: 90px 20px;
}

.servicios-container {
    background-color: #fff5fa;
    border-radius: 25px;
    padding: 50px 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.servicio {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servicio:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.servicio img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.servicio h3 {
    color: #d47fa6;
    margin-bottom: 10px;
}



/* Fondo rosa con bordes redondeados */
.servicios-container {
    background-color: #fff5fa;
    border-radius: 25px;
    padding: 50px 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.servicio {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.servicio img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.servicio h3 {
    color: #d47fa6;
    margin-bottom: 10px;
}

/* --------- CONTACTO --------- */
#contacto {
    background-color: #fff;
    text-align: center;
}

.contacto-info {
    margin-top: 20px;
    font-size: 1rem;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #ffe6f0;
    color: #a65c84;
    font-size: 0.9rem;
}

/* --------- RESPONSIVE --------- */
@media (max-width: 600px) {
    nav {
        flex-wrap: wrap;
        gap: 10px;
    }

    #inicio h1 {
        font-size: 1.8rem;
    }
}
/* --------- a --------- */
.servicio {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servicio:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
/* --------- Img Servicio --------- */
.imagen-servicio {
    width: 100%;
    max-width: 300px;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin: 20px 0;
}






