:root {
    --bg: #06080b;
    --text: #f6f8fb;
    --muted: #b8c2cf;
    --accent: #3ee7b6;
    --warning: #ffc857;
    --radius: 32px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 18% 16%, rgba(62, 231, 182, 0.12), transparent 30rem),
        radial-gradient(circle at 78% 10%, rgba(255, 200, 87, 0.09), transparent 32rem),
        var(--bg);
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    content: "";
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent);
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

body.modal-open {
    overflow: hidden;
}

.site-shell {
    min-height: 100vh;
    overflow: hidden;
}

.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: clamp(18px, 3vw, 42px);
    overflow: hidden;
    isolation: isolate;
}

.hero__panel {
    --mouse-x: 50%;
    --mouse-y: 50%;
    --reveal-size: 0px;
    position: absolute;
    inset: clamp(88px, 9vw, 118px) clamp(18px, 3vw, 46px) clamp(30px, 5vw, 70px);
    z-index: -2;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.08), transparent 42%),
        linear-gradient(180deg, #10151a, #040506 72%);
    box-shadow: 0 36px 110px rgba(0, 0, 0, 0.62);
}

.hero__panel::after {
    position: absolute;
    inset: 0;
    pointer-events: none;
    content: "";
    background:
        radial-gradient(circle at var(--mouse-x) var(--mouse-y), transparent 0 11rem, rgba(5, 7, 10, 0.1) 20rem),
        linear-gradient(90deg, rgba(5, 7, 10, 0.44), transparent 28%, transparent 72%, rgba(5, 7, 10, 0.32)),
        linear-gradient(0deg, rgba(5, 7, 10, 0.58), transparent 34%, rgba(5, 7, 10, 0.22));
}

.hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: translateX(7%) scale(1.08);
    transform-origin: right center;
}

.hero__image--closed {
    object-fit: contain;
    object-position: right center;
    filter: saturate(0.92) brightness(0.86) contrast(1.02);
}

.hero__image--open {
    background-image: url("../panoacik.png");
    background-position: right center;
    background-repeat: no-repeat;
    background-size: contain;
    filter: saturate(1.06) brightness(1.02) contrast(1.04);
    opacity: 0;
    transition: opacity 220ms ease;
    mask-image:
        radial-gradient(
            circle var(--reveal-size) at var(--mouse-x) var(--mouse-y),
            #000 0 52%,
            rgba(0, 0, 0, 0.82) 66%,
            rgba(0, 0, 0, 0.34) 82%,
            transparent 100%
        );
    -webkit-mask-image:
        radial-gradient(
            circle var(--reveal-size) at var(--mouse-x) var(--mouse-y),
            #000 0 52%,
            rgba(0, 0, 0, 0.82) 66%,
            rgba(0, 0, 0, 0.34) 82%,
            transparent 100%
        );
}

.hero__panel.is-active .hero__image--open {
    opacity: 1;
}

.hero__glow {
    position: absolute;
    width: calc(var(--reveal-size) * 1.8);
    height: calc(var(--reveal-size) * 1.8);
    pointer-events: none;
    background:
        radial-gradient(circle, rgba(255, 199, 87, 0.14), transparent 46%),
        radial-gradient(circle, rgba(62, 231, 182, 0.1), transparent 64%);
    border-radius: 999px;
    opacity: 0;
    transform: translate(-50%, -50%);
    left: var(--mouse-x);
    top: var(--mouse-y);
    mix-blend-mode: screen;
    transition: opacity 220ms ease;
}

.hero__panel.is-active .hero__glow {
    opacity: 1;
}

