@font-face {
  font-family: "Montserrat Light";
  src: url(../assets/font/Montserrat-Light.ttf);
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url(../assets/font/Montserrat-Regular.ttf);
  font-display: swap;
}
@font-face {
  font-family: "Montserrat Italic";
  src: url(../assets/font/Montserrat-Italic.ttf);
  font-display: swap;
}
@font-face {
  font-family: "Montserrat Medium";
  src: url(../assets/font/Montserrat-Medium.ttf);
  font-display: swap;
}
@font-face {
  font-family: "Montserrat SemiBold";
  src: url(../assets/font/Montserrat-SemiBold.ttf);
  font-display: swap;
}
@font-face {
  font-family: "Montserrat Bold";
  src: url(../assets/font/Montserrat-Bold.ttf);
  font-display: swap;
}
@font-face {
  font-family: "Montserrat ExtraBold";
  src: url(../assets/font/Montserrat-ExtraBold.ttf);
  font-display: swap;
}

:root {
  --color-fondo-header: #0097d7;
  --color-resaltado-texto: #0097d777;
  --color-oscuro-azul-logo: #01488d;
  --color-fondo-dos: #ddedf8;
  --color-fondo-footer: #a3cded;
  --letra-extra-bold: "Montserrat ExtraBold", sans-serif;
  --letra-bold: "Montserrat Bold", sans-serif;
  --letra-semi-bold: "Montserrat SemiBold", sans-serif;
  --letra-medium: "Montserrat Medium", sans-serif;
  --letra-normal: "Montserrat", sans-serif;
  --letra-italic: "Montserrat Italic", sans-serif;
  --letra-fina: "Montserrat Light", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  max-width: 1920px;
  margin: auto;
  font-family: var(--letra-normal);
  visibility: 0;
  transition: visibility 0.3s;
}
.body-cargado {
  visibility: 1;
}
a {
  color: unset;
  text-decoration: none;
}
strong {
  font-weight: normal;
  font-family: var(--letra-bold);
}
p {
  margin: 0;
}
/* GENERALES */
.titular {
  font-size: 56px;
  font-family: var(--letra-extra-bold);
  margin: 0;
}
.subtitular {
  font-size: 40px;
  font-family: var(--letra-extra-bold);
  margin: 0;
}
.texto-grande {
  font-size: 28px;
  font-weight: var(--letra-medium);
  margin: 0;
}
.texto-medio {
  font-size: 21px;
}
.texto-pequeno {
  font-size: 18px;
}
.oculto {
  position: absolute;
  top: -200px;
}
.flex {
  display: flex;
  flex-wrap: wrap;
}
.resaltado {
  background-color: var(--color-resaltado-texto);
}
.fino {
  font-family: var(--letra-fina);
}

.boton {
  display: block;
  background-color: var(--color-fondo-header);
  color: white;
  border-radius: 50px;
  padding: 8px;
  border: 2px solid var(--color-fondo-header);
  transition: background-color 0.3s, color 0.3s;
}
.boton:hover {
  color: black;
  background-color: transparent;
}
.boton-watsapp {
  display: block;
  margin: auto;
  background-color: #2b702f;
  border: none;
  border-radius: 50px;
  padding: 12px 50px;
  color: white;
  box-shadow: 6px 6px 20px rgb(0 0 0 / 25%);
  transition: all 0.3s;
}
.boton-watsapp:hover {
  box-shadow: 4px 4px 6px 0 rgb(255 255 255 / 50%),
    -4px -4px 6px 0 rgb(116 125 136 / 50%),
    inset -4px -4px 6px 0 rgb(255 255 255 / 20%),
    inset 4px 4px 6px 0 rgb(0 0 0 / 40%);
  opacity: 0.85;
}
.texto-medio-watsapp {
  font-family: var(--letra-semi-bold);
  text-transform: uppercase;
}
.texto-pequeno-watsapp {
  opacity: 0.6;
}
.logo-watsapp {
  height: 21px;
  filter: invert(100%);
  position: relative;
  top: 3px;
  margin-right: 5px;
}
.contenedor-grande,
.contenedor-mediano {
  max-width: 1500px;
  padding: 0 5%;
  margin: auto;
}
.contenedor-mediano {
  max-width: 1320px;
}
/* HEADER */
.header {
  position: sticky;
  top: 0;
  padding: 10px;
  min-height: 80px;
  background-color: var(--color-fondo-header);
  z-index: 200;
}

