/* ==========================================================================
   M Studio – arkusz stylów
   Paleta odczytana z logo (szczotkowane złoto + butelkowa zieleń).
   Aby zmienić kolorystykę, edytuj tylko zmienne w :root.
   ========================================================================== */

:root {
  /* Kolory marki */
  --primary: #C5A572;          /* złoto – belki sygnetu */
  --primary-light: #E6CB95;    /* złoto – odblask */
  --primary-dark: #A88A58;     /* złoto – cień */
  --secondary: #123F3C;        /* ciemna zieleń – ukośna belka */
  --accent: #2F5E58;           /* jasna zieleń – romb */

  /* Neutralne */
  --bg: #0B1716;               /* tło strony (ściana z logo) */
  --bg-alt: #0F1F1E;           /* tło sekcji naprzemiennych */
  --surface: #142826;          /* karty */
  --surface-2: #1A3230;        /* karty – hover */
  --text: #F2EEE6;             /* tekst główny */
  --text-muted: #A9B5B1;       /* tekst pomocniczy */
  --border: rgba(197, 165, 114, .16);
  --border-strong: rgba(197, 165, 114, .38);
  --danger: #F2A08F;
  --success: #8FD3B6;

  --gold-gradient: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 45%, var(--primary-dark) 72%, #D9BC85 100%);

  /* Typografia */
  --font-display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* Układ – ostre, geometryczne logo = małe promienie zaokrągleń */
  --radius-sm: 2px;
  --radius: 4px;
  --radius-lg: 6px;
  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section-y: clamp(4.5rem, 10vw, 8rem);
  --header-h: 84px;
  --header-h-small: 64px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);

  color-scheme: dark;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h-small); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.15; letter-spacing: -.015em; }
h2 { font-size: clamp(1.85rem, 1.2rem + 2.6vw, 2.85rem); }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: 0; }

::selection { background: var(--primary); color: var(--bg); }

:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 200;
  padding: .75rem 1.25rem; background: var(--primary); color: var(--bg);
  font-weight: 600; text-decoration: none; border-radius: var(--radius);
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 860px; }

.text-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  margin-bottom: 1rem;
  font-family: var(--font-display); font-size: .78rem; font-weight: 500;
  letter-spacing: .32em; text-transform: uppercase; color: var(--primary);
}
/* skośna kreska – powtórzenie ściętej belki sygnetu */
.eyebrow::before {
  content: ""; width: 26px; height: 10px; flex: none;
  background: var(--gold-gradient);
  clip-path: polygon(0 0, 30% 0, 100% 100%, 0 100%);
}

/* ---------- Przyciski ---------- */
.btn {
  --_bg: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .8rem 1.6rem;
  border: 1px solid transparent; border-radius: var(--radius);
  background: var(--_bg);
  font-family: var(--font-display); font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s, color .25s;
  overflow: hidden;
}
.btn-primary { background: var(--gold-gradient); background-size: 160% 160%; background-position: 0 0; color: #0B1716; }
.btn-primary:hover { background-position: 100% 100%; transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(197, 165, 114, .55); }
.btn-ghost { border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-light); background: rgba(197, 165, 114, .06); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 42px; padding: .55rem 1.1rem; font-size: .88rem; }
.btn-block { width: 100%; }

