/* ============================================
   Karibu Trading Limited - Site CSS
   Karibu Trading brand theme
   ============================================ */

:root {
    /* Logo palette: navy, royal blue, cyan, and silver */
    --brand-navy: #071a36;
    --brand-navy-deep: #041126;
    --brand-blue: #0755b5;
    --brand-cyan: #18b9ef;
    --brand-silver: #b8c3d0;
    --brand-silver-light: #edf2f7;
    --zm-green: var(--brand-blue);
    --zm-green-dark: #063b80;
    --zm-green-light: #e8f2fc;
    --zm-red: #DE2010;
    --zm-red-dark: #B01808;
    --zm-black: #000000;
    --zm-orange: var(--brand-cyan);
    --zm-orange-dark: #0787bd;
    --zm-white: #FFFFFF;
    --zm-gray: #f3f6fa;
    --zm-gray-dark: #1c2b3d;
    --zm-gray-medium: #64748b;
    --zm-border: #dbe3ed;
    --zm-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --zm-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --zm-radius: 10px;
    --zm-radius-sm: 6px;
    --zm-transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--zm-gray-dark);
    background-color: var(--zm-white);
    line-height: 1.6;
    font-size: 16px;
}

a {
    color: var(--zm-green);
    text-decoration: none;
    transition: var(--zm-transition);
}

    a:hover {
        color: var(--zm-green-dark);
    }

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    color: var(--zm-gray-dark);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

.text-green {
    color: var(--zm-green);
}

.text-red {
    color: var(--zm-red);
}

.text-orange {
    color: var(--zm-orange);
}

.text-muted {
    color: var(--zm-gray-medium);
}

.text-center {
    text-align: center;
}

/* ============================================
   NAVIGATION - Public
   ============================================ */
.navbar {
    background: var(--brand-navy);
    box-shadow: var(--zm-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.5rem 0;
}

.navbar-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--zm-white);
}

    .navbar-brand img {
        height: 52px;
        width: auto;
        object-fit: contain;
        border-radius: 3px;
    }

.navbar-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

    .navbar-brand-text span:first-child {
        color: var(--zm-white);
        font-size: 1.2rem;
        font-weight: 800;
    }

    .navbar-brand-text span:last-child {
        color: var(--brand-silver);
        font-size: 0.7rem;
        font-weight: 500;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}

    .navbar-nav a {
        display: block;
        padding: 0.6rem 1rem;
        color: rgba(255, 255, 255, .88);
        font-weight: 500;
        font-size: 0.9rem;
        border-radius: var(--zm-radius-sm);
        transition: var(--zm-transition);
    }

        .navbar-nav a:hover,
        .navbar-nav a.active {
            color: var(--brand-cyan);
            background: rgba(24, 185, 239, .13);
        }

