

/* Estilos generales */
* {
    margin: 0;
    padding: 0;
}

.container {
    max-width: 900px;
    margin: auto
}

body {
    margin: 0;
    padding: 0;
    background-image: url('../imagenes/bg.jpg');
    background-size: cover; 
    background-repeat: no-repeat; 
}

header, nav, main, footer {
    padding: 20px;
}

/* Estilos para la cabecera */

.header_container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 120px;
    position: relative;
    z-index: 5;
}

.cruz_header {
    position: absolute;
    top:20px;
    left: 400px;
}

.cruz_header img {
    width: 19px;
}

.section_one_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section_two {
    background-color: #142741;
    width: 100%;
    box-sizing: border-box;
    padding: 50px 20px;
}

.section_two_container {
    display: flex;
    flex-direction: row;
}

.section_two_1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.section_two_1 h1 {
    color: #547191;
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
}

.section_two_1 p {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    text-align: center;
    padding-top: 20px;
}

.separador {
    width: 1px;
    background-color: #a17d25;
    margin: 0 10px;
}

.section_three_container {
    display: flex;
    padding: 50px 0;
}

.section_three_1 {
    display: flex;
    width: 50%;
    height: 350px;
    position: relative;
}

.imagen_sec_3{
    position: absolute;
    left: -100px;
}

.imagen_sec_3 img {
    width: 500px;
}

.sec_3_cruz {
    position: absolute;
    bottom: 10px;
    left: 77px;
    z-index: 5;
}

.sec_3_cruz img {
    width: 30px;
}

.section_three_2 {
    display: flex;
    width: 50%;
    padding-left: 20px;
    justify-content: center;
    color: #142741;
    font-family: 'Montserrat', sans-serif;
    flex-direction: column;
}

.section_three_2 h1 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 20px;
}

.section_three_2 p{
    font-size: 18px;
}

.section_four {
    background: #dfdfdf;
    background-image: url('../imagenes/bg_four.jpg');
    background-size: cover; 
    background-repeat: no-repeat; 
}

.section_four_container {
    color: #202020;
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    text-align: center;
    padding: 90px 20px 50px 20px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.section_four_container button {
        margin:60px 0 40px 0;
        border: none;
        background: #b9902c;
        color: #fff;
        font-size: 18px;
        font-weight: 600;
        padding: 7px 20px;
        border-radius: 5px;
        letter-spacing: .5px;
        cursor: pointer;
        position: relative;
}

.section_four_container button:hover {
    background: #afa07b;
}

.cruz_four {
    position: absolute;
    top: 40px;
    right: 200px;
}

.cruz_four img {
    width: 17px;
}

.triangulo {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 40px solid #142741;
    position: absolute;
    bottom: -5px;
}

.section_five {
    background: #142741;
}

.container_carrusel {
    padding: 50px 0;
    text-align: center;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
}

.container_carrusel h1 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
}

.container_carrusel h2 {
    font-size: 16px;
    font-weight: normal;
    padding: 0 20px
}

.section_six {
    background: #e9e9e9;
}

.texto-container {
    position: relative;
    width: 600px;
    height: 300px;
    overflow: hidden;
    margin: auto;
}

.cruz_six {
    position: absolute;
    bottom: 60px;
    right: 60px;
}

.cruz_six img {
    width: 17px;
}

.cruz_six_dos {
    position: absolute;
    top: 20px;
    left: 10px;
}

.cruz_six_dos img {
    width: 17px;
}


.section_six_container {
    text-align: center;
    color: #222222;
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    width: 80%;
}

.texto {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    padding: 60px 0px;
    width: 100%;
}

.texto.active {
    opacity: 1;
}
 
/* Estilos para la barra de navegación */

nav {
    padding-bottom: 15px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 18px;
}

nav li {
    margin-right: 20px;
}

nav a {
    text-decoration: none;
    color: #142741;
}

/* Estilos para section one */

.section_one_1 {
    width: 60%;
    font-family: 'Montserrat', sans-serif;
    z-index: 5;
    position: relative
}

.section_one_1 h2{
    font-size: 70px;
    line-height: 70px;
    font-weight: 200;
}

.section_one_1 p{
    font-size: 18px;
    padding-right: 30px;
}

.section_one_1 a, .section_four a {
    margin: 0;
    border: none;
    background: #b9902c;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    padding: 7px 20px;
    border-radius: 5px;
    margin-top: 40px;
    letter-spacing: .5px;
    cursor: pointer;
    text-decoration: none;
    text-align: center
}

.section_one_1 a:hover, .section_four a:hover {
    background: #afa07b;
}

.section_one_1 h2, p {
    color: #142741;
    max-width: 650px;
}

.cruz_sec_one {
position: absolute;
bottom: 30px;
left: -70px;
}

.cruz_sec_one img {
    width: 25px;
}

hr {
    margin: 25px 0;
}

.section_one_2 {
    width: 40%; 
    display: flex;
    justify-content: center;
    position: relative;
    left: 0px;
}

.sec_2_img_1 {
    position: absolute;
    top: -160px;
    left: -140px;
}

.sec_2_img_1 img {
   width: 500px;
}

.sec_2_img_2 {
    z-index: 3;
}

.sec_2_img_2 img {
    max-width: 400px;
    display: block;
    max-height: 100%;
    width: auto;
}

.sec_2_cruz {
    position: absolute;
    bottom: -20px;
    right: -40px;
    z-index: 5;
}

.sec_2_cruz img {
    width: 30px;
}

