/* ================================================================
   CARTER POWER SYSTEMS — Master Stylesheet
   Brand: Modern, minimal, professional, technical
   Accent: #FFCC00 (Carter brand gold)
   Font: Inter (Google Fonts)
   ================================================================ */

/* ================================================================
   1. CSS CUSTOM PROPERTIES
   ================================================================ */

:root {
    /* Brand Colors — CAT Corporate Palette (Brand Book pp.20-22) */
    --gold:             #FFCC00;               /* CAT Corporate Yellow — backgrounds & fills */
    --gold-text:        #C89E00;               /* Darker gold for text on white (WCAG AA) */
    --gold-hover:       #E6A800;               /* Gold hover/active state */
    --gold-light:       rgba(255, 204, 0, 0.12);
    --gold-border:      rgba(255, 204, 0, 0.30);
    --header-total:     112px;             /* emergency-banner (~40px) + navbar (~72px) */
    --brand-gray:       #88969F;               /* CAT Corporate Gray (secondary) */

    /* Neutrals */
    --charcoal:         #3D3D3D;
    --body-text:        #5A5A5A;
    --text-light:       #777777;
    --white:            #FFFFFF;
    --off-white:        #FAFAFA;
    --light-gray:       #F5F5F5;
    --border:           #E0E0E0;
    --border-light:     #EBEBEB;
    --dark:             #1B1B1B;
    --dark-mid:         #2A2A2A;
    --dark-soft:        #3A3A3A;

    /* Functional */
    --success:          #2E7D5B;
    --error:            #C0392B;
    --info:             #2980B9;

    /* Shadows */
    --shadow-sm:        0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow:           0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md:        0 4px 16px rgba(0, 0, 0, 0.10);
    --shadow-lg:        0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl:        0 12px 40px rgba(0, 0, 0, 0.16);
    --shadow-gold:      0 4px 14px rgba(255, 204, 0, 0.30);

    /* Layout */
    --container-max:    1200px;
    --container-wide:   1400px;
    --section-pad:      52px;
    --section-pad-sm:   36px;
    --radius:           6px;
    --radius-md:        10px;
    --radius-lg:        14px;

    /* Transitions */
    --transition:       all 0.25s ease;
    --transition-slow:  all 0.4s ease;

    /* Typography — Arial (Brand Book p.18) */
    --font:             Arial, Helvetica, sans-serif;
}


/* ================================================================
   2. RESET & BASE
   ================================================================ */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: var(--font);
    font-weight: 400;
    line-height: 1.65;
    color: var(--body-text);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--charcoal);
    font-weight: 700;
    line-height: 1.25;
}

p {
    margin-bottom: 0;
}

button {
    font-family: var(--font);
    cursor: pointer;
    border: none;
    background: none;
}

input, select, textarea {
    font-family: var(--font);
}

::selection {
    background-color: var(--gold);
    color: var(--white);
}


/* ================================================================
   3. CONTAINER & LAYOUT UTILITIES
   ================================================================ */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 32px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 40px;
    }
}


/* ================================================================
   4. SECTION HEADERS
   ================================================================ */

.section-header {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 36px;
}

.section-label {
    display: block;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-text);
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .section-label {
        font-size: 1.125rem;
    }
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--charcoal);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-desc {
    font-size: 1rem;
    color: var(--body-text);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .section-header h2 {
        font-size: 2.0rem;
    }

    .section-header {
        margin-bottom: 40px;
    }
}


/* ================================================================
   5. BUTTONS
   ================================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border: 2px solid transparent;
    border-radius: var(--radius);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
}

.btn i {
    font-size: 0.8em;
    transition: transform 0.25s ease;
}

.btn:hover i {
    transform: translateX(2px);
}

/* Primary — Gold background */
.btn-primary {
    background-color: var(--gold);
    color: var(--charcoal);
    border-color: var(--gold);
}

.btn-primary:hover {
    background-color: var(--gold-hover);
    border-color: var(--gold-hover);
    box-shadow: var(--shadow-gold);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Outline — Charcoal border */
.btn-outline {
    background-color: transparent;
    color: var(--charcoal);
    border-color: var(--border);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    background-color: var(--gold-light);
}

/* Outline Light — White border (for dark backgrounds) */
.btn-outline-light {
    background-color: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    color: var(--white);
}

/* Sizes */
.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.8125rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Nav CTA */
.btn-nav-cta {
    background-color: var(--gold);
    color: var(--dark);
    border-color: var(--gold);
    padding: 10px 22px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-radius: var(--radius);
}

.btn-nav-cta:hover {
    background-color: var(--gold-hover);
    border-color: var(--gold-hover);
    box-shadow: var(--shadow-gold);
}

@media (max-width: 1023px) {
    .btn-nav-cta {
        display: none;
    }
}


/* ================================================================
   6. EMERGENCY BANNER
   ================================================================ */

.emergency-banner {
    background-color: var(--dark);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.8125rem;
    position: relative;
    z-index: 1100;
}

.emergency-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.emergency-inner > span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.emergency-inner > span i {
    color: var(--gold);
}

.emergency-phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.emergency-phone:hover {
    color: var(--white);
}

.emergency-close {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    cursor: pointer;
    padding: 4px;
    transition: var(--transition);
}

.emergency-close:hover {
    color: var(--white);
}

.emergency-banner.hidden {
    display: none;
}


/* ================================================================
   7. NAVBAR
   ================================================================ */

.navbar {
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border-bottom-color: var(--border-light);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    min-height: 72px;
}

/* Logo */
.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: 40px;
}

/* Logo image in header */
.logo-img {
    height: 52px;
    width: auto;
    display: block;
}

/* Logo image in footer */
.footer-logo-img {
    height: 48px;
    width: auto;
    display: block;
    margin-bottom: 20px;
}

/* Legacy text logo (kept for fallback) */
.logo-mark {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-carter {
    font-size: 1.625rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    color: var(--charcoal);
    text-transform: uppercase;
}

.logo-divider {
    width: 2px;
    height: 28px;
    background-color: var(--gold);
    flex-shrink: 0;
}

.logo-ps {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Nav Search Button */
.nav-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: transparent;
    color: var(--body-text);
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition);
}

.nav-search-btn:hover {
    background: var(--light-gray);
    color: var(--gold);
    border-color: var(--gold);
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-overlay-inner {
    padding: 24px 0;
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.search-bar:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.15);
}

.search-bar-icon {
    color: var(--gold);
    font-size: 1rem;
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--charcoal);
    font-family: var(--font);
    font-size: 1.05rem;
}

.search-input::placeholder {
    color: var(--text-light);
}

.search-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: var(--radius);
    background: transparent;
    color: var(--text-light);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.search-close:hover {
    background: var(--light-gray);
    color: var(--charcoal);
}

.search-suggestions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.search-suggestion-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.search-tag {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--body-text);
    background: var(--light-gray);
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.search-tag:hover {
    color: var(--gold);
    border-color: var(--gold);
    background: var(--gold-light);
}

