/* ============================================================
   WULONG — Homepage stylesheet
   Light theme · olive + warm sand
   ============================================================ */

:root {
  --bg: #F7F7F2;
  --bg-2: #EFF1E6;
  --bg-3: #E7EADB;
  --cream: #FCFBF5;
  --white: #FFFFFF;
  --ink: #1C2118;
  --ink-soft: #464E3E;
  --ink-mute: #6A7260;
  --olive: #65A30D;
  --olive-bright: #84CC16;
  --olive-dark: #3F6212;
  --olive-deep: #2B3F0C;
  --olive-tint: #E8F0D8;
  --sand: #D9C48B;
  --sand-deep: #A98F4E;
  --sand-tint: #F1E9D2;
  --line: #DCDECF;
  --line-strong: #C5C9B6;
  --shadow: 0 18px 50px rgba(28, 33, 24, 0.08);
  --radius: 18px;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--olive-dark); text-decoration: none; }
a:hover { color: var(--olive); }

h1, h2, h3, h4 {
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.02em;
}

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

section { scroll-margin-top: 96px; }

/* ============================================================
   MAP-PIN NAVIGATION
   ============================================================ */
.pin-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(28, 33, 24, 0.03);
}

.pin-nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.pin-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.14em;
  color: var(--ink);
}

.pin-brand:hover { color: var(--ink); }

.map-pin {
  position: relative;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border: 2px solid var(--olive-dark);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: transparent;
}

.map-pin::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--olive);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.pin-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pin-links a {
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 6px 2px;
  position: relative;
}

.pin-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--olive);
  transition: width 0.25s ease;
}

.pin-links a:hover { color: var(--ink); }
.pin-links a:hover::after { width: 100%; }

.pin-cta {
  display: inline-flex;
  align-items: center;
  background: var(--olive);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 15px;
  padding: 11px 22px;
  border-radius: 10px;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, transform 0.2s ease;
}

.pin-cta:hover {
  background: var(--olive-dark);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ============================================================
   TEAM CIRCLE HERO
   ============================================================ */
.team-hero {
  position: relative;
  background:
    radial-gradient(circle at 82% 18%, var(--sand-tint) 0, transparent 42%),
    radial-gradient(circle at 12% 90%, var(--olive-tint) 0, transparent 38%),
    var(--bg);
  padding: 84px 0 96px;
  overflow: hidden;
}

.team-hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--olive-tint);
  color: var(--olive-dark);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
}

.hero-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--olive);
}

.team-hero h1 {
  font-size: clamp(38px, 5vw, 60px);
  margin: 22px 0 20px;
  letter-spacing: -0.03em;
}

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

.hero-sub {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 540px;
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 26px;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-primary { background: var(--olive); color: #FFFFFF; }
.btn-primary:hover { background: var(--olive-dark); color: #FFFFFF; transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--olive-dark); color: var(--olive-dark); transform: translateY(-2px); }

.hero-note {
  margin-top: 26px;
  font-size: 14px;
  color: var(--ink-mute);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-note::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sand-deep);
}

/* Team circle visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-circle {
  position: relative;
  width: 440px;
  height: 440px;
  max-width: 100%;
  --r: 200px;
}

.team-line {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--r, 200px) - 34px);
  height: 1px;
  background: var(--line-strong);
  transform-origin: left center;
  transform: rotate(var(--a, 0deg));
  z-index: 1;
}

.team-person {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 66px;
  height: 66px;
  margin: -33px 0 0 -33px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  z-index: 2;
  transform: rotate(var(--a, 0deg)) translate(var(--r, 200px)) rotate(calc(var(--a, 0deg) * -1));
}

.p-head {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--olive-soft);
}

.p-shoulders {
  width: 54px;
  height: 30px;
  border-radius: 27px 27px 0 0;
  background: var(--olive-soft);
  margin-top: 3px;
}

.team-person.person-sand .p-head,
.team-person.person-sand .p-shoulders {
  background: var(--sand);
}

.team-person.person-olive .p-head,
.team-person.person-olive .p-shoulders {
  background: #A8C686;
}

.team-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  background: var(--olive);
  border-radius: 50%;
  z-index: 3;
  box-shadow: 0 0 0 8px var(--olive-tint);
}

.team-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 360px;
  height: 360px;
  margin: -180px 0 0 -180px;
  border: 1px dashed var(--line-strong);
  border-radius: 50%;
  z-index: 0;
}

/* ============================================================
   STATEMENT ROW
   ============================================================ */
.statement-section {
  background: var(--olive-deep);
  color: var(--cream);
  padding: 92px 0;
}

.statement-section .container {
  max-width: 1000px;
  text-align: center;
}

.statement-kicker {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand);
  font-weight: 700;
}

.statement-text {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 42px);
  line-height: 1.3;
  font-weight: 400;
  margin: 24px 0 26px;
  color: var(--cream);
}

