/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #e63946;
    --secondary-color: #1d3557;
    --dark-color: #1a1a1a;
    --light-color: #f5f5f5;
    --text-color: #333;
    --text-light: #666;
    --white: #ffffff;
    --wasabi-green: #9ccc65;
    --transition: all 0.3s ease;
    --card-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    --card-shadow-hover: 0 6px 20px rgba(0, 0, 0, 0.1);
    /* Content cards (Why Choose / feature-card baseline) */
    --radius: 12px;
    --radius-sm: 8px;
    /* Sticky header clearance (~80px) +40px gap for in-page / menu hash links */
    --anchor-scroll-margin: 120px;
}

html {
    scroll-padding-top: var(--anchor-scroll-margin);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    font-size: 15px;
}

p {
    font-size: 15px;
    line-height: 1.6;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Full viewport-width inner wrapper (content uses full browser width with side padding) */
.container.container--full-bleed {
    max-width: none;
    width: 100%;
    margin: 0 auto;
    padding-left: clamp(20px, 4vw, 56px);
    padding-right: clamp(20px, 4vw, 56px);
    box-sizing: border-box;
}

/* In-page / menu hash targets: align below sticky header with extra 40px gap */
.contractor-model[id],
.category-card.hw-card[id],
tr.spec-row[id],
.gt-quickload-panel[id],
.service-detail.boat-range-section[id],
.feature-section[id],
section.page-header[id],
section.hero[id],
section.about[id],
section.accessories-section[id],
section.contact[id],
section.category-showcase[id],
section.brand-section[id],
div#quote,
#boat-trailer-specifications {
    scroll-margin-top: var(--anchor-scroll-margin);
}

/* Boat size sections (small / medium / large) — light band for separation */
.service-detail.boat-range-section {
    background: #e8ebf0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Boat range: CTA button + back to top */
.boat-range-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    margin-top: 4px;
    margin-bottom: 24px;
}

.boat-range-spec-btn {
    flex: 1 1 auto;
    min-width: min(100%, 220px);
    max-width: 100%;
    line-height: 1.45;
    padding: 14px 22px;
    text-decoration: none;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.boat-range-back-link {
    flex-shrink: 0;
    white-space: nowrap;
    margin-left: auto;
    font-weight: 600;
}

/* ===== HEADER ===== */
.header {
    background: var(--secondary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding-top: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header.scrolled {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.navbar {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
    height: 80px;
    gap: 12px;
}

.navbar-start {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    gap: 12px 16px;
}

.nav-phone {
    list-style: none;
}

.logo a {
    display: inline-block;
    text-decoration: none;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.35px;
    padding: 28px 10px;
    display: block;
    white-space: nowrap;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10px;
    right: 10px;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    transform: scaleX(1);
}

.nav-menu a:hover {
    color: var(--primary-color);
}

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

.nav-menu .nav-phone-link {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.3px;
    text-transform: none;
    padding: 28px 8px 28px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    position: relative;
    transition: color 0.2s ease;
}

.nav-menu .nav-phone-link:hover {
    color: var(--white);
}

.nav-menu .nav-phone-link::after,
.nav-menu .nav-phone-link:hover::after {
    display: none;
}

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

.nav-menu .dropdown > a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-menu .dropdown > a i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.nav-menu .dropdown:hover > a i {
    transform: rotate(180deg);
}

.nav-menu .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    list-style: none;
    padding: 8px 0;
    margin: 0;
    border: 1px solid #e5e5e5;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: all 0.2s ease;
    z-index: 1100;
}

.nav-menu .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .dropdown-menu li {
    margin: 0;
    padding: 0;
}

.nav-menu .dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
    font-size: 13px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    text-align: left;
    transition: all 0.2s ease;
}

.nav-menu .dropdown-menu a::after {
    display: none;
}

.nav-menu .dropdown-menu a:hover {
    background: var(--light-color);
    color: var(--primary-color);
    padding-left: 24px;
}

/* Contractor dropdown — load-capacity badge */
.contractor-dropdown {
    min-width: 280px;
}
.ct-cap {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 7px;
    background: #1a3a5c;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 10px;
    letter-spacing: 0.02em;
    vertical-align: middle;
    line-height: 1.6;
}
.ct-cap--lead {
    margin-left: 0;
    margin-right: 6px;
}
.nav-menu .dropdown-menu a:hover .ct-cap {
    background: var(--secondary-color, #e63929);
}

/* Mobile dropdown styles */
@media (max-width: 768px) {
    .nav-menu .dropdown > a {
        justify-content: center;
    }

    .nav-menu .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: rgba(255, 255, 255, 0.05);
        margin: 0;
        padding: 0;
        display: none;
    }

    .nav-menu .dropdown.active .dropdown-menu {
        display: block;
    }

    .nav-menu .dropdown-menu a {
        padding: 12px 20px;
        color: var(--white);
        font-size: 14px;
        text-align: center;
    }

    .nav-menu .dropdown-menu a:hover {
        background: rgba(255, 255, 255, 0.1);
        padding: 12px 20px;
    }
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    margin-left: auto;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: var(--white);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
    background: var(--white);
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 75vh;
    min-height: 500px;
    max-height: 700px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-image {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.35);
}

.slide-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    color: var(--white);
    text-align: center;
}

.slide-content .container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 30px;
    width: 100%;
}

