/*
Theme Name: Data Hall
Theme URI: https://datahall.co.ke
Description: Data Hall — an enterprise data center & IT infrastructure marketplace. Search, evaluate, and connect with Tier II/III/IV colocation, cloud, connectivity, managed services, disaster recovery, network, and security providers worldwide. Interactive global infrastructure map, subsea cable intelligence, AI-powered quote engine, and provider portal.
Author: Data Hall
Author URI: https://datahall.co.ke
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: datahall
Tags: business, technology, marketplace, custom-colors, custom-menu, featured-images, full-width-template, theme-options, translation-ready
*/

/* ════════════════════════════════════════════════════════════
   DESIGN TOKENS
   ════════════════════════════════════════════════════════════ */
:root {
  /* Brand palette — deep infrastructure blues + electric cyan + signal teal */
  --c-bg:          #0A0E1A;
  --c-bg-2:        #0E1424;
  --c-surface:     #ffffff;
  --c-surface-2:   #F6F8FC;
  --c-surface-3:   #EDF1F8;
  --c-ink:         #0A0E1A;
  --c-text:        #1A2238;
  --c-text-2:      #3D4866;
  --c-muted:       #6B7896;
  --c-border:      #EAEEF6;
  --c-border-2:    #D8E0EC;

  --c-primary:     #1B5CFF;   /* electric blue */
  --c-primary-d:   #0A3FCC;
  --c-primary-l:   #4D82FF;
  --c-accent:      #00E0C6;   /* signal teal */
  --c-accent-d:    #00B4A0;
  --c-violet:      #7C5CFF;
  --c-amber:       #FFB020;

  /* Tier colors (map + badges) */
  --c-tier2:       #FFB020;   /* amber  */
  --c-tier3:       #00E0C6;   /* teal   */
  --c-tier4:       #7C5CFF;   /* violet */

  --c-success:     #15B886;
  --c-danger:      #FF5A6E;

  /* Typography */
  --f-display: 'Segoe UI', 'Segoe UI Variable', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Roboto, Arial, sans-serif;
  --f-body:    'Segoe UI', 'Segoe UI Variable', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Roboto, Arial, sans-serif;
  --f-mono:    'Cascadia Code', 'Cascadia Mono', Consolas, 'SF Mono', 'JetBrains Mono', monospace;

  /* Radii */
  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  16px;
  --r-xl:  22px;
  --r-2xl: 30px;
  --r-pill: 999px;

  /* Shadows */
  --sh-sm:  0 1px 2px rgba(16,24,40,.04), 0 1px 3px rgba(16,24,40,.03);
  --sh-md:  0 2px 8px rgba(16,24,40,.04), 0 6px 20px rgba(16,24,40,.05);
  --sh-lg:  0 4px 16px rgba(16,24,40,.05), 0 18px 48px rgba(16,24,40,.08);
  --sh-xl:  0 30px 80px rgba(16,24,40,.14), 0 8px 24px rgba(16,24,40,.06);
  --sh-glow: 0 0 40px rgba(27,92,255,.35);
  --sh-glow-teal: 0 0 36px rgba(0,224,198,.35);

  /* Layout */
  --container: 1280px;
  --container-narrow: 820px;
  --header-h: 76px;

  --ease: cubic-bezier(.4,0,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-elegant: cubic-bezier(.22,.61,.36,1);
  --hairline: 1px solid rgba(16,24,40,.06);
}

/* ════════════════════════════════════════════════════════════
   RESET & BASE
   ════════════════════════════════════════════════════════════ */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img,svg,video { display: block; max-width: 100%; height: auto; }
a { color: var(--c-primary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--c-primary-d); }
ul,ol { padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input,select,textarea { font-family: inherit; font-size: inherit; }
h1,h2,h3,h4,h5 { font-family: var(--f-display); font-weight: 600; line-height: 1.15; color: var(--c-ink); letter-spacing: -.01em; }

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

/* Focus visibility for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--c-primary-l);
  outline-offset: 2px;
  border-radius: 4px;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--c-primary); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ════════════════════════════════════════════════════════════
   LAYOUT
   ════════════════════════════════════════════════════════════ */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--container-narrow); }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section-dark { background: var(--c-bg); color: #fff; }
.section-dark h1,.section-dark h2,.section-dark h3,.section-dark h4 { color: #fff; }
.section-alt { background: var(--c-surface-2); }
.text-center { text-align: center; }
.text-muted { color: var(--c-muted); }
.grid { display: grid; gap: 24px; }

/* Section heading block */
.sec-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.sec-head.left { margin-left: 0; text-align: left; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: .76rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--c-primary);
  background: rgba(27,92,255,.08); padding: 6px 14px; border-radius: var(--r-pill);
  margin-bottom: 18px;
}
.section-dark .eyebrow { color: var(--c-accent); background: rgba(0,224,198,.1); }
.sec-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin-bottom: 16px; }
.sec-head p { font-size: 1.08rem; color: var(--c-text-2); }
.section-dark .sec-head p { color: rgba(255,255,255,.7); }

