/* =========================================================
   戈露露 · 个人主页  —  Light-blue business design system
   Palette: navy / blue / azure / sky / cyan / steel
   on light-blue & white. Clean, corporate, premium, trustworthy.
   ========================================================= */

:root {
  --navy: #0e2a47;
  --navy-2: #0a2038;
  --blue: #1b5e9b;
  --blue-deep: #12456f;
  --azure: #2e86d6;
  --sky: #5fb0ea;
  --cyan: #17a2c0;
  --cyan-deep: #0f7d97;
  --steel: #6e8ca8;

  --bg: #eef4fb;
  --bg-2: #e4eef8;
  --surface: #ffffff;
  --surface-2: #f6faff;
  --sand: #d8e6f3;
  --ink: #14263a;
  --ink-soft: #4a6076;
  --ink-faint: #8aa0b6;
  --line: rgba(20, 38, 58, 0.12);
  --line-strong: rgba(20, 38, 58, 0.2);

  --success: #1e9e6a;
  --warning: #e0a32e;
  --danger: #d64545;
  --info: #17a2c0;

  --on-dark: #eaf2fb;
  --on-dark-soft: rgba(234, 242, 251, 0.72);
  --on-dark-faint: rgba(234, 242, 251, 0.45);

  --font-serif: "Noto Serif SC", "Songti SC", "Source Han Serif SC", serif;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --font-num: "Manrope", var(--font-sans);

  --nav-h: 74px;
  --maxw: 1200px;
  --radius: 16px;
  --radius-sm: 11px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(14, 42, 71, 0.06);
  --shadow: 0 18px 44px -20px rgba(14, 42, 71, 0.28);
  --shadow-lg: 0 40px 80px -30px rgba(14, 42, 71, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }
section[id] { scroll-margin-top: calc(var(--nav-h) + 14px); }

::selection { background: var(--azure); color: #fff; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }

/* ---- Custom scrollbar ---- */
* { scrollbar-width: thin; scrollbar-color: var(--azure) var(--bg-2); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--azure), var(--blue));
  border-radius: 20px;
  border: 3px solid var(--bg-2);
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(var(--cyan), var(--blue)); }

/* ---- Icons ---- */
.icon {
  width: 1.15em; height: 1.15em;
  fill: none; stroke: currentColor;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  flex: none;
}

:focus-visible { outline: 2.5px solid var(--azure); outline-offset: 3px; border-radius: 4px; }

/* =========================================================
   Ambient overlays
   ========================================================= */
.grain {
  position: fixed; inset: 0; z-index: 3;
  pointer-events: none; opacity: 0.04; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%; z-index: 200;
  background: linear-gradient(90deg, var(--blue), var(--azure), var(--cyan));
  box-shadow: 0 0 12px rgba(46, 134, 214, 0.6);
  transition: width 0.1s linear;
}

/* =========================================================
   Layout helpers
   ========================================================= */
.section { padding: clamp(70px, 10vw, 130px) 24px; }
.section-alt { padding: clamp(70px, 10vw, 130px) 24px; background: var(--bg-2); }
.section-dark {
  padding: clamp(70px, 10vw, 130px) 24px;
  background: var(--navy); color: var(--on-dark);
  position: relative; overflow: hidden;
}

.section-label {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-num); font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 20px;
}
.section-label span {
  font-size: 0.78rem; color: var(--azure);
  border: 1px solid var(--sand); border-radius: 30px;
  padding: 3px 9px; letter-spacing: 0.05em;
}
.section-label.light { color: var(--sky); }
.section-label.light span { color: var(--sky); border-color: rgba(95, 176, 234, 0.4); }

.section-title {
  font-family: var(--font-sans); font-weight: 800; line-height: 1.22;
  font-size: clamp(1.9rem, 4.4vw, 3.1rem); letter-spacing: -0.01em; color: var(--ink);
}
.section-title.light { color: var(--on-dark); }
.section-title .hl { color: var(--blue); position: relative; white-space: nowrap; }
.section-title .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.06em;
  height: 0.26em; background: linear-gradient(90deg, rgba(46, 134, 214, 0.4), rgba(23, 162, 192, 0.32));
  z-index: -1; border-radius: 4px;
}
.section-title .hl-sky { color: var(--sky); }

.section-desc { max-width: 580px; margin-top: 20px; color: var(--ink-soft); font-size: 1.05rem; }
.section-desc.light { color: var(--on-dark-soft); }
.sub-head { font-family: var(--font-sans); font-weight: 800; font-size: 1.4rem; color: var(--ink); margin-bottom: 18px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-sans); font-weight: 600; font-size: 0.98rem;
  padding: 13px 24px; border-radius: 40px; position: relative; white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn .icon { width: 1.1em; height: 1.1em; }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; padding: 16px; font-size: 1.05rem; }

