:root {
  --primary-font: "Grantha Sangam MN", sans-serif;
  --secondary-font: "Georgia", serif;
  --base-size-font: 16px;

  --primary-color: #1c2f44;
  --secondary-color: #706f6f;
  --tertiary-color: #dba843;
  --quaternary-color: #e4deca;

  --transition: all 0.4s ease;
  --custom-transition: all 0.6s cubic-bezier(0.645, 0.045, 0.355, 1);
  --box-shadow: 0px 2.589681386947632px 10.358725547790527px 0px #0000001f;

  --title: 2rem;
  --text-content-size: 1rem; /* Párrafos, textos de contenido */
}

body {
  font-family: var(--primary-font);
  font-size: var(--base-size-font);
  font-weight: 400;
  line-height: 1.2;
  margin: 0;
  color: var(--secondary-color);
  background-color: var(--primary-color);
}

h1,
h2,
h3 {
  font-family: var(--secondary-font);
  font-weight: 700;
}
h1,
h2,
h3 {
  line-height: 1;
}
h1 {
  font-size: var(--title-s);
}
h2 {
  font-size: var(--title);
  line-height: 2.4rem;
}
h3 {
  font-size: 1.6rem;
  line-height: 2rem;
}
p {
  margin-bottom: 20px;
  font-weight: 300;
  line-height: 1.4;
  font-size: var(--text-content-size);
}
@media screen and (min-width: 580px) {
}
@media screen and (min-width: 980px) {
  h1 {
    font-size: var(--title);
  }
}
@media screen and (min-width: 1280px) {
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.img-contain {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.d-flex {
  display: flex;
}
hr {
  height: 1px;
  background-color: var(--secondary-color);
}
/* --- Container --- */

.container {
  margin: 0 auto;
  width: 100%;
  position: relative;
  padding: 0 1.5rem;
}
@media screen and (min-width: 580px) {
}
@media screen and (min-width: 980px) {
  .container {
    width: 100%;
    padding: 0 6rem;
  }
}
@media screen and (min-width: 1280px) {
}

/* --- General --- */

.btn {
  position: relative;
  cursor: pointer;
  display: flex;
  width: fit-content;
  font-size: var(--text-content-size);
  color: #fff;
  transition: var(--transition);
}
.btn.-arrow {
  padding: 18px 25px 8px 90px;
  overflow: hidden;
  color: var(--primary-color);
}
.btn.-arrow::before,
.btn.-arrow::after {
  content: "";
  position: absolute;
  width: 73px;
  height: 11px;
  background-repeat: no-repeat;
  background-size: contain;
  top: 17px;
}
.btn.-arrow::before {
  background-image: url(../images/arrow-blue.svg);
  left: 0px;
  transition: var(--transition);
}
.btn.-arrow::after {
  background-image: url(../images/arrow-blue.svg);
  right: -80px;
  transition: var(--transition);
}
.btn.-arrow:hover {
  padding: 18px 90px 8px 25px;
}
.btn.-arrow:hover::before {
  left: -80px;
}
.btn.-arrow:hover::after {
  right: 0;
}
section {
  padding: 60px 0;
  background-color: #fff;
}
.title-section {
  flex-direction: column;
  height: auto;
  align-items: center;
  gap: 100px;
  padding: 50px 0 20px;
}
.title-section h2 {
  margin-bottom: 40px;
  color: var(--primary-color);
}

/*-------------------- Header ------------------*/
header {
  height: auto;
  font-weight: 400;
}
.header {
  width: 100%;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  transition: var(--transition);
  background-color: var(--primary-color);
}
.header__logo {
  align-items: center;
  position: relative;
}
.header__logo img {
  height: 80px;
  transition: var(--transition);
  width: auto;
}

@media screen and (min-width: 580px) {
  .header {
    padding: 0;
    transform: translateY(0px);
  }
}
@media screen and (min-width: 980px) {
}
@media screen and (min-width: 1280px) {
}

body:not(.home) .header {
  transform: translateY(0);
}

.header__inner {
  flex-direction: row;
  width: 100%;
  height: 100%;
}
.header__inner .col_header:nth-child(1) {
  width: 30%;
  background-color: var(--primary-color);
  height: auto;
  padding-left: 1.5rem;
  transition: var(--transition);
}
.header__inner .col_header:nth-child(2) {
  width: 70%;
  flex-direction: column;
  height: auto;
  transition: var(--transition);
}
.content-header {
  background-color: var(--secondary-color);
  height: 90px;
  justify-content: end;
  gap: 50px;
  padding: 0 1.5rem 0 1.5rem;
  transition: var(--transition);
  align-items: center;
}

.img-intern {
  background: transparent;
  display: none;
}
.redes_header {
  flex-direction: row;
  gap: 15px;
  align-items: center;
}
.redes_header img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}
.item-header:nth-child(1) {
  display: none;
}
.header.activeFixed {
  position: fixed !important;
  height: 80px;
  transform: translateY(0);
  box-shadow: var(--box-shadow);
}
.header.activeFixed .img-intern {
  display: none;
}
.header.activeFixed .content-header {
  height: 80px;
}

.header.activeFixed .header__inner .col_header:nth-child(1) {
  height: 100%;
}
.header.activeFixed .header__logo img {
  height: 70px;
}
#intern-title {
  height: 55px;
  width: 100%;
  background-color: var(--primary-color);
  margin-top: 90px;
  padding: 0;
  position: relative;
}
#intern-title > div:nth-child(1){
  width: 20%;
  display: none;
}
.img-intern-title {
  width: 55%;
  overflow: hidden;
  height: 100%;
  display: none;
}
.title-intern-title {
  width: 100%;
  background-color: var(--primary-color);
  color: #fff;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--secondary-font);
  font-size: 1.3rem;
  font-weight: 400;
}

