:root {
  --primary: #0c7752;
  --primary-dark: #095a3f;
  --primary-light: #12a06f;
  --primary-soft: #e8f5ef;
  --text: #1a2e28;
  --text-muted: #5a6b65;
  --bg: #ffffff;
  --bg-alt: #f6fbf8;
  --border: #dce8e2;
  --shadow: 0 8px 32px rgba(12, 119, 82, 0.12);
  --radius: 12px;
  --header-h: 72px;
  --font: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-dark);
}

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}

.site-header.scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 1.15rem;
}

.brand img {
  width: 44px;
  height: 44px;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-desktop a {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-desktop a:hover {
  color: var(--primary);
}

.nav-desktop a.nav-current,
.nav-mobile a.nav-current {
  color: var(--primary);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.28s ease, opacity 0.2s ease, background 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 1rem 4vw 1.25rem;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: var(--shadow);
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  color: var(--text);
  font-weight: 500;
  padding: 0.35rem 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, color 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn-ghost {
  background: var(--primary-soft);
  color: var(--primary);
}

.btn-ghost:hover {
  background: #d4ede3;
  color: var(--primary-dark);
}

/* Hero */
.hero {
  margin-top: var(--header-h);
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 45%, var(--primary-light) 100%);
  color: #fff;
  padding: 4rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.12), transparent 45%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
}

.hero-tag {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.hero h1.hero-title {
  margin: 0 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  line-height: 1.2;
}

.hero-title-brand {
  font-size: clamp(2.1rem, 5vw, 3.15rem);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hero-title-tagline {
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  font-weight: 600;
  opacity: 0.94;
  letter-spacing: 0.04em;
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  opacity: 0.92;
  max-width: 32em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat strong {
  display: block;
  font-size: 1.65rem;
  font-weight: 800;
}

.hero-stat span {
  font-size: 0.88rem;
  opacity: 0.85;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-brand {
  text-align: center;
}

.hero-brand-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 1rem;
}

.hero-brand-name {
  margin: 0;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}

.hero-brand-slogan {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
}

/* Section common */
section {
  padding: 4.5rem 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.75rem;
}

.section-head .label {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text);
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
}

.bg-alt {
  background: var(--bg-alt);
}

/* Services grid */
#services {
  background: var(--bg-alt);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.service-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100%;
  padding: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  background: #fff;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.service-card:hover {
  border-color: rgba(12, 119, 82, 0.2);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.service-card-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.35rem 1.35rem 0;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease;
}

.service-card:hover .service-icon {
  background: linear-gradient(145deg, var(--primary), var(--primary-light));
  color: #fff;
}

.service-icon i {
  line-height: 1;
}

.service-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  min-width: 0;
}

.service-card-desc {
  margin: 0;
  padding: 0.85rem 1.35rem 1.1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.service-card-foot {
  margin-top: auto;
  padding: 0.85rem 1.35rem;
  border-top: 1px solid rgba(12, 119, 82, 0.08);
  background: linear-gradient(180deg, rgba(232, 245, 239, 0.35), rgba(232, 245, 239, 0.65));
}

.service-card .link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.88rem;
  transition: gap 0.2s ease, color 0.2s ease;
}

.service-card .link i {
  font-size: 0.78rem;
  transition: transform 0.2s ease;
}

.service-card:hover .link {
  gap: 0.55rem;
}

.service-card:hover .link i {
  transform: translateX(2px);
}

/* Advantages */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.adv-item {
  text-align: center;
  padding: 1.5rem 1rem;
}

.adv-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--primary), var(--primary-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 6px 20px rgba(12, 119, 82, 0.25);
}

.adv-icon i {
  line-height: 1;
}

.adv-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.adv-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Security cards */
.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.security-card {
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid rgba(12, 119, 82, 0.1);
  background: linear-gradient(
    145deg,
    #ffffff 0%,
    var(--primary-soft) 48%,
    rgba(18, 160, 111, 0.14) 100%
  );
  box-shadow: 0 4px 18px rgba(12, 119, 82, 0.07);
  transition: box-shadow 0.2s, transform 0.2s;
}

.security-card:hover {
  box-shadow: 0 8px 28px rgba(12, 119, 82, 0.12);
  transform: translateY(-2px);
}