.btn-primary {
  background: linear-gradient(135deg, var(--azure) 0%, var(--blue) 48%, var(--blue-deep) 100%);
  color: #fff; font-weight: 700;
  box-shadow: 0 12px 26px -10px rgba(27, 94, 155, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -12px rgba(27, 94, 155, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.35); filter: brightness(1.06); }
.btn-primary:active { transform: translateY(-1px); }

.btn-ghost {
  background: rgba(234, 242, 251, 0.08); color: var(--on-dark);
  border: 1.5px solid rgba(234, 242, 251, 0.4); backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(234, 242, 251, 0.16); border-color: var(--sky); transform: translateY(-3px); }
.btn-ghost.dark { color: var(--blue); border-color: var(--line-strong); background: var(--surface-2); }
.btn-ghost.dark:hover { border-color: var(--azure); background: var(--bg-2); }

/* =========================================================
   Header / Nav
   ========================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center; border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), height 0.4s var(--ease), border-color 0.4s var(--ease);
}
.site-header.scrolled {
  background: rgba(238, 244, 251, 0.82); backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 10px 30px -18px rgba(14, 42, 71, 0.4); border-bottom-color: var(--line); height: 66px;
}
.nav-inner { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-mark {
  width: 40px; height: 40px; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--blue), var(--navy)); border-radius: 12px;
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.12); flex: none;
}
.brand-mark svg { width: 26px; height: 26px; fill: none; stroke: var(--sky); stroke-width: 3.4; stroke-linejoin: round; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-serif); font-weight: 700; font-size: 1.22rem; color: var(--navy); letter-spacing: 0.04em; }
.brand-text em { font-style: normal; font-size: 0.72rem; color: var(--ink-soft); letter-spacing: 0.02em; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > a[data-nav] {
  position: relative; padding: 8px 15px; font-size: 0.98rem; font-weight: 500;
  color: var(--ink-soft); border-radius: 30px; transition: color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav-links > a[data-nav]::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 2px;
  background: var(--azure); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.nav-links > a[data-nav]:hover { color: var(--navy); }
.nav-links > a[data-nav].active { color: var(--navy); font-weight: 600; }
.nav-links > a[data-nav].active::after { transform: scaleX(1); }

.nav-call {
  display: inline-flex; align-items: center; gap: 7px; margin-left: 6px; padding: 8px 14px;
  font-family: var(--font-num); font-weight: 700; font-size: 0.92rem; color: var(--blue);
  border: 1px solid var(--line); border-radius: 30px; transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.nav-call:hover { border-color: var(--azure); background: rgba(46, 134, 214, 0.07); }
.nav-call .icon { color: var(--azure); }
.nav-cta { padding: 10px 20px; font-size: 0.95rem; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; color: var(--navy); border: 1px solid var(--line); }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Over the dark hero (not yet scrolled): light text for readable contrast */
.site-header:not(.scrolled) .brand-text strong { color: #fff; }
.site-header:not(.scrolled) .brand-text em { color: var(--on-dark-soft); }
.site-header:not(.scrolled) .nav-links > a[data-nav] { color: var(--on-dark-soft); }
.site-header:not(.scrolled) .nav-links > a[data-nav]:hover,
.site-header:not(.scrolled) .nav-links > a[data-nav].active { color: #fff; }
.site-header:not(.scrolled) .nav-call { color: var(--on-dark); border-color: rgba(234, 242, 251, 0.3); }
.site-header:not(.scrolled) .nav-call:hover { background: rgba(234, 242, 251, 0.1); border-color: var(--sky); }
.site-header:not(.scrolled) .nav-call .icon { color: var(--sky); }
.site-header:not(.scrolled) .nav-toggle { color: #fff; border-color: rgba(234, 242, 251, 0.3); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--nav-h) + 40px) 24px 90px;
  background: radial-gradient(120% 120% at 80% -10%, #163e63 0%, var(--navy) 45%, var(--navy-2) 100%);
  color: var(--on-dark); overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.aurora {
  position: absolute; inset: -25% -10% 0 -10%;
  background:
    radial-gradient(38% 44% at 18% 22%, rgba(46, 134, 214, 0.55) 0%, transparent 60%),
    radial-gradient(34% 40% at 82% 16%, rgba(95, 176, 234, 0.4) 0%, transparent 62%),
    radial-gradient(40% 46% at 68% 78%, rgba(23, 162, 192, 0.4) 0%, transparent 60%),
    radial-gradient(30% 36% at 32% 82%, rgba(27, 94, 155, 0.5) 0%, transparent 62%);
  filter: blur(30px); animation: auroraDrift 24s var(--ease-in-out) infinite alternate; will-change: transform;
}
@keyframes auroraDrift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(3%, 2%, 0) scale(1.08); }
  100% { transform: translate3d(-3%, -1%, 0) scale(1.04); }
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(95, 176, 234, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95, 176, 234, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(circle at 62% 34%, #000, transparent 72%);
  mask-image: radial-gradient(circle at 62% 34%, #000, transparent 72%);
}
.hero-glow {
  position: absolute; top: -20%; right: -5%; width: 55vw; height: 55vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(circle, rgba(95, 176, 234, 0.28) 0%, transparent 65%);
  animation: pulseGlow 9s ease-in-out infinite;
}
@keyframes pulseGlow { 0%, 100% { opacity: 0.7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.1); } }

.skyline { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(180px, 26vh, 300px); }
.skyline-far path { fill: rgba(8, 22, 40, 0.55); }
.skyline-near path { fill: var(--navy-2); }
.skyline-near .windows rect { fill: #7fc0f5; opacity: 0.85; animation: windowFlicker 5s ease-in-out infinite; }
.skyline-near .windows rect:nth-child(2n) { animation-delay: 1.4s; }
.skyline-near .windows rect:nth-child(3n) { animation-delay: 2.6s; }
@keyframes windowFlicker { 0%, 100% { opacity: 0.85; } 45% { opacity: 0.35; } 70% { opacity: 0.9; } }

.motes { position: absolute; inset: 0; }
.mote {
  position: absolute; bottom: -10px; width: 5px; height: 5px; border-radius: 50%;
  background: radial-gradient(circle, rgba(174, 214, 245, 0.95), rgba(174, 214, 245, 0));
  animation: moteRise linear infinite; opacity: 0;
}
@keyframes moteRise {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 0.9; } 90% { opacity: 0.7; }
  100% { transform: translateY(-92vh) translateX(30px); opacity: 0; }
}

.hero-inner {
  position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(30px, 5vw, 70px); align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-num); font-weight: 600;
  letter-spacing: 0.16em; font-size: 0.82rem; text-transform: uppercase; color: var(--sky);
  padding: 7px 16px; border: 1px solid rgba(95, 176, 234, 0.35); border-radius: 30px;
  background: rgba(95, 176, 234, 0.08); margin-bottom: 26px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 10px var(--sky); animation: pulseGlow 2.4s ease-in-out infinite; }

.hero-name {
  font-family: var(--font-serif); font-weight: 900; font-size: clamp(3.6rem, 10vw, 7rem);
  line-height: 0.98; letter-spacing: 0.04em; color: #fff; text-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}
.hero-role { margin-top: 16px; font-size: clamp(1.05rem, 2vw, 1.35rem); color: var(--on-dark-soft); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero-role b { color: var(--sky); font-family: var(--font-num); font-weight: 800; }
.hero-role .sep { color: var(--on-dark-faint); }

.hero-tagline { font-family: var(--font-serif); font-weight: 700; font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.35; margin-top: 26px; color: var(--on-dark); }
.hero-tagline .underline { position: relative; color: var(--sky); white-space: nowrap; }
.hero-tagline .underline::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--sky), var(--cyan)); }
.hero-sub { margin-top: 22px; max-width: 500px; color: var(--on-dark-soft); font-size: 1.06rem; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 34px; }
.hero-chips li { display: inline-flex; align-items: center; gap: 8px; font-size: 0.92rem; color: var(--on-dark-soft); }
.hero-chips .icon { color: var(--sky); width: 1.05em; height: 1.05em; }

/* Portrait */
.hero-portrait { display: flex; justify-content: center; }
.portrait-frame {
  position: relative; width: min(100%, 400px); aspect-ratio: 4 / 5; border-radius: var(--radius-lg); padding: 10px;
  background: linear-gradient(160deg, rgba(95, 176, 234, 0.9), rgba(46, 134, 214, 0.35) 40%, rgba(14, 42, 71, 0.2));
  box-shadow: var(--shadow-lg); transform-style: preserve-3d; transition: transform 0.2s var(--ease); will-change: transform;
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; border-radius: 18px; filter: saturate(1.02) contrast(1.02); }
.portrait-glow { position: absolute; inset: -18px; border-radius: 32px; background: radial-gradient(circle at 50% 30%, rgba(95, 176, 234, 0.35), transparent 70%); z-index: -1; filter: blur(14px); }
.portrait-badge {
  position: absolute; display: flex; align-items: center; gap: 9px; padding: 11px 16px;
  background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(8px); border-radius: 14px;
  box-shadow: var(--shadow); color: var(--navy); font-weight: 600; font-size: 0.9rem;
}
.portrait-badge .icon { color: var(--azure); width: 1.25em; height: 1.25em; }
.badge-top { top: 26px; left: -26px; }
.badge-bottom { bottom: 74px; right: -30px; flex-direction: column; align-items: flex-start; gap: 0; padding: 12px 18px; }
.badge-bottom b { font-family: var(--font-num); font-weight: 800; font-size: 1.9rem; line-height: 1; color: var(--blue); }
.badge-bottom b i { font-style: normal; font-size: 0.9rem; margin-left: 2px; color: var(--azure); }
.badge-bottom span { font-size: 0.76rem; color: var(--ink-soft); font-weight: 500; }
.portrait-tag {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 16px; background: rgba(14, 42, 71, 0.82); backdrop-filter: blur(8px); color: var(--on-dark);
  border-radius: 30px; font-size: 0.82rem; white-space: nowrap; border: 1px solid rgba(95, 176, 234, 0.3);
}
.portrait-tag .icon { color: var(--sky); width: 1em; height: 1em; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--font-num); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-dark-faint);
}
.scroll-cue-line { width: 1px; height: 42px; background: linear-gradient(var(--sky), transparent); position: relative; overflow: hidden; }
.scroll-cue-line::after { content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: var(--sky); animation: cueRun 1.9s var(--ease-in-out) infinite; }
@keyframes cueRun { 0% { top: -50%; } 100% { top: 100%; } }

/* =========================================================
   Stats
   ========================================================= */
.stats { background: var(--surface); border-bottom: 1px solid var(--line); padding: 0 24px; position: relative; z-index: 4; }
.stats-inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(34px, 5vw, 56px) 24px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--line); }
.stat-num { font-family: var(--font-num); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; color: var(--navy); display: inline-flex; align-items: baseline; gap: 3px; }
.stat-num i { font-style: normal; font-size: 0.42em; font-weight: 700; color: var(--azure); font-family: var(--font-sans); }
.stat-num.stat-text { font-size: clamp(1.35rem, 2.7vw, 1.95rem); align-items: center; gap: 9px; color: var(--blue); font-family: var(--font-sans); }
.stat-num.stat-text .icon { width: 1.15em; height: 1.15em; color: var(--azure); }
.stat-label { margin-top: 12px; color: var(--ink-soft); font-size: 0.98rem; }