.slide-subtitle {
    display: inline-block;
    background: var(--primary-color);
    padding: 6px 18px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.slide-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slide-description {
    font-size: 16px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 13px;
    letter-spacing: 0.5px;
    border-radius: var(--radius-sm);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #c1121f;
    transform: translateY(-1px);
}

.hero-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    left: 0;
    pointer-events: none;
}

.hero-controls button {
    pointer-events: all;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    width: 48px;
    height: 48px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-controls button:hover {
    background: rgba(255, 255, 255, 0.25);
}

.hero-indicators {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary-color);
    width: 28px;
    border-radius: 5px;
}

/* ===== SECTION HEADINGS (Treadway style - centered, uppercase) ===== */
.section-heading {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark-color);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 16px;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

.section-heading--left {
    text-align: left;
}

.section-heading--left::after {
    left: 0;
    transform: none;
}

.section-description {
    text-align: center;
    color: var(--text-light);
    font-size: 15px;
    max-width: 600px;
    margin: -20px auto 40px;
}

/* Legacy subtitle support */
.section-subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--dark-color);
    letter-spacing: -0.3px;
}

/* ===== CATEGORY SHOWCASE (Treadway-style image overlay cards) ===== */
.category-showcase {
    padding: 60px 0;
    background: var(--white);
}

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

.category-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: block;
    text-decoration: none;
    cursor: pointer;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    transition: box-shadow 0.3s ease;
}

.category-card:hover {
    box-shadow: var(--card-shadow-hover);
}

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

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

/* Shop by category: show full hero without cropping (e.g. wide contractor banner) */
.category-card--contain {
    background: var(--white);
}

.category-card--contain img {
    object-fit: contain;
    object-position: center;
    padding: clamp(10px, 4%, 24px);
    box-sizing: border-box;
}

.category-card--contain:hover img {
    transform: scale(1.03);
}

/* Trailer hardware tile: image ~30% smaller, centred in the square */
.category-card.category-card--hardware {
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-card.category-card--hardware img {
    width: 70%;
    height: 70%;
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
    object-position: center;
}

.category-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 11px 20px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 60px 0;
    background: var(--light-color);
}

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

/* Baseline content card: white panel + soft shadow + radius (Why Choose GT Trailers) */
.feature-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: var(--radius);
    transition: box-shadow 0.3s ease;
    box-shadow: var(--card-shadow);
}

