/* =========================================
   Reset + zmienne
========================================= */

* {
    font-family: "Inter", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
:root {
    --grey: #393d40;
    --navy: #1C333D;
    --blue: #123f63;
    --green: #2F7C57;
    --white: #fff;
    --container-max: 1200px;
    --gap: 1rem;
    --nav-h: 72px;
    --card:#ffffff;
    --bg:#f7fafc;
    --stroke: rgba(15, 23, 42, 0.10);
    --shadow: 0 18px 40px rgba(16,24,40,.10);

}
body {
    background-color: var(--white);
    margin: 0;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }


body:not(.js-enabled):has(#services:target) .menu a[href="/#services"]::after,
body:not(.js-enabled):has(#process:target)  .menu a[href="/#process"]::after,
body:not(.js-enabled):has(#contact:target)  .menu a[href="/#contact"]::after {
    transform: scaleX(1);
}

/* =========================================
   Pasek nawigacji
========================================= */


.nav-line {
    position: sticky;
    top: 0;
    z-index: 1200;
    height: var(--nav-h);
    background: transparent;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 50px;
    transition: background .3s ease, box-shadow .3s ease;
    isolation: isolate;
}
.nav-line.scrolled {
    background: var(--white);
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.nav-line > .logo,
.nav-line > .menu {
    padding: 0 1rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.logo { height: 100%; display: flex; align-items: center; gap: var(--gap); }
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; height: 60px; }

.hamburger {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border: 1px solid var(--navy);
    border-radius: 12px;
    background: var(--white);
    color: var(--navy);
    cursor: pointer;
    position: relative;
    z-index: 1400;
}
.hamburger::before,
.hamburger::after,
.hamburger span {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform .3s ease, opacity .3s ease, top .3s ease, bottom .3s ease;
    will-change: transform, opacity;
}
.hamburger span { top: 50%; transform: translateY(-50%); }
.hamburger::before { top: 16px; }
.hamburger::after { bottom: 16px; }
.hamburger.active span { opacity: 0; }
.hamburger.active::before {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}
.hamburger.active::after {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

.menu-backdrop {
    position: fixed;
    inset: 0;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    background: rgba(0,0,0,.15);
    transition: opacity .3s ease;
    opacity: 0;
    z-index: 1100;
}
.menu-backdrop.show { opacity: 1; }
.menu-backdrop[hidden] { display: block; opacity: 0; pointer-events: none; }
body.no-scroll { overflow: hidden; }

.whatsapp{
    width: 200px;
    position: fixed;
    bottom: 5px;
    left: 10px;
    z-index: 99;
    transition:transform .25s;
}

.whatsapp:hover {
    transform: scale(1.05);
}

.portal-login{
    background-color: var(--blue);
    color: var(--white) !important;
    padding: 10px 35px;
    border-radius: 8px;
    border: 1px solid var(--blue);
    transition: opacity .3s ease;
}

.portal-login:hover{
    background-color: transparent;
    color: var(--blue) !important;
}

/* =========================================
   NAV: mobilne menu
========================================= */


.nav-line .menu {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    z-index: 1300;
    height: 100dvh;
    width: 65vw;
    background: var(--navy);
    color: var(--white);
    padding: 1rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .3s ease, visibility 0s linear .3s, opacity .3s;
    visibility: hidden;
    opacity: 0;
}
.nav-line .menu.open {
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
    transition: transform .3s ease, visibility 0s, opacity .3s;
}

.nav-line .menu ul {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    margin: 0;
    padding: 60px 0 0;
    list-style: none;
    justify-content: flex-start;
}

.nav-line .menu li { padding: 1rem 0; }

.nav-line .menu li > a {
    position: relative;
    display: inline-block;
    color: inherit;
    text-decoration: none;
}

.nav-line .menu li > a:not(.portal-login)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .25s ease;
}
.nav-line .menu li > a:not(.portal-login):hover::after,
.nav-line .menu li > a:not(.portal-login):focus-visible::after,
.nav-line .menu li > a:not(.portal-login)[aria-current="page"]::after{
    transform: scaleX(1);
}

@media (max-width: 767.98px) {
    .nav-line .menu li > a:not(.portal-login):hover::after,
    .nav-line .menu li > a:not(.portal-login):focus-visible::after,
    .nav-line .menu li > a:not(.portal-login)[aria-current="page"]::after{
        transform: scaleX(2);
    }
}

/* =========================================
   NAV: desktop ≥ 768px
========================================= */

@media (min-width: 768px) {
    .nav-line { grid-template-columns: auto 1fr; column-gap: var(--gap); }
    .hamburger { display: none; }

    .nav-line .menu {
        position: static;
        height: auto;
        width: auto;
        background: transparent;
        color: var(--navy);
        transform: none;
        visibility: visible;
        opacity: 1;
        overflow: visible;
        padding: .75rem 1rem;
    }
    .nav-line .menu ul {
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        gap: .75rem;
        padding: 0;
    }
    .nav-line .menu li { padding: 0; margin: 0 15px }
    .nav-line .menu li > a { color: var(--white); }
    .nav-line.scrolled .menu li > a{
        color: var(--navy);
    }
    .menu-backdrop { display: none; }
    @supports (flex-wrap: wrap) {
        .nav-line .menu ul { flex-wrap: wrap; }
    }
}

@media (max-width: 767.98px) {
    .nav-line .menu li > a::after{
        background: var(--white);
    }

    .nav-line .menu {
        display: block !important;
        padding: 2rem 1.5rem;
    }

    .nav-line .menu ul {
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }

    .nav-line .menu li {
        padding: .8rem 0;
    }

    .nav-line .menu li > a {
        display: inline-block;
        width: auto;
        text-align: left;
    }

    .portal-login:hover{
        background-color: transparent;
        border: 1px solid var(--white) !important;
        color: var(--white) !important;
    }
}


/* Buttons – stronger hierarchy */
.btn-primary,
.btn-secondary{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    border-radius: 14px;
    padding: 14px 18px;
    font-weight: 700;
    text-decoration:none;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
    will-change: transform;
}
.btn-primary{
    background: linear-gradient(135deg, #2F7C57 0%, #18a774 100%);
    color:#fff;
    box-shadow: 0 12px 30px rgba(24,167,116,.22);
    border: 1px solid rgba(255,255,255,.18);
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 18px 46px rgba(24,167,116,.28); }
.btn-secondary{
    background: rgba(255,255,255,.7);
    border: 1px solid #dbe6ee;
    color: var(--navy);
    box-shadow: var(--shadow);
}
.btn-secondary:hover{ transform: translateY(-2px); border-color: #c9d7e3; }


/* =========================================
   Hero
========================================= */

/* CTA in hero a bit more “premium” */
.hero-content .cta{
    background: linear-gradient(135deg, #2F7C57 0%, #18a774 100%);
    border-radius: 14px;
    box-shadow: 0 14px 40px rgba(24,167,116,.25);
}


.hero {
    position: relative;
    min-height: 100vh;
    margin-top: calc(var(--nav-h) * -1);
    padding-top: var(--nav-h);
    background: radial-gradient(1200px 600px at 20% 10%, rgba(27,90,122,.22), transparent 60%),
    radial-gradient(900px 500px at 70% 30%, rgba(47,124,87,.18), transparent 55%);
}
.hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: saturate(1.05) contrast(1.02);
}
.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: calc(100vh - var(--nav-h));
    max-width: 56%;
    padding-left: clamp(18px, 5vw, 64px);
}
.hero-content h1 {
    color: var(--navy);
    font-weight: 700;
    font-size: 48px;
    line-height: 56px;
}
.hero-content h2 {
    margin: 20px 0;
    color: var(--navy);
    font-size: 28px;
    font-weight: 100;
}
.hero-content .cta {
    display: inline-block;
    align-self: flex-start;
    margin-top: 2rem;
    background-color: var(--green);
    color: var(--white);
    font-size: 1.1rem;
    padding: 15px 50px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .3s ease, transform .2s ease;
}
.hero-content .cta:hover,
.hero-content .cta:focus-visible {
    background-color: #059669;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.hero-content .cta:active {
    transform: translateY(0);
    box-shadow: none;
}

.hero .hero-inner{
    position: relative;
    z-index: 2;
    height: calc(100vh - var(--nav-h));
    display: grid;
    grid-template-columns: 1.15fr 460px;
    gap: 28px;
    align-items: center;
    padding: 24px;
}

.hero .hero-left{
    max-width: 760px;
    color: #ffffff;
}

.hero-kicker{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.22);
    backdrop-filter: blur(10px);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: .2px;
    margin-bottom: 14px;
}


.hero-sub{
    margin-top: 14px;
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.6;
    color: rgba(255,255,255,.88);
    max-width: 55ch;
    font-weight: 350;
}

.hero-actions{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.hero .hero-right{
    display: flex;
    justify-content: flex-end;
    max-width: 500px;
    min-width: 350px;
    justify-self: end;
}

.hero-lead{
    width: 100%;
    max-width: 500px;
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 22px;
    padding: 18px;
    box-shadow: 0 22px 60px rgba(0,0,0,.22);
    backdrop-filter: blur(14px);
    margin-right: 0;
    margin-top: 128px;
}

.hero-form-title{
    margin: 2px 0 14px;
    font-size: 20px;
    font-weight: 900;
    color: #0b1220;
    text-align: center;
}

.hero-lead-row{
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.hero-lead input{
    border: 1px solid #dbe6ee;
    border-radius: 14px;
    padding: 12px 12px;
    font-size: 15px;
    outline: none;
    background: rgba(255,255,255,.9);
    color: #0b1220;
}

.hero-lead input:focus{
    border-color: #2F7C57;
    box-shadow: 0 0 0 3px rgba(47,124,87,.16);
}

.hero-lead button{
    border: 0;
    border-radius: 14px;
    font-weight: 900;
    padding: 12px 14px;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, #2F7C57 0%, #18a774 100%);
    box-shadow: 0 14px 36px rgba(24,167,116,.22);
    transition: transform .18s ease, box-shadow .18s ease;
}

.hero-lead button:hover{
    transform: translateY(-2px);
    box-shadow: 0 18px 46px rgba(24,167,116,.28);
}

.hero-lead-note{
    font-size: 12px;
    color: #4b5a66;
    margin-top: 2px;
}
.hero-lead-note a{ text-decoration: underline; }


/* HERO readability upgrade (premium) */
.hero--modern{
    position: relative;
}

/* Darken LEFT side for text legibility */
.hero--modern::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:1; /* above image, below content */
    background:
        linear-gradient(90deg,
        rgba(12, 22, 28, 0.78) 0%,
        rgba(12, 22, 28, 0.55) 35%,
        rgba(12, 22, 28, 0.20) 65%,
        rgba(12, 22, 28, 0.00) 100%
        );
    pointer-events:none;
}

/* Keep image at bottom layer */
.hero--modern .hero-bg{
    z-index:0;
}

/* Ensure content above overlay */
.hero--modern .hero-inner{
    position: relative;
    z-index:2;
}

/* Typography contrast */
.hero--modern .hero-left h1{
    color: #fff;
    text-shadow: 0 12px 28px rgba(0,0,0,0.35);
}

.hero--modern .hero-sub{
    color: rgba(255,255,255,0.90);
    text-shadow: 0 10px 22px rgba(0,0,0,0.30);
}

.hero--modern .hero-kicker{
    background: rgba(255,255,255,.16);
    border-color: rgba(255,255,255,.22);
}


/* Mobile */
@media (max-width: 960px){
    .hero--modern{
        position: relative;
        isolation: isolate;
    }

    .hero--modern::before{
        z-index: 0;
    }

    /* zdjęcie nad gradientem */
    .hero--modern .hero-bg{
        z-index: 1;
    }

    /* treść nad wszystkim */
    .hero--modern .hero-inner{
        z-index: 2;
    }
    .hero .hero-inner{
        grid-template-columns: 1fr;
        height: auto;
        padding: 18px 16px 24px;
    }
    .hero{
        min-height: auto;
    }
    .hero .hero-right{
        justify-content: flex-start;
        display: none;
    }
    .hero-lead-row{
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .hero {
        position: relative;
        display: block;
        min-height: unset;
    }

    .hero img {
        position: relative;
        display: block;
        width: 100%;
        height: 42vh;
        min-height: 240px;
        object-fit: cover;
        z-index: 0;
    }

    .hero-content {
        position: relative;
        z-index: 1;
        background: rgba(255,255,255, .8);
        color: var(--navy);
        margin: -140px 16px 24px;
        padding: 20px 16px;
        border-radius: 12px;
        box-shadow: 0 10px 24px rgba(0,0,0,.18);
        text-align: left;
        max-width: 720px;
        height: auto;
    }

    .hero-content h1 {
        font-size: clamp(22px, 5.6vw, 28px);
        line-height: 1.25;
        letter-spacing: 0.2px;
    }
    .hero-content h2 {
        margin: 12px 0 0;
        font-size: clamp(15px, 4.2vw, 18px);
        line-height: 1.55;
        color: var(--grey);
        opacity: .9;
    }

    .hero-content .cta {
        display: block;
        width: 100%;
        margin-top: 16px;
        padding: 14px 0;
        font-size: 1rem;
        border-radius: 10px;
        text-align: center;
    }
    .hero--modern::before{
        background:
            linear-gradient(90deg,
            rgba(28, 51, 61, 1) 0%,
            rgba(18, 63, 99, 1) 35%,
            rgba(47, 124, 87, 1) 100%
            );
    }
}


/* =========================================
   Outcomes
========================================= */

.outcomes{
    background: radial-gradient(1200px 500px at 20% 0%, rgba(29, 78, 216, 0.06), transparent 55%),
    radial-gradient(900px 420px at 80% 20%, rgba(15, 23, 42, 0.06), transparent 60%),
    var(--bg);
    padding: clamp(56px, 6vw, 96px) 0;
    position: relative;
    overflow: hidden;
}

/* Container – dopasuj do swojej siatki (jeśli masz już .container, usuń to) */
.container{
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.outcomes__head{
    display: grid;
    gap: 10px;
    max-width: 760px;
    margin-bottom: clamp(22px, 2.4vw, 34px);
}

.outcomes__title{
    margin: 0;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--green);
}

.outcomes__subtitle{
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--grey);
}

/* Grid */
.outcomes__grid{
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
}

/* Card */
.outcome{
    background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,1));
    border: 1px solid var(--stroke);
    border-radius: 18px;
    padding: 26px 26px 22px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    min-height: 170px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

/* Accent top line */
.outcome::before{
    content:"";
    position:absolute;
    top:0; left:0; right:0;
    height: 3px;
    background: linear-gradient(90deg, var(--green), rgba(29, 78, 216, 0));
    opacity: 0.95;
}

/* Subtle “engineering blueprint” corner detail */
.outcome::after{
    content:"";
    position:absolute;
    inset: -2px -2px auto auto;
    width: 180px;
    height: 140px;
    background:
        linear-gradient(to right, rgba(15,23,42,0.05) 1px, transparent 1px) 0 0 / 16px 16px,
        linear-gradient(to bottom, rgba(15,23,42,0.05) 1px, transparent 1px) 0 0 / 16px 16px;
    mask: radial-gradient(circle at 0% 100%, transparent 0 60%, #000 62%);
    opacity: 0.7;
    pointer-events: none;
}

/* Micro label */
.outcome__meta{
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(15, 23, 42, 0.55);
    margin-bottom: 12px;
}

/* Main number */
.outcome__value{
    font-size: clamp(34px, 3.2vw, 52px);
    line-height: 1.05;
    font-weight: 750;
    letter-spacing: -0.03em;
    color: var(--green);
    margin-bottom: 10px;
}

/* Descriptor */
.outcome__label{
    font-size: 14px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(17, 24, 39, 0.70);
    line-height: 1.35;
}

/* Thin technical rule at bottom */
.outcome__rule{
    height: 1px;
    margin-top: 18px;
    background: repeating-linear-gradient(
        90deg,
        rgba(15,23,42,0.18),
        rgba(15,23,42,0.18) 10px,
        transparent 10px,
        transparent 18px
    );
    opacity: 0.45;
}

/* Hover (premium, subtle) */
.outcome:hover{
    transform: translateY(-2px);
    border-color: rgba(29, 78, 216, 0.28);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.10);
}

/* Note under grid */
.outcomes__note{
    margin-top: 16px;
    font-size: 13px;
    color: rgba(17, 24, 39, 0.60);
    max-width: 860px;
}

/* Responsive */
@media (max-width: 980px){
    .outcomes__grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px){
    .outcomes__grid{ grid-template-columns: 1fr; }
    .outcome{ padding: 22px 20px 18px; }
}

/* =========================================
   Get Accredited
========================================= */


.get-accredited {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 5%;
    background: var(--blue);
    color: var(--white);
}

.get-accredited span {
    font-size: 32px;
    font-weight: 600;
}

.get-accredited a {
    margin-left: 10px;
    text-decoration: none;
    background-color: var(--green);
    border-radius: 8px;
    display: inline-block;
    padding: 12px 24px;
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    transition: background-color .3s ease, transform .2s ease;
}

.get-accredited a:hover {
    background-color: #059669;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}


/* =========================================
   About
========================================= */

.container{
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.about2{
    background:
        radial-gradient(
            1200px 520px at 8% 0%,
            rgba(18, 63, 99, 0.18),   /* blue glow */
            transparent 60%
        ),
        radial-gradient(
            900px 480px at 92% 28%,
            rgba(47, 124, 87, 0.14), /* green accent */
            transparent 62%
        ),
        linear-gradient(
            180deg,
            #1C333D 0%,   /* navy */
            #123f63 100%  /* blue */
        );

    padding: clamp(56px, 6vw, 96px) 0;
}

.about2__grid{
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(22px, 3vw, 44px);
    align-items: center;
}

/* Left column */
.about2__kicker{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 12px;
}
.about2__kicker::before{
    content:"";
    width: 18px;
    height: 2px;
    background: linear-gradient(90deg, var(--green), rgba(29,78,216,0));
    border-radius: 999px;
}

.about2__title{
    margin: 0 0 14px;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--white);
}

/* Use your existing .lead if you have it; otherwise these styles apply */
.about2 .lead{
    margin: 0 0 12px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--white);
}
.about2 .lead strong{
    color: var(--white);
    font-weight: 700;
}

/* Actions */
.about2__actions{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.about2__badges{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.about2__badge{
    font-size: 12px;
    color: rgba(17, 24, 39, 0.70);
    padding: 8px 10px;
    border: 1px solid var(--stroke);
    border-radius: 999px;
    background: #fff;
}

/* Right column - visual */
.about2__visual{
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow);
}

.about2__image{
    width: 100%;
    height: min(560px, 56vw);
    display: block;
    object-fit: cover;
    transform: scale(1.01);
}

/* Subtle premium overlay to keep it consistent with site palette */
.about2__overlay{
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 420px at 25% 15%, rgba(29,78,216,0.12), transparent 58%),
        linear-gradient(180deg, rgba(15,23,42,0.06), rgba(15,23,42,0.00) 45%, rgba(15,23,42,0.10));
    pointer-events: none;
}

/* Responsive */
@media (max-width: 980px){
    .about2__grid{
        grid-template-columns: 1fr;
    }
    .about2__visual{
        order: -1; /* obrazek na górze na mobile; usuń jeśli wolisz odwrotnie */
    }
    .about2__image{
        height: 360px;
    }
}
@media (max-width: 560px){
    .about2 .lead{
        font-size: 15px;
    }
}

/* =========================================
   Our Process
========================================= */


.section{ padding: 100px 0; background: #fff; }
.container{ max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-title{
    color: var(--navy);
    font-weight: 700;
    font-size: clamp(26px, 3.2vw, 40px);
    letter-spacing: .2px;
    margin-bottom: 42px;
}

.process-steps {
    list-style: none;
    margin: 0;
    padding: 8px 0 0;
    display: grid;
    gap: 28px;
    grid-template-columns: 1fr;
    counter-reset: step;
}

.process-step{
    position: relative;
    text-align: center;
    padding: 8px 8px 0;
}
.process-icon{
    width: 72px; height: 72px; margin: 0 auto 12px;
    border-radius: 16px;
    display:flex; align-items:center; justify-content:center;
    background: #eef3f6;
    border: 1px solid #e6edf3;
}
.process-icon img{
    width: 38px;
}
.process-title{
    font-weight: 700; font-size: 22px; color: var(--blue);
    margin-top: 6px;
}
.process-text{
    color: var(--grey); font-size: 15px; line-height: 1.6;
    max-width: 32ch; margin: 8px auto 0;
    font-weight: 300;
}

.feature-card:hover,
.process-step:hover .process-icon{
    transform: translateY(-2px);
    transition: transform .2s ease;
}

.process-step:last-child::before {
    display: none;
}

@media (min-width: 900px){
    .process-step{ padding-bottom: 0; }
    .process-arrow{
        position: absolute;
        right: -36px; top: 42px; width: 48px; height: 16px;
        color: var(--blue);
    }
}

@media (max-width: 899.98px) {
    .process-steps{
        padding-left: 8%;
    }
    .process-step {
        display: grid;
        grid-template-columns: 250px 1fr;
        gap: 16px;
        align-items: start;
        text-align: left !important;
        position: relative;
        padding-left: 8px;
    }
    .process-icon {
        margin: 0;
        width: 56px;
        height: 56px;
        z-index: 1;
        grid-column: 1;
    }
    .process-icon img{
        width: 32px;
    }
    .process-title,
    .process-text {
        grid-column: 1 / -1;
    }
    .process-title {
        font-size: 18px;
        margin: 0 0 4px 50px;
    }
    .process-text {
        margin: 0 0 0 50px;
        font-size: 14px;
        line-height: 1.5;
    }

    .process-step::before {
        content: "";
        position: absolute;
        left: 28px;
        top: 64px;
        width: 2px;
        height: calc(100% - 64px);
        background: #e0e6eb;
        z-index: 0;
    }

    .process-arrow {
        display: none !important;
    }
    .process-step:last-child::before {
        display: block;
    }
}

/* --- Desktop ≥900px --- */
@media (min-width: 900px) {
    .process-steps {
        grid-template-columns: repeat(3, minmax(0,1fr));
        align-items: start;
        position: relative;
    }
    .process-step {
        text-align: center;
        padding: 8px 8px 0;
    }
    .process-icon {
        width: 72px;
        height: 72px;
        margin: 0 auto 12px;
    }
    .process-icon img {
        width: 38px;
    }
    .process-title {
        font-size: 22px;
        margin-top: 6px;
    }
    .process-text {
        max-width: 32ch;
        margin: 8px auto 0;
        font-size: 15px;
    }
    .process-arrow {
        position: absolute;
        right: -36px;
        top: 42px;
        width: 32px;
        height: 16px;
        color: var(--blue);
    }
    .process-step:last-child .process-arrow {
        display: none;
    }
}


/* ===== About Us ===== */


.about {
    background: var(--blue);
}
.about .section-title{
    color: var(--white);
}
.lead {
    font-size: clamp(16px, 2.2vw, 18px);
    line-height: 1.7;
    color: var(--white);
    opacity: .95;
    margin-bottom: 14px;
    font-weight: 300;
}

/* ===== Our Services ===== */


.services{
    background-color: #f7fafc;
}

.service-overview {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
}

@media (min-width: 600px) {
    .service-overview {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 992px) {
    .service-overview {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-overview-card {
    background: #fff;
    border: 1px solid #e6edf3;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 1px 2px rgba(16,24,40,.05);
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease;
}
.service-overview-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 3px 8px rgba(16,24,40,.08);
}

.service-overview-card .icon {
    font-size: 24px;
    margin-bottom: 8px;
    display: block;
}
.service-overview-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--blue);
    margin-bottom: 6px;
}
.service-overview-card p {
    font-size: 14px;
    color: #586670;
    line-height: 1.4;
}


/* ===== Calculator CTA (premium, consistent) ===== */


.section.calculator-cta{
    padding: clamp(56px, 6vw, 96px) 0;
    background:
        radial-gradient(1100px 500px at 15% 10%, rgba(29,78,216,0.06), transparent 60%),
        radial-gradient(900px 420px at 85% 40%, rgba(15,23,42,0.05), transparent 60%),
        var(--bg);
}

/* Card wrapper */
.calculator-card{
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(18px, 3vw, 38px);
    align-items: center;

    background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,1));
    border: 1px solid var(--stroke);
    border-radius: 22px;
    box-shadow: var(--shadow);
    padding: clamp(22px, 3vw, 40px);
    position: relative;
    overflow: hidden;
}

/* subtle top accent line */
.calculator-card::before{
    content:"";
    position:absolute;
    top:0; left:0; right:0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), rgba(29,78,216,0));
    opacity: .95;
}

/* faint blueprint grid on the right side (premium engineering detail) */
.calculator-card::after{
    content:"";
    position:absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(15,23,42,0.04) 1px, transparent 1px) 0 0 / 18px 18px,
        linear-gradient(to bottom, rgba(15,23,42,0.04) 1px, transparent 1px) 0 0 / 18px 18px;
    opacity: .35;
    mask: radial-gradient(circle at 75% 50%, #000 0 55%, transparent 70%);
    pointer-events: none;
}

/* Copy */
.calculator-copy h2{
    margin: 0 0 10px;
    color: var(--navy);
    font-size: clamp(26px, 2.6vw, 38px);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.calculator-copy p{
    margin: 0 0 18px;
    color: rgba(17,24,39,0.78);
    font-size: 16px;
    line-height: 1.75;
    max-width: 62ch;
}

.cta-row{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 8px 0 16px;
}

/* Mini badges */
.mini-badges{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mini-badge{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid var(--stroke);
    background: #fff;
    color: rgba(17,24,39,0.70);
    font-size: 12px;
    line-height: 1;
}

/* Optional: add subtle dot */
.mini-badge::before{
    content:"";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(29,78,216,0.9);
    box-shadow: 0 0 0 4px rgba(29,78,216,0.12);
}

/* Visual side */
.calculator-visual{
    display: flex;
    justify-content: flex-end;
}

/* Mock device */
.mock{
    width: min(360px, 100%);
    border-radius: 18px;
    border: 1px solid var(--stroke);
    background: linear-gradient(180deg, rgba(255,255,255,0.70), rgba(255,255,255,1));
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
    overflow: hidden;
    position: relative;
}

/* Mock top bar */
.mock-top{
    height: 44px;
    background:
        linear-gradient(90deg, rgba(29,78,216,0.14), transparent 55%),
        linear-gradient(180deg, rgba(15,23,42,0.10), rgba(15,23,42,0.00));
    border-bottom: 1px solid rgba(15,23,42,0.10);
    position: relative;
}
.mock-top::after{
    content:"";
    position:absolute;
    left: 14px;
    top: 50%;
    width: 56px;
    height: 8px;
    transform: translateY(-50%);
    border-radius: 999px;
    background: rgba(15,23,42,0.12);
}

/* Mock body */
.mock-body{
    padding: 18px 18px 20px;
    position: relative;
}

/* Lines */
.mock-line{
    height: 10px;
    border-radius: 999px;
    background: rgba(15,23,42,0.10);
    margin: 10px 0;
}
.mock-line.w-80{ width: 80%; }
.mock-line.w-60{ width: 60%; }
.mock-line.w-90{ width: 90%; }

/* Chip / highlight */
.mock-chip{
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 14px;
    border-radius: 999px;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;

    color: rgba(15, 23, 42, 0.75);
    background: rgba(29, 78, 216, 0.14);
    border: 1px solid rgba(29, 78, 216, 0.25);

    margin: 14px 0 18px;
    width: fit-content;
}


/* Total */
.mock-total{
    font-size: 22px;
    font-weight: 750;
    letter-spacing: -0.02em;
    color: var(--navy);
    margin-top: 6px;
}

.mock-sub{
    margin-top: 4px;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(17,24,39,0.55);
}

.mock-kicker{
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(15,23,42,0.55);
    margin-bottom: 12px;
}

.mock-line.w-70{ width: 70%; }

.mock-divider{
    height: 1px;
    margin: 18px 0;
    background: repeating-linear-gradient(
        90deg,
        rgba(15,23,42,0.18),
        rgba(15,23,42,0.18) 10px,
        transparent 10px,
        transparent 18px
    );
    opacity: .45;
}

/* Replace numeric total with abstract bars */
.mock-bars{
    display: flex;
    gap: 10px;
    margin-top: 10px;
}
.mock-bars span{
    flex: 1;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        rgba(29,78,216,0.25),
        rgba(29,78,216,0.60)
    );
    opacity: .85;
}

/* Remove old elements if still present */
.mock-total,
.mock-sub{
    display: none !important;
}


/* Responsive */
@media (max-width: 980px){
    .calculator-card{
        grid-template-columns: 1fr;
    }
    .calculator-visual{
        justify-content: flex-start;
    }
    .mock{
        width: min(520px, 100%);
    }
}

@media (max-width: 560px){
    .calculator-copy p{ font-size: 15px; }
    .mock-body{ padding: 16px; }
    .mock-total{ font-size: 20px; }
}


/* ===== Our Catalogue ===== */

.service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
@media (min-width: 600px) {
    .service-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
    .service-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.service-item {
    background: #fff;
    border: 1px solid #e6edf3;
    border-radius: 10px;
    padding: 14px;
    box-shadow: 0 1px 2px rgba(0,0,0,.05);
    transition: transform .2s ease;
}
.service-item:hover { transform: translateY(-2px); }
.service-item h4 {
    margin: 0 0 4px;
    font-size: 15px;
    color: var(--blue);
}
.service-item p {
    font-size: 14px;
    color: var(--grey);
    margin: 0;
}
.service-item .icon { font-size: 20px; margin-right: 6px; }

/* Search */
.service-search {
    margin: 20px 0;
}
.service-search input {
    width: 100%;
    border: 1px solid #e1e7ee;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 15px;
}

.catalogue .muted{ color:#586670; }
.service-search .muted{ color:#586670; margin-bottom: 10px;}

    /* Search */
.service-search{ margin: 18px 0 10px; }
.service-search input{
    width:100%; border:1px solid #e1e7ee; border-radius:10px;
    padding:12px 14px; font-size:16px; outline:0; background:#fff; color:#1C333D;
}
.service-search input:focus{ border-color:#2F7C57; box-shadow:0 0 0 3px rgba(47,124,87,.15); }
#services-result-info{ margin-top:8px; color:#2F7C57; }

/* Accordion shell */
.accordion-item {
    border: 1px solid #e6edf3;
    border-radius: 12px;
    margin-bottom: 12px;
    background: #fff;
    overflow: hidden;
}
.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 14px 18px;
    background: #f9fafb;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}
.accordion-header:hover { background: #eef2f7; }
.accordion-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5.22 1.72a.75.75 0 0 1 1.06 0l6 6a.75.75 0 0 1 0 1.06l-6 6a.75.75 0 1 1-1.06-1.06L10.44 8 5.22 2.78a.75.75 0 0 1 0-1.06z'/%3E%3C/svg%3E") no-repeat center/contain;
    background-color: currentColor;
    transition: transform .3s ease;
}
.accordion-item.active .accordion-icon { transform: rotate(90deg); }
.accordion-body { display: none; padding: 16px; }
.accordion-item.active .accordion-body { display: block; }

.service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 600px) {
    .service-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1200px) {
    .service-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.service-item {
    background: #fff;
    border: 1px solid #e6edf3;
    border-radius: 10px;
    padding: 14px;
    box-shadow: 0 1px 2px rgba(0,0,0,.05);
    transition: transform .2s ease, box-shadow .2s ease;
}
.service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,.08);
}
.service-item h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--blue);
    margin: 0 0 4px;
}
.service-item p {
    font-size: 14px;
    color: #586670;
    margin: 0;
    line-height: 1.5;
}

.callout {
    margin: 20px 0;
    background: #eef5f8;
    border: 1px dashed #c9d7e3;
    border-radius: 12px;
    padding: 16px;
    color: var(--blue);
    font-size: 15px;
}

/* callout */
.callout{
    margin-top: 16px;
    background: #f5f9fb;
    border: 1px dashed #c9d7e3;
    border-radius: 12px;
    padding: 14px 16px;
    color:var(--blue);
    font-weight: 300;
    display: flex;
    justify-content: space-between;
}

.ask-us{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.ask-us a{
    border: 1px solid CurrentColor;
    border-radius: 8px;
    padding: 0 30px;
    line-height: 42px;
    background: var(--green);
    color: #fff;
    transition: background-color .3s ease, transform .2s ease;
}

.ask-us a:hover{
    background-color: #059669;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* długie listy w dwóch kolumnach na desktopie */
.service-list.cols-2{
    column-gap: 24px;
}
.service-list.cols-2 li{
    break-inside: avoid;
}
@media (min-width: 1024px){
    .service-list.cols-2{ columns: 2; }
}

.badge{
    display: inline-block;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 999px;
    background: #eaf4ee;
    color: #2F7C57;
    vertical-align: middle;
    margin-left: 8px;
}
.badge-soft{
    background:#eef3f6; color:#1C333D;
}

/* notatka pod listą */
.note{
    margin-top: 10px;
    font-size: 14px;
    color: #586670;
}

/* === Services: Search === */

.service-search{
    position: relative;
    margin: 0 auto 10px auto;
}
.service-search input{
    width: 100%;
    border: 1px solid #e1e7ee;
    border-radius: 10px;
    padding: 12px 44px 12px 14px;
    font-size: 16px;
    background: #fff;
    color: var(--navy);
    outline: none;
}
.service-search input:focus{
    border-color:#2F7C57;
    box-shadow:0 0 0 3px rgba(47,124,87,.15);
}

.small-help{ font-size: 13px; margin-top: 4px; }

/* podświetlenie trafienia */
mark.search-hit{
    background: #fff3c4;
    color: inherit;
    padding: 0 .08em;
    border-radius: 2px;
}

/* “wyblakłe” puste karty (gdy brak trafień wewnątrz) */
.service-card.is-hidden{ display: none; }

#services-result-info{
    color: var(--green);
}
/* licznik wyników w nagłówkach kart */
.service-head .count{
    font-weight:700; color:#2F7C57;
    margin-left: 6px;
    font-size: 12px;
    background:#eaf4ee; border-radius:999px; padding:3px 7px;
}

/* dostępność */
.sr-only{
    position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}


/* ===== Industries ===== */

.industries{
    background: #f7fafc;
    padding: 100px 0;
}
.industry-grid{
    list-style:none;
    margin: 8px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
@media (min-width: 640px){
    .industry-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (min-width: 1024px){
    .industry-grid{ grid-template-columns: repeat(3, minmax(0,1fr)); }
}
.industry-item{
    background: #ffffff;
    border: 1px solid #e6edf3;
    border-radius: 12px;
    padding: 24px 16px;
    color: var(--navy);
    box-shadow: 0 1px 2px rgba(16,24,40,.04);
    font-weight: 300;
    position: relative;
    overflow: hidden;
}
.industry-item::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    overflow: hidden;
    background: linear-gradient(
        90deg,
        var(--blue),
        rgba(29,78,216,0)
    );
}

/* drobny hover */
.industry-item:hover,
.service-card:hover{
    transform: translateY(-2px);
    transition: transform .18s ease;
}


/* =========================================
   Blog
========================================= */
/* ===== INSIGHTS / BLOG SECTION (standout, navy/blue/green) ===== */

.insights-section{
    padding: clamp(70px, 7vw, 110px) 0;
    position: relative;
    overflow: hidden;

    /* standout background */
    background:
        radial-gradient(900px 420px at 15% 20%, rgba(18,63,99,0.45), transparent 60%),
        radial-gradient(900px 420px at 85% 70%, rgba(47,124,87,0.30), transparent 60%),
        linear-gradient(180deg, var(--navy) 0%, #13242c 100%);

    color: rgba(255,255,255,0.88);
}

/* subtle “texture” */
.insights-section::before{
    content:"";
    position:absolute;
    inset:0;
    background: repeating-linear-gradient(
        0deg,
        rgba(255,255,255,0.025) 0 1px,
        transparent 1px 6px
    );
    opacity: .22;
    pointer-events:none;
}

/* layout wrapper (keeps above background overlay) */
.insights-section .container{
    position: relative;
    z-index: 1;
}

/* Head */
.insights-head{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 18px;
    margin-bottom: clamp(22px, 2.6vw, 34px);
}

.insights-kicker{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.70);
    margin-bottom: 12px;
}

.insights-kicker::before{
    content:"";
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--green), transparent);
}

.insights-title{
    margin: 0 0 10px;
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--white);
}

.insights-sub{
    margin: 0;
    max-width: 72ch;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255,255,255,0.72);
}

.insights-actions{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Grid */
.insights-grid{
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 16px;
    align-items: stretch;
}

/* Card base */
.insight-card{
    position: relative;
    overflow: hidden;

    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.055);
    box-shadow: var(--shadow);

    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

/* top accent strip */
.insight-card::before{
    content:"";
    position:absolute;
    top:0; left:0; right:0;
    height: 3px;
    background: linear-gradient(90deg, var(--green), var(--blue), transparent);
    opacity: .95;
}

/* Clickable wrapper */
.insight-link-wrap{
    display: block;
    padding: 22px 22px 18px;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

/* Featured */
.insight-card--featured{
    background:
        radial-gradient(520px 240px at 30% 20%, rgba(18,63,99,0.55), transparent 60%),
        rgba(255,255,255,0.075);
    border-color: rgba(47,124,87,0.40);
}

/* Meta row */
.insight-meta{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.insight-pill{
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.20);
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.78);
    line-height: 1;
}

.insight-date{
    font-size: 12px;
    color: rgba(255,255,255,0.55);
}

/* Title + excerpt */
.insight-title{
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: var(--white);
}

.insight-card--featured .insight-title{
    font-size: 20px;
}

.insight-excerpt{
    margin: 0;
    font-size: 14.5px;
    line-height: 1.7;
    color: rgba(255,255,255,0.72);
    max-width: 62ch;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Footer */
.insight-footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;

    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.14);
}

.insight-read{
    font-size: 13px;
    color: rgba(255,255,255,0.86);
}

.insight-tag{
    font-size: 12px;
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.72);
    line-height: 1;
}

