/* =====================================================
   Anteny Gdańsk — style.css
   Fonty: DM Sans (nagłówki) + Inter (tekst)
   Motyw: jasny / ciemny przez [data-theme]
   ===================================================== */

:root {
   --font-head: system-ui, -apple-system, "Segoe UI", sans-serif;
   --font-body: system-ui, -apple-system, "Segoe UI", sans-serif;

   /* Jasny motyw — sky blue + biel */
   --bg: #f4f9fe;
   --bg-alt: #ffffff;
   --surface: #ffffff;
   --ink: #0A3D62;
   --muted: #48657d;
   --line: #dfeaf4;
   --navy: #0A3D62;
   --navy-2: #0e5285;
   --accent: #0D8DE3;
   --accent-ink: #ffffff;
   --accent-soft: rgba(13, 141, 227, 0.10);
   --cta: #00C853;
   --cta-hover: #00b34a;
   --cta-ink: #ffffff;
   --shadow: 0 10px 30px rgba(10, 61, 98, 0.08);
   --shadow-lg: 0 24px 60px rgba(10, 61, 98, 0.14);
   --header-bg: rgba(255, 255, 255, 0.88);
   --hero-b-bg: radial-gradient(1200px 600px at 80% -10%, rgba(13,141,227,.12), transparent 60%), linear-gradient(180deg, #eaf4fc, #f4f9fe);
}

/* Lekkie ikony lokalne. Zastępują dwa zewnętrzne fonty (ok. 850 KB),
   dzięki czemu ikony nie blokują pierwszego renderowania strony. */
.fi { display: inline-block; width: 1.15em; line-height: 1; text-align: center; font-style: normal; }
.fi::before { content: "•"; }
.fi-rr-sun::before { content: "☀"; }
.fi-rr-moon::before { content: "☾"; }
.fi-rr-phone-call::before { content: "☎"; }
.fi-rr-marker::before { content: "●"; }
.fi-rr-arrow-small-right::before, .fi-rr-angle-small-right::before { content: "→"; }
.fi-rr-angle-small-left::before { content: "←"; }
.fi-rr-angle-small-down::before { content: "⌄"; }
.fi-sr-star::before, .fi-rr-star::before { content: "★"; }
.fi-rr-shield-check::before, .fi-rr-check::before { content: "✓"; }
.fi-rr-time-fast::before, .fi-rr-clock::before { content: "◷"; }
.fi-rr-power::before { content: "⏻"; }
.fi-rr-satellite-dish::before { content: "◉"; }
.fi-rr-settings-sliders::before, .fi-rr-tools::before { content: "⚙"; }
.fi-rr-screen::before { content: "▣"; }
.fi-rr-camera::before { content: "◙"; }
.fi-rr-wifi::before, .fi-rr-signal-alt-2::before { content: "≋"; }
.fi-rr-building::before, .fi-rr-home::before { content: "⌂"; }
.fi-rr-envelope::before { content: "✉"; }
.fi-rr-paper-plane::before { content: "➤"; }
.fi-rr-lock::before { content: "▰"; }
.fi-rr-info::before { content: "i"; }
.fi-rr-exclamation::before { content: "!"; }
.fi-rr-refresh::before { content: "↻"; }
.fi-rr-search::before { content: "⌕"; }
.fi-rr-apps::before { content: "▦"; }
.fi-rr-water::before { content: "≈"; }
.fi-rr-wind::before { content: "≋"; }

[data-theme="dark"] {
   --bg: #081826;
   --bg-alt: #0b1f30;
   --surface: #0f273b;
   --ink: #e8f2fa;
   --muted: #93b0c5;
   --line: #1d3a52;
   --navy: #0A3D62;
   --navy-2: #0e5285;
   --accent: #45aef0;
   --accent-ink: #04263d;
   --accent-soft: rgba(69, 174, 240, 0.12);
   --cta: #00e065;
   --cta-hover: #00c857;
   --cta-ink: #04301a;
   --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
   --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);
   --header-bg: rgba(8, 24, 38, 0.85);
   --hero-b-bg: radial-gradient(1200px 600px at 80% -10%, rgba(69,174,240,.10), transparent 60%), linear-gradient(180deg, #0a1e30, #081826);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
   font-family: var(--font-body);
   font-size: 16px;
   line-height: 1.65;
   color: var(--ink);
   background: var(--bg);
   transition: background 0.35s ease, color 0.35s ease;
   -webkit-font-smoothing: antialiased;
}

/* ---------- Podstrony usługowe i lokalne ---------- */
.subpage-hero {
   padding: clamp(132px, 14vw, 190px) 0 clamp(72px, 8vw, 110px);
   background: var(--hero-b-bg);
   overflow: hidden;
}
.subpage-hero-grid {
   display: grid;
   grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
   align-items: center;
   gap: clamp(44px, 7vw, 90px);
}
.breadcrumbs {
   display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
   margin-bottom: 22px; color: var(--muted); font-size: .88rem;
}
.breadcrumbs a:hover { color: var(--accent); }
.subpage-hero h1 { margin: 14px 0 20px; max-width: 720px; }
.subpage-hero .hero-lead { max-width: 720px; color: var(--muted); font-size: 1.1rem; }
.subpage-hero .hero-cta { margin-top: 30px; }
.btn-subtle { background: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow); }
.btn-subtle:hover { border-color: var(--accent); transform: translateY(-3px); }
.subpage-badges { color: var(--muted); }
.subpage-badges i { color: var(--accent); }
.subpage-hero-media { position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); }
.subpage-hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.subpage-hero-media figcaption {
   position: absolute; left: 18px; bottom: 18px; display: flex; align-items: center; gap: 8px;
   padding: 10px 16px; border-radius: 999px; color: #fff; background: rgba(8,24,38,.84);
   backdrop-filter: blur(10px); font-size: .88rem; font-weight: 600;
}
.content-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(44px, 7vw, 92px); align-items: center; }
.content-grid.reverse { grid-template-columns: .85fr 1.15fr; }
.content-grid.reverse .content-image { order: -1; }
.prose h2 { margin-bottom: 24px; }
.prose p { color: var(--muted); margin-top: 16px; }
.info-card, .process-card {
   background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow);
}
.info-card { padding: clamp(28px, 4vw, 44px); }
.info-card h3 { margin-bottom: 22px; }
.info-card .check-list { margin: 0; }
.compact-section { padding: clamp(72px, 8vw, 118px) 0; }
.process-section { background: var(--bg-alt); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; }
.process-card { padding: 28px; }
.process-card > span { display: block; color: var(--accent); font: 800 2rem/1 var(--font-head); margin-bottom: 30px; }
.process-card h3 { margin-bottom: 12px; }
.process-card p { color: var(--muted); font-size: .95rem; }
.content-image { border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); }
.content-image img { width: 100%; min-height: 420px; object-fit: cover; }

