/* ========================================
   Shared layout / header / footer
   ======================================== */

:root {
  --radius: 6px;
  --radius-lg: 12px;
  --container: 1200px;
  --header-h: 88px;
  --header-h-scrolled: 78px;
  --logo-h: 56px;
  --logo-h-scrolled: 46px;
  --section-space: 80px;
  --font: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  width: 100%;
  max-width: 100%;
  position: relative;
}

body.is-nav-open {
  overflow: hidden;
}

main {
  position: relative;
  z-index: 2;
  overflow: visible;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 48px;
  padding: 0 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background 0.25s ease, transform 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

@media (prefers-reduced-motion: reduce) {
  .site-header {
    transition: background 0.25s ease, box-shadow 0.25s ease;
  }

  .header-inner,
  .logo img {
    transition: none;
  }

  .footer-nav__text span,
  .footer-nav__arrow,
  .footer-nav__chevron,
  .footer-subnav__list a {
    transition: none !important;
  }

  .footer-cta__wave,
  .footer-contact-btn__ring {
    animation: none !important;
    transition: none !important;
  }

  .footer-cta__wave {
    transform: none;
    opacity: 0;
  }

  .footer-cta.is-wave-on .footer-cta__wave {
    opacity: 1;
  }

  .reveal-section {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* 板块滚动淡入滑入 */
.reveal-section {
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  transition:
    opacity 0.7s cubic-bezier(0.22, 0.7, 0.25, 1) var(--reveal-delay, 0ms),
    transform 0.7s cubic-bezier(0.22, 0.7, 0.25, 1) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-section.is-inview {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.reveal-section.is-inview {
  will-change: auto;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
}

.link-more img {
  width: 14px;
  height: 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 16px;
  font-weight: 600;
}

.text-link img {
  width: 16px;
  height: 16px;
}

/* Section heads */
.section-head {
  margin-bottom: 48px;
}

.section-head.center {
  text-align: center;
}

.section-head.left {
  margin-bottom: 36px;
}

.section-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 12px;
}

.section-head p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
}

.section-head.center p {
  margin: 0 auto;
}

/* Waves */
.wave {
  width: 100%;
  height: 80px;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  pointer-events: none;
}

.wave-bottom {
  margin-top: 40px;
}

.wave-top {
  height: 100px;
}

/* ========== Header ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: transparent;
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    height 0.4s cubic-bezier(0.22, 0.7, 0.25, 1);
  overflow: visible;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 56px;
  width: 100%;
  max-width: none;
  padding-left: 80px;
  padding-right: 80px;
  box-sizing: border-box;
  overflow: visible;
  transition: height 0.4s cubic-bezier(0.22, 0.7, 0.25, 1);
}

/* Hover whole nav: white bg + gray text */
.site-header:hover,
.site-header.is-scrolled,
.site-header.is-menu-open {
  background: var(--white);
  box-shadow: var(--shadow-header);
}

.site-header:hover .main-nav a,
.site-header.is-scrolled .main-nav a,
.site-header.is-menu-open .main-nav a {
  color: var(--text-muted);
}

.site-header:hover .lang-item,
.site-header.is-scrolled .lang-item,
.site-header.is-menu-open .lang-item {
  color: var(--text-muted);
}

.site-header:hover .lang-item.is-active,
.site-header:hover .lang-item:hover,
.site-header.is-scrolled .lang-item.is-active,
.site-header.is-scrolled .lang-item:hover,
.site-header.is-menu-open .lang-item.is-active,
.site-header.is-menu-open .lang-item:hover {
  color: var(--primary);
}

.site-header:hover .lang-divider,
.site-header.is-scrolled .lang-divider,
.site-header.is-menu-open .lang-divider {
  background: var(--border-lang);
}

.site-header:hover .nav-chevron,
.site-header.is-scrolled .nav-chevron,
.site-header.is-menu-open .nav-chevron {
  filter: brightness(0) saturate(100%);
  opacity: 0.55;
}

.site-header:hover .nav-toggle span,
.site-header.is-scrolled .nav-toggle span,
.site-header.is-menu-open .nav-toggle span {
  background: #000;
  box-shadow: none;
}

.logo {
  flex-shrink: 0;
}

.logo img {
  height: var(--logo-h);
  width: auto;
  display: block;
  transition: height 0.4s cubic-bezier(0.22, 0.7, 0.25, 1);
}

.site-header.is-scrolled {
  height: var(--header-h-scrolled);
}

.site-header.is-scrolled .header-inner {
  height: var(--header-h-scrolled);
}

.site-header.is-scrolled .logo img {
  height: 40px;
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  min-width: 0;
  align-self: stretch;
}

.main-nav > ul {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  gap: 48px;
  height: 100%;
}

.main-nav > ul > li {
  position: relative;
  display: flex;
  align-items: center;
}

.main-nav > ul > li.has-dropdown {
  position: static;
}

.main-nav > ul > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 100%;
  font-size: 18px;
  color: var(--white);
  font-weight: 400;
  position: relative;
  padding: 0;
  white-space: nowrap;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

/* Dropdown parents: expand only, do not navigate */
.main-nav > ul > li.has-dropdown > a.nav-parent {
  cursor: default;
}

/* Item hover + current page: blue */
.main-nav a:hover,
.main-nav a.active,
.site-header:hover .main-nav a:hover,
.site-header:hover .main-nav a.active,
.site-header.is-scrolled .main-nav a:hover,
.site-header.is-scrolled .main-nav a.active {
  color: var(--primary);
}

.main-nav a.active::after {
  display: none;
}

.site-header:hover .main-nav a:hover .nav-chevron,
.site-header:hover .main-nav a.active .nav-chevron,
.site-header.is-scrolled .main-nav a:hover .nav-chevron,
.site-header.is-scrolled .main-nav a.active .nav-chevron {
  filter: brightness(0) saturate(100%) invert(36%) sepia(98%) saturate(1800%) hue-rotate(201deg) brightness(98%);
  opacity: 1;
}

.nav-chevron {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.9;
  transition: transform 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
}

.has-dropdown:hover > a .nav-chevron,
.has-dropdown.is-open > a .nav-chevron {
  transform: rotate(180deg);
}

/* 子栏目：在整条导航栏下方竖排展开，不压住主导航 */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: auto;
  transform: none;
  min-width: 168px;
  width: max-content;
  max-width: min(320px, calc(100vw - 32px));
  height: auto;
  margin: 0;
  padding: 8px 0;
  background: var(--white);
  border-radius: 0;
  box-shadow: var(--shadow-dropdown);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  overflow: visible;
}

/* 与导航栏衔接的隐形热区，避免鼠标移入子菜单时中断 */
.nav-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}

.has-dropdown:hover .nav-dropdown,
.has-dropdown.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.nav-dropdown li {
  width: 100%;
  height: auto;
  display: block;
}

.nav-dropdown a {
  display: block;
  width: 100%;
  height: auto;
  padding: 12px 24px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--text-muted) !important;
  letter-spacing: 0;
  white-space: nowrap;
  box-sizing: border-box;
}