.feature-card:hover {
    box-shadow: var(--card-shadow-hover);
}

.feature-icon {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: none;
    margin: 0 auto 20px;
    overflow: hidden;
    background: var(--white);
    padding: 0;
    box-sizing: border-box;
    border-radius: var(--radius-sm);
}

.feature-icon img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 14px;
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 80px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.7;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin: 30px 0;
}

.stat-item {
    text-align: center;
    background: var(--white);
    padding: 22px 16px;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    transition: box-shadow 0.3s ease;
}

.about-stats .stat-item:hover {
    box-shadow: var(--card-shadow-hover);
}

.stat-number {
    font-size: 40px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 80px 0;
    background: var(--light-color);
}

/* Home: trailer accessories image grid */
.accessories-section {
    padding: 60px 0;
    background: var(--white);
}

.accessories-showcase {
    margin-top: 0;
    margin-bottom: 0;
    width: 100%;
}

.accessories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    background: transparent;
    border: none;
    overflow: visible;
}

.accessory-cell {
    background: var(--white);
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    transition: box-shadow 0.3s ease;
}

.accessory-cell:hover {
    box-shadow: var(--card-shadow-hover);
}

.accessory-cell img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: center;
    display: block;
    flex-shrink: 0;
    background: var(--white);
    box-sizing: border-box;
}

.accessory-cell-label {
    padding: 11px 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    background: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    line-height: 1.35;
}

.accessories-grid .accessory-cell {
    cursor: pointer;
}

.accessories-grid .accessory-cell:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.accessories-grid .accessory-cell:focus:not(:focus-visible) {
    outline: none;
}

.accessories-grid .accessory-cell:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.accessory-modal__frame {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: min(96vw, 1400px);
}

.accessory-modal__caption {
    margin: 14px 0 0;
    padding: 0 12px;
    text-align: center;
    color: rgba(255, 255, 255, 0.94);
    font-size: clamp(15px, 2.4vw, 18px);
    font-weight: 600;
    line-height: 1.35;
    max-width: 90vw;
}

/* Boat trailers page: left-aligned intro + Quickload block above cards */
.services-intro--left {
    text-align: left;
}

.services-intro--left .section-title {
    text-align: left;
    margin-bottom: 12px;
}

.services-intro--left .services-intro-text {
    font-size: 15px;
    color: var(--text-light);
    max-width: 900px;
    margin: 0;
    line-height: 1.7;
}

.services .gt-quickload-panel {
    margin-top: 28px;
    margin-bottom: 16px;
    text-align: left;
}

.services .gt-quickload-panel .gt-quickload-heading {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-color);
    letter-spacing: -0.3px;
}

.services .gt-quickload-panel .gt-quickload-subheading {
    margin-top: 4px;
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary-color);
    padding-bottom: 6px;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
}

.services .gt-quickload-panel .gt-quickload-panel__lead {
    margin: 0 0 8px;
    color: var(--text-color);
    line-height: 1.55;
    font-size: 15px;
}

.services .gt-quickload-panel .gt-quickload-panel__lead--muted {
    margin-bottom: 12px;
    color: var(--text-light);
}

/* 2×2 grid: wider cards suit landscape trailer photos */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 28px;
    margin-top: 0;
}

.service-card {
    background: var(--white);
    overflow: hidden;
    border-radius: var(--radius);
    transition: box-shadow 0.3s ease;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    box-shadow: var(--card-shadow-hover);
}

.service-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    flex-shrink: 0;
    background: #e8eaef;
    position: relative;
    box-sizing: border-box;
}

.service-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-image img {
    opacity: 0.92;
}

.service-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

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

.service-content p {
    color: var(--text-light);
    margin-bottom: 14px;
    line-height: 1.6;
    font-size: 14px;
}

/* Card CTAs: red rounded button, white label */
.service-content .service-link,
.service-content a.service-link:visited {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    margin-top: auto;
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: background 0.2s ease, border-color 0.2s ease, gap 0.2s ease, transform 0.2s ease;
}

