:root,
body {
  /* font-family: Inter, sans-serif;
  font-feature-settings: "liga" 1, "calt" 1; /* fix for Chrome */
  font-family: "Figtree", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}
@supports (font-variation-settings: normal) {
  :root {
    font-family: InterVariable, sans-serif;
  }
}

/* Estilos personalizados */
body,
html {
  scroll-behavior: smooth;
}
/* Animaciones */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.animate-fade-in {
  animation: fadeIn 1s ease-in-out;
} /* Modal styles */
.fixed.inset-0 {
  transition: opacity 0.3s ease;
}
.fixed.inset-0:not(.hidden) {
  opacity: 1;
}
.modal-overlay {
  cursor: pointer;
}
.inline-block.align-bottom {
  transition: all 0.3s ease;
} /* Image enhancements */
img {
  transition: all 0.3s ease;
}
.service-card:hover img {
  transform: scale(1.05);
} /* Enhanced Service Cards */
.service-card {
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.service-card:hover {
  box-shadow: 0 10px 20px rgba(14, 165, 233, 0.1);
}
.service-card h4 {
  position: relative;
  padding-bottom: 12px;
}
.service-card h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: #0ea5e9;
  transition: width 0.3s ease;
}
.service-card:hover h4::after {
  width: 60px;
} /* Hero Section Animations */
.animate-fade-in {
  animation: fadeIn 1s ease-out forwards;
  opacity: 0;
}
.animation-delay-100 {
  animation-delay: 0.3s;
}
.animation-delay-200 {
  animation-delay: 0.6s;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Scroll indicator animation */
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-20px) translateX(-50%);
  }
  60% {
    transform: translateY(-10px) translateX(-50%);
  }
}
.animate-bounce {
  animation: bounce 2s infinite;
}

/* custom */
.hero-title {
  font-size: clamp(30px, 7vw, 55px);
  letter-spacing: -0.04em;
  font-weight: 700;
  color: white;
  line-height: 1;
  margin-bottom: 20px;
  text-wrap: balance;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.hero-subtitle {
  font-size: clamp(17px, 4vw, 21px);
  letter-spacing: -0.02em;
  font-weight: 400;
  color: white;
  line-height: 1.3;
  margin-bottom: 20px;
  text-wrap: balance;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.section-title {
  color: black;
  font-size: clamp(25px, 4vw, 43px);
  letter-spacing: -0.03em;
  font-weight: 700;
  text-wrap: balance;
  margin-bottom: 30px;
  line-height: 1em;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.section-subtitle {
  font-size: clamp(18px, 3vw, 24px);
  max-width: 600px;
  margin: auto;
  text-wrap: balance;
  line-height: 1.2em;
  color: #707077;
}
.servicios {
  margin-top: 70px;
  display: flex;
  gap: 30px;
  justify-content: space-between;
  .item {
    align-items: center;
    display: flex;
    gap: 20px;
    width: 25%;
    font-weight: 600;
    color: #002d42;
  }
  svg {
    color: #0ea5e9;
  }
  @media (max-width: 1025px) {
    flex-wrap: wrap;
    .item {
      width: calc(50% - 20px);
    }
  }
  @media (max-width: 450px) {
    .item {
      width: 100%;
    }
  }
}
.filter {
  justify-content: center;
  display: flex;
  gap: 10px;
  margin-bottom: 60px;
  input {
    border: 1px solid rgba(0, 0, 0, 0.2);
    height: 50px;
    border-radius: 10px;
    padding: 0 20px;
    width: 100%;
    max-width: 450px;
    background-image: url("assets/img/SolarMagniferLinear.svg");
    background-repeat: no-repeat;
    background-position: 3.2% 50%;
    background-size: 20px;
    padding-left: 45px;
    outline: none;
    transition: 0.2s border-color, 0.2s box-shadow;
    &:hover,
    &:focus {
      box-shadow: 0 0 0 4px rgba(13, 140, 199, 0.26);
      border-color: rgba(13, 140, 199, 0.664);
    }
  }
  select {
    height: 50px;
    border-radius: 10px;
    padding: 0 20px;
    background: #f0f0f0;
    outline: none;
    transition: 0.2s border-color, 0.2s box-shadow;
    border: 1px solid rgba(0, 0, 0, 0.2);
    &:hover,
    &:focus {
      box-shadow: 0 0 0 4px rgba(13, 140, 199, 0.26);
      border-color: rgba(13, 140, 199, 0.664);
    }
  }
  @media (max-width: 550px) {
    flex-direction: column;
  }
}
.project {
  display: flex;
  .ubicacion {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
    opacity: 0.5;
    svg {
      flex-shrink: 0;
      width: 15px;
    }
  }
  img {
    object-fit: cover;
    height: 100%;
    max-width: 140px;
  }
  .title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3em;
  }
  .badge {
    color: #3873ff;
    display: inline-block;
    padding: 7px 13px;
    border-radius: 5px;
    line-height: 1;
    background: #3874ff2a;
    font-size: 12px;
    font-weight: 500;
  }
}
.team-image {
  flex-shrink: 0;
  text-align: center;
  margin-bottom: 20px;

  img {
    width: 100px;
    aspect-ratio: 1/1;
    border-radius: 50%;
  }
  @media (max-width: 1020px) {
    width: 100%;
    img {
      margin: auto;
    }
  }
}
