:root {
    --red: #ef1118;
    --red2: #b80d19;
    --ink: #111726;
    --muted: #687184;
    --line: #eceef3;
    --soft: #fff8f8;
    --navy: #090f20;
    --shadow: 0 22px 60px rgba(93, 18, 27, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--ink);
    background: #fff;
}

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

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(1180px, calc(100% - 44px));
    margin: auto;
}

/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    height: 108px;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(236, 238, 243, 0.8);
    backdrop-filter: blur(16px);
}

.nav-wrap {
    display: flex;
    align-items: center;
    gap: 34px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.brand-mark {
    color: var(--red);
    font-size: 28px;
    transform: rotate(45deg);
}

.main-nav {
    display: flex;
    gap: 30px;
    margin-left: auto;
    font-size: 13px;
    font-weight: 600;
}

.main-nav a {
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: var(--red);
}

/* BUTTONS */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 22px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #ff1818, var(--red2));
    box-shadow: 0 10px 24px rgba(239, 17, 24, 0.22);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 32px rgba(239, 17, 24, 0.3);
}

.btn-outline {
    background: #fff;
    border: 1px solid #d8aeb1;
}

.btn-outline:hover {
    color: var(--red);
    border-color: var(--red);
    transform: translateY(-2px);
}

.btn-small {
    padding: 13px 18px;
    font-size: 10px;
}

/* HERO */