/* =========================================================
   About
   ========================================================= */
.about { background: var(--bg); }
.about-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.about-sticky { position: sticky; top: calc(var(--nav-h) + 30px); }
.about-quote {
  margin-top: 30px; padding: 26px 26px 22px; background: var(--surface); border: 1px solid var(--line);
  border-left: 4px solid var(--azure); border-radius: var(--radius); box-shadow: var(--shadow-sm); position: relative;
}
.about-quote .quote-mark { position: absolute; top: 18px; right: 20px; width: 34px; height: 34px; color: var(--sand); }
.about-quote p { font-family: var(--font-serif); font-size: 1.16rem; line-height: 1.7; color: var(--blue-deep); font-weight: 600; }
.about-quote .sign { display: block; margin-top: 14px; font-size: 0.92rem; color: var(--azure); font-weight: 600; }
.about-mini { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.about-mini img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 2px solid var(--azure); }
.about-mini b { display: block; font-family: var(--font-serif); font-size: 1.1rem; color: var(--navy); }
.about-mini span { font-size: 0.86rem; color: var(--ink-soft); }

.about-lead p { font-size: 1.1rem; line-height: 1.9; color: var(--ink-soft); margin-bottom: 18px; }
.about-lead p:last-child { margin-bottom: 0; }
.about-lead p b { color: var(--blue); font-weight: 700; }

