:root {
    /* COLORS */
    --green: #74C043;
    --green-dark: #5BA52E;
    --dark-blue: #082563;

    --text-main: #0F172A;
    --text-muted: #475569;

    --bg-soft: #F4F8F6;
    --bg-gray: #F8FAFC;
    --bg-steps: #F1F5F9;

    --footer: #0B1F3A;
    --footer-text: #D1D9E6;
    --footer-link: #D1D9E6;

    /* TYPO */
    --text-size-md: 1.2rem;
}

/* ===================== */
/* BASE / TYPO */
/* ===================== */

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
}

.text-success { color: var(--green) !important; }
.text-muted-custom { color: var(--text-muted); }

/* ===================== */
/* BUTTONS */
/* ===================== */

.btn {
    border-radius: 999px !important;
    padding: 14px 28px;
    letter-spacing: 0.2px;
    text-align: center;
    transition: all 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-success {
    background: var(--green);
    border: none;
}

.btn-success:hover {
    background: var(--green-dark);
}

.btn-outline-success {
    border: 2px solid var(--green);
    color: var(--green);
    background: transparent;
}

/* ===================== */
/* NAV */
/* ===================== */

.navbar { padding: 18px 30px; }

.navbar-brand {
    font-size: 16px;
    display: flex;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand .logo-img {
    margin-right: 8px;
}

.navbar-nav .nav-link {
    font-size: 14px;
    color: var(--text-main);
}

.navbar-nav .nav-link:hover {
    color: var(--green);
}

.navbar .btn { margin-left: 20px; }

.navbar .bi-shield-check { color: var(--green); }

.navbar .btn-success {
    padding: 5px 28px;
}

.page-title {
    text-transform: uppercase;
    font-size: 20px;
}

.brand-title {
    text-transform: uppercase;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
    margin: 0;
}

.navbar .brand-title {
    margin-left: -8px;
}

/* ===================== */
/* HERO */
/* ===================== */

.hero {
    position: relative;
    background: linear-gradient(180deg, #fff 0%, #F7FAF8 100%);
}

.hero-title {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.15;
}

.hero-visual {
    position: relative;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-person {
    position: absolute;
    bottom: 0;
    height: 440px;
    z-index: 1;
}

.hero-person.left { left: -20px; }

.hero-person.right {
    right: -20px;
    bottom: -15px;
    transform: scale(.95);
}

.hero-card {
    width: 360px;
    padding: 32px;
    background: #fff;
    border-radius: 24px;

    box-shadow:
            0 20px 40px rgba(0,0,0,0.06),
            0 2px 6px rgba(0,0,0,0.04);
}

.hero-card .icon-lg { font-size: 2.6rem; }
.hero-card .icon-xl { font-size: 3.2rem; }

.hero-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

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

.hero ul li {
    font-size: 14px;
    margin-bottom: 6px;
}

/* ===================== */
/* ICON SYSTEM */
/* ===================== */

.icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.icon-sm { width: 40px; height: 40px; }
.icon-md { width: 56px; height: 56px; }
.icon-lg { width: 72px; height: 72px; }

.icon i { line-height: 1; }

.icon-sm i { font-size: 20px; }
.icon-md i { font-size: 28px; }
.icon-lg i { font-size: 36px; }

.icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.icon-circle {
    border-radius: 50%;
    background: rgba(116, 192, 67, 0.12);
}

.icon-md,
.icon-lg {
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.05));
}

.logo-img {
    height: 65px;
    width: auto;
}

/* ===================== */
/* BOXES */
/* ===================== */

.box {
    padding: 18px 15px 25px 15px;
    background: #fff;
    border-radius: 14px;

    border: 1px solid #EEF2F6;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);

    transition: all 0.2s ease;

    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

/* GRID FIX */
.row {
    margin-right: 0;
    margin-left: 0;
}

.row > .col:first-child {
    border-left: none !important;
}

/* ===================== */
/* STEPS */
/* ===================== */

.steps {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.steps::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 6%;
    right: 6%;
    height: 2px;
    z-index: 0;

    background: linear-gradient(90deg, transparent, #E2E8F0, transparent);
}

.step-item {
    width: 23%;
    text-align: center;
    position: relative;
    z-index: 2;

    transition: transform 0.2s ease;
}

.step-item:hover {
    transform: translateY(-4px);
}

.step-item p {
    margin-top: 10px;
    font-size: 1rem;
    color: var(--text-muted);
}

.step-icon-wrapper {
    width: 65px;
    height: 65px;
    margin: 12px auto 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff;
    border-radius: 50%;

    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.step-icon-wrapper i {
    font-size: 30px;
    color: var(--dark-blue);
}

.step-icon-wrapper .icon {
    margin-top: 10px;
}

.step-icon-wrapper .icon img {
    transform: scale(1.3);
}

.step-item .circle {
    box-shadow: 0 0 0 6px #F1F5F9;
}

/* NUMBER CIRCLE */

.circle {
    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto;

    background: var(--green);
    border-radius: 50%;

    color: #fff;
    font-weight: 600;
    font-size: 21px;

    position: relative;
    z-index: 2;
}

/* ===================== */
/* FOOTER */
/* ===================== */

footer {
    background: var(--footer);
    color: var(--footer-text);
    border-top: 1px solid rgba(255,255,255,0.05);
}

footer h5,
footer h6 {
    color: #fff;
    margin-bottom: 14px;
    font-weight: 600;
}

footer p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--footer-text);
}

footer a {
    font-size: 14px;
    text-decoration: none;
    color: var(--footer-link);
    transition: color 0.2s ease;
}

footer a:hover {
    color: #fff;
}

footer .col-md-4 {
    display: flex;
    flex-direction: column;
    height: auto;
}

footer .col-md-4 .mt-3.small {
    margin-top: auto !important;
}

footer .container {
    max-width: 100%;
    padding-left: 4rem;
    padding-right: 4rem;
}

footer .brand-title {
    vertical-align: bottom;
}

footer .row {
    display: flex;
    align-items: stretch;
}

.footer-links {
    margin-top: 32px;
}

/* ===================== */
/* SECTIONS */
/* ===================== */

section {
    padding: 70px 0;
}

.section-soft { background: var(--bg-soft); }
.section-gray { background: var(--bg-gray); }
.section-steps { background: var(--bg-steps); }

/* CTA */

.cta {
    position: relative;
    background: linear-gradient(180deg, #F8FAFC, #EEF2F7);
}

.cta-title { font-size: 24px; }

.cta-sub {
    max-width: 530px;
    margin: 10px auto;
    font-size: var(--text-size-md);
}

/* ===================== */
/* RESPONSIVE */
/* ===================== */

@media (max-width: 992px) {

    .white-box { margin-top: 20px; }

    .hero-title,
    .hero p,
    .hero ul {
        text-align: center;
    }

    .hero ul { padding-left: 0; }

    .hero .btn {
        display: block;
        width: 100%;
        max-width: 280px;
        margin: 10px auto;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 260px;
    }

    .hero-person { display: none; }

    .navbar-collapse {
        margin-top: 10px;
        padding: 15px;
        background: #fff;
        border-radius: 12px;

        box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    }

    .navbar .btn {
        display: block;
        width: 100%;
        max-width: 260px;
        margin: 15px auto 0;
    }

    .hero-visual {
        height: 300px;
    }
}

@media (max-width: 768px) {

    .steps {
        flex-direction: column;
        gap: 30px;
        padding-left: 50px;
    }

    .steps::before {
        top: 0;
        bottom: 0;
        left: 25px;
        width: 2px;
        height: 100%;

        background: linear-gradient(
                to bottom,
                transparent,
                #CBD5E1,
                #CBD5E1,
                transparent
        );
    }

    .step-item {
        width: 100%;
        display: grid;
        grid-template-columns: 40px 1fr;
        gap: 10px;
        text-align: left;
    }

    .step-item .circle {
        width: 44px;
        height: 44px;
        font-size: 16px;
        margin: 0;

        box-shadow: 0 0 0 6px var(--bg-steps);
    }

    .step-icon-wrapper {
        width: 60px;
        height: 60px;
        margin: 0 0 5px 0;
        grid-column: 2;
    }

    .step-item p {
        margin: 0;
        font-size: 0.95rem;
        grid-column: 2;
    }

    footer .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    footer .row { text-align: center; }

    footer .col-md-4 { margin-bottom: 25px; }

    footer ul { padding-left: 0; }

    footer p { margin-bottom: 20px; }

    .footer .col-md-4 { border-right: none; }
}

@media (min-width: 768px) {
    .footer-border-right {
        border-right: 1px solid rgba(255,255,255,0.15);
    }
}

/* ===================== */
/* PAGE SPECIFIC */
/* ===================== */

#o-nas .text-muted-custom {
    font-size: var(--text-size-md);
}

#cennik .list-unstyled {
    font-size: 1.1rem;
}

#preco .icon-circle {
 background: var(--bg-gray);
}

#about-video {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}