.container-logo {
  position: absolute;
  z-index: 99;
  width: 130px;
  height: 90px;
  top: 0;
  display: flex;
  align-items: center;
  transition: var(--transition);
}
.header.activeFixed .container-logo{
  height: 80px;
}
@media screen and (min-width: 580px) {
  .container-logo {
    height: 144px;
  }
}
@media screen and (min-width: 980px) {
  .header__logo img {
    height: 75%;
}
.img-intern-title {
  display: flex;
}
.title-intern-title {
  width: 25%;
  background-color: var(--secondary-color);
}
#intern-title > div:nth-child(1){
  display: flex;
}

  .item-header:nth-child(1) {
    display: flex;
    height: 100%;
  }
  .header__inner .col_header:nth-child(1) {
    width: 40%;
    padding-left: 6rem;
    height: 90px;
  }  
  .img-intern {
    display: flex;
    overflow: hidden;
    height: 50%;
  }
  .header__inner .col_header:nth-child(2) {
    height: 90px;
    width: 60%;
  }
      .content-header {
        justify-content: space-between;
        gap: 50px;
        padding: 0 6rem 0 5rem;
    }
  .intern-page .content-header {
    justify-content: space-between;
    gap: 5px;
    padding: 0 6rem 0 3rem;
}
  .intern-page .header__inner .col_header:nth-child(1){
    width: 45%;
  }
  .intern-page .header__inner .col_header:nth-child(2) {
    width: 55%;
  }
}
@media screen and (min-width: 1280px) {
}
.item-header .menu {
  display: flex;
  align-items: center;
  gap: 5px;
 height: 100%;
}
.item-header .menu li {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
.item-header .menu li > a {
  color: #fff;
  padding: 20px 25px 10px;
  transition: var(--transition);
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

.item-header .menu li.current-menu-item > a,
.item-header .menu li > a:hover {
  background-color: var(--primary-color);
}
.item-header .menu li.current-menu-item > a::before {
  content: "";
  position: absolute;
  height: 4px;
  width: 100%;
  background-color: var(--tertiary-color);
  top: 0;
  left: 0;
}
.item-header .menu li.current-menu-item {
  position: relative;
}
.menu li.page-scroll > a{
	background-color: transparent!important;
}
.menu li.page-scroll > a::before{
	display: none!important;
}
.item-header .menu li.page-scroll > a:hover {
  background-color: var(--primary-color)!important;
}
.header__toggle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 10px;
}

.header__toggle img {
  width: 100%;
}

.header__button {
  margin: 0;
  font-size: var(--base-size-font);
  padding: 8px;
  width: 100px;
  text-align: center;
}
.header__main {
  display: none;
  padding: 5px 13px 5px 20px;
  flex: 8;
  align-items: center;

  transition: var(--transition);
}

.header.activeFixed .header__main {
  padding: 5px 8px 5px 12px;
}
.logo-mobile,
.header__toggle {
  display: flex;
}
.logo-mobile {
  justify-content: center;
}
.logo-mobile a {
  width: 110px;
}
.item-header:nth-child(4) {
  justify-content: flex-end;
}

@media screen and (min-width: 580px) {
}
@media screen and (min-width: 980px) {
  #title-intern {
    font-size: var(--title-s);
  }
  .header__main {
    display: flex;
  }
  .logo-mobile,
  .header__toggle {
    display: none;
  }
}
@media screen and (min-width: 1280px) {
}

