:root {
  --white: #ffffff;
  --marfil: #eceee7;
  --arcilla: #888075;
  --grisoscuro: #383734;
  --black: #0f0e0e;
  --amarillo: #f6ac01;
  
  --gradient2: linear-gradient(
    45deg,
    rgba(5, 5, 5, 1) 0%,
    rgba(5, 5, 5, 1) 14%,
    rgba(10, 7, 6, 1) 29%,
    rgba(61, 44, 42, 1) 47%,
    rgba(66, 51, 49, 1) 54%,
    rgba(69, 48, 45, 1) 63%,
    rgba(77, 53, 50, 1) 74%,
    rgba(77, 62, 60, 1) 80%,
    rgba(145, 134, 132, 1) 100%
  );
  --font-Hind: "Hind", sans-serif;
  --font-Montserrat: "Montserrat", sans-serif;
  --font-Roboto: "Roboto", sans-serif;
}
html {
  scroll-behavior: smooth;
  box-sizing: border-box;
  overflow-x: hidden;
}
body {
  margin: 0;
  background: var(--gradient2);
  overflow-x: hidden;
}
header {
  height: 6rem;
}
#contacto_Whatsapp{
  z-index: 1;
}
.fondo_header_superior {
  display: none;
  background: var(--gradient2);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2.3rem; /* o lo que mida tu header */
  z-index: 998;
}

.contenedor_headersuperior {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999; /* uno más arriba que el fondo */
}

.header_superior {
  display: none;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  padding: 10px 0;
  height: 30px;
  font-family: var(--font-Roboto);
  font-size: 13px;
}

.header_superior img {
  height: 20px;
  margin-bottom: -6px;
}
.header_superior a {
  text-decoration: none;
  color: var(--marfil);
  padding: 0 0.5rem;
}
.redes, .redes_menu_desplegable {
  display: flex;
  gap: 10px;
}
.redes a, .redes_menu_desplegable a {
  padding: 0% 0.75% 0% 0%;
}
.nav {
  background: var(--marfil);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 2;
}

.contenedor_nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 5rem;
}
.espacio {
  width: 70px;
}
.logo_cabecera {
  height: 3rem;
}
#menu_interactivo {
  padding-right: 2rem;
}

.bars__menu {
  width: 30px;
  height: 30px;
  cursor: pointer;
  
}
.bars__menu span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--arcilla);
  margin-top: 6px;
  transform-origin: 0px 100%;
  transition: all 600ms;
}

/* el translate va a variar según la ubicación del menu */
.closeline1 {
  transform: rotate(50deg) translate(0px, -7px);
}
.closeline2 {
  opacity: 0;
  margin-left: -30px;
}
.closeline3 {
  transform: rotate(-45deg) translate(3px, 6px);
}

.menu_desplegable {
  background-color: var(--grisoscuro);
  margin: 0;
  transform: translateY(-100vh);
  transition: 1200ms ease;
}
.menu_link {
  margin: 0;
  list-style-type: none;
  padding-left: 0;
}
.link {
  font-family: var(--font-Roboto);
  font-size: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid var(--arcilla);
  padding: 0.75rem 1rem 0.75rem 1rem;
}
.link:hover {
  background-color: rgb(130, 122, 105);
  cursor: pointer;
}
.link a {
  text-decoration: none;
  color: var(--marfil);
}
.redes_menu_desplegable{
  display: flex;
  gap: 10px;
}
.redes_menu_desplegable a {
  display: flex;  
  height: 15px;
}

.menu_desplegable {
  transform: translateY(-100%);
  transition: transform 600ms ease;
  position: fixed;
  top: 5rem;
  left: 0;
  width: 100%;
  z-index: 1;
}


.show {
  position: fixed;
  top: 5rem;
  left: 0;
  width: 100%;
  transform: translateY(0);
  transition: 1200ms ease;
  z-index: 1;
}

main {
  position: relative;
  width: 100%;
  color: var(--marfil);
  font-family: var(--font-Roboto);
  font-weight: 500;
  font-size: 20px;
  padding-top: 6rem;
  margin-bottom: 20px;
  z-index: 0;
}

.primera_parte {
  display: flex;
  align-items: center;
  margin-top: -100px;
  width: 100%;
}
.huella {
  margin-left: -44px;
  margin-right: 45px;
  height: 200px;
}
.palabras_main {
  margin-left: -55px;
  margin-top: 40px;
  font-weight: 600;
  font-size: 20px;
  text-transform: uppercase;
}
.palabras_main p {
  margin: 2px 0px 6px 0px;
}