.service-content .service-link:hover {
    background: #c1121f;
    border-color: #c1121f;
    color: var(--white);
    gap: 12px;
}

.service-content .service-link:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 3px;
}

/* Text-style links that reuse .service-link (e.g. boat page back to top) */
.service-link.boat-range-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 0;
    padding: 0;
    background: transparent;
    color: var(--secondary-color);
    border: none;
    border-radius: 0;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 600;
    font-size: inherit;
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
}

.service-link.boat-range-back-link:hover {
    color: var(--primary-color);
    gap: 12px;
    background: transparent;
    border: none;
}

/* ===== BANNER SECTION (Full-width image band) ===== */
.banner-section {
    position: relative;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.35);
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 600px;
    padding: 0 30px;
}

.banner-content h2 {
    font-size: 36px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.banner-content p {
    font-size: 16px;
    margin-bottom: 24px;
    opacity: 0.9;
    line-height: 1.6;
}

/* ===== HARDWARE BANNER (split: image left, content right) ===== */
.hardware-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 360px;
}

.hardware-banner__image {
    overflow: hidden;
    background: var(--light-color);
}

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

.hardware-banner__content {
    background: var(--secondary-color);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px;
}

.hardware-banner__content h2 {
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hardware-banner__content h2 i {
    color: var(--primary-color);
    font-size: 24px;
}

.hardware-banner__content p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
}

.hardware-banner__content .btn-primary {
    align-self: flex-start;
}

@media (max-width: 768px) {
    .hardware-banner {
        grid-template-columns: 1fr;
    }

    .hardware-banner__image {
        height: 260px;
    }

    .hardware-banner__content {
        padding: 32px 24px;
    }
}

/* ===== STATS SECTION ===== */
.stats {
    padding: 60px 0;
    background: var(--secondary-color);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 320px));
    gap: 30px;
    justify-content: center;
    width: 100%;
}

.stat-box {
    text-align: center;
    background: var(--white);
    padding: 28px 20px;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    transition: box-shadow 0.3s ease;
}

.stat-box:hover {
    box-shadow: var(--card-shadow-hover);
}

.stat-icon {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.stat-box .stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.stat-box .stat-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-light);
    font-weight: 500;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 80px 0;
    background: var(--light-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    background: var(--white);
    padding: 30px 28px;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    transition: box-shadow 0.3s ease;
}

.contact-info:hover {
    box-shadow: var(--card-shadow-hover);
}

.contact-details {
    margin-top: 0;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-item i {
    font-size: 20px;
    color: var(--primary-color);
    margin-top: 4px;
}

.contact-item h4 {
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--secondary-color);
    font-weight: 600;
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 14px;
}

.contact-form {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    transition: box-shadow 0.3s ease;
}

