﻿:root {
    --primary-red: #d60000;
    --primary-hover: #b30000;
    --dark-bg: #ffffff;
    --surface-card: #f6f7f9;
    --surface-hover: #eceef1;
    --text-main: #15171c;
    --text-muted: #5c6472;
    --border-color: #e2e5ea;
    --accent-glow: rgba(214, 0, 0, 0.15);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--dark-bg);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* GLOBAL GRID & CONTAINERS */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}

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

.section-label {
    color: var(--primary-red);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* HIGH-END NAVIGATION */
header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 40px;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-main);
}

.dropdown { position: relative; }
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 260px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.5);
    display: none;
    list-style: none;
    margin-top: 12px;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
}

.dropdown-menu li a:hover {
    background: rgba(214, 0, 0, 0.08);
    color: var(--primary-red);
}

.dropdown:hover .dropdown-menu { display: block; }

/* REFACTORED HERO COMPONENT */
.hero-viewport {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15,17,21,0.96) 20%, rgba(15,17,21,0.82) 55%, rgba(15,17,21,0.55) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 40px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

/* Hero sits on a dark photo overlay regardless of site theme, so its text stays light */
.hero-viewport .hero-title { color: #fff !important; }
.hero-viewport .hero-actions .btn-outline {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.55) !important;
}
.hero-viewport .hero-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: #fff !important;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-primary { background: var(--primary-red); color: #fff !important; border: none; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-outline { background: transparent; color: var(--text-main) !important; border: 1px solid var(--border-color); }
.btn-outline:hover { background: var(--surface-card); border-color: var(--text-muted); }
.btn-text { color: var(--primary-red); text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; margin-top: auto; }
.btn-text:hover { color: var(--primary-hover); }

/* GRID SYSTEMS */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(450px, 100%), 1fr)); gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 24px; }

/* CARD ARCHITECTURES */
.card-system {
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.card-system:hover {
    transform: translateY(-4px);
    border-color: var(--primary-red);
    box-shadow: 0 12px 32px var(--accent-glow);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-red);
}

/* FULL-BLEED PHOTO CARDS (Services & Industries) */
.card-photo {
    position: relative;
    min-height: 340px;
    background-size: cover;
    background-position: center;
    justify-content: flex-end;
    overflow: hidden;
    isolation: isolate;
}

.card-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,17,21,0.05) 0%, rgba(10,12,16,0.65) 55%, rgba(10,12,16,0.97) 100%);
    z-index: 0;
}

.card-photo:hover::before {
    background: linear-gradient(180deg, rgba(15,17,21,0.1) 0%, rgba(10,12,16,0.55) 55%, rgba(10,12,16,0.95) 100%);
}

.card-photo > * {
    position: relative;
    z-index: 1;
}

.card-photo .card-icon {
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.6));
}

.card-photo h3 {
    color: #fff;
}

.card-photo p {
    color: rgba(240, 242, 245, 0.85);
}

/* WHY SUJO FULL BACKGROUND SECTION */
.why-sujo-bg {
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.why-sujo-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15,17,21,0.97) 40%, rgba(15,17,21,0.55) 75%, rgba(15,17,21,0.25) 100%);
    z-index: 0;
}

.why-sujo-bg .container {
    position: relative;
    z-index: 1;
}

/* Photo background stays dark for legibility, so its text stays light regardless of theme */
.why-sujo-bg .container h2,
.why-sujo-bg .container h3,
.why-sujo-bg .container h4 {
    color: #fff !important;
}
.why-sujo-bg .container p {
    color: rgba(255, 255, 255, 0.75) !important;
}

/* TECHNICAL EXPERTISE SECTION BACKGROUND */
.services-bg {
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.services-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,17,21,0.93) 0%, rgba(15,17,21,0.88) 35%, rgba(15,17,21,0.97) 100%);
    z-index: 0;
}

.services-bg .container {
    position: relative;
    z-index: 1;
}

/* Photo background stays dark for legibility, so its text stays light regardless of theme */
.services-bg .container h2,
.services-bg .container h3,
.services-bg .container h4 {
    color: #fff !important;
}
.services-bg .container p {
    color: rgba(255, 255, 255, 0.75) !important;
}