.navbar-toggle {
    display: none;
    background: none;
    border: 2px solid var(--brand-cyan);
    color: var(--brand-cyan);
    font-size: 1.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--zm-radius-sm);
    cursor: pointer;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: linear-gradient(125deg, var(--brand-navy) 0%, #0a3b78 58%, var(--brand-blue) 100%);
    color: var(--zm-white);
    padding: 5rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.app-confirm-dialog {
    width: min(92vw, 460px);
    max-width: none;
    margin: auto;
    padding: 1.5rem;
    border: 1px solid var(--zm-border);
    border-radius: 16px;
    color: var(--zm-gray-dark);
    background: #fff;
    box-shadow: 0 24px 80px rgba(4, 17, 38, .28);
}

.app-confirm-dialog::backdrop {
    background: rgba(4, 17, 38, .62);
    backdrop-filter: blur(3px);
}

.app-confirm-body {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.app-confirm-icon {
    display: grid;
    flex: 0 0 2.5rem;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    border-radius: 50%;
    color: #a91812;
    background: #fff0ef;
    font-size: 1.35rem;
    font-weight: 800;
}

.app-confirm-eyebrow {
    margin: 0 0 .15rem;
    color: var(--zm-gray-medium);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.app-confirm-dialog h2 {
    margin: 0;
    color: var(--brand-navy);
    font-size: 1.25rem;
}

.app-confirm-dialog #appConfirmMessage {
    margin: .5rem 0 0;
    line-height: 1.55;
}

.app-confirm-actions {
    display: flex;
    justify-content: flex-end;
    gap: .65rem;
    margin-top: 1.5rem;
}

.app-confirm-actions button:focus-visible {
    outline: 3px solid var(--brand-cyan);
    outline-offset: 3px;
}

@media (max-width: 420px) {
    .app-confirm-actions { flex-direction: column-reverse; }
    .app-confirm-actions button { width: 100%; }
}

.hero--slideshow {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 560px;
    padding-block: 6rem;
    isolation: isolate;
    background: #17241c;
}

.hero--slideshow::before {
    z-index: -1;
    background: linear-gradient(90deg, rgba(4, 17, 38, .88), rgba(7, 49, 100, .4));
    opacity: 1;
}

.hero-slides {
    z-index: -2;
}

.hero-slides,
.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-slide.is-active {
    opacity: 1;
}

.hero-admin-intro {
    margin-bottom: 1.5rem;
}

.hero-upload-form {
    margin-bottom: 2rem;
}

.hero-upload-form small {
    display: block;
    margin-top: .5rem;
    color: #65716a;
}

.hero-admin-gallery h2 {
    margin-bottom: 1rem;
}

.hero-admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.hero-admin-card {
    overflow: hidden;
    border: 1px solid #e3e9e4;
    border-radius: var(--zm-radius-sm);
    background: #fff;
    box-shadow: 0 6px 18px rgba(20, 40, 25, .08);
}

.hero-admin-card > img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.hero-admin-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .75rem;
}

.hero-admin-order-controls {
    display: flex;
    gap: .35rem;
}

.hero-admin-order-controls form,
.hero-admin-card-footer form {
    margin: 0;
}

.hero-admin-order-controls button:disabled {
    cursor: not-allowed;
    opacity: .45;
}

@media (max-width: 420px) {
    .hero-admin-card-footer {
        flex-wrap: wrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide {
        transition: none;
    }
}

    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('/images/hero-pattern.png') repeat;
        opacity: 0.05;
    }

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    color: var(--zm-white);
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.hero-tagline {
    display: inline-block;
    background: var(--zm-orange);
    color: var(--brand-navy);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--zm-radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--zm-transition);
    text-align: center;
    line-height: 1.5;
}

.btn-primary {
    background: var(--zm-orange);
    color: var(--brand-navy);
    border-color: var(--zm-orange);
}

    .btn-primary:hover {
        background: var(--zm-orange-dark);
        border-color: var(--zm-orange-dark);
        color: var(--zm-white);
        transform: translateY(-2px);
        box-shadow: var(--zm-shadow);
    }

.btn-secondary {
    background: transparent;
    color: var(--zm-white);
    border-color: var(--zm-white);
}

    .btn-secondary:hover {
        background: var(--zm-white);
        color: var(--zm-green);
    }

.btn-green {
    background: var(--zm-green);
    color: var(--zm-white);
    border-color: var(--zm-green);
}

    .btn-green:hover {
        background: var(--zm-green-dark);
        border-color: var(--zm-green-dark);
        color: var(--zm-white);
    }

.btn-red {
    background: var(--zm-red);
    color: var(--zm-white);
    border-color: var(--zm-red);
}

    .btn-red:hover {
        background: var(--zm-red-dark);
        border-color: var(--zm-red-dark);
        color: var(--zm-white);
    }

.btn-outline {
    background: transparent;
    color: var(--zm-green);
    border-color: var(--zm-green);
}

    .btn-outline:hover {
        background: var(--zm-green);
        color: var(--zm-white);
    }

.btn-sm {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 4rem 1.5rem;
}

.section-gray {
    background: var(--zm-gray);
}

.about-company-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f3f7fc 0%, #fff 58%, #edf8fc 100%);
}

.about-company-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 5rem);
}

.about-company-copy {
    max-width: 650px;
}

.about-company-eyebrow {
    display: inline-block;
    margin-bottom: 0.85rem;
    color: var(--brand-blue);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.about-company-copy h2 {
    margin-bottom: 1rem;
    color: var(--brand-navy);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    line-height: 1.15;
}

.about-company-copy p {
    color: var(--zm-gray-medium);
}

.about-company-copy .about-company-lead {
    color: var(--zm-gray-dark);
    font-size: 1.12rem;
    line-height: 1.75;
}

.about-company-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    margin-top: 1.5rem;
}