@media (max-width: 900px) {
   .subpage-hero-grid, .content-grid, .content-grid.reverse { grid-template-columns: 1fr; }
   .subpage-hero-media { max-width: 680px; }
   .content-grid.reverse .content-image { order: 0; }
   .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
   .subpage-hero { padding-top: 112px; }
   .subpage-hero-media { border-radius: 20px; }
   .process-grid { grid-template-columns: 1fr; }
   .content-image img { min-height: 280px; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 {
   font-family: var(--font-head);
   line-height: 1.15;
   font-weight: 700;
   text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.6rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -0.015em; }
h3 { font-size: 1.15rem; }
p { text-wrap: pretty; }

.container { width: min(1180px, 90%); margin-inline: auto; }
.section { padding: clamp(88px, 11vw, 168px) 0; }

.eyebrow {
   display: inline-flex; align-items: center; gap: 8px;
   font-family: var(--font-head); font-weight: 700; font-size: 0.85rem;
   letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent);
   margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }

.section-head { max-width: 640px; margin-bottom: clamp(44px, 5vw, 72px); }
.section-sub { color: var(--muted); margin-top: 12px; }
h2 em { font-style: normal; color: var(--accent); }

/* ---------- Przyciski ---------- */
.btn {
   display: inline-flex; align-items: center; gap: 10px;
   font-family: var(--font-head); font-weight: 600; font-size: 0.98rem;
   padding: 13px 24px; border-radius: 999px; border: 2px solid transparent;
   cursor: pointer; position: relative; overflow: hidden;
   transition: transform 0.25s cubic-bezier(.2,.8,.3,1.2), box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn i { transition: transform 0.25s ease; }
/* Optyczne centrowanie glifów uicons (font rysuje je lekko nad środkiem) */
.brand-mark i, .theme-toggle i, .btn i, .mobile-call i { line-height: 1; }
.brand-mark i::before, .theme-toggle i::before, .btn i::before, .mobile-call i::before {
   display: block; line-height: 1; transform: translateY(0.09em);
}
.btn:hover i.fi-rr-arrow-small-right { transform: translateX(4px); }
.btn:hover i.fi-rr-phone-call { transform: rotate(-12deg) scale(1.12); }
.btn:active { transform: scale(0.97); }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }

.btn-primary { background: var(--cta); color: var(--cta-ink); box-shadow: 0 8px 24px rgba(0, 200, 83, 0.35); }
.btn-primary:hover { background: var(--cta-hover); transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0, 200, 83, 0.45); }

