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

:root {
  --bg:    #04080F;
  --ink:   #0A1628;
  --blue:  #2563FF;
  --cyan:  #00D4FF;
  --fire:  #FF6B35;
  --white: #FFFFFF;
  --dim:   rgba(255,255,255,0.45);
  --faint: rgba(255,255,255,0.07);
  --surface: rgba(255,255,255,0.02);
  --card-border: rgba(255,255,255,0.07);
  --nav-bg: rgba(4,8,15,0.85);
  --nav-border: rgba(255,255,255,0.07);
  --pill-border: rgba(255,255,255,0.12);
  --pill-color: rgba(255,255,255,0.6);
  --fstep-border: rgba(255,255,255,0.05);
  --fstep-hover: rgba(255,255,255,0.03);
  --footer-border: rgba(255,255,255,0.06);
  --stroke-color: rgba(255,255,255,0.5);
  --card-hover-bg: rgba(0,212,255,0.04);
  --card-hover-border: rgba(0,212,255,0.35);
  --card-open-border: rgba(255,107,53,0.3);
  --card-open-p: rgba(255,255,255,0.35);
  --theme-icon: '🌙';
  --map-opacity: 0.80;
  --divider: linear-gradient(90deg, transparent, rgba(0,212,255,0.3), rgba(37,99,255,0.3), transparent);
}

[data-theme="light"] {
  --bg:    #EEF1F5;
  --ink:   #D1D5DB;
  --blue:  #2563FF;
  --cyan:  #0E7C9B;
  --fire:  #E05A2A;
  --white: #1A2332;
  --dim:   rgba(26,35,50,0.55);
  --faint: rgba(26,35,50,0.06);
  --surface: rgba(26,35,50,0.025);
  --card-border: rgba(26,35,50,0.12);
  --nav-bg: rgba(238,241,245,0.92);
  --nav-border: rgba(26,35,50,0.10);
  --pill-border: rgba(26,35,50,0.18);
  --pill-color: rgba(26,35,50,0.55);
  --fstep-border: rgba(26,35,50,0.08);
  --fstep-hover: rgba(26,35,50,0.03);
  --footer-border: rgba(26,35,50,0.10);
  --stroke-color: rgba(26,35,50,0.20);
  --card-hover-bg: rgba(14,124,155,0.07);
  --card-hover-border: rgba(14,124,155,0.40);
  --card-open-border: rgba(224,90,42,0.25);
  --card-open-p: rgba(26,35,50,0.40);
  --theme-icon: '☀️';
  --map-opacity: 0.25;
  --divider: linear-gradient(90deg, transparent, rgba(14,124,155,0.3), rgba(37,99,255,0.3), transparent);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans SC', sans-serif;
  background: var(--bg); color: var(--white);
  font-size: 15px; line-height: 1.7;
  overflow-x: hidden;
  transition: background .35s, color .35s;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 6vw;
  background: var(--nav-bg); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--nav-border);
}
.logo-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Noto Serif SC', serif; font-size: 20px; font-weight: 700;
  text-decoration: none; color: var(--white); letter-spacing: .04em;
}
.logo img { height: 32px; width: auto; border-radius: 6px; }
.logo span { color: var(--cyan); }
.slogan {
  font-size: 14px;
  color: var(--dim);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.slogan .tag { color: var(--cyan); }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { font-size: 13px; color: var(--dim); text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--white); }

.theme-toggle {
  background: none; border: 1px solid var(--card-border); border-radius: 8px;
  color: var(--dim); font-size: 16px; cursor: pointer; padding: 4px 10px;
  line-height: 1; transition: color .2s, border-color .2s;
}
.theme-toggle:hover { color: var(--white); border-color: var(--cyan); }

/* ── HERO ── */
#hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  padding: 128px 8vw 80px;
  overflow: hidden;
}

/* Canvas map */
#map-canvas {
  position: absolute;
  top: 0; right: 0;
  width: 60%; 
  /* height: 100%; */
  z-index: 0;
  opacity: var(--map-opacity);
  transition: opacity .35s;
  top: 50%; transform: translateY(-50%)
}

/* Hero content */
.hero-content { position: relative; z-index: 10; max-width: 700px; }

.hero-loc {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 16px; letter-spacing: .18em; color: var(--cyan);
  margin-bottom: 32px;
}
.hero-loc::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: blink 2s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

.hero-h1 {
  font-family: 'Noto Serif SC', serif;
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -.01em;
  margin-bottom: 24px;
}
.hero-h1 .line2 {
  display: block;
  -webkit-text-stroke: 1px var(--stroke-color);
  color: transparent;
}
.hero-h1 .accent { color: var(--cyan); }

.hero-sub {
  font-size: clamp(13px, 1.5vw, 16px);
  color: var(--dim); max-width: 420px; line-height: 1.9;
}

/* ── DIVIDER ── */
.divider {
  width: 100%; height: 1px;
  background: var(--divider);
  margin: 0;
}

