@charset "utf-8";

/*
 * Sanniao global footer — brand close, directory, contact, legal.
 * Shared by the homepage and every service page.
 */
.footer-v2 {
  position: relative;
  overflow: hidden;
  color: #d4e2e8;
  background: #07151c;
  isolation: isolate;
}
.footer-v2::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(135, 208, 244, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(135, 208, 244, .035) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 76%);
  mask-image: linear-gradient(180deg, #000, transparent 76%);
  content: "";
}
.footer-v2::after {
  position: absolute;
  z-index: -1;
  top: -330px;
  right: -260px;
  width: 720px;
  height: 720px;
  border: 1px solid rgba(135, 208, 244, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 95px rgba(0, 159, 232, .025), 0 0 0 190px rgba(0, 159, 232, .014);
  content: "";
}
.footer-v2 .shell { position: relative; z-index: 1; }

.footer-v2-opening {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(50px, 10vw, 150px);
  padding: clamp(88px, 9vw, 132px) 0 clamp(70px, 7vw, 100px);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer-v2-kicker {
  margin: 0 0 25px;
  color: #87d0f4;
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
}
.footer-v2-opening h2 {
  max-width: 1040px;
  margin: 0;
  color: #f7fbfd;
  font-family: var(--display, "PingFang SC", "Microsoft YaHei", sans-serif);
  font-size: clamp(48px, 5.8vw, 86px);
  font-weight: 820;
  letter-spacing: -.075em;
  line-height: 1.03;
}
.footer-v2-opening h2 span { color: #87d0f4; }
.footer-v2-cta {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 6px 22px;
  width: 228px;
  min-height: 126px;
  padding: 25px 25px 23px;
  border: 1px solid rgba(135, 208, 244, .34);
  border-radius: 22px 22px 58px 22px;
  color: #f6fbfd;
  background: rgba(135, 208, 244, .055);
  text-align: left;
  cursor: pointer;
  transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease;
}
.footer-v2-cta span { grid-column: 1; font-size: 19px; font-weight: 760; letter-spacing: -.035em; }
.footer-v2-cta b { grid-column: 1; color: #88a1ac; font-size: 9px; font-weight: 500; letter-spacing: .06em; }
.footer-v2-cta i {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  color: #07151c;
  background: #87d0f4;
  font-size: 19px;
  font-style: normal;
  transition: transform .25s ease, background .25s ease;
}
.footer-v2-cta:hover,
.footer-v2-cta:focus-visible {
  color: #07151c;
  border-color: #87d0f4;
  background: #87d0f4;
  transform: translateY(-5px);
}
.footer-v2-cta:hover b,
.footer-v2-cta:focus-visible b { color: rgba(7, 21, 28, .62); }
.footer-v2-cta:hover i,
.footer-v2-cta:focus-visible i { background: #fff; transform: rotate(8deg); }

.footer-v2-directory {
  display: grid;
  grid-template-columns: minmax(270px, 1.16fr) minmax(170px, .62fr) minmax(170px, .62fr) minmax(270px, .92fr);
  gap: clamp(38px, 6vw, 90px);
  padding: clamp(58px, 6vw, 82px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer-v2-brand-block { max-width: 360px; }
.footer-v2-logo {
  position: relative;
  display: block;
  width: 232px;
  height: 74px;
  overflow: hidden;
  border-radius: 8px 8px 28px 8px;
  background: #fff;
}
.footer-v2-logo img {
  position: absolute;
  top: 0;
  left: 0;
  width: 151.71%;
  max-width: none;
  height: auto;
  transform: translate(-17.04%, -37.67%);
}
.footer-v2-brand-block > p {
  max-width: 345px;
  margin: 29px 0 0;
  color: #90a5ae;
  font-size: 12px;
  line-height: 1.9;
}
.footer-v2-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 25px; }
.footer-v2-tags span {
  padding: 7px 9px;
  border: 1px solid rgba(135, 208, 244, .16);
  border-radius: 999px;
  color: #71909d;
  font-family: Arial, sans-serif;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .12em;
}
.footer-v2-column > p,
.footer-v2-contact > p:first-child {
  margin: 0 0 24px;
  color: #87d0f4;
  font-family: Arial, sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .16em;
}
.footer-v2-column { display: flex; flex-direction: column; align-items: flex-start; }
.footer-v2-column a {
  position: relative;
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: #c7d7de;
  font-size: 11px;
  transition: color .2s ease, padding-left .2s ease, border-color .2s ease;
}
.footer-v2-column a span { color: #526d79; font-family: Arial, sans-serif; font-size: 7px; letter-spacing: .1em; }
.footer-v2-column a::after { position: absolute; right: 0; color: #466773; content: "↗"; opacity: 0; transform: translate(-5px, 5px); transition: opacity .2s ease, transform .2s ease; }
.footer-v2-column a:hover,
.footer-v2-column a:focus-visible { padding-left: 5px; border-color: rgba(135, 208, 244, .24); color: #87d0f4; }
.footer-v2-column a:hover::after,
.footer-v2-column a:focus-visible::after { opacity: 1; transform: none; }

.footer-v2-contact { font-style: normal; }
.footer-v2-contact > a { display: block; width: max-content; max-width: 100%; }
.footer-v2-phone { color: #f5fbfd; font-family: Arial, sans-serif; font-size: clamp(23px, 2.2vw, 32px); font-weight: 700; letter-spacing: -.035em; }
.footer-v2-mail { margin-top: 9px; color: #87d0f4; font-family: Arial, sans-serif; font-size: 12px; }
.footer-v2-contact-address { max-width: 330px; margin: 31px 0 0; color: #839aa4; font-size: 10px; line-height: 1.8; }
.footer-v2-contact small { display: block; margin-top: 17px; color: #5e7b87; font-size: 8px; letter-spacing: .08em; }
.footer-v2-contact a:hover,
.footer-v2-contact a:focus-visible { color: #fff; }

.footer-v2-signature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 30px;
  padding: clamp(42px, 5vw, 70px) 0 clamp(34px, 4vw, 52px);
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer-v2-signature span {
  display: block;
  margin: 0 0 -.14em -.055em;
  color: rgba(135, 208, 244, .12);
  font-family: Arial Black, Arial, sans-serif;
  font-size: clamp(92px, 14.6vw, 222px);
  font-weight: 900;
  letter-spacing: -.09em;
  line-height: .72;
  white-space: nowrap;
}
.footer-v2-signature b { padding-bottom: 4px; color: #65818d; font-family: Arial, sans-serif; font-size: 8px; font-weight: 700; letter-spacing: .18em; white-space: nowrap; }

.footer-v2-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 20px 0 24px;
  color: #57717c;
  font-size: 9px;
  line-height: 1.7;
}
.footer-v2-legal > p { margin: 0; }
.footer-v2-legal > div { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 11px 22px; }
.footer-v2-legal a { transition: color .2s ease; }
.footer-v2-legal a:hover,
.footer-v2-legal a:focus-visible { color: #87d0f4; }

/* The legacy page styles use a more specific `.site-footer` selector. Keep
   the shared corporate footer visually identical wherever it is mounted. */
.inner-page-v2 .site-footer.footer-v2,
.home-v4 .site-footer.footer-v2 {
  color: #d4e2e8;
  background: #07151c;
}
.inner-page-v2 .site-footer.footer-v2 .shell,
.home-v4 .site-footer.footer-v2 .shell { width: var(--shell); }
.inner-page-v2 .site-footer.footer-v2 a,
.home-v4 .site-footer.footer-v2 a { color: inherit; }
.inner-page-v2 .site-footer.footer-v2 .footer-v2-mail,
.home-v4 .site-footer.footer-v2 .footer-v2-mail,
.inner-page-v2 .site-footer.footer-v2 .footer-v2-column a:hover,
.inner-page-v2 .site-footer.footer-v2 .footer-v2-column a:focus-visible,
.home-v4 .site-footer.footer-v2 .footer-v2-column a:hover,
.home-v4 .site-footer.footer-v2 .footer-v2-column a:focus-visible { color: #87d0f4; }

@media (max-width: 1100px) {
  .footer-v2-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-v2-brand-block { max-width: 440px; }
  .footer-v2-contact-address { max-width: 420px; }
}

@media (max-width: 720px) {
  .footer-v2-opening { grid-template-columns: 1fr; gap: 35px; padding: 76px 0 58px; }
  .footer-v2-opening h2 { font-size: clamp(37px, 10.4vw, 47px); line-height: 1.08; }
  .footer-v2-kicker { margin-bottom: 19px; font-size: 8px; }
  .footer-v2-cta { width: 100%; min-height: 96px; border-radius: 18px 18px 45px 18px; }

  .footer-v2-directory { grid-template-columns: 1fr; gap: 45px; padding: 54px 0 62px; }
  .footer-v2-brand-block { max-width: none; }
  .footer-v2-logo { width: 218px; height: 69px; }
  .footer-v2-brand-block > p { max-width: 340px; }
  .footer-v2-column a { min-height: 46px; }
  .footer-v2-contact-address { max-width: 340px; }

  .footer-v2-signature { display: block; padding: 47px 0 34px; }
  .footer-v2-signature span { margin-bottom: -.08em; font-size: 22.6vw; line-height: .8; }
  .footer-v2-signature b { display: block; margin-top: 25px; }

  .footer-v2-legal { align-items: flex-start; flex-direction: column; gap: 13px; padding: 19px 0 25px; }
  .footer-v2-legal > div { justify-content: flex-start; gap: 8px 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .footer-v2 *,
  .footer-v2 *::before,
  .footer-v2 *::after { transition-duration: .01ms !important; }
}