/* Main Nav */
.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-menu > ul > li > a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 16px;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--charcoal);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-radius: var(--radius);
    transition: var(--transition);
}

.nav-menu > ul > li > a i.fa-chevron-down {
    font-size: 0.55em;
    opacity: 0.4;
    transition: transform 0.25s ease;
}

.nav-menu > ul > li > a:hover {
    color: var(--dark);
    background-color: var(--light-gray);
}

.nav-menu > ul > li > a:hover i.fa-chevron-down {
    transform: rotate(180deg);
}

/* Active / selected nav item */
.nav-menu > ul > li.active > a,
.nav-menu > ul > li > a.active {
    color: var(--gold-hover);
    font-weight: 700;
}

.nav-menu > ul > li.active > a::after,
.nav-menu > ul > li > a.active::after {
    width: 60% !important;
    left: 20% !important;
    background-color: var(--gold) !important;
}

/* Dropdowns */
.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 260px;
    background-color: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s ease;
    z-index: 1001;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--charcoal);
    border-radius: var(--radius);
    transition: var(--transition);
    text-decoration: none;
}

.dropdown a i {
    width: 18px;
    text-align: center;
    color: var(--gold-hover);
    font-size: 0.85rem;
    transition: var(--transition);
}

.dropdown a:hover {
    background-color: var(--light-gray);
    color: var(--charcoal);
}

.dropdown a:hover i {
    color: var(--gold);
}

.dropdown a.active {
    background-color: rgba(255, 204, 0, 0.07);
    color: var(--gold-text);
    font-weight: 700;
}

.dropdown a.active i {
    color: var(--gold-text);
}

.dropdown-divider {
    height: 1px;
    background-color: var(--border-light);
    margin: 6px 8px;
}

.dropdown-label {
    display: block;
    padding: 8px 14px 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light);
}

.dropdown-view-all {
    border-top: 1px solid var(--border-light);
    margin-top: 4px;
    padding-top: 12px !important;
    font-weight: 600 !important;
    color: var(--gold) !important;
}

.dropdown-view-all:hover {
    background-color: var(--gold-light) !important;
}

/* Megamenu (wide dropdown for Solutions) */
.has-megamenu .dropdown.megamenu {
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 560px;
    padding: 24px;
}
.has-megamenu:hover .dropdown.megamenu {
    transform: translateX(-50%) translateY(0);
}
.megamenu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.megamenu-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--charcoal);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-light);
}
.megamenu-heading i {
    color: var(--gold);
    font-size: 0.85rem;
}
@media (max-width: 1023px) {
    .has-megamenu .dropdown.megamenu {
        left: 0;
        transform: none;
        min-width: 100%;
        padding: 8px 0 8px 16px;
    }
    .has-megamenu:hover .dropdown.megamenu {
        transform: none;
    }
    .megamenu-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .megamenu-heading {
        border-bottom: none;
        padding-bottom: 4px;
        margin-bottom: 8px;
    }
}


/* ================================================================
   8. HAMBURGER (Mobile)
   ================================================================ */

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    padding: 4px;
    cursor: pointer;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--charcoal);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 1023px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--white);
        padding: 24px;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.35s ease;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 0;
    }

    .nav-menu > ul > li > a {
        padding: 14px 16px;
        font-size: 1rem;
        width: 100%;
        justify-content: space-between;
        border-bottom: 1px solid var(--border-light);
    }

    .has-dropdown .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0 0 8px 16px;
        display: none;
        min-width: 100%;
    }

    .has-dropdown.open .dropdown {
        display: block;
    }

    .dropdown a {
        padding: 10px 16px;
        font-size: 0.9375rem;
    }
}


/* ================================================================
   9. HERO SECTION
   ================================================================ */

.hero {
    position: relative;
    height: calc(100vh - var(--header-total, 112px));
    min-height: 480px;
    max-height: 800px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: #1B1B1B;
    z-index: 0;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    z-index: 0;
}

/* Subtle industrial grid texture via CSS */
.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 204, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 204, 0, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(27, 27, 27, 0.35);
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero-layout {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    max-width: 100%;
    flex: none;
    background: rgba(27, 27, 27, 0.65);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    margin: 0;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-left: 4px solid var(--gold);
}

.hero-image {
    display: none;
    flex: 0 0 380px;
    max-width: 380px;
}

.hero-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 2px solid rgba(255, 204, 0, 0.25);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.hero-content h1 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.hero-badge {
    display: inline-block;
    padding: 5px 12px;
    background-color: rgba(255, 204, 0, 0.20);
    border: 1px solid rgba(255, 204, 0, 0.45);
    border-radius: 100px;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #FFE066;
    margin-bottom: 16px;
    letter-spacing: 0.03em;
}

.hero-subtitle {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
    margin-bottom: 16px;
}

.hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.hero-actions .btn {
    font-size: 0.8125rem;
    padding: 10px 20px;
}

/* Trust Bar */
.hero-trust-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.80);
    font-weight: 500;
}

.trust-item i {
    color: #FFE066;
    font-size: 0.75rem;
}

@media (min-width: 480px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }
    .hero-subtitle {
        font-size: 0.875rem;
    }
    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 14px;
    }
}

@media (min-width: 768px) {
    .hero-content {
        max-width: 580px;
        padding: 32px 28px;
    }
    .hero-content h1 {
        font-size: 2.25rem;
        margin-bottom: 12px;
    }
    .hero-badge {
        font-size: 0.8125rem;
        padding: 6px 16px;
        margin-bottom: 20px;
    }
    .hero-subtitle {
        font-size: 0.9375rem;
        line-height: 1.65;
        margin-bottom: 20px;
    }
    .hero-actions {
        gap: 12px;
        margin-bottom: 22px;
    }
    .hero-actions .btn {
        font-size: 0.9375rem;
        padding: 12px 28px;
    }
    .hero-trust-bar {
        flex-wrap: nowrap;
        gap: 14px;
        padding-top: 16px;
    }
    .trust-item {
        font-size: 0.6875rem;
        white-space: nowrap;
    }
    .trust-item i {
        font-size: 0.9rem;
    }
}

@media (min-width: 1024px) {
    .hero-content {
        max-width: 620px;
        padding: 36px 32px;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-badge {
        margin-bottom: 24px;
    }
}

/* ----------------------------------------------------------------
   Hero Breadcrumb
   ---------------------------------------------------------------- */
.hero-breadcrumb {
    margin-bottom: 10px;
}
.hero-breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px;
}
.hero-breadcrumb li {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    font-family: var(--font);
}
.hero-breadcrumb li + li::before {
    content: '/';
    margin: 0 5px;
    color: rgba(255, 255, 255, 0.28);
}
.hero-breadcrumb a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.2s ease;
}
.hero-breadcrumb a:hover {
    color: var(--gold);
    text-decoration: none;
}
.hero-breadcrumb li:last-child {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}


/* ================================================================
   10. THREE PILLARS
   ================================================================ */

.pillars {
    padding: var(--section-pad) 0;
    background-color: var(--white);
}

.pillars-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.pillar-card {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    overflow: hidden;
    transition: var(--transition);
}