.nav-dropdown a:hover {
  color: var(--primary) !important;
  background: var(--bg-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 28px;
  margin-left: auto;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-item {
  font-size: 15px;
  color: var(--white-85);
  font-weight: 400;
  white-space: nowrap;
  transition: color 0.2s;
}

.lang-item:hover,
.lang-item.is-active {
  color: var(--white);
  font-weight: 500;
}

.lang-divider {
  display: inline-block;
  width: 1px;
  height: 12px;
  background: var(--white-45);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 26px;
  height: 22px;
  flex-shrink: 0;
  flex-direction: column;
  justify-content: space-between;
  z-index: 6;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  pointer-events: none;
  transform-origin: center;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* ========== Footer CTA ========== */
.footer-cta {
  position: relative;
  z-index: 5;
  background: var(--white);
  overflow: visible;
  padding: var(--section-space) 0 0;
  min-height: 280px;
}

.footer-cta__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: none;
  height: 360px;
  transform: translateY(72px);
  opacity: 0;
  transition:
    transform 1.1s cubic-bezier(0.22, 0.7, 0.25, 1),
    opacity 1s ease;
  pointer-events: none;
  z-index: 0;
  will-change: transform, opacity;
  overflow: hidden;
  /* 上沿进一步虚化，与白底相融，去掉盒子边界感 */
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    var(--mask-15) 18%,
    var(--mask-55) 36%,
    var(--black) 58%,
    var(--black) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    var(--mask-15) 18%,
    var(--mask-55) 36%,
    var(--black) 58%,
    var(--black) 100%
  );
}

.footer-cta__wave-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.footer-cta.is-wave-on .footer-cta__wave {
  transform: translateY(0);
  opacity: 1;
}

.footer-cta__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px 0;
}

