html {
  --bg: #fffbf7;
  --bg-alt: #f7f3ff;
  --surface: #ffffff;
  --text: #1a1533;
  --text-secondary: #6b6580;
  --purple: #534ab7;
  --purple-dark: #3c3489;
  --purple-light: #eeedfe;
  --accent: #185fa5;
  --accent-light: #e6f1fb;
  --cta: #f97316;
  --cta-hover: #ea580c;
  --green: #0f6e56;
  --green-light: #e1f5ee;
  --border: #e8e4f0;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(83, 74, 183, 0.08);
  --font: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --header-h: 64px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

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

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

.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-home {
  min-height: auto;
  padding: 48px 0 56px;
  display: flex;
  align-items: center;
}

.hero-home .hero-grid {
  width: 100%;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 251, 247, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  color: var(--purple-dark);
  white-space: nowrap;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--purple), #7b72d4);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-desktop a {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  transition: 0.15s;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  background: var(--purple-light);
  color: var(--purple-dark);
}

.nav-desktop a.nav-key {
  font-weight: 600;
  color: var(--purple-dark);
}

.nav-desktop a.nav-key:hover {
  background: var(--purple-light);
  color: var(--purple);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: 0.15s;
}

.btn-primary {
  background: var(--cta);
  color: #fff;
}

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

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover { border-color: var(--purple); color: var(--purple-dark); }

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 8px 12px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--purple-dark);
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--bg);
  padding: 20px;
  z-index: 99;
  border-top: 1px solid var(--border);
}

.mobile-nav.open { display: block; }

.mobile-nav a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
}

/* Hero */
.hero {
  padding: 72px 0 56px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.12), transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(83, 74, 183, 0.1), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--purple-light);
  color: var(--purple-dark);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  color: var(--purple-dark);
}

.hero h1 em {
  font-style: normal;
  color: var(--cta);
}

.hero-lead {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 12px;
}

.hero-slogan {
  font-size: 14px;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.stat-item strong {
  display: block;
  font-size: 24px;
  color: var(--purple-dark);
}

.stat-item span {
  font-size: 13px;
  color: var(--text-secondary);
}

.hero-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 360px;
  box-shadow: var(--shadow);
  background: var(--surface);
  border: 1px solid var(--border);
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: 360px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero-slide.active { opacity: 1; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 18px;
  background: linear-gradient(transparent, rgba(26, 21, 51, 0.72));
  color: #fff;
}

.hero-caption strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.hero-caption span {
  font-size: 12px;
  opacity: 0.9;
}

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 0;
}