/* --- Footer -------------------------------- */

.footer-wrapper {
  flex-direction: column;
  gap: 15px;
}

.content-logo-footer {
  width: 100%;
  position: relative;
  padding-top: 50px;
}
.logo-footer {
  position: relative;
  width: 100%;
  height: 235px;
  justify-content: center;
  align-items: center;
}

.content-logo-footer img {
  width: 170px;
  height: auto;
}
.inner-footer {
  flex: 1;
  color: #fff;
  justify-content: flex-end;
  flex-direction: column;
}
.copyright {
  border-top: 1px solid #fff;
  padding: 30px 0 20px;
  gap: 4px;
  font-size: var(--text-content-size);
  flex-direction: column;
  text-align: center;
  align-items: center;
}
.copyright span {
  display: none;
}
.copyright img {
  width: 23px;
  margin: -12px 0 0 3px;
}
.redes_footer {
  flex-direction: row;
  gap: 15px;
  align-items: center;
}
.redes_footer img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}
.content-footer {
  width: 100%;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0;
  flex-direction: column;
  gap: 40px;
}
.menu-footer {
  display: flex;
  gap: 10px;
  flex-direction: column;
}
.menu-footer li > a {
  color: #fff;
      padding: 7px 0 0;
  transition: var(--transition);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.menu-footer li.current-menu-item > a,
.menu-footer li > a:hover {
  color: var(--tertiary-color);
}
.menu-footer li.page-scroll > a{
	color:#fff!important;
}
.menu-footer li.page-scroll > a:hover {
  color: var(--tertiary-color)!important;
}
.item-footer h3{
	font-size: var(--base-size-font);
	color: var(--tertiary-color);
	font-family: var(--primary-font);
	margin-bottom:0;
	font-weight: 400;
}
.item-footer{
	text-align: center;
}
@media screen and (min-width: 580px) {
  .footer-wrapper {
    flex-direction: row;
  }
  .menu-footer {
    flex-direction: column;
    gap: 10px;
  }

  .content-footer {
    flex-direction: row;
    gap: 0;
	  align-items: flex-start;
  }

  .content-logo-footer {
    width: 198px;
  }
  .content-logo-footer img {
    width: 125px;
    height: 125px;
  }
  .logo-footer {
    position: absolute;
    width: 198px;
    height: 235px;
    bottom: 0;
    background-color: var(--secondary-color);
  }

  .footer-wrapper {
    gap: 35px;
  }
  .copyright {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
  }
  .copyright span {
    display: flex;
  }
	.menu-footer li > a {
  justify-content: flex-start;
}
	.item-footer{
	text-align: left;
}
}
@media screen and (min-width: 980px) {
  .menu-footer {
    gap: 0px;
  }
  .footer-wrapper {
    gap: 100px;
  }
  .content-logo-footer {
    padding-top: 0;
  }
}
@media screen and (min-width: 1280px) {
}

/**
*	SIDEBAR MENU
*	=======================================================================================================
**/
.sidebarIconToggle {
  transition: all 0.3s;
  box-sizing: border-box;
  cursor: pointer;
  z-index: 99;
  height: 100%;
  width: 100%;
  top: 22px;
  left: 15px;
  height: 16px;
  width: 22px;
}
.spinner {
  transition: all 0.3s;
  box-sizing: border-box;
  position: absolute;
  height: 3px;
  width: 100%;
  background-color: #fff;
}
.horizontal {
  transition: all 0.3s;
  box-sizing: border-box;
  position: relative;
  float: left;
  margin-top: 3px;
}
.diagonal.part-1 {
  position: relative;
  transition: all 0.3s;
  box-sizing: border-box;
  float: left;
}
.diagonal.part-2 {
  transition: all 0.3s;
  box-sizing: border-box;
  position: relative;
  float: left;
  margin-top: 3px;
}
#overlay {
  width: 100%;
  height: 100vh;
  background-color: var(--secondary-color);
  opacity: 0.5;
  position: fixed;
  transition: right 0.5s ease;
  top: 0;
  right: -100%;
  z-index: 99999;
}
#overlay.active {
  right: 0;
}