.contact-form:hover {
    box-shadow: var(--card-shadow-hover);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form-group textarea {
    resize: vertical;
}

.map-container {
    margin-top: 40px;
    overflow: hidden;
    height: 400px;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: var(--secondary-color);
    color: var(--white);
    padding: 40px 0 36px;
    margin-top: 0;
}

.page-header + .services {
    padding-top: 60px;
}

.breadcrumb {
    font-size: 13px;
    margin-bottom: 10px;
    opacity: 0.8;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.breadcrumb span {
    margin: 0 8px;
    opacity: 0.6;
}

.page-header h1 {
    font-size: 36px;
    font-weight: 700;
    margin: 0;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== SERVICE DETAIL SECTION ===== */
.service-detail {
    padding: 48px 0;
    background: var(--light-color);
}

.layout-alt-link {
    text-align: center;
    margin: 3rem 0 0;
    font-size: 0.8125rem;
    color: var(--text-light);
}

.layout-alt-link a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.layout-alt-link a:hover {
    color: var(--secondary-color);
}

.service-detail--full-bleed {
    width: 100%;
    max-width: 100vw;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.service-detail-content.hardware-full-width {
    grid-template-columns: 1fr;
}

.service-detail-content.hardware-full-width .service-detail-text {
    max-width: 100%;
    width: 100%;
    text-align: center;
}

/* Header Row: Image + Heading/Description */
.service-header-row {
    display: grid;
    /* minmax(0, 1fr) prevents column blow-out from large images overlapping the text column */
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
    margin-bottom: 28px;
}

/* Digger trailer page: animated hero ~2/3 width, heading + copy ~1/3 */
.service-header-row.service-header-row--digger-hero {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}

.service-header-row .service-detail-image {
    position: relative;
    aspect-ratio: 16 / 9;
    padding: 0;
    align-self: stretch;
    min-width: 0;
    max-width: 100%;
    width: 100%;
}

.service-header-row .service-detail-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-width: 0;
    object-fit: cover;
    object-position: center;
}

.service-header-row .service-header-text {
    min-width: 0;
}

.service-header-text h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--secondary-color);
    line-height: 1.2;
}

.service-header-text p {
    font-size: 15px;
    color: var(--text-color);
    line-height: 1.55;
    font-weight: 500;
    margin: 0 0 0.5rem;
}

.service-header-text p:last-child {
    margin-bottom: 0;
}

/* Features Grid: Three columns */
.service-detail .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

/* Jetski page: model card (image + options) + specs column */
.service-detail .jetski-features-grid {
    grid-template-columns: repeat(2, 1fr);
}

.jetski-model-options h3 {
    margin-bottom: 12px;
}

.jetski-model-options__media {
    margin-bottom: 20px;
    overflow: hidden;
    background: var(--white);
    padding: 12px;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
}

.jetski-model-options__img {
    width: 100%;
    height: auto;
    display: block;
}

.jetski-model-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 0;
}

.jetski-model-cards .model-card {
    margin: 0;
    height: 100%;
}

.jetski-specs-panel h3 {
    margin-top: 0;
}

/* Jetski features grid — span full container width */
.jetski-features-grid {
    width: 100%;
}

@media (max-width: 992px) {
    .jetski-features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .jetski-model-cards {
        grid-template-columns: 1fr;
    }

    .accessories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-detail .features-grid .feature-section:only-child {
    grid-column: span 2;
}

.service-detail-image {
    overflow: hidden;
    background: var(--white);
    padding: 16px;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
}

.service-detail-content .service-detail-image {
    position: sticky;
    top: 20px;
}

.service-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.service-detail-text h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--secondary-color);
    line-height: 1.2;
}

.service-detail-text > p:first-of-type {
    font-size: 15px;
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 30px;
    font-weight: 500;
}

.service-detail-text h3 {
    font-size: 20px;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 16px;
    color: var(--secondary-color);
    padding-bottom: 8px;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
}

.service-detail-text h4 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--dark-color);
}

.service-detail-text p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 16px;
    font-size: 15px;
}

/* Feature Cards */
.feature-section {
    background: var(--white);
    padding: 16px 18px;
    margin-top: 0;
    border-left: 3px solid var(--primary-color);
    height: 100%;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    transition: box-shadow 0.3s ease;
}

.feature-section:hover {
    box-shadow: var(--card-shadow-hover);
}

.feature-section.full-width {
    margin-top: 20px;
}

/* Contractor page: two columns above full-width model table */
.contractor-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-section h3 {
    margin-top: 0;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--secondary-color);
    padding-bottom: 6px;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
}

.feature-section p {
    margin-bottom: 6px;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.5;
}

.feature-section p:last-child {
    margin-bottom: 0;
}

/* Editable specification tables */
.spec-table-section {
    margin-top: 24px;
}

.spec-table-title {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #8aa8bc;
    margin-bottom: 8px;
}