/* ════════════════════════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--f-body); font-weight: 600; font-size: .95rem;
  padding: 13px 26px; border-radius: var(--r-pill); cursor: pointer;
  transition: all .25s var(--ease); white-space: nowrap; border: 1.5px solid transparent;
  line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--c-primary); color: #fff; box-shadow: 0 4px 18px rgba(27,92,255,.32); }
.btn-primary:hover { background: var(--c-primary-d); color:#fff; transform: translateY(-2px); box-shadow: 0 8px 26px rgba(27,92,255,.42); }
.btn-accent { background: var(--c-accent); color: #042B26; box-shadow: 0 4px 18px rgba(0,224,198,.32); }
.btn-accent:hover { background: var(--c-accent-d); color: #042B26; transform: translateY(-2px); box-shadow: 0 8px 26px rgba(0,224,198,.42); }
.btn-dark { background: var(--c-ink); color: #fff; }
.btn-dark:hover { background: #1A2238; color:#fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--c-text); border-color: var(--c-border-2); }
.btn-ghost:hover { border-color: var(--c-primary); color: var(--c-primary); background: rgba(27,92,255,.04); }
.section-dark .btn-ghost { color: #fff; border-color: rgba(255,255,255,.25); }
.section-dark .btn-ghost:hover { border-color: var(--c-accent); color: var(--c-accent); background: rgba(0,224,198,.06); }
.btn-white { background: #fff; color: var(--c-ink); }
.btn-white:hover { color: var(--c-primary); transform: translateY(-2px); }
.btn-lg { padding: 16px 34px; font-size: 1.02rem; }
.btn-sm { padding: 9px 18px; font-size: .85rem; }
.btn-block { width: 100%; }

/* ════════════════════════════════════════════════════════════
   BADGES
   ════════════════════════════════════════════════════════════ */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .72rem; font-weight: 600; padding: 4px 11px; border-radius: var(--r-pill);
  letter-spacing: .02em; line-height: 1.4;
}
.badge-primary { background: rgba(27,92,255,.1); color: var(--c-primary); }
.badge-accent  { background: rgba(0,224,198,.12); color: var(--c-accent-d); }
.badge-muted   { background: var(--c-surface-3); color: var(--c-text-2); }
.badge-tier2 { background: rgba(255,176,32,.14); color: #B97700; }
.badge-tier3 { background: rgba(0,224,198,.14); color: var(--c-accent-d); }
.badge-tier4 { background: rgba(124,92,255,.14); color: #5B3FD6; }
.badge-dot::before { content:''; width:6px; height:6px; border-radius:50%; background: currentColor; }

/* ════════════════════════════════════════════════════════════
   CARDS
   ════════════════════════════════════════════════════════════ */
.card {
  background: var(--c-surface); border: 1px solid var(--c-border);
  border-radius: var(--r-xl); overflow: hidden; transition: all .3s var(--ease-out);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: var(--c-border-2); }
.card-body { padding: 26px; }
.card-img { aspect-ratio: 16/10; overflow: hidden; background: var(--c-surface-3); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.card:hover .card-img img { transform: scale(1.05); }

/* DC / Company cards */
.dc-card { display: flex; flex-direction: column; height: 100%; }
.dc-card .card-top {
  padding: 22px 24px; display: flex; justify-content: space-between; align-items: flex-start;
  gap: 12px; border-bottom: 1px solid var(--c-border);
}
.dc-card .logo-circle {
  width: 52px; height: 52px; border-radius: 13px; flex-shrink: 0;
  display: grid; place-items: center; font-family: var(--f-display); font-weight: 700;
  font-size: 1.05rem; color: #fff; letter-spacing: -.02em;
  background: linear-gradient(135deg, var(--c-primary), var(--c-violet));
}
.dc-card .card-mid { padding: 18px 24px; flex: 1; }
.dc-card h3 { font-size: 1.08rem; margin-bottom: 5px; }
.dc-card .meta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; }
.dc-card .meta-item { display:flex; flex-direction: column; }
.dc-card .meta-item .k { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--c-muted); font-weight: 600; }
.dc-card .meta-item .v { font-size: .9rem; font-weight: 600; color: var(--c-text); }
.dc-card .card-foot {
  padding: 16px 24px; border-top: 1px solid var(--c-border); margin-top: auto;
  display: flex; justify-content: space-between; align-items: center;
}

/* Feature/icon cards */
.feature-card { padding: 30px; border-radius: var(--r-xl); background: var(--c-surface); border: 1px solid var(--c-border); transition: all .3s var(--ease-out); height: 100%; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.feature-icon {
  width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center;
  margin-bottom: 20px; background: linear-gradient(135deg, rgba(27,92,255,.12), rgba(0,224,198,.12));
  font-size: 1.5rem;
}
.feature-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.feature-card p { color: var(--c-text-2); font-size: .94rem; }

/* ════════════════════════════════════════════════════════════
   HEADER / NAV
   ════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.85); backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--c-border); transition: all .3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--sh-md); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }

/* Logo */
.site-logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 11px; position: relative; flex-shrink: 0;
  background: linear-gradient(135deg, var(--c-primary), var(--c-violet));
  display: grid; place-items: center; box-shadow: 0 4px 14px rgba(27,92,255,.35);
}
.logo-mark::before {
  content:''; position:absolute; inset: 9px;
  background:
    linear-gradient(#fff,#fff) center/2px 100% no-repeat,
    linear-gradient(#fff,#fff) center/100% 2px no-repeat;
  opacity:.95;
}
.logo-mark::after {
  content:''; position:absolute; inset: 13px; border: 2px solid #fff; border-radius: 50%;
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--f-display); font-weight: 700; font-size: 1.32rem; color: var(--c-ink); letter-spacing: -.03em; }
.logo-tag { font-family: var(--f-mono); font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; color: var(--c-muted); margin-top: 3px; }

/* Nav */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  font-size: .92rem; font-weight: 500; color: var(--c-text-2); padding: 9px 14px;
  border-radius: var(--r-md); transition: all .2s var(--ease); white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { color: var(--c-primary); background: rgba(27,92,255,.07); }
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg);
  box-shadow: var(--sh-lg); padding: 8px; min-width: 230px; opacity: 0; visibility: hidden;
  transition: all .22s var(--ease-out); z-index: 50;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--r-md); font-size: .9rem; }
.dropdown a .di { font-size: 1.1rem; }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Mobile toggle */
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: var(--r-md); place-items: center; border: 1px solid var(--c-border); }
.nav-toggle span { display:block; width: 18px; height: 2px; background: var(--c-ink); position: relative; transition: all .25s var(--ease); }
.nav-toggle span::before, .nav-toggle span::after { content:''; position:absolute; left:0; width: 18px; height: 2px; background: var(--c-ink); transition: all .25s var(--ease); }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ════════════════════════════════════════════════════════════
   SEARCH BAR (service search)
   ════════════════════════════════════════════════════════════ */