.hero-dot.active { background: #fff; }

.hero-fallback {
  height: 360px;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 13px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.gallery-item figcaption {
  padding: 10px 12px;
  font-size: 12px;
  color: var(--text-secondary);
}

@media (max-width: 960px) {
  .hero-carousel, .hero-fallback { height: 280px; }
  .hero-visual { min-height: 280px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* Sections */
section { padding: 72px 0; }

section.alt { background: var(--bg-alt); }

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.section-head h2 {
  font-size: clamp(26px, 4vw, 34px);
  color: var(--purple-dark);
  margin-bottom: 10px;
}

.section-head p {
  color: var(--text-secondary);
  font-size: 15px;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: 0.2s;
}

.card:hover {
  border-color: rgba(83, 74, 183, 0.35);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--purple-light);
  color: var(--purple);
  display: grid;
  place-items: center;
  font-size: 18px;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--purple-dark);
}

.card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.card-meta {
  margin-top: 12px;
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tag {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-light);
  color: var(--accent);
}

/* Page hero (inner pages) */
.page-hero {
  padding: 56px 0 40px;
  background: linear-gradient(180deg, var(--purple-light), var(--bg));
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  color: var(--purple-dark);
  margin-bottom: 12px;
}

.page-hero p {
  max-width: 720px;
  color: var(--text-secondary);
  font-size: 16px;
}

.breadcrumb {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.breadcrumb a { color: var(--accent); }

.service-dimension {
  border-left: 4px solid var(--purple);
  padding-left: 20px;
  margin-bottom: 32px;
}

.service-dimension h3 {
  font-size: 20px;
  color: var(--purple-dark);
  margin-bottom: 8px;
}

.service-dimension .partners {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.service-dimension p {
  color: var(--text-secondary);
  font-size: 15px;
  max-width: 800px;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.check-list li {
  padding-left: 24px;
  position: relative;
  font-size: 14px;
  color: var(--text-secondary);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.cta-band {
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
  color: #fff;
  border-radius: var(--radius);
  padding: 48px 40px;
  text-align: center;
  margin: 0 auto;
  max-width: 900px;
}

.cta-band h2 { font-size: 28px; margin-bottom: 10px; }
.cta-band p { opacity: 0.9; margin-bottom: 24px; }

.cta-band .btn-primary { background: var(--cta); }
.cta-band .btn-secondary { background: rgba(255,255,255,0.15); color: #fff; border-color: rgba(255,255,255,0.3); }

/* Footer */
.site-footer {
  background: var(--purple-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 48px 0 24px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-grid h4 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 14px;
}

.footer-grid > div > p,
.footer-grid > div > a {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 8px;
  line-height: 1.5;
}

.footer-grid a:hover { color: #fff; }

.footer-tagline {
  margin-top: 12px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.72);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

/* Responsive */
@media (max-width: 960px) {
  .nav-desktop, .header-actions .btn-ghost { display: none; }
  .menu-toggle { display: block; }
  .hero-grid, .grid-2, .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  section { padding: 56px 0; }
}

@media (max-width: 520px) {
  .container { width: calc(100% - 28px); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .cta-band { padding: 32px 24px; }
}

/* Company & partner grids */
.company-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.company-card h3 {
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--purple-dark);
}

.company-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.partner-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.partner-table th,
.partner-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.partner-table th {
  font-size: 12px;
  color: var(--text-secondary);
  background: var(--bg-alt);
}

.partner-table td:first-child {
  font-weight: 600;
  color: var(--purple-dark);
  white-space: nowrap;
}

.share-banner {
  background: var(--green-light);
  border: 1px solid #b8e6d5;
  color: var(--green);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 14px;
  margin-bottom: 20px;
}

.share-banner a {
  color: var(--accent);
  font-weight: 600;
  word-break: break-all;
}

/* Join page — process steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--purple-light), var(--purple), var(--purple-light));
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--purple);
  color: var(--purple-dark);
  font-size: 20px;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(83, 74, 183, 0.15);
}

.step-body h3 {
  font-size: 15px;
  color: var(--purple-dark);
  margin-bottom: 6px;
  line-height: 1.35;
}

.step-body p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 200px;
  margin: 0 auto;
}

/* Join page — application form */
.form-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 40px;
  box-shadow: var(--shadow);
}

.apply-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--purple-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  background: var(--surface);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #a8a3b8;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(83, 74, 183, 0.12);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b6580' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.55;
}

.form-submit {
  width: 100%;
  padding: 14px 24px;
  font-size: 15px;
  margin-top: 4px;
}

@media (max-width: 960px) {
  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 32px 20px;
  }

  .steps::before { display: none; }

  .step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 14px;
    padding: 0;
  }

  .step-num {
    width: 44px;
    height: 44px;
    font-size: 17px;
    flex-shrink: 0;
    margin-bottom: 0;
  }

  .step-body p { max-width: none; margin: 0; }

  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 28px 24px; }
}

@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
}

/* Three pillars (display board) */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pillar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  border-top: 4px solid var(--purple);
}

.pillar-head {
  font-size: 20px;
  font-weight: 700;
  color: var(--purple-dark);
  margin-bottom: 6px;
}

.pillar-sub {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.pillar-card .check-list li {
  margin-bottom: 10px;
  line-height: 1.55;
}

.pillar-card .check-list strong {
  color: var(--purple-dark);
}

/* Ecosystem matrix — full logo grid */
.logo-wall-full {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.logo-wall-full img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}

/* OPC community environment */
.env-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.env-gallery-uniform .env-item {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.env-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.env-item img {
  width: 100%;
  height: 220px;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  display: block;
}

.env-gallery-uniform .env-item figcaption {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
}

.env-item figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
  background: var(--surface);
}

.env-features {
  margin-top: 8px;
}

@media (max-width: 960px) {
  .env-gallery { grid-template-columns: repeat(2, 1fr); }
  .env-item img { height: 200px; }
}

@media (max-width: 520px) {
  .env-gallery { grid-template-columns: 1fr; }
  .env-item img { height: 220px; }
  .logo-wall-full { padding: 14px; }
}

/* Activities page — swipe carousel */
.section-activities {
  padding: 40px 0 80px;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(238, 237, 254, 0.7), transparent),
    radial-gradient(ellipse 60% 50% at 90% 100%, rgba(230, 241, 251, 0.5), transparent),
    var(--bg);
}

.activities-intro {
  text-align: center;
  margin-bottom: 36px;
}

.activities-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--purple);
  opacity: 0.75;
  margin-bottom: 8px;
}

.activities-lead {
  font-size: clamp(14px, 2vw, 16px);
  color: var(--text-secondary);
}

.act-carousel {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 48px;
}

.act-carousel-viewport {
  overflow: hidden;
  border-radius: 20px;
  touch-action: pan-y pinch-zoom;
  cursor: grab;
}

.act-carousel-viewport.is-dragging {
  cursor: grabbing;
}

