/*
Theme Name: TRAD₂ Insights
Theme URI: https://www.tradcs.com/blog/
Author: TRAD₂ Consultancy Services
Author URI: https://www.tradcs.com/
Description: Custom TRAD₂ WordPress theme for the TRADCS Insights/Soro blog, visually matched to the main TRAD₂ Consultancy Services website.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 8.0
Text Domain: trad2-insights
*/
:root {
    --bg: #05070b;
    --bg-soft: #0b1018;
    --panel: rgba(10, 15, 24, 0.72);
    --panel-strong: rgba(8, 11, 18, 0.88);
    --text: #f4f7fb;
    --muted: rgba(233, 239, 247, 0.72);
    --line: rgba(214, 227, 242, 0.16);
    --line-strong: rgba(214, 227, 242, 0.28);
    --blue: #4cc8ff;
    --blue-soft: rgba(76, 200, 255, 0.18);
    --amber: #ffb45c;
    --amber-soft: rgba(255, 180, 92, 0.14);
    --red: #c94b5b;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.38);
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 14px;
    --max: 1240px;
    --nav-h: 96px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 118px;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: transparent;
    color: var(--text);
    line-height: 1.6;
    position: relative;
}

    body::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 0;
        background: linear-gradient(90deg, rgba(2, 4, 8, 0.74) 0%, rgba(4, 7, 12, 0.88) 44%, rgba(5, 9, 15, 0.30) 100%), linear-gradient(180deg, rgba(0,0,0,0.10), rgba(0,0,0,0.20)), url("img/backgrounds/tradcs-zoonex-technology-background.webp") center center / cover no-repeat !important;
        pointer-events: none;
    }

.site-header,
main,
.site-footer {
    position: relative;
    z-index: 1;
}

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

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

button, input, select, textarea {
    font: inherit;
}

.container {
    width: min(calc(100% - 40px), var(--max));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 5000;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    background: rgba(6, 12, 22, 0.92);
    border-bottom: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 10px 28px rgba(0,0,0,0.22);
    overflow: visible;
}

.nav-shell {
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 0;
    overflow: visible;
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    flex: 0 1 auto;
}

.brand-mark {
    width: 98px;
    height: 98px;
    border-radius: 30px;
    background: linear-gradient(180deg, #e7e8ec 0%, #c8ccd6 52%, #6f7588 100%);
    box-shadow: 0 8px 24px rgba(0,0,0,0.22);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    flex: 0 0 auto;
}

    .brand-mark img {
        width: 104%;
        height: 104%;
        object-fit: contain;
        display: block;
        padding: 0;
        margin: 0;
        border: 0;
        filter: none;
        background: transparent;
    }

.site-header .brand-mark {
    overflow: hidden;
    border-radius: 22px;
}

    .site-header .brand-mark img {
        padding: 0;
        object-fit: contain;
        object-position: center;
        transform: scale(1.06) translateY(-3px);
        transform-origin: center;
    }

.site-header .brand {
    gap: 14px;
}

.site-header .brand-title {
    font-size: 1.28rem;
    letter-spacing: 0.20em;
}

.site-header .brand-subtitle {
    font-size: 0.92rem;
    letter-spacing: 0.13em;
    color: rgba(233, 239, 247, 0.84);
}

.site-footer .brand-mark img {
    transform: none;
}

.brand-text {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.brand-title {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
    color: #f7fbff;
}

.brand-subtitle {
    font-size: 0.9rem;
    color: rgba(233, 239, 247, 0.80);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1.1;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-left: auto;
    overflow: visible;
}

    .nav-links > a,
    .drop-toggle {
        padding: 11px 15px;
        border-radius: 999px;
        color: rgba(245, 248, 252, 0.88);
        transition: 0.25s ease;
        border: 1px solid transparent;
        background: transparent;
        cursor: pointer;
        font-size: 0.95rem;
        font-weight: 600;
    }

        .nav-links > a:hover,
        .drop-toggle:hover,
        .dropdown:hover .drop-toggle,
        .dropdown:focus-within .drop-toggle {
            background: rgba(255,255,255,0.05);
            border-color: rgba(255,255,255,0.10);
            color: #fff;
        }

.dropdown {
    position: relative;
    overflow: visible;
    padding-bottom: 14px;
    margin-bottom: -14px;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    min-width: 320px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(8, 12, 20, 0.97);
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 20px 40px rgba(0,0,0,0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    pointer-events: none;
    z-index: 6000;
}

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

.dropdown-menu a {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    color: var(--muted);
    transition: 0.22s ease;
    font-size: 0.94rem;
}

    .dropdown-menu a:hover {
        background: rgba(255,255,255,0.04);
        color: #fff;
    }

.btn,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    font-weight: 700;
    transition: 0.26s ease;
}

.btn {
    color: #051019;
    background: linear-gradient(135deg, #eef6ff 0%, #79d6ff 100%);
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 10px 26px rgba(76, 200, 255, 0.18);
}

    .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 16px 34px rgba(76, 200, 255, 0.22);
    }

.btn-ghost {
    color: #fff;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.14);
}

    .btn-ghost:hover {
        transform: translateY(-2px);
        border-color: rgba(255,255,255,0.22);
        background: rgba(255,255,255,0.05);
    }

.hero {
    position: relative;
    min-height: clamp(600px, 74vh, 700px);
    display: flex;
    align-items: flex-start;
    overflow: hidden;
    isolation: isolate;
    background: transparent;
}

    .hero::before {
        display: none;
    }

.hero-bg {
    display: none;
}

.hero-grid {
    position: relative;
    z-index: 2;
    padding: 14px 0 12px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 42px;
    align-items: start;
}

.page-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

    .page-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(2, 4, 8, 0.42) 0%, rgba(4, 7, 12, 0.18) 44%, rgba(5, 9, 15, 0.10) 100%), linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0.08));
        z-index: 1;
    }

    .page-hero .container {
        position: relative;
        z-index: 2;
        padding: 72px 0 48px;
    }

    .page-hero .section-head {
        margin-bottom: 0;
        max-width: 980px;
    }

#intro {
    padding-top: 28px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
    color: rgba(244, 247, 251, 0.88);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 20px;
}

    .eyebrow::before {
        content: "";
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--blue), var(--amber));
        box-shadow: 0 0 18px rgba(76, 200, 255, 0.55);
    }

h1, h2, h3, h4 {
    margin: 0;
    line-height: 1.06;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(2.95rem, 6vw, 4.8rem);
    max-width: 11ch;
    margin-bottom: 18px;
    text-wrap: balance;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.25rem);
    text-wrap: balance;
}

.hero-copy p {
    max-width: 680px;
    font-size: clamp(1.02rem, 1.8vw, 1.18rem);
    color: var(--muted);
    margin: 0 0 28px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 30px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: rgba(246, 248, 251, 0.84);
    font-size: 0.95rem;
}

    .hero-trust span {
        display: inline-flex;
        align-items: center;
        gap: 10px;
    }

        .hero-trust span::before {
            content: "";
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: var(--blue);
            box-shadow: 0 0 10px rgba(76, 200, 255, 0.55);
        }

