/* =========================================================================
   VanQuotes.ie - Dark SaaS Logistics Marketplace
   Aesthetic: Stripe / Linear / Notion
   Fonts: Space Grotesk (headings) + Inter (body)
   ========================================================================= */

/* ---- CSS Custom Properties ---- */
:root {
    --bg: #050816;
    --bg-secondary: #0a0f24;
    --bg-card: rgba(255,255,255,0.03);
    --bg-card-hover: rgba(255,255,255,0.06);
    --text: #e0e6f0;
    --text-muted: #8892a8;
    --text-dim: #5a6378;
    --primary: #00D2FF;
    --primary-rgb: 0,210,255;
    --secondary: #FF6B00;
    --secondary-rgb: 255,107,0;
    --success: #00FF88;
    --success-rgb: 0,255,136;
    --error: #ff4757;
    --error-rgb: 255,71,87;
    --warning: #FFC300;
    --border: rgba(255,255,255,0.06);
    --border-hover: rgba(255,255,255,0.12);
    --glass: rgba(255,255,255,0.04);
    --glass-strong: rgba(255,255,255,0.08);
    --radius: 12px;
    --radius-lg: 16px;
    --radius-btn: 10px;
    --radius-sm: 8px;
    --container: 1200px;
    --nav-h: 72px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.4);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.5);
    --transition: 0.2s ease;
    --transition-slow: 0.35s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: #33dbff; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font: inherit; }

/* ---- Alpine.js cloak ---- */
[x-cloak] { display: none !important; }

/* ---- Selection ---- */
::selection { background: var(--primary); color: var(--bg); }
::-moz-selection { background: var(--primary); color: var(--bg); }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(var(--primary-rgb),0.25); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(var(--primary-rgb),0.5); }
html { scrollbar-color: rgba(var(--primary-rgb),0.25) var(--bg); scrollbar-width: thin; }


/* ===========================================================
   TYPOGRAPHY
   =========================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.15rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }
p { margin-bottom: 1rem; color: var(--text-muted); }

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #0066ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.page-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.7;
}


/* ===========================================================
   LAYOUT
   =========================================================== */

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 80px 0; }
.section-dark { background: var(--bg-secondary); }

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 14px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

.section-footer {
    text-align: center;
    margin-top: 40px;
}


/* ===========================================================
   NAVIGATION
   =========================================================== */

.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(5,8,22,0.82);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition-slow), box-shadow var(--transition-slow);
}

.main-nav.scrolled {
    background: rgba(5,8,22,0.96);
    box-shadow: 0 4px 30px rgba(var(--primary-rgb),0.06);
}

.nav-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--primary-rgb),0.4), transparent);
    opacity: 0.6;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--nav-h);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo img {
    max-height: 40px;
    width: auto;
}

.nav-logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.nav-logo-text .accent {
    color: var(--primary);
}

.nav-logo-tagline {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 1px;
}

/* Desktop links */
.nav-links {
    display: none;
    align-items: center;
    gap: 6px;
}

.nav-link {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.92rem;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--text);
    background: rgba(255,255,255,0.04);
}

.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    background: rgba(10,15,36,0.95);
    backdrop-filter: saturate(180%) blur(24px);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(8px);
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
    box-shadow: var(--shadow-lg);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: background var(--transition), color var(--transition);
}

.dropdown-item:hover {
    background: rgba(255,255,255,0.05);
    color: var(--text);
}

/* Nav actions (right side) */
.nav-actions {
    display: none;
    align-items: center;
    gap: 10px;
}

/* Mobile toggle */
.nav-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 1.25rem;
    transition: background var(--transition);
}

.nav-mobile-toggle:hover {
    background: rgba(255,255,255,0.06);
}

/* Mobile menu */
.nav-mobile-menu {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(5,8,22,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
}

.nav-mobile-menu.open { display: block; }

.mobile-link {
    display: block;
    padding: 14px 0;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
    transition: color var(--transition);
}

.mobile-link:hover { color: var(--primary); }

.mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.mobile-actions .btn { width: 100%; justify-content: center; }

.nav-spacer { height: var(--nav-h); }

@media (min-width: 1025px) {
    .nav-links { display: flex; }
    .nav-actions { display: flex; }
    .nav-mobile-toggle { display: none; }
}


/* ===========================================================
   BUTTONS
   =========================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.15s ease, box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #00a3cc);
    color: var(--bg) !important;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(var(--primary-rgb),0.3);
}

.btn-primary:hover {
    box-shadow: 0 8px 28px rgba(var(--primary-rgb),0.45);
    color: var(--bg) !important;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid rgba(var(--primary-rgb),0.4);
}

.btn-outline:hover {
    background: rgba(var(--primary-rgb),0.1);
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(var(--primary-rgb),0.15);
    color: var(--primary);
}

.btn-secondary {
    background: linear-gradient(135deg, #FF6B00, #e55a00);
    color: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(255,107,0,0.3);
}

.btn-secondary:hover {
    box-shadow: 0 8px 28px rgba(255,107,0,0.45);
    color: #ffffff !important;
}

.btn-lg { padding: 16px 32px; font-size: 1.05rem; border-radius: 12px; }
.btn-sm { padding: 8px 16px; font-size: 0.82rem; border-radius: 8px; }
.btn-block { width: 100%; }


/* ===========================================================
   HERO
   =========================================================== */

.hero {
    position: relative;
    overflow: hidden;
    min-height: 580px;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-h) + 40px) 0 50px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

/* Background image: Ireland map with vans and network
   Upload hero-map.jpg to /assets/images/ for the full effect.
   Falls back to a dark gradient if image is missing. */