.spark {
    position: absolute;
    left: var(--spark-x);
    top: var(--spark-y);
    z-index: 2;
    width: calc(2px * var(--spark-scale));
    height: calc(14px * var(--spark-scale));
    pointer-events: none;
    background: linear-gradient(180deg, #fff7ca 0%, #ffbf38 42%, #ff6b1a 74%, transparent 100%);
    border-radius: 999px;
    box-shadow:
        0 0 8px rgba(255, 195, 56, 0.95),
        0 0 18px rgba(255, 100, 26, 0.48);
    opacity: 0;
    transform: translate(-50%, -50%) rotate(var(--spark-rotate));
    animation: sparkFly var(--spark-duration) cubic-bezier(0.15, 0.65, 0.25, 1) forwards;
}

@keyframes sparkFly {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(var(--spark-rotate)) scaleY(0.25);
    }

    12% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform:
            translate(
                calc(-50% + var(--spark-dx)),
                calc(-50% + var(--spark-dy))
            )
            rotate(var(--spark-rotate))
            scaleY(0.15);
    }
}

.hero__content {
    width: min(590px, 100%);
    margin-top: auto;
    padding: clamp(24px, 4vw, 46px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(5, 7, 10, 0.78), rgba(5, 7, 10, 0.46));
    box-shadow: 0 24px 74px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(20px);
}

.hero__eyebrow {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    margin: 0 0 18px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: var(--accent);
    text-transform: uppercase;
}

.hero__eyebrow::before {
    width: 34px;
    height: 2px;
    content: "";
    background: currentColor;
    border-radius: 999px;
}

.hero h1 {
    max-width: 560px;
    margin: 0;
    font-size: clamp(2.4rem, 5vw, 5.25rem);
    line-height: 0.95;
    letter-spacing: -0.065em;
}

.hero__lead {
    max-width: 620px;
    margin: 26px 0 0;
    font-size: clamp(1rem, 1.5vw, 1.22rem);
    line-height: 1.75;
    color: var(--muted);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.hero__badges span {
    padding: 9px 12px;
    font-size: 0.78rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
}

.button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    font-weight: 800;
    border-radius: 999px;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button--primary {
    color: #05100d;
    background: linear-gradient(135deg, var(--accent), var(--warning));
}

.button--ghost {
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
}

.button--ghost:hover {
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.13);
}

.hero__hint {
    position: absolute;
    right: clamp(28px, 5vw, 72px);
    bottom: clamp(28px, 5vw, 72px);
    display: inline-flex;
    gap: 12px;
    align-items: center;
    max-width: 330px;
    padding: 14px 18px;
    font-size: 0.92rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(5, 7, 10, 0.58);
    backdrop-filter: blur(16px);
}

.hero__hint span {
    width: 10px;
    height: 10px;
    flex: 0 0 auto;
    background: var(--accent);
    border-radius: 999px;
    box-shadow: 0 0 0 8px rgba(62, 231, 182, 0.16);
}

.hero__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    margin-bottom: auto;
}

.brand {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    font-weight: 900;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.brand span {
    font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.brand small {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--muted);
}

.nav-cta {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding: 0 18px;
    font-size: 0.9rem;
    font-weight: 800;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
}

.nav-links {
    display: flex;
    gap: clamp(16px, 2.5vw, 34px);
    align-items: center;
    padding: 12px 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(5, 7, 10, 0.42);
    backdrop-filter: blur(16px);
}

.nav-links a {
    font-size: 0.88rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.76);
    transition: color 180ms ease;
}

.nav-links a:hover {
    color: var(--text);
}

.trust-bar,
.section,
.footer-grid,
.footer-bottom {
    width: min(1180px, calc(100% - 36px));
    margin-right: auto;
    margin-left: auto;
}

.trust-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.09);
}

.trust-bar div {
    padding: 24px;
    background: rgba(9, 13, 17, 0.84);
}

.trust-bar strong,
.trust-bar span {
    display: block;
}

.trust-bar strong {
    margin-bottom: 8px;
    font-size: 1rem;
}

.trust-bar span {
    color: var(--muted);
    line-height: 1.55;
}

.section {
    padding: clamp(72px, 9vw, 124px) 0 0;
}

.section__heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.section__heading--center {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.section__eyebrow {
    margin: 0 0 14px;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    color: var(--accent);
    text-transform: uppercase;
}

.section h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1;
    letter-spacing: -0.055em;
}

