/* =========================================================
   Dywanpol — arkusz stylów
   Krój: Schibsted Grotesk (OFL) — nagłówki i tekst
   ========================================================= */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("assets/fonty/schibsted-grotesk-latin-ext.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("assets/fonty/schibsted-grotesk-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --white: #ffffff;
  --paper: #fcfaf7;
  --beige: #f6eee3;
  --beige-deep: #efe3d2;
  --line: #e9e2d8;

  --ink: #1b2420;
  --muted: #5a6560;

  --primary: #23201d;       /* ciepły grafit */
  --primary-hover: #3d3833;
  --primary-soft: #f3eee8;
  --copper: #b8743a;       /* ikony, duże liczby, akcent w nagłówku */
  --copper-text: #965a27;  /* mały tekst — kontrast AA na bieli */

  --font: "Schibsted Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;

  --gutter: clamp(1.125rem, 3.2vw, 3rem);
  --frame: 76rem;
  --h1: clamp(2.4rem, 1.6rem + 3vw, 3.9rem);
  --h2: clamp(1.9rem, 1.4rem + 1.9vw, 2.9rem);
  --h3: 1.1875rem;

  --r-s: .5rem;
  --r-m: .9rem;
  --r-l: 1.5rem;
  --shadow-s: 0 1px 2px rgba(56, 40, 22, .05), 0 4px 14px -6px rgba(56, 40, 22, .12);
  --shadow-m: 0 2px 4px rgba(56, 40, 22, .04), 0 18px 40px -18px rgba(56, 40, 22, .22);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 6rem; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 400 1rem/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .2em; }
h1, h2, h3, p, ul, ol, figure, address { margin: 0; }
address { font-style: normal; }
h1, h2, h3 { font-weight: 500; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: var(--h1); line-height: 1.06; }
h2 { font-size: var(--h2); line-height: 1.12; }
h3 { font-size: var(--h3); line-height: 1.3; letter-spacing: -.01em; font-weight: 600; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--beige-deep); }

.wrap { width: min(100% - var(--gutter) * 2, var(--frame)); margin-inline: auto; }
.section { padding-block: clamp(2.5rem, 4.5vw, 3.75rem); }
/* sąsiednie sekcje na tym samym tle nie dublują odstępu */
.section:not(.process) + .section:not(.process),
.hero + .section { padding-top: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: fixed; z-index: 100; top: .75rem; left: .75rem; padding: .7rem 1rem;
  border-radius: var(--r-s); background: var(--primary); color: #fff; font-weight: 600; text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--copper-text);
}
.eyebrow::before { content: ""; width: 1.6rem; height: 2px; background: currentColor; }
.lead { font-size: 1.0625rem; color: var(--muted); max-width: 48ch; }
.accent { color: var(--copper); }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.section-head { display: grid; gap: .75rem; margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem); }
.section-head.center { justify-items: center; }

.icon { width: 1.5rem; height: 1.5rem; flex: none; }

/* ---------- przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3rem; padding: .75rem 1.4rem; border: 1.5px solid var(--primary); border-radius: 999px;
  background: var(--primary); color: #fff;
  font: 600 .9375rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.05rem; height: 1.05rem; transition: transform .2s var(--ease); }
.btn:hover svg.mv { transform: translateX(3px); }
.btn--outline { background: transparent; color: var(--primary); border-color: rgba(35, 32, 29, .35); }
.btn--outline:hover { background: var(--primary-soft); border-color: var(--primary); }
.btn--sm { min-height: 2.6rem; padding: .55rem 1.15rem; font-size: .875rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }
.link {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--copper); text-decoration-thickness: 1.5px;
}
.link:hover { text-decoration-thickness: 2.5px; }
.link svg { width: 1rem; height: 1rem; }

/* ---------- pasek górny i nagłówek ---------- */
.topbar { border-bottom: 1px solid var(--line); font-size: .8125rem; color: var(--muted); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2.6rem; }
.topbar-links { display: flex; gap: 1.75rem; }
.topbar a { display: inline-flex; align-items: center; gap: .5rem; color: var(--ink); font-weight: 500; text-decoration: none; }
.topbar a:hover { color: var(--copper-text); text-decoration: underline; }
.topbar svg { width: 1rem; height: 1rem; color: var(--copper); }
.topbar-links { margin-left: auto; }
.langs { display: flex; align-items: center; gap: .3rem; padding-left: 1.25rem; border-left: 1px solid var(--line); }
.langs a { display: grid; place-items: center; padding: 4px; border-radius: 5px; opacity: .72; transition: opacity .2s, background-color .2s, box-shadow .2s; }
.langs a:hover { opacity: 1; background: var(--beige); }
.langs a[aria-current="page"] { opacity: 1; box-shadow: inset 0 0 0 1.5px var(--copper); }
.langs .flag { width: 22px; height: 15px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .1); }


