/* ==========================================================================
   offer.css – podstrony ofertowe (landing-page, strony-internetowe-dla-firm,
   indywidualne-strony-internetowe). Korzysta z tokenów base.css (kolory, Poppins,
   --accent, motywy). Nie zmienia stylów strony głównej – wszystkie klasy mają prefiks .o-
   ========================================================================== */

.o-main {
  --gut: 20px; --wrap: 1240px;
  --card: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.016));
  --hair: rgba(255,255,255,.14);
  --accent-soft: color-mix(in srgb, var(--accent) 55%, transparent);
  overflow-x: clip;
}
@media (min-width: 700px)  { .o-main { --gut: 48px; } }
@media (min-width: 1280px) { .o-main { --gut: 72px; } }

.o-wrap { position: relative; width: min(var(--wrap), calc(100% - 2 * var(--gut))); margin-inline: auto; }

/* emulacja Poppins SemiBold – jak na stronie głównej */
.o-h1__main, .o-h2, .o-h3, .o-card h3, .o-price__amount, .o-step h3, .o-faq summary, .o-num-big {
  -webkit-text-stroke: 0.0285em currentColor; paint-order: stroke fill;
}

/* ---------- okruszki ---------- */
.o-crumbs { font-size: 13px; line-height: 1.4; color: var(--font-4); }
.o-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 10px; list-style: none; padding: 0; margin: 0; }
.o-crumbs li + li::before { content: "/"; margin-right: 10px; opacity: .5; }
.o-crumbs a { text-decoration: underline; text-underline-offset: 3px; }
.o-crumbs a:hover { color: #fff; }

/* ---------- hero ---------- */
.o-hero { position: relative; isolation: isolate; padding: 112px 0 64px; overflow: clip; }
.o-hero__media { position: absolute; z-index: -1; pointer-events: none; }
.o-hero__media img { width: 100%; height: auto; }
.o-hero .o-crumbs { margin-bottom: clamp(28px, 5vw, 56px); }
.o-h1 { font: inherit; }
.o-h1__main { display: block; font-weight: 600; font-size: clamp(44px, 13vw, 76px); line-height: 1; letter-spacing: var(--ls-semi); text-wrap: balance; }
.o-h1__sub { display: block; max-width: 17em; margin-top: 18px; font-weight: 300; font-size: clamp(20px, 5.4vw, 26px); line-height: 1.18; letter-spacing: .03em; color: var(--font-1); }
.o-lead { max-width: 36em; margin-top: 26px; color: var(--font-2); font-size: 15px; line-height: 1.7; }
.o-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.o-hero__meta { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 32px; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--hair); max-width: 36em; font-size: 13px; line-height: 1.4; color: var(--font-3); }
.o-hero__meta b { display: block; color: #fff; font-weight: 600; font-size: 15px; }

@media (min-width: 700px) {
  .o-hero { padding: 150px 0 96px; }
  .o-h1__main { font-size: clamp(64px, 10.4vw, 120px); }
  .o-h1__sub { font-size: clamp(24px, 3vw, 32px); margin-top: 22px; }
  .o-lead { font-size: 17px; margin-top: 32px; }
}
@media (min-width: 1280px) {
  .o-hero { padding: 200px 0 120px; min-height: 860px; }
  .o-h1__main { font-size: clamp(100px, 8.7vw, 150px); }
}

/* pionowe napisy z liniami (jak „szyny" na stronie głównej) */
.o-rail { display: none; }
@media (min-width: 700px) {
  .o-rail {
    position: absolute; z-index: 2; top: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; gap: 14px;
    padding-block: 12px; pointer-events: none;
  }
  .o-rail--l { left: clamp(16px, 2.6vw, 44px); top: clamp(120px, 11vw, 190px); }
  .o-rail--r { right: clamp(16px, 2.6vw, 44px); top: clamp(120px, 11vw, 190px); }
  .o-rail__text { writing-mode: vertical-rl; font-weight: 700; font-size: clamp(14px, 1.4vw, 22px); line-height: 1.2; white-space: nowrap; letter-spacing: var(--ls); }
  .o-rail--l .o-rail__text { transform: rotate(180deg); }
  .o-rail__line { display: block; flex: none; width: 3px; height: clamp(40px, 5vw, 78px); background: #fff; }
  .o-rail__line--grow { flex: 1; min-height: 40px; width: 1px; background: linear-gradient(#fff, rgba(255,255,255,0)); }
}

/* ---------- sekcje ---------- */
.o-sec { position: relative; padding: clamp(56px, 8vw, 128px) 0; }
.o-sec + .o-sec::before {
  content: ""; position: absolute; top: 0; left: 50%; width: min(var(--wrap), calc(100% - 2 * var(--gut))); height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.35) 50%, rgba(255,255,255,0));
}
.o-kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; font-size: 13px; line-height: 1; letter-spacing: .14em; text-transform: uppercase; color: var(--font-3); }
.o-kicker .o-num { color: var(--accent); font-weight: 700; letter-spacing: .06em; }
.o-kicker::after { content: ""; flex: 0 1 64px; height: 1px; background: var(--hair); }
.o-h2 { font-weight: 600; font-size: clamp(28px, 6.6vw, 40px); line-height: 1.1; letter-spacing: var(--ls-semi); text-wrap: balance; }
.o-h3 { font-weight: 600; font-size: 20px; line-height: 1.25; letter-spacing: var(--ls-semi); }
.o-text p { color: var(--font-3); font-size: 15px; line-height: 1.75; max-width: 40em; }
.o-text p + p { margin-top: 1.1em; }
.o-text strong { color: #fff; font-weight: 600; }
.o-text a, .o-link { color: #fff; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.o-text a:hover, .o-link:hover { text-decoration-color: #fff; }
.o-note { margin-top: 28px; padding: 16px 18px; border-left: 2px solid var(--accent); background: rgba(255,255,255,.04); border-radius: 0 10px 10px 0; color: var(--font-3); font-size: 14px; line-height: 1.65; }
.o-note strong { color: #fff; }

@media (min-width: 700px) {
  .o-h2 { font-size: clamp(34px, 4.4vw, 64px); }
  .o-text p { font-size: 16px; }
}

.o-side {
  display: none;
}
@media (min-width: 1100px) {
  .o-side {
    display: block; position: absolute; top: clamp(56px, 8vw, 128px); right: clamp(14px, 2vw, 34px); writing-mode: vertical-rl;
    font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--font-5); white-space: nowrap;
  }
  .o-side::before { content: ""; display: inline-block; width: 1px; height: 56px; margin-bottom: 16px; background: var(--hair); }
}

/* układ: nagłówek po lewej (sticky), treść po prawej */
.o-split { display: grid; gap: 32px; }
@media (min-width: 1000px) {
  .o-split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; }
  .o-split--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .o-split__head { position: sticky; top: 120px; align-self: start; }
}
.o-head { max-width: 100%; }
.o-head .o-h2 { max-width: 17em; }
.o-split__head .o-h2 { font-size: clamp(30px, 3.5vw, 52px); }
@media (max-width: 999.98px) { .o-split__head .o-h2 { font-size: clamp(28px, 6.6vw, 40px); } }
.o-intro { max-width: 40em; margin-top: 22px; color: var(--font-3); font-size: 15px; line-height: 1.75; }
@media (min-width: 700px) { .o-intro { font-size: 17px; } }

/* ---------- karty ---------- */
.o-grid { display: grid; gap: 14px; margin-top: clamp(32px, 4vw, 56px); }
@media (min-width: 700px)  { .o-grid--2, .o-grid--3, .o-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .o-grid { gap: 18px; } }
@media (min-width: 1000px) { .o-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .o-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.o-card {
  position: relative; padding: 26px 24px 28px; border: 1px solid var(--hair); border-radius: 15px; background: var(--card);
  transition: border-color .25s ease, transform .25s ease, background-color .25s ease;
}
.o-card:hover { border-color: var(--accent-soft); transform: translateY(-3px); }
.o-card__idx { display: block; margin-bottom: 26px; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.o-card h3 { font-weight: 600; font-size: 19px; line-height: 1.25; letter-spacing: var(--ls-semi); }
.o-card p { margin-top: 10px; color: var(--font-3); font-size: 14.5px; line-height: 1.7; }
.o-card__tag { display: inline-block; margin-top: 18px; padding: 5px 10px; border: 1px solid var(--hair); border-radius: 999px; color: var(--font-3); font-size: 12px; line-height: 1; letter-spacing: .04em; }
.o-card__tag--on { border-color: var(--accent-soft); color: #fff; }
.o-card--wide { grid-column: 1 / -1; }
@media (min-width: 1000px) { .o-card--span2 { grid-column: span 2; } }

/* lista z kreską */
.o-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.o-list li { position: relative; padding: 16px 0 16px 34px; border-bottom: 1px solid var(--hair); color: var(--font-3); font-size: 15px; line-height: 1.65; }
.o-list li:first-child { border-top: 1px solid var(--hair); }
.o-list li::before { content: ""; position: absolute; left: 0; top: 24px; width: 18px; height: 2px; background: var(--accent); }
.o-list strong { color: #fff; font-weight: 600; }

/* chipy */
.o-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.o-chips li { padding: 11px 18px; border: 1px solid var(--hair); border-radius: 999px; color: #fff; font-size: 14px; line-height: 1; background: rgba(255,255,255,.03); transition: border-color .2s ease, background-color .2s ease; }
.o-chips li:hover { border-color: var(--accent-soft); background: color-mix(in srgb, var(--accent) 14%, transparent); }

/* ---------- procesy ---------- */
.o-steps { counter-reset: st; display: grid; gap: 0; margin: clamp(32px, 4vw, 56px) 0 0; padding: 0; list-style: none; }
.o-step { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 0 14px; padding: 0 0 36px; }
.o-step::before { content: ""; position: absolute; left: 24px; top: 52px; bottom: 6px; width: 1px; background: linear-gradient(var(--accent), rgba(255,255,255,0)); }
.o-step:last-child::before { display: none; }
.o-num-big {
  grid-row: 1 / span 2; display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid var(--accent); border-radius: 50%;
  color: #fff; font-weight: 600; font-size: 15px; letter-spacing: .04em; background: color-mix(in srgb, var(--accent) 16%, #000);
}
.o-step h3 { font-weight: 600; font-size: 19px; line-height: 1.3; padding-top: 12px; letter-spacing: var(--ls-semi); }
.o-step p { margin-top: 8px; color: var(--font-3); font-size: 14.5px; line-height: 1.7; max-width: 36em; }
@media (min-width: 1000px) {
  .o-steps--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; }
  .o-steps--row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .o-steps--row .o-step { grid-template-columns: minmax(0, 1fr); padding: 0; }
  .o-steps--row .o-step::before { left: 56px; right: -24px; top: 25px; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, var(--accent), rgba(255,255,255,0)); }
  .o-steps--row .o-num-big { grid-row: auto; margin-bottom: 22px; }
  .o-steps--row .o-step h3 { padding-top: 0; }
}

/* ---------- picker (wireframe / mapa strony) ---------- */
.o-picker { display: grid; gap: 28px; margin-top: clamp(32px, 4vw, 56px); }
.o-picker__panels { min-width: 0; }
.o-panel { padding: 28px 26px 30px; border: 1px solid var(--accent-soft); border-radius: 15px; background: var(--card); }
.o-panel[hidden] { display: none; }
.o-panel h3 { font-weight: 600; font-size: 22px; line-height: 1.2; letter-spacing: var(--ls-semi); }
.o-panel p { margin-top: 12px; color: var(--font-3); font-size: 15px; line-height: 1.75; }
.o-panel ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.o-panel li { position: relative; padding-left: 26px; color: var(--font-3); font-size: 14.5px; line-height: 1.6; }
.o-panel li::before { content: ""; position: absolute; left: 0; top: .62em; width: 14px; height: 2px; background: var(--accent); }
.o-panel__label { display: block; margin-bottom: 14px; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
@media (min-width: 1000px) { .o-picker { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; } .o-picker--sitemap { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }

/* wireframe landing page */
.wf { max-width: 440px; margin-inline: auto; width: 100%; padding: 14px; border: 1px solid var(--hair); border-radius: 20px; background: #050505; box-shadow: 0 30px 80px -40px var(--accent); }
.wf__bar { display: flex; gap: 6px; padding: 2px 4px 12px; }
.wf__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.22); }
.wf__blocks { display: grid; gap: 8px; }
.wf__block {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-align: left; padding: 0 16px;
  border: 1px dashed rgba(255,255,255,.28); border-radius: 10px; background: rgba(255,255,255,.03);
  color: var(--font-3); font-size: 13px; letter-spacing: .04em; transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.wf__block b { color: var(--accent); font-weight: 700; font-size: 12px; letter-spacing: .1em; }
.wf__block:hover { border-color: var(--accent-soft); color: #fff; }
.wf__block[aria-pressed="true"] { border-style: solid; border-color: var(--accent); background: color-mix(in srgb, var(--accent) 18%, #000); color: #fff; }
.wf__block--h1 { min-height: 112px; } .wf__block--h2 { min-height: 64px; } .wf__block--h3 { min-height: 72px; } .wf__block--h4 { min-height: 56px; } .wf__block--h5 { min-height: 52px; } .wf__block--h6 { min-height: 64px; }

/* mapa strony */
.sm { display: grid; gap: 10px; }
.sm__node {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 56px; padding: 0 20px; text-align: left;
  border: 1px solid var(--hair); border-radius: 12px; background: var(--card); color: #fff; font-weight: 600; font-size: 16px; letter-spacing: var(--ls-semi);
  transition: border-color .2s ease, background-color .2s ease;
}
.sm__node small { color: var(--font-4); font-weight: 400; font-size: 12px; letter-spacing: .06em; }
.sm__node:hover { border-color: var(--accent-soft); }
.sm__node[aria-pressed="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 18%, #000); }
.sm__node--root { min-height: 68px; font-size: 18px; }
.sm__node--opt { border-style: dashed; color: var(--font-3); font-weight: 400; }
.sm__tree { position: relative; display: grid; gap: 10px; padding-left: 22px; }
.sm__tree::before { content: ""; position: absolute; left: 6px; top: -10px; bottom: 28px; width: 1px; background: var(--hair); }
.sm__tree > .sm__node { position: relative; }
.sm__tree > .sm__node::before { content: ""; position: absolute; left: -16px; top: 50%; width: 16px; height: 1px; background: var(--hair); }
.sm__legend { margin-top: 14px; color: var(--font-4); font-size: 12px; line-height: 1.5; }

/* ---------- filtry / bento ---------- */
.o-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.o-filter {
  min-height: 44px; padding: 0 20px; border: 1px solid var(--hair); border-radius: 999px; background: rgba(255,255,255,.03);
  color: var(--font-3); font-size: 14px; line-height: 1; transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.o-filter:hover { border-color: var(--accent-soft); color: #fff; }
.o-filter[aria-pressed="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 20%, #000); color: #fff; }
.o-bento { display: grid; gap: 14px; margin-top: 28px; }
.o-bento > [hidden] { display: none; }
.o-bento .o-card { transition: opacity .25s ease, transform .25s ease, border-color .25s ease; }
@media (min-width: 700px)  { .o-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1000px) { .o-bento { grid-template-columns: repeat(6, minmax(0, 1fr)); } .o-bento .o-card { grid-column: span 2; } .o-bento .o-card--big { grid-column: span 3; } .o-bento .o-card--wide { grid-column: span 4; } }

/* skala złożoności */
.o-scale { display: grid; gap: 14px; margin-top: clamp(32px, 4vw, 56px); }
.o-level { position: relative; padding: 26px 24px 28px; border: 1px solid var(--hair); border-radius: 15px; background: var(--card); overflow: hidden; }
.o-level::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: var(--lv); background: var(--accent); }
.o-level__bar { display: flex; gap: 4px; margin-bottom: 22px; }
.o-level__bar i { width: 28px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.16); }
.o-level__bar i.on { background: var(--accent); }
.o-level h3 { font-weight: 600; font-size: 19px; letter-spacing: var(--ls-semi); line-height: 1.25; }
.o-level p { margin-top: 10px; color: var(--font-3); font-size: 14.5px; line-height: 1.7; }
@media (min-width: 1000px) { .o-scale { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } .o-level:nth-child(2) { margin-top: -22px; } .o-level:nth-child(3) { margin-top: -44px; } }

/* ---------- porównanie ---------- */
.o-compare { width: 100%; margin-top: clamp(28px, 4vw, 48px); border-collapse: collapse; }
.o-compare caption { text-align: left; color: var(--font-4); font-size: 13px; padding-bottom: 14px; }
.o-compare th, .o-compare td { padding: 18px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hair); font-size: 14.5px; line-height: 1.6; }
.o-compare thead th { color: #fff; font-weight: 600; font-size: 15px; border-bottom-color: var(--accent); }
.o-compare tbody th { color: #fff; font-weight: 600; width: 22%; }
.o-compare td { color: var(--font-3); }
@media (max-width: 699.98px) {
  .o-compare, .o-compare tbody, .o-compare tr, .o-compare th, .o-compare td { display: block; width: 100%; }
  .o-compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .o-compare tr { margin-bottom: 14px; padding: 6px 18px 12px; border: 1px solid var(--hair); border-radius: 15px; background: var(--card); }
  .o-compare tbody th { width: auto; padding: 14px 0 6px; border: 0; color: var(--accent); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
  .o-compare td { padding: 8px 0; border: 0; }
  .o-compare td::before { content: attr(data-label); display: block; color: #fff; font-weight: 600; font-size: 13px; margin-bottom: 2px; }
}

/* ---------- cena ---------- */
.o-price { display: grid; gap: 28px; margin-top: clamp(32px, 4vw, 56px); }
.o-price__card { position: relative; padding: 28px 24px 30px; border-radius: 15px; background: #000; border: 1px solid var(--hair); overflow: hidden; }
.o-price__name { font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--font-3); }
.o-price__amount { margin-top: 20px; font-weight: 600; font-size: clamp(36px, 8vw, 48px); line-height: 1; letter-spacing: var(--ls-semi); white-space: nowrap; }
.o-price__note { margin-top: 10px; color: var(--font-4); font-size: 13px; }
.o-price__obj { position: absolute; top: 22px; right: 22px; max-width: none; height: auto; pointer-events: none; }
.o-price__cta { display: grid; gap: 10px; margin-top: 30px; }
.o-price__list-title { margin-top: 30px; font-weight: 600; font-size: 15px; letter-spacing: var(--ls-semi); }
@media (min-width: 1000px) { .o-price { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; } .o-price__card { padding: 36px 36px 40px; } }

/* ---------- FAQ ---------- */
.o-faq { margin-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--hair); }
.o-faq details { border-bottom: 1px solid var(--hair); }
.o-faq summary {
  position: relative; display: block; padding: 22px 56px 22px 0; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 17px; line-height: 1.4; letter-spacing: var(--ls-semi);
}
.o-faq summary::-webkit-details-marker { display: none; }
.o-faq summary::before, .o-faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 18px; height: 2px; margin-top: -1px; background: var(--accent); transition: transform .25s ease; }
.o-faq summary::after { transform: rotate(90deg); }
.o-faq details[open] summary::after { transform: rotate(0); }
.o-faq summary:hover { color: #fff; }
.o-faq summary:focus-visible { outline-offset: -3px; border-radius: 8px; }
.o-faq__a { padding: 0 56px 26px 0; color: var(--font-3); font-size: 15px; line-height: 1.8; max-width: 46em; }
@media (min-width: 700px) { .o-faq summary { font-size: 19px; } .o-faq__a { font-size: 16px; } }

/* ---------- CTA końcowe ---------- */
.o-cta { position: relative; isolation: isolate; padding: clamp(72px, 10vw, 160px) 0; text-align: center; overflow: clip; }
.o-cta__bg { position: absolute; z-index: -1; left: 50%; top: 50%; width: min(1100px, 150%); transform: translate(-50%, -50%); opacity: .5; pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side, #000 35%, transparent 100%); mask-image: radial-gradient(closest-side, #000 35%, transparent 100%); }
.o-cta__bg img { width: 100%; height: auto; }
.o-cta h2 { max-width: 14em; margin-inline: auto; font-weight: 600; font-size: clamp(32px, 7.4vw, 72px); line-height: 1.05; letter-spacing: var(--ls-semi); text-wrap: balance; -webkit-text-stroke: 0.0285em currentColor; paint-order: stroke fill; }
.o-cta p { max-width: 34em; margin: 24px auto 0; color: var(--font-3); font-size: 15px; line-height: 1.7; }
.o-cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
@media (min-width: 700px) { .o-cta p { font-size: 17px; } }

/* przyciski w podstronach */
.o-btn { height: 52px; min-width: 198px; padding: 0 28px; border-radius: 8px; font-size: 16px; line-height: 1; white-space: nowrap; }
.o-btn--ghost-line { background: transparent; border: 1px solid rgba(255,255,255,.4); color: #fff; font-weight: 600; letter-spacing: var(--ls-semi); }
.o-btn--ghost-line:hover { border-color: #fff; opacity: 1; }
@media (max-width: 440px) { .o-btn { width: 100%; } .o-hero__meta { grid-template-columns: 1fr 1fr; } }

/* ---------- powiązane oferty ---------- */
.o-rel { display: grid; gap: 14px; margin-top: clamp(28px, 4vw, 48px); }
.o-rel__item { position: relative; display: block; padding: 26px 24px 28px; border: 1px solid var(--hair); border-radius: 15px; background: var(--card); overflow: hidden; transition: border-color .25s ease, transform .25s ease; }
.o-rel__item:hover { border-color: var(--accent-soft); transform: translateY(-3px); }
.o-rel__item:focus-visible { outline-offset: 4px; }
.o-rel__item span { display: block; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.o-rel__item h3 { max-width: 12em; margin-top: 14px; font-weight: 600; font-size: 22px; line-height: 1.2; letter-spacing: var(--ls-semi); -webkit-text-stroke: 0.0285em currentColor; paint-order: stroke fill; }
.o-rel__item p { max-width: 26em; margin-top: 10px; color: var(--font-3); font-size: 14.5px; line-height: 1.65; }
.o-rel__item img { position: absolute; right: 18px; top: 18px; max-width: none; height: auto; pointer-events: none; }
.o-rel__item em { display: inline-block; margin-top: 18px; font-style: normal; font-size: 14px; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; text-decoration-thickness: 2px; }
@media (min-width: 700px) { .o-rel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }

/* ---------- animacje wejścia (tylko z JS, bez reduced motion) ---------- */
.js .o-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .o-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .o-reveal { opacity: 1; transform: none; transition: none; } .o-card:hover, .o-rel__item:hover { transform: none; } }

/* ---------- indywidualne akcenty stron ---------- */
/* Landing page: skupienie – wąska, centralna kompozycja, jedna pionowa oś */
.o-page--landing .o-hero { text-align: center; }
.o-page--landing .o-hero .o-crumbs ol { justify-content: center; }
.o-page--landing .o-h1__sub, .o-page--landing .o-lead { margin-inline: auto; }
.o-page--landing .o-hero__cta { justify-content: center; }
.o-page--landing .o-hero__meta { margin-inline: auto; justify-content: center; text-align: center; }
.o-page--landing .o-hero__media { left: 50%; top: 40px; width: min(760px, 120%); transform: translateX(-50%); opacity: .42; }
.o-page--landing .o-hero__media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(closest-side, transparent 30%, #000 100%); }
@media (min-width: 1280px) { .o-page--landing .o-hero { min-height: 960px; } .o-page--landing .o-hero__media { top: 120px; } }

/* Strona firmowa: struktura – obraz po prawej, siatka techniczna */
.o-page--firma .o-hero__media { right: -26%; top: 40px; width: 92%; opacity: .9; }
.o-page--firma .o-hero .o-wrap > * { max-width: 40em; }
.o-page--firma .o-hero .o-crumbs { max-width: none; }
@media (min-width: 700px) { .o-page--firma .o-hero__media { right: -10%; top: 0; width: 62%; } }
@media (min-width: 1280px) { .o-page--firma .o-hero__media { right: -4%; width: 58%; } }
.o-page--firma .o-card__idx::before { content: "§ "; }

/* Projekty indywidualne: elastyczność – łuk z grafiki cennika jako tło */
.o-page--custom .o-hero__media { left: 50%; bottom: -16%; width: min(1600px, 240%); transform: translateX(-50%); opacity: .6; }
.o-page--custom .o-hero { min-height: 620px; }
.o-page--custom .o-hero::after { content: ""; position: absolute; z-index: -1; inset: auto 0 0 0; height: 40%; background: linear-gradient(transparent, #000); }
@media (min-width: 700px) { .o-page--custom .o-hero { min-height: 760px; } .o-page--custom .o-hero__media { top: auto; bottom: -34%; } }
@media (min-width: 1280px) { .o-page--custom .o-hero__media { bottom: -36%; } .o-page--custom .o-hero { min-height: 940px; } .o-page--custom .o-h1__main { max-width: 7.5em; } }
.o-page--custom .o-card { border-radius: 22px 6px 22px 6px; }

/* hero: większy margines, aby pionowe napisy nie nachodziły na treść */
@media (min-width: 700px)  { .o-hero { --gut: 88px; } }
@media (min-width: 1280px) { .o-hero { --gut: 110px; } }