.hero-side {
    display: grid;
    gap: 18px;
    align-self: start;
}


.hero-card {
    position: relative;
    padding: 28px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(11, 17, 28, 0.72), rgba(8, 12, 20, 0.9));
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: var(--shadow);
    overflow: hidden;
}

    .hero-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(140deg, rgba(76, 200, 255, 0.12), transparent 42%), linear-gradient(320deg, rgba(255, 180, 92, 0.10), transparent 34%), linear-gradient(180deg, transparent, rgba(201, 75, 91, 0.06));
        pointer-events: none;
    }

.hero-card-logo {
    width: 100%;
    max-width: 360px;
    margin: 0 auto 24px;
    padding: 18px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

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

.hero-card h3 {
    font-size: 1.45rem;
    margin-bottom: 14px;
}

.hero-card p {
    margin: 0 0 22px;
    color: var(--muted);
}

.hero-proof-card {
    position: relative;
    padding: 22px 24px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(11, 17, 28, 0.78), rgba(8, 12, 20, 0.94));
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-proof-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(76, 200, 255, 0.14), transparent 42%), linear-gradient(315deg, rgba(255, 180, 92, 0.09), transparent 34%);
    pointer-events: none;
}

.hero-proof-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: rgba(244,247,251,0.88);
    font-size: 0.98rem;
    line-height: 1.65;
}

.hero-proof-card strong {
    color: #ffffff;
}

.hero-proof-card a {
    color: #b7e9ff;
    font-weight: 800;
    text-decoration: none;
}

.hero-proof-card a:hover {
    text-decoration: underline;
}

.service-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.service-mini {
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    font-size: 0.92rem;
    color: rgba(247, 249, 252, 0.9);
}

section {
    position: relative;
    padding: 96px 0;
}

.section-head {
    display: grid;
    gap: 14px;
    margin-bottom: 38px;
    max-width: 820px;
}

.section-kicker {
    color: #97dfff;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 700;
    font-size: 0.74rem;
}

.section-head p,
.lead,
.muted {
    color: var(--muted);
}

.intro-grid,
.about-grid,
.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: start;
}

.panel {
    padding: 30px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(10, 16, 26, 0.68), rgba(8, 11, 18, 0.9));
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: var(--shadow);
}

    .panel h3 {
        font-size: 1.35rem;
        margin-bottom: 14px;
    }

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

.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.stat-card,
.value-card,
.service-card,
.gallery-card,
.about-link-card,
.contact-card,
.cta-card {
    position: relative;
    overflow: hidden;
}

.stat-card {
    padding: 24px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.1);
    min-height: 145px;
}

    .stat-card::before,
    .service-card::before,
    .value-card::before,
    .gallery-card::before,
    .about-link-card::before,
    .contact-card::before,
    .cta-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(140deg, rgba(76, 200, 255, 0.10), transparent 34%), linear-gradient(330deg, rgba(255, 180, 92, 0.07), transparent 28%);
        pointer-events: none;
    }

.stat-number {
    display: block;
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 10px;
}

.services-grid,
.gallery-grid,
.values-grid,
.about-links {
    display: grid;
    gap: 18px;
}

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

.service-card {
    padding: 26px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(11, 17, 28, 0.78), rgba(9, 12, 18, 0.92));
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 18px 38px rgba(0,0,0,0.2);
    transition: transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease;
}

    .service-card:hover,
    .value-card:hover,
    .gallery-card:hover,
    .about-link-card:hover,
    .contact-card:hover,
    .partner-card:hover {
        transform: translateY(-4px);
        border-color: rgba(126, 221, 255, 0.28);
        box-shadow: 0 24px 46px rgba(0,0,0,0.28);
    }

.service-icon,
.value-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    font-weight: 800;
    font-size: 1.05rem;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.12);
    background: linear-gradient(145deg, rgba(76, 200, 255, 0.14), rgba(255, 180, 92, 0.08));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.service-card h3,
.value-card h3,
.gallery-content h3,
.about-link-card h3,
.contact-card h3,
.cta-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.service-card p,
.value-card p,
.gallery-content p,
.about-link-card p,
.contact-card p,
.cta-card p {
    margin: 0;
    color: var(--muted);
}

.gallery-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: 220px;
}

.gallery-card {
    display: flex;
    align-items: end;
    padding: 22px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.28s ease, border-color 0.28s ease;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

    .gallery-card:nth-child(1) {
        grid-column: span 7;
        grid-row: span 2;
    }

    .gallery-card:nth-child(2) {
        grid-column: span 5;
    }

    .gallery-card:nth-child(3) {
        grid-column: span 5;
    }

    .gallery-card:nth-child(4) {
        grid-column: span 4;
    }

    .gallery-card:nth-child(5) {
        grid-column: span 4;
    }

    .gallery-card:nth-child(6) {
        grid-column: span 4;
    }

.gallery-1 {
    background-image: linear-gradient(180deg, rgba(5, 10, 16, 0.05), rgba(4, 7, 11, 0.8)), url("img/gallery/tradcs-project-gallery-01.webp");
}

.gallery-2 {
    background-image: linear-gradient(180deg, rgba(5, 10, 16, 0.05), rgba(4, 7, 11, 0.8)), url("img/gallery/tradcs-project-gallery-02.webp");
}

.gallery-3 {
    background-image: linear-gradient(180deg, rgba(5, 10, 16, 0.05), rgba(4, 7, 11, 0.8)), url("img/gallery/tradcs-project-gallery-03.webp");
}

.gallery-4 {
    background-image: linear-gradient(180deg, rgba(5, 10, 16, 0.05), rgba(4, 7, 11, 0.8)), url("img/gallery/tradcs-project-gallery-04.webp");
}

.gallery-5 {
    background-image: linear-gradient(180deg, rgba(5, 10, 16, 0.05), rgba(4, 7, 11, 0.8)), url("img/gallery/tradcs-project-gallery-05.webp");
}

.gallery-6 {
    background-image: linear-gradient(180deg, rgba(5, 10, 16, 0.05), rgba(4, 7, 11, 0.8)), url("img/gallery/tradcs-project-gallery-06.webp");
}

.gallery-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 5, 10, 0.08), rgba(3, 6, 11, 0.88));
}

.gallery-content {
    position: relative;
    z-index: 1;
    max-width: 420px;
}

.gallery-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
    font-weight: 700;
}

    .gallery-tag::before {
        content: "";
        width: 26px;
        height: 1px;
        background: linear-gradient(90deg, var(--amber), rgba(255,255,255,0));
    }

.values-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.value-card,
.about-link-card,
.contact-card,
.cta-card {
    padding: 26px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(11, 17, 28, 0.72), rgba(8, 11, 18, 0.9));
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: var(--shadow);
    transition: transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease;
}

