/* =========================================================
   KOMUNAL-TRAK – arkusz stylów
   Kolory firmy zmienisz w :root
   ========================================================= */
:root {
    --navy-900: #0b1624;
    --navy-800: #102033;
    --navy-700: #17304a;
    --navy-600: #24476b;
    --ice-100:  #eef4f9;
    --ice-200:  #dde8f1;
    --ice-300:  #c3d4e3;
    --steel:    #6b7f93;
    --text:     #18232f;
    --text-2:   #4a5b6c;
    --white:    #ffffff;
    --accent:   #f58220;   /* pomarańcz komunalny */
    --accent-d: #d96a0c;
    --yellow:   #ffc233;
    --brand-blue: #1660c4; /* kolor napisu GOMI */
    --ok:       #2e9e5b;
    --radius:   14px;
    --radius-sm: 8px;
    --shadow:   0 10px 30px -12px rgba(11, 22, 36, .25);
    --shadow-lg: 0 24px 60px -20px rgba(11, 22, 36, .45);
    --font:     'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-head: 'Barlow Condensed', 'Barlow', system-ui, sans-serif;
    --max:      1200px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
    font-family: var(--font-head);
    line-height: 1.1;
    margin: 0 0 .5em;
    letter-spacing: .01em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 800; text-transform: uppercase; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; text-transform: uppercase; }
h3 { font-size: 1.45rem; font-weight: 700; }
p  { margin: 0 0 1em; }

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

.text-accent { color: var(--accent); }

/* ---------- Przyciski ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5em;
    padding: .8em 1.4em;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .15s, background .2s, border-color .2s, color .2s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: var(--accent); color: var(--white); }
.btn--accent:hover { background: var(--accent-d); }
.btn--ghost { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn--outline { border-color: var(--navy-700); color: var(--navy-700); }
.btn--outline:hover { background: var(--navy-700); color: var(--white); }
.btn--lg { padding: 1em 1.7em; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- Topbar ---------- */
.topbar {
    background: var(--navy-900);
    color: var(--ice-300);
    font-size: .88rem;
}
.topbar__inner {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: flex-end;
    min-height: 38px;
}
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item:first-child { margin-right: auto; }
.topbar__phone { color: var(--white); font-weight: 700; text-decoration: none; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.dot--live { box-shadow: 0 0 0 0 rgba(46,158,91,.7); animation: pulse 2s infinite; }
@keyframes pulse {
    70%  { box-shadow: 0 0 0 8px rgba(46,158,91,0); }
    100% { box-shadow: 0 0 0 0 rgba(46,158,91,0); }
}

/* ---------- Header / nawigacja ---------- */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--ice-200);
    transition: box-shadow .2s;
}
.header.is-scrolled { box-shadow: var(--shadow); }
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo__mark {
    width: 46px; height: 46px;
    display: grid; place-items: center;
    border-radius: 10px;
    background: var(--navy-800);
    color: var(--white);
    padding: 8px;
}
.logo__text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.logo__text strong {
    font-family: 'Montserrat', var(--font);
    font-size: 2.1rem;
    font-weight: 900;
    letter-spacing: .06em;
    color: var(--brand-blue);
}
.logo__text small { font-size: .66rem; text-transform: uppercase; letter-spacing: .2em; color: var(--accent); font-weight: 700; margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
    position: relative;
    padding: 10px 14px;
    text-decoration: none;
    font-weight: 600;
    color: var(--text-2);
    border-radius: 6px;
    transition: color .2s;
}
.nav__link:hover { color: var(--navy-800); }
.nav__link.is-active { color: var(--navy-800); }
.nav__link.is-active::after {
    content: '';
    position: absolute;
    left: 14px; right: 14px; bottom: 2px;
    height: 3px;
    border-radius: 2px;
    background: var(--accent);
}
.nav__cta { margin-left: 10px; }