/* ---------- Ekran startowy ---------- */
.splash { display: none; }
.has-splash .splash {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  background: var(--bg);
  animation: splash-out .25s ease-in .55s forwards;
}
.has-splash .splash img { width: 120px; animation: splash-in .55s var(--ease) both; filter: drop-shadow(0 0 30px rgba(197, 165, 114, .35)); }
@keyframes splash-in { from { opacity: 0; transform: scale(.85) translateY(10px); clip-path: inset(100% 0 0 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
@keyframes splash-out { to { opacity: 0; visibility: hidden; } }

/* ==========================================================================
   Nagłówek
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: background-color .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { border-bottom-color: var(--border); }
/* tło z rozmyciem na pseudo-elemencie – backdrop-filter na samym nagłówku
   zamknąłby w nim menu mobilne (position: fixed) */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(11, 23, 22, .72);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  opacity: 0; transition: opacity .3s;
}
.site-header.is-scrolled::before, .nav-open .site-header::before { opacity: 1; }
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  height: var(--header-h);
  transition: height .3s var(--ease);
}
.is-scrolled .header-inner { height: var(--header-h-small); }
.brand { display: block; flex: none; padding: 6px 0; /* pole ochronne logo */ }
.brand img { height: 44px; width: auto; transition: height .3s var(--ease); }
.is-scrolled .brand img { height: 34px; }

.nav-list a {
  position: relative; display: block; padding: .5rem 0;
  font-family: var(--font-display); font-size: .92rem; font-weight: 500;
  color: var(--text-muted); text-decoration: none; transition: color .2s;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--gold-gradient);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-list a:hover, .nav-list a[aria-current="true"] { color: var(--text); }
.nav-list a:hover::after, .nav-list a[aria-current="true"]::after { transform: scaleX(1); }

.header-cta { display: none; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 6px;
  width: 48px; height: 48px; padding: 12px; margin-right: -12px;
  background: none; border: 0;
}
.nav-toggle-bar { display: block; height: 2px; width: 24px; background: var(--primary); transition: transform .3s var(--ease), opacity .2s, width .3s; }
.nav-toggle-bar:nth-child(2) { width: 16px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Menu mobilne */
@media (max-width: 1023.98px) {
  .nav {
    position: fixed; inset: var(--header-h-small) 0 0 0; z-index: 99;
    display: flex; flex-direction: column; gap: 2rem;
    padding: 2rem var(--gutter) 3rem;
    background: rgba(11, 23, 22, .97);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .site-header:not(.is-scrolled) .nav { top: var(--header-h); }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-list { display: grid; gap: .25rem; }
  .nav-list a { font-size: 1.5rem; padding: .6rem 0; color: var(--text); border-bottom: 1px solid var(--border); }
  .nav-list a::after { display: none; }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 1024px) {
  .nav { display: flex; align-items: center; margin-left: auto; }
  .nav-list { display: flex; gap: 2rem; }
  .nav-cta-mobile, .nav-toggle { display: none; }
  .header-cta { display: inline-flex; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + clamp(2.5rem, 8vw, 6rem)) 0 clamp(4rem, 9vw, 7rem);
}
.hero-glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(circle at 75% 45%, rgba(197, 165, 114, .20), transparent 38%),
    radial-gradient(circle at 90% 10%, rgba(47, 94, 88, .45), transparent 45%),
    radial-gradient(circle at 5% 90%, rgba(18, 63, 60, .55), transparent 45%);
  /* płynne przejście w tło kolejnej sekcji */
  -webkit-mask-image: linear-gradient(#000 65%, transparent);
  mask-image: linear-gradient(#000 65%, transparent);
}
/* delikatna siatka skosów – linie pod kątem belek sygnetu */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .05;
  background: repeating-linear-gradient(46deg, var(--primary) 0 1px, transparent 1px 90px);
  -webkit-mask-image: radial-gradient(circle at 70% 50%, #000, transparent 70%);
  mask-image: radial-gradient(circle at 70% 50%, #000, transparent 70%);
}
.hero-inner { display: grid; gap: 3rem; align-items: center; }
.hero h1 {
  font-size: clamp(2.3rem, 1.2rem + 5vw, 4.4rem);
  line-height: 1.06; letter-spacing: -.03em; margin-bottom: 1.5rem; max-width: 14ch;
}
.hero-lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.2rem); color: var(--text-muted); max-width: 54ch; margin-bottom: 2.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }

.hero-visual { position: relative; display: grid; place-items: center; order: -1; }
.hero-mark { position: relative; width: min(58vw, 260px); }
.hero-mark::before {
  content: ""; position: absolute; inset: -30%; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 165, 114, .28), rgba(47, 94, 88, .18) 40%, transparent 68%);
  filter: blur(10px);
  animation: glow 6s ease-in-out 1.2s infinite alternate;
}
.hero-mark img { width: 100%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); }
/* animacje wejścia; sygnet przy ekranie startowym startuje po jego zniknięciu
   (tekst animuje się od razu, żeby nie opóźniać LCP) */
