@font-face {
  font-family: 'GinesoSoft-ConMed';
  src: url('../fonts/GinesoSoft-ConMed.ttf');
  font-display: swap;
}

:root {
  --header-height: 4rem;
  --header-img-height: 3.2rem;

  --hue-color: 190;

  --bg:#ffffff;
  --accent:#1b832a;
  --muted:#5b6b80

  --first-color: hsl(var(--hue-color), 64%, 22%);
  --first-color-second: hsl(var(--hue-color), 64%, 22%);
  --first-color-alt: hsl(var(--hue-color), 64%, 15%);
  --second-color: #1b832a;
  --second-color-alt: #1b832a;
  --title-color: #000000;
  --text-color: #000000;
  --text-color-light: hsl(var(--hue-color), 8%, 60%);
  --input-color: hsl(var(--hue-color), 24%, 97%);
  --body-color: hsl(var(--hue-color), 100%, 99%);
  --white-color: #fff;
  --scroll-bar-color: hsl(var(--hue-color), 12%, 90%);
  --scroll-thumb-color: hsl(var(--hue-color), 12%, 75%);

  --body-font: 'GinesoSoft-ConMed', sans-serif;
  --title-font: 'GinesoSoft-ConMed', sans-serif;
  --custom-font: 'GinesoSoft-ConMed', sans-serif;
  --biggest-font-size: 2.5rem;
  --biggest-font-size2: 5rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1.15rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;

  --font-medium: 500;
  --font-semi-bold: 600;
  --font-condensed: 200;

  --mb-0-25: .25rem;
  --mb-0-5: .5rem;
  --mb-0-75: .75rem;
  --mb-1: 1rem;
  --mb-1-25: 1.25rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;

  --z-tooltip: 10;
  --z-fixed: 100;

  --img-transition: .3s;
  --img-hidden: hidden;
  --img-scale: scale(1.1);

  --transition-1: 250ms ease;
  --transition-2: 500ms ease;
  --transition-3: 1000ms ease;

  --section-padding: 100px;
}



* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  /* margin: var(--header-height) 0 0 0; */
  margin: 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: #e7e7e7;
  color: var(--text-color);
}

h1, h2, h3 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  font-family: var(--title-font);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