.spec-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid rgba(90, 110, 130, 0.2);
    border-radius: var(--radius-sm);
    background: var(--white);
    box-shadow: var(--card-shadow);
}

table.spec-table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    font-size: 14px;
}

table.spec-table.spec-table--wide {
    min-width: 760px;
}

.spec-table-footnote {
    margin-top: 12px;
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.6;
}

table.spec-table thead th {
    background: var(--secondary-color);
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.06em;
    font-size: 12px;
    padding: 12px 16px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

table.spec-table tbody td {
    background: var(--white);
    border: 1px solid #e5e5e5;
    padding: 12px 16px;
    vertical-align: middle;
    color: var(--text-color);
}

table.spec-table tbody tr:last-child td {
    border-bottom: 1px solid #e5e5e5;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 6px 0 0;
}

.service-list li {
    padding: 5px 0 5px 28px;
    position: relative;
    color: var(--text-color);
    line-height: 1.45;
    font-size: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: padding-left 0.2s ease;
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li:hover {
    padding-left: 30px;
    color: var(--secondary-color);
}

.service-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0.35em;
    color: var(--primary-color);
    font-size: 13px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Key features / spec lists: two columns on wide screens */
.service-list.service-list--two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 clamp(20px, 3vw, 40px);
    row-gap: 0;
    align-items: start;
}

.service-list.service-list--two-cols li:nth-last-child(-n + 2) {
    border-bottom: none;
}

@media (max-width: 768px) {
    .service-list.service-list--two-cols {
        grid-template-columns: 1fr;
    }

    .service-list.service-list--two-cols li:nth-last-child(-n + 2) {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .service-list.service-list--two-cols li:last-child {
        border-bottom: none;
    }
}

/* Model Cards */
.model-card {
    background: var(--white);
    padding: 12px 14px;
    margin: 6px 0;
    border-left: 3px solid var(--secondary-color);
    border-radius: var(--radius-sm);
    box-shadow: var(--card-shadow);
    transition: box-shadow 0.3s ease;
}

.model-card:hover {
    box-shadow: var(--card-shadow-hover);
}

.model-card strong {
    color: var(--secondary-color);
    font-size: 16px;
    display: block;
    margin-bottom: 4px;
}

.product-section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #e5e5e5;
}

.product-section__aka {
    font-weight: 600;
    color: #64748b;
    font-size: 0.92em;
}

.digamax-card-hero {
    margin: 4px auto 20px;
    width: 100%;
    max-width: min(100%, 900px);
    border-radius: var(--radius-sm, 8px);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    box-sizing: border-box;
}

.digamax-card-hero img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    vertical-align: middle;
}

.features-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.features-two-column--tight-top {
    margin-top: 16px;
}

@media (max-width: 768px) {
    .features-two-column {
        grid-template-columns: 1fr;
    }
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
    margin-top: 24px;
}

.product-detail-image {
    overflow: hidden;
}

.product-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.product-detail-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Hardware page gallery — reuses Shop By Category layout (.category-grid + .category-card + .category-label) */
.service-detail-content.hardware-full-width .hardware-gallery-grid {
    margin-top: 30px;
}

/* Legacy hardware-item styles (kept for other pages if needed) */
.hardware-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 30px;
}

.hardware-item {
    background: var(--white);
    padding: 24px;
    border-left: 3px solid var(--primary-color);
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    transition: box-shadow 0.3s ease;
}

.hardware-item:hover {
    box-shadow: var(--card-shadow-hover);
}

.hardware-item h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.hardware-item p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 14px;
}

.hardware-images-section {
    margin-top: 48px;
    padding-top: 30px;
    border-top: 1px solid #e5e5e5;
}

.hardware-images-grid {
    display: grid;
    gap: 24px;
    margin-top: 16px;
}

.hardware-image-item {
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    background: var(--white);
    transition: box-shadow 0.3s ease;
}

.hardware-image-item:hover {
    box-shadow: var(--card-shadow-hover);
}

