/* KDQSS 全国城市SEO服务中心 V1.0 — 严格对齐 www.kdqss.com 视觉设计系统 */
:root {
  --purple: #4D148C;
  --purple2: #3A0E6B;
  --purple3: #7A2BD6;
  --purple-soft: #F3EEFA;
  --tab-bg: #F0EBF8;
  --surface-soft: #FAF8FD;
  --orange: #FF6600;
  --orange2: #FF8A33;
  --orange-soft: #FFF1E6;
  --ink: #2A1A45;
  --nav-link: #4A3D66;
  --muted: #6E6486;
  --line: #E9E4F2;
  --bg: #F7F5FB;
  --card: #FFFFFF;
  --ok: #1E9E5A;
  --ok-soft: #E9F7EF;
  --warn: #B76E00;
  --warn-soft: #FFF6E5;
  --cyan: #65D6DC;
  --cyan-light: #8CE5E8;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-hero: 22px;
  --shadow-panel: 0 30px 60px -22px rgba(77, 20, 140, 0.32);
  --shadow-card: 0 10px 28px -14px rgba(77, 20, 140, 0.14);
  --shadow-hover: 0 18px 40px -18px rgba(77, 20, 140, 0.25);
  --shadow-cta: 0 8px 20px -8px rgba(255, 102, 0, 0.6);
  --font: system-ui, -apple-system, "Segoe UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }

/* Preview notice ribbon (non-intrusive, clearly marks test build & noindex) */
.preview-ribbon {
  background: #23113D;
  color: #E5DDF5;
  font-size: 12px;
  line-height: 1.4;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.preview-ribbon .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 20px;
  flex-wrap: wrap;
}
.preview-ribbon .badge-test {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 102, 0, 0.2);
  color: #FFB37A;
  border: 1px solid rgba(255, 102, 0, 0.45);
  border-radius: 999px;
  padding: 2px 10px;
  font-weight: 700;
  font-size: 11px;
}
.preview-ribbon .ribbon-links {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
}
.preview-ribbon .ribbon-links a {
  color: var(--cyan-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Container */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Bar — exact match to kdqss.com */
.topbar {
  background: var(--purple2);
  color: #D9CFF0;
  font-size: 13px;
}
.topbar .wrap {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.topbar-links {
  display: flex;
  align-items: center;
  gap: 14px;
}
.topbar-links a {
  color: #D9CFF0;
  opacity: 0.88;
  transition: opacity 0.2s;
}
.topbar-links a:hover { opacity: 1; color: #FFFFFF; }
.langswitch {
  background: #FFFFFF;
  color: var(--purple2);
  border: none;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

/* Main Sticky Navigation — exact match to kdqss.com + 新增“全国服务范围” */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand svg { width: 30px; height: 30px; display: block; }
.brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  font-size: 20px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.3px;
}
.brand small {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--muted);
  margin-top: 2px;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  position: relative;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--nav-link);
  padding: 6px 0;
  white-space: nowrap;
  transition: color 0.18s;
}
.nav-menu a:hover,
.nav-menu a.active {
  color: var(--purple);
}
.nav-menu a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -20px;
  height: 3px;
  background: var(--orange);
  border-radius: 3px;
}
.nav-menu a .nav-new-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  margin-left: 4px;
  vertical-align: top;
  margin-top: 2px;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange2) 100%);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-cta);
  transition: transform 0.18s, box-shadow 0.18s;
  white-space: nowrap;
}
.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -8px rgba(255, 102, 0, 0.72);
}
.burger {
  display: none;
  background: var(--purple-soft);
  color: var(--purple);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.mobile-drawer {
  display: none;
  background: #FFFFFF;
  border-bottom: 1px solid var(--line);
  padding: 12px 20px 18px;
}
.mobile-drawer.open { display: block; }
.mobile-drawer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.mobile-drawer-grid a {
  display: block;
  text-align: center;
  padding: 9px 6px;
  border-radius: 10px;
  background: var(--surface-soft);
  color: var(--nav-link);
  font-size: 13.5px;
  font-weight: 600;
  border: 1px solid var(--line);
}
.mobile-drawer-grid a.active {
  background: var(--purple);
  color: #FFFFFF;
  border-color: var(--purple);
}

/* Breadcrumb bar */
.breadcrumb-bar {
  width: min(1180px, calc(100% - 48px));
  margin: 16px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumb a { color: var(--muted); transition: color 0.15s; }
.breadcrumb a:hover { color: var(--purple); }
.breadcrumb .sep { color: #B8AECB; }
.breadcrumb .current { color: var(--ink); font-weight: 700; }

/* Rounded Purple Gradient Hero — exact kdqss.com signature style */
.hero {
  position: relative;
  width: min(1180px, calc(100% - 48px));
  margin: 22px auto 0;
  border-radius: var(--radius-hero);
  background:
    radial-gradient(circle at 86% 24%, rgba(255, 102, 0, 0.28) 0%, transparent 42%),
    radial-gradient(circle at 12% 88%, rgba(255, 138, 51, 0.16) 0%, transparent 45%),
    linear-gradient(135deg, #4D148C 0%, #5E1AA8 55%, #7A2BD6 100%);
  color: #FFFFFF;
  padding: 40px 44px 118px;
  overflow: hidden;
  box-shadow: 0 20px 50px -24px rgba(77, 20, 140, 0.45);
}
.hero.hero-compact {
  padding: 34px 44px 96px;
}
.hero-art {
  position: absolute;
  right: 36px;
  top: 20px;
  width: 240px;
  height: 240px;
  pointer-events: none;
  opacity: 0.22;
}
.hero-top-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #FFD8B8;
  margin-bottom: 12px;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 102, 0, 0.25);
}
.hero h1 {
  position: relative;
  z-index: 2;
  margin: 0 0 12px;
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: #FFFFFF;
}
.hero p.lead {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: 680px;
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
}
.hero-actions {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.18s, border-color 0.18s;
}
.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Overlapping White Main Panel — signature kdqss.com layout */
.panel {
  position: relative;
  z-index: 5;
  width: min(1132px, calc(100% - 72px));
  margin: -78px auto 0;
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 22px 26px 26px;
  box-shadow: 0 24px 54px -22px rgba(77, 20, 140, 0.24), 0 4px 16px -6px rgba(42, 26, 69, 0.06);
  border: 1px solid #E6DFF2;
}

/* Tab Bar inside Panel */
.tabbar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--tab-bg);
  padding: 6px;
  border-radius: 14px;
  overflow-x: auto;
  margin-bottom: 20px;
}
.tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--nav-link);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s;
}
.tab:hover {
  color: var(--purple);
  background: rgba(255, 255, 255, 0.65);
}
.tab.active {
  background: var(--purple);
  color: #FFFFFF;
  box-shadow: 0 6px 16px -6px rgba(77, 20, 140, 0.6);
}
.tab-badge {
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  font-weight: 700;
}
.tab:not(.active) .tab-badge {
  background: #FFFFFF;
  color: var(--purple);
}

