/* ==========================================================================
   Corevia System Inc — global stylesheet
   ========================================================================== */

:root {
    --brand: #1b52ff;          /* electric indigo-blue */
    --brand-dark: #0f37c9;
    --brand-2: #00c2a8;        /* teal accent */
    --brand-grad: linear-gradient(120deg, #1b52ff 0%, #00c2a8 100%);
    --ink: #0a1020;            /* near-black navy */
    --ink-2: #1a2436;
    --muted: #59647a;
    --muted-2: #8b95a8;
    --line: #e6eaf2;
    --soft: #f5f7fc;
    --soft-2: #eef2fb;
    --white: #ffffff;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 4px 14px rgba(13, 22, 48, .06);
    --shadow-md: 0 16px 40px rgba(13, 22, 48, .10);
    --shadow-lg: 0 30px 70px rgba(13, 22, 48, .16);
    --maxw: 1200px;
    --head-h: 74px;
    --ff-sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --ff-display: "Sora", var(--ff-sans);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--ff-sans);
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

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

h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 700; line-height: 1.15; color: var(--ink); margin: 0; letter-spacing: -.02em; }

p { margin: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--ff-display); font-weight: 600; font-size: 13px;
    letter-spacing: .14em; text-transform: uppercase; color: var(--brand);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--brand-grad); border-radius: 2px; }

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

.text-grad {
    background: var(--brand-grad);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--ff-display); font-weight: 600; font-size: 15px;
    padding: 13px 24px; border-radius: 999px; cursor: pointer;
    border: 1px solid transparent; transition: .25s ease; white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; transition: transform .25s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 22px rgba(27,82,255,.28); }
.btn-primary:hover { background: var(--brand-dark); box-shadow: 0 12px 28px rgba(27,82,255,.36); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
    position: sticky; top: 0; z-index: 100;
    height: var(--head-h);
    background: rgba(255,255,255,.86);
    backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid var(--line);
}
.site-header .container { height: 100%; display: flex; align-items: center; gap: 32px; }

.logo { display: flex; align-items: center; gap: 12px; font-family: var(--ff-display); letter-spacing: -.02em; }
.logo .mark { width: 38px; height: 38px; flex: 0 0 auto; }
.logo > span { display: flex; flex-direction: column; justify-content: center; line-height: 1; }
.logo b { font-weight: 800; font-size: 20px; }
.logo .sys { font-size: 10.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav > li { position: relative; list-style: none; }
.nav > li > a {
    display: flex; align-items: center; gap: 5px; white-space: nowrap;
    font-family: var(--ff-display); font-weight: 500; font-size: 15px; color: var(--ink-2);
    padding: 10px 13px; border-radius: 10px; transition: .2s;
}
.nav > li > a:hover { color: var(--brand); background: var(--soft); }
.nav .caret { width: 9px; height: 9px; opacity: .55; }

.dropdown {
    position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px);
    min-width: 300px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
    box-shadow: var(--shadow-md); padding: 10px; opacity: 0; visibility: hidden; transition: .22s ease;
}
.nav > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown.wide { min-width: 340px; }
.dropdown a { display: block; padding: 10px 12px; border-radius: 9px; font-size: 14.5px; color: var(--ink-2); transition: .18s; }
.dropdown a span { display: block; font-size: 12.5px; color: var(--muted-2); font-weight: 400; margin-top: 1px; }
.dropdown a:hover { background: var(--soft); color: var(--brand); }
.dropdown a strong { font-weight: 600; font-family: var(--ff-display); }

