:root {
    --ink: #172033;
    --muted: #667085;
    --line: #e5e7eb;
    --paper: #ffffff;
    --soft: #f5f7fb;
    --deep: #101828;
    --blue: #1d4ed8;
    --teal: #0f766e;
    --amber: #b7791f;
    --red: #b42318;
    --shadow: 0 18px 50px rgba(16, 24, 40, 0.12);
    --radius: 8px;
    --font: "Inter", "Noto Sans SC", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.fade-up { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.fade-up.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .22s; }
.delay-3 { transition-delay: .32s; }

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    background: rgba(255,255,255,.92);
    border-bottom: 1px solid rgba(229,231,235,.9);
    backdrop-filter: blur(14px);
}
.header-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 210px; }
.brand-mark {
    width: 42px; height: 42px; display: grid; place-items: center;
    background: var(--deep); color: #fff; border-radius: 8px; font-weight: 800;
}
.brand strong, .brand small { display: block; }
.brand small { color: var(--muted); font-size: 12px; margin-top: 1px; }
.nav-links { display: flex; align-items: center; gap: 24px; color: #344054; font-weight: 600; font-size: 14px; }
.nav-links a:hover { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.primary-btn, .secondary-btn, .ghost-btn {
    min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 8px; padding: 0 18px; border: 1px solid transparent; cursor: pointer;
    font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.primary-btn { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(29,78,216,.22); }
.primary-btn:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(29,78,216,.28); }
.primary-btn.small { min-height: 38px; padding: 0 14px; font-size: 14px; }
.primary-btn.full { width: 100%; }
.secondary-btn { color: #fff; border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.08); }
.secondary-btn:hover { background: rgba(255,255,255,.16); }
.ghost-btn { min-height: 38px; padding: 0 12px; background: #fff; color: var(--deep); border-color: var(--line); }

.hero {
    min-height: 760px;
    padding: 140px 0 70px;
    position: relative;
    color: #fff;
    display: flex;
    align-items: center;
}
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media { background-size: cover; background-position: center; transform: scale(1.02); }
.hero-shade { background: linear-gradient(90deg, rgba(8,13,24,.92) 0%, rgba(8,13,24,.72) 48%, rgba(8,13,24,.36) 100%); }
.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) 410px;
    gap: 52px;
    align-items: center;
}
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    color: #0f766e; background: rgba(15,118,110,.1);
    font-weight: 800; font-size: 13px; letter-spacing: 0; padding: 7px 10px; border-radius: 6px;
}
.hero .eyebrow { color: #bbf7d0; background: rgba(20,184,166,.18); }
.hero h1, .section-head h2, .split h2, .quote-layout h2 {
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1.08;
    letter-spacing: 0;
    margin-top: 20px;
}
.hero p { max-width: 760px; margin-top: 22px; color: rgba(255,255,255,.86); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.trust-row span {
    border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.88); border-radius: 6px; padding: 8px 10px; font-size: 13px; font-weight: 700;
}
.quote-card {
    background: rgba(255,255,255,.96);
    color: var(--ink);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow);
}
.quote-card-head { display: flex; justify-content: space-between; gap: 20px; align-items: start; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.quote-card-head span { color: var(--teal); font-size: 13px; font-weight: 800; }
.quote-card-head strong { font-size: 24px; }
.check-list { list-style: none; display: grid; gap: 14px; margin: 22px 0; }
.check-list li { position: relative; padding-left: 24px; color: #344054; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }

.proof-strip { background: var(--deep); color: #fff; border-top: 1px solid rgba(255,255,255,.08); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.metric { padding: 28px 22px; border-left: 1px solid rgba(255,255,255,.1); }
.metric:last-child { border-right: 1px solid rgba(255,255,255,.1); }
.metric strong { display: block; font-size: 34px; line-height: 1; }
.metric span { display: block; color: rgba(255,255,255,.7); margin-top: 8px; font-weight: 600; }

.section { padding: 92px 0; }
.section-head { max-width: 760px; margin-bottom: 38px; }
.section-head h2, .split h2, .quote-layout h2 { font-size: clamp(30px, 4vw, 46px); color: var(--deep); }
.section-head p, .split p, .quote-layout p { margin-top: 16px; color: var(--muted); font-size: 17px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card {
    min-height: 260px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    background: #fff;
    transition: border .2s ease, transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { border-color: rgba(29,78,216,.45); transform: translateY(-3px); box-shadow: 0 14px 28px rgba(16,24,40,.08); }
.service-card span { color: var(--blue); font-weight: 800; font-size: 13px; }
.service-card h3 { margin-top: 28px; font-size: 21px; line-height: 1.25; }
.service-card p { margin-top: 14px; color: var(--muted); }

.dark-section { background: var(--deep); color: #fff; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; }
.dark-section h2 { color: #fff; }
.dark-section p { color: rgba(255,255,255,.72); }
.risk-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.risk-list span { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 6px; padding: 8px 10px; color: rgba(255,255,255,.84); font-weight: 700; font-size: 13px; }
.chart-panel { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: 0 20px 45px rgba(0,0,0,.24); }
#radarChart { width: 100%; height: 420px; }

.cases { background: var(--soft); }
.industry-category-wrap {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 18px;
    align-items: stretch;
    margin-bottom: 22px;
}
.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-content: start;
}
.category-tab {
    min-height: 42px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background: #fff;
    color: #344054;
    padding: 0 14px;
    font-weight: 800;
    cursor: pointer;
    transition: background .2s ease, border .2s ease, color .2s ease;
}
.category-tab.active,
.category-tab:hover {
    background: var(--deep);
    border-color: var(--deep);
    color: #fff;
}
.category-panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    padding: 18px;
}
.category-panel span {
    color: var(--teal);
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
}
.category-panel strong {
    display: block;
    margin-top: 8px;
    font-size: 18px;
    color: var(--deep);
}
.category-panel p {
    color: var(--muted);
    margin-top: 8px;
    font-size: 14px;
}
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case-card {
    position: relative;
    min-height: 420px;
    border: 0;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    text-align: left;
    background: var(--deep);
    color: #fff;
    transition: opacity .2s ease, transform .2s ease;
}
.case-card.is-hidden { display: none; }
.case-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    opacity: .82;
    transition: transform .35s ease, opacity .35s ease;
}
.case-card::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 170px; background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.55)); pointer-events: none; }
.case-card .sector-label {
    position: absolute;
    top: 118px;
    left: 18px;
    right: 18px;
    z-index: 2;
    color: #fff;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.2;
}
.sector-content {
    padding: 22px 18px 18px;
    background: #fff;
    color: var(--ink);
    min-height: 250px;
}
.sector-content b {
    display: block;
    color: var(--deep);
    font-size: 15px;
    line-height: 1.35;
}
.sector-content p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
}
.sector-content dl {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 18px;
}
.sector-content div {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px 8px;
    background: #f8fafc;
}
.sector-content dt {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}
.sector-content dd {
    color: var(--deep);
    font-size: 13px;
    font-weight: 800;
    margin-top: 2px;
}
.case-card:hover img { transform: scale(1.06); opacity: .82; }
.case-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.step { min-height: 220px; padding: 24px; background: #fff; border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; }
.step b { width: 34px; height: 34px; display: grid; place-items: center; background: var(--deep); color: #fff; border-radius: 50%; }
.step h3 { margin-top: 28px; font-size: 22px; }
.step p { margin-top: 10px; color: var(--muted); }

.quote-section { background: #f8fafc; border-top: 1px solid var(--line); }
.quote-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 52px; align-items: start; }
.contact-box {
    margin-top: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    background: #fff;
}
.contact-box strong, .contact-box span { display: block; }
.contact-box span { color: var(--muted); margin-top: 4px; }
.quote-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 18px 40px rgba(16,24,40,.08);
}
.quote-form label { display: grid; gap: 8px; color: #344054; font-weight: 700; font-size: 14px; }
.quote-form .wide, .quote-form button, .quote-form .form-note { grid-column: 1 / -1; }
.quote-form input, .quote-form textarea, .quote-form select {
    width: 100%;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    padding: 11px 12px;
    outline: 0;
    color: var(--ink);
    background: #fff;
}
.quote-form input:focus, .quote-form textarea:focus, .quote-form select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29,78,216,.12); }
.form-note { color: var(--muted); font-size: 13px; }
.form-note.success { color: var(--teal); font-weight: 700; }

.footer { background: #0b1220; color: #fff; padding: 38px 0; }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.footer strong { font-size: 20px; }
.footer p, .footer span { color: rgba(255,255,255,.66); display: block; }

.modal-overlay {
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(15,23,42,.78);
    display: flex; align-items: center; justify-content: center;
    padding: 24px;
    opacity: 0; visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content {
    width: min(1080px, 100%);
    max-height: 90vh;
    overflow: auto;
    background: #fff;
    border-radius: 8px;
    position: relative;
    box-shadow: var(--shadow);
}
.modal-close {
    position: absolute; top: 14px; right: 14px; z-index: 2;
    width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%;
    background: #fff; cursor: pointer; font-size: 24px; line-height: 1;
}
.modal-body { padding: 34px; }
.modal-kicker { color: var(--teal); font-weight: 800; font-size: 13px; }
.modal-body h3 { font-size: 34px; margin-top: 10px; padding-right: 48px; line-height: 1.15; }
.modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 26px; }
.modal-panel { border: 1px solid var(--line); border-radius: 8px; padding: 18px; background: #fff; }
.modal-panel h4 { color: var(--deep); font-size: 18px; margin-bottom: 10px; }
.modal-panel ul { padding-left: 18px; color: var(--muted); }
.modal-panel li + li { margin-top: 8px; }
.modal-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 22px;
}
.modal-metric {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
    padding: 14px;
}
.modal-metric span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}
.modal-metric strong {
    display: block;
    color: var(--deep);
    margin-top: 5px;
    font-size: 20px;
}

@media (max-width: 980px) {
    .nav-links { display: none; }
    .hero-grid, .split, .quote-layout { grid-template-columns: 1fr; }
    .quote-card { max-width: 520px; }
    .service-grid, .proof-grid, .timeline { grid-template-columns: repeat(2, 1fr); }
    .industry-category-wrap, .case-grid { grid-template-columns: repeat(2, 1fr); }
    .timeline { border-bottom: 0; }
    .step { border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
    .container { width: min(100% - 28px, 1180px); }
    .header-inner { height: 64px; }
    .brand { min-width: 0; }
    .brand small, .header-actions .primary-btn { display: none; }
    .hero { min-height: 700px; padding-top: 112px; }
    .hero-shade { background: rgba(8,13,24,.78); }
    .hero p { font-size: 16px; }
    .proof-grid, .service-grid, .industry-category-wrap, .case-grid, .timeline, .quote-form, .modal-grid, .modal-metrics { grid-template-columns: 1fr; }
    .metric, .metric:last-child, .step { border-left: 0; border-right: 0; }
    .section { padding: 68px 0; }
    .case-card { min-height: 400px; }
    .footer-grid { display: grid; }
    .modal-body { padding: 26px 18px; }
}