.about-company-link {
    color: var(--brand-navy);
    font-weight: 700;
}

.about-company-link span {
    padding-left: 0.25rem;
    color: var(--brand-blue);
}

.about-company-highlights {
    padding: 1.5rem;
    border: 1px solid rgba(7, 85, 181, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 50px rgba(7, 26, 54, 0.09);
}

.about-company-highlight {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 1rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--zm-border);
}

.about-company-highlight:first-child {
    padding-top: 0.35rem;
}

.about-company-highlight h3 {
    margin: 0 0 0.25rem;
    color: var(--brand-navy);
    font-size: 1rem;
}

.about-company-highlight p {
    margin: 0;
    color: var(--zm-gray-medium);
    font-size: 0.92rem;
}

.about-company-number {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 12px;
    background: #e8f2fc;
    color: var(--brand-blue);
    font-size: 0.82rem;
    font-weight: 800;
}

.about-company-location {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding-top: 1rem;
    color: var(--brand-navy);
    font-size: 0.9rem;
    font-weight: 700;
}

.about-company-location span {
    color: var(--brand-blue);
    font-size: 1.25rem;
}

.ceo-message-section {
    background: #f3f7fc;
}

.ceo-message-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
    align-items: center;
    gap: clamp(2rem, 6vw, 5rem);
    padding: clamp(2rem, 5vw, 4rem);
    overflow: hidden;
    border: 1px solid rgba(24, 185, 239, 0.24);
    border-radius: 20px;
    background: linear-gradient(125deg, var(--brand-navy-deep), #0a3974 72%, #0755b5);
    box-shadow: 0 20px 55px rgba(7, 26, 54, 0.18);
}

.ceo-message-copy .about-company-eyebrow {
    color: var(--brand-cyan);
}

.ceo-message-copy h2 {
    color: var(--zm-white);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
}

.ceo-message-copy blockquote {
    margin: 1.25rem 0 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.08rem;
    line-height: 1.85;
    white-space: pre-line;
}

.ceo-message-copy blockquote p {
    margin: 0 0 0.9rem;
}

.ceo-message-copy blockquote p:last-child {
    margin-bottom: 0;
}

.ceo-message-copy blockquote ul,
.ceo-message-copy blockquote ol {
    margin: 0.5rem 0 1rem;
    padding-left: 1.4rem;
}

.ceo-message-copy blockquote a {
    color: #8de2ff;
    text-decoration: underline;
}

.ceo-message-signature {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    color: var(--zm-white);
}

.ceo-message-signature span {
    color: var(--brand-silver);
    font-size: 0.9rem;
}

