/* =========================================================
   CAPIBARA 3D print — system wizualny
   Czarny / jasnoszary / biały / granat, akcent cyjan z logo.
   Linie 1 px zamiast cieni, zaokrąglenia 2 px.
   ========================================================= */

:root {
  --black: #000;
  --light: #ececea;
  --white: #fff;
  --navy: #031631;
  --navy-panel: #0a2148;
  --hero-top: #050d1a;     /* gradient tła headera i hero */
  --hero-bottom: #0c213f;
  --grey: #8e9291;
  --graphite: #121212;
  --cyan: #12e6f2;
  --filament: #d9824a;

  --text-dark: #0a0a0a;
  --muted-dark: #5d6160;   /* tekst pomocniczy na jasnym tle */
  --muted-light: #a4a8a7;  /* tekst pomocniczy na ciemnym tle */
  --line-dark: rgba(0, 0, 0, .14);
  --line-light: rgba(255, 255, 255, .14);

  --font: "Geist", "Helvetica Now Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-logo: "Outfit", var(--font);

  --gutter: 64px;
  --max: 1312px;
  --section-y: 128px;
  --radius: 2px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--white);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol, dl, dd, figure { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
button, input, textarea { font: inherit; color: inherit; }

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

/* ---------- Tła sekcji ---------- */
.section { padding: var(--section-y) 0; }
.section--black { background: var(--black); color: var(--white); }
.section--light { background: var(--light); color: var(--text-dark); }
.section--white { background: var(--white); color: var(--text-dark); }
.section--navy  { background: var(--navy);  color: var(--white); }

/* ---------- Typografia ---------- */
.h1 {
  font-size: 64px;
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -.035em;
}
.h2 {
  font-size: 56px;
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -.03em;
}
.h3 {
  font-size: 28px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.02em;
}
.lead {
  font-size: 18px;
  line-height: 1.5;
  color: var(--muted-dark);
  max-width: 620px;
}
.section--black .lead,
.section--navy .lead { color: var(--muted-light); }

.eyebrow,
.meta {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.33;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.meta { color: var(--muted-dark); }
.section--black .meta,
.section--navy .meta,
.footer .meta { color: var(--muted-light); }

.eyebrow {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--cyan);
  flex: none;
}
.section--light .eyebrow,
.section--white .eyebrow { color: var(--muted-dark); }

/* ---------- Przyciski i linki ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn--lg { height: 52px; padding: 0 24px; }
.btn--primary { background: var(--cyan); color: var(--black); }
.btn--primary:hover { background: #6ff0f7; }
.btn--outline { border-color: rgba(255, 255, 255, .35); color: var(--white); }
.btn--outline:hover { border-color: var(--white); }

.arrow { display: inline-block; transition: transform .2s; }
.btn:hover .arrow,
.link:hover .arrow { transform: translateX(4px); }
.arrow--accent { color: var(--cyan); }

.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
}
.link--light { font-size: 16px; color: var(--white); }

/* ---------- Chipy ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1;
}
.chips--dark .chip { border-color: rgba(0, 0, 0, .25); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--hero-top);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 95px;
}

.logo { display: flex; flex-direction: column; line-height: 1; }
.logo__name {
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -.01em;
  line-height: 33px;
}
.logo__sub {
  margin-top: 2px;
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: 9px;
  letter-spacing: .62em;
  text-transform: uppercase;
  color: var(--cyan);
}

.nav__menu { display: flex; align-items: center; gap: 48px; }
.nav__links { display: flex; gap: 36px; }
.nav__links a { font-size: 15px; transition: color .2s; }
.nav__links a:hover { color: var(--cyan); }

.nav__toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav__toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--white);
  transition: transform .25s, top .25s;
}
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child  { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child  { top: 21px; transform: rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--hero-top) 0%, #061428 45%, var(--hero-bottom) 100%);
  color: var(--white);
}
.hero__grid {
  position: relative;
  min-height: 792px;
  padding-top: 96px;
  padding-bottom: 96px;
}
.hero__content { position: relative; z-index: 1; max-width: 600px; }
.hero .h1 { margin-top: 32px; }
.hero .lead { margin-top: 32px; color: var(--muted-light); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .chips { margin-top: 32px; max-width: 520px; }

/* Grafika wtopiona w tło: radialna maska wygasza krawędzie zdjęcia */
.hero__media {
  position: absolute;
  top: 36px;
  left: calc(50% - 340px);
  width: 1280px;
  height: 720px;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
  pointer-events: none;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================================================
   NAGŁÓWEK SEKCJI (etykieta po lewej, tytuł po prawej)
   ========================================================= */
.section-head {
  display: grid;
  grid-template-columns: 424px minmax(0, 864px);
  gap: 24px;
  margin-bottom: 80px;
}
.section-head > .eyebrow { align-self: start; margin-top: 14px; }
.section-head__main .lead,
.section-head__main .link { margin-top: 28px; }

/* =========================================================
   OFERTA
   ========================================================= */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.offer-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
}
.offer-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}
.offer-card__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 36px 32px 56px;
  flex: 1;
}
.offer-card .num { font-size: 12px; font-weight: 500; letter-spacing: .08em; }
.offer-card p { color: var(--muted-dark); }
.offer-card .link { margin-top: 0; }