.hero-map-bg {
    position: absolute;
    inset: 0;
    background:
        url('/assets/images/hero-map.jpg') center right / cover no-repeat,
        radial-gradient(ellipse at 70% 50%, rgba(0,210,255,0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 80%, rgba(0,210,255,0.06) 0%, transparent 40%),
        #050816;
    opacity: 0.95;
}

/* Dark gradient overlay: solid left for text readability, transparent right for image */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        100deg,
        #050816 0%,
        #050816 30%,
        rgba(5,8,22,0.85) 45%,
        rgba(5,8,22,0.5) 60%,
        rgba(5,8,22,0.2) 80%,
        rgba(5,8,22,0.05) 100%
    );
}

/* Hero Split Layout */
.hero-split {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-left { text-align: left; }

.text-orange { color: #FF6B00; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,107,0,0.15);
    border: 1px solid rgba(255,107,0,0.3);
    color: #FF6B00;
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.2rem, 4.5vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.12;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero-subtitle {
    font-size: clamp(0.95rem, 1.8vw, 1.05rem);
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0 0 28px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 20px;
}

.hero-powered {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
    margin: 0;
}
.hero-powered a {
    color: var(--secondary);
    text-decoration: none;
}
.hero-powered a:hover { text-decoration: underline; }
.hero-powered svg { vertical-align: middle; }

/* Hero Right - holds HUD over background image area */
.hero-right {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

/* Hero HUD Card */
.hero-hud {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 20px 24px;
    min-width: 190px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.hero-hud-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.hero-hud-dot {
    width: 8px;
    height: 8px;
    background: #00D2FF;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(0,210,255,0.6);
}

.hero-hud-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 4px;
}

.hero-hud-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 10px;
}

.hero-hud-link {
    font-size: 0.78rem;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}
.hero-hud-link:hover { text-decoration: underline; }


/* ===========================================================
   SEARCH BAR
   =========================================================== */

.search-bar-section {
    background: #080d1c;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 24px 0;
}

.search-tabs {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 16px;
}

.search-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}
.search-tab svg { opacity: 0.6; }
.search-tab:hover { color: rgba(255,255,255,0.85); background: rgba(255,255,255,0.04); }
.search-tab.active {
    color: #ffffff;
    border-bottom: 2px solid var(--primary);
    border-radius: 8px 8px 0 0;
}

.search-form { margin-bottom: 18px; }

.search-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr 1.3fr auto;
    gap: 12px;
    align-items: end;
}

.search-field label {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}

.search-select,
.search-input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #ffffff;
    font-size: 0.9rem;
    transition: border-color 0.2s;
    -webkit-appearance: none;
}
.search-select:focus,
.search-input:focus {
    outline: none;
    border-color: rgba(var(--primary-rgb),0.4);
}
.search-select option { background: #0a0f24; color: #fff; }

.search-btn {
    height: fit-content;
    white-space: nowrap;
}

.search-badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.search-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
}


/* ===========================================================
   STATS BAR
   =========================================================== */

.stats-bar {
    background: linear-gradient(135deg, rgba(0,210,255,0.06), rgba(255,107,0,0.04));
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 20px 0;
}

.stats-bar-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 16px;
}

.stats-bar-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stats-bar-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
}

.stats-bar-label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
}


/* ===========================================================
   HOW IT WORKS
   =========================================================== */

.how-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.how-step {
    flex: 1;
    max-width: 240px;
    text-align: center;
    padding: 24px 16px;
}

.how-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb),0.08);
    border: 1px solid rgba(var(--primary-rgb),0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.how-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #0066ff);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--bg);
}

.how-step h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.how-step p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.how-connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, rgba(var(--primary-rgb),0.3), rgba(var(--primary-rgb),0.1));
    margin-top: 70px;
    flex-shrink: 0;
}


/* ===========================================================
   COMPANY CARDS (Featured Grid)
   =========================================================== */

.company-card-img {
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, rgba(0,210,255,0.08), rgba(255,107,0,0.06));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.company-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-card-img-placeholder {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: rgba(255,255,255,0.3);
}

.company-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.company-card-badge.badge-featured {
    background: rgba(255,107,0,0.9);
    color: #fff;
}
.company-card-badge.badge-verified {
    background: rgba(0,210,255,0.9);
    color: #050816;
}

.company-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.company-card-name {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.company-card-loc {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}

.company-card-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.company-card-desc {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.5;
    margin: 4px 0 0;
}

.company-card-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 600;
    margin-top: auto;
    padding-top: 8px;
}


/* ===========================================================
   COVERAGE SECTION
   =========================================================== */

.coverage-split {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
}

.coverage-text h2 { margin-bottom: 16px; }
.coverage-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.7;
}

.coverage-map-side {
    display: flex;
    align-items: center;
    justify-content: center;
}

.coverage-map-container {
    width: 220px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.coverage-map-svg {
    width: 100%;
    height: 100%;
}

.coverage-counties {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-content: center;
}

.coverage-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 100px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
    font-weight: 500;
}

.coverage-view-all {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid rgba(var(--primary-rgb),0.3);
    border-radius: 100px;
}
.coverage-view-all:hover { background: rgba(var(--primary-rgb),0.08); }


/* ===========================================================
   CTA SECTION
   =========================================================== */

.cta-inner {
    display: flex;
    align-items: center;
    gap: 24px;
}

.cta-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb),0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-text { flex: 1; }
.cta-text h2 { font-size: 1.5rem; margin-bottom: 4px; }
.cta-text p { margin: 0; font-size: 0.95rem; }

.cta-action { flex-shrink: 0; text-align: right; }

.cta-powered {
    display: block;
    margin-top: 8px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
}
.cta-powered a { color: var(--secondary); text-decoration: none; }
.cta-powered a:hover { text-decoration: underline; }

.hero-stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
}

.hero-stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 4px;
}


