:root {
    --ink: #0f172a;
    --muted: #5b6678;
    --line: #dce4ee;
    --panel: #ffffff;
    --soft: #f5f8fb;
    --navy: #07111f;
    --blue: #1f4f8f;
    --cyan: #0e7490;
    --orange: #ff8617;
    --orange-dark: #d96500;
    --green: #1a7f64;
    --shadow: 0 18px 55px rgba(15, 23, 42, 0.12);
    --shadow-soft: 0 10px 28px rgba(15, 23, 42, 0.08);
    --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: #fbfcfe;
    line-height: 1.5;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 76px;
    padding: 10px clamp(20px, 4vw, 64px);
    background: rgba(255,255,255,.94);
    border-bottom: 1px solid rgba(220,228,238,.9);
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.04);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 950; min-width: 0; }
.brand img,
.site-header .brand > img,
.site-header .brand > img.logo-icon { width: 42px !important; height: 42px !important; max-width: 42px !important; max-height: 42px !important; object-fit: contain !important; flex: 0 0 42px; display: block; }
.brand span { display: grid; line-height: 1.02; font-size: 18px; white-space: nowrap; }
.brand small { color: var(--orange); font-size: 10px; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
nav { display: flex; align-items: center; gap: 6px; color: #3b4658; font-weight: 800; }
nav a { padding: 10px 12px; border-radius: 999px; transition: background .18s ease, color .18s ease, transform .18s ease; }
nav a:hover { color: var(--blue); background: #eef5ff; transform: translateY(-1px); }
.nav-cta {
    padding: 11px 18px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    box-shadow: 0 12px 30px rgba(255, 134, 23, .24);
}

.hero, .page-hero {
    padding: clamp(64px, 8vw, 116px) clamp(20px, 5vw, 84px);
    background:
        radial-gradient(circle at 82% 12%, rgba(255,134,23,.16), transparent 28%),
        radial-gradient(circle at 5% 25%, rgba(0,166,180,.14), transparent 30%),
        linear-gradient(120deg, rgba(23,78,166,.08), rgba(0,166,180,.05) 48%, rgba(255,134,23,.08)),
        #fff;
}
.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
    align-items: center;
    gap: clamp(28px, 5vw, 72px);
    min-height: 620px;
    position: relative;
}
.hero::after {
    content: "";
    position: absolute;
    inset: auto clamp(20px, 5vw, 84px) 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(15,23,42,.14), transparent);
}
.page-hero { min-height: 420px; display: grid; align-content: center; }
.eyebrow {
    margin: 0 0 12px;
    color: var(--green);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; letter-spacing: 0; }
h1 { max-width: 900px; margin-bottom: 22px; font-size: clamp(42px, 5.6vw, 72px); line-height: .98; }
h2 { max-width: 820px; margin-bottom: 16px; font-size: clamp(30px, 3.7vw, 46px); line-height: 1.05; }
h3 { margin-bottom: 10px; font-size: 20px; }
.hero-text, .page-hero p { max-width: 760px; color: var(--muted); font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button, button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 20px;
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-weight: 850;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover, button:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(23,78,166,.18); }
.primary, button { color: #fff; background: linear-gradient(135deg, var(--orange), var(--orange-dark)); }
.secondary { color: var(--ink); background: #e8eef6; }
.signal-panel { display: grid; gap: 14px; }
.signal-panel div {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255,255,255,.9);
    box-shadow: var(--shadow);
}
.signal-panel strong { display: block; margin-bottom: 7px; font-size: 30px; }
.signal-panel span, .service-card p, .project-list p, .steps p, .contact-section p, .case-card p { color: var(--muted); }

.trust-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 18px 20px;
    background: linear-gradient(90deg, #07111f, #102238);
}
.trust-strip span {
    padding: 8px 14px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    color: #fff;
    font-size: 14px;
}
.section, .contact-section { padding: clamp(64px, 8vw, 108px) clamp(20px, 5vw, 84px); }
.section > *, .contact-section > *, .hero > *, .page-hero > * { max-width: 1280px; }
.soft { background: var(--soft); }
.section-heading { margin-bottom: 34px; }
.card-grid { display: grid; gap: 18px; }
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-card, .case-card {
    min-height: 250px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: var(--shadow-soft);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.service-card:hover, .case-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0,166,180,.45);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.13);
}
.service-card a { color: var(--orange-dark); font-weight: 900; }
.card-type, .project-list span, .case-card span {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--orange);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.split {
    display: grid;
    grid-template-columns: minmax(260px, .8fr) minmax(300px, 1.2fr);
    gap: clamp(28px, 5vw, 70px);
}
.project-list { display: grid; gap: 14px; }
.project-list article {
    padding: 22px;
    border-left: 5px solid var(--cyan);
    border-radius: var(--radius);
    background: #fff;
}
.steps, .timeline, .case-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.steps article, .timeline article {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-soft);
}
.steps span, .timeline span { display: inline-block; margin-bottom: 18px; color: var(--blue); font-size: 28px; font-weight: 950; }

