/* ===== Base ===== */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* ===== Selection ===== */
::selection { background: #4ec3cf; color: #050b0e; }

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #050b0e; }
::-webkit-scrollbar-thumb { background: #1a3a44; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #2a5560; }

/* ===== Fade up animation ===== */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Card hover lift ===== */
.lift-on-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.lift-on-hover:hover {
  transform: translateY(-4px);
}

/* ===== Form field auto-fill fix ===== */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-text-fill-color: #ffffff;
  -webkit-box-shadow: 0 0 0px 1000px transparent inset;
  transition: background-color 5000s ease-in-out 0s;
}

/* ===== Inquiry pill validation error ===== */
#contactPills.is-error {
  box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.9), 0 0 24px rgba(248, 113, 113, 0.45);
  animation: shake-x 0.45s ease-in-out;
}
@keyframes shake-x {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

/* ===== Footer ===== */
.site-footer {
  position: relative;
  overflow: hidden;
  min-height: 325px;
  background: #123f43 url("assets/web.png") center bottom / cover no-repeat;
  color: #ffffff;
}

.site-footer__inner {
  position: relative;
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: 64px 0 0;
}

.site-footer__content {
  display: grid;
  grid-template-columns: 39% 61%;
  align-items: start;
}

.site-footer__brand {
  min-height: 190px;
  padding-left: 13px;
  padding-right: 36px;
  border-right: 1px solid rgba(255, 255, 255, 0.28);
}

.site-footer__logo {
  width: 163px;
  height: auto;
  margin-bottom: 8px;
}

.site-footer__wordmark {
  color: #42eff0;
  font-family: Orbitron, Montserrat, sans-serif;
  font-size: 35px;
  font-weight: 700;
  line-height: 0.78;
  letter-spacing: 0.02em;
}

.site-footer__ventures {
  margin: 4px 0 9px 5px;
  color: #e7ffff;
  font-family: Orbitron, Montserrat, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.42em;
}

.site-footer__tagline {
  width: 295px;
  max-width: 100%;
  margin-bottom: 15px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.22;
  color: #ffffff;
}

.site-footer__address {
  margin-bottom: 16px;
  font-size: 10px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.56);
}

.site-footer__form {
  display: flex;
  align-items: center;
  width: 365px;
  max-width: 100%;
  height: 37px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.site-footer__form input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 20px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #ffffff;
  font-size: 13px;
}

.site-footer__form input::placeholder {
  color: #ffffff;
  opacity: 1;
}

.site-footer__form button {
  width: 118px;
  height: 29px;
  margin-right: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #3b3b3b;
  font-size: 13px;
  font-weight: 500;
}

.site-footer__links {
  display: grid;
  grid-template-columns: 1.22fr 1fr 0.9fr 1.05fr;
  gap: 28px;
  padding-top: 70px;
  padding-left: 32px;
}

.site-footer__title {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}

.site-footer__list {
  display: grid;
  gap: 2px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.18;
}

.site-footer__contact {
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
}

.site-footer__contact li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-footer__contact svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.site-footer__socials {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}

.site-footer__socials a {
  display: inline-flex;
  width: 14px;
  height: 14px;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.site-footer__copyright {
  position: relative;
  margin: 47px calc(50% - 50vw) 0;
  padding: 12px 24px 10px;
  background: #123f43;
  text-align: center;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
}

@media (max-width: 900px) {
  .site-footer__inner {
    width: min(100% - 48px, 640px);
    padding-top: 48px;
  }

  .site-footer__content,
  .site-footer__links {
    grid-template-columns: 1fr;
  }

  .site-footer__brand {
    padding: 0 0 32px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  }

  .site-footer__links {
    gap: 22px;
    padding: 32px 0 0;
  }
}