/* ===========================================================
   SERVICES GRID
   =========================================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform var(--transition-slow), box-shadow var(--transition-slow), border-color var(--transition-slow);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(var(--primary-rgb),0.1);
    border-color: rgba(var(--primary-rgb),0.2);
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb),0.15), rgba(var(--primary-rgb),0.05));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-3deg);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb),0.25);
}

.service-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.service-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
}

.service-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
    margin: 0;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: auto;
    transition: gap var(--transition);
}

.service-card:hover .service-link { gap: 10px; }


/* ===========================================================
   TRUST GRID
   =========================================================== */

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.trust-item {
    text-align: center;
    padding: 28px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color var(--transition);
}

.trust-item:hover { border-color: rgba(var(--primary-rgb),0.2); }

.trust-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb),0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    color: var(--primary);
    font-size: 1.4rem;
}

.trust-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}


/* ===========================================================
   STEPS GRID
   =========================================================== */

.steps-grid {
    display: flex;
    align-items: flex-start;
    gap: 0;
    justify-content: center;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    flex: 1;
    max-width: 280px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform var(--transition-slow), border-color var(--transition-slow);
}

.step-card:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--primary-rgb),0.2);
}

.step-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), #0066ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
}

.step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    flex-shrink: 0;
    color: var(--text-dim);
    font-size: 1.2rem;
    padding-top: 48px;
}


/* ===========================================================
   COMPANY CARDS (Grid + List)
   =========================================================== */

.companies-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.company-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition-slow), box-shadow var(--transition-slow), border-color var(--transition-slow);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.company-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(var(--primary-rgb),0.08);
    border-color: rgba(var(--primary-rgb),0.2);
    color: inherit;
}

.company-card-header {
    position: relative;
    padding: 24px 24px 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.company-logo {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    object-fit: cover;
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.company-logo-placeholder {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(var(--primary-rgb),0.2), rgba(var(--primary-rgb),0.05));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--primary);
    flex-shrink: 0;
}

.company-logo-placeholder.large {
    width: 80px;
    height: 80px;
    font-size: 1.6rem;
}

.company-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.company-location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.company-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 12px 24px;
}

.company-rating .stars { color: #FFD700; }

.company-view {
    display: block;
    padding: 14px 24px;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.88rem;
    transition: background var(--transition);
}

.company-view:hover { background: rgba(var(--primary-rgb),0.05); }

/* List view */
.companies-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.company-list-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.company-list-card:hover {
    border-color: rgba(var(--primary-rgb),0.15);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.company-list-logo {
    flex-shrink: 0;
}

.company-list-info {
    flex: 1;
    min-width: 0;
}

.company-list-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.company-list-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.company-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.company-excerpt {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 6px 0 0;
}


/* ===========================================================
   BADGES & TAGS
   =========================================================== */

.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.badge-verified {
    background: rgba(var(--success-rgb),0.12);
    color: var(--success);
}

.badge-featured {
    background: rgba(var(--secondary-rgb),0.12);
    color: var(--secondary);
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    background: rgba(255,255,255,0.05);
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.tag-lg {
    padding: 8px 18px;
    font-size: 0.85rem;
}


/* ===========================================================
   DIRECTORY
   =========================================================== */

.directory-header {
    padding: 48px 0 24px;
}

.directory-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
}

.directory-sidebar {
    position: sticky;
    top: calc(var(--nav-h) + 24px);
}

.filter-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.filter-group {
    margin-bottom: 18px;
}

.filter-group:last-child { margin-bottom: 0; }

.filter-label {
    display: block;
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.directory-results { min-width: 0; }

.results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.results-count {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.empty-state {
    text-align: center;
    padding: 80px 24px;
}

.empty-icon {
    font-size: 3rem;
    color: var(--text-dim);
    margin-bottom: 16px;
}


/* ===========================================================
   FORMS
   =========================================================== */

.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text);
    margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-btn);
    font-family: inherit;
    font-size: 0.95rem;
    background: rgba(255,255,255,0.03);
    color: var(--text);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb),0.12);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-dim);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%238892a8' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
}

.form-select option {
    background: var(--bg-secondary);
    color: var(--text);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    color: var(--text-muted);
    cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
    accent-color: var(--primary);
}

.form-error {
    color: var(--error);
    font-size: 0.8rem;
    margin-top: 4px;
}


/* ===========================================================
   COMPANY PROFILE
   =========================================================== */

.company-profile {
    padding-bottom: 80px;
}

.company-profile-header {
    position: relative;
    margin-bottom: 32px;
}

.company-banner {
    width: 100%;
    height: 240px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    object-fit: cover;
}

.company-banner-default {
    width: 100%;
    height: 240px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(var(--primary-rgb),0.15), rgba(var(--secondary-rgb),0.1));
}

.company-header-content {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    margin-top: -40px;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.company-header-logo {
    width: 96px;
    height: 96px;
    border-radius: var(--radius-lg);
    border: 4px solid var(--bg);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-secondary);
}

.company-header-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-header-info {
    flex: 1;
    min-width: 0;
    padding-bottom: 4px;
}

.company-header-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.company-header-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    padding-bottom: 4px;
}

.company-profile-body {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    align-items: start;
}

.company-main { min-width: 0; }
.company-sidebar { position: sticky; top: calc(var(--nav-h) + 24px); }

/* Company Hero */
.company-hero {
    position: relative;
    padding: calc(var(--nav-h) + 40px) 0 48px;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
}

.company-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.company-hero-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.company-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5,8,22,0.5) 0%, rgba(5,8,22,0.92) 100%);
}

.company-hero .container {
    position: relative;
    z-index: 1;
}

.company-hero-content {
    display: flex;
    align-items: center;
    gap: 24px;
}

.company-hero-logo {
    flex-shrink: 0;
}

.company-hero-logo img {
    width: 90px;
    height: 90px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.1);
    background: var(--bg-card);
}

.company-logo-placeholder.large {
    width: 90px;
    height: 90px;
    font-size: 1.6rem;
}