#sidebar {
  height: 100vh;
  width: 90%;
  max-width: 1120px;
  background-color: var(--primary-color);
  padding-top: 100px;
  position: fixed;
  overflow: hidden;
  transition: right 0.5s ease;
  right: -100%;
  top: 0;
  z-index: 999999;
}
#sidebar.active {
  right: 0; /* Mueve el div dentro de la pantalla */
}
#sidebar .container {
  height: 100%;
}
#sidebar .logo {
  width: 100%;
  max-width: 150px;
}
#sidebar .menu-sidebar {
  border-top: 1px solid var(--quaternary-color);
  padding: 20px 0 20px 0;
  border-bottom: 1px solid var(--quaternary-color);
}
#sidebar .menu-sidebar li a {
  font-size: 1.5rem;
  margin-bottom: 10px;
  display: flex;
  color: #fff;
  padding: 25px 25px 10px;
  transition: var(--transition);
  position: relative;
}
#sidebar .menu-sidebar li.current-menu-item a,
#sidebar .menu-sidebar li:hover a {
  color: #fff;
  background-color: var(--secondary-color);
}



.menu-sidebar li.page-scroll > a{
	background-color: transparent!important;
}
.menu-sidebar li.page-scroll > a:hover {
  background-color: var(--secondary-color)!important;
}


.sidebar-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0 20px;
  align-items: center;
}

.sidebar-wrapper .row {
  flex-direction: column;
  gap: 65px;
  width: 100%;
}
.sidebar-wrapper .col-50 {
  width: 100%;
}
.content-sidebar {
  padding: 40px 0;
  gap: 20px;
  align-items: start;
  width: max-content;
  position: relative;
}
.redes-sidebar {
  flex-direction: row;
  gap: 12px;
}
.redes-sidebar img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

@media screen and (min-width: 580px) {
}
@media screen and (min-width: 980px) {
  #sidebar {
    width: 80%;
  }
  .sidebar-wrapper {
    padding: 0;
  }
  .sidebar-wrapper .row {
    flex-direction: row;
  }
  .sidebar-wrapper .col-50 {
    width: 50%;
  }
  .content-sidebar {
    align-items: end;
    gap: 0;
  }
}
@media screen and (min-width: 1280px) {
}

#close-btn {
  position: absolute;
  padding: 10px;
  top: -60px;
  right: 35px;
  background: transparent;
}
#close-btn img {
  width: 18px;
}

/**
*	INTERNAS
*	=======================================================================================================
**/

@media screen and (min-width: 580px) {
}
@media screen and (min-width: 980px) {

}
@media screen and (min-width: 1280px) {
}

/**
*	HOME
*	=======================================================================================================
**/
/* --- Welcome -------------------------------- */
#welcome {
  flex-direction: column-reverse;
  margin-top: 88px;
  padding: 0;
}

