:root {
    --bg: #f3f6fb;
    --bg-2: #e7edf6;
    --ink: #0f1f34;
    --ink-2: #18324f;
    --muted: #607086;
    --muted-2: #8996a8;
    --blue: #1d4ed8;
    --blue-2: #2563eb;
    --teal: #0891b2;
    --aqua: #22d3ee;
    --amber: #f59e0b;
    --red: #dc2626;
    --green: #16a34a;
    --surface: rgba(255,255,255,.82);
    --surface-2: #ffffff;
    --surface-3: #eef4ff;
    --line: rgba(18,40,70,.12);
    --line-strong: rgba(29,78,216,.22);
    --shadow: 0 24px 70px rgba(28,55,92,.16);
    --shadow-soft: 0 14px 34px rgba(28,55,92,.11);
    --radius: 26px;
    --radius-sm: 16px;
    --container: 1180px;
    --header-h: 76px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 12% 8%, rgba(34,211,238,.18), transparent 28%),
        radial-gradient(circle at 88% 0%, rgba(37,99,235,.12), transparent 30%),
        linear-gradient(180deg, #f8fbff 0%, var(--bg) 45%, #edf3fb 100%);
    line-height: 1.62;
    font-size: 17px;
    min-width: 320px;
}
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(15,31,52,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15,31,52,.045) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,.72), transparent 76%);
    z-index: -1;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button, input { font: inherit; }
button { border: 0; background: none; cursor: pointer; color: inherit; }
.container { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; }
.section { padding: 88px 0; position: relative; overflow: hidden; }
.section::after {
    content: '';
    position: absolute;
    left: max(16px, calc((100% - var(--container)) / 2));
    right: max(16px, calc((100% - var(--container)) / 2));
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(15,31,52,.14), transparent);
}
.section__title {
    max-width: 920px;
    margin-bottom: 34px;
    font-size: clamp(2rem, 4.5vw, 4.35rem);
    line-height: .98;
    letter-spacing: -.06em;
    font-weight: 850;
    color: var(--ink);
}
.section__title::before {
    content: '';
    display: inline-flex;
    width: 12px;
    height: 38px;
    margin-right: 14px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--blue), var(--aqua));
    vertical-align: -.16em;
    box-shadow: 0 14px 30px rgba(37,99,235,.25);
}

.header {
    position: sticky;
    top: 0;
    z-index: 30;
    height: var(--header-h);
    display: flex;
    align-items: center;
    background: rgba(255,255,255,.82);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.header__logo,
.footer__logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 950;
    letter-spacing: .12em;
    font-size: 1rem;
}
.header__logo::before,
.footer__logo::before {
    content: '';
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background:
        linear-gradient(135deg, var(--blue), var(--teal));
    box-shadow: 0 12px 30px rgba(37,99,235,.25);
    clip-path: polygon(0 0, 100% 0, 70% 100%, 0 100%);
}
.header__nav { display: flex; align-items: center; gap: 6px; }
.header__nav-link {
    padding: 10px 13px;
    border-radius: 999px;
    color: var(--muted);
    font-size: .88rem;
    font-weight: 800;
    transition: .22s ease;
}
.header__nav-link:hover { color: var(--blue); background: rgba(37,99,235,.08); }
.header__burger {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: #fff;
}
.header__burger span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    border-radius: 999px;
    background: var(--ink);
    transition: .22s ease;
}
.header__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger.open span:nth-child(2) { opacity: 0; }
.header__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 16px 24px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    color: var(--ink);
    font-weight: 900;
    line-height: 1;
    transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); border-color: rgba(37,99,235,.38); box-shadow: var(--shadow-soft); }
.btn--sm { min-height: 42px; padding: 12px 16px; font-size: .86rem; }
.btn--primary {
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--teal));
    border-color: transparent;
    box-shadow: 0 18px 44px rgba(37,99,235,.22);
}
.btn--primary::after { content: '→'; font-size: 1rem; }
.btn--primary:hover { box-shadow: 0 22px 58px rgba(8,145,178,.24); }