i {
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button,
input,
textarea {
  border: none;
  resize: none;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

button {
  cursor: pointer;
}

input,
textarea {
  outline: none;
}

.main {
  overflow-x: hidden;
}

.section {
  padding: 2rem 0 2.5rem;
}

.section-2 { padding-block: var(--section-padding); }

.section__title {
  font-size: var(--h2-font-size);
  color: var(--title-color);
  text-align: center;
  text-transform: capitalize;
  margin-bottom: var(--mb-2);
}

.container {
  max-width: 968px;
  margin-left: var(--mb-1);
  margin-right: var(--mb-1);
}

.container-2 { padding-inline: 15px; }

.grid {
  display: grid;
  gap: 1.5rem;
}

.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  background-color: transparent;
}

.has-bg-image {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo, .nav__toggle {
  color: var(--white-color);
}

.nav__toggle .icon {
  fill: var(--white-color);
}

.nav__logo {
  font-weight: var(--font-semi-bold);
}

.nav__logo img {
  height: var(--header-img-height);
}

.nav__icons {
  width: 30%;
  display: flex;
  justify-content: space-around;
}

.nav__toggle {
  font-size: 1.2rem;
  cursor: pointer;
}

.nav__menu {
  position: relative;
}


.nav__list {
  display: flex;
  flex-direction: column;
  row-gap: 2.5rem;
}

.nav__link {
  font-family: var(--custom-font);
  color: var(--text-color-light);
  font-weight: var(--font-medium);
  font-size: var(--h3-font-size);
  text-transform: uppercase;
}

.nav__link:hover {
  color: var(--text-color);
}

.nav__link2 {
  margin-left: 1rem;
  font-family: var(--custom-font);
  color: var(--text-color-light);
  font-weight: var(--font-medium);
  font-size: var(--h3-font-size);
  text-transform: uppercase;
  display: none;
}

.nav__link2:last-child {
  margin-left: 0.3rem;
}

.nav__link2:hover {
  color: var(--text-color);
}

.nav__link2 .icon {
  fill: var(--title-color);
}

.nav__link2 .icon:hover {
  fill: var(--text-color);
}

.nav__close {
  position: absolute;
  top: .75rem;
  right: 1rem;
  font-size: 1.5rem;
  color: var(--title-color);
  cursor: pointer;
}

.nav__close .icon {
  fill: var(--title-color);
}

.show-menu {
  right: 0;
}

.scroll-header {
  background-color: var(--body-color);
  box-shadow: 0 0 4px rgba(14, 55, 63, 0.15);
}

.scroll-header .nav__logo,
.scroll-header .nav__toggle {
  color: var(--title-color);
}

.scroll-header .nav__toggle .icon {
  fill: var(--title-color);
}

.active-link {
  position: relative;
  color: var(--title-color);
}

.active-link::before {
  content: '';
  position: absolute;
  background-color: var(--title-color);
  width: 100%;
  height: 2px;
  bottom: -.75rem;
  left: 0;
}

.home__img {
  /* position: relative;
  top: 0;
  left: 0; */
  width: 100%;
}

.home .slider-item {
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-3);
  z-index: 1;
  display: none;
}

.home .slider-item.active {
  opacity: 1;
  visibility: visible;
  display: unset;
}

.home .slider-bg {
  pointer-events: none;
  user-select: none;
  z-index: -1;
}

.home .slider-item.active .slider-bg {
  animation: smoothScale 7s linear forwards;
}

@keyframes smoothScale {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

.button {
  display: flex;
  justify-content: baseline;
  align-content: center;
  align-items: center;
  background-color: var(--second-color);
  color: var(--white-color);
  padding: 1rem 2rem;
  font-weight: var(--font-semi-bold);
  transition: .3s;
}

.button i {
  margin-right: 0.25rem;
}

.button:hover {
  background-color: var(--second-color-alt);
}

.button--flex {
  display: flex;
  align-items: center;
  column-gap: .25rem;
}

.button--link {
  background: none;
  padding: 0;
}

.button--link:hover {
  background: none;
}

.about__container {
  row-gap: 1.5rem;
  margin-top: 3rem;
  justify-content: center;
  background: var(--white-color);
  border-radius: 10px;
  box-shadow: 0 0 4px rgb(14 55 63 / 15%);
  padding: 3rem 1rem;
}

.about__container:last-child {
  margin-top: 6rem;
}

.about__description {
  font-family: var(--custom-font);
  font-size: var(--h3-font-size);
  display: flex;
  flex-direction: column;
  margin-left: 2.5rem;
  margin-right: 2.5rem;
}

.about__img {
  display: flex;
  column-gap: 1rem;
  align-items: center;
  justify-content: center;
}

.about__img-overlay {
  overflow: var(--img-hidden);
}

.about__img-two {
  width: 500px;
  transform: scale(0.9);
}

.about__img-two {
  transition: var(--img-transition);
}

.about__img-two:hover {
  transform: scale(1);
}

.history__container {
  row-gap: 0;
  margin-top: 6rem;
  border-radius: 10px;
  box-shadow: 0 0 4px rgb(14 55 63 / 15%);
}

.history__data {
  background-color: var(--white-color);
  padding: 4rem 6rem 0 6rem;
  font-family: var(--custom-font);
  font-size: var(--h2-font-size);
  text-align: justify;
}

.history__data::first-letter {
  color: var(--second-color);
  font-size: var(--biggest-font-size2);
  font-weight: var(--font-semi-bold);
  line-height: 0;
}

.subscribe__bg {
  background-color: var(--second-color);
  padding: 2.5rem 0;
  margin: auto 1rem;
}

.subscribe__title {
  font-family: var(--custom-font);
  text-transform: uppercase;
}

.subscribe__title {
  color: var(--white-color);
}

.subscribe__description {
  text-align: center;
  margin-bottom: var(--mb-2-5);
  background-color: #e7e7e7;
  color: var(--text-color);
  padding: 1rem 1.5rem;
  margin-inline-start: -1rem;
  margin-inline-end: -1rem;
  line-height: 1.3rem;
  font-size: var(--h2-font-size);
}

.subscribe__form {
  padding: 1rem;
  margin: 0 auto 1.5rem auto;
}

.subscribe__input {
  margin: 1rem 0;
  width: 100%;
  padding: 1rem;
  background-color: var(--input-color);
  color: var(--text-color);
}

.subscribe__input::placeholder {
  color: var(--text-color);
}

.subscribe__form .button, 
.subscribe__form .button:hover {
  margin-top: 0.5rem;
  float: right;
  background-color: #e7e7e7;
  color: var(--text-color);
  box-shadow: 0 0 4px rgb(14 55 63 / 15%);
  font-weight: 400;
}

.footer-list-title,
.footer-text { margin-block-end: 15px; }

.footer-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-block-start: 15px;
  text-transform: capitalize;
  text-align: start;
  font-size: 0.9rem;
}

.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -20%;
  background-color: #fd920e;
  padding: .5rem;
  display: flex;
  opacity: .9;
  z-index: var(--z-tooltip);
  transition: .4s;
}

.show-scroll {
  bottom: 5rem;
}

::-webkit-scrollbar {
  width: .60rem;
  background-color: var(--scroll-bar-color);
}

