/* =========================================================
   Young / compact refresh
   ========================================================= */

/* Tighter rhythm */
.section {
  padding: 82px 0;
}

.section--tight {
  padding: 58px 0;
}

.section-head {
  gap: 26px 58px;
  margin-bottom: 36px;
}

.section-title {
  font-size: clamp(32px, 3.8vw, 50px);
  line-height: 1.28;
}

.section-lead {
  font-size: 15px;
  line-height: 1.85;
}

.page-hero-inner {
  padding: 68px 0 60px;
}

.hero-grid {
  min-height: 590px;
  padding: 58px 0 54px;
  gap: 30px;
}

.hero h1 {
  font-size: clamp(44px, 5.7vw, 76px);
}

.hero-deck {
  margin-top: 22px;
  font-size: 15px;
}

.hero-actions {
  margin-top: 28px;
}

.hero-meta {
  margin-top: 22px;
}

.cta-inner {
  padding: 52px 0;
}

.site-footer {
  padding-top: 56px;
}

.footer-brand p {
  font-size: 13.5px;
  line-height: 1.9;
}

.footer-title {
  margin-bottom: 18px;
  font-size: 16px;
}

.footer-links {
  gap: 11px;
  font-size: 13px;
}

.footer-bottom {
  padding-top: 22px;
  font-size: 11px;
}

/* Footer contact + WeChat QR */
.footer-contact {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.footer-contact-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.footer-contact .footer-title {
  width: auto;
  margin-bottom: 0;
}

.footer-contact a {
  font-size: 21px;
  line-height: 1.35;
}

.footer-contact span {
  font-size: 12.5px;
  line-height: 1.8;
}

.footer-qr {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 108px;
}

.footer-qr img {
  width: 104px;
  height: 104px;
  padding: 5px;
  border-radius: 8px;
  background: #fff;
  object-fit: cover;
}

.footer-qr span {
  color: #a9bbb3;
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}

.footer-qr em {
  color: var(--brass-2);
  font-style: normal;
}

.footer-compliance-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  color: #9fb1a9;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.footer-compliance-inline span + span::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 10px;
  margin-right: 8px;
  background: rgba(255, 255, 255, 0.2);
  vertical-align: -1px;
}

@media (min-width: 961px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.72fr) minmax(0, 0.82fr) minmax(0, 1.6fr);
    gap: 36px;
  }
}

/* Cards, pills and soft geometry */
.btn {
  border-radius: 10px;
}

.header-tel {
  border-radius: 10px;
}

.services-grid {
  gap: 14px;
  border: 0;
  background: transparent;
}

.address-block {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper-3);
  transition: border-color 0.25s ease, transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.address-block:hover {
  border-color: rgba(92, 235, 192, 0.65);
  box-shadow: 0 10px 26px rgba(11, 17, 20, 0.07);
  transform: translateY(-2px);
}

.address-block b {
  color: var(--ink);
}

.address-block:hover b {
  color: var(--brass-deep);
}

.local-grid {
  gap: 38px 54px;
}

.service-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper-3);
}

.service-card:hover,
.service-card:focus-within {
  border-color: transparent;
}

.trust-bar {
  background: linear-gradient(90deg, var(--paper-2), #eefaf4 60%, var(--paper-2));
}

.value-grid {
  gap: 14px;
  border: 0;
  background: transparent;
}

.value-card {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper-3);
}

.contact-card,
.store-card,
.license-card,
.product-card,
.certificate-card,
.credential-feature,
.proof-photo,
.proof-info,
.product-frame,
.map-card,
.video-shell,
.brand-strip,
.product-more {
  border-radius: 16px;
}

.license-image,
.proof-photo,
.map-card,
.product-frame,
.product-media,
.brand-strip {
  overflow: hidden;
}

.contact-card {
  padding: 28px;
}

.product-more {
  background: linear-gradient(115deg, var(--ink), #12322d);
}

.cta-band {
  background: linear-gradient(110deg, var(--brass), var(--brass-2));
}

.cta-band::before,
.cta-band::after {
  border-color: rgba(11, 17, 20, 0.18);
}

/* Hero video */
.hero-visual {
  min-height: 0;
}

.hero-video-frame {
  position: relative;
  z-index: 2;
  width: min(100%, 540px);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid rgba(148, 247, 217, 0.45);
  border-radius: 28px;
  background: #081114;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.45), 0 0 0 8px rgba(92, 235, 192, 0.04);
}

.hero-video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(6, 14, 14, 0.34), transparent 34%, transparent 62%, rgba(6, 14, 14, 0.82));
  pointer-events: none;
}