.section__heading p:not(.section__eyebrow),
.solution-card p,
.contact-card p,
.quality-list p {
    color: var(--muted);
    font-size: 1.03rem;
    line-height: 1.75;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.service-card,
.process-card,
.solution-card,
.contact-card,
.reference-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
        rgba(9, 13, 17, 0.76);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.service-card::before,
.process-card::before,
.solution-card::before,
.contact-card::before,
.reference-card::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
    content: "";
    background: radial-gradient(circle at 18% 0%, rgba(62, 231, 182, 0.14), transparent 34rem);
}

.service-card {
    padding: 26px;
}

.service-card h3,
.process-card h3 {
    position: relative;
    margin: 0;
    font-size: 1.12rem;
    line-height: 1.25;
}

.service-card p,
.process-card p {
    position: relative;
    color: var(--muted);
    line-height: 1.65;
}

.service-card ul {
    position: relative;
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 22px 0 0;
    list-style: none;
}

.service-card li {
    display: flex;
    gap: 10px;
    align-items: center;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
}

.service-card li::before {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    content: "";
    background: var(--warning);
    border-radius: 999px;
    box-shadow: 0 0 16px rgba(255, 200, 87, 0.5);
}

.section--split {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 18px;
    align-items: stretch;
}

.solution-card {
    padding: clamp(28px, 4vw, 48px);
}

.solution-card h2 {
    position: relative;
}

.solution-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.sector-card {
    position: relative;
    display: grid;
    gap: 14px;
    min-height: 238px;
    padding: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 24px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
        rgba(9, 13, 17, 0.76);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.sector-card::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
    content: "";
    background: radial-gradient(circle at 20% 0%, rgba(62, 231, 182, 0.13), transparent 18rem);
}

.sector-card img {
    position: relative;
    width: 100%;
    height: 112px;
    object-fit: cover;
    border-radius: 18px;
    filter: saturate(0.92) contrast(1.04) brightness(0.86);
}

.sector-card div,
.sector-card h3,
.sector-card p {
    position: relative;
}

.sector-card h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.25;
}

.sector-card p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.solution-button {
    position: relative;
    display: flex;
    min-height: 68px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 0 18px;
    box-sizing: border-box;
    color: rgba(255, 255, 255, 0.86);
    cursor: pointer;
    font: inherit;
    text-align: left;
    overflow: hidden;
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 20px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.028)),
        rgba(9, 13, 17, 0.82);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.solution-list .solution-button {
    color: rgba(255, 255, 255, 0.86) !important;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.028)),
        rgba(9, 13, 17, 0.82) !important;
}

.solution-button::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
    content: "";
    background: radial-gradient(circle at 20% 0%, rgba(62, 231, 182, 0.12), transparent 22rem);
    opacity: 0;
    transition: opacity 180ms ease;
}

.solution-button:hover {
    border-color: rgba(62, 231, 182, 0.42);
    background:
        linear-gradient(145deg, rgba(62, 231, 182, 0.1), rgba(255, 255, 255, 0.035)),
        rgba(9, 13, 17, 0.9);
    transform: translateY(-2px);
}

.solution-button:hover::before {
    opacity: 1;
}

.solution-button span,
.solution-button small {
    position: relative;
}

.solution-button span {
    font-weight: 900;
}

.solution-button small {
    flex: 0 0 auto;
    padding: 7px 9px;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    color: #06100d;
    text-transform: uppercase;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--warning));
}

.sector-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.process-card {
    padding: 28px;
}

.process-card > span {
    position: relative;
    display: inline-flex;
    margin-bottom: 28px;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    color: var(--warning);
}

.quality-section {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 34px;
    align-items: start;
}

.quality-list {
    display: grid;
    gap: 14px;
}

.quality-list p {
    margin: 0;
    padding: 22px;
    border-left: 2px solid var(--accent);
    border-radius: 0 18px 18px 0;
    background: rgba(255, 255, 255, 0.055);
}