.also {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 80px;
}
.also__label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

/* =========================================================
   REALIZACJE
   ========================================================= */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 24px;
}
.work__img {
  aspect-ratio: 421 / 316;
  overflow: hidden;
  background: var(--graphite);
}
.work__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.work:hover .work__img img { transform: scale(1.04); }
.work__title {
  margin-top: 16px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -.01em;
}
.work .meta { display: block; margin-top: 16px; }

/* =========================================================
   MATERIAŁY
   ========================================================= */
.materials { border-bottom: 1px solid var(--line-dark); }
.material {
  display: grid;
  grid-template-columns: 424px minmax(0, 580px) 1fr;
  gap: 24px;
  align-items: center;
  min-height: 112px;
  padding: 24px 0;
  border-top: 1px solid var(--line-dark);
}
.material__name {
  font-size: 37px;
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -.03em;
}
.material__desc { color: var(--muted-dark); max-width: 580px; }
.material__tag { justify-self: end; text-align: right; color: var(--text-dark); }

.params {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 80px;
}
.param {
  padding: 28px;
  background: var(--light);
  border-radius: var(--radius);
}
.param dd {
  margin-top: 12px;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -.02em;
}

/* =========================================================
   JAK TO DZIAŁA
   ========================================================= */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step { border-top: 1px solid rgba(0, 0, 0, .2); }
.step__num {
  display: block;
  margin-top: 29px;
  font-size: 88px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.04em;
}
.step__title {
  margin-top: 16px;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.01em;
}
.step p { margin-top: 16px; color: var(--muted-dark); max-width: 310px; }

/* =========================================================
   WYCENA / KONTAKT
   ========================================================= */
.quote {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 720px);
  justify-content: space-between;
  gap: 72px;
  align-items: start;
}
.quote__title { margin-top: 32px; font-size: 72px; line-height: 1; }
.quote .lead { margin-top: 32px; }

.contact-list { margin-top: 56px; }
.contact-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  border-top: 1px solid var(--line-light);
}
.contact-list dd { font-size: 17px; text-align: right; }
.contact-list a:hover { color: var(--cyan); }

.form {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 48px;
  background: var(--navy-panel);
  border-radius: var(--radius);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }

.field { display: flex; flex-direction: column; gap: 14px; }
.field input,
.field textarea {
  width: 100%;
  padding: 0 0 14px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .25);
  border-radius: 0;
  font-size: 18px;
  line-height: 1.3;
  outline: none;
  transition: border-color .2s;
  -moz-appearance: textfield;
}
.field input::-webkit-outer-spin-button,
.field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.field textarea { min-height: 110px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(255, 255, 255, .35); }
.field input:focus,
.field textarea:focus { border-bottom-color: var(--cyan); }
.field.is-invalid input,
.field.is-invalid textarea { border-bottom-color: #ff6b6b; }

.dropzone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 155px;
  padding: 24px;
  border: 1px dashed rgba(255, 255, 255, .3);
  border-radius: var(--radius);
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.dropzone:hover,
.dropzone.is-dragover { border-color: var(--cyan); background: rgba(18, 230, 242, .04); }
.dropzone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.dropzone:focus-within { border-color: var(--cyan); }
.dropzone__plus { font-size: 28px; font-weight: 300; line-height: 1; color: var(--cyan); }
.dropzone__text { font-size: 16px; margin-top: 4px; }
.dropzone__hint { color: var(--white) !important; opacity: .75; letter-spacing: .06em; }
.dropzone__files { font-size: 14px; color: var(--cyan); }
.dropzone__files:empty { display: none; }

.consent {
  position: relative;
  display: flex;
  gap: 14px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .7);
  cursor: pointer;
}
.consent input { position: absolute; opacity: 0; width: 18px; height: 18px; margin: 0; }
.consent__box {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: var(--radius);
  transition: background-color .15s, border-color .15s;
}
.consent input:checked + .consent__box {
  background: var(--cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3C/svg%3E") center / 12px no-repeat;
  border-color: var(--cyan);
}
.consent input:focus-visible + .consent__box { outline: 2px solid var(--cyan); outline-offset: 2px; }
.consent.is-invalid .consent__box { border-color: #ff6b6b; }
.consent a { color: var(--white); }
.consent a:hover { color: var(--cyan); }

.form .btn { align-self: flex-start; }
.form__status { font-size: 14px; margin-top: -16px; }
.form__status:empty { display: none; }
.form__status.is-error { color: #ff8b8b; }
.form__status.is-ok { color: var(--cyan); }

/* =========================================================
   STOPKA
   ========================================================= */
.footer { padding: 96px 0 96px; }
.footer__cols {
  display: grid;
  grid-template-columns: 520px repeat(3, 1fr);
  gap: 24px;
}
.footer__title { font-size: 48px; line-height: 1.04; }
.footer__cta .btn { margin-top: 32px; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.footer__col .meta { margin-bottom: 0; }
.footer__col a,
.footer__col span { font-size: 16px; line-height: 20px; }
.footer__col a:hover { color: var(--cyan); }

.footer__mark {
  margin: 96px 0 0 -0.04em;
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: min(20.2vw, 291px);
  line-height: .9;
  letter-spacing: -.02em;
  color: var(--graphite);
  white-space: nowrap;
  user-select: none;
}

.footer__bar {
  display: flex;
  justify-content: space-between;
  gap: 16px 32px;
  margin-top: 80px;
  padding-top: 25px;
  border-top: 1px solid var(--line-light);
  font-size: 13px;
  color: var(--muted-light);
}
.footer__bar a:hover { color: var(--white); }

/* =========================================================
   RESPONSYWNOŚĆ
   ========================================================= */

/* Laptop */
@media (max-width: 1280px) {
  :root { --gutter: 48px; }
  .h1 { font-size: 58px; }
  .quote__title { font-size: 64px; }
  .section-head { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
  .material { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, .8fr); }
  .footer__cols { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); }
  .param { padding: 24px; }
  .param dd { font-size: 20px; }
  .hero__media { left: auto; right: -260px; top: 60px; width: 1000px; height: 563px; }
  .hero .lead { max-width: 520px; }
}

/* Tablet */
@media (max-width: 1024px) {
  :root { --gutter: 40px; --section-y: 96px; }
  .h1, .quote__title { font-size: 52px; line-height: 1.02; }
  .h2 { font-size: 44px; }

  .nav { height: 80px; }
  html { scroll-padding-top: 80px; }
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed;
    inset: 81px 0 auto 0;
    height: calc(100dvh - 81px);
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    gap: 32px;
    padding: 24px var(--gutter) 40px;
    background: var(--hero-top);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility 0s .25s;
  }
  .nav__menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .25s, transform .25s;
  }
  .nav__links { flex-direction: column; gap: 0; }
  .nav__links a {
    display: block;
    padding: 18px 0;
    border-bottom: 1px solid var(--line-light);
    font-size: 32px;
    font-weight: 300;
    letter-spacing: -.02em;
  }
  .nav__menu .btn { justify-content: center; height: 56px; }
  body.menu-open { overflow: hidden; }

  .hero__grid {
    min-height: 0;
    padding-top: 72px;
    padding-bottom: 24px;
  }
  .hero__content { max-width: 640px; }
  .hero__media {
    position: relative;
    inset: auto;
    width: auto;
    height: auto;
    aspect-ratio: 16 / 10;
    margin: 8px calc(-1 * var(--gutter)) 0;
  }

  .section-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 56px; }
  .section-head > .eyebrow { margin-top: 0; }

  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .offer-card img { height: auto; aspect-ratio: 421 / 340; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }

  .material { grid-template-columns: 200px minmax(0, 1fr); row-gap: 8px; }
  .material__tag { grid-column: 2; justify-self: start; text-align: left; }
  .params { grid-template-columns: repeat(2, 1fr); margin-top: 56px; }

  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .step__num { font-size: 72px; }

  .quote { grid-template-columns: 1fr; gap: 56px; }
  .quote__intro { max-width: 640px; }

  .footer { padding: 80px 0 64px; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); row-gap: 56px; }
  .footer__cta { grid-column: 1 / -1; }
  .footer__mark { margin-top: 72px; }
}