.about-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 24px;
}

.link-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: #bde9ff;
    font-weight: 700;
}

    .link-chip::after {
        content: "→";
        transition: transform 0.2s ease;
    }

.about-link-card:hover .link-chip::after,
.service-card:hover .link-chip::after {
    transform: translateX(3px);
}

.contact-grid {
    align-items: stretch;
}

.contact-stack {
    display: grid;
    gap: 18px;
}

.contact-meta {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

    .contact-meta div {
        display: grid;
        gap: 4px;
    }

.contact-label {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.7rem;
    color: #9fdcff;
    font-weight: 700;
}

form {
    display: grid;
    gap: 14px;
}

.field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.media-section {
    padding-top: 24px;
}

.media-grid-2,
.media-grid-4 {
    display: grid;
    gap: 18px;
}

.media-grid-2 {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: stretch;
}

.media-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.media-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.10);
    background: linear-gradient(180deg, rgba(11, 17, 28, 0.78), rgba(9, 12, 18, 0.92));
    box-shadow: 0 18px 38px rgba(0,0,0,0.22);
}

    .media-card img,
    .media-card video {
        width: 100%;
        height: 100%;
        display: block;
    }

    .media-card.large img,
    .media-card.medium img {
        object-fit: contain;
        object-position: center;
        background: rgba(7, 11, 18, 0.78);
    }

    .media-card.small img {
        object-fit: cover;
        object-position: center;
    }

    .media-card video {
        object-fit: cover;
        object-position: center;
    }

    .media-card.large {
        min-height: 420px;
    }

    .media-card.medium {
        min-height: 280px;
    }

    .media-card.small {
        min-height: 220px;
    }

    .media-card.copy-card {
        padding: 28px;
    }

        .media-card.copy-card h3 {
            margin: 0 0 14px;
            font-size: 1.3rem;
        }

        .media-card.copy-card p {
            margin: 0;
            color: var(--muted);
        }

.media-stack {
    display: grid;
    gap: 18px;
}

.media-caption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(2px);
}


    .media-caption strong {
        display: block;
        margin-bottom: 6px;
        font-size: 1rem;
        color: #fff;
    }

    .media-caption span {
        color: rgba(244,247,251,0.82);
        font-size: 0.92rem;
        line-height: 1.45;
    }

.media-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2,5,10,0.06), rgba(3,6,11,0.35));
    pointer-events: none;
}

.media-card.copy-card::after {
    display: none;
}

#sustainability-page .section-head {
    max-width: 920px;
}

    #sustainability-page .section-head h2 {
        font-size: clamp(1.95rem, 3vw, 2.75rem);
        line-height: 1.08;
        max-width: 22ch;
    }

    #sustainability-page .section-head p {
        max-width: 820px;
    }

input,
select,
textarea {
    width: 100%;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    background: rgba(255,255,255,0.03);
    color: var(--text);
    padding: 15px 16px;
    outline: none;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

select {
    background-color: rgba(255,255,255,0.03);
    color: var(--text);
}

    select option {
        background: #111722;
        color: #f4f7fb;
    }

    select:focus option:checked {
        background: #1c2b3d;
        color: #ffffff;
    }

input::placeholder,
textarea::placeholder {
    color: rgba(244,247,251,0.44);
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(122, 220, 255, 0.38);
    box-shadow: 0 0 0 4px rgba(76, 200, 255, 0.10);
    background: rgba(255,255,255,0.05);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

.form-status {
    display: none;
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.12);
    font-weight: 600;
    line-height: 1.5;
}

    .form-status.is-visible {
        display: block;
    }

    .form-status.is-success {
        background: rgba(76, 200, 255, 0.10);
        border-color: rgba(76, 200, 255, 0.28);
        color: #dff6ff;
    }

    .form-status.is-error {
        background: rgba(201, 75, 91, 0.10);
        border-color: rgba(201, 75, 91, 0.28);
        color: #ffe0e5;
    }

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.cta-wrap {
    padding-top: 0;
}

.cta-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 30px;
}

.site-footer {
    padding: 40px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.08);
    background: rgba(3, 5, 8, 0.6);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 26px;
    margin-bottom: 24px;
    align-items: start;
}

.footer-links,
.footer-legal {
    display: grid;
    gap: 10px;
}

    .footer-links a,
    .footer-legal a {
        color: var(--muted);
        transition: color 0.22s ease;
    }

        .footer-links a:hover,
        .footer-legal a:hover {
            color: #fff;
        }

.footer-bottom {
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.06);
    color: rgba(245,248,252,0.64);
    font-size: 0.92rem;
}

.footer-brand-block {
    max-width: 420px;
}

.site-footer .footer-brand {
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

    .site-footer .footer-brand .brand-mark {
        width: 72px;
        height: 72px;
        border-radius: 22px;
        box-shadow: 0 6px 18px rgba(0,0,0,0.18);
    }

    .site-footer .footer-brand .brand-text {
        display: grid;
        gap: 3px;
    }

    .site-footer .footer-brand .brand-title {
        font-size: 1.02rem;
        letter-spacing: 0.16em;
    }

    .site-footer .footer-brand .brand-subtitle {
        font-size: 0.78rem;
        letter-spacing: 0.10em;
        color: rgba(233, 239, 247, 0.78);
    }

.footer-brand-copy {
    max-width: 420px;
    margin: 0;
    line-height: 1.8;
}

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

    .reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

.partners-section {
    padding-top: 40px;
    padding-bottom: 26px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 10px;
}

.partner-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    min-height: 170px;
    padding: 20px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(11, 17, 28, 0.78), rgba(9, 12, 18, 0.92));
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 18px 38px rgba(0,0,0,0.20);
    transition: transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease;
    color: var(--text);
}

.partner-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    padding: 10px 14px;
    border-radius: 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
}

    .partner-logo-wrap img {
        max-width: 100%;
        max-height: 52px;
        width: auto;
        height: auto;
        object-fit: contain;
        display: block;
    }

.partner-card:nth-child(1) .partner-logo-wrap img,
.partner-card:nth-child(4) .partner-logo-wrap img {
    transform: scale(1.22);
    transform-origin: center;
}

.partner-card:nth-child(2) .partner-logo-wrap img {
    transform: scale(1.45);
    transform-origin: center;
}

.partner-meta {
    display: grid;
    gap: 6px;
}

.partner-name {
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.3;
    color: #f7fbff;
}

.partner-url {
    font-size: 0.88rem;
    color: var(--muted);
    word-break: break-word;
}

.partner-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    font-weight: 700;
    color: #bde9ff;
}

    .partner-link::after {
        content: "↗";
        transition: transform 0.2s ease;
    }

.partner-card:hover .partner-link::after {
    transform: translate(2px, -2px);
}