.hero {
    min-height: calc(100vh - var(--header-h));
    display: flex;
    align-items: center;
    padding: 70px 0 92px;
}
.hero::before {
    content: 'INFRASTRUCTURE INTEGRATION';
    position: absolute;
    left: 50%;
    top: 30px;
    transform: translateX(-50%);
    width: max-content;
    max-width: 100%;
    color: rgba(15,31,52,.045);
    font-size: clamp(3.4rem, 11vw, 10.2rem);
    line-height: .85;
    letter-spacing: -.085em;
    font-weight: 950;
    pointer-events: none;
    white-space: nowrap;
}
.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, .84fr);
    gap: 48px;
    align-items: center;
}
.hero__content { padding: 28px 0; }
.hero__content::before {
    content: 'IT-интеграция • сети • серверы • облака • поддержка';
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    margin-bottom: 22px;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid rgba(37,99,235,.16);
    background: rgba(255,255,255,.78);
    color: var(--blue);
    box-shadow: 0 10px 32px rgba(28,55,92,.08);
    font-size: .78rem;
    font-weight: 950;
    letter-spacing: .075em;
    text-transform: uppercase;
}
.hero__title {
    max-width: 820px;
    font-size: clamp(2.9rem, 7vw, 4.4rem);
    line-height: .89;
    letter-spacing: -.085em;
    font-weight: 990;
    margin-bottom: 26px;
}
.hero__subtitle {
    color: var(--muted);
    max-width: 700px;
    font-size: clamp(1.04rem, 2vw, 1.24rem);
    margin-bottom: 34px;
}
.hero__image {
    position: relative;
    min-height: 500px;
    padding: 10px;
    border-radius: 34px;
    background: linear-gradient(135deg, rgba(37,99,235,.32), rgba(34,211,238,.22), rgba(255,255,255,.8));
    box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.9) inset;
}
.hero__image::before {
    content: '';
    position: absolute;
    inset: 20px;
    border-radius: 26px;
    border: 1px solid rgba(255,255,255,.46);
    pointer-events: none;
    z-index: 2;
}
.hero__image::after {
    content: 'Network • Servers • Cloud • Backup';
    position: absolute;
    left: 34px;
    right: 34px;
    bottom: 34px;
    z-index: 3;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255,255,255,.84);
    color: var(--ink);
    border: 1px solid rgba(255,255,255,.9);
    box-shadow: 0 16px 42px rgba(13,28,48,.18);
    font-size: .82rem;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.hero__image img {
    height: 100%;
    min-height: 480px;
    object-fit: cover;
    border-radius: 28px;
    filter: saturate(1.05) contrast(1.03);
}
.hero__photo-slot {
    min-height: 460px;
    display: grid;
    place-items: center;
    padding: 34px;
    text-align: center;
    color: var(--muted);
    border-radius: 28px;
    background: #fff;
}
.hero__photo-slot span { color: var(--blue); font-weight: 950; }
.hero__photo-slot strong { display:block; color: var(--ink); margin: 8px 0; }
.hero__photo-slot small { max-width: 360px; }

.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card,
.case-card,
.review-card,
.error-card,
.about__stat {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(12px);
}
.card {
    min-height: 252px;
    padding: 28px;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.card::after {
    content: '';
    position: absolute;
    inset: auto 20px 20px auto;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37,99,235,.12), transparent 72%);
}
.card:hover { transform: translateY(-4px); border-color: rgba(37,99,235,.24); box-shadow: var(--shadow); }
.card__icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    border-radius: 16px;
    background: #e8f0ff;
    color: var(--blue);
    font-weight: 950;
}
.card__title,
.case-card__title,
.error-card__title {
    color: var(--ink);
    font-size: 1.25rem;
    line-height: 1.18;
    font-weight: 900;
    margin-bottom: 12px;
}
.card__text,
.case-card__desc,
.error-card__text,
.review-card__text { color: var(--muted); }
.card__price {
    display: inline-flex;
    margin-top: 18px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(8,145,178,.09);
    color: var(--teal);
    font-size: .82rem;
    font-weight: 900;
}