.act-carousel-viewport.is-dragging .act-carousel-track {
  transition: none;
}

.act-carousel-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.act-slide {
  flex: 0 0 100%;
  min-width: 0;
  padding: 4px 2px;
}

.act-card {
  background: var(--surface);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 28px rgba(83, 74, 183, 0.08);
  border: 1px solid rgba(232, 228, 240, 0.8);
}

.act-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 12px 12px 0;
}

.act-media figure {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-alt);
}

.act-media img {
  width: 100%;
  height: 112px;
  object-fit: cover;
  display: block;
}

.act-body {
  padding: 18px 22px 22px;
  text-align: center;
}

.act-body h2 {
  font-size: clamp(15px, 2.2vw, 17px);
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 8px;
}

.act-body p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.act-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--surface);
  color: var(--purple);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(83, 74, 183, 0.12);
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
  z-index: 2;
}

.act-nav:hover {
  background: var(--purple-light);
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 4px 16px rgba(83, 74, 183, 0.18);
}

.act-nav-prev { left: 0; }
.act-nav-next { right: 0; }

.act-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.act-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: var(--border);
  cursor: pointer;
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.35s;
}

.act-dot.active {
  width: 24px;
  background: var(--purple);
}

@media (max-width: 580px) {
  .act-carousel { padding: 0 36px; }
  .act-nav { width: 34px; height: 34px; font-size: 18px; }
  .act-media img { height: 96px; }
  .act-body { padding: 14px 16px 18px; }
}

/* Featured sections */
.section-featured {
  padding: 72px 0;
}

.section-featured .section-head h2 {
  font-size: clamp(26px, 4vw, 34px);
}

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

/* Contact page */
.contact-page {
  padding: 48px 0 72px;
}

.contact-page-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.badge-contact {
  background: var(--accent-light);
  color: var(--accent);
  margin-bottom: 16px;
}

.contact-page-head h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.25;
}

.text-gradient {
  background: linear-gradient(90deg, #2563eb, #7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contact-page-lead {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.contact-info-panel h2,
.contact-form-card h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
}

.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-light);
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-info-row strong {
  display: block;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 4px;
}

.contact-info-row p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-info-row a {
  color: var(--accent);
}

.contact-info-row a:hover {
  text-decoration: underline;
}

.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}

.message-form .form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.btn-gradient {
  width: 100%;
  padding: 14px 24px;
  border: none;
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, #2563eb, #7c3aed);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}

.btn-gradient:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

@media (max-width: 960px) {
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .contact-form-card { padding: 28px 22px; }
}

@media (max-width: 520px) {
  .contact-page { padding: 32px 0 56px; }
  .contact-page-head { margin-bottom: 32px; }
}

/* Legacy contact cards (unused) */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--purple-light);
  color: var(--purple-dark);
  font-size: 14px;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.contact-card h3 {
  font-size: 15px;
  color: var(--purple-dark);
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-phone {
  font-size: 18px;
  font-weight: 700;
  color: var(--purple-dark);
}

.contact-phone:hover {
  color: var(--purple);
}

.contact-note {
  font-size: 12px;
  margin-top: 6px;
  color: var(--text-secondary);
  opacity: 0.85;
}

.contact-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Lechuang section */
.lechuang-section {
  background: linear-gradient(135deg, #1a1533 0%, #2d2860 50%, #1e3a5f 100%);
  color: #fff;
  padding: 80px 0;
}

.lechuang-header {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  margin-bottom: 36px;
}

.lechuang-logo {
  height: 56px;
  width: auto;
  flex-shrink: 0;
  filter: brightness(1.1);
}

.lechuang-header h2 {
  font-size: clamp(22px, 3vw, 30px);
  margin: 10px 0 12px;
  color: #fff;
}

.lechuang-header p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.65;
  max-width: 720px;
}

.lechuang-header strong { color: #fbbf24; }

.badge-light {
  background: rgba(255, 255, 255, 0.12);
  color: #e0e7ff;
}

.lechuang-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 40px;
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lechuang-stats .stat-item strong {
  color: #fff;
  font-size: 26px;
}

.lechuang-stats .stat-item span {
  color: rgba(255, 255, 255, 0.65);
}

.lechuang-subtitle {
  font-size: 18px;
  color: #fff;
  margin-bottom: 12px;
}

.lechuang-caption {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
}

.check-list-light li {
  color: rgba(255, 255, 255, 0.78);
}

.check-list-light li::before {
  color: #34d399;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-tags span {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.lechuang-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lechuang-figure {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.2);
}

.lechuang-figure img {
  width: 100%;
  display: block;
}

.lechuang-figure figcaption {
  padding: 10px 14px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
}

@media (max-width: 960px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .lechuang-header { flex-direction: column; }
  .lechuang-content { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .lechuang-stats { gap: 20px; }
}