.ceo-message-portrait {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 4 / 5;
    justify-self: center;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.72);
    border-radius: 16px;
    background: linear-gradient(145deg, #eaf3fb, #b8c3d0);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.ceo-message-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ceo-message-portrait-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: var(--brand-blue);
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.ceo-portrait-admin-preview {
    width: 150px;
    height: 180px;
    margin: 0.75rem 0;
    overflow: hidden;
    border-radius: var(--zm-radius-sm);
    background: var(--zm-gray);
}

.ceo-portrait-admin-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.branding-asset-preview {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: fit-content;
    min-width: 190px;
    min-height: 72px;
    margin-top: 0.75rem;
    padding: 0.65rem 0.8rem;
    border: 1px solid var(--zm-border, #d9e1e8);
    border-radius: var(--zm-radius-sm, 8px);
    background: #f7f9fb;
}

.branding-asset-preview img {
    display: block;
    width: 112px;
    height: 56px;
    object-fit: contain;
    background: #fff;
}

.branding-asset-preview-favicon img {
    width: 40px;
    height: 40px;
}

.branding-asset-preview span {
    color: var(--zm-gray-dark, #425466);
    font-size: 0.875rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

    .section-header h2 {
        font-size: 2rem;
        color: var(--zm-gray-dark);
        margin-bottom: 0.75rem;
        position: relative;
        display: inline-block;
    }

        .section-header h2::after {
            content: '';
            display: block;
            width: 60px;
            height: 4px;
            background: var(--zm-orange);
            margin: 0.75rem auto 0;
            border-radius: 2px;
        }

    .section-header p {
        color: var(--zm-gray-medium);
        max-width: 700px;
        margin: 0 auto;
        font-size: 1.05rem;
    }

/* ============================================
   CARDS
   ============================================ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--zm-white);
    border-radius: var(--zm-radius);
    box-shadow: var(--zm-shadow);
    overflow: hidden;
    transition: var(--zm-transition);
    display: flex;
    flex-direction: column;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: var(--zm-shadow-hover);
    }

.card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--zm-gray);
}

    .card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: opacity 0.8s ease-in-out;
    }

    .card-image .fade-img {
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
    }

        .card-image .fade-img.active {
            opacity: 1;
            position: relative;
        }

.product-catalogue .fade-img { opacity:0; transition:opacity 1s ease-in-out; }
.product-catalogue .fade-img.active { opacity:1; }

.card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

    .card-body h3 {
        font-size: 1.15rem;
        margin-bottom: 0.5rem;
        color: var(--zm-gray-dark);
    }

    .card-body p {
        color: var(--zm-gray-medium);
        font-size: 0.9rem;
        flex: 1;
    }

.card-footer {
    padding: 0 1.5rem 1.5rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-green {
    background: var(--zm-green-light);
    color: var(--zm-green);
}

.badge-orange {
    background: #ddf6ff;
    color: #07517f;
}

.badge-red {
    background: #FDE8E8;
    color: var(--zm-red);
}

/* ============================================
   SERVICES
   ============================================ */
.service-card {
    background: var(--zm-white);
    border-radius: var(--zm-radius);
    padding: 2rem;
    box-shadow: var(--zm-shadow);
    transition: var(--zm-transition);
    border-top: 4px solid var(--zm-green);
}

    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--zm-shadow-hover);
        border-top-color: var(--zm-orange);
    }

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

.expertise-preview {
    color: var(--zm-gray-medium);
    margin-bottom: .35rem;
}

.expertise-more {
    margin-top: .25rem;
}

.expertise-more summary {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: var(--brand-blue);
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    padding: .25rem 0;
}

.expertise-more summary::-webkit-details-marker {
    display: none;
}

.expertise-more summary::after {
    content: '+';
    display: inline-grid;
    width: 1.25rem;
    height: 1.25rem;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: .9rem;
    line-height: 1;
}

.expertise-more[open] summary::after {
    content: '−';
}

.expertise-read-less,
.expertise-more[open] .expertise-read-more {
    display: none;
}

.expertise-more[open] .expertise-read-less {
    display: inline;
}

.expertise-more summary:focus-visible {
    outline: 3px solid var(--brand-blue);
    outline-offset: 3px;
    border-radius: 3px;
}

.expertise-more-content {
    padding-top: .65rem;
}

.expertise-more-content p:last-child {
    margin-bottom: 0;
}

/* ============================================
   PAGE HERO
   ============================================ */
.page-hero {
        background: linear-gradient(125deg, var(--brand-navy) 0%, #0a3b78 58%, var(--brand-blue) 100%);
        color: var(--zm-white);
        padding: 3.5rem 1.5rem;
        text-align: center;
        position: relative;
        overflow: hidden;
}

.page-hero > .container {
    position: relative;
    z-index: 2;
}

.page-hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.page-hero-slideshow .hero-slide {
    z-index: 0;
}

.page-hero-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(4, 17, 38, .82), rgba(7, 49, 100, .42));
}

        .page-hero h1 {
            color: var(--zm-white);
            font-size: 2.25rem;
            margin-bottom: 0.5rem;
        }

        .page-hero p {
            color: rgba(255, 255, 255, 0.9);
        }
/* ============================================
   PROCESS STEPS
   ============================================ */
.process-steps {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1rem;
}

.step {
        background: var(--zm-white);
        padding: 1.25rem;
        border-radius: var(--zm-radius);
        box-shadow: var(--zm-shadow);
        text-align: center;
        border-top: 3px solid var(--zm-orange);
}

        .step span {
            display: inline-flex;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--zm-green);
            color: var(--zm-white);
            align-items: center;
            justify-content: center;
            font-weight: 700;
            margin-bottom: 0.75rem;
        }

        .step h4 {
            font-size: 0.9rem;
            margin: 0;
        }