.hero-video-top,
.hero-video-bottom {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #f5fffb;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.hero-video-top {
  top: 16px;
  left: 16px;
  right: 16px;
}

.hero-video-bottom {
  right: 18px;
  bottom: 16px;
  left: 18px;
  font-size: 11px;
}

.hero-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(6, 14, 14, 0.52);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}

.hero-live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brass);
  box-shadow: 0 0 0 4px rgba(92, 235, 192, 0.16);
}

.hero-video-top span:last-child {
  color: rgba(255, 255, 255, 0.72);
}

.hero-video-bottom strong {
  font-weight: 600;
  color: #fff;
}

.hero-video-bottom span:last-child {
  color: var(--brass);
  font-family: var(--serif);
}

/* Real map screenshot */
.map-photo {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #0e1b1f;
  box-shadow: 0 22px 50px rgba(11, 17, 20, 0.14);
}

.map-photo img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.6s var(--ease);
}

.map-photo:hover img {
  transform: scale(1.015);
}

.map-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 58%, rgba(5, 11, 12, 0.52));
  pointer-events: none;
}

.map-photo::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 36.6%;
  left: 47.4%;
  width: 54px;
  height: 54px;
  border: 2px solid rgba(92, 235, 192, 0.85);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 10px rgba(92, 235, 192, 0.1), 0 0 0 22px rgba(92, 235, 192, 0.05);
  animation: map-pulse 2.6s ease-out infinite;
  pointer-events: none;
}

.map-photo-cta {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--brass);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.map-photo-cta svg {
  width: 14px;
  height: 14px;
}

.map-photo-caption {
  position: absolute;
  bottom: 18px;
  left: 16px;
  z-index: 3;
  color: rgba(255, 255, 255, 0.82);
  font-size: 9px;
  letter-spacing: 0.05em;
}

.map-photo:hover .map-photo-cta {
  background: var(--brass-2);
}

@keyframes map-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 8px rgba(92, 235, 192, 0.12), 0 0 0 20px rgba(92, 235, 192, 0.04);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(92, 235, 192, 0.08), 0 0 0 30px rgba(92, 235, 192, 0.02);
  }
}

/* Compact product cards */
.product-grid {
  gap: 14px;
}

.product-card {
  border-radius: 16px;
}

.product-body {
  padding: 17px 16px 16px;
}

/* Keep content readable on smaller screens */
@media (max-width: 960px) {
  .section {
    padding: 68px 0;
  }

  .section--tight {
    padding: 48px 0;
  }

  .hero-grid {
    min-height: 0;
    padding: 52px 0 48px;
  }

  .hero-visual {
    margin-top: 8px;
  }

  .hero-video-frame {
    width: min(100%, 460px);
    border-radius: 22px;
  }

  .section-head {
    margin-bottom: 30px;
  }

  .page-hero-inner {
    padding: 56px 0 50px;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 50px 0;
  }
  .section--tight {
    padding: 38px 0;
  }

  .section-head {
    margin-bottom: 26px;
  }

  .hero-grid {
    padding: 42px 0 42px;
  }

  .hero-video-frame {
    width: min(100%, 340px);
    border-radius: 22px;
  }

  .hero-video-top {
    top: 12px;
    left: 12px;
    right: 12px;
  }

  .hero-video-bottom {
    right: 14px;
    bottom: 13px;
    left: 14px;
    font-size: 10px;
  }

  .page-hero-inner {
    padding: 48px 0 44px;
  }

  .cta-inner {
    padding: 40px 0;
  }

  .site-footer {
    padding-top: 44px;
  }

  .contact-card {
    padding: 22px 20px;
  }

  .map-photo-cta {
    right: 10px;
    bottom: 10px;
    padding: 8px 11px;
    font-size: 10px;
  }

  .map-photo-caption {
    display: none;
  }

  .map-photo::after {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 380px) {
  .footer-contact {
    flex-direction: column;
  }

  .footer-qr {
    flex-direction: row;
    width: auto;
    align-items: center;
    gap: 9px;
  }

  .footer-qr span {
    text-align: left;
  }
}
