/*
 * HaulCortex — custom.css
 * Accent: #3b82f6
 * Industry: AI-powered freight route optimization, carrier matching, mid-market logistics brokers
 */

/* =========================================================
   CSS VARIABLES
   ========================================================= */
:root {
    --accent: #3b82f6;
    --accent-dark: #2563eb;
    --accent-light: #93c5fd;
    --bg: #1a1d2e;
    --surface: #222539;
    --surface2: #2a2e4a;
    --text: #e2e8f0;
    --text-muted: #8fabc4;
    --border: rgba(255,255,255,0.08);
    --radius: 10px;
    --nav-height: 70px;
    --bg-rgb: 26, 29, 46;
}

/* =========================================================
   GLOBAL RESET & BASE
   ========================================================= */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Kumbh Sans', 'Inter', Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.9;
    margin: 0;
    padding: 0;
}

/* Override template text transforms */
h1, h2, h3, h4, h5, h6 {
    text-transform: none !important;
    letter-spacing: normal !important;
    color: var(--text);
}

h1 { font-size: 58px; font-weight: 700; line-height: 1.15; }
h2 { font-size: 40px; font-weight: 700; line-height: 1.2; }
h3 { font-size: 20px; font-weight: 600; line-height: 1.4; }
p  { font-size: 18px; line-height: 1.9; color: var(--text); margin-bottom: 16px; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-light); }

/* Container narrow */
.container-narrow {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================================
   FA4 FONT OVERRIDE (since template has FA5 webfonts dir)
   ========================================================= */
/* Point font-awesome.min.css to our FA4 fonts in fonts/ */
/* (font-awesome.min.css references ../fonts/ which resolves correctly) */

/* Force icon color */
.feature-icon .fa, .card-icon .fa, .step-icon .fa {
    color: var(--accent) !important;
}

/* =========================================================
   TOP NAVIGATION (Multi-page overlay on template)
   ========================================================= */
.hc-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    height: var(--nav-height);
    background-color: rgba(26, 29, 46, 0.96);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 40px;
    transition: background 0.3s ease;
}

.hc-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hc-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.hc-logo img {
    height: 38px;
    width: auto;
}

.hc-nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hc-nav-links li {
    margin: 0;
    padding: 0;
    background-image: none !important;
    margin-bottom: 0 !important;
}

.hc-nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease, background 0.2s ease;
}

.hc-nav-links a:hover,
.hc-nav-links a.active {
    color: var(--accent);
    background: rgba(59, 130, 246, 0.1);
}

.hc-nav-cta a {
    background: var(--accent);
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 600;
    padding: 9px 20px;
    border-radius: 8px;
    white-space: nowrap;
    border: 2px solid var(--accent);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.hc-nav-cta a:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: #ffffff !important;
}

/* Hamburger toggle */
.hc-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text);
    font-size: 22px;
}

@media (max-width: 991px) {
    .hc-nav-toggle { display: block; }
    .hc-nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(26, 29, 46, 0.99);
        flex-direction: column;
        padding: 20px;
        gap: 4px;
        border-bottom: 1px solid var(--border);
    }
    .hc-nav-links.open { display: flex; }
    .hc-nav-links li { width: 100%; }
    .hc-nav-links a { display: block; width: 100%; }
}

/* R77: Template nav cleanup */
.nav-item { margin-bottom: 0 !important; background-image: none !important; }
.site-logo { max-width: none !important; }
.btn-accent, .cta-primary, .cta-secondary { white-space: nowrap; }

/* =========================================================
   SITE-WIDE LAYOUT WRAPPER
   ========================================================= */
.hc-page {
    padding-top: var(--nav-height);
    min-height: 100vh;
    background: var(--bg);
}

.section {
    padding: 90px 0;
}

.section-alt {
    padding: 90px 0;
    background: var(--surface);
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg) 0%, var(--surface2) 60%, #1e3a5f 100%);
    overflow: hidden;
    padding: 100px 0 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
    opacity: 0.18;
    pointer-events: none;
}