/* ============================================
   VALUES
   ============================================ */
.values-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1.25rem;
}

.value-box {
        background: var(--zm-white);
        padding: 1.75rem;
        border-radius: var(--zm-radius);
        box-shadow: var(--zm-shadow);
        border-left: 4px solid var(--zm-green);
}

        .value-box h3 {
            color: var(--zm-green);
            font-size: 1.1rem;
            margin-bottom: 0.35rem;
        }
/* ============================================
   FILTER BAR
   ============================================ */
.filter-bar {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
        margin-bottom: 2rem;
}

.filter-btn {
        padding: 0.5rem 1.1rem;
        border-radius: 50px;
        background: var(--zm-white);
        color: var(--zm-gray-dark);
        border: 2px solid var(--zm-border);
        font-size: 0.85rem;
        font-weight: 500;
        transition: var(--zm-transition);
}

        .filter-btn:hover, .filter-btn.active {
            background: var(--zm-green);
            color: var(--zm-white);
            border-color: var(--zm-green);
        }
/* ============================================
   PRODUCT DETAILS
   ============================================ */
.product-details {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        margin-bottom: 2rem;
}

.product-gallery .main-image {
        background: var(--zm-gray);
        border-radius: var(--zm-radius);
        overflow: hidden;
        margin-bottom: 1rem;
}

        .product-gallery .main-image img {
            width: 100%;
            height: 450px;
            object-fit: cover;
        }

.thumbnails {
        display: flex;
        gap: 0.5rem;
        flex-wrap: wrap;
}

.thumb {
        width: 80px;
        height: 80px;
        object-fit: cover;
        border-radius: 6px;
        cursor: pointer;
        border: 2px solid transparent;
        transition: var(--zm-transition);
}

        .thumb:hover {
            border-color: var(--zm-green);
        }

.product-info h1 {
        margin: 0.75rem 0;
}

.product-summary {
        font-size: 1.05rem;
        color: var(--zm-gray-medium);
        margin-bottom: 1.5rem;
}

.product-description {
        margin-bottom: 1.5rem;
        line-height: 1.8;
}

.no-image, .no-image-large {
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--zm-gray);
        color: var(--zm-gray-medium);
        font-size: 0.9rem;
}

.no-image {
        height: 220px;
}

.no-image-large {
        height: 450px;
        border-radius: var(--zm-radius);
}

.back-link {
        margin-top: 2rem;
}

        .back-link a {
            font-weight: 600;
        }
/* ============================================
   ARTICLES
   ============================================ */
.article-container {
        max-width: 800px;
        margin: 0 auto;
}

        .article-container h1 {
            margin: 1rem 0;
            font-size: 2rem;
        }

.article-image {
        width: 100%;
        border-radius: var(--zm-radius);
        margin: 1.5rem 0;
}

.article-summary {
        font-size: 1.1rem;
        color: var(--zm-gray-medium);
        margin-bottom: 1.5rem;
}

.article-body {
        line-height: 1.9;
        margin-bottom: 2rem;
}
/* ============================================
   VACANCIES
   ============================================ */
.vacancy-list {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        max-width: 900px;
        margin: 0 auto;
}

.vacancy-item {
        background: var(--zm-white);
        padding: 1.5rem;
        border-radius: var(--zm-radius);
        box-shadow: var(--zm-shadow);
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        border-left: 4px solid var(--zm-green);
        transition: var(--zm-transition);
}

        .vacancy-item:hover {
            transform: translateX(5px);
            box-shadow: var(--zm-shadow-hover);
        }

        .vacancy-item h3 {
            margin-bottom: 0.25rem;
        }
/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
        display: grid;
        grid-template-columns: 1fr 1.5fr;
        gap: 3rem;
}

.contact-info h2 {
        margin-bottom: 1.5rem;
}

.contact-info p {
        margin-bottom: 1.25rem;
}

.contact-info a {
        color: var(--zm-green);
        font-weight: 600;
}

.contact-form-wrapper {
        background: var(--zm-white);
        padding: 2rem;
        border-radius: var(--zm-radius);
        box-shadow: var(--zm-shadow);
}