.section_seven {
    background-image: url('../imagenes/contacto.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center bottom;
    width: 100%;
}

.section_seven_one {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 40px 0 0px 0;
}

.section_seven_one h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    margin-bottom: 10px
} 

.section_seven_two {
    width: 100%;
    display: flex;
   box-sizing: border-box;
   padding-bottom: 60px 
}

.seven_two_1 {
    width: 35%;
    padding: 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
}

.seven_two_2 {
    width: 65%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    position: relative;
    padding-left: 20px
}

.linea_izquierda {
    position: absolute;
    top: 50%; /* Centrar verticalmente */
    left: 0%; /* En el lado derecho */
    transform: translateY(-50%); /* Ajustar la posición vertical */
    width: 1px; /* Ancho del borde */
    height: 50%; /* Altura del borde */
    background-color: #afa07b;
}

.seven_two_2 h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 20px;
} 

.secciones_contacto {
    display: flex;
    width: 60%;
    margin-bottom: 15px;
    align-items: center;
}

.secciones_contacto span {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    margin-bottom: 0px;
    margin-left: 10px;
    letter-spacing: -.5px;
    line-height: 18px;
}

.secciones_contacto span a {
    text-decoration: none;
    color: inherit
}

/* Formulario */
.formulario {
    padding: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
}

input {
    border: none;
    outline: none;
    font-family: 'Montserrat', sans-serif;
}

input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
    width: 90%;
    padding: 8px;
    margin-bottom: 20px;
    background: #f2f2f2;
    border: none;
    outline: none;
    font-family: 'Montserrat', sans-serif;
}

textarea {
    resize: vertical;
}

button {
    padding: 8px 20px;
    background-color: #ba902c;
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    border: none;
    cursor: pointer;
}

.form_contacto {
    width: 95%;
    display: flex;
    justify-content: flex-end
}


/* Estilos para el pie de página */
footer {
    background-color: #142741;
    color: #fff;
    bottom: 0;
    width: 100%;
    box-sizing: border-box;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.footer a {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #ba902c;
    cursor: pointer;
    text-decoration: none;
}

.image_footer img {
    width: 200px;
}

.redes_sociales {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.redes_sociales img {
    width: 25px;
    cursor: pointer;
}

.punto {
    width: 7px;
    height: 7px;
    background-color: #ba902c;
    border-radius: 50%; 
    margin: 0 10px;
}

.aviso_privacidad {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    padding: 20px;
    text-align: justify;
    margin-bottom: 50px;
}

.aviso_privacidad h1 {
    margin-bottom: 20px;
}

.terminos_condiciones {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.terminos_condiciones label {
    padding-left: 10px;
    font-size: 10px;
    margin: 0;
}

.terminos_condiciones a {
    text-decoration: none;
    color: blue;
}


.success-message {
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #0e954b;
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    font-weight: 500;
    text-align: center;
    margin-top: 20px;
    display: none;
  }
  
  .error-message {
   padding: 20px;
    background-color:#ff361b;
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    font-weight: 500;
    text-align: center;
    margin-top: 20px;
    display: none;
  }

  
  #slider1 {
    display: none;
}

    .primero {
        display: flex;
        justify-content: space-between;
        margin-top: 30px;
        padding: 20px;
        box-sizing: border-box
    }

    .primero img {
      width: 100%;
      max-width: 200px;
    }


/* Media query */
@media (max-width: 890px) {

    header {
        width: 100%;
        box-sizing: border-box;
    }

    .cruz_header {
        left: 0px;
        top: -10px;
    }

    .menu-toggle {
        display: block;
        position: relative;
    }

    .menu-toggle nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #fff;
        padding: 10px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .menu-toggle .hamburguesa {
        display: block;
        cursor: pointer;
    }

    .menu-toggle.active nav {
        display: block;
        left: -120px;
    }

    /* Estilos para la hamburguesa (icono de menú) */
    .menu-toggle .barra {
        width: 25px;
        height: 3px;
        background-color: #333;
        margin: 5px 0;
    }

    .header_container {
        align-items: center;
        height: 90px;
        z-index: 10;
    }

    .logo img {
        max-width: 200px;
    }

    .sec_2_img_1 {
        top: -700px;
        left: -200px
    }

    .sec_2_img_2 {
        display: none;
    }

    .section_one_container {
        display: block;
        box-sizing: border-box;
        padding: 20px;
    }

    .section_one_1 {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .sec_2_cruz {
        display: none
    }

    .section_two_container {
        flex-direction: column;
    }

    .section_two_1 p {
        padding-top: 10px;
        margin-bottom: 50px;
    }

    .section_three_2 {
        width: 100%;
        padding: 0 20px;
    }

    .section_three_1 {
        display: flex;
        width: auto;
        height: 10px;
        position: inherit;
        opacity: .2;
    }

    nav ul {
        flex-direction: column;
    }

    nav li {
        margin: 10px 5px;
    }

    .texto-container {
        width: 100%;
    }

    .texto {
        padding: 60px 20px;
        width: 100%;
        font-size: 16px;
        box-sizing: border-box;
        margin-top: 10px;
    }

    .section_seven_two {
        flex-direction: column;
    }

    .seven_two_1 {
        width: 100%;  
        box-sizing: border-box;  
    }

    .seven_two_2 {
        width: 100%;
        box-sizing: border-box;
    }

    .footer {
        flex-direction: column;
    }

    .image_footer, .footer a {
        margin-bottom: 20px;
    }
    
    
    #slider1 {
        display: block
    }
    
    .primero {
        display: none
    }
    
}