#partners .section-head {
    max-width: 980px;
    margin-bottom: 26px;
    padding-top: 18px;
}

    #partners .section-head h2 {
        font-size: clamp(2rem, 3.2vw, 2.25rem);
        line-height: 1.08;
        max-width: 32ch;
    }

    #partners .section-head p {
        max-width: 820px;
        font-size: 1rem;
    }



@media (max-width: 1280px) {
    #sustainability-page .about-grid,
    #sustainability-page .media-grid-2,
    #sustainability-page .cta-card {
        grid-template-columns: 1fr;
    }

    #sustainability-page .media-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #sustainability-page .media-card.large {
        min-height: 340px;
    }

    #sustainability-page .media-card.medium {
        min-height: 260px;
    }

    #sustainability-page .media-card.small {
        min-height: 220px;
    }

    #sustainability-page .section-head h2 {
        font-size: clamp(1.9rem, 3vw, 2.6rem);
        max-width: 22ch;
    }
}

@media (max-width: 1080px) {
    .nav-shell {
        min-height: auto;
        flex-wrap: wrap;
        justify-content: space-between;
    }

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

    .nav-links {
        width: 100%;
        justify-content: flex-start;
        margin-left: 0;
    }

    .hero-grid,
    .intro-grid,
    .about-grid,
    .contact-grid,
    .footer-grid,
    .cta-card {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .values-grid,
    .about-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-grid {
        grid-auto-rows: 210px;
    }

    .gallery-card:nth-child(1),
    .gallery-card:nth-child(2),
    .gallery-card:nth-child(3),
    .gallery-card:nth-child(4),
    .gallery-card:nth-child(5),
    .gallery-card:nth-child(6) {
        grid-column: span 6;
        grid-row: span 1;
    }
}

@media (max-width: 820px) {
    :root {
        --nav-h: auto;
    }

    .nav-shell {
        padding: 14px 0 18px;
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

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

    .brand-mark {
        width: 72px;
        height: 72px;
        border-radius: 20px;
    }

    .brand-title {
        font-size: 1.02rem;
        letter-spacing: 0.14em;
    }

    .brand-subtitle {
        font-size: 0.78rem;
        letter-spacing: 0.09em;
    }

    .nav-links {
        width: 100%;
        justify-content: flex-start;
        gap: 6px;
        margin-left: 0;
    }

        .nav-links > a,
        .drop-toggle {
            padding: 10px 13px;
            font-size: 0.92rem;
        }

    .dropdown {
        width: 100%;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .dropdown-menu {
        position: static;
        margin-top: 8px;
        min-width: 100%;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
        pointer-events: auto;
    }

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

    .services-grid,
    .values-grid,
    .about-links,
    .stat-grid,
    .field-row {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 240px;
    }

    .gallery-card:nth-child(1),
    .gallery-card:nth-child(2),
    .gallery-card:nth-child(3),
    .gallery-card:nth-child(4),
    .gallery-card:nth-child(5),
    .gallery-card:nth-child(6) {
        grid-column: auto;
        grid-row: auto;
    }



    .hero-grid {
        padding: 58px 0 72px;
    }

    .panel,
    .service-card,
    .value-card,
    .about-link-card,
    .contact-card,
    .cta-card,
    .media-card.copy-card {
        padding: 22px;
    }

    #sustainability-page .media-grid-4 {
        grid-template-columns: 1fr;
    }

    #sustainability-page .media-card.large,
    #sustainability-page .media-card.medium,
    #sustainability-page .media-card.small {
        min-height: 240px;
    }

    #sustainability-page .section-head h2 {
        max-width: 18ch;
    }
}

/* ===============================
   UNIFIED GLASS BOX STYLE
   =============================== */

.panel,
.service-card,
.value-card,
.about-link-card,
.contact-card,
.cta-card,
.partner-card,
.media-card.copy-card,
.hero-card,
.stat-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)) !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
    box-shadow: 0 18px 38px rgba(0,0,0,0.20) !important;
}

.intro-grid .panel,
.about-grid .panel {
    background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.018)) !important;
}

/* ===============================
   IMAGE LIGHTBOX
   =============================== */

img.is-lightboxable {
    cursor: zoom-in;
}

.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: rgba(3, 7, 12, 0.86);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

    .lightbox-overlay.is-open {
        opacity: 1;
        visibility: visible;
    }

.lightbox-dialog {
    position: relative;
    max-width: min(92vw, 1440px);
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    display: block;
    max-width: 100%;
    max-height: 88vh;
    width: auto;
    height: auto;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 24px 70px rgba(0,0,0,0.45);
    background: #0a1018;
}

.lightbox-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 999px;
    background: rgba(8, 12, 20, 0.92);
    color: #f4f7fb;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 24px rgba(0,0,0,0.28);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

    .lightbox-close:hover {
        transform: scale(1.05);
        background: rgba(14, 21, 34, 0.96);
        border-color: rgba(255,255,255,0.24);
    }

body.lightbox-open {
    overflow: hidden;
}

@media (max-width: 820px) {
    .lightbox-overlay {
        padding: 18px;
    }

    .lightbox-dialog {
        max-width: 96vw;
        max-height: 88vh;
    }

    .lightbox-image {
        max-height: 82vh;
        border-radius: 16px;
    }

    .lightbox-close {
        top: -10px;
        right: -10px;
        width: 40px;
        height: 40px;
    }
}

/* ===============================
   GLOBAL SECTION SPACING + DIVIDER
   =============================== */

section {
    position: relative;
    padding: 72px 0;
}

main section + section {
    padding-top: 34px;
}

    main section + section .container {
        position: relative;
    }

        main section + section .container::before {
            content: "";
            display: block;
            width: min(33%, 420px);
            height: 2px;
            margin: 0 auto 24px;
            border-radius: 999px;
            background: linear-gradient( 90deg, rgba(255, 70, 70, 0), rgba(255, 70, 70, 0.95), rgba(255, 70, 70, 0) );
            box-shadow: 0 0 12px rgba(255, 70, 70, 0.18);
        }

/* ===============================
   UNIFIED CONTENT BOX STYLE
   =============================== */

.panel,
.service-card,
.value-card,
.about-link-card,
.contact-card,
.cta-card,
.partner-card,
.media-card.copy-card,
.hero-card,
.stat-card {
    background: linear-gradient(180deg, rgba(8, 14, 22, 0.48), rgba(8, 14, 22, 0.40)) !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
    box-shadow: 0 18px 38px rgba(0,0,0,0.20) !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(2px);
}

.intro-grid .panel,
.about-grid .panel {
    background: linear-gradient(180deg, rgba(8, 14, 22, 0.20), rgba(8, 14, 22, 0.11)) !important;
}

/* ===============================
   MOBILE HEADER STABILISER
   Paste at very bottom of styles.css
   =============================== */

