/* ==========================================================================
   ZdajSzybciej — zdajszybciej.pl
   Arkusz stylów: mobile-first, zmienne CSS, zero zależności poza Google Fonts
   ========================================================================== */

:root {
  --blue: #0EA5E9;
  --blue-light: #38BDF8;
  --blue-dark: #0284C7;
  --blue-darker: #075985;
  --blue-tint: #E0F2FE;
  --navy: #0F172A;
  --navy-soft: #1E293B;
  --ink: #0F172A;
  --muted: #475569;
  --muted-light: #94A3B8;
  --bg: #F6FAFE;
  --surface: #FFFFFF;
  --border: #DEE9F3;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.14);
  --shadow-blue: 0 10px 28px rgba(2, 132, 199, 0.32);
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 72px;
}

/* ---------- Reset ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--blue-dark);
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

strong {
  font-weight: 600;
}

::selection {
  background: var(--blue);
  color: #fff;
}

/* ---------- Układ ---------- */

.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 20px;
}

.container-narrow {
  max-width: 860px;
}

.section {
  padding: 72px 0;
}

@media (max-width: 640px) {
  .section {
    padding: 56px 0;
  }
}

.section-alt {
  background:
    radial-gradient(900px 400px at 100% 0%, rgba(56, 189, 248, 0.09), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, #EDF5FB 6% 94%, var(--bg) 100%);
}

.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-dark);
  margin-bottom: 10px;
}

.eyebrow-light {
  color: var(--blue-light);
}

h1,
h2,
h3 {
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.65rem, 3.6vw, 2.35rem);
  margin-bottom: 14px;
}

.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
}

/* ---------- Przyciski ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.2;
  padding: 13px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn svg {
  width: 19px;
  height: 19px;
  flex: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-darker) 0%, var(--blue-dark) 100%);
  color: #fff;
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(2, 132, 199, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: var(--surface);
  color: var(--blue-dark);
  border-color: rgba(2, 132, 199, 0.4);
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-lg {
  padding: 16px 30px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(2, 132, 199, 0.5);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Skip-link (dostępność) ---------- */

.skip-link {
  position: absolute;
  top: -48px;
  left: 12px;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 18px;
  border-radius: 999px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 8px;
}

/* ---------- Nagłówek / nawigacja ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  flex: none;
}

.logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.logo-text em {
  font-style: normal;
  color: var(--blue);
}

.logo-text-light {
  color: #fff;
}

/* Kompaktowe CTA „Zadzwoń” w pasku na mobile */

.btn-nav-mobile {
  margin-left: auto;
  padding: 10px 16px;
  font-size: 0.88rem;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
}

.btn-nav-mobile svg {
  width: 16px;
  height: 16px;
}

/* Na bardzo wąskich ekranach zostaje sama ikona (etykieta w aria-label) */
@media (max-width: 429px) {
  .nav {
    gap: 10px;
  }

  .btn-nav-mobile {
    padding: 11px 13px;
  }

  .btn-nav-mobile span {
    display: none;
  }
}

/* Hamburger */

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2.5px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Menu mobilne */

