/* =========================================================
   mojeaplikacje.pl — strony internetowe dla małych firm
   ========================================================= */

:root {
  --paper: #F6F3EC;
  --paper-2: #EFE9DD;
  --card: #FFFFFF;
  --ink: #15171C;
  --ink-2: #4B505B;
  --ink-3: #7C818B;
  --line: #E2DBCD;
  --accent: #E4572E;
  --accent-2: #C8441D;
  --accent-soft: #FBE4DA;
  --green: #1E4A3D;
  --green-2: #2A6352;
  --green-soft: #DCE9E2;
  --yellow: #F3C24F;

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(21, 23, 28, .05), 0 2px 8px rgba(21, 23, 28, .04);
  --shadow: 0 2px 4px rgba(21, 23, 28, .04), 0 14px 34px rgba(21, 23, 28, .08);
  --shadow-lg: 0 30px 70px -10px rgba(21, 23, 28, .22);

  --font-display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --container: 1180px;
  --header-h: 76px;
}

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

html {
  /* razem z body: karty wjeżdżające z boku nie poszerzają strony na telefonie */
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* Ikony */
.i {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------------- Przyciski ---------------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 600 16px/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn .i { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover .i { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(.99); }

.btn-primary {
  --btn-bg: var(--accent);
  box-shadow: 0 8px 20px -8px rgba(228, 87, 46, .7);
}
.btn-primary:hover { --btn-bg: var(--accent-2); box-shadow: 0 12px 26px -10px rgba(228, 87, 46, .8); transform: translateY(-1px); }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: rgba(21, 23, 28, .18);
}
.btn-ghost:hover { border-color: var(--ink); background: rgba(255, 255, 255, .6); }

.btn-dark { --btn-bg: var(--ink); }
.btn-dark:hover { --btn-bg: #000; transform: translateY(-1px); }

.btn-sm { padding: 10px 18px; font-size: 15px; }
.btn-lg { padding: 16px 28px; font-size: 17px; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-weight: 600;
  color: var(--accent-2);
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
}
.link-arrow .i { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover .i { transform: translateX(4px); }

/* ---------------- Nagłówek ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 243, 236, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -16px rgba(21, 23, 28, .25);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.logo-mark { width: 34px; height: 34px; color: var(--ink); }
.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.03em;
}
.logo-text span { color: var(--accent); }
.logo--light { color: #fff; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a:not(.btn) {
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15.5px;
  text-decoration: none;
  color: var(--ink-2);
  transition: color .2s, background-color .2s;
}
.nav-links a:not(.btn):hover { color: var(--ink); background: rgba(21, 23, 28, .05); }
.nav-links a.active:not(.btn) { color: var(--ink); }
.nav-cta { margin-left: 10px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  padding: 56px 0 96px;
  isolation: isolate;
  overflow-x: clip; /* poświata ::after nie poszerza strony na telefonach */
}
.hero::before {
  content: '';
  position: absolute;
  inset: -80px 0 0;
  z-index: -1;
  background-image: radial-gradient(rgba(21, 23, 28, .10) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 75% 40%, #000 20%, transparent 70%);
          mask-image: radial-gradient(ellipse 60% 70% at 75% 40%, #000 20%, transparent 70%);
}
.hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: 560px;
  height: 560px;
  right: -120px;
  top: -60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 194, 79, .35), rgba(228, 87, 46, .10) 45%, transparent 70%);
  filter: blur(10px);
  animation: glow 16s ease-in-out infinite alternate;
}
@keyframes glow { to { translate: -90px 70px; scale: 1.15; } }

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 56px;
  align-items: center;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2DB36A;
  box-shadow: 0 0 0 0 rgba(45, 179, 106, .6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(45, 179, 106, .55); }
  70% { box-shadow: 0 0 0 9px rgba(45, 179, 106, 0); }
  100% { box-shadow: 0 0 0 0 rgba(45, 179, 106, 0); }
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}
.hl {
  position: relative;
  display: inline-block;
  color: var(--accent);
}
.hl svg {
  position: absolute;
  left: -2%;
  bottom: -0.12em;
  width: 104%;
  height: .32em;
  overflow: visible;
}
.hl svg path {
  fill: none;
  stroke: var(--yellow);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: draw 1s 1s ease forwards;
}

/* Słowa nagłówka wjeżdżają po kolei */
.hero h1 .w { display: inline-block; }
.js .hero h1 .w {
  animation: wordIn .8s cubic-bezier(.2, .8, .2, 1) both;
  animation-delay: calc(.1s + var(--i, 0) * .07s);
}
@keyframes wordIn {
  from { opacity: 0; transform: translateY(.45em) rotate(3deg); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.lead {
  margin-top: 24px;
  max-width: 540px;
  font-size: 19px;
  color: var(--ink-2);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 30px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
}
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .i {
  width: 20px;
  height: 20px;
  padding: 3px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  stroke-width: 2.6;
}

/* Wizualizacja w hero */
.hero-visual {
  position: relative;
  padding: 24px 6% 56px 4%;
}
.browser {
  position: relative;
  background: var(--card);
  border-radius: 18px;
  border: 1px solid rgba(21, 23, 28, .08);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  /* --mx / --my ustawia script.js, gdy kursor porusza się nad hero */
  transform: perspective(1800px) rotateY(calc(-7deg + var(--mx, 0) * 6deg)) rotateX(calc(2deg - var(--my, 0) * 5deg));
  transform-origin: left center;
  transition: transform .4s ease-out;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 14px;
  background: #F3F0EA;
  border-bottom: 1px solid #ECE7DD;
}
.browser-bar > i { width: 11px; height: 11px; border-radius: 50%; background: #E2DCD0; }
.browser-bar > i:nth-child(1) { background: #FF6159; }
.browser-bar > i:nth-child(2) { background: #FFBD2E; }
.browser-bar > i:nth-child(3) { background: #28C840; }
.url {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 auto;
  padding: 4px 14px;
  border-radius: 8px;
  background: #fff;
  font-size: 12.5px;
  color: var(--ink-3);
  border: 1px solid #ECE7DD;
}
.url svg { width: 12px; height: 12px; fill: none; stroke: #2DB36A; stroke-width: 2.4; }

.browser-body { padding: 18px 22px 22px; background: #FFFCF6; }
.mock-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.mock-nav b {
  font-family: var(--font-display);
  font-size: 15px;
  margin-right: auto;
  color: #6B3D16;
}
.mock-nav span { width: 34px; height: 6px; border-radius: 4px; background: #EADFCC; }
.mock-nav em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #C9813F;
  padding: 5px 12px;
  border-radius: 999px;
}
.mock-hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 16px;
  align-items: center;
  margin: 18px 0 18px;
}
.mock-copy small {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #C9813F;
}
.mock-copy strong {
  display: block;
  margin: 6px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 23px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #3A2311;
}
.mock-copy p { height: 6px; border-radius: 4px; background: #EFE5D4; margin-bottom: 7px; }
.mock-copy p.short { width: 70%; }
.mock-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #3A2311;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.mock-art svg { width: 100%; height: auto; }
.mock-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.mock-cards div {
  padding: 10px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #F0E8DA;
}
.mock-cards i { display: block; width: 22px; height: 22px; border-radius: 7px; background: #F7E2C2; margin-bottom: 8px; }
.mock-cards span { display: block; height: 5px; border-radius: 4px; background: #EFE5D4; margin-top: 5px; }
.mock-cards span.short { width: 60%; }

.phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 30%;
  min-width: 128px;
  aspect-ratio: 9 / 18.5;
  padding: 7px;
  border-radius: 28px;
  background: var(--ink);
  box-shadow: var(--shadow-lg);
  rotate: 4deg;
  animation: bob 7s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  translate: -50% 0;
  width: 32%;
  height: 10px;
  border-radius: 10px;
  background: var(--ink);
  z-index: 2;
}
.phone-screen {
  height: 100%;
  border-radius: 22px;
  background: #FFFCF6;
  padding: 26px 11px 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.pm-nav { display: flex; justify-content: space-between; align-items: center; }
.pm-nav b { font-family: var(--font-display); font-size: 10.5px; color: #6B3D16; }
.pm-nav span { width: 14px; height: 8px; border-top: 2px solid #3A2311; border-bottom: 2px solid #3A2311; }
.pm-art {
  margin: 10px 0;
  aspect-ratio: 1.3;
  border-radius: 12px;
  background:
    radial-gradient(ellipse 60% 38% at 50% 62%, #C9813F 0 98%, transparent 100%),
    radial-gradient(circle at 50% 50%, #F7E2C2 0 70%, transparent 71%),
    #FBEFDB;
}
.phone-screen strong { font-family: var(--font-display); font-size: 12px; line-height: 1.1; color: #3A2311; }
.phone-screen p { height: 4px; border-radius: 4px; background: #EFE5D4; margin-top: 6px; }
.phone-screen p.short { width: 65%; }
.pm-btn {
  margin-top: auto;
  padding: 7px;
  border-radius: 999px;
  background: #C9813F;
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  text-align: center;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow);
  border: 1px solid rgba(21, 23, 28, .06);
  font-size: 13px;
  line-height: 1.35;
  animation: float 6s ease-in-out infinite;
  max-width: 260px;
  translate: calc(var(--mx, 0) * -14px) calc(var(--my, 0) * -10px);
}
.float-card strong { display: block; font-size: 13.5px; }
.float-card span { color: var(--ink-3); }
.fc-1 { top: 0; left: -6%; }
.fc-2 { bottom: 10px; left: 8%; animation-delay: -3s; }
.fc-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent-2);
}
.fc-icon .i { width: 19px; height: 19px; }
.fc-1 .fc-icon { position: relative; }
.fc-1 .fc-icon::after {
  content: '';
  position: absolute;
  top: -4px;
  right: -4px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #fff;
  animation: ping 2s ease-out infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(228, 87, 46, .55); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(228, 87, 46, 0); }
}
@property --score {
  syntax: '<number>';
  inherits: false;
  initial-value: 98;
}
.fc-score {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: #138A4B;
  background:
    radial-gradient(closest-side, #fff 76%, transparent 78% 100%),
    conic-gradient(#2DB36A calc(var(--score, 98) * 1%), #E6F4EC 0);
  animation: score 1.6s cubic-bezier(.3, .7, .2, 1) 1.3s both;
}
@keyframes score { from { --score: 0; } to { --score: 98; } }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------------- Pasek branż ---------------- */
.marquee {
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; flex: none; }
.marquee li {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.marquee li::after {
  content: '';
  width: 14px;
  height: 14px;
  background: var(--yellow);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------- Sekcje ---------------- */
.section { padding: 112px 0; }
.section-alt { background: var(--paper-2); }

.section-head { max-width: 640px; }
.section-head.center { margin: 0 auto 56px; text-align: center; }
.section-head h2 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}
.section-head p:not(.eyebrow) {
  margin-top: 18px;
  font-size: 18px;
  color: var(--ink-2);
}
.section-head.center p:not(.eyebrow) { margin-inline: auto; max-width: 560px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.eyebrow--light { color: var(--yellow); }

.split {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 72px;
  align-items: start;
}
.split-aside { position: sticky; top: calc(var(--header-h) + 40px); }

.icon-box {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: var(--accent-soft);
  color: var(--accent-2);
}
.icon-box .i { width: 24px; height: 24px; }

/* Dlaczego warto */
.benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.benefit {
  padding: 30px 28px 32px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.benefit:nth-child(2) { transform: translateY(28px); }
.benefit:nth-child(4) { transform: translateY(28px); }
.benefit:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.benefit:nth-child(2):hover, .benefit:nth-child(4):hover { transform: translateY(22px); }
.benefit:hover .icon-box, .service:hover .icon-box, .guarantees li:hover .g-icon { animation: wiggle .55s ease; }
@keyframes wiggle {
  0%, 100% { rotate: 0deg; }
  25% { rotate: -12deg; }
  60% { rotate: 9deg; }
}
.benefit:nth-child(2) .icon-box, .benefit:nth-child(3) .icon-box { background: var(--green-soft); color: var(--green); }
.benefit h3 { margin-top: 22px; font-size: 21px; }
.benefit p { margin-top: 10px; color: var(--ink-2); font-size: 16px; }

/* Oferta */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 30px 28px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.service .icon-box { transition: background-color .3s ease, color .3s ease; }
.service:hover .icon-box { background: var(--accent); color: #fff; }
.service h3 { margin-top: 22px; font-size: 22px; }
.service p { margin-top: 10px; color: var(--ink-2); font-size: 16px; flex: 1; }
.service-price {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  font-weight: 700;
  font-size: 15.5px;
  color: var(--ink);
  text-decoration: none;
}
.service-price .i { width: 17px; height: 17px; color: var(--accent); transition: transform .2s; }
.service:hover .service-price .i { transform: translateX(4px); }

.included {
  display: grid;
  grid-template-columns: .8fr 1.6fr;
  gap: 48px;
  align-items: center;
  margin-top: 28px;
  padding: 48px;
  border-radius: var(--radius-lg);
  background: var(--green);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.included::after {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  right: -80px;
  bottom: -160px;
  border-radius: 50%;
  border: 50px solid rgba(255, 255, 255, .05);
}
.included-head h3 { font-size: 30px; font-weight: 800; }
.included-head p { margin-top: 12px; color: rgba(255, 255, 255, .72); }
.included-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 24px;
  position: relative;
  z-index: 1;
}
.included-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15.5px;
  line-height: 1.4;
}
.included-list .i {
  width: 22px;
  height: 22px;
  padding: 4px;
  margin-top: -1px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--green);
  stroke-width: 3;
}

/* Proces */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  counter-reset: step;
}
.steps::before {
  content: '';
  position: absolute;
  top: 31px;
  left: 12%;
  right: 12%;
  border-top: 2px dashed #CFC6B6;
}
.step { position: relative; text-align: center; padding: 0 8px; }
.step-num {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--ink);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  box-shadow: 6px 6px 0 var(--yellow);
  transition: transform .25s, box-shadow .25s;
}
.step:hover .step-num { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--accent); }
.step h3 { font-size: 21px; }
.step p { margin-top: 10px; font-size: 16px; color: var(--ink-2); }

/* Projekty */
.works {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.work {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.work:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.work-frame { padding: 16px 16px 0; background: var(--paper); }
.work-bar {
  display: flex;
  gap: 5px;
  padding: 9px 12px;
  border-radius: 12px 12px 0 0;
  background: #fff;
  border: 1px solid var(--line);
  border-bottom: 0;
}
.work-bar i { width: 8px; height: 8px; border-radius: 50%; background: #E2DBCD; }

.concept {
  --c-bg: #fff;
  --c-ink: #222;
  --c-accent: #E4572E;
  --c-muted: rgba(0, 0, 0, .1);
  height: 220px;
  padding: 14px 16px;
  background: var(--c-bg);
  color: var(--c-ink);
  border: 1px solid var(--line);
  border-bottom: 0;
  overflow: hidden;
  transition: transform .5s ease;
}
.c-nav { display: flex; align-items: center; gap: 8px; }
.c-nav b { font-family: var(--font-display); font-size: 12px; margin-right: auto; }
.c-nav span { width: 22px; height: 4px; border-radius: 3px; background: var(--c-muted); }
.c-nav em {
  font-style: normal;
  font-size: 9px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--c-accent);
  color: var(--c-bg);
}
.c-hero {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 12px;
  align-items: center;
  margin: 18px 0 16px;
}
.c-copy small {
  display: block;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .65;
}
.c-copy strong {
  display: block;
  margin: 5px 0 10px;
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.c-btn {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--c-ink);
  color: var(--c-bg);
}
.c-art { aspect-ratio: 1; border-radius: 14px; }
.c-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.c-row span { height: 44px; border-radius: 8px; background: var(--c-muted); }

.concept--beauty { --c-bg: #FBEDE8; --c-ink: #2A1E1C; --c-accent: #D8746A; --c-muted: rgba(216, 116, 106, .18); }
.concept--beauty .c-art {
  border-radius: 50% 50% 14px 14px;
  background:
    radial-gradient(circle at 50% 38%, #F6C9BA 0 22%, transparent 23%),
    radial-gradient(ellipse 48% 40% at 50% 100%, #E99F8F 0 98%, transparent 100%),
    linear-gradient(160deg, #F3D7CC, #EDB7A6);
}
.concept--auto { --c-bg: #141A22; --c-ink: #FFFFFF; --c-accent: #FFC93C; --c-muted: rgba(255, 255, 255, .1); }
.concept--auto .c-btn { background: var(--c-accent); color: #141A22; }
.concept--auto .c-nav em { color: #141A22; }
.concept--auto .c-art {
  background:
    radial-gradient(circle at 50% 50%, #141A22 0 16%, #8892A0 17% 22%, #2A323D 23% 40%, #11161D 41% 48%, transparent 49%),
    repeating-linear-gradient(-45deg, #FFC93C 0 10px, #222A35 10px 20px);
}
.concept--cafe { --c-bg: #EAF0E5; --c-ink: #22362A; --c-accent: #3E6B48; --c-muted: rgba(62, 107, 72, .16); }
.concept--cafe .c-nav em { color: #fff; }
.concept--cafe .c-art {
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #5A3A26 0 26%, #8A5E40 27% 31%, #FFFFFF 32% 42%, #DDE6D6 43% 46%, transparent 47%),
    #C8D7BF;
}
.work:hover .concept { transform: translateY(-6px); }

.work-info { padding: 24px 26px 28px; }
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.work-info h3 { margin-top: 8px; font-size: 22px; }
.work-info p { margin-top: 8px; font-size: 15.5px; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.chips li {
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
}

.apps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 28px;
  padding: 22px 26px;
  border-radius: var(--radius);
  border: 1.5px dashed #CFC6B6;
}
.apps strong { display: block; font-family: var(--font-display); font-size: 18px; }
.apps span { color: var(--ink-2); font-size: 15px; }
.apps-links { display: flex; flex-wrap: wrap; gap: 10px; }
.apps-links .btn .i { width: 18px; height: 18px; }
.apps-links .btn:hover .i { transform: none; }

/* Prawdziwa realizacja: spinprint.pl */
.showcase {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 44px;
  align-items: center;
  margin-bottom: 64px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.showcase-preview {
  display: block;
  border-radius: 16px;
  color: inherit;
  text-decoration: none;
  transition: transform .35s ease;
}
.showcase-preview:hover { transform: translateY(-4px) rotate(-.6deg); }
.sp-browser {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.sp-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 12px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.sp-bar i { width: 8px; height: 8px; border-radius: 50%; background: #E2DBCD; }
.sp-url {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 10px;
  padding: 3px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
}
.sp-url .i { width: 12px; height: 12px; color: var(--green); stroke-width: 2.4; }
.sp-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1120 / 700;
  object-fit: cover;
  object-position: top;
  background: #0B0F14;
}
/* Zrzut wersji na telefon, nachodzący na ramkę przeglądarki */
.showcase-media { position: relative; padding-bottom: 34px; }
.sp-phone {
  position: absolute;
  right: -18px;
  bottom: 0;
  width: 23%;
  margin: 0;
  padding: 5px;
  border-radius: 22px;
  background: var(--ink);
  box-shadow: var(--shadow-lg);
  rotate: 4deg;
  pointer-events: none;
  transition: rotate .35s ease, translate .35s ease;
}
.sp-phone img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 360 / 779;
  object-fit: cover;
  object-position: top;
  border-radius: 17px;
}
.showcase-media:hover .sp-phone { rotate: 0deg; translate: 0 -8px; }
.js .showcase.reveal.in .sp-phone { animation: fx-phone .9s cubic-bezier(.25, 1.3, .45, 1) .55s backwards; }
.js .showcase.reveal.in.seen .sp-phone { animation: none; }
@keyframes fx-phone { from { opacity: 0; translate: 40px 60px; rotate: 18deg; scale: .7; } }

.live-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.live-tag i, .hero-proof-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: live-pulse 1.8s ease-out infinite;
}
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--green) 55%, transparent); }
  100% { box-shadow: 0 0 0 9px color-mix(in srgb, var(--green) 0%, transparent); }
}
.showcase-info h3 { margin-top: 16px; font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; }
.showcase-info p { margin-top: 12px; color: var(--ink-2); font-size: 16.5px; }
.showcase-info .chips { margin-top: 18px; }
.showcase-info .btn { margin-top: 26px; }
.works-label {
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  color: var(--ink-3);
}

/* Odnośnik do realizacji w hero */
.hero-proof {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin-top: 22px;
  padding: 8px 16px 8px 14px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  color: var(--ink-2);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
}
.hero-proof b { color: var(--ink); font-weight: 700; }
.hero-proof .i { flex: none; width: 16px; height: 16px; color: var(--accent); transition: transform .2s ease; }
.hero-proof:hover { border-color: transparent; box-shadow: var(--shadow); }
.hero-proof:hover .i { transform: translateX(3px); }

/* Cennik */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 32px 32px;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan h3 { font-size: 24px; }
.plan-desc { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; }
.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  margin: 26px 0 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.price .from { font-size: 16px; color: var(--ink-3); font-weight: 500; }
.price .amount {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.price .cur { font-size: 20px; font-weight: 700; }
.price-note { flex-basis: 100%; margin-top: 10px; font-size: 14px; font-weight: 500; color: var(--ink-3); }
.plan--featured .price-note { color: rgba(255, 255, 255, .62); }
.plan-list { display: grid; gap: 12px; margin-bottom: 30px; flex: 1; }
.plan-list li {
  position: relative;
  padding-left: 30px;
  font-size: 15.5px;
  line-height: 1.45;
}
.plan-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E4A3D' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.plan--featured {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: var(--shadow-lg);
  transform: translateY(-12px);
}
.plan--featured:hover { transform: translateY(-18px); box-shadow: var(--shadow-lg); }
.plan--featured .plan-desc, .plan--featured .price .from { color: rgba(255, 255, 255, .62); }
.plan--featured .price { border-bottom-color: rgba(255, 255, 255, .14); }
.plan--featured .plan-list li::before {
  background-color: var(--yellow);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315171C' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E");
}
.plan-badge {
  position: absolute;
  top: -14px;
  left: 32px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .02em;
  animation: badge 3s ease-in-out infinite;
}
@keyframes badge {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -4px; }
}

.care {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 20px;
  align-items: center;
  margin-top: 28px;
  padding: 22px 26px;
  border-radius: var(--radius);
  background: var(--green-soft);
}
.care-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--green);
  color: #fff;
}
.care-text strong { display: block; font-family: var(--font-display); font-size: 19px; }
.care-text span { color: var(--ink-2); font-size: 15px; }
.care-price { font-size: 15px; color: var(--ink-2); white-space: nowrap; }
.care-price b { font-family: var(--font-display); font-size: 24px; color: var(--ink); }

/* Kalkulator */
.calc {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  margin-top: 64px;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.calc-inputs { padding: 44px; }
.calc-title { font-size: clamp(1.6rem, 2.8vw, 2.1rem); font-weight: 800; margin-bottom: 30px; }
.calc-group { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
.calc-group legend, .calc-label label {
  padding: 0;
  margin-bottom: 12px;
  font-weight: 700;
  font-size: 15px;
}
.calc-label { display: flex; justify-content: space-between; align-items: baseline; }
.calc-hint { margin-left: 4px; font-style: normal; font-weight: 500; font-size: 13.5px; color: var(--ink-3); }
.calc-label output {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--accent-2);
}

.seg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 6px;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span {
  display: block;
  padding: 11px 8px;
  border-radius: 11px;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-2);
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.seg input:checked + span { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.seg input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.seg label:hover input:not(:checked) + span { color: var(--ink); background: rgba(21, 23, 28, .05); }

input[type="range"] {
  --fill: 0%;
  width: 100%;
  height: 28px;
  margin: 0;
  background: transparent;
  -webkit-appearance: none;
          appearance: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--accent) var(--fill), var(--paper-2) var(--fill));
}
input[type="range"]::-moz-range-track { height: 8px; border-radius: 8px; background: var(--paper-2); }
input[type="range"]::-moz-range-progress { height: 8px; border-radius: 8px; background: var(--accent); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  margin-top: -9px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
  transition: transform .15s;
}
input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
.range-scale { display: flex; justify-content: space-between; margin-top: 4px; font-size: 12.5px; color: var(--ink-3); }

.addons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.addon { position: relative; cursor: pointer; }
.addon input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.addon span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  height: 100%;
  padding: 12px 14px 12px 42px;
  border-radius: 13px;
  border: 1.5px solid var(--line);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.3;
  transition: border-color .2s, background-color .2s;
  position: relative;
}
.addon span::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  border-radius: 6px;
  border: 1.5px solid #C7BEAE;
  background: #fff center / 12px no-repeat;
  transition: background-color .2s, border-color .2s;
}
.addon em { font-style: normal; font-weight: 700; font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.addon:hover span { border-color: #C7BEAE; }
.addon input:checked + span { border-color: var(--accent); background: #FFF6F2; }
.addon input:checked + span::before {
  border-color: var(--accent);
  background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E");
}
.addon input:checked + span em { color: var(--accent-2); }
.addon input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }

.calc-summary {
  display: flex;
  flex-direction: column;
  padding: 44px;
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.calc-summary::before {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  top: -120px;
  right: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 87, 46, .55), transparent 70%);
}
.calc-summary > * { position: relative; }
.calc-summary-label { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.calc-total {
  margin: 8px 0 28px;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.calc-total small { font-size: .4em; letter-spacing: 0; }
.calc-summary dl { margin: 0 0 30px; display: grid; gap: 0; }
.calc-summary dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 15px;
}
.calc-summary dt { color: rgba(255, 255, 255, .6); }
.calc-summary dd { margin: 0; font-weight: 600; text-align: right; }
.calc-summary .btn { margin-top: auto; }
.calc-note { margin-top: 14px; font-size: 13px; color: rgba(255, 255, 255, .5); text-align: center; }
.bump { animation: bump .35s ease; }
@keyframes bump { 40% { transform: scale(1.04); } }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details {
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  transition: box-shadow .25s, border-color .25s;
}
.faq details[open] { box-shadow: var(--shadow-sm); border-color: transparent; }
.faq summary {
  position: relative;
  padding: 22px 64px 22px 26px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  position: absolute;
  right: 22px;
  top: 50%;
  width: 30px;
  height: 30px;
  margin-top: -15px;
  border-radius: 50%;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315171C' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .3s ease, background-color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--accent-soft); }
.faq summary:hover { color: var(--accent-2); }
.faq details p { padding: 0 26px 24px; color: var(--ink-2); font-size: 16.5px; max-width: 640px; }

/* Kontakt */
.contact {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.contact-info {
  position: relative;
  padding: 56px 48px;
  background: var(--accent);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.contact-info::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 380px;
  height: 380px;
  right: -140px;
  bottom: -140px;
  border-radius: 50%;
  border: 64px solid rgba(255, 255, 255, .10);
}
.contact-info .eyebrow--light { color: #FFE7A8; }
.contact-info h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 800; letter-spacing: -0.035em; }
.contact-info > p { margin-top: 16px; font-size: 17.5px; color: rgba(255, 255, 255, .88); }
.contact-list { display: grid; gap: 18px; margin-top: 40px; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.ci {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 14px;
  background: rgba(255, 255, 255, .16);
}
.ci .i { width: 21px; height: 21px; }
.contact-list small { display: block; font-size: 13px; color: rgba(255, 255, 255, .72); }
.contact-list a, .contact-list span:not(.ci) { font-weight: 600; font-size: 17px; text-decoration: none; word-break: break-word; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 3px; }

.contact-form { padding: 48px; display: grid; gap: 18px; align-content: start; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field label { font-size: 14.5px; font-weight: 600; }
.field label span { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 13px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: #A39D92; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #CFC6B6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(228, 87, 46, .14);
}
.field .invalid, .field .invalid:hover { border-color: #D93025; background: #FFF5F4; }
.select-wrap { position: relative; }
.select-wrap select { -webkit-appearance: none; appearance: none; padding-right: 44px; cursor: pointer; }
.select-wrap::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -7px;
  border-right: 2px solid var(--ink-2);
  border-bottom: 2px solid var(--ink-2);
  transform: rotate(45deg);
  pointer-events: none;
}
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; line-height: 1.45; }
.consent input { width: 19px; height: 19px; margin: 1px 0 0; flex: none; accent-color: var(--accent); cursor: pointer; }
.consent.invalid span { color: #D93025; }
.form-status { min-height: 1.5em; font-size: 15px; font-weight: 500; text-align: center; }
.form-status.ok { color: var(--green-2); }
.form-status.err { color: #D93025; }

/* Stopka */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .7);
  padding: 72px 0 32px;
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer-brand p { margin-top: 16px; max-width: 300px; }
.site-footer h4 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.site-footer ul { display: grid; gap: 10px; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 14px;
}

/* ---------------- Elementy zachęcające do zamówienia ---------------- */

/* Pasek postępu przewijania */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--yellow));
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
  pointer-events: none;
}

/* Pasek promocyjny nad nagłówkiem */
.promo-bar {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  font-size: 14.5px;
}
.promo-bar::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 30%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .09), transparent);
  translate: -100% 0;
  animation: sheen 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes sheen {
  0%, 55% { translate: -100% 0; }
  100% { translate: 440% 0; }
}
.promo-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 10px;
  min-height: 42px;
  padding-block: 8px;
  text-align: center;
}
.promo-inner .i {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--yellow);
  fill: currentColor;
  stroke: none;
  animation: zap 2.4s ease-in-out infinite;
}
@keyframes zap {
  0%, 70%, 100% { scale: 1; }
  80% { scale: 1.35; }
  90% { scale: .9; }
}
.promo-inner b { color: var(--yellow); font-weight: 700; }
.promo-inner span { color: rgba(255, 255, 255, .78); }
.promo-inner a {
  color: #fff;
  font-weight: 700;
  text-underline-offset: 3px;
  transition: color .2s ease;
}
.promo-inner a:hover { color: var(--yellow); }

/* Połysk przebiegający po najważniejszych przyciskach */
.btn-shine { position: relative; overflow: hidden; isolation: isolate; }
.btn-shine::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  pointer-events: none;
  animation: shine 4s ease-in-out infinite;
}
@keyframes shine {
  0%, 60% { transform: translateX(-150%) skewX(-20deg); }
  85%, 100% { transform: translateX(350%) skewX(-20deg); }
}

.btn-outline-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, .3);
}
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

/* Naklejka z ceną w hero */
.price-sticker {
  position: absolute;
  top: -14px;
  right: 2%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 128px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 18px 34px -14px rgba(21, 23, 28, .45), inset 0 0 0 5px rgba(255, 255, 255, .35);
  rotate: 8deg;
}
.sticker-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 18s linear infinite;
}
@keyframes spin { to { rotate: 360deg; } }
.sticker-ring text { font: 700 8.5px var(--font-body); fill: var(--ink); }
.sticker-core { position: relative; text-align: center; line-height: 1; }
.sticker-core small {
  display: block;
  margin-bottom: 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.sticker-core b {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.sticker-core b span { margin-left: 2px; font-size: 15px; letter-spacing: 0; }

/* Pasek CTA w środku strony */
.cta-band { padding: 0 0 112px; }
.cta-band-inner {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.3fr auto;
  align-items: center;
  gap: 40px;
  padding: 56px;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: #fff;
}
.cta-band-inner::before,
.cta-band-inner::after {
  content: '';
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(40px);
  animation: blob 9s ease-in-out infinite alternate;
}
.cta-band-inner::before {
  width: 360px;
  height: 360px;
  top: -160px;
  right: -60px;
  background: rgba(228, 87, 46, .55);
}
.cta-band-inner::after {
  width: 280px;
  height: 280px;
  bottom: -170px;
  left: 30%;
  background: rgba(243, 194, 79, .35);
  animation-delay: -4s;
}
@keyframes blob { to { translate: -60px 40px; scale: 1.2; } }
.cta-band h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
}
.cta-band-copy p:not(.eyebrow) {
  margin-top: 14px;
  max-width: 560px;
  font-size: 17.5px;
  color: rgba(255, 255, 255, .72);
}
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Gwarancje pod cennikiem */
.guarantees {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.guarantees li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}
.g-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green);
}
.g-icon .i { width: 18px; height: 18px; }

/* Zapewnienia pod przyciskiem formularza */
.form-assure {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin-top: -4px;
  font-size: 14px;
  color: var(--ink-2);
}
.form-assure li { display: inline-flex; align-items: center; gap: 6px; }
.form-assure .i { width: 16px; height: 16px; color: var(--green-2); stroke-width: 2.6; }

/* Przyklejony przycisk zamówienia */
.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 10px 10px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 22px 44px -16px rgba(21, 23, 28, .6);
  translate: -50% 140%;
  opacity: 0;
  visibility: hidden;
  transition: translate .45s cubic-bezier(.2, .8, .2, 1), opacity .3s ease, visibility 0s linear .45s;
}
.sticky-cta.show {
  translate: -50% 0;
  opacity: 1;
  visibility: visible;
  transition: translate .45s cubic-bezier(.2, .8, .2, 1), opacity .3s ease;
}
.sticky-cta-text { display: grid; line-height: 1.25; white-space: nowrap; }
.sticky-cta-text strong { font-family: var(--font-display); font-size: 16px; font-weight: 800; }
.sticky-cta-text span { font-size: 13px; color: rgba(255, 255, 255, .65); }

/* ---------------- Animacje wejścia ---------------- */
/* --dir ustawia script.js: 1 = element wraca z dołu ekranu, -1 = z góry */
.js .reveal {
  opacity: 0;
  translate: 0 calc(var(--dir, 1) * 26px);
  /* opóźnienie tylko dla wejścia — efekty hover (transform, cień) reagują od razu */
  transition:
    opacity .7s ease var(--d, 0s),
    translate .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0s),
    transform .3s ease,
    box-shadow .3s ease,
    border-color .3s ease;
}
.js .reveal.in { opacity: 1; translate: 0 0; }

/* Linia przy nadtytułach rysuje się po pojawieniu sekcji */
.js .reveal .eyebrow::before { width: 0; transition: width .6s ease calc(var(--d, 0s) + .35s); }
.js .reveal.in .eyebrow::before { width: 22px; }

/* Wejście ilustracji w hero: telefon, karteczki, naklejka */
.js .hero-visual .phone {
  opacity: 0;
  translate: 0 50px;
  transition: opacity .6s ease .5s, translate .9s cubic-bezier(.2, .8, .2, 1) .5s;
}
.js .hero-visual.in .phone { opacity: 1; translate: 0 0; }
.fc-1 { --fd: .8s; }
.fc-2 { --fd: 1s; }
.js .hero-visual .float-card {
  opacity: 0;
  scale: .6;
  transition:
    opacity .5s ease var(--fd, 0s),
    scale .7s cubic-bezier(.3, 1.5, .5, 1) var(--fd, 0s),
    translate .5s ease-out 0s;
}
.js .hero-visual.in .float-card { opacity: 1; scale: 1; }
/* Naklejka z ceną wkręca się dwoma pełnymi obrotami */
.js .hero-visual .price-sticker {
  opacity: 0;
  scale: .2;
  rotate: -712deg;
  transition:
    opacity .3s ease 1.1s,
    scale .9s cubic-bezier(.3, 1.5, .5, 1) 1.1s,
    rotate 1.6s cubic-bezier(.15, .8, .25, 1.04) 1.1s;
}
.js .hero-visual.in .price-sticker { opacity: 1; scale: 1; rotate: 8deg; }

/* Proces: linia łącząca kroki i numery „wskakują” po kolei */
.js .steps::before {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.6s cubic-bezier(.6, 0, .2, 1) .25s;
}
.js .steps.in::before { transform: scaleX(1); }
.js .step.reveal .step-num {
  scale: .4;
  transition: transform .25s, box-shadow .25s, scale .6s cubic-bezier(.3, 1.6, .5, 1) calc(var(--d, 0s) + .2s);
}
.js .step.reveal.in .step-num { scale: 1; }
.js .step.reveal::before {
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .8s ease calc(var(--d, 0s) + .35s);
}
.js .step.reveal.in::before { transform: scaleY(1); }

/* ---------------- Efekty kart ----------------
   Karty z efektem nie używają przejścia opacity/translate z .reveal – zamiast tego
   po dodaniu .in odpalają animację na właściwościach rotate/scale/translate,
   więc transform zostaje wolny dla hovera i przechylenia 3D.
   Po wyjściu z ekranu .in znika, a karta wraca do stanu ukrytego – przy ponownym
   przewinięciu animacja odpala się znowu (z góry lub z dołu, zależnie od --dir). */
.benefits, .services, .plans, .works { perspective: 1400px; }

.js .benefit.reveal,
.js .service.reveal,
.js .plan.reveal,
.js .work.reveal,
.js .faq details.reveal,
.js .included.reveal,
.js .cta-band-inner.reveal,
.js .apps.reveal,
.js .care.reveal,
.js .calc.reveal,
.js .showcase.reveal {
  translate: none;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.js .reveal.in:is(.benefit, .service, .plan, .work, .included, .cta-band-inner, .apps, .care, .calc, .showcase),
.js .faq details.reveal.in {
  animation: var(--fx) var(--fx-dur, 1s) var(--fx-ease, cubic-bezier(.2, .8, .2, 1)) var(--fx-delay, var(--d, 0s)) backwards;
}

/* Oferta: karty wlatują, robiąc dwa pełne obroty */
.service { --fx: fx-spin; --fx-dur: 1.5s; --fx-ease: cubic-bezier(.12, .8, .25, 1); --fx-delay: calc(var(--d, 0s) * 2.5); }
@keyframes fx-spin {
  0% { opacity: 0; rotate: y -720deg; scale: .5; translate: 0 calc(var(--dir, 1) * 90px); }
  22% { opacity: 1; }
  100% { opacity: 1; rotate: y 0deg; scale: 1; translate: 0 0; }
}

/* Korzyści: karty odchylają się jak klapka – od strony, z której przewijasz */
.benefit {
  --fx: fx-flip;
  --fx-dur: 1s;
  --fx-ease: cubic-bezier(.25, 1.25, .45, 1);
  --fx-delay: calc(var(--d, 0s) * 2);
  transform-origin: 50% calc(50% + var(--dir, 1) * 50%);
}
@keyframes fx-flip {
  0% { opacity: 0; rotate: x calc(var(--dir, 1) * -85deg); translate: 0 calc(var(--dir, 1) * 40px); }
  35% { opacity: 1; }
  100% { opacity: 1; rotate: x 0deg; translate: 0 0; }
}

/* Cennik: polecany pakiet wykręca obrót, a dwa pozostałe „rozdają się” spod niego */
.plan--featured { z-index: 1; }
.plan { --fx: fx-deal; --fx-dur: 1.1s; --fx-ease: cubic-bezier(.2, .9, .25, 1.05); --fx-delay: .55s; --deal-x: calc(100% + 20px); --deal-r: -12deg; }
.plan:nth-child(3) { --deal-x: calc(-100% - 20px); --deal-r: 12deg; --fx-delay: .65s; }
.plan--featured { --fx: fx-spin; --fx-dur: 1.4s; --fx-ease: cubic-bezier(.12, .8, .25, 1); --fx-delay: 0s; }
@keyframes fx-deal {
  0% { opacity: 0; translate: var(--deal-x) calc(var(--dir, 1) * 50px); rotate: var(--deal-r); scale: .86; }
  25% { opacity: 1; }
  100% { opacity: 1; translate: 0 0; rotate: 0deg; scale: 1; }
}

/* Realizacje: wjeżdżają z boków z lekkim zakołysaniem */
.work { --fx: fx-swing; --fx-dur: 1.1s; --fx-ease: cubic-bezier(.25, 1.3, .45, 1); --fx-delay: calc(var(--d, 0s) * 2); --sx: 1; }
.work:nth-child(2) { --sx: 0; }
.work:nth-child(3) { --sx: -1; }
@keyframes fx-swing {
  0% { opacity: 0; translate: calc(var(--sx) * -110px) calc(var(--dir, 1) * 70px); rotate: calc(var(--sx) * -9deg); scale: .88; }
  40% { opacity: 1; }
  100% { opacity: 1; translate: 0 0; rotate: 0deg; scale: 1; }
}

/* FAQ: pytania wsuwają się na zmianę z lewej i prawej */
.faq details { --fx: fx-slide; --fx-dur: .8s; --fx-delay: 0s; --sx: 1; }
.faq details:nth-child(even) { --sx: -1; }
@keyframes fx-slide {
  0% { opacity: 0; translate: calc(var(--sx) * -70px) calc(var(--dir, 1) * 10px); rotate: calc(var(--sx) * -2deg); }
  100% { opacity: 1; translate: 0 0; rotate: 0deg; }
}

/* Duże bloki: rozkładają się z lekkim przybliżeniem */
.included, .cta-band-inner, .apps, .care, .calc, .showcase { --fx: fx-zoom; --fx-dur: 1s; --fx-ease: cubic-bezier(.2, 1.1, .3, 1); }
@keyframes fx-zoom {
  0% { opacity: 0; scale: .9; translate: 0 calc(var(--dir, 1) * 50px); rotate: calc(var(--dir, 1) * -1.5deg); }
  45% { opacity: 1; }
  100% { opacity: 1; scale: 1; translate: 0 0; rotate: 0deg; }
}

/* Gwarancje: wyskakują po kolei, gdy pojawi się ich lista */
.js .guarantees.reveal.in li { animation: fx-pop .7s cubic-bezier(.3, 1.6, .5, 1) backwards; }
.js .guarantees.reveal.in li:nth-child(1) { animation-delay: .1s; }
.js .guarantees.reveal.in li:nth-child(2) { animation-delay: .2s; }
.js .guarantees.reveal.in li:nth-child(3) { animation-delay: .3s; }
.js .guarantees.reveal.in li:nth-child(4) { animation-delay: .4s; }
@keyframes fx-pop {
  0% { opacity: 0; scale: .4; rotate: -10deg; }
  100% { opacity: 1; scale: 1; rotate: 0deg; }
}

/* Kolejne pojawienia (.seen = karta już raz się pokazała): zamiast obrotów
   tylko krótkie, lekkie wsunięcie od strony przewijania */
.js .reveal.in.seen:is(.benefit, .service, .plan, .work, .included, .cta-band-inner, .apps, .care, .calc, .showcase),
.js .faq details.reveal.in.seen {
  animation: fx-soft .55s cubic-bezier(.2, .8, .2, 1) calc(var(--d, 0s) * .6) backwards;
}
@keyframes fx-soft {
  0% { opacity: 0; translate: 0 calc(var(--dir, 1) * 22px); scale: .97; }
  100% { opacity: 1; translate: 0 0; scale: 1; }
}
.js .guarantees.reveal.in.seen li { animation: none; }

/* Przechylenie 3D i odblask pod kursorem (klasy .tilt/.tilting dodaje script.js) */
.work { position: relative; }
.tilt::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(228, 87, 46, .13), rgba(228, 87, 46, 0) 58%);
  opacity: 0;
  transition: opacity .3s ease;
}
.plan--featured.tilt::after {
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 58%);
}
.tilt.tilting::after { opacity: 1; }
.js .tilt.tilting {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px);
  transition: transform .12s ease-out, box-shadow .3s ease, border-color .3s ease;
}
.js .plan--featured.tilt.tilting {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-18px);
}

@media (prefers-reduced-motion: reduce) {
  .js .hero h1 .w { animation: none; }
  .js .hero-visual .phone,
  .js .hero-visual .float-card { opacity: 1; translate: none; scale: none; }
  .js .hero-visual .price-sticker { opacity: 1; scale: none; rotate: 8deg; }
  .js .steps::before, .js .step.reveal::before { transform: none; }
  .js .step.reveal .step-num { scale: none; }
  .js .reveal .eyebrow::before { width: 22px; }
  .btn-shine::after { display: none; }
  .sticker-ring { animation: none; }
  .live-tag i, .hero-proof-dot, .js .showcase.reveal.in .sp-phone { animation: none !important; }
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; translate: none; }
  .js .reveal.in:is(.benefit, .service, .plan, .work, .included, .cta-band-inner, .apps, .care, .calc, .showcase),
  .js .faq details.reveal.in,
  .js .guarantees.reveal.in li { animation: none !important; }
  .hl svg path { stroke-dashoffset: 0; }
}

/* ---------------- Responsywność ---------------- */
@media (max-width: 1080px) {
  .included { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .section { padding: 88px 0; }

  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 16px 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(21, 23, 28, .3);
    opacity: 0;
    visibility: hidden;
    translate: 0 -8px;
    transition: opacity .2s ease, translate .2s ease, visibility 0s linear .2s;
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    translate: 0 0;
    transition: opacity .2s ease, translate .2s ease;
  }
  .nav-links a:not(.btn) { padding: 13px 14px; font-size: 17px; border-radius: 12px; }
  .nav-cta { margin: 10px 0 0; padding: 14px; font-size: 16px; }

  .hero { padding: 36px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 620px; width: 100%; margin: 0 auto; }

  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-aside { position: static; }

  .services, .works { grid-template-columns: repeat(2, 1fr); }
  .showcase { grid-template-columns: 1fr; gap: 32px; max-width: 640px; margin-left: auto; margin-right: auto; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; gap: 28px; }
  .plan--featured { transform: none; }
  .plan--featured:hover { transform: translateY(-6px); }
  .js .plan--featured.tilt.tilting {
    transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px);
  }
  /* W jednej kolumnie karty cennika nie mają spod czego się „rozdać” – odchylają się jak klapka */
  .plan:not(.plan--featured) {
    --fx: fx-flip;
    --fx-delay: 0s;
    --fx-ease: cubic-bezier(.25, 1.25, .45, 1);
    transform-origin: 50% calc(50% + var(--dir, 1) * 50%);
  }
  .guarantees { grid-template-columns: repeat(2, 1fr); }

  .cta-band { padding-bottom: 88px; }
  .cta-band-inner { grid-template-columns: 1fr; gap: 28px; padding: 48px 40px; }

  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .steps::before { display: none; }

  .calc { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .care { grid-template-columns: auto 1fr; }
  .care-price { grid-column: 2; }
  .care .btn { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .section-head.center { margin-bottom: 40px; }
  .section-head p:not(.eyebrow) { font-size: 17px; }

  .logo-text { font-size: 18px; }
  .logo-mark { width: 30px; height: 30px; }

  .hero h1 { font-size: clamp(2.3rem, 10.5vw, 3rem); }
  .lead { font-size: 17.5px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-trust { flex-direction: column; gap: 10px; }
  .hero-proof { font-size: 14px; }
  .showcase { padding: 16px 16px 24px; margin-bottom: 48px; }
  .showcase-media { padding-bottom: 26px; }
  .sp-phone { right: -6px; width: 25%; padding: 3px; border-radius: 14px; }
  .sp-phone img { border-radius: 11px; }
  .showcase-info .btn { width: 100%; justify-content: center; }

  .hero-visual { padding: 34px 0 40px; }
  .browser { transform: none; }
  .browser-body { padding: 14px 14px 16px; }
  .mock-nav span { display: none; }
  .mock-cards { display: none; }
  .phone { width: 34%; min-width: 0; right: -4px; bottom: 0; border-radius: 22px; padding: 5px; }
  .phone-screen { border-radius: 18px; padding: 20px 8px 9px; }
  .phone-notch { top: 9px; height: 7px; }
  .float-card { padding: 9px 12px 9px 9px; gap: 9px; font-size: 12px; max-width: 220px; }
  .float-card strong { font-size: 12.5px; }
  .fc-1 { top: 0; left: 0; }
  .fc-2 { bottom: 0; left: 0; }
  .fc-icon { width: 32px; height: 32px; }
  .fc-score { width: 36px; height: 36px; font-size: 13px; }

  .marquee li { font-size: 18px; gap: 22px; padding-right: 22px; }

  .benefits { grid-template-columns: 1fr; gap: 14px; }
  .benefit:nth-child(2), .benefit:nth-child(4) { transform: none; }
  .benefit:nth-child(n):hover { transform: translateY(-4px); }

  .promo-bar { font-size: 13.5px; }
  .promo-inner { gap: 4px 8px; }
  .promo-inner .i, .promo-extra { display: none; }

  .price-sticker { width: 92px; top: -6px; right: -2px; }
  .sticker-core small { font-size: 9px; }
  .sticker-core b { font-size: 22px; }
  .sticker-core b span { font-size: 12px; }

  .cta-band { padding-bottom: 72px; }
  .cta-band-inner { padding: 36px 22px; }
  .cta-band-actions .btn { flex: 1 1 100%; }

  .guarantees { grid-template-columns: 1fr; }

  .sticky-cta {
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    justify-content: space-between;
    gap: 12px;
    padding-left: 18px;
    translate: 0 140%;
  }
  .sticky-cta.show { translate: 0 0; }
  .sticky-cta-text strong { font-size: 15px; }
  .sticky-cta-text span { font-size: 12px; }

  .services, .works { grid-template-columns: 1fr; }
  .included { padding: 32px 24px; }
  .included-head h3 { font-size: 26px; }
  .included-list { grid-template-columns: 1fr; gap: 14px; }

  .steps { grid-template-columns: 1fr; gap: 0; }
  .step {
    display: grid;
    grid-template-columns: 56px 1fr;
    column-gap: 18px;
    text-align: left;
    padding: 0 0 32px;
  }
  .step::before {
    content: '';
    position: absolute;
    left: 27px;
    top: 60px;
    bottom: 4px;
    border-left: 2px dashed #CFC6B6;
  }
  .step:last-child::before { display: none; }
  .step:last-child { padding-bottom: 0; }
  .step-num { grid-row: span 2; width: 56px; height: 56px; margin: 0; font-size: 22px; box-shadow: 4px 4px 0 var(--yellow); }
  .step h3 { align-self: end; margin-top: 4px; }
  .step p { margin-top: 6px; }

  .apps { padding: 20px; }

  .plan { padding: 32px 24px 26px; }
  .price .amount { font-size: 46px; }

  .care { grid-template-columns: 1fr; text-align: left; }
  .care-price, .care .btn { grid-column: auto; }
  .care .btn { justify-self: stretch; }

  .calc { margin-top: 48px; }
  .calc-inputs, .calc-summary { padding: 30px 22px; }
  .addons { grid-template-columns: 1fr; }
  .seg span { font-size: 14px; padding: 10px 4px; }

  .faq summary { padding: 18px 56px 18px 20px; font-size: 17px; }
  .faq summary::after { right: 16px; }
  .faq details p { padding: 0 20px 20px; font-size: 16px; }

  .contact-info { padding: 40px 24px; }
  .contact-form { padding: 32px 22px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
}