@media (max-width: 820px) {
    .container {
        width: min(calc(100% - 24px), var(--max));
    }

    .site-header {
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }

    .nav-shell {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 10px 0 14px;
        align-items: start;
    }

    .brand {
        width: 100%;
        gap: 12px;
    }

    .brand-mark {
        width: 64px;
        height: 64px;
        border-radius: 18px;
    }

    .site-header .brand-mark {
        border-radius: 18px;
    }

        .site-header .brand-mark img {
            transform: scale(1.03) translateY(-2px);
        }

    .site-header .brand-title {
        font-size: 0.98rem;
        letter-spacing: 0.12em;
    }

    .site-header .brand-subtitle {
        font-size: 0.72rem;
        letter-spacing: 0.08em;
    }

    .nav-links {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
        margin-left: 0;
    }

        .nav-links > a,
        .dropdown,
        .drop-toggle {
            width: 100%;
        }

        .nav-links > a,
        .drop-toggle {
            min-height: 44px;
            padding: 10px 8px;
            text-align: center;
            justify-content: center;
            font-size: 0.90rem;
            line-height: 1.2;
        }

    .dropdown {
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .dropdown-menu {
        position: static;
        min-width: 100%;
        margin-top: 8px;
        border-radius: 14px;
    }

    .nav-shell > .btn {
        width: 100%;
        max-width: none;
        min-height: 48px;
    }

    .hero-grid {
        padding: 28px 0 56px;
    }
}

@media (max-width: 540px) {
    .nav-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-header .brand-title {
        font-size: 0.92rem;
        letter-spacing: 0.10em;
    }

    .site-header .brand-subtitle {
        font-size: 0.68rem;
        letter-spacing: 0.06em;
    }
}


@media (max-width: 920px) and (max-height: 500px) and (orientation: landscape) {
    html {
        scroll-padding-top: 0;
    }

    .site-header {
        position: relative;
        top: auto;
    }

    .nav-shell {
        padding: 10px 0 12px;
    }

    .hero-grid {
        padding-top: 18px;
    }
}


/* ===============================
   PHASE 8 — VISUAL POLISH + MOBILE TIDY
   =============================== */

body {
    overflow-x: hidden;
}

.site-header {
    background: rgba(6, 12, 22, 0.94);
}

.nav-shell {
    min-height: 86px;
}

.site-header .brand-mark {
    width: 78px;
    height: 78px;
    border-radius: 20px;
}

.site-header .brand-title {
    font-size: 1.16rem;
}

.site-header .brand-subtitle {
    font-size: 0.84rem;
}

.nav-shell > .btn {
    flex: 0 0 auto;
    min-width: 142px;
}

.nav-links > a,
.drop-toggle,
.btn,
.btn-ghost,
.link-chip {
    position: relative;
    z-index: 2;
}

.btn,
.btn-ghost {
    min-height: 46px;
    white-space: normal;
    text-align: center;
}

.hero {
    min-height: auto;
}

.hero-grid {
    padding: 48px 0 54px;
    align-items: center;
}

.hero-side {
    max-width: 560px;
    margin-left: auto;
}

.hero-card,
.hero-proof-card {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero-card-logo {
    box-shadow: 0 14px 38px rgba(0,0,0,0.18);
}

.hero-actions .btn,
.hero-actions .btn-ghost {
    min-width: 210px;
}

.hero-trust {
    margin-top: 4px;
}

section {
    padding: 64px 0;
}

main section + section {
    padding-top: 30px;
}

.section-head {
    margin-bottom: 30px;
}

.service-card,
.value-card,
.about-link-card,
.contact-card,
.cta-card,
.partner-card {
    height: 100%;
}

.services-grid,
.values-grid,
.about-links,
.partners-grid {
    align-items: stretch;
}

.service-card p,
.value-card p,
.about-link-card p,
.contact-card p,
.cta-card p,
.panel p {
    line-height: 1.7;
}

.link-chip {
    width: fit-content;
}

.media-card.copy-card .link-chip + .link-chip,
.service-card .link-chip + .link-chip {
    margin-left: 0;
}

.zoonex-download-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 22px;
}

.zoonex-download-actions .btn {
    min-width: 220px;
    justify-content: center;
}

.dropdown.is-open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

@media (max-width: 1160px) {
    .nav-shell {
        gap: 18px;
    }

    .nav-links > a,
    .drop-toggle {
        padding: 10px 12px;
        font-size: 0.91rem;
    }

    .site-header .brand-title {
        font-size: 1.04rem;
    }

    .site-header .brand-subtitle {
        font-size: 0.76rem;
    }
}

@media (max-width: 1080px) {
    .hero-grid {
        align-items: start;
    }

    .hero-side {
        max-width: none;
        margin-left: 0;
    }
}

@media (max-width: 820px) {
    html {
        scroll-padding-top: 14px;
    }

    .site-header {
        position: sticky;
        max-height: 100vh;
        overflow-y: auto;
    }

    .brand-text {
        max-width: calc(100vw - 104px);
    }

    .site-header .brand-mark {
        width: 62px;
        height: 62px;
        border-radius: 17px;
    }

    .site-header .brand-title {
        font-size: 0.94rem;
        letter-spacing: 0.10em;
    }

    .site-header .brand-subtitle {
        font-size: 0.68rem;
        letter-spacing: 0.06em;
    }

    .nav-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .dropdown-menu a {
        padding: 11px 12px;
        font-size: 0.9rem;
    }

    .nav-shell > .btn {
        min-width: 0;
        width: 100%;
    }

    .hero-grid {
        padding: 26px 0 42px;
        gap: 24px;
    }

    h1 {
        font-size: clamp(2.55rem, 11vw, 3.45rem);
        max-width: 12ch;
    }

    h2 {
        font-size: clamp(1.72rem, 8vw, 2.1rem);
    }

    .hero-copy p {
        font-size: 1rem;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hero-actions .btn,
    .hero-actions .btn-ghost,
    .zoonex-download-actions .btn {
        width: 100%;
        min-width: 0;
    }

    .hero-card,
    .hero-proof-card,
    .panel,
    .service-card,
    .value-card,
    .about-link-card,
    .contact-card,
    .cta-card,
    .media-card.copy-card {
        border-radius: 20px;
    }

    .hero-card-logo {
        max-width: 300px;
        padding: 14px;
    }

    .service-mini-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 48px 0;
    }

    main section + section {
        padding-top: 22px;
    }

    .section-head {
        margin-bottom: 24px;
    }

    .cta-card {
        gap: 18px;
    }

    .cta-card .btn {
        width: 100%;
    }

    .site-footer {
        padding-bottom: 84px;
    }
}

@media (max-width: 480px) {
    .container {
        width: min(calc(100% - 20px), var(--max));
    }

    .nav-links {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: clamp(2.3rem, 13vw, 3rem);
    }

    .eyebrow {
        font-size: 0.66rem;
        letter-spacing: 0.12em;
    }

    .hero-card,
    .hero-proof-card,
    .panel,
    .service-card,
    .value-card,
    .about-link-card,
    .contact-card,
    .cta-card,
    .media-card.copy-card {
        padding: 20px;
    }

    .whatsapp-float {
        right: 12px;
        bottom: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }

    .btn:hover,
    .btn-ghost:hover,
    .service-card:hover,
    .value-card:hover,
    .gallery-card:hover,
    .about-link-card:hover,
    .contact-card:hover,
    .partner-card:hover {
        transform: none !important;
    }
}

/* ===============================
   PHASE 11 — COMPACT MOBILE HEADER
   Keeps the phone header short by collapsing navigation behind a Menu button.
   Desktop/tablet navigation remains unchanged.
   =============================== */

.mobile-menu-toggle {
    display: none;
}

@media (max-width: 820px) {
    body.has-mobile-header-menu .site-header {
        position: sticky;
        top: 0;
        max-height: 100vh;
        overflow-y: auto;
    }

    body.has-mobile-header-menu .nav-shell {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 8px 12px;
        padding: 8px 0;
        min-height: 0;
    }

    body.has-mobile-header-menu .brand {
        width: auto;
        min-width: 0;
        gap: 10px;
        grid-column: 1;
    }

    body.has-mobile-header-menu .site-header .brand-mark,
    body.has-mobile-header-menu .brand-mark {
        width: 50px;
        height: 50px;
        border-radius: 14px;
    }

    body.has-mobile-header-menu .site-header .brand-mark img {
        transform: scale(1.03) translateY(-1px);
    }

    body.has-mobile-header-menu .brand-text {
        max-width: calc(100vw - 150px);
    }

    body.has-mobile-header-menu .site-header .brand-title {
        font-size: 0.88rem;
        letter-spacing: 0.10em;
        line-height: 1;
    }

    body.has-mobile-header-menu .site-header .brand-subtitle {
        font-size: 0.62rem;
        letter-spacing: 0.06em;
        line-height: 1.1;
    }

    body.has-mobile-header-menu .mobile-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 42px;
        padding: 10px 14px;
        border-radius: 999px;
        border: 1px solid rgba(255,255,255,0.16);
        background: rgba(184, 232, 255, 0.95);
        color: #06111c;
        font-weight: 800;
        line-height: 1;
        cursor: pointer;
        grid-column: 2;
        box-shadow: 0 10px 26px rgba(0,0,0,0.18);
    }

    body.has-mobile-header-menu .mobile-menu-toggle:focus-visible {
        outline: 2px solid rgba(184, 232, 255, 0.95);
        outline-offset: 3px;
    }

    body.has-mobile-header-menu .mobile-menu-icon,
    body.has-mobile-header-menu .mobile-menu-icon::before,
    body.has-mobile-header-menu .mobile-menu-icon::after {
        display: block;
        width: 18px;
        height: 2px;
        border-radius: 999px;
        background: currentColor;
        content: "";
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    body.has-mobile-header-menu .mobile-menu-icon {
        position: relative;
    }

    body.has-mobile-header-menu .mobile-menu-icon::before,
    body.has-mobile-header-menu .mobile-menu-icon::after {
        position: absolute;
        left: 0;
    }

    body.has-mobile-header-menu .mobile-menu-icon::before {
        top: -6px;
    }

    body.has-mobile-header-menu .mobile-menu-icon::after {
        top: 6px;
    }

    body.has-mobile-header-menu .site-header.is-mobile-menu-open .mobile-menu-icon {
        background: transparent;
    }

    body.has-mobile-header-menu .site-header.is-mobile-menu-open .mobile-menu-icon::before {
        transform: translateY(6px) rotate(45deg);
    }

    body.has-mobile-header-menu .site-header.is-mobile-menu-open .mobile-menu-icon::after {
        transform: translateY(-6px) rotate(-45deg);
    }

    body.has-mobile-header-menu .nav-links,
    body.has-mobile-header-menu .nav-shell > .btn {
        display: none;
    }

    body.has-mobile-header-menu .site-header.is-mobile-menu-open .nav-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-column: 1 / -1;
        width: 100%;
        gap: 8px;
        margin: 8px 0 0;
    }

    body.has-mobile-header-menu .site-header.is-mobile-menu-open .nav-shell > .btn {
        display: inline-flex;
        grid-column: 1 / -1;
        width: 100%;
        min-height: 44px;
        margin-top: 2px;
    }

    body.has-mobile-header-menu .nav-links > a,
    body.has-mobile-header-menu .drop-toggle {
        min-height: 42px;
        padding: 9px 8px;
        font-size: 0.88rem;
        line-height: 1.2;
    }

    body.has-mobile-header-menu .dropdown-menu a {
        padding: 10px 12px;
        font-size: 0.88rem;
    }

    body.has-mobile-header-menu .hero-grid {
        padding-top: 20px;
    }
}