.references-section {
    position: relative;
}

.reference-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.reference-card {
    min-height: 260px;
    padding: 14px 14px 26px;
}

.reference-card img,
.reference-card span,
.reference-card strong,
.reference-card h3,
.reference-card p,
.reference-card ul {
    position: relative;
}

.reference-card img {
    display: block;
    width: 100%;
    height: 132px;
    object-fit: cover;
    margin-bottom: 18px;
    border-radius: 18px;
    filter: saturate(0.92) contrast(1.04) brightness(0.86);
}

.reference-card span {
    display: inline-flex;
    margin-bottom: 22px;
    padding: 8px 11px;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    color: #06100d;
    text-transform: uppercase;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--warning));
}

.reference-card h3 {
    margin: 0;
    font-size: 1.22rem;
    line-height: 1.25;
}

.reference-card strong {
    display: block;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.86rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.reference-card p {
    margin: 18px 0 0;
    color: var(--muted);
    line-height: 1.65;
}

.reference-card ul {
    display: grid;
    gap: 8px;
    padding: 0;
    margin: 20px 0 0;
    list-style: none;
}

.reference-card li {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.9rem;
    line-height: 1.45;
}

.reference-card li::before {
    width: 7px;
    height: 7px;
    margin-top: 7px;
    flex: 0 0 auto;
    content: "";
    background: var(--warning);
    border-radius: 999px;
    box-shadow: 0 0 16px rgba(255, 200, 87, 0.5);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    align-items: start;
}

.faq-item {
    align-self: start;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 22px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
        rgba(9, 13, 17, 0.78);
    overflow: hidden;
    transition: border-color 180ms ease, background 180ms ease;
}

.faq-question {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
    padding: 22px;
    color: var(--text);
    text-align: left;
    border: 0;
    background: transparent;
    font-weight: 900;
    line-height: 1.4;
}

.faq-question::after {
    flex: 0 0 auto;
    content: "+";
    color: var(--accent);
    font-size: 1.25rem;
    transition: transform 220ms ease;
}

.faq-item.is-open {
    border-color: rgba(62, 231, 182, 0.34);
    background:
        linear-gradient(145deg, rgba(62, 231, 182, 0.09), rgba(255, 255, 255, 0.025)),
        rgba(9, 13, 17, 0.84);
}

.faq-item.is-open .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 280ms ease;
}

.faq-answer p {
    margin: 0;
    padding: 0 22px 22px;
    color: var(--muted);
    line-height: 1.65;
}

.contact-section {
    padding-bottom: clamp(72px, 9vw, 124px);
}

.contact-card {
    padding: clamp(32px, 5vw, 62px);
    text-align: center;
}

.contact-card h2,
.contact-card p,
.contact-actions,
.contact-card .section__eyebrow {
    position: relative;
}

.contact-card p {
    max-width: 680px;
    margin: 22px auto 0;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-top: 32px;
}

.site-footer {
    position: relative;
    padding: clamp(52px, 7vw, 86px) 0 24px;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background:
        radial-gradient(circle at 18% 0%, rgba(62, 231, 182, 0.12), transparent 32rem),
        linear-gradient(180deg, rgba(5, 7, 10, 0), rgba(3, 5, 7, 0.96) 30%);
}

.site-footer::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
    content: "";
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
}

.footer-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: clamp(24px, 4vw, 54px);
    padding: clamp(28px, 4vw, 42px);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 30px;
    background: rgba(9, 13, 17, 0.68);
    backdrop-filter: blur(18px);
}

.footer-brand p {
    max-width: 360px;
    margin: 24px 0 0;
    color: var(--muted);
    line-height: 1.7;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column h2 {
    margin: 0 0 10px;
    font-size: 0.86rem;
    letter-spacing: 0.14em;
    color: var(--accent);
    text-transform: uppercase;
}

.footer-column a,
.footer-column span {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.55;
    transition: color 180ms ease, transform 180ms ease;
}

.footer-column a:hover {
    color: var(--text);
    transform: translateX(3px);
}

.footer-contact a:first-of-type {
    font-size: 1.08rem;
    font-weight: 900;
    color: var(--text);
}

.footer-bottom {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 20px;
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.88rem;
}

.solution-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 20px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 180ms ease;
}