.nav-menu {
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px 20px 28px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-12px);
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.nav-menu.open {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

/* Przyciemnienie strony pod otwartym menu mobilnym */
body:has(.nav-menu.open)::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(15, 23, 42, 0.45);
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-links a {
  display: block;
  padding: 12px 10px;
  font-weight: 500;
  color: var(--navy);
  border-radius: 8px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-links a:hover {
  color: var(--blue-dark);
  background: var(--blue-tint);
}

.btn-nav {
  align-self: flex-start;
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .btn-nav-mobile {
    display: none;
  }

  .nav-menu {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 28px;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    max-height: none;
    overflow-y: visible;
    opacity: 1;
    transform: none;
    visibility: visible;
  }

  .nav-links {
    flex-direction: row;
    gap: 6px;
  }

  .nav-links a {
    padding: 8px 12px;
    font-size: 0.95rem;
  }

  .btn-nav {
    padding: 11px 22px;
    font-size: 0.92rem;
  }
}

/* ---------- HERO ---------- */

.hero {
  position: relative;
  padding: 56px 0 72px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(720px 480px at 85% -10%, rgba(56, 189, 248, 0.16), transparent 65%),
    radial-gradient(560px 420px at -10% 45%, rgba(2, 132, 199, 0.09), transparent 60%),
    var(--bg);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(15, 23, 42, 0.09) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(640px 480px at 78% 8%, #000 0%, transparent 72%);
  mask-image: radial-gradient(640px 480px at 78% 8%, #000 0%, transparent 72%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px 9px 14px;
  border-radius: 999px;
  background: var(--blue-tint);
  border: 1px solid rgba(2, 132, 199, 0.35);
  color: var(--blue-dark);
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 22px;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.hero h1 {
  font-size: clamp(2.05rem, 5.6vw, 3.35rem);
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: clamp(1.02rem, 2vw, 1.16rem);
  color: var(--muted);
  max-width: 34em;
  margin-bottom: 30px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

/* Na wąskich ekranach: telefon na całą szerokość, SMS i e-mail obok siebie */
@media (max-width: 560px) {
  .hero-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
  }

  .hero-cta .btn-primary {
    grid-column: 1 / -1;
  }

  .hero-cta .btn {
    min-width: 0;
    padding-inline: 10px;
    gap: 8px;
  }

  .hero-cta .btn-lg {
    font-size: 1rem;
  }
}

/* Tablet: trzy przyciski hero w jednym wierszu */
@media (min-width: 561px) and (max-width: 899px) {
  .hero-cta .btn-lg {
    padding: 14px 20px;
    font-size: 1rem;
  }
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-soft);
  margin-bottom: 14px;
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
}

.hero-trust li:not(:last-child)::after {
  content: "·";
  margin: 0 12px;
  color: var(--blue);
  font-weight: 800;
}

.hero-words {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Gradientowy akcent w nagłówku */

.grad-text {
  font-style: normal;
  background: linear-gradient(92deg, var(--blue-dark), var(--blue-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Wejście treści hero po załadowaniu strony */

.js .hero-copy > * {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.7s cubic-bezier(0.22, 0.9, 0.35, 1) forwards;
}

.js .hero-copy > :nth-child(1) { animation-delay: 0.05s; }
.js .hero-copy > :nth-child(2) { animation-delay: 0.15s; }
.js .hero-copy > :nth-child(3) { animation-delay: 0.25s; }
.js .hero-copy > :nth-child(4) { animation-delay: 0.35s; }
.js .hero-copy > :nth-child(5) { animation-delay: 0.45s; }
.js .hero-copy > :nth-child(6) { animation-delay: 0.55s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Wizualizacja: telefon z alertami */

.hero-visual {
  position: relative;
  max-width: 420px;
  margin-inline: auto;
  width: 100%;
  padding: 6px 10px;
}

.phone-glow {
  position: absolute;
  inset: 6% 2%;
  background: radial-gradient(closest-side, rgba(56, 189, 248, 0.3), transparent 72%);
  filter: blur(28px);
  z-index: -1;
}

.phone {
  width: min(330px, 88%);
  margin-inline: auto;
  background: var(--navy);
  border-radius: 46px;
  padding: 11px;
  box-shadow:
    0 34px 80px rgba(15, 23, 42, 0.3),
    inset 0 0 0 2px rgba(148, 163, 184, 0.28);
  animation: phone-float 7s ease-in-out infinite;
}

@keyframes phone-float {
  0%, 100% { transform: translateY(0) rotate(0.5deg); }
  50% { transform: translateY(-10px) rotate(-0.5deg); }
}

.phone-screen {
  position: relative;
  background: linear-gradient(180deg, #E8F4FE 0%, var(--bg) 42%);
  border-radius: 36px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  width: 108px;
  height: 24px;
  background: var(--navy);
  border-radius: 0 0 15px 15px;
  margin: 0 auto;
  flex: none;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.75);
}

.chat-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-darker), var(--blue-dark));
  flex: none;
}

.chat-avatar svg {
  width: 19px;
  height: 19px;
}

.chat-head strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
}

.chat-head small {
  color: var(--blue-dark);
  font-size: 0.72rem;
  font-weight: 600;
}

.chat-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--navy);
  color: #E2E8F0;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
}

.chat-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 14px 22px;
}

.chat-day {
  align-self: center;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted-light);
  background: #EDF2F7;
  padding: 3px 11px;
  border-radius: 999px;
}

.msg {
  position: relative;
  max-width: 94%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  border-top-left-radius: 6px;
  padding: 10px 12px 7px;
  box-shadow: var(--shadow-sm);
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--navy-soft);
}

.msg-time {
  display: block;
  text-align: right;
  font-size: 0.64rem;
  color: var(--muted-light);
  margin-top: 3px;
}

.msg-alert {
  border: 1.5px solid rgba(2, 132, 199, 0.5);
  box-shadow: 0 10px 26px rgba(2, 132, 199, 0.17);
}