.hero {
    position: relative;
    overflow: hidden;
    padding: 55px 0 45px;
    background:
        radial-gradient(circle at 78% 48%,
            rgba(239, 17, 24, 0.07),
            transparent 33%),
        linear-gradient(180deg, #fff 0%, #fff 75%, #fffafa 100%);
}

.hero::before {
    content: "";
    position: absolute;
    top: -180px;
    right: -130px;
    width: 650px;
    height: 650px;
    border: 1px solid rgba(239, 17, 24, 0.045);
    border-radius: 50%;
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(420px, 0.88fr) minmax(540px, 1.12fr);
    gap: 28px;
    min-height: 520px;
}

.hero-copy {
    position: relative;
    z-index: 6;
}

.eyebrow {
    color: var(--red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 650px;
    margin: 18px 0;
    font-size: clamp(43px, 4.5vw, 62px);
    line-height: 1.06;
    letter-spacing: -2.7px;
}

.hero h1 em {
    color: var(--red);
    font-style: normal;
}

.hero p {
    max-width: 540px;
    margin: 0;
    color: #3f4757;
    font-size: 16px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 28px;
}

/* GRAFIKA HERO */

.hero-visual {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

/* Duże delikatne koło za grafiką */

.hero-visual::before {
    content: "";
    position: absolute;
    z-index: -3;
    width: 540px;
    height: 540px;
    border: 52px solid rgba(239, 17, 24, 0.025);
    border-radius: 50%;
}

/* Czerwona poświata */

.hero-visual::after {
    content: "";
    position: absolute;
    z-index: -4;
    width: 470px;
    height: 470px;
    background: rgba(239, 17, 24, 0.07);
    border-radius: 50%;
    filter: blur(80px);
}

/* Grafika images/cyber.png */

.hero-visual img {
    position: relative;
    z-index: 3;
    width: 118%;
    max-width: 760px;
    height: auto;
    margin-right: -70px;
    object-fit: contain;
    object-position: center;

    /*
   * Grafika ma białe tło, dlatego multiply pozwala
   * wtopić je w białe tło strony bez prostokątnej ramki.
   */
    mix-blend-mode: multiply;

  
}

/* Dodatkowe pierścienie pod grafiką */

.rings {
    position: absolute;
    z-index: -1;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(239, 17, 24, 0.09);
    border-radius: 50%;
    pointer-events: none;
}

.rings::before,
.rings::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(239, 17, 24, 0.065);
    border-radius: inherit;
}

.rings::before {
    inset: 9%;
}

.rings::after {
    inset: 19%;
}

/*
 * Klasy pozostawione na wypadek używania starych
 * dodatkowych kafelków. Przy grafice cyber.png nie są potrzebne.
 */

.float {
    display: none;
}

/* BENEFITS */

.benefit-strip {
    background: linear-gradient(90deg, #fff, #fffafa);
    border-top: 1px solid #f2e9ea;
    border-bottom: 1px solid #f2e9ea;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.benefit-grid article {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px 20px;
}

.benefit-grid article>span,
.card-icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    color: var(--red);
    background: #fff1f2;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 800;
}

.benefit-grid strong {
    display: block;
    font-size: 14px;
}

.benefit-grid small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
}

/* SERVICES */

.section {
    padding: 66px 0 45px;
}

.section-head {
    margin-bottom: 32px;
    text-align: center;
}

.section-head h2 {
    margin: 0 0 12px;
    font-size: 27px;
}

.section-head p {
    color: var(--muted);
    font-size: 13px;
}

.cards {
    display: grid;
    gap: 15px;
}

.cards.five {
    grid-template-columns: repeat(5, 1fr);
}

.card {
    min-height: 225px;
    padding: 24px 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 15px;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.card:hover {
    border-color: #f2c9cc;
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.card h3 {
    margin: 20px 0 12px;
    font-size: 15xpx;
}

.card p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.75;
}

/* WHY */

.why {
    padding: 8px 0 45px;
}

.why-grid {
    display: grid;
    grid-template-columns: 1.55fr 0.75fr;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.why-dark {
    padding: 30px;
    color: #fff;
    background: radial-gradient(circle at 75% 20%, #20263b, #080e20 62%);
}

.why-dark h2,
.why-cta h2 {
    margin: 0 0 24px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stats article {
    padding: 6px 15px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.stats article:last-child {
    border: 0;
}

.stats span {
    color: var(--red);
    font-size: 22px;
}

.stats strong {
    display: block;
    margin: 9px 0;
    font-size: 24px;
}

.stats small {
    color: #c7cede;
    font-size: 13px;
}

.why-cta {
    padding: 31px;
    color: #fff;
    background: linear-gradient(135deg, #ef1118, #8b0b19);
}

.why-cta h2 {
    font-size: 24px;
}

.why-cta p {
    color: #ffe8e9;
    font-size: 14px;
    line-height: 1.7;
}

.btn-light {
    margin-top: 8px;
    color: #a50f18;
    background: #fff;
}

/* TRUSTED */

.trusted {
    padding: 5px 0 55px;
    text-align: center;
}

.trusted h2 {
    margin-bottom: 27px;
    font-size: 20px;
}

.logo-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    align-items: center;
    gap: 28px;
    color: #7f8999;
    font-size: 18px;
    font-weight: 800;
}

/* CONTACT */

.contact {
    padding: 0 0 65px;
}

.contact-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 34px 40px;
    background: var(--soft);
    border: 1px solid #f1dfe1;
    border-radius: 18px;
}

.contact h2 {
    margin: 9px 0;
    font-size: 28px;
}

.contact p {
    color: var(--muted);
    font-size: 13px;
}

/* FOOTER */

footer {
    padding: 24px 0;
    color: #aab1c1;
    background: #080e20;
    font-size: 12px;
}

/* TABLETY */

@media (max-width: 1100px) {
    .hero-grid {
        grid-template-columns: minmax(380px, 0.9fr) minmax(440px, 1.1fr);
        gap: 10px;
    }

    .hero h1 {
        font-size: 51px;
    }

    .hero-visual img {
        width: 112%;
        max-width: 660px;
        margin-right: -45px;
    }

    .hero-visual::before {
        width: 470px;
        height: 470px;
    }

    .rings {
        width: 440px;
        height: 440px;
    }
}

@media (max-width: 1000px) {
    .main-nav {
        display: none;
    }

    .hero {
        padding-top: 54px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-copy {
        max-width: 720px;
    }

    .hero-visual {
        min-height: 520px;
    }

    .hero-visual img {
        width: 100%;
        max-width: 760px;
        margin-right: 0;
    }

    .cards.five {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .why-grid {
        grid-template-columns: 1fr;
    }

    .logo-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* TELEFONY */

@media (max-width: 600px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .site-header {
        height: 68px;
    }

    .site-header .btn-small {
        display: none;
    }

    .nav-wrap {
        gap: 16px;
    }

    .brand {
        font-size: 20px;
    }

    .hero {
        padding: 42px 0 30px;
    }

    .hero-grid {
        min-height: auto;
        gap: 18px;
    }

    .hero-copy {
        text-align: left;
    }

    .hero h1 {
        margin: 15px 0;
        font-size: 39px;
        line-height: 1.08;
        letter-spacing: -1.8px;
    }

    .hero p {
        font-size: 15px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-visual {
        min-height: 330px;
        margin-top: 12px;
    }

    .hero-visual img {
        width: 116%;
        max-width: none;
        margin-right: -8%;
        margin-left: -8%;
    }

    .hero-visual::before {
        width: 310px;
        height: 310px;
        border-width: 28px;
    }

    .hero-visual::after {
        width: 280px;
        height: 280px;
        filter: blur(55px);
    }

    .rings {
        width: 300px;
        height: 300px;
    }

    .cards.five,
    .benefit-grid,
    .stats {
        grid-template-columns: 1fr;
    }

    .benefit-grid article {
        padding: 18px 8px;
    }

    .stats article {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .stats article:last-child {
        border-bottom: 0;
    }

    .logo-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 24px;
    }
        .benefit-icon,
        .card-icon {
            display: grid;
            place-items: center;
            flex: 0 0 auto;
            width: 46px;
            height: 46px;
            color: var(--red);
            background: linear-gradient(145deg, #fff5f5, #ffe9eb);
            border: 1px solid rgba(239, 17, 24, 0.08);
            border-radius: 13px;
            box-shadow: 0 9px 22px rgba(159, 19, 29, 0.07);
        }
    
        .benefit-icon svg,
        .card-icon svg {
            width: 21px;
            height: 21px;
            stroke-width: 1.9;
        }
    
        .card-icon {
            width: 50px;
            height: 50px;
            border-radius: 14px;
            transition:
                color 0.22s ease,
                background 0.22s ease,
                transform 0.22s ease;
        }
    
        .card:hover .card-icon {
            color: #fff;
            background: linear-gradient(135deg, #ff2026, #b80d19);
            transform: translateY(-3px) rotate(-3deg);
        }
    
        .card:hover .card-icon svg {
            stroke: #fff;
        }
    
        .stats span {
            display: grid;
            place-items: center;
            width: 42px;
            height: 42px;
            margin: 0 auto;
            color: var(--red);
            background: rgba(239, 17, 24, 0.1);
            border: 1px solid rgba(239, 17, 24, 0.18);
            border-radius: 12px;
        }
    
        .stats span svg {
            width: 21px;
            height: 21px;
            stroke-width: 1.8;
        }
    
        .section-head .eyebrow {
            display: block;
            margin-bottom: 10px;
        }
}