.hardware-image-item img {
    width: 100%;
    height: auto;
    display: block;
}

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

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

    .hardware-images-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Parts & Accessories Grid */
.parts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.parts-card {
    background: var(--white);
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    transition: box-shadow 0.3s ease;
}

.parts-card:hover {
    box-shadow: var(--card-shadow-hover);
}

.jetski-parts-grid .parts-card {
    cursor: pointer;
}

.parts-card__img {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.jetski-parts-grid .parts-card__img {
    cursor: zoom-in;
}

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

.parts-card__name {
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    color: var(--secondary-color);
}

.parts-card__subline {
    padding: 0 14px 12px;
    margin: -6px 0 0;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    color: var(--text-light);
    line-height: 1.35;
}

@media (max-width: 992px) {
    .parts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 16px;
}

.gallery-grid.gallery-grid--cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.gallery-grid.gallery-grid--cols-5 .gallery-thumb {
    min-width: 0;
}

.gallery-thumb {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-sm);
    box-shadow: var(--card-shadow);
    transition: box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-thumb:hover {
    box-shadow: var(--card-shadow-hover);
}

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

/* Gallery lightbox modal */
.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(12px, 4vw, 32px);
    box-sizing: border-box;
}

.gallery-modal[hidden] {
    display: none !important;
}

.gallery-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 20, 40, 0.88);
    cursor: pointer;
}