.pillar-card-img {
    width: calc(100% + 56px);
    height: 180px;
    overflow: hidden;
    margin: -36px -28px 24px -28px;
}

.pillar-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pillar-card:hover .pillar-card-img img {
    transform: scale(1.05);
}

.pillar-card:hover {
    border: 2px solid var(--gold);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.pillar-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gold-light);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.pillar-icon i {
    font-size: 1.375rem;
    color: var(--gold);
}

.pillar-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.pillar-card > p {
    font-size: 0.9375rem;
    color: var(--body-text);
    line-height: 1.7;
    margin-bottom: 20px;
}

.pillar-list {
    list-style: none;
    margin-bottom: 24px;
}

.pillar-list li {
    position: relative;
    padding: 5px 0 5px 22px;
    font-size: 0.875rem;
    color: var(--body-text);
}

.pillar-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--gold);
}

.pillar-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition);
}

.pillar-link:hover {
    color: var(--gold-hover);
    gap: 10px;
}

.pillar-link i {
    font-size: 0.75em;
}

@media (min-width: 768px) {
    .pillars-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }

    .pillar-card {
        padding: 40px 32px;
    }
}


/* ================================================================
   11. ENGINEERING TOOLS
   ================================================================ */

.tools-section {
    padding: var(--section-pad) 0;
    background-color: var(--light-gray);
}

.tools-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

/* Featured Tool Card */
.tool-card-featured {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
}

.tool-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.tool-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gold-light);
    border-radius: var(--radius-md);
}

.tool-icon i {
    font-size: 1.25rem;
    color: var(--gold);
}

.tool-badge {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--gold-light);
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.tool-card-featured h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.tool-card-featured > p {
    font-size: 0.9375rem;
    color: var(--body-text);
    margin-bottom: 28px;
    line-height: 1.7;
}

/* Sizing Form */
.sizing-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--charcoal);
}

.form-field select,
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="number"],
.form-field textarea {
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    color: var(--charcoal);
    background-color: var(--white);
    transition: var(--transition);
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
}

.form-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235A5A5A' d='M6 8.825L0.575 3.4l0.85-0.85L6 7.125l4.575-4.575 0.85 0.85z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.12);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--text-light);
}

/* Secondary Tool Cards */
.tool-cards-secondary {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tool-card-sm {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 32px 28px;
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: var(--transition);
}

.tool-card-sm:hover {
    border: 2px solid var(--gold);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.tool-icon-sm {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gold-light);
    border-radius: var(--radius);
}

.tool-icon-sm i {
    font-size: 1.05rem;
    color: var(--gold-text);
}

.tool-card-sm h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.tool-card-sm p {
    font-size: 0.9375rem;
    color: var(--body-text);
    line-height: 1.7;
}

.tools-footer-note {
    text-align: center;
    margin-top: 24px;
    font-size: 0.9375rem;
    color: var(--body-text);
}

.tools-footer-note a {
    color: var(--gold-text);
    font-weight: 600;
}

.tool-arrow {
    margin-left: auto;
    color: var(--text-light);
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.tool-card-sm:hover .tool-arrow {
    color: var(--gold-text);
    transform: translateX(3px);
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }

    .tool-card-featured {
        padding: 44px 40px;
    }
}

@media (min-width: 1024px) {
    .tools-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Send Us Your Specs Bar */
.specs-submission-bar {
    margin-top: 40px;
    background-color: var(--white);
    border: 2px solid var(--gold-border);
    border-radius: var(--radius-lg);
    padding: 32px 36px;
}

.specs-submission-content {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.specs-submission-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gold-light);
    border-radius: var(--radius-md);
}

.specs-submission-icon i {
    font-size: 1.3rem;
    color: var(--gold);
}

.specs-submission-text {
    flex: 1;
    min-width: 200px;
}

.specs-submission-text h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 4px;
}

.specs-submission-text p {
    font-size: 0.875rem;
    color: var(--body-text);
    line-height: 1.6;
}

@media (max-width: 767px) {
    .specs-submission-content {
        flex-direction: column;
        text-align: center;
    }

    .specs-submission-content .btn {
        width: 100%;
    }
}


/* ================================================================
   12. PRODUCTS SECTION
   ================================================================ */

.products-section {
    padding: var(--section-pad) 0;
    background-color: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.product-category-card {
    display: block;
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    transition: var(--transition);
}

.product-category-card:hover {
    border: 2px solid var(--gold);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

/* Product Card Top Image/Gradient Area */
.product-cat-img {
    position: relative;
    height: 180px;
    display: flex;
    align-items: flex-end;
    padding: 16px 20px;
    overflow: hidden;
}

.product-cat-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.5s ease;
    opacity: 0.55;
    mix-blend-mode: luminosity;
}

.product-category-card:hover .product-cat-bg-img {
    transform: scale(1.08);
    opacity: 0.7;
}

.product-cat-img .product-count {
    position: relative;
    z-index: 2;
}

.diesel-bg {
    background: linear-gradient(135deg, #2C3E50 0%, #34495E 50%, #2C3E50 100%);
}

.gas-bg {
    background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 50%, #1B5E20 100%);
}

.ats-bg {
    background: linear-gradient(135deg, #1A237E 0%, #283593 50%, #1A237E 100%);
}

.switchgear-bg {
    background: linear-gradient(135deg, #4A148C 0%, #6A1B9A 50%, #4A148C 100%);
}

.ups-bg {
    background: linear-gradient(135deg, #0D47A1 0%, #1565C0 50%, #0D47A1 100%);
}

.bess-bg {
    background: linear-gradient(135deg, #BF360C 0%, #D84315 50%, #BF360C 100%);
}

.product-count {
    display: inline-block;
    padding: 4px 12px;
    background-color: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(4px);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.02em;
}

.product-cat-info {
    padding: 24px 20px;
}

.product-cat-info h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.product-cat-info > p {
    font-size: 0.875rem;
    color: var(--body-text);
    line-height: 1.65;
    margin-bottom: 16px;
}

.product-specs-preview {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.product-specs-preview span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: var(--text-light);
}

.product-specs-preview i {
    color: var(--gold);
    font-size: 0.75rem;
}

.product-cat-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gold);
    transition: var(--transition);
}

.product-category-card:hover .product-cat-link {
    gap: 10px;
}

.product-cat-link i {
    font-size: 0.75em;
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* Old tabbed Applications section removed — replaced by 14b image-forward cards */

.tab-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
}

.tab-text h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.tab-text > p {
    font-size: 0.9375rem;
    color: var(--body-text);
    line-height: 1.7;
    margin-bottom: 28px;
}

/* App Specs Grid */
.app-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 28px;
}

.app-spec {
    padding: 14px 16px;
    background-color: var(--light-gray);
    border-radius: var(--radius);
}

.spec-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.spec-value {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--charcoal);
}

.app-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Features Side */
.tab-features h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--charcoal);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 14px;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.feature-tag {
    display: inline-block;
    padding: 5px 14px;
    background-color: var(--gold-light);
    color: var(--gold-hover);
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 100px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 7px 0;
    font-size: 0.9375rem;
    color: var(--body-text);
}

.feature-list li i {
    color: var(--gold);
    font-size: 0.8rem;
    margin-top: 4px;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .tab-content {
        padding: 44px 40px;
    }
}

@media (min-width: 1024px) {
    .tab-layout {
        grid-template-columns: 1.2fr 1fr;
        gap: 48px;
    }
}


/* ================================================================
   14. INDUSTRIES
   ================================================================ */

.industries-section {
    padding: var(--section-pad) 0;
    background-color: var(--white);
}

.industries-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.industry-card {
    display: block;
    padding: 32px 28px;
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.industry-card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.18;
    transition: opacity 0.4s ease, transform 0.5s ease;
    z-index: 0;
}

.industry-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.95) 100%);
    z-index: 1;
    transition: background 0.4s ease;
}