.nav-toggle {
    display: none;
    width: 46px; height: 46px;
    border: 0; background: transparent;
    cursor: pointer;
    padding: 11px;
}
.nav-toggle span {
    display: block;
    height: 3px;
    margin: 5px 0;
    background: var(--navy-800);
    border-radius: 2px;
    transition: transform .25s, opacity .25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: var(--accent);
    background-image: repeating-linear-gradient(-45deg, rgba(0,0,0,.06) 0 18px, transparent 18px 36px);
    padding: 60px 0 52px;
}
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
.hero .hero__badge { margin-bottom: 14px; }
.hero .hero__lead { margin-bottom: 22px; }
.hero .hero__actions { margin-bottom: 28px; }
.hero__inner { max-width: var(--max); }
.hero h1 { max-width: 900px; }
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 99px;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.35);
    font-size: .9rem;
    font-weight: 600;
    margin-bottom: 20px;
}
.hero h1 span { color: var(--navy-900); display: block; }
.hero__lead { font-size: 1.2rem; color: rgba(255,255,255,.92); max-width: 620px; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero__stats {
    display: flex;
    gap: 36px;
    flex-wrap: wrap;
}
.hero__stats strong {
    display: block;
    font-family: var(--font-head);
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}
.hero__stats span { font-size: .9rem; color: rgba(255,255,255,.85); }

.btn--dark { background: var(--navy-900); color: var(--white); }
.btn--dark:hover { background: var(--navy-700); }

/* ---------- Page hero (podstrony) ---------- */
.page-hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
    padding: 70px 0 60px;
}
.page-hero::after {
    content: '';
    position: absolute;
    right: -80px; top: -80px;
    width: 380px; height: 380px;
    border-radius: 50%;
    border: 60px solid rgba(255,255,255,.04);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: .25em; }
.page-hero p { color: var(--ice-300); font-size: 1.15rem; max-width: 640px; margin: 0; }
.breadcrumbs { font-size: .9rem; color: var(--ice-300); margin-bottom: 14px; }
.breadcrumbs a { color: var(--white); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* ---------- Sekcje ---------- */
.section { padding: 90px 0; }
.section--ice { background: var(--ice-100); }
.section--dark { background: var(--navy-800); color: var(--white); }
.section__head { max-width: 720px; margin-bottom: 50px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
    display: inline-block;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}
.section__head p { color: var(--text-2); font-size: 1.1rem; }
.section--dark .section__head p { color: var(--ice-300); }

/* ---------- Karty usług ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
    background: var(--white);
    border: 1px solid var(--ice-200);
    border-radius: var(--radius);
    padding: 30px;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
    width: 58px; height: 58px;
    border-radius: 12px;
    display: grid; place-items: center;
    background: var(--ice-100);
    color: var(--navy-700);
    margin-bottom: 20px;
}
.card__icon svg { width: 32px; height: 32px; }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--text-2); margin-bottom: 1em; }
.card__link { font-weight: 700; color: var(--accent-d); text-decoration: none; }
.card__link:hover { text-decoration: underline; }
.tag {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 99px;
    margin-bottom: 12px;
}
.tag--winter { background: #dceeff; color: #1b5a92; }
.tag--summer { background: #e3f5e8; color: #1d7a43; }
.tag--all    { background: #fff0e0; color: #a5520b; }

/* ---------- Dlaczego my ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.feature__num {
    font-family: var(--font-head);
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 10px;
}
.feature h3 { font-size: 1.3rem; }
.feature p { color: var(--text-2); margin: 0; }

/* ---------- Jak działamy (kroki) ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; padding-top: 64px; }
.step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    top: 0; left: 0;
    width: 48px; height: 48px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--navy-800);
    color: var(--white);
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.4rem;
}
.step::after {
    content: '';
    position: absolute;
    top: 24px; left: 60px; right: -12px;
    border-top: 2px dashed var(--ice-300);
}
.step:last-child::after { display: none; }
.step p { color: var(--text-2); margin: 0; }

/* ---------- Sprzęt ---------- */
.fleet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fleet__item {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--ice-200);
}
.fleet__img {
    aspect-ratio: 16 / 10;
    display: grid; place-items: center;
    background: linear-gradient(160deg, var(--ice-200), var(--ice-100));
    color: var(--steel);
    font-size: .9rem;
    text-align: center;
    padding: 20px;
    border-bottom: 1px solid var(--ice-200);
}
.fleet__img svg { width: 70px; height: 70px; margin: 0 auto 8px; opacity: .55; }
.fleet__body { padding: 22px 24px; }
.fleet__body h3 { font-size: 1.25rem; margin-bottom: .2em; }
.fleet__body p { color: var(--text-2); margin: 0; font-size: .97rem; }

