:root {
    --cmok-green: #53a354;
    --cmok-green-deep: #3d7d3e;
    --cmok-green-hot: #6fbf70;
    --cmok-ink: #14261c;
    --cmok-night: #070c09;
    --cmok-steel: #101812;
    --cmok-mist: #f3f6f3;
    --cmok-paper: #eef2ee;
    --cmok-muted: #8a9a8e;
    --cmok-line: rgba(83, 163, 84, 0.28);
    --font-display: "Poppins", "Segoe UI", sans-serif;
    --font-body: "Open Sans", "Segoe UI", sans-serif;
    --wrap: 1180px;
    --nav-h: 78px;
}

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: #dce6de;
    background: var(--cmok-night);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

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

.skip {
    position: absolute;
    left: 12px;
    top: -40px;
    z-index: 200;
    background: var(--cmok-green);
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
}
.skip:focus { top: 12px; }

.wrap {
    width: min(calc(100% - 40px), var(--wrap));
    margin-inline: auto;
}

/* ---------- NAV ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    background: rgba(7, 12, 9, 0.72);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: min(calc(100% - 40px), var(--wrap));
    margin-inline: auto;
}
.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}
.brand img { height: 42px; width: auto; }
.brand-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.brand-kicker {
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--cmok-green-hot);
    font-weight: 700;
}
.brand-sub {
    font-size: 12px;
    color: #c5d0c6;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-links a {
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #e8efe8;
}
.nav-links a:hover { color: var(--cmok-green-hot); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.lang {
    display: flex;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 999px;
    overflow: hidden;
}
.lang button {
    appearance: none;
    border: 0;
    background: transparent;
    color: #c5d0c6;
    font: 700 11px/1 var(--font-body);
    letter-spacing: 0.08em;
    padding: 7px 10px;
    cursor: pointer;
}
.lang button[aria-pressed="true"],
.lang button.is-on {
    background: var(--cmok-green);
    color: #fff;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-green {
    background: var(--cmok-green);
    color: #fff;
    padding: 11px 18px;
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(83, 163, 84, 0.28);
}
.btn-green:hover { background: #5fb360; }
.btn-ghost {
    color: #fff;
    border: 1px solid rgba(255,255,255,0.28);
    padding: 11px 18px;
    background: rgba(255,255,255,0.04);
}
.btn-ghost:hover { border-color: #fff; }
.btn-lg { padding: 14px 22px; font-size: 15px; }

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: calc(100vh - var(--nav-h));
    display: grid;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        url("/images/cmok/hero-factory.webp") center 42% / cover no-repeat,
        #0b1410;
}
.hero-shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(7,12,9,0.92) 0%, rgba(7,12,9,0.72) 46%, rgba(7,12,9,0.38) 100%),
        linear-gradient(180deg, rgba(7,12,9,0.15) 0%, rgba(7,12,9,0.55) 100%);
}
.hero-grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(83,163,84,0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(83,163,84,0.07) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.55), transparent 80%);
    pointer-events: none;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
    padding: 72px 0 88px;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cmok-green-hot);
}
.eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--cmok-green);
}
.hero h1 {
    margin: 0 0 18px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(40px, 6vw, 76px);
    line-height: 0.95;
    letter-spacing: -0.035em;
    color: #fff;
    text-wrap: balance;
}
.hero h1 em {
    font-style: normal;
    color: var(--cmok-green-hot);
}
.lead {
    max-width: 34rem;
    margin: 0 0 28px;
    font-size: 17px;
    color: #d5ddd6;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.pass {
    background: linear-gradient(180deg, rgba(22, 32, 24, 0.88), rgba(10, 16, 12, 0.92));
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.35);
    backdrop-filter: blur(18px);
}
.pass-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}
.chip {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.12);
}
.chip img { width: 100%; height: 100%; object-fit: cover; }
.pass-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--cmok-green-hot);
}
.pass h2 {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: 26px;
    line-height: 1.15;
    color: #fff;
}
.pass p {
    margin: 0 0 20px;
    color: #c4cfc6;
    font-size: 14px;
}
.pass-roles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 18px;
}
.role {
    padding: 12px;
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    pointer-events: none;
}
.role strong {
    display: block;
    font-size: 13px;
    color: #fff;
    margin-bottom: 2px;
}
.role span { font-size: 12px; color: var(--cmok-muted); }
.pass .btn { width: 100%; }
.pass-note {
    margin: 14px 0 0;
    text-align: center;
    font-size: 12px;
    color: #9aab9e;
}
.pass-note a { color: #e8efe8; }

.kicker {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--cmok-green-hot);
}

.band {
    padding: 72px 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(83,163,84,0.22), transparent 40%),
        var(--cmok-night);
    text-align: center;
}
.band h2 {
    margin: 0 0 14px;
    font-family: var(--font-display);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #fff;
}
.band p {
    margin: 0 auto 24px;
    max-width: 34rem;
    color: #c5d0c6;
}
.band-cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ---------- FOOTER ---------- */
.footer {
    padding: 36px 0 28px;
    border-top: 1px solid rgba(255,255,255,0.06);
    background: #050805;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr;
    gap: 28px;
    align-items: start;
}
.footer h3 {
    margin: 0 0 10px;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cmok-green-hot);
}
.footer p, .footer a { color: #c5d0c6; font-size: 14px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-copy {
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    color: #8a9a8e;
    font-size: 12px;
}
.certs img { height: 54px; width: auto; }

.sig {
    background: #030503;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 20px 20px;
    text-align: center;
}
.sig p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    letter-spacing: 0.3px;
}
.sig-dot {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 8px;
}
.website-credit { display: inline; }
.iskrex-link {
    position: relative;
    display: inline-block;
    text-decoration: none;
    padding: 2px 8px;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.iskrex-text {
    position: relative;
    z-index: 1;
    font-weight: 600;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #667eea, #764ba2, #ff4757);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientMove 3s ease infinite;
}
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.iskrex-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
    border-radius: 4px;
}
.iskrex-link:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}
.iskrex-link:hover .iskrex-shine { left: 100%; }

@media (max-width: 900px) {
    .nav-links { display: none; }
    .brand-meta { display: none; }
    .brand img { height: 36px; }
    .nav-actions { gap: 8px; }
    .lang button { padding: 6px 8px; }
    .nav .btn-green { padding: 8px 12px; font-size: 13px; }
    .hero { min-height: auto; }
    .hero-inner,
    .footer-grid { grid-template-columns: 1fr; }
    .hero-inner { padding: 36px 0 64px; gap: 24px; }
    .hero h1 { font-size: clamp(34px, 11vw, 52px); }
    .sig-dot { display: none; }
    .sig .website-credit { display: block; margin-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn:hover { transform: none; }
    .iskrex-text { animation: none; }
    .iskrex-link:hover { transform: none; }
}
