*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    scroll-behavior: smooth;
}

body{
    font-family: 'Open Sans', sans-serif;
}

.contenedor{
    width: 100%;
    max-width: 1200px;
    overflow: hidden;
    margin: auto;
    padding: 60px 0;
}

.header{
    height: 90vh;
    background-image: linear-gradient(to top, rgba(246, 244, 241, 0.65) 0%, rgba(234, 230, 224, 0.55) 100%), url(../img/portada2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

.logo-header{
    width: 80vh;
    max-width: 60%;
    margin-bottom: 1px;
    opacity: 0.92;
}

.head{
    text-align: center;
    padding: 0;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #312e29;
}

.menu{
    position: fixed;
    z-index: 3000;
    top: 30px;
    right: 30px;
    background: #fff;
    width: 40px;
    height: 40px;
    cursor: pointer;
    border-radius: 10px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
}

.menu-navegacion{
    z-index: 2999;
    position: fixed;
    top: 0;
    right: 0;
    width: 20vw;
    height: 100%;
    background-image: linear-gradient(135deg, rgba(111, 99, 83, 0.92) 0%, rgba(184, 165, 138, 0.92) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    transition: transform .3s ease-in-out;
    transform: translateX(110%);
    box-shadow: 9 9 6px rgba(0, 0, 0, 0.5);
}

.spread{
    transform: translateX(0);
}

.menu-navegacion a{
    color: #fff;
    text-decoration: none;
}

.titulo{
    font-size: 60px;
    margin-bottom: 15px;
}

.copy{
    font-weight: 300;
    font-size: 25px;
    color: #2e2e2e;
}

/* Nuestro servicio */
.subtitulo{
    text-align: center;
    font-weight: 300;
    color: #6f6353;
    margin-bottom: 40px;
    font-size: 40px;
}

.contenedor-servicio{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
}

#servicios{
    background-color: #EAE6E0;
}

.contenedor-servicio img{
    width: 40%;
}

.checklist-servicio{
    width: 45%;
}

.service{
    margin-bottom: 20px;
}

.n-service{
    margin-bottom: 7px;
    color: #6f6353;
}

.number{
    display: inline-block;
    background-image: linear-gradient(to top, rgba(184, 165, 138, 0.95) 0%, rgba(214, 204, 189, 0.95) 100%);
    width: 30px;
    height: 30px;
    color: #6f6353;
    text-align: center;
    border-radius: 50%;
    font-weight: 700;
    line-height: 30px;
    margin-right: 5px;
}

.gallery{
   background-color: #EAE6E0;
}

.contenedor-galeria{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.img-galeria{
    object-fit: cover;
    width: 30%;
    transform: scale(0.85);
    display: block;
    margin-bottom: 10px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    z-index: 1;
    opacity: 70%;
}

.imagen-light{
    position: fixed;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translate(100%);
    transition: transform .2s ease-in-out;
    z-index: 1000;
}

.show{
    transform: translate(0);
}

.agregar-imagen{
    object-fit: cover;
    width: 60%;
    border-radius: 10px;
    transform: scale(0);
    transition: transform .3s .2s;
}

.showImage{
    transform: scale(1);
}

.close{
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    cursor: pointer;
    z-index: 16;
}

.values{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
}

#valores{
    background-color: #F6F4F1;
}

.cont-valores{
    width: 30%;
    text-align: center;
    margin-bottom: 20px;
}

.cont-valores img{
    width: 80%;
    display: block;
    margin: auto;
}

.n-valores{
    display: inline-block;
    margin-top: 20px;
    width: 100%;
    font-weight: 400;
    color: #6f6353;
}

/* Footer */

footer{
    background: #6f6353 !important;
    padding-bottom: 0.1px;
}

.footer-content{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 60px;
    padding-bottom: 40px;
}

.contact-us{
    width: 40%;
    color: #fff;
}

.brand{
    font-weight: 500;
    font-size: 40px;
}

.brand+p{
    font-weight: 500;
}

.social-media{
    width: 50%;
    display: flex;
    justify-content: flex-end;
}

.social-media-icon{
    display: inline-block;
    margin-left: 20px;
    width: 60px;
    height: 60px;
    border: 1px solid #fff;
    border-radius: 50%;
    text-align: center;
    color: #fff;
    text-decoration: none;
}

.social-media-icon:hover{
    background: #fff;
    color: #B8A58A;
}

.social-media-icon i{
    font-size: 30px;
    line-height: 60px;
}

.line{
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    height: 2px;
    background: rgba(255,255,255,0.45);
    margin-bottom: 60px;
}

@media screen and (max-width: 800px){
    .menu-navegacion{
        width: 40vw;
    }

    .titulo{
        font-size: 40px;
    }

    .contenedor-servicio img{
        width: 80%;
        margin-bottom: 40px;
    }

    .checklist-servicio{
        width: 80%;
    }

    .service{
        margin-bottom: 30px;
    }
    
    .agregar-imagen{
        width: 80%;
    }

    .img-galeria{
        width: 45%;
    }

    .cont-valores{
        width: 80%;
    }

    .footer-content{
        justify-content: center;
    }

    .social-media{
        width: 80%;
        justify-content: space-evenly;
    }

    .social-media-icon{
        margin-left: 0;
    }

    .social-media i{
        margin-left: 0;
    }

    .contact-us{
        text-align: center;
        width: 80%;
        margin-bottom: 40px;
    }
}

@media screen and (max-width:500px){
    .menu-navegacion{
        width: 65vw;
    }

    .menu{
        top: 20px;
        right: 20px;
    }

    .titulo{
        font-size: 30px;
    }

    .subtitulo{
        font-size: 30px;
    }

    .agregar-imagen{
        width: 95%;
    }

    .img-galeria{
        width: 95%;
    }

    .social-media{
        width: 100%;
    }

    .social-media-icon{
        margin-left: 0;
    }

    .contact-us{
        text-align: center;
        width: 95%;
        margin-bottom: 40px;
    }
}

.credito{
  color: inherit;
  text-decoration: none;
  opacity: 0.5;
  transition: opacity .2s ease, text-decoration .2s ease;
}

.credito:hover{
  opacity: 1;
  text-decoration: underline;
}

/* Formulario de contacto */

#contacto{
  background-color: #F6F4F1;
}

.form-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 14px;
}