.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -22px rgba(56, 40, 22, .35); }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.75rem; }
.brand { display: block; width: clamp(9rem, 13vw, 10.5rem); mix-blend-mode: multiply; flex: none; }
.nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.6vw, 2.5rem); }
.nav-link {
  display: inline-flex; align-items: center; gap: .3rem; padding: .5rem 0;
  border: 0; background: none; color: var(--ink); font: 500 .9375rem/1.2 var(--font); text-decoration: none; cursor: pointer;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--copper-text); }
.nav-link svg { width: .9rem; height: .9rem; transition: transform .2s; }
.nav-link[aria-expanded="true"] svg { transform: rotate(180deg); }

.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + .6rem); left: 50%; min-width: 15rem;
  display: grid; gap: .1rem; padding: .5rem; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--shadow-m);
  opacity: 0; visibility: hidden; transform: translate(-50%, -6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s;
}
.dropdown-menu.is-open { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.dropdown-menu a { display: block; padding: .6rem .8rem; border-radius: var(--r-s); font-size: .9375rem; text-decoration: none; }
.dropdown-menu a:hover { background: var(--beige); color: var(--ink); }

.menu-toggle {
  display: none; align-items: center; gap: .55rem; min-height: 2.75rem; padding: .5rem 1rem;
  border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink);
  font: 600 .875rem/1 var(--font); cursor: pointer;
}
.menu-toggle span[aria-hidden] { display: grid; gap: 4px; }
.menu-toggle i { display: block; width: 16px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s var(--ease), opacity .2s; }
.menu-toggle[aria-expanded="true"] i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { padding-block: clamp(2rem, 4vw, 3.25rem) clamp(2.5rem, 4.5vw, 3.75rem); overflow: clip; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.hero-copy { display: grid; gap: 1.5rem; justify-items: start; }
.hero h1 { max-width: 15ch; }
.hero .actions { margin-top: .25rem; }
.hero-facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem 2rem;
  width: 100%; margin-top: clamp(1rem, 3vw, 2rem); padding: 0; list-style: none;
}
.hero-facts li { display: grid; gap: .25rem; align-content: start; }
.hero-facts .icon { color: var(--copper); width: 1.6rem; height: 1.6rem; margin-bottom: .35rem; }
.hero-facts strong { color: var(--ink); font-size: .9375rem; font-weight: 700; letter-spacing: .02em; }
.hero-facts span { font-size: .8125rem; color: var(--muted); line-height: 1.45; }

.hero-media { position: relative; padding: 0 clamp(.5rem, 2vw, 1.5rem) clamp(1rem, 3vw, 2rem) 0; }
.hero-media::after {
  content: ""; position: absolute; z-index: -1; right: -6%; bottom: -4%; width: 78%; aspect-ratio: 1;
  border: 1.5px solid rgba(184, 116, 58, .55); border-radius: 50%;
  clip-path: inset(48% 0 0 40%);
}
.hero-arch {
  overflow: hidden; aspect-ratio: 5 / 6; max-height: 34rem; width: 100%;
  border-radius: 14rem 14rem var(--r-l) var(--r-l); background: var(--beige);
}
.hero-arch img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 55%; }

/* ---------- o nas ---------- */
.about-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.about-media { position: relative; padding: clamp(1rem, 2.5vw, 1.75rem) 0 0 clamp(1rem, 2.5vw, 1.75rem); }
.about-media::before {
  content: ""; position: absolute; z-index: -1; top: 0; left: 0; width: 46%; height: 62%;
  background: var(--beige); border-radius: var(--r-l) var(--r-l) var(--r-l) 4rem;
}
.about-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-l); box-shadow: var(--shadow-m); }
.about-copy { display: grid; gap: 1.25rem; justify-items: start; }
.about-copy p { color: var(--muted); max-width: 54ch; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; padding: 0; margin-top: .25rem; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 500; }
.chips svg { width: 1.25rem; height: 1.25rem; color: var(--copper); }

/* ---------- jak działamy ---------- */
.process { background: var(--paper); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 3vw, 3rem); padding: 0; list-style: none; counter-reset: s; }
.step { position: relative; display: grid; align-content: start; gap: .55rem; justify-items: start; counter-increment: s; }
.step-icon {
  display: grid; place-items: center; width: 3.75rem; aspect-ratio: 1; margin-bottom: .9rem;
  border-radius: 50%; background: var(--beige); color: var(--copper);
}
.step-icon svg { width: 1.6rem; height: 1.6rem; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 1.85rem; left: calc(3.75rem + 1rem); right: -1rem; height: 0;
  border-top: 1.5px dashed rgba(184, 116, 58, .45);
}
.step h3::before { content: "0" counter(s) " "; color: var(--copper); font-weight: 500; }
.step p { font-size: .9063rem; color: var(--muted); max-width: 30ch; }

