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

* {
    font-family: "Inter", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
:root {
    --grey: #2a3135;
    --navy: #1C333D;
    --blue: #123f63;
    --green: #2F7C57;
    --white: #fff;
    --container-max: 1200px;
    --gap: 1rem;
    --nav-h: 72px;
    --card:#ffffff;
    --bg:#f7fafc;
}
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: 10px;
    right: 20px;
    z-index: 99;
    transition:transform .25s;
}

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

/* =========================================
   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::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:hover::after,
.nav-line .menu li > a:focus-visible::after,
.nav-line .menu li > a[aria-current="page"]::after {
    transform: scaleX(1);
}

@media (max-width: 767.98px) {
    .nav-line .menu li > a:hover::after,
    .nav-line .menu li > a:focus-visible::after,
    .nav-line .menu li > a[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(--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;
    }
}


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


.hero {
    position: relative;
    min-height: 100vh;
    margin-top: calc(var(--nav-h) * -1);
    padding-top: var(--nav-h);
}
.hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: calc(100vh - var(--nav-h));
    padding-left: 60px;
    max-width: 50%;
}
.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;
}

@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;
    }
}

/* =========================================
   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);
}


/* =========================================
   Features
========================================= */


.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;
}

/* ===== Why Choose Us ===== */

.stats-grid{
    list-style:none;
    margin: 50px 0 36px 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
}
@media (min-width: 640px){
    .stats-grid{ grid-template-columns: repeat(3,1fr); }
}
.stat{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
}
.stat-number{
    font-size: clamp(32px,4vw,40px);
    font-weight: 700;
    color: var(--green);
    line-height:1.2;
}
.stat-label{
    margin-top:6px;
    font-size: 15px;
    color: var(--grey);
    font-weight: 300;
}

.feature-grid {
    list-style: none;
    margin: 0;
    padding: 8px 0 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr)); /* 👈 2 kolumny na mobile */
    gap: 28px;
}

@media (min-width: 640px){
    .feature-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (min-width: 1024px){
    .feature-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
}

.feature-card{
    background: var(--card);
    border: 1px solid #e6edf3;
    border-radius: 14px;
    padding: 22px 18px;
    min-height: 170px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 1px 2px rgba(16,24,40,.04);
}
.feature-icon{
    width: 56px; height: 56px;
    border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    background: #eef3f6;
}
.feature-icon img{
    width: 38px;
}
.feature-title{
    font-size: 18px; font-weight: 700; color: var(--blue);
    margin-top: 8px;
}
.feature-text{
    font-size: 15px; line-height: 1.6; color: var(--grey);
}


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


.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;
}


/* ===== 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: 14px 16px;
    color: var(--navy);
    box-shadow: 0 1px 2px rgba(16,24,40,.04);
    font-weight: 300;
}

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


/* =========================================
   Stopka
========================================= */


.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::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;
}
