:root {
  --bg: #F8F7F5;
  --ink: #0F172A;
  --blue: #178DC1;
  --blue-dark: #1278A6;
  --blue-50: #E7F6FD;
  --blue-100: #D1EFFB;
  --orange: #F35D33;
  --orange-dark: #D94F2B;
  --green: #70B935;
  --green-dark: #2C843E;
  --yellow: #FAC822;
  --yellow-dark: #E3B117;
  --muted: #4b5563;
  --line: #E8EEF7;
  --dark: #0F172A;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Zadne wystajace w bok elementy nie moga przewijac strony poziomo - na telefonie
   objawialo sie to tekstem doklejonym do lewej krawedzi. Uzywamy clip zamiast
   hidden, bo hidden psuje animacje scroll-driven (animation-timeline: view()). */
html, body { overflow-x: clip; max-width: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'Nunito', system-ui, sans-serif; line-height: 1.55; text-wrap: pretty; }
img, video { max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
.container { max-width: 1280px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 12px; padding: 10px clamp(20px, 4vw, 40px); max-width: 1280px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: clamp(16px, 2vw, 19px); white-space: nowrap; min-width: 0; }
.brand img { width: clamp(44px, 5vw, 56px); height: auto; display: block; flex: 0 0 auto; }
@media (max-width: 400px) { .brand { font-size: 15px; gap: 8px; } .brand img { width: 38px; } }
.brand .b1 { color: var(--blue-dark); }
.brand .b2 { color: var(--orange); }
.nav { margin-left: auto; display: flex; gap: 4px; align-items: center; font-weight: 700; font-size: 15px; }
.nav a { color: var(--ink); padding: 9px 14px; border-radius: 999px; white-space: nowrap; }
.nav a:hover { background: var(--blue-50); color: var(--blue-dark); }
.nav a.is-active { background: var(--blue-50); color: var(--blue-dark); }
.nav .nav-cta { background: var(--orange); color: #fff; padding: 11px 22px; margin-left: 8px; }
.nav .nav-cta:hover { background: var(--orange-dark); color: #fff; }
.nav-toggle { display: none; margin-left: auto; background: var(--blue-50); border: 0; border-radius: 12px; padding: 12px 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2.5px; background: var(--blue-dark); border-radius: 2px; margin: 4px 0; transition: transform .2s, opacity .2s; }

/* ===== Hero ===== */
.hero { position: relative; }
.hero__media { overflow: clip; }
.hero__media video, .hero__media img { width: 100%; height: min(clamp(460px, 70vw, 900px), 78vh); object-fit: cover; object-position: center 18%; display: block; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,23,42,.62) 0%, rgba(15,23,42,.28) 48%, rgba(15,23,42,0) 75%), linear-gradient(180deg, rgba(15,23,42,0) 70%, rgba(15,23,42,.35) 100%); }
.hero__content { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); color: #fff; }
.hero__content .inner { max-width: 560px; }
.hero h1 { margin: 0 0 14px; font-size: clamp(30px, 4.2vw, 52px); line-height: 1.08; font-weight: 900; text-shadow: 0 2px 16px rgba(15,23,42,.35); }
.hero h1 .hl { color: var(--yellow); }
.hero p { margin: 0 0 22px; font-size: clamp(15px, 1.4vw, 18px); color: #e2e8f0; max-width: 480px; }
.hero__badge { display: inline-block; color: #fff; font-weight: 800; font-size: clamp(10px, 1vw, 12px); letter-spacing: .08em; text-transform: uppercase; margin-top: 20px; text-shadow: 0 1px 8px rgba(15,23,42,.5); opacity: .92; }
.btn { display: inline-block; font-weight: 800; font-size: clamp(14px, 1.2vw, 16px); padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer; font-family: inherit; }
.btn--orange { background: var(--orange); color: #fff; }
.btn--orange:hover { background: var(--orange-dark); color: #fff; }
.btn--white { background: rgba(255,255,255,.94); color: var(--blue-dark); }
.btn--light { background: var(--blue-50); color: var(--blue-dark); }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: var(--yellow-dark); color: var(--ink); }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== Stats ===== */
.stats { position: relative; z-index: 5; margin-top: clamp(-64px, -4vw, -52px); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { border-radius: 20px; padding: clamp(14px, 1.6vw, 20px) clamp(16px, 2vw, 24px); text-align: center; box-shadow: 0 10px 26px rgba(15,23,42,.18); }
.stat b { display: block; font-size: clamp(20px, 2.4vw, 30px); font-weight: 900; }
.stat span { font-size: clamp(12px, 1.1vw, 14.5px); font-weight: 700; color: var(--muted); }

/* Postacie */
.walker { position: absolute; left: clamp(12px, 3vw, 32px); top: -118px; z-index: 6; pointer-events: none; }
.walker img { width: 72px; height: auto; display: block; }
.stepshadow { height: 10px; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(15,23,42,.35), rgba(15,23,42,0) 70%); margin: -4px auto 0; width: 72%; }
.greeter { position: absolute; right: clamp(12px, 3vw, 40px); top: -124px; z-index: 5; display: flex; align-items: flex-end; gap: 8px; pointer-events: none; }
.greeter img { width: 82px; height: auto; display: block; }
.greeter .bubble { background: #fff; border: 2px solid var(--yellow); border-radius: 16px 16px 16px 4px; padding: 8px 14px; font-weight: 800; font-size: 14px; box-shadow: 0 6px 16px rgba(16,24,40,.12); margin-bottom: 38px; white-space: nowrap; }

/* ===== Sections ===== */
.band { background: var(--blue-50); margin-top: 28px; padding: clamp(28px, 4vw, 44px) 0 clamp(40px, 5vw, 64px); border-radius: 40px 40px 0 0; position: relative; }
.kicker { color: var(--blue-dark); font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.section-title { margin: 6px 0 0; font-size: clamp(24px, 3vw, 32px); font-weight: 900; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 20px; flex-wrap: wrap; }
.section-head p { margin: 0; color: var(--muted); font-size: 15px; max-width: 380px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card { background: #fff; border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 8px; transition: transform .15s; }
.card:hover { transform: translateY(-3px); }
.card__icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-weight: 900; font-size: 18px; color: #fff; }
.card h3 { margin: 0; font-weight: 800; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; flex: 1; }
.card a { font-weight: 800; font-size: 14px; color: var(--orange); }

/* ===== Reviews ===== */
.reviews { margin-top: 44px; display: grid; grid-template-columns: 1.1fr 2fr; gap: 14px; align-items: stretch; }
.review-featured { background: var(--yellow); border-radius: 26px; padding: 30px; position: relative; overflow: clip; display: flex; flex-direction: column; justify-content: center; }
.review-featured .q { position: absolute; top: -24px; right: 8px; font-size: 140px; font-weight: 900; color: rgba(255,255,255,.45); line-height: 1; }
.review-featured .kicker { color: #7c5a00; }
.review-featured p { margin: 12px 0; font-size: clamp(17px, 1.7vw, 21px); line-height: 1.5; font-weight: 800; position: relative; }
.review-featured .who { font-weight: 800; font-size: 14px; color: #7c5a00; }
.reviews__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.review { background: #fff; border-radius: 22px; padding: 20px 22px; }
.review .stars { color: var(--yellow); font-size: 14px; letter-spacing: 2px; }
.review p { margin: 8px 0 10px; font-size: 14.5px; }
.review .who { font-weight: 800; font-size: 13.5px; color: var(--blue-dark); }

/* ===== Footer CTA ===== */
.footer { background: var(--dark); padding: clamp(32px, 5vw, 48px) 0 36px; color: #94a3b8; }
.footer__cta { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px 40px; padding-bottom: 36px; border-bottom: 1px solid #1e293b; }
.footer__cta h2 { margin: 0 0 8px; color: #fff; font-size: clamp(24px, 3vw, 32px); font-weight: 900; }
.footer__cta p { margin: 0; font-size: 16px; }
.footer__actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.footer .btn--orange, .footer .btn--orange:hover { color: #fff; }
.footer .btn--yellow, .footer .btn--yellow:hover { color: var(--ink); }
.footer__actions .row { display: flex; gap: 12px; flex-wrap: wrap; }
.footer__actions .call-now { color: #94a3b8; font-weight: 800; font-size: 14.5px; }
.footer__cols { display: flex; gap: 40px; align-items: flex-start; padding-top: 28px; flex-wrap: wrap; }
.footer__nap { display: flex; gap: 14px; align-items: center; flex: 1; min-width: 260px; }
.footer__nap img { width: 52px; border-radius: 50%; background: #fff; display: block; }
.footer__nap div { font-size: 13.5px; line-height: 1.6; }
.footer__links { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 700; }
.footer a { color: #94a3b8; }
.footer a:hover { color: #fff; }

/* ===== Sticky mobile bar ===== */
.mobile-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(15,23,42,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); }
.mobile-bar a { flex: 1; text-align: center; font-weight: 800; font-size: 14.5px; padding: 13px; border-radius: 999px; }
.mobile-bar .call { background: var(--orange); color: #fff; }
.mobile-bar .book { background: var(--yellow); color: var(--ink); }

/* ===== Animations ===== */
@keyframes kenburns { from { transform: scale(1) translateX(0); } to { transform: scale(1.07) translateX(-1.5%); } }
@keyframes sdUp { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
@keyframes sdScaleIn { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes sdPar { from { transform: translateY(-3%) scale(1.08); } to { transform: translateY(3%) scale(1.08); } }
@keyframes walkX { from { transform: translateX(0); } to { transform: translateX(min(860px, 62vw)); } }
@keyframes walkBob {
  0%,100% { transform: translateY(0) rotate(-5deg) scale(1.03,.97); }
  25%,75% { transform: translateY(-8px) rotate(0deg) scale(.97,1.04); }
  50% { transform: translateY(0) rotate(5deg) scale(1.03,.97); }
}
@keyframes shadowStep { 0%,50%,100% { transform: scaleX(1); opacity: .22; } 25%,75% { transform: scaleX(.65); opacity: .1; } }
@keyframes cheer {
  0%,100% { transform: translateY(0) scale(1) rotate(0); }
  8% { transform: translateY(2px) scale(1.07,.9) rotate(0); }
  20% { transform: translateY(-17px) scale(.93,1.09) rotate(-5deg); }
  30% { transform: translateY(-11px) scale(.96,1.05) rotate(4deg); }
  40% { transform: translateY(0) scale(1.09,.88) rotate(0); }
  50% { transform: translateY(0) scale(.97,1.03) rotate(0); }
  60% { transform: translateY(0) scale(1) rotate(0); }
  72% { transform: rotate(-2.5deg); }
  86% { transform: rotate(2.5deg); }
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.walkbob { animation: walkBob .62s ease-in-out infinite; transform-origin: 50% 100%; }
.walker .stepshadow { animation: shadowStep .62s ease-in-out infinite; }
.cheery { animation: cheer 3.4s ease-in-out infinite; transform-origin: 50% 100%; }
.bubble { animation: floaty 3.4s ease-in-out infinite; }
@supports (animation-timeline: view()) {
  .sd-up { animation: sdUp linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
  .sd-pop { animation: sdScaleIn linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
  .sd-par { animation: sdPar linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
  .stats { view-timeline-name: --band; }
  .walker { animation: walkX linear both; animation-timeline: --band; animation-range: cover 0% cover 80%; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ===== RWD ===== */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .walker { display: none; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 10px 16px 16px; gap: 2px; box-shadow: 0 16px 30px rgba(15,23,42,.08); }
  .nav a { padding: 13px 16px; }
  .nav .nav-cta { margin: 8px 0 0; text-align: center; }
  .nav.is-open { display: flex; }
  .nav-toggle { display: block; }
}
@media (max-width: 860px) {
  .hero__media video, .hero__media img { width: 145%; margin-left: -22.5%; max-width: none; height: 280px; object-position: center 12%; }
  .hero__media { overflow: clip; }
  .hero__content { position: static; transform: none; color: var(--ink); padding: 16px 0 0; }
  .hero__shade { display: none; }
  .hero h1 { color: var(--ink); text-shadow: none; }
  .hero p { color: var(--muted); }
  .hero__badge { color: var(--blue-dark); text-shadow: none; margin-top: 14px; }
  .stats { margin-top: 22px; }
  .stat { box-shadow: none; }
  .greeter { position: static; margin: 18px 0 0; justify-content: flex-start; }
  .greeter img { width: 58px; }
  .greeter .bubble { font-size: 12.5px; margin-bottom: 24px; }
  .cards { grid-template-columns: 1fr; }
  .reviews__grid { grid-template-columns: 1fr; }
  .footer__cta { grid-template-columns: 1fr; }
  .footer__actions { align-items: stretch; width: 100%; }
  .footer__actions .row { flex-direction: column; }
  .footer__actions .btn { text-align: center; }
  .footer__actions .call-now { text-align: center; }
  .footer { padding-bottom: 96px; }
  .mobile-bar { display: flex; }
}

/* ===== Podstrony ===== */
/* Tylko pionowo - skrot padding kasowalby boczne marginesy .container,
   a .page-hero jest uzywany razem z nim (class="page-hero container"). */
.page-hero { padding-top: clamp(26px, 4vw, 44px); padding-bottom: 6px; }
.page-hero h1 { margin: 10px 0 14px; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; font-weight: 900; }
.page-hero h1 .hl2 { color: var(--blue); }
.page-hero .lead { margin: 0 0 18px; color: var(--muted); font-size: clamp(15px, 1.3vw, 16.5px); line-height: 1.6; max-width: 640px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 3vw, 40px); align-items: center; }
.hero-grid__media { position: relative; }
.blob-img { width: 100%; height: clamp(280px, 30vw, 400px); object-fit: cover; border-radius: 54% 46% 58% 42% / 48% 54% 46% 52%; box-shadow: 0 14px 34px rgba(16,24,40,.16); display: block; }
.rounded-img { width: 100%; height: clamp(260px, 26vw, 340px); object-fit: cover; border-radius: 28px; box-shadow: 0 14px 34px rgba(16,24,40,.14); display: block; }
.img-note { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); background: rgba(255,255,255,.94); border-radius: 999px; padding: 5px 16px; font-size: 13px; color: var(--muted); font-weight: 700; white-space: nowrap; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid-2 { display: grid; grid-template-columns: 1.05fr .95fr; gap: 14px; align-items: stretch; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px; box-shadow: 0 6px 18px rgba(16,24,40,.05); }
.panel h3 { margin: 0 0 6px; font-weight: 800; font-size: 18px; }
.panel p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.quote-card { background: var(--yellow); border-radius: 24px; padding: 30px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: clip; }
.quote-card .q { position: absolute; top: -20px; right: 10px; font-size: 120px; font-weight: 900; color: rgba(255,255,255,.45); line-height: 1; }
.quote-card .kicker { color: #7c5a00; }
.quote-card .big { margin: 10px 0; font-size: clamp(20px, 2vw, 26px); line-height: 1.35; font-weight: 900; position: relative; }
.quote-card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink); }
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.area-tile { border-radius: 16px; padding: 12px 16px; }
.area-tile b { display: block; font-weight: 900; font-size: 15px; }
.area-tile span { font-size: 12.5px; color: var(--muted); font-weight: 700; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { background: #fff; border: 1.5px solid var(--blue-100); color: var(--ink); font-weight: 700; font-size: 14px; padding: 10px 18px; border-radius: 999px; }
.pill--solid { background: #fff; border: 0; color: var(--blue-dark); font-weight: 800; font-size: 13px; padding: 7px 14px; }
.band--tail { margin-top: 32px; padding-bottom: clamp(44px, 5vw, 64px); position: relative; view-timeline-name: --band2; }
.timeline { display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
.tl-row { display: flex; gap: 16px; align-items: flex-start; }
.tl-year { flex: 0 0 74px; text-align: center; color: #fff; font-weight: 900; font-size: 15px; padding: 8px 0; border-radius: 999px; }
.tl-card { background: #fff; border-radius: 18px; padding: 14px 20px; flex: 1; box-shadow: 0 4px 14px rgba(16,24,40,.05); }
.tl-card b { display: block; font-weight: 800; font-size: 15.5px; margin-bottom: 2px; }
.tl-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.notice { background: var(--blue); border-radius: 24px; padding: 26px 30px; margin-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
/* Przyciski w tym boksie musza sie zawijac, inaczej na telefonie wychodza poza tlo. */
.notice > .btn, .notice a.btn { flex: 0 1 auto; max-width: 100%; }
@media (max-width: 560px) { .notice .btn { width: 100%; text-align: center; } }
.notice b { display: block; color: #fff; font-weight: 900; font-size: 21px; margin-bottom: 4px; }
.notice p { margin: 0; color: var(--blue-100); font-size: 14.5px; max-width: 720px; line-height: 1.6; }
.check-list { display: flex; flex-direction: column; gap: 9px; }
.check-list .row { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.check-list .dot { flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; color: #fff; font-weight: 900; font-size: 12px; display: grid; place-items: center; margin-top: 1px; }
.offer-grid { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 14px; align-items: start; }
.pricing { background: var(--blue); border-radius: 22px; padding: 26px; position: relative; }
.pricing .title { color: #fff; font-weight: 900; font-size: 21px; margin-bottom: 14px; }
.pricing .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.pricing .row span { color: var(--blue-100); font-size: 14.5px; font-weight: 700; }
.pricing .row b { color: #fff; font-weight: 900; font-size: 17px; white-space: nowrap; }
.pricing .zero { background: var(--yellow); color: var(--ink); font-weight: 900; font-size: 15px; border-radius: 14px; padding: 12px 16px; margin-top: 16px; text-align: center; }
.pricing .mascot { position: absolute; top: -64px; right: 14px; display: flex; align-items: flex-end; gap: 6px; }
.pricing .mascot .bubble2 { background: #fff; border: 2px solid var(--yellow); border-radius: 14px 14px 4px 14px; padding: 7px 12px; font-weight: 800; font-size: 12.5px; color: var(--ink); box-shadow: 0 4px 12px rgba(16,24,40,.1); margin-bottom: 30px; white-space: nowrap; animation: floaty 3.4s ease-in-out infinite; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.step { background: #fff; border-radius: 20px; padding: 20px 18px; box-shadow: 0 4px 14px rgba(16,24,40,.05); }
.step .n { width: 38px; height: 38px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 900; font-size: 17px; display: grid; place-items: center; margin-bottom: 10px; }
.step b { display: block; font-weight: 800; font-size: 15px; margin-bottom: 4px; }
.step p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 800; font-size: 13px; }
.form input, .form textarea { border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 14.5px; font-family: inherit; color: var(--ink); background: #fff; width: 100%; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.form .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 0; overflow: hidden; }
.contact-info { background: var(--blue-50); border-radius: 22px; padding: 24px; }
.contact-info .rows { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.map-box { background: #F1F5F9; border-radius: 22px; min-height: 260px; overflow: clip; flex: 1; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button { border: 0; cursor: pointer; font-family: inherit; background: #fff; color: var(--blue-dark); font-weight: 800; font-size: 13.5px; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--blue-100); }
.filters button.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: clip; box-shadow: 0 6px 18px rgba(16,24,40,.05); display: flex; flex-direction: column; }
.news-card .thumb { height: 150px; display: grid; place-items: center; position: relative; }
.news-card .thumb .glyph { display: grid; place-items: center; }
.news-card .thumb .cat { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.92); color: var(--blue-dark); font-weight: 800; font-size: 11.5px; padding: 5px 12px; border-radius: 999px; }
.news-card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-card .date { color: #94a3b8; font-weight: 700; font-size: 12.5px; }
.news-card b { font-weight: 800; font-size: 16.5px; line-height: 1.3; }
.news-card p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; flex: 1; }
.news-card a { font-weight: 800; font-size: 13.5px; color: var(--orange); }
@supports (animation-timeline: view()) {
  .band--tail .walker2 { animation: walkX linear both; animation-timeline: --band2; animation-range: cover 0% cover 80%; }
}
.walker2 { position: absolute; left: clamp(12px, 3vw, 32px); bottom: -4px; z-index: 6; pointer-events: none; }
.walker2 img { width: 66px; height: auto; display: block; }
@media (max-width: 1024px) {
  .offer-grid { grid-template-columns: 1fr 1fr; }
  .pricing { margin-top: 60px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .walker2 { display: none; }
}
@media (max-width: 860px) {
  .hero-grid, .grid-3, .grid-2, .offer-grid, .news-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .form .grid { grid-template-columns: 1fr; }
  .tl-row { gap: 10px; }
  .area-grid { grid-template-columns: 1fr; }
}

/* ===== Strona treściowa (poradnik itp.) ===== */
.article-hero { background: var(--blue-50); padding: clamp(30px, 4vw, 44px) 0 clamp(30px, 4vw, 40px); border-radius: 0 0 36px 36px; }
.article-hero h1 { margin: 10px 0 10px; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; font-weight: 900; max-width: 720px; }
.article-hero p { margin: 0; color: var(--muted); font-size: clamp(15px, 1.3vw, 16.5px); line-height: 1.6; max-width: 620px; }
.article { max-width: 760px; padding-top: 30px; padding-bottom: 44px; }
.article h2 { margin: 30px 0 10px; font-size: clamp(20px, 2vw, 24px); font-weight: 900; }
.article h2:first-child { margin-top: 0; }
.article p { margin: 0 0 16px; color: #334155; font-size: 15.5px; line-height: 1.7; }
.tip-box { background: #FDF6DE; border-radius: 18px; padding: 16px 20px; margin: 0 0 20px; display: flex; gap: 14px; align-items: flex-start; }
.tip-box img { flex: 0 0 auto; display: block; }
.tip-box p { margin: 0; font-size: 14.5px; line-height: 1.6; font-weight: 700; color: var(--ink); }
.article-cta { background: var(--blue-50); border-radius: 18px; padding: 20px 24px; margin: 24px 0 0; }
.article-cta b { display: block; font-weight: 900; font-size: 16px; margin-bottom: 6px; }
.article-cta p { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.toc { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-weight: 800; font-size: 14.5px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 16px; }
.duo .box { border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 14px 16px; }
.duo .box strong { font-weight: 800; font-size: 14.5px; }
.duo .box ul { margin: 8px 0 0 18px; padding: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.duo .box li { margin-bottom: 4px; }
.icon-row { border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 12px 14px; display: flex; gap: 12px; align-items: flex-start; margin-bottom: 10px; }
.icon-row .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--blue-50); border: 1px solid var(--blue-100); display: grid; place-items: center; font-size: 18px; flex: 0 0 auto; }
.icon-row b { display: block; font-weight: 800; font-size: 14.5px; }
.icon-row p { margin: 2px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.video-frame { border-radius: 18px; overflow: clip; background: var(--dark); aspect-ratio: 16 / 9; margin: 0 0 20px; box-shadow: 0 10px 24px rgba(15,23,42,.1); }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.figure-box { border: 1px solid var(--line); border-radius: 18px; overflow: clip; background: #fff; margin: 0 0 20px; }
.figure-box img { display: block; width: 100%; height: auto; }
.figure-box figcaption { padding: 12px 14px; font-size: 13.5px; color: var(--muted); line-height: 1.5; border-top: 1px solid var(--line); }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }

/* ===== Pytania do przedszkola ===== */
.q-list { display: grid; gap: 14px; margin-top: 20px; }
.q-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; box-shadow: 0 6px 18px rgba(16,24,40,.05); }
.q-card h2 { margin: 0 0 8px; font-size: 18.5px; font-weight: 900; }
.q-card > p { margin: 8px 0 0; line-height: 1.6; color: #334155; font-size: 14.5px; }
.q-card .answer { margin-top: 12px; padding: 12px 14px; border-left: 4px solid var(--blue); background: var(--blue-50); border-radius: 10px; font-size: 14.5px; line-height: 1.6; color: #334155; }
.intro-box { background: var(--blue-50); border-radius: 16px; padding: 18px 20px; margin: 22px 0 0; line-height: 1.6; font-size: 15px; color: var(--ink); }

/* ===== Lead / dziekujemy ===== */
.form select { border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 14.5px; font-family: inherit; color: var(--ink); background: #fff; width: 100%; }
.form select:focus { outline: 2px solid var(--blue); border-color: var(--blue); }
.form-error { display: none; padding: 12px 14px; border: 1px solid #fca5a5; background: #fef2f2; border-radius: 12px; color: #7f1d1d; font-size: 14px; margin-bottom: 14px; }
.consent { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 13px; color: var(--muted); line-height: 1.5; font-weight: 400; }
.consent input { width: auto; margin-top: 3px; }
.thanks-card { background: linear-gradient(90deg, var(--blue-50) 0%, #FFF1EB 100%); border-radius: 24px; padding: 30px; max-width: 720px; margin: 26px auto 0; text-align: center; }

/* ===== Baner cookies ===== */
.cookie-consent { position: fixed; bottom: 0; left: 0; right: 0; background: var(--blue); color: #fff; padding: 14px 20px 16px; z-index: 10000; box-shadow: 0 -2px 10px rgba(0,0,0,.1); }
.cookie-consent__content { max-width: 1200px; margin: 0 auto; }
.cookie-consent__text { margin: 0; font-size: 13.5px; line-height: 1.5; max-width: 900px; }
.cookie-consent__link { color: var(--yellow); text-decoration: underline; font-weight: 800; }
.cookie-consent__link:hover { color: #fff; }
.cookie-consent__button { background: var(--orange); color: #fff; border: 0; padding: 10px 18px; cursor: pointer; border-radius: 999px; font-weight: 800; font-family: inherit; font-size: 14px; }
.cookie-consent__button:hover { background: var(--orange-dark); }
.cookie-consent__buttons { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }
/* Odmowa musi wygladac tak samo latwo jak zgoda: "Tylko niezbedne" ma ten sam
   rozmiar i styl co "Akceptuje wszystkie". Nie zmniejszaj i nie wyszarzaj. */
.cookie-consent__button--primary { flex: 0 0 auto; min-width: 172px; text-align: center; }
.cookie-consent__button--link { background: none; border: 0; padding: 10px 6px; text-decoration: underline; cursor: pointer; color: #fff; font-family: inherit; font-weight: 800; font-size: 14px; }
.cookie-consent__button--link:hover { background: none; color: var(--yellow); }
.cookie-consent__options { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; max-width: 900px; }
.cookie-consent__option { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; }
.cookie-consent__option input { margin-top: 3px; flex: 0 0 auto; width: 16px; height: 16px; accent-color: var(--orange); }
@media (max-width: 860px) { .cookie-consent { bottom: 62px; max-height: 78vh; overflow-y: auto; } }
@media (max-width: 520px) { .cookie-consent__button--primary { flex: 1 1 100%; min-width: 0; } }

/* ===== Tabela porownawcza ===== */
.cmp-table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 6px 18px rgba(16,24,40,.05); }
.cmp-table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: 14.5px; }
.cmp-table th, .cmp-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.55; color: #334155; }
.cmp-table thead th { background: var(--blue-50); color: var(--blue-dark); font-weight: 900; font-size: 14px; }
.cmp-table tbody th { font-weight: 800; color: var(--ink); width: 210px; }
.cmp-table tbody tr:last-child th, .cmp-table tbody tr:last-child td { border-bottom: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.steps.steps--3 { grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps.steps--3 .step { padding: 24px 22px; }
.q-card h3 { margin: 0 0 8px; font-size: 18.5px; font-weight: 900; }
@media (max-width: 860px) { .steps.steps--3 { grid-template-columns: 1fr; } }

/* Menu mobilne wlacza sie od 1280px. Zmierzone szerokosci pelnego menu poziomego
   (7 pozycji + CTA + przelacznik jezyka) razem z nazwa: PL 1176px, UA 1234px,
   wiec ponizej tego progu menu nachodzilo na nazwe. Powyzej progu menu jest
   gestsze, a przy flagach nie ma napisow PL/UA/EN - zostaja same flagi z title.
   Dodajac kolejna pozycje w menu sprawdz te liczby ponownie. */
@media (max-width: 1280px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 10px 16px 16px; gap: 2px; box-shadow: 0 16px 30px rgba(15,23,42,.08); }
  .nav a { padding: 13px 16px; }
  .nav .nav-cta { margin: 8px 0 0; text-align: center; }
  .nav.is-open { display: flex; }
  .nav-toggle { display: block; }
}
@media (min-width: 1281px) {
  .nav { gap: 2px; }
  .nav a { padding: 9px 11px; }
  .nav .nav-cta { padding: 11px 18px; margin-left: 6px; }
  .lang-switch a span { display: none; }
  .lang-switch a { padding: 6px 7px; }
}
/* Zabezpieczenie: nazwa nigdy nie zostaje przykryta przez menu. */
.site-header__inner { flex-wrap: nowrap; }
.brand { flex: 0 0 auto; }

.footer__copy { margin-top: 24px; padding-top: 18px; border-top: 1px solid #1e293b; font-size: 12.5px; color: #64748b; line-height: 1.6; }

/* ===== FAQ (rekrutacja) ===== */
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 860px; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 20px; box-shadow: 0 4px 14px rgba(16,24,40,.04); }
.faq-list summary { cursor: pointer; font-weight: 800; font-size: 15.5px; padding: 16px 0; list-style: none; position: relative; padding-right: 32px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 900; color: var(--blue); }
.faq-list details[open] summary::after { content: "–"; }
.faq-list .faq-a { padding: 0 0 16px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.faq-list .faq-a p { margin: 0 0 8px; }
.faq-list .faq-a p:last-child { margin-bottom: 0; }

/* ===== Przełącznik języka ===== */
.lang-switch { display: flex; gap: 6px; align-items: center; margin-left: 6px; }
.lang-switch a { display: flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 999px; border: 1.5px solid transparent; font-size: 12px; font-weight: 800; color: var(--muted); line-height: 1; }
.lang-switch a svg { display: block; border-radius: 2px; box-shadow: 0 0 0 1px rgba(15,23,42,.12); }
.lang-switch a:hover { background: var(--blue-50); color: var(--blue-dark); }
.lang-switch a.is-current { border-color: var(--blue-100); background: var(--blue-50); color: var(--blue-dark); }
@media (max-width: 1280px) {
  .lang-switch { margin: 8px 0 0; justify-content: center; padding-top: 10px; border-top: 1px solid var(--line); width: 100%; }
}
