:root {
  --layout-edge: max(32px, calc((100vw - 1280px) / 2));
  --bg: #5b5b5b;
  --surface: #5b5b5b;
  --surface-alt: #5b5b5b;
  --line: #7a7a7a;
  --base: #5b5b5b;
  --text: #ffffff;
  --muted: #ededed;
  --accent: #ef3c1c;
  --accent-2: #ff7a18;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  --radius-xl: 22px;
  --radius-lg: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
.oferta {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 700;
  color: #ffffff;
  max-width: 100%;
  overflow-wrap: break-word;
}

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

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Segoe UI", Tahoma, sans-serif;
  background-color: var(--base);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

h1,
h2,
h3,
strong {
  margin: 0;
  line-height: 1.15;
}

h1,
h2,
h3 {
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}

main {
  min-width: 0;
}

img,
svg {
  max-width: 100%;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  max-width: none;
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  max-width: none;
}

h3 {
  font-size: 1.08rem;
}

code {
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: #5b5b5b;
  color: #ffffff;
  font-size: 0.9em;
}

.page-shell {
  width: 100%;
  margin: 0;
  padding: 0 32px 64px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 88px;
  width: calc(100% + 64px);
  margin-inline: -32px;
  padding: 10px var(--layout-edge);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 8, 8, 0.98);
  backdrop-filter: blur(14px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.09);
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 145px;
  flex: 0 0 auto;
}

.main-navigation {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.main-navigation a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid #55595c;
  border-radius: 4px;
  background: #5b5b5b;
  color: #ffffff;
  font-weight: 700;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.main-navigation a:hover,
.main-navigation a:focus-visible,
.main-navigation a[aria-current="page"] {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-left: auto;
  padding: 0 20px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  background: var(--accent);
  color: #ffffff;
  white-space: nowrap;
  font-weight: 800;
  transition: background 0.2s ease, transform 0.2s ease;
}

.header-phone:hover,
.header-phone:focus-visible {
  background: var(--accent-2);
  transform: translateY(-1px);
}

@media (min-width: 701px) {
  .site-header .brand {
    margin-left: 0;
  }

  .site-header .main-navigation {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    flex-wrap: nowrap;
  }
}

.hero-intro {
  display: grid;
  gap: 18px;
  min-height: min(560px, 65vh);
  align-content: center;
  margin: 0 auto;
  padding: clamp(70px, 10vw, 150px) clamp(20px, 7vw, 110px);
  max-width: 1500px;
}

.home-hero {
  width: calc(100% + 64px);
  max-width: none;
  margin-inline: -32px;
  color: #ffffff;
  background: #5b5b5b;
  justify-items: start;
  padding-inline: var(--layout-edge);
  text-align: left;
}

.home-hero h1 {
  max-width: none;
  white-space: nowrap;
}

.home-hero p {
  max-width: 72ch;
  color: #e2e4e5;
  white-space: normal;
  text-wrap: balance;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 7vw, 110px);
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(72px, 10vw, 140px) clamp(20px, 5vw, 72px);
  background: #d7d9da;
  box-shadow: 0 0 0 100vmax #d7d9da;
  clip-path: inset(0 -100vmax);
}

.about-content {
  display: grid;
  gap: 32px;
}

.about-section h2 {
  color: #111111;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
}

.about-copy {
  display: grid;
  gap: 20px;
}

.about-copy p {
  max-width: 68ch;
  color: #3f4447;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

.about-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  box-shadow: var(--shadow);
}

.contact-page-info {
  width: calc(100% + 64px);
  margin-inline: -32px;
  padding: clamp(64px, 9vw, 120px) clamp(24px, 8vw, 130px);
  background: #d7d9da;
  color: #111111;
}

.contact-details-plain {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(32px, 7vw, 100px);
  max-width: 1280px;
  margin: 0 auto;
}

.contact-details-plain > * {
  display: grid;
  gap: 8px;
  padding: 24px 0;
  border-bottom: 1px solid #666a6d;
}

.contact-details-plain span {
  color: #3f4447;
  font-size: 0.85rem;
}

.contact-details-plain strong {
  color: #111111;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.contact-details-plain a:hover strong,
.contact-details-plain a:focus-visible strong {
  color: var(--accent-2);
}

.contact-map-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 72px);
}

.contact-map-section .map-card {
  border-color: #b9bdc0;
  background: #d7d9da;
  color: #111111;
}

.contact-map-section .map-card h2 {
  color: #111111;
}

.contact-map-section .map-caption {
  color: #3f4447;
}

.contact-body main {
  background: #d7d9da;
  box-shadow: 0 0 0 100vmax #d7d9da;
  clip-path: inset(0 -100vmax);
}

.contact-body .hero-intro {
  width: calc(100% + 64px);
  max-width: none;
  margin-inline: -32px;
  padding-inline: var(--layout-edge);
  color: #ffffff;
  background: #5b5b5b;
}

.contact-body .hero-intro p {
  color: #ededed;
}

.legal-hero {
  width: calc(100% + 64px);
  max-width: none;
  margin-inline: -32px;
  padding-inline: var(--layout-edge);
  color: #ffffff;
  background: #5b5b5b;
}

.legal-hero p {
  color: #ededed;
}

.contact-map-section .map-link {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
  font-weight: 800;
}

.contact-map-section .map-link:hover,
.contact-map-section .map-link:focus-visible {
  background: var(--accent-2);
}

.home-services {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px clamp(20px, 5vw, 72px) clamp(80px, 10vw, 140px);
}

.home-services > h2 {
  margin-bottom: clamp(28px, 5vw, 54px);
  color: #ffffff;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
}

.home-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 30px);
}

.home-service-card {
  display: flex;
  aspect-ratio: 1;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  padding: clamp(22px, 3vw, 38px);
  border: 1px solid #252525;
  background: #080808;
  color: #ffffff;
  box-shadow: var(--shadow);
}

.home-service-card h3 {
  font-size: clamp(1.45rem, 2.5vw, 2.2rem);
}

.home-service-card p {
  color: #d7d9da;
  font-size: clamp(0.92rem, 1.4vw, 1.08rem);
}

.services-all-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 48px;
  margin: clamp(32px, 5vw, 56px) auto 0;
  padding: 0 24px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 800;
  transition: background 0.2s ease, transform 0.2s ease;
}

.services-all-button:hover,
.services-all-button:focus-visible {
  background: var(--accent-2);
  transform: translateY(-1px);
}

.partners-strip {
  width: calc(100% + 64px);
  margin-inline: -32px;
  padding: clamp(54px, 7vw, 90px) 0;
  background: #ffffff;
}

.partners-strip > h2 {
  box-sizing: border-box;
  width: calc(100% - 64px);
  max-width: 1280px;
  margin: 0 auto clamp(30px, 4vw, 48px);
  padding-inline: clamp(20px, 5vw, 72px);
  color: #111111;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.partner-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 5vw, 70px);
  max-width: 1280px;
  min-height: 80px;
  margin: 0 auto;
}

.partner-list a {
  display: grid;
  place-items: center;
  min-width: 140px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.partner-list a:hover,
.partner-list a:focus-visible {
  opacity: 0.75;
  transform: translateY(-2px);
}

.partner-list img {
  display: block;
  width: auto;
  max-width: 190px;
  height: auto;
  max-height: 82px;
  object-fit: contain;
}

.services-browser {
  max-width: none;
  min-height: calc(100vh - 88px);
  margin: 0 auto;
}

.services-browser > h1 {
  width: calc(100% + 64px);
  margin: 0 -32px;
  padding: clamp(60px, 8vw, 110px) var(--layout-edge);
  color: #ffffff;
  text-align: left;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
}

.services-content {
  display: grid;
  grid-template-columns: minmax(240px, 0.34fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 80px);
  max-width: 1500px;
  margin: 0 auto;
  padding: clamp(60px, 8vw, 120px) clamp(20px, 5vw, 72px);
  background: #ffffff;
  box-shadow: 0 0 0 100vmax #ffffff;
  clip-path: inset(0 -100vmax);
}

.certificates-hero {
  width: calc(100% + 64px);
  max-width: none;
  margin-inline: -32px;
  padding-inline: var(--layout-edge);
  justify-items: start;
  color: #ffffff;
  background: #5b5b5b;
  box-shadow: 0 0 0 100vmax #5b5b5b;
  clip-path: inset(0 -100vmax);
  text-align: left;
}

.certificates-hero p {
  color: #ededed;
}

.certificates-body main {
  background: #d7d9da;
  box-shadow: 0 0 0 100vmax #d7d9da;
  clip-path: inset(0 -100vmax);
}

.certificates-page {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 90px) clamp(20px, 5vw, 72px) clamp(80px, 10vw, 140px);
}