.solution-modal[hidden] {
    display: none;
}

.solution-modal.is-open {
    pointer-events: auto;
    opacity: 1;
}

.solution-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(1, 3, 5, 0.72);
    backdrop-filter: blur(14px);
}

.solution-modal__dialog {
    position: relative;
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
    width: min(980px, 100%);
    max-height: min(720px, calc(100vh - 40px));
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 30px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
        rgba(7, 11, 15, 0.96);
    box-shadow: 0 36px 120px rgba(0, 0, 0, 0.58);
    transform: translateY(12px) scale(0.98);
    transition: transform 180ms ease;
}

.solution-modal.is-open .solution-modal__dialog {
    transform: translateY(0) scale(1);
}

.solution-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    display: grid;
    width: 42px;
    height: 42px;
    padding: 0;
    color: var(--text);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    place-items: center;
    transition: background 180ms ease, transform 180ms ease;
}

.solution-modal__close:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: rotate(90deg);
}

.solution-modal__visual {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
    justify-content: center;
    min-height: 430px;
    padding: 28px;
    background:
        radial-gradient(circle at 50% 40%, rgba(62, 231, 182, 0.12), transparent 28rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
}

.solution-modal__image {
    display: block;
    width: min(350px, 100%);
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
    filter: saturate(0.94) contrast(1.04) brightness(0.88);
}

.solution-modal__image + .technical-visual {
    display: none;
}

.technical-visual {
    position: relative;
    display: grid;
    width: min(310px, 100%);
    aspect-ratio: 1;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 28px;
    background:
        radial-gradient(circle at 50% 42%, rgba(62, 231, 182, 0.16), transparent 12rem),
        rgba(255, 255, 255, 0.045);
    box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.22);
    overflow: hidden;
}

.technical-visual::before,
.technical-visual::after {
    position: absolute;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(62, 231, 182, 0.7), transparent);
}

.technical-visual::before {
    top: 50%;
    right: 18px;
    left: 18px;
    height: 1px;
}

.technical-visual::after {
    top: 18px;
    bottom: 18px;
    left: 50%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(255, 200, 87, 0.68), transparent);
}

.technical-visual span {
    position: relative;
    z-index: 1;
    min-height: 68px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04)),
        rgba(8, 12, 16, 0.82);
}

.technical-visual span:nth-child(2),
.technical-visual span:nth-child(5) {
    box-shadow: 0 0 28px rgba(62, 231, 182, 0.18);
}

.technical-visual span:nth-child(3),
.technical-visual span:nth-child(4) {
    box-shadow: 0 0 28px rgba(255, 200, 87, 0.16);
}

.technical-visual--medium-voltage span,
.technical-visual--high-voltage span,
.technical-visual--mcc span,
.technical-visual--compensation span,
.technical-visual--plc span,
.technical-visual--scada span,
.technical-visual--solar span,
.technical-visual--engineering span,
.technical-visual--machine span,
.technical-visual--modernization span {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
        rgba(8, 12, 16, 0.82);
}

.technical-visual--medium-voltage {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
}

.technical-visual--medium-voltage span {
    min-height: 100%;
}

.technical-visual--medium-voltage span::after,
.technical-visual--high-voltage span::after,
.technical-visual--mcc span::after,
.technical-visual--compensation span::after,
.technical-visual--plc span::after,
.technical-visual--scada span::after,
.technical-visual--solar span::after,
.technical-visual--engineering span::after,
.technical-visual--machine span::after,
.technical-visual--modernization span::after {
    position: absolute;
    content: "";
}

