.industry-page {
    --industry-red: #ed241c;
    --industry-red-dark: #bd1712;
    --industry-ink: #101318;
    --industry-ink-soft: #1a1f27;
    --industry-paper: #f4f1eb;
    --industry-line: rgba(16, 19, 24, 0.14);
    --industry-muted: #666d78;
    --industry-white: #fff;
    background: var(--industry-paper);
    color: var(--industry-ink);
}

.industry-page main {
    overflow: hidden;
}

.industry-page .index_header {
    position: absolute !important;
    top: 0;
    right: 0;
    left: 0;
    z-index: 20;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    box-shadow: none !important;
}

.industry-page .index_header::before,
.industry-page .index_header::after {
    display: none !important;
}

.industry-page .industry-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.industry-page .industry-hero {
    position: relative;
    isolation: isolate;
    min-height: 720px;
    display: grid;
    align-items: center;
    background:
        radial-gradient(circle at 84% 20%, rgba(237, 36, 28, 0.34), transparent 28%),
        linear-gradient(135deg, #0a0c10 0%, #151922 58%, #0a0c10 100%);
    color: var(--industry-white);
}

.industry-page .industry-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.17;
    background-image:
        linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to bottom, #000 0%, transparent 90%);
}

.industry-page .industry-hero::after {
    content: "СТРОИТЕЛЬСТВО";
    position: absolute;
    right: -24px;
    bottom: -28px;
    z-index: -1;
    color: rgba(255,255,255,.035);
    font-size: clamp(70px, 13vw, 200px);
    font-weight: 900;
    line-height: .8;
    letter-spacing: -.07em;
    white-space: nowrap;
}

.industry-page .industry-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
    gap: 72px;
    align-items: center;
    padding: 96px 0 88px;
}

.industry-page .industry-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 26px;
    color: rgba(255,255,255,.64);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.industry-page .industry-breadcrumbs a {
    color: inherit;
    text-decoration: none;
}

.industry-page .industry-breadcrumbs a:hover {
    color: var(--industry-white);
}

.industry-page .industry-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    color: var(--industry-red);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.industry-page .industry-kicker::before {
    content: "";
    width: 32px;
    height: 2px;
    background: currentColor;
}

.industry-page .industry-hero h1 {
    max-width: 760px;
    margin: 0;
    color: var(--industry-white);
    font-size: clamp(43px, 5.6vw, 78px);
    line-height: .98;
    letter-spacing: -.055em;
    font-weight: 900;
}

.industry-page .industry-hero-lead {
    max-width: 710px;
    margin: 28px 0 0;
    color: rgba(255,255,255,.78);
    font-size: clamp(17px, 1.55vw, 22px);
    line-height: 1.55;
}

.industry-page .industry-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.industry-page .industry-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 26px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 3px;
    background: transparent;
    color: var(--industry-white);
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .04em;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.industry-page .industry-button:hover,
.industry-page .industry-button:focus-visible {
    transform: translateY(-2px);
    border-color: var(--industry-white);
    color: var(--industry-white);
}

.industry-page .industry-button-primary {
    border-color: var(--industry-red);
    background: var(--industry-red);
}

.industry-page .industry-button-primary:hover,
.industry-page .industry-button-primary:focus-visible {
    border-color: var(--industry-red-dark);
    background: var(--industry-red-dark);
}

.industry-page .industry-proofline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
    color: rgba(255,255,255,.66);
    font-size: 13px;
}

.industry-page .industry-proofline li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.industry-page .industry-proofline li::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--industry-red);
    box-shadow: 0 0 0 5px rgba(237,36,28,.14);
}

.industry-page .industry-blueprint {
    position: relative;
    padding: 30px;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(10,12,16,.74);
    box-shadow: 24px 24px 0 rgba(237,36,28,.13);
}

.industry-page .industry-blueprint::before,
.industry-page .industry-blueprint::after {
    content: "";
    position: absolute;
    width: 34px;
    height: 34px;
    border-color: var(--industry-red);
}

.industry-page .industry-blueprint::before {
    top: -1px;
    left: -1px;
    border-top: 3px solid var(--industry-red);
    border-left: 3px solid var(--industry-red);
}