/* Search Input Row */
.search-row {
  display: flex;
  gap: 12px;
  align-items: stretch;
}
.search-input-wrap {
  position: relative;
  flex: 1;
}
.search-input {
  width: 100%;
  height: 48px;
  padding: 0 44px 0 18px;
  border-radius: 12px;
  border: 1.5px solid #DED6EE;
  background: #FFFFFF;
  color: var(--ink);
  font-size: 15px;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.search-input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(77, 20, 140, 0.1);
}
.search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: var(--purple-soft);
  color: var(--purple);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
}
.search-clear.visible { display: inline-flex; }
.go-btn {
  height: 48px;
  padding: 0 26px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange2) 100%);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px -8px rgba(255, 102, 0, 0.58);
  transition: transform 0.16s, box-shadow 0.16s;
  white-space: nowrap;
}
.go-btn:hover { transform: translateY(-1px); }

/* Filter Chips */
.filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.filter-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  margin-right: 4px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--nav-link);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.chip:hover {
  border-color: var(--purple);
  color: var(--purple);
  background: var(--purple-soft);
}
.chip.active {
  background: var(--purple);
  color: #FFFFFF;
  border-color: var(--purple);
}
.chip.chip-hot {
  background: var(--orange-soft);
  border-color: #FFD2B3;
  color: #C74B00;
}
.chip.chip-hot:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #FFFFFF;
}

/* Main Content Sections */
.section-block {
  width: min(1180px, calc(100% - 48px));
  margin: 30px auto 0;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 900;
  color: var(--purple2);
  letter-spacing: -0.3px;
}
.section-head p {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--muted);
}

/* Cards & Grids */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-card);
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.card-interactive:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: #D2C3EB;
}
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.city-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.order-section-card {
  border: 1.5px solid #D7C7F0;
  background: linear-gradient(180deg, #FFFFFF 0%, #FCFAFF 100%);
}
.order-actions-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.order-actions-row .go-btn {
  min-width: 180px;
  height: 46px;
  padding: 0 28px;
}

/* Status Badges */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}
.status-demo { background: var(--orange-soft); color: #C24B00; border: 1px solid #FFD1B0; }
.status-verified { background: var(--ok-soft); color: #167943; border: 1px solid #BCE5CD; }
.status-planned { background: #F1EEF8; color: #6E6486; border: 1px solid #DFD8EE; }

/* City Directory Cards — Refined Commercial Grid */
.city-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  background: #FFFFFF;
  border: 1px solid #EAE4F4;
  border-radius: 16px;
  padding: 18px 18px 14px;
  box-shadow: 0 6px 20px -14px rgba(77, 20, 140, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.city-card:hover {
  border-color: #CEBCEA;
  box-shadow: 0 18px 36px -18px rgba(77, 20, 140, 0.24);
  transform: translateY(-2px);
}
.city-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.city-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.2px;
  transition: color 0.15s;
}
.city-card:hover h3 { color: var(--purple); }
.city-card .city-meta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}
.city-card-desc {
  font-size: 12.5px;
  color: #5C5275;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 36px;
}
.city-card-carriers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding-top: 10px;
  border-top: 1px dashed #EEE9F6;
}
.carrier-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 4px;
  border-radius: 7px;
  background: #F6F2FC;
  color: var(--purple);
  transition: all 0.16s ease;
}
.carrier-mini:hover {
  background: var(--purple);
  color: #FFFFFF;
}
.hero-stats-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.hero-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 600;
  backdrop-filter: blur(6px);
}
.hot-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.chip-hot-clean {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 999px;
  background: #FAF8FD;
  border: 1px solid #E6DEF3;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.15s ease;
}
.chip-hot-clean:hover {
  background: var(--purple);
  border-color: var(--purple);
  color: #FFFFFF;
}
.chip-recent {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink2, #374151);
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  text-decoration: none;
  transition: all 0.16s ease;
}
.chip-recent:hover {
  border-color: var(--purple);
  color: var(--purple);
  background: var(--purple-soft);
}
.chip-recent-latest {
  background: var(--purple-soft);
  border-color: #D8CCF8;
  color: var(--purple2, #5B21B6);
  font-weight: 600;
}
.recent-clock-icon {
  width: 13px;
  height: 13px;
  opacity: 0.72;
  flex-shrink: 0;
}
.recent-clear-btn {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border: none;
  background: transparent;
  color: var(--muted, #6B7280);
  font-size: 12.5px;
  cursor: pointer;
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
}
.recent-clear-btn:hover {
  color: var(--purple);
  background: var(--purple-soft);
}

/* Carrier Switcher Cards — Refined Executive Style */
.carrier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 18px 16px;
  border-radius: 16px;
  border: 1px solid #EAE4F4;
  background: #FFFFFF;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.carrier-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--carrier-accent, var(--purple));
  opacity: 0.28;
  transition: opacity 0.2s ease, height 0.2s ease;
}
.carrier-card.card-dhl { --carrier-accent: #EAB308; }
.carrier-card.card-fedex { --carrier-accent: #4D148C; }
.carrier-card.card-ups { --carrier-accent: #6B3E26; }
.carrier-card.card-ems { --carrier-accent: #0284C7; }
.carrier-card:hover {
  transform: translateY(-3px);
  border-color: #D2C3EB;
  box-shadow: 0 16px 34px -18px rgba(77, 20, 140, 0.22);
}
.carrier-card:hover::before { opacity: 0.9; }
.carrier-card.active {
  border-color: rgba(77, 20, 140, 0.35);
  background: linear-gradient(180deg, #FBF9FF 0%, #FFFFFF 100%);
  box-shadow: 0 14px 30px -16px rgba(77, 20, 140, 0.24), inset 0 0 0 1px rgba(77, 20, 140, 0.08);
}
.carrier-card.active::before {
  opacity: 1;
  height: 4px;
}
.carrier-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.carrier-logo-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: 4px 11px;
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: 0.5px;
}
.tag-dhl { background: #FFCC00; color: #D40511; }
.tag-fedex { background: #4D148C; color: #FFFFFF; }
.tag-ups { background: #351C15; color: #FFB500; }
.tag-ems { background: #0066B3; color: #FFFFFF; }
.carrier-eta-pill {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  padding: 2px 8px;
  border-radius: 999px;
}
.carrier-card.active .carrier-eta-pill {
  background: var(--purple-soft);
  color: var(--purple);
  border-color: #DACCF2;
}
.carrier-card-foot {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed #EEE9F6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--purple);
}
.carrier-arrow {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--purple-soft);
  color: var(--purple);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.carrier-card:hover .carrier-arrow,
.carrier-card.active .carrier-arrow {
  background: var(--purple);
  color: #FFFFFF;
  transform: translateX(2px);
}

/* Tool Shortcut Cards — Crisp Vector Icon Badges */
.tool-link-card {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 16px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  transition: all 0.18s ease;
}
.tool-link-card:hover {
  background: #FFFFFF;
  border-color: #CFC0EA;
  box-shadow: 0 10px 24px -14px rgba(77, 20, 140, 0.22);
  transform: translateY(-1px);
}
.tool-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, #F3EEFA 0%, #E9DFF8 100%);
  color: var(--purple);
  border: 1px solid #E3D7F5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.tool-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}
.tool-link-card:hover .tool-icon {
  background: linear-gradient(135deg, var(--purple) 0%, #6E24C2 100%);
  color: #FFFFFF;
  border-color: var(--purple);
}
.tool-link-card strong {
  display: block;
  font-size: 14.5px;
  color: var(--ink);
  margin-bottom: 2px;
}
.tool-link-card span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}

/* Form Elements */
.form-group { margin-bottom: 13px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 5px;
}
.form-control {
  width: 100%;
  padding: 10px 13px;
  border-radius: 10px;
  border: 1.5px solid #DED6EE;
  background: #FFFFFF;
  color: var(--ink);
  font-size: 14px;
  outline: none;
  transition: border-color 0.16s, box-shadow 0.16s;
}
.form-control:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(77, 20, 140, 0.1);
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--purple-soft);
  color: var(--purple);
  border: 1px solid #D9CBEF;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s;
}
.btn-secondary:hover {
  background: var(--purple);
  color: #FFFFFF;
  border-color: var(--purple);
}

/* Info Pills & Lists */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.info-tag {
  padding: 5px 11px;
  border-radius: 8px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--nav-link);
}
.callout {
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 13.5px;
  line-height: 1.6;
}
.callout-warn {
  background: var(--warn-soft);
  border: 1px solid #F2D399;
  color: #7A4A00;
}
.callout-purple {
  background: var(--purple-soft);
  border: 1px solid #DFD2F5;
  color: var(--purple2);
}

/* FAQ Accordion */
.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #FFFFFF;
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-item summary {
  padding: 14px 18px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 18px;
  color: var(--purple);
  font-weight: 800;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body {
  padding: 0 18px 16px;
  font-size: 14px;
  color: var(--muted);
  border-top: 1px solid #F3EFFA;
  padding-top: 12px;
}

/* Modal / Switcher Drawer */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(29, 13, 56, 0.56);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-backdrop.open { display: flex; }
.modal-card {
  width: min(760px, 100%);
  max-height: 85vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 30px 70px rgba(28, 12, 54, 0.38);
  border: 1px solid var(--line);
}
.modal-header {
  padding: 18px 22px;
  background: linear-gradient(135deg, #4D148C 0%, #6A22B8 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.modal-header h3 { margin: 0; font-size: 18px; font-weight: 800; }
.modal-close {
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
}
.modal-body {
  padding: 20px 22px;
  overflow-y: auto;
}

/* Toast Notification */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%) translateY(20px);
  background: var(--purple2);
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 14px 36px rgba(42, 26, 69, 0.35);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s, transform 0.22s;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Rounded Purple Gradient Footer — exact match to kdqss.com */
.site-footer {
  width: min(1180px, calc(100% - 48px));
  margin: 44px auto 26px;
  border-radius: var(--radius-hero);
  padding: 38px 40px 30px;
  background: linear-gradient(135deg, #4D148C 0%, #5E1AA8 55%, #7A2BD6 100%);
  color: #E4DEEC;
  box-shadow: 0 14px 38px rgba(77, 20, 140, 0.18);
  position: relative;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 2.2fr 0.85fr 0.8fr;
  gap: 24px;
}
.footer-brand {
  font-size: 22px;
  font-weight: 900;
  color: #F2EDF8;
  margin-bottom: 8px;
}
.footer-tagline {
  font-size: 13.5px;
  color: #CCC5D7;
  margin: 0 0 16px;
}
.footer-legal {
  font-size: 12px;
  color: #A89DB7;
  line-height: 1.8;
}
.footer-legal a { font-size: 12px; }
.footer-legal a:hover { color: #FFFFFF; }
.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
  white-space: nowrap;
}
.footer-col h4 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 800;
  color: var(--cyan-light);
}
.footer-tools-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 12px;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.site-footer a {
  font-size: 13px;
  color: #E4DEEC;
  transition: color 0.15s;
}
.site-footer a:hover { color: var(--cyan); }

/* Empty State */
.empty-state {
  text-align: center;
  padding: 36px 20px;
  background: var(--surface-soft);
  border: 1px dashed #D3C6EB;
  border-radius: 14px;
  color: var(--muted);
}

/* City Page Quick Jump Nav */
.city-quick-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 14px;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  scrollbar-width: none;
}
.city-quick-nav::-webkit-scrollbar { display: none; }
.city-quick-nav-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  white-space: nowrap;
  padding-right: 4px;
}
.quick-nav-link {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--nav-link);
  background: var(--surface-soft);
  border: 1px solid transparent;
  transition: all 0.16s ease;
}
.quick-nav-link:hover {
  color: var(--purple);
  background: var(--purple-soft);
  border-color: #D7C7F0;
}
.quick-nav-link.active {
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple3) 100%);
  box-shadow: 0 6px 14px -6px rgba(77, 20, 140, 0.55);
}

/* 3-Tier Coverage Cards */
.coverage-tier-card {
  position: relative;
  padding: 15px 15px 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--surface-soft) 100%);
  border: 1px solid var(--line);
  border-top: 3px solid var(--purple);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.coverage-tier-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: #D7C7F0;
}
.coverage-tier-card.tier-2 { border-top-color: var(--orange); }
.coverage-tier-card.tier-3 { border-top-color: var(--cyan); }
.tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  color: var(--purple);
  background: var(--purple-soft);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.coverage-tier-card.tier-2 .tier-badge {
  color: #B84A00;
  background: var(--orange-soft);
}
.coverage-tier-card.tier-3 .tier-badge {
  color: #0E6B73;
  background: #E8F9FA;
}

/* Interactive Geo Scope Toolbar & Tags */
.geo-toolbar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 14px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
}
.geo-search-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.geo-search-wrap {
  position: relative;
  flex: 1;
  min-width: 220px;
}
.geo-search-input {
  width: 100%;
  height: 40px;
  padding: 0 34px 0 14px;
  border-radius: 10px;
  border: 1px solid #D9CEEE;
  background: #FFFFFF;
  color: var(--ink);
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.16s, box-shadow 0.16s;
}
.geo-search-input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(77, 20, 140, 0.12);
}
.geo-search-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: var(--purple-soft);
  color: var(--purple);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
}
.geo-search-clear.show { display: inline-flex; }
.geo-hint-text {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.geo-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.geo-tab {
  border: 1px solid var(--line);
  background: #FFFFFF;
  color: var(--nav-link);
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.geo-tab:hover {
  border-color: #CDBBE9;
  color: var(--purple);
  background: var(--purple-soft);
}
.geo-tab.active {
  background: var(--purple);
  color: #FFFFFF;
  border-color: var(--purple);
}
.geo-match-banner {
  display: none;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}
.geo-match-banner.ok {
  display: block;
  background: var(--ok-soft);
  color: #167943;
  border: 1px solid #BCE6CE;
}
.geo-match-banner.miss {
  display: block;
  background: var(--warn-soft);
  color: var(--warn);
  border: 1px solid #F2D6A2;
}
.geo-group {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}
.geo-group:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}
.geo-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.geo-group-title {
  margin: 0;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.geo-count-pill {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--purple);
  background: var(--purple-soft);
  padding: 1px 8px;
  border-radius: 999px;
}
.geo-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #FFFFFF;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}
.geo-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #C7B6E6;
  flex-shrink: 0;
  transition: background 0.15s;
}
.geo-tag:hover {
  border-color: var(--purple);
  background: var(--purple-soft);
  color: var(--purple2);
  transform: translateY(-1px);
}
.geo-tag:hover::before { background: var(--orange); }
.geo-tag.selected {
  border-color: var(--purple);
  background: var(--purple);
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 6px 14px -6px rgba(77, 20, 140, 0.55);
}
.geo-tag.selected::before { background: var(--orange2); }
.geo-tag.match-hi {
  border-color: var(--orange);
  background: var(--orange-soft);
  color: #9A3B00;
  font-weight: 700;
}
.geo-tag.geo-hidden { display: none; }
.geo-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px dashed #C7B6E6;
  background: var(--surface-soft);
  color: var(--purple);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.geo-more-btn:hover {
  background: var(--purple-soft);
  border-style: solid;
}

/* Clickable Destination Cards */
.dest-card-btn {
  width: 100%;
  text-align: left;
  padding: 11px 13px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #FFFFFF;
  cursor: pointer;
  transition: all 0.16s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.dest-card-btn:hover {
  border-color: var(--purple);
  background: var(--surface-soft);
  transform: translateY(-1px);
  box-shadow: var(--shadow-card);
}
.dest-card-btn .dest-go {
  font-size: 12px;
  font-weight: 700;
  color: var(--purple);
  white-space: nowrap;
}

/* Form Input Flash Highlight */
@keyframes kdqssInputPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 102, 0, 0.55); border-color: var(--orange); }
  70% { box-shadow: 0 0 0 6px rgba(255, 102, 0, 0); border-color: var(--purple); }
  100% { box-shadow: 0 0 0 0 rgba(255, 102, 0, 0); }
}
.input-flash {
  animation: kdqssInputPulse 0.9s ease-out;
}

/* FAQ Header Action Button */
.faq-toggle-btn {
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--purple);
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.faq-toggle-btn:hover {
  background: var(--purple-soft);
  border-color: #CDBBE9;
}

/* Responsive Breakpoints */
@media (max-width: 1080px) {
  .nav-menu { gap: 13px; }
  .nav-menu a { font-size: 13.5px; }
  .city-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  html, body { overflow-x: hidden; }
  .topbar .topbar-slogan { display: none; }
  .nav-menu { display: none; }
  .burger { display: inline-flex; }
  .hero, .site-footer, .section-block, .breadcrumb-bar {
    width: calc(100% - 28px);
  }
  .panel {
    width: calc(100% - 36px);
    padding: 18px 16px 20px;
    margin-top: -58px;
  }
  .hero { padding: 28px 22px 86px; border-radius: 18px; }
  .hero.hero-compact { padding: 26px 22px 76px; }
  .grid-4, .grid-3, .grid-2, .grid-5 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-tools-grid { grid-template-columns: repeat(2, 1fr); }
  .search-row { flex-direction: column; }
  .search-row select.form-control { width: 100% !important; }
  .form-row-2 { grid-template-columns: 1fr; }
}