.company-hero-info {
    flex: 1;
    min-width: 0;
}

.company-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.company-hero-info h1 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 6px;
    color: #fff;
}

.company-hero-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 8px;
}

.company-hero-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.company-hero-rating .rating-count {
    color: var(--text-dim);
}

.company-hero-cta {
    flex-shrink: 0;
}

/* Company Stats Bar */
.company-stats-bar {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}

.company-stats-row {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.company-stat {
    display: flex;
    align-items: center;
    gap: 8px;
}

.company-stat-value {
    font-weight: 700;
    color: #fff;
    font-size: 0.95rem;
}

.company-stat-label {
    color: var(--text-dim);
    font-size: 0.82rem;
}

/* Company Intro */
.company-intro {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    border-left: 3px solid var(--primary);
    padding-left: 16px;
}

/* Sidebar CTA extras */
.sidebar-cta-icon {
    margin-bottom: 12px;
}

.sidebar-cta h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.sidebar-cta p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.sidebar-cta-sub {
    display: block;
    margin-top: 12px;
    font-size: 0.75rem;
    color: var(--text-dim);
}

/* Sidebar Details */
.sidebar-details {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sidebar-detail-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.88rem;
    color: var(--text-muted);
}

.sidebar-detail-row:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .company-hero { min-height: auto; padding: calc(var(--nav-h) + 20px) 0 32px; }
    .company-hero-content { flex-direction: column; align-items: flex-start; }
    .company-hero-info h1 { font-size: 1.4rem; }
    .company-hero-cta { width: 100%; }
    .company-hero-cta .btn { width: 100%; }
    .company-stats-row { gap: 16px; }
}

.profile-section {
    margin-bottom: 36px;
}

.profile-section h2,
.profile-section h3 {
    margin-bottom: 16px;
}

.profile-content {
    color: var(--text-muted);
    line-height: 1.75;
    font-size: 0.95rem;
}

.profile-content p { margin-bottom: 1em; }
.profile-content ul { list-style: disc; margin-left: 1.4em; margin-bottom: 1em; }
.profile-content li { margin-bottom: 0.4em; color: var(--text-muted); }
.profile-content a { color: var(--primary); text-decoration: underline; }

.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: transform var(--transition);
}

.gallery-item:hover { transform: scale(1.03); }

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sidebar cards */
.sidebar-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 20px;
}

.sidebar-cta {
    background: linear-gradient(135deg, rgba(var(--primary-rgb),0.08), rgba(var(--secondary-rgb),0.06));
    border: 1px solid rgba(var(--primary-rgb),0.15);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    margin-bottom: 20px;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.contact-row + .contact-row { border-top: 1px solid var(--border); }

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.88rem;
}

.hours-row:last-child { border-bottom: none; }

.hours-day {
    color: var(--text);
    font-weight: 500;
}

.hours-time {
    color: var(--text-muted);
}


/* ===========================================================
   REVIEWS
   =========================================================== */

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #0066ff);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--bg);
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.review-name {
    font-weight: 700;
    color: #ffffff;
    font-size: 0.95rem;
}

.review-date {
    font-size: 0.78rem;
    color: var(--text-dim);
}

.review-stars {
    color: #FFD700;
    font-size: 0.85rem;
    letter-spacing: 2px;
}

.review-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: #ffffff;
    margin-bottom: 8px;
}

.review-text {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
    margin: 0;
}

.stars {
    color: #FFD700;
    letter-spacing: 2px;
}


/* ===========================================================
   TESTIMONIALS
   =========================================================== */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-slow), border-color var(--transition-slow);
}

.testimonial-card:hover {
    transform: translateY(-3px);
    border-color: rgba(var(--primary-rgb),0.15);
}

.testimonial-stars {
    color: #FFD700;
    margin-bottom: 14px;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #0066ff);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--bg);
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.testimonial-name {
    font-weight: 700;
    color: #ffffff;
    font-size: 0.92rem;
}

.testimonial-location {
    font-size: 0.78rem;
    color: var(--text-dim);
}

/* Testimonial Slider */
.testimonials-section {
    padding-bottom: 56px;
}

.testimonial-slider {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 48px 24px;
    overflow: hidden;
}

.testimonial-slider-quote-mark {
    position: absolute;
    top: 8px;
    left: 24px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 5rem;
    line-height: 1;
    color: rgba(0, 210, 255, 0.12);
    pointer-events: none;
    user-select: none;
}

.testimonial-slider-track {
    position: relative;
    min-height: 170px;
}

.testimonial-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
    display: flex;
    flex-direction: column;
}

.testimonial-slide.active {
    position: relative;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.testimonial-slide-stars {
    margin-bottom: 14px;
}

.testimonial-slide-text {
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 20px;
    flex: 1;
}

.testimonial-slide-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-slide-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #0066ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg);
    font-weight: 700;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.testimonial-slide-meta {
    display: flex;
    flex-direction: column;
}

.testimonial-slide-name {
    font-weight: 700;
    color: #fff;
    font-size: 0.92rem;
}

.testimonial-slide-location {
    font-size: 0.78rem;
    color: var(--text-dim);
}

.testimonial-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.testimonial-arrow {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.testimonial-arrow:hover {
    color: var(--primary);
    border-color: rgba(0, 210, 255, 0.4);
    background: rgba(0, 210, 255, 0.06);
}

.testimonial-dots {
    display: flex;
    gap: 8px;
}

.testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all var(--transition);
}

.testimonial-dot:hover {
    background: rgba(0, 210, 255, 0.5);
}

.testimonial-dot.active {
    background: var(--primary);
    width: 22px;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .testimonial-slider { padding: 28px 20px 20px; }
    .testimonial-slider-track { min-height: 220px; }
    .testimonial-slide-text { font-size: 0.92rem; }
}


/* ===========================================================
   STATS
   =========================================================== */

.stats-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.stats-text {
    max-width: 480px;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: border-color var(--transition);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.stat-card:hover { border-color: rgba(var(--primary-rgb),0.2); }
.stat-card:hover::before { opacity: 1; }

.stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}


/* ===========================================================
   CTA
   =========================================================== */

.cta-section {
    padding: 80px 0;
    position: relative;
}

.cta-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 64px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.cta-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb),0.08);
    filter: blur(100px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cta-card h2,
.cta-card p {
    position: relative;
    z-index: 1;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 28px;
    position: relative;
    z-index: 1;
}


/* ===========================================================
   BLOG
   =========================================================== */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition-slow), box-shadow var(--transition-slow);
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.3);
    color: inherit;
}