.industry-page .industry-blueprint::after {
    right: -1px;
    bottom: -1px;
    border-right: 3px solid var(--industry-red);
    border-bottom: 3px solid var(--industry-red);
}

.industry-page .industry-blueprint-label {
    margin-bottom: 24px;
    color: rgba(255,255,255,.52);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
}

.industry-page .industry-blueprint-step {
    display: grid;
    grid-template-columns: 26px 1fr;
    gap: 12px;
    align-items: start;
    padding: 15px 0;
    border-top: 1px solid rgba(255,255,255,.12);
}

.industry-page .industry-blueprint-step:first-of-type {
    border-top: 0;
}

.industry-page .industry-blueprint-step span {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    background: var(--industry-red);
    color: var(--industry-white);
    font-size: 11px;
    font-weight: 900;
}

.industry-page .industry-blueprint-step strong {
    display: block;
    color: var(--industry-white);
    font-size: 15px;
    line-height: 1.35;
}

.industry-page .industry-blueprint-step small {
    display: block;
    margin-top: 5px;
    color: rgba(255,255,255,.55);
    font-size: 12px;
    line-height: 1.5;
}

.industry-page .industry-signal-strip {
    background: var(--industry-red);
    color: var(--industry-white);
}

.industry-page .industry-signal-strip .industry-shell {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.industry-page .industry-signal {
    padding: 26px 28px;
    border-left: 1px solid rgba(255,255,255,.23);
}

.industry-page .industry-signal:last-child {
    border-right: 1px solid rgba(255,255,255,.23);
}

.industry-page .industry-signal strong {
    display: block;
    color: var(--industry-white);
    font-size: 19px;
    line-height: 1.25;
}

.industry-page .industry-signal span {
    display: block;
    margin-top: 7px;
    color: rgba(255,255,255,.74);
    font-size: 13px;
    line-height: 1.45;
}

.industry-page .industry-section {
    padding: 104px 0;
}

.industry-page .industry-section-white {
    background: var(--industry-white);
}

.industry-page .industry-section-dark {
    background: var(--industry-ink);
    color: var(--industry-white);
}

.industry-page .industry-section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 430px);
    gap: 70px;
    align-items: end;
    margin-bottom: 48px;
}

.industry-page .industry-section-head h2 {
    max-width: 820px;
    margin: 0;
    color: inherit;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.04;
    letter-spacing: -.045em;
    font-weight: 900;
}

.industry-page .industry-section-head > p {
    margin: 0;
    color: var(--industry-muted);
    font-size: 16px;
    line-height: 1.65;
}

.industry-page .industry-section-dark .industry-section-head > p {
    color: rgba(255,255,255,.62);
}

.industry-page .industry-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.industry-page .industry-card {
    min-height: 245px;
    padding: 28px;
    border: 1px solid var(--industry-line);
    background: var(--industry-white);
}

.industry-page .industry-card-num {
    display: inline-flex;
    margin-bottom: 42px;
    color: var(--industry-red);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .12em;
}

.industry-page .industry-card h3 {
    margin: 0;
    color: var(--industry-ink);
    font-size: 20px;
    line-height: 1.25;
    font-weight: 850;
}

.industry-page .industry-card p {
    margin: 14px 0 0;
    color: var(--industry-muted);
    font-size: 14px;
    line-height: 1.6;
}

.industry-page .industry-matrix {
    overflow: hidden;
    border: 1px solid var(--industry-line);
    background: var(--industry-white);
}

.industry-page .industry-matrix-row {
    display: grid;
    grid-template-columns: 1.05fr 1fr 1fr 1.15fr;
    border-top: 1px solid var(--industry-line);
}

.industry-page .industry-matrix-row:first-child {
    border-top: 0;
}

.industry-page .industry-matrix-row > * {
    margin: 0;
    padding: 21px 24px;
    border-left: 1px solid var(--industry-line);
    font-size: 14px;
    line-height: 1.45;
}

.industry-page .industry-matrix-row > *:first-child {
    border-left: 0;
}

.industry-page .industry-matrix-head {
    background: var(--industry-ink);
    color: var(--industry-white);
    font-weight: 800;
}