/* Hover */
.insight-card:hover{
    transform: translateY(-3px);
    border-color: rgba(47,124,87,0.55);
    background: rgba(255,255,255,0.085);
}

/* Bottom */
.insights-bottom{
    margin-top: 18px;
}

.insights-banner{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;

    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.18);

    background: linear-gradient(
        90deg,
        rgba(18,63,99,0.65),
        rgba(47,124,87,0.45)
    );
    box-shadow: var(--shadow);
}

.insights-banner-copy{
    display: grid;
    gap: 4px;
}

.insights-banner-copy strong{
    color: var(--white);
    font-size: 14px;
}

.insights-banner-copy span{
    color: rgba(255,255,255,0.75);
    font-size: 13px;
}

@media (max-width: 980px){
    .insights-head{
        flex-direction: column;
        align-items: flex-start;
    }
    .insights-grid{
        grid-template-columns: 1fr;
    }
    .insights-banner{
        flex-direction: column;
        align-items: flex-start;
    }
}

.blog-download{
    text-align: center;
    border-radius: 25px;
    padding: 20px;
    color: white;
    background-color: var(--blue);
    border: 1px solid var(--blue);
}

.blog-download:hover{
    background-color: transparent;
    color: var(--blue);
    cursor: pointer;
}

/* =========================================
   Footer
========================================= */