@media (max-width: 420px) {
    body.has-mobile-header-menu .site-header .brand-mark,
    body.has-mobile-header-menu .brand-mark {
        width: 46px;
        height: 46px;
        border-radius: 13px;
    }

    body.has-mobile-header-menu .site-header .brand-title {
        font-size: 0.80rem;
        letter-spacing: 0.08em;
    }

    body.has-mobile-header-menu .site-header .brand-subtitle {
        font-size: 0.56rem;
        letter-spacing: 0.05em;
    }

    body.has-mobile-header-menu .mobile-menu-toggle {
        min-height: 40px;
        padding: 9px 12px;
        font-size: 0.88rem;
    }

    body.has-mobile-header-menu .site-header.is-mobile-menu-open .nav-links {
        grid-template-columns: 1fr;
    }
}


/* Compact Zoonex referral strip: intentionally secondary to core TRAD content */
.zoonex-strip {
    padding: 34px 0 18px;
}

.zoonex-strip-card {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    padding: 26px 30px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(11, 17, 28, 0.86), rgba(8, 12, 19, 0.94));
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 18px 38px rgba(0,0,0,0.20);
}

.zoonex-strip-logo {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 16px;
    background: rgba(255,255,255,0.94);
}

.zoonex-strip-logo img {
    width: 100%;
    max-width: 125px;
    max-height: 72px;
    object-fit: contain;
}

.zoonex-strip-copy .section-kicker {
    margin-bottom: 4px;
}

