:root {
    color-scheme: light;
    --ink: #17202a;
    --muted: #596678;
    --line: #d9e1e9;
    --paper: #f7f9fc;
    --white: #ffffff;
    --blue: #1f6feb;
    --cyan: #1fb6c9;
    --green: #63b246;
    --amber: #f4a62a;
    --shadow: 0 24px 70px rgba(26, 38, 61, .15);
}

* { 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:
        linear-gradient(115deg, rgba(31,111,235,.08), transparent 35%),
        linear-gradient(245deg, rgba(99,178,70,.10), transparent 32%),
        var(--paper);
}

.page-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.hero {
    min-height: 88vh;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
    gap: 58px;
    align-items: center;
    padding: 52px 0 38px;
}
.brand-logo { width: 144px; height: auto; display: block; margin-bottom: 34px; }
.kicker {
    margin: 0 0 16px;
    color: var(--blue);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}
h1, h2 { margin: 0; line-height: 1.02; letter-spacing: 0; }
h1 { max-width: 760px; font-size: clamp(3.1rem, 7vw, 6.8rem); }
.lead {
    max-width: 660px;
    margin: 28px 0 0;
    color: var(--muted);
    font-size: 1.18rem;
    line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button, button {
    border: 0;
    border-radius: 6px;
    padding: 14px 18px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
}
.button.primary, button { background: var(--blue); color: var(--white); box-shadow: 0 14px 30px rgba(31, 111, 235, .28); }
.button.ghost { background: var(--white); color: var(--ink); border: 1px solid var(--line); }

.visual-panel {
    position: relative;
    min-height: 560px;
    border: 1px solid rgba(23, 32, 42, .08);
    border-radius: 8px;
    background:
        radial-gradient(circle at 50% 50%, rgba(31,111,235,.14), transparent 30%),
        linear-gradient(150deg, rgba(255,255,255,.92), rgba(255,255,255,.58));
    box-shadow: var(--shadow);
    overflow: hidden;
}
.visual-panel:before {
    content: "";
    position: absolute;
    inset: 42px;
    border: 1px dashed rgba(31,111,235,.26);
    border-radius: 50%;
}
.center-node {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: 122px; height: 122px;
    display: grid; place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--ink);
    font-weight: 900;
    font-size: 1.35rem;
    box-shadow: 0 22px 55px rgba(23, 32, 42, .28);
}
.orbital-card {
    position: absolute;
    width: 210px;
    padding: 18px;
    border-radius: 8px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: 0 16px 38px rgba(26, 38, 61, .12);
}
.orbital-card span { display: block; color: var(--muted); font-size: .85rem; margin-bottom: 8px; }
.orbital-card strong { display: block; font-size: 1.03rem; line-height: 1.3; }
.card-main { left: 34px; top: 78px; border-top: 5px solid var(--blue); }
.card-right { right: 34px; top: 230px; border-top: 5px solid var(--green); }
.card-left { left: 56px; bottom: 74px; border-top: 5px solid var(--amber); }
.flow-line { position: absolute; height: 2px; background: linear-gradient(90deg, transparent, rgba(31,111,235,.55), transparent); transform-origin: center; }
.line-one { width: 250px; left: 150px; top: 238px; transform: rotate(28deg); }
.line-two { width: 235px; left: 145px; top: 355px; transform: rotate(-20deg); }

.work-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    margin: 0 0 28px;
}
.work-band article { background: rgba(255,255,255,.88); padding: 26px; min-height: 230px; }
.work-band span { color: var(--cyan); font-weight: 900; }
.work-band h2 { margin-top: 24px; font-size: 1.28rem; }
.work-band p { color: var(--muted); line-height: 1.58; margin: 14px 0 0; }

.contact-section {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 46px;
    align-items: start;
    padding: 72px 0 86px;
}
.contact-copy h2 { font-size: clamp(2.1rem, 4vw, 4.2rem); }
.contact-copy p:last-child { color: var(--muted); line-height: 1.65; font-size: 1.05rem; }
.contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 26px;
    border-radius: 8px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
label { display: grid; gap: 8px; color: var(--muted); font-weight: 800; font-size: .9rem; }
input, textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 13px 14px;
    color: var(--ink);
    background: #fbfdff;
    font: inherit;
}
textarea { resize: vertical; min-height: 142px; }
.wide, .notice, button { grid-column: 1 / -1; }
.notice { padding: 13px 14px; border-radius: 6px; font-weight: 800; }
.notice.ok { color: #17643a; background: #e9f7ef; }
.notice.error { color: #9b2c2c; background: #fff0f0; }
.hp { position: absolute; left: -9999px; opacity: 0; }
button { min-height: 52px; }

@media (max-width: 920px) {
    .page-shell { width: min(100% - 28px, 720px); }
    .hero { grid-template-columns: 1fr; min-height: auto; gap: 34px; padding-top: 34px; }
    .visual-panel { min-height: 430px; }
    .work-band { grid-template-columns: repeat(2, 1fr); }
    .contact-section { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
    h1 { font-size: 3rem; }
    .lead { font-size: 1rem; }
    .brand-logo { width: 116px; margin-bottom: 26px; }
    .hero-actions { flex-direction: column; }
    .button { text-align: center; }
    .visual-panel { display: none; }
    .work-band, .contact-form { grid-template-columns: 1fr; }
    .work-band article { min-height: auto; }
    .contact-section { padding-top: 48px; }
}