/* Vacancy applications and public job details */
.vacancy-list-deadline { margin: .35rem 0 0; color: var(--zm-gray-medium); font-size: .92rem; }
.vacancy-detail-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 2rem; padding: 1.25rem; border: 1px solid var(--zm-border); border-radius: var(--zm-radius); background: var(--zm-white); box-shadow: var(--zm-shadow); }
.vacancy-detail-summary > div { display: grid; gap: .3rem; }
.vacancy-detail-summary strong { color: var(--brand-navy); }
.vacancy-detail-summary span { color: var(--zm-gray-medium); }
.vacancy-detail-section { margin: 1.5rem 0; padding: clamp(1.2rem, 3vw, 2rem); border: 1px solid var(--zm-border); border-radius: var(--zm-radius); background: var(--zm-white); box-shadow: var(--zm-shadow); }
.vacancy-detail-section h2 { margin-bottom: .9rem; color: var(--brand-navy); }
.vacancy-detail-copy { color: var(--zm-gray-medium); line-height: 1.8; white-space: pre-line; overflow-wrap: anywhere; }
.vacancy-apply-callout { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; margin-top: 2rem; padding: clamp(1.2rem, 3vw, 2rem); border-radius: var(--zm-radius); background: var(--zm-gray); }
.vacancy-apply-callout h2 { margin-bottom: .35rem; }
.vacancy-apply-callout p { margin: 0; color: var(--zm-gray-medium); }
.application-form-container { max-width: 900px; }
.application-form-intro, .public-application-form { margin-bottom: 1.5rem; padding: clamp(1.2rem, 3vw, 2rem); border: 1px solid var(--zm-border); border-radius: var(--zm-radius); background: var(--zm-white); box-shadow: var(--zm-shadow); }
.public-application-form input[type="file"] { padding: .65rem; }
.application-privacy-note { color: var(--zm-gray-medium); font-size: .92rem; }

@media (max-width: 700px) {
    .vacancy-detail-summary { grid-template-columns: 1fr; }
    .vacancy-apply-callout { align-items: flex-start; flex-direction: column; }
    .vacancy-item { align-items: flex-start; flex-direction: column; }
}

.form-group {
        margin-bottom: 1.25rem;
}

        .form-group label {
            display: block;
            font-weight: 600;
            margin-bottom: 0.4rem;
            font-size: 0.9rem;
        }

        .form-group input, .form-group textarea, .form-group select {
            width: 100%;
            padding: 0.7rem 0.9rem;
            border: 1px solid var(--zm-border);
            border-radius: 6px;
            font-family: inherit;
            font-size: 0.9rem;
            transition: var(--zm-transition);
        }

            .form-group input:focus, .form-group textarea:focus, .form-group select:focus {
                outline: none;
                border-color: var(--zm-green);
                box-shadow: 0 0 0 3px rgba(7, 85, 181, 0.12);
            }
/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
        background: linear-gradient(125deg, var(--brand-navy) 0%, #0a3b78 58%, var(--brand-blue) 100%);
        color: var(--zm-white);
}

        .cta-section h2 {
            color: var(--zm-white);
        }

        .cta-section p {
            color: rgba(255, 255, 255, 0.9);
            margin-bottom: 1.5rem;
        }
/* ============================================
   FOOTER
   ============================================ */
.footer {
        background: var(--brand-navy-deep);
        color: rgba(255, 255, 255, 0.8);
        padding: 3rem 1.5rem 1rem;
        margin-top: 3rem;
}

.footer-container {
        max-width: 1200px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 2fr 1fr 1fr;
        gap: 2rem;
}

.footer h4 {
        color: var(--zm-white);
        margin-bottom: 1rem;
        font-size: 1rem;
}

.footer p {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
}

.footer ul {
        list-style: none;
}

.footer-address {
        max-width: 34ch;
        overflow-wrap: anywhere;
}

.footer-social {
        display: flex;
        flex-wrap: wrap;
        gap: .5rem;
        margin-top: .85rem;
}

.footer-social a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        min-height: 40px;
        padding: .55rem;
        border: 1px solid rgba(255, 255, 255, .24);
        border-radius: 50%;
        color: var(--zm-white);
        transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.footer-social-link svg {
        display: block;
        width: 20px;
        height: 20px;
        fill: currentColor;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
        border-color: var(--zm-white);
        background: rgba(255, 255, 255, .12);
        color: var(--zm-white);
        transform: translateY(-2px);
}

