body {
  margin: 0;
  background: #fff;
  color: #666666;
  font-family: "figtree", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 24px;
  line-height: 40px;
}
.scroll-indicator {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 60px;
  background: linear-gradient(to bottom, black 0%, black 0%, #ccc 0%, #ccc 100%);
  z-index: 1000;
}
.scroll-text {
  position: fixed;
  right: 5px;
  top: calc(50% - 90px);
  transform: rotate(-90deg);
  font-size: 14px;
  color: black;
  z-index: 1001;
}
header {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}
header img {
  width: 500px;
  height: auto;
  translate: none;
  rotate: none;
  scale: none;
  opacity: 1;
  transform: translate(0px, 0px);
}
.bg1 {
  background: url("../img/shutterstock_2447853061.jpg") center / cover fixed no-repeat;
}
.bg2 {
  background: url("../img/shutterstock_1066853651.jpg") center / cover fixed no-repeat;
}
.bg3 {
  background: url("../img/shutterstock_383152789.jpg") center / cover fixed no-repeat;
}
.section {
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 100px 0;
}
.caja {
  width:50%;
  box-sizing: border-box;
  background: white;
  padding: 100px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.caja div:nth-of-type(1) {
  width: 40px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  height: 430px;
}
.caja div:nth-of-type(1) p {
  position: absolute;
  transform: rotate(-90deg);
  transform-origin: center center;
  white-space: nowrap;
  padding: 0;
  margin: 0;
  font-size: 18px;
  line-height: 0;
  text-transform: uppercase;
  color: black;
  letter-spacing: 4px;
}
.caja div:nth-of-type(2) {
  flex: 1;
}
h1 {
  font-size: 72px;
  line-height: 78px;
  font-weight: 700;
  font-style: normal;
  color: black;
  margin: 0 0 20px 0;
}
p {
  margin: 0 0 24px 0;
}
.m0 {
  margin: 0;
}
.caja2 {
  margin-left:50%;
  box-sizing: border-box;
  background: white;
  padding: 100px;
}
.list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.list li {
    padding-left: 25px;
    position: relative;
    font-family: sans-serif;
    margin-bottom: 24px;
}
.list li:last-child {
    margin-bottom: 0;
}
.list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 19px;
    transform: translateY(-50%);
    width: 12px; 
    height: 12px; 
    background-color: #d8251e;
}
.btn-dark {
  margin-top: 40px;
  background-color: black;
  color: white;
  font-size: 24px;
  padding: 20px 30px 20px 40px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center; 
  justify-content: center;
  gap: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-dark:hover {
  background-color: #333333;
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}
.btn-dark:active {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.btn-dark svg {
  width: 25px;
  height: auto;
  animation: yoyo-arrow 0.8s infinite alternate ease-in-out;
}
@keyframes yoyo-arrow {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(8px);
  }
}
.clientes {
  text-align: center;
  margin-top: 100px;
}
.logos {
  overflow: hidden;
  padding: 60px 0;
  background: white;
  width: 100%;
  margin-bottom: 60px;
}
.logos-track {
  display: flex;
  width: max-content; 
  animation: scroll 30s linear infinite;
}
.logos-group {
  display: flex;
  align-items: center;
  gap: 120px; 
  padding-right: 120px; 
}
.logos-group img {
  height: 50px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.4s ease;
}
.logos-group img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}
.logos-group img[src*="enalto"] {
  height: 35px;
}
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
footer {
  background: black url(../img/shutterstock_2694134993.jpg) center / cover fixed no-repeat;
  position: relative;
  z-index: 0;
  color: white;
  padding: 130px 100px 50px 100px;
  font-size: 21px;
  line-height: 36px;
}
footer::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: black;
    opacity: 0.8;
    z-index: -1; 
}
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-content {
  width: 835px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.footer-slogan {
  font-weight: 600;
  font-size: 32px;
  line-height: 44px;
  letter-spacing: 10px;
  margin: 0;
  text-transform: uppercase;
}
.footer-contact {
  display: flex;
  gap: 137px;
  color: #999999;
  margin-top: 60px;
}
.footer-contact p {
  margin: 0;
}
.footer-contact a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-contact a:hover {
  color: #d8251e;
}
.footer-logo {
  width: 270px;
}
.footer-logo img {
  width: 100%;
  height: auto;
}
.footer-copyright {
  margin: 85px 0 0 0;
  text-align: right;
  color: #999999;
  font-size: 14px;
}
/*@media (max-width: 1024px) {
  .footer-container {
    flex-direction: column;
    gap: 40px;
  }  
  .footer-content {
    width: 100%;
  }  
  .footer-contact {
    flex-direction: column;
    gap: 20px;
  }
  .footer-copyright {
    text-align: center;
  }
}*/
.lang-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1002;
  display: flex;
  flex-direction: column;
  border: white solid 1px;
}
.lang-btn {
  font-family: "figtree", sans-serif;
  font-weight: 400;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: white;
  width: 50px;
  height: 50px;
  font-weight: 500;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.lang-btn.en {
  background-color: black;
  transition: 400ms ease;
  text-decoration: none;
}
.lang-btn.en:hover {
}
.lang-btn:active {
  transform: scale(0.95);
}
/* Animación de flasheo aplicada solo al texto cuando haces hover */
.lang-btn:hover span {
  animation: flash 0.15s infinite;
}

/* Definición del parpadeo */
@keyframes flash {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}
.lang-btn.es {
  background-color: #d8251e;
  opacity: 1;
  cursor: default;
}
@media (max-width: 1500px) {
  body {
    font-size: 18px;
    line-height: 32px;
  }
  .caja {
    padding: 50px;
    gap: 40px;
  }
  .caja2 {
    padding: 50px;
  }
  h1 {
    font-size: 56px;
    line-height: 62px;
  }
  .btn-dark {
    font-size: 20px;
    letter-spacing: 1px;
  }
}
@media (max-width: 1200px) {
  footer {
    padding: 40px;
    text-align: center;
  }
  .footer-container {
    flex-direction: column-reverse;
  }
  .footer-content {
    width: 100%;
    align-items: center;
  }
  .footer-slogan {
    margin-top: 20px;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 3px;
  }
  .footer-copyright {
    text-align: center;
  }
  .footer-logo {
    display: black;
    margin: 0 auto;
  }
  .footer-contact {
    gap: 60px;
  }
  .footer-copyright {
    margin-top: 20px;
  }
}
@media (max-width: 1095px) {
  .caja div:nth-of-type(1) {
    display: none;
  }
  body {
    font-size: 18px;
    line-height: 24px;
  }
  h1 {
    font-size: 36px;
    line-height: 46px;
  }
}
@media (max-width: 1024px) {
  .bg1, .bg2, .bg3 {
    background-attachment: scroll;
  }
}
@media (max-width: 890px) {
  .section {
    min-height: auto;
    padding: 20px 0;
  }
  .caja, .caja2 {
    width:90%;
    margin: 0 5%;
    text-align: center;
    padding: 30px;
  }
  .caja2 .list {
    text-align: left;
  }
  .list li {
    margin-bottom: 15px;
  }
  .list li::before {
      top: 12px;
  }
  h1 {
    font-size: 32px;
    line-height: 36px;
    margin: 0 0 10px 0;
  }
}
@media (max-width: 660px) {
  .footer-contact {
    gap: 20px;
  }
}
@media (max-width: 640px) {
  header img {
    width: 80%;
    margin: 0 10%;
  }
}
@media (max-width: 530px) {
  .footer-contact {
    flex-direction: column;
  }
}