@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/manrope-latin-ext.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: Manrope;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/manrope-latin.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 {
  --ink: #0f2b38;
  --text: #3a505b;
  --muted: #5b707b;
  --brand: #0e76b7;
  --brand-dark: #046097;
  --brand-soft: #eaf4f9;
  --accent: #2bb7e5;
  --surface: #f5f8fa;
  --line: #e2eaee;
  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;
  --shadow: 0 1px 2px rgb(15 43 56 / .04), 0 10px 30px rgb(15 43 56 / .07);
  --ring: 0 0 0 4px rgb(14 118 183 / .14);
  --header-h: 72px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--text); font: 400 1rem/1.65 Manrope, system-ui, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ul, dl, dd, figure { margin: 0; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 750; line-height: 1.15; letter-spacing: -.025em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 1.45rem + 2.2vw, 2.875rem); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
.icon { width: 24px; height: 24px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
.icons { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.container { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 50; padding: 12px 20px; border-radius: var(--radius-s); background: var(--ink); color: #fff; }
.skip-link:focus { top: 12px; }

/* Elementy wspólne */
.eyebrow { margin-bottom: 14px; color: var(--brand); font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.tile { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border: 1px solid transparent; border-radius: var(--radius-s); font-size: .9375rem; font-weight: 700; line-height: 1.2; white-space: nowrap; transition: background-color .2s, border-color .2s, color .2s; }
.button svg { width: 18px; height: 18px; }
.button.small { min-height: 42px; padding: 9px 16px; font-size: .875rem; }
.primary { background: var(--brand); color: #fff; }
.primary:hover { background: var(--brand-dark); }
.secondary { border-color: var(--line); background: #fff; color: var(--ink); }
.secondary:hover { border-color: var(--brand); color: var(--brand); }
.light { background: #fff; color: var(--brand-dark); }
.light:hover { background: var(--brand-soft); }
.link { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-weight: 700; }
.link svg { width: 18px; height: 18px; }
.checks { display: grid; gap: 12px; padding: 0; list-style: none; }
.checks li { display: flex; align-items: flex-start; gap: 12px; }
.checks svg { width: 20px; height: 20px; margin-top: 2px; color: var(--brand); }
label { font-size: .875rem; font-weight: 700; color: var(--ink); }
input, select, textarea { width: 100%; padding: 12px 14px; border: 1px solid #cfdde4; border-radius: var(--radius-s); background: #fff; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
input::placeholder, textarea::placeholder { color: #7b8e97; }
input:focus, select:focus, textarea:focus { outline: 2px solid transparent; border-color: var(--brand); box-shadow: var(--ring); }

/* Nagłówek */
.header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid transparent; background: rgb(255 255 255 / .86); backdrop-filter: saturate(180%) blur(14px); transition: border-color .2s; }
.header.scrolled { border-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.logo { display: inline-flex; flex-shrink: 0; }
.logo img { width: auto; height: 36px; }
.nav { display: none; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; color: var(--ink); font-size: .9375rem; font-weight: 700; }
.header-phone svg { width: 18px; height: 18px; color: var(--brand); }
.header-cta { display: none; }
.menu-toggle { display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius-s); background: #fff; }
.menu-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 1023px) {
  .nav.open { position: absolute; top: var(--header-h); left: 0; right: 0; display: flex; flex-direction: column; padding: 8px var(--gutter) 16px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
  .nav.open a { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 1.0625rem; font-weight: 600; }
  .nav.open a:last-child { border-bottom: 0; }
}
@media (max-width: 400px) {
  .header-phone span { display: none; }
  .header-phone { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius-s); }
}
@media (min-width: 1024px) {
  :root { --header-h: 80px; }
  .header-inner { gap: 20px; }
  .nav { display: flex; gap: 28px; margin-left: auto; }
  .nav a { color: var(--text); font-size: .9375rem; font-weight: 600; transition: color .2s; }
  .nav a:hover { color: var(--brand); }
  .header-phone { margin-left: 8px; padding-left: 20px; border-left: 1px solid var(--line); }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: none; }
}

/* Hero */
.hero { position: relative; padding: 32px 0 48px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 90% 0%, var(--brand-soft), transparent 70%); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
h1 { margin-bottom: 20px; font-size: clamp(2.625rem, 1.6rem + 3.6vw, 4.125rem); line-height: 1.04; letter-spacing: -.04em; }
h1 span { color: var(--brand); }
.lead { max-width: 34em; font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); }
.address-check { display: flex; flex-direction: column; gap: 8px; max-width: 560px; margin-top: 32px; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); transition: border-color .2s, box-shadow .2s; }
.address-check:focus-within { border-color: var(--brand); box-shadow: var(--ring), var(--shadow); }
.address-field { display: flex; flex: 1; align-items: center; gap: 10px; padding: 0 10px; font-weight: 400; }
.address-field svg { width: 20px; height: 20px; color: var(--brand); }
.address-field input { min-height: 46px; padding: 0; border: 0; box-shadow: none; outline: none; }
.hero-hint { margin-top: 14px; color: var(--muted); font-size: .875rem; }
.hero-hint.is-error { color: #b42318; font-weight: 600; }
.check-result { display: flex; gap: 14px; max-width: 560px; margin-top: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.check-result.is-found { border-color: #b7e2c9; background: #effaf3; }
.check-result .tile { width: 40px; height: 40px; border-radius: 10px; }
.check-result.is-found .tile { background: #d7f2e1; color: #1f7a4c; }
.check-result strong { display: block; color: var(--ink); line-height: 1.4; }
.check-result p { margin: 4px 0 10px; font-size: .9375rem; }
.check-result .link { padding: 0; border: 0; background: none; font-size: .9375rem; }
.hero-media { position: relative; }
.hero-media picture { display: block; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 62% center; border-radius: var(--radius-l); background: #e8e5de; }
.media-tag { position: absolute; top: 16px; left: 16px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgb(255 255 255 / .92); color: var(--ink); font-size: .8125rem; font-weight: 700; }
.media-tag svg { width: 15px; height: 15px; color: var(--brand); }
.float-card { position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 14px; background: rgb(255 255 255 / .94); backdrop-filter: blur(8px); box-shadow: var(--shadow); }
.float-card .tile { width: 42px; height: 42px; border-radius: 10px; }
.float-card strong { display: block; color: var(--ink); font-size: .9375rem; line-height: 1.3; }
.float-card span { color: var(--muted); font-size: .8125rem; }

@media (min-width: 560px) {
  .address-check { flex-direction: row; align-items: center; }
}
@media (min-width: 960px) {
  .hero { padding: 56px 0 72px; }
  .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 56px; }
  .hero-media img { aspect-ratio: 1.05; }
  .float-card { left: -28px; bottom: 36px; }
}

/* Atuty */
.benefits { display: grid; padding: 0; border-block: 1px solid var(--line); list-style: none; }
.benefits li { display: flex; align-items: center; gap: 16px; padding: 18px 0; }
.benefits li + li { border-top: 1px solid var(--line); }
.benefits .tile { width: 44px; height: 44px; }
.benefits strong { display: block; color: var(--ink); }
.benefits span { color: var(--muted); font-size: .875rem; }

@media (min-width: 768px) {
  .benefits { grid-template-columns: repeat(3, 1fr); }
  .benefits li { padding: 24px; }
  .benefits li:first-child { padding-left: 0; }
  .benefits li + li { border-top: 0; border-left: 1px solid var(--line); }
}

/* Sekcje */
.section { padding-block: clamp(64px, 8vw, 112px); }
.section-head { display: grid; gap: 16px; margin-bottom: 40px; }
.section-head > p { max-width: 32em; color: var(--muted); font-size: 1.0625rem; }

@media (min-width: 900px) {
  .section-head { grid-template-columns: 1fr 1fr; align-items: end; gap: 48px; margin-bottom: 48px; }
  .section-head > p { justify-self: end; }
}

/* Oferta */
.offers { display: grid; gap: 20px; }
.offer { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-l); background: #fff; }
.offer-home { border-color: transparent; background: linear-gradient(155deg, var(--brand), var(--brand-dark)); color: #fff; }
.offer-home h3, .offer-home .checks svg { color: #fff; }
.offer-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
.offer-home .tile { background: rgb(255 255 255 / .15); color: #fff; }
.offer-label { color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-align: right; text-transform: uppercase; }
.offer-home .offer-label { color: #fff; }
.offer h3 { margin-bottom: 10px; font-size: 1.625rem; }
.offer > p { max-width: 30em; }
.offer:not(.offer-home) > p { color: var(--muted); }
.offer .checks { margin: 24px 0 32px; }
.offer-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line); }
.offer-home .offer-foot { border-color: rgb(255 255 255 / .22); }
.offer-foot > span { font-size: .9375rem; font-weight: 600; }
.tech-title { margin: 56px 0 20px; font-size: 1.25rem; }
.tech { display: grid; gap: 12px; }
.tech article { display: flex; gap: 16px; padding: 24px; border-radius: var(--radius); background: var(--surface); }
.tech svg { width: 28px; height: 28px; color: var(--brand); }
.tech h4 { margin-bottom: 4px; font-size: 1.0625rem; }
.tech p { color: var(--muted); font-size: .9375rem; }

@media (min-width: 600px) {
  .offer { padding: 36px; }
}
@media (min-width: 860px) {
  .offers { grid-template-columns: 1fr 1fr; gap: 24px; }
  .tech { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

/* Zasięg */
.coverage { background: var(--surface); }
.coverage-map { display: grid; gap: 16px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-l); background: #fff; box-shadow: var(--shadow); }
.map-canvas { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); }
.map-canvas > svg { display: block; width: 100%; height: 100%; stroke: none; }
.map-live { position: absolute; inset: 0; z-index: 0; border-radius: var(--radius); overflow: hidden; }
.coverage-map .leaflet-container { background: var(--surface); font: inherit; }
.coverage-map .leaflet-popup-content { margin: 14px 18px; font-size: .9375rem; line-height: 1.5; }
.coverage-map .leaflet-popup-content strong { display: block; color: var(--ink); }
.coverage-map .leaflet-popup-content p { margin: 2px 0 8px; color: var(--muted); }
.coverage-map .leaflet-popup-content .link { padding: 0; border: 0; background: none; font-size: .875rem; }
#dots circle { fill: #d6e4ea; }
.map-area { fill: rgb(14 118 183 / .13); stroke: var(--brand); stroke-width: 2; stroke-linejoin: round; }
.map-pin { fill: var(--brand); stroke: #fff; stroke-width: 3; }
.map-building { fill: #2fa36b; stroke: #fff; stroke-width: 1.5; }
.map-pulse { fill: rgb(14 118 183 / .25); transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
.map-label { fill: var(--ink); font: 700 16px Manrope, sans-serif; paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.map-aside { display: grid; align-content: start; gap: 20px; padding: 4px; }
.map-legend { display: grid; gap: 14px; padding: 0; list-style: none; }
.map-legend li { display: flex; align-items: flex-start; gap: 12px; }
.map-legend i { width: 14px; height: 14px; margin-top: 4px; flex-shrink: 0; }
.map-legend strong { display: block; color: var(--ink); }
.map-legend span { color: var(--muted); font-size: .875rem; }
.map-legend a { color: var(--brand); font-weight: 600; }
.legend-radio { border: 2px solid var(--brand); border-radius: 50%; background: rgb(14 118 183 / .13); }
.legend-fiber { border-radius: 50%; background: #2fa36b; }
.map-notice { display: grid; gap: 12px; padding: 16px; border-radius: 14px; background: var(--brand-soft); }
.map-notice .tile { width: 40px; height: 40px; border-radius: 10px; background: #fff; }
.map-notice strong { display: block; color: var(--ink); line-height: 1.4; }
.map-notice p { margin: 4px 0 12px; font-size: .9375rem; }
.map-notice-actions { display: grid; gap: 8px; }
@keyframes pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(3); opacity: 0; } }

@media (min-width: 960px) {
  .coverage-map { grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; }
  .map-canvas { aspect-ratio: auto; min-height: 480px; }
  .map-aside { padding: 12px 12px 12px 0; }
}

/* Usługi */
.services { display: grid; gap: 12px; }
.service { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 4px 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-align: left; transition: border-color .2s, box-shadow .2s, transform .2s; }
.service:hover { border-color: #bcd8e6; box-shadow: var(--shadow); transform: translateY(-2px); }
.service .tile { grid-row: span 3; }
.service-name { color: var(--ink); font-size: 1.0625rem; font-weight: 700; letter-spacing: -.01em; }
.service-desc { color: var(--muted); font-size: .9375rem; line-height: 1.55; }
.service-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 8px; color: var(--brand); font-size: .875rem; font-weight: 700; }
.service-more svg { width: 16px; height: 16px; }

@media (min-width: 640px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .service { display: flex; flex-direction: column; align-items: flex-start; padding: 24px; }
  .service .tile { margin-bottom: 14px; }
  .service-more { padding-top: 14px; }
}
@media (min-width: 1000px) {
  .services { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

/* O nas */
.about-section { padding-top: 0; }
.about { display: grid; gap: 40px; align-items: center; }
.about-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; padding: 36px; overflow: hidden; border-radius: var(--radius-l); background: var(--brand-soft); }
.about-year { position: relative; color: var(--brand); font-size: clamp(5rem, 4rem + 4vw, 7.5rem); font-weight: 800; letter-spacing: -.06em; line-height: .9; }
.about-caption { position: relative; margin-bottom: 10px; color: var(--ink); font-size: 1.125rem; font-weight: 600; }
.about-rings { position: absolute; top: -140px; right: -140px; width: 360px; height: 360px; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 38px, #c6e0ec 39px 40px); }
.about-copy > p:not(.eyebrow) { max-width: 34em; margin-top: 16px; color: var(--muted); font-size: 1.0625rem; }
.about-copy .link { margin-top: 24px; }

@media (min-width: 900px) {
  .about { grid-template-columns: 1fr 1fr; gap: 80px; }
  .about-card { min-height: 360px; padding: 48px; }
}

/* FAQ */
.faq-section { border-top: 1px solid var(--line); }
.faq { display: grid; gap: 32px; }
.faq-aside { margin: 16px 0 12px; color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 0; color: var(--ink); font-size: 1.0625rem; font-weight: 700; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary:hover { color: var(--brand); }
.plus { display: grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; background: var(--surface); color: var(--brand); transition: transform .25s, background-color .2s; }
.plus svg { width: 18px; height: 18px; }
details[open] .plus { background: var(--brand-soft); transform: rotate(45deg); }
details p { padding: 0 48px 22px 0; color: var(--muted); }
details a { color: var(--brand); font-weight: 600; }

@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  details::details-content { height: 0; overflow: hidden; transition: height .3s, content-visibility .3s allow-discrete; }
  details[open]::details-content { height: auto; }
}
@media (min-width: 900px) {
  .faq { grid-template-columns: .8fr 1.2fr; gap: 80px; }
}

/* Dla klientów */
.client { padding-top: 0; }
.client-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-l); background: #fff; }
.card-head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.card-head h3 { font-size: 1.25rem; }
.pay dl { display: grid; gap: 20px; }
.pay dt { margin-bottom: 4px; color: var(--muted); font-size: .8125rem; font-weight: 600; }
.pay dd { color: var(--ink); font-weight: 600; }
.account { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 16px; border-radius: 12px; background: var(--surface); font-size: 1.125rem; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.help { display: flex; flex-direction: column; gap: 12px; }
.help p { margin-bottom: 8px; color: var(--muted); }
.help .button { white-space: normal; }
.help .card-head { margin-bottom: 12px; }

@media (min-width: 600px) {
  .card { padding: 36px; }
  .pay dl { grid-template-columns: 1fr 1fr; }
  .account-row { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .client-grid { grid-template-columns: 1.4fr 1fr; gap: 24px; }
}

/* Kontakt */
.contact { padding-block: clamp(64px, 8vw, 104px); background: var(--ink); color: #c3d3da; }
.contact h2 { color: #fff; }
.contact .eyebrow { color: #7fd0ee; }
.contact-grid { display: grid; gap: 40px; align-items: center; }
.contact-grid > div:first-child > p:not(.eyebrow) { max-width: 30em; margin: 16px 0 28px; font-size: 1.0625rem; }
.contact-links { display: grid; }
.contact-links > * { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgb(255 255 255 / .12); color: #fff; }
.contact-links > :last-child { border-bottom: 0; color: #c3d3da; }
.contact-links svg { width: 22px; height: 22px; color: #7fd0ee; }
.contact-links .arrow { margin-left: auto; color: #fff; }
.contact-links a:hover { color: #7fd0ee; }
.contact-phone { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.375rem); font-weight: 750; letter-spacing: -.02em; }

@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
}

/* Polityka prywatności */
.legal-content { max-width: 780px; }
.legal h1 { margin-bottom: 8px; font-size: clamp(2.25rem, 1.8rem + 2vw, 3rem); }
.legal-meta { margin-bottom: 32px; color: var(--muted); font-size: .9375rem; }
.legal h2 { margin: 40px 0 12px; font-size: 1.5rem; }
.legal h3 { margin: 24px 0 8px; font-size: 1.125rem; }
.legal p, .legal ul { margin-bottom: 12px; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal strong { color: var(--ink); }
.legal a { color: var(--brand); font-weight: 600; }
.legal-table { margin-bottom: 12px; overflow-x: auto; }
.legal table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.legal th, .legal td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal th { background: var(--surface); color: var(--ink); }

/* Stopka */
.footer { padding: 56px 0 28px; font-size: .9375rem; }
.footer-grid { display: grid; gap: 32px; }
.footer-brand p { margin-top: 14px; color: var(--muted); }
.footer-title { margin-bottom: 12px; color: var(--muted); font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.footer ul { display: grid; gap: 8px; padding: 0; list-style: none; }
.footer ul a:hover, .footer-bottom a:hover { color: var(--brand); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); }
}

/* Okno zapytania */
dialog { width: min(520px, 100% - 32px); max-height: calc(100dvh - 32px); padding: 32px; overflow: auto; border: 0; border-radius: var(--radius-l); color: var(--text); box-shadow: 0 24px 64px rgb(15 43 56 / .25); }
dialog[open] { animation: pop .2s ease-out; }
dialog::backdrop { background: rgb(15 43 56 / .45); backdrop-filter: blur(4px); }
dialog h2 { font-size: 1.75rem; }
.dialog-intro { margin: 8px 0 24px; color: var(--muted); }
.dialog-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--surface); }
.dialog-close:hover { background: var(--brand-soft); }
.dialog-close svg { width: 20px; height: 20px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field-row { display: grid; gap: 0 12px; }
.field-row .field { margin-bottom: 8px; }
.field-hint { margin-bottom: 16px; color: var(--muted); font-size: .8125rem; }
.field-hint:last-child { margin: 12px 0 0; text-align: center; }
.field-hint a { color: var(--brand); font-weight: 600; }
.hp { position: absolute; left: -9999px; }
.form-error { margin-bottom: 12px; padding: 10px 14px; border-radius: var(--radius-s); background: #fdecea; color: #b42318; font-size: .9375rem; font-weight: 600; }
dialog textarea { resize: vertical; }
dialog .button { width: 100%; margin-top: 4px; }
dialog .button:disabled { opacity: .6; cursor: wait; }
.enquiry-sent { display: grid; justify-items: center; gap: 12px; padding: 12px 0; text-align: center; }
.enquiry-sent .tile { background: #d7f2e1; color: #1f7a4c; }
.enquiry-sent p { color: var(--ink); font-size: 1.0625rem; font-weight: 600; }

@media (min-width: 480px) {
  .field-row { grid-template-columns: 1fr 1fr; }
}
dialog small { display: block; margin-top: 18px; color: var(--muted); font-size: .875rem; text-align: center; }
dialog small a { color: var(--brand); font-weight: 700; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }

@media (max-width: 480px) {
  dialog { padding: 28px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