.technical-visual--medium-voltage span::after {
    inset: 18px 22px auto;
    height: 7px;
    border-radius: 999px;
    background: var(--warning);
    box-shadow: 0 32px 0 rgba(62, 231, 182, 0.74), 0 64px 0 rgba(255, 255, 255, 0.22);
}

.technical-visual--high-voltage {
    grid-template-columns: repeat(3, 1fr);
    align-items: end;
    background:
        linear-gradient(180deg, rgba(62, 231, 182, 0.08), transparent 48%),
        rgba(255, 255, 255, 0.045);
}

.technical-visual--high-voltage::before {
    top: 34%;
    right: 20px;
    left: 20px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 200, 87, 0.86), rgba(62, 231, 182, 0.86), transparent);
}

.technical-visual--high-voltage::after {
    top: 44%;
    right: 26px;
    left: 26px;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
}

.technical-visual--high-voltage span {
    min-height: 170px;
    clip-path: polygon(50% 0, 76% 100%, 24% 100%);
}

.technical-visual--high-voltage span:nth-child(n + 4) {
    min-height: 92px;
    opacity: 0.5;
}

.technical-visual--mcc {
    grid-template-columns: repeat(2, 1fr);
}

.technical-visual--mcc span::after {
    inset: 22px;
    border: 8px solid rgba(62, 231, 182, 0.62);
    border-radius: 999px;
    box-shadow: inset 0 0 0 10px rgba(255, 200, 87, 0.16);
}

.technical-visual--compensation {
    grid-template-columns: repeat(3, 1fr);
}

.technical-visual--compensation::before {
    top: 28%;
    right: 24px;
    left: 24px;
    height: 42px;
    border: solid rgba(62, 231, 182, 0.72);
    border-width: 2px 0 0;
    border-radius: 50%;
    background: transparent;
}

.technical-visual--compensation span::after {
    inset: 16px 26px;
    border-right: 3px solid rgba(255, 200, 87, 0.8);
    border-left: 3px solid rgba(255, 200, 87, 0.8);
}

.technical-visual--plc {
    grid-template-columns: 1.2fr repeat(2, 0.9fr);
}

.technical-visual--plc span::after {
    top: 14px;
    left: 14px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 22px 0 rgba(62, 231, 182, 0.72), 0 44px 0 rgba(255, 200, 87, 0.78);
}

.technical-visual--scada {
    grid-template-columns: 1.4fr 0.8fr;
}

.technical-visual--scada span:nth-child(1),
.technical-visual--scada span:nth-child(4) {
    grid-column: span 2;
}

.technical-visual--scada span::after {
    right: 16px;
    bottom: 16px;
    left: 16px;
    height: 34px;
    border-bottom: 2px solid rgba(62, 231, 182, 0.72);
    border-left: 2px solid rgba(255, 200, 87, 0.68);
    background: linear-gradient(135deg, transparent 44%, rgba(62, 231, 182, 0.22) 45% 56%, transparent 57%);
}

.technical-visual--solar {
    grid-template-columns: repeat(3, 1fr);
    transform-style: preserve-3d;
}

.technical-visual--solar::before {
    top: 22px;
    right: 28px;
    left: auto;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: radial-gradient(circle, var(--warning), rgba(255, 200, 87, 0.08) 68%);
}

.technical-visual--solar span {
    transform: skewY(-10deg);
}

.technical-visual--solar span::after {
    inset: 14px;
    background-image:
        linear-gradient(rgba(62, 231, 182, 0.42) 1px, transparent 1px),
        linear-gradient(90deg, rgba(62, 231, 182, 0.42) 1px, transparent 1px);
    background-size: 16px 16px;
}