/* HEADER: ACCOUNT BUTTON & LANGUAGE SWITCH */
.lang-switch {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    margin-left: 8px;
}

.lang-switch button {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 7px 14px;
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-sans);
}

.lang-switch button.active {
    background: var(--primary-red);
    color: #fff;
}

.lang-switch button:not(.active):hover {
    background: var(--surface-card);
    color: var(--text-main);
}

.card-system h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.card-system p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* BRAND ENTERPRISE CARD GRID */
.brand-enterprise-card {
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.brand-hero-logo {
    background: #fff;
    padding: 32px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
}

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

.brand-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.brand-meta-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--primary-red);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.brand-body h3 { font-size: 1.25rem; margin-bottom: 12px; color: var(--text-main); }
.brand-body p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.5; margin-bottom: 16px; }

/* SPLIT LIST ARCHITECTURE (ABOUT / WHY SUJO) */
.split-graphic {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    object-fit: cover;
}

.split-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.split-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.split-icon {
    background: rgba(214, 0, 0, 0.1);
    color: var(--primary-red);
    padding: 12px;
    border-radius: 8px;
    font-size: 1.5rem;
    line-height: 1;
}

/* CONTACT PAGE SPLIT MODULE */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
}

.info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.info-block h4 {
    font-size: 1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.info-block p {
    font-size: 1.15rem;
    font-weight: 500;
}

.map-embed {
    width: 100%;
    height: 250px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-top: 16px;
}

.form-surface {
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 14px;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: border-color 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-red);
}

/* PILLS */
.pills-container { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.pill-node { background: var(--surface-card); border: 1px solid var(--border-color); padding: 8px 16px; border-radius: 20px; font-size: 0.85rem; font-weight: 500; color: var(--text-muted); }

/* PRODUCT SEARCH */
.product-search-wrap {
    position: relative;
    flex: 1 1 260px;
    min-width: 220px;
    max-width: 360px;
    margin-left: auto;
}
.product-search-wrap .search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    width: 16px;
    height: 16px;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}
.product-search {
    width: 100%;
    padding: 12px 14px 12px 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--dark-bg);
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    transition: border-color 0.2s ease;
}
.product-search:focus {
    outline: none;
    border-color: var(--primary-red);
}
.search-empty-state {
    margin-top: 24px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* GROUPED PRODUCT CARDS */
.grid-3.grouped-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
    align-items: start;
}
.group-card .pill-node {
    font-size: 0.8rem;
    padding: 6px 14px;
}

/* SAFETY NET: never allow sideways scroll */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

/* HAMBURGER (hidden on desktop) */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-main);
    transition: all 0.25s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================= */
/* RESPONSIVE / MOBILE BREAKPOINTS */
/* ============================= */

@media (max-width: 900px) {
    header {
        padding: 14px 20px;
    }

    .hamburger {
        display: flex;
    }

    nav {
        width: auto;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--surface-card);
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 16px 32px rgba(0,0,0,0.5);
        padding: 16px;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

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

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

    .nav-links a {
        display: block;
        padding: 12px 8px;
        font-size: 1rem;
    }

    .nav-links .btn {
        width: 100%;
        margin: 4px 0;
    }

    .dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        margin-top: 4px;
        box-shadow: none;
        border: none;
        background: rgba(15,17,21,0.04);
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .lang-switch {
        margin: 8px 0 0 0;
        justify-content: center;
    }

    .lang-switch button {
        flex: 1;
        padding: 10px 14px;
    }
}

