:root {
    --bg: #0b1020;
    --panel: #0f172a;
    --muted: #9aa4b2;
    --text: #e6ebf2;
    --brand: #22c55e;
    /* akcent */
    --brand-2: #38bdf8;
    /* akcent 2 */
    --warning: #f59e0b;
    --danger: #ef4444;
    --shadow: 0 10px 30px rgba(0, 0, 0, .35);
    --radius: 16px;
    --radius-sm: 12px;
    --max: 1200px;
    --speed: .55s;
}

* {
    box-sizing: border-box
}

html,
body {
    margin: 0;
    background: linear-gradient(180deg, #0a0f1e, #0a0f1e 40%, #0b1020 100%);
    color: var(--text);
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif
}

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

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

.container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 20px
}

header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(11, 16, 32, .65);
    backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, .06)
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0
}

.logo {
    display: flex;
    gap: 12px;
    align-items: center;
    font-weight: 700;
    letter-spacing: .2px
}

.logo-badge {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    /* background: conic-gradient(from 180deg, var(--brand), var(--brand-2)); */
    display: grid;
    place-items: center;
    box-shadow: var(--shadow)
}

.logo-badge span {
    font-weight: 900
}

.nav-cta {
    display: flex;
    gap: 10px;
    align-items: center
}

.btn {
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform .06s ease, box-shadow .3s ease, background .3s ease;
    cursor: pointer;
    white-space: nowrap
}

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

.btn-primary {
    background: linear-gradient(90deg, var(--brand), #16a34a);
    box-shadow: 0 10px 24px rgba(34, 197, 94, .35);
    color: #04130a;
    border: none
}

.btn-outline {
    background: rgba(255, 255, 255, .04)
}

.phone-pill {
    display: none
}

@media (max-width:720px) {
    .phone-pill {
        display: inline-flex
    }
}

/* HERO */
.hero {
    position: relative;
    overflow: hidden
}

.hero::before {
    content: "";
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(800px 400px at 20% -10%, rgba(56, 189, 248, .35), transparent 60%),
        radial-gradient(700px 300px at 80% 0%, rgba(34, 197, 94, .25), transparent 60%);
    filter: blur(20px);
    z-index: -1;
    opacity: .8
}

.hero-wrap {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 32px;
    align-items: center;
    padding: 56px 0
}

.hero h1 {
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.1;
    margin: 0 0 12px
}

.hero p {
    color: var(--muted);
    font-size: 1.1rem;
    margin: 0 0 24px
}

.hero .badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0
}

.badge {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .08);
    font-size: .92rem
}

.hero-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow)
}

.cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.meta {
    display: flex;
    gap: 18px;
    margin-top: 12px;
    color: var(--muted);
    font-size: .95rem
}

.meta span {
    display: flex;
    gap: 8px;
    align-items: center
}

@media (max-width:900px) {
    .hero-wrap {
        grid-template-columns: 1fr
    }
}

/* SEKCJE */
section {
    padding: 56px 0
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px
}

.section-title h2 {
    margin: 0;
    font-size: clamp(22px, 3.2vw, 34px)
}

.section-sub {
    color: var(--muted);
    margin: 0 0 10px
}

.grid {
    display: grid;
    gap: 16px
}

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

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

@media (max-width:980px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width:680px) {
    .grid-3 {
        grid-template-columns: 1fr
    }

    .grid-4 {
        grid-template-columns: 1fr
    }
}

.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow)
}

.card h3 {
    margin: 6px 0 8px
}

.muted {
    color: var(--muted)
}

/* KARUZELE */
.carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background: #0b1226
}

.carousel-track {
    display: flex;
    transition: transform .6s cubic-bezier(.22, .61, .36, 1)
}

.slide {
    min-width: 100%;
    user-select: none
}

.slide img {
    width: 100%;
    height: 210px;
    object-fit: cover
}

.carousel-nav {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none
}

.carousel-btn {
    pointer-events: auto;
    border: none;
    background: rgba(0, 0, 0, .35);
    backdrop-filter: blur(4px);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform .08s ease
}

.carousel-btn:hover {
    transform: scale(1.04)
}

.dots {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .35);
    border: none;
    cursor: pointer
}

.dot.active {
    background: linear-gradient(90deg, var(--brand-2), var(--brand))
}