.technical-visual--engineering {
    grid-template-columns: 1fr 1fr;
    background:
        linear-gradient(rgba(62, 231, 182, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(62, 231, 182, 0.08) 1px, transparent 1px),
        rgba(255, 255, 255, 0.045);
    background-size: 22px 22px;
}

.technical-visual--engineering span::after {
    inset: 18px;
    border-top: 2px solid rgba(62, 231, 182, 0.72);
    border-right: 2px solid rgba(255, 200, 87, 0.62);
    transform: rotate(-10deg);
}

.technical-visual--machine {
    grid-template-columns: repeat(3, 1fr);
    align-items: end;
}

.technical-visual--machine span:nth-child(1),
.technical-visual--machine span:nth-child(2),
.technical-visual--machine span:nth-child(3) {
    min-height: 44px;
}

.technical-visual--machine span::after {
    right: 18px;
    bottom: 18px;
    left: 18px;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--warning), var(--accent));
    box-shadow: 0 -34px 0 rgba(255, 255, 255, 0.18);
}

.technical-visual--modernization {
    grid-template-columns: 1fr 1fr;
}

.technical-visual--modernization span:nth-child(odd) {
    opacity: 0.58;
    filter: saturate(0.55);
}

.technical-visual--modernization span:nth-child(even) {
    border-color: rgba(62, 231, 182, 0.38);
    box-shadow: 0 0 28px rgba(62, 231, 182, 0.18);
}

.technical-visual--modernization span::after {
    inset: 18px;
    border-radius: 12px;
    background:
        linear-gradient(90deg, rgba(255, 200, 87, 0.65) 0 30%, transparent 30% 45%, rgba(62, 231, 182, 0.72) 45% 100%);
}

.solution-modal__visual-caption {
    max-width: 310px;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.55;
    text-align: center;
}

.solution-modal__content {
    padding: clamp(30px, 5vw, 54px);
    overflow: auto;
}

.solution-modal__content h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.solution-modal__content p:not(.section__eyebrow) {
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 1.04rem;
    line-height: 1.75;
}

.solution-modal__content ul {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 26px 0 30px;
    list-style: none;
}

.solution-modal__content li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.55;
}

.solution-modal__content li::before {
    width: 8px;
    height: 8px;
    margin-top: 8px;
    flex: 0 0 auto;
    content: "";
    background: var(--warning);
    border-radius: 999px;
    box-shadow: 0 0 16px rgba(255, 200, 87, 0.5);
}

@media (max-width: 1180px) {
    .hero {
        min-height: 780px;
    }

    .hero__panel {
        inset: 92px 22px 34px;
    }

    .hero__image {
        transform: translateX(11%) scale(1.03);
    }

    .hero__content {
        width: min(520px, 100%);
        padding: 30px;
    }

    .hero h1 {
        font-size: clamp(2.35rem, 5.4vw, 4.15rem);
        line-height: 1;
    }

    .hero__lead {
        margin-top: 20px;
        font-size: 1rem;
        line-height: 1.62;
    }

    .hero__badges {
        margin-top: 22px;
    }

    .hero__actions {
        margin-top: 26px;
    }
}

@media (max-width: 1180px) and (max-height: 760px) {
    .hero {
        min-height: 720px;
    }

    .hero__content {
        width: min(500px, 100%);
        padding: 26px;
    }

    .hero h1 {
        font-size: clamp(2.15rem, 4.6vw, 3.45rem);
    }

    .hero__lead {
        margin-top: 16px;
    }

    .hero__badges {
        gap: 8px;
        margin-top: 18px;
    }

    .hero__badges span {
        padding: 8px 10px;
        font-size: 0.72rem;
    }

    .hero__actions {
        margin-top: 22px;
    }
}