@media (max-width: 768px) {
    .split-graphic[style*="height: 550px"] {
        height: 280px !important;
    }

    .container {
        padding: 56px 20px;
    }

    .section-title {
        font-size: clamp(1.5rem, 6vw, 2.25rem);
    }

    .hero-viewport {
        min-height: 70vh;
    }

    .hero-container {
        padding: 0 24px;
    }

    .hero-title {
        font-size: clamp(1.6rem, 6.5vw, 2.5rem);
        letter-spacing: -0.3px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .card-system {
        padding: 24px;
    }

    .card-photo {
        min-height: 260px;
    }

    .card-system[style*="flex-direction: row"] {
        flex-direction: column !important;
        text-align: center;
    }

    .card-system[style*="flex-direction: row"] img {
        margin: 0 auto;
    }

    .why-sujo-bg .container > div {
        max-width: 100% !important;
    }

    footer .grid-3 {
        text-align: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .form-surface {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .nav-logo img {
        height: 38px !important;
    }

    .hero-title {
        font-size: clamp(1.4rem, 7.5vw, 1.8rem);
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .card-photo {
        min-height: 220px;
    }
}
/* ===== Performance, accessibility, and polish updates ===== */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

:root {
    --text-muted: #5c6472;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: 12px;
    z-index: 2000;
    transform: translateY(-140%);
    background: var(--primary-red);
    color: #fff;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
}

.skip-link:focus {
    transform: translateY(0);
}

a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(15, 17, 21, 0.85);
    outline-offset: 3px;
    box-shadow: 0 0 0 5px rgba(214, 0, 0, 0.45);
}

.nav-links a[aria-current="page"] {
    color: var(--text-main);
    position: relative;
}

.nav-links a[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    background: var(--primary-red);
    border-radius: 2px;
}

.nav-links .btn[aria-current="page"]::after,
.nav-links .dropdown-menu a[aria-current="page"]::after {
    display: none;
}

.nav-account {
    padding: 8px 14px;
    opacity: 0.78;
    font-size: 0.88rem;
    border-color: rgba(174, 183, 199, 0.35);
}

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

.lang-switch button {
    min-width: 42px;
}

.lazy-bg {
    background-color: #11141a;
    background-image: linear-gradient(135deg, rgba(214,0,0,0.12), rgba(15,17,21,0.92));
}

.lazy-bg.lazy-bg-loaded {
    background-size: cover;
    background-position: center;
}

.form-feedback {
    margin-top: 12px;
    font-size: 0.92rem;
    font-weight: 600;
}

.form-feedback.error {
    color: #ffb3b3;
}

.field-error {
    border-color: #ff5a5a !important;
}

button.is-loading,
.btn.is-loading {
    opacity: 0.7;
    cursor: wait;
}

.partner-logo-img {
    width: 100%;
    max-width: 540px;
    height: auto;
    aspect-ratio: 1080 / 478;
    object-fit: contain;
}

.footer-shell {
    background: #f0f1f3;
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px 0;
}

.footer-grid-tight {
    padding: 0 24px 40px 24px;
}

.muted-text {
    color: var(--text-muted);
}

/* ===========================
   SUJO HEADER + FOOTER FIXES
   =========================== */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    min-height: 78px;
    padding: 12px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
}

.nav-logo,
.footer-logo-link {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.site-logo {
    height: 52px;
    width: auto;
    display: block;
    object-fit: contain;
}

header nav {
    margin-left: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
    list-style: none;
}

.nav-links a {
    white-space: nowrap;
}

.dropdown {
    position: relative;
}

.dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 14px;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 280px;
    display: block;
    list-style: none;
    padding: 8px 0;
    margin: 0;
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.48);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
    pointer-events: none;
}

.dropdown:hover > .dropdown-menu,
.dropdown:focus-within > .dropdown-menu,
.dropdown.open > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-menu li a {
    display: block;
    padding: 11px 18px;
    color: var(--text-muted);
}

.dropdown-menu li a:hover,
.dropdown-menu li a:focus-visible {
    background: rgba(214, 0, 0, 0.1);
    color: #fff;
}

.card-link {
    display: flex;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.card-link:hover,
.card-link:focus-visible {
    transform: translateY(-4px);
}

.card-link .btn-text {
    pointer-events: none;
}

.footer-shell {
    background: #f0f1f3;
    border-top: 1px solid var(--border-color);
    margin-top: 0;
    padding-top: 64px;
}

.footer-shell .footer-grid {
    padding-top: 0;
    padding-bottom: 44px;
    align-items: start;
}

.footer-brand,
.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-logo {
    margin-bottom: 12px;
}

.footer-shell h4 {
    color: var(--text-main);
    margin-bottom: 8px;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.footer-shell p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin: 0 0 4px 0;
}

.footer-shell a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-shell a:hover,
.footer-shell a:focus-visible {
    color: #fff;
}

.footer-actions {
    margin-top: 10px;
}

.footer-actions .btn {
    color: #fff;
    width: fit-content;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 26px 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

@media (max-width: 1100px) {
    header {
        padding: 12px 24px;
        gap: 18px;
    }

    .nav-links {
        gap: 14px;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .nav-account {
        display: none;
    }
}

@media (max-width: 900px) {
    header {
        min-height: 70px;
        padding: 12px 20px;
    }

    .site-logo {
        height: 44px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--surface-card);
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 16px 32px rgba(0,0,0,0.5);
        padding: 16px;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

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

    .dropdown::after {
        display: none;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        min-width: 0;
        margin-top: 4px;
        box-shadow: none;
        border: none;
        background: rgba(15,17,21,0.04);
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        pointer-events: auto;
    }

    .dropdown.open .dropdown-menu,
    .dropdown:focus-within .dropdown-menu {
        display: block;
    }

    .footer-shell .footer-grid {
        text-align: center;
    }

    .footer-brand,
    .footer-column {
        align-items: center;
    }

    .footer-actions .btn {
        width: 100%;
    }
}


/* ==========================================
   PARTNER PROFILE PAGES (Pousse-OÃ¹, Mulohwe Group)
   Shared styles moved out of the page <style> blocks.
   ========================================== */

/* Pill-style breadcrumb */
.breadcrumb {
    max-width: 1200px;
    margin: 22px auto 28px auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.breadcrumb a,
.breadcrumb span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border: 1px solid var(--border-color, #e2e5ea);
    border-radius: 999px;
    background: rgba(15,17,21,0.04);
    color: var(--text-muted, #aeb7c7);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
}

.breadcrumb a:hover {
    color: var(--primary-red, #d60000);
    border-color: var(--primary-red, #d60000);
    background: rgba(214,0,0,0.12);
}

.breadcrumb span[aria-hidden="true"] {
    min-height: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--primary-red, #d60000);
}

.breadcrumb span:last-child {
    color: var(--primary-red, #d60000);
    border-color: rgba(214,0,0,0.45);
    background: rgba(214,0,0,0.16);
}

/* Photo gallery grid */
.pousseou-gallery,
.partner-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.pousseou-gallery figure,
.partner-gallery figure {
    margin: 0;
    background: rgba(15,17,21,0.03);
    border: 1px solid var(--border-color, #2a2a2a);
    border-radius: 14px;
    overflow: hidden;
}

.pousseou-gallery img,
.partner-gallery img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.pousseou-gallery figcaption,
.partner-gallery figcaption {
    padding: 14px 16px;
    font-size: 0.9rem;
    color: var(--text-muted, #999);
}

/* Founder spotlight card.
   Set the photo per page with an inline style, e.g.
   style="background-image: linear-gradient(90deg, rgba(15,17,21,0.94), rgba(15,17,21,0.78)), url('your-image.png');" */
.founder-card {
    position: relative;
    display: flex;
    gap: 28px;
    align-items: center;
    flex-wrap: wrap;
    overflow: hidden;
    padding: 30px;
    border: 1px solid var(--border-color, #e2e5ea);
    border-radius: 18px;
    background-image: linear-gradient(90deg, rgba(15,17,21,0.94), rgba(15,17,21,0.78));
    background-size: cover;
    background-position: center;
    box-shadow: 0 18px 48px rgba(0,0,0,0.28);
}

.founder-card img {
    width: 230px;
    height: 230px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 28%;
    border: 3px solid var(--primary-red, #d60000);
    box-shadow: 0 12px 32px rgba(0,0,0,0.35);
    flex-shrink: 0;
}

.founder-role {
    color: var(--primary-red, #d60000);
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

/* Pull quote */
.pride-quote {
    border-left: 3px solid var(--primary-red, #d60000);
    padding-left: 20px;
    font-size: 1.15rem;
    font-style: italic;
    margin: 28px 0;
    max-width: 720px;
}

/* Full-width CTA band with background photo.
   Set the photo per page with an inline style, e.g.
   style="background-image: linear-gradient(180deg, rgba(15,17,21,0.86), rgba(15,17,21,0.92)), url('your-image.png');" */
.pousseou-cta-bg,
.partner-cta-bg {
    position: relative;
    text-align: center;
    background-image: linear-gradient(180deg, rgba(15,17,21,0.86), rgba(15,17,21,0.92));
    background-size: cover;
    background-position: center;
    border-top: 1px solid var(--border-color, #e2e5ea);
    border-bottom: 1px solid var(--border-color, #e2e5ea);
    margin-top: 50px;
}

.pousseou-cta-bg .container,
.partner-cta-bg .container {
    position: relative;
    z-index: 1;
}

@media (max-width: 700px) {
    .founder-card {
        justify-content: center;
        text-align: center;
    }
    .founder-card img {
        width: 190px;
        height: 190px;
    }
}

/* ==========================================
   PRODUCT CATEGORY WATERMARK ILLUSTRATIONS
   Transparent PNG renders sit faded behind each
   category card on products.html. Missing files
   simply show nothing (no broken-image icon)
   since these are CSS backgrounds, not <img> tags.
   Drop the PNGs into the site root using the
   filenames referenced below.
   ========================================== */
.category-card {
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.2s ease, transform 0.3s ease;
}

.category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,17,21,0.35) 0%, rgba(15,17,21,0.85) 60%, rgba(15,17,21,0.97) 100%);
    pointer-events: none;
    z-index: 0;
}

.category-card:hover::before {
    opacity: 0.42;
    transform: scale(1.05);
}

.category-card > * {
    position: relative;
    z-index: 1;
}

/* Photo background stays dark for legibility, so its text stays light regardless of theme */
.category-card h3 { color: #fff !important; }
.category-card p { color: rgba(255, 255, 255, 0.8) !important; }

.category-card.cat-bearings::before { background-image: url("product-bearings.png"); }
.category-card.cat-linearmotion::before { background-image: url("product-linearmotion.png"); }
.category-card.cat-powertransmission::before { background-image: url("product-powertransmition.png"); }
.category-card.cat-hydraulics::before { background-image: url("product-hydraulics&pneumatics.png"); }
.category-card.cat-automation::before { background-image: url("product-automation&electrical.png"); }
.category-card.cat-safety::before { background-image: url("product-safety&lubrication.png"); }
.category-card.cat-construction::before { background-image: url("product-construction.png"); }
.category-card.cat-telecom::before { background-image: url("product-telecom.png"); }
.category-card.cat-automotive::before { background-image: url("product-automotive&fleet.png"); }

/* ==========================================
   FOUNDER PHOTO GLOW (Aaron Nzangi / Pousse-OÃ¹)
   A transparent PNG glow/backdrop sits behind the
   circular founder photo. Apply by wrapping the
   existing founder <img> like this:

   <div class="founder-photo-wrap">
     <img src="aaron2.png" class="founder-photo-glow" alt="" aria-hidden="true"/>
     <img src="aaron-profile.png" alt="Aaron Nzangi, fondateur de Pousse-OÃ¹"/>
   </div>

   inside .founder-card in place of the plain <img>.
   ========================================== */
.founder-photo-wrap {
    position: relative;
    flex-shrink: 0;
    width: 230px;
    height: 230px;
}

.founder-photo-wrap .founder-photo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 340px;
    height: 340px;
    max-width: none;
    transform: translate(-50%, -50%);
    border: none;
    border-radius: 0;
    box-shadow: none;
    object-fit: contain;
    z-index: 0;
    opacity: 0.9;
    pointer-events: none;
}

.founder-photo-wrap img:not(.founder-photo-glow) {
    position: relative;
    z-index: 1;
    width: 230px;
    height: 230px;
}