.footer-cta__inner h2 {
  font-size: clamp(28px, 2.4vw, 40px);
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.02em;
  margin-bottom: 60px;
}

.footer-contact-btn {
  position: relative;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-contact);
  /* 1/3 压在下方分界线以下 */
  margin-bottom: calc(180px / -3);
  z-index: 6;
  transition: transform 0.25s ease;
}

.footer-contact-btn:hover {
  transform: scale(0.94);
  background: var(--primary);
}

.footer-contact-btn:active {
  transform: scale(0.92);
}

.footer-contact-btn__ring {
  position: absolute;
  inset: 6px;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  animation: footer-ring-spin 18s linear infinite;
}

.footer-contact-btn__ring text {
  fill: var(--white);
  font-size: 8.6px;
  letter-spacing: 2.2px;
  font-weight: 500;
}

.footer-contact-btn__label {
  position: relative;
  z-index: 1;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.04em;
}

@keyframes footer-ring-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ========== Footer ========== */
.site-footer {
  position: relative;
  z-index: 1;
  background: var(--white);
  padding-top: 110px;
}

.footer-wrap {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 80px);
  box-sizing: border-box;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.15fr 1.55fr 1.05fr;
  gap: 40px 48px;
  align-items: start;
  padding-bottom: 56px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 18px;
}

.footer-logo img {
  height: 70px;
  width: auto;
}

.footer-brand p {
  font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.7;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-social a {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
}

.footer-social img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(37%) sepia(98%) saturate(2460%) hue-rotate(203deg) brightness(98%) contrast(101%);
}

.footer-nav {
  --footer-nav-row: 48px;
  --footer-subnav-row: 50px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: calc(var(--footer-subnav-row) * 6);
}

.footer-nav__group {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 8px;
  /* Keep groups free of transform so subnav can pin to .footer-nav top */
  transform: none;
}

.footer-nav__item {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  height: var(--footer-nav-row);
  padding: 0;
  border: 0;
  background: none;
  font-size: 30px;
  font-weight: 400;
  color: var(--text);
  cursor: pointer;
  line-height: 1.2;
  box-sizing: border-box;
  text-decoration: none;
}

.footer-nav__text {
  position: relative;
  display: inline-block;
  height: 1.2em;
  overflow: hidden;
  line-height: 1.2;
}

.footer-nav__text span {
  display: block;
  height: 1.2em;
  line-height: 1.2;
  transition: transform 0.45s cubic-bezier(0.22, 0.7, 0.25, 1);
}

.footer-nav__text span:last-child {
  color: var(--primary);
}

.footer-nav__text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.footer-nav__arrow {
  width: 12px;
  height: 12px;
  margin-top: 4px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  flex-shrink: 0;
}

.footer-nav__chevron {
  display: none;
}

.footer-nav__group.is-active .footer-nav__text span,
.footer-nav__item:hover .footer-nav__text span {
  transform: translateY(-100%);
}

.footer-nav__group.is-active .footer-nav__text::after {
  width: 100%;
}

.footer-nav__group.is-active .footer-nav__arrow {
  opacity: 1;
  transform: translateY(0);
}

.footer-nav__group--contact {
  display: none;
}

.footer-qr-card {
  display: none;
}

.footer-subnav__list {
  position: absolute;
  left: 15em;
  top: 0; /* always align to .footer-nav top, not the hovered group */
  display: flex;
  flex-direction: column;
  width: 200px;
  max-width: 200px;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 2;
}