.logo-header {
  height: 80px;
  object-fit: contain;
  margin-right: 10px;
  border-radius: 5px;
  background-color: white;
}
@media screen and (max-width: 500px) {
  .logo-header {
    height: 45px;
  }
}
.boton-watsapp-header {
  padding: 8px 15px;
}
.texto-medio-watsapp-header {
  font-size: 16px;
}
.flex-header {
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}
.margen-derecha {
  margin-right: 10px;
}
.centrar-altura-flex {
  align-items: center;
}
.dropdown-content .ocultar-grande {
  display: none;
}
@media screen and (max-width: 500px) {
  .ocultar-header {
    display: none;
  }
}
@media screen and (max-width: 1080px) {
  .dropdown-content .ocultar-grande {
    display: block;
  }
  .ocultar-movil {
    display: none;
  }
}
/* Estilos Nav */
.menu ul {
  list-style-type: none;
  display: flex;
  gap: 20px;
  padding-left: 0;
  align-items: center;
}

.menu ul li {
  position: relative;
}

.menu ul li a {
  color: black;
  text-decoration: none;
  text-transform: capitalize;
  transition: color 0.3s, background-color 0.3s;
}
.enlace-header {
  transition: color 0.3s;
}
.menu ul li a.enlace-header {
  color: black;
}
.menu ul li a:hover {
  color: white;
}
.enlace-poblacion {
  display: none;
}
.dropbtn {
  transition: color 0.3s;
}
.menu ul li .dropbtn {
  color: black;
}

.menu ul li .dropbtn:hover {
  color: white;
}

/* Dropdown content */
.dropdown-content {
  visibility: hidden;
  position: absolute;
  background-color: var(--color-fondo-header);
  width: 300px;
  max-width: 100vw;
  z-index: 1;
  text-transform: capitalize;
  max-height: calc(100vh - 88px);
  overflow-y: auto;
  scrollbar-width: thin;
}

.dropdown-content a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: var(--color-oscuro-azul-logo);
}

/* Mostrar dropdown en hover para escritorio */
@media screen and (min-width: 1080px) {
  .dropdown-content {
    opacity: 0;
    transition: opacity 0.3s;
    border: 2px solid #80cbe8;
  }
  .dropdown:hover .dropdown-content {
    visibility: visible;
    opacity: 1;
  }
}

/* Burger menu for small screens */
.burger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.burger {
  width: 25px;
  height: 3px;
  background-color: black;
  margin: 4px 0;
}