.blog-card-image {
    height: 200px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img { transform: scale(1.05); }

.blog-card-body {
    padding: 24px;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-bottom: 10px;
}

.blog-card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.3;
}

.blog-card-excerpt {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

/* Blog content (single post) */
.blog-content {
    max-width: 720px;
    margin: 0 auto;
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1.05rem;
}

.blog-content h2 { margin-top: 2em; margin-bottom: 0.8em; }
.blog-content h3 { margin-top: 1.5em; margin-bottom: 0.6em; }
.blog-content p { margin-bottom: 1.25em; }
.blog-content ul, .blog-content ol { margin: 0 0 1.25em 1.5em; }
.blog-content ul { list-style: disc; }
.blog-content ol { list-style: decimal; }
.blog-content li { margin-bottom: 0.5em; color: var(--text-muted); }
.blog-content a { color: var(--primary); text-decoration: underline; }
.blog-content img { border-radius: var(--radius); margin: 1.5em 0; }
.blog-content blockquote {
    border-left: 3px solid var(--primary);
    padding: 16px 24px;
    margin: 1.5em 0;
    background: rgba(var(--primary-rgb),0.04);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--text);
    font-style: italic;
}


/* ===========================================================
   PAGINATION
   =========================================================== */

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: color var(--transition), background var(--transition), border-color var(--transition);
    text-decoration: none;
    cursor: pointer;
}

.page-link:hover {
    color: var(--text);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.page-link.active {
    background: var(--primary);
    color: var(--bg);
    border-color: var(--primary);
    font-weight: 700;
}

.page-link.dots {
    border: none;
    background: none;
    cursor: default;
    color: var(--text-dim);
}


/* ===========================================================
   BREADCRUMBS
   =========================================================== */

.breadcrumbs {
    padding: 16px 0;
    font-size: 0.85rem;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
    color: var(--text-dim);
}

.breadcrumbs li::after {
    content: '/';
    margin: 0 8px;
    color: var(--text-dim);
    font-size: 0.8rem;
}

.breadcrumbs li:last-child::after { display: none; }
.breadcrumbs li:last-child { color: var(--text-muted); }
.breadcrumbs a { color: var(--text-dim); }
.breadcrumbs a:hover { color: var(--primary); }


/* ===========================================================
   FOOTER
   =========================================================== */

.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 72px 0 0;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand {}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
    margin-top: 12px;
    margin-bottom: 0;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-contact li svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--primary);
}

.footer-contact a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-contact a:hover {
    color: var(--primary);
}

.footer-social {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: background var(--transition), color var(--transition);
}

.social-icon:hover {
    background: var(--primary);
    color: var(--bg) !important;
}

.footer-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.88rem;
    transition: color var(--transition);
}

.footer-links a:hover { color: var(--primary); }

.footer-links-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
}

.footer-links-cols a {
    color: var(--text-muted);
    font-size: 0.88rem;
    transition: color var(--transition);
}

.footer-links-cols a:hover { color: var(--primary); }

.footer-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 28px 0;
    border-top: 1px solid var(--border);
    margin-bottom: 0;
}

.footer-cta-text {
    font-size: 1.05rem;
    color: var(--text);
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 0.82rem;
    color: var(--text-dim);
}

.footer-bottom a { color: var(--text-dim); }
.footer-bottom a:hover { color: var(--primary); }


/* ===========================================================
   ALERTS
   =========================================================== */

.alert {
    padding: 14px 18px;
    border-radius: var(--radius);
    font-size: 0.92rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: rgba(var(--success-rgb),0.08);
    border: 1px solid rgba(var(--success-rgb),0.2);
    color: var(--success);
}

.alert-error {
    background: rgba(var(--error-rgb),0.08);
    border: 1px solid rgba(var(--error-rgb),0.2);
    color: var(--error);
}


/* ===========================================================
   HERO SEARCH BAR
   =========================================================== */

.hero-search-bar {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    margin-top: 36px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.hero-search-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.hero-search-tab {
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all var(--transition);
}

.hero-search-tab:hover {
    color: var(--text);
    border-color: var(--border-hover);
}

.hero-search-tab.active {
    background: var(--primary);
    color: var(--bg);
    border-color: var(--primary);
}

.hero-search-row {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.hero-search-row .form-input {
    flex: 1;
    min-width: 0;
    border-radius: var(--radius-btn);
}

.hero-search-row .btn {
    flex-shrink: 0;
}

.hero-search-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 16px;
    font-size: 0.8rem;
    color: var(--text-dim);
}

.hero-search-trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-search-trust svg {
    color: var(--success);
}


/* ===========================================================
   COVERAGE SECTION (Ireland Counties)
   =========================================================== */

.coverage-section {
    padding: 80px 0;
}

.coverage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.coverage-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: border-color var(--transition), transform var(--transition);
    text-decoration: none;
    color: inherit;
}

.coverage-card:hover {
    border-color: rgba(var(--primary-rgb),0.2);
    transform: translateY(-2px);
    color: inherit;
}

.coverage-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(var(--primary-rgb),0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.coverage-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.coverage-name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: #ffffff;
}

.coverage-count {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.coverage-map {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.coverage-map img,
.coverage-map svg {
    max-width: 100%;
    height: auto;
}


/* ===========================================================
   ANIMATIONS / KEYFRAMES
   =========================================================== */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Fade-in on scroll */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-scale.visible {
    opacity: 1;
    transform: scale(1);
}

.animate-fade-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-fade-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.animate-fade-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Hero entrance animations */
.hero-badge {
    animation: slideUp 0.6s ease 0.2s both;
}
.hero-title {
    animation: slideUp 0.7s ease 0.4s both;
}
.hero-subtitle {
    animation: slideUp 0.7s ease 0.6s both;
}
.hero-actions {
    animation: slideUp 0.7s ease 0.8s both;
}
.hero-hud {
    animation: fadeIn 1s ease 1s both;
}

/* Glow pulse on hero HUD */
@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(0,210,255,0.1), 0 0 40px rgba(0,210,255,0.05); }
    50% { box-shadow: 0 0 30px rgba(0,210,255,0.2), 0 0 60px rgba(0,210,255,0.1); }
}
.hero-hud {
    animation: fadeIn 1s ease 1s both, glowPulse 3s ease-in-out 2s infinite;
}

/* Enhanced hover effects */
.service-card {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,210,255,0.08);
}

.company-card {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.company-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.how-step {
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.how-step:hover {
    transform: translateY(-4px);
}

.testimonial-card {
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

/* Stats bar counter animation */
.stats-bar-num {
    display: inline-block;
}

/* Search bar slide-up animation */
.search-bar-section {
    animation: slideUp 0.8s ease 0.3s both;
}

/* CTA section glow effect */
.cta-card {
    transition: box-shadow 0.4s ease;
}
.cta-card:hover {
    box-shadow: 0 0 60px rgba(0,210,255,0.08), 0 0 120px rgba(0,210,255,0.04);
}

/* Button hover lift */
.btn-primary, .btn-secondary {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-2px);
}
.btn-primary:active, .btn-secondary:active {
    transform: translateY(0);
}

/* Spinner */
.spinner {
    display: inline-block;
    width: 36px;
    height: 36px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}


/* ===========================================================
   UTILITY CLASSES
   =========================================================== */

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-primary-color { color: var(--primary); }
.text-white { color: #ffffff; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }


/* ===========================================================
   RECENT JOBS TICKER
   =========================================================== */

.recent-jobs-section {
    overflow: hidden;
}

.jobs-ticker-wrapper {
    position: relative;
    overflow: hidden;
    margin: 0 -16px;
    padding: 8px 0;
    mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
}

.jobs-ticker-track {
    display: flex;
    gap: 20px;
    animation: tickerScroll 60s linear infinite;
    width: max-content;
}

.jobs-ticker-track:hover {
    animation-play-state: paused;
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.job-card {
    flex-shrink: 0;
    width: 320px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.job-card:hover {
    border-color: rgba(0, 210, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 210, 255, 0.08);
}

.job-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.job-card-badge {
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.15), rgba(255, 107, 0, 0.05));
    border: 1px solid rgba(255, 107, 0, 0.25);
    color: #FF6B00;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.job-card-vehicle {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    color: var(--text-dim);
}

.job-card-route {
    margin-bottom: 14px;
}

.job-card-from,
.job-card-to {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--text);
    font-weight: 500;
}

.job-card-from span:last-child,
.job-card-to span:last-child {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.job-card-arrow {
    padding-left: 4px;
    margin: 4px 0;
    opacity: 0.5;
}

.job-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.job-dot-green {
    background: #00FF88;
    box-shadow: 0 0 6px rgba(0, 255, 136, 0.4);
}

.job-dot-orange {
    background: #FF6B00;
    box-shadow: 0 0 6px rgba(255, 107, 0, 0.4);
}

.job-card-items {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 10px;
}

.job-items-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.job-card-items ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.job-card-items li {
    font-size: 0.8rem;
    color: var(--text-muted);
    padding: 2px 0;
    padding-left: 12px;
    position: relative;
}

.job-card-items li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--text-dim);
}

.job-items-more {
    color: var(--primary) !important;
    font-style: italic;
    font-size: 0.75rem !important;
}

.job-items-more::before {
    display: none !important;
}

.job-card-notes {
    font-size: 0.78rem;
    color: var(--text-dim);
    font-style: italic;
    border-top: 1px solid var(--border);
    padding-top: 8px;
    margin-top: 4px;
}

.jobs-ticker-cta {
    text-align: center;
    margin-top: 32px;
}


/* ===========================================================
   LOCATIONS PAGES
   =========================================================== */

.locations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.location-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-decoration: none;
    transition: border-color 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.location-card:hover {
    border-color: rgba(0, 210, 255, 0.3);
    transform: translateY(-3px);
}

.location-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.location-card-icon {
    color: var(--primary);
    display: flex;
}

.location-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.location-card-towns {
    font-size: 0.78rem;
    color: var(--text-dim);
    line-height: 1.5;
    margin: 0;
    flex: 1;
}

.location-card-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
}

.locations-popular {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 860px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .locations-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .locations-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .locations-grid { grid-template-columns: 1fr; }
}


/* ===========================================================
   FAQ ACCORDION (details/summary based)
   =========================================================== */

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item[open] {
    border-color: rgba(0, 210, 255, 0.25);
}