.has-splash { --splash-delay: .6s; }
.js .hero-mark img { animation: mark-in 1.2s var(--ease) calc(var(--splash-delay, 0s) + .15s) both; }
.js .hero-content > * { animation: fade-up .7s var(--ease) calc(var(--i, 0) * 70ms) both; }
.hero-content > :nth-child(2) { --i: 1; }
.hero-content > :nth-child(3) { --i: 2; }
.hero-content > :nth-child(4) { --i: 3; }

@keyframes mark-in {
  from { opacity: 0; transform: translateY(24px) scale(.94); clip-path: inset(100% 0 0 0); }
  to   { opacity: 1; transform: none; clip-path: inset(-10% -10% -10% -10%); }
}
@keyframes glow { from { opacity: .7; transform: scale(.95); } to { opacity: 1; transform: scale(1.05); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.15fr .85fr; gap: 4rem; }
  .hero-visual { order: 0; }
  .hero-mark { width: min(100%, 420px); }
}

/* ==========================================================================
   Sekcje – wspólne
   ========================================================================== */
.section { position: relative; isolation: isolate; overflow-x: clip; padding-block: var(--section-y); }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.section-head h2 { margin-bottom: 1rem; }
.section-lead { color: var(--text-muted); font-size: 1.08rem; }

/* Znak wodny z sygnetem (krycie ok. 4%) */
.has-watermark::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  right: -6%; top: 8%;
  width: min(60vw, 620px); aspect-ratio: 100 / 87;
  background: url("../assets/sygnet.svg") no-repeat center / contain;
  opacity: .04;
}
.watermark-left::before { right: auto; left: -8%; top: auto; bottom: 6%; }

/* Separator sekcji – złota linia ze skośnym łącznikiem jak w sygnecie */
.divider { display: flex; align-items: center; justify-content: center; gap: 0; padding-inline: var(--gutter); }
.divider::before, .divider::after {
  content: ""; height: 1px; flex: 1; max-width: 420px;
  background: linear-gradient(90deg, transparent, var(--border-strong));
}
.divider::after { background: linear-gradient(90deg, var(--border-strong), transparent); }
.divider span {
  width: 34px; height: 30px; margin-inline: 1rem;
  background: url("../assets/sygnet.svg") no-repeat center / contain;
  opacity: .9;
}

/* ==========================================================================
   Oferta – karty
   ========================================================================== */
.cards-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  position: relative; overflow: hidden;
  padding: 2rem 1.75rem;
  background: linear-gradient(160deg, var(--surface), rgba(20, 40, 38, .4));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: transform .35s var(--ease), border-color .35s, background-color .35s, box-shadow .35s;
}
/* ścięty narożnik – echo skosu belek logo */
.card::after {
  content: ""; position: absolute; top: 0; right: 0; width: 56px; height: 56px;
  background: linear-gradient(225deg, rgba(197, 165, 114, .22) 0 50%, transparent 50%);
  transition: width .35s var(--ease), height .35s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.card:hover::after { width: 72px; height: 72px; }
.card h3 { margin: 1.4rem 0 .6rem; }
.card p { color: var(--text-muted); font-size: .97rem; }

.icon {
  width: 44px; height: 44px;
  fill: none; stroke: rgba(242, 238, 230, .82); stroke-width: 1.6; stroke-linejoin: miter; stroke-linecap: square;
  --icon-acc: var(--primary);   /* druga linia ikon – złoto z logo */
}
.icon-sm { width: 34px; height: 34px; flex: none; }
.icon-xs { width: 20px; height: 20px; flex: none; }
.card .icon { padding: 10px; width: 56px; height: 56px; background: rgba(18, 63, 60, .6); border: 1px solid var(--border); border-radius: var(--radius); }

/* ==========================================================================
   O nas
   ========================================================================== */
.about { display: grid; gap: 3rem; }
.about-text p:not(.eyebrow) { color: var(--text-muted); margin-top: 1.1rem; max-width: 60ch; }
.about-text h2 { margin-bottom: .5rem; }
.about-figure {
  margin-top: 2rem; overflow: hidden; border-radius: var(--radius-lg);
  border: 1px solid var(--border); aspect-ratio: 16 / 9;
}
.about-figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about-figure:hover img { transform: scale(1.04); }

.features { display: grid; gap: 1rem; align-content: start; }
.feature {
  display: flex; gap: 1.1rem; align-items: flex-start;
  padding: 1.35rem 1.4rem;
  border: 1px solid var(--border); border-left: 3px solid var(--primary);
  border-radius: var(--radius); background: rgba(20, 40, 38, .45);
  transition: background-color .3s, transform .3s var(--ease);
}
.feature:hover { background: var(--surface); transform: translateX(4px); }
.feature h3 { font-size: 1.02rem; margin-bottom: .25rem; }
.feature p { color: var(--text-muted); font-size: .94rem; }
@media (min-width: 640px) and (max-width: 1023.98px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .about { grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; } }

/* ==========================================================================
   Realizacje
   ========================================================================== */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.25rem; }