.expertise-block { margin-top: 40px; }
.expertise-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.exp-card {
  padding: 26px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.exp-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--azure); }
.exp-icon {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px;
  background: linear-gradient(150deg, rgba(46, 134, 214, 0.14), rgba(23, 162, 192, 0.16)); color: var(--blue); margin-bottom: 16px;
}
.exp-icon .icon { width: 26px; height: 26px; }
.exp-card:nth-child(2) .exp-icon { color: var(--cyan); }
.exp-card:nth-child(3) .exp-icon { color: var(--azure); }
.exp-card h4 { font-family: var(--font-sans); font-weight: 700; font-size: 1.18rem; color: var(--navy); margin-bottom: 8px; }
.exp-card p { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.7; }

/* =========================================================
   Journey (dark)
   ========================================================= */
.journey::before { content: ""; position: absolute; top: -30%; right: -10%; width: 50vw; height: 50vw; background: radial-gradient(circle, rgba(46, 134, 214, 0.4), transparent 65%); pointer-events: none; }
.journey-head { max-width: var(--maxw); margin: 0 auto 60px; position: relative; }
.timeline { max-width: 880px; margin: 0 auto; position: relative; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--sky), var(--blue), transparent); }
.tl-item { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 22px; padding-bottom: 30px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-marker { position: relative; }
.tl-marker span { position: absolute; left: 12px; top: 8px; width: 20px; height: 20px; border-radius: 50%; background: var(--navy); border: 3px solid var(--sky); box-shadow: 0 0 0 5px rgba(95, 176, 234, 0.14); z-index: 1; }
.tl-card {
  background: rgba(234, 242, 251, 0.05); border: 1px solid rgba(234, 242, 251, 0.14); border-radius: var(--radius); padding: 24px 28px;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s;
}
.tl-card:hover { transform: translateX(6px); background: rgba(234, 242, 251, 0.09); border-color: rgba(95, 176, 234, 0.4); }
.tl-card.featured { border-color: rgba(95, 176, 234, 0.55); background: rgba(95, 176, 234, 0.08); }
.tl-year { font-family: var(--font-num); font-weight: 700; letter-spacing: 0.05em; color: var(--sky); font-size: 0.95rem; }
.tl-org { font-family: var(--font-sans); font-weight: 700; font-size: 1.45rem; color: #fff; margin: 6px 0 0; display: inline-block; }
.tl-tag { display: inline-block; margin-left: 12px; vertical-align: middle; padding: 4px 12px; font-size: 0.78rem; border-radius: 20px; background: rgba(46, 134, 214, 0.35); color: var(--on-dark); border: 1px solid rgba(95, 176, 234, 0.4); }
.tl-tag.accent { background: rgba(23, 162, 192, 0.22); color: #9fe6f2; border-color: rgba(23, 162, 192, 0.5); }
.tl-card p { margin-top: 12px; color: var(--on-dark-soft); font-size: 1.02rem; line-height: 1.75; }

/* =========================================================
   Services
   ========================================================= */
.services { background: var(--bg); }
.services-head { max-width: var(--maxw); margin: 0 auto 54px; }
.service-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  position: relative; padding: 32px 26px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.service-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(46, 134, 214, 0.06), transparent 55%); opacity: 0; transition: opacity 0.45s var(--ease); }
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: var(--azure); }
.service-card:hover::before { opacity: 1; }
.service-card.featured { border-color: var(--azure); background: linear-gradient(170deg, rgba(46, 134, 214, 0.1), var(--surface) 45%); }
.service-no { position: absolute; top: 22px; right: 26px; font-family: var(--font-num); font-weight: 800; font-size: 2.4rem; color: var(--sand); line-height: 1; transition: color 0.45s var(--ease); }
.service-card:hover .service-no { color: var(--azure); }
.service-badge { position: absolute; top: 0; left: 26px; padding: 5px 14px 6px; background: linear-gradient(var(--azure), var(--blue)); color: #fff; font-size: 0.76rem; font-weight: 700; border-radius: 0 0 10px 10px; letter-spacing: 0.05em; }
.service-icon {
  position: relative; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px;
  background: linear-gradient(150deg, var(--blue), var(--navy)); color: var(--sky); margin-bottom: 22px;
  box-shadow: var(--shadow-sm); transition: transform 0.45s var(--ease);
}
.service-card:hover .service-icon { transform: scale(1.08) rotate(-4deg); }
.service-icon .icon { width: 30px; height: 30px; }
.service-card h3 { position: relative; font-family: var(--font-sans); font-weight: 700; font-size: 1.28rem; color: var(--navy); margin-bottom: 12px; }
.service-card > p { position: relative; color: var(--ink-soft); font-size: 0.98rem; line-height: 1.75; min-height: 100px; }
.service-list { position: relative; margin-top: 16px; display: grid; gap: 9px; }
.service-list li { display: flex; align-items: center; gap: 9px; font-size: 0.9rem; color: var(--blue-deep); }
.service-list .icon { width: 1.05em; height: 1.05em; color: var(--azure); stroke-width: 2.2; }

.service-cta {
  max-width: var(--maxw); margin: 40px auto 0; padding: 30px clamp(24px, 4vw, 44px);
  background: linear-gradient(135deg, var(--blue), var(--navy)); border-radius: var(--radius-lg); color: var(--on-dark);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; position: relative; overflow: hidden;
}
.service-cta::after { content: ""; position: absolute; bottom: -60%; right: -5%; width: 40%; height: 160%; background: radial-gradient(circle, rgba(95, 176, 234, 0.22), transparent 70%); }
.service-cta h3 { font-family: var(--font-sans); font-weight: 700; font-size: 1.4rem; color: #fff; position: relative; }
.service-cta p { color: var(--on-dark-soft); position: relative; }
.service-cta .btn { position: relative; }

/* =========================================================
   Deals (dark)
   ========================================================= */
.deals::before { content: ""; position: absolute; bottom: -30%; left: -10%; width: 50vw; height: 50vw; background: radial-gradient(circle, rgba(23, 162, 192, 0.3), transparent 65%); pointer-events: none; }
.deals-head { max-width: var(--maxw); margin: 0 auto 48px; position: relative; }
.deal-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.deal-card {
  background: rgba(234, 242, 251, 0.05); border: 1px solid rgba(234, 242, 251, 0.14); border-radius: var(--radius-lg); overflow: hidden; cursor: pointer;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.deal-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(95, 176, 234, 0.5); }
.deal-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.deal-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.deal-card:hover .deal-media img { transform: scale(1.07); }
.deal-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 32, 56, 0.55), transparent 55%); }
.deal-expand { position: absolute; top: 16px; right: 16px; z-index: 2; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(234, 242, 251, 0.16); backdrop-filter: blur(6px); border: 1px solid rgba(234, 242, 251, 0.3); color: #fff; opacity: 0; transform: scale(0.8); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.deal-card:hover .deal-expand { opacity: 1; transform: scale(1); }
.deal-card figcaption { padding: 24px 26px 28px; }
.deal-cat { display: inline-block; padding: 4px 13px; background: rgba(95, 176, 234, 0.18); color: var(--sky); font-size: 0.78rem; font-weight: 700; border-radius: 20px; border: 1px solid rgba(95, 176, 234, 0.4); margin-bottom: 12px; }
.deal-card h3 { font-family: var(--font-sans); font-weight: 700; font-size: 1.4rem; color: #fff; margin-bottom: 10px; }
.deal-card figcaption p { color: var(--on-dark-soft); font-size: 0.96rem; line-height: 1.75; }
.deals-note { max-width: var(--maxw); margin: 24px auto 0; font-size: 0.85rem; color: var(--on-dark-faint); position: relative; }

/* =========================================================
   Service area
   ========================================================= */
.area { background: var(--bg); }
.area-banner { position: relative; height: clamp(300px, 42vh, 440px); overflow: hidden; display: flex; align-items: center; }
.area-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.area-banner-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10, 32, 56, 0.92) 0%, rgba(14, 42, 71, 0.78) 45%, rgba(14, 42, 71, 0.35) 100%); }
.area-banner-content { position: relative; z-index: 2; max-width: var(--maxw); width: 100%; margin: 0 auto; padding: 0 24px; }
.area-body { max-width: var(--maxw); margin: 0 auto; padding: clamp(50px, 7vw, 90px) 24px; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.area-map { position: relative; }
.map-svg { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.map-bg { fill: var(--surface-2); stroke: var(--sand); stroke-width: 1.5; }
.map-roads path { stroke: rgba(27, 94, 155, 0.16); stroke-width: 2; fill: none; }
.map-river { stroke: rgba(23, 162, 192, 0.35); stroke-width: 7; fill: none; stroke-linecap: round; }
.map-zone { opacity: 0.9; }
.zone-a { fill: url(#mapZoneA); }
.zone-b { fill: url(#mapZoneB); }
.map-pin circle { fill: #fff; }
.map-pin.pin-a circle { stroke: var(--blue); stroke-width: 3; }
.map-pin.pin-b circle { stroke: var(--cyan-deep); stroke-width: 3; }
.map-pin .pulse { fill: none; stroke: rgba(255, 255, 255, 0.6); stroke-width: 2; transform-origin: center; transform-box: fill-box; animation: mapPulse 2.6s ease-out infinite; }
@keyframes mapPulse { 0% { transform: scale(0.5); opacity: 0.9; } 100% { transform: scale(1.6); opacity: 0; } }
.map-label { fill: #fff; font-family: var(--font-sans); font-weight: 700; font-size: 17px; text-anchor: middle; }
.map-note { display: block; text-align: center; margin-top: 12px; font-size: 0.82rem; color: var(--ink-faint); }

.area-cards { display: grid; gap: 18px; }
.area-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 30px; box-shadow: var(--shadow-sm); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s; }
.area-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--azure); }
.area-card-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.area-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; color: #fff; flex: none; }
.area-icon.a { background: linear-gradient(150deg, var(--azure), var(--blue)); }
.area-icon.b { background: linear-gradient(150deg, var(--cyan), var(--cyan-deep)); }
.area-icon .icon { width: 27px; height: 27px; }
.area-card-head h3 { font-family: var(--font-sans); font-weight: 700; font-size: 1.4rem; color: var(--navy); }
.area-sub { font-size: 0.85rem; color: var(--azure); font-weight: 600; }
.area-card > p { color: var(--ink-soft); font-size: 1rem; line-height: 1.8; margin-bottom: 16px; }
.area-list { display: grid; gap: 10px; }
.area-list li { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; color: var(--blue-deep); }
.area-list .icon { width: 1.1em; height: 1.1em; color: var(--azure); stroke-width: 2.2; }

/* =========================================================
   Reviews
   ========================================================= */
.reviews-head { max-width: var(--maxw); margin: 0 auto 48px; }
.review-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 30px 28px; box-shadow: var(--shadow-sm); overflow: hidden; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s; }
.review-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--azure); }
.review-quote { position: absolute; top: 22px; right: 24px; width: 40px; height: 40px; color: var(--sand); }
.review-stars { display: flex; gap: 3px; margin-bottom: 16px; }
.review-stars .icon { width: 18px; height: 18px; fill: var(--azure); stroke: var(--azure); }
.review-card blockquote { font-size: 1.05rem; line-height: 1.85; color: var(--ink); margin-bottom: 22px; }
.review-card figcaption { display: flex; align-items: center; gap: 13px; padding-top: 18px; border-top: 1px solid var(--line); }
.review-avatar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(150deg, var(--azure), var(--blue)); color: #fff; font-family: var(--font-serif); font-weight: 700; font-size: 1.2rem; flex: none; }
.review-card figcaption b { display: block; font-size: 1rem; color: var(--navy); font-weight: 700; }
.review-tag { display: inline-block; margin-top: 3px; padding: 2px 10px; font-size: 0.74rem; color: var(--steel); background: var(--bg-2); border: 1px solid var(--sand); border-radius: 20px; }
.reviews-note { max-width: var(--maxw); margin: 24px auto 0; font-size: 0.85rem; color: var(--ink-faint); }

/* =========================================================
   Contact (dark)
   ========================================================= */
.contact::before { content: ""; position: absolute; bottom: -30%; left: -10%; width: 50vw; height: 50vw; background: radial-gradient(circle, rgba(23, 162, 192, 0.3), transparent 65%); pointer-events: none; }
.contact-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(36px, 6vw, 80px); align-items: start; position: relative; }
.contact-cards { margin-top: 36px; display: grid; gap: 14px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: rgba(234, 242, 251, 0.06); border: 1px solid rgba(234, 242, 251, 0.14); border-radius: var(--radius); transition: border-color 0.35s, background 0.35s; }
.contact-card:hover { border-color: rgba(95, 176, 234, 0.45); background: rgba(234, 242, 251, 0.1); }
.cc-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(150deg, var(--azure), var(--blue)); color: #fff; flex: none; }
.cc-icon .icon { width: 24px; height: 24px; stroke-width: 1.9; }
.cc-body { display: flex; flex-direction: column; margin-right: auto; }
.cc-label { font-size: 0.82rem; color: var(--on-dark-faint); }
.cc-label .pending { font-style: normal; font-size: 0.72rem; padding: 1px 7px; margin-left: 4px; border-radius: 20px; background: rgba(224, 163, 46, 0.2); color: #f0c877; border: 1px solid rgba(224, 163, 46, 0.4); }
.cc-value { font-family: var(--font-num); font-weight: 700; font-size: 1.3rem; color: #fff; letter-spacing: 0.02em; }
.cc-value.cc-email { font-size: 1.05rem; }
a.cc-value:hover { color: var(--sky); }
.cc-copy { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid rgba(234, 242, 251, 0.2); color: var(--on-dark-soft); transition: all 0.3s var(--ease); }
.cc-copy:hover { color: var(--sky); border-color: var(--sky); background: rgba(95, 176, 234, 0.1); }
.contact-meta { margin-top: 8px; display: grid; gap: 12px; }
.contact-meta div { display: flex; align-items: center; gap: 10px; color: var(--on-dark-soft); font-size: 0.95rem; }
.contact-meta .icon { color: var(--sky); flex: none; }

/* Form */
.contact-form-wrap { position: relative; }
.contact-form, .form-success { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 40px); box-shadow: var(--shadow-lg); border: 1px solid rgba(95, 176, 234, 0.3); }
.contact-form h3, .form-success h3 { font-family: var(--font-sans); font-weight: 800; font-size: 1.55rem; color: var(--navy); }
.form-hint { color: var(--ink-soft); font-size: 0.95rem; margin: 6px 0 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--blue-deep); margin-bottom: 7px; }
.field label em { font-style: normal; font-weight: 400; color: var(--ink-faint); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px; font-family: inherit; font-size: 1rem; color: var(--ink);
  background: var(--surface-2); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--azure); background: var(--surface); box-shadow: 0 0 0 4px rgba(46, 134, 214, 0.12); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field.invalid input, .field.invalid select { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(214, 69, 69, 0.1); }
.field-err { display: block; font-size: 0.82rem; color: var(--danger); margin-top: 5px; opacity: 0; transform: translateY(-3px); transition: opacity 0.25s, transform 0.25s; }
.field.invalid .field-err { opacity: 1; transform: translateY(0); }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; cursor: pointer; padding-right: 42px; }
.select-chevron { position: absolute; right: 16px; top: 50%; transform: translateY(-50%) rotate(90deg); color: var(--azure); pointer-events: none; width: 18px; height: 18px; }
.form-foot { display: flex; align-items: center; gap: 7px; justify-content: center; margin-top: 14px; font-size: 0.82rem; color: var(--ink-faint); }
.form-foot .icon { color: var(--azure); width: 1em; height: 1em; }