.msg-tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue-dark);
  background: var(--blue-tint);
  border-radius: 999px;
  padding: 3px 9px;
  margin-bottom: 6px;
}

.msg-btn {
  display: inline-block;
  margin-top: 8px;
  background: linear-gradient(135deg, var(--blue-darker), var(--blue-dark));
  color: #fff;
  font-weight: 600;
  font-size: 0.78rem;
  padding: 8px 20px;
  border-radius: 999px;
  box-shadow: var(--shadow-blue);
  animation: btn-pulse 2.4s ease-in-out 3.2s infinite;
}

@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35); transform: scale(1); }
  50% { box-shadow: 0 8px 28px rgba(2, 132, 199, 0.55); transform: scale(1.035); }
}

.msg-ok {
  background: var(--blue-tint);
  border-color: rgba(2, 132, 199, 0.35);
}

.msg-check {
  display: inline-block;
  width: 14px;
  height: 14px;
  vertical-align: -2px;
}

.js .msg,
.js .chat-day {
  opacity: 0;
  transform: translateY(14px) scale(0.97);
  animation: msg-in 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.js .chat-day { animation-delay: 0.4s; }
.js .msg-1 { animation-delay: 0.7s; }
.js .msg-2 { animation-delay: 1.5s; }
.js .msg-3 { animation-delay: 2.3s; }

@keyframes msg-in {
  to {
    opacity: 1;
    transform: none;
  }
}

.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  border-radius: 999px;
  padding: 9px 15px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

.float-chip svg {
  width: 15px;
  height: 15px;
  color: var(--blue-dark);
  flex: none;
}

.chip-1 {
  top: 24%;
  left: 0;
  animation: chip-float 6s ease-in-out 0.6s infinite;
}

.chip-2 {
  bottom: 9%;
  right: 0;
  animation: chip-float 6s ease-in-out 2s infinite;
}

.js .float-chip {
  opacity: 0;
}

.js .chip-1 {
  animation: msg-in 0.6s ease 1.1s forwards, chip-float 6s ease-in-out 1.7s infinite;
}

.js .chip-2 {
  animation: msg-in 0.6s ease 2.7s forwards, chip-float 6s ease-in-out 3.3s infinite;
}

@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Na mobile chipy siedzą na krawędziach telefonu, nie na treści czatu */
@media (max-width: 899px) {
  .chip-1 {
    top: -4px;
  }

  .chip-2 {
    bottom: -12px;
  }
}

.pulse-dot {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue-light);
  flex: none;
}

.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--blue-light);
  animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
  from {
    transform: scale(0.5);
    opacity: 0.9;
  }
  to {
    transform: scale(1.5);
    opacity: 0;
  }
}

@media (min-width: 900px) {
  .hero {
    padding: 88px 0 104px;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
  }

  .hero-visual {
    margin-inline: 0 auto;
  }
}

/* ---------- JAK TO DZIAŁA ---------- */

.steps {
  display: grid;
  gap: 20px;
  counter-reset: krok;
}

.step-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(2, 132, 199, 0.4);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-darker), var(--blue-dark));
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: var(--shadow-blue);
  margin-bottom: 18px;
}

.step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.step-card p {
  color: var(--muted);
  font-size: 0.96rem;
}

@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .step-card:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 51px;
    right: -26px;
    width: 28px;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--blue) 0 5px, transparent 5px 10px);
  }
}

/* ---------- OBIETNICA ---------- */

.honest {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(760px 340px at 50% -10%, rgba(56, 189, 248, 0.18), transparent 66%),
    var(--navy);
  padding: 72px 0;
  text-align: center;
  color: #fff;
}

.honest::before {
  content: "";
  position: absolute;
  right: -70px;
  top: -60px;
  width: 300px;
  height: 300px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><rect x="1.5" y="1.5" width="21" height="21" rx="4.5" fill="none" stroke="%2338BDF8" stroke-opacity="0.16" stroke-width="1.6"/><path d="M9 6.5v11h6.5" fill="none" stroke="%2338BDF8" stroke-opacity="0.16" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"/></svg>') center / contain no-repeat;
  transform: rotate(10deg);
  pointer-events: none;
}

.honest-line1 {
  font-size: clamp(1.1rem, 2.6vw, 1.45rem);
  font-weight: 600;
  color: #94A3B8;
  margin-bottom: 10px;
}

