/* ==========================================================================
   Lev Lysiak — portfolio
   Styl: ciemny motyw, akcent limonkowy, podejscie mobile-first
   ========================================================================== */

/* --- Zmienne globalne --- */
:root {
  --bg: #0d0d0f;
  --bg-soft: #121215;
  --card: #17171a;
  --card-hi: #1d1d21;
  --line: #26262b;
  --line-hi: #34343b;
  --txt: #ffffff;
  --muted: #9a9aa4;
  --muted-dim: #6e6e78;
  --acc: #a3e635;
  --acc-dark: #84cc16;
  --acc-ink: #0d0d0f;
  --radius: 20px;
  --radius-sm: 12px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 0.68, 0.24, 1);
}

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

html {
  scroll-behavior: smooth;          /* plynne przewijanie do kotwic */
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--txt);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
::selection { background: var(--acc); color: var(--acc-ink); }

/* --- Typografia --- */
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

/* --- Uklad --- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 88px 0;
  scroll-margin-top: 76px;          /* odstep pod przyklejonym naglowkiem */
}

.section__head { margin-bottom: 44px; }

.section__label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--acc);
  margin-bottom: 18px;
}
.section__label::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--acc);
  border-radius: 2px;
}

.section__title {
  font-size: clamp(2.1rem, 9vw, 3.6rem);
  margin-bottom: 16px;
}

.section__sub {
  color: var(--muted);
  max-width: 56ch;
  font-size: 1.02rem;
}

/* --- Animacja pojawiania sie przy przewijaniu --- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* --- Przyciski --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background-color 0.2s, border-color 0.2s, color 0.2s;
  text-align: center;
}
.btn:active { transform: scale(0.975); }

.btn--acc { background: var(--acc); color: var(--acc-ink); }
.btn--acc:hover { background: #b6f04f; }

.btn--ghost { border-color: var(--line-hi); color: var(--txt); }
.btn--ghost:hover { border-color: var(--acc); color: var(--acc); }

.btn--sm { padding: 10px 18px; font-size: 0.9rem; }
.btn--block { width: 100%; }

/* ==========================================================================
   Naglowek
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 13, 15, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background-color 0.3s;
}
.header.is-stuck { border-bottom-color: var(--line); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.03em;
}
.logo span { color: var(--acc); }

.nav { display: none; }

.nav__link {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav__link:hover { color: var(--txt); }

.header__cta { display: none; }

/* Przycisk burgera — tylko na mobile */
.burger {
  width: 44px;
  height: 44px;
  margin-right: -10px;
  display: grid;
  place-items: center;
  gap: 5px;
  align-content: center;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--txt);
  border-radius: 2px;
  transition: transform 0.28s var(--ease), opacity 0.2s;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobilne */
.mobile-menu {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.38s var(--ease);
  border-top: 1px solid transparent;
  background: var(--bg);
}
.mobile-menu.is-open {
  max-height: 420px;
  border-top-color: var(--line);
}
.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 20px 24px;
}
.mobile-menu__link {
  padding: 12px 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.mobile-menu__link:hover { color: var(--txt); }
.mobile-menu .btn { margin-top: 16px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: 56px 0 72px;
  overflow: hidden;
}
/* Delikatna poswiata w tle */
.hero::before {
  content: "";
  position: absolute;
  top: -220px;
  left: 50%;
  width: 620px;
  height: 620px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(163, 230, 53, 0.13) 0%, rgba(163, 230, 53, 0) 68%);
  pointer-events: none;
}

.hero__inner { position: relative; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 26px;
}
.hero__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 0 4px rgba(163, 230, 53, 0.16);
}

.hero__title {
  font-size: clamp(2.7rem, 12.5vw, 6.6rem);
  margin-bottom: 24px;
}
.hero__title em { font-style: normal; color: var(--acc); }

.hero__sub {
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 46ch;
  margin-bottom: 34px;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 56px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.fact {
  background: var(--bg);
  padding: 20px 18px;
}
.fact__num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 2px;
}
.fact__num--acc { color: var(--acc); }
.fact__txt { font-size: 0.85rem; color: var(--muted); line-height: 1.4; }

/* ==========================================================================
   Projekty
   ========================================================================== */
.projects { display: flex; flex-direction: column; gap: 28px; }

.project {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.3s;
}
.project:hover { border-color: var(--line-hi); }

.project__media { margin-bottom: 26px; }

.project__cat {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--acc);
  margin-bottom: 12px;
}
.project__name {
  font-size: clamp(1.9rem, 8vw, 2.9rem);
  margin-bottom: 14px;
}
.project__desc {
  color: var(--muted);
  margin-bottom: 20px;
  font-size: 1rem;
}

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.tag {
  font-size: 0.8rem;
  color: var(--muted);
  background: var(--card-hi);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Ramka w ksztalcie laptopa */
.laptop { width: 100%; }
.laptop__screen {
  background: #0a0a0c;
  border: 8px solid #232329;
  border-radius: 14px 14px 4px 4px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 10;
}
.laptop__bar {
  height: 22px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  background: #1b1b20;
  border-bottom: 1px solid #2a2a30;
}
.laptop__bar i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #3a3a42;
  display: block;
}
.laptop__img {
  width: 100%;
  height: calc(100% - 22px);
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.project:hover .laptop__img { transform: scale(1.035); }
.laptop__base {
  height: 11px;
  margin: 0 auto;
  width: 58%;
  background: linear-gradient(180deg, #2b2b32, #1a1a1f);
  border-radius: 0 0 10px 10px;
}

/* ==========================================================================
   Uslugi
   ========================================================================== */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.card:hover { border-color: var(--line-hi); transform: translateY(-3px); }

.card__icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(163, 230, 53, 0.1);
  border: 1px solid rgba(163, 230, 53, 0.22);
  display: grid;
  place-items: center;
  color: var(--acc);
  margin-bottom: 20px;
}
.card__title { font-size: 1.28rem; margin-bottom: 10px; }
.card__desc { color: var(--muted); font-size: 0.95rem; flex: 1; margin-bottom: 20px; }
.card__price {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--acc);
  padding-top: 16px;
  border-top: 1px solid var(--line);
  letter-spacing: -0.02em;
}

.note {
  margin-top: 26px;
  color: var(--muted-dim);
  font-size: 0.86rem;
  max-width: 72ch;
}

/* ==========================================================================
   Jak pracuje
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  position: relative;
}

.step {
  position: relative;
  padding: 0 0 34px 46px;
}
.step:last-child { padding-bottom: 0; }
/* Pionowa linia laczaca kroki (mobile) */
.step::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 34px;
  bottom: -4px;
  width: 1px;
  background: linear-gradient(180deg, var(--line-hi), var(--line));
}
.step:last-child::before { display: none; }

.step__num {
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--line-hi);
  display: grid;
  place-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--acc);
}
.step__title { font-size: 1.24rem; margin-bottom: 8px; padding-top: 3px; }
.step__desc { color: var(--muted); font-size: 0.95rem; margin-bottom: 10px; }
.step__time {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted-dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 11px;
}

/* ==========================================================================
   Dlaczego ja
   ========================================================================== */
.why {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.why__item {
  border-top: 2px solid var(--acc);
  padding-top: 22px;
}
.why__title { font-size: 1.3rem; margin-bottom: 10px; }
.why__desc { color: var(--muted); font-size: 0.96rem; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { border-top: 1px solid var(--line); }

.faq__item { border-bottom: 1px solid var(--line); }

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
  text-align: left;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.06rem;
  letter-spacing: -0.02em;
  transition: color 0.2s;
}
.faq__q:hover { color: var(--acc); }

.faq__icon {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line-hi);
  display: grid;
  place-items: center;
  position: relative;
  transition: background-color 0.25s, border-color 0.25s, transform 0.3s var(--ease);
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
}
.faq__icon::before { width: 11px; height: 1.5px; }
.faq__icon::after { width: 1.5px; height: 11px; transition: opacity 0.25s; }
.faq__item.is-open .faq__icon {
  background: var(--acc);
  border-color: var(--acc);
  color: var(--acc-ink);
  transform: rotate(180deg);
}
.faq__item.is-open .faq__icon::after { opacity: 0; }

/* Plynne rozwijanie odpowiedzi */
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p {
  color: var(--muted);
  padding-bottom: 24px;
  max-width: 68ch;
  font-size: 0.97rem;
}

/* ==========================================================================
   Kontakt
   ========================================================================== */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.field { margin-bottom: 18px; }

.field__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 8px;
}

.field__input,
.field__select,
.field__textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.field__textarea { min-height: 128px; resize: vertical; font-family: inherit; }

.field__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239a9aa4' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 42px;
  cursor: pointer;
}
.field__select option { background: var(--card); }

.field__input:focus,
.field__select:focus,
.field__textarea:focus {
  outline: none;
  border-color: var(--acc);
  box-shadow: 0 0 0 3px rgba(163, 230, 53, 0.14);
}
.field__input::placeholder, .field__textarea::placeholder { color: var(--muted-dim); }

.field.has-error .field__input,
.field.has-error .field__select,
.field.has-error .field__textarea { border-color: #f87171; }

.field__error {
  display: block;
  margin-top: 7px;
  font-size: 0.82rem;
  color: #f87171;
}

/* Zgoda RODO */
.consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 4px 0 20px;
  cursor: pointer;
}
.consent input {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin-top: 2px;
  accent-color: var(--acc);
  cursor: pointer;
}
.consent span { font-size: 0.85rem; color: var(--muted); line-height: 1.5; }
.consent a { color: var(--acc); text-decoration: underline; text-underline-offset: 3px; }
.consent.has-error span { color: #f87171; }

/* Komunikat po wyslaniu */
.form__success {
  text-align: center;
  padding: 30px 10px;
}
.form__success-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(163, 230, 53, 0.12);
  border: 1px solid rgba(163, 230, 53, 0.3);
  display: grid;
  place-items: center;
  color: var(--acc);
}
.form__success h3 { font-size: 1.4rem; margin-bottom: 10px; }
.form__success p { color: var(--muted); font-size: 0.95rem; margin-bottom: 20px; }

/* Bezposrednie kontakty */
.contacts { display: flex; flex-direction: column; gap: 14px; }