/* ---------- Dla kogo ---------- */
.clients { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.clients span {
    padding: 10px 20px;
    border-radius: 99px;
    background: var(--white);
    border: 1px solid var(--ice-300);
    font-weight: 600;
    color: var(--navy-700);
}

/* ---------- Usługi – szczegóły ---------- */
.service-nav {
    position: sticky;
    top: 76px;
    z-index: 20;
    background: var(--white);
    border-bottom: 1px solid var(--ice-200);
}
.service-nav__inner { display: flex; gap: 8px; overflow-x: auto; padding: 12px 20px; scrollbar-width: none; }
.service-nav__inner::-webkit-scrollbar { display: none; }
.service-nav a {
    flex: none;
    padding: 8px 16px;
    border-radius: 99px;
    background: var(--ice-100);
    text-decoration: none;
    font-weight: 600;
    font-size: .95rem;
    color: var(--navy-700);
    transition: background .2s, color .2s;
}
.service-nav a:hover, .service-nav a.is-active { background: var(--navy-800); color: var(--white); }

.service {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 56px;
    align-items: center;
    padding: 64px 0;
    border-bottom: 1px solid var(--ice-200);
    scroll-margin-top: 150px;
}
.service:last-child { border-bottom: 0; }
.service__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.service__head .tag { margin: 0; }
.service__icon {
    width: 56px; height: 56px;
    display: grid; place-items: center;
    border-radius: 12px;
    background: var(--navy-800);
    color: var(--white);
}
.service__icon svg { width: 30px; height: 30px; }
.service__lead { color: var(--text-2); font-size: 1.08rem; margin-bottom: 24px; }
.service__box {
    background: var(--ice-100);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    padding: 30px 32px;
}
.service__box h3 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .08em; color: var(--navy-700); margin-bottom: 16px; }
.service__list { list-style: none; padding: 0; margin: 0; }
.service__list li:last-child { margin-bottom: 0; }
.service__list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 10px;
    color: var(--text-2);
}
.service__list li::before {
    content: '';
    position: absolute;
    left: 0; top: 5px;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.service__meta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.service__price {
    font-weight: 700;
    color: var(--navy-800);
    background: var(--ice-100);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
}

/* ---------- Cennik ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--ice-200);
    border-radius: var(--radius);
    padding: 34px 30px;
}
.plan--featured {
    background: var(--navy-800);
    color: var(--white);
    border-color: var(--navy-800);
    box-shadow: var(--shadow-lg);
    transform: scale(1.03);
}
.plan__ribbon {
    position: absolute;
    top: -14px; left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--white);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 99px;
}
.plan__name { font-size: 1.5rem; margin-bottom: .2em; }
.plan__desc { color: var(--text-2); font-size: .97rem; min-height: 3.2em; }
.plan--featured .plan__desc { color: var(--ice-300); }
.plan__price { font-family: var(--font-head); font-size: 2.8rem; font-weight: 800; line-height: 1; margin: 10px 0 4px; }
.plan__price small { font-family: var(--font); font-size: 1rem; font-weight: 500; opacity: .7; }
.plan__note { font-size: .88rem; opacity: .7; margin-bottom: 20px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.plan li { padding: 8px 0 8px 28px; position: relative; border-top: 1px solid var(--ice-200); font-size: .97rem; }
.plan--featured li { border-color: rgba(255,255,255,.1); }
.plan li::before { content: '✓'; position: absolute; left: 4px; color: var(--accent); font-weight: 800; }

.price-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--ice-200); background: var(--white); }
.price-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.price-table th, .price-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--ice-200); }
.price-table thead th {
    background: var(--navy-800);
    color: var(--white);
    font-family: var(--font-head);
    font-size: 1.05rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.price-table tbody tr:hover { background: var(--ice-100); }
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table tr.group td {
    text-align: left;
    background: var(--ice-100);
    font-weight: 700;
    color: var(--navy-700);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .85rem;
}
.price-table td:last-child, .price-table th:last-child { text-align: right; white-space: nowrap; }
.price-table td strong { color: var(--navy-800); }
.price-table td small { display: block; color: var(--text-2); font-size: .88rem; }

.notice {
    display: flex;
    gap: 14px;
    padding: 18px 22px;
    margin-top: 24px;
    border-radius: var(--radius-sm);
    background: #fff6e8;
    border-left: 4px solid var(--accent);
    color: #6b4210;
    font-size: .97rem;
}

/* kalkulator */
.calc {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--white);
}
.calc__form { padding: 36px; }
.calc__result {
    padding: 36px;
    background: var(--navy-800);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.calc__result .big {
    font-family: var(--font-head);
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.1;
}
.calc__result p { color: var(--ice-300); }

/* ---------- Formularze ---------- */
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.field input,
.field select,
.field textarea {
    width: 100%;
    font: inherit;
    padding: 12px 14px;
    border: 1.5px solid var(--ice-300);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--text);
    transition: border-color .2s, box-shadow .2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--navy-600);
    box-shadow: 0 0 0 4px rgba(36,71,107,.12);
}
.field textarea { min-height: 140px; resize: vertical; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field input[type=range] { padding: 0; border: 0; box-shadow: none; accent-color: var(--accent); }
.range-value { float: right; font-weight: 700; color: var(--accent-d); }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--text-2); }
.checkbox input { margin-top: 4px; accent-color: var(--accent); }
.field .checkbox { display: flex; font-weight: 500; margin-bottom: 8px; font-size: .97rem; }
.hp { position: absolute; left: -9999px; }
.field .err { color: #c0392b; font-size: .85rem; margin-top: 4px; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #c0392b; }

.alert { padding: 16px 20px; border-radius: var(--radius-sm); margin-bottom: 24px; font-weight: 600; }
.alert--ok { background: #e3f5e8; color: #1d6b3c; border: 1px solid #b6e2c4; }
.alert--err { background: #fdecea; color: #a12b1f; border: 1px solid #f5c1bb; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; align-items: start; }
.contact__cards { display: grid; gap: 16px; }
.contact-card {
    display: flex;
    gap: 16px;
    padding: 22px;
    border-radius: var(--radius);
    background: var(--ice-100);
    text-decoration: none;
}
.contact-card__icon {
    flex: none;
    width: 48px; height: 48px;
    border-radius: 10px;
    background: var(--navy-800);
    color: var(--white);
    display: grid; place-items: center;
}
.contact-card__icon svg { width: 24px; height: 24px; }
.contact-card small { display: block; color: var(--text-2); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.contact-card strong { font-size: 1.15rem; color: var(--navy-800); }
.contact-card--urgent { background: var(--accent); }
.contact-card--urgent small, .contact-card--urgent strong { color: var(--white); }
.contact-card--urgent .contact-card__icon { background: rgba(255,255,255,.2); }
.form-box {
    background: var(--white);
    border: 1px solid var(--ice-200);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow);
}
.map {
    margin-top: 16px;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--ice-200);
    border: 1px solid var(--ice-200);
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
    border: 1px solid var(--ice-200);
    border-radius: var(--radius-sm);
    background: var(--white);
    margin-bottom: 12px;
}
.faq summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 56px 18px 22px;
    font-weight: 700;
    position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: '+';
    position: absolute;
    right: 22px; top: 50%;
    transform: translateY(-50%);
    font-size: 1.6rem;
    color: var(--accent);
    transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 22px 18px; margin: 0; color: var(--text-2); }

/* ---------- CTA band ---------- */
.cta-band {
    background: var(--accent);
    color: var(--white);
    padding: 56px 0;
    background-image: repeating-linear-gradient(-45deg, rgba(255,255,255,.05) 0 18px, transparent 18px 36px);
}
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: .3em; }
.cta-band p { margin: 0; opacity: .92; max-width: 620px; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn--accent { background: var(--navy-900); }
.cta-band .btn--accent:hover { background: var(--navy-700); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: var(--ice-300); padding: 64px 0 0; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 40px; }
.footer__brand { font-family: 'Montserrat', var(--font); font-size: 1.9rem; font-weight: 900; letter-spacing: .06em; color: var(--white); margin-bottom: 10px; }
.footer h3 { color: var(--white); font-size: 1.1rem; text-transform: uppercase; letter-spacing: .08em; }
.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list li { margin-bottom: 8px; }
.footer__list a { text-decoration: none; }
.footer__list a:hover { color: var(--white); }
.footer__muted { margin: 0; }
.footer__bottom {
    margin-top: 50px;
    padding-top: 22px;
    padding-bottom: 22px;
    border-top: 1px solid rgba(255,255,255,.08);
    font-size: .85rem;
}

.call-fab {
    display: none;
    position: fixed;
    right: 18px; bottom: 18px;
    z-index: 60;
    width: 60px; height: 60px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    place-items: center;
    box-shadow: var(--shadow-lg);
}
.call-fab svg { width: 28px; height: 28px; }

/* ---------- Animacje wejścia ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .dot--live { animation: none; }
    html { scroll-behavior: auto; }
}

/* =========================================================
   RESPONSYWNOŚĆ
   ========================================================= */
@media (max-width: 1080px) {
    .grid--4, .features { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
    .step::after { display: none; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
    .nav-toggle { display: block; }
    .nav {
        position: absolute;
        top: 100%; left: 0; right: 0;
        max-height: calc(100vh - 76px);
        overflow-y: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 20px 24px;
        background: var(--white);
        border-bottom: 1px solid var(--ice-200);
        box-shadow: var(--shadow);
        transform: translateY(-120%);
        visibility: hidden;
        transition: transform .3s, visibility .3s;
    }
    .nav.is-open { transform: none; visibility: visible; }
    .nav__link { padding: 14px 6px; border-bottom: 1px solid var(--ice-200); border-radius: 0; }
    .nav__link.is-active::after { left: 0; right: auto; width: 4px; top: 12px; bottom: 12px; height: auto; }
    .nav__link.is-active { padding-left: 16px; }
    .nav__cta { margin: 16px 0 0; }

    .hero { padding: 40px 0 36px; }

    .grid--3, .fleet, .plans { grid-template-columns: 1fr; }
    .plan--featured { transform: none; }
    .service { grid-template-columns: 1fr; gap: 30px; padding: 50px 0; }
    .contact, .calc { grid-template-columns: 1fr; }
    .call-fab { display: grid; }
}

@media (max-width: 640px) {
    body { font-size: 16px; }
    .section { padding: 64px 0; }
    .container { padding: 0 16px; }
    .topbar__hide-sm { display: none; }
    .grid--2, .grid--4, .features, .steps { grid-template-columns: 1fr; }
    .field--row { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; gap: 28px; }
    .form-box, .calc__form, .calc__result { padding: 24px; }
    .hero__stats { gap: 24px; }
    .hero__stats strong { font-size: 1.9rem; }
    .btn--lg { width: 100%; }
    .hero__actions .btn { flex: 1 1 100%; }
    .logo__text strong { font-size: 1.3rem; }
    .service-nav { top: 76px; }
}

/* ---------- Efekt: treść nasuwa się na pomarańczowy ekran ---------- */
.page-index .hero {
    position: sticky;
    top: 76px;            /* nadpisywane z JS, gdy hero jest wyższe niż ekran */
    z-index: 0;
}
.page-index main > section:not(.hero) {
    position: relative;
    z-index: 1;
    background-color: var(--white);
}
.page-index main > section.section--ice { background-color: var(--ice-100); }
.page-index main > section.section--dark { background-color: var(--navy-800); }
.page-index .hero + .section {
    border-radius: 28px 28px 0 0;
    margin-top: -28px;
    box-shadow: 0 -18px 40px -12px rgba(11, 22, 36, .35);
}
@media (max-width: 640px) {
    .page-index .hero + .section { border-radius: 20px 20px 0 0; margin-top: -20px; }
}
.page-index .hero { padding-bottom: 80px; }
@media (max-width: 920px) { .page-index .hero { padding-bottom: 60px; } }

/* ---------- Stopka – dół ---------- */
.footer__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer__bottom a { text-decoration: none; }
.footer__bottom a:hover { color: var(--white); text-decoration: underline; }
.checkbox a { color: var(--navy-600); }

/* ---------- Treść tekstowa (polityka prywatności, 404) ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; text-transform: none; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text-2); }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose__date { font-size: .9rem; margin-top: 2em; }