.contenedor_whatsapp {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

/* Este contenedor nos ayuda a centrar en la página entera */
.float {
  position: fixed;
  bottom: 20px;
  right: 20px; /* Esto lo alinea al borde derecho del contenido centrado */
  z-index: 100;
  top: 15rem;
}

.whatsapp {
  width: 35px;  
}
.contenedor_whatsapp img.whatsapp {
  /* width: 60px; */
  animation: pulso 2s infinite ease-in-out;
  transition: transform 0.3s ease;
}

/* Efecto al pasar el mouse */
.contenedor_whatsapp img.whatsapp:hover {
  transform: scale(1.2);
}

.segunda_parte {
  position: relative;
  display: grid;
  grid-template-columns: 1fr; 
  gap: 20px;
  justify-items: center;
  padding-top: 40px;
}

.segunda_parte img {
  width: 300px;
  border-radius: 15px;
}


.segunda_parte a{
    color: inherit;
    text-decoration: none;  
}
.contenedor_img {
  position: relative;
}
.contenedor_img img{
  padding: 0%;
  margin-bottom: 10px;
}
.contenedor_img p {
  position: absolute;
  top: 10px;
  left: 15px;
  font-size: 20px;
  font-weight: 600;
  color:var(--white);
  text-shadow: -3px 2px 1px rgba(0,0,0,0.34);
  /* text-shadow: #383734; */
}
.container_form{
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  padding: 10px;
}
form {
  display: flex;
  flex-direction: column;
  align-items: center; /* Centra el botón horizontalmente */
}


form input {
  width: 332px;
  height:47px;
  border-radius: 10px;
  border-color: var(--white);
  margin-bottom: 10px;
  background-color: transparent;
  font-family: var(--font-Roboto);
  font-size: 16px;
  color: var(--marfil);
}
form textarea{
  width: 332px;
  height:161px;
  border-radius: 10px;
  border-color: var(--white);
  margin-bottom: 10px;
  background-color: transparent;
  font-family: var(--font-Roboto);
  font-size: 16px;
  color: var(--marfil);
}
input::placeholder {
  color: var(--arcilla);
  font-family: var(--font-Roboto);
  font-size: 16px;
  padding-top: 5px;
  padding-left: 5px;
  
}
textarea::placeholder {
  color: var(--arcilla);
  font-family: var(--font-Roboto);
  font-size: 16px;
  padding-top: 5px;
  padding-left: 5px;
}
form button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 30px;
  border-radius: 10px;
  background-color: var(--grisoscuro);
  color: var(--white);
  border: none;
  font-size: 16px;
  font-family: var(--font-Roboto);
  cursor: pointer;
}
.btn_enviar{
  margin-bottom: 24px;
  background-color: rgb(216, 15, 15);
}
.none{
  display: none;
}
.btn_enviar:hover{
  background-color: var(--arcilla);
}
.container_form p {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 10px;
  font-family: var(--font-Roboto);
  color: var(--white);
}


.mensaje_exito {
  padding: 10px;
  background-color: #28a745; /* Verde para indicar éxito */
  color: white;
  text-align: center;
  border-radius: 5px;
  margin-top: 20px;
}


.tercera_parte {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
  margin-bottom: 40px;
}
.tercera_parte p {
  font-family: var(--font-Roboto);
  font-size: 1rem;
  margin-top: 5px;
  margin-bottom: 5px;
}
.seccion_contacto {
  display: flex;
  flex-direction: column;
  align-items: center;
  
  margin-bottom: 50px;
}

.container_form{
  width: 100%;
  max-width: 500px;
}

.logo_arcilla{
  height: 4rem;
}
.redes_sociales {
  display: flex;
  flex-direction: row;
}
.redes_sociales img{
  width: 20px;
  padding: 5px;
}

footer {
  background-color: var(--marfil);
  color: var(--black);
  font-family: var(--font-Roboto);
  font-size: 14px;
  padding: 1rem 0;
  display: flex;
  position: relative;
  bottom: 10px;
  width: 100%;
  z-index: 4;
  align-items: center;
  justify-content: center;
}
footer img {
  height: 20px;
  margin-right: 3px;
}
.logo_concepto_web {
  height: 28px;
  margin-left: 1px;
}
footer > p {
  margin: 0;
}

@media only screen and (min-width: 768px) {
  .logo_cabecera {
    height: 4rem;
  }
  main{
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 0;
    margin-top: 80px;
  }
  .primera_parte{
    margin-top: -50px;
  }
  .fondo_header_superior {
    display: flex;
  }
  /* .contenedor_headersuperior{
    background: var(--gradient2);
    max-width: 1100px;
    margin: 0 auto;
    
  } */
  .header_superior {
    display: flex;
   
    height: 1rem;
    
    /* z-index: 2; */
  }

  .redes{
    padding-right: 2rem;
  }
  
  
  
  .header_principal {
    height: 5rem;
    margin-top: 36px;
    z-index: 2;
  }
  .menu_link{
    margin-top: 35px;
  }
  .link{
    font-size: 1.2rem;
  }
   .huella{
    height: 230px;
   }
  .segunda_parte {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 780px;
    margin: 0 auto; /* esto centra horizontalmente */
    padding: 40px 20px;
  }
  .contenedor_img img{
    margin-bottom: 0;
  }

  .segunda_parte img {
    width: 100%;
    height: 500px;
    object-fit: cover; /* recorta sin deformar */
    border-radius: 15px;
  }

  .seccion_contacto {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center; /* centrado vertical */
    max-width: 780px;
    margin: 0 auto;
    gap: 40px;
    padding: 20px 0 50px 0;
  }
  

  /* .seccion_contacto {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    max-width: 780px;
    margin: 0 auto;
    gap: 40px;
    margin: 20px 0 50px 0;
  } */

  .container_form,
  .tercera_parte {
    max-width: 400px;
    justify-content: center;
  }
  .tercera_parte{
        
    padding-bottom: 0;
    margin-top: 0px;
    margin-bottom: 90px;
    
  }

}
@media (min-width: 1100px) {
  .float {
    right: calc((100vw - 1100px) / 2);
  }
}