@media (max-width: 980px) {
    .hero {
        min-height: 720px;
    }

    .hero__nav {
        margin-bottom: 0;
    }

    .nav-links,
    .nav-cta {
        background: rgba(8, 12, 16, 0.94);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .hero__panel {
        inset: 92px 14px 28px;
    }

    .hero__panel::after {
        background:
            linear-gradient(90deg, rgba(5, 7, 10, 0.62), rgba(5, 7, 10, 0.14) 44%, rgba(5, 7, 10, 0.2)),
            linear-gradient(0deg, rgba(5, 7, 10, 0.44), transparent 40%, rgba(5, 7, 10, 0.18));
    }

    .hero__image {
        transform: translateX(15%) scale(0.96);
    }

    .hero__content {
        width: min(440px, 58vw);
        margin-top: clamp(70px, 10vh, 118px);
        margin-bottom: auto;
        padding: 24px;
        background: linear-gradient(135deg, rgba(8, 12, 16, 0.96), rgba(6, 9, 12, 0.9));
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .hero h1 {
        font-size: clamp(2.05rem, 5.4vw, 3.45rem);
        line-height: 1;
    }

    .hero__lead {
        margin-top: 16px;
        font-size: 0.95rem;
        line-height: 1.55;
    }

    .hero__badges {
        gap: 8px;
        margin-top: 18px;
    }

    .hero__badges span {
        padding: 8px 10px;
        font-size: 0.7rem;
    }

    .hero__actions {
        margin-top: 22px;
    }
}

@media (max-width: 820px) {
    .hero {
        min-height: auto;
        padding: 18px;
        overflow: visible;
    }

    .hero__panel {
        position: relative;
        inset: auto;
        z-index: 0;
        width: 100%;
        height: clamp(280px, 44vh, 430px);
        margin-top: 18px;
        border-radius: 26px;
    }

    .hero__image {
        transform: translateX(4%) scale(1);
    }

    .hero__panel::after {
        background:
            linear-gradient(0deg, rgba(5, 7, 10, 0.56), rgba(5, 7, 10, 0.08) 68%),
            linear-gradient(90deg, rgba(5, 7, 10, 0.14), rgba(5, 7, 10, 0.04));
    }

    .hero__content {
        width: 100%;
        margin-top: 16px;
        padding: 24px;
        border-radius: 24px;
        background: linear-gradient(135deg, rgba(8, 12, 16, 0.96), rgba(6, 9, 12, 0.92));
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
    }

    .hero h1 {
        font-size: clamp(2.15rem, 9vw, 3.45rem);
        letter-spacing: -0.055em;
    }

    .hero__lead {
        margin-top: 18px;
        line-height: 1.6;
    }

    .hero__badges {
        margin-top: 22px;
    }

    .hero__actions {
        margin-top: 26px;
    }

    .nav-cta {
        display: none;
    }

    .nav-links {
        display: none;
    }

    .trust-bar,
    .service-grid,
    .section--split,
    .sector-grid,
    .process-grid,
    .quality-section,
    .reference-grid,
    .faq-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .trust-bar,
    .section,
    .footer-grid,
    .footer-bottom {
        width: min(100% - 24px, 1180px);
    }

    .footer-grid {
        background: rgba(8, 12, 16, 0.96);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
    }

    .solution-list {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .solution-modal__dialog {
        grid-template-columns: 1fr;
        overflow: auto;
    }

    .solution-modal__visual {
        min-height: 230px;
    }
}

@media (max-width: 560px) {
    .hero {
        padding: 14px;
    }

    .hero__panel {
        height: clamp(230px, 38vh, 320px);
        margin-top: 14px;
        border-radius: 22px;
    }

    .hero__image {
        transform: translateX(1%) scale(0.96);
    }

    .hero__content {
        padding: 22px;
        border-radius: 22px;
        background: rgba(8, 12, 16, 0.96);
    }

    .hero__eyebrow {
        margin-bottom: 14px;
        font-size: 0.7rem;
        letter-spacing: 0.14em;
    }

    .hero h1 {
        font-size: clamp(2rem, 11vw, 2.75rem);
        line-height: 1.02;
    }

    .hero__lead {
        font-size: 0.95rem;
    }

    .hero__badges span {
        padding: 8px 10px;
        font-size: 0.7rem;
    }

    .hero__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .button {
        width: 100%;
    }
}

@media (pointer: coarse) {
    .hero__panel {
        --reveal-size: 96px;
        --mouse-x: 66%;
        --mouse-y: 42%;
    }

    .hero__image--open {
        opacity: 1;
    }
}