.zoonex-strip-copy h2 {
    margin: 0 0 6px;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.zoonex-strip-copy p {
    margin: 0;
    color: var(--muted);
    max-width: 780px;
}

.zoonex-strip-action {
    white-space: nowrap;
}

@media (max-width: 900px) {
    .zoonex-strip-card {
        grid-template-columns: 120px minmax(0, 1fr);
    }
    .zoonex-strip-action {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .zoonex-strip {
        padding-top: 22px;
    }
    .zoonex-strip-card {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 22px;
    }
    .zoonex-strip-logo {
        width: 150px;
        min-height: 82px;
    }
    .zoonex-strip-action {
        grid-column: auto;
        white-space: normal;
    }
}

/* ==========================================================
   TRAD₂ INSIGHTS — WORDPRESS BLOG LAYER
   Extends the live TRADCS visual system for /blog/.
   ========================================================== */

body.trad2-blog-theme {
    min-height: 100vh;
    background: #05070b;
}

body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }

.trad-blog-header .nav-links > a.is-current {
    color: #fff;
    background: rgba(76, 200, 255, 0.10);
    border-color: rgba(76, 200, 255, 0.24);
}

.trad-blog-header .header-contact { flex: 0 0 auto; }

@media (min-width: 1081px) and (max-width: 1320px) {
    .trad-blog-header .nav-shell { gap: 14px; }
    .trad-blog-header .nav-links { gap: 4px; }
    .trad-blog-header .nav-links > a,
    .trad-blog-header .drop-toggle { padding: 10px 10px; font-size: 0.88rem; }
    .trad-blog-header .brand-mark { width: 82px; height: 82px; }
    .trad-blog-header .brand-title { font-size: 1.02rem; }
    .trad-blog-header .brand-subtitle { font-size: 0.73rem; }
    .trad-blog-header .header-contact { padding-inline: 16px; }
}

.blog-hero {
    min-height: 610px;
    padding: 78px 0 70px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 18% 16%, rgba(76, 200, 255, 0.12), transparent 28%),
        radial-gradient(circle at 84% 74%, rgba(255, 180, 92, 0.08), transparent 30%);
}

.blog-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: 48px;
    align-items: center;
}