::-webkit-scrollbar-thumb {
  background-color: var(--scroll-thumb-color);
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--text-color-light);
}


.footer__tags {
  margin: 0 auto;
  grid-row-gap: 2rem;
  grid-template-columns: 1fr 1fr 1fr;
  grid-column-gap: 1rem;
}

.footer-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-block-start: 0.5rem;
}

.hide {
  display: none;
}

.mt-6 {
  margin-top: 6rem;
}

.pie-pagina {
  margin-top: 2rem;
  width: 100%;
  background-color: var(--white-color);
  box-shadow: 0 -3px 3px -3px rgba(14, 55, 63, 0.15);
}

.pie-pagina .footer-map {
  background-color: var(--body-color);
  width: 100%;
}

.footer-map .footer__map-img {
  width: 100%;
  height: 35vh;
  object-fit: cover;
  object-position: 47%;
}

.pie-pagina .grupo-1 {
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 1.25rem;
  padding: 1rem 0;
}

.pie-pagina .grupo-1 .box {
  padding: 2rem 1.5rem;
}

.pie-pagina .grupo-1 .box figure {  
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
}
.pie-pagina .grupo-1 .box figure img{
  width: 250px;
}
.pie-pagina .grupo-1 .box h2{
  color: var(--text-color);
  margin-bottom: 25px;
  font-size: 20px;
}

.pie-pagina .grupo-2{
  padding: 1.5rem 1rem;
  text-align: center;
  color: var(--text-color-light);
}
.pie-pagina .grupo-2 small{
  font-size: 1rem;
}



.whatsapp-btn {
  display: scroll;
  position: fixed;
  z-index: 1000;
  bottom: 48px;
  right: 24px;
  width: 70px;
}

.pie-pagina .grupo-1 .box:last-child li {
  text-align: start;
}

.history__img-one, .history__img-two {
  width: 100%;
}


.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1024px;
  row-gap: 1.5rem;
  margin-top: 3rem;
  background: var(--white-color);
  border-radius: 10px;
  box-shadow: 0 0 4px rgb(14 55 63 / 15%);
  padding: 3rem 1rem;
}

.card {
  width: 31%;
  margin-bottom: 2%;
  position: relative;
}

.card img {
  width: 100%;
  height: auto;
}

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 1rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.card:hover .card-overlay {
  transform: translateY(0%);
}

.card-overlay h3 {
  margin: 0;
  font-size: 1.2rem;
}

.card-overlay p {
  margin: 0;
  font-size: 0.8rem;
}

@media screen and (max-width: 700px) {
    .card {
      width: 100%;
    }
  }
  
@media screen and (max-width: 340px) {
  .home__info {
    width: 190px;
    padding: 1rem;
  }
}

@media screen and (max-width:420px){
  .pie-pagina .grupo-1 .box:last-child {
    padding-left: 15%;
    text-align: start;
  }
}

@media screen and (min-width: 568px) {
  .subscribe__form {
    width: 596px;
    padding: 0.5rem;
    margin: 0 auto 1.5rem auto;
  }
}

