/* ============================================================
   温州中明税务师事务所 · 官网样式
   配色：深蓝（主） + 金色（点缀） · 专业稳重
   参考极优擎官网排版结构（已去除 schema 标记）
   ============================================================ */

/* ========== Reset & Base ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* 深蓝主色系 */
  --navy-900: #0a2342;
  --navy-800: #0c2a52;
  --navy-700: #123a6b;
  --navy-600: #1b4d8a;
  --navy-500: #2a63ab;
  --navy-soft: #eef3fa;

  /* 金色系 */
  --gold-700: #9a6f12;
  --gold-600: #b8860b;
  --gold-500: #c8a24a;
  --gold-400: #d9b86a;

  /* 中性 */
  --bg: #ffffff;
  --bg-secondary: #f5f8fc;
  --bg-tertiary: #eef3fa;
  --text: #1a2433;
  --text-secondary: #54607a;
  --text-tertiary: #8a93a8;
  --border: #e2e8f2;
  --border-light: #eef3fa;

  --accent: var(--navy-700);
  --accent-hover: var(--navy-800);
  --accent-light: var(--navy-soft);
  --gold: var(--gold-500);

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(12,42,82,0.06);
  --shadow-md: 0 8px 28px rgba(12,42,82,0.10);
  --shadow-lg: 0 18px 50px rgba(12,42,82,0.16);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

/* ========== Dark Mode ========== */
body.dark {
  --bg: #0b1626;
  --bg-secondary: #0f1d33;
  --bg-tertiary: #13243f;
  --text: #e8eef8;
  --text-secondary: #a9b6cc;
  --text-tertiary: #7a879e;
  --border: #1e3252;
  --border-light: #16263f;
  --accent: var(--gold-400);
  --accent-hover: var(--gold-500);
  --accent-light: #16263f;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 28px rgba(0,0,0,0.4);
  --shadow-lg: 0 18px 50px rgba(0,0,0,0.5);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  transition: background 0.4s, color 0.4s;
  position: relative;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }

/* ========== Theme Toggle ========== */
.theme-toggle {
  position: fixed; bottom: 32px; right: 32px; z-index: 200;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--bg); border: 1.5px solid var(--border);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; transition: all var(--transition);
  box-shadow: var(--shadow-md); color: var(--text);
}
.theme-toggle:hover { border-color: var(--gold); transform: scale(1.06); box-shadow: var(--shadow-lg); }

/* ========== Header / Nav ========== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  transition: background 0.4s, box-shadow 0.3s, border-color 0.4s;
}
body.dark .site-header { background: rgba(11,22,38,0.82); }
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--border); }

.nav-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 32px;
  height: 74px; display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.01em; color: var(--text); }
.logo img { height: 40px; width: auto; max-width: 180px; border-radius: 6px; }
.logo .logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo .logo-text small { font-size: 0.62rem; font-weight: 600; color: var(--gold-600); letter-spacing: 0.18em; }
body.dark .logo .logo-text small { color: var(--gold-400); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-size: 0.94rem; font-weight: 500; color: var(--text-secondary);
  padding: 8px 14px; border-radius: 8px; transition: color var(--transition), background var(--transition);
}
.nav a:hover { color: var(--text); background: var(--accent-light); }
.nav a.active { color: var(--navy-700); }
body.dark .nav a.active { color: var(--gold-400); }

/* 醒目按钮式链接（财税小助手） */
.nav .nav-cta {
  display: inline-flex; align-items: center; gap: 7px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-600));
  color: #fff !important; padding: 9px 18px; border-radius: 100px;
  font-weight: 600; box-shadow: 0 4px 16px rgba(12,42,82,0.25);
  transition: transform var(--transition), box-shadow var(--transition);
}
.nav .nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(12,42,82,0.35); }
.nav .nav-cta .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-400); display: inline-block; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }

/* ========== Buttons ========== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 100px; font-size: 0.975rem; font-weight: 600;
  cursor: pointer; border: 1.5px solid transparent; transition: all var(--transition);
}
.btn-primary { background: linear-gradient(135deg, var(--navy-700), var(--navy-600)); color: #fff; box-shadow: 0 6px 22px rgba(12,42,82,0.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(12,42,82,0.38); }
.btn-gold { background: linear-gradient(135deg, var(--gold-600), var(--gold-400)); color: #2a1f00; box-shadow: 0 6px 22px rgba(184,134,11,0.3); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(184,134,11,0.4); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--navy-600); background: var(--accent-light); }
.btn-light { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-light:hover { background: rgba(255,255,255,0.2); }

/* ========== Hero ========== */
.hero {
  position: relative; padding: 158px 0 100px;
  background:
    radial-gradient(1100px 480px at 88% -10%, rgba(200,162,74,0.14), transparent 60%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 46%, var(--navy-700) 100%);
  color: #fff; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 12% 30%, rgba(255,255,255,0.045) 1px, transparent 1px),
    radial-gradient(circle at 70% 72%, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 54px 54px;
}
.hero .container { position: relative; z-index: 2; }
.hero-badge {
  display: inline-block; padding: 6px 16px; background: rgba(200,162,74,0.16);
  color: var(--gold-400); font-size: 0.82rem; font-weight: 600; border-radius: 100px;
  border: 1px solid rgba(200,162,74,0.4); margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; line-height: 1.22; letter-spacing: -0.03em; margin-bottom: 22px; }
.hero h1 .hl { background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p.lead { font-size: 1.13rem; color: rgba(255,255,255,0.78); max-width: 640px; margin-bottom: 36px; line-height: 1.85; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats { display: flex; gap: 44px; margin-top: 60px; flex-wrap: wrap; }
.hero-stats .stat .num { font-size: 2.15rem; font-weight: 800; color: var(--gold-400); line-height: 1.1; }
.hero-stats .stat .lbl { font-size: 0.86rem; color: rgba(255,255,255,0.7); margin-top: 6px; }

/* ========== Section common ========== */
.section { padding: 98px 0; position: relative; }
.section-gray { background: var(--bg-secondary); }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 58px; }
.section-label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 14px; }
body.dark .section-label { color: var(--gold-400); }
.section-title { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.02em; color: var(--text); margin-bottom: 16px; }
.section-desc { font-size: 1.06rem; color: var(--text-secondary); line-height: 1.85; }

/* ========== About ========== */
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 58px; align-items: center; }
.about-text p { color: var(--text-secondary); margin-bottom: 16px; line-height: 1.92; }
.about-text .about-highlight { color: var(--text); font-weight: 600; }
.about-visual {
  background: linear-gradient(150deg, var(--navy-800), var(--navy-600));
  border-radius: var(--radius); padding: 40px; color: #fff; position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-visual::before {
  content: ''; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px;
  border: 2px solid rgba(200,162,74,0.4); border-radius: 50%;
}
.about-visual h3 { font-size: 1.2rem; color: var(--gold-400); margin-bottom: 22px; position: relative; }
.about-visual ul li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 0.96rem; position: relative; }
.about-visual ul li:last-child { border-bottom: none; }
.about-visual ul li .ic { color: var(--gold-400); font-weight: 700; }