.footer-social-link:focus-visible {
        outline: 3px solid var(--zm-orange);
        outline-offset: 3px;
}

.visually-hidden {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
}

        .footer ul li {
            margin-bottom: 0.5rem;
        }

.footer a {
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.9rem;
}

        .footer a:hover {
            color: var(--zm-orange);
        }

.footer-bottom {
        max-width: 1200px;
        margin: 2rem auto 0;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center;
        font-size: 0.85rem;
}
    /* ============================================
   PAGINATION
   ============================================ */
.pagination-wrapper {
display: flex;
justify-content: center;
margin-top: 2rem;
}

.pagination {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 0.4rem;
list-style: none;
}

.page-link {
display: block;
min-width: 2.5rem;
padding: 0.5rem 0.75rem;
border: 1px solid var(--zm-border);
border-radius: var(--zm-radius-sm);
text-align: center;
color: var(--zm-gray-dark);
background: var(--zm-white);
}

.page-item.active .page-link,
.page-link:hover {
color: var(--zm-white);
background: var(--zm-green);
border-color: var(--zm-green);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
        .ceo-message-card {
            grid-template-columns: minmax(0, 1fr) minmax(180px, 250px);
            gap: 1.5rem;
        }

        .about-company-layout {
            grid-template-columns: 1fr;
            gap: 2rem;
        }

        .navbar-toggle {
            display: block;
        }

        .navbar-nav {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            z-index: 1001;
            background: var(--brand-navy);
            border-top: 1px solid rgba(255, 255, 255, .12);
            flex-direction: column;
            align-items: stretch;
            padding: 0.75rem 1rem;
            box-shadow: var(--zm-shadow);
            transform: translateY(-0.5rem);
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
            gap: 0.25rem;
        }

            .navbar-nav.open {
                transform: translateY(0);
                opacity: 1;
                visibility: visible;
                pointer-events: auto;
            }

        .hero h1 {
            font-size: 2rem;
        }

        .product-details {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }

        .contact-grid {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }

        .footer-container {
            grid-template-columns: 1fr;
        }

        .product-gallery .main-image img {
            height: 300px;
        }

        .page-hero {
            padding: 2.75rem 1.25rem;
        }

        .page-hero h1 {
            font-size: 1.9rem;
        }

        .vacancy-item {
            align-items: flex-start;
            flex-direction: column;
        }
}

.contact-map-section {
    padding-top: 0;
}

.rfq-form-container {
    max-width: 900px;
}

.rfq-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    max-width: 960px;
    margin: 2rem auto;
}

