
    :root {
      --primary: #1a365d;
      --primary-2: #112846;
      --accent: #e8712b;
      --accent-2: #c95f1f;
      --ink: #17324a;
      --muted: #5d7085;
      --line: #d9e3ee;
      --bg: #f4f8fc;
      --white: #ffffff;
      --radius-lg: 24px;
      --radius-md: 18px;
      --radius-sm: 12px;
      --shadow-soft: 0 16px 34px rgba(18, 40, 70, 0.1);
      --shadow-pop: 0 20px 48px rgba(14, 33, 57, 0.18);
      --container: 1180px;
      --nav-h: 78px;
      --ease: 0.35s ease;
    }
    * { margin: 0; padding: 0; box-sizing: border-box; }
    body {
      font-family: Arial, Helvetica, sans-serif;
      color: var(--ink);
      line-height: 1.65;
      background: var(--bg);
    }
    a { color: var(--primary); text-decoration: none; transition: var(--ease); }
    a:hover { color: var(--accent); }
    img { max-width: 100%; height: auto; }

    /* Header */
    .header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      height: var(--nav-h);
      background: var(--primary-2);
      z-index: 1000;
      display: flex;
      align-items: center;
    }
    .header-inner {
      max-width: var(--container);
      margin: 0 auto;
      width: 100%;
      padding: 0 20px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .logo {
      display: flex;
      align-items: center;
      gap: 12px;
      color: var(--white);
      font-size: 20px;
      font-weight: 700;
    }
    .logo-mark {
      width: 40px;
      height: 40px;
      background: var(--accent);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 900;
      font-size: 18px;
      color: var(--white);
    }
    .lang-switch {
      display: flex;
      gap: 8px;
    }
    .lang-switch a {
      color: rgba(255,255,255,0.7);
      font-size: 14px;
      padding: 6px 12px;
      border-radius: 6px;
      transition: var(--ease);
    }
    .lang-switch a:hover,
    .lang-switch a.active {
      color: var(--white);
      background: rgba(255,255,255,0.1);
    }
    .nav-links {
      display: flex;
      gap: 32px;
    }
    .nav-links a {
      color: rgba(255,255,255,0.85);
      font-size: 15px;
      transition: var(--ease);
    }
    .nav-links a:hover {
      color: var(--accent);
    }
    @media (max-width: 768px) {
      .nav-links { display: none; }
    }

    /* Main */
    main { padding-top: var(--nav-h); }

    /* Hero */
    .hero {
      background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
      padding: 60px 20px;
      color: var(--white);
    }
    .hero-inner {
      max-width: var(--container);
      margin: 0 auto;
    }
    .breadcrumb {
      font-size: 14px;
      color: rgba(255,255,255,0.7);
      margin-bottom: 20px;
    }
    .breadcrumb a {
      color: rgba(255,255,255,0.7);
    }
    .breadcrumb a:hover {
      color: var(--accent);
    }
    .breadcrumb span {
      margin: 0 8px;
    }
    .hero h1 {
      font-size: 42px;
      font-weight: 700;
      line-height: 1.2;
      margin-bottom: 16px;
    }
    .hero p {
      font-size: 18px;
      opacity: 0.9;
      max-width: 700px;
    }
    @media (max-width: 768px) {
      .hero h1 { font-size: 28px; }
      .hero p { font-size: 16px; }
    }

    /* Sections */
    .section {
      padding: 60px 20px;
    }
    .section-inner {
      max-width: var(--container);
      margin: 0 auto;
    }
    .section-title {
      font-size: 28px;
      font-weight: 700;
      color: var(--primary);
      margin-bottom: 24px;
    }
    .section-text {
      font-size: 16px;
      color: var(--muted);
      margin-bottom: 32px;
      max-width: 900px;
    }

    /* Intro */
    .intro-box {
      background: var(--white);
      border-radius: var(--radius-lg);
      padding: 40px;
      box-shadow: var(--shadow-soft);
      margin-bottom: 40px;
    }
    .intro-box p {
      font-size: 17px;
      color: var(--ink);
      line-height: 1.8;
    }

    /* Step Cards */
    .step-cards {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 24px;
      margin-bottom: 40px;
    }
    .step-card {
      background: var(--white);
      border-radius: var(--radius-md);
      padding: 32px;
      box-shadow: var(--shadow-soft);
      position: relative;
    }
    .step-card::before {
      content: attr(data-step);
      position: absolute;
      top: -12px;
      left: 24px;
      background: var(--accent);
      color: var(--white);
      font-size: 14px;
      font-weight: 700;
      padding: 6px 16px;
      border-radius: 20px;
    }
    .step-card h3 {
      font-size: 18px;
      color: var(--primary);
      margin-bottom: 12px;
      margin-top: 8px;
    }
    .step-card p {
      font-size: 15px;
      color: var(--muted);
      line-height: 1.7;
    }

    /* Mistakes Section */
    .mistakes-container {
      background: var(--white);
      border-radius: var(--radius-lg);
      padding: 40px;
      box-shadow: var(--shadow-soft);
    }
    .mistakes-list {
      list-style: none;
      padding: 0;
    }
    .mistakes-list li {
      padding: 20px 0;
      border-bottom: 1px solid var(--line);
      font-size: 16px;
      color: var(--ink);
      padding-left: 32px;
      position: relative;
    }
    .mistakes-list li:last-child {
      border-bottom: none;
    }
    .mistakes-list li::before {
      content: "";
      position: absolute;
      left: 0;
      top: 24px;
      width: 20px;
      height: 20px;
      background: #dc3545;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .mistakes-list li::after {
      content: "!";
      position: absolute;
      left: 7px;
      top: 22px;
      color: white;
      font-weight: 700;
      font-size: 14px;
    }
    .mistakes-list strong {
      color: var(--primary);
    }

    /* VIN Info */
    .vin-table {
      background: var(--white);
      border-radius: var(--radius-lg);
      padding: 40px;
      box-shadow: var(--shadow-soft);
      overflow-x: auto;
    }
    .vin-table table {
      width: 100%;
      border-collapse: collapse;
      min-width: 600px;
    }
    .vin-table th,
    .vin-table td {
      padding: 16px;
      text-align: left;
      border-bottom: 1px solid var(--line);
    }
    .vin-table th {
      background: var(--bg);
      color: var(--primary);
      font-weight: 600;
      font-size: 15px;
    }
    .vin-table td {
      color: var(--ink);
      font-size: 15px;
    }
    .vin-table code {
      background: var(--bg);
      padding: 4px 8px;
      border-radius: 4px;
      font-family: monospace;
      color: var(--accent);
    }

    /* FAQ */
    .faq-list {
      max-width: 900px;
      margin: 0 auto;
    }
    .faq-item {
      background: var(--white);
      border-radius: var(--radius-md);
      padding: 24px;
      margin-bottom: 16px;
      box-shadow: var(--shadow-soft);
    }
    .faq-item h3 {
      font-size: 17px;
      color: var(--primary);
      margin-bottom: 12px;
      font-weight: 600;
    }
    .faq-item p {
      font-size: 15px;
      color: var(--muted);
      line-height: 1.7;
    }

    /* CTA */
    .cta-section {
      background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
      padding: 60px 20px;
      text-align: center;
      color: var(--white);
    }
    .cta-section h2 {
      font-size: 32px;
      margin-bottom: 16px;
    }
    .cta-section p {
      font-size: 18px;
      opacity: 0.9;
      margin-bottom: 32px;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
    }
    .cta-buttons {
      display: flex;
      justify-content: center;
      gap: 16px;
      flex-wrap: wrap;
    }
    .cta-btn {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 14px 28px;
      border-radius: var(--radius-sm);
      font-size: 16px;
      font-weight: 600;
      transition: var(--ease);
    }
    .cta-btn-epc {
      background: var(--accent);
      color: var(--white);
    }
    .cta-btn-whatsapp {
      background: #25D366;
      color: var(--white);
    }
    .cta-btn-telegram {
      background: #0088cc;
      color: var(--white);
    }
    .cta-btn:hover {
      transform: translateY(-2px);
      box-shadow: var(--shadow-pop);
      color: var(--white);
    }

    /* Internal Links */
    .internal-links {
      background: var(--white);
      padding: 40px 20px;
    }
    .internal-links-inner {
      max-width: var(--container);
      margin: 0 auto;
    }
    .links-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 20px;
    }
    .link-card {
      background: var(--bg);
      border-radius: var(--radius-md);
      padding: 24px;
      transition: var(--ease);
      border: 1px solid var(--line);
    }
    .link-card:hover {
      border-color: var(--accent);
      transform: translateY(-4px);
      box-shadow: var(--shadow-soft);
    }
    .link-card h3 {
      font-size: 16px;
      color: var(--primary);
      margin-bottom: 8px;
    }
    .link-card p {
      font-size: 14px;
      color: var(--muted);
    }
    .link-card a {
      display: inline-block;
      margin-top: 12px;
      color: var(--accent);
      font-weight: 600;
      font-size: 14px;
    }

    /* Footer */
    .footer {
      background: var(--primary-2);
      color: rgba(255,255,255,0.8);
      padding: 60px 20px 30px;
    }
    .footer-inner {
      max-width: var(--container);
      margin: 0 auto;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 40px;
      margin-bottom: 40px;
    }
    .footer-col h4 {
      color: var(--white);
      font-size: 16px;
      margin-bottom: 16px;
    }
    .footer-col ul {
      list-style: none;
    }
    .footer-col li {
      margin-bottom: 10px;
    }
    .footer-col a {
      color: rgba(255,255,255,0.7);
      font-size: 14px;
      transition: var(--ease);
    }
    .footer-col a:hover {
      color: var(--accent);
    }
    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.1);
      padding-top: 24px;
      text-align: center;
      font-size: 14px;
    }

    /* Floating Chat */
    .floating-chat {
      position: fixed;
      bottom: 24px;
      right: 24px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      z-index: 999;
    }
    .chat-btn {
      width: 56px;
      height: 56px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: var(--shadow-pop);
      transition: var(--ease);
      font-size: 24px;
    }
    .chat-btn:hover {
      transform: scale(1.1);
    }
    .chat-whatsapp {
      background: #25D366;
    }
    .chat-telegram {
      background: #0088cc;
    }
    .chat-email {
      background: var(--accent);
    }
    .chat-btn svg {
      width: 28px;
      height: 28px;
      fill: white;
    }
    @media (max-width: 768px) {
      .floating-chat {
        bottom: 16px;
        right: 16px;
      }
      .chat-btn {
        width: 48px;
        height: 48px;
        font-size: 20px;
      }
    }
  
.crumbs { max-width: 1180px; margin: 0 auto; padding: 14px 24px 0; font-size: 0.82rem; color: var(--muted, #64748b); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span.sep { opacity: .55; margin: 0 6px; }
.crumbs strong { font-weight: 600; color: var(--ink, #0f172a); }


/* brand mark: use the real QIFAN logo in the header */
.logo-mark{
  width:34px;height:34px;border-radius:9px;
  background-color:#000;
  background-image:url('/assets/brand-mark-128.webp');
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
  color:transparent;font-size:0;line-height:0;overflow:hidden;
  box-shadow:0 0 0 1.5px rgba(255,255,255,.30), 0 2px 8px rgba(0,0,0,.45);
  flex:0 0 auto;
}


/* anchors must clear the fixed header */
:target { scroll-margin-top: 92px; }
#epc-index, #contact, #faq, #quote { scroll-margin-top: 92px; }