.welcome__col-txt {
  width: 100%;
  height: auto;
  background-color: var(--primary-color);
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 40px;
}
.welcome__col-img {
  width: 100%;
  flex-direction: column;
  justify-content: center;
}
#slider-welcome-img {
  height: 300px;
}
#slider-welcome-img img{
	height:105%!important;
	object-fit: cover!important;
}
#slider-welcome-img .slick-slide {
  height: 300px;
}
#slider-welcome-txt .slick-track{
	display: flex;
    align-items: center;
}
#slider-welcome-txt {
  padding: 2.8rem 1.5rem;
}
#slider-welcome-txt h1,
#slider-welcome-txt h2 {
  border-bottom: 1px solid var(--secondary-color);
  border-top: 1px solid var(--secondary-color);
  padding: 30px 0;
  margin-bottom: 20px;
  transition: var(--transition);
  color: #fff;
  font-size: var(--title);
  line-height: 2.3rem;
}
#slider-welcome-txt h1 strong,
#slider-welcome-txt h2 strong {
  color: var(--secondary-color);
}
.btns-slider-txt {
  flex-direction: row;
  justify-content: flex-end;
}
.btns-slider-txt button {
  padding: 20px;
  background-color: var(--tertiary-color);
  width: 50%;
  height: 75px;
  border-left: 1px solid var(--primary-color);
  transition: var(--transition);
}
.btns-slider-txt button:hover {
  background-color: var(--secondary-color);
}
.btns-slider-txt button img {
  width: 18px;
}
@media screen and (min-width: 580px) {
  #slider-welcome-img {
    height: 400px;
  }
  #slider-welcome-img .slick-slide {
    height: 400px;
  }
  #welcome {
    flex-direction: row;
  }
  .welcome__col-txt {
    width: 50%;
  }
  .welcome__col-txt {
    height: 400px;
    padding-top: 0;
  }
  .welcome__col-img {
    width: 50%;
  }
  #slider-welcome-txt {
    padding: 1.5rem;
  }
  .btns-slider-txt button {
    width: 109px;
  }
}
@media screen and (min-width: 980px) {
  #slider-welcome-img {
    height: 482px;
  }
  #slider-welcome-img .slick-slide {
    height: 482px;
  }
  #slider-welcome-txt {
    padding: 0px 60px 0px 90px;
  }
  .welcome__col-txt {
    width: 40%;
    height: 482px;
  }
  .welcome__col-img {
    width: 60%;
  }
}
@media screen and (min-width: 1280px) {
}

/* --- Presentación -------------------------------- */
#presentation-home {
  min-height: 270px;
  padding: 0;
}
.presentation-home__col {
  width: 15%;
  background-color: var(--primary-color);
}

.presentation-home__content {
  width: 85%;
  padding: 70px 40px 50px;
  flex-direction: column;
  justify-content: center;
}
.presentation-home__content h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
}
@media screen and (min-width: 580px) {
}
@media screen and (min-width: 980px) {
  .presentation-home__col {
    width: 40%;
  }
  .presentation-home__content {
    width: 60%;
    padding: 60px;
  }
}
@media screen and (min-width: 1280px) {
}

/* --- Conócenos -------------------------------- */
#conocenos-home {
  flex-direction: column;
  height: auto;
  padding: 0;
  overflow: hidden;
}
.conocenos-home__img {
  width: 100%;
}
.conocenos-home__content {
  width: 100%;
  background-color: var(--tertiary-color);
  padding: 4rem 1.5rem;
  color: #fff;
  flex-direction: column;
  justify-content: center;
}
.conocenos-home__content h2 {
  border-bottom: 1px solid #fff;
  border-top: 1px solid #fff;
  padding: 30px 0;
  margin-bottom: 20px;
  transition: var(--transition);
}

@media screen and (min-width: 580px) {
}
@media screen and (min-width: 980px) {
  #conocenos-home {
    flex-direction: row;
    height: 481px;
  }
  .conocenos-home__img {
    width: 60%;
  }
  .conocenos-home__content {
    width: 40%;
    padding: 20px 60px;
  }
  .conocenos-home__content:hover h2 {
    padding: 40px 0;
  }
}
@media screen and (min-width: 1280px) {
}

/* --- Servicios -------------------------------- */

#services-home{
  overflow: hidden;
}
#services-home h2{
	margin-bottom: 0;
}
.content-title {
  width: 100%;
}
.line {
  display: none;
  width: 40%;

}
.services-home__grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
}
.services-home__grid .item-service {
  padding: 50px;
  color: #fff;
  background-color: var(--primary-color);
  min-height: 300px;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}
