:root {
    --bg: #1C1F24;
    --bg2: #232B3A;
    --text: #E6E8EB;
    --muted: #9AA0A6;
    --accent: #C9A24D;
    --card: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.10);
    --shadow: 0 18px 40px rgba(0, 0, 0, .35);
    --radius: 18px;
    --maxw: 1200px;
}

/* base */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(1200px 700px at 20% 0%, rgba(201, 162, 77, 0.12), transparent 60%),
        radial-gradient(900px 600px at 80% 10%, rgba(60, 120, 255, 0.10), transparent 60%),
        linear-gradient(180deg, var(--bg), var(--bg2));
    line-height: 1.55;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    opacity: .92;
}

img {
    max-width: 100%;
    display: block;
}

small {
    color: var(--muted);
}

.container {
    width: min(var(--maxw), calc(100% - 48px));
    margin-inline: auto;
}


/* header */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(28, 31, 36, 0.78);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    min-width: 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    letter-spacing: .2px;
    min-width: 0;
}

.brand-badge {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: linear-gradient(135deg, rgba(201, 162, 77, 0.18), rgba(255, 255, 255, 0.06));
    box-shadow: var(--shadow);
}

.nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav a {
    color: var(--muted);
    padding: 10px 10px;
    border-radius: 12px;
    transition: background .2s ease, color .2s ease;
}

.nav a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
}

.nav a[aria-current="page"] {
    color: var(--text);
    background: rgba(201, 162, 77, 0.12);
    border: 1px solid rgba(201, 162, 77, 0.22);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    cursor: pointer;
    transition: transform .15s ease, background .2s ease, border-color .2s ease;
    user-select: none;
}

.btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.085);
}

.btn:active {
    transform: translateY(0px);
}

.btn-primary {
    background: linear-gradient(135deg, rgba(201, 162, 77, 0.22), rgba(201, 162, 77, 0.10));
    border-color: rgba(201, 162, 77, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, rgba(201, 162, 77, 0.30), rgba(201, 162, 77, 0.12));
}

.btn-link {
    border: 0;
    background: transparent;
    padding: 10px 8px;
    color: var(--muted);
}

.btn-link:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(201, 162, 77, 0.25);
    background: rgba(201, 162, 77, 0.12);
    color: var(--text);
    font-size: 14px;
}

/* hero */
.hero {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(28, 31, 36, 0.35), rgba(28, 31, 36, 0.88)),
        var(--hero-image, none);
    background-size: cover;
    background-position: center;
    filter: saturate(1.05) contrast(1.02);
}

.hero::after {
    content: "";
    position: absolute;
    inset: -2px;
    background:
        radial-gradient(800px 500px at 30% 30%, rgba(201, 162, 77, 0.16), transparent 60%),
        radial-gradient(700px 400px at 70% 20%, rgba(90, 140, 255, 0.12), transparent 60%),
        linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.15));
    pointer-events: none;
}

.hero-inner {
    position: relative;
    padding: 48px 20px;
    width: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 28px;
    align-items: end;
}

.hero h1 {
    margin: 10px 0 10px;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.08;
    letter-spacing: .2px;
}

.hero p {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    max-width: 60ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.hero-side {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: flex-end;
}

.hero-card {
    padding: 16px 16px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.18);
    box-shadow: var(--shadow);
}

.hero-card strong {
    display: block;
    margin-bottom: 4px;
}

.hero-card span {
    color: var(--muted);
    font-size: 14px;
}

/* sections */
.section {
    padding: 70px 0;
}

.section-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.section-title h2 {
    margin: 0;
    font-size: 28px;
    letter-spacing: .2px;
}

.section-title p {
    margin: 0;
    color: var(--muted);
    max-width: 55ch;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.card {
    padding: 18px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--card);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
}

.card h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.card p {
    margin: 0;
    color: var(--muted);
}

.card a.more {
    display: inline-flex;
    gap: 8px;
    margin-top: 12px;
    color: var(--accent);
    font-weight: 600;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.step {
    padding: 16px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.05);
}

.step .n {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(201, 162, 77, 0.35);
    background: rgba(201, 162, 77, 0.12);
    margin-bottom: 10px;
}

/* CTA band */
.cta-band {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.18);
}

.cta-inner {
    padding: 48px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cta-inner h2 {
    margin: 0;
    font-size: 28px;
}

.cta-inner p {
    margin: 6px 0 0;
    color: var(--muted);
}

/* footer */
.footer {
    padding: 34px 0 46px;
    color: var(--muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 18px;
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.footer a {
    color: var(--muted);
}

.footer a:hover {
    color: var(--text);
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* burger */
.burger {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
}

.burger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
    margin: 5px auto;
    border-radius: 999px;
}

/* responsive */
@media (max-width:980px) {
    .hero-grid {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .hero-side {
        max-width: 520px;
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:820px) {
    .nav {
        display: none;
    }

    .burger {
        display: block;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero {
        min-height: 420px;
    }

    /* header: mobile – chowamy duże CTA, pokazujemy tylko ikonę telefonu + burger */
    .header-actions .btn,
    .header-actions .btn-primary {
        display: none;
    }

    .header-actions .phone-icon {
        display: inline-flex;
        border: 1px solid var(--border);
        background: rgba(255, 255, 255, 0.06);
        border-radius: 14px;
        padding: 10px 12px;
        color: var(--text);
    }
}

/* desktop – ikonka telefonu w headerze niepotrzebna */
@media (min-width:821px) {
    .header-actions .phone-icon {
        display: none;
    }
}

/* mobile nav drawer */
.drawer {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 60;
}

.drawer.open {
    display: block;
}

.drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(92vw, 420px);
    height: 100%;
    background: rgba(28, 31, 36, 0.96);
    border-left: 1px solid var(--border);
    padding: 14px;
    backdrop-filter: blur(10px);
}

.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 4px 14px;
}

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.drawer-links a {
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
}

.drawer-links a:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* Drawer CTA (na całą szerokość, wygodne na mobile) */
.drawer-cta {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.drawer-cta .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
}

.drawer-cta .phone-icon {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 12px;
    color: var(--text);
    font-size: 16px;
}

.brand-badge img {
    width: 35px;
    height: 35px;
}