.statement-text strong { color: var(--olive-bright); font-weight: 700; }

.statement-sub {
  font-size: 16px;
  color: #D5DCC6;
  max-width: 720px;
  margin: 0 auto;
}

/* ============================================================
   STATS
   ============================================================ */
.stats-section {
  background: var(--bg);
  padding: 84px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.stat-cell {
  text-align: center;
  padding: 26px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-cell:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.stat-num {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  color: var(--olive-dark);
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-num span { color: var(--sand-deep); }

.stat-label {
  margin-top: 10px;
  font-size: 15px;
  color: var(--ink-soft);
  font-weight: 600;
}

/* ============================================================
   SERVICES — horizontal scroll
   ============================================================ */
.services-section {
  background: var(--bg-2);
  padding: 92px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.section-head h2 { font-size: clamp(30px, 3.4vw, 44px); margin: 0; }
.section-head p { color: var(--ink-soft); margin: 6px 0 0; max-width: 520px; }

.scroll-hint {
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.scroll-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 6px 2px 22px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.scroll-row::-webkit-scrollbar { height: 10px; }
.scroll-row::-webkit-scrollbar-track { background: var(--bg-3); border-radius: 10px; }
.scroll-row::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 10px; }

.service-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background: var(--cream);
  border: 1px solid var(--line);
  border-top: 4px solid var(--olive);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--olive-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 24px;
}

.service-card h3 { font-size: 20px; margin-bottom: 10px; }
.service-card p { color: var(--ink-soft); margin: 0; font-size: 15px; }

/* ============================================================
   PROCESS — numbered list with connecting lines
   ============================================================ */
.process-section {
  background: var(--bg);
  padding: 92px 0;
}

.process-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.process-intro h2 { font-size: clamp(30px, 3.4vw, 44px); }
.process-intro p { color: var(--ink-soft); }

.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.process-list::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: var(--line-strong);
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 14px 0;
}

.process-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--olive);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 6px var(--bg);
}

.process-step h3 { font-size: 20px; margin: 2px 0 6px; }
.process-step p { margin: 0; color: var(--ink-soft); }

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.compare-section {
  background: var(--bg-3);
  padding: 92px 0;
}

.compare-wrap {
  max-width: 980px;
  margin: 0 auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.compare-table th,
.compare-table td {
  padding: 18px 22px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.compare-table thead th {
  background: var(--olive-dark);
  color: #FFFFFF;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.compare-table thead th:first-child { background: var(--olive-deep); }

.compare-table tbody th {
  color: var(--ink);
  font-weight: 700;
  background: var(--sand-tint);
  white-space: nowrap;
}

.compare-table td { color: var(--ink-soft); }

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: 0; }

.check { color: var(--olive); font-weight: 800; }
.muted { color: var(--ink-mute); }

/* ============================================================
   WHY WULONG
   ============================================================ */
.why-section {
  background: var(--bg);
  padding: 92px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.why-grid h2 { font-size: clamp(30px, 3.4vw, 44px); }
.why-grid .lead { color: var(--ink-soft); font-size: 17px; }

.why-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.why-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--ink-soft);
}

.why-list li::before {
  content: "";
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--sand);
  box-shadow: 0 0 0 4px var(--sand-tint);
}