/* ========== Cards Grid (Services) ========== */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 28px; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--navy-700), var(--gold-500));
  transform: scaleX(0); transform-origin: left; transition: transform var(--transition);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 20px;
  background: linear-gradient(135deg, var(--navy-soft), #fdf6e6);
  border: 1px solid var(--border-light);
}
body.dark .feature-icon { background: linear-gradient(135deg, #16263f, #2a2410); border-color: #2a3a55; }
.feature-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.feature-card p { color: var(--text-secondary); font-size: 0.96rem; line-height: 1.8; }

/* ========== Process Steps ========== */
.tech-process { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px; }
.tech-step { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.step-circle {
  width: 78px; height: 78px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.9rem; background: var(--bg); border: 2px solid var(--navy-600); position: relative;
  box-shadow: var(--shadow-sm);
}
.step-circle .pulse { position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--gold-500); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.7; } 70% { transform: scale(1.18); opacity: 0; } 100% { opacity: 0; } }
.step-label { font-size: 0.95rem; font-weight: 600; color: var(--text); }
.tech-arrow { font-size: 1.5rem; color: var(--gold-500); font-weight: 700; }
body.dark .tech-arrow { color: var(--gold-400); }

/* ========== Stats Grid ========== */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-item {
  text-align: center; padding: 36px 20px; border-radius: var(--radius);
  background: var(--bg); border: 1px solid var(--border); transition: transform var(--transition), box-shadow var(--transition);
}
.stat-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat-number { font-size: 2.6rem; font-weight: 800; color: var(--navy-700); line-height: 1.1; letter-spacing: -0.02em; }
body.dark .stat-number { color: var(--gold-400); }
.stat-label { font-size: 0.95rem; color: var(--text-secondary); margin-top: 10px; }

/* ========== Services (grouped) ========== */
.svc-block { margin-bottom: 54px; }
.svc-block:last-child { margin-bottom: 0; }
.svc-title { font-size: 1.35rem; font-weight: 700; color: var(--text); margin-bottom: 24px; padding-left: 14px; border-left: 4px solid var(--gold-500); }
body.dark .svc-title { color: var(--text); }

/* ========== Case note ========== */
.case-note { background: var(--bg-tertiary); border: 1px solid var(--border); border-left: 4px solid var(--gold-500); border-radius: var(--radius-sm); padding: 20px 24px; margin-bottom: 40px; color: var(--text-secondary); font-size: 0.95rem; line-height: 1.85; }
.case-note strong { color: var(--text); }

/* ========== Team ========== */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 24px; text-align: center; transition: transform var(--transition), box-shadow var(--transition);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-avatar {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center; font-size: 1.7rem; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--navy-700), var(--gold-500)); letter-spacing: 1px;
}
.team-card h3 { font-size: 1.18rem; font-weight: 700; color: var(--text); }
.team-card .role { font-size: 0.86rem; color: var(--gold-600); font-weight: 600; margin: 4px 0 12px; }
body.dark .team-card .role { color: var(--gold-400); }
.team-card .bio { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.75; }

