/* ===== AFSIT — static site ===== */

:root {
    --orange: #ff5a1f;
    --orange-dark: #e04510;
    --ink: #0b1220;
    --ink-2: #1a2332;
    --slate: #475569;
    --slate-2: #64748b;
    --line: #e5e9f0;
    --soft: #f6f8fb;
    --white: #ffffff;
    --accent-grad: linear-gradient(135deg, #ff5a1f 0%, #ff8a4c 100%);
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', 'Inter', sans-serif;
    color: var(--ink);
    line-height: 1.2;
    margin: 0 0 0.5em;
    font-weight: 700;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.6rem); letter-spacing: 0; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); letter-spacing: 0; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }
p { margin: 0 0 1em; color: var(--slate); }
a { color: inherit; text-decoration: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 96px 0; }
.section-soft { background: var(--soft); }
.section-dark {
    background: linear-gradient(180deg, #0b1220 0%, #0f1a2f 100%);
    color: #e2e8f0;
}
.section-dark h2, .section-dark h3 { color: white; }
.section-dark p { color: #94a3b8; }
.section-dark .kicker { color: #ff8a4c; }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
    display: inline-block;
    color: var(--orange);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.lead { font-size: 1.1rem; color: var(--slate); }
.accent {
    background: var(--accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.center { text-align: center; }
.mt-32 { margin-top: 32px; }
.mt-72 { margin-top: 72px; }

/* ===== Navbar ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line);
}
.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.logo {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 0;
    display: flex;
    align-items: center;
}
.logo-img {
    display: block;
    width: 152px;
    height: auto;
}
.footer-logo .logo-img {
    width: 154px;
}
.logo-mark { color: var(--ink); }
.logo-mark-alt {
    background: var(--accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}
.nav-links a {
    font-weight: 500;
    color: var(--slate);
    transition: color 0.2s;
    position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    background: var(--orange);
    border-radius: 1px;
}
.btn-nav {
    background: var(--ink);
    color: white !important;
    padding: 10px 20px;
    border-radius: 8px;
    transition: background 0.2s;
}
.btn-nav:hover { background: var(--orange) !important; }
.btn-nav.active::after { display: none; }

.burger { display: none; background: none; border: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.3s; }

/* ===== Buttons ===== */
.btn-primary, .btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: var(--accent-grad);
    color: white;
    box-shadow: 0 8px 22px rgba(255, 90, 31, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255, 90, 31, 0.36); }
.btn-primary.big { padding: 18px 32px; font-size: 1.05rem; }
.btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink); }

/* ===== Hero ===== */
.hero {
    position: relative;
    padding: 88px 0 72px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 247, 241, 0.96) 100%),
        radial-gradient(circle at 80% 20%, rgba(255, 90, 31, 0.18), transparent 34%);
}
.hero-bg {
    position: absolute;
    top: -200px;
    right: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 90, 31, 0.18) 0%, transparent 70%);
    pointer-events: none;
}
.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr);
    gap: 48px;
    align-items: center;
}
.hero-copy { min-width: 0; }
.hero-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 90, 31, 0.1);
    color: var(--orange-dark);
    border: 1px solid rgba(255, 90, 31, 0.2);
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 24px;
}
.hero h1 { max-width: 900px; margin-bottom: 24px; }
.hero-sub {
    font-size: 1.2rem;
    max-width: 720px;
    color: var(--slate);
    margin-bottom: 36px;
}
.hero-sub strong { color: var(--ink); font-weight: 600; }
.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 0;
}
.hero-visual {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 90, 31, 0.16);
    box-shadow: var(--shadow-lg);
    background: var(--ink);
}
.hero-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11, 18, 32, 0.06), rgba(255, 90, 31, 0.18));
    pointer-events: none;
}
.hero-visual img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}
.hero-stats {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-top: 42px;
    margin-top: 18px;
    border-top: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column; }
.stat-num {
    font-family: 'Poppins', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    background: var(--accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    margin-bottom: 8px;
}
.stat-lbl { font-size: 0.9rem; color: var(--slate-2); }

.community-stats { border-top: none; padding-top: 0; margin-top: 36px; }
.community-cta { margin-top: 36px; }
.community-proof {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 28px;
    margin-top: 40px;
    align-items: start;
}
.community-shot {
    display: block;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    border: 1px solid var(--line);
    transition: transform .25s ease, box-shadow .25s ease;
}
.community-shot:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12); }
.community-shot img { display: block; width: 100%; height: auto; }
@media (max-width: 768px) {
    .community-proof { grid-template-columns: 1fr; }
}