/* ---------- oferta ---------- */
.offer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.card {
  display: grid; grid-template-rows: auto 1fr; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-l);
  text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: transparent; }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--beige); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card-badge {
  position: absolute; top: .75rem; right: .75rem; display: grid; place-items: center;
  width: 2.25rem; aspect-ratio: 1; border-radius: 50%; background: #fff; color: var(--copper); box-shadow: var(--shadow-s);
}
.card-badge svg { width: 1.1rem; height: 1.1rem; }
.card-body { display: grid; align-content: start; gap: .5rem; padding: 1.15rem 1.25rem 1.4rem; }
.card-title { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.card-title svg { width: 1.1rem; height: 1.1rem; color: var(--copper); transition: transform .25s var(--ease); }
.card:hover .card-title svg { transform: translateX(4px); }
.card p { font-size: .875rem; color: var(--muted); line-height: 1.55; }

/* ---------- korzyści ---------- */
.perks {
  display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(4, minmax(0, 1fr)); gap: 2rem; align-items: center;
  padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3.5rem);
  background: var(--beige); border-radius: var(--r-l);
}
.perks h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem); }
.perks h2::after { content: ""; display: block; width: 2.5rem; height: 2px; margin-top: 1.1rem; background: var(--copper); }
.perk { display: grid; justify-items: center; gap: .8rem; text-align: center; font-size: .9375rem; font-weight: 500; line-height: 1.4; }
.perk svg { width: 2.25rem; height: 2.25rem; color: var(--copper); }
.perk small { display: block; color: var(--muted); font-weight: 400; }

