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

:root {
    --red: #c41230;
    --red-dark: #9e0f27;
    --charcoal: #1a1a1a;
    --dark: #111;
    --gray-900: #222;
    --gray-700: #444;
    --gray-400: #bbb;
    --gray-200: #ddd;
    --gray-100: #f2f2f2;
    --white: #fff;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    line-height: 1.6;
    background: var(--white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ─── TOP BAR ─── */
.top-bar {
    background: var(--charcoal);
    color: var(--gray-400);
    font-size: 0.85rem;
    padding: 0.4rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.top-bar a {
    color: var(--gray-200);
    transition: color 0.2s;
}

.top-bar a:hover {
    color: var(--red);
}

.top-bar-right {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

/* ─── NAVBAR ─── */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-brand .brand-icon {
    width: 44px;
    height: 44px;
    background: var(--red);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-brand .brand-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--white);
}

.nav-brand-text {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    color: var(--charcoal);
}

.nav-brand-text span {
    color: var(--red);
}

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

.nav-links li a {
    display: block;
    padding: 0.5rem 1rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-700);
    transition: color 0.2s;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transition: transform 0.2s;
}

.nav-links li a:hover {
    color: var(--red);
}

.nav-links li a:hover::after {
    transform: scaleX(1);
}

.nav-links li a.nav-cta {
    background: var(--red);
    color: var(--white);
    padding: 0.6rem 1.4rem;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.2s;
}

.nav-links li a.nav-cta:hover {
    background: var(--red-dark);
    color: var(--white);
}

.nav-links li a.nav-cta::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: 0.3s;
}

/* ─── HERO ─── */
.hero {
    position: relative;
    height: 62vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--charcoal);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../Images/hitachi-loader-haul.jpg');
    background-size: cover;
    background-position: center 40%;
    filter: brightness(0.35);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 0.5rem 1.5rem;
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero h1 span {
    color: var(--red);
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--gray-200);
    margin-bottom: 2rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
}

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

.btn-primary:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--charcoal);
}

/* ─── STATS BAR ─── */
.stats-bar {
    background: var(--red);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    text-align: center;
}

.stat {
    padding: 1.5rem 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.stat:last-child {
    border-right: none;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 0.3rem;
}

/* ─── SECTIONS ─── */
.section {
    padding: 5rem 2rem;
}

.section-dark {
    background: var(--gray-900);
    color: var(--white);
}

.section-alt {
    background: var(--gray-100);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--red);
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--gray-700);
    font-size: 1.05rem;
}

.section-dark .section-desc {
    color: var(--gray-400);
}

/* ─── SERVICE DIVISIONS ─── */
.divisions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.division-card-featured {
    grid-column: span 1;
}

.division-card-featured .division-card-img {
    height: 280px;
}

.division-card {
    background: var(--white);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.division-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.division-card-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.division-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
    transition: transform 0.4s;
}

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

.division-card-body {
    padding: 1.5rem;
}

.division-card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: var(--charcoal);
}

.division-card-body p {
    color: var(--gray-700);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.division-tag {
    display: inline-block;
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: 3px;
    margin-right: 0.3rem;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ─── ABOUT SPLIT ─── */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.about-img {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

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

.about-text h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--gray-700);
}

.about-checklist {
    list-style: none;
    margin: 1.5rem 0;
}

.about-checklist li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray-700);
}

.about-checklist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 8px;
    height: 8px;
    background: var(--red);
    border-radius: 50%;
}

/* ─── GALLERY ─── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    border-radius: 6px;
    overflow: hidden;
    height: 250px;
    cursor: pointer;
    position: relative;
}

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

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

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-caption {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    z-index: 2;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}

.gallery-tap-hint {
    display: none;
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 2;
    background: rgba(0, 0, 0, 0.55);
    color: var(--white);
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-family: var(--font-body);
    pointer-events: none;
}

/* ─── LIGHTBOX ─── */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--white);
    font-size: 3rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
    padding: 1rem;
}

.lightbox-nav:hover {
    opacity: 1;
}

.lightbox-prev {
    left: 1rem;
}

.lightbox-next {
    right: 1rem;
}

/* ─── CTA BANNER ─── */
.cta-banner {
    background: var(--red);
    text-align: center;
    padding: 4rem 2rem;
}

.cta-banner h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-phone {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--white);
    display: block;
    margin-bottom: 1.5rem;
    transition: opacity 0.2s;
}

.cta-phone:hover {
    opacity: 0.85;
}

.btn-white {
    background: var(--white);
    color: var(--red);
    border-color: var(--white);
    font-weight: 700;
}

.btn-white:hover {
    background: var(--gray-100);
    border-color: var(--gray-100);
}

/* ─── CONTACT SECTION ─── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.contact-item-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--red);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--white);
}

.contact-item-text strong {
    display: block;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    margin-bottom: 0.15rem;
}

.contact-item-text span,
.contact-item-text a {
    color: var(--gray-400);
    font-size: 0.95rem;
}

.contact-item-text a:hover {
    color: var(--red);
}

.contact-form h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-700);
    border-radius: 4px;
    background: var(--gray-900);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

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

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

.form-honeypot {
    display: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-status {
    min-height: 1.5rem;
    margin: 0 0 1rem;
    color: var(--gray-200);
    font-size: 0.95rem;
}

.form-status.success {
    color: #8fd69b;
}

.form-status.error {
    color: #ffb4b4;
}

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

.btn-submit:disabled {
    cursor: wait;
    opacity: 0.7;
}

.contact-map {
    max-width: 1100px;
    margin: 3rem auto 0;
}

/* ─── FOOTER ─── */
.footer {
    background: var(--dark);
    padding: 3rem 2rem 1.5rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--white);
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.footer-links a {
    color: var(--gray-400);
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

.footer-dot {
    max-width: 1200px;
    margin: 1rem auto 0;
    text-align: center;
    color: var(--gray-400);
    font-size: 0.8rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0.5rem auto 0;
    text-align: center;
    color: var(--gray-700);
    font-size: 0.8rem;
}

.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;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
    .top-bar {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li a {
        padding: 0.75rem 2rem;
    }

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

    .about-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .division-card-featured .division-card-img {
        height: 220px;
    }

    .gallery-tap-hint {
        display: block;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .hero {
        height: 55vh;
        min-height: 400px;
    }

    .section {
        padding: 3rem 1.25rem;
    }

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

    .gallery-item {
        height: 180px;
    }

    .stats-bar {
        grid-template-columns: 1fr 1fr;
    }
}