.faq-question {
    padding: 18px 24px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    list-style: none;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question svg {
    flex-shrink: 0;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px 20px;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.faq-answer p { padding-top: 14px; margin: 0; }


/* ===========================================================
   DRIVERS WELCOME (drivers-faq page)
   =========================================================== */

.drivers-welcome {
    max-width: 860px;
    margin: 0 auto;
}

.drivers-welcome-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.drivers-welcome-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 28px;
}

.drivers-feature {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.drivers-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background: rgba(0, 210, 255, 0.06);
    border: 1px solid rgba(0, 210, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.drivers-feature h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.drivers-feature p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.drivers-welcome-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.drivers-welcome-note {
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-dim);
    font-style: italic;
    margin: 16px 0 0;
}

@media (max-width: 768px) {
    .drivers-welcome-card { padding: 24px 20px; }
    .drivers-welcome-features { grid-template-columns: 1fr; }
}


/* ===========================================================
   DRIVER SIGN UP CTA (above footer, every page)
   =========================================================== */

.driver-cta-section {
    padding: 0 0 56px;
}

.driver-cta-card {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.08), rgba(0, 210, 255, 0.04));
    border: 1px solid rgba(255, 107, 0, 0.2);
    border-radius: var(--radius-lg);
    padding: 40px;
    overflow: hidden;
}

.driver-cta-glow {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.15), transparent 70%);
    pointer-events: none;
}

.driver-cta-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 28px;
}

.driver-cta-icon {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: var(--radius-lg);
    background: rgba(255, 107, 0, 0.1);
    border: 1px solid rgba(255, 107, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}

.driver-cta-text {
    flex: 1;
}

.driver-cta-text h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 6px;
    color: #fff;
}

.driver-cta-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.driver-cta-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.driver-cta-feature {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 255, 136, 0.06);
    border: 1px solid rgba(0, 255, 136, 0.18);
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text);
}

.driver-cta-sub {
    margin-top: 10px;
    font-size: 0.82rem !important;
    color: var(--text-dim) !important;
    font-style: italic;
}

.driver-cta-action {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.driver-cta-faq-link {
    font-size: 0.8rem;
    color: var(--text-dim);
    text-decoration: none;
    transition: color var(--transition);
}

.driver-cta-faq-link:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .driver-cta-card { padding: 28px 20px; }
    .driver-cta-inner { flex-direction: column; text-align: center; gap: 16px; }
    .driver-cta-action { width: 100%; }
    .driver-cta-action .btn { width: 100%; }
}


/* ===========================================================
   RESPONSIVE - TABLET (max-width: 1024px)
   =========================================================== */