.industry-card-content {
    position: relative;
    z-index: 2;
}

.industry-card:hover .industry-card-bg {
    opacity: 0.30;
    transform: scale(1.08);
}

.industry-card:hover .industry-card-overlay {
    background: linear-gradient(180deg, rgba(255,255,255,0.75) 0%, rgba(255,255,255,0.88) 100%);
}

.industry-card:hover {
    border: 2px solid var(--gold);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.industry-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gold-light);
    border-radius: var(--radius-md);
    margin-bottom: 18px;
}

.industry-icon i {
    font-size: 1.25rem;
    color: var(--gold-text);
}

.industry-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.industry-card p {
    font-size: 0.875rem;
    color: var(--body-text);
    line-height: 1.65;
    margin-bottom: 16px;
}

.industry-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gold-text);
    transition: var(--transition);
}

.industry-card:hover .industry-link {
    gap: 10px;
}

.industry-link i {
    font-size: 0.75em;
}

@media (min-width: 768px) {
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (min-width: 1024px) {
    .industries-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Industries row: larger, more prominent tiles */
.industries-grid--primary {
    margin-bottom: 48px;
}

.industries-grid--primary .industry-card {
    padding: 36px 28px;
    min-height: 280px;
}

.industries-grid--primary .industry-card h3 {
    font-size: 1.25rem;
}

.industries-grid--primary .industry-card .industry-icon i {
    font-size: 1.5rem;
}

/* Applications row: slightly smaller, subtler tiles */
.industries-grid--secondary .industry-card {
    padding: 24px 20px;
    min-height: 220px;
}

.industries-grid--secondary .industry-card h3 {
    font-size: 1rem;
}

.industries-grid--secondary .industry-card p {
    font-size: 0.8125rem;
}


/* ================================================================
   14b. POWER APPLICATIONS — image-top cards with icons
   ================================================================ */

.app-img-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .app-img-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

@media (min-width: 1024px) {
    .app-img-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.app-img-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    transition: var(--transition);
}

.app-img-card:hover {
    border: 2px solid var(--gold);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.app-img-photo {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.app-img-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.app-img-card:hover .app-img-photo img {
    transform: scale(1.06);
}

.app-img-body {
    padding: 24px 24px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.app-img-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-light);
    border-radius: var(--radius);
    margin-bottom: 14px;
}

.app-img-icon i {
    font-size: 1rem;
    color: var(--gold-text);
}

.app-img-body h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.app-img-body p {
    font-size: 0.875rem;
    color: var(--body-text);
    line-height: 1.65;
    margin-bottom: 16px;
    flex: 1;
}

.app-img-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gold-text);
    transition: var(--transition);
}

.app-img-card:hover .app-img-link {
    gap: 10px;
    color: var(--gold-hover);
}

.app-img-link i {
    font-size: 0.7em;
}


/* ================================================================
   14d. VERTICAL SIDE TABS — Technical Depth component
   ================================================================ */

.vtabs-section {
    padding: var(--section-pad) 0;
    background: var(--white);
    border-top: 1px solid var(--border);
}

.vtabs-header {
    margin-bottom: 32px;
    text-align: center;
}

.vtabs-header h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--charcoal);
    line-height: 1.25;
}

.vtabs-layout {
    display: flex;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    min-height: 400px;
}

.vtabs-sidebar {
    width: 30%;
    background: var(--charcoal);
    display: flex;
    flex-direction: column;
}

.vtabs-sidebar button {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    background: none;
    border: none;
    border-left: 4px solid transparent;
    padding: 20px 24px;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s;
}

.vtabs-sidebar button:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.vtabs-sidebar button.active {
    color: #fff;
    background: rgba(0, 0, 0, 0.25);
    border-left-color: var(--gold);
}

.vtabs-content {
    width: 70%;
    background: var(--white);
    padding: 36px 40px;
}

.vtabs-panel {
    display: none;
    animation: vtabsFade 0.3s ease;
}

.vtabs-panel.active {
    display: block;
}

@keyframes vtabsFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.vtabs-panel h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 14px;
}

.vtabs-panel p {
    font-size: 0.9375rem;
    color: var(--body-text);
    line-height: 1.7;
    margin-bottom: 14px;
}

.vtabs-panel ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.vtabs-panel ul li {
    position: relative;
    padding-left: 20px;
    font-size: 0.9375rem;
    color: var(--body-text);
    line-height: 1.7;
    margin-bottom: 6px;
}

.vtabs-panel ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 2px;
    background: var(--gold);
}

@media (max-width: 768px) {
    .vtabs-layout {
        flex-direction: column;
    }
    .vtabs-sidebar {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
    }
    .vtabs-sidebar button {
        padding: 14px 18px;
        white-space: nowrap;
        border-left: none;
        border-bottom: 3px solid transparent;
    }
    .vtabs-sidebar button.active {
        border-left: none;
        border-bottom-color: var(--gold);
    }
    .vtabs-content {
        width: 100%;
        padding: 28px 24px;
    }
}


/* ================================================================
   14c. LEGACY — horizontal cards (kept for other pages if needed)
   ================================================================ */

.applications-section {
    padding: var(--section-pad) 0;
    background-color: var(--white);
}

.app-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .app-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

.app-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.app-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--gold);
}

.app-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.app-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.app-card:hover .app-card-image img {
    transform: scale(1.06);
}

.app-card-body {
    padding: 24px 28px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.app-card-body h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.app-card-body p {
    font-size: 0.9375rem;
    color: var(--body-text);
    line-height: 1.65;
    margin-bottom: 16px;
    flex: 1;
}

.app-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gold-text);
    transition: var(--transition);
}

.app-card:hover .app-card-link {
    gap: 10px;
    color: var(--gold-hover);
}

.app-card-link i {
    font-size: 0.75em;
}

@media (min-width: 1024px) {
    .app-card {
        flex-direction: row;
    }

    .app-card-image {
        width: 240px;
        min-width: 240px;
        height: auto;
        min-height: 200px;
    }

    .app-card-body {
        padding: 28px 32px;
    }
}


/* ================================================================
   15. DOCUMENTATION
   ================================================================ */

