/* Footer — dark five-column layout (reference design) */

.landing-footer {
  position: relative;
  overflow: hidden;
  background-color: #1f2937;
  color: #f9fafb;
  padding: clamp(40px, 4.5vw, 72px) 0 clamp(22px, 2.2vw, 28px);
}

/* 背景图 + 深色叠压（图：bg_foot.webp），叠层越重底图越沉 */
.landing-footer__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-color: #00327e;

  background-size: auto, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}

.landing-footer__container {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
}

@media (min-width: 1200px) {
  .landing-footer__container {
    max-width: 75%;
  }
}

@media (min-width: 2000px) {
  .landing-footer__container {
    max-width: min(1820px, 80vw);
  }
}

@media (min-width: 2600px) {
  .landing-footer__container {
    max-width: min(2160px, 84vw);
  }
}

body.landing-page .landing-footer__container {
  padding-left: var(--lp-container-pad);
  padding-right: var(--lp-container-pad);
}

.landing-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 3vw, 40px);
  align-items: start;
}

@media (min-width: 992px) {
  .landing-footer__grid {
    grid-template-columns: minmax(180px, 0.8fr) minmax(150px, 0.9fr) minmax(150px, 0.4fr) minmax(220px, 1.25fr) minmax(300px, 1fr);
    column-gap: clamp(10px, 1.2vw, 18px);

  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .landing-footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .landing-footer__brand {
    grid-column: 1;
  }

  .landing-footer__col--products {
    grid-column: 2;
  }

  .landing-footer__col--nav {
    grid-column: 3;
  }

  .landing-footer__col--contact {
    grid-column: 1 / span 2;
  }

  .landing-footer__form-card {
    grid-column: 3;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .landing-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-footer__form-card {
    grid-column: 1 / -1;
    max-width: 480px;
    width: 100%;
    justify-self: center;
  }
}

.landing-footer__brand {
  order: var(--footer-order-brand, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.landing-footer__col--products {
  order: var(--footer-order-products, 2);
}

.landing-footer__col--nav {
  order: var(--footer-order-nav, 3);
}

.landing-footer__col--contact {
  order: var(--footer-order-contact, 4);
}

.landing-footer__logo {
  display: block;
  max-width: min(168px, 100%);
  height: auto;
  object-fit: contain;
}

.landing-footer__brand-title {
  margin: 0;
  font-size: clamp(20px, 1.6vw, 26px);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.15;
  color: #fff;
  text-transform: uppercase;
}

.landing-footer__brand-tag {
  margin: 0;
  max-width: 16rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.45;
  color: #9ca3af;
  text-transform: uppercase;
}

.landing-footer__heading {
  margin: 0 0 14px;
  font-size:22px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

.landing-footer__heading--form {
  margin-bottom: 12px;
}

.landing-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.landing-footer__link {
  color: #d1d5db;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.15s ease;
}

.landing-footer__link--muted {
  color: #e5e7eb;
}

.landing-footer__link:hover {
  color: #fff;
}

.landing-footer__meta {
  font-weight: 500;
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #d1d5db;
  font-size: 18px;
  line-height: 1.45;
}

.landing-footer__meta-item {
  display: flex;
  align-items: center;
}

.landing-footer__meta-item--top {
  align-items: flex-start;
}

.landing-footer__meta-item--top .landing-footer__meta-icon {
  margin-top: 3px;
}

.landing-footer__meta-icon {
  margin-right: 10px;
  width: 18px;
  flex-shrink: 0;
  text-align: center;
  color: #fff;
  opacity: 0.9;
}

.landing-footer__meta-link {
  color: inherit;
  text-decoration: none;
  word-break: break-word;
}

.landing-footer__meta-link:hover {
  color: #fff;
}

.landing-footer__social {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  align-items: center;
  width: min(560px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.landing-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  justify-self: center;
  color: #fff;
  text-decoration: none;
  opacity: 0.88;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.landing-footer__social-link:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.landing-footer__social-link i {
  width: 28px;
  height: 28px;
  font-size: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.landing-footer__form-card {
  order: var(--footer-order-form, 5);
  color: #e5e7eb;
}

.landing-footer__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.landing-footer__form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.landing-footer__form-row--single {
  grid-template-columns: 1fr;
}

.landing-footer__form-row--captcha {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
}

@media (max-width: 480px) {
  .landing-footer__form-row {
    grid-template-columns: 1fr;
  }

  .landing-footer__form-row--captcha {
    grid-template-columns: 1fr;
  }
}

.landing-footer__input,
.landing-footer__textarea {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #374151;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.4;
  font-family: inherit;
  background: #ffffff;
  color: #f9fafb;
}

.landing-footer__input::placeholder,
.landing-footer__textarea::placeholder {
  color: #9ca3af;
}

.landing-footer__textarea {
  min-height: 100px;
  resize: vertical;
}

.landing-footer__captcha-img {
  height: 40px;
  width: auto;
  cursor: pointer;
  border-radius: 6px;
  border: 1px solid #4b5563;
}

.landing-footer__submit {
  width: 100%;
  box-sizing: border-box;
  margin-top: 2px;
  background: #000f92;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.18s ease;
}

.landing-footer__submit:hover {
  background: #00255e;
}

.landing-footer__copy {
  margin-top: clamp(32px, 3.5vw, 48px);
  padding-top: clamp(18px, 2vw, 26px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: #9ca3af;
  font-size: 13px;
  line-height: 1.5;
}

.landing-footer__copy p {
  margin: 0;
}

@media (max-width: 767px) {
  .landing-footer {
    padding-top: clamp(28px, 8vw, 40px);
    padding-bottom: clamp(18px, 5vw, 24px);
  }

  .landing-footer__container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .landing-footer__col--products,
  .landing-footer__col--nav {
    display: none !important;
  }

  .landing-footer__grid {
    justify-items: stretch;
    gap: 24px;
  }

  .landing-footer__brand {
    align-items: center;
    text-align: center;
  }

  .landing-footer__brand-tag {
    max-width: none;
  }

  .landing-footer__col {
    text-align: center;
  }

  .landing-footer__list {
    align-items: center;
  }

  .landing-footer__meta {
    align-items: center;
  }

  .landing-footer__meta-item {
    justify-content: center;
    text-align: left;
  }

  .landing-footer__social {
    justify-content: center;
  }
}

@media (min-width: 2560px) {
  .landing-footer__grid {
    column-gap: 48px;
  }
}

@media (min-width: 2000px) {
  body.landing-page .landing-footer__brand-title {
    font-size: clamp(23px, 1.7vw, 40px);
  }

  body.landing-page .landing-footer__brand-tag {
    font-size: clamp(12px, 0.85vw, 15px);
  }

  body.landing-page .landing-footer__heading {
    font-size: clamp(18px, 1.2vw, 28px);
  }

  body.landing-page .landing-footer__link {
    font-size: clamp(15px, 1vw, 23px);
  }

  body.landing-page .landing-footer__meta {
    font-size: clamp(16px, 1.08vw, 24px);
  }

  body.landing-page .landing-footer__meta-icon {
    width: clamp(18px, 1.1vw, 28px);
  }

  body.landing-page .landing-footer__social-link i {
    width: clamp(22px, 1.3vw, 32px);
    height: clamp(22px, 1.3vw, 32px);
    font-size: clamp(20px, 1.2vw, 30px);
  }

  body.landing-page .landing-footer__input,
  body.landing-page .landing-footer__textarea {
    font-size: clamp(16px, 1.08vw, 24px);
    padding: clamp(10px, 0.8vw, 18px) clamp(14px, 1vw, 24px);
  }

  body.landing-page .landing-footer__submit {
    font-size: clamp(17px, 1.08vw, 25px);
    padding: clamp(12px, 0.9vw, 14px) clamp(20px, 1.5vw, 26px);
  }

  body.landing-page .landing-footer__copy {
    font-size: clamp(15px, 1vw, 23px);
  }

  body.landing-page .landing-footer__logo {
    max-width: min(196px, 100%);
  }
}