/* ========== Cases ========== */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.case-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--navy-500); }
.case-tag {
  display: inline-block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.05em; color: var(--navy-700);
  background: var(--navy-soft); padding: 4px 12px; border-radius: 100px; margin-bottom: 16px;
}
body.dark .case-tag { color: var(--gold-400); background: #16263f; }
.case-card h3 { font-size: 1.18rem; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.case-card p { font-size: 0.94rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }
.case-result { font-size: 0.9rem; color: var(--gold-600); font-weight: 600; border-top: 1px dashed var(--border); padding-top: 14px; }
body.dark .case-result { color: var(--gold-400); }

/* ========== FAQ ========== */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0 22px; box-shadow: var(--shadow-sm); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 62px; cursor: pointer; list-style: none; color: var(--text); font-weight: 700; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; flex: 0 0 auto; color: var(--gold-600); font-size: 1.35rem; font-weight: 400; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin: 0; padding: 0 34px 20px 0; color: var(--text-secondary); font-size: 0.95rem; line-height: 1.8; }
body.dark .faq-item summary::after { color: var(--gold-400); }

/* ========== CTA ========== */
.cta {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  border-radius: 20px; padding: 64px 40px; text-align: center; position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.04) 1px, transparent 1px), radial-gradient(circle at 80% 70%, rgba(200,162,74,0.07) 1px, transparent 1px); background-size: 50px 50px; }
.cta .container, .cta > * { position: relative; z-index: 1; }
.cta h2 { font-size: 2rem; font-weight: 800; color: #fff; margin-bottom: 14px; }
.cta p { font-size: 1.05rem; color: rgba(255,255,255,0.78); max-width: 560px; margin: 0 auto 30px; line-height: 1.8; }

/* ========== Footer ========== */
.footer { background: var(--navy-900); color: #cdd7e6; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand .logo-white { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; font-weight: 800; color: #fff; margin-bottom: 14px; }
.footer-brand .logo-white img { height: 36px; width: auto; border-radius: 6px; }
.footer-brand p { font-size: 0.9rem; color: #9fb0c9; line-height: 1.8; max-width: 320px; }
.footer h4 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 18px; }
.footer-links li { margin-bottom: 11px; }
.footer-links a, .footer-links li { font-size: 0.9rem; color: #9fb0c9; transition: color var(--transition); }
.footer-links a:hover { color: var(--gold-400); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 44px; padding-top: 22px; text-align: center; }
.footer-bottom p { font-size: 0.84rem; color: #7d8ca6; }
.footer-record { margin: 8px 0 0; color: #9fb0c9 !important; letter-spacing: 0.04em; }

/* ========== Assistant (Chat & Tools) ========== */
.assistant-wrap { max-width: 820px; margin: 0 auto; }
.chat-box {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; min-height: 320px; max-height: 460px; overflow-y: auto; box-shadow: var(--shadow-sm);
}
.chat-msg { display: flex; gap: 12px; margin-bottom: 18px; }
.chat-msg .avatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--navy-700), var(--gold-500)); font-size: 1rem;
}
.chat-msg .bubble { background: var(--bg-secondary); border: 1px solid var(--border); padding: 12px 16px; border-radius: 14px; font-size: 0.95rem; color: var(--text); line-height: 1.75; max-width: 88%; }
.chat-msg.user { flex-direction: row-reverse; }
.chat-msg.user .bubble { background: linear-gradient(135deg, var(--navy-700), var(--navy-600)); color: #fff; border-color: transparent; }
.chat-input { display: flex; gap: 12px; margin-top: 16px; }
.chat-input input { flex: 1; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: 100px; font-size: 0.95rem; font-family: inherit; color: var(--text); background: var(--bg); transition: border-color var(--transition); }
.chat-input input:focus { outline: none; border-color: var(--navy-600); }
.chat-suggest { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.chat-suggest .chip { font-size: 0.84rem; padding: 7px 14px; border-radius: 100px; border: 1px solid var(--border); background: var(--bg); color: var(--text-secondary); cursor: pointer; transition: all var(--transition); }
.chat-suggest .chip:hover { border-color: var(--navy-600); color: var(--navy-700); background: var(--accent-light); }

.tool-inline { display: flex; gap: 10px; margin: 14px 0 8px; flex-wrap: wrap; }
.tool-inline input, .tool-inline select { padding: 10px 12px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 0.9rem; font-family: inherit; color: var(--text); background: var(--bg); }
.tool-inline input { flex: 1; min-width: 130px; }
.tool-inline input:focus, .tool-inline select:focus { outline: none; border-color: var(--navy-600); }
.tool-out { margin-top: 12px; font-size: 0.95rem; font-weight: 600; color: var(--gold-600); }
body.dark .tool-out { color: var(--gold-400); }

/* ========== Animations ========== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
.anim-fade-up { animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.anim-stagger > * { opacity: 0; animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.anim-stagger > *:nth-child(1) { animation-delay: 0.05s; }
.anim-stagger > *:nth-child(2) { animation-delay: 0.12s; }
.anim-stagger > *:nth-child(3) { animation-delay: 0.19s; }
.anim-stagger > *:nth-child(4) { animation-delay: 0.26s; }
.anim-stagger > *:nth-child(5) { animation-delay: 0.33s; }
.anim-stagger > *:nth-child(6) { animation-delay: 0.40s; }
.anim-stagger > *:nth-child(7) { animation-delay: 0.47s; }
.anim-stagger > *:nth-child(8) { animation-delay: 0.54s; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ========== Responsive ========== */
@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .cards-grid, .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .container, .nav-inner { padding: 0 20px; }
  .nav { position: fixed; top: 74px; left: 0; right: 0; background: var(--bg); flex-direction: column; align-items: stretch;
    padding: 16px 20px 24px; gap: 4px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: all var(--transition); }
  .nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a { padding: 12px 14px; }
  .nav-toggle { display: flex; }
  .hero { padding: 130px 0 70px; }
  .hero-stats { gap: 28px; }
  .section { padding: 68px 0; }
  .section-title { font-size: 1.7rem; }
  .cards-grid, .cases-grid, .team-grid, .stats-grid { grid-template-columns: 1fr; }
  .tech-process { flex-direction: column; }
  .tech-arrow { transform: rotate(90deg); }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .cta { padding: 48px 22px; }
}