.header-thumb {
    background: transparent !important;
    border: none !important;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-tag {
    display: inline-block;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--accent-light);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 40px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 58px;
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 24px;
}

.hero p {
    font-size: 20px;
    line-height: 1.75;
    color: #c8d6e5;
    margin-bottom: 36px;
    max-width: 580px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

/* =========================================================
   PAGE HERO (inner pages)
   ========================================================= */
.page-hero {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, var(--surface) 0%, var(--surface2) 100%);
    border-bottom: 1px solid var(--border);
}

.page-hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 20px;
    color: #c8d6e5;
    max-width: 600px;
}

/* =========================================================
   BUTTONS (R75 — both dark/light bg variants)
   ========================================================= */
/* Dark bg — primary */
.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 600;
    padding: 13px 28px;
    border-radius: 8px;
    border: 2px solid var(--accent);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}
.btn-primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: #ffffff !important;
}

/* Dark bg — outline */
.btn-outline {
    display: inline-block;
    background: transparent;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 600;
    padding: 13px 28px;
    border-radius: 8px;
    border: 2px solid rgba(255,255,255,0.6);
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}
.btn-outline:hover {
    border-color: #ffffff;
    color: #ffffff !important;
}

/* Light bg — outline */
.btn-outline-light {
    display: inline-block;
    background: transparent;
    color: var(--accent) !important;
    font-size: 16px;
    font-weight: 600;
    padding: 13px 28px;
    border-radius: 8px;
    border: 2px solid var(--accent);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
}
.btn-outline-light:hover {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent) !important;
}

/* Light bg — secondary */
.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--accent) !important;
    font-size: 16px;
    font-weight: 600;
    padding: 13px 28px;
    border-radius: 8px;
    border: 2px solid var(--accent);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}
.btn-secondary:hover {
    background: var(--accent);
    color: #ffffff !important;
}

/* Dark bg — text link */
.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-light);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}
.btn-text:hover { color: #ffffff; }

/* =========================================================
   FEATURE CARDS
   ========================================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

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

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-3px);
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: rgba(59, 130, 246, 0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon .fa {
    font-size: 22px;
    color: var(--accent) !important;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.75;
    margin: 0;
}

/* =========================================================
   STEPS / HOW IT WORKS (R80 — CSS grid, NOT Bootstrap col-*)
   ========================================================= */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

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

@media (max-width: 991px) {
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .steps-grid { grid-template-columns: 1fr; }
    .steps-grid-3 { grid-template-columns: 1fr; }
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    position: relative;
}

.step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: var(--accent);
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.step h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}

.step p {
    font-size: 15px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.7;
}

/* =========================================================
   STATS STRIP
   ========================================================= */
.stats-strip {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

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

.stat-item .stat-number {
    font-size: 44px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1.1;
    display: block;
}

.stat-item .stat-label {
    font-size: 15px;
    color: var(--text-muted);
    margin-top: 6px;
    display: block;
}

/* =========================================================
   BLOG GRID (R78)
   ========================================================= */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

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

.blog-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.2s ease, transform 0.2s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-3px);
}

.blog-card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--surface2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 13px;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-body time {
    font-size: 13px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 10px;
}

.blog-card-body h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.4;
    flex: 1;
}

.blog-card-body p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* =========================================================
   TEAM GRID (R84 — seed stage: 2-3 members)
   ========================================================= */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

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

.team-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0 auto 20px;
    border: 3px solid var(--accent);
}

