/* TYPOGRAPHY */
body {
    font-family: "Lineto Circular", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.4;
    color: rgba(0, 0, 0, 0.69);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
    color: rgba(0,0,0,0.85);
    font-weight: 500;
    margin-top: 0;
}

h1 {
    font-size: 3rem;
    line-height: 120%;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

a {
    color: #0071E3;
    text-decoration: none;
}

a:hover {
    color: #2563BE;
}

/* COLORS & BASICS */
* {
    box-sizing: border-box;
}

/* NAVBAR */
nav {
    background: #fff;
    border-bottom: 1px solid #E5E5E5;
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 72px;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-links a {
    color: rgba(0,0,0,0.85);
    font-weight: 500;
    font-size: 0.95rem;
    margin: 0 1rem;
}

.nav-links {
    display: flex;
    align-items: center;
}

#mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: black;
}

.nav-links a:hover {
    color: #0071E3;
}

.btn-quote {
    background-color: #0071E3;
    color: white !important;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    transition: background 0.2s;
}

.btn-quote:hover {
    background-color: #005BB5;
}

/* HERO */
.hubs-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 4rem auto;
    padding: 0 2rem;
    gap: 2rem;
}

.hubs-hero-text {
    flex: 1;
    max-width: 500px;
}

.hubs-hero-text ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.hubs-hero-text li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: rgba(0,0,0,0.85);
}

.hubs-hero-text li::before {
    content: '✓';
    color: #009669;
    font-weight: bold;
}

.hubs-hero-img {
    flex: 1;
    text-align: right;
}

.hubs-hero-img img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* LOGO STRIP */
.trust-strip {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid #E5E5E5;
    border-bottom: 1px solid #E5E5E5;
    background: #fff;
}

.trust-strip p {
    font-size: 0.85rem;
    color: #707070;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.trust-logos {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    opacity: 0.6;
    filter: grayscale(100%);
}

/* PROCESS GRID */
.process-section {
    background: #F5F5F7;
    padding: 5rem 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hubs-card {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
}

.hubs-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.hubs-card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
}

.hubs-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.hubs-card p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.hubs-card-link {
    color: #0071E3;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* INTERACTIVE GALLERY CARDS */
.gallery-section {
    padding: 5rem 0;
    background: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.gallery-slide {
    position: relative;
    height: 375px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: #F5F5F7;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    transition: all 0.3s;
}

.gallery-slide.open .gallery-overlay {
    background: rgba(0,0,0,0.9);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.gallery-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    font-size: 1.1rem;
}

.gallery-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.gallery-slide.open .gallery-content {
    max-height: 300px;
    margin-top: 1rem;
}

.gallery-content table {
    width: 100%;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
}

.gallery-content td {
    padding: 0.25rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.gallery-content td:first-child {
    width: 40%;
    color: rgba(255,255,255,0.5);
}

/* HUB MEGA FOOTER */
footer {
    background: #F5F5F7;
    padding: 4rem 0 2rem;
    border-top: 1px solid #E5E5E5;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    gap: 2rem;
}

.footer-col h5 {
    color: rgba(0,0,0,0.85);
    font-weight: 500;
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

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

.footer-col li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: rgba(0,0,0,0.69);
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: #0071E3;
}

/* TABLES */
.hubs-table {
    width: 100%;
    border-collapse: collapse;
    max-width: 1280px;
    margin: 2rem auto;
}

.hubs-table th {
    text-align: left;
    padding: 1rem;
    border-bottom: 2px solid #E5E5E5;
    color: rgba(0,0,0,0.85);
    font-weight: 500;
}

.hubs-table td {
    padding: 1rem;
    border-bottom: 1px solid #E5E5E5;
    vertical-align: top;
    color: rgba(0,0,0,0.69);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hubs-hero {
        flex-direction: column;
        text-align: center;
        margin: 2rem auto;
    }
    
    .hubs-hero-text {
        max-width: 100%;
    }
    
    .hubs-hero-text ul {
        text-align: left;
        display: inline-block;
    }
    
    .hubs-hero-img {
        text-align: center;
    }
    
    .process-grid, .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    #mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-links.mobile-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 1rem 0;
        border-bottom: 1px solid #E5E5E5;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        z-index: 1001;
        max-height: calc(100vh - 72px);
        overflow-y: auto;
    }
    
    .dropdown-menu {
        display: none !important;
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        min-width: unset !important;
        padding: 0.5rem 1rem !important;
    }
    
    .has-dropdown.mobile-open .dropdown-menu {
        display: block !important;
    }
    
    .dropdown-grid {
        grid-template-columns: 1fr !important;
    }
}

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

/* MEGA MENU DROPDOWN */
.has-dropdown {
    position: relative;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    padding: 1.5rem;
    min-width: 480px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
}
.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 6px;
    transition: background 0.15s;
    text-decoration: none;
}
.dropdown-item:hover {
    background: #F5F5F7;
    color: inherit;
}
.dropdown-icon {
    font-size: 1.5rem;
    background: #FAFAFC;
    border: 1px solid #E5E5E5;
    border-radius: 6px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.dropdown-text h4 {
    font-size: 0.95rem;
    margin: 0 0 0.25rem 0;
    color: rgba(0,0,0,0.85);
}
.dropdown-text p {
    font-size: 0.8rem;
    color: rgba(0,0,0,0.69);
    margin: 0;
}

:root {
    --accent-mono: #00C896;
}

/* FULL-WIDTH HERO (Hubs.com stretch concept) */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0D1117;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #000;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 2rem;
    width: 100%;
    text-shadow: 0 4px 16px rgba(0,0,0,0.7);
}

.hero-content h1 {
    font-size: clamp(3.25rem, 6vw, 4.5rem) !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    letter-spacing: -0.03em !important;
    margin-bottom: 1.5rem !important;
    text-shadow: 0 4px 16px rgba(0,0,0,0.7) !important;
}

.hero-content p:not([style*="0.875rem"]):not([style*="0.85rem"]) {
    font-size: 1.35rem !important;
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6) !important;
}

.hero-content ul li {
    font-size: 1.25rem !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6) !important;
}

.btn-primary {
    background-color: #0071E3;
    color: white !important;
    text-decoration: none;
    display: inline-block;
    border-radius: 4px;
    font-weight: 500;
    transition: background 0.2s;
}

.btn-primary:hover {
    background-color: #005BB5;
}

/* SEGMENTED LAYOUT */
.segment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}
.segment-img {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.segment-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}
@media (max-width: 768px) {
    .segment-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .segment-grid > .mobile-first {
        order: -1 !important;
    }
}


/* SPAREPARTS GALLERY IMAGE ENHANCEMENT */
.enhanced-img {
    filter: contrast(1.1) brightness(1.05) saturate(1.1);
}

.enhanced-img:hover {
    transform: scale(1.05);
    filter: contrast(1.2) brightness(1.1) saturate(1.2);
}

