/* ==========================================================================
   Zamów Sprzątanie – landing 1.0
   Idea: płaski rzut mieszkania z góry. Morska zieleń + błękit na czystej bieli.
   ========================================================================== */
@font-face { font-family: "Figtree"; font-weight: 300 900; font-display: swap; src: url("../fonts/figtree-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-weight: 300 900; font-display: swap; src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: light;
  --navy: #0F2A43;      /* tekst 14.7:1 */
  --ink-2: #4B5D72;     /* tekst drugorzędny 6.8:1 */
  --ink-3: #55667A;
  --teal: #0B7C7F;      /* CTA, biały tekst 5:1 */
  --teal-d: #08696C;
  --green: #2FBF8F;
  --blue: #3D8BF2;
  --aqua: #7FD9C8;
  --mint: #D9F3EC;
  --mint-2: #EEF9F6;
  --ice: #DCEBFF;
  --ice-2: #F1F7FF;
  --line: #E1E8EE;
  --line-2: #C5D0DA;
  --err: #B42318;
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --pad: clamp(20px, 4vw, 40px);
  --r-xl: 36px; --r-lg: 24px; --r: 16px; --r-sm: 12px;
  --shadow: 0 1px 2px rgba(15,42,67,.06), 0 12px 32px -12px rgba(15,42,67,.18);
  --shadow-lg: 0 2px 4px rgba(15,42,67,.05), 0 30px 60px -20px rgba(15,42,67,.28);
  --ease: cubic-bezier(.2,.7,.2,1);
  --header: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--navy); background: #fff; -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.08; letter-spacing: -.028em; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); letter-spacing: -.04em; line-height: 1; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); letter-spacing: -.035em; }
h3 { font-size: 1.25rem; letter-spacing: -.015em; line-height: 1.2; }
p { margin: 0 0 1em; }
a { color: var(--teal-d); text-underline-offset: .2em; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
ul, ol { margin: 0 0 1em; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--navy); color: #fff; padding: 12px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; color: #fff; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.narrow { max-width: calc(780px + 2 * var(--pad)); }
.muted { color: var(--ink-2); }
.todo { background: #FFF4D6; color: #6B4100; padding: 0 .3em; border-radius: 4px; }
.ic { flex-shrink: 0; }

/* ---------- Przyciski ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 14px; border: 2px solid transparent; font: inherit; font-weight: 700; font-size: 1.02rem; text-decoration: none; cursor: pointer; transition: transform .15s var(--ease), background-color .15s, border-color .15s, box-shadow .15s; line-height: 1.15; text-align: center; }
.btn svg { width: 20px; height: 20px; }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 8px 20px -10px rgba(11,124,127,.8); }
.btn-primary:hover { background: var(--teal-d); color: #fff; transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--navy); border-color: var(--line-2); }
.btn-light:hover { border-color: var(--navy); color: var(--navy); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--mint); color: var(--navy); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .95rem; }
.btn-block { width: 100%; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* ---------- Nagłówek ---------- */
.top { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.is-scrolled { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; min-height: var(--header); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-size: 1.28rem; letter-spacing: -.035em; font-weight: 500; flex-shrink: 0; }
.logo b { font-weight: 850; }
.logo:hover { color: var(--navy); }
.logo-mark { width: 34px; height: 34px; }
.nav { margin-left: auto; }
.nav ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.nav a { display: block; padding: 10px 13px; border-radius: 10px; color: var(--navy); text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav a:hover { background: var(--mint-2); }
.nav a[aria-current] { color: var(--teal-d); background: var(--mint-2); }
.top-cta { display: flex; align-items: center; gap: 12px; }
.top-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 750; color: var(--navy); text-decoration: none; white-space: nowrap; }
.top-phone svg { width: 26px; height: 26px; }
.menu { display: none; margin-left: auto; }
.menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 16px; border-radius: 12px; background: var(--mint-2); font-weight: 700; }
.menu summary::-webkit-details-marker { display: none; }
.bars, .bars::before, .bars::after { display: block; width: 18px; height: 2.4px; border-radius: 2px; background: var(--navy); position: relative; transition: transform .2s var(--ease); }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -6px; } .bars::after { top: 6px; }
.menu[open] .bars { background: transparent; }
.menu[open] .bars::before { transform: translateY(6px) rotate(45deg); }
.menu[open] .bars::after { transform: translateY(-6px) rotate(-45deg); }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; background: #fff; padding: 8px var(--pad) 24px; border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgba(15,42,67,.35); max-height: calc(100vh - var(--header)); overflow: auto; }
.menu-panel ul { list-style: none; padding: 0; margin: 0 0 16px; }
.menu-panel li a { display: flex; align-items: center; gap: 14px; min-height: 56px; border-bottom: 1px solid var(--line); color: var(--navy); text-decoration: none; font-weight: 700; font-size: 1.08rem; }
.menu-panel li a svg { width: 30px; height: 30px; }
.menu-panel .btn { margin-top: 8px; }
@media (max-width: 1120px) { .nav, .top-cta { display: none; } .menu { display: block; } }
@media (max-width: 380px) { .logo { font-size: 1.08rem; } .logo-mark { width: 28px; height: 28px; } .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .top-in { gap: 12px; } }

/* ---------- Okruszki ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; list-style: none; padding: 16px 0 0; margin: 0; font-size: .9rem; color: var(--ink-3); }
.crumbs li:not(:last-child)::after { content: "›"; margin: 0 8px; color: var(--line-2); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(24px, 4vw, 56px) 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px; background: var(--mint-2); color: var(--teal-d); font-weight: 700; font-size: .92rem; margin-bottom: 22px; }
.chip svg { width: 22px; height: 22px; }
.hero h1 em { font-style: normal; color: var(--teal); }
.lead { font-size: clamp(1.12rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 44ch; line-height: 1.5; }
.lead p:last-child { margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 34px; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.facts li { display: flex; gap: 12px; align-items: flex-start; }
.facts svg { width: 36px; height: 36px; }
.facts b { display: block; font-size: 1.02rem; letter-spacing: -.01em; }
.facts span { color: var(--ink-2); font-size: .88rem; line-height: 1.35; display: block; }
.hero-art { position: relative; background: var(--mint-2); border-radius: var(--r-xl); padding: clamp(18px, 3vw, 36px); }
.hero-art .floorplan { width: 100%; filter: drop-shadow(0 30px 40px rgba(15,42,67,.18)); }
.fp-label { font: 800 13px var(--font); letter-spacing: .12em; fill: var(--navy); opacity: .55; }
.fp-label-dark { fill: #fff; opacity: .5; }
.fp-tick { transform-box: fill-box; transform-origin: center; animation: pop .5s var(--ease) both; animation-delay: var(--d); }
@keyframes pop { from { opacity: 0; transform: scale(.2); } 70% { transform: scale(1.12); } }
.float { position: absolute; display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 18px; padding: 12px 18px 12px 12px; box-shadow: var(--shadow-lg); font-size: .9rem; line-height: 1.25; }
.float svg { width: 38px; height: 38px; }
.float b { display: block; font-size: 1rem; }
.float-price { right: -14px; bottom: 28px; }
.float-price strong { display: block; font-size: 1.7rem; letter-spacing: -.04em; line-height: 1; color: var(--teal-d); }
.float-pay { left: -22px; bottom: 120px; }
@media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; } .float-price { right: 12px; } .float-pay { left: 12px; } }
.foot { margin-top: clamp(32px, 5vw, 72px); }
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; gap: 12px; }
  .float { position: static; margin-top: 12px; } .hero-art { padding-bottom: 18px; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- Kalkulator (karta nachodząca na hero) ---------- */
.calc-wrap { position: relative; z-index: 2; margin-top: clamp(28px, 5vw, 64px); }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) 330px; background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.calc-form { padding: clamp(22px, 3vw, 36px); }
.calc-form h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 4px; }
.calc-form > p { color: var(--ink-2); margin-bottom: 22px; }
.calc-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 16px; }
.calc-grid .span-2 { grid-column: span 2; }
.calc-grid .span-4 { grid-column: 1 / -1; }
.calc-out { background: var(--teal); color: #fff; padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; position: relative; overflow: hidden; }
.calc-out::before { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255,255,255,.08); }
.calc-out::after { content: ""; position: absolute; left: -40px; bottom: -70px; width: 180px; height: 180px; border-radius: 40px; transform: rotate(20deg); background: rgba(47,191,143,.35); }
.calc-out > * { position: relative; z-index: 1; }
.out-label { font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.out-total { font-size: clamp(3rem, 5vw, 4rem); font-weight: 850; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.out-total.bump { animation: bump .35s var(--ease); }
@keyframes bump { 40% { transform: scale(1.04); } }
.out-desc { font-size: .95rem; opacity: .9; line-height: 1.4; min-height: 2.8em; }
.out-lines { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid rgba(255,255,255,.25); font-size: .88rem; }
.out-lines li { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; opacity: .92; }
.out-note { font-size: .82rem; opacity: .85; margin: 0; }
.calc-out .btn-white { color: var(--teal-d); }
@media (max-width: 980px) { .calc { grid-template-columns: 1fr; } .calc-grid { grid-template-columns: 1fr 1fr; } .calc-grid .span-2 { grid-column: 1 / -1; } }
@media (max-width: 420px) { .calc-grid { grid-template-columns: 1fr 1fr; gap: 12px; } }

/* ---------- Pola ---------- */
.f { margin: 0; border: 0; padding: 0; min-width: 0; }
.f > label, .f > legend { display: block; font-weight: 700; font-size: .93rem; margin-bottom: 7px; padding: 0; }
.opt { font-weight: 500; color: var(--ink-3); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], select, textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; font-size: 1.03rem; color: var(--navy); background: var(--ice-2); border: 2px solid transparent; border-radius: 12px; appearance: none; -webkit-appearance: none; transition: border-color .15s, background-color .15s, box-shadow .15s;
}
textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
input:hover, select:hover, textarea:hover { background: #E9F2FF; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(11,124,127,.15); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--err); background: #FEF3F2; }
::placeholder { color: #8796A6; }
input[type=number] { -moz-appearance: textfield; }
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.sel { position: relative; }
.sel::after { content: ""; position: absolute; right: 16px; top: 50%; width: 9px; height: 9px; border-right: 2.5px solid var(--navy); border-bottom: 2.5px solid var(--navy); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.sel select { padding-right: 42px; }
.unit { position: relative; }
.unit input { padding-right: 50px; }
.unit span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-3); font-weight: 600; pointer-events: none; }
.step { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; background: var(--ice-2); border-radius: 12px; }
.step input { background: transparent; text-align: center; font-weight: 700; padding-inline: 2px; }
.step input:focus { background: #fff; }
.step button { border: 0; background: transparent; font-size: 1.4rem; font-weight: 600; color: var(--teal-d); cursor: pointer; border-radius: 12px; min-height: 52px; }
.step button:hover { background: var(--mint); }
html:not(.js) .step { grid-template-columns: 1fr; } html:not(.js) .step button { display: none; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; flex: 1 1 auto; }
.seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 0 16px; border-radius: 12px; background: var(--ice-2); font-weight: 650; white-space: nowrap; transition: background-color .15s, color .15s; }
.seg em { font-style: normal; font-weight: 800; font-size: .82rem; color: var(--teal-d); }
.seg label:hover span { background: #E9F2FF; }
.seg input:checked + span { background: var(--navy); color: #fff; }
.seg input:checked + span em { color: var(--aqua); }
.seg input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.addons-d { border-top: 1px dashed var(--line-2); padding-top: 14px; }
.addons-d summary { cursor: pointer; font-weight: 700; color: var(--teal-d); min-height: 40px; display: flex; align-items: center; }
.addons { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px 16px; margin-top: 10px; }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: .97rem; line-height: 1.45; min-height: 40px; padding-top: 4px; }
.check input { flex: 0 0 22px; width: 22px; height: 22px; margin: 0; accent-color: var(--teal); }
.check .price { margin-left: auto; font-weight: 700; white-space: nowrap; color: var(--teal-d); }
.ferr { color: var(--err); font-size: .9rem; font-weight: 600; margin: 6px 0 0; }
.hp { position: absolute; left: -9999px; }

/* ---------- Sekcje ---------- */
.sec { padding-block: clamp(48px, 6.5vw, 96px); }
.sec-tight { padding-block: clamp(24px, 3.5vw, 44px); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head > div { max-width: 640px; }
.sec-head p { color: var(--ink-2); margin: 0; font-size: 1.08rem; }
.kicker { display: inline-block; font-weight: 800; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.panel { border-radius: var(--r-xl); padding: clamp(28px, 5vw, 64px); }
.panel-mint { background: var(--mint-2); }
.panel-ice { background: var(--ice-2); }
.panel-navy { background: var(--navy); color: #fff; }
.panel-navy .kicker { color: var(--aqua); }
.panel-navy p, .panel-navy li { color: #C8D6E3; }
.panel-navy a:not(.btn) { color: #fff; }

/* ---------- Usługi (kafle) ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.tile a { display: flex; flex-direction: column; height: 100%; padding: 24px; border-radius: var(--r-lg); background: #fff; border: 1.5px solid var(--line); color: var(--navy); text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; position: relative; }
.tile a:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.tile .tile-ic { width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 20px; }
.tile:nth-child(4n+1) .tile-ic { background: var(--ice); } .tile:nth-child(4n+2) .tile-ic { background: var(--mint); }
.tile:nth-child(4n+3) .tile-ic { background: #E4F6F1; } .tile:nth-child(4n+4) .tile-ic { background: #E8F0FF; }
.tile .tile-ic svg { width: 46px; height: 46px; }
.tile h3 { margin-bottom: 8px; }
.tile p { color: var(--ink-2); font-size: .95rem; margin-bottom: 18px; }
.tile .tile-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
.price-chip { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; background: var(--mint-2); color: var(--teal-d); font-weight: 800; font-size: .92rem; white-space: nowrap; }
.tile .arrow { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: #fff; transition: transform .2s var(--ease), background-color .2s; }
.tile .arrow svg { width: 18px; height: 18px; }
.tile a:hover .arrow { transform: translateX(3px); background: var(--teal); }
.tile-firm a { background: var(--navy); border-color: var(--navy); color: #fff; }
.tile-firm p { color: #C8D6E3; } .tile-firm .tile-ic { background: rgba(255,255,255,.1) !important; }
.tile-firm .price-chip { background: rgba(255,255,255,.12); color: var(--aqua); }
.tile-firm .arrow { background: var(--green); }
@media (max-width: 1100px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } .tile a { flex-direction: row; flex-wrap: wrap; gap: 0 16px; padding: 18px; } .tile .tile-ic { width: 60px; height: 60px; margin: 0; } .tile .tile-body { flex: 1; min-width: 0; } .tile .tile-foot { width: 100%; margin-top: 12px; } .tile p { margin-bottom: 0; } }

/* ---------- Dla firm ---------- */
.firm { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.firm h2 { color: #fff; }
.ticks { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks svg { width: 26px; height: 26px; margin-top: 1px; }
.firm .officeplan { width: 100%; border-radius: 20px; }
@media (max-width: 900px) { .firm { grid-template-columns: 1fr; } }

/* ---------- Kroki ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 32px); counter-reset: s; }
.steps li { position: relative; background: #fff; border-radius: var(--r-lg); padding: 28px; border: 1.5px solid var(--line); }
.steps li::before { counter-increment: s; content: "0" counter(s); position: absolute; right: 24px; top: 20px; font-size: 3.2rem; font-weight: 850; letter-spacing: -.05em; color: var(--mint); line-height: 1; }
.steps svg { width: 52px; height: 52px; margin-bottom: 18px; }
.steps p { color: var(--ink-2); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Zasady ---------- */
.rules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 40px; }
.rules li { display: grid; grid-template-columns: 52px 1fr; gap: 0 16px; }
.rules svg { width: 52px; height: 52px; grid-row: span 2; }
.rules h3 { margin: 4px 0 6px; font-size: 1.12rem; }
.rules p { color: var(--ink-2); margin: 0; font-size: .97rem; }
@media (max-width: 960px) { .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .rules { grid-template-columns: 1fr; } }

/* ---------- Pakiety ---------- */
.pkgs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.pkg { background: #fff; border-radius: var(--r-lg); padding: 30px; display: flex; flex-direction: column; border: 1.5px solid var(--line); }
.pkg-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pkg h3 { font-size: 1.5rem; margin: 0; }
.pkg .from { font-size: .95rem; color: var(--ink-2); }
.pkg .from b { font-size: 2.4rem; letter-spacing: -.05em; color: var(--navy); font-weight: 850; }
.pkg .pkg-sum { color: var(--ink-2); font-size: .95rem; margin: 10px 0 18px; }
.pkg .ticks { margin-bottom: 24px; font-size: .95rem; gap: 9px; }
.pkg .ticks svg { width: 20px; height: 20px; }
.pkg .btn { margin-top: auto; }
.pkg-feat { background: var(--navy); color: #fff; border-color: var(--navy); position: relative; }
.pkg-feat .from, .pkg-feat .pkg-sum, .pkg-feat li { color: #C8D6E3; }
.pkg-feat .from b { color: #fff; }
.pkg-badge { position: absolute; top: -14px; left: 30px; background: var(--green); color: var(--navy); font-weight: 800; font-size: .8rem; padding: 6px 12px; border-radius: 999px; letter-spacing: .02em; }
@media (max-width: 960px) { .pkgs { grid-template-columns: 1fr; } }

/* ---------- Tabele ---------- */
.tw { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r); border: 1.5px solid var(--line); background: #fff; }
.tbl th, .tbl td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl thead th { background: var(--ice-2); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); font-weight: 800; }
.tbl tbody th { font-weight: 600; }
.tbl tr:last-child > * { border-bottom: 0; }
.tbl td.c, .tbl th.c { text-align: center; }
.tbl .num { font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tbl .yes svg { width: 22px; height: 22px; margin: auto; }
.tbl .no { color: var(--line-2); font-weight: 800; }
.tbl .feat { background: var(--mint-2); }
@media (max-width: 640px) { .tbl th, .tbl td { padding: 10px 8px; font-size: .88rem; } .tbl thead th { font-size: .68rem; letter-spacing: .02em; } }

/* ---------- Obszar ---------- */
.area { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.area-card { display: flex; gap: 16px; align-items: center; background: #fff; border-radius: var(--r); padding: 18px; margin-top: 18px; box-shadow: var(--shadow); }
.area-card svg { width: 48px; height: 48px; }
.tags { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 8px 14px; border-radius: 999px; background: #fff; font-weight: 600; font-size: .93rem; border: 1.5px solid var(--line); }
.tags-green li { background: var(--mint); border-color: var(--mint); color: var(--navy); }
.area h3 { font-size: 1.05rem; margin-bottom: 12px; }
@media (max-width: 860px) { .area { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { border-radius: var(--r); background: #fff; border: 1.5px solid var(--line); margin-bottom: 10px; transition: border-color .2s; }
.faq details[open] { border-color: var(--teal); }
.faq summary { list-style: none; cursor: pointer; display: flex; gap: 16px; justify-content: space-between; align-items: center; padding: 18px 22px; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: 1.08rem; font-weight: 700; }
.faq summary::after { content: ""; flex: 0 0 30px; height: 30px; border-radius: 10px; background: var(--mint-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%230B7C7F' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 22px 20px; color: var(--ink-2); }
.faq .a p:last-child { margin: 0; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.qc { display: grid; gap: 12px; margin-top: 24px; }
.qc a, .qc div { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: var(--r); padding: 18px 20px; text-decoration: none; color: var(--navy); box-shadow: var(--shadow); transition: transform .2s var(--ease); }
.qc a:hover { transform: translateY(-2px); color: var(--navy); }
.qc svg { width: 44px; height: 44px; }
.qc small { display: block; color: var(--ink-2); font-size: .85rem; font-weight: 600; }
.qc b { font-size: 1.2rem; letter-spacing: -.01em; word-break: break-word; }
.form-card { background: #fff; border-radius: var(--r-xl); padding: clamp(22px, 3.5vw, 40px); box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: 1.5rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-note { font-size: .88rem; color: var(--ink-2); margin: 12px 0 0; }
.form-alert { background: #FEF3F2; border: 1.5px solid var(--err); color: var(--err); border-radius: 12px; padding: 12px 16px; font-weight: 600; margin-bottom: 16px; }
.quote-box { background: var(--mint-2); border-radius: 12px; padding: 12px 16px; font-size: .95rem; color: var(--navy); }
.quote-box b { color: var(--teal-d); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Podstrona usługi ---------- */
.svc-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding-top: clamp(16px, 3vw, 32px); }
.svc-hero h1 { font-size: clamp(2.3rem, 4.8vw, 3.9rem); }
.svc-badge { background: var(--mint-2); border-radius: var(--r-xl); padding: clamp(24px, 3vw, 36px); display: grid; gap: 16px; }
.svc-badge .big-ic { width: 112px; height: 112px; }
.svc-badge .from { font-size: 1rem; color: var(--ink-2); }
.svc-badge .from b { display: block; font-size: clamp(2.6rem, 4vw, 3.4rem); letter-spacing: -.05em; color: var(--navy); line-height: 1; font-weight: 850; }
.svc-badge ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .95rem; color: var(--ink-2); }
.svc-badge li { display: flex; gap: 8px; align-items: center; }
.svc-badge li svg { width: 20px; height: 20px; }
@media (max-width: 900px) { .svc-hero { grid-template-columns: 1fr; } }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.box { border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); }
.box h2 { font-size: 1.5rem; }
.box-yes { background: var(--mint-2); } .box-no { background: #F6F8FA; }
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.list li { display: flex; gap: 12px; align-items: flex-start; }
.list svg { width: 24px; height: 24px; flex: 0 0 24px; margin-top: 2px; }
.list .x { width: 24px; height: 24px; flex: 0 0 24px; margin-top: 2px; border-radius: 8px; background: #E4E9EE; position: relative; }
.list .x::before { content: ""; position: absolute; left: 6px; right: 6px; top: 11px; height: 2.5px; border-radius: 2px; background: var(--ink-3); }
.box-no li { color: var(--ink-2); }
@media (max-width: 760px) { .cols { grid-template-columns: 1fr; } }

/* ---------- Treść ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose > :first-child { margin-top: 0; }
.prose ul:not(.checklist), .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--teal); font-weight: 800; }
.prose .table-wrap { overflow-x: auto; border-radius: var(--r); border: 1.5px solid var(--line); margin: 0 0 1.4em; }
.prose table { font-size: .95rem; }
.prose th, .prose td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.prose thead th { background: var(--ice-2); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); font-weight: 800; }
.prose tbody th { font-weight: 600; }
.prose td { font-weight: 750; white-space: nowrap; font-variant-numeric: tabular-nums; }
.prose tr:last-child > * { border-bottom: 0; }
.prose .checklist { list-style: none; padding: 0; display: grid; gap: 10px; }
.prose .checklist li { position: relative; padding-left: 36px; margin: 0; }
.prose .checklist li::before { content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 8px; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6.5 12.5 3.5 3.5 7.5-8' fill='none' stroke='%23fff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.prose .checklist li.is-off { color: var(--ink-2); }
.prose .checklist li.is-off::before { background: #E4E9EE; }
.prose .answer { margin: 0 0 2em; padding: 20px 24px; background: var(--mint-2); border-radius: var(--r); font-size: 1.08rem; border-left: 5px solid var(--green); }
.prose .answer p { margin: 0; }
.prose a { font-weight: 600; }

/* ---------- CTA band ---------- */
.band { background: var(--teal); border-radius: var(--r-xl); padding: clamp(32px, 5vw, 56px); display: flex; justify-content: space-between; align-items: center; gap: 24px 48px; flex-wrap: wrap; color: #fff; position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; right: 6%; bottom: -90px; width: 240px; height: 240px; border-radius: 60px; transform: rotate(25deg); background: rgba(47,191,143,.4); }
.band > * { position: relative; z-index: 1; }
.band h2 { color: #fff; margin-bottom: .2em; }
.band p { margin: 0; color: #DDF3F1; max-width: 52ch; }
.band-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.band .btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.band .btn-ghost:hover { border-color: #fff; color: #fff; }

/* ---------- Stopka ---------- */
.foot { background: var(--navy); color: #C8D6E3; margin-top: clamp(64px, 9vw, 120px); padding-top: clamp(48px, 6vw, 80px); font-size: .96rem; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { text-decoration: underline; color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.foot .logo { color: #fff; margin-bottom: 16px; }
.foot h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--aqua); margin-bottom: 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { padding: 4px 0; }
.foot li a { display: inline-block; min-height: 32px; line-height: 32px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .86rem; color: #9FB2C6; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Pasek mobilny ---------- */
.mbar { display: none; }
@media (max-width: 1120px) {
  .mbar { display: flex; gap: 10px; position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.98); box-shadow: 0 -10px 30px -14px rgba(15,42,67,.35); transition: transform .25s var(--ease); }
  .mbar .btn { flex: 1; min-height: 50px; }
  .mbar .btn-light { flex: 0 0 auto; }
  .mbar.hide { transform: translateY(110%); }
  .foot { padding-bottom: 78px; }
}

/* ---------- Ruch na scroll (tylko pojawienie się ikon w hero) ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print { .top, .mbar, .foot, .band { display: none !important; } }

@media (max-width: 560px) { .seg label { flex: 1 1 calc(50% - 4px); } .seg span { padding: 0 10px; } .svc-badge .big-ic { width: 84px; height: 84px; } }

@media (max-width: 1599px) { .top-mail { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

.nav a, .top-cta .btn { white-space: nowrap; }
.top-phone[href^="mailto"] { padding: 8px; border-radius: 10px; } .top-phone[href^="mailto"]:hover { background: var(--mint-2); }