.services-home__grid .item-service:nth-child(1),
.services-home__grid .item-service:nth-child(6) {
  background-color: var(--secondary-color);
}
.services-home__grid .item-service:nth-child(4) {
  display: none;
}
.services-home__grid .item-service:nth-child(1):hover,
.services-home__grid .item-service:nth-child(2):hover,
.services-home__grid .item-service:nth-child(3):hover,
.services-home__grid .item-service:nth-child(5):hover,
.services-home__grid .item-service:nth-child(6):hover,
.services-home__grid .item-service:nth-child(7):hover,
.services-home__grid .item-service:nth-child(8):hover {
  background-color: var(--tertiary-color);
}
.services-home__grid .item-service:nth-child(3),
.services-home__grid .item-service:nth-child(8) {
  background-color: var(--quaternary-color);
  color: var(--primary-color);
}
.services-home__grid .item-service.-img {
  padding: 0;
}
.services-home__grid .item-service .btn-arrow {
  width: 74px;
  transition: var(--transition);
}
.services-home__grid .item-service:hover .btn-arrow {
  transform: translateX(10px);
}

@media screen and (min-width: 580px) {
  .services-home__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-home__grid .item-service:nth-child(4) {
    display: flex;
  }
}
@media screen and (min-width: 980px) {
  .title-section {
    flex-direction: row;
    height: 290px;
    padding: 0;
  }
  .content-title {
    width: 60%;
  }
  .services-home__grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .services-home__grid .item-service {
    height: 320px;
  }
  .line {
    display: inline-block;
  }
}
@media screen and (min-width: 1280px) {
}

/**
*	NOSOTROS
*	=======================================================================================================
**/
.row-about-us {
  text-align: justify;
  padding: 0;
	overflow: hidden;
}
.row-about-us__col {
  flex-direction: column;
  justify-content: center;
  height: auto;
}
.row-about-us__col h1 {
  color: var(--primary-color);
  margin-bottom: 40px;
}
.row-about-us__col p:last-child {
  margin-bottom: 0;
}
main .row-about-us:nth-child(1) {
  flex-direction: column;
}
main .row-about-us:nth-child(2) {
  flex-direction: column-reverse;
}
main .row-about-us:nth-child(3) {
  flex-direction: column;
}
main .row-about-us:nth-child(1) .row-about-us__col:nth-child(1) {
  width: 100%;
}
main .row-about-us:nth-child(1) .row-about-us__col:nth-child(2) {
  width: 100%;
  padding: 40px 1.5rem 60px;
  background-color: #fff;
}
main .row-about-us:nth-child(2) .row-about-us__col:nth-child(1) {
  width: 100%;
  padding: 40px 1.5rem 60px;
  background-color: var(--quaternary-color);
}
main .row-about-us:nth-child(2) .row-about-us__col:nth-child(2) {
  width: 100%;
}
main .row-about-us:nth-child(3) .row-about-us__col:nth-child(1) {
  width: 100%;
}
main .row-about-us:nth-child(3) .row-about-us__col:nth-child(2) {
  width: 100%;
  padding: 40px 1.5rem 60px;
  background-color: var(--tertiary-color);
  color: #fff;
}
#team-about-us {
  padding-bottom: 100px;
}
#team-about-us .title-section h2 {
    margin-bottom: 0px;
}
.grid-team {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 15px;
}
.item-grid-team {
  flex-direction: column;
  color: var(--primary-color);
}
.img-team {
  height: 220px;
	overflow: hidden;
}
.item-grid-team h3 {
  font-size: var(--text-content-size);
  margin-top: 15px;
  line-height: 1.3rem;
  margin-bottom: 10px;
}
.item-grid-team img{
	transition: var(--transition);
}
.item-grid-team:hover img{
	transform: scale(1.1);
}
.card-team{
	cursor:pointer;
}
@media screen and (min-width: 580px) {
}
@media screen and (min-width: 980px) {
  main .row-about-us:nth-child(1),
  main .row-about-us:nth-child(2),
  main .row-about-us:nth-child(3) {
    flex-direction: row;
  }
  .row-about-us__col {
    height: 500px;
  }
  main .row-about-us:nth-child(1) .row-about-us__col:nth-child(1) {
    width: 45%;
  }
  main .row-about-us:nth-child(1) .row-about-us__col:nth-child(2) {
    width: 55%;
    padding: 70px 6rem 70px 70px;
  }
  main .row-about-us:nth-child(2) .row-about-us__col:nth-child(1) {
    width: 55%;
    padding: 70px 70px 70px 6rem;
  }
  main .row-about-us:nth-child(2) .row-about-us__col:nth-child(2) {
    width: 45%;
  }
  main .row-about-us:nth-child(3) .row-about-us__col:nth-child(1) {
    width: 45%;
  }
  main .row-about-us:nth-child(3) .row-about-us__col:nth-child(2) {
    width: 55%;
    padding: 70px 6rem 70px 70px;
  }
  .grid-team {
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 35px;
  }
  .img-team {
    height: 313px;
  }
}
@media screen and (min-width: 1280px) {
}


