:root {
  --primary: #1a8b2c;
}
body, html {
  margin: 0;
  padding: 0;
  position: relative;
  background-color: #000000;
  width: 100%;
}
body {
  background: url("../img/layout/background.png") no-repeat center center #000000;
  background-size: cover;
    background-attachment: fixed;
  font-size: 12px;
  font-family: "Tw Cen MT", "Tw Cen MT Condensed", "Century Gothic", Arial, sans-serif;
  padding-top: 6em;
  box-sizing: border-box;
}
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 0;
  background-color: #00000044;
}
a, a:visited, a:active, a:focus {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: all ease-out 0.15s;
}
div {
  position: relative;
}
img {
  max-width: 100%;
  max-height: 100%;
}
header {
  position: fixed;
  top: 1em;
  left: 0;
  width: 100%;
  display: flex !important;
  color: #ffffff;
  box-sizing: border-box;
  padding: 0 3em;
  z-index: 10;
  visibility: visible !important;
  opacity: 1 !important;
}
.logo {
  flex-grow: 0;
  height: 4em;
  width: 230px;
  text-align: left;
  flex-shrink: 1;
  white-space: nowrap;
}
.logo img {
  vertical-align: middle;
}
.header_nav {
  flex-grow: 1;
  flex-shrink: 0;
  display: flex !important;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border-radius: 60px;
  height: 3.5em;
  align-items: flex-end;
  box-sizing: content-box;
  padding: 0.35em;
  padding-bottom: 0.5em;
  flex-basis: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  visibility: visible !important;
  opacity: 1 !important;
}
.header_nav:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}
.header_nav a {
  flex-grow: 1;
  text-align: center;
  display: inline-block;
  border-radius: 60px;
  line-height: 2.8em;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
  font-size: 1.1em;
  letter-spacing: 0.03em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 1;
  padding-bottom: 0.2em;
}
.header_nav a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}
.header_nav a:hover {
  color: #ffffff;
  transform: translateY(-1px);
}
.header_nav a:hover::before {
  width: 200%;
  height: 200%;
}
.header_nav a.current {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.header_nav a.current::before {
  display: none;
}
.header_button_row {
  flex-basis: 15%;
  text-align: right;
  display: flex;
  justify-content: flex-end;
  border-radius: 3em;
  height: 3.5em;
  align-items: stretch;
  box-sizing: content-box;
  padding: 0;
}
.header_button_row a {
  position: relative;
  padding: 0 0.5em 0 2em;
  display: inline-block;
  box-sizing: border-box;
  border-radius: 3em;
  background-color: #ffffff33;
  height: 3.5em;
  line-height: 3.5em;
}
.header_button_row a span {
  vertical-align: middle;
  height: 2.8em;
  width: 2.8em;
  display: inline-flex;
  text-align: center;
  box-sizing: border-box;
  background-color: var(--primary);
  border-radius: 2em;
  justify-content: center;
  align-items: center;
  margin-left: 0.5em;
}
.header_button_row a span img {
  height: 60%;
  display: inline-block;
}
.menu_btn {
  display: none;
}
footer {
  position: relative;
  width: 100%;
  height: 5em;
  padding: 0.75em 0;
  box-sizing: border-box;
  overflow: hidden;
  margin-top: 1rem;
}
footer .footer_background {
  filter: blur(4px);
  -webkit-filter: blur(4px);
  position: absolute;
  top: -4px;
  left: -4px;
  width: calc(100% + 8px);
  height: calc(100% + 8px);
  background-color: #ffffffaa;
}
.logo_row {
  display: flex;
  height: 100%;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: nowrap;
  gap: 2.5em;
  position: relative;
  z-index: 1;
  width: max-content;
  animation: scrollLogos 30s linear infinite;
  padding: 0;
  will-change: transform;
}
@keyframes scrollLogos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.logo_row:hover {
  animation-play-state: paused;
}
.logo_box {
  flex: 0 0 auto;
  position: relative;
  text-align: center;
  height: 100%;
  padding: 0.5em 1em;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.logo_box img {
  max-height: 80%;
  max-width: 140px;
  min-width: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: all 0.4s ease;
}
main.home_main {
  position: relative;
  width: 100%;
  color: #ffffff;
  display: block;
}
.home_text {
  height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.home_text .jumbo_text {
  text-align: center;
  margin: 0 15%;
  font-size: clamp(1.8em, 3.5vw, 3.5em);
  flex-grow: 0;
  align-self: center;
  line-height: 1.4;
  font-weight: 600;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  color: #ffffff;
  max-width: 970px;
}
.home_text p {
  margin: 0 auto;
  display: block;
  flex-grow: 0;
  font-size: 1.2em;
  padding: 1em;
  text-align: center;
}
.home_carousel {
  height: 38vh;
  position: relative;
  text-align: center;
  overflow: hidden;
  width: 100%;
}
.carousel_nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  z-index: 2;
}
.carnav {
  position: absolute;
  top: 50%;
  background-color: transparent;
  border-style: solid;
  border-color: #ffffff;
  width: 3em;
  height: 3em;
  z-index: 2;
}
.carnav.carnav_left {
  left: 2em;
  transform: rotate(45deg);
  border-width: 0 0 3px 3px;
}
.carnav.carnav_right {
  right: 2em;
  transform: rotate(-45deg);
  border-width: 0 3px 3px 0;
}
.home_carousel_content {
  height: 100%;
  position: relative;
  text-align: center;
  display: flex;
  align-items: flex-end;
  white-space: nowrap;
  z-index: 1;
  -webkit-user-select: none; /* Safari */
  user-select: none;
  transform: translateX(calc(-1 * (19vh - (100vw / 14))));
}
.carousel_item {
  height: 80%;
  max-height: 100%;
  width: calc(100% / 7);
  display: inline-block;
  position: relative;
  overflow: hidden;
  vertical-align: bottom;
  flex-shrink: 0;
  flex-grow: 0;
  cursor: pointer;
}
/* Asegurar que todas las imágenes tengan el mismo tamaño */
.carousel_item:not(:nth-child(4)) .carousel_item_image {
  height: 100%;
  width: 100%;
}
.carousel_item {
  transition: all ease-out 0.15s;
}
.carousel_item_image {
  height: 100%;
  width: 100%;
  box-sizing: border-box;
  padding: 0.5em;
  transition: all ease-out 0.15s;
}
.carousel_item_image img {
  min-height: 100%;
  min-width: 100%;
  object-fit: cover;
  border-radius: 1em;
  transition: all ease-out 0.15s;
  webkit-touch-callout: none !important;
  -webkit-user-select: none !important;
  -webkit-user-drag: none !important;
  -khtml-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  user-drag: none;
}
.carousel_item:not(:nth-child(4)) .carousel_item_image img {
  opacity: 0.7;
}
.carousel_item:nth-child(4) {
  height: 100%;
  width: 38vh;
  display: flex;
  flex-direction: column;
}
.carousel_item:nth-child(4) .carousel_item_image {
  height: 66.66%;
  flex-grow: 1;
  flex-shrink: 1;
  padding-bottom: 0;
}
.carousel_item:nth-child(4) .carousel_item_image img {
  border-radius: 1em 1em 0 0;
}
.carousel_item_info {
  padding: 0 0.5em 0.5em 0.5em;
  white-space: normal;
  text-align: left;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  flex-shrink: 0;
  height: 33.33%;
  transition: all ease-out 0.15s;
}
.carousel_item_text, .carousel_item_title {
  background-color: #00000066;
  padding: 0.5em;
}
.carousel_item_title {
  font-weight: bold;
}
.carousel_item_text {
  overflow: hidden;
  border-radius: 0 0 1em 1em;
}
/*    RESPONSIVES: ;*/
@media all and (max-width: 1200px) {
  .carousel_item {
    /*width: calc(100% / 7);*/
  }
}
@media all and (max-width: 992px) {
  body {
    padding-top: 10em;
  }
  header {
    display: block;
  }
  .logo {}
  .header_nav {
    display: inline-flex;
    width: 100%;
    margin-top: 1em;
  }
  .header_button_row {
    display: inline-block;
    width: 20%;
    position: absolute;
    top: 0;
    right: 1em;
  }
  main.home_main {
    width: 100%;
    color: #ffffff;
    display: block;
  }
    .home_text {
        height: 50vh;
    }
}
@media all and (max-width: 768px) {
  body {
    padding-top: 6em;
  }
  .header_nav {
    padding: 0;
    display: none !important;
  }
  main.home_main {
     /*top: 6em;
   height: calc(100% - 4em);*/
  }
  footer {
    height: 8em;
    padding: 1.5em 0;
  }
  .logo_box {
    padding: 0.75em 1.5em;
  }
  .logo_box img {
    max-width: 180px;
    min-width: 140px;
  }
  .logo_row {
    gap: 3em;
    animation-duration: 20s;
  }
  .home_text .jumbo_text {
    text-align: center;
    margin: 0 1em;
    font-size: clamp(1.5em, 5vw, 2.5em);
    line-height: 1.5;
    max-width: 100%;
  }
  .header_button_row {
    width: 50%;
  }
  .header_nav {
    display: none !important;
    position: fixed;
    top: 4em;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    background-color: var(--primary);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 0;
    z-index: 9999;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
  }
  .header_nav.mobile-open {
    display: flex !important;
  }
  .header_nav a {
    display: block;
    text-align: left;
    padding: 1.2em 1.5em;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 0;
    font-size: 1em;
    font-weight: 500;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    background-color: transparent;
  }
  .header_nav a:last-child {
    border-bottom: none;
  }
  .header_nav a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
    padding-left: 2em;
  }
  .header_nav a.current {
    background-color: rgba(255, 255, 255, 0.2);
    border-left: 3px solid #ffffff;
    color: #ffffff;
    font-weight: 600;
  }
  .menu_btn {
    display: inline-block;
    height: 3em;
    width: 3em;
    background-color: #ffffff;
    vertical-align: middle;
    margin-left: 1em;
    border: none;
    border-radius: 8px;
    background: url("../img/layout/menu-icon.svg") no-repeat center center #ffffff;
    background-size: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }
  .menu_btn:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transform: scale(1.05);
  }
  .home_carousel_content {
    transform: translateX(calc(-1 * (19vh - (100vw / 10))));
  }
  .carousel_item {
    width: calc(100% / 5);
  }
  .carousel_item:nth-child(4) {
    height: 80%;
    width: calc(100% / 5);
    display: inline-block;
    flex-direction: column;
  }
  .carousel_item:nth-child(4) .carousel_item_image {
    height: 100%;
    flex-grow: 1;
    flex-shrink: 1;
    padding-bottom: 0;
  }
  .carousel_item:nth-child(4) .carousel_item_image img {
    border-radius: 1em 1em 0 0;
  }
  .carousel_item:nth-child(3) {
    width: 38vh;
    display: block;
  }
  .carousel_item:nth-child(3) .carousel_item_image {
    height: 66.66%;
    flex-grow: 1;
    flex-shrink: 1;
    padding-bottom: 0;
  }
  .carousel_item:nth-child(3) .carousel_item_image img {
    border-radius: 1em 1em 0 0;
  }
  .carousel_item:nth-child(3) {
    height: 100%;
    width: 40vh;
    display: flex;
    flex-direction: column;
  }
  .carousel_item:nth-child(3) .carousel_item_image {
    height: 66.66%;
    flex-grow: 1;
    flex-shrink: 1;
    padding-bottom: 0;
  }
  .carousel_item:nth-child(3) .carousel_item_image img {
    border-radius: 1em 1em 0 0;
  }
}
@media all and (max-width: 640px) {
    
    
  .home_carousel_content {
    transform: translateX(calc(-1 * (19vh - (100vw / 6))));
  }
  .carousel_item {
    width: calc(100% / 3);
  }
    
  .carousel_item:nth-child(3) {
    height: 80%;
    width: calc(100% / 3);
    display: inline-block;
    flex-direction: column;
  }
  .carousel_item:nth-child(3) .carousel_item_image {
    height: 100%;
    flex-grow: 1;
    flex-shrink: 1;
    padding-bottom: 0;
  }
  .carousel_item:nth-child(3) .carousel_item_image img {
    border-radius: 1em 1em 0 0;
  }
    
  .carousel_item:nth-child(2) {
    width: 38vh;
    display: block;
  }
  .carousel_item:nth-child(2) .carousel_item_image {
    height: 66.66%;
    flex-grow: 1;
    flex-shrink: 1;
    padding-bottom: 0;
  }
  .carousel_item:nth-child(2) .carousel_item_image img {
    border-radius: 1em 1em 0 0;
  }
  .carousel_item:nth-child(2) {
    height: 100%;
    width: 40vh;
    display: flex;
    flex-direction: column;
  }
  .carousel_item:nth-child(2) .carousel_item_image {
    height: 66.66%;
    flex-grow: 1;
    flex-shrink: 1;
    padding-bottom: 0;
  }
  .carousel_item:nth-child(2) .carousel_item_image img {
    border-radius: 1em 1em 0 0;
  } 
}
@media all and (max-width: 520px) {
      .logo {
    margin: 0 auto;
  }
    
    .header_button_row{
        top: 4rem;
        width: 100%;
    }
  .header_nav {
    top: 7.5em;
  }
    
    
}