*,
*::before,
*::after {
    box-sizing: border-box;
}
body {
    margin: 0;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    background-image: url("/img/josedomingos.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* 👈 aquí SÍ */
    color:white; 
      

}
/*COOKIES*/
.cookieLegal {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);

    color: white;
    padding: 15px 25px;
    border-radius: 10px;

    display: flex;
    gap: 15px;
    align-items: center;

    width: 100%;
    height: 100%;

    z-index: 9999;
}

.cookieLegal button {
    background: gold;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
}

/*CONTENIDO*/
.parallax {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px;
    padding-bottom: 50px; /* espacio desde abajo */
}


.cajaHero {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);

    padding: 30px;
    border-radius: 15px;
    margin: 20px;
    text-align: center;
    max-width: 600px;

}

.contenidoInicio {
    background: rgba(0, 0, 0, 0.4); /* transparencia */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    padding: 40px;
    border-radius: 15px;
    text-align: center;
    max-width: 100vw;
}

/*HOVER DIV*/
.contenidoInicio:hover,.parallax:hover, .seccionCEO:hover,.seccionContacto:hover,.seccionServicios:hover{
    transform: scale(1.5);
    transition: 0.5s;
}

/*OTRA SECCION*/
.seccionCEO {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px;
    padding: 0px 20px;
}

.contenidoCEO {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    padding: 50px;
    border-radius: 15px;
    max-width: 700px;
    text-align: center;
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* TÍTULO */
.contenidoCEO h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: gold;
}

/* SUBTÍTULO */
.subtitulo {
    font-size: 18px;
    margin-bottom: 20px;
    opacity: 0.8;
}

/* TEXTO */
.contenidoCEO p {
    line-height: 1.6;
}
/*CONTACTO*/
.seccionContacto {
    display: flex;
    justify-content: center;
    padding: 80px 20px;
}

.contenidoContacto {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    max-width: 700px;
    width: 100%;
    color: white;
    text-align: center;
}

/* TÍTULO */
.contenidoContacto h2 {
    color: gold;
    margin-bottom: 20px;
}

/* TEXTO */
.contenidoContacto p {
    margin: 10px 0;
}

/* MAPA */
.mapa {
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
}

/*servicios*/
.seccionServicios {
    max-width: 1200px;   /* 👈 clave */
    margin: 0 auto;      /* 👈 centra */
    padding: 150px 100px;
}
.seccionServicios h2 {
    color: gold;
        text-align: center;

    
}

/* GRID */
.contenedorServicios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* TARJETAS */
.cardServicio {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);

    padding: 25px;
    border-radius: 15px;
    color: white;

    transition: 0.3s;
}


.cardServicio:first-child {
    grid-column: 1 / -1;
    align-items: center;
}
.contenedorServicios .cardServicio:first-child  {
    text-align: center;
    width: 100%;
}
/* HOVER PRO 🔥 */
.cardServicio:hover {
    transform: translateY(-10px);
    background: rgba(0, 0, 0, 0.6);
}

/* TÍTULO */
.cardServicio h3 {
    color: gold;
    margin-bottom: 10px;
}
.cardServicio a {
    text-decoration: none;
    color: white;
}


/*cookies,privacidad */
.secundaria {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px;
    bottom: 0;
}
.secundaria ul li{
    list-style: none;
}
.contacto{
    color:gold;
}

/* MODO MÓVIL */
@media (max-width: 768px) {
     body {
        background: none; /* quitamos fondo */
    }
      body::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;

        background-image: url("/img/josedomingo.jpg");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;

        z-index: -1;
    }
     .contenidoInicio:hover,
    .parallax:hover,
    .seccionCEO:hover,
    .seccionContacto:hover,
    .seccionServicios:hover {
        transform: none;
    }
    .cookieLegal{
    width: auto;
    max-width: 90%;
    height: 100%;
    }

}