/* Mobile */
@media (max-width: 767px) {
  :root { --gutter: 20px; --section-y: 72px; }
  .h1, .quote__title { font-size: 40px; line-height: 1.05; letter-spacing: -.03em; }
  .h2 { font-size: 34px; line-height: 1.1; }
  .h3 { font-size: 24px; }
  .lead { font-size: 16px; }

  .nav { height: 68px; }
  html { scroll-padding-top: 68px; }
  .nav__menu { inset: 69px 0 auto 0; height: calc(100dvh - 69px); }
  .nav__links a { font-size: 28px; padding: 16px 0; }
  .logo__name { font-size: 24px; line-height: 28px; }
  .logo__sub { font-size: 8px; }

  .hero__grid { padding-top: 48px; padding-bottom: 8px; }
  .hero .h1 { margin-top: 24px; }
  .hero .lead,
  .hero__cta,
  .hero .chips { margin-top: 24px; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { justify-content: center; }
  .chip { height: 32px; padding: 0 12px; font-size: 13px; }
  .hero__media { aspect-ratio: 5 / 4; margin-top: 0; }

  .section-head { margin-bottom: 40px; }
  .section-head__main .lead,
  .section-head__main .link { margin-top: 20px; }

  .offer-grid { grid-template-columns: 1fr; gap: 16px; }
  .offer-card__body { padding: 28px 24px 32px; gap: 12px; }
  .also { margin-top: 48px; }
  .also__label { width: 100%; }

  .gallery { grid-template-columns: 1fr; gap: 40px; }
  .work__title { font-size: 18px; margin-top: 14px; }
  .work .meta { margin-top: 8px; }

  .material { grid-template-columns: 1fr; padding: 24px 0; gap: 8px; }
  .material__name { font-size: 32px; }
  .material__tag { grid-column: 1; }
  .params { grid-template-columns: 1fr; gap: 12px; margin-top: 40px; }
  .param { padding: 20px; }

  .steps { grid-template-columns: 1fr; row-gap: 40px; }
  .step__num { font-size: 64px; margin-top: 20px; }
  .step__title { font-size: 22px; }

  .quote__title { margin-top: 24px; }
  .quote .lead { margin-top: 24px; }
  .contact-list { margin-top: 40px; }
  .contact-list dd { font-size: 15px; }
  .form { padding: 28px 20px; gap: 32px; margin: 0 calc(-1 * var(--gutter) + 0px); border-radius: 0; }
  .form__row { grid-template-columns: 1fr; gap: 32px; }
  .form .btn { align-self: stretch; justify-content: center; }
  .dropzone__hint { font-size: 11px; }

  .footer { padding: 64px 0 40px; }
  .footer__title { font-size: 36px; }
  .footer__cols { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .footer__cta .btn { margin-top: 24px; }
  .footer__mark { margin-top: 56px; }
  .footer__bar { flex-direction: column; margin-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* =========================================================
   WORDPRESS
   ========================================================= */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.form__trap { position: absolute; left: -9999px; }
.btn:disabled { opacity: .6; cursor: progress; }

.page-content { color: var(--text-dark); min-height: 60vh; }
.page-content__body { margin-top: 32px; max-width: 720px; }
.page-content__body > * + * { margin-top: 16px; }
.page-content__body a { text-decoration: underline; }
.page-content__body ul, .page-content__body ol { padding-left: 24px; list-style: revert; }

/* =========================================================
   ANIMACJE (assets/js/motion.js)
   ========================================================= */
/* Klasę `motion` ustawia skrypt w <head>, gdy użytkownik nie prosi o ograniczenie ruchu. */
.motion .hero__media img { clip-path: inset(100% 0 0 0); }

/* Tekst hero bez JS: rusza z pierwszym renderem i nie opóźnia LCP. */
@media (prefers-reduced-motion: no-preference) {
  .hero .eyebrow,
  .hero .h1,
  .hero .lead,
  .hero__cta,
  .hero .chips { animation: hero-rise .9s cubic-bezier(.16, 1, .3, 1) both; }
  .hero .lead { animation-delay: .15s; }
  .hero__cta { animation-delay: .25s; }
  .hero .chips { animation-delay: .35s; }
}
@keyframes hero-rise { from { opacity: 0; transform: translateY(28px); } }

.offer-card,
.work__img,
.step,
.footer__mark { position: relative; }

.print-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan), 0 0 32px rgba(18, 230, 242, .5);
  pointer-events: none;
}
.step__line {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
}
.print-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
}
/* Maska linii nagłówka nie może ucinać ogonków liter. */
.split-line-mask { padding-bottom: .14em; margin-bottom: -.14em; }

/* Wydruk: sekcje jeszcze nieprzewinięte mają style startowe animacji. */
@media print {
  main *,
  footer * { opacity: 1 !important; clip-path: none !important; transform: none !important; animation: none !important; }
  .print-line,
  .print-progress,
  .step__line { display: none; }
}