.certificate-entry {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-content: start;
  padding: clamp(24px, 5vw, 64px);
  background: #d7d9da;
  border: 3px solid #111111;
}

.certificate-entry a {
  display: block;
  background: #ffffff;
}

.certificate-entry img {
  display: block;
  width: 100%;
  height: auto;
}

.certificate-entry h2 {
  text-align: center;
  color: #111111;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
}

.certificate-entry-tall {
  grid-row: span 2;
}

.certificate-entry-compact {
  gap: 14px;
  padding: clamp(18px, 3vw, 32px);
}

.certificate-entry-compact h2 {
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
}

.services-legend {
  align-self: start;
}

.services-tabs {
  display: grid;
  gap: 10px;
}

.services-tabs button {
  min-height: 58px;
  padding: 14px 18px;
  border: 1px solid #b8bbbd;
  border-radius: 0;
  background: #d7d9da;
  color: #111111;
  text-align: left;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.services-tabs button:hover,
.services-tabs button:focus-visible,
.services-tabs button[aria-selected="true"] {
  border-color: var(--accent);
  background: #bfc2c4;
  color: #111111;
  outline: none;
}

.services-panels {
  min-width: 0;
}

.service-detail {
  display: grid;
  gap: clamp(28px, 5vw, 54px);
}

.service-detail[hidden] {
  display: none;
}

.service-detail > div {
  display: grid;
  gap: 18px;
}

.service-detail h2 {
  color: #111111;
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
}

.service-detail p {
  max-width: 68ch;
  color: #3f4447;
  font-size: clamp(0.88rem, 1.3vw, 1rem);
}

.service-detail img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-intro h1 {
  max-width: 18ch;
}

.hero-intro p {
  max-width: 58ch;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.brand-logo {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.shop-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #5b5b5b;
  white-space: nowrap;
  color: var(--text);
  font-weight: 600;
}

.shop-link:hover,
.button:hover,
.contact-card:hover,
.map-link:hover {
  transform: translateY(-1px);
}

.section {
  margin: 0 auto;
  padding-top: 72px;
  max-width: 1500px;
}

.site-header .pierwszy {
  grid-area: title;
  padding-left: 0;
  font-size: clamp(1.45rem, 2.5vw, 4.35rem);
  text-align: center;
}

.site-header .lead {
  grid-area: lead;
  margin-top: 0;
  max-width: 80ch;
  justify-self: center;
  text-align: center;
}

.site-header .hero-actions {
  grid-area: actions;
  flex-direction: row;
  flex-wrap: nowrap;
  margin-top: 0;
}

.hero,
.contact-section,
.split-section,
.offer-layout,
.process-section {
  width: 100%;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  
}
.hero-copy,
.hero-note,
.section-heading,
.service-card,
.gallery-card,
.contact-section,
.text-block,
.info-list,
.map-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: clamp(22px, 3vw, 34px);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  font-weight: 700;
}

.lead {
  margin-top: 16px;
  max-width: 722ch;
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  font-weight: 700;
}

.button-secondary {
  border-color: var(--line);
  background: #5b5b5b;
}

.hero-note {
  padding: 24px;
  background: #5b5b5b;
  min-width: 0;
}

.hero-note p {
  margin-top: 12px;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}

.checklist li {
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(239, 60, 28, 0.08), rgba(255, 122, 24, 0.06));
  color: var(--text);
  border: 1px solid rgba(239, 60, 28, 0.1);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  padding: clamp(22px, 3vw, 30px);
}

.contact-copy {
  display: grid;
  gap: 12px;
}

.contact-cards {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.contact-card {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #5b5b5b;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.contact-card:hover {
  border-color: rgba(239, 60, 28, 0.18);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.05);
}

.contact-card span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
}

.map-card {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.map-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(239, 60, 28, 0.16);
  background: linear-gradient(180deg, rgba(239, 60, 28, 0.08), rgba(255, 122, 24, 0.05));
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.map-canvas {
  width: 100%;
  height: 420px;
  min-height: 420px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-alt);
}