/* ---------- katalog ---------- */
.catalogue-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.catalogue-media {
  position: relative; display: grid; place-items: center; overflow: hidden;
  min-height: 20rem; padding: clamp(1.75rem, 4vw, 3rem); border-radius: var(--r-l);
  background: radial-gradient(120% 90% at 85% 100%, var(--beige-deep), var(--beige) 55%, #faf5ee);
}
.catalogue-media img {
  width: min(62%, 15rem); border-radius: .3rem;
  box-shadow: 0 2px 4px rgba(56, 40, 22, .08), 0 30px 50px -18px rgba(56, 40, 22, .45);
  transform: rotate(-5deg); transition: transform .5s var(--ease);
}
.catalogue-media:hover img { transform: rotate(-1deg) translateY(-6px); }
.catalogue-copy { display: grid; gap: 1.2rem; justify-items: start; }
.checklist { display: grid; gap: .65rem; padding: 0; list-style: none; }
.checklist li { display: flex; align-items: center; gap: .65rem; font-size: .9375rem; }
.checklist svg { width: 1.2rem; height: 1.2rem; color: var(--copper); }
.file-meta { font-size: .8125rem; color: var(--muted); }

/* ---------- kontakt ---------- */
.contact { background: linear-gradient(var(--white), var(--paper)); }
.contact-box {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4rem); align-items: start;
  padding: clamp(1.25rem, 3vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--r-l); background: #fff;
}
.contact-info { display: grid; gap: 1.25rem; justify-items: start; padding-top: .5rem; }
.contact-info .lead { font-size: 1rem; }
.contact-info h2 { font-size: clamp(1.8rem, 1.35rem + 1.4vw, 2.4rem); }
.perk > span { display: block; }
.contact-list { display: grid; gap: 1rem; padding: 0; margin-top: .5rem; list-style: none; }
.contact-list li { display: flex; gap: .85rem; align-items: flex-start; }
.contact-list svg { width: 1.3rem; height: 1.3rem; color: var(--copper); margin-top: .15rem; }
.contact-list a { font-size: 1.125rem; font-weight: 500; text-decoration: none; }
.contact-list a:hover { color: var(--copper-text); text-decoration: underline; }
.contact-list address { color: var(--muted); }
.people { display: grid; gap: .6rem; width: 100%; margin-top: .75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.people h3 { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .25rem; }
.person { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: 0 .85rem; align-items: center; }
.person-avatar { grid-row: span 2; display: grid; place-items: center; width: 2.5rem; aspect-ratio: 1; border-radius: .7rem; background: var(--beige); color: var(--copper-text); font-weight: 600; }
.person strong { font-size: .9375rem; font-weight: 600; }
.person strong small { font-weight: 400; color: var(--muted); }
.person span { font-size: .8125rem; color: var(--muted); overflow-wrap: anywhere; }
.person a { text-decoration: none; }
.person a:hover { color: var(--copper-text); text-decoration: underline; }

.form-card {
  padding: clamp(1.4rem, 3vw, 2.25rem); border-radius: var(--r-l); background: #fff;
  box-shadow: 0 0 0 1px var(--line), var(--shadow-m);
}
.form-card h3 { font-size: 1.5rem; font-weight: 500; letter-spacing: -.02em; }
.form-card > p { margin: .5rem 0 1.5rem; font-size: .875rem; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field { display: grid; gap: .35rem; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .8125rem; font-weight: 600; }
.field label span { font-weight: 400; color: var(--muted); }
.req { color: var(--copper-text); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 2.9rem; padding: .65rem .85rem;
  border: 1px solid #ddd5ca; border-radius: .6rem; background: #fff;
  color: var(--ink); font: inherit; font-size: .9375rem;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 6.5rem; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #c9bfb1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(35, 32, 29, .13); }
.field [aria-invalid="true"], .consent input[aria-invalid="true"] { border-color: #a3392b; box-shadow: 0 0 0 3px rgba(163, 57, 43, .1); }
.field-error { font-size: .78rem; color: #a3392b; font-weight: 500; }
.field-error:empty { display: none; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; margin-top: 1.25rem; }
.consent { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .6rem; align-items: start; max-width: 26rem; font-size: .8125rem; color: var(--muted); cursor: pointer; }
.consent input { width: 1.1rem; height: 1.1rem; margin: .1rem 0 0; accent-color: var(--primary); }
.consent .field-error { grid-column: 2; }
.form-status { margin-top: 1rem; padding: .8rem 1rem; border-radius: .6rem; background: var(--primary-soft); font-size: .875rem; }
.form-status:empty { display: none; }

/* ---------- stopka ---------- */
.site-footer { border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem clamp(1.5rem, 4vw, 4rem); padding-block: clamp(2.5rem, 4.5vw, 3.5rem); }
.footer-brand { display: grid; gap: 1rem; align-content: start; justify-items: start; }
.footer-brand img { width: 10rem; mix-blend-mode: multiply; }
.footer-brand p { max-width: 34ch; }
.site-footer h3 { margin-bottom: .9rem; font-size: .875rem; font-weight: 600; color: var(--ink); letter-spacing: 0; }
.site-footer ul { display: grid; gap: .5rem; padding: 0; list-style: none; }
.site-footer li { display: flex; gap: .55rem; align-items: flex-start; }
.site-footer li svg { width: 1rem; height: 1rem; color: var(--copper); margin-top: .2rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--copper-text); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; padding-block: 1.25rem 1.75rem; border-top: 1px solid var(--line); font-size: .78rem; }
.footer-bottom span + span::before { content: "·"; margin: 0 .6rem; }

/* ---------- animacje wejścia ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}

/* ---------- responsywność ---------- */
@media (max-width: 64rem) {
  .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(2)::after { display: none; }
  .perks { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .perks h2 { grid-column: 1 / -1; }
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 56rem) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: calc(var(--gutter) * -1); right: calc(var(--gutter) * -1);
    display: grid; gap: 0; padding: .5rem var(--gutter) 1.5rem;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(56, 40, 22, .3);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-link { width: 100%; justify-content: space-between; padding: .95rem 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }
  .dropdown-menu { position: static; min-width: 0; padding: .25rem 0 .5rem .75rem; border: 0; box-shadow: none; transform: none; display: none; }
  .dropdown-menu.is-open { display: grid; transform: none; }
  .nav .btn { margin-top: 1.25rem; }
  .no-js .nav { position: static; opacity: 1; visibility: visible; transform: none; }
  .no-js .menu-toggle { display: none; }
  .no-js .header-inner { flex-wrap: wrap; }

  .hero-inner, .about-inner, .catalogue-inner, .contact-box { grid-template-columns: minmax(0, 1fr); }
  .hero-media { max-width: 32rem; width: 100%; margin-inline: auto; }
  .topbar-inner > p { display: none; }
  .topbar-inner { justify-content: space-between; }
  .topbar-links { margin-left: 0; }
}

@media (max-width: 40rem) {
  .header-inner { min-height: 4.25rem; }
  .hero-facts { grid-template-columns: minmax(0, 1fr); }
  .hero-facts li { grid-template-columns: 2rem minmax(0, 1fr); column-gap: .85rem; }
  .hero-facts .icon { grid-row: span 2; margin: 0; }
  .steps, .offer-grid { grid-template-columns: minmax(0, 1fr); }
  .step::after { display: none; }
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .topbar-links { gap: 1rem; }
  .langs { padding-left: .6rem; gap: .1rem; }
  .langs .flag { width: 20px; height: 14px; }
  .topbar-links .hide-sm { display: none; }
}

/* ---------- formularz: pułapka na boty i stany wysyłki ---------- */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status.is-error { background: #fbeceb; color: #8a2f24; }
.form-status.is-ok { background: #edf5ee; color: #24502c; }
.form-status a { color: inherit; font-weight: 600; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }
