/* =========================================================
   Drawbot – style
   ========================================================= */

:root {
  --blue: #0a54a6;
  --blue-500: #1466c4;
  --blue-700: #073f7e;
  --blue-50: #eef4fe;
  --blue-100: #dbe8fb;
  --text: #1f3c66;
  --muted: #4e6689;
  --line: rgba(10, 84, 166, 0.14);
  --line-strong: rgba(10, 84, 166, 0.32);
  --page-bg: #f6f9fe;
  --surface: rgba(255, 255, 255, 0.82);
  --wave-1: #2f3fd6;
  --wave-2: #7fa6e6;

  --shadow-sm: 0 1px 2px rgba(10, 40, 90, 0.05), 0 6px 16px -8px rgba(10, 40, 90, 0.12);
  --shadow-lg: 0 2px 4px rgba(10, 40, 90, 0.04), 0 28px 60px -28px rgba(10, 60, 130, 0.35);

  --font-logo: "Chakra Petch", "Russo One", system-ui, sans-serif;
  --font-heading: "Russo One", "Arial Black", system-ui, sans-serif;
  --font-body: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-lg: clamp(22px, 2.4vw, 32px);
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --header-h: 72px;
  --section-y: clamp(80px, 10vw, 128px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

[hidden] {
  display: none !important;
}

a {
  color: inherit;
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
}

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

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Tło z gradientem (smuga światła) ---------- */
.section--gradient {
  position: relative;
  background: linear-gradient(
    118deg,
    #fbfdff 0%,
    #e6f0fd 22%,
    #f1f6fe 40%,
    #ffffff 47%,
    #e2edfd 58%,
    #d3e5fd 72%,
    #e3eefd 88%,
    #f7faff 100%
  );
}

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  color: var(--blue);
  user-select: none;
}

.logo__word {
  font-family: var(--font-logo);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: 0.015em;
}

.logo__tag {
  /* szerokość napisu = szerokość słowa "drawbot" (dopasowanie: fitLogoTags w JS) */
  width: 0;
  min-width: 100%;
  font-family: var(--font-logo);
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: 0.22em;
}

.logo--xl .logo__word { font-size: clamp(76px, 12vw, 156px); }
.logo--xl .logo__tag  { font-size: clamp(10px, 1.45vw, 19px); margin-top: 0.7em; }

/* ---------- Przyciski ---------- */
.btn {
  --btn-h: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--btn-h);
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 16px/1 var(--font-body);
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  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;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform 0.2s ease;
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 26px -14px rgba(10, 84, 166, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn--primary:hover {
  background: var(--blue-700);
  transform: translateY(-2px);
  box-shadow: 0 18px 32px -16px rgba(10, 84, 166, 0.9);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.72);
  color: var(--blue);
  border-color: var(--line);
}

.btn--ghost:hover {
  background: #fff;
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.btn--light {
  background: #fff;
  color: var(--blue);
}

.btn--light:hover {
  background: var(--blue-50);
  transform: translateY(-2px);
}

.btn--sm {
  --btn-h: 42px;
  padding: 0 18px;
  font-size: 15px;
}

.btn--block {
  width: 100%;
}

.btn__short {
  display: none;
}

/* ---------- Typografia sekcji ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font: 700 13px/1 var(--font-logo);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.section-title {
  margin: 0 0 18px;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.08;
  color: var(--blue);
  text-wrap: balance;
}

.section-lead {
  margin: 0;
  max-width: 56ch;
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--muted);
  text-wrap: pretty;
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: clamp(40px, 5vw, 60px);
  text-align: center;
}

/* ---------- Karta ---------- */
.card {
  position: relative;
  z-index: 0;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* =========================================================
   NAGŁÓWEK
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(246, 249, 254, 0.8);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(10, 60, 130, 0.45);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.site-header__logo {
  font: 700 30px/1 var(--font-logo);
  letter-spacing: 0.015em;
  color: var(--blue);
  text-decoration: none;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.site-header.show-logo .site-header__logo {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.site-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.site-nav a {
  position: relative;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.site-nav a:hover {
  color: var(--blue);
  background: rgba(10, 84, 166, 0.07);
}

.site-nav a.is-active {
  color: var(--blue);
}

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ---------- Przełącznik języka ---------- */
.lang-switch {
  display: flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.lang-switch a {
  display: grid;
  place-items: center;
  min-width: 40px;
  height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  font: 700 13px/1 var(--font-body);
  letter-spacing: 0.06em;
  color: var(--muted);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.lang-switch a:hover {
  color: var(--blue);
}

.lang-switch a[aria-current="page"] {
  background: var(--blue);
  color: #fff;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 32px) var(--gutter) 120px;
  overflow: hidden;
  text-align: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(to bottom, rgba(246, 249, 254, 0), var(--page-bg));
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 780px;
}

.hero__title {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.hero__lead {
  max-width: 34em;
  margin: clamp(28px, 4vw, 44px) 0 0;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.55;
  color: var(--text);
  text-wrap: balance;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.hero__tags li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__tags li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.45;
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: -22px;
  border-radius: 50%;
  color: var(--blue);
  opacity: 0.55;
  transition: opacity 0.25s ease;
  animation: bounce 2.2s ease-in-out infinite;
}

.scroll-hint:hover { opacity: 1; }

.scroll-hint svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

/* =========================================================
   O ROBOCIE
   ========================================================= */
.about {
  position: relative;
  padding-block: calc(var(--section-y) * 0.5) var(--section-y);
}

.about__card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(28px, 5vw, 72px);
  /* jednolita biel = kolor tła zdjęcia JPG, więc zdjęcie nie ma widocznych krawędzi */
  background: #fff;
}

.about__text p {
  margin: 0 0 16px;
}

.about__text .section-lead {
  color: var(--text);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 26px;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--blue-50);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: var(--blue);
}

.about__callout {
  margin: 28px 0 0;
  padding: 20px 24px;
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: linear-gradient(120deg, var(--blue-50), rgba(238, 244, 254, 0.35));
  font-weight: 700;
  line-height: 1.5;
  color: var(--blue);
}

.about__media {
  position: relative;
  display: grid;
  place-items: center;
  margin: 0;
}

.about__img {
  width: 100%;
  max-width: 420px;
  height: auto;
}

/* =========================================================
   PAKIETY
   ========================================================= */
.pricing {
  position: relative;
  overflow: hidden;
  padding-block: var(--section-y);
}

.waves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  /* linie wygaszone na krawędziach sekcji i pod treścią */
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%),
    radial-gradient(ellipse 48% 42% at 50% 50%, rgba(0, 0, 0, 0.12) 0%, #000 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%),
    radial-gradient(ellipse 48% 42% at 50% 50%, rgba(0, 0, 0, 0.12) 0%, #000 100%);
  mask-composite: intersect;
}

.pricing__inner {
  position: relative;
  z-index: 1;
}

.packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: clamp(16px, 2vw, 28px);
}

.package {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 2.6vw, 36px);
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.package:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lg);
}

.package__head {
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.package__label {
  font: 700 12px/1 var(--font-logo);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.package__title {
  margin: 10px 0 0;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(26px, 2.3vw, 32px);
  line-height: 1.1;
  color: var(--blue);
}

.package__badge {
  position: absolute;
  top: clamp(22px, 2.4vw, 32px);
  right: clamp(22px, 2.4vw, 32px);
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #fff;
}

.package__list {
  flex: 1;
  display: grid;
  align-content: start;
  gap: 12px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.package__list li {
  position: relative;
  padding-left: 32px;
  line-height: 1.45;
}

.package__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.05em;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a54a6' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.package--featured {
  border-color: transparent;
  background: linear-gradient(160deg, var(--blue-500) 0%, var(--blue) 55%, var(--blue-700) 100%);
  color: #fff;
  box-shadow: 0 30px 60px -30px rgba(10, 84, 166, 0.8);
}

.package--featured:hover {
  border-color: transparent;
  box-shadow: 0 36px 70px -30px rgba(10, 84, 166, 0.9);
}

.package--featured .package__head { border-bottom-color: rgba(255, 255, 255, 0.2); }
.package--featured .package__label { color: rgba(255, 255, 255, 0.78); }
.package--featured .package__title { color: #fff; }

.package--featured .package__list li::before {
  background-color: rgba(255, 255, 255, 0.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

/* ---------- Pasek CTA ---------- */
.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  margin-top: clamp(28px, 3.5vw, 44px);
  padding: clamp(26px, 3.2vw, 40px) clamp(26px, 4vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
}

.cta-band__title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.15;
  color: var(--blue);
}

.cta-band__text {
  margin: 8px 0 0;
  color: var(--muted);
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* =========================================================
   KONTAKT
   ========================================================= */
.contact {
  padding-block: var(--section-y);
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 160px;
  background: linear-gradient(to top, rgba(246, 249, 254, 0), var(--page-bg));
  pointer-events: none;
}

.contact__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(28px, 5vw, 72px);
}

.contact__selected {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 22px 0 0;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--blue-50);
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
}

.contact__selected svg {
  width: 16px;
  height: 16px;
}

.socials {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 32px;
}

.socials__label {
  margin-right: 8px;
  font-size: 14px;
  color: var(--muted);
}

.socials__link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: var(--blue);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.socials__link:hover {
  background: var(--blue-50);
  transform: translateY(-2px);
}

.socials__link svg {
  width: 26px;
  height: 26px;
}

.contact__tiles {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-tile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.contact-tile:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lg);
}

.contact-tile__link {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 16px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

/* cały kafelek klikalny */
.contact-tile__link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.contact-tile__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
}

.contact-tile__icon svg,
.contact-tile__arrow,
.copy-btn svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-tile__icon svg {
  width: 22px;
  height: 22px;
}

.contact-tile__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.contact-tile__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.contact-tile__value {
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--blue);
  overflow-wrap: break-word;
}

.contact-tile__arrow {
  flex: none;
  width: 20px;
  height: 20px;
  margin-left: auto;
  color: var(--blue);
  transition: transform 0.2s ease;
}

.contact-tile:hover .contact-tile__arrow {
  transform: translateX(3px);
}

.copy-btn {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--blue-50);
  color: var(--blue);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.copy-btn:hover {
  background: var(--blue);
  color: #fff;
}

.copy-btn svg {
  width: 20px;
  height: 20px;
}

/* =========================================================
   STOPKA
   ========================================================= */
.footer {
  padding: 40px 0 28px;
  border-top: 1px solid var(--line);
  background: var(--page-bg);
  font-size: 15px;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer__logo {
  font: 700 28px/1 var(--font-logo);
  color: var(--blue);
  text-decoration: none;
}

.footer__tagline {
  margin: 0;
  font: 700 11px/1 var(--font-logo);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
}

.footer__nav a {
  display: inline-block;
  padding: 10px 0;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__nav a:hover {
  color: var(--blue);
}

.footer__copy {
  width: 100%;
  margin: 12px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 100;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  box-shadow: 0 12px 30px -10px rgba(10, 84, 166, 0.6);
  opacity: 0;
  transform: translate(-50%, 20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* =========================================================
   Animacje pojawiania się
   ========================================================= */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s ease var(--delay, 0ms),
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) var(--delay, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* po pojawieniu się karta reaguje na hover bez opóźnienia */
.js .package.reveal.is-visible {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, opacity 0.8s ease;
}

.js .package.reveal.is-visible:hover {
  transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-hint { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .package:hover, .contact-tile:hover { transform: none; }
}

/* =========================================================
   Responsywność
   ========================================================= */
@media (max-width: 960px) {
  .site-nav {
    display: none;
  }

  .site-header__actions {
    margin-left: auto;
  }

  .about__card,
  .contact__card {
    grid-template-columns: 1fr;
  }

  .about__media {
    order: -1;
  }

  .about__img {
    max-width: 300px;
  }

  .packages {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
    max-width: 520px;
    margin-inline: auto;
  }
}

@media (max-width: 560px) {
  :root {
    --header-h: 64px;
  }

  body {
    font-size: 16px;
  }

  .site-header__inner {
    gap: 12px;
  }

  .site-header__logo {
    font-size: 26px;
  }

  .btn__long { display: none; }
  .btn__short { display: inline; }

  .hero__actions {
    flex-direction: column;
    width: 100%;
    max-width: 340px;
  }

  .cta-band__actions,
  .cta-band__actions .btn {
    width: 100%;
  }

  .contact-tile {
    padding: 14px;
  }

  .contact-tile__icon {
    width: 42px;
    height: 42px;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
