/* ATEST Pyskowice — style strony. Kolory i odstępy są zdefiniowane w :root. */

@font-face { font-family: Archivo; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(/assets/fonts/archivo-latin-ext.woff2) format('woff2');
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Archivo; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(/assets/fonts/archivo-latin.woff2) format('woff2');
  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; }
@font-face { font-family: Archivo; font-style: italic; font-weight: 400 900; font-display: swap;
  src: url(/assets/fonts/archivo-italic-latin-ext.woff2) format('woff2');
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Archivo; font-style: italic; font-weight: 400 900; font-display: swap;
  src: url(/assets/fonts/archivo-italic-latin.woff2) format('woff2');
  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 {
  --blue: #1F3A93;
  --blue-deep: #142A6E;
  --on-blue: #D5DCEE;
  --ink: #1E2329;
  --text: #4E555E;
  --muted: #5A616B;
  --line: #D4D8DE;
  --line-soft: #E1E4E8;
  --soft: #ECEEF1;
  --softer: #F4F6F9;
  --photo: #2D3238;
  --tint: #E8EDF8;
  --gut: 24px;
  --sec: clamp(48px, 6vw, 72px);
  --sec-lg: clamp(56px, 8vw, 96px);
}
@media (max-width: 480px) { :root { --gut: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: Archivo, system-ui, sans-serif; color: var(--ink); background: #fff; font-size: 17px; line-height: 1.6; }
img { max-width: 100%; }
picture { display: contents; }
source { display: none; }
a { color: var(--blue); }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid #F2B705; outline-offset: 2px; }
h1, h2, h3 { margin: 0; font-weight: 900; font-style: italic; line-height: 1; text-transform: uppercase; }
p { margin: 0; }
.icon { display: block; flex: none; }

.wrap { max-width: 1280px; margin: 0 auto; padding-inline: var(--gut); }
.wrap--narrow { max-width: 1120px; }
.sec { padding-top: var(--sec); }
.sec--lg { padding-top: var(--sec-lg); }
.sec--end { padding-bottom: clamp(56px, 7vw, 88px); }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: #fff; padding: 10px 16px; }
.skip:focus { left: 8px; top: 8px; }

.eyebrow { color: var(--blue); font-weight: 800; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
.t54 { font-size: clamp(32px, 4.6vw, 54px); }
.t40 { font-size: clamp(30px, 3.6vw, 40px); }
.t34 { font-size: clamp(27px, 3.2vw, 34px); line-height: 1.05; }
.t32 { font-size: clamp(26px, 3vw, 32px); line-height: 1.05; }
.t30 { font-size: clamp(25px, 2.8vw, 30px); }
.t28 { font-size: clamp(24px, 2.6vw, 28px); line-height: 1.05; }
.mt8 { margin-top: 8px; }
.mb16 { margin-bottom: 16px; }
.mb20 { margin-bottom: 20px; }
.mb24 { margin-bottom: 24px; }
.mb36 { margin-bottom: clamp(24px, 3vw, 36px); }
.stack > * + * { margin-top: 14px; }
.lead-text { color: var(--text); }
.strong { font-weight: 700; }
ul.list { margin: 0; padding-left: 20px; }

/* Przyciski */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 16px 26px; font-weight: 800; font-size: 17px; line-height: 1.2; letter-spacing: .03em; text-transform: uppercase; text-decoration: none; transition: background-color .15s, color .15s; }
.btn--white { background: #fff; color: var(--blue); }
.btn--white:hover { background: var(--on-blue); color: var(--blue-deep); }
.btn--ghost { border: 2px solid #fff; color: #fff; padding: 14px 24px; }
.btn--ghost:hover { background: #fff; color: var(--blue); }
.btn--blue { background: var(--blue); color: #fff; padding: 14px 22px; font-size: 15px; }
.btn--blue:hover { background: var(--blue-deep); color: #fff; }
.btn--sm { padding: 12px 20px; font-size: 15px; }

/* Górny pasek */
.topbar { background: var(--blue-deep); color: var(--on-blue); font-size: 14px; }
.topbar__in { display: flex; flex-wrap: wrap; gap: 6px 28px; justify-content: space-between; padding-block: 9px; }
.topbar__links { display: inline-flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.topbar a:hover { color: var(--on-blue); }
.topbar__tel { font-weight: 700; }
@media (max-width: 760px) {
  .topbar__addr, .topbar__links { display: none; }
  .topbar__in { justify-content: center; }
}

/* Nagłówek i menu */
.site-header { position: relative; z-index: 50; background: #fff; border-bottom: 1px solid var(--line-soft); }
.site-header__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; }
.brand { display: flex; align-items: center; background: var(--blue); padding: 18px 28px 18px 20px; clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%); }
.brand img { display: block; height: 34px; width: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .04em; }
.nav > a, .nav__services { display: inline-flex; align-items: center; min-height: 44px; padding: 12px 0; color: var(--ink); text-decoration: none; }
.nav > a:hover, .nav__services:hover { color: var(--blue); }
.nav__services { gap: 8px; font: inherit; text-transform: inherit; letter-spacing: inherit; background: none; border: 0; border-bottom: 3px solid transparent; cursor: pointer; }
.nav__services[aria-expanded="true"] { color: var(--blue); border-bottom-color: var(--blue); }
.nav__services[aria-expanded="true"] .icon { transform: rotate(180deg); }
.header-call { display: inline-flex; flex-direction: column; padding: 12px 20px; background: var(--blue); color: #fff; font-weight: 800; line-height: 1.1; text-decoration: none; }
.header-call:hover { background: var(--blue-deep); color: #fff; }
.header-call small { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--on-blue); }
.header-call span { font-style: italic; font-size: 20px; white-space: nowrap; }
.nav-toggle { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; font: inherit; font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--blue); background: none; border: 2px solid var(--blue); cursor: pointer; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

.mega { position: absolute; left: 0; right: 0; top: 100%; padding: 0 16px; text-transform: none; letter-spacing: 0; font-weight: 400; }
.mega[hidden] { display: none; }
.mega__box { max-width: 1240px; margin: 12px auto 0; background: #fff; border: 1px solid var(--line-soft); border-radius: 14px; box-shadow: 0 18px 48px rgba(20, 42, 110, .22); overflow: hidden; }
.mega__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 26px 8px 18px; }
.mega__col { padding: 0 22px 8px; }
.mega__col + .mega__col { border-left: 1px solid #ECEEF1; }
.mega__head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid #ECEEF1; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 17px; }
.mega__ico { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 8px; background: var(--tint); color: var(--blue); flex: none; }
.mega__ico--solid { background: var(--blue); color: #fff; }
.mega__item { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 6px; color: #3A4048; font-size: 15px; text-decoration: none; }
.mega__item:hover { background: var(--softer); color: var(--blue); }
.pill-new { background: var(--blue); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .08em; padding: 2px 8px; border-radius: 999px; }
.mega__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; padding: 14px 30px; background: var(--softer); border-top: 1px solid var(--line-soft); font-size: 14px; color: var(--text); }
.mega__foot a { font-weight: 800; color: var(--blue); text-decoration: none; }

@media (max-width: 959px) {
  .brand { padding: 14px 24px 14px 14px; clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%); }
  .brand img { height: 26px; }
  .site-header__in { padding-left: 0; gap: 0 10px; }
  .wrap.site-header__in { padding-left: 0; }
  .nav-toggle { display: inline-flex; order: 3; }
  .header-call { order: 2; margin-left: auto; padding: 8px 12px; }
  .header-call span { font-size: 17px; }
  .nav { display: none; order: 4; flex: 0 0 calc(100% + var(--gut)); flex-flow: column nowrap; align-items: stretch; gap: 0; padding: 4px var(--gut) 12px; border-top: 1px solid var(--line-soft); margin-right: calc(-1 * var(--gut)); max-height: calc(100vh - 110px); overflow-y: auto; }
  .nav.is-open { display: flex; }
  .nav > a, .nav__services { justify-content: space-between; border-bottom: 1px solid var(--line-soft); }
  .nav__services[aria-expanded="true"] { border-bottom-color: var(--line-soft); }
  .mega { position: static; padding: 0; }
  .mega__box { margin: 0; border: 0; border-radius: 0; box-shadow: none; }
  .mega__cols { grid-template-columns: 1fr; padding: 12px 0 0; gap: 18px; }
  .mega__col { padding: 0; }
  .mega__col + .mega__col { border-left: 0; }
  .mega__item { min-height: 44px; }
  .mega__foot { display: none; }
}
@media (max-width: 480px) {
  .nav-toggle { padding: 8px 10px; }
  .nav-toggle__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 400px) { .header-call small { display: none; } }
@media (max-width: 360px) {
  .site-header__in { column-gap: 6px; }
  .brand { padding: 12px 20px 12px 12px; }
  .brand img { height: 22px; }
  .header-call { padding: 8px; }
  .header-call span { font-size: 15px; }
}

/* Strona główna: nagłówek ze zdjęciem */
.hero { position: relative; display: flex; min-height: 640px; background: var(--photo); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.hero__panel { --left: max(var(--gut), calc((100vw - 1280px) / 2 + var(--gut))); position: relative; width: calc(var(--left) + 690px); padding: 72px 130px 72px var(--left); display: flex; flex-direction: column; justify-content: center; background: var(--blue); color: #fff; clip-path: polygon(0 0, 100% 0, calc(100% - 90px) 100%, 0 100%); }
.hero__badge { align-self: flex-start; background: #fff; color: var(--blue); font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; padding: 7px 12px; }
.hero h1 { margin-top: 22px; font-size: clamp(40px, 5.2vw, 76px); line-height: .95; letter-spacing: -.01em; }
.hero__lead { margin-top: 24px; font-size: clamp(18px, 1.5vw, 20px); color: var(--on-blue); max-width: 470px; }
.hero__cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 1100px) {
  .hero__panel { width: calc(var(--left) + 62vw); padding-right: 100px; }
}
@media (max-width: 859px) {
  .hero { display: block; min-height: 0; }
  .hero__bg { position: static; display: block; height: clamp(200px, 52vw, 360px); }
  .hero__panel { width: 100%; padding: 36px var(--gut) 44px; clip-path: none; }
}

/* Szybkie wejścia */
.quick { background: var(--soft); }
.quick__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.quick__item { display: flex; gap: 16px; align-items: center; padding: 28px 24px; color: var(--ink); text-decoration: none; border-right: 1px solid var(--line); }
.quick__item:last-child { border-right: 0; }
.quick__item:hover { background: #E2E5EA; color: var(--ink); }
.quick__item svg { color: var(--blue); }
.quick__t { display: block; font-weight: 800; font-size: 19px; }
.quick__s { color: var(--muted); font-size: 15px; }
@media (max-width: 1000px) {
  .quick__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick__item { border-bottom: 1px solid var(--line); padding: 20px 16px; }
  .quick__item:nth-child(2n) { border-right: 0; }
  .quick__item:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 480px) {
  .quick__grid { grid-template-columns: 1fr; }
  .quick__item { border-right: 0; border-bottom: 1px solid var(--line); }
  .quick__item:nth-last-child(2) { border-bottom: 1px solid var(--line); }
}

/* Usługi specjalistyczne: karty */
.split-head { display: flex; flex-wrap: wrap; gap: 16px 64px; align-items: flex-end; justify-content: space-between; }
.split-head > div { flex: 1 1 520px; min-width: 0; }
.split-head > p { flex: 1 1 340px; min-width: 0; color: var(--text); }
.cards { margin-top: 44px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--photo); color: #fff; text-decoration: none; }
.card:hover { color: #fff; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card:hover img { transform: scale(1.04); }
.card__new { position: absolute; top: 16px; left: 16px; background: #fff; color: var(--blue); font-weight: 900; font-style: italic; font-size: 13px; letter-spacing: .08em; padding: 5px 10px; }
.card__bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; background: var(--blue); }
.card__t { font-weight: 900; font-style: italic; font-size: 22px; line-height: 1.05; text-transform: uppercase; }
.card__s { color: var(--on-blue); font-size: 15px; }
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
}
@media (prefers-reduced-motion: reduce) { .card img { transition: none; } .card:hover img { transform: none; } }

/* Serwis: kafle ze zdjęciami */
.tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.tile { display: flex; flex-direction: column; }
.tile img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.tile span { padding: 14px 0; border-bottom: 3px solid var(--blue); font-weight: 800; font-size: 19px; line-height: 1.25; }
@media (max-width: 1100px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; } .tile span { font-size: 17px; } }

/* Pełna oferta */
.offer { margin-top: var(--sec-lg); background: var(--soft); }
.offer__in { padding-block: clamp(56px, 7vw, 88px); }
.offer__intro { margin: 12px 0 40px; max-width: 760px; color: var(--text); }
.offer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; }
.offer__box { background: #fff; padding: 28px; }
.offer__box h3 { margin-bottom: 14px; font-size: 24px; line-height: 1.1; color: var(--blue); }
.offer__box dl { margin: 0; display: grid; gap: 10px; }
.offer__box dt { font-weight: 800; }
.offer__box dt a { display: inline-block; padding-block: 2px; color: var(--ink); text-decoration: none; }
.offer__box dt a span { color: var(--blue); }
.offer__box dt a:hover { color: var(--blue); }
.offer__box dd { margin: 0; color: var(--text); font-size: 15px; }

/* Stacja kontroli pojazdów */
.skp { display: flex; flex-wrap: wrap; background: var(--blue); color: #fff; }
.skp__img { position: relative; flex: 1 1 520px; min-width: 0; min-height: 520px; }
.skp__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.skp__body { flex: 1 1 560px; min-width: 0; max-width: 720px; padding: clamp(40px, 5vw, 72px) clamp(var(--gut), 4vw, 48px); }
.skp .eyebrow { color: var(--on-blue); }
.skp h2 { margin: 8px 0 20px; font-size: clamp(32px, 4.2vw, 50px); }
.price { width: 100%; border-collapse: collapse; font-size: 17px; }
.price caption { text-align: left; color: var(--on-blue); padding-bottom: 8px; font-size: 14px; }
.price tr { border-top: 1px solid rgba(255, 255, 255, .25); }
.price tr:last-child { border-bottom: 1px solid rgba(255, 255, 255, .25); }
.price th { padding: 11px 0; font-weight: 400; text-align: left; }
.price td { padding: 11px 0 11px 16px; text-align: right; font-weight: 800; font-size: 20px; white-space: nowrap; }
.skp__note { margin-top: 14px; font-size: 14px; color: var(--on-blue); }
@media (max-width: 1100px) {
  .skp__img { flex-basis: 100%; min-height: clamp(220px, 46vw, 420px); }
  .skp__body { flex-basis: 100%; max-width: none; }
}

/* O nas */
.about { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.about__txt { flex: 1 1 400px; min-width: 0; }
.about__txt h2 { margin: 8px 0 16px; font-size: min(8.4vw, 48px); }
@media (min-width: 1056px) { .about__txt h2 { font-size: min(3.7vw, 48px); } }
.about__txt .lead-text { margin: 14px 0 24px; }
.brands { display: flex; flex-wrap: wrap; gap: 8px; }
.brands span { border: 1.5px solid var(--ink); padding: 6px 12px; font-weight: 800; font-size: 14px; }
.about__gal { flex: 1.4 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, clamp(110px, 17vw, 220px)); gap: 12px; }
.about__gal img { display: block; width: 100%; height: 100%; object-fit: cover; }
.about__gal .wide { grid-column: span 2; }
@media (max-width: 480px) { .about__gal { gap: 6px; } .about { gap: 28px; } }

/* FAQ */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { font-weight: 800; font-size: 19px; line-height: 1.3; cursor: pointer; }
.faq summary:hover { color: var(--blue); }
.faq p { margin-top: 10px; color: var(--text); }

/* Kontakt */
.contact { position: relative; margin-top: var(--sec-lg); background: var(--photo); overflow: hidden; }
.contact__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact__in { position: relative; display: flex; justify-content: flex-end; padding-block: 72px; }
.contact__card { flex: 0 1 560px; min-width: 0; background: #fff; padding: 44px; }
.contact__card h2 { margin-bottom: 6px; font-size: clamp(32px, 3.6vw, 40px); color: var(--blue); }
.contact__firm { margin-bottom: 24px; font-weight: 700; }
.contact__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 22px; align-items: start; }
.contact__label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #6A717B; }
.contact__tel { font-weight: 900; font-style: italic; font-size: 28px; text-decoration: none; white-space: nowrap; }
.contact__val { font-weight: 700; }
.contact__mail { font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .contact__bg { position: static; display: block; height: 220px; }
  .contact__in { padding: 0; }
  .contact__card { flex-basis: 100%; padding: 32px var(--gut); }
}

/* Stopka */
.site-footer { background: var(--blue-deep); color: var(--on-blue); font-size: 15px; line-height: 1.6; }
.site-footer__in { display: flex; flex-direction: column; gap: 36px; padding-block: 48px 28px; }
.footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 28px; }
.footer__logo { display: block; height: 28px; width: auto; margin-bottom: 14px; }
.footer__contact { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.footer__contact a { display: inline-flex; gap: 10px; align-items: center; color: #fff; text-decoration: none; }
.footer__contact a:hover { color: var(--on-blue); }
.footer__tel { font-weight: 800; font-size: 20px; }
.footer__hours { margin-top: 10px; }
.footer__h { margin-bottom: 10px; color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.footer__link { display: block; color: var(--on-blue); text-decoration: none; }
.footer__link:hover { color: #fff; text-decoration: underline; }
.fe-banner { display: flex; flex-direction: column; gap: 8px; padding: 14px 22px; background: #fff; color: var(--blue); text-decoration: none; }
.fe-banner img { display: block; width: 100%; max-width: 1000px; height: auto; margin: 0 auto; }
.fe-banner span { text-align: center; font-weight: 700; font-size: 14px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; font-size: 14px; }
.footer__bottom a { color: var(--on-blue); }
.footer__bottom a:hover { color: #fff; }
.footer__bottom .strong-link { color: #fff; }

/* Podstrony usług */
.svc-hero { background: var(--blue); color: #fff; }
.svc-hero__in { display: flex; flex-wrap: wrap; gap: 40px; align-items: stretch; }
.svc-hero__txt { flex: 1 1 520px; min-width: 0; padding: 48px 0 64px; }
.svc-hero__media { position: relative; flex: 1 1 440px; min-width: 0; min-height: 420px; }
.svc-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.crumbs { font-size: 14px; color: var(--muted); }
.svc-hero .crumbs { color: var(--on-blue); }
.svc-hero .crumbs a { color: #fff; }
.svc-hero .crumbs a:hover { color: var(--on-blue); }
.badge-new { display: inline-block; margin-top: 24px; background: #fff; color: var(--blue); font-weight: 900; font-style: italic; font-size: 13px; letter-spacing: .08em; padding: 5px 10px; }
.svc-hero h1 { margin-top: 14px; font-size: clamp(36px, 4.1vw, 58px); line-height: .98; }
.svc-hero h1.no-badge { margin-top: 28px; }
.svc-hero__lead { margin-top: 20px; font-size: clamp(18px, 1.5vw, 20px); color: var(--on-blue); max-width: 540px; }
.chips { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { border: 1.5px solid rgba(255, 255, 255, .5); padding: 6px 12px; font-weight: 700; font-size: 14px; }
.svc-hero .btn { margin-top: 32px; }
@media (max-width: 1020px) {
  .svc-hero h1 { font-size: min(7.9vw, 56px); }
  .svc-hero__in { gap: 0; }
  .svc-hero__txt { flex-basis: 100%; padding: 32px 0 40px; }
  .svc-hero__media { flex-basis: 100%; min-height: clamp(220px, 52vw, 420px); margin-inline: calc(-1 * var(--gut)); flex-shrink: 0; width: calc(100% + 2 * var(--gut)); }
}

.intro { display: flex; flex-wrap: wrap; gap: 48px; padding-top: clamp(48px, 6vw, 80px); }
.intro__txt { flex: 1 1 520px; min-width: 0; }
.gal { flex: 1 1 440px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-content: start; }
.gal img { display: block; width: 100%; height: min(var(--h), calc(var(--m, 1) * 44vw)); object-fit: cover; }
.gal .wide { grid-column: span 2; }
.gal .tall { grid-row: span 2; --m: 2; }
.gal .contain { object-fit: contain; background: var(--softer); }
@media (max-width: 480px) { .gal { gap: 6px; } }

.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 2px; background: var(--line); border: 2px solid var(--line); }
.steps li { background: #fff; padding: 24px; }
.steps__n { font-weight: 900; font-style: italic; font-size: 32px; line-height: 1.2; color: var(--blue); }
.steps__t { font-weight: 800; }
.steps__d { color: var(--text); }

.promo { display: flex; flex-wrap: wrap; background: var(--blue); color: #fff; }
.promo__img { position: relative; flex: 1 1 360px; min-width: 0; min-height: 280px; }
.promo__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo__body { flex: 2 1 520px; min-width: 0; padding: clamp(28px, 3.4vw, 40px); }
.promo__kicker { font-weight: 800; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-blue); }
.promo h2 { margin: 6px 0 12px; }
.promo p { margin-bottom: 14px; color: var(--on-blue); }
.promo .btn { padding: 12px 20px; font-size: 15px; }

.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; }
.box { padding: 32px; }
.box h2 { margin-bottom: 10px; }
.box--blue { background: var(--blue); color: #fff; }
.box--blue p { color: var(--on-blue); }
.box--blue a { color: #fff; font-weight: 700; }
.box--blue a:hover { color: var(--on-blue); }
.box--soft { background: var(--soft); }
.box--soft p, .box--soft ul { color: var(--text); }

.gain { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; background: var(--line); border: 2px solid var(--line); }
.gain > div { background: #fff; padding: 22px; }
.gain__t { font-weight: 800; }
.gain__d { color: var(--text); }
@media (max-width: 900px) { .gain { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .gain { grid-template-columns: 1fr; } }

.gear { display: flex; flex-wrap: wrap; gap: 16px 48px; border: 2px solid var(--ink); padding: 28px 32px; }
.gear__head { flex: 1 1 280px; min-width: 0; }
.gear__label { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.gear__name { font-weight: 900; font-style: italic; font-size: 26px; line-height: 1.1; }
.gear__sub { color: var(--text); }
.gear ul { flex: 2 1 420px; min-width: 0; margin: 0; padding-left: 20px; color: var(--text); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 4px 24px; }
@media (max-width: 480px) { .gear { padding: 22px 18px; } .box { padding: 26px 20px; } }

.when { background: var(--blue); color: #fff; padding: clamp(26px, 3vw, 36px) clamp(20px, 3.2vw, 40px); }
.when h2 { margin-bottom: 18px; }
.when__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 12px; }
.when__grid div { border: 1.5px solid rgba(255, 255, 255, .35); padding: 16px; font-weight: 700; }

.others { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 12px; }
.others a { display: flex; justify-content: space-between; gap: 12px; border: 1px solid var(--line); padding: 18px 20px; font-weight: 800; text-decoration: none; }
.others a:hover { border-color: var(--blue); background: var(--softer); }

/* Fundusze Europejskie */
.fe-top { background: var(--soft); }
.fe-top__in { padding-block: 40px; }
.fe-top__logos { margin-top: 24px; background: #fff; padding: 20px 24px; }
.fe-top__logos img { display: block; width: 100%; height: auto; }
.fe-h1 { margin-top: 10px; font-size: clamp(30px, 3.9vw, 46px); line-height: 1.05; text-transform: none; }
.fe-stats { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 2px; background: var(--line); border: 2px solid var(--line); }
.fe-stats > div { background: #fff; padding: 24px; }
.fe-stats .is-blue { background: var(--blue); color: #fff; }
.fe-stat__l { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.is-blue .fe-stat__l { color: var(--on-blue); }
.fe-stat__v { font-weight: 900; font-style: italic; font-size: clamp(28px, 2.8vw, 36px); line-height: 1.1; color: var(--blue); }
.is-blue .fe-stat__v { color: #fff; }
.fe-stat__t { font-weight: 700; }
.fe-benef { margin-top: 28px; }
.fe-sec { padding-top: clamp(40px, 5vw, 56px); }
.fe-tasks { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.fe-tasks li { display: flex; flex-direction: column; border: 1px solid var(--line); }
.fe-tasks img, .fe-tasks__ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 220px; object-fit: cover; }
.fe-tasks__ph { background: var(--soft); color: var(--blue); }
.fe-tasks__b { padding: 20px; }
.fe-tasks__n { font-weight: 900; font-style: italic; font-size: 28px; line-height: 1.2; color: var(--blue); }
.fe-tasks__t { font-weight: 800; }
.fe-tasks__d { color: var(--text); }
.fe-list { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.fe-more { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; background: var(--blue); color: #fff; padding: 28px 32px; }
.fe-more span { font-weight: 700; }
.fe-more a { color: #fff; font-weight: 900; font-style: italic; font-size: 22px; overflow-wrap: anywhere; }
.fe-more a:hover { color: var(--on-blue); }

/* Strony tekstowe */
.page-top { background: var(--blue); color: #fff; }
.page-top__in { padding-block: 44px 52px; }
.page-top .crumbs { color: var(--on-blue); }
.page-top .crumbs a { color: #fff; }
.page-top h1 { margin-top: 20px; font-size: clamp(34px, 4.4vw, 56px); }
.page-top p { margin-top: 14px; color: var(--on-blue); font-size: 19px; max-width: 640px; }
.prose { max-width: 820px; }
.prose h2 { margin: 36px 0 12px; font-size: 26px; line-height: 1.1; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin: 0 0 14px; }
.prose ul { padding-left: 22px; }