.footer { width: 100%; color: #ffffff; }
.info {
    background-color: var(--navy);
    display: flex;
    justify-content: space-between;
    padding: 50px 50px;
}
.footer-column { flex: 1; }
.footer .company img { width: 180px; }
.footer .company-details {
    color: rgba(255,255,255,.6);
    display: block;
    margin: 15px 0;
    font-weight: 300;
}
.footer-column .title {
    display: inline-block;
    position: relative;
    font-weight: 500;
    font-size: 22px;
    margin-bottom: 20px;
    padding-bottom: 6px;
    border: 0;
}
.footer-column .title::after {
    content: "";
    display: block;
    width: 60%;
    height: 1px;
    background: var(--white);
    margin-top: 6px;
}

.footer .menu ul {
    display: flex !important;
    flex-direction: column !important;
    padding: 0;
    margin: 0;
    gap: 6px;
}
.footer .menu li {
    font-size: 16px;
    padding: 3px 0;
    display: block;
}
.footer .menu li a {
    color: rgba(255,255,255,.6);
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
}
.footer .menu li a:hover { color: var(--white); }
.get-in-touch i { margin-right: 10px; }
.get-in-touch li {
    text-transform: lowercase !important;
    list-style: none;
    padding: 4px 0;
}
.copyright { background-color: var(--green); padding: 10px 50px; }
.together-software { float: right; }
.together-software a {
    color: #52b5fb;
    text-decoration: none;
    cursor: pointer;
}
.together-software a:hover {
    color: #ffffff;
    border-bottom: 1px solid #ffffff;
}

@media (max-width: 768px) {
    .info { flex-wrap: wrap; }
    .footer .company img { width: 250px; margin-bottom: 10px; }
    .company { flex: 0 0 100%; padding-bottom: 50px; }
    .menu, .courses { padding-bottom: 50px; }
    .together-software { float: unset; }
    .copyright span {
        display: block;
        width: 100%;
        text-align: center;
        padding-bottom: 5px;
    }
}


/* =========================================
   Dostępność
========================================= */


.hamburger:focus-visible,
.nav-line .menu a:focus-visible {
    outline: 2px solid var(--navy);
    outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
    .nav-line .menu li > a:not(.portal-login)::after{ transition: none; }
}


/* =========================================
   FAQ
========================================= */

.faq {
    background: #f9fafb;
    padding: 60px 0;
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 30px;
}
.faq-item {
    border: 1px solid #e1e7ee;
    border-radius: 10px;
    background: #fff;
    padding: 18px 22px;
    box-shadow: 0 1px 2px rgba(0,0,0,.05);
    transition: box-shadow .2s ease;
}
.faq-item:hover {
    box-shadow: 0 2px 6px rgba(0,0,0,.08);
}
.faq-question {
    font-size: 18px;
    font-weight: 600;
    color: var(--blue);
    margin: 0;
    cursor: pointer;
    position: relative;
    padding-right: 32px;
}
.faq-question::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 0;
    font-size: 22px;
    line-height: 1;
    transition: transform .3s ease;
}
.faq-item.open .faq-question::after {
    content: "–";
    transform: rotate(180deg);
}
.faq-answer {
    font-size: 16px;
    color: #444;
    margin: 12px 0 0;
    line-height: 1.6;
    display: none;
}
.faq-item.open .faq-answer {
    display: block;
}