.header-cta { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.header-phone { font-family: var(--ff-display); font-weight: 600; font-size: 15px; color: var(--ink); white-space: nowrap; }
.header-phone span { color: var(--muted-2); font-weight: 400; display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; margin-left: auto; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; margin: 5px 0; transition: .25s; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.hero::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(1100px 520px at 82% -8%, rgba(0,194,168,.30), transparent 60%),
        radial-gradient(900px 520px at 8% 108%, rgba(27,82,255,.42), transparent 58%),
        linear-gradient(180deg, #070c18 0%, #0a1226 100%);
}
.hero::after {
    content: ""; position: absolute; inset: 0; opacity: .5;
    background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 40%, transparent 100%);
    mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 40%, transparent 100%);
}
.hero .container { position: relative; z-index: 2; padding-top: 104px; padding-bottom: 108px; }
.hero .eyebrow { color: #7fead9; }
.hero .eyebrow::before { background: var(--brand-2); }
.hero h1 { font-size: clamp(38px, 6vw, 66px); color: #fff; letter-spacing: -.03em; max-width: 16ch; }
.hero h1 em { font-style: normal; }
.hero .lede { margin-top: 22px; font-size: clamp(16px, 2vw, 19px); color: #b9c2d6; max-width: 60ch; }
.hero .hero-cta { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 72px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.12); }
.hero-stats .stat b { font-family: var(--ff-display); font-size: 40px; font-weight: 700; display: block; color: #fff; letter-spacing: -.02em; }
.hero-stats .stat b i { font-style: normal; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-stats .stat p { color: #93a0ba; font-size: 14px; margin-top: 4px; }

/* ---------- Marquee / trust ---------- */
.trust { background: var(--soft); border-bottom: 1px solid var(--line); }
.trust .container { display: flex; align-items: center; gap: 40px; padding-top: 26px; padding-bottom: 26px; flex-wrap: wrap; }
.trust .label { font-family: var(--ff-display); font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.trust .items { display: flex; gap: 34px; flex-wrap: wrap; color: var(--muted); font-weight: 600; font-family: var(--ff-display); font-size: 15px; }

/* ==========================================================================
   Section head
   ========================================================================== */
.sec-head { max-width: 720px; margin-bottom: 52px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: clamp(28px, 4vw, 42px); margin-top: 16px; }
.sec-head p { margin-top: 16px; color: var(--muted); font-size: 17px; }

/* ==========================================================================
   Two-track (the combined story)
   ========================================================================== */
.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.track {
    position: relative; border-radius: var(--radius); padding: 40px; overflow: hidden;
    border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow-sm);
}
.track .tag { font-family: var(--ff-display); font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.track h3 { font-size: 25px; margin: 12px 0 12px; }
.track p { color: var(--muted); }
.track ul { list-style: none; padding: 0; margin: 22px 0 0; }
.track li { display: flex; gap: 10px; padding: 8px 0; font-size: 15px; color: var(--ink-2); border-top: 1px dashed var(--line); }
.track li:first-child { border-top: 0; }
.track li svg { width: 18px; height: 18px; color: var(--brand-2); flex: 0 0 auto; margin-top: 3px; }
.track .track-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--soft-2); color: var(--brand); margin-bottom: 22px; }
.track .track-icon svg { width: 28px; height: 28px; }
.track.dark { background: linear-gradient(155deg, #0d1730, #0a1226); color: #fff; border-color: #1c2846; }
.track.dark h3 { color: #fff; }
.track.dark p { color: #aeb9d0; }
.track.dark .tag { color: var(--brand-2); }
.track.dark li { color: #d3dae9; border-color: rgba(255,255,255,.1); }
.track.dark .track-icon { background: rgba(0,194,168,.14); color: var(--brand-2); }

/* ==========================================================================
   Services grid
   ========================================================================== */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
    transition: .25s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: rgba(27,82,255,.35); }
.card .ic { width: 50px; height: 50px; border-radius: 12px; background: var(--soft-2); color: var(--brand); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.card .ic svg { width: 25px; height: 25px; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 14.5px; }
.card .more { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; font-family: var(--ff-display); font-weight: 600; font-size: 14px; color: var(--brand); }
.card .more svg { width: 15px; height: 15px; transition: transform .2s; }
.card:hover .more svg { transform: translateX(3px); }

/* ==========================================================================
   Industries
   ========================================================================== */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ind {
    position: relative; border-radius: var(--radius); overflow: hidden; min-height: 240px;
    display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; color: #fff;
    border: 1px solid var(--line);
}
.ind::before { content: ""; position: absolute; inset: 0; z-index: 0; opacity: .95; transition: .3s; }
.ind:nth-child(1)::before { background: linear-gradient(160deg, #12245a, #1b52ff); }
.ind:nth-child(2)::before { background: linear-gradient(160deg, #0a3b40, #00997f); }
.ind:nth-child(3)::before { background: linear-gradient(160deg, #241a53, #5a41d6); }
.ind:nth-child(4)::before { background: linear-gradient(160deg, #0b2a4a, #1478c9); }
.ind:nth-child(5)::before { background: linear-gradient(160deg, #12245a, #00789a); }
.ind:nth-child(6)::before { background: linear-gradient(160deg, #1a1c2e, #3a4a72); }
.ind:hover::before { transform: scale(1.05); }
.ind .ic { position: relative; z-index: 1; width: 46px; height: 46px; border-radius: 11px; background: rgba(255,255,255,.16); display: flex; align-items: center; justify-content: center; margin-bottom: auto; }
.ind .ic svg { width: 24px; height: 24px; color: #fff; }
.ind h3 { position: relative; z-index: 1; color: #fff; font-size: 20px; margin-top: 20px; }
.ind p { position: relative; z-index: 1; color: rgba(255,255,255,.82); font-size: 13.5px; margin-top: 8px; }
.ind-cover { position: absolute; inset: 0; z-index: 3; }
.ind-go { position: absolute; top: 22px; right: 22px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; transition: .25s ease; }
.ind-go svg { width: 17px; height: 17px; }
.ind:hover .ind-go { background: #fff; }
.ind:hover .ind-go svg { stroke: var(--brand); transform: translateX(2px); }

/* ==========================================================================
   Why / feature list
   ========================================================================== */
.why { background: var(--soft); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: .25s; }
.why-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.why-card .num { font-family: var(--ff-display); font-weight: 700; font-size: 14px; color: var(--brand); }
.why-card .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--soft-2); color: var(--brand); display: flex; align-items: center; justify-content: center; margin: 14px 0 18px; }
.why-card .ic svg { width: 24px; height: 24px; }
.why-card h3 { font-size: 18px; margin-bottom: 10px; }
.why-card p { color: var(--muted); font-size: 14px; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding-top: 30px; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--ff-display); font-weight: 700; font-size: 15px; color: #fff; background: var(--brand); width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.step h3 { font-size: 17px; margin: 16px 0 8px; }
.step p { color: var(--muted); font-size: 14px; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 17px; left: 44px; right: -9px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band { position: relative; overflow: hidden; border-radius: 24px; padding: 64px; color: #fff; text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: var(--brand-grad); }
.cta-band::after { content: ""; position: absolute; inset: 0; opacity: .35; background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 75%); mask-image: radial-gradient(ellipse at center, #000, transparent 75%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 4vw, 38px); }
.cta-band p { color: rgba(255,255,255,.9); margin: 14px auto 28px; max-width: 52ch; }
.cta-band .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 400px at 85% -20%, rgba(0,194,168,.28), transparent 60%), radial-gradient(700px 400px at 5% 120%, rgba(27,82,255,.4), transparent 60%), #0a1226; }
.page-hero .container { position: relative; z-index: 1; padding: 78px 24px 72px; }
.page-hero .eyebrow { color: #7fead9; }
.page-hero .eyebrow::before { background: var(--brand-2); }
.page-hero h1 { color: #fff; font-size: clamp(32px, 5vw, 52px); max-width: 18ch; }
.page-hero p { color: #b9c2d6; margin-top: 18px; max-width: 62ch; font-size: 17px; }
.crumbs { display: flex; gap: 8px; font-size: 13px; color: #8b95a8; margin-bottom: 22px; font-family: var(--ff-display); }
.crumbs a:hover { color: #fff; }

/* ---------- content blocks ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.prose h2 { font-size: clamp(26px, 3.5vw, 36px); margin-bottom: 18px; }
.prose p { color: var(--muted); font-size: 16px; margin-bottom: 16px; }
.prose ul { list-style: none; padding: 0; margin: 22px 0; }
.prose ul li { position: relative; padding: 8px 0 8px 30px; color: var(--ink-2); }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 15px; width: 16px; height: 16px; border-radius: 5px; background: var(--brand-grad); }
.media-card { border-radius: var(--radius); overflow: hidden; background: var(--brand-grad); min-height: 380px; position: relative; box-shadow: var(--shadow-lg); }
.media-card .glass { position: absolute; inset: 0; padding: 34px; display: flex; flex-direction: column; justify-content: space-between; }
.media-card .glass .top { display: flex; justify-content: space-between; color: #fff; font-family: var(--ff-display); font-weight: 600; }
.media-card .chip { background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(6px); color: #fff; border-radius: 12px; padding: 18px; }
.media-card .chip b { font-family: var(--ff-display); font-size: 30px; display: block; }
.media-card .chip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ---------- offering list (services page) ---------- */
.offer { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.offer-item { display: flex; gap: 20px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: .25s; }
.offer-item:hover { box-shadow: var(--shadow-md); border-color: rgba(27,82,255,.3); }
.offer-item .ic { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 13px; background: var(--soft-2); color: var(--brand); display: flex; align-items: center; justify-content: center; }
.offer-item .ic svg { width: 26px; height: 26px; }
.offer-item h3 { font-size: 18px; margin-bottom: 8px; }
.offer-item p { color: var(--muted); font-size: 14.5px; }
.offer-item .more, .card .more { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; font-family: var(--ff-display); font-weight: 600; font-size: 14px; color: var(--brand); }
.offer-item .more svg, .card .more svg { width: 15px; height: 15px; transition: transform .2s; }
.offer-item:hover .more svg, .card:hover .more svg { transform: translateX(3px); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--ff-display); font-weight: 600; font-size: 13.5px; margin-bottom: 7px; color: var(--ink-2); }
.field input, .field select, .field textarea {
    width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 11px;
    font-family: var(--ff-sans); font-size: 15px; color: var(--ink); background: #fff; transition: .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(27,82,255,.12); }
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.info-card { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 34px; }
.info-card h3 { color: #fff; font-size: 22px; margin-bottom: 8px; }
.info-card > p { color: #aeb9d0; font-size: 15px; margin-bottom: 26px; }
.info-item { display: flex; gap: 15px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.12); }
.info-item:first-of-type { border-top: 0; }
.info-item .ic { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 11px; background: rgba(255,255,255,.09); color: var(--brand-2); display: flex; align-items: center; justify-content: center; }
.info-item .ic svg { width: 20px; height: 20px; }
.info-item .t { font-family: var(--ff-display); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #8b95a8; }
.info-item .v { color: #eaeef6; font-size: 15.5px; margin-top: 2px; }
.info-item .v a:hover { color: var(--brand-2); }
.form-note { font-size: 13px; color: var(--muted-2); margin-top: 6px; }
.form-success { display: none; background: rgba(0,194,168,.1); border: 1px solid rgba(0,194,168,.4); color: #067a68; padding: 14px 16px; border-radius: 11px; font-size: 14.5px; margin-bottom: 18px; }
.form-error { display: none; background: rgba(220,53,69,.08); border: 1px solid rgba(220,53,69,.4); color: #b02a37; padding: 14px 16px; border-radius: 11px; font-size: 14.5px; margin-bottom: 18px; }

/* ==========================================================================
   Industry detail pages
   ========================================================================== */
.hero-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.hero-chips .chip { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); color: #cfd8e8; border-radius: 999px; padding: 9px 17px; font-family: var(--ff-display); font-weight: 600; font-size: 13px; }
.hero-chips .chip b { color: #fff; }
.hero-chips .chip i { font-style: normal; color: var(--brand-2); }

.page-hero .hero-cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

.lead-in { max-width: 760px; }
.lead-in .eyebrow { margin-bottom: 14px; }
.lead-in h2 { font-size: clamp(26px, 3.6vw, 38px); }
.lead-in p { color: var(--muted); font-size: 17px; margin-top: 16px; }

/* frontier tech — dark band */
.tech { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.tech::before { content: ""; position: absolute; inset: 0; background: radial-gradient(760px 420px at 88% -10%, rgba(0,194,168,.22), transparent 60%), radial-gradient(680px 420px at 6% 118%, rgba(27,82,255,.3), transparent 62%), #0a1226; }
.tech .container { position: relative; z-index: 1; }
.tech .sec-head h2 { color: #fff; }
.tech .sec-head p { color: #aeb9d0; }
.tech .eyebrow { color: #7fead9; }
.tech .eyebrow::before { background: var(--brand-2); }
/* text inside a dark .tech band (e.g. EPC "Licensed & qualified") must be light */
.tech .prose h2 { color: #fff; }
.tech .prose p { color: #aeb9d0; }
.tech .prose ul li { color: #d3dae9; }
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tech-card { background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 28px; transition: .25s; }
.tech-card:hover { background: rgba(255,255,255,.07); transform: translateY(-4px); border-color: rgba(0,194,168,.4); }
.tech-card .ic { width: 50px; height: 50px; border-radius: 12px; background: rgba(0,194,168,.14); color: var(--brand-2); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.tech-card .ic svg { width: 26px; height: 26px; }
.tech-card h3 { color: #fff; font-size: 18px; margin-bottom: 10px; }
.tech-card p { color: #aeb9d0; font-size: 14.5px; }

/* outcomes / metrics */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.metric b { font-family: var(--ff-display); font-size: clamp(34px, 4vw, 46px); font-weight: 800; line-height: 1; display: block; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: -.02em; }
.metric p { margin-top: 12px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }

/* compliance badges */
.badges { display: flex; gap: 12px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 10px; padding: 11px 16px; font-family: var(--ff-display); font-weight: 600; font-size: 13.5px; color: var(--ink-2); background: #fff; }
.badge svg { width: 16px; height: 16px; color: var(--brand-2); flex: 0 0 auto; }

@media (max-width: 1024px) {
    .tech-grid { grid-template-columns: repeat(2, 1fr); }
    .metrics { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .tech-grid, .metrics { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Language switcher
   ========================================================================== */
.lang-switch { position: relative; }
.lang-switch > button { display: flex; align-items: center; gap: 7px; background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; cursor: pointer; font-family: var(--ff-display); font-weight: 600; font-size: 13.5px; color: var(--ink-2); transition: .2s; }
.lang-switch > button:hover { border-color: var(--brand); color: var(--brand); }
.lang-switch > button svg { width: 16px; height: 16px; }
.lang-switch .caret2 { width: 10px; height: 10px; opacity: .6; }
.lang-menu { position: absolute; top: calc(100% + 10px); right: 0; min-width: 168px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-md); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; z-index: 120; }
.lang-switch:hover .lang-menu, .lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 8px; font-size: 14px; color: var(--ink-2); }
.lang-menu a:hover { background: var(--soft); color: var(--brand); }
.lang-menu a.active { color: var(--brand); font-weight: 600; }
.lang-menu a span { font-size: 11px; color: var(--muted-2); text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 860px) {
    .lang-switch { margin-left: auto; }
    .lang-switch > button .lbl { display: none; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: #070c18; color: #aeb9d0; padding: 72px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .logo { color: #fff; margin-bottom: 18px; }
.footer-brand .logo .sys { color: #8b95a8; }
.footer-brand p { font-size: 14.5px; max-width: 34ch; color: #93a0ba; }
.footer-brand .social { display: flex; gap: 10px; margin-top: 22px; }
.footer-brand .social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.06); display: flex; align-items: center; justify-content: center; transition: .2s; }
.footer-brand .social a:hover { background: var(--brand); }
.footer-brand .social svg { width: 18px; height: 18px; color: #cfd6e6; }
.footer-col h4 { color: #fff; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; font-family: var(--ff-display); }
.footer-col a { display: block; font-size: 14px; padding: 7px 0; color: #93a0ba; transition: .18s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 52px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13.5px; color: #7a869c; }
.footer-bottom a:hover { color: #fff; }

/* ==========================================================================
   Reveal animation
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .card-grid, .ind-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .step::after { display: none; }
    .offer { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
    .nav, .header-phone { display: none; }
    .nav-toggle { display: block; }
    .header-cta { margin-left: auto; }
    .header-cta .btn { display: none; }
    .site-header .container { gap: 0; }

    /* mobile nav panel */
    .nav.open {
        display: flex; flex-direction: column; align-items: stretch; gap: 0;
        position: fixed; top: var(--head-h); left: 0; right: 0; bottom: 0;
        background: #fff; padding: 16px 24px; overflow-y: auto; z-index: 99; margin: 0;
    }
    .nav.open > li { border-bottom: 1px solid var(--line); }
    .nav.open > li > a { padding: 16px 4px; font-size: 17px; }
    .nav.open .dropdown { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 12px 8px; min-width: 0; }
    .nav.open .caret { margin-left: auto; }

    .tracks, .split, .contact-grid { grid-template-columns: 1fr; gap: 26px; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 26px 20px; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
    .field-row { grid-template-columns: 1fr; }
    .split { direction: ltr; }
    .cta-band { padding: 44px 26px; }
}
@media (max-width: 560px) {
    .section { padding: 64px 0; }
    .card-grid, .ind-grid, .why-grid, .offer { grid-template-columns: 1fr; }
    .hero-stats { grid-template-columns: 1fr 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .info-card, .track { padding: 28px; }
    .site-header .container { padding: 0 18px; }
    .logo { gap: 10px; }
    .logo .mark { width: 34px; height: 34px; }
    .logo b { font-size: 18px; }
    .logo .sys { font-size: 9.5px; letter-spacing: .24em; margin-top: 3px; }
    .header-cta { gap: 8px; }
}
@media (max-width: 380px) {
    .logo .sys { display: none; }        /* keep just "Corevia" so the header never crowds */
    .logo > span { justify-content: center; }
}