.footer-nav__group.is-active .footer-subnav__list {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.footer-subnav__list li {
  position: relative;
  height: var(--footer-subnav-row);
  box-sizing: border-box;
}

.footer-subnav__list li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc((100% + 1.2em) / 2);
  height: 1px;
  background: var(--border-footer);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.footer-nav__group.is-active .footer-subnav__list li:not(:last-child)::after {
  opacity: 1;
}

.footer-subnav__list a {
  display: flex;
  align-items: flex-start;
  height: 100%;
  padding: 0;
  font-size: 18px;
  color: var(--text-light);
  line-height: 1.2;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.4s ease,
    transform 0.4s cubic-bezier(0.22, 0.7, 0.25, 1),
    color 0.4s ease;
}

.footer-subnav__list li:nth-child(1) a { transition-delay: 0.06s, 0.06s, 0s; }
.footer-subnav__list li:nth-child(2) a { transition-delay: 0.1s, 0.1s, 0s; }
.footer-subnav__list li:nth-child(3) a { transition-delay: 0.14s, 0.14s, 0s; }
.footer-subnav__list li:nth-child(4) a { transition-delay: 0.18s, 0.18s, 0s; }
.footer-subnav__list li:nth-child(5) a { transition-delay: 0.22s, 0.22s, 0s; }
.footer-subnav__list li:nth-child(6) a { transition-delay: 0.26s, 0.26s, 0s; }

.footer-nav__group.is-active .footer-subnav__list a {
  opacity: 1;
  transform: translateY(0);
}

.footer-subnav__list a:hover {
  color: var(--primary);
}

.footer-contact h4 {
  font-size: 30px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 22px;
}

.footer-contact ul {
  margin-bottom: 22px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.6;
}

.footer-contact li img {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex-shrink: 0;
  filter: brightness(0) saturate(100%) invert(37%) sepia(98%) saturate(2460%) hue-rotate(203deg) brightness(98%) contrast(101%);
}

.footer-qr {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.qrcode {
  width: 150px;
  height: 150px;
  object-fit: contain;
  background: var(--white);
  padding: 4px;
}

.footer-qr p {
  font-size: 16px;
  color: var(--text-muted);
}

.footer-bottom {
  border-top: 1px solid var(--border-footer);
  padding: 16px 0;
}

.footer-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--text-copyright);
  letter-spacing: 0.04em;
}