.dh-search { position: relative; width: 100%; max-width: 720px; }
.dh-search-bar {
  display: flex; align-items: center; gap: 8px; background: #fff;
  border: 1.5px solid var(--c-border-2); border-radius: var(--r-pill);
  padding: 7px 7px 7px 20px; box-shadow: var(--sh-md); transition: all .25s var(--ease);
}
.dh-search-bar:focus-within { border-color: var(--c-primary); box-shadow: 0 0 0 4px rgba(27,92,255,.12), var(--sh-md); }
.dh-search-cat {
  border: none; background: var(--c-surface-2); border-radius: var(--r-pill);
  padding: 10px 14px; font-size: .86rem; font-weight: 600; color: var(--c-text-2);
  cursor: pointer; flex-shrink: 0; max-width: 160px;
}
.dh-search-input { flex: 1; border: none; outline: none; font-size: 1rem; color: var(--c-ink); background: transparent; min-width: 0; }
.dh-search-input::placeholder { color: var(--c-muted); }
.dh-search-btn { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--c-primary); display: grid; place-items: center; color:#fff; transition: all .2s; }
.dh-search-btn:hover { background: var(--c-primary-d); transform: scale(1.05); }
.dh-search-results {
  position: absolute; top: calc(100% + 10px); left: 0; right: 0; background: #fff;
  border: 1px solid var(--c-border); border-radius: var(--r-lg); box-shadow: var(--sh-xl);
  max-height: 420px; overflow-y: auto; z-index: 60; display: none; padding: 8px;
}
.dh-search-results.open { display: block; }
.dh-sr-item { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: var(--r-md); cursor: pointer; transition: background .15s; }
.dh-sr-item:hover { background: var(--c-surface-2); }
.dh-sr-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; font-weight: 700; color: #fff; font-size: .8rem; background: linear-gradient(135deg,var(--c-primary),var(--c-violet)); }
.dh-sr-meta { flex: 1; min-width: 0; }
.dh-sr-meta .t { font-weight: 600; font-size: .92rem; color: var(--c-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dh-sr-meta .s { font-size: .8rem; color: var(--c-muted); }
.dh-sr-cat { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--c-muted); }
.dh-sr-empty { padding: 24px; text-align: center; color: var(--c-muted); font-size: .9rem; }

/* ════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════ */
.hero { position: relative; background: var(--c-bg); color: #fff; overflow: hidden; padding: 70px 0 90px; }
.hero-canvas { position: absolute; inset: 0; z-index: 0; opacity: .55; }
.hero::after {
  content:''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(900px 480px at 78% 8%, rgba(27,92,255,.28), transparent 60%),
    radial-gradient(700px 420px at 12% 90%, rgba(0,224,198,.16), transparent 60%);
}
.hero-inner { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; font-family: var(--f-mono);
  font-size: .76rem; letter-spacing: .08em; padding: 7px 15px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.92);
  margin-bottom: 24px; backdrop-filter: blur(10px);
}
.hero-badge .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 0 0 rgba(0,224,198,.6); animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%{box-shadow:0 0 0 0 rgba(0,224,198,.5)} 70%{box-shadow:0 0 0 10px rgba(0,224,198,0)} 100%{box-shadow:0 0 0 0 rgba(0,224,198,0)} }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); line-height: 1.05; letter-spacing: -.02em; margin-bottom: 22px; color: #fff; }
.hero h1 .grad { background: linear-gradient(120deg, var(--c-accent), var(--c-primary-l)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 1.16rem; color: rgba(255,255,255,.72); max-width: 540px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stat .n { font-family: var(--f-display); font-size: 2rem; font-weight: 700; background: linear-gradient(120deg,#fff,var(--c-accent)); -webkit-background-clip:text; background-clip:text; color: transparent; }
.hero-stat .l { font-size: .82rem; color: rgba(255,255,255,.6); margin-top: 2px; }
.hero-visual { position: relative; }

/* Page hero (interior) */
.page-hero { background: var(--c-bg); color: #fff; padding: 56px 0 64px; position: relative; overflow: hidden; }
.page-hero::after { content:''; position:absolute; inset:0; background: radial-gradient(700px 360px at 85% 0%, rgba(27,92,255,.25), transparent 60%); pointer-events:none; }
.page-hero .container { position: relative; z-index: 1; }
.hero h1, .hero h2, .hero h3,
.page-hero h1, .page-hero h2, .page-hero h3 { color: #fff; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,.7); font-size: 1.08rem; max-width: 640px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .84rem; margin-bottom: 20px; color: rgba(255,255,255,.5); }
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: var(--c-accent); }
.breadcrumb .sep { opacity: .4; }

/* ════════════════════════════════════════════════════════════
   MAP
   ════════════════════════════════════════════════════════════ */
.map-wrap { position: relative; border-radius: var(--r-2xl); overflow: hidden; box-shadow: var(--sh-xl); border: 1px solid rgba(255,255,255,.08); }
#dh-map, #dh-cable-map { width: 100%; height: 580px; background: #0A0E1A; }
.map-panel {
  position: absolute; top: 18px; left: 18px; z-index: 500; background: rgba(12,18,34,.92);
  backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg);
  padding: 16px 18px; max-width: 260px; color: #fff;
}
.map-panel h4 { color: #fff; font-size: .96rem; margin-bottom: 12px; }
.map-legend { display: flex; flex-direction: column; gap: 9px; }
.legend-item { display: flex; align-items: center; gap: 10px; font-size: .82rem; color: rgba(255,255,255,.8); cursor: pointer; }
.legend-dot { width: 13px; height: 13px; border-radius: 50%; flex-shrink: 0; position: relative; }
.legend-dot.t2 { background: var(--c-tier2); box-shadow: 0 0 10px var(--c-tier2); }
.legend-dot.t3 { background: var(--c-tier3); box-shadow: 0 0 10px var(--c-tier3); }
.legend-dot.t4 { background: var(--c-tier4); box-shadow: 0 0 10px var(--c-tier4); }
.legend-dot.cable { width: 16px; height: 3px; border-radius: 2px; background: var(--c-accent); }
.legend-dot.station { background: #fff; border: 2px solid var(--c-primary); }
.map-filters { position: absolute; top: 18px; right: 18px; z-index: 500; display: flex; flex-direction: column; gap: 8px; }
.map-filter-btn {
  background: rgba(12,18,34,.92); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.85); padding: 9px 16px; border-radius: var(--r-pill); font-size: .82rem;
  font-weight: 600; transition: all .2s; text-align: center;
}
.map-filter-btn:hover, .map-filter-btn.active { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

/* Pulsing markers */
.dh-marker { position: relative; }
.dh-marker .pulse-ring {
  position: absolute; top: 50%; left: 50%; width: 100%; height: 100%;
  border-radius: 50%; transform: translate(-50%,-50%); animation: marker-pulse 2.4s ease-out infinite;
}
@keyframes marker-pulse {
  0%   { width: 10px; height: 10px; opacity: .8; }
  100% { width: 40px; height: 40px; opacity: 0; }
}

/* Leaflet overrides */
.leaflet-container { font-family: var(--f-body) !important; background: #0A0E1A !important; }
.leaflet-popup-content-wrapper { background: rgba(14,20,36,.97); color: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-xl); border: 1px solid rgba(255,255,255,.12); }
.leaflet-popup-tip { background: rgba(14,20,36,.97); }
.leaflet-popup-content { margin: 16px 18px; font-size: .88rem; line-height: 1.6; }
.leaflet-popup-content h4 { color: #fff; margin-bottom: 6px; font-size: 1rem; }
.leaflet-popup-content .pp-row { color: rgba(255,255,255,.7); font-size: .82rem; }
.leaflet-popup-content a.pp-link { color: var(--c-accent); font-weight: 600; font-size: .84rem; display: inline-block; margin-top: 8px; }
.leaflet-bar a { background: rgba(14,20,36,.92) !important; color:#fff !important; border-color: rgba(255,255,255,.12) !important; }
.leaflet-bar a:hover { background: var(--c-primary) !important; }
.dh-cable-tooltip { background: rgba(10,14,26,.94) !important; border: 1px solid rgba(255,255,255,.15) !important; color: #fff !important; border-radius: 8px !important; padding: 8px 12px !important; font-size: .8rem !important; box-shadow: var(--sh-lg) !important; }
.dh-cable-tooltip::before { display: none !important; }

/* ════════════════════════════════════════════════════════════
   FILTERS / TOOLBAR
   ════════════════════════════════════════════════════════════ */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 32px; }
.filter-chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border-radius: var(--r-pill);
  background: var(--c-surface); border: 1.5px solid var(--c-border); font-size: .86rem; font-weight: 600;
  color: var(--c-text-2); cursor: pointer; transition: all .2s var(--ease);
}
.filter-chip:hover { border-color: var(--c-primary); color: var(--c-primary); }
.filter-chip.active { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.filter-select {
  padding: 10px 16px; border-radius: var(--r-md); border: 1.5px solid var(--c-border);
  background: var(--c-surface); font-size: .9rem; font-weight: 500; color: var(--c-text); cursor: pointer;
  min-width: 160px;
}
.filter-select:focus { outline: none; border-color: var(--c-primary); }
.result-count { margin-left: auto; font-size: .88rem; color: var(--c-muted); font-weight: 500; }

/* ════════════════════════════════════════════════════════════
   FORMS
   ════════════════════════════════════════════════════════════ */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: .88rem; font-weight: 600; color: var(--c-text); margin-bottom: 8px; }
.form-label .req { color: var(--c-danger); }
.form-control {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--c-border-2); border-radius: var(--r-md);
  font-size: .96rem; color: var(--c-ink); background: #fff; transition: all .2s var(--ease);
}
.form-control:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 4px rgba(27,92,255,.12); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-hint { font-size: .8rem; color: var(--c-muted); margin-top: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* Choice cards (radio/checkbox tiles) */
.choice-grid { display: grid; gap: 14px; }
.choice-card {
  position: relative; border: 1.5px solid var(--c-border-2); border-radius: var(--r-lg);
  padding: 18px 20px; cursor: pointer; transition: all .22s var(--ease-out); background: #fff;
  display: flex; align-items: flex-start; gap: 14px;
}
.choice-card:hover { border-color: var(--c-primary-l); box-shadow: var(--sh-md); }
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card .ck-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; font-size: 1.3rem; background: var(--c-surface-2); transition: all .22s; }
.choice-card .ck-body h4 { font-size: 1rem; margin-bottom: 3px; }
.choice-card .ck-body p { font-size: .85rem; color: var(--c-muted); }
.choice-card .ck-check { position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--c-border-2); display: grid; place-items: center; transition: all .2s; }
.choice-card.selected { border-color: var(--c-primary); background: rgba(27,92,255,.04); box-shadow: 0 0 0 1px var(--c-primary); }
.choice-card.selected .ck-icon { background: linear-gradient(135deg,var(--c-primary),var(--c-violet)); color: #fff; }
.choice-card.selected .ck-check { background: var(--c-primary); border-color: var(--c-primary); }
.choice-card.selected .ck-check::after { content:'✓'; color:#fff; font-size: .72rem; font-weight: 700; }

/* Range slider */
.range-wrap { padding: 4px 0; }
.range-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.range-val { font-family: var(--f-display); font-size: 1.6rem; font-weight: 700; color: var(--c-primary); }
input[type=range].dh-range { -webkit-appearance: none; width: 100%; height: 6px; border-radius: 3px; background: var(--c-surface-3); outline: none; }
input[type=range].dh-range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--c-primary); cursor: pointer; box-shadow: 0 2px 10px rgba(27,92,255,.5); border: 3px solid #fff; transition: transform .15s; }
input[type=range].dh-range::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type=range].dh-range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--c-primary); cursor: pointer; border: 3px solid #fff; box-shadow: 0 2px 10px rgba(27,92,255,.5); }

/* Multi-select country picker */
.dh-multi { position: relative; }
.dh-multi-control {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
  min-height: 50px; padding: 8px 12px; border: 1.5px solid var(--c-border-2);
  border-radius: var(--r-md); background: #fff; cursor: text; transition: all .2s var(--ease);
}
.dh-multi.open .dh-multi-control, .dh-multi-control:focus-within { border-color: var(--c-primary); box-shadow: 0 0 0 4px rgba(27,92,255,.12); }
.dh-multi-tags { display: contents; }
.dh-multi-placeholder { color: var(--c-muted); font-size: .96rem; padding: 4px 2px; }
.dh-multi-tag {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 6px 5px 12px;
  background: rgba(27,92,255,.1); color: var(--c-primary); border-radius: var(--r-pill);
  font-size: .85rem; font-weight: 600; line-height: 1;
}
.dh-multi-tag button { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: rgba(27,92,255,.18); color: var(--c-primary); font-size: .9rem; line-height: 1; transition: all .15s; }
.dh-multi-tag button:hover { background: var(--c-primary); color: #fff; }
.dh-multi-input { flex: 1; min-width: 120px; border: none; outline: none; font-size: .96rem; background: transparent; padding: 5px 2px; color: var(--c-ink); }
.dh-multi-caret { color: var(--c-muted); flex-shrink: 0; transition: transform .25s; }
.dh-multi.open .dh-multi-caret { transform: rotate(180deg); }
.dh-multi-menu {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 60;
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg);
  box-shadow: var(--sh-xl); max-height: 280px; overflow-y: auto; padding: 6px; display: none;
}
.dh-multi.open .dh-multi-menu { display: block; }
.dh-multi-opt { padding: 10px 14px; border-radius: var(--r-sm); cursor: pointer; font-size: .92rem; color: var(--c-text); transition: background .12s; }
.dh-multi-opt:hover, .dh-multi-opt.active { background: var(--c-surface-2); }
.dh-multi-opt.selected { color: var(--c-primary); font-weight: 600; }
.dh-multi-opt.selected::after { content: '✓'; float: right; color: var(--c-accent-d); }
.dh-multi-opt[hidden] { display: none; }
.dh-multi-empty { padding: 16px; text-align: center; color: var(--c-muted); font-size: .88rem; }

/* ════════════════════════════════════════════════════════════
   MULTI-STEP QUOTE WIZARD
   ════════════════════════════════════════════════════════════ */
.quote-wizard { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-2xl); box-shadow: var(--sh-lg); overflow: hidden; }
.wizard-head { padding: 28px 34px; border-bottom: 1px solid var(--c-border); background: var(--c-surface-2); }
.wizard-steps { display: flex; align-items: center; gap: 0; }
.wstep { display: flex; align-items: center; flex: 1; }
.wstep:last-child { flex: 0; }
.wstep-dot {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: var(--c-surface-3); color: var(--c-muted); font-weight: 700; font-size: .9rem;
  border: 2px solid var(--c-border-2); transition: all .3s var(--ease); position: relative;
}
.wstep-label { font-size: .8rem; font-weight: 600; color: var(--c-muted); margin-left: 10px; white-space: nowrap; transition: color .3s; }
.wstep-line { flex: 1; height: 2px; background: var(--c-border-2); margin: 0 14px; position: relative; overflow: hidden; }
.wstep-line::after { content:''; position: absolute; inset: 0; background: var(--c-primary); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.wstep.done .wstep-line::after { transform: scaleX(1); }
.wstep.active .wstep-dot { background: var(--c-primary); color: #fff; border-color: var(--c-primary); box-shadow: 0 0 0 5px rgba(27,92,255,.15); }
.wstep.active .wstep-label { color: var(--c-primary); }
.wstep.done .wstep-dot { background: var(--c-accent); color: #042B26; border-color: var(--c-accent); }
.wstep.done .wstep-label { color: var(--c-text); }
.wizard-body { padding: 36px 34px; min-height: 380px; }
.wizard-pane { display: none; animation: fadeSlide .45s var(--ease-out); }
.wizard-pane.active { display: block; }
@keyframes fadeSlide { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.wizard-pane h3 { font-size: 1.4rem; margin-bottom: 6px; }
.wizard-pane .pane-sub { color: var(--c-muted); margin-bottom: 26px; }
.wizard-foot { padding: 22px 34px; border-top: 1px solid var(--c-border); display: flex; justify-content: space-between; align-items: center; background: var(--c-surface-2); }

/* AI pricing panel */
.ai-price-panel {
  background: linear-gradient(150deg, var(--c-bg), var(--c-bg-2)); border-radius: var(--r-xl);
  padding: 28px; color: #fff; position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.08);
}
.ai-price-panel::before { content:''; position: absolute; top: -50%; right: -20%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(0,224,198,.18), transparent 60%); }
.ai-price-panel .ai-tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c-accent); margin-bottom: 16px; position: relative; }
.ai-price-val { font-family: var(--f-display); font-size: 2.6rem; font-weight: 700; line-height: 1; margin-bottom: 4px; position: relative; }
.ai-price-val .cur { font-size: 1.4rem; vertical-align: top; opacity: .8; }
.ai-price-range { font-size: .9rem; color: rgba(255,255,255,.6); margin-bottom: 18px; position: relative; }
.ai-price-break { position: relative; display: flex; flex-direction: column; gap: 9px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); }
.ai-price-break .row { display: flex; justify-content: space-between; font-size: .86rem; }
.ai-price-break .row .lbl { color: rgba(255,255,255,.6); }
.ai-price-break .row .amt { color: #fff; font-weight: 600; }
.ai-disclaimer { font-size: .78rem; color: rgba(255,255,255,.5); line-height: 1.6; margin-top: 18px; position: relative; padding: 14px; background: rgba(255,255,255,.04); border-radius: var(--r-md); border-left: 3px solid var(--c-accent); }

/* ════════════════════════════════════════════════════════════
   STAT STRIP
   ════════════════════════════════════════════════════════════ */
.stat-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--c-border); border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--c-border); }
.stat-cell { background: #fff; padding: 30px 24px; text-align: center; }
.stat-cell .n { font-family: var(--f-display); font-size: 2.4rem; font-weight: 700; color: var(--c-primary); line-height: 1; }
.stat-cell .l { font-size: .88rem; color: var(--c-muted); margin-top: 8px; }

/* ════════════════════════════════════════════════════════════
   PROVIDER PORTAL / DASHBOARD
   ════════════════════════════════════════════════════════════ */
.portal-shell { display: grid; grid-template-columns: 260px 1fr; min-height: calc(100vh - var(--header-h)); }
.portal-side { background: var(--c-bg); color: #fff; padding: 28px 18px; }
.portal-side .brand { display: flex; align-items: center; gap: 10px; margin-bottom: 32px; padding: 0 8px; }
.portal-nav { display: flex; flex-direction: column; gap: 4px; }
.portal-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-md); color: rgba(255,255,255,.7); font-size: .92rem; font-weight: 500; transition: all .2s; }
.portal-nav a:hover, .portal-nav a.active { background: rgba(255,255,255,.08); color: #fff; }
.portal-nav a.active { background: var(--c-primary); }
.portal-main { padding: 36px 40px; background: var(--c-surface-2); }
.portal-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-xl); padding: 26px; }
.kpi-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-bottom: 28px; }
.kpi { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 22px; }
.kpi .kpi-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 14px; background: linear-gradient(135deg,rgba(27,92,255,.12),rgba(0,224,198,.12)); }
.kpi .kpi-n { font-family: var(--f-display); font-size: 1.9rem; font-weight: 700; color: var(--c-ink); line-height: 1; }
.kpi .kpi-l { font-size: .82rem; color: var(--c-muted); margin-top: 6px; }
.kpi .kpi-trend { font-size: .78rem; font-weight: 600; margin-top: 8px; }
.kpi .kpi-trend.up { color: var(--c-success); }