.form-success { text-align: center; animation: popIn 0.5s var(--ease); }
@keyframes popIn { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }
.fs-check { display: grid; place-items: center; width: 66px; height: 66px; margin: 0 auto 18px; border-radius: 50%; background: linear-gradient(150deg, var(--azure), var(--blue)); color: #fff; box-shadow: 0 12px 26px -10px rgba(27, 94, 155, 0.7); }
.fs-check .icon { width: 34px; height: 34px; stroke-width: 2.4; }
.form-success p { color: var(--ink-soft); font-size: 0.98rem; margin: 8px 0 18px; }
.fs-summary { text-align: left; white-space: pre-wrap; word-break: break-word; font-family: var(--font-sans); font-size: 0.92rem; line-height: 1.7; color: var(--blue-deep); background: var(--surface-2); border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 20px; }
.fs-actions { display: flex; gap: 12px; }
.fs-actions + .fs-actions { margin-top: 10px; }
.fs-actions .btn { flex: 1; }
.fs-reset { margin-top: 16px; font-size: 0.9rem; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.fs-reset:hover { color: var(--azure); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--navy-2); color: var(--on-dark); padding: 60px 24px 28px; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(234, 242, 251, 0.12); }
.footer-brand { display: flex; gap: 16px; align-items: flex-start; }
.footer-brand strong { font-family: var(--font-serif); font-size: 1.4rem; color: #fff; }
.footer-brand p { color: var(--on-dark-soft); font-size: 0.95rem; margin-top: 6px; max-width: 260px; line-height: 1.7; }
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { color: var(--on-dark-soft); font-size: 0.95rem; transition: color 0.3s, padding-left 0.3s; }
.footer-nav a:hover { color: var(--sky); padding-left: 5px; }
.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-contact a, .footer-contact span { display: inline-flex; align-items: center; gap: 9px; color: var(--on-dark-soft); font-size: 0.95rem; }
.footer-contact a { font-family: var(--font-num); font-weight: 700; color: #fff; }
.footer-contact a:hover { color: var(--sky); }
.footer-contact .icon { color: var(--sky); }
.footer-bottom { max-width: var(--maxw); margin: 22px auto 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.84rem; color: var(--on-dark-faint); }
.footer-note { max-width: 560px; text-align: right; }
.footer-beian { max-width: var(--maxw); margin: 16px auto 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 0.82rem; color: var(--on-dark-faint); }
.footer-beian a { color: var(--on-dark-soft); transition: color 0.3s; }
.footer-beian a:hover { color: var(--sky); }
.footer-beian .beian-domain { color: var(--on-dark-faint); }
.footer-beian .beian-sep { color: var(--on-dark-faint); opacity: 0.6; }

/* =========================================================
   Floating actions
   ========================================================= */
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: var(--sky); box-shadow: var(--shadow); border: 1px solid rgba(95, 176, 234, 0.35); opacity: 0; transform: translateY(20px) scale(0.8); pointer-events: none; transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), background 0.3s; }
.to-top.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.to-top:hover { background: var(--navy); transform: translateY(-3px); }
.to-top .icon { width: 22px; height: 22px; }
.fab-call { position: fixed; right: 22px; bottom: 84px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; display: none; place-items: center; background: linear-gradient(150deg, var(--azure), var(--blue)); color: #fff; box-shadow: 0 14px 30px -8px rgba(27, 94, 155, 0.8); animation: fabPulse 2.6s ease-in-out infinite; }
.fab-call .icon { width: 26px; height: 26px; stroke-width: 1.9; }
@keyframes fabPulse { 0%, 100% { box-shadow: 0 14px 30px -8px rgba(27, 94, 155, 0.8), 0 0 0 0 rgba(95, 176, 234, 0.5); } 50% { box-shadow: 0 14px 30px -8px rgba(27, 94, 155, 0.8), 0 0 0 12px rgba(95, 176, 234, 0); } }

/* =========================================================
   Lightbox
   ========================================================= */
.lightbox { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 40px; background: rgba(8, 20, 38, 0.9); backdrop-filter: blur(10px); opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease); }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lb-figure { max-width: 1000px; width: 100%; transform: scale(0.94); transition: transform 0.45s var(--ease); }
.lightbox.open .lb-figure { transform: scale(1); }
.lb-figure img { width: 100%; max-height: 74vh; object-fit: contain; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lb-figure figcaption { text-align: center; margin-top: 20px; color: var(--on-dark); }
.lb-figure figcaption h3 { font-family: var(--font-sans); font-weight: 700; font-size: 1.6rem; color: var(--sky); }
.lb-figure figcaption p { margin-top: 8px; color: var(--on-dark-soft); max-width: 640px; margin-inline: auto; line-height: 1.7; }
.lb-close { position: absolute; top: 24px; right: 24px; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: rgba(234, 242, 251, 0.1); border: 1px solid rgba(234, 242, 251, 0.25); color: var(--on-dark); transition: all 0.3s var(--ease); }
.lb-close:hover { background: rgba(234, 242, 251, 0.2); transform: rotate(90deg); }
.lb-close .icon { width: 24px; height: 24px; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: rgba(234, 242, 251, 0.1); border: 1px solid rgba(234, 242, 251, 0.25); color: var(--on-dark); transition: all 0.3s var(--ease); }
.lb-nav:hover { background: rgba(95, 176, 234, 0.25); border-color: var(--sky); }
.lb-nav .icon { width: 26px; height: 26px; }
.lb-prev { left: 24px; }
.lb-prev .icon { transform: rotate(180deg); }
.lb-next { right: 24px; }

/* =========================================================
   Toast
   ========================================================= */
.toast-wrap { position: fixed; left: 50%; bottom: 34px; transform: translateX(-50%); z-index: 400; display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; padding: 13px 22px; background: var(--navy); color: var(--on-dark); border-radius: 40px; box-shadow: var(--shadow-lg); border: 1px solid rgba(95, 176, 234, 0.35); font-size: 0.95rem; font-weight: 500; transform: translateY(24px); opacity: 0; transition: transform 0.4s var(--ease), opacity 0.4s var(--ease); }
.toast.show { transform: translateY(0); opacity: 1; }
.toast .icon { color: var(--sky); width: 1.2em; height: 1.2em; }
.toast.success .icon { color: #7fe0b0; }

/* =========================================================
   Reveal animations
   ========================================================= */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal[data-reveal-delay="1"] { transition-delay: 0.09s; }
.reveal[data-reveal-delay="2"] { transition-delay: 0.18s; }
.reveal[data-reveal-delay="3"] { transition-delay: 0.27s; }
.reveal[data-reveal-delay="4"] { transition-delay: 0.36s; }
.reveal[data-reveal-delay="5"] { transition-delay: 0.45s; }
.reveal[data-reveal-delay="6"] { transition-delay: 0.54s; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-sticky { position: static; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .area-body { grid-template-columns: 1fr; gap: 36px; }
  .area-map { max-width: 460px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 18px 24px 26px; background: rgba(238, 244, 251, 0.97); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-14px); opacity: 0; pointer-events: none;
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links > a[data-nav] { padding: 13px 14px; font-size: 1.05rem; border-radius: 12px; }
  .nav-links > a[data-nav]::after { display: none; }
  .nav-links > a[data-nav].active { background: rgba(46, 134, 214, 0.1); }
  .site-header .nav-links.open > a[data-nav] { color: var(--ink-soft); }
  .site-header .nav-links.open > a[data-nav]:hover,
  .site-header .nav-links.open > a[data-nav].active { color: var(--navy); }
  .site-header .nav-links.open .nav-call { color: var(--blue); border-color: var(--line); }
  .site-header .nav-links.open .nav-call .icon { color: var(--azure); }
  .nav-call { margin: 8px 0 0; justify-content: center; padding: 13px; font-size: 1.05rem; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { order: 2; }
  .hero-portrait { order: 1; }
  .portrait-frame { width: min(78%, 320px); }
  .hero-sub { max-width: none; }
  .badge-top { left: -14px; }
  .badge-bottom { right: -14px; }

  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(odd)::before { display: none; }
  .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid var(--line); }

  .expertise-cards { grid-template-columns: 1fr; }
  .deal-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .fab-call { display: grid; }
  .footer-note { text-align: left; }
}

@media (max-width: 560px) {
  .section, .section-alt, .section-dark { padding-left: 18px; padding-right: 18px; }
  .nav-inner { padding: 0 18px; }
  .brand-text em { display: none; }
  .hero { padding-top: calc(var(--nav-h) + 20px); }
  .hero-actions .btn { flex: 1; }
  .hero-chips { gap: 8px 16px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card > p { min-height: 0; }
  .service-cta { flex-direction: column; align-items: flex-start; }
  .area-banner-content { padding: 0 18px; }
  .area-body { padding-left: 18px; padding-right: 18px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .fs-actions { flex-direction: column; }
  .lightbox { padding: 20px; }
  .lb-nav { width: 44px; height: 44px; }
  .lb-prev { left: 10px; }
  .lb-next { right: 10px; }
  .lb-figure figcaption h3 { font-size: 1.3rem; }
  .contact-card { padding: 14px 16px; gap: 12px; }
  .cc-value { font-size: 1.12rem; }
  .to-top { right: 16px; }
  .fab-call { right: 16px; }
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .aurora, .hero-glow, .mote, .scroll-cue-line::after, .skyline-near .windows rect, .map-pin .pulse { animation: none !important; }
}