.team-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.team-role {
    font-size: 14px;
    color: var(--accent-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.team-bio {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

/* Culture Section */
.culture-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

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

.culture-card {
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.culture-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
}

.culture-card p {
    font-size: 15px;
    color: var(--text-muted);
    margin: 0;
}

/* =========================================================
   PRICING (R-pricing)
   ========================================================= */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: start;
}

@media (max-width: 991px) {
    .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

.pricing-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 36px 32px;
    position: relative;
}

.pricing-card.featured {
    background: linear-gradient(135deg, #1e3a5f, var(--surface2));
    border-color: var(--accent);
    border-width: 2px;
    transform: scale(1.03);
}

.pricing-card .badge {
    display: inline-block;
    background: var(--accent);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 40px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
}

.pricing-card .price {
    font-size: 44px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 8px;
}

.pricing-card .price span {
    font-size: 18px;
    font-weight: 400;
    color: var(--text-muted);
}

.price-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
}

.pricing-card .features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}

.pricing-card .features li {
    font-size: 15px;
    color: var(--text-muted);
    padding: 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.pricing-card .features li::before {
    content: "\f00c";
    font-family: FontAwesome;
    color: var(--accent);
    font-size: 13px;
    margin-top: 4px;
    flex-shrink: 0;
}

/* FAQ Accordion */
.faq-section {
    padding: 80px 0;
    background: var(--surface);
}

.accordion-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
}

.accordion-header {
    margin: 0;
}

.accordion-button {
    background: var(--bg);
    color: var(--text);
    font-size: 17px;
    font-weight: 600;
    width: 100%;
    text-align: left;
    border: none;
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s ease;
}

.accordion-button::after {
    content: "\f078";
    font-family: FontAwesome;
    font-size: 13px;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg);
}

.accordion-button.collapsed { color: var(--text); }
.accordion-button:not(.collapsed) { color: #ffffff; }

.accordion-collapse { display: none; }
.accordion-collapse.show { display: block; }

.accordion-body {
    padding: 0 24px 20px;
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
}

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 991px) {
    .about-story { grid-template-columns: 1fr; }
}

.about-story-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

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

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

.value-card {
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.value-icon {
    width: 48px;
    height: 48px;
    background: rgba(59, 130, 246, 0.12);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.value-icon .fa {
    font-size: 20px;
    color: var(--accent) !important;
}

.value-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
}

.value-card p {
    font-size: 15px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.7;
}

/* Case Study Cards */
.case-study-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

@media (max-width: 991px) {
    .case-study-grid { grid-template-columns: 1fr; }
}

.case-study-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
}

.case-study-metric {
    font-size: 42px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1.1;
    margin-bottom: 8px;
}

.case-study-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}

.case-study-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* Milestone Timeline */
.milestones {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    text-align: center;
}

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

.milestone {
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.milestone-year {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
    display: block;
    margin-bottom: 8px;
}

.milestone p {
    font-size: 15px;
    color: var(--text-muted);
    margin: 0;
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 60px;
}

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

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.contact-list li .fa {
    color: var(--accent);
    font-size: 16px;
    margin-top: 3px;
    flex-shrink: 0;
}

.contact-form .form-control {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 16px;
    padding: 12px 16px;
    width: 100%;
    margin-bottom: 16px;
    transition: border-color 0.2s ease;
    outline: none;
}

.contact-form .form-control:focus {
    border-color: var(--accent);
}

.contact-form .form-control::placeholder {
    color: var(--text-muted);
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

.contact-channels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 60px;
}

@media (max-width: 767px) {
    .contact-channels { grid-template-columns: 1fr; }
}

.contact-channel-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
}

.contact-channel-card .fa {
    font-size: 28px;
    color: var(--accent);
    margin-bottom: 12px;
    display: block;
}

.contact-channel-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.contact-channel-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
    background: #0f1120;
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
}

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

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

.footer-brand p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.75;
    margin-top: 12px;
    max-width: 320px;
}

.footer-address {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 12px;
}