.documentation-section {
    padding: var(--section-pad) 0;
    background-color: var(--light-gray);
}

/* Search Bar */
.doc-search-bar {
    margin-bottom: 36px;
}

.doc-search-input {
    position: relative;
    margin-bottom: 16px;
}

.doc-search-input i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 0.95rem;
}

.doc-search-input input {
    width: 100%;
    padding: 14px 16px 14px 44px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    color: var(--charcoal);
    background-color: var(--white);
    transition: var(--transition);
}

.doc-search-input input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.12);
}

.doc-search-input input::placeholder {
    color: var(--text-light);
}

.doc-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.doc-filter {
    flex: 1;
    min-width: 160px;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.875rem;
    color: var(--charcoal);
    background-color: var(--white);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235A5A5A' d='M6 8.825L0.575 3.4l0.85-0.85L6 7.125l4.575-4.575 0.85 0.85z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
    cursor: pointer;
    transition: var(--transition);
}

.doc-filter:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.12);
}

/* Doc Grid */
.doc-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.doc-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.doc-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-sm);
}

.doc-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FEF0E0;
    border-radius: var(--radius);
}

.doc-icon i {
    font-size: 1.1rem;
    color: #C0392B;
}

.doc-icon i.fa-file-alt {
    color: var(--gold);
}

.doc-info {
    flex: 1;
    min-width: 0;
}

.doc-info h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 6px;
    line-height: 1.35;
}

.doc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.doc-meta span {
    display: inline-block;
    padding: 2px 10px;
    background-color: var(--light-gray);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-light);
}

.doc-card .btn {
    flex-shrink: 0;
}

.doc-footer {
    text-align: center;
}

@media (max-width: 767px) {
    .doc-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .doc-card .btn {
        align-self: flex-start;
    }

    .doc-filters {
        flex-direction: column;
    }

    .doc-filter {
        min-width: 100%;
    }
}


/* ================================================================
   16. SERVICE SHOWCASE — Icon grid on dark gradient
   ================================================================ */

.svc-showcase {
    padding: var(--section-pad) 0;
    background: linear-gradient(160deg, #1B1B1B 0%, #2D2D2D 50%, #1B1B1B 100%);
    position: relative;
    overflow: hidden;
}

/* Subtle diagonal line texture */
.svc-showcase::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            135deg,
            rgba(255, 204, 0, 0.02) 0px,
            rgba(255, 204, 0, 0.02) 1px,
            transparent 1px,
            transparent 80px
        );
    z-index: 0;
}

.svc-showcase .container {
    position: relative;
    z-index: 1;
}

.svc-showcase-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.svc-showcase-label {
    display: inline-block;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}

.svc-showcase-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 14px;
}

.svc-showcase-header p {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
}

.svc-showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 960px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .svc-showcase-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .svc-showcase-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 0;
        max-width: 100%;
    }
    .svc-showcase {
        padding: 80px 0;
    }
}

.svc-showcase-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    padding: 32px 16px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    position: relative;
}

.svc-showcase-item:hover {
    background: rgba(255, 204, 0, 0.08);
    transform: translateY(-4px);
}

.svc-showcase-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 204, 0, 0.10);
    border: 2px solid rgba(255, 204, 0, 0.25);
    margin-bottom: 18px;
    transition: var(--transition);
}

.svc-showcase-item:hover .svc-showcase-icon {
    background: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 0 28px rgba(255, 204, 0, 0.35);
}

.svc-showcase-icon i {
    font-size: 1.4rem;
    color: var(--gold);
    transition: color 0.25s ease;
}

.svc-showcase-item:hover .svc-showcase-icon i {
    color: var(--dark);
}

.svc-showcase-item h3 {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.4;
    transition: color 0.25s ease;
}

.svc-showcase-item:hover h3 {
    color: #fff;
}

.svc-showcase-cta {
    text-align: center;
    margin-top: 48px;
}

@media (min-width: 768px) {
    .svc-showcase-header h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    .svc-showcase-header h2 {
        font-size: 1.75rem;
    }
    .svc-showcase-icon {
        width: 60px;
        height: 60px;
    }
    .svc-showcase-icon i {
        font-size: 1.2rem;
    }
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gold-text);
    text-decoration: none;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--gold-hover);
    gap: 10px;
}

.service-link i {
    font-size: 0.75em;
}

/* ================================================================
   16b. SERVICE HERO — Mini hero + 3 boxes
   ================================================================ */

.svc-hero-section {
    position: relative;
    overflow: hidden;
}

.svc-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.svc-hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.svc-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(27, 27, 27, 0.75);
}

.svc-hero-section > .container {
    position: relative;
    z-index: 2;
}

.svc-hero-content {
    max-width: 840px;
    padding: 80px 0 60px;
}

.svc-hero-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}

.svc-hero-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .svc-hero-label {
        font-size: 1.125rem;
    }
}

@media (min-width: 1024px) {
    .svc-hero-content h2 {
        font-size: 2.375rem;
    }
}

.svc-hero-content p {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.70);
    line-height: 1.7;
    margin-bottom: 28px;
}

.svc-boxes-wrapper {
    position: relative;
    z-index: 2;
    background: var(--dark);
    padding: 48px 0;
}

.svc-boxes {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .svc-boxes {
        grid-template-columns: repeat(3, 1fr);
    }
}

.svc-box {
    display: block;
    padding: 32px 28px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: var(--transition);
}

.svc-box:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 204, 0, 0.25);
}

.svc-box h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.svc-box p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.60);
    line-height: 1.65;
    margin-bottom: 14px;
}

.svc-box-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gold);
}

.svc-box--urgent {
    border: 2px solid var(--gold);
    background: rgba(255, 204, 0, 0.12);
}

.svc-box-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gold);
    text-decoration: none;
    margin-bottom: 8px;
}

.svc-box-note {
    display: block;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.45);
}

/* Rental Banner v2 — from live site */
.rental-banner-v2 {
    position: relative;
    padding: 88px 0;
    overflow: hidden;
    background: #111;
}

.rental-banner-bg-img {
    position: absolute;
    inset: 0;
    opacity: 0.22;
    z-index: 0;
}

.rental-banner-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: repeating-linear-gradient(135deg,
        rgba(255, 204, 0, 0.025) 0px,
        rgba(255, 204, 0, 0.025) 1px,
        transparent 1px,
        transparent 64px);
}

.rental-banner-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 1024px) {
    .rental-banner-inner {
        grid-template-columns: 1fr auto;
        gap: 72px;
    }
}

.rental-banner-icon-wrap {
    width: 56px;
    height: 56px;
    background: var(--gold);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow: 0 4px 20px rgba(255, 204, 0, 0.35);
}

.rental-banner-icon-wrap i {
    font-size: 1.5rem;
    color: var(--dark);
}

.rental-banner-tag {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
    display: block;
}

.rental-banner-headline {
    font-size: 2.375rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.12;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .rental-banner-headline {
        font-size: 2.875rem;
    }
}

.rental-banner-sub {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.72;
    margin-bottom: 32px;
    max-width: 520px;
}