@media (min-width: 575px) {
  .container-2 {
    max-width: 540px;
    width: 100%;
    margin-inline: auto;
  }

  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media screen and (min-height: 721px) {
  body {
    margin: 0;
  }
}

@media screen and (max-width: 767px) {
  .nav__menu {
    position: fixed;
    background-color: var(--body-color);
    top: 0;
    right: -100%;
    width: 70%;
    height: 100%;
    box-shadow: -1px 0 4px rgba(14, 55, 63, 0.15);
    padding: 3rem;
    transition: .4s;
  }
}

@media screen and (max-width: 768px) {
  .history__data {
    padding: 4rem 1rem 0 1rem;
  }
  
  .about__data {
    padding-left: 5%;
    padding-right: 5%;
  }
  .subscribe__form {
    width: 100%;
    padding: 1.5rem;
  }
  .tags {
    text-align: center;
  }
  .footer__tags {
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 2rem;
  }
  .footer-list-item {
    align-items: center;
    text-align: center;
  }

  .card {
    width: 100%;
  }
}

@media screen and (min-width: 768px) {
  body {
    margin: 0;
  }
  .container-2 { max-width: 720px; }
  .nav {
    height: calc(var(--header-height) + 0.5rem);
  }
  .nav__link {
    color: var(--white-color);
    text-transform: initial;
  }
  .nav__link:hover {
    color: var(--white-color);
  }
  .nav__link2 {
    color: var(--white-color);
    text-transform: initial;
    display: unset;
  }
  .nav__link2:hover {
    color: var(--white-color);
  }

  .nav__link2 .icon {
    fill: var(--white-color);
  }
  
  .nav__link2 .icon:hover {
    fill: var(--white-color);
  }

  .nav__dark {
    position: initial;
  }
  .nav__menu {
    display: flex;
    column-gap: 1rem;
  }
  .nav__list {
    flex-direction: row;
    column-gap: 4rem;
  }
  .nav__icons, 
  .nav__toggle, 
  .nav__close {
    display: none;
  }
  .active-link::before {
    background-color: var(--white-color);
  }
  .scroll-header .nav__link {
    color: var(--text-color);
  }
  .scroll-header .nav__link2 {
    color: var(--text-color);
  }
  .scroll-header .nav__link2 .icon {
    fill: var(--text-color);
  }
  .scroll-header .active-link {
    color: var(--title-color);
  }
  .scroll-header .active-link::before {
    background-color: var(--title-color);
  }
  .section {
    padding: 4rem 0 2rem;
  }
  .about__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }
  
  .about__container:first-child {
    margin-top: 1rem;
  }
  .about__data, .about__title {
    text-align: initial;
  }
  .about__title {
    margin-bottom: var(--mb-1-5);
  }
  /* .history__data {
    padding: 2rem 1rem 0 1rem;
  } */
  .subscribe__bg {
    background: none;
    padding: 0;
  }
  .subscribe__container {
    background-color: var(--second-color);
    padding: 3.5rem 0;
    margin: auto;
    box-shadow: 0 0 5px rgb(14 55 63 / 15%);
  }
  /* .subscribe__input {
    padding: 0 .5rem;
  } */
  .footer__tags {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 2rem;
  }

  .footer__logo {
    width: 256px;
  }

  .footer__rights {
    flex-direction: row;
    justify-content: space-between;
  }

  .gallery{
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .gallery:first-child {
    margin-top: 1rem;
  }

}

@media screen and (max-width:800px){
  .pie-pagina .grupo-1{
      width: 90%;
      grid-template-columns: repeat(1, 1fr);
      grid-gap: 30px;
      padding: 35px 0px;
  }
  .pie-pagina .grupo-1 .box:not(:first-child) {
    padding-left: 27%;
  }

  .address-text p {
    text-align: justify;
  }
}

@media screen and (min-width: 920px) {
  .header:not(.scroll-header) .nav .nav__logo {
    margin-left: 0.5rem;
    margin-top: 2.5rem;
  }
  
  .header:not(.scroll-header) .nav .nav__logo img{
    width: 268px;
    height: 96px;
  }
}

@media screen and (min-width: 968px) {
  :root {
    --biggest-font-size: 4rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.4rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

@media (min-width: 992px) {
  .container-2 { max-width: 960px; }
  .footer-top { grid-template-columns: 1fr 0.5fr 0.5fr 0.75fr; }
}

@media screen and (min-width: 1024px) {
  .container {
    margin-left: auto;
    margin-right: auto;
  }
  .about__img-two {
    width: 480px;
  }
  .footer__content {
    justify-items: center;
  }
}

@media (min-width: 1200px) {
  .container-2 { max-width: 1200px; }

}

@media screen and (min-width: 1200px) {
  .container {
    max-width: 1024px;
  }
}



/* Estílos términos y condiciones */

.terminos_condiciones_h2{color:var(--accent);margin-top:16px}

.terminos_condiciones_p{-height:1.5;color:#243b53}
.terminos_condiciones_ul{-height:1.5;color:#243b53}
.terminos_condiciones_ul_card{background:#fff;border-radius:10px;padding:20px;box-shadow:0 8px 24px rgba(16,24,40,0.04)}
.terminos_condiciones_header{margin-top: 100px; background:#fff;border-bottom:1px solid #eef3fb;padding:22px 18px}
.terminos_condiciones_header h1{color:var(--accent);margin:0;font-size:24px}
.terminos_condiciones_header p{color:var(--muted);margin-top:6px}

.header_terminos_y_condiciones{
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  background-color: #fff;
  color: #000;
}

.active-link_terminos_y_condiciones {
  position: relative;
  color: #000;
}

.active-link_terminos_y_condiciones::before {
  content: '';
  position: absolute;
  background-color: var(--title-color);
  width: 100%;
  height: 2px;
  bottom: -.75rem;
  left: 0;
}

.nav__link_terminos_y_condiciones {
  font-family: var(--custom-font);
  color: #000;
  font-weight: var(--font-medium);
  font-size: var(--h3-font-size);
  text-transform: uppercase;
}

.nav__link_terminos_y_condiciones:hover {
  color: #000;
}


.nav__link2_terminos_y_condiciones {
  margin-left: 1rem;
  font-family: var(--custom-font);
  color: var(--text-color-light);
  font-weight: var(--font-medium);
  font-size: var(--h3-font-size);
  text-transform: uppercase;
  display: none;
}