/* ===== Page hero ===== */
.page-hero {
    padding: 80px 0 56px;
    background: linear-gradient(180deg, var(--soft) 0%, white 100%);
    border-bottom: 1px solid var(--line);
}
.page-hero h1 { max-width: 900px; }
.page-hero .lead { max-width: 720px; }

/* ===== Cards / pillars ===== */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
.card {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

/* ===== Method ===== */
.method-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.method-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow-sm);
}
.method-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    border-radius: 12px;
    background: rgba(255, 90, 31, 0.1);
    color: var(--orange-dark);
    font-weight: 800;
}
.method-card h3 { margin-bottom: 10px; }
.method-card p { margin: 0; font-size: 0.94rem; }
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 90, 31, 0.3);
}
.card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #fff1e8, #ffe2d3);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
}
.ticks { list-style: none; padding: 0; margin: 16px 0 0; }
.ticks li {
    padding: 6px 0 6px 26px;
    position: relative;
    color: var(--ink-2);
    font-size: 0.95rem;
}
.ticks li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 6px;
    color: var(--orange);
    font-weight: 700;
}

/* ===== Cross-platform ===== */
.platforms {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
    margin-top: 24px;
}
.plat {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 28px 16px;
    text-align: center;
    transition: all 0.25s;
}
.plat:hover {
    background: rgba(255, 90, 31, 0.1);
    border-color: rgba(255, 90, 31, 0.3);
    transform: translateY(-3px);
}
.plat span { font-size: 2rem; display: block; margin-bottom: 12px; }
.plat strong { display: block; color: white; margin-bottom: 6px; font-family: 'Poppins', sans-serif; }
.plat small { color: #94a3b8; font-size: 0.8rem; }

/* ===== Clients strip ===== */
.logos {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 40px;
}
.logos span {
    padding: 14px 22px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 100px;
    font-weight: 600;
    color: var(--ink-2);
    font-size: 0.95rem;
    transition: all 0.2s;
}
.logos span:hover {
    border-color: var(--orange);
    color: var(--orange);
    transform: translateY(-2px);
}

/* ===== CTA ===== */
.cta-section { padding: 72px 0; }
.cta-box {
    background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
    border-radius: 28px;
    padding: 56px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}
.cta-box::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 90, 31, 0.3) 0%, transparent 60%);
}
.cta-box h2 { color: white; margin-bottom: 8px; position: relative; }
.cta-box p { color: #cbd5e1; margin: 0; position: relative; }
.cta-box .btn-primary { position: relative; }

/* ===== Service blocks ===== */
.service-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 96px;
}
.service-block:last-child { margin-bottom: 0; }
.service-block.reverse .service-text { order: 2; }
.service-text h2 { margin-bottom: 16px; }

.service-visual {
    background: var(--soft);
    border-radius: 24px;
    padding: 48px;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
}

.vis-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    width: 100%;
}
.vis-cell {
    background: white;
    border-radius: 12px;
    padding: 22px 14px;
    text-align: center;
    font-weight: 600;
    color: var(--ink-2);
    border: 1px solid var(--line);
    transition: all 0.2s;
}
.vis-cell:hover {
    border-color: var(--orange);
    color: var(--orange);
    transform: scale(1.04);
}
.tech-logo-cell {
    min-height: 112px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.tech-logo-cell img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}
.tech-logo-cell span {
    color: var(--ink-2);
    font-size: 0.88rem;
    font-weight: 700;
}

.vis-flow {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}
.vis-node, .vis-bus {
    background: white;
    padding: 16px 22px;
    border-radius: 10px;
    border: 1px solid var(--line);
    font-weight: 600;
    color: var(--ink-2);
}
.vis-bus {
    background: var(--accent-grad);
    color: white;
    border: none;
    box-shadow: 0 8px 18px rgba(255, 90, 31, 0.3);
}
.vis-arrow { color: var(--orange); font-size: 1.5rem; font-weight: 700; }
.kafka-arch {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1.25fr auto 1fr;
    align-items: center;
    gap: 14px;
}
.kafka-col {
    display: grid;
    gap: 10px;
}
.kafka-node {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--ink-2);
    font-weight: 700;
    font-size: 0.88rem;
    text-align: center;
}
.kafka-arrow {
    color: var(--orange);
    font-size: 1.8rem;
    font-weight: 800;
}
.kafka-broker {
    min-height: 178px;
    padding: 22px 18px;
    border-radius: 18px;
    background: white;
    border: 1px solid rgba(255, 90, 31, 0.28);
    box-shadow: 0 16px 32px rgba(255, 90, 31, 0.14);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.kafka-broker img {
    width: 132px;
    height: 36px;
    object-fit: contain;
}
.topic-lines {
    width: 100%;
    display: grid;
    gap: 8px;
}
.topic-lines span {
    display: block;
    padding: 8px 10px;
    border-radius: 999px;
    background: #fff3ed;
    color: var(--orange-dark);
    font-size: 0.78rem;
    font-weight: 800;
    text-align: center;
}

.layer-stack { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.layer {
    background: white;
    padding: 14px 20px;
    border-radius: 10px;
    border: 1px solid var(--line);
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--ink-2);
    transition: all 0.2s;
}
.layer:hover { border-color: var(--orange); transform: translateX(4px); }
.logo-only-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.logo-only-cell {
    min-height: 112px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.logo-only-cell img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}
.logo-only-cell img[src$="confluent-logo.svg"] {
    width: 106px;
}
.logo-only-cell span {
    color: var(--ink-2);
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
}
.logo-only-cell:hover {
    transform: scale(1.04);
}

.pipeline {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}
.pipe-step {
    background: white;
    padding: 14px 22px;
    border-radius: 999px;
    border: 1.5px solid var(--orange);
    font-weight: 600;
    color: var(--orange);
    position: relative;
}
.pipe-step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--orange);
    font-weight: 700;
}
.cicd-image {
    width: 100%;
    max-width: 620px;
    height: auto;
    display: block;
    object-fit: contain;
    mix-blend-mode: multiply;
}

