/* ===========================
   千兮财税 - 官网样式
   =========================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --primary: #1a6bcc;
      --primary-dark: #1356a8;
      --primary-light: #e8f0fc;
      --accent: #f7a600;
      --text: #1a1f2e;
      --text-muted: #6b7280;
      --border: #e5e7eb;
      --bg: #ffffff;
      --bg-alt: #f7f9fc;
      --radius: 14px;
      --radius-lg: 20px;
      --shadow: 0 4px 20px rgba(26,107,204,0.08);
      --shadow-lg: 0 12px 48px rgba(26,107,204,0.14);
      --transition: 0.25s ease;
      --max-w: 1180px;
    }

    html { scroll-behavior: smooth; }
    body {
      font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
      color: var(--text);
      background: var(--bg);
      line-height: 1.6;
      font-size: 15px;
    }
    a { text-decoration: none; color: inherit; }
    button { cursor: pointer; border: none; background: none; font-family: inherit; }

    .container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

    /* ---- Navbar ---- */
    .navbar {
      position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
      background: rgba(255,255,255,0.94);
      backdrop-filter: blur(16px);
      border-bottom: 1px solid rgba(229,231,235,0.6);
      transition: box-shadow var(--transition);
    }
    .navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
    .nav-inner { display: flex; align-items: center; height: 68px; gap: 40px; }
    .logo { display: flex; align-items: center; gap: 4px; font-size: 20px; font-weight: 700; flex-shrink: 0; }
    .logo-icon { background: linear-gradient(135deg,var(--primary),#4a9eff); color:#fff; padding:4px 10px; border-radius:8px; font-size:17px; }
    .logo-text { color: var(--primary); }
    .nav-links { display: flex; align-items: center; gap: 32px; flex: 1; }
    .nav-links a { color:var(--text-muted); font-size:14px; font-weight:500; transition:color var(--transition); position:relative; }
    .nav-links a::after { content:''; position:absolute; bottom:-4px; left:0; right:0; height:2px; background:var(--primary); transform:scaleX(0); transition:transform var(--transition); border-radius:2px; }
    .nav-links a:hover, .nav-links a.active { color:var(--primary); }
    .nav-links a:hover::after, .nav-links a.active::after { transform:scaleX(1); }
    .btn { display:inline-flex; align-items:center; justify-content:center; padding:11px 24px; border-radius:8px; font-size:15px; font-weight:600; transition:all var(--transition); cursor:pointer; border:2px solid transparent; }
    .btn-primary { background:var(--primary); color:#fff; border-color:var(--primary); }
    .btn-primary:hover { background:var(--primary-dark); transform:translateY(-1px); box-shadow:0 6px 20px rgba(26,107,204,0.3); }
    .btn-outline { background:transparent; color:var(--primary); border-color:var(--primary); }
    .btn-outline:hover { background:var(--primary-light); transform:translateY(-1px); }
    .btn-lg { padding:14px 32px; font-size:16px; border-radius:10px; }
    .btn-block { width:100%; }
    .nav-cta { margin-left:auto; padding:9px 20px; font-size:14px; }
    .hamburger { display:none; flex-direction:column; gap:5px; margin-left:auto; padding:4px; }
    .hamburger span { display:block; width:22px; height:2px; background:var(--text); border-radius:2px; transition:all var(--transition); }
    .mobile-menu { display:none; flex-direction:column; padding:16px 24px 20px; border-top:1px solid var(--border); gap:4px; }
    .mobile-menu.open { display:flex; }
    .mobile-menu a { padding:10px 0; font-size:15px; color:var(--text); border-bottom:1px solid var(--border); }
    .mobile-menu .btn { margin-top:12px; }

    /* ---- Page Hero ---- */
    .page-hero {
      padding: 140px 0 80px;
      background: linear-gradient(150deg, #eef4ff 0%, #f7f9fc 50%, #ffffff 100%);
      position: relative;
      overflow: hidden;
    }
    .page-hero::before {
      content: '';
      position: absolute;
      width: 500px; height: 500px;
      background: var(--primary);
      opacity: 0.04;
      border-radius: 50%;
      top: -160px; right: -120px;
    }
    .page-hero-inner { position: relative; text-align: center; }
    .breadcrumb { display:inline-flex; align-items:center; gap:8px; font-size:13px; color:var(--text-muted); margin-bottom:20px; }
    .breadcrumb a { color:var(--primary); }
    .breadcrumb span { opacity:.5; }
    .page-hero h1 { font-size: clamp(32px,5vw,52px); font-weight:800; color:var(--text); margin-bottom:16px; line-height:1.2; }
    .page-hero h1 em { font-style:normal; background:linear-gradient(135deg,var(--primary),#4a9eff); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
    .page-hero p { font-size:17px; color:var(--text-muted); max-width:560px; margin:0 auto; line-height:1.75; }
    .hero-chips { display:flex; justify-content:center; gap:12px; flex-wrap:wrap; margin-top:28px; }
    .chip { display:inline-flex; align-items:center; gap:6px; padding:6px 16px; background:#fff; border:1px solid var(--border); border-radius:100px; font-size:13px; color:var(--text-muted); box-shadow:var(--shadow); }
    .chip-dot { width:7px; height:7px; border-radius:50%; background:#22c55e; }

    /* ---- Main Layout ---- */
    .contact-page { padding: 80px 0 100px; background: var(--bg); }
    .contact-layout {
      display: grid;
      grid-template-columns: 1fr 1.35fr;
      gap: 60px;
      align-items: start;
    }

    /* ---- Left Panel ---- */
    .contact-left { display: flex; flex-direction: column; gap: 28px; }

    .section-tag { display:inline-flex; align-items:center; gap:6px; background:var(--primary-light); color:var(--primary); font-size:13px; font-weight:600; padding:5px 14px; border-radius:100px; margin-bottom:8px; }
    .panel-title { font-size:26px; font-weight:700; margin-bottom:8px; line-height:1.3; }
    .panel-desc { font-size:15px; color:var(--text-muted); line-height:1.75; margin-bottom:4px; }

    /* Info cards */
    .info-cards { display:flex; flex-direction:column; gap:16px; }
    .info-card {
      display: flex;
      align-items: center;
      gap: 16px;
      background: var(--bg-alt);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 18px 20px;
      transition: all var(--transition);
    }
    .info-card:hover { border-color: rgba(26,107,204,0.3); box-shadow: var(--shadow); transform: translateX(4px); }
    .info-card a { color: inherit; }
    .ic-icon {
      width: 46px; height: 46px;
      border-radius: 12px;
      display: flex; align-items: center; justify-content: center;
      font-size: 20px;
      flex-shrink: 0;
    }
    .ic-blue { background: var(--primary-light); }
    .ic-green { background: #e8faf0; }
    .ic-yellow { background: #fff8e6; }
    .ic-purple { background: #f3eeff; }
    .ic-red { background: #fff0f0; }
    .ic-body { display:flex; flex-direction:column; }
    .ic-label { font-size:12px; color:var(--text-muted); font-weight:500; margin-bottom:2px; }
    .ic-value { font-size:15px; font-weight:600; color:var(--text); }
    .ic-sub { font-size:12px; color:var(--text-muted); margin-top:2px; }

    /* QR Code area */
    .qr-section {
      background: linear-gradient(135deg, var(--primary) 0%, #2b7de9 100%);
      border-radius: var(--radius-lg);
      padding: 28px;
      color: #fff;
      display: flex;
      align-items: center;
      gap: 24px;
    }
    .qr-box {
      width: 88px; height: 88px;
      background: #fff;
      border-radius: 12px;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
      font-size: 11px;
      color: var(--text-muted);
      text-align: center;
      padding: 8px;
    }
    .qr-box svg { width: 64px; height: 64px; }
    .qr-body h4 { font-size:17px; font-weight:700; margin-bottom:6px; }
    .qr-body p { font-size:13px; opacity:0.85; line-height:1.6; }
    .qr-id { margin-top:8px; font-size:13px; font-weight:600; background:rgba(255,255,255,0.15); padding:4px 12px; border-radius:6px; display:inline-block; }

    /* Working hours */
    .hours-card {
      background: var(--bg-alt);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 20px 24px;
    }
    .hours-title { font-size:14px; font-weight:700; margin-bottom:14px; display:flex; align-items:center; gap:8px; }
    .hours-list { display:flex; flex-direction:column; gap:8px; }
    .hours-row { display:flex; justify-content:space-between; align-items:center; font-size:14px; }
    .hours-row .day { color:var(--text-muted); }
    .hours-row .time { font-weight:600; }
    .hours-row .open-badge { background:#e8faf0; color:#16a34a; font-size:11px; font-weight:600; padding:2px 8px; border-radius:100px; }
    .hours-row .closed-badge { background:#f3f4f6; color:var(--text-muted); font-size:11px; font-weight:600; padding:2px 8px; border-radius:100px; }
    .hours-divider { height:1px; background:var(--border); margin:8px 0; }

    /* ---- Right Panel: Form ---- */
    .contact-form-wrap {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-lg);
      overflow: hidden;
    }
    .form-header {
      background: linear-gradient(135deg, var(--primary) 0%, #2b7de9 100%);
      padding: 32px 36px;
      color: #fff;
    }
    .form-header h2 { font-size:22px; font-weight:700; margin-bottom:8px; }
    .form-header p { font-size:14px; opacity:.85; line-height:1.6; }
    .form-steps { display:flex; gap:0; margin-top:20px; }
    .fs-step {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      position: relative;
      font-size: 12px;
      color: rgba(255,255,255,0.65);
    }
    .fs-step::after {
      content: '';
      position: absolute;
      top: 15px; left: 50%; right: -50%;
      height: 1px;
      background: rgba(255,255,255,0.25);
    }
    .fs-step:last-child::after { display:none; }
    .fs-num {
      width: 30px; height: 30px;
      border-radius: 50%;
      background: rgba(255,255,255,0.15);
      display: flex; align-items: center; justify-content: center;
      font-size: 13px; font-weight: 700;
      margin-bottom: 6px;
      position: relative; z-index: 1;
    }
    .fs-step.active .fs-num { background: #fff; color: var(--primary); }
    .fs-step.active { color: #fff; }
    .fs-step.done .fs-num { background: rgba(255,255,255,0.3); }
    .fs-step.done .fs-num::after { content: '✓'; position:absolute; }

    .form-body { padding: 36px; }

    .form-section { margin-bottom: 28px; }
    .form-section-title { font-size:13px; font-weight:700; color:var(--primary); letter-spacing:.5px; text-transform:uppercase; margin-bottom:16px; padding-bottom:8px; border-bottom:1px solid var(--primary-light); }

    .form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
    .form-group { display:flex; flex-direction:column; gap:6px; margin-bottom:16px; }
    .form-group:last-child { margin-bottom:0; }
    .form-group label { font-size:13px; font-weight:600; color:var(--text); display:flex; align-items:center; gap:4px; }
    .form-group label .req { color:#ef4444; font-size:14px; }
    .form-group input,
    .form-group select,
    .form-group textarea {
      padding: 11px 14px;
      border: 1.5px solid var(--border);
      border-radius: 9px;
      font-size: 14px;
      font-family: inherit;
      color: var(--text);
      background: var(--bg-alt);
      transition: all var(--transition);
      outline: none;
      resize: vertical;
    }
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
      border-color: var(--primary);
      background: #fff;
      box-shadow: 0 0 0 3px rgba(26,107,204,0.1);
    }
    .form-group input::placeholder, .form-group textarea::placeholder { color:#c5cad3; }

    .service-options { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
    .svc-opt {
      display: flex; align-items: center; gap: 8px;
      padding: 10px 12px;
      border: 1.5px solid var(--border);
      border-radius: 9px;
      cursor: pointer;
      font-size: 13px;
      transition: all var(--transition);
      background: var(--bg-alt);
      user-select: none;
    }
    .svc-opt:hover { border-color: var(--primary); background: var(--primary-light); }
    .svc-opt.selected { border-color: var(--primary); background: var(--primary-light); color: var(--primary); font-weight: 600; }
    .svc-opt input[type="checkbox"] { display:none; }
    .svc-check { width:16px; height:16px; border:1.5px solid var(--border); border-radius:4px; display:flex; align-items:center; justify-content:center; flex-shrink:0; transition:all var(--transition); font-size:10px; }
    .svc-opt.selected .svc-check { background:var(--primary); border-color:var(--primary); color:#fff; }

    .scale-options { display:flex; gap:10px; flex-wrap:wrap; }
    .scale-opt {
      padding: 8px 18px;
      border: 1.5px solid var(--border);
      border-radius: 100px;
      font-size: 13px;
      cursor: pointer;
      transition: all var(--transition);
      background: var(--bg-alt);
    }
    .scale-opt:hover { border-color:var(--primary); color:var(--primary); }
    .scale-opt.selected { background:var(--primary); border-color:var(--primary); color:#fff; font-weight:600; }

    .urgency-options { display:flex; gap:10px; }
    .urg-opt {
      flex: 1;
      padding: 10px 12px;
      border: 1.5px solid var(--border);
      border-radius: 9px;
      font-size: 13px;
      cursor: pointer;
      transition: all var(--transition);
      background: var(--bg-alt);
      text-align: center;
    }
    .urg-opt span { display:block; font-weight:600; margin-bottom:2px; }
    .urg-opt small { font-size:11px; color:var(--text-muted); }
    .urg-opt:hover { border-color:var(--primary); }
    .urg-opt.selected { border-color:var(--primary); background:var(--primary-light); color:var(--primary); }
    .urg-opt.selected small { color:rgba(26,107,204,0.7); }

    /* Contact preference */
    .contact-pref { display:flex; gap:10px; }
    .pref-opt {
      display: flex; align-items: center; gap: 8px;
      padding: 9px 14px;
      border: 1.5px solid var(--border);
      border-radius: 9px;
      cursor: pointer;
      font-size: 13px;
      transition: all var(--transition);
      background: var(--bg-alt);
    }
    .pref-opt.selected { border-color:var(--primary); background:var(--primary-light); color:var(--primary); font-weight:600; }

    .char-count { font-size:11px; color:var(--text-muted); text-align:right; margin-top:4px; }

    /* Privacy */
    .privacy-row { display:flex; align-items:flex-start; gap:10px; font-size:13px; color:var(--text-muted); cursor:pointer; }
    .privacy-row input[type="checkbox"] { margin-top:2px; accent-color:var(--primary); width:15px; height:15px; flex-shrink:0; }
    .privacy-row a { color:var(--primary); }

    /* Submit button */
    .submit-wrap { margin-top:28px; }
    .submit-btn {
      width: 100%;
      padding: 16px;
      background: linear-gradient(135deg, var(--primary) 0%, #2b7de9 100%);
      color: #fff;
      border: none;
      border-radius: 12px;
      font-size: 16px;
      font-weight: 700;
      cursor: pointer;
      transition: all var(--transition);
      display: flex; align-items: center; justify-content: center; gap: 10px;
      letter-spacing: 0.5px;
    }
    .submit-btn:hover { transform:translateY(-2px); box-shadow:0 8px 28px rgba(26,107,204,0.35); }
    .submit-btn:active { transform:translateY(0); }
    .submit-btn:disabled { opacity:.6; cursor:not-allowed; transform:none; }
    .form-note { text-align:center; font-size:12px; color:var(--text-muted); margin-top:12px; }
    .form-note a { color:var(--primary); }

    /* ---- Map Section ---- */
    .map-section { padding: 0 0 80px; }
    .map-header { text-align:center; margin-bottom:40px; }
    .map-header .section-tag { margin-bottom:12px; }
    .map-header h2 { font-size:28px; font-weight:700; margin-bottom:10px; }
    .map-header p { font-size:15px; color:var(--text-muted); }
    .map-wrapper {
      border-radius: var(--radius-lg);
      overflow: hidden;
      border: 1px solid var(--border);
      box-shadow: var(--shadow-lg);
      position: relative;
      height: 420px;
      background: linear-gradient(135deg, #eef4ff, #f0f5ff);
      display: flex; align-items: center; justify-content: center;
    }
    .map-placeholder {
      text-align: center;
    }
    .map-placeholder .map-pin { font-size:48px; margin-bottom:16px; display:block; animation: bounce 2s infinite; }
    @keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
    .map-placeholder h3 { font-size:20px; font-weight:700; margin-bottom:8px; }
    .map-placeholder p { font-size:14px; color:var(--text-muted); margin-bottom:20px; }
    .map-placeholder .map-address {
      display: inline-flex; align-items: center; gap: 8px;
      background: #fff; border: 1px solid var(--border);
      border-radius: 10px; padding: 10px 20px;
      font-size: 14px; font-weight: 600;
      box-shadow: var(--shadow);
    }
    .map-offices {
      display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 24px;
    }
    .office-card {
      background: var(--bg-alt);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 20px;
      transition: all var(--transition);
    }
    .office-card:hover { border-color:rgba(26,107,204,0.3); box-shadow:var(--shadow); transform:translateY(-2px); }
    .office-card .oc-city { font-size:13px; font-weight:700; color:var(--primary); margin-bottom:8px; display:flex; align-items:center; gap:6px; }
    .oc-dot { width:8px; height:8px; border-radius:50%; background:var(--primary); }
    .office-card h4 { font-size:15px; font-weight:700; margin-bottom:6px; }
    .office-card p { font-size:13px; color:var(--text-muted); line-height:1.6; }
    .office-card .oc-phone { font-size:13px; color:var(--primary); font-weight:600; margin-top:8px; }

    /* ---- FAQ Strip ---- */
    .faq-strip { background: var(--bg-alt); padding: 60px 0; }
    .faq-strip-inner { display:grid; grid-template-columns:1fr 1.5fr; gap:60px; align-items:start; }
    .faq-left h2 { font-size:26px; font-weight:700; margin-bottom:12px; }
    .faq-left p { font-size:15px; color:var(--text-muted); line-height:1.7; margin-bottom:20px; }
    .faq-contact-link { display:inline-flex; align-items:center; gap:6px; color:var(--primary); font-weight:600; font-size:14px; }
    .faq-list { display:flex; flex-direction:column; gap:10px; }
    .faq-item { border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; background:#fff; }
    .faq-q {
      width:100%; text-align:left; padding:16px 20px;
      font-size:14px; font-weight:600; color:var(--text);
      background:#fff; display:flex; align-items:center; justify-content:space-between; gap:12px;
      transition:all var(--transition);
    }
    .faq-q:hover { background:var(--bg-alt); color:var(--primary); }
    .faq-q.open { color:var(--primary); background:var(--primary-light); }
    .faq-arrow { font-size:11px; transition:transform var(--transition); flex-shrink:0; }
    .faq-q.open .faq-arrow { transform:rotate(180deg); }
    .faq-a { display:none; padding:16px 20px; font-size:13px; color:var(--text-muted); line-height:1.75; background:var(--bg-alt); border-top:1px solid var(--border); }
    .faq-a.open { display:block; }

    /* ---- Footer ---- */
    .footer { background:#0f1624; color:rgba(255,255,255,0.7); }
    .footer-inner { display:flex; align-items:center; justify-content:space-between; padding:28px 0; flex-wrap:wrap; gap:16px; border-bottom:1px solid rgba(255,255,255,0.08); }
    .footer-brand .logo { color:#fff; display:flex; }
    .footer-brand .logo-text { color:#a8c4ff; }
    .footer-nav { display:flex; gap:24px; }
    .footer-nav a { font-size:13px; color:rgba(255,255,255,0.5); transition:color var(--transition); }
    .footer-nav a:hover { color:#fff; }
    .footer-bottom { padding:20px 0; text-align:center; font-size:12px; color:rgba(255,255,255,0.3); }

    /* ---- Float CTA ---- */
    .float-cta { position:fixed; right:24px; bottom:40px; display:flex; flex-direction:column; gap:10px; z-index:900; opacity:0; transform:translateY(20px); transition:all var(--transition); pointer-events:none; }
    .float-cta.visible { opacity:1; transform:translateY(0); pointer-events:all; }
    .fcta-btn { width:48px; height:48px; background:var(--primary); color:#fff; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:18px; box-shadow:0 4px 16px rgba(26,107,204,0.35); transition:all var(--transition); cursor:pointer; border:none; text-decoration:none; }
    .fcta-btn:hover { transform:scale(1.1); }
    .fcta-top { background:#fff; color:var(--primary); box-shadow:0 4px 12px rgba(0,0,0,0.1); border:1.5px solid var(--border); }

    /* ---- Toast ---- */
    .toast { position:fixed; bottom:32px; left:50%; transform:translateX(-50%) translateY(20px); background:#1a1f2e; color:#fff; padding:14px 28px; border-radius:10px; font-size:14px; font-weight:500; opacity:0; transition:all 0.3s; z-index:9999; pointer-events:none; white-space:nowrap; box-shadow:0 8px 32px rgba(0,0,0,0.25); }
    .toast.show { opacity:1; transform:translateX(-50%) translateY(0); }

    /* ---- Success State ---- */
    .success-state { display:none; text-align:center; padding:60px 36px; }
    .success-state.show { display:block; }
    .ss-icon { font-size:64px; margin-bottom:20px; animation:popIn 0.5s ease; }
    @keyframes popIn { 0%{transform:scale(0)} 80%{transform:scale(1.1)} 100%{transform:scale(1)} }
    .ss-title { font-size:24px; font-weight:700; margin-bottom:12px; }
    .ss-desc { font-size:15px; color:var(--text-muted); line-height:1.75; margin-bottom:28px; }
    .ss-info { display:flex; flex-direction:column; gap:10px; background:var(--bg-alt); border-radius:var(--radius); padding:20px; margin-bottom:28px; text-align:left; }
    .ss-row { display:flex; justify-content:space-between; font-size:13px; }
    .ss-row .k { color:var(--text-muted); }
    .ss-row .v { font-weight:600; }

    /* ---- Responsive ---- */
    @media (max-width:1024px) {
      .contact-layout { grid-template-columns:1fr; }
      .map-offices { grid-template-columns:1fr 1fr; }
      .faq-strip-inner { grid-template-columns:1fr; gap:32px; }
    }
    @media (max-width:768px) {
      .nav-links, .nav-cta { display:none; }
      .hamburger { display:flex; }
      .page-hero { padding:120px 0 60px; }
      .form-row { grid-template-columns:1fr; }
      .service-options { grid-template-columns:1fr 1fr; }
      .urgency-options { flex-direction:column; }
      .contact-pref { flex-wrap:wrap; }
      .map-offices { grid-template-columns:1fr; }
      .form-body { padding:24px 20px; }
      .form-header { padding:24px 20px; }
      .footer-inner { flex-direction:column; align-items:flex-start; }
    }
    @media (max-width:480px) {
      .service-options { grid-template-columns:1fr; }
      .scale-options { flex-direction:column; }
    }