@media (max-width: 1024px) {
    .hero-split { grid-template-columns: 1fr; }
    .hero-left { text-align: center; }
    .hero-actions { justify-content: center; }
    .hero-right { min-height: 0; display: none; }
    .hero-map-bg { opacity: 0.4; }
    .hero-overlay {
        background: linear-gradient(180deg, rgba(5,8,22,0.7) 0%, rgba(5,8,22,0.85) 100%);
    }

    .search-inputs { grid-template-columns: 1fr 1fr; }
    .search-tabs { justify-content: center; }

    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .companies-grid { grid-template-columns: repeat(3, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr 1fr; }
    .stats-section { grid-template-columns: 1fr; gap: 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .company-profile-body { grid-template-columns: 1fr; }
    .company-sidebar { position: static; }
    .directory-layout { grid-template-columns: 240px 1fr; gap: 24px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }

    .coverage-split { grid-template-columns: 1fr; gap: 24px; }
    .coverage-text { text-align: center; }
    .coverage-text h2 { text-align: center !important; }
    .coverage-map-side { display: none; }
    .coverage-counties { justify-content: center; }

    .how-connector { width: 30px; }
    .how-step { max-width: 200px; }

    .cta-inner { flex-direction: column; text-align: center; }
    .cta-action { text-align: center; }
}


/* ===========================================================
   RESPONSIVE - MOBILE (max-width: 768px)
   =========================================================== */

@media (max-width: 768px) {
    .section { padding: 48px 0; }

    .hero {
        min-height: auto;
        padding: calc(var(--nav-h) + 24px) 0 40px;
    }

    .hero-split { grid-template-columns: 1fr; }
    .hero-left { text-align: center; }
    .hero-right { display: none; }
    .hero-map-bg { opacity: 0.3; }
    .hero-overlay {
        background: linear-gradient(180deg, rgba(5,8,22,0.7) 0%, rgba(5,8,22,0.9) 100%);
    }
    .hero-title { font-size: clamp(1.8rem, 6vw, 2.4rem); }
    .hero-subtitle { max-width: none; }
    .hero-actions { justify-content: center; flex-direction: column; }
    .hero-actions .btn { width: 100%; }

    .search-inputs { grid-template-columns: 1fr; }
    .search-tabs { overflow-x: auto; flex-wrap: nowrap; gap: 2px; -webkit-overflow-scrolling: touch; padding-bottom: 8px; }
    .search-tab { flex-shrink: 0; padding: 8px 12px; font-size: 0.8rem; }
    .search-badges { gap: 12px; }
    .search-badge { font-size: 0.72rem; }

    .stats-bar-grid { flex-direction: column; gap: 12px; align-items: center; }

    .services-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .service-card { padding: 20px 16px; }

    .companies-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .blog-grid { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: 1fr 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }

    .how-grid { flex-direction: column; align-items: center; }
    .how-step { max-width: none; width: 100%; }
    .how-connector {
        width: 2px;
        height: 30px;
        background: linear-gradient(180deg, rgba(var(--primary-rgb),0.3), rgba(var(--primary-rgb),0.05));
        margin: 0;
    }

    .coverage-split { grid-template-columns: 1fr; gap: 20px; }
    .coverage-text { text-align: center; }
    .coverage-text h2 { text-align: center !important; }
    .coverage-map-side { display: none; }
    .coverage-counties { justify-content: center; }

    .directory-layout { grid-template-columns: 1fr; }
    .directory-sidebar { position: static; }

    .company-header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .company-header-actions { width: 100%; }
    .company-header-actions .btn { flex: 1; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .footer-cta { flex-direction: column; text-align: center; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .company-list-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .company-list-actions { width: 100%; }
    .company-list-actions .btn { flex: 1; }

    .cta-card { padding: 32px 20px; }
    .cta-inner { gap: 16px; }
    .cta-icon { width: 48px; height: 48px; }
    .cta-icon svg { width: 28px; height: 28px; }

    .gallery-grid { grid-template-columns: 1fr 1fr; }

    /* Mobile nav full-width bottom actions */
    .nav-mobile-menu { padding: 12px 16px 20px; }
    .mobile-link { padding: 12px 0; font-size: 0.95rem; }

    .section-header[style*="flex"] { flex-direction: column; gap: 12px; text-align: center !important; }
}


/* ===========================================================
   RESPONSIVE - SMALL MOBILE (max-width: 480px)
   =========================================================== */

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .section { padding: 36px 0; }

    .hero { padding: calc(var(--nav-h) + 16px) 0 28px; }
    .hero-title { font-size: 1.65rem; }
    .hero-subtitle { font-size: 0.9rem; }
    .hero-map-container { max-width: 220px; }

    .services-grid { grid-template-columns: 1fr; }
    .companies-grid { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .footer-links-cols { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }

    .company-card-img { height: 120px; }

    .btn-lg { padding: 14px 24px; font-size: 0.95rem; }
    .btn-sm { padding: 7px 14px; font-size: 0.78rem; }

    .coverage-tag { padding: 6px 12px; font-size: 0.8rem; }
}

/* ===================================================================
   AI CHATBOT WIDGET
   =================================================================== */

.chatbot {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    font-family: 'Inter', sans-serif;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #FF6B00, #FF8C33);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px rgba(255, 107, 0, 0.4), 0 0 0 0 rgba(255, 107, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    animation: chatbotPulse 3s ease-in-out infinite;
}

@keyframes chatbotPulse {
    0%, 100% { box-shadow: 0 4px 24px rgba(255, 107, 0, 0.4), 0 0 0 0 rgba(255, 107, 0, 0.3); }
    50% { box-shadow: 0 4px 24px rgba(255, 107, 0, 0.4), 0 0 0 12px rgba(255, 107, 0, 0); }
}

.chatbot-toggle:hover {
    transform: scale(1.08);
}

.chatbot-icon-close { display: none; }
.chatbot-open .chatbot-icon-open { display: none; }
.chatbot-open .chatbot-icon-close { display: block; }
.chatbot-open .chatbot-toggle { animation: none; }

.chatbot-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #00FF88;
    color: #050816;
    font-size: 0.7rem;
    font-weight: 700;
    display: none;
    align-items: center;
    justify-content: center;
    border: 2px solid #050816;
}

.chatbot-window {
    position: absolute;
    bottom: 72px;
    right: 0;
    width: 380px;
    max-height: 520px;
    background: #0d1226;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 1px rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(16px) scale(0.95);
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
}

.chatbot-open .chatbot-window {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.chatbot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-avatar {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255, 107, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-header-name {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
}

.chatbot-header-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    color: #00FF88;
}

.chatbot-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00FF88;
    display: inline-block;
    animation: statusBlink 2s ease-in-out infinite;
}

@keyframes statusBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.chatbot-close {
    background: none;
    border: none;
    color: #8892a8;
    cursor: pointer;
    padding: 4px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}

.chatbot-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 200px;
    max-height: 320px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.chatbot-messages::-webkit-scrollbar { width: 4px; }
.chatbot-messages::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }

.chatbot-message {
    display: flex;
    gap: 8px;
    animation: chatMsgIn 0.3s ease-out;
}

@keyframes chatMsgIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.chatbot-message-user {
    flex-direction: row-reverse;
}

.chatbot-message-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 107, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.chatbot-bubble {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 0.85rem;
    line-height: 1.55;
    color: #e0e6f0;
}

.chatbot-message-bot .chatbot-bubble {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-top-left-radius: 4px;
}

.chatbot-message-user .chatbot-bubble {
    background: linear-gradient(135deg, #FF6B00, #FF8C33);
    color: #fff;
    border-top-right-radius: 4px;
}

.chatbot-bubble a {
    color: #00D4FF;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.chatbot-message-user .chatbot-bubble a {
    color: #fff;
}

.chatbot-dots {
    display: flex;
    gap: 4px;
    padding: 4px 0;
}

.chatbot-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #8892a8;
    animation: chatDot 1.4s ease-in-out infinite;
}

.chatbot-dots span:nth-child(2) { animation-delay: 0.2s; }
.chatbot-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes chatDot {
    0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(-4px); }
}

.chatbot-suggestions {
    display: flex;
    gap: 6px;
    padding: 0 16px 12px;
    flex-wrap: wrap;
}

.chatbot-suggestion {
    background: rgba(255, 107, 0, 0.08);
    border: 1px solid rgba(255, 107, 0, 0.2);
    color: #FF8C33;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    font-family: inherit;
}

.chatbot-suggestion:hover {
    background: rgba(255, 107, 0, 0.15);
    border-color: rgba(255, 107, 0, 0.4);
}

.chatbot-input {
    display: flex;
    gap: 8px;
    padding: 12px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}

.chatbot-input input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 10px 14px;
    color: #fff;
    font-size: 0.85rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

.chatbot-input input:focus {
    border-color: rgba(255, 107, 0, 0.4);
}

.chatbot-input input::placeholder {
    color: #5a6478;
}

.chatbot-input input:disabled {
    opacity: 0.5;
}

.chatbot-send {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #FF6B00, #FF8C33);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s, opacity 0.2s;
}

.chatbot-send:hover {
    transform: scale(1.05);
}

.chatbot-send:active {
    transform: scale(0.95);
}

@media (max-width: 480px) {
    .chatbot { bottom: 16px; right: 16px; }
    .chatbot-toggle { width: 52px; height: 52px; }
    .chatbot-window {
        width: calc(100vw - 32px);
        right: -8px;
        bottom: 64px;
        max-height: 70vh;
    }
}