.filter {
  min-height: 42px; padding: .45rem 1.1rem;
  background: transparent; border: 1px solid var(--border); border-radius: var(--radius);
  font-family: var(--font-display); font-size: .88rem; font-weight: 500; color: var(--text-muted);
  transition: border-color .2s, color .2s, background-color .2s;
}
.filter:hover { border-color: var(--border-strong); color: var(--text); }
.filter.is-active { background: var(--primary); border-color: var(--primary); color: var(--bg); }

.work-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .work-grid { grid-template-columns: repeat(3, 1fr); } }
.work.is-hiding { opacity: 0; transform: scale(.97); }
.work { transition: opacity .3s, transform .3s var(--ease); }

.work-link { display: block; text-decoration: none; border-radius: var(--radius-lg); }
.work-link figure {
  overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface); transition: border-color .35s, transform .35s var(--ease), box-shadow .35s;
}
.work-thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #0E1D1C; }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.work-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(46deg, rgba(18, 63, 60, .85), rgba(197, 165, 114, .25));
  opacity: 0; transition: opacity .4s;
}
.work-link figcaption { display: grid; gap: .2rem; padding: 1.25rem 1.4rem 1.4rem; }
.work-cat { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
.work-title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.work-more { display: inline-flex; align-items: center; gap: .4rem; margin-top: .35rem; font-size: .9rem; color: var(--text-muted); transition: color .25s; }
.work-more svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .3s var(--ease); }
.work-link:hover figure, .work-link:focus-visible figure { border-color: var(--border-strong); transform: translateY(-6px); box-shadow: var(--shadow); }
.work-link:hover .work-thumb img, .work-link:focus-visible .work-thumb img { transform: scale(1.06); }
.work-link:hover .work-thumb::after, .work-link:focus-visible .work-thumb::after { opacity: .5; }
.work-link:hover .work-more, .work-link:focus-visible .work-more { color: var(--primary-light); }
.work-link:hover .work-more svg, .work-link:focus-visible .work-more svg { transform: translateX(4px); }

/* ==========================================================================
   Proces – oś czasu
   ========================================================================== */
.timeline { position: relative; display: grid; gap: 1.75rem; counter-reset: step; }
.timeline::before {
  content: ""; position: absolute; left: 23px; top: 8px; bottom: 8px; width: 1px;
  background: linear-gradient(var(--primary), var(--accent), transparent);
}
.step { position: relative; padding-left: 4.5rem; }
.step-num {
  position: absolute; left: 0; top: -.2rem;
  display: grid; place-items: center; width: 48px; height: 48px;
  font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--bg);
  background: var(--gold-gradient);
  /* równoległobok – kształt belek sygnetu */
  clip-path: polygon(0 0, 100% 22%, 100% 100%, 0 100%);
}
.step h3 { margin-bottom: .4rem; }
.step p { color: var(--text-muted); font-size: .96rem; }

@media (min-width: 1024px) {
  .timeline { grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
  .timeline::before { left: 24px; right: 0; top: 23px; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, var(--primary), var(--accent) 70%, transparent); }
  .step { padding-left: 0; padding-top: 4.5rem; }
  .step-num { top: 0; }
}

/* ==========================================================================
   Cennik
   ========================================================================== */