.btn-ghost { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.35); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,0.2); border-color: #fff; transform: translateY(-3px); }

/* Hero ma jasne tło w trybie jasnym, więc telefon wymaga ciemnego tekstu i obramowania. */
[data-theme="light"] .hero .btn-ghost {
   background: var(--surface); color: var(--navy); border-color: var(--navy);
   box-shadow: 0 6px 20px rgba(10, 61, 98, 0.10);
}
[data-theme="light"] .hero .btn-ghost:hover {
   background: var(--navy); color: #fff; border-color: var(--navy);
}

.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0,0,0,0.25); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.12); transform: translateY(-3px); }

/* Efekt „shine” na głównych przyciskach */
.btn-primary::after, .btn-light::after {
   content: ""; position: absolute; inset: 0;
   background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.55) 50%, transparent 70%);
   transform: translateX(-110%);
}
.btn-primary:hover::after, .btn-light:hover::after { animation: shine 0.7s ease; }
@keyframes shine { to { transform: translateX(110%); } }

/* ---------- Nagłówek ---------- */
.site-header {
   position: fixed; inset: 0 0 auto 0; z-index: 100;
   background: var(--header-bg); backdrop-filter: blur(14px);
   border-bottom: 1px solid var(--line);
   transition: background 0.35s ease, box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; }
.brand-mark {
   width: 38px; height: 38px; display: grid; place-items: center;
   background: var(--navy); color: var(--accent); border-radius: 12px; font-size: 1.1rem;
   position: relative; overflow: hidden;
}
.brand-mark::after {
   content: ""; position: absolute; inset: 0; border-radius: 12px;
   border: 2px solid var(--accent); opacity: 0; animation: pulse-ring 2.6s ease-out infinite;
}
@keyframes pulse-ring {
   0% { transform: scale(0.6); opacity: 0.8; }
   70%, 100% { transform: scale(1.25); opacity: 0; }
}
.brand-text em { font-style: normal; color: var(--accent); }
.brand-logo { height: 26px; width: auto; display: block; }
.brand-logo-dark { display: none; }
[data-theme="dark"] .brand-logo-light { display: none; }
[data-theme="dark"] .brand-logo-dark { display: block; }