/* Login card */
.auth-wrap { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; padding: 50px 20px; background: var(--c-bg); position: relative; overflow: hidden; }
.auth-wrap::after { content:''; position: absolute; inset: 0; background: radial-gradient(700px 400px at 80% 20%, rgba(27,92,255,.2), transparent 60%); }
.auth-card { position: relative; z-index: 1; width: 100%; max-width: 440px; background: #fff; border-radius: var(--r-2xl); box-shadow: var(--sh-xl); padding: 40px; }
.auth-card h2 { font-size: 1.6rem; margin-bottom: 6px; }
.auth-card .sub { color: var(--c-muted); margin-bottom: 28px; font-size: .94rem; }
.auth-tabs { display: flex; gap: 4px; background: var(--c-surface-2); padding: 4px; border-radius: var(--r-md); margin-bottom: 26px; }
.auth-tab { flex: 1; padding: 10px; border-radius: var(--r-sm); font-size: .9rem; font-weight: 600; color: var(--c-muted); transition: all .2s; }
.auth-tab.active { background: #fff; color: var(--c-primary); box-shadow: var(--sh-sm); }

/* ════════════════════════════════════════════════════════════
   TABLE
   ════════════════════════════════════════════════════════════ */
.dh-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.dh-table th { text-align: left; padding: 13px 16px; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--c-muted); font-weight: 700; border-bottom: 2px solid var(--c-border); }
.dh-table td { padding: 15px 16px; border-bottom: 1px solid var(--c-border); color: var(--c-text-2); }
.dh-table tr:hover td { background: var(--c-surface-2); }
.dh-table .t-name { font-weight: 600; color: var(--c-ink); }

/* ════════════════════════════════════════════════════════════
   CTA SECTION
   ════════════════════════════════════════════════════════════ */
.cta-section { padding: 80px 0; background: linear-gradient(135deg, var(--c-primary), var(--c-violet)); color: #fff; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content:''; position: absolute; inset: 0; background: radial-gradient(600px 300px at 50% 0%, rgba(255,255,255,.12), transparent 60%); }
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { color: #fff; font-size: clamp(1.8rem,3.5vw,2.6rem); margin-bottom: 14px; }
.cta-section p { color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 560px; margin: 0 auto 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
.site-footer { background: var(--c-bg); color: rgba(255,255,255,.7); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-brand .logo-name { color: #fff; }
.footer-about { font-size: .9rem; color: rgba(255,255,255,.55); margin: 18px 0; max-width: 300px; }
.footer-col h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.footer-col a { display: block; color: rgba(255,255,255,.6); font-size: .9rem; padding: 6px 0; transition: all .2s; }
.footer-col a:hover { color: var(--c-accent); padding-left: 4px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.07); display: grid; place-items: center; color: #fff; transition: all .2s; }
.footer-social a:hover { background: var(--c-primary); transform: translateY(-2px); }
.footer-bottom { padding-top: 26px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; font-size: .84rem; color: rgba(255,255,255,.45); }

/* ════════════════════════════════════════════════════════════
   UTIL / ANIMATION
   ════════════════════════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 44px; }
.pagination .page-num a, .pagination .page-num span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: var(--r-md); border: 1.5px solid var(--c-border); font-weight: 600; font-size: .9rem; color: var(--c-text-2); }
.pagination .page-num a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.pagination .page-num .current { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.toast { position: fixed; bottom: 26px; right: 26px; z-index: 9999; background: var(--c-ink); color: #fff; padding: 15px 22px; border-radius: var(--r-lg); box-shadow: var(--sh-xl); font-size: .92rem; transform: translateY(120%); transition: transform .4s var(--ease-out); display: flex; align-items: center; gap: 10px; }
.toast.show { transform: translateY(0); }
.toast.success { border-left: 4px solid var(--c-success); }
.toast.error { border-left: 4px solid var(--c-danger); }
.loading-dots::after { content:''; animation: dots 1.4s steps(4,end) infinite; }
@keyframes dots { 0%,20%{content:''} 40%{content:'.'} 60%{content:'..'} 80%,100%{content:'...'} }

/* Divider */
.divider { height: 1px; background: var(--c-border); margin: 40px 0; }

/* Spec list */
.spec-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--c-border); border: 1px solid var(--c-border); border-radius: var(--r-lg); overflow: hidden; }
.spec-item { background: #fff; padding: 18px 20px; }
.spec-item .sk { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--c-muted); font-weight: 700; margin-bottom: 4px; }
.spec-item .sv { font-size: .98rem; font-weight: 600; color: var(--c-ink); }
.cert-pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: var(--r-pill); background: var(--c-surface-2); border: 1px solid var(--c-border); font-size: .82rem; font-weight: 600; color: var(--c-text); }
.cert-pill .ci { color: var(--c-accent-d); }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { max-width: 520px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .portal-shell { grid-template-columns: 1fr; }
  .portal-side { display: none; }
  .kpi-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 860px) {
  .main-nav, .header-actions .btn-ghost { display: none; }
  .nav-toggle { display: grid; }
  .main-nav.mobile-open {
    display: flex; flex-direction: column; position: fixed; top: var(--header-h); left: 0; right: 0;
    background: #fff; padding: 20px; gap: 4px; box-shadow: var(--sh-lg); border-top: 1px solid var(--c-border);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto; z-index: 99;
  }
  .main-nav.mobile-open a { padding: 13px 16px; font-size: 1rem; width: 100%; }
  .main-nav.mobile-open .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 0 0 0 16px; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .spec-list { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .wizard-steps .wstep-label { display: none; }
  .wizard-body, .wizard-head, .wizard-foot { padding-left: 20px; padding-right: 20px; }
  .dh-search-cat { display: none; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .hero-stats { gap: 24px; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .kpi-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ════════════════════════════════════════════════════════════
   COMPARE / SHORTLIST WORKFLOW
   ════════════════════════════════════════════════════════════ */
.cmp-toggle { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; user-select: none; font-size: .82rem; font-weight: 600; color: var(--c-text-2); }
.cmp-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.cmp-box { width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--c-border-2); display: grid; place-items: center; transition: all .18s var(--ease); flex-shrink: 0; }
.cmp-toggle input:checked + .cmp-box { background: var(--c-primary); border-color: var(--c-primary); }
.cmp-toggle input:checked + .cmp-box::after { content:'✓'; color:#fff; font-size: .7rem; font-weight: 700; }
.cmp-toggle:hover .cmp-box { border-color: var(--c-primary); }
.cmp-label { white-space: nowrap; }

/* Floating tray */
.dh-cmp-tray { position: fixed; left: 50%; bottom: -120px; transform: translateX(-50%); z-index: 800; width: min(880px, calc(100% - 32px)); transition: bottom .4s var(--ease-out); }
.dh-cmp-tray.show { bottom: 22px; }
.dh-cmp-tray-inner { background: rgba(12,18,34,.96); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-xl); box-shadow: var(--sh-xl); padding: 14px 16px; display: flex; align-items: center; gap: 16px; }
.dh-cmp-tray-items { display: flex; gap: 8px; flex: 1; overflow-x: auto; }
.dh-cmp-chip { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-pill); padding: 6px 8px 6px 6px; flex-shrink: 0; }
.dh-cmp-chip-abbr { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg,var(--c-primary),var(--c-violet)); color:#fff; font-size: .68rem; font-weight: 700; display: grid; place-items: center; }
.dh-cmp-chip-name { color: #fff; font-size: .82rem; font-weight: 500; max-width: 150px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dh-cmp-chip button { color: rgba(255,255,255,.5); font-size: 1.1rem; line-height: 1; width: 20px; height: 20px; border-radius: 50%; transition: all .15s; }
.dh-cmp-chip button:hover { color: #fff; background: rgba(255,255,255,.12); }
.dh-cmp-tray-actions { display: flex; gap: 8px; flex-shrink: 0; }
.dh-cmp-tray-actions .btn-ghost { color: rgba(255,255,255,.8); border-color: rgba(255,255,255,.2); }
.dh-cmp-tray-actions .btn-ghost:hover { color: #fff; border-color: var(--c-accent); }
.dh-cmp-tray-actions [data-cmp-open]:disabled { opacity: .5; cursor: not-allowed; }

/* Modal */
.dh-cmp-modal { position: fixed; inset: 0; z-index: 900; display: none; }
.dh-cmp-modal.open { display: block; }
.dh-cmp-backdrop { position: absolute; inset: 0; background: rgba(10,14,26,.7); backdrop-filter: blur(4px); }
.dh-cmp-dialog { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: min(1100px, calc(100% - 32px)); max-height: calc(100vh - 64px); background: #fff; border-radius: var(--r-2xl); box-shadow: var(--sh-xl); display: flex; flex-direction: column; overflow: hidden; animation: cmpIn .3s var(--ease-out); }
@keyframes cmpIn { from { opacity: 0; transform: translate(-50%,-46%); } to { opacity: 1; transform: translate(-50%,-50%); } }
.dh-cmp-dialog-head { padding: 22px 28px; border-bottom: 1px solid var(--c-border); display: flex; justify-content: space-between; align-items: center; }
.dh-cmp-dialog-head h3 { font-size: 1.3rem; }
.dh-cmp-x { width: 36px; height: 36px; border-radius: 50%; font-size: 1.4rem; color: var(--c-muted); display: grid; place-items: center; transition: all .18s; }
.dh-cmp-x:hover { background: var(--c-surface-2); color: var(--c-ink); }
.dh-cmp-dialog-body { overflow: auto; padding: 0; }
.dh-cmp-table-wrap { overflow-x: auto; }
.dh-cmp-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 600px; }
.dh-cmp-table th, .dh-cmp-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--c-border); vertical-align: top; }
.dh-cmp-table thead th { position: sticky; top: 0; background: var(--c-surface-2); z-index: 1; }
.dh-cmp-rowhead { font-weight: 700; color: var(--c-muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; background: var(--c-surface-2); }
.dh-cmp-th { display: flex; flex-direction: column; gap: 4px; }
.dh-cmp-th-name { font-weight: 700; color: var(--c-ink); font-size: .96rem; }
.dh-cmp-th-remove { align-self: flex-start; font-size: .74rem; color: var(--c-danger); font-weight: 600; }
.dh-cmp-th-remove:hover { text-decoration: underline; }
.dh-cmp-table tbody tr:hover td:not(.dh-cmp-rowhead) { background: var(--c-surface-2); }
.dh-cmp-dialog-foot { padding: 18px 28px; border-top: 1px solid var(--c-border); display: flex; justify-content: space-between; align-items: center; gap: 16px; background: var(--c-surface-2); }
.dh-cmp-foot-note { font-size: .82rem; color: var(--c-muted); }

@media (max-width: 640px) {
  .cmp-label { display: none; }
  .dh-cmp-tray-inner { flex-direction: column; align-items: stretch; }
  .dh-cmp-dialog-foot { flex-direction: column; align-items: stretch; }
}

/* ════════════════════════════════════════════════════════════
   MARKET OCCUPANCY & IN-DEMAND
   ════════════════════════════════════════════════════════════ */
.occ-wrap { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: center; margin-top: 40px; }
.occ-gauge { text-align: center; }
.occ-ring { width: 220px; height: 220px; border-radius: 50%; margin: 0 auto 18px;
  background: conic-gradient(var(--c-accent) calc(var(--occ) * 1%), var(--c-border) 0);
  display: grid; place-items: center; position: relative; }
.occ-ring::after { content:''; position:absolute; inset:0; border-radius:50%;
  box-shadow: 0 0 40px rgba(0,224,198,.25); }
.occ-ring-inner { width: 168px; height: 168px; border-radius: 50%; background: var(--c-bg);
  display: grid; place-items: center; align-content: center; }
.occ-pct { font-family: var(--f-display); font-size: 2.6rem; font-weight: 700; color: #fff; line-height: 1; }
.occ-label { font-size: .82rem; color: var(--c-muted); margin-top: 6px; text-transform: uppercase; letter-spacing: .05em; }
.occ-note { font-size: .88rem; color: var(--c-text-2); max-width: 300px; margin: 0 auto; }

.occ-bars { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-xl); padding: 28px 30px; }
.occ-bars-head { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--c-muted); margin-bottom: 20px; }
.occ-bar-row { display: grid; grid-template-columns: 130px 1fr 46px; align-items: center; gap: 14px; margin-bottom: 14px; }
.occ-bar-label { font-size: .9rem; font-weight: 600; color: var(--c-ink); }
.occ-bar-track { height: 10px; background: var(--c-border); border-radius: var(--r-pill); overflow: hidden; }
.occ-bar-fill { display: block; height: 100%; border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent)); transition: width 1s var(--ease-out); }
.occ-bar-val { font-size: .9rem; font-weight: 700; color: var(--c-ink); text-align: right; }
.occ-disclaimer { font-size: .76rem; color: var(--c-muted); margin: 16px 0 0; line-height: 1.5; }

.demand-badge { position: absolute; top: 14px; right: 14px; z-index: 3;
  background: linear-gradient(135deg, #FF7A2F, #FF4D6D); color: #fff;
  font-size: .74rem; font-weight: 700; padding: 5px 11px; border-radius: var(--r-pill);
  box-shadow: 0 4px 14px rgba(255,77,109,.4); letter-spacing: .02em; }

@media (max-width: 820px) {
  .occ-wrap { grid-template-columns: 1fr; gap: 28px; }
  .occ-bar-row { grid-template-columns: 100px 1fr 42px; gap: 10px; }
}

/* ════════════════════════════════════════════════════════════
   ELEGANCE LAYER — refined typography, spacing, and polish
   ════════════════════════════════════════════════════════════ */

/* — Typography refinement — */
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; font-feature-settings: "kern" 1, "liga" 1, "calt" 1; }
p { color: var(--c-text-2); line-height: 1.72; }
h1,h2,h3,h4,h5 { letter-spacing: -.015em; font-weight: 650; }
.sec-head h2 { font-weight: 650; letter-spacing: -.02em; }
.sec-head p { line-height: 1.7; color: var(--c-muted); font-weight: 400; }

/* More generous, rhythmic section spacing */
.section { padding: 104px 0; }
.section-sm { padding: 64px 0; }
.sec-head { margin-bottom: 64px; }

/* — Eyebrow: more refined, letterspaced label — */
.eyebrow {
  font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding: 7px 15px; border-radius: var(--r-pill);
}

/* — Cards: softer borders, refined hover lift — */
.card, .feature-card, .dc-card, .company-card {
  border: 1px solid var(--c-border);
  box-shadow: var(--sh-sm);
  transition: transform .45s var(--ease-elegant), box-shadow .45s var(--ease-elegant), border-color .45s var(--ease-elegant);
}
.card:hover, .feature-card:hover, .dc-card:hover, .company-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: var(--c-border-2);
}

/* — Feature cards: quiet, premium — */
.feature-card { border-radius: var(--r-lg); padding: 34px 30px; }
.feature-card .feature-icon {
  border-radius: 14px;
  transition: transform .45s var(--ease-elegant);
}
.feature-card:hover .feature-icon { transform: scale(1.06) rotate(-2deg); }
.feature-card h3 { letter-spacing: -.01em; }

/* — Buttons: refined weight, smoother motion, subtle press — */
.btn {
  font-weight: 560; letter-spacing: -.005em; border-radius: var(--r-pill);
  transition: transform .35s var(--ease-elegant), box-shadow .35s var(--ease-elegant), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { box-shadow: 0 2px 10px rgba(27,92,255,.22), 0 8px 24px rgba(27,92,255,.14); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(27,92,255,.28), 0 14px 34px rgba(27,92,255,.2); }

/* — Hero: more breathing room and refined gradient text — */
.hero h1 { font-weight: 680; letter-spacing: -.025em; }
.hero-sub { line-height: 1.7; }
.grad { background-size: 140% auto; }

/* — Section dividers: hairline elegance instead of hard borders — */
.section + .section-alt, .section-alt + .section { border-top: var(--hairline); }

/* — Inputs: refined focus states — */
input, select, textarea {
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 4px rgba(27,92,255,.1);
  outline: none;
}

/* — Badges & pills: crisper — */
.badge, .tier-badge, .demand-badge { letter-spacing: .01em; font-weight: 600; }

/* — Refined scroll-reveal: gentler, more graceful — */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-elegant), transform .8s var(--ease-elegant); }
.reveal.in { opacity: 1; transform: none; }

/* — Links: elegant underline animation — */
.footer-links a, .nav-link {
  position: relative;
  transition: color .25s var(--ease);
}

/* — Occupancy gauge: smoother — */
.occ-ring { transition: none; }
.occ-bar-fill { transition: width 1.2s var(--ease-elegant); }

/* — Subtle grain-free premium surface on alt sections — */
.section-alt { background: linear-gradient(180deg, #F8FAFD 0%, var(--c-surface-2) 100%); }

/* — Tables: refined — */
table { border-collapse: separate; border-spacing: 0; }
th { font-weight: 600; letter-spacing: .02em; color: var(--c-muted); }

/* — Dividers — */
hr { border: none; height: 1px; background: var(--c-border); margin: 40px 0; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* — Header: hairline refinement + smoother scroll transition — */
.site-header { border-bottom: var(--hairline); transition: box-shadow .4s var(--ease-elegant), background .3s var(--ease); }
.logo-name { font-weight: 680; letter-spacing: -.025em; }
.logo-tag { letter-spacing: .2em; }
.nav-link { font-weight: 480; transition: color .25s var(--ease); }

/* — Hero badge: more refined glass pill — */
.hero-badge {
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.12);
  font-weight: 500; letter-spacing: .01em;
}

/* — Stat numbers: tighter, more confident — */
.stat-num, .occ-pct { letter-spacing: -.03em; font-weight: 700; }

/* — Quote wizard panes: smoother step transitions — */
.wizard-pane { transition: opacity .5s var(--ease-elegant), transform .5s var(--ease-elegant); }

/* — Choice cards in quote: refined selection state — */
.choice-card { transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease-elegant); }
.choice-card:hover { transform: translateY(-2px); }

/* — Filter chips: elegant — */
.filter-chip { transition: all .3s var(--ease-elegant); font-weight: 500; }

/* — Footer: refined spacing and hairline — */
.site-footer { border-top: 1px solid rgba(255,255,255,.06); }