.security-card h3 {
  margin: 0 0 0.65rem;
  color: var(--primary-dark);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.security-card h3 i {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(12, 119, 82, 0.1);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.about-subnav-wrap {
  position: sticky;
  top: var(--header-h);
  z-index: 100;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.about-subnav-wrap::-webkit-scrollbar {
  display: none;
}

.about-subnav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
  width: max-content;
  min-width: 100%;
  padding: 0.65rem 4vw;
  box-sizing: border-box;
}

.about-subnav a {
  flex: 0 0 auto;
  padding: 0.45rem 1rem;
  white-space: nowrap;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.about-subnav a:hover {
  color: var(--primary);
  background: var(--primary-soft);
}

.about-subnav a.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-color: transparent;
}

.about-security {
  padding: 4rem 0;
  background: var(--bg);
}

.security-grid--about .security-card p {
  line-height: 1.7;
  font-size: 0.9rem;
}

.security-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* About split */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text p {
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.pillar {
  background: var(--primary-soft);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.pillar h4 {
  margin: 0 0 0.35rem;
  color: var(--primary-dark);
  font-size: 0.95rem;
}

.pillar p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.about-visual {
  background: linear-gradient(160deg, var(--primary-soft), #fff);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  border: 1px solid var(--border);
}

.about-visual img {
  margin: 0 auto 1rem;
  width: 140px;
}

.about-visual .quote {
  font-size: 1.05rem;
  color: var(--primary-dark);
  font-weight: 600;
  line-height: 1.5;
}

.section-head--left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 1.5rem;
}

/* Subpage hero */
.page-hero {
  margin-top: var(--header-h);
  padding: 2.5rem 0 2.75rem;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
}

.page-hero h1 {
  margin: 0.75rem 0 0.85rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  line-height: 1.25;
}

.page-hero-lead {
  margin: 0;
  max-width: 36em;
  font-size: 1rem;
  line-height: 1.65;
  opacity: 0.92;
}

.breadcrumb {
  font-size: 0.88rem;
  opacity: 0.85;
}

.breadcrumb a {
  color: #fff;
}

.breadcrumb a:hover {
  opacity: 0.9;
  color: #fff;
}

.breadcrumb-sep {
  margin: 0 0.4rem;
  opacity: 0.6;
}

.about-page-intro {
  padding: 3.5rem 0;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.about-stat {
  text-align: center;
  padding: 1.5rem 1rem;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.about-stat strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.2;
}

.about-stat span {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.about-pillars--page {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.pillar--icon {
  background: #fff;
  border: 1px solid var(--border);
  padding: 1.5rem;
}

.pillar--icon > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 0.75rem;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 1.1rem;
}

.pillar--icon p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.about-mvv {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.about-mvv-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--border);
}

.about-mvv-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.about-mvv-card h3 i {
  color: var(--primary);
}

.about-mvv-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.about-page-cta {
  padding: 3rem 0 4rem;
}

.about-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 2.25rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary-soft), #fff);
  border: 1px solid var(--border);
}

.about-cta-inner h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  color: var(--primary-dark);
}

.about-cta-inner p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.about-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Join / franchise */
.join-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.join-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  border: 1px solid var(--border);
}

.join-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--primary-dark);
}

.join-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Project types */
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.project-tag {
  padding: 0.65rem 1.25rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-weight: 600;
  color: var(--text);
  font-size: 0.92rem;
  transition: all 0.2s;
}

.project-tag:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* News */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.news-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s;
}

.news-card:hover {
  box-shadow: var(--shadow);
}

.news-thumb {
  height: 160px;
  background: linear-gradient(135deg, var(--primary-soft), #c8e6d8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
}

.news-body {
  padding: 1.25rem;
}

.news-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.news-body h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  line-height: 1.4;
}