/* ===== Guides ===== */
.guides {
    padding: 60px 0;
    background: #fff;
}
.guide-groups {
    display: grid;
    gap: 32px;
    margin-top: 30px;
}
.guide-group {
    border: 1px solid #e1e7ee;
    border-radius: 10px;
    background: #f9fafb;
    padding: 24px;
    transition: box-shadow .2s ease;
}
.guide-group:hover {
    box-shadow: 0 3px 8px rgba(0,0,0,.06);
}
.guide-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--blue);
    margin-bottom: 14px;
}
.guide-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.guide-list a {
    color: var(--green);
    text-decoration: none;
    font-size: 16px;
    padding: 4px 0;
    border-bottom: 1px solid transparent;
    transition: color .2s ease, border-bottom-color .2s ease;
}
.guide-list a:hover {
    color: var(--blue);
    border-bottom-color: var(--blue);
}

/* mobile tweaks */
@media (min-width: 768px) {
    .guide-groups {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1200px) {
    .guide-groups {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===== Guides with Q&A (accordion style) ===== */
/* Guides Q&A */
.guide-item {
    border-top: 1px solid #e1e7ee;
    padding: 12px 0;
}
.guide-question {
    font-size: 17px;
    font-weight: 600;
    color: var(--blue);
    margin: 0;
    cursor: pointer;
    position: relative;
    padding-right: 28px;
}
.guide-question::after {
    content: "+";
    position: absolute;
    right: 0; top: 0;
    font-size: 20px;
    transition: transform .3s ease;
}
.guide-item.open .guide-question::after {
    content: "–";
    transform: rotate(180deg);
}
.guide-answer {
    display: none;
    margin-top: 8px;
    color: #444;
    line-height: 1.6;
    font-size: 15px;
}
.guide-item.open .guide-answer { display: block; }



/* =========================================
   Contact form
========================================= */

#contact{
    background: #f9fafb;
}

.contact-section{ background:#fff; }
.contact-form .grid{
    display:grid; gap:16px;
    grid-template-columns: 1fr;
}
@media (min-width:768px){
    .contact-form .grid{ grid-template-columns: 1fr 1fr; }
}
.contact-form .field{ display:flex; flex-direction:column; gap:6px; }
.contact-form .span-2{ grid-column: 1 / -1; }
.contact-form label{ color:#1C333D; font-weight:600; font-size:14px; }
.contact-form input,
.contact-form textarea{
    border:1px solid #e1e7ee; border-radius:10px;
    padding:12px 14px; font-size:16px; color:#1C333D; background:#fff;
    resize: none;
}
.contact-form input:focus,
.contact-form textarea:focus{
    outline:none; border-color:var(--green); box-shadow:0 0 0 3px rgba(47,124,87,.15);
}
.contact-form .checkbox{ display:flex; gap:10px; align-items:flex-start; font-size:14px; color:var(--grey); }
.contact-form .btn{
    display:inline-block; padding:20px 50px; border-radius:10px;
    background:var(--green); color:#fff; border:none; cursor:pointer; font-size: 14px;
}
.contact-form .inline span{ font-weight: 300 !important;}
.contact-form .btn:hover{ filter:brightness(1.05); transform:translateY(-1px); transition:.15s; }
.alert{ border-radius:10px; padding:12px 14px; margin-bottom:16px; }
.alert ul{
    list-style: none;
}
.alert.ok{ background:#ecfdf5; color:#065f46; border:1px solid #a7f3d0; }
.alert.error{ background:#fff1f2; color:#9f1239; border:1px solid #fecdd3; }
.hp{ position:absolute; left:-9999px; width:1px; height:1px; opacity:0; }
.field-error{ color:#b42318; font-size:12px; min-height: 1em; }
input.has-error, textarea.has-error{
    border-color:#fda29b !important;
    box-shadow:0 0 0 3px rgba(244,63,94,.12) !important;
}
.spinner{
    display:inline-block; width:18px; height:18px; margin-left:10px;
    border-radius:50%; border:2px solid #e5e7eb; border-top-color:var(--green);
    vertical-align:middle; opacity:0; transform: translateY(2px);
    transition: opacity .15s;
}
.spinner.show{ opacity:1; animation: spin 0.8s linear infinite; }
@keyframes spin{ to{ transform: translateY(2px) rotate(360deg); } }

.checkbox a{
    text-decoration: underline;
}

.checkbox a:hover{
    color: var(--green);
}

/* =========================================
   Policy
========================================= */

.policy-container {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 2rem;
    background: #ffffff;
    color: #1a1a1a;
    font-family: "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.policy-container h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #0b0c0c;
}

.policy-container h2 {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    color: #1d70b8; /* ładny niebieski akcent */
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 0.3rem;
}

.policy-container p {
    margin-bottom: 1rem;
}

.policy-container ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    list-style: disc;
}

.policy-container a {
    color: #1d70b8;
    text-decoration: underline;
}

.policy-container a:hover {
    text-decoration: none;
    color: #0b0c0c;
}

.policy-container em {
    color: #555;
}

/* ==============================
   BLOG POST – PUBLIC VIEW
============================== */

/* Green bar at the top */
.blog-hero-bar{
    width: 100%;
    height: 80px;
    background:
        radial-gradient(900px 420px at 15% 20%, rgba(18,63,99,0.45), transparent 60%),
        radial-gradient(900px 420px at 85% 70%, rgba(47,124,87,0.30), transparent 60%),
        linear-gradient(180deg, var(--navy) 0%, #13242c 100%);

    margin-top: -80px;
}

/* Container */
.blog-post{
    padding-top: 40px;
}

.blog-post__container{
    max-width: 860px;
}

/* Header */
.blog-post__header{
    margin-bottom: 24px;
}

.blog-post__title{
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.2;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 10px;
}

.blog-post__meta{
    font-size: 14px;
    color: var(--grey);
    opacity: .85;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* Cover image */
.blog-post__cover{
    margin: 28px 0;
}

.blog-post__cover img{
    width: 100%;
    border-radius: 18px;
    display: block;
    box-shadow: var(--shadow);
}

/* Content */
.blog-post__content{
    font-size: 17px;
    line-height: 1.75;
    color: #24343d;
}

.blog-post__content p{
    margin: 0 0 1.2em;
}

/* preserve enters nicely */
.blog-post__content{
    white-space: normal;
}

.blog-post__content br{
    content: "";
    display: block;
    margin-bottom: .6em;
}

/* Related */
.blog-related{
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid rgba(0,0,0,.08);
}

.blog-related__title{
    margin: 0 0 18px;
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
}

.blog-related__grid{
    grid-template-columns: 1fr;
    gap: 14px;
}

/* Mobile tweaks */
@media (max-width: 640px){
    .blog-hero-bar{
        height: 64px;
    }

    .blog-post{
        padding-top: 28px;
    }

    .blog-post__content{
        font-size: 16px;
    }
}


/* ==============================
   BLOG INDEX PAGE
============================== */

.blog-index .section-title{
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 8px;
}

.blog-index .section-sub{
    color: var(--blue);
    opacity: .85;
    max-width: 560px;
}

/* Grid */
.blog-index .insights-grid{
    margin-top: 24px;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}

/* Card tweaks (extends existing insight-card) */
.blog-index .insight-card{
    background: linear-gradient(180deg, rgba(18,63,99,.10) 0%, rgba(18,63,99,.04) 100%) !important;
    border: 1px solid rgba(18,63,99,.18) !important;
    box-shadow: 0 14px 34px rgba(16,24,40,.10) !important;
    border-radius: 18px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.blog-index .insight-card:hover{
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: rgba(18,63,99,.25);
}

/* Meta */
.blog-index .insight-meta{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.blog-index .insight-pill{
    background: rgba(47,124,87,.15);
    color: var(--green);
    font-weight: 600;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 999px;
}

.blog-index .insight-date{
    font-size: 12px;
    color: var(--grey);
    opacity: .75;
}

/* Title */
.blog-index .insight-title{
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

/* Excerpt */
.blog-index .insight-excerpt{
    font-size: 14px;
    line-height: 1.6;
    color: #2f3a40;
    opacity: .9;
    margin-bottom: 14px;
}

/* Footer */
.blog-index .insight-footer{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    font-size: 13px;
}

.blog-index .insight-read{
    font-weight: 600;
    color: var(--blue);
}

.blog-index .insight-tag{
    background: rgba(18,63,99,.1);
    color: var(--blue);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
}

/* Pagination */
.blog-index .pagination{
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 32px;
}

.blog-index .pagination .page-link{
    border-radius: 10px;
    padding: 8px 12px;
    border: 1px solid var(--stroke);
    color: var(--navy);
}

.blog-index .pagination .active .page-link{
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}

/* Mobile */
@media (max-width: 640px){
    .blog-index .insight-title{
        font-size: 17px;
    }

    .blog-index .insight-excerpt{
        font-size: 13px;
    }
}