/* Responsive para pantallas móviles */
@media screen and (max-width: 1080px) {
  .flex-header {
    width: 100%;
    justify-content: space-between;
  }
  .enlace-poblacion {
    display: block;
  }
  .menu ul {
    display: none;
  }
  .burger-menu {
    display: flex;
  }
  .menu.active ul {
    display: block;
    flex-direction: column;
    position: absolute;
    top: 88px;
    left: 0;
    background-color: var(--color-oscuro-azul-logo);
    width: 100%;
    max-height: calc(100vh - 88px);
  }
  .menu ul li {
    text-align: center;
  }
  .menu ul li a,
  .dropdown {
    display: block;
    padding-top: 15px;
    padding-bottom: 15px;
  }
  .menu ul li .dropbtn,
  .menu ul li a.enlace-header {
    color: white;
  }
  .menu ul li a.enlace-header:hover {
    color: gray;
  }
  /* Los dropdowns están inicialmente ocultos en móvil */
  .dropdown-content {
    display: none;
    width: 100%;
    position: relative;
    max-height: calc(100vh - 349px);
  }
  /* Se despliega el contenido al hacer clic */
  .dropdown-content.active {
    display: block;
  }
}
.menu ul li a.enlace-header-watsapp {
  padding-top: 6px;
  padding-bottom: 7px;
}
@media screen and (max-width: 500px) {
  .menu.active ul {
    top: 60px;
  }
  .dropdown-content {
    max-height: calc(100vh - 280px);
  }
}
/* FOOTER */
.footer {
  background-color: var(--color-fondo-footer);
  padding-top: 15px;
  /* padding-bottom: 15px; */
}
.contenedor-footer {
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 15px;
}
.caja-contenedor-footer {
  width: 100%;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #7a9ab2;
  justify-content: space-between;
}
.caja-flex-footer {
  display: flex;
  align-items: center;
  text-wrap: pretty;
  gap: 10px;
  max-width: 420px;
}
.logo-footer {
  height: 70px;
  object-fit: contain;
}
.flex-legales-footer {
  font-family: var(--letra-fina);
  height: 100%;
  padding-left: 20px;
  display: flex;
  align-items: center;
}
.contenedor-zona-negra {
  background-color: black;
}
.zona-negra {
  max-width: 1320px;
  padding-left: 20px;
  color: white;
  margin: auto;
}
@media screen and (max-width: 500px) {
  .caja-flex-footer {
    flex-wrap: wrap;
    justify-content: center;
  }
}
/* MAIN*/
.padding-section {
  padding-top: 100px;
  padding-bottom: 100px;
  /* overflow: hidden; */
}
/* Primera Zona */
.flex-primera-zona {
  display: flex;
  padding-left: 5%;
  padding-right: 5%;
}
.item-flex-primera-zona {
  width: 50%;
}
.item-flex-primera-zona-primero {
  flex-direction: column;
  justify-content: space-between;
  padding-right: 50px;
}
.titulo-primera-zona {
  padding-bottom: 20px;
}
.texto-grande-primera-zona {
  padding-bottom: 30px;
}
.imagen-flex-primera-zona {
  width: 600px;
  max-width: 100%;
  max-height: 600px;
  object-fit: cover;
  display: block;
  margin: auto;
}
.texto-pequeno-primera-zona {
  padding-bottom: 40px;
}
/* Seguna Zona */
.flex-zona-dos {
  padding-left: 30px;
}
.contenedor-imagen-zona-dos {
  width: calc(100% - 580px);
  position: relative;
}
.imagen-flex-segunda-zona {
  position: absolute;
  top: 0;
  bottom: 0;
  right: -20px;
  margin: auto;
  z-index: -10;
  max-width: 100%;
  object-fit: cover;
}
.contenedor-texto-zona-dos {
  background-color: white;
  width: 580px;
  border-radius: 7px;
  box-shadow: 0px 0px 20px rgb(0 0 0 / 30%);
  padding: 30px;
}
.titulo-zona-dos {
  padding-bottom: 30px;
}
.texto-pequeno-zona-dos {
  padding-bottom: 20px;
}
/* Zona tres */
.section-zona-tres {
  background-image: url(../img/fondo-zona-tres.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.caja-servicios {
  padding-bottom: 20px;
}
.objetivo-ancla {
  padding-top: 120px;
  margin-top: -120px;
}
.z-index-13 {
  position: relative;
  z-index: 13;
}
.z-index-12 {
  position: relative;
  z-index: 12;
}
.z-index-11 {
  position: relative;
  z-index: 11;
}
.z-index-10 {
  position: relative;
  z-index: 10;
}
.z-index-9 {
  position: relative;
  z-index: 9;
}
.z-index-8 {
  position: relative;
  z-index: 8;
}
.z-index-7 {
  position: relative;
  z-index: 7;
}
.z-index-6 {
  position: relative;
  z-index: 6;
}
.z-index-5 {
  position: relative;
  z-index: 5;
}
.z-index-4 {
  position: relative;
  z-index: 4;
}
.z-index-3 {
  position: relative;
  z-index: 3;
}
.z-index-2 {
  position: relative;
  z-index: 2;
}
.z-index-1 {
  position: relative;
  z-index: 1;
}
.titular-zona-tres,
.texto-grande-zona-tres {
  text-align: center;
}
.texto-grande-zona-tres {
  padding-bottom: 50px;
  font-weight: 500;
}
.flex-tercera-zona {
  justify-content: center;
}
.item-flex-tercera-zona {
  width: 46%;
}
.item-flex-tercera-zona-uno {
  position: relative;
  padding-right: 8%;
}
.imagen-tercera-zona {
  position: sticky;
  top: 120px;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  margin: auto;
  display: block;
}
.texto-grande-titulo-zona-tres {
  font-family: var(--letra-bold);
  padding-bottom: 12px;
}
.texto-pequeno-zona-tres {
  padding-bottom: 10px;
}
@media screen and (max-width: 500px) {
  .objetivo-ancla {
    padding-top: 100px;
    margin-top: -100px;
  }
}
/* Zona cuatro*/
.texto-grande-zona-cuatro {
  text-align: center;
}
.caja-contenedor-slider {
  padding-top: 100px;
}
/* slider */
.caja-grande-slider {
  position: relative;
  padding: 0 15px;
}
.caja-slider {
  width: 100%;
  margin: auto;
}
.caja-tarjeta-slider {
  padding: 1em;
}
.tarjeta-slider {
  padding: 30px;
  padding-top: 75px;
  box-shadow: 0px 0px 15px rgb(0 0 0 / 10%);
  background-color: white;
  border-radius: 5px;
  border-bottom: 5px solid #c1c1c1;
}
.imagen-slider {
  width: 300px;
  max-width: 100%;
  max-height: 300px;
  object-fit: cover;
  display: block;
  margin: auto;
}
.texto-slider {
  font-size: 16px;
  font-family: var(--letra-italic);
}
.siguiente-slider,
.anterior-slider {
  position: absolute;
  width: 40px;
  height: 40px;
  padding: 0 0.5em;
  border: none;
  background-color: #000000cc;
  color: white;
  font-size: 16px;
  left: 15px;
  top: 0;
  bottom: 0;
  margin: auto;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.siguiente-slider {
  left: unset;
  right: 15px;
}
.botones-slider-disabled {
  opacity: 0.5;
}
.imagen-anterior-siguiente {
  height: 10px;
  filter: invert(100%);
}
/* Zona Cinco */
.item-flex-zona-cinco {
  width: 50%;
  align-items: center;
  text-align: center;
}
.enlace-watsapp-grande {
  width: 90%;
  margin: auto;
  display: block;
}
.boton-watsapp-grande {
  cursor: pointer;
  background: #2b702f;
  background: linear-gradient(180deg, #2b702f 0%, #a5c645 100%);
  width: 100%;
  padding: 24px;
  border-radius: 200px;
}
.texto-medio-watsapp-grande {
  font-size: 25px;
}
/* Zona Seis */
.texto-zona-seis {
  width: fit-content;
  margin: auto;
  font-size: 13.6px;
  font-family: var(--letra-bold);
  background-color: var(--color-fondo-dos);
}
/* Animaciones */
.entrada-aba {
  transform: translateY(100px);
  opacity: 20%;
}
.entradas {
  transform: translateY(0px);
  opacity: 100%;
  transition-delay: 0.4s;
  transition: all 1s;
}
/* LEGALES */

/* Responsive */
@media screen and (max-width: 1300px) {
  .titular {
    font-size: 45px;
  }
  .texto-grande {
    font-size: 22px;
  }
  .texto-medio {
    font-size: 18px;
  }
  .texto-pequeno {
    font-size: 16px;
  }
}
@media screen and (max-width: 1200px) {
  .contenedor-texto-zona-dos {
    width: 450px;
  }
  .contenedor-imagen-zona-dos {
    width: calc(100% - 450px);
  }
  .texto-grande-zona-dos {
    padding-bottom: 50px;
  }
  .texto-pequeno-zona-dos {
    padding-bottom: 30px;
  }
}
@media screen and (max-width: 1000px) {
  .item-flex-primera-zona {
    width: 100%;
    margin-bottom: 20px;
    padding-right: 0;
  }
  .flex-zona-dos {
    justify-content: center;
  }
  .contenedor-imagen-zona-dos {
    width: 100%;
  }
  .imagen-flex-segunda-zona {
    position: relative;
    margin: auto;
    display: block;
    right: 0;
    bottom: -20px;
  }
  .contenedor-texto-zona-dos {
    margin-top: -30px;
    box-shadow: none;
    width: calc(100% - 60px);
  }
}
@media screen and (max-width: 800px) {
  .padding-section {
    padding-top: 70px;
    padding-bottom: 70px;
  }
  .item-flex-tercera-zona {
    width: 500px;
    max-width: 100%;
  }
  .item-flex-tercera-zona-uno {
    padding-right: 0;
    padding-bottom: 30px;
  }
  .item-flex-zona-cinco {
    width: 100%;
    padding-bottom: 20px;
  }
}
@media screen and (max-width: 700px) {
  .caja-contenedor-footer {
    justify-content: center;
  }
  .logo-footer {
    padding-bottom: 10px;
  }
  .flex-legales {
    width: 100%;
  }
  .flex-legales-footer {
    justify-content: center;
    padding-left: 0px;
    padding-top: 5px;
    padding-bottom: 5px;
  }
  .enlace-flex-legales {
    width: 100%;
  }
}
@media screen and (max-width: 600px) {
  .contenedor-grande,
  .contenedor-mediano {
    padding: 0 30px;
  }
  .titular {
    font-size: 35px;
  }
  .texto-grande {
    font-size: 19px;
  }
  .texto-medio {
    font-size: 17px;
  }
  .texto-pequeno {
    font-size: 15px;
  }
  .contenedor-texto-zona-dos {
    width: 100%;
    margin-top: 0;
    padding-left: 0;
    padding-right: 0;
  }
}
/* Modal */
.modal {
  display: none; /* Inicialmente oculto */
  position: fixed;
  z-index: 400;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: white;
  margin: 15% auto;
  padding: 20px;
  padding-bottom: 40px;
  border: 1px solid #888;
  width: 80%;
  max-width: 600px;
  border-radius: 20px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