.back-top {
  font-size: 12px;
  color: var(--text-backtop);
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.back-top span {
  font-size: 11px;
}

.back-top:hover {
  color: var(--primary);
}


/* ========================================
   Responsive: 1440
   ======================================== */
@media (max-width: 1440px) {
  :root {
    --container: 1120px;
  }

  .header-inner {
    padding-left: 48px;
    padding-right: 48px;
    gap: 40px;
  }

  .main-nav > ul {
    gap: 36px;
  }
}

/* ========================================
   Responsive: 1024
   ======================================== */
@media (max-width: 1024px) {
  :root {
    --container: 960px;
    --header-h: 64px;
    --header-h-scrolled: 64px;
    --logo-h-scrolled: var(--logo-h);
  }

  .main-nav > ul {
    gap: 28px;
  }

  .main-nav a {
    font-size: 16px;
  }

  .header-inner {
    gap: 24px;
    padding-left: 32px;
    padding-right: 32px;
  }

  .lang-item {
    font-size: 13px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px 24px;
  }

  .footer-brand,
  .footer-contact {
    grid-column: 1 / -1;
  }

  .footer-nav {
    grid-column: 1 / -1;
  }
  .logo img {
    height: 40px;
  }
}

/* ========================================
   Responsive: 1200
   ======================================== */
@media (max-width: 1200px) {
  .nav-toggle {
    display: flex;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .header-inner {
    padding-left: 16px;
    padding-right: 16px;
    gap: 12px;
    overflow: visible;
  }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    flex: none;
    background: var(--white);
    padding: 0 0 20px;
    box-shadow: var(--shadow-nav-mobile);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    max-height: calc(100vh - var(--header-h));
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav > ul {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    height: auto;
    width: 100%;
  }

  .main-nav > ul > li,
  .main-nav > ul > li.has-dropdown {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  .main-nav > ul > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: auto !important;
    min-height: 48px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--text) !important;
    white-space: nowrap;
  }

  .main-nav > ul > li.has-dropdown > a.nav-parent {
    cursor: pointer;
  }

  .main-nav > ul > li > a.active {
    color: var(--primary) !important;
  }

  .main-nav a:hover,
  .main-nav a.active {
    color: var(--primary) !important;
  }

  .main-nav a.active::after {
    display: none;
  }

  .has-dropdown > a .nav-chevron {
    margin-left: 8px;
    width: 14px;
    height: 14px;
    opacity: 0.45;
    transition: transform 0.25s ease, opacity 0.2s ease;
  }

  .has-dropdown:hover > a .nav-chevron {
    transform: none;
  }

  .has-dropdown.is-open > a .nav-chevron {
    transform: rotate(180deg);
    opacity: 0.7;
  }

  .nav-dropdown {
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    min-width: 0;
    width: 100%;
    max-width: none;
    box-shadow: none;
    border-radius: 0;
    margin: 0;
    padding: 0;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow: hidden;
    background: var(--bg-soft);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    height: auto;
    transition: max-height 0.28s ease, opacity 0.2s ease, padding 0.2s ease;
  }

  .nav-dropdown::before {
    display: none;
  }

  .has-dropdown:hover .nav-dropdown {
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: none;
  }

  .has-dropdown.is-open > .nav-dropdown {
    max-height: 420px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    padding: 4px 0 10px;
    transform: none;
    width: 100% !important;
    align-self: stretch;
  }

  .nav-dropdown li {
    width: 100%;
    height: auto !important;
    min-height: 0;
    margin: 0;
    padding: 0;
    display: block;
  }

  .nav-dropdown a {
    display: block;
    width: 100%;
    height: auto !important;
    min-height: 0;
    padding: 8px 20px 8px 32px;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 400;
    color: var(--text-secondary) !important;
    white-space: normal;
    letter-spacing: 0;
    background: transparent;
  }

  .nav-dropdown a:hover,
  .nav-dropdown a:active {
    color: var(--primary) !important;
    background: transparent;
  }

  .header-actions {
    min-width: 0;
    gap: 24px;
  }

  .lang-switch {
    gap: 6px;
  }

  .lang-item {
    font-size: 12px;
  }

  .lang-item[data-lang="en"] {
    font-size: 0;
  }

  .lang-item[data-lang="en"]::before {
    content: "EN";
    font-size: 12px;
    line-height: 1.6;
  }

  .site-header {
    background: transparent;
  }

  .site-header:hover,
  .site-header.is-scrolled,
  .site-header.is-menu-open {
    background: var(--white);
  }

  .site-header.is-scrolled {
    background: var(--bg-header-scrolled);
  }

  .footer-cta {
    overflow: visible;
    padding-top: 56px;
    padding-bottom: 8px;
    min-height: 0;
  }

  .footer-cta__inner h2 {
    font-size: 26px;
    margin-bottom: 28px;
    padding: 0 12px;
  }

  .footer-contact-btn {
    width: 120px;
    height: 120px;
    margin-bottom: calc(120px / -3);
  }

  .footer-contact-btn__label {
    font-size: 18px;
  }

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

  .footer-qr-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 16px 18px;
    margin-bottom: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-sizing: border-box;
  }

  .footer-qr-card__copy p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text);
  }

  .footer-qr-card__copy p + p {
    color: var(--text-muted);
    font-size: 13px;
  }

  .footer-qr-card .qrcode {
    width: 84px;
    height: 84px;
    padding: 0;
    flex-shrink: 0;
  }

  .footer-main {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    gap: 0;
    padding-bottom: 24px;
  }

  .footer-brand,
  .footer-contact,
  .footer-nav {
    grid-column: auto;
  }

  .footer-nav {
    order: 1;
    width: 100%;
    min-height: 0;
    align-items: stretch;
  }

  .footer-brand {
    order: 2;
    padding-top: 28px;
  }

  .footer-logo {
    margin-bottom: 8px;
  }

  .footer-logo img {
    height: 40px;
  }

  .footer-brand p {
    font-size: 13px;
    margin-bottom: 0;
  }

  .footer-contact {
    order: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "title qr"
      "list qr";
    column-gap: 16px;
    row-gap: 12px;
    align-items: center;
    width: 100%;
    padding: 8px 16px 24px;
    margin-bottom: 8px;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-sizing: border-box;
  }

  .footer-contact h4 {
    grid-area: title;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.3;
    margin: 0;
    color: var(--text);
  }

  .footer-contact ul {
    grid-area: list;
    margin: 0;
  }

  .footer-contact li {
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-muted);
    margin-bottom: 8px;
    align-items: flex-start;
    gap: 8px;
  }

  .footer-contact li:last-child {
    margin-bottom: 0;
  }

  .footer-contact li img {
    width: 14px;
    height: 14px;
    margin-top: 3px;
  }

  .footer-qr {
    grid-area: qr;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin: 0;
  }

  .footer-contact .qrcode {
    width: 92px;
    height: 92px;
    padding: 6px;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-sizing: border-box;
  }

  .footer-qr p {
    font-size: 12px;
    line-height: 1.3;
    color: var(--text-muted);
    margin: 0;
  }



  .footer-nav__group--contact {
    display: flex;
    width: 100%;
  }

  .footer-nav__group {
    width: 100%;
    margin: 0;
    border-bottom: 1px solid var(--border-footer);
  }

  .footer-nav__item {
    width: 100%;
    height: auto;
    min-height: 64px;
    padding: 18px 2px;
    font-size: 28px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .footer-nav__text {
    overflow: visible;
    height: auto;
    font-size: 18px;
  }

  .footer-nav__text span:last-child,
  .footer-nav__text::after {
    display: none;
  }

  .footer-nav__group.is-active .footer-nav__text span,
  .footer-nav__item:hover .footer-nav__text span {
    transform: none;
  }

  .footer-nav__arrow {
    display: none;
  }

  .footer-nav__chevron {
    display: block;
    width: 16px;
    height: 16px;
    margin: 0;
    opacity: 0.4;
    transform: none;
    transition: transform 0.25s ease, opacity 0.2s ease;
  }

  .footer-nav__group.is-active .footer-nav__chevron {
    opacity: 0.7;
    transform: rotate(180deg);
  }

  .footer-subnav__list {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 2px 12px;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .footer-nav__group:not(.is-active) .footer-subnav__list {
    display: none;
  }

  .footer-subnav__list li {
    height: auto;
    min-height: 0;
  }

  .footer-subnav__list li:not(:last-child)::after {
    display: none;
  }

  .footer-subnav__list a {
    display: flex;
    align-items: center;
    gap: 8px;
    height: auto;
    min-height: 40px;
    padding: 8px 0;
    font-size: 15px;
    opacity: 1;
    transform: none;
    transition: color 0.2s ease;
  }

  .footer-subnav__list li:nth-child(n) a {
    transition-delay: 0s;
  }

  .footer-contact-panel a {
    white-space: normal;
    align-items: flex-start;
    line-height: 1.5;
  }

  .footer-contact-panel img {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex-shrink: 0;
    filter: brightness(0) saturate(100%) invert(37%) sepia(98%) saturate(2460%) hue-rotate(203deg) brightness(98%) contrast(101%);
  }

  .section-head h2 {
    font-size: 28px;
  }

  .footer-bottom__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .back-top {
    display: none;
  }
}

/* ========================================
   Responsive: 375
   ======================================== */
@media (max-width: 375px) {
  .container {
    padding: 0 16px;
  }

  .btn {
    min-width: 120px;
    height: 44px;
    font-size: 15px;
  }

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

  .section-head h2 {
    font-size: 24px;
  }

  .footer-main {
    gap: 0;
  }

  .footer-brand,
  .footer-contact,
  .footer-nav {
    grid-column: auto;
  }

  .footer-nav {
    min-height: 0;
  }

  .footer-subnav__list {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    max-width: none;
    margin-top: 8px;
    margin-bottom: 12px;
  }

  .footer-nav__group:not(.is-active) .footer-subnav__list {
    display: none;
  }
}