.industry-page .industry-matrix-row strong {
    color: var(--industry-red-dark);
}

.industry-page .industry-deliverables {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.industry-page .industry-deliverable {
    position: relative;
    padding: 30px 30px 30px 76px;
    border: 1px solid rgba(255,255,255,.14);
    background: var(--industry-ink-soft);
}

.industry-page .industry-deliverable::before {
    content: attr(data-step);
    position: absolute;
    top: 30px;
    left: 28px;
    color: var(--industry-red);
    font-size: 13px;
    font-weight: 900;
}

.industry-page .industry-deliverable h3 {
    margin: 0;
    color: var(--industry-white);
    font-size: 19px;
}

.industry-page .industry-deliverable p {
    margin: 11px 0 0;
    color: rgba(255,255,255,.62);
    font-size: 14px;
    line-height: 1.6;
}

.industry-page .industry-roadmap {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--industry-line);
    border-bottom: 1px solid var(--industry-line);
}

.industry-page .industry-roadmap article {
    position: relative;
    padding: 42px 34px;
    border-left: 1px solid var(--industry-line);
}

.industry-page .industry-roadmap article:first-child {
    border-left: 0;
}

.industry-page .industry-roadmap-time {
    display: inline-block;
    margin-bottom: 50px;
    color: var(--industry-red);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.industry-page .industry-roadmap h3 {
    margin: 0;
    color: var(--industry-ink);
    font-size: 23px;
    line-height: 1.25;
}

.industry-page .industry-roadmap ul {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.industry-page .industry-roadmap li {
    position: relative;
    margin-top: 11px;
    padding-left: 18px;
    color: var(--industry-muted);
    font-size: 14px;
    line-height: 1.5;
}

.industry-page .industry-roadmap li::before {
    content: "";
    position: absolute;
    top: .65em;
    left: 0;
    width: 7px;
    height: 2px;
    background: var(--industry-red);
}

.industry-page .industry-projects {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.industry-page .industry-project {
    position: relative;
    min-height: 270px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    background: #171b23;
    color: var(--industry-white);
    text-decoration: none;
}

.industry-page .industry-project::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 0%, rgba(8,10,14,.9) 84%),
        repeating-linear-gradient(135deg, rgba(255,255,255,.045) 0 1px, transparent 1px 18px);
}

.industry-page .industry-project > * {
    position: relative;
    z-index: 1;
}

.industry-page .industry-project-label {
    margin-bottom: auto;
    color: var(--industry-red);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.industry-page .industry-project h3 {
    margin: 0;
    color: var(--industry-white);
    font-size: clamp(23px, 2vw, 31px);
    line-height: 1.05;
}

.industry-page .industry-project p {
    max-width: 530px;
    margin: 15px 0 0;
    color: rgba(255,255,255,.64);
    font-size: 14px;
    line-height: 1.55;
}

.industry-page .industry-project-domain {
    margin-top: 16px;
    color: rgba(255,255,255,.82);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .05em;
}

.industry-page .industry-project:hover,
.industry-page .industry-project:focus-visible {
    color: var(--industry-white);
    box-shadow: inset 0 0 0 2px var(--industry-red);
}

.industry-page .industry-evidence-note {
    margin: 20px 0 0;
    padding: 18px 20px;
    border-left: 3px solid var(--industry-red);
    background: rgba(237,36,28,.08);
    color: var(--industry-muted);
    font-size: 14px;
    line-height: 1.6;
}

.industry-page .industry-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid rgba(255,255,255,.14);
}

.industry-page .industry-kpi {
    min-height: 180px;
    padding: 28px;
    border-left: 1px solid rgba(255,255,255,.14);
}

.industry-page .industry-kpi:first-child {
    border-left: 0;
}

.industry-page .industry-kpi strong {
    display: block;
    color: var(--industry-red);
    font-size: 18px;
}

.industry-page .industry-kpi span {
    display: block;
    margin-top: 38px;
    color: var(--industry-white);
    font-size: 16px;
    line-height: 1.45;
}

.industry-page .industry-price-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.industry-page .industry-price-card {
    padding: 30px;
    border: 1px solid var(--industry-line);
    background: var(--industry-white);
}

.industry-page .industry-price-card h3 {
    margin: 0;
    color: var(--industry-ink);
    font-size: 20px;
}

.industry-page .industry-price-card p {
    margin: 14px 0 0;
    color: var(--industry-muted);
    font-size: 14px;
    line-height: 1.6;
}

.industry-page .industry-price-card strong {
    display: block;
    margin-top: 30px;
    color: var(--industry-red-dark);
    font-size: 15px;
}

.industry-page .industry-faq {
    display: grid;
    grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr);
    gap: 70px;
}