/**
*	CONTÁCTANOS
*	=======================================================================================================
**/
.row-contact{
  flex-direction: column;
  padding: 0;
}

.row-contact__col {
  height: auto;
  justify-content: center;
  min-height: 300px;
}
.row-contact:nth-child(1) .row-contact__col:nth-child(1){
  width: 100%;
}
.row-contact:nth-child(1) .row-contact__col:nth-child(2){
  width: 100%;
  padding: 70px 6rem 70px 70px;
  flex-direction: column;
}

.row-contact:nth-child(2) .row-contact__col:nth-child(1) {
  width: 100%;
  padding: 70px 2rem;
  text-align: center;
  flex-direction: column;
  background-color: var(--tertiary-color);
}
.row-contact:nth-child(2) .row-contact__col:nth-child(2){
  width: 100%;
  height: 300px;
}
.row-contact__col h1 {
  color: var(--primary-color);
  margin-bottom: 40px;
}
.row-contact:nth-child(2) .row-contact__col h2 {
  color: var(--primary-color);
}
.row-contact:nth-child(2) .row-contact__col h2 span{
  color: #fff;
}
.grid-datos{
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap:40px;
}
.item-grid-datos{
  flex-direction: column;
}
.item-grid-datos h3 {
  font-family: var(--primary-font);
  color: var(--primary-color);
  font-size: var(--text-content-size);
  font-weight: 700;
}
.datos__redes{
  flex-direction: row;
  gap: 8px;
}
.datos__redes img{
  width: 18px;
    height: 18px;
    object-fit: contain;
}
.row-contact__col iframe{
  width: 100%;
  height: 100%;
}
.row-contact__col h2 {
  border-bottom: 1px solid #fff;
  border-top: 1px solid #fff;
  padding: 30px 0;
  margin-bottom: 20px;
  transition: var(--transition);
}

@media screen and (min-width: 580px) {
}
@media screen and (min-width: 980px) {
  .row-contact__col:hover h2 {
    padding: 40px 0;
  }
  .row-contact__col {
    height: 500px;
  }
  .row-contact{
    flex-direction: row;
  }
  .row-contact:nth-child(1) .row-contact__col:nth-child(1){
    width: 55%;
  }
  .row-contact:nth-child(1) .row-contact__col:nth-child(2){
    width: 45%;
  }  
  .row-contact:nth-child(2) .row-contact__col:nth-child(1){
    width: 45%;
    padding: 70px 6rem 70px 70px;
    text-align: left;
  }
  .row-contact:nth-child(2) .row-contact__col:nth-child(2){
    width: 55%;
    height: 500px;
  }
}
@media screen and (min-width: 1280px) {
}


/**
*	ÁREA
*	=======================================================================================================
**/
.row-area{
  flex-direction: column;
  padding: 0;
}
.row-area .row-area__col{
  height: auto;
  flex-direction: column;
}
.row-area .row-area__col:nth-child(1){
  width: 100%;
}
.row-area .row-area__col:nth-child(2){
  width: 100%;
  padding: 40px 1.5rem 70px;
  justify-content: center;
}
.row-area__col h1 {
  color: var(--primary-color);
  margin-bottom: 40px;
}
.row-area__col p:last-child {
  margin-bottom: 0;
}
#area-description{
  background-color: var(--quaternary-color);
  justify-content: center;
}

