/* Shared footer for SOTA solution pages — matches the home page footer */
.sota-foot {
  color: #d7ecff;
  background: #031831;
  padding: 44px max(16px, calc((100vw - 1180px) / 2)) 26px;
  font-family: "Inter", Arial, Helvetica, sans-serif;
}

.sota-foot * {
  box-sizing: border-box;
}

.sota-foot-grid {
  display: grid;
  grid-template-columns: 2.2fr repeat(3, minmax(118px, 1fr)) minmax(204px, 1.35fr);
  gap: 36px;
}

.sota-foot-brand {
  display: inline-flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
  text-decoration: none;
}

.sota-foot-logo {
  height: 38px;
  width: auto;
  display: block;
}

.sota-foot-tag {
  color: #7fbaff;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}

.sota-foot-about {
  max-width: 350px;
  color: #9fbed9;
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

.sota-foot h3 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.sota-foot-col a {
  display: block;
  margin-bottom: 10px;
  color: #a9c7e3;
  font-size: 0.86rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sota-foot-col a:hover {
  color: #ffffff;
}

.sota-foot-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.sota-foot-socials a {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 24%, rgba(125, 204, 255, 0.5), transparent 34%),
    linear-gradient(145deg, #0a79e7 0%, #0646aa 55%, #03246f 100%);
  border: 1px solid rgba(112, 190, 255, 0.56);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    inset 0 -8px 14px rgba(1, 18, 74, 0.48),
    0 10px 20px rgba(0, 74, 177, 0.26);
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  text-shadow: 0 2px 7px rgba(2, 15, 60, 0.5);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.sota-foot-socials a::before {
  content: "";
  position: absolute;
  inset: 5px;
  z-index: -1;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 42%),
    radial-gradient(circle at 50% 84%, rgba(37, 129, 255, 0.42), transparent 52%);
  border: 1px solid rgba(170, 221, 255, 0.18);
}

.sota-foot-socials a:hover {
  transform: translateY(-2px);
  border-color: rgba(177, 225, 255, 0.8);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    inset 0 -8px 14px rgba(1, 18, 74, 0.46),
    0 13px 24px rgba(0, 97, 218, 0.34);
}

.sota-foot-socials a[aria-label="Facebook"] {
  align-items: end;
  padding-bottom: 5px;
  font-size: 1.72rem;
}

.sota-foot-socials a[aria-label="LinkedIn"] {
  padding-top: 1px;
  font-size: 1.28rem;
}

.sota-foot-socials a[aria-label="YouTube"] {
  font-size: 0;
}

.sota-foot-socials a[aria-label="YouTube"]::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 25px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 26'%3E%3Crect width='36' height='26' rx='6' fill='white'/%3E%3Cpath d='M15 8l9 5-9 5z' fill='%230856b5'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 2px 6px rgba(2, 15, 60, 0.42));
  transform: translate(-50%, -50%);
}

.sota-foot-socials a[aria-label="Zalo"] {
  font-size: 0.92rem;
}

.sota-foot-bottom {
  margin-top: 34px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(142, 203, 255, 0.18);
  color: #8aa9c7;
  font-size: 0.8rem;
}

@media (max-width: 900px) {
  .sota-foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .sota-foot-grid {
    grid-template-columns: 1fr;
  }

  .sota-foot-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