.about__inner {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(320px, .65fr);
    gap: 28px;
    align-items: stretch;
}
.about__text {
    padding: 34px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(239,246,255,.86));
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}
.about__text p { color: var(--muted); margin-bottom: 18px; }
.about__text p:last-child { margin-bottom: 0; }
.about__stats { display: grid; gap: 16px; }
.about__stat { padding: 24px; background: #fff; }
.about__stat-value {
    display: block;
    color: var(--blue);
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: .92;
    letter-spacing: -.06em;
    font-weight: 950;
    margin-bottom: 10px;
}
.about__stat-label { display: block; color: var(--muted); font-weight: 650; }

.stages__list {
    counter-reset: stages;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.stages__item {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 18px;
    align-items: start;
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow-soft);
}
.stages__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--ink-2), var(--blue));
    font-weight: 950;
}
.stages__name { font-size: 1.16rem; line-height: 1.2; margin-bottom: 8px; font-weight: 900; }
.stages__desc { color: var(--muted); }

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-soft);
}
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { padding: 20px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--ink); background: #edf4ff; font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; }
tr:last-child td { border-bottom: 0; }
td { color: var(--muted); }
.cmp-table__us { color: var(--blue); font-weight: 900; }
.check,
.cross {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    font-weight: 950;
}
.check { color: #fff; background: var(--green); }
.cross { color: #fff; background: var(--red); }

.case-card { padding: 30px; background: #fff; }
.case-card__num {
    display: inline-flex;
    margin-bottom: 22px;
    color: var(--blue);
    font-size: .82rem;
    letter-spacing: .18em;
    font-weight: 950;
}
.case-card__result {
    color: var(--ink);
    font-weight: 850;
    margin-bottom: 12px;
}
.review-card { padding: 28px; background: linear-gradient(180deg, #fff, #f8fbff); }
.review-card__text { margin-bottom: 24px; }
.review-card__author { display: grid; gap: 4px; }
.review-card__name { color: var(--ink); font-weight: 900; }
.review-card__role { color: var(--blue); font-size: .9rem; font-weight: 800; }

.error-card {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 18px;
    padding: 26px;
    background: #fff;
}
.error-card__badge {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 950;
}
.error-card--error .error-card__badge { color: #fff; background: var(--red); }
.error-card--tip .error-card__badge { color: #fff; background: var(--green); }

.seo-text__inner {
    max-width: 980px;
    padding: 38px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: linear-gradient(135deg, #fff, #eef6ff);
    box-shadow: var(--shadow-soft);
}
.seo-text p { color: var(--muted); margin-bottom: 18px; }
.seo-text p:last-child { margin-bottom: 0; }

.faq__list { display: grid; gap: 14px; }
.faq__item {
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(28,55,92,.07);
    overflow: hidden;
}
.faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 24px;
    text-align: left;
    color: var(--ink);
    font-weight: 900;
}
.faq__arrow { color: var(--blue); transition: transform .22s ease; }
.faq__question[aria-expanded="true"] .faq__arrow { transform: rotate(180deg); }
.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .24s ease;
}
.faq__answer.open { max-height: 260px; }
.faq__answer p { padding: 0 24px 22px; color: var(--muted); }

.cta { padding: 92px 0; }
.cta__inner {
    position: relative;
    overflow: hidden;
    padding: clamp(32px, 6vw, 62px);
    border-radius: 34px;
    color: #fff;
    background:
        radial-gradient(circle at 18% 0%, rgba(34,211,238,.26), transparent 28%),
        radial-gradient(circle at 92% 12%, rgba(245,158,11,.18), transparent 26%),
        linear-gradient(135deg, #0f1f34, #123a72 58%, #075985);
    box-shadow: var(--shadow);
}
.cta__inner::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(90deg, rgba(0,0,0,.5), transparent 72%);
    pointer-events: none;
}
.cta__title,
.cta__subtitle,
.cta__form,
.cta__privacy,
.cta__msg { position: relative; z-index: 1; }
.cta__title {
    max-width: 780px;
    font-size: clamp(2.2rem, 5vw, 5rem);
    line-height: .95;
    letter-spacing: -.07em;
    font-weight: 950;
    margin-bottom: 20px;
}
.cta__subtitle { max-width: 760px; color: rgba(255,255,255,.78); margin-bottom: 28px; }
.cta__form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: center; }
.cta__input {
    min-height: 56px;
    padding: 0 18px;
    color: #fff;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 999px;
    outline: none;
    background: rgba(255,255,255,.12);
}
.cta__input::placeholder { color: rgba(255,255,255,.62); }
.cta__input:focus { border-color: rgba(34,211,238,.7); box-shadow: 0 0 0 4px rgba(34,211,238,.13); }
.cta__privacy { margin-top: 14px; color: rgba(255,255,255,.6); font-size: .86rem; }
.cta__msg { margin-top: 12px; font-weight: 850; }

.footer {
    color: #d8e2f0;
    background: #081423;
    padding-top: 62px;
}
.footer__inner {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(280px, .65fr) minmax(180px, .35fr);
    gap: 36px;
    padding-bottom: 48px;
}
.footer__logo { color: #fff; margin-bottom: 18px; }
.footer__logo::before { background: linear-gradient(135deg, var(--aqua), var(--blue)); }
.footer__desc { color: #9fb0c8; max-width: 520px; }
.footer__heading { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer__contact-link,
.footer__nav-link {
    display: block;
    color: #c7d5e8;
    margin-bottom: 8px;
    transition: .2s ease;
}
.footer__contact-link:hover,
.footer__nav-link:hover { color: #fff; }
.footer__hours,
.footer__address { color: #9fb0c8; margin-top: 10px; }
.footer__legal {
    display: grid;
    gap: 4px;
    margin-top: 18px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(255,255,255,.05);
    color: #c7d5e8;
    font-size: .92rem;
}
.footer__legal strong { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer__bottom-inner {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #7f90a9;
    font-size: .88rem;
}
.footer__dev-link { color: #a9bdd8; }

@media (max-width: 1080px) {
    .header__cta { display: none; }
    .hero__inner { grid-template-columns: 1fr; }
    .hero__image { min-height: 360px; }
    .hero__image img { min-height: 360px; }
    .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
    :root { --header-h: 68px; }
    body { font-size: 16px; }
    .section { padding: 68px 0; }
    .header__burger { display: block; }
    .header__nav {
        position: fixed;
        left: 16px;
        right: 16px;
        top: calc(var(--header-h) + 10px);
        display: none;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 22px;
        background: rgba(255,255,255,.96);
        box-shadow: var(--shadow);
        flex-direction: column;
        align-items: stretch;
    }
    .header__nav.open { display: flex; }
    .header__nav-link { padding: 13px 14px; }
    .grid--2,
    .grid--3,
    .about__inner,
    .stages__list,
    .footer__inner { grid-template-columns: 1fr; }
    .cta__form { grid-template-columns: 1fr; }
    .section__title::before { height: 26px; }
}
@media (max-width: 560px) {
    .container { width: min(calc(100% - 24px), var(--container)); }
    .hero { padding: 48px 0 64px; }
    .hero__title { font-size: clamp(2.55rem, 14vw, 4rem); }
    .hero__content::before { white-space: normal; border-radius: 18px; }
    .hero__image { min-height: 300px; border-radius: 24px; }
    .hero__image img { min-height: 300px; border-radius: 18px; }
    .hero__image::after { left: 22px; right: 22px; bottom: 22px; border-radius: 14px; }
    .card,
    .case-card,
    .review-card,
    .about__text,
    .seo-text__inner { padding: 22px; border-radius: 22px; }
    .stages__item { grid-template-columns: 1fr; }
    .cta__inner { border-radius: 24px; }
}