/* ── SECTIONS ── */
section { padding: 80px 8vw; }
.eyebrow {
  font-size: 16px; letter-spacing: .2em; color: var(--cyan);
  text-transform: uppercase; margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content:''; display:block; width:24px; height:1px; background:var(--cyan); }

.stitle {
  font-family: 'Noto Serif SC', serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700; line-height: 1.2; margin-bottom: 14px;
}
.ssub { font-size: 14px; color: var(--dim); max-width: 460px; line-height: 1.85; }

/* ── WEBSITE ── */
#website { background: var(--surface); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 52px; align-items: start; }

.feat-list { list-style: none; display: flex; flex-direction: column; gap: 22px; }
.feat-item { display: flex; gap: 14px; align-items: flex-start; }
.feat-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--faint); border: 1px solid rgba(0,212,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0;
}
.feat-item h4 { font-size: 14px; font-weight: 500; margin-bottom: 3px; }
.feat-item p  { font-size: 13px; color: var(--dim); }

.stat-card {
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 16px; padding: 36px;
  background: linear-gradient(135deg, rgba(37,99,255,0.08), rgba(0,212,255,0.04));
  position: relative; overflow: hidden;
}
.stat-card::after {
  content: ''; position: absolute;
  top: -60px; right: -60px; width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(0,212,255,0.12), transparent 70%);
  pointer-events: none;
}
.big-num {
  font-size: 80px; font-family: 'Noto Serif SC', serif; font-weight: 700;
  line-height: 1; color: var(--white);
}
.big-num span { font-size: 32px; color: var(--cyan); }
.num-label { font-size: 12px; color: var(--dim); margin-bottom: 28px; letter-spacing: .08em; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  font-size: 12px; padding: 5px 12px; border-radius: 20px;
  border: 1px solid var(--pill-border); color: var(--pill-color);
  transition: border-color .2s;
}
.pill:hover { border-color: var(--cyan); color: var(--white); }
.pill.hi { border-color: var(--fire); color: var(--fire); }

/* ── AUTOLEAD ── */
#autolead {}
.auto-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 52px; }

.flow {
  border: 1px solid var(--card-border);
  border-radius: 16px; overflow: hidden;
}
.fstep {
  display: flex; gap: 14px; padding: 18px 20px;
  border-bottom: 1px solid var(--fstep-border);
  transition: background .2s;
}
.fstep:last-child { border-bottom: none; }
.fstep:hover { background: var(--fstep-hover); }
.fdot {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  background: rgba(37,99,255,0.15); border: 1px solid rgba(37,99,255,0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: var(--blue); margin-top: 2px;
}
.fstep.on .fdot {
  background: var(--blue); color: var(--white); border-color: var(--blue);
  animation: glow 2.5s infinite;
}
@keyframes glow { 0%,100%{box-shadow:0 0 8px rgba(37,99,255,.5)} 50%{box-shadow:0 0 20px rgba(37,99,255,1)} }
.fstep h5 { font-size: 13px; font-weight: 500; margin-bottom: 3px; }
.fstep p  { font-size: 12px; color: var(--dim); line-height: 1.5; }

/* ── SERVICES ── */
#services { background: var(--surface); }
.svc-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr));
  gap: 14px; margin-top: 48px;
}
.svc-card {
  border: 1px solid var(--card-border); border-radius: 12px;
  padding: 24px 20px; background: var(--faint);
  transition: border-color .2s, background .2s;
  cursor: default;
}
.svc-card:hover {
  border-color: var(--card-hover-border);
  background: var(--card-hover-bg);
}
.svc-card .ico { font-size: 20px; margin-bottom: 12px; }
.svc-card h3 { font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.svc-card p  { font-size: 13px; color: var(--dim); line-height: 1.6; }
.svc-card.open { border-color: var(--card-open-border); }
.svc-card.open h3 { color: var(--fire); }
.svc-card.open p  { color: var(--card-open-p); }

/* ── CONTACT ── */
#contact {
  padding: 80px 8vw;
  display: flex; flex-direction: column; align-items: flex-start;
}
.contact-block { margin-top: 44px; display: flex; flex-direction: column; gap: 10px; }
.c-row { display: flex; align-items: baseline; gap: 20px; }
.c-label { font-size: 11px; letter-spacing: .15em; color: var(--cyan); width: 60px; flex-shrink: 0; }
.c-val {
  font-family: 'Noto Serif SC', serif;
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700; line-height: 1.1; color: var(--white);
  letter-spacing: .02em;
}
.c-val.phone { color: var(--cyan); }

footer {
  border-top: 1px solid var(--footer-border);
  padding: 20px 8vw; font-size: 12px; color: var(--dim);
  display: flex; justify-content: space-between;
}

@media (max-width: 680px) {
  .nav-links { display: none; }
  .slogan { white-space: normal; font-size: 9px; }
  .two-col, .auto-inner { grid-template-columns: 1fr; }
  .stat-card { order: -1; }
  .hero-h1 { font-size: clamp(36px, 10vw, 60px); }
}
@media (prefers-reduced-motion: reduce) {
  .fstep.on .fdot, .hero-loc::before { animation: none; }
}