.contact-link {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color 0.25s, transform 0.25s var(--ease), background-color 0.25s;
}
.contact-link:hover {
  border-color: var(--acc);
  background: var(--card-hi);
  transform: translateY(-2px);
}
.contact-link__icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(163, 230, 53, 0.1);
  display: grid;
  place-items: center;
  color: var(--acc);
}
/* Podpis i wartosc jeden pod drugim */
.contact-link__text { display: flex; flex-direction: column; min-width: 0; }
.contact-link__label {
  display: block;
  font-size: 0.78rem;
  line-height: 1.3;
  color: var(--muted-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.contact-link__value {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.contact-link__arrow { margin-left: auto; color: var(--muted-dim); flex: 0 0 auto; }

.contact-info {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.contact-info p { color: var(--muted); font-size: 0.9rem; }
.contact-info strong { color: var(--txt); font-weight: 600; }

/* ==========================================================================
   Stopka
   ========================================================================== */
.footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 34px;
  margin-top: 24px;
}
.footer__grid {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.footer__name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.footer__city { color: var(--muted); font-size: 0.9rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer__links a { color: var(--muted); font-size: 0.92rem; transition: color 0.2s; }
.footer__links a:hover { color: var(--acc); }
.footer__bottom {
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding-top: 22px;
  color: var(--muted-dim);
  font-size: 0.84rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
}

/* ==========================================================================
   Baner cookies
   ========================================================================== */
.cookies {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 200;
  background: var(--card);
  border: 1px solid var(--line-hi);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  animation: slideUp 0.45s var(--ease);
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
.cookies__title { font-size: 1.05rem; margin-bottom: 8px; }
.cookies__txt { color: var(--muted); font-size: 0.87rem; margin-bottom: 16px; }
.cookies__txt a { color: var(--acc); text-decoration: underline; text-underline-offset: 3px; }
.cookies__actions { display: flex; flex-direction: column; gap: 9px; }

/* ==========================================================================
   Przycisk powrotu na gore
   ========================================================================== */
.to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 150;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--acc);
  color: var(--acc-ink);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: #b6f04f; }

/* ==========================================================================
   Polityka prywatnosci (podstrona)
   ========================================================================== */
.legal { padding: 48px 0 80px; }
.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 30px;
  transition: color 0.2s;
}
.legal__back:hover { color: var(--acc); }
.legal h1 { font-size: clamp(2rem, 8vw, 3.2rem); margin-bottom: 10px; }
.legal__date { color: var(--muted-dim); font-size: 0.86rem; margin-bottom: 36px; }
.legal h2 {
  font-size: 1.32rem;
  margin: 34px 0 12px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.legal p, .legal li { color: var(--muted); font-size: 0.97rem; }
.legal p { margin-bottom: 12px; max-width: 76ch; }
.legal ul { margin: 0 0 12px 20px; max-width: 76ch; }
.legal li { margin-bottom: 7px; }
.legal a { color: var(--acc); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--txt); }

/* ==========================================================================
   Breakpointy
   ========================================================================== */
@media (min-width: 600px) {
  .hero__actions { flex-direction: row; }
  .hero__actions .btn { min-width: 190px; }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .cookies { left: auto; right: 20px; bottom: 20px; max-width: 430px; padding: 24px; }
  .cookies__actions { flex-direction: row; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: repeat(3, 1fr); gap: 26px; }
  .project { padding: 30px; }
}

@media (min-width: 900px) {
  .section { padding: 130px 0; scroll-margin-top: 88px; }
  .section__head { margin-bottom: 60px; }
  .header__inner { height: 78px; }

  .nav { display: flex; align-items: center; gap: 34px; }
  .header__cta { display: inline-flex; }
  .burger { display: none; }
  .mobile-menu { display: none; }

  .hero { padding: 90px 0 110px; }
  .hero__actions { margin-bottom: 84px; }
  .fact { padding: 26px 24px; }
  .fact__num { font-size: 1.9rem; }

  .projects { gap: 40px; }
  .project {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 52px;
    padding: 44px;
  }
  .project__media { margin-bottom: 0; }
  /* Naprzemienne ulozenie: co druga karta ma tekst po lewej */
  .project--reverse .project__media { order: 2; }

  .steps { grid-template-columns: repeat(4, 1fr); gap: 26px; }
  .step { padding: 56px 0 0 0; }
  /* Pozioma linia laczaca kroki (desktop) */
  .step::before {
    left: 36px;
    right: -26px;
    top: 17px;
    bottom: auto;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, var(--line-hi), var(--line));
  }
  .step__num { width: 36px; height: 36px; font-size: 0.95rem; }

  .cards { grid-template-columns: repeat(4, 1fr); }
  .card { padding: 30px 26px; }

  .contact__grid { grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: start; }
  .form { padding: 36px; }
  .faq__q { font-size: 1.18rem; padding: 26px 0; }

  .footer__grid { flex-direction: row; justify-content: space-between; align-items: flex-start; }
  .footer__bottom { flex-direction: row; }

  .to-top { right: 26px; bottom: 26px; width: 52px; height: 52px; }
  .legal { padding: 64px 0 110px; }
}

@media (min-width: 1100px) {
  .hero__title { letter-spacing: -0.045em; }
  .section__title { font-size: clamp(2.8rem, 5vw, 4.4rem); }
}
