:root {
    --ink: #12191d;
    --ink-2: #1c252a;
    --steel: #5e696f;
    --muted: #727d82;
    --line: #d9dddf;
    --paper: #f5f6f6;
    --white: #ffffff;
    --accent: #ed7b22;
    --accent-dark: #c95d0d;
    --max: 1180px;
    --radius: 2px;
    --shadow: 0 18px 60px rgba(18, 25, 29, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.58; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; transform: translateY(-150%); padding: 10px 14px; background: var(--white); color: var(--ink); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(18,25,29,.94); color: var(--white); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,.08); }
.header-inner { min-height: 74px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: max-content; }
.brand img { width: 46px; height: 46px; object-fit: contain; background-color:#E8E8E8; padding: 3px; }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-size: 17px; letter-spacing: .08em; }
.brand-copy small { margin-top: 5px; color: #aeb7bb; font-size: 11px; letter-spacing: .03em; }
.site-nav { justify-self: center; display: flex; gap: 26px; align-items: center; }
.site-nav a { position: relative; color: #dce1e3; text-decoration: none; font-size: 14px; font-weight: 600; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -9px; height: 2px; background: var(--accent); transition: right .2s ease; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }
.header-phone { color: var(--white); text-decoration: none; font-size: 14px; font-weight: 700; white-space: nowrap; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.22); background: transparent; padding: 10px; }
.nav-toggle span:not(.sr-only) { display: block; height: 2px; background: white; margin: 5px 0; }

.hero { position: relative; min-height: min(720px, calc(100vh - 74px)); display: grid; align-items: center; overflow: hidden; background: var(--ink); color: var(--white); }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,15,18,.93) 0%, rgba(10,15,18,.78) 36%, rgba(10,15,18,.25) 72%, rgba(10,15,18,.14) 100%); }
.hero-content { position: relative; z-index: 1; padding-block: 86px 72px; }
.eyebrow { margin: 0 0 16px; color: #d6dfe2; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 800; }
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 2px; margin-right: 10px; vertical-align: middle; background: var(--accent); }
.eyebrow.dark { color: var(--steel); }
.hero h1, .page-hero h1 { max-width: 870px; margin: 0; font-size: clamp(42px, 6vw, 76px); line-height: 1.02; letter-spacing: -.045em; }
.hero-lead { max-width: 770px; margin: 28px 0 0; color: #d6dcdf; font-size: clamp(17px, 2vw, 21px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 12px 20px; border: 1px solid transparent; border-radius: var(--radius); text-decoration: none; font-weight: 800; font-size: 14px; transition: transform .15s ease, background .15s ease, border-color .15s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--accent); color: #1c130d; }
.button-primary:hover { background: #f18a37; }
.button-ghost { border-color: rgba(255,255,255,.45); color: white; background: rgba(255,255,255,.04); }
.button-dark { background: var(--ink); color: white; }
.sector-line { display: flex; flex-wrap: wrap; gap: 7px 26px; list-style: none; padding: 0; margin: 52px 0 0; color: #bfc7ca; font-size: 13px; font-weight: 700; }
.sector-line li { position: relative; }
.sector-line li:not(:last-child)::after { content: "/"; position: absolute; right: -16px; color: var(--accent); }

.section { padding: 92px 0; }
.section-paper { background: var(--paper); }
.section-dark { background: var(--ink); color: var(--white); }
.section-heading { margin-bottom: 42px; }
.split-heading { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .8fr); gap: 70px; align-items: end; }
.section-heading h2, .copy-block h2, .cta-inner h2 { margin: 0; font-size: clamp(32px, 4vw, 50px); line-height: 1.06; letter-spacing: -.035em; }
.split-heading > p { margin: 0; color: var(--steel); font-size: 17px; }
.light-heading > p { color: #aeb7bb; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 245px; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.card-index { color: var(--accent); font-size: 12px; font-weight: 900; letter-spacing: .14em; }
.service-card h3 { margin: 42px 0 12px; font-size: 20px; line-height: 1.18; }
.service-card p { margin: 0; color: var(--steel); font-size: 14px; }
.section-link { margin: 28px 0 0; text-align: right; }
.section-link a, .text-link { color: var(--ink); font-weight: 800; text-decoration: none; }
.text-link.light { color: white; }
.section-link a span, .text-link span { color: var(--accent); }
.two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.copy-block p:not(.eyebrow) { color: #c5cccf; font-size: 17px; }
.dark-copy p:not(.eyebrow) { color: var(--steel); }
.framed-media { position: relative; overflow: hidden; background: #262f33; box-shadow: var(--shadow); }
.framed-media::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.08); pointer-events: none; }
.framed-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.check-list { list-style: none; padding: 0; margin: 28px 0 32px; }
.check-list li { position: relative; padding: 14px 0 14px 28px; border-bottom: 1px solid var(--line); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 23px; width: 8px; height: 8px; background: var(--accent); }
.sector-tags { display: flex; flex-wrap: wrap; list-style: none; gap: 8px; padding: 0; margin: 30px 0 0; }
.sector-tags li { padding: 9px 12px; border: 1px solid var(--line); background: var(--paper); color: var(--ink-2); font-size: 13px; font-weight: 700; }

.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.project-grid-preview { grid-template-columns: repeat(3, 1fr); }
.project-card { position: relative; padding: 28px; background: var(--paper); border-top: 3px solid var(--ink-2); min-height: 280px; }
.project-card-full { min-height: 310px; }
.project-meta { display: flex; justify-content: space-between; gap: 20px; color: var(--steel); text-transform: uppercase; letter-spacing: .07em; font-size: 11px; font-weight: 800; }
.project-card h2, .project-card h3 { margin: 48px 0 14px; line-height: 1.16; }
.project-card h2 { font-size: 27px; }
.project-card h3 { font-size: 22px; }
.project-card p { color: var(--steel); }
.project-location { font-size: 13px; }
.experience-list { margin-top: 46px; border-top: 1px solid rgba(255,255,255,.15); }
.experience-row { display: grid; grid-template-columns: minmax(220px,.55fr) 1.45fr; gap: 50px; padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.experience-row h3 { margin: 0; font-size: 18px; }
.experience-row p { margin: 0; color: #b9c1c4; }
.cta-band { background: var(--ink-2); color: white; padding: 62px 0; border-top: 4px solid var(--accent); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 50px; }
.cta-inner p:not(.eyebrow) { margin: 16px 0 0; color: #bec7ca; }

.page-hero { background: var(--ink); color: white; padding: 94px 0 82px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; width: 45vw; height: 45vw; max-width: 640px; max-height: 640px; right: -12vw; top: -20vw; border: 1px solid rgba(255,255,255,.08); transform: rotate(45deg); }
.page-hero h1 { font-size: clamp(40px, 5vw, 66px); }
.page-hero p:not(.eyebrow) { max-width: 780px; margin: 24px 0 0; color: #c8d0d3; font-size: 18px; }
.narrow-left { position: relative; z-index: 1; }
.service-detail-list { border-top: 1px solid var(--line); }
.service-detail { display: grid; grid-template-columns: 90px 1fr; gap: 28px; padding: 36px 0; border-bottom: 1px solid var(--line); }
.service-number { color: var(--accent); font-weight: 900; letter-spacing: .12em; }
.service-detail h2 { margin: 0 0 10px; font-size: clamp(24px, 3vw, 34px); line-height: 1.15; }
.service-detail p { max-width: 760px; margin: 0; color: var(--steel); }
.requisites-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.requisites-grid > div { padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; }
.requisites-grid dt, .contact-list dt { color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: 11px; font-weight: 800; }
.requisites-grid dd, .contact-list dd { margin: 8px 0 0; font-weight: 700; }
.requisites-grid a, .contact-list a { color: inherit; }

.contact-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 70px; }
.contact-panel h2, .form-panel h2 { margin: 0 0 28px; font-size: 34px; }
.contact-list { margin: 0; }
.contact-list > div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.form-panel { padding: 36px; background: var(--paper); }
.form-intro { margin-top: -14px; color: var(--steel); }
.contact-form { display: grid; gap: 18px; margin-top: 28px; }
.contact-form label { display: grid; gap: 8px; font-size: 13px; font-weight: 800; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 13px 14px; border: 1px solid #cbd1d3; border-radius: 0; background: white; color: var(--ink); outline: none; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(237,123,34,.15); }
.contact-form textarea { resize: vertical; min-height: 150px; }
.consent-check { grid-template-columns: auto 1fr !important; align-items: start; font-weight: 500 !important; }
.consent-check input { width: 18px; height: 18px; margin: 2px 0 0; }
.consent-check a { color: var(--ink); }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.notice { padding: 16px 18px; margin: 18px 0; border-left: 4px solid; }
.notice ul { margin-bottom: 0; }
.notice-success { background: #edf7ef; border-color: #378648; }
.notice-error { background: #fff0ec; border-color: #b5482d; }

.legal-hero { padding-bottom: 62px; }
.legal-copy { max-width: 860px; }
.legal-copy h2 { margin: 42px 0 12px; font-size: 25px; }
.legal-copy p { color: #445157; }
.error-hero { min-height: 62vh; display: flex; align-items: center; }

.site-footer { background: #0d1215; color: #d2dadd; padding: 62px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr 1fr; gap: 60px; }
.brand-footer { color: white; }
.footer-note { max-width: 430px; color: #8f9a9f; font-size: 13px; }
.site-footer h2 { margin: 0 0 16px; color: white; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: #aeb8bc; font-size: 13px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 50px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); color: #788489; font-size: 12px; }
.footer-bottom a { color: inherit; }

@media (max-width: 1020px) {
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .project-grid-preview { grid-template-columns: 1fr 1fr; }
    .project-grid-preview .project-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 920px) {
    .header-inner { grid-template-columns: auto auto; justify-content: space-between; }
    .nav-toggle { display: block; justify-self: end; }
    .site-nav {
    position: absolute;
    top: 74px;
    left: auto;
    right: 20px;

    width: min(320px, calc(100vw - 40px));
    display: none;
    padding: 8px 16px;

    background: rgba(18, 25, 29, .97);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 2px;

    box-shadow:
        0 18px 42px rgba(0, 0, 0, .32),
        inset 0 1px 0 rgba(255, 255, 255, .03);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    }
    .site-nav.is-open { display: grid; gap: 0; }
    .site-nav a {
    padding: 14px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, .09);
    color: #e3e8ea;
    font-size: 15px;
    font-weight: 650;
    }
    .site-nav a:last-child {
    border-bottom: 0;
    }
    .site-nav a[aria-current="page"] {
    color: var(--white);
    }
    .site-nav a[aria-current="page"]::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 2px;
    margin-right: 9px;
    vertical-align: middle;
    background: var(--accent);
    }
    .site-nav a::after { display: none; }
    .header-phone { display: none; }
    body.nav-open { overflow: hidden; }
    .two-column, .contact-layout { grid-template-columns: 1fr; gap: 42px; }
    .split-heading { grid-template-columns: 1fr; gap: 18px; }
    .reverse-on-mobile .framed-media { order: 2; }
    .project-grid { grid-template-columns: 1fr; }
    .project-grid-preview { grid-template-columns: 1fr; }
    .project-grid-preview .project-card:last-child { grid-column: auto; }
    .cta-inner { align-items: flex-start; flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
    .container { width: min(calc(100% - 28px), var(--max)); }
    .site-header, .header-inner { min-height: 66px; }
    .site-nav { top: 66px; right: 14px; width: min(320px, calc(100vw - 28px)); }
    .brand img { width: 40px; height: 40px; }
    .brand-copy small { display: none; }
    .hero { min-height: 690px; align-items: end; }
    .hero-media img { object-position: 64% center; }
    .hero-overlay { background: linear-gradient(180deg, rgba(9,14,17,.34) 0%, rgba(9,14,17,.68) 46%, rgba(9,14,17,.97) 100%); }
    .hero-content { padding: 100px 0 44px; }
    .hero h1 { font-size: clamp(37px, 11vw, 54px); }
    .hero-lead { font-size: 16px; line-height: 1.55; }
    .sector-line { margin-top: 38px; gap: 7px 20px; font-size: 11px; }
    .sector-line li:not(:last-child)::after { right: -12px; }
    .section { padding: 64px 0; }
    .service-grid { grid-template-columns: 1fr; }
    .service-card { min-height: auto; }
    .service-card h3 { margin-top: 26px; }
    .page-hero { padding: 72px 0 62px; }
    .page-hero h1 { font-size: 40px; }
    .page-hero p:not(.eyebrow) { font-size: 16px; }
    .service-detail { grid-template-columns: 50px 1fr; gap: 14px; }
    .experience-row { grid-template-columns: 1fr; gap: 10px; }
    .requisites-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .form-panel { padding: 24px 18px; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .footer-grid > div:first-child { grid-column: auto; }
    .footer-bottom { flex-direction: column; gap: 8px; }
}
@media (max-width: 420px) {
    .brand-copy strong { font-size: 15px; }
    .nav-toggle { width: 42px; height: 42px; }
    .actions { display: grid; }
    .button { width: 100%; }
    .hero h1 { font-size: 36px; }
    .section-heading h2, .copy-block h2, .cta-inner h2 { font-size: 31px; }
    .project-card { padding: 22px; }
    .project-meta { flex-direction: column; gap: 5px; }
    .project-card h2, .project-card h3 { margin-top: 28px; }
}