.rfq-choice-card {
    display: flex;
    min-height: 260px;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(1.5rem, 4vw, 2.25rem);
    border: 1px solid var(--zm-border);
    border-radius: 18px;
    background: var(--zm-white);
    box-shadow: var(--zm-shadow);
    color: inherit;
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.rfq-choice-card:hover,
.rfq-choice-card:focus-visible {
    transform: translateY(-3px);
    border-color: var(--brand-blue);
    box-shadow: 0 16px 34px rgba(13, 48, 91, .14);
}

.rfq-choice-card h2 { margin: 1rem 0 .5rem; color: var(--brand-navy); }
.rfq-choice-card p { color: var(--zm-muted); }
.rfq-choice-card .btn { margin-top: auto; }
.rfq-choice-icon { font-size: 2.25rem; line-height: 1; color: var(--brand-blue); }
.rfq-type-banner { margin-bottom: 1.5rem; padding: 1rem 1.2rem; border-left: 4px solid var(--brand-blue); border-radius: 8px; background: #f2f7fc; }

@media (max-width: 700px) {
    .rfq-choice-grid { grid-template-columns: 1fr; }
    .rfq-choice-card { min-height: 220px; }
}

.rfq-form {
    padding: clamp(1.25rem, 4vw, 3rem);
    border: 1px solid var(--zm-border);
    border-radius: 16px;
    background: var(--zm-white);
    box-shadow: var(--zm-shadow);
}

.rfq-form h2 {
    margin: 0 0 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--zm-border);
    color: var(--brand-navy);
    font-size: 1.35rem;
}

.rfq-form h2:not(:first-of-type) {
    margin-top: 2rem;
}

.field-validation-error {
    display: block;
    margin-top: 0.3rem;
    color: var(--zm-red-dark);
    font-size: 0.84rem;
}

.validation-summary-valid {
    display: none;
}

.rfq-confirmation {
    max-width: 720px;
    padding: clamp(2rem, 6vw, 4rem);
    border: 1px solid var(--zm-border);
    border-radius: 18px;
    background: linear-gradient(135deg, #f3f7fc, #fff);
    text-align: center;
    box-shadow: var(--zm-shadow);
}

.rfq-confirmation-mark {
    display: grid;
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    place-items: center;
    border-radius: 50%;
    background: #e8f2fc;
    color: var(--brand-blue);
    font-size: 2rem;
    font-weight: 800;
}

.rfq-confirmation h1 {
    color: var(--brand-navy);
}

.rfq-reference {
    display: inline-block;
    margin: 0.5rem 0 1.25rem;
    padding: 0.65rem 1rem;
    border-radius: 8px;
    background: var(--brand-navy);
    color: white;
    letter-spacing: 0.06em;
}

.project-card .card-image {
    display: block;
}

.project-show-more { color: #536579; font-size: .92rem; }
.project-show-more summary,
.project-description-expand > summary { width: fit-content; color: var(--brand-blue); font-weight: 700; cursor: pointer; }
.project-show-more p { margin: .45rem 0 0; }
.project-description-expand { margin: 1rem 0 1.2rem; }
.project-description-expand > summary { margin-bottom: .6rem; }
.project-description-expand[open] > summary { margin-bottom: .8rem; }

.project-detail-gallery.product-catalogue {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--zm-radius);
    background: var(--zm-gray);
    box-shadow: var(--zm-shadow);
}

.project-detail-gallery.product-catalogue .fade-img {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    border-radius: 0;
    grid-column: auto;
    object-fit: cover;
}

.project-location {
    margin-bottom: 0.45rem;
    color: var(--brand-blue) !important;
    font-size: 0.84rem !important;
    font-weight: 700;
}

.project-empty-state {
    max-width: 720px;
    margin: 0 auto;
    padding: clamp(2rem, 6vw, 4rem);
    border: 1px solid var(--zm-border);
    border-radius: var(--zm-radius);
    background: var(--zm-gray);
    text-align: center;
}

.project-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    align-items: start;
    gap: 2.5rem;
}

.project-detail-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.project-detail-gallery img {
    width: 100%;
    min-height: 220px;
    max-height: 420px;
    border-radius: var(--zm-radius);
    background: var(--zm-gray);
    object-fit: cover;
    box-shadow: var(--zm-shadow);
}

.project-detail-gallery img:first-child {
    grid-column: 1 / -1;
    max-height: 520px;
}

.project-detail-copy {
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid var(--zm-border);
    border-radius: var(--zm-radius);
    background: var(--zm-white);
    box-shadow: var(--zm-shadow);
}

.project-detail-copy .project-summary {
    color: var(--brand-navy);
    font-size: 1.15rem;
    font-weight: 600;
}

.project-description-text {
    margin-bottom: 1.5rem;
    color: var(--zm-gray-medium);
    line-height: 1.8;
    white-space: pre-line;
}

.contact-map-frame {
    overflow: hidden;
    min-height: 360px;
    border-radius: var(--zm-radius);
    background: var(--zm-gray);
    box-shadow: var(--zm-shadow);
}

.contact-map-frame iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: 0;
}

.map-directions {
    margin-top: 1rem;
}

@media (max-width: 600px) {
    .ceo-message-card {
        grid-template-columns: 1fr;
    }

    .ceo-message-portrait {
        grid-row: 1;
        width: min(70%, 240px);
    }

    .project-detail-layout {
        grid-template-columns: 1fr;
    }

    .project-detail-gallery {
        grid-template-columns: 1fr;
    }

    .project-detail-gallery img,
    .project-detail-gallery img:first-child {
        grid-column: auto;
        min-height: 180px;
    }

    .about-company-highlights {
        padding: 1.1rem;
    }

    .contact-map-frame iframe {
        height: 300px;
    }
}