.footer-col h3 {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    font-size: 15px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-col ul li a:hover {
    color: var(--accent-light);
}

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

.footer-bottom p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

/* =========================================================
   COOKIE BANNER
   ========================================================= */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0f1120;
    border-top: 1px solid var(--border);
    z-index: 10000;
    padding: 20px 40px;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-text strong {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    display: block;
    margin-bottom: 4px;
}

.cookie-text p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

.cookie-text a {
    color: var(--accent-light);
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

#cookie-decline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 14px;
    padding: 8px 18px;
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

#cookie-decline:hover { border-color: var(--text-muted); }

#cookie-accept {
    background: var(--accent);
    border: none;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
}

#cookie-accept:hover { background: var(--accent-dark); }

/* =========================================================
   PRODUCT PAGE — CTA SECTION
   ========================================================= */
.cta-section {
    padding: 90px 0;
    background: linear-gradient(135deg, #1e3a5f 0%, var(--surface2) 100%);
    text-align: center;
}

.cta-section h2 {
    font-size: 40px;
    color: #ffffff;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 20px;
    color: #c8d6e5;
    max-width: 560px;
    margin: 0 auto 36px;
}

/* =========================================================
   R85: Dark sections — solid text colors
   ========================================================= */
.section-dark p,
.section-dark .text-muted,
.hero p {
    color: #c8d6e5;
    opacity: 1 !important;
}

/* =========================================================
   R89: Template overlay must not block clicks
   ========================================================= */
.tm-bg-overlay, [class*="overlay"] {
    pointer-events: none !important;
}

/* =========================================================
   R-IMG: Article/blog images
   ========================================================= */
article img {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-bottom: 24px;
}

/* =========================================================
   MISC / UTILITIES
   ========================================================= */
.text-accent { color: var(--accent) !important; }
.text-muted   { color: var(--text-muted) !important; }
.text-white   { color: #ffffff !important; }

.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
.mb-40 { margin-bottom: 40px; }

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.col-lg-5 { flex: 0 0 calc(42% - 20px); }
.col-lg-7 { flex: 0 0 calc(58% - 20px); }
.col-lg-6 { flex: 0 0 calc(50% - 20px); }

@media (max-width: 991px) {
    .col-lg-5, .col-lg-6, .col-lg-7 { flex: 0 0 100%; }
}

/* Horizontal rule separator */
.divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 40px 0;
}

/* Tag/label chips */
.tag {
    display: inline-block;
    background: rgba(59, 130, 246, 0.12);
    color: var(--accent-light);
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 4px;
    margin-right: 6px;
    margin-bottom: 6px;
}

/* Responsive image */
.img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Grid gap utility */
.g-3 { gap: 16px !important; }

/* Form group spacing */
.form-group {
    margin-bottom: 16px;
}

/* Table style */
.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
}

.table th, .table td {
    padding: 12px 16px;
    border: 1px solid var(--border);
    color: var(--text);
}

.table th {
    background: var(--surface);
    font-weight: 700;
}

.table tr:nth-child(even) {
    background: rgba(255,255,255,0.02);
}

/* Checkbox list */
.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-list li {
    font-size: 16px;
    color: var(--text-muted);
    padding: 6px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.check-list li::before {
    content: "\f00c";
    font-family: FontAwesome;
    color: var(--accent);
    font-size: 13px;
    margin-top: 4px;
    flex-shrink: 0;
}

/* =========================================================
   RESPONSIVE GENERAL
   ========================================================= */
@media (max-width: 767px) {
    h1 { font-size: 40px; }
    h2 { font-size: 30px; }
    .hero h1 { font-size: 38px; }
    .page-hero h1 { font-size: 36px; }
    .container { padding: 0 20px; }
    .section, .section-alt, .section-dark { padding: 60px 0; }
    .hc-navbar { padding: 0 20px; }
}

/* nav-cta alias */
.nav-cta { display:inline-block; padding:8px 20px; border-radius:6px; font-size:14px; font-weight:600; background:var(--accent); color:#fff !important; text-decoration:none; transition:background 0.2s; }
.nav-cta:hover { background:var(--accent-dark); color:#fff !important; }

/* Fix Bootstrap .table white background on dark theme */
.table {
    background-color: transparent !important;
    color: var(--text-muted);
}
.table td, .table th {
    background-color: transparent !important;
    color: var(--text-muted);
    border-color: var(--border);
    padding: 12px 8px;
}
.table tr {
    background-color: transparent !important;
}