.industry-page .industry-faq-title h2 {
    margin: 0;
    color: var(--industry-ink);
    font-size: clamp(36px, 4.5vw, 62px);
    line-height: 1;
    letter-spacing: -.05em;
}

.industry-page .industry-faq-title p {
    margin: 20px 0 0;
    color: var(--industry-muted);
    font-size: 15px;
    line-height: 1.65;
}

.industry-page .industry-faq-list {
    border-top: 1px solid var(--industry-line);
}

.industry-page .industry-faq-list details {
    border-bottom: 1px solid var(--industry-line);
}

.industry-page .industry-faq-list summary {
    position: relative;
    padding: 24px 48px 24px 0;
    color: var(--industry-ink);
    font-size: 17px;
    line-height: 1.4;
    font-weight: 800;
    list-style: none;
    cursor: pointer;
}

.industry-page .industry-faq-list summary::-webkit-details-marker {
    display: none;
}

.industry-page .industry-faq-list summary::after {
    content: "+";
    position: absolute;
    top: 20px;
    right: 0;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    background: var(--industry-ink);
    color: var(--industry-white);
    font-size: 20px;
    line-height: 1;
}

.industry-page .industry-faq-list details[open] summary::after {
    content: "−";
    background: var(--industry-red);
}

.industry-page .industry-faq-list details p {
    max-width: 740px;
    margin: -4px 48px 24px 0;
    color: var(--industry-muted);
    font-size: 14px;
    line-height: 1.7;
}

.industry-page .industry-final {
    position: relative;
    padding: 110px 0;
    overflow: hidden;
    background: var(--industry-red);
    color: var(--industry-white);
}

.industry-page .industry-final::after {
    content: "SEO";
    position: absolute;
    right: -30px;
    bottom: -90px;
    color: rgba(255,255,255,.1);
    font-size: clamp(180px, 30vw, 480px);
    font-weight: 900;
    line-height: .8;
    letter-spacing: -.08em;
}

.industry-page .industry-final-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 52px;
    align-items: end;
}

.industry-page .industry-final h2 {
    max-width: 850px;
    margin: 0;
    color: var(--industry-white);
    font-size: clamp(42px, 5.5vw, 78px);
    line-height: .98;
    letter-spacing: -.055em;
}

.industry-page .industry-final p {
    max-width: 720px;
    margin: 22px 0 0;
    color: rgba(255,255,255,.8);
    font-size: 17px;
    line-height: 1.6;
}

.industry-page .industry-final .industry-button {
    min-width: 260px;
    border-color: var(--industry-white);
    background: var(--industry-white);
    color: var(--industry-red-dark);
}

.industry-page .industry-final .industry-button:hover,
.industry-page .industry-final .industry-button:focus-visible {
    background: var(--industry-ink);
    border-color: var(--industry-ink);
    color: var(--industry-white);
}

.industry-page .industry-related {
    padding: 34px 0;
    background: #080a0d;
}

.industry-page .industry-related-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.industry-page .industry-related-list a {
    color: rgba(255,255,255,.7);
    font-size: 13px;
    text-decoration: none;
}

.industry-page .industry-related-list a:hover,
.industry-page .industry-related-list a:focus-visible {
    color: var(--industry-white);
}

.portfolio-related-service {
    margin: 44px 0 10px;
    padding: 24px 28px;
    border-left: 4px solid #ed241c;
    background: #f4f1eb;
}

.portfolio-related-service strong {
    display: block;
    margin-bottom: 8px;
    font-size: 20px;
}

.portfolio-related-service a {
    color: #bd1712;
    font-weight: 700;
}