/* ===== Timeline ===== */
.timeline {
    position: relative;
    padding-left: 0;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 80px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, var(--orange) 0%, rgba(255, 90, 31, 0.1) 100%);
}
.tl-item {
    display: flex;
    gap: 36px;
    margin-bottom: 36px;
    align-items: flex-start;
}
.tl-year {
    flex: 0 0 64px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--orange);
    padding-top: 6px;
    position: relative;
}
.tl-year::after {
    content: '';
    position: absolute;
    right: -12px;
    top: 14px;
    width: 14px;
    height: 14px;
    background: var(--orange);
    border-radius: 50%;
    box-shadow: 0 0 0 5px white, 0 0 0 7px rgba(255, 90, 31, 0.3);
    z-index: 1;
}
.tl-card {
    flex: 1;
    background: white;
    padding: 24px 28px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    margin-left: 24px;
    box-shadow: var(--shadow-sm);
}
.tl-card h4 { margin-bottom: 6px; }
.tl-card p { margin: 0; font-size: 0.95rem; }

/* ===== Tech grid ===== */
.tech-grid .tech-card {
    background: white;
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    transition: all 0.2s;
}
.tech-grid .tech-card:hover {
    border-color: var(--orange);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.tech-card h4 { color: var(--orange); margin-bottom: 8px; }
.tech-card p { font-size: 0.92rem; margin: 0; }

/* ===== Clients page ===== */
.client-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.client-card {
    background: white;
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    transition: all 0.25s;
}
.client-card:hover {
    border-color: var(--orange);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.client-card span { display: block; font-weight: 700; color: var(--ink); font-family: 'Poppins', sans-serif; margin-bottom: 4px; }
.client-card small { color: var(--slate-2); font-size: 0.82rem; }

.case-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    transition: all 0.25s;
}
.case-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.case-tag {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 90, 31, 0.1);
    color: var(--orange-dark);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
}
.case-card h3 { margin-bottom: 12px; }
.case-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}
.case-tech span {
    padding: 5px 12px;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 6px;
    font-size: 0.82rem;
    color: var(--ink-2);
    font-weight: 500;
}

.metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.metric {
    text-align: center;
    padding: 32px 16px;
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--line);
}
.metric-num {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    background: var(--accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 8px;
}
.metric-lbl { color: var(--slate); font-size: 0.9rem; }

/* ===== Certifications ===== */
.cert-section-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--line);
}
.badge {
    background: var(--accent-grad);
    color: white;
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 700;
}
.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.cert-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: all 0.25s;
}
.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--slate-2);
}
.cert-card.aws-pro::before { background: linear-gradient(180deg, #ff9900 0%, #ff6a00 100%); }
.cert-card.aws-spe::before { background: linear-gradient(180deg, #d63384 0%, #b02a6e 100%); }
.cert-card.aws-asso::before { background: linear-gradient(180deg, #00a4b6 0%, #007a8a 100%); }
.cert-card.aws-foundational::before { background: linear-gradient(180deg, #5fa9ce 0%, #4682b4 100%); }
.cert-card.oracle::before { background: linear-gradient(180deg, #f80000 0%, #c00000 100%); }
.cert-card.kafka::before { background: linear-gradient(180deg, #4a4a55 0%, #1a1a25 100%); }
.cert-card.jenkins::before { background: linear-gradient(180deg, #d33833 0%, #8b1f1c 100%); }
.cert-card.kubernetes::before { background: linear-gradient(180deg, #326ce5 0%, #1f4ba8 100%); }
.cert-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cert-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    min-height: 148px;
    margin-bottom: 20px;
}
.cert-logo {
    width: 140px;
    height: 140px;
    object-fit: contain;
    flex: 0 0 auto;
}
.cert-logo-wide {
    width: 168px;
}
.cert-level {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    background: var(--soft);
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--ink-2);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
}
.cert-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.cert-card p { font-size: 0.9rem; margin-bottom: 16px; }
.cert-vendor { color: var(--slate-2); font-size: 0.82rem; font-weight: 600; }
.cert-score {
    background: var(--accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
    font-size: 0.95rem;
}

/* ===== Contact page ===== */
.contact-wrap {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 48px;
    align-items: flex-start;
}
.contact-form {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label {
    display: block;
    margin-bottom: 18px;
}
.contact-form .hp-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.contact-form label span {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--ink-2);
    margin-bottom: 8px;
}
.contact-form input, .contact-form textarea, .contact-form select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    background: white;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.12);
}
.captcha-field {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    margin-bottom: 18px;
}
.captcha-label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--ink-2);
    margin-bottom: 8px;
}
.captcha-box {
    width: 180px;
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    background: #fff7f1;
    overflow: hidden;
}
.captcha-box svg {
    display: block;
    max-width: 100%;
    height: auto;
}
.captcha-refresh {
    min-height: 46px;
    padding: 0 16px;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    background: white;
    color: var(--ink-2);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}
.captcha-refresh:hover {
    border-color: var(--orange);
    color: var(--orange);
}
.form-feedback {
    margin-top: 18px;
    padding: 14px 18px;
    border-radius: 10px;
    font-weight: 500;
    display: none;
}
.form-feedback.success { display: block; background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.form-feedback.error { display: block; background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

.contact-aside { display: flex; flex-direction: column; gap: 16px; }
.contact-block {
    background: white;
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
}
.contact-block.highlight {
    background: var(--accent-grad);
    color: white;
    border: none;
}
.contact-block.highlight h4, .contact-block.highlight p { color: white; }
.contact-block h4 { color: var(--orange); margin-bottom: 8px; }
.contact-block p, .contact-block a { font-size: 0.95rem; margin: 0; color: var(--ink-2); }
.contact-block a { font-weight: 600; }
.contact-block a:hover { color: var(--orange); }

/* ===== Footer ===== */
.footer {
    background: var(--ink);
    color: #cbd5e1;
    padding: 64px 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-grid h4 {
    color: white;
    margin-bottom: 16px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.footer-grid a {
    display: block;
    color: #94a3b8;
    margin-bottom: 8px;
    font-size: 0.92rem;
    transition: color 0.2s;
}
.footer-grid a:hover { color: var(--orange); }
.footer-logo .logo-mark { color: white; }
.footer-tag { color: #94a3b8; font-size: 0.92rem; line-height: 1.7; }
.footer-grid .muted { color: #64748b; font-size: 0.88rem; }
.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
    color: #64748b;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .grid-3, .platforms { grid-template-columns: repeat(2, 1fr); }
    .platforms { grid-template-columns: repeat(3, 1fr); }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual img { height: 360px; }
    .client-grid { grid-template-columns: repeat(3, 1fr); }
    .cert-grid { grid-template-columns: repeat(2, 1fr); }
    .method-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contact-wrap { grid-template-columns: 1fr; }
    .service-block { grid-template-columns: 1fr; gap: 32px; }
    .service-block.reverse .service-text { order: 0; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .metrics { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: white;
        padding: 24px;
        border-bottom: 1px solid var(--line);
        gap: 16px;
        align-items: stretch;
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 8px 0; }
    .burger { display: flex; }
    .burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .burger.open span:nth-child(2) { opacity: 0; }
    .burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .section { padding: 64px 0; }
    .grid-3, .grid-2, .platforms, .client-grid, .cert-grid, .method-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .cta-box { padding: 36px 24px; flex-direction: column; align-items: flex-start; }
    .contact-form { padding: 28px; }
    .contact-form .row { grid-template-columns: 1fr; }
    .captcha-field { align-items: stretch; flex-direction: column; }
    .captcha-box { width: 100%; }
    .timeline { padding-left: 8px; }
    .tl-item { gap: 16px; margin-bottom: 28px; }
    .timeline::before { left: 56px; }
    .tl-year { flex: 0 0 48px; font-size: 0.9rem; text-align: right; }
    .tl-year::after { right: -10px; width: 12px; height: 12px; top: 12px; }
    .tl-card { margin-left: 18px; padding: 18px 20px; }
    .hero-stats, .metrics { grid-template-columns: 1fr 1fr; }
    .hero-visual img { height: 260px; }
}