.rental-banner-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.rental-banner-right {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 240px;
}

@media (max-width: 1023px) {
    .rental-banner-right {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .rental-banner-stat-card {
        flex: 1;
        min-width: 140px;
    }
}

.rental-banner-stat-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.rental-banner-stat-card:hover {
    background: rgba(255, 204, 0, 0.10);
    border-color: rgba(255, 204, 0, 0.25);
}

.rental-banner-stat-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    background: rgba(255, 204, 0, 0.12);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rental-banner-stat-icon i {
    font-size: 0.9rem;
    color: var(--gold);
}

.rental-banner-stat-num {
    font-size: 1.0625rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 2px;
}

.rental-banner-stat-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.52);
    line-height: 1.35;
}

@media (max-width: 767px) {
    .rental-banner-v2 {
        padding: 64px 0;
    }
    .rental-banner-tag {
        font-size: 0.8rem;
    }
    .rental-banner-headline {
        font-size: 1.875rem;
    }
    .rental-banner-actions {
        flex-direction: column;
    }
    .rental-banner-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* 3-col app grid variant */
.app-img-grid--3col {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .app-img-grid--3col {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ================================================================
   17. CASE STUDIES
   ================================================================ */

.case-studies-section {
    padding: var(--section-pad) 0;
    background-color: var(--light-gray);
}

.case-studies-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 40px;
}

.case-study-card {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.case-study-card:hover {
    border: 2px solid var(--gold);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

/* Case Image Area */
.case-img {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.case-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-study-card:hover .case-img img {
    transform: scale(1.06);
}

.case-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 30%,
        rgba(27, 27, 27, 0.65) 100%
    );
    z-index: 1;
}

.healthcare-case {
    background: linear-gradient(135deg, #1565C0 0%, #0D47A1 50%, #1A237E 100%);
}

.datacenter-case {
    background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 50%, #004D40 100%);
}

.municipal-case {
    background: linear-gradient(135deg, #5D4037 0%, #4E342E 50%, #3E2723 100%);
}

.case-info {
    padding: 24px;
}

/* Case Tags */
.case-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.case-tag {
    display: inline-block;
    padding: 3px 12px;
    background-color: var(--gold-light);
    color: var(--gold-hover);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 100px;
}

.case-info h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 10px;
    line-height: 1.35;
}

.case-info > p {
    font-size: 0.875rem;
    color: var(--body-text);
    line-height: 1.65;
    margin-bottom: 20px;
}

/* Case Metrics */
.case-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 16px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 18px;
}

.case-metric {
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 1.0625rem;
    font-weight: 800;
    color: var(--charcoal);
    margin-bottom: 2px;
}

.metric-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.case-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gold-text);
    text-decoration: none;
    transition: var(--transition);
}

.case-link:hover {
    color: var(--gold-hover);
    gap: 10px;
}

.case-link i {
    font-size: 0.75em;
}

.case-footer {
    text-align: center;
}

@media (min-width: 768px) {
    .case-studies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .case-studies-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .case-img {
        height: 220px;
    }
}


/* ================================================================
   18. WHY CARTER
   ================================================================ */

.why-carter {
    padding: var(--section-pad) 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.why-carter-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.why-carter-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.why-carter-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1B1B1B 0%, #2A2A2A 50%, #1B1B1B 100%);
}

.why-carter .container {
    position: relative;
    z-index: 2;
}

.why-carter-text,
.why-carter-features {
    color: #fff;
}

.why-carter .section-label {
    color: var(--gold);
}

.why-carter h2 {
    color: #fff;
}

.why-carter p {
    color: rgba(255,255,255,0.85);
}

.why-carter .cred-number {
    color: var(--gold);
}

.why-carter .cred-label {
    color: rgba(255,255,255,0.8);
}

.why-carter .wc-feature i {
    color: var(--gold);
}

.why-carter .wc-feature h4 {
    color: #fff;
}

.why-carter .wc-feature p {
    color: rgba(255,255,255,0.8);
}

/* Why Carter — no background image variant */
.why-carter--no-bg {
    background-color: var(--white);
}

.why-carter--no-bg .why-carter-text,
.why-carter--no-bg .why-carter-features {
    color: var(--charcoal);
}

.why-carter--no-bg .section-label {
    color: var(--gold-text);
}

.why-carter--no-bg h2 {
    color: var(--charcoal);
}

.why-carter--no-bg p {
    color: var(--body-text);
}

.why-carter--no-bg .cred-number {
    color: var(--gold-text);
}

.why-carter--no-bg .cred-label {
    color: var(--body-text);
}

.why-carter--no-bg .cred-item {
    background-color: var(--light-gray);
    border: 1px solid var(--border);
}

.why-carter--no-bg .wc-feature i {
    color: var(--gold-text);
}

.why-carter--no-bg .wc-feature h4 {
    color: var(--charcoal);
}

.why-carter--no-bg .wc-feature p {
    color: var(--body-text);
}

.why-carter-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: flex-start;
}

.why-carter-text .section-label {
    display: inline-block;
    margin-bottom: 12px;
}

.why-carter-text h2 {
    font-size: 1.875rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.2;
}

.why-carter-text > p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 36px;
}

/* Credibility Grid */
.credibility-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.cred-item {
    padding: 20px;
    background-color: rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    text-align: center;
}

.cred-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 4px;
    line-height: 1.1;
}

.cred-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--body-text);
    line-height: 1.4;
}

/* Features List */
.why-carter-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wc-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background-color: rgba(255,255,255,0.06);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.wc-feature:hover {
    background-color: rgba(255, 204, 0, 0.12);
}

.wc-feature > i {
    color: var(--gold);
    font-size: 1.125rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.wc-feature h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 4px;
}

.wc-feature p {
    font-size: 0.8125rem;
    color: var(--body-text);
    line-height: 1.6;
}

@media (min-width: 768px) {
    .why-carter-text h2 {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .why-carter-layout {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
        align-items: center;
    }

    .why-carter-text h2 {
        font-size: 2.5rem;
    }
}


/* ================================================================
   17b. WHY CARTER — Accordion Layout (reference-inspired)
   ================================================================ */

.wc-section {
    padding: var(--section-pad) 0;
    background: var(--dark);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.wc-top {
    margin-bottom: 48px;
}

.wc-section .section-label {
    color: var(--gold);
}

.wc-headline {
    font-size: 2.25rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 16px;
}

.wc-intro {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    max-width: 800px;
}

.wc-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
}

@media (min-width: 768px) {
    .wc-grid {
        grid-template-columns: 2fr 3fr;
        gap: 56px;
    }
}

/* Left — Stats + CTA */
.wc-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.wc-stat {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 24px 20px;
    text-align: center;
}

.wc-stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 4px;
}

.wc-stat-lbl {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.50);
    line-height: 1.4;
}

.wc-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--gold);
    color: var(--dark);
    font-size: 0.9375rem;
    font-weight: 700;
    border-radius: var(--radius);
    text-decoration: none;
    transition: background 0.2s;
}