.honest-line2 {
  font-size: clamp(1.65rem, 4.6vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.22;
  max-width: 21em;
  margin-inline: auto;
}

.honest-line2 em {
  font-style: normal;
  color: var(--blue-light);
}

.honest-sub {
  margin-top: 16px;
  color: #CBD5E1;
  font-size: 1rem;
}

/* ---------- CENNIK ---------- */

.pricing-grid {
  display: grid;
  gap: 26px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.price-card-featured {
  border: 2px solid var(--blue);
  box-shadow: 0 18px 48px rgba(2, 132, 199, 0.16);
}

.price-badge {
  position: absolute;
  top: -15px;
  left: 28px;
  background: linear-gradient(135deg, var(--blue-darker), var(--blue-dark));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-blue);
}

.price-card h3 {
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.price-tagline {
  color: var(--muted);
  font-size: 0.94rem;
  margin-bottom: 22px;
}

.price {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.price-amount {
  font-size: 2.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1.1;
}

.price-note {
  font-size: 0.86rem;
  color: var(--muted);
  max-width: 30em;
}

.zero-pill {
  align-self: flex-start;
  background: var(--blue-tint);
  border: 1px solid rgba(2, 132, 199, 0.35);
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.price-features {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
  flex: 1;
}

.price-features li {
  position: relative;
  padding-left: 30px;
  font-size: 0.94rem;
  color: var(--navy-soft);
}

.price-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--blue-tint) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6 12.5l4 4 8-9" fill="none" stroke="%230284C7" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>') center / 12px no-repeat;
}

.pricing-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 30px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px dashed #CBD5E1;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 0.92rem;
}

.pricing-note svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--blue);
  margin-top: 2px;
}

@media (min-width: 820px) {
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .price-card-featured {
    transform: translateY(-10px);
  }

  .price-card-featured:hover {
    transform: translateY(-14px);
  }
}

/* ---------- DLACZEGO MY ---------- */

.why-grid {
  display: grid;
  gap: 20px;
}

.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(2, 132, 199, 0.4);
}

.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: var(--blue-tint);
  color: var(--blue-dark);
  margin-bottom: 16px;
}

.why-icon svg {
  width: 26px;
  height: 26px;
}

.why-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.why-card p {
  color: var(--muted);
  font-size: 0.94rem;
}

@media (min-width: 640px) {
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- DLA SZKÓŁ JAZDY ---------- */

.section-dark {
  background:
    radial-gradient(760px 420px at 88% 12%, rgba(56, 189, 248, 0.16), transparent 62%),
    radial-gradient(520px 380px at 0% 100%, rgba(2, 132, 199, 0.1), transparent 60%),
    var(--navy);
  color: #E2E8F0;
}

.section-dark h2 {
  color: #fff;
}

.osk-grid {
  display: grid;
  gap: 44px;
  align-items: center;
}

.osk-copy > p {
  color: #CBD5E1;
  margin-bottom: 22px;
  max-width: 36em;
}

.osk-list {
  display: grid;
  gap: 12px;
  margin-bottom: 30px;
}

.osk-list li {
  position: relative;
  padding-left: 30px;
  font-size: 0.96rem;
}

.osk-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.18) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6 12.5l4 4 8-9" fill="none" stroke="%2338BDF8" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>') center / 12px no-repeat;
}

.osk-visual {
  display: grid;
  gap: 16px;
}

.osk-stat {
  display: flex;
  align-items: baseline;
  gap: 18px;
  background: rgba(30, 41, 59, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: var(--radius);
  padding: 22px 24px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.osk-stat:hover {
  transform: translateX(6px);
  border-color: rgba(56, 189, 248, 0.45);
}

.osk-stat strong {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--blue-light);
  min-width: 3.4em;
}

.osk-stat span {
  color: #CBD5E1;
  font-size: 0.92rem;
}

@media (min-width: 900px) {
  .osk-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
  }

  .osk-stat:nth-child(2) {
    transform: translateX(22px);
  }

  .osk-stat:nth-child(2):hover {
    transform: translateX(28px);
  }
}

/* ---------- FAQ ---------- */

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item[open] {
  border-color: rgba(2, 132, 199, 0.45);
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 18px 56px 18px 22px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--navy);
  transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--blue-dark);
}

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 26px;
  height: 26px;
  margin-top: -13px;
  border-radius: 50%;
  background: var(--blue-tint) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 5v14M5 12h14" fill="none" stroke="%230284C7" stroke-width="2.6" stroke-linecap="round"/></svg>') center / 14px no-repeat;
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.faq-answer p + p {
  margin-top: 10px;
}