.leaflet-container {
  background: #5b5b5b;
}

.map-fallback {
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  color: var(--muted);
  background: #5b5b5b;
}

.map-canvas .leaflet-control-attribution {
  font-size: 10px;
}

.map-caption {
  font-size: 0.92rem;
}

.section-heading,
.text-block,
.info-list {
  padding: clamp(22px, 3vw, 30px);
}

.section-heading {
  display: grid;
  gap: 12px;
}

.section-heading p,
.text-block p,
.contact-copy p,
.hero-note p {
  max-width: 72ch;
}

.service-grid,
.gallery-grid {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.offer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.offer-summary {
  display: grid;
  gap: 64px;
  min-width: 0;
}

.site-footer {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

.site-footer strong {
  color: var(--text);
  font-size: 0.88rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.site-footer a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--accent);
}

.gallery-footer {
  margin-top: 28px;
}

.main-footer {
  width: calc(100% + 64px);
  margin: 0 -32px -64px;
  padding: 34px clamp(24px, 7vw, 110px);
  border-top-color: #2b2b2b;
  background: #080808;
  color: #ffffff;
}

.main-footer strong,
.main-footer span {
  color: #ffffff;
}

.main-footer a,
.main-footer a:hover,
.main-footer a:focus-visible {
  color: var(--accent);
}

.main-footer .footer-facebook {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 4px;
  background: #1877f2;
  color: #ffffff;
  text-decoration: none;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.main-footer .footer-facebook:hover,
.main-footer .footer-facebook:focus-visible {
  color: #ffffff;
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.footer-facebook svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.legal-content {
  display: grid;
  gap: 18px;
}

.legal-page .legal-content {
  background: #d7d9da;
  box-shadow: 0 0 0 100vmax #d7d9da;
  clip-path: inset(0 -100vmax);
}

.legal-page .legal-content section {
  border-color: #b9bdc0;
  background: #d7d9da;
  color: #111111;
}

.legal-page .legal-content p,
.legal-page .legal-update {
  color: #3f4447;
}

.legal-page .legal-content h2 {
  color: #111111;
}

.legal-content section {
  display: grid;
  gap: 10px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.legal-content h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
}

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-update {
  padding: 0 4px;
  font-size: 0.84rem;
}

.offer-sidebar {
  display: grid;
  gap: 64px;
  min-width: 0;
}

.offer-services {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
}

.offer-services .service-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 18px;
  align-items: center;
  min-height: 0;
  padding: 18px 20px;
}

.offer-services .service-icon {
  grid-row: 1 / 3;
  margin-bottom: 0;
}

.offer-services .service-card p {
  margin-top: 6px;
}

.service-card {
  padding: 20px;
  min-height: 214px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-top: 3px solid var(--accent);
}

.service-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  padding: 4px;
  color: #111111;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.service-card p {
  margin-top: 10px;
}

.split-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.text-block {
  display: grid;
  gap: 12px;
}

.info-list {
  display: grid;
  gap: 12px;
}

.info-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 3px solid var(--line);
}

.info-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.info-item strong {
  min-width: 28px;
  color: var(--accent);
}

.info-intro,
.certificates-intro {
  color: #000000;
  font-weight: 600;
}

.certificates-list .info-item strong {
  font-size: 2rem;
  line-height: 0.7;
}

.certificate-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.certificate-item {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-alt);
}

.certificate-item:last-child {
  padding-bottom: 10px;
}

.certificate-item a {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
}

.certificate-item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.certificate-item a:hover img,
.certificate-item a:focus-visible img {
  filter: brightness(0.9);
  transform: scale(1.02);
}

.certificate-item strong {
  font-size: 0.9rem;
  line-height: 1.3;
}

.process-section .info-list {
  width: 100%;
}

.offer-sidebar .contact-section {
  grid-template-columns: minmax(0, 1fr);
}

.offer-sidebar .map-canvas,
.offer-sidebar .map-fallback {
  min-height: 360px;
}

.gallery-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-card {
  margin: 0;
  overflow: hidden;
}

.gallery-card img,
.gallery-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #5b5b5b;
}

.gallery-placeholder {
  position: relative;
}