.contact-section {
    display: grid;
    grid-template-columns: minmax(260px, .78fr) minmax(320px, 1.22fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: center;
    color: #fff;
    background:
        radial-gradient(circle at 85% 5%, rgba(255,134,23,.16), transparent 30%),
        radial-gradient(circle at 20% 80%, rgba(14,116,144,.22), transparent 34%),
        linear-gradient(135deg, #0b1220, #111827 55%, #07111f);
}
.standalone { min-height: 680px; align-items: center; }
.contact-section .eyebrow { color: #ffb36c; }
.contact-section p { color: #c8d6e6; }
.contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid rgba(255,255,255,.36);
    border-radius: 18px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 28px 80px rgba(0,0,0,.24);
}
label { display: grid; gap: 8px; color: #263244; font-weight: 850; }
.full, .notice, .contact-form button { grid-column: 1 / -1; }
input, select, textarea {
    width: 100%;
    min-height: 54px;
    padding: 13px 15px;
    border: 1px solid #c7d2e2;
    border-radius: 12px;
    color: #0f172a;
    background: #ffffff;
    font: inherit;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(15,23,42,.03);
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(255,134,23,.16);
}
input::placeholder, textarea::placeholder { color: #7c8798; }
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-text-fill-color: #0f172a;
    box-shadow: 0 0 0 1000px #fff inset, 0 0 0 4px rgba(255,134,23,.12);
    transition: background-color 9999s ease-in-out 0s;
}
textarea { resize: vertical; }
select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #0f172a 50%),
        linear-gradient(135deg, #0f172a 50%, transparent 50%);
    background-position:
        calc(100% - 20px) 23px,
        calc(100% - 14px) 23px;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 44px;
}
select option { color: #111827; background: #fff; }
.contact-form button {
    min-height: 56px;
    font-size: 16px;
    box-shadow: 0 16px 30px rgba(255, 134, 23, .24);
}
.notice { padding: 13px 14px; border-radius: 8px; font-weight: 800; }
.success { color: #052e24; background: #a7f3d0; }
.error { color: #3b0a0a; background: #fecaca; }

footer {
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    align-items: center;
    gap: 20px;
    padding: 28px clamp(20px, 5vw, 84px);
    color: #d8e0ec;
    background: #080d16;
}
footer div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
footer div:last-child { justify-content: flex-end; }
footer strong { color: #fff; }
footer a { color: #ffb36c; font-weight: 900; }

@media (max-width: 1060px) {
    .hero, .split, .contact-section { grid-template-columns: 1fr; }
    .card-grid.four, .steps, .timeline, .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .site-header { align-items: flex-start; flex-direction: column; }
    .brand img { width: 36px; height: 36px; }
    nav { width: 100%; overflow-x: auto; padding-bottom: 2px; }
    nav a { white-space: nowrap; }
    .hero { grid-template-columns: 1fr; min-height: auto; }
    .card-grid.two, .card-grid.four, .steps, .timeline, .case-grid, .contact-form { grid-template-columns: 1fr; }
    .contact-form { padding: 20px; }
    footer { grid-template-columns: 1fr; }
    footer div:last-child { justify-content: flex-start; }
}