.wc-cta:hover {
    background: var(--gold-hover);
}

/* Right — Accordion Panels */
.wc-right {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.wc-panel {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wc-panel:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.wc-panel-header {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    transition: opacity 0.2s;
}

.wc-panel-header:hover {
    opacity: 0.85;
}

.wc-panel-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 204, 0, 0.10);
    border-radius: 8px;
    flex-shrink: 0;
}

.wc-panel-icon i {
    font-size: 1rem;
    color: var(--gold);
}

.wc-panel--open .wc-panel-icon {
    background: var(--gold);
}

.wc-panel--open .wc-panel-icon i {
    color: var(--dark);
}

.wc-panel-title {
    flex: 1;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.wc-panel-arrow {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
}

.wc-panel--open .wc-panel-arrow {
    transform: rotate(180deg);
    color: var(--gold);
}

.wc-panel-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 0 0 56px;
}

.wc-panel--open .wc-panel-body {
    max-height: 200px;
    padding-bottom: 20px;
}

.wc-panel-body p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 767px) {
    .wc-headline {
        font-size: 1.75rem;
    }
    .wc-panel-title {
        font-size: 0.875rem;
    }
}


/* ================================================================
   19. COVERAGE SECTION
   ================================================================ */

.coverage-section {
    padding: var(--section-pad) 0;
    background-color: var(--light-gray);
}

.coverage-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: flex-start;
}

.coverage-text .section-label {
    display: inline-block;
    margin-bottom: 12px;
}

.coverage-text h2 {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--charcoal);
    margin-bottom: 16px;
    line-height: 1.2;
}

.coverage-text > p {
    font-size: 1rem;
    color: var(--body-text);
    line-height: 1.7;
    margin-bottom: 28px;
}

.coverage-locations {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
}

.location-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.location-item > i {
    color: var(--gold);
    font-size: 0.95rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.location-item strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 2px;
}

.location-item span {
    font-size: 0.8125rem;
    color: var(--text-light);
}

/* Map Placeholder */
.coverage-map {
    width: 100%;
}

.map-placeholder {
    position: relative;
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.map-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    z-index: 0;
}

.map-overlay-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 48px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.map-overlay-content > i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 8px;
}

.map-overlay-content > span {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--charcoal);
}

.map-overlay-content > p {
    font-size: 0.875rem;
    color: var(--body-text);
    max-width: 320px;
    margin-bottom: 12px;
}

.map-search {
    display: flex;
    gap: 10px;
    max-width: 380px;
    width: 100%;
}

.map-search input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.875rem;
    color: var(--charcoal);
    transition: var(--transition);
}

.map-search input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.12);
}

.map-search input::placeholder {
    color: var(--text-light);
}

.map-search .btn {
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .coverage-text h2 {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .coverage-layout {
        grid-template-columns: 1fr 1.2fr;
        gap: 56px;
        align-items: center;
    }

    .coverage-text h2 {
        font-size: 2.5rem;
    }
}


/* ================================================================
   20. CTA SECTION
   ================================================================ */

/* Emergency Power Module — dark charcoal (client preferred) */
.emergency-power-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #1B1B1B 0%, #2A2A2A 50%, #1B1B1B 100%);
}

/* Red variant — swap class to .emergency-power-section--red if needed */
.emergency-power-section--red {
    background: linear-gradient(135deg, #8B1A1A 0%, #A02020 50%, #8B1A1A 100%);
}

.emergency-power-bar {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.emergency-power-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
}

.emergency-power-icon i {
    font-size: 1.5rem;
    color: #FFC107;
}

.emergency-power-text {
    flex: 1;
    min-width: 250px;
}

.emergency-power-text h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 4px;
}

.emergency-power-text p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.emergency-power-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 767px) {
    .emergency-power-bar {
        flex-direction: column;
        text-align: center;
    }
    .emergency-power-actions {
        width: 100%;
        flex-direction: column;
    }
    .emergency-power-actions .btn {
        width: 100%;
    }
}

.cta-section {
    padding: var(--section-pad) 0;
    background: linear-gradient(135deg, #1B1B1B 0%, #2A2A2A 50%, #1B1B1B 100%);
    position: relative;
    overflow: hidden;
}

/* Grid texture removed — clean dark background */

.cta-layout {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-text {
    max-width: 100%;
    margin: 0 auto 48px;
    text-align: center;
}

.cta-text h2 {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 14px;
    line-height: 1.2;
}

.cta-text p {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
}

.cta-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.cta-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px 24px;
    background-color: transparent;
    border: 2px solid rgba(255, 204, 0, 0.35);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: var(--transition);
    text-align: center;
}

.cta-card:hover {
    background-color: rgba(255, 204, 0, 0.08);
    border: none;
    transform: translateY(-3px);
}

.cta-card > i {
    font-size: 1.5rem;
    color: var(--gold);
}

.cta-card h4 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--white);
}

.cta-card p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
}

@media (min-width: 768px) {
    .cta-cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .cta-text h2 {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .cta-text h2 {
        font-size: 2.0rem;
    }
}


/* ================================================================
   21. CONTACT SECTION
   ================================================================ */

.contact-section {
    padding: var(--section-pad) 0;
    background-color: var(--white);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

/* Contact Form */
.contact-form {
    background-color: var(--white);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 28px;
}

.form-grid .form-field label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--charcoal);
}

.form-grid .form-field input,
.form-grid .form-field select,
.form-grid .form-field textarea {
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    color: var(--charcoal);
    background-color: var(--white);
    transition: var(--transition);
    width: 100%;
}

.form-grid .form-field input:focus,
.form-grid .form-field select:focus,
.form-grid .form-field textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.12);
}

.form-grid .form-field input::placeholder,
.form-grid .form-field textarea::placeholder {
    color: var(--text-light);
}

.form-grid .form-field select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235A5A5A' d='M6 8.825L0.575 3.4l0.85-0.85L6 7.125l4.575-4.575 0.85 0.85z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.form-grid .form-field textarea {
    resize: vertical;
    min-height: 100px;
}

.full-width {
    grid-column: 1 / -1;
}

/* Contact Sidebar */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-card {
    padding: 24px;
    background-color: var(--light-gray);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.sidebar-card h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.sidebar-card h4 i {
    color: var(--gold);
    font-size: 0.9rem;
}

.sidebar-card p {
    font-size: 0.875rem;
    color: var(--body-text);
    line-height: 1.6;
    margin-bottom: 4px;
}

.emergency-link {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition);
}

.emergency-link:hover {
    color: var(--gold-hover);
}

.phone-link,
.email-link {
    display: inline-block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition);
}

.phone-link:hover,
.email-link:hover {
    color: var(--gold-hover);
}

.email-link {
    word-break: break-all;
}

@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .contact-layout {
        grid-template-columns: 1.6fr 1fr;
        gap: 48px;
    }
}


/* ================================================================
   22. FOOTER
   ================================================================ */

.footer {
    background-color: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 0;
    border-top: 3px solid var(--gold);
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 0 32px;
}

/* Footer Brand */
.footer-brand {
    max-width: 300px;
}