.gallery-placeholder::before {
  content: "Dodaj zdjęcie";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.gallery-card figcaption {
  display: grid;
  gap: 6px;
  padding: 16px 16px 18px;
}

.gallery-header {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) auto;
  grid-template-areas: "logo copy actions";
  align-items: center;
  gap: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.gallery-brand {
  position: static;
  grid-area: logo;
  justify-self: start;
  width: 190px;
}

.gallery-header-copy {
  grid-area: copy;
}

.gallery-header .button {
  grid-area: actions;
  justify-self: end;
  align-self: center;
  width: fit-content;
  white-space: nowrap;
}

.gallery-header .eyebrow {
  margin-bottom: 8px;
}

.gallery-header .lead {
  margin-top: 8px;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.gallery-filter {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #5b5b5b;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.gallery-filter:hover,
.gallery-filter.is-active {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #ffffff;
}

.work-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.work-photo {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.work-photo[hidden] {
  display: none;
}

.work-photo img,
.work-photo-placeholder {
  display: grid;
  width: 100%;
  aspect-ratio: 4 / 3;
  place-items: center;
  object-fit: cover;
  background: #5b5b5b;
}

.work-photo img {
  cursor: zoom-in;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.work-photo img:hover,
.work-photo img:focus-visible {
  filter: brightness(0.88);
  transform: scale(1.02);
}

.work-photo-placeholder {
  color: var(--muted);
  font-weight: 700;
}

.work-photo-copy {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.work-photo-copy h2 {
  font-size: 1.35rem;
}

.work-category {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.76rem;
  font-weight: 800;
}

.gallery-empty-message {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  text-align: center;
  box-shadow: var(--shadow);
}

.lightbox-open {
  overflow: hidden;
}

.gallery-lightbox {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 72px 84px;
  background: rgba(0, 0, 0, 0.92);
}

.gallery-lightbox[hidden] {
  display: none;
}

.lightbox-stage {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  overflow: auto;
}

.lightbox-image {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transform-origin: center;
  transition: transform 0.18s ease;
  user-select: none;
}

.lightbox-control {
  display: inline-grid;
  min-width: 48px;
  min-height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.78);
  color: #ffffff;
  font: inherit;
  font-size: 1.5rem;
  cursor: pointer;
}

.lightbox-control:hover,
.lightbox-control:focus-visible {
  border-color: var(--accent);
  background: var(--accent);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next,
.lightbox-zoom-controls {
  position: fixed;
  z-index: 1001;
}

.lightbox-close {
  top: 18px;
  right: 18px;
  font-size: 2rem;
}

.lightbox-prev {
  top: 50%;
  left: 18px;
  transform: translateY(-50%);
}

.lightbox-next {
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
}

.lightbox-zoom-controls {
  bottom: 18px;
  left: 50%;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.lightbox-zoom-value {
  min-width: 76px;
  font-size: 0.95rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  html {
    scroll-padding-top: 110px;
  }

  .gallery-header {
    grid-template-columns: 160px minmax(0, 1fr);
    grid-template-areas:
      "logo copy"
      "actions actions";
  }

  .gallery-header .button {
    justify-self: end;
  }

  .gallery-brand {
    width: 160px;
  }

  .work-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero,
  .contact-section,
  .split-section,
  .offer-layout {
    grid-template-columns: 1fr;
  }

  .map-canvas {
    height: 360px;
    min-height: 360px;
  }

  .map-fallback {
    min-height: 360px;
  }
}

@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .offer-services {
    grid-template-columns: 1fr;
  }

  .home-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-content {
    grid-template-columns: 1fr;
  }

  .services-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 700px) {
  :root {
    --layout-edge: 16px;
  }

  html {
    scroll-padding-top: 150px;
  }

  .page-shell {
    padding: 0 12px 36px;
  }

  .site-header {
    position: sticky;
    display: flex;
    width: calc(100% + 24px);
    margin-inline: -12px;
    min-height: 78px;
    gap: 10px;
    padding: 8px var(--layout-edge);
    flex-wrap: wrap;
  }

  .main-navigation {
    flex: 1 1 auto;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 5px;
    min-width: 0;
  }

  .main-navigation a {
    min-height: 40px;
    padding: 0 9px;
    font-size: 0.8rem;
  }

  .header-phone {
    flex-basis: 100%;
    min-height: 38px;
    margin-left: 0;
    padding-inline: 16px;
    font-size: 0.82rem;
  }

  .gallery-header {
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "copy"
      "actions";
    justify-items: start;
  }

  .gallery-header .button {
    justify-self: start;
  }

  .gallery-brand {
    width: 150px;
  }

  .brand {
    width: 92px;
    margin-bottom: 0;
  }

  .brand-logo {
    width: 100%;
  }

  .hero-intro {
    min-height: 390px;
    padding-block: 64px;
  }

  .home-hero {
    width: calc(100% + 24px);
    margin-inline: -12px;
  }

  .services-browser > h1,
  .certificates-hero,
  .contact-body .hero-intro,
  .legal-hero {
    width: calc(100% + 24px);
    margin-inline: -12px;
    padding-inline: var(--layout-edge);
  }

  .home-hero h1 {
    font-size: clamp(1.35rem, 6.5vw, 2.3rem);
    white-space: normal;
    text-wrap: balance;
  }

  .home-hero p {
    max-width: 42ch;
    font-size: clamp(0.9rem, 3.4vw, 1.05rem);
  }

  .about-section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 72px;
  }

  .contact-page-info {
    width: calc(100% + 24px);
    margin-inline: -12px;
    padding-inline: 24px;
  }

  .contact-details-plain {
    grid-template-columns: 1fr;
  }

  .home-services-grid {
    grid-template-columns: 1fr;
  }

  .services-tabs {
    display: grid;
    overflow: visible;
    padding-bottom: 0;
  }

  .services-content {
    grid-template-columns: clamp(112px, 32vw, 190px) minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    width: calc(100% + 24px);
    max-width: none;
    margin-inline: -12px;
    padding: 48px 16px 72px;
    box-shadow: none;
    clip-path: none;
  }

  .services-panels,
  .service-detail {
    width: 100%;
    min-width: 0;
    overflow: visible;
  }

  .services-tabs button {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 10px 8px;
    font-size: 0.76rem;
    overflow-wrap: anywhere;
  }

  .service-detail img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 340px;
    object-fit: contain;
    visibility: visible;
    opacity: 1;
  }

  .certificate-entry {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 18px;
  }

  .certificate-entry-tall {
    grid-row: auto;
  }

  .certificates-page {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-inline: 4px;
  }

  .partners-strip {
    width: calc(100% + 24px);
    margin-inline: -12px;
  }

  .partners-strip > h2 {
    width: calc(100% - 24px);
  }

  .main-footer {
    width: calc(100% + 24px);
    margin: 0 -12px -36px;
  }

  .service-grid,
  .gallery-grid,
  .work-gallery {
    grid-template-columns: 1fr;
  }

  .certificate-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-lightbox {
    padding: 72px 14px 82px;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }

  .hero-copy,
  .hero-note,
  .section-heading,
  .service-card,
  .gallery-card,
  .contact-section,
  .text-block,
  .info-list,
  .map-card {
    border-radius: 18px;
  }

  .map-card-head {
    flex-direction: column;
  }

  .map-link {
    width: 100%;
    min-height: 44px;
    justify-content: center;
    text-align: center;
  }

  .map-canvas {
    height: 320px;
    min-height: 320px;
  }

  .map-fallback {
    min-height: 320px;
  }

  h1 {
    max-width: 100%;
  }
}

@media (max-width: 420px) {
  .site-header {
    gap: 6px;
    padding-inline: 6px;
  }

  .brand {
    width: 72px;
  }

  .main-navigation a {
    padding-inline: 4px;
    font-size: 0.7rem;
  }

  .site-header {
    min-height: 0;
  }

  .header-phone {
    min-height: 42px;
  }

  .services-browser > h1,
  .certificates-hero,
  .contact-body .hero-intro,
  .legal-hero {
    padding-block: 54px;
  }

  .service-detail h2 {
    font-size: 1.3rem;
  }

  .services-tabs button {
    min-width: 0;
    font-size: 0.7rem;
  }

  .certificate-entry h2 {
    font-size: 1.1rem;
  }

  .main-footer {
    padding-inline: 18px;
  }
}

@media (max-width: 360px) {
  .brand {
    width: 58px;
  }

  .main-navigation {
    gap: 3px;
  }

  .main-navigation a {
    padding-inline: 2px;
    font-size: 0.62rem;
  }
}