.main-nav { display: flex; gap: 26px; }
.main-nav a { font-weight: 500; font-size: 0.95rem; color: var(--muted); position: relative; padding: 6px 0; }
.main-nav a::after {
   content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
   background: var(--accent); border-radius: 2px; transform: scaleX(0); transform-origin: left;
   transition: transform 0.28s ease;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.theme-toggle {
   width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
   background: var(--surface); color: var(--ink); cursor: pointer;
   display: grid; place-items: center; font-size: 1.05rem; position: relative; overflow: hidden;
   transition: border-color 0.25s ease, transform 0.25s ease;
}
.theme-toggle:hover { border-color: var(--accent); transform: rotate(15deg); }
.theme-toggle i { grid-area: 1 / 1; transition: transform 0.4s cubic-bezier(.5,-0.5,.3,1.4), opacity 0.3s ease; }
[data-theme="light"] .theme-toggle .icon-sun { transform: translateY(0); opacity: 1; }
[data-theme="light"] .theme-toggle .icon-moon { transform: translateY(140%); opacity: 0; }
[data-theme="dark"] .theme-toggle .icon-sun { transform: translateY(-140%); opacity: 0; }
[data-theme="dark"] .theme-toggle .icon-moon { transform: translateY(0); opacity: 1; }

.btn-phone {
   background: var(--navy); color: #fff; padding: 9px 20px; gap: 12px;
}
.btn-phone:hover { background: var(--navy-2); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-phone i { color: var(--accent); font-size: 1.15rem; animation: ring 4s ease-in-out infinite; }
@keyframes ring {
   0%, 86%, 100% { transform: rotate(0); }
   88%, 92%, 96% { transform: rotate(-14deg); }
   90%, 94%, 98% { transform: rotate(14deg); }
}
.phone-lbl { display: flex; flex-direction: column; line-height: 1.15; font-size: 0.98rem; }
.phone-lbl small { font-size: 0.68rem; font-weight: 500; opacity: 0.75; }

.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-burger span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- HERO wspólne ---------- */
.hero-kicker {
   display: inline-flex; align-items: center; gap: 8px;
   font-family: var(--font-head); font-weight: 600; font-size: 0.9rem;
   padding: 8px 16px; border-radius: 999px;
   background: var(--accent-soft); color: var(--accent);
   border: 1px solid color-mix(in oklab, var(--accent) 40%, transparent);
   margin-bottom: 20px;
}
.hero-lead { font-size: clamp(1rem, 1.4vw, 1.15rem); max-width: 620px; margin-top: 18px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; font-size: 0.9rem; font-weight: 500; }
.hero-badges li { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges i { color: var(--accent); }
.accent { color: var(--accent); }

.hero[hidden] { display: none !important; }

/* ---------- HERO: układ dzielony z telewizorem ---------- */
.hero-b { padding: 150px 0 90px; background: var(--hero-b-bg); overflow: hidden; }
.hero-b-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.hero-b .hero-lead { color: var(--muted); }

.hero-b-tv { position: relative; }
.tv-frame {
   background: #05080d; border-radius: 18px; padding: 12px;
   box-shadow: var(--shadow-lg), inset 0 0 0 2px #1a2230;
   transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
   transition: transform 0.5s ease;
}
.hero-b-tv:hover .tv-frame { transform: perspective(1200px) rotateY(-2deg) rotateX(0deg); }
.tv-frame .tv-media { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 9; background: #000; }
.tv-frame .tv-media canvas { width: 100%; height: 100%; object-fit: cover; display: block; }
.tv-frame .tv-media video {
   position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
   opacity: 0; transition: opacity 0.45s ease 0.25s; /* pojawia się w trakcie błysku CRT */
}
.tv-frame .tv-media.tv-playing video { opacity: 1; }
.tv-stand {
   width: 40%; height: 14px; margin: 10px auto 0;
   background: linear-gradient(180deg, #131a26, #05080d); border-radius: 0 0 12px 12px;
}
.tv-power {
   position: absolute; right: -14px; bottom: 26px;
   width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
   background: var(--accent); color: var(--accent-ink); font-size: 1.2rem;
   display: grid; place-items: center; box-shadow: 0 10px 24px rgba(13,141,227,0.45);
   transition: transform 0.25s cubic-bezier(.2,.8,.3,1.4), box-shadow 0.25s ease;
}
.tv-power:hover { transform: scale(1.12) rotate(10deg); box-shadow: 0 14px 32px rgba(13,141,227,0.55); }

/* Błysk CRT przy „włączaniu” */
.crt-flash {
   position: absolute; inset: 0; z-index: 2; pointer-events: none;
   background: #fff; opacity: 0; transform: scaleY(0.004);
}
.tv-media.is-on .crt-flash { animation: crt-on 0.9s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes crt-on {
   0%   { opacity: 1; transform: scaleY(0.004) scaleX(0.3); }
   35%  { opacity: 1; transform: scaleY(0.004) scaleX(1); }
   60%  { opacity: 0.9; transform: scaleY(1) scaleX(1); }
   100% { opacity: 0; transform: scaleY(1) scaleX(1); }
}

/* ---------- Pasek atutów ---------- */
.usp { padding: clamp(40px, 5vw, 64px) 0; background: var(--bg-alt); border-block: 1px solid var(--line); }
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.usp-item { display: flex; gap: 14px; align-items: flex-start; }
.usp-item > i {
   flex: 0 0 auto; width: 48px; height: 48px; display: grid; place-items: center;
   font-size: 1.3rem; color: var(--accent); background: var(--accent-soft); border-radius: 14px;
   transition: transform 0.3s cubic-bezier(.2,.8,.3,1.4);
}
.usp-item:hover > i { transform: translateY(-4px) scale(1.08); }
.usp-item h3 { font-size: 1.02rem; margin-bottom: 4px; }
.usp-item p { font-size: 0.88rem; color: var(--muted); }

/* ---------- Usługi ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
   background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
   padding: 38px 34px; position: relative; overflow: hidden;
   transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card::before {
   content: ""; position: absolute; inset: auto auto 0 0; width: 100%; height: 3px;
   background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: color-mix(in oklab, var(--accent) 45%, var(--line)); }
.service-card:hover::before { transform: scaleX(1); }
.service-ico {
   width: 56px; height: 56px; display: grid; place-items: center; margin-bottom: 18px;
   font-size: 1.5rem; color: var(--accent); background: var(--accent-soft); border-radius: 16px;
   transition: transform 0.35s cubic-bezier(.2,.8,.3,1.4), background 0.3s ease, color 0.3s ease;
}
.service-card:hover .service-ico { transform: rotate(-8deg) scale(1.1); background: var(--accent); color: var(--accent-ink); }
.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: 0.92rem; color: var(--muted); }

/* ---------- O nas ---------- */
.about { background: var(--bg-alt); border-block: 1px solid var(--line); overflow: hidden; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-copy .eyebrow { margin-bottom: 18px; }
.about-copy > p { color: var(--muted); margin-top: 20px; font-size: 1.05rem; }
.check-list { margin: 32px 0 36px; display: grid; gap: 16px; }
.check-list li { display: flex; gap: 14px; align-items: center; font-weight: 500; }
.check-list i {
   width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto;
   background: var(--accent-soft); color: var(--accent); border-radius: 50%; font-size: 0.82rem;
}

/* Fotografia z „wystającą” ramką i pływającymi statami */
.about-media { position: relative; padding: 22px 22px 0 0; }
.about-media::before {
   content: ""; position: absolute; inset: 0 0 46px 46px; z-index: 0;
   border-radius: 30px; background: var(--accent-soft);
   border: 1px solid color-mix(in oklab, var(--accent) 30%, transparent);
}
.about-img { position: relative; z-index: 1; margin: 0; }
.about-img img { border-radius: 26px; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%; }
.img-chip {
   position: absolute; left: 18px; bottom: 18px; z-index: 2;
   display: inline-flex; align-items: center; gap: 8px;
   background: var(--surface); color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: 0.9rem;
   padding: 12px 20px; border-radius: 999px; box-shadow: var(--shadow-lg);
}
.img-chip i { color: var(--accent); }

.about-stats {
   position: absolute; top: 0; right: 0; z-index: 2;
   background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
   box-shadow: var(--shadow-lg); padding: 22px 26px; display: grid; gap: 18px;
}
.about-stats .stat { display: grid; }
.about-stats b {
   font-family: var(--font-head); font-weight: 800; font-size: 2rem; line-height: 1;
   color: var(--ink); letter-spacing: -0.02em; display: inline-flex; align-items: baseline; gap: 3px;
}
.about-stats b em, .about-stats b .u { font-style: normal; font-size: 0.95rem; font-weight: 700; color: var(--accent); }
.about-stats b i { font-size: 1.1rem; color: var(--accent); font-style: normal; }
.about-stats span { font-size: 0.8rem; color: var(--muted); margin-top: 4px; max-width: 130px; }
.about-stats .stat + .stat { padding-top: 18px; border-top: 1px solid var(--line); }

/* ---------- Pas CTA ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: clamp(48px, 6vw, 80px) 0; position: relative; overflow: hidden; }
.cta-band::before {
   content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px;
   border-radius: 50%; border: 60px solid rgba(13, 141, 227, 0.18);
}
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; position: relative; }
.cta-band p { color: rgba(255,255,255,0.75); margin-top: 8px; max-width: 520px; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Realizacje ---------- */
.works-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.work-card { border-radius: 22px; overflow: hidden; position: relative; background: var(--surface); border: 1px solid var(--line); transition: transform 0.35s cubic-bezier(.2,.7,.3,1), box-shadow 0.35s ease; }
/* Asymetryczny, „redakcyjny” rytm kafli */
.work-card:nth-child(1) { grid-column: span 4; }
.work-card:nth-child(2) { grid-column: span 2; }
.work-card:nth-child(3) { grid-column: span 2; }
.work-card:nth-child(4) { grid-column: span 4; }
.work-card:nth-child(2), .work-card:nth-child(3) { transform: translateY(26px); }
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.work-card:nth-child(2):hover, .work-card:nth-child(3):hover { transform: translateY(20px); box-shadow: var(--shadow-lg); }
.work-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; transition: transform 0.6s ease; }
.work-card:nth-child(2) img, .work-card:nth-child(3) img { aspect-ratio: 4 / 3; }
.work-card:hover img { transform: scale(1.05); }
.work-card figcaption { padding: 20px 22px; display: flex; flex-direction: column; gap: 3px; }
.work-card strong { font-family: var(--font-head); font-size: 1.05rem; }
.work-card span { font-size: 0.88rem; color: var(--muted); }

/* ---------- Opinie ---------- */
.reviews { background: var(--bg-alt); border-block: 1px solid var(--line); }
.reviews-slider { position: relative; display: flex; align-items: center; gap: 12px; }
.reviews-track {
   display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
   scrollbar-width: none; padding: 10px 4px 22px; flex: 1;
}
.reviews-track::-webkit-scrollbar { display: none; }
.review-card {
   flex: 0 0 min(380px, 84%); scroll-snap-align: start;
   background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px;
   display: flex; flex-direction: column; gap: 16px;
   transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.review-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.stars { color: var(--accent); display: flex; gap: 3px; font-size: 0.9rem; }
.review-card p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.review-card footer { display: flex; align-items: center; gap: 12px; }
.review-card footer img { border-radius: 50%; }
.review-card footer span { display: flex; flex-direction: column; line-height: 1.3; }
.review-card footer small { color: var(--muted); }
.slider-btn {
   flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%;
   border: 1px solid var(--line); background: var(--surface); color: var(--ink);
   font-size: 1.2rem; cursor: pointer; display: grid; place-items: center;
   transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.slider-btn:hover { background: var(--accent); color: var(--accent-ink); transform: scale(1.08); }

/* ---------- FAQ ---------- */
.faq-inner { max-width: 780px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details {
   background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
   overflow: hidden; transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq-list details[open] { border-color: color-mix(in oklab, var(--accent) 45%, var(--line)); box-shadow: var(--shadow); }
.faq-list summary {
   display: flex; align-items: center; justify-content: space-between; gap: 16px;
   padding: 18px 22px; cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: 1.02rem;
   list-style: none; transition: color 0.2s ease;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--accent); }
.faq-list summary i { transition: transform 0.3s ease; color: var(--accent); flex: 0 0 auto; }
.faq-list details[open] summary i { transform: rotate(180deg); }
.faq-list details p { padding: 0 22px 20px; color: var(--muted); font-size: 0.94rem; }

/* ---------- Zasięg ---------- */
.area { background: var(--bg-alt); border-block: 1px solid var(--line); }
.area-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 60px); align-items: center; }
.area-copy p { color: var(--muted); margin-top: 10px; }
.area-list { display: grid; grid-template-columns: repeat(4, auto); gap: 10px 12px; margin: 22px 0; }
.area-list li {
   font-size: 0.86rem; font-weight: 500; padding: 7px 14px;
   background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
   transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.area-list li:hover { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); transform: translateY(-2px); }
.area-note { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; }
.area-note i { color: var(--accent); margin-top: 3px; }
.area-map iframe { width: 100%; height: 420px; border: 0; border-radius: 22px; box-shadow: var(--shadow-lg); }
[data-theme="dark"] .area-map iframe { filter: invert(0.9) hue-rotate(180deg) saturate(0.7); }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 70px); align-items: start; }
.contact-copy p { color: var(--muted); margin-top: 12px; }
.contact-list { margin-top: 28px; display: grid; gap: 16px; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-weight: 500; }
.contact-list i {
   width: 44px; height: 44px; display: grid; place-items: center; flex: 0 0 auto;
   background: var(--accent-soft); color: var(--accent); border-radius: 14px; font-size: 1.1rem;
}
.contact-list a:hover { color: var(--accent); }

.form-card {
   background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
   padding: clamp(24px, 3.5vw, 40px); box-shadow: var(--shadow-lg);
}
.form-card h3 { margin-bottom: 22px; font-size: 1.3rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field span { font-size: 0.82rem; font-weight: 600; font-family: var(--font-head); }
.field input, .field textarea {
   font: inherit; font-size: 0.95rem; color: var(--ink);
   background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px;
   padding: 13px 16px; transition: border-color 0.25s ease, box-shadow 0.25s ease;
   resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 0.7; }
.field input:focus, .field textarea:focus {
   outline: none; border-color: var(--accent);
   box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 20%, transparent);
}
.form-status { margin-top: 14px; font-weight: 600; font-size: 0.92rem; display: none; }
.form-status.ok { display: block; color: #1a9c5b; }
.form-status.err { display: block; color: #d64545; }
.form-note { margin-top: 14px; font-size: 0.8rem; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.form-note i { color: var(--accent); }

/* ---------- Stopka ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.8); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: clamp(48px, 6vw, 72px) 0 40px; }
.site-footer .brand { color: #fff; margin-bottom: 18px; }
.site-footer .brand-mark { background: rgba(255,255,255,0.1); }
.site-footer p { font-size: 0.92rem; }
.site-footer h4 { color: #fff; margin-bottom: 18px; font-size: 1.05rem; }
.footer-list { display: grid; gap: 12px; font-size: 0.92rem; }
.footer-list li { display: flex; gap: 10px; align-items: center; }
.footer-list i { color: var(--accent); }
.footer-list a:hover, .footer-links a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 20px 0; font-size: 0.85rem; }
.footer-legal { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 10px 18px; }
.footer-legal a { color: rgba(255,255,255,0.9); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Zgoda cookies ---------- */
.cookie-banner {
   position: fixed; z-index: 1000; inset: auto 18px 18px 18px; margin: auto;
   max-width: 1040px; display: flex; align-items: center; justify-content: space-between; gap: 28px;
   padding: 22px 24px; border: 1px solid var(--line); border-radius: 18px;
   background: var(--surface); color: var(--ink); box-shadow: 0 20px 70px rgba(3, 24, 40, .28);
}
.cookie-banner[hidden], .cookie-settings[hidden] { display: none; }
.cookie-copy { max-width: 680px; }
.cookie-copy h2 { font-size: 1.12rem; margin-bottom: 6px; }
.cookie-copy p { color: var(--muted); font-size: .9rem; }
.cookie-copy a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; flex: 0 0 auto; gap: 10px; }
.cookie-btn {
   min-height: 44px; padding: 10px 17px; border: 2px solid var(--navy); border-radius: 999px;
   font: 700 .88rem/1 var(--font-head); cursor: pointer;
}
.cookie-reject { background: transparent; color: var(--ink); }
.cookie-accept { background: var(--navy); color: #fff; }
.cookie-btn:hover, .cookie-btn:focus-visible { outline: 3px solid color-mix(in oklab, var(--accent) 35%, transparent); outline-offset: 2px; }
.cookie-settings {
   position: fixed; z-index: 94; left: 14px; bottom: 12px; padding: 7px 11px;
   border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted);
   box-shadow: var(--shadow); font: 600 .75rem/1 var(--font-head); cursor: pointer;
}

/* ---------- Polityka prywatności ---------- */
.legal-page { padding: 130px 0 80px; }
.legal-content { max-width: 860px; }
.legal-content h1 { margin-bottom: 14px; }
.legal-content .legal-updated { color: var(--muted); margin-bottom: 34px; }
.legal-content h2 { margin: 32px 0 10px; font-size: 1.35rem; }
.legal-content h3 { margin: 22px 0 8px; font-size: 1.05rem; }
.legal-content p, .legal-content li { color: var(--muted); }
.legal-content ul { list-style: disc; padding-left: 22px; display: grid; gap: 7px; }
.legal-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Pływające CTA (mobile) ---------- */
.mobile-call {
   display: none; position: fixed; right: 18px; bottom: 18px; z-index: 95;
   width: 58px; height: 58px; border-radius: 50%;
   background: var(--cta); color: var(--cta-ink); font-size: 1.4rem;
   place-items: center; box-shadow: 0 12px 30px rgba(0,200,83,0.5);
   animation: float-pulse 2.4s ease-in-out infinite;
}
@keyframes float-pulse {
   0%, 100% { transform: translateY(0); }
   50% { transform: translateY(-5px); }
}

/* ---------- Animacje wejścia ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
   .reveal { opacity: 1; transform: none; transition: none; }
   * { animation-duration: 0.001s !important; }
}

/* =====================================================
   RESPONSYWNOŚĆ
   ===================================================== */
@media (max-width: 1024px) {
   .main-nav { display: none; }
   .nav-burger { display: flex; }
   .main-nav.open {
      display: flex; position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0;
      background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
      padding: 10px 0;
   }
   .main-nav.open a { padding: 14px 6vw; font-size: 1.05rem; }
   .main-nav.open a::after { display: none; }
   .services-grid { grid-template-columns: repeat(2, 1fr); }
   .works-grid { grid-template-columns: repeat(2, 1fr); }
   .works-grid .work-card,
   .works-grid .work-card:nth-child(1),
   .works-grid .work-card:nth-child(2),
   .works-grid .work-card:nth-child(3),
   .works-grid .work-card:nth-child(4) { grid-column: span 1; transform: none; }
   .works-grid .work-card:nth-child(2):hover,
   .works-grid .work-card:nth-child(3):hover { transform: translateY(-6px); }
   .usp-grid { grid-template-columns: repeat(2, 1fr); }
   .footer-grid { grid-template-columns: 1fr 1fr; }
   .area-list { grid-template-columns: repeat(3, auto); }
}

@media (max-width: 768px) {
   .hero-b-grid, .about-grid, .area-grid, .contact-grid { grid-template-columns: 1fr; }
   .about-media { padding: 0; margin-top: 12px; }
   .about-media::before { display: none; }
   .about-stats { position: static; margin-top: -34px; margin-inline: 16px; grid-template-columns: repeat(3, 1fr); }
   .about-stats .stat + .stat { padding-top: 0; border-top: 0; }
   .hero-b { padding-top: 120px; }
   .tv-power { right: 6px; }
   .btn-phone .phone-lbl { display: none; }
   .btn-phone { padding: 11px 14px; border-radius: 50%; }
   .cta-band-inner { flex-direction: column; align-items: flex-start; }
   .mobile-call { display: grid; }
   .about-grid .about-img { order: -1; }
   .cookie-banner { align-items: stretch; flex-direction: column; gap: 16px; }
   .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
   body { font-size: 15px; }
   .services-grid, .works-grid, .usp-grid { grid-template-columns: 1fr; }
   .about-stats { grid-template-columns: 1fr; }
   .about-stats .stat + .stat { padding-top: 16px; border-top: 1px solid var(--line); }
   .form-row { grid-template-columns: 1fr; }
   .footer-grid { grid-template-columns: 1fr; }
   .area-list { grid-template-columns: repeat(2, auto); }
   .hero-cta .btn { width: 100%; justify-content: center; }
   .review-card { flex-basis: 92%; }
   .cookie-banner { inset: auto 10px 10px; padding: 18px; }
   .cookie-actions { grid-template-columns: 1fr; }
}