.pricing { display: grid; gap: 1.5rem; align-items: stretch; }
@media (min-width: 1024px) { .pricing { grid-template-columns: repeat(3, 1fr); align-items: center; } }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 2.25rem 1.9rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.plan:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.plan-featured {
  background: linear-gradient(165deg, #18413D, var(--surface) 55%);
  border-color: var(--primary);
  box-shadow: 0 30px 70px -30px rgba(197, 165, 114, .35);
}
@media (min-width: 1024px) { .plan-featured { padding-block: 3rem; } }
.plan-badge {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  padding: .35rem 1rem; white-space: nowrap;
  background: var(--gold-gradient); color: var(--bg);
  font-family: var(--font-display); font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  border-radius: var(--radius-sm);
}
.plan-name { font-size: 1.45rem; font-weight: 500; letter-spacing: .02em; }
.plan-desc { color: var(--text-muted); font-size: .94rem; margin-top: .4rem; }
.plan-price {
  margin: 1.5rem 0; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border);
  font-family: var(--font-display); font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); font-weight: 600; color: var(--primary-light);
}
.plan-price span { font-size: .95rem; font-weight: 500; color: var(--text-muted); }
.plan-list { display: grid; gap: .7rem; margin-bottom: 2rem; flex: 1; }
.plan-list li { position: relative; padding-left: 1.6rem; font-size: .96rem; }
.plan-list li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px;
  background: var(--primary);
  clip-path: polygon(0 0, 100% 35%, 100% 100%, 0 100%);
}
.pricing-note { margin-top: 2rem; text-align: center; font-size: .9rem; color: var(--text-muted); }

/* ==========================================================================
   Opinie
   ========================================================================== */