.blog-hero-copy { max-width: 780px; }
.blog-hero-copy h1 {
    max-width: 13ch;
    margin: 12px 0 24px;
    font-size: clamp(3.1rem, 5.6vw, 5.6rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}
.blog-hero-copy p { max-width: 760px; color: var(--muted); font-size: 1.08rem; }

.blog-hero-card { align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.blog-hero-card h3 { font-size: clamp(1.55rem, 2.2vw, 2.15rem); margin: 14px 0; }
.blog-focus-list { display: grid; gap: 10px; margin-top: 22px; }
.blog-focus-list a {
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    background: rgba(255,255,255,0.025);
    transition: 0.22s ease;
}
.blog-focus-list a:hover { border-color: rgba(76,200,255,0.28); background: rgba(76,200,255,0.07); transform: translateX(3px); }
.blog-focus-list span { color: var(--blue); font-weight: 800; font-size: 0.78rem; letter-spacing: 0.08em; }
.blog-focus-list strong { color: #f8fbff; }

.blog-feed-section { padding: 76px 0 88px; }
.blog-feed-top { padding-top: 88px; min-height: 65vh; }
.blog-section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
    gap: 32px;
    align-items: end;
    margin-bottom: 34px;
}
.blog-section-head.compact { grid-template-columns: 1fr; margin-bottom: 26px; }
.blog-section-head h1,
.blog-section-head h2 { margin: 8px 0 10px; }
.blog-section-head p { max-width: 780px; margin: 0; color: var(--muted); }

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.blog-card {
    min-width: 0;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(11, 17, 28, 0.84), rgba(7, 10, 16, 0.94));
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 18px 45px rgba(0,0,0,0.22);
    transition: transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease;
}
.blog-card:hover { transform: translateY(-5px); border-color: rgba(76,200,255,0.26); box-shadow: 0 24px 58px rgba(0,0,0,0.32); }
.blog-card-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #0a1019; }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.blog-card:hover .blog-card-media img { transform: scale(1.035); }
.blog-card-fallback {
    width: 100%; height: 100%;
    padding: 28px;
    display: flex; flex-direction: column; justify-content: space-between;
    background:
        linear-gradient(135deg, rgba(76,200,255,0.18), rgba(255,180,92,0.08)),
        radial-gradient(circle at 85% 15%, rgba(76,200,255,0.24), transparent 34%),
        #0a1019;
}
.fallback-brand { font-weight: 900; letter-spacing: 0.17em; font-size: 1.1rem; }
.blog-card-fallback strong { font-size: 1.35rem; max-width: 12ch; }
.blog-card-body { padding: 22px 22px 24px; }
.blog-card-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; color: rgba(233,239,247,0.62); font-size: 0.82rem; }
.blog-card-title { font-size: 1.35rem; line-height: 1.16; margin: 0 0 12px; letter-spacing: -0.025em; }
.blog-card-title a:hover { color: #bfeaff; }
.blog-card-excerpt { color: var(--muted); font-size: 0.96rem; }
.blog-card-excerpt p { margin: 0; }
.blog-read-more { display: inline-flex; gap: 9px; align-items: center; margin-top: 18px; color: #bfeaff; font-weight: 800; font-size: 0.92rem; }
.blog-read-more span { transition: transform 0.2s ease; }
.blog-read-more:hover span { transform: translateX(4px); }

.trad-search-form { display: flex; gap: 9px; width: 100%; }
.trad-search-field {
    min-width: 0; width: 100%; min-height: 48px; padding: 0 15px;
    color: #f6f9fd; background: rgba(8,12,20,0.86);
    border: 1px solid rgba(255,255,255,0.13); border-radius: 999px;
    outline: none;
}
.trad-search-field:focus { border-color: rgba(76,200,255,0.48); box-shadow: 0 0 0 3px rgba(76,200,255,0.10); }
.trad-search-submit {
    min-height: 48px; padding: 0 18px; border: 0; border-radius: 999px;
    color: #051019; background: linear-gradient(135deg, #eef6ff 0%, #79d6ff 100%);
    font-weight: 800; cursor: pointer;
}

.blog-empty-state { text-align: left; max-width: 860px; margin: 0 auto; padding: 38px; }
.blog-empty-state h2 { margin: 10px 0; }
.blog-empty-state .btn { margin-top: 10px; }

.blog-pagination { margin-top: 38px; }
.blog-pagination .nav-links { width: auto; display: flex; justify-content: center; gap: 8px; }
.blog-pagination .page-numbers {
    display: inline-flex; min-width: 44px; min-height: 44px; padding: 0 13px;
    align-items: center; justify-content: center; border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.11); background: rgba(8,12,20,0.70); color: var(--muted);
}
.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover { color: #071019; background: #90ddff; border-color: #90ddff; }

.blog-cta-section { padding-bottom: 76px; }

.article-hero,
.archive-hero {
    padding: 82px 0 46px;
    background:
        radial-gradient(circle at 16% 22%, rgba(76,200,255,0.12), transparent 30%),
        linear-gradient(180deg, rgba(5,7,11,0.2), rgba(5,7,11,0));
}
.article-hero-inner { max-width: 980px; margin-left: auto; margin-right: auto; }
.article-hero h1,
.archive-hero h1 {
    max-width: 18ch; margin: 12px 0 20px;
    font-size: clamp(2.65rem, 5vw, 4.9rem); line-height: 1.02; letter-spacing: -0.05em;
}
.article-back-link { display: inline-flex; margin-bottom: 28px; color: #bfeaff; font-weight: 700; }
.article-meta { display: flex; flex-wrap: wrap; gap: 9px; color: var(--muted); font-size: 0.92rem; }
.archive-description { color: var(--muted); max-width: 780px; }
.archive-search { max-width: 520px; margin-top: 24px; }

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 28px;
    align-items: start;
    padding-bottom: 74px;
}
.page-layout-single { grid-template-columns: minmax(0, 900px); justify-content: center; }
.article-card {
    min-width: 0; overflow: hidden;
    border-radius: 24px;
    background: rgba(8,12,20,0.88);
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: var(--shadow);
}
.article-featured-image { margin: 0; max-height: 610px; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,0.08); }
.article-featured-image img { width: 100%; max-height: 610px; object-fit: cover; }
.article-content { padding: clamp(24px, 4vw, 54px); font-size: 1.05rem; line-height: 1.84; color: rgba(245,248,252,0.88); }
.article-content > *:first-child { margin-top: 0; }
.article-content > *:last-child { margin-bottom: 0; }
.article-content h2,
.article-content h3,
.article-content h4 { color: #fff; line-height: 1.18; letter-spacing: -0.03em; margin-top: 1.8em; margin-bottom: 0.65em; }
.article-content h2 { font-size: clamp(1.7rem, 3vw, 2.45rem); }
.article-content h3 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); }
.article-content p, .article-content ul, .article-content ol { margin-top: 0; margin-bottom: 1.35em; }
.article-content a { color: #83d9ff; text-decoration: underline; text-decoration-color: rgba(131,217,255,0.36); text-underline-offset: 3px; }
.article-content blockquote {
    margin: 2em 0; padding: 22px 24px; border-left: 3px solid var(--blue);
    background: rgba(76,200,255,0.07); border-radius: 0 16px 16px 0; color: #eaf7ff;
}
.article-content img { border-radius: 16px; height: auto; }
.article-content figure { margin: 2em 0; }
.article-content figcaption { color: rgba(233,239,247,0.58); font-size: 0.86rem; margin-top: 8px; }
.article-content pre,
.article-content code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.article-content pre { overflow-x: auto; padding: 18px; border-radius: 14px; background: #030609; border: 1px solid rgba(255,255,255,0.10); }
.article-content table { width: 100%; border-collapse: collapse; margin: 1.8em 0; }
.article-content th,
.article-content td { padding: 12px 14px; border: 1px solid rgba(255,255,255,0.12); text-align: left; }
.article-content th { background: rgba(76,200,255,0.08); }
.article-content .alignwide { margin-left: min(-6vw, -50px); margin-right: min(-6vw, -50px); max-width: none; }

.article-tags { padding: 0 clamp(24px, 4vw, 54px) 38px; }
.article-tags > strong { display: block; margin-bottom: 10px; color: #fff; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list a { display: inline-flex; padding: 7px 11px; border-radius: 999px; background: rgba(76,200,255,0.08); border: 1px solid rgba(76,200,255,0.18); color: #ccefff; font-size: 0.82rem; }

.article-sidebar { position: sticky; top: 122px; display: grid; gap: 18px; }
body.admin-bar .article-sidebar { top: 154px; }
.sidebar-card {
    padding: 24px; border-radius: 20px;
    background: rgba(8,12,20,0.88); border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 16px 38px rgba(0,0,0,0.22);
}
.sidebar-card h3 { margin: 10px 0 12px; font-size: 1.35rem; }
.sidebar-card p { color: var(--muted); }
.sidebar-links { display: grid; gap: 6px; margin-top: 18px; }
.sidebar-links a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,0.07); color: rgba(245,248,252,0.84); font-size: 0.9rem; }
.sidebar-links a:hover { color: #bfeaff; }
.sidebar-search > strong { display: block; margin-bottom: 14px; }
.sidebar-search .trad-search-form { display: grid; }
.sidebar-search .trad-search-submit { width: 100%; }
.related-section { padding: 24px 0 76px; }

.error-page-section { min-height: 70vh; display: flex; align-items: center; padding: 80px 0; }
.error-card { max-width: 880px; margin: 0 auto; padding: clamp(28px, 5vw, 52px); }
.error-card h1 { max-width: 16ch; margin: 12px 0 18px; }

.footer-bottom a { color: #bfeaff; }
.footer-separator { padding: 0 6px; opacity: 0.45; }

.screen-reader-text {
    border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px;
    overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}

@media (max-width: 1080px) {
    .blog-hero-grid { grid-template-columns: 1fr; }
    .blog-hero-card { max-width: 760px; }
    .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .article-layout { grid-template-columns: 1fr; }
    .article-sidebar { position: static; grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 820px) {
    .blog-hero { min-height: 0; padding: 42px 0 54px; }
    .blog-hero-grid { gap: 26px; }
    .blog-hero-copy h1 { font-size: clamp(2.45rem, 12vw, 3.65rem); }
    .blog-section-head { grid-template-columns: 1fr; gap: 18px; }
    .blog-search-wrap { max-width: 520px; }
    .blog-grid { grid-template-columns: 1fr; }
    .article-hero, .archive-hero { padding: 48px 0 34px; }
    .article-hero h1, .archive-hero h1 { font-size: clamp(2.3rem, 11vw, 3.4rem); }
    .article-layout { width: min(calc(100% - 20px), var(--max)); gap: 20px; }
    .article-card { border-radius: 20px; }
    .article-content { padding: 24px 20px; font-size: 1rem; }
    .article-content .alignwide { margin-left: 0; margin-right: 0; }
    .article-sidebar { grid-template-columns: 1fr; }
    .article-tags { padding: 0 20px 28px; }
    .trad-search-form { display: grid; }
    .trad-search-submit { width: 100%; }
}

@media (max-width: 480px) {
    .blog-card-body { padding: 19px; }
    .blog-card-title { font-size: 1.22rem; }
    .blog-hero-card { padding: 21px; }
}

/* Floating WhatsApp control — mirrors the main TRADCS site. */
.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 999px;
    background: #25D366;
    color: #06150b;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.95rem;
    line-height: 1;
    box-shadow: 0 18px 45px rgba(0,0,0,0.34);
    border: 1px solid rgba(255,255,255,0.34);
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}
.whatsapp-float:hover { transform: translateY(-2px); filter: brightness(1.04); box-shadow: 0 22px 55px rgba(0,0,0,0.42); }
.whatsapp-float:focus-visible { outline: 3px solid rgba(255,255,255,0.94); outline-offset: 4px; }
.whatsapp-float svg { width: 22px; height: 22px; flex: 0 0 auto; display: block; }
@media (max-width: 640px) {
    .whatsapp-float { right: 16px; bottom: 16px; padding: 13px; }
    .whatsapp-float span { display: none; }
    .whatsapp-float svg { width: 24px; height: 24px; }
}