.area-description-wrapper {
  padding: 0 1.5rem;
  width: 100%;
  text-align: justify;
}
.area-description-wrapper p:last-child {
  margin-bottom: 0;
}
@media screen and (min-width: 580px) {
  .row-area{
    flex-direction: row;
  }
  .row-area .row-area__col:nth-child(1){
    width: 55%;
  }
  .row-area .row-area__col:nth-child(2){
    width: 45%;
    padding: 40px 3rem 40px;
  }
  .row-area .row-area__col{
    height: 350px;
  }
  .area-description-wrapper{
    padding: 50px 0;
    width: 550px;
  }
}
@media screen and (min-width: 980px) {
  .row-area .row-area__col:nth-child(2){
    width: 45%;
    padding: 70px 6rem 70px 70px;
  }
  
}
@media screen and (min-width: 1280px) {
}



/* -------------- --------------------- */
/* -------------- LOADER ---------------*/
/* -------------- --------------------- */

/* LOADER OVERLAY */

.loader-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
	 opacity: 1;
	transition: var(--transition);
}
.loader-wrap.active{
    animation: 2000ms ease 300ms 1 normal both running fade-in;
}

.loader-wrap.hide{
    display:none;
}
.box {
  width: 140px;
  height: 140px;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  margin: auto;
}
@keyframes fade-in {
    0% {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}
.top {
  position: absolute;
  height: 3px;
  top: -3px;
  background-color: var(--secondary-color); 
  animation: 1.2s loadtop linear forwards;
}

.right {
  width: 3px;
  height: 0;
  background-color: var(--secondary-color); 
  position: absolute;
  top: 0;
  right: -3px;
  animation: 1.2s 1.2s loadright linear forwards;
}

.bottom {
  position: absolute;
  background-color: var(--secondary-color); 
  width: 0;
  height: 3px;
  bottom: -3px;
  right: 0;
  animation: 1.2s 2.4s loadbottom linear forwards;
}

.left {
  position: absolute;
  width: 3px;
  height: 0;
  bottom: 0;
  left: -3px;
  background-color: var(--secondary-color); 
  animation: 1.2s 3.6s loadleft linear forwards;
}
.logo-loader {
    width: 100px;
    height: 100px;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	animation: fade 3s linear infinite;
}


@keyframes loadtop {
  0% {
    width: 0;
  }
  100% {
    width: 143px; 
  }
}

@keyframes loadright {
  0% {
    height: 0;
  }
  100% {
    height: 143px; /* 100px + 3px */
  }
}

@keyframes loadbottom {
  0% {
    width: 0;
  }
  100% {
    width: 143px; /* 100px + 3px */
  }
}

@keyframes loadleft {
  0% {
    height: 0;
  }
  100% {
    height: 143px; /* 100px + 3px */
  }
}
@keyframes fade {
  0% {
    opacity: 0;
  }
	50% {
		opacity: 1;
	}
  100% {
    opacity: 0;
  }
}


/* Modal styles */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
      z-index: 99999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.modal-content {
    background: var(--tertiary-color);
    padding: 0;
    text-align: center;
    position: relative;
    width: 90%;
    max-width: 763px;
    align-items: center;
	flex-direction: column
}
.modal-content > div:nth-child(1) {
    width: 228px;
    background-color: var(--tertiary-color);
    position: relative;
	height: 100%;
}

.modal-content > div:nth-child(2) {
    background-color: var(--primary-color);
    color: #fff;
    padding: 150px 30px 30px;
    flex: 1;
    text-align: justify;
}
.modal-content p{
	font-size:.9rem;
}
.modal-content h3{
	text-align: left;
}
.modal-content > div:nth-child(2) span{
	font-family: var(--secondary-font);
    color: var(--secondary-color);
    font-weight: 400;
    padding-bottom: 20px;
    display: flex;
    border-bottom: 1px solid #fff;
    margin-bottom: 25px;
	font-size: 1.3rem;
}
.modal-content img {
    height: auto;
    position: absolute;
    left: 0px;
    width: 200px;
    transform: translateY(-50%);
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    cursor: pointer;
    background-color: var(--tertiary-color);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--secondary-font);
    color: var(--primary-color);
}
@media screen and (min-width: 580px) {
}
@media screen and (min-width: 980px) {
	.modal-content {
		flex-direction: row;
		width: 80%;
	}
	.modal-content > div:nth-child(2) {
		padding: 45px 60px 30px 80px;
	}
	.modal-content img {
		left: -20px;
		width: 274px;
	}
}
@media screen and (min-width: 1280px) {
}