.gallery-modal__inner {
    position: relative;
    z-index: 1;
    max-width: min(96vw, 1400px);
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal__img {
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.gallery-modal__close,
.gallery-modal__prev,
.gallery-modal__next {
    position: absolute;
    border: none;
    cursor: pointer;
    font: inherit;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease, background 0.2s ease;
    z-index: 2;
}

.gallery-modal__close {
    top: -8px;
    right: -8px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--secondary-color);
    font-size: 24px;
    font-weight: 300;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.gallery-modal__close:hover {
    background: var(--white);
}

.gallery-modal__prev,
.gallery-modal__next {
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--secondary-color);
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.gallery-modal__prev:hover,
.gallery-modal__next:hover {
    background: var(--white);
}

.gallery-modal__prev {
    left: clamp(-48px, -4vw, -12px);
}

.gallery-modal__next {
    right: clamp(-48px, -4vw, -12px);
}

@media (max-width: 768px) {
    .gallery-modal__prev {
        left: 4px;
    }

    .gallery-modal__next {
        right: 4px;
    }

    .gallery-modal__close {
        top: 8px;
        right: 8px;
    }
}

@media (max-width: 992px) {
    .gallery-grid:not(.gallery-grid--cols-5) {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .gallery-grid:not(.gallery-grid--cols-5) {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* ===== PRODUCTS SECTION ===== */
.products {
    padding: 80px 0;
    background: var(--light-color);
}

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

.product-card {
    background: var(--white);
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    transition: box-shadow 0.3s ease;
}

.product-card:hover {
    box-shadow: var(--card-shadow-hover);
}

.product-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e8eaef;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    box-sizing: border-box;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-image img {
    opacity: 0.92;
}

.product-content {
    padding: 24px;
}

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

.product-content p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 14px;
}

/* ===== FOOTER (Treadway 3-tier style) ===== */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 48px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 36px;
}

.footer-column--brand {
    padding-right: 20px;
}

.footer-logo img {
    height: 50px;
    width: auto;
    margin-bottom: 16px;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    font-size: 14px;
    margin-top: 0;
}

.footer-column h4,
.footer-column .footer-heading {
    font-size: 15px;
    margin-bottom: 16px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.footer-dropdown-toggle {
    cursor: pointer;
    position: relative;
}

.footer-dropdown-toggle a {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.2s ease;
}

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

.footer-dropdown-toggle i {
    font-size: 11px;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.footer-dropdown-toggle.active i {
    transform: rotate(180deg);
}

.footer-dropdown-menu {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.footer-dropdown-toggle.active + .footer-dropdown-menu {
    max-height: 500px;
    opacity: 1;
}

@media (min-width: 769px) {
    .footer-dropdown-menu {
        max-height: none;
        opacity: 1;
        overflow: visible;
    }

    .footer-dropdown-toggle i {
        display: none;
    }
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 14px;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.footer-contact-list li i {
    color: var(--primary-color);
    margin-top: 3px;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.footer-contact-list li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px 24px;
    align-items: center;
    padding: 16px 0;
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
}

.footer-bottom p {
    margin: 0;
    font-size: 13px;
}

.footer-copyright {
    text-align: left;
}

.footer-credit {
    text-align: right;
    justify-self: end;
}

.footer-credit a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-credit a:hover {
    color: var(--wasabi-green);
}

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

    .footer-copyright {
        text-align: center;
    }

    .footer-credit {
        justify-self: end;
        text-align: right;
    }
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet */
@media (max-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 300px));
        gap: 24px;
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .navbar {
        height: 64px;
    }

    .logo img {
        height: 44px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background: var(--secondary-color);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.2);
        padding: 80px 20px 20px;
        gap: 4px;
        justify-content: flex-start;
        overflow-y: auto;
        z-index: 999;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        width: 100%;
        text-align: center;
        font-size: 15px;
        padding: 14px 20px;
        color: var(--white);
        background: rgba(255, 255, 255, 0.08);
    }

    .nav-menu a::after {
        display: none;
    }

    .nav-menu a:hover {
        background: rgba(255, 255, 255, 0.15);
        color: var(--white);
    }

    .nav-menu a.active {
        background: var(--primary-color);
        color: var(--white);
    }

    .nav-phone .nav-phone-link {
        justify-content: center;
        color: var(--white);
        padding: 14px 20px;
        width: 100%;
        font-weight: 700;
        background: rgba(255, 255, 255, 0.1);
    }

    .nav-phone .nav-phone-link:hover {
        color: var(--white);
        background: rgba(255, 255, 255, 0.2);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero {
        height: 60vh;
        min-height: 400px;
    }

    .slide-title {
        font-size: 28px;
    }

    .slide-description {
        font-size: 14px;
    }

    .slide-subtitle {
        font-size: 11px;
    }

    .section-heading {
        font-size: 22px;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .category-label {
        padding: 8px 10px;
        font-size: 13px;
        letter-spacing: 0.35px;
        line-height: 1.2;
    }

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

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-stats {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 24px;
    }

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

    .banner-section {
        height: 300px;
    }

    .banner-content h2 {
        font-size: 24px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        max-width: 560px;
        margin-inline: auto;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .service-detail-content,
    .product-detail-grid {
        grid-template-columns: 1fr;
    }

    .service-header-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        margin-bottom: 30px;
    }

    .service-header-row.service-header-row--digger-hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .service-detail .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-detail .features-grid .feature-section:only-child {
        grid-column: span 1;
    }

    .service-detail-image {
        position: static;
        padding: 12px;
    }

    .service-header-row .service-detail-image {
        position: relative;
        padding: 0;
    }

    .service-header-text h2,
    .service-detail-text h2 {
        font-size: 26px;
    }

    .feature-section {
        padding: 18px;
    }

    .model-card {
        padding: 14px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .slide-title {
        font-size: 24px;
    }

    .category-card {
        aspect-ratio: 4 / 3;
    }

    .category-label {
        padding: 7px 8px;
        font-size: 12px;
        letter-spacing: 0.25px;
    }

    .section-heading {
        font-size: 20px;
    }

    .section-title {
        font-size: 28px;
    }

    .stat-number {
        font-size: 32px;
    }

    .stat-box .stat-number {
        font-size: 36px;
    }

    .map-container {
        height: 300px;
    }

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

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-color);
}