.why-list strong { color: var(--ink); }

.why-panel {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 32px;
  box-shadow: var(--shadow);
}

.why-panel h3 { font-size: 22px; }

.why-panel p { color: var(--ink-soft); }

.why-panel .tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.why-panel .tag {
  font-size: 13px;
  font-weight: 700;
  color: var(--olive-dark);
  background: var(--olive-tint);
  padding: 6px 14px;
  border-radius: 999px;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section {
  background: var(--bg);
  padding: 92px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
}

.contact-info h3 { font-size: 20px; margin-bottom: 16px; }

.contact-info p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 15px;
}

.contact-info p:last-child { margin-bottom: 0; }
.contact-info strong { color: var(--ink); }

.contact-info a { color: var(--olive-dark); font-weight: 600; }

.contact-form {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
  box-shadow: var(--shadow);
}

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

.form-field { margin-bottom: 18px; }

.form-field label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 7px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--olive);
  box-shadow: 0 0 0 3px var(--olive-tint);
}

.form-field textarea { resize: vertical; }

.form-status {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--olive-dark);
  min-height: 20px;
}

/* ============================================================
   SPLIT CTA BAND
   ============================================================ */
.cta-section {
  background: var(--bg-2);
  padding: 80px 0;
}

.cta-band {
  background: var(--olive);
  border-radius: 22px;
  padding: 54px 58px;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  align-items: center;
  gap: 32px;
  box-shadow: 0 22px 60px rgba(63, 98, 18, 0.28);
}

.cta-band h2 {
  color: #FFFFFF;
  font-size: clamp(28px, 3.4vw, 40px);
  margin-bottom: 12px;
}

.cta-band p { color: #EAF3DC; margin: 0; font-size: 17px; }

.cta-band .btn-light {
  background: #FFFFFF;
  color: var(--olive-dark);
  justify-self: end;
}
.cta-band .btn-light:hover { background: var(--cream); color: var(--olive-deep); transform: translateY(-2px); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--cream);
  border-top: 4px solid var(--olive);
  padding: 64px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-col h4 {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 18px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.14em;
  color: var(--ink);
  margin-bottom: 14px;
}

.footer-brand .map-pin { width: 18px; height: 18px; flex: 0 0 18px; }
.footer-brand .map-pin::after { width: 7px; height: 7px; }

.footer-about { color: var(--ink-soft); font-size: 15px; margin: 0; }

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}

.footer-col ul a { color: var(--ink-soft); font-size: 15px; }
.footer-col ul a:hover { color: var(--olive-dark); }

.footer-contact { color: var(--ink-soft); font-size: 15px; display: grid; gap: 10px; }
.footer-contact a { color: var(--ink); font-weight: 600; }

.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 48px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--ink-mute);
}

.footer-bottom .legal-links { display: flex; gap: 20px; }
.footer-bottom .legal-links a { color: var(--ink-soft); }
.footer-bottom .legal-links a:hover { color: var(--olive-dark); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .team-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .team-hero { padding: 60px 0 72px; }
  .hero-visual { order: -1; }
  .team-circle { width: 320px; height: 320px; --r: 138px; }
  .team-ring { width: 260px; height: 260px; margin: -130px 0 0 -130px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr; gap: 36px; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band .btn-light { justify-self: start; }
}

@media (max-width: 720px) {
  .pin-links,
  .pin-nav .pin-cta {
    display: none;
  }

  .nav-toggle { display: flex; }

  .pin-nav.nav-open .pin-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(28, 33, 24, 0.08);
  }

  .pin-nav.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .pin-nav.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .pin-nav.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .scroll-hint { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .compare-table { display: block; overflow-x: auto; }
  .cta-band { padding: 36px 26px; }
  .stats-grid { gap: 16px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