/* OPINIE */
.testimonial {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 14px
}

.avatar {
    width: 70px;
    height: 70px;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, .12)
}

.stars {
    color: #fbbf24;
    letter-spacing: 1px
}

.t-carousel .slide {
    padding: 22px
}

.t-carousel .slide .card {
    height: 100%
}

/* CENNIK */
.price {
    display: flex;
    align-items: baseline;
    gap: 6px
}

.price .big {
    font-size: 34px;
    font-weight: 800
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .08);
    font-size: .9rem
}

/* FAQ */
.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    cursor: pointer
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease
}

.faq-item.open .faq-a {
    max-height: 260px
}

/* STOPKA */
footer {
    padding: 32px 0 80px;
    background: rgba(255, 255, 255, .02);
    border-top: 1px solid rgba(255, 255, 255, .08)
}

.credits {
    color: var(--muted);
    font-size: .95rem
}

/* ANIMACJE WEJŚCIA */
.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity var(--speed) ease, transform var(--speed) ease
}

.reveal.on {
    opacity: 1;
    transform: none
}

/* PŁYWAJĄCY PRZYCISK */
.float-call {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 60;
    background: linear-gradient(90deg, var(--brand), #16a34a);
    color: #05240f;
    border: none;
    border-radius: 999px;
    padding: 14px 18px;
    display: flex;
    gap: 10px;
    align-items: center;
    box-shadow: var(--shadow)
}

/* FORM */
form {
    display: grid;
    gap: 12px
}

input,
textarea,
select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    color: var(--text);
    outline: none
}

input:focus,
textarea:focus {
    border-color: var(--brand-2)
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

@media(max-width:680px) {
    .form-row {
        grid-template-columns: 1fr
    }
}

.form-note {
    color: var(--muted);
    font-size: .9rem
}

.alert {
    display: none;
    margin-top: 8px;
    padding: 10px;
    border-radius: 10px
}

.alert.ok {
    display: block;
    background: rgba(34, 197, 94, .12);
    border: 1px solid rgba(34, 197, 94, .35)
}

.alert.err {
    display: block;
    background: rgba(239, 68, 68, .12);
    border: 1px solid rgba(239, 68, 68, .35)
}

/* --- MOBILE OPTIMIZATIONS --- */
@media (max-width: 680px) {

    html,
    body {
        font-size: 16px;
        padding: 16px 24px;
    }

    .container {
        width: 100%;
        max-width: var(--max);
        margin: 0 auto;
        padding: 0 24px;

    }

    header {
        padding: 0;
    }

    .nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 10px 0;
    }

    .logo-badge {
        width: 30px;
        height: 30px;
        font-size: 1.1em;
    }

    .btn,
    .btn-primary,
    .btn-outline {
        padding: 12px 10px;
        font-size: 1em;
        border-radius: 10px;
    }

    .hero-wrap {
        grid-template-columns: 1fr;
        padding: 32px 0;
        gap: 18px;
    }

    .hero h1 {
        font-size: 1.4em;
    }

    .hero-card {
        padding: 10px;
    }

    .slide img {
        height: 180px;
        border-radius: 10px;
    }

    section {
        padding: 32px 0;
    }

    .section-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        margin-bottom: 10px;
    }

    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .card {
        padding: 12px;
        border-radius: 10px;
    }

    .testimonial {
        grid-template-columns: 50px 1fr;
        gap: 8px;
    }

    .avatar {
        width: 50px;
        height: 50px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    input,
    textarea,
    select {
        padding: 10px 10px;
        font-size: 1em;
        border-radius: 8px;
    }

    .float-call {
        right: 10px;
        bottom: 10px;
        padding: 10px 12px;
        font-size: 1em;
        border-radius: 999px;
    }

    footer {
        padding: 24px 0 60px;
    }

    .credits {
        font-size: .95em;
    }

    /* Hide carousel nav buttons if screen is too small */
    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 1em;
    }

    .carousel-nav {
        top: 0;
        bottom: 0;
    }

    .dots {
        bottom: 6px;
        gap: 4px;
    }
    .map-embed {
        aspect-ratio: 1.1/1;
        border-radius: 10px;
    }
    .container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 20px
}
}
/* --- Responsive Google Maps --- */
.map-embed {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.1);
    background: #0b1226;
    display: grid;
    place-items: center;
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}