/* Campos */
.form-field{
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Full width */
.form-field-full{
    grid-column: 1 / -1;
}

/* Labels */
.form-field label{
    font-size: 14px;
    font-weight: 600;
    color: #6f6353;
}

/* Inputs / select / textarea */
.form-field input,
.form-field select,
.form-field textarea{
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #D6CCBD;
    background: rgba(255, 255, 255, 0.92);
    font-family: inherit;
    font-size: 15px;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

/* Textarea */
.form-field textarea{
    resize: vertical;
    min-height: 140px;
}

/* Placeholder */
.form-field input::placeholder,
.form-field textarea::placeholder{
    color: rgba(49,46,41,0.45);
}

/* Focus */
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus{
    outline: none;
    border-color: #B8A58A;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(184,165,138,0.30);
}

/* Card visual para el bloque del formulario */
.service form{
    margin-top: 12px;
    padding: 18px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0,0,0,0.06);
}

/* Checkbox */
.checkbox{
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #6f6353;
    line-height: 1.3;
}

.checkbox input{
    margin-top: 3px;
    width: 16px;
    height: 16px;
    accent-color: #B8A58A;
}

.checkbox a{
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(111, 99, 83, 0.4);
  font-weight: 600;
}

.checkbox a:hover{
  border-bottom-color: rgba(111, 99, 83, 0.8);
}

/* Botón */
.btn-contacto{
    border: 0;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 700;
    cursor: pointer;
    color: #fff;
    background-image: linear-gradient(135deg, #87765E 0%, #B8A58A 100%);
    box-shadow: 0 10px 18px rgba(184,165,138,0.35);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.btn-contacto:hover{
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(214,204,189,0.90);
    filter: brightness(1.02);
}

.btn-contacto:active{
    transform: translateY(0);
}

/* Mensajes */
.form-msg{
    margin-top: 14px;
    font-size: 14px;
}

.form-msg.ok{
    color: #1b7a3a;
}

.form-msg.error{
    color: #b42318;
}

/* Responsive */
@media screen and (max-width: 800px){
    .form-grid{
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .service form{
        padding: 16px;
    }

    .btn-contacto{
        width: 100%;
        text-align: center;
    }
}

/* Mapa */
#contacto .contenedor-servicio{
    align-items: flex-start;
    gap: 30px;
}

.contenedor-mapa{
    width: 45%;
    padding: 0;
}

.mapa{
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.25);
    background: #fff;
}

.mapa iframe{
    display: block;
    width: 100%;
    height: 380px;
    border: 0;
}

#contacto .checklist-servicio{
    width: 50%;
}

@media screen and (max-width: 800px){
    .contenedor-mapa{
        width: 80%;
    }
    #contacto .checklist-servicio{
        width: 80%;
    }
}

/* Política de privacidad */
#privacidad .service{
  line-height: 1.9;
}

#privacidad .service p{
  margin-bottom: 18px;
  color: #2e2e2e;
}

#privacidad .service h3{
  margin-top: 36px;
  margin-bottom: 14px;
}

#privacidad .service ul{
  margin: 14px 0 22px 22px;
  line-height: 1.9;
}

#privacidad .service li{
  margin-bottom: 6px;
}