/* ---------- KONTAKT ---------- */

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px 26px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.contact-card .section-head {
  margin-inline: auto;
  margin-bottom: 32px;
}

.contact-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 28px 20px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: var(--bg);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-tile:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-darker), var(--blue-dark));
  color: #fff;
  box-shadow: var(--shadow-blue);
  margin-bottom: 8px;
}

.contact-icon svg {
  width: 25px;
  height: 25px;
}

.contact-label {
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  word-break: break-word;
}

.contact-hours {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--muted);
}

/* Dopisek łamie się jako całość — bez osieroconego separatora na początku wiersza */
.contact-hours-note {
  flex-basis: 100%;
}

@media (min-width: 680px) {
  .contact-hours-note {
    flex-basis: auto;
  }

  .contact-hours-note::before {
    content: "·";
    margin-right: 10px;
    color: var(--muted-light);
  }
}

@media (min-width: 680px) {
  .contact-card {
    padding: 52px 56px;
  }

  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .contact-value {
    font-size: 1.08rem;
  }
}

/* ---------- STOPKA ---------- */

.site-footer {
  background: var(--navy);
  color: #94A3B8;
  padding: 52px 0 30px;
}

.footer-grid {
  display: grid;
  gap: 32px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.footer-tagline {
  margin-top: 12px;
  font-size: 0.92rem;
  max-width: 26em;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-content: flex-start;
}

.footer-nav a {
  color: #CBD5E1;
  font-size: 0.92rem;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--blue-light);
}

.footer-bottom {
  padding-top: 26px;
  display: grid;
  gap: 10px;
  font-size: 0.85rem;
}

.footer-disclaimer {
  color: #94A3B8;
  max-width: 56em;
}

@media (min-width: 820px) {
  .footer-grid {
    grid-template-columns: 1fr auto;
    gap: 60px;
  }

  .footer-nav {
    max-width: 320px;
    justify-content: flex-end;
  }
}

/* ---------- Podstrona: polityka prywatności ---------- */

.legal {
  padding: 56px 0 80px;
}

.legal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 24px;
  box-shadow: var(--shadow-sm);
}

.legal h1 {
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  margin-bottom: 8px;
}

.legal .legal-updated {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 30px;
}

.legal h2 {
  font-size: 1.2rem;
  margin: 30px 0 10px;
}

.legal p,
.legal li {
  color: var(--muted);
  font-size: 0.97rem;
}

.legal ul {
  list-style: disc;
  padding-left: 22px;
  display: grid;
  gap: 6px;
  margin: 8px 0;
}

.legal a {
  font-weight: 600;
}

.legal a:hover {
  text-decoration: underline;
}

@media (min-width: 680px) {
  .legal-card {
    padding: 48px 56px;
  }
}

/* ---------- Sticky pasek kontaktu (mobile) ---------- */

.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -10px 34px rgba(15, 23, 42, 0.12);
  transform: translateY(110%);
  transition: transform 0.35s ease;
}

.mobile-cta.show {
  transform: translateY(0);
}

.mobile-cta .btn-primary {
  flex: 1;
  padding: 13px 12px;
  font-size: 0.95rem;
}

.mobile-cta .btn-ghost {
  flex: none;
  padding: 13px 18px;
  font-size: 0.95rem;
}

/* Tablet: przyciski paska wyśrodkowane, bez rozciągania na cały ekran */
@media (min-width: 600px) {
  .mobile-cta {
    justify-content: center;
  }

  .mobile-cta .btn-primary {
    flex: 0 1 400px;
  }
}

@media (min-width: 900px) {
  .mobile-cta {
    display: none;
  }
}

@media (max-width: 899px) {
  body {
    padding-bottom: 74px;
  }
}

/* ---------- Animacje wejścia ---------- */

/* Ukrywamy elementy tylko wtedy, gdy działa JavaScript (klasa .js na <html>) */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Na mobile animacje wejścia są szybsze i bez opóźnień —
   przy dynamicznym scrollowaniu treść nie może być wyblakła */
@media (max-width: 640px) {
  .js .reveal {
    transform: translateY(10px);
    transition-duration: 0.35s;
  }

  .js .delay-1,
  .js .delay-2,
  .js .delay-3,
  .js .delay-4 {
    transition-delay: 0s;
  }
}

.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.js .delay-1 { transition-delay: 0.1s; }
.js .delay-2 { transition-delay: 0.2s; }
.js .delay-3 { transition-delay: 0.3s; }
.js .delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