/* Reuse the portfolio component from /razrabotka-sajtov/ without changing its markup. */
@media (max-width: 1060px) {
    .industry-page .pf-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .industry-page .pf-wide {
        grid-column: span 2;
    }

    .industry-page .pf-img-wrap {
        height: 200px;
    }

    .industry-page .pf-wide .pf-img-wrap {
        height: 260px;
    }
}

@media (max-width: 980px) {
    .industry-page .industry-hero-grid,
    .industry-page .industry-section-head,
    .industry-page .industry-faq,
    .industry-page .industry-final-grid {
        grid-template-columns: 1fr;
    }

    .industry-page .industry-hero-grid {
        gap: 52px;
        padding-top: 78px;
    }

    .industry-page .industry-blueprint {
        max-width: 680px;
    }

    .industry-page .industry-section-head {
        gap: 22px;
    }

    .industry-page .industry-card-grid,
    .industry-page .industry-price-grid,
    .industry-page .industry-projects {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .industry-page .industry-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .industry-page .industry-kpi:nth-child(3) {
        border-left: 0;
        border-top: 1px solid rgba(255,255,255,.14);
    }

    .industry-page .industry-kpi:nth-child(4) {
        border-top: 1px solid rgba(255,255,255,.14);
    }

    .industry-page .industry-final-grid {
        align-items: start;
    }
}

@media (max-width: 720px) {
    .industry-page .pf-grid {
        grid-template-columns: 1fr;
    }

    .industry-page .pf-wide {
        grid-column: span 1;
    }

    .industry-page .pf-wide .pf-img-wrap {
        height: 220px;
    }

    .industry-page .pf-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 0 14px;
    }

    .industry-page .industry-shell {
        width: min(100% - 28px, 1180px);
    }

    .industry-page .industry-hero {
        min-height: auto;
    }

    .industry-page .industry-hero-grid {
        grid-template-columns: minmax(0, 1fr);
        padding: 58px 0 72px;
    }

    .industry-page .industry-hero h1 {
        font-size: clamp(38px, 12vw, 58px);
    }

    .industry-page .industry-actions {
        flex-direction: column;
    }

    .industry-page .industry-button {
        width: 100%;
    }

    .industry-page .industry-blueprint {
        padding: 22px;
        box-shadow: 12px 12px 0 rgba(237,36,28,.13);
    }

    .industry-page .industry-signal-strip .industry-shell,
    .industry-page .industry-card-grid,
    .industry-page .industry-deliverables,
    .industry-page .industry-roadmap,
    .industry-page .industry-projects,
    .industry-page .industry-kpi-grid,
    .industry-page .industry-price-grid {
        grid-template-columns: 1fr;
    }

    .industry-page .industry-signal {
        border-right: 1px solid rgba(255,255,255,.23);
        border-bottom: 1px solid rgba(255,255,255,.23);
    }

    .industry-page .industry-signal:last-child {
        border-bottom: 0;
    }

    .industry-page .industry-section {
        padding: 72px 0;
    }

    .industry-page .industry-card {
        min-height: auto;
    }

    .industry-page .industry-card-num {
        margin-bottom: 28px;
    }

    .industry-page .industry-matrix {
        overflow-x: auto;
    }

    .industry-page .industry-matrix-row {
        min-width: 760px;
    }

    .industry-page .industry-roadmap article,
    .industry-page .industry-roadmap article:first-child {
        border-left: 0;
        border-top: 1px solid var(--industry-line);
    }

    .industry-page .industry-roadmap article:first-child {
        border-top: 0;
    }

    .industry-page .industry-roadmap-time {
        margin-bottom: 28px;
    }

    .industry-page .industry-kpi,
    .industry-page .industry-kpi:nth-child(2),
    .industry-page .industry-kpi:nth-child(3),
    .industry-page .industry-kpi:nth-child(4) {
        border-left: 0;
        border-top: 1px solid rgba(255,255,255,.14);
    }

    .industry-page .industry-kpi:first-child {
        border-top: 0;
    }

    .industry-page .industry-faq {
        gap: 36px;
    }

    .industry-page .industry-final {
        padding: 82px 0;
    }

    .industry-page .industry-final .industry-button {
        min-width: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .industry-page *,
    .industry-page *::before,
    .industry-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
