@charset "UTF-8";
/* CSS Document */

/* Reseteo básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
	height: 100%;
}

.none-link {
	color: inherit;
	text-decoration: none;
}


.lato-light {
	font-family: "Lato", sans-serif;
	font-weight: 350;
	font-style: normal;
	font-size: 1.1em;
	padding-left: 20%;
	padding-right: 20%;
	color: #000;
}

.lato-regular {
	font-family: "Lato", sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 1.2em;
	color: #666;
}

.lato-regular-v2 {
	font-family: "Lato", sans-serif;
	font-weight: 500;
	font-style: normal;
	font-size: 1.8em;
	color: #666;
}



.col-1 {
  word-break: break-word; /* fuerza saltos si hay palabras largas */
       /* interlineado compacto */
}


/* Imagen de fondo */
.hero {
  background-image: url('../img/img-head-habitadm.jpg');
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Logo */
.logo img {
	margin-top: 100px;
}

/* Menú */
.cinzel-menu {
	margin-top: 100px;
	font-family: "Cinzel", serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	font-size: 1.5em;
	color: #000;
}

 /* reglas para tablet */
@media (min-width: 769px) and (max-width: 1024px) {
	.logo img {
		margin-top: 60px;
	}
	.cinzel-menu {
		margin-top: 60px;
	}
}


 /* reglas para Mobile */
@media (max-width: 768px) { 
  .hero {
	  background-image: url('../img/img-head-habitadm-m.jpg');
	  height: 100vh;
	}
	.logo img {
	margin-top: 60px;
}
	.cinzel-menu {
	margin-top: 30px;
	font-size: 1.6em;}
}

.menu a {
	color: #333;
	text-decoration: none;
}


/* SOMOS */
.somos {
	background-image: url('../img/bg-txt.png');
	background-size: cover;
	background-position: center;
	width: 100%;
	height: 110vh;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background-repeat: repeat-y;
}


.cinzel-titles {
	margin-top: 100px;
	font-family: "Cinzel", serif;
	font-weight: 400;
	font-style: normal;
	font-size: 2.5em;
	text-align: right;
	padding-right: 10px;
	line-height: 1; 
}

.hr-extend-left {
  --extend: 220px;                     /* cuánto invade hacia la izq. */
  height: 1px;
  border: 0;
  background: #111;                    /* color de la línea */
  width: calc(100% + var(--extend));
  margin: 16px 0 0 calc(-1 * var(--extend));
}


.txt_col_2 {
	padding-left: 50px;
}

.logo_bco img {
	margin-top: 100px;
	max-height: 130px;
	padding-left: 50px;
}

.somos_img img {
	margin-top: 130px;
}

 /* reglas para tablet */
@media (min-width: 769px) and (max-width: 1024px) {
	.somos {
	  height: 180vh;
	}
	.somos_img img {
		margin-top: 250px;
		padding-left: 12%;
	}
}

 /* reglas para Mobile */
@media (max-width: 768px) { 
  .somos {
	  background-image: url('../img/bg-txt-m.png');
	  background-size: cover;
	  background-position: center;
	  height: 250vh;
	}
	.somos_img img {
		margin-top: 50px;
		padding-left: 12%;
	}
}





/* bloques parallax */
.parallax-01 {
  background-image: url('../img/bloque-1.jpg');
  background-attachment: fixed; /* <- magia del parallax */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 80vh; /* ocupa la altura de la pantalla */
  display: flex;
}

.parallax-02 {
  background-image: url('../img/bloque-2.jpg');
  background-attachment: fixed; /* <- magia del parallax */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 80vh; /* ocupa la altura de la pantalla */
  display: flex;
}


.cinzel-parallax {
	margin-top: 130px;
	font-family: "Cinzel", serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	font-size: 4em;
	color: #eee;
}

 /* reglas para tablet */
@media (min-width: 769px) and (max-width: 1024px) {
  .parallax-01 {
	  height: 90vh; /* ocupa la altura de la pantalla */
	}
	.parallax-02 {
	  height: 90vh; /* ocupa la altura de la pantalla */
	}
	.cinzel-parallax {
		margin-top: 80px;
		font-size: 3.5em;
	}
}

 /* reglas para Mobile */
@media (max-width: 768px) { 
  .parallax-01 {
	  background-image: url('../img/bloque-1-m.jpg');
	  height: 90vh; /* ocupa la altura de la pantalla */
	}
	.parallax-02 {
	  background-image: url('../img/bloque-2-m.jpg');
	  height: 90vh; /* ocupa la altura de la pantalla */
	}
	.cinzel-parallax {
		margin-top: 100px;
		font-size: 3em;
		line-height: 1;
		margin-left: -10%;
	}
}






/* Servicios */
.servicios {
	background-image: url('../img/bg-txt.png');
	background-size: cover;
	background-position: center;
	width: 100%;
	height: 110vh;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background-repeat: repeat-x;
}


.cinzel-subtitles {
	margin-top: 50px;
	font-family: "Cinzel", serif;
	font-weight: 400;
	font-style: normal;
	font-size: 1.5em;
	text-align: left;
	padding-left: 50px;
	line-height: 1; 
}


 /* reglas para tablet */
@media (min-width: 769px) and (max-width: 1024px) {
	.servicios {
	  height: 160vh;
	}
}


 /* reglas para Mobile */
@media (max-width: 768px) { 
  .servicios {
	  background-image: url('../img/bg-txt-m.png');
	  background-size: cover;
	  background-position: center;
	  height: 225vh;
	}
}





/* CONTACTO */
.contacto {
	background-color: #A7A9AC;
	padding-bottom: 50px;
}

.cinzel-titles-bco {
	margin-top: 120px;
	font-family: "Cinzel", serif;
	font-weight: 400;
	font-style: normal;
	font-size: 2.5em;
	text-align: right;
	padding-right: 10px;
	line-height: 1; 
	color: #fff;
}

.hr-extend-left-bco {
  --extend: 220px;                     /* cuánto invade hacia la izq. */
  height: 1px;
  border: 0;
  background: #fff;                    /* color de la línea */
  width: calc(100% + var(--extend));
  margin: 16px 0 0 calc(-1 * var(--extend));
}


.lato-regular-bco {
	font-family: "Lato", sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 1.2em;
	color: #fff;
}

.lato-regular-v2-bco {
	font-family: "Lato", sans-serif;
	font-weight: 500;
	font-style: normal;
	font-size: 1.8em;
	color: #fff;
}



/* Formulario */
.form {
	margin-top: 80px;
}

  :root{
    --bg:#f7f7f7; --fg:#111; --brand:#25D366; --ok:#0aa36f; --err:#c62828;
  }
  form {
	  display:grid;
	  gap: 20px;
	  padding-left: 6%;
	  padding-bottom: 80px;
}

  label {
	  font-family: "Lato", sans-serif;
	  font-weight: 400;
	  font-style: normal;
	  font-size: 1em;
	  color: #666;
	  line-height: 30px;
}

  input,textarea,button {
	  font-family: "Lato", sans-serif;
	  width:100%;
	  padding:12px 14px;
	  border:1px solid #d6d6d6;
	  border-radius:10px;
	  font-size:.8rem;
	  outline:none;
  }

  input:focus, textarea:focus {
	  border-color:var(--brand);
	  box-shadow:0 0 0 3px rgba(37, 211, 102,.15)
}

  textarea {
	  min-height:120px;
	  resize:vertical
}


@media(min-width:720px){ 
  .row {
	  grid-template-columns:1fr 1fr;
	}
}

  .msg {
	  display:none;
	  padding:10px 12px;
	  border-radius:10px;
}
  .msg.ok {
	  display:block;
	  background:rgba(10,163,111,.08);
	  border:1px solid var(--ok);
	  color:#0f5f48;
}
  .msg.err {
	  display:block;
	  background:rgba(198,40,40,.08);
	  border:1px solid var(--err);
	  color:#7a1e1e;
}
  button{
	  background:var(--brand);
	  color:#fff;
	  border:none;
	  font-weight:600;
	  cursor:pointer;
	  transition:.2s;
	  box-shadow:0 6px 14px rgba(37, 211, 102,.25);
  }
  button:hover {
	  transform:translateY(-1px);
}
  button[disabled]{
	  opacity:.55;
	  cursor:not-allowed;
	  box-shadow:none;
}
  /* Honeypot: visible para bots, invisible para personas y lectores */
  .hp-wrap {
	  position:absolute;
	  left:-9999px;
	  top:auto;
	  width:1px;
	  height:1px;
	  overflow:hidden;
}



  /* Footer */

.lato-footer {
	font-family: "Lato", sans-serif;
	font-weight: 300;
	font-style: normal;
	font-size: .8em;
	color: #666;
}

.lato-regular-bco-f {
	margin-top: 60px;
	font-family: "Lato", sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 1.2em;
	color: #fff;
}

 .logo_bco_f img {
	 margin-top: 50px;
	max-height: 130px;
	padding-left: 20px;
}

 /* reglas para tablet */
@media (min-width: 769px) and (max-width: 1024px) {
	.logo_bco_f img {
		margin-top: 50px;
		max-height: 130px;
		padding-left: 20px;
	}
	
	.lato-regular-bco-f {
		padding-left: 20px;
		margin-top: 50px;
	}
}

 /* reglas para Mobile */
@media (max-width: 768px) { 
  .logo_bco_f img {
	margin-top: 50px;
	max-height: 130px;
	padding-left: 20px;
}
	.lato-regular-bco-f {
		margin-top: 180px;
}

}





/* Botón Top */
#btnTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #222;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  display: none; /* oculto por defecto */
  transition: background-color 0.3s ease;
  z-index: 1000;
}

#btnTop:hover {
  background-color: #999;
}