.footer-logo .logo-carter {
    color: var(--white);
}

.footer-logo .logo-ps {
    color: rgba(255, 255, 255, 0.6);
}

.footer-logo .logo-divider {
    background-color: var(--gold);
}

.footer-brand > p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.90);
    line-height: 1.7;
    margin-top: 16px;
    margin-bottom: 20px;
}

.footer-certifications {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-certifications span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
}

.footer-certifications i {
    color: var(--gold);
    font-size: 0.85rem;
}

/* Footer Nav */
.footer-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.footer-col h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gold);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 0.9375rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--gold);
}

/* Footer Headquarters — beautified */
.footer-col--hq {
    order: -1;
}

.footer-hq-address {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-top: 20px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-hq-address > i {
    color: var(--gold);
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-hq-address strong {
    display: block;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.90);
    margin-bottom: 4px;
}

.footer-hq-address span {
    display: block;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.6;
}

.footer-locations-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 0.8125rem;
    color: var(--gold);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-locations-link:hover {
    color: #fff;
}

.footer-locations-link i {
    font-size: 0.75rem;
}

.footer-hq-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-hq-links a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-hq-links a:hover {
    color: var(--gold);
}

.footer-hq-links a i {
    color: var(--gold);
    font-size: 0.8rem;
    width: 16px;
    text-align: center;
}

.footer-hq-phone {
    font-size: 1.0625rem !important;
    font-weight: 700;
    color: var(--gold) !important;
}

/* Footer Social */
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-social a:hover {
    background: var(--gold);
    color: var(--bg-primary);
    border-color: var(--gold);
    transform: translateY(-2px);
}

/* Footer Bottom */
.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.7;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--gold);
}

.footer-parent {
    margin-top: 4px;
}

@media (min-width: 768px) {
    .footer-nav {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-connect {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.footer-connect a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-connect a:hover {
    color: var(--gold);
}

.footer-connect a i {
    color: var(--gold);
    font-size: 0.8rem;
}

.footer-connect .footer-hq-phone {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold);
}

@media (min-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr 2fr;
        gap: 48px;
        padding: 56px 0 36px;
    }
}


/* ================================================================
   23. ACCESSIBILITY & FOCUS STATES
   ================================================================ */

*:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.35);
}

/* Skip to content (hidden, available on focus) */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    padding: 12px 24px;
    background-color: var(--gold);
    color: var(--white);
    font-weight: 600;
    z-index: 9999;
    border-radius: var(--radius);
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 16px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}


/* ================================================================
   24. PRINT STYLES
   ================================================================ */

@media print {
    .emergency-banner,
    .navbar,
    .hamburger,
    .hero-bg,
    .hero-overlay,
    .hero-actions,
    .hero-trust-bar,
    .btn,
    .cta-section,
    .footer {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
        font-size: 12pt;
    }

    .hero {
        min-height: auto;
        padding: 20px 0;
    }

    .hero-content h1 {
        color: #000;
        font-size: 24pt;
    }

    .container {
        max-width: 100%;
        padding: 0;
    }

    a[href]::after {
        content: ' (' attr(href) ')';
        font-size: 0.8em;
        color: #666;
    }
}


/* ================================================================
   25. UTILITY CLASSES
   ================================================================ */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-gold {
    color: var(--gold);
}

.text-center {
    text-align: center;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }


/* ================================================================
   26. SECTION PADDING RESPONSIVE ADJUSTMENTS
   ================================================================ */

@media (max-width: 767px) {
    .pillars,
    .tools-section,
    .products-section,
    .applications-section,
    .industries-section,
    .documentation-section,
    .svc-showcase,
    .case-studies-section,
    .why-carter,
    .coverage-section,
    .cta-section,
    .contact-section {
        padding: var(--section-pad-sm) 0;
    }

    .section-header {
        margin-bottom: 36px;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-desc {
        font-size: 0.9375rem;
    }

    .hero-content {
        padding: 56px 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.9375rem;
    }

    .hero-actions {
        flex-direction: column;
        margin-bottom: 32px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-trust-bar {
        flex-direction: column;
        gap: 12px;
    }

    /* CTA adjustments */
    .cta-text h2 {
        font-size: 1.5rem;
    }

    .cta-cards {
        gap: 12px;
    }

    /* Coverage */
    .coverage-text h2 {
        font-size: 1.5rem;
    }

    /* Why Carter */
    .why-carter-text h2 {
        font-size: 1.5rem;
    }

    .credibility-grid {
        gap: 12px;
    }

    .cred-number {
        font-size: 1.625rem;
    }

    /* Tab content */
    .tab-content {
        padding: 24px 20px;
    }

    .app-specs {
        grid-template-columns: 1fr;
    }

    .app-actions {
        flex-direction: column;
    }

    .app-actions .btn {
        width: 100%;
    }

    /* Case studies */
    .case-img {
        height: 160px;
    }

    /* Product cards */
    .product-cat-img {
        height: 130px;
    }

    /* Map */
    .map-placeholder {
        min-height: 280px;
        padding: 32px 20px;
    }

    .map-search {
        flex-direction: column;
    }

    .map-search .btn {
        width: 100%;
    }
}


/* ================================================================
   27. ANIMATIONS & MICRO-INTERACTIONS
   ================================================================ */

/* Subtle fade-in for sections (can be triggered via IntersectionObserver in JS) */
.fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Gold underline animation for nav items on larger screens */
@media (min-width: 1024px) {
    .nav-menu > ul > li > a::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 50%;
        width: 0;
        height: 2px;
        background-color: var(--gold);
        transition: width 0.25s ease, left 0.25s ease;
    }

    .nav-menu > ul > li > a:hover::after {
        width: 60%;
        left: 20%;
    }

    .nav-menu > ul > li > a {
        position: relative;
    }
}

/* Pulse animation for emergency phone icon */
@keyframes pulse-gold {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(255, 204, 0, 0);
    }
}


/* ================================================================
   28. SCROLLBAR STYLING (Webkit)
   ================================================================ */

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}


/* ================================================================
   29. BREADCRUMB (for inner pages / future use)
   ================================================================ */

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 0;
    font-size: 0.8125rem;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--body-text);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--gold);
}

.breadcrumb .separator {
    color: var(--border);
    font-size: 0.7em;
}

.breadcrumb .current {
    color: var(--charcoal);
    font-weight: 600;
}


/* ================================================================
   30. HIGH-DPI / RETINA ADJUSTMENTS
   ================================================================ */

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-divider {
        width: 1.5px;
    }
}


/* ================================================================
   31. BACK TO TOP BUTTON
   ================================================================ */

.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 900;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background-color: var(--gold);
    color: var(--white);
    font-size: 1.125rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(255, 204, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.25s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--gold-hover);
    box-shadow: 0 6px 20px rgba(255, 204, 0, 0.45);
    transform: translateY(-3px);
}

.back-to-top:active {
    transform: translateY(0);
}

@media (max-width: 767px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
}


/* ================================================================
   END OF STYLESHEET
   ================================================================ */