.news-body p {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more {
  font-weight: 600;
  font-size: 0.88rem;
}

/* Partners */
.partners {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.partner-badge {
  padding: 0.5rem 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

.contact-info li strong {
  color: var(--text);
  display: inline-block;
  min-width: 4.5em;
}

.contact-tel {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.contact-tel:hover {
  text-decoration: underline;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.contact-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.contact-form {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
}

.form-row textarea {
  min-height: 100px;
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid var(--primary-soft);
  border-color: var(--primary);
}

/* Footer */
.site-footer {
  background: #0a3d2c;
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.75fr);
  gap: 2.5rem 3rem;
  margin-bottom: 2rem;
  align-items: start;
}

.footer-brand-head {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  color: #fff;
}

.footer-brand-head:hover {
  color: #fff;
  opacity: 0.92;
}

.footer-brand-head img {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.footer-brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.footer-brand p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.65;
  opacity: 0.85;
  max-width: 26em;
}

.footer-qr {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.footer-qr img {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 8px;
  background: #fff;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-qr span {
  font-size: 0.84rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 2rem;
}

.footer-col h4 {
  color: #fff;
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.35rem;
}

.footer-col a {
  display: inline-block;
  padding: 0.2rem 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
  line-height: 1.45;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 0.82rem;
}

.footer-bottom p {
  margin: 0;
  line-height: 1.6;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.82);
}

.footer-domain {
  margin-top: 0.25rem !important;
  color: rgba(255, 255, 255, 0.65);
}

.footer-keywords {
  margin-top: 0.65rem !important;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.52);
  max-width: 36em;
  margin-left: auto;
  margin-right: auto;
}

/* Float CTA */
.float-cta {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.float-cta a,
.float-cta .float-cta-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  font-size: 1.2rem;
  transition: transform 0.2s, background 0.2s, opacity 0.2s, visibility 0.2s;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

.float-cta a i,
.float-cta .float-cta-btn i {
  line-height: 1;
}

.float-cta a:hover,
.float-cta .float-cta-btn:hover {
  transform: scale(1.05);
  background: var(--primary-dark);
  color: #fff;
}

.wechat-qr-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.wechat-qr-modal[hidden] {
  display: none;
}

.wechat-qr-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 30, 22, 0.55);
  backdrop-filter: blur(4px);
}

.wechat-qr-modal__panel {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.5rem;
  max-width: 320px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.wechat-qr-modal__panel h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.wechat-qr-modal__hint {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.wechat-qr-modal__panel img {
  display: block;
  width: min(240px, 100%);
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.wechat-qr-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.wechat-qr-modal__close:hover {
  background: var(--border);
  color: var(--text);
}

.float-cta .back-to-top {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.85);
}

.float-cta .back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
}

.float-cta .back-to-top.is-visible:hover {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .hero-brand-logo {
    width: 88px;
    height: 88px;
  }

  .services-grid,
  .adv-grid,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .join-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .about-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-mvv {
    grid-template-columns: 1fr;
  }

  .about-pillars--page {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .footer-col:last-child {
    grid-column: 1 / -1;
  }

  .footer-col:last-child ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 0.75rem;
  }
}

@media (max-width: 640px) {
  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .header-inner .btn-primary {
    display: none;
  }

  .services-grid,
  .adv-grid,
  .security-grid,
  .news-grid,
  .join-grid {
    grid-template-columns: 1fr;
  }

  .about-pillars {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 2.25rem 0 calc(6rem + env(safe-area-inset-bottom, 0px));
  }

  .footer-grid {
    gap: 1.75rem;
    margin-bottom: 1.5rem;
  }

  .footer-brand {
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer-brand-head {
    margin-bottom: 0.75rem;
  }

  .footer-brand p {
    max-width: none;
    font-size: 0.86rem;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 1rem;
  }

  .footer-col:last-child {
    grid-column: 1 / -1;
  }

  .footer-col:last-child ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 0.75rem;
  }

  .footer-col h4 {
    margin-bottom: 0.65rem;
    font-size: 0.9rem;
  }

  .footer-col a {
    padding: 0.28rem 0;
    font-size: 0.86rem;
  }

  .footer-bottom {
    text-align: left;
    padding-top: 1.25rem;
  }

  .footer-keywords {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
    line-height: 1.55;
  }

  section {
    padding: 3rem 0;
  }

  .page-hero {
    padding: 2rem 0 2.25rem;
  }

  .about-cta-inner {
    padding: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .about-cta-actions {
    width: 100%;
  }

  .about-cta-actions .btn {
    flex: 1;
    min-width: calc(50% - 0.375rem);
  }
}

@media (max-width: 380px) {
  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-col:last-child ul {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .about-cta-actions .btn {
    min-width: 100%;
  }
}