.testimonials { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }
.testimonials > li { display: flex; }
.testimonial {
  position: relative; display: flex; flex-direction: column; gap: 1.5rem; width: 100%;
  padding: 2.25rem 1.9rem 1.9rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.quote-mark { width: 38px; height: 32px; color: var(--primary); opacity: .85; }
.testimonial blockquote { flex: 1; font-size: 1.05rem; line-height: 1.7; }
.testimonial figcaption { display: grid; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.testimonial figcaption strong { font-family: var(--font-display); font-weight: 600; }
.testimonial figcaption span { font-size: .88rem; color: var(--text-muted); }

/* ==========================================================================
   FAQ – akordeon
   ========================================================================== */
.accordion { border-top: 1px solid var(--border); }
.acc-item { border-bottom: 1px solid var(--border); }
.acc-heading { font-size: inherit; }
.acc-trigger {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  width: 100%; padding: 1.4rem 0; text-align: left;
  background: none; border: 0;
  font-family: var(--font-display); font-size: clamp(1rem, .95rem + .3vw, 1.15rem); font-weight: 500;
  transition: color .2s;
}
.acc-trigger:hover { color: var(--primary-light); }
.acc-icon { position: relative; flex: none; width: 32px; height: 32px; border: 1px solid var(--border-strong); border-radius: var(--radius); transition: background-color .3s, border-color .3s; }
.acc-icon::before, .acc-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px;
  background: var(--primary); transform: translate(-50%, -50%); transition: transform .3s var(--ease), background-color .3s;
}
.acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-trigger[aria-expanded="true"] .acc-icon { background: var(--primary); border-color: var(--primary); }
.acc-trigger[aria-expanded="true"] .acc-icon::before, .acc-trigger[aria-expanded="true"] .acc-icon::after { background: var(--bg); }
.acc-trigger[aria-expanded="true"] .acc-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc-panel { padding: 0 3.5rem 1.5rem 0; color: var(--text-muted); }
.acc-panel.is-animating { overflow: hidden; transition: height .35s var(--ease); }

/* ==========================================================================
   Kontakt
   ========================================================================== */
.contact { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .contact { grid-template-columns: 1.6fr 1fr; gap: 3rem; align-items: start; } }

.form {
  display: grid; gap: 1.1rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.form-row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .4rem; align-content: start; }
.field label { font-size: .9rem; font-weight: 500; }
.req { color: var(--primary); }
.optional { color: var(--text-muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .75rem .95rem;
  background: var(--bg); border: 1px solid rgba(169, 181, 177, .35); border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.5rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--primary) 50%), linear-gradient(135deg, var(--primary) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px; background-repeat: no-repeat;
}
.field select option { background: var(--bg); }
.field ::placeholder { color: #7F8D89; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--border-strong); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(197, 165, 114, .25); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { min-height: 0; font-size: .84rem; color: var(--danger); }
.field-error:empty { display: none; }

.field-check { grid-template-columns: auto 1fr; align-items: start; column-gap: .8rem; }
.field-check input { width: 22px; height: 22px; min-height: 0; margin-top: .15rem; padding: 0; accent-color: var(--primary); }
.field-check label { font-size: .86rem; font-weight: 400; color: var(--text-muted); }
.field-check label a { color: var(--primary-light); }
.field-check .field-error { grid-column: 1 / -1; }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-hint { font-size: .82rem; color: var(--text-muted); }
.form .btn { justify-self: start; }
.form .btn[disabled] { opacity: .6; cursor: progress; }

.form-status:empty { display: none; }
.form-status { padding: 1rem 1.2rem; border-radius: var(--radius); font-size: .95rem; outline: none; }
.form-status.is-success { background: rgba(143, 211, 182, .1); border: 1px solid rgba(143, 211, 182, .45); color: var(--success); }
.form-status.is-error { background: rgba(242, 160, 143, .1); border: 1px solid rgba(242, 160, 143, .45); color: var(--danger); }

.contact-info {
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(18, 63, 60, .55), rgba(20, 40, 38, .3));
}
.contact-mark { width: 56px; margin-bottom: 1.5rem; }
.contact-info h3 { font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin-bottom: 1rem; }
.contact-list { display: grid; gap: .9rem; margin-bottom: 2rem; }
.contact-list li { display: flex; align-items: center; gap: .8rem; overflow-wrap: anywhere; }
.contact-list a { text-decoration: none; transition: color .2s; }
.contact-list a:hover { color: var(--primary-light); }
.hours { display: grid; gap: .6rem; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-bottom: .6rem; border-bottom: 1px dashed var(--border); font-size: .94rem; }
.hours dt { color: var(--text-muted); }

/* ==========================================================================
   Stopka
   ========================================================================== */
.site-footer {
  position: relative; overflow: hidden;
  padding-top: clamp(3.5rem, 8vw, 5.5rem);
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg), #081110);
}
.footer-grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1.2fr 1fr; } }
.footer-brand img { width: 124px; margin-bottom: 1.25rem; }
.footer-brand p { color: var(--text-muted); font-size: .94rem; max-width: 36ch; }
.footer-title { font-family: var(--font-display); font-size: .82rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--primary); margin-bottom: 1.1rem; }
.footer-links { display: grid; gap: .55rem; font-size: .95rem; color: var(--text-muted); overflow-wrap: anywhere; }
.footer-links a { text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--text); }
.socials { display: flex; gap: .6rem; }
.socials a {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid var(--border-strong); border-radius: var(--radius);
  color: var(--primary); transition: background-color .25s, color .25s, transform .25s var(--ease);
}
.socials a:hover { background: var(--primary); color: var(--bg); transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding-block: 1.5rem; border-top: 1px solid var(--border);
  font-size: .86rem; color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); transition: color .2s; }
.footer-bottom a:hover { color: var(--primary-light); }

/* ---------- Przycisk „do góry” ---------- */
.to-top {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 90;
  display: grid; place-items: center; align-content: center; gap: 2px;
  width: 56px; height: 56px;
  background: rgba(11, 23, 22, .85); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong); border-radius: var(--radius);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s, transform .3s var(--ease), visibility .3s, border-color .3s, box-shadow .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--primary); box-shadow: 0 10px 30px -10px rgba(197, 165, 114, .5); transform: translateY(-3px); }
.to-top img { width: 26px; }
.to-top-arrow { width: 14px; height: 14px; fill: none; stroke: var(--primary); stroke-width: 2.4; transition: transform .3s var(--ease); }
.to-top:hover .to-top-arrow { transform: translateY(-2px); }

/* ---------- Pojawianie się przy przewijaniu ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Ograniczony ruch ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .has-splash .splash { display: none; }
}
