:root {
  --ink: #111820;
  --ink-soft: #2a333d;
  --muted: #66717d;
  --line: #d9dee3;
  --surface: #ffffff;
  --surface-soft: #f4f6f7;
  --accent: #1597c2;
  --accent-deep: #08789f;
  --accent-pale: #dff3f9;
  --max: 1240px;
  --header-height: 82px;
  --radius: 3px;
  --shadow: 0 18px 50px rgba(17, 24, 32, .1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: Inter, "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Arial Narrow", "Roboto Condensed", "Segoe UI", Arial, sans-serif; letter-spacing: -.025em; line-height: 1.08; }
h1 { max-width: 760px; margin-bottom: 28px; font-size: clamp(2.7rem, 5.3vw, 5.8rem); font-weight: 760; }
h2 { margin-bottom: 0; font-size: clamp(2.25rem, 4vw, 4.25rem); font-weight: 730; }
h3 { font-size: 1.55rem; }

.shell { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.section { padding: clamp(80px, 9vw, 136px) 0; }
.section-muted { background: var(--surface-soft); }
.section-heading { max-width: 780px; margin-bottom: 58px; }
.heading-row { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); align-items: end; gap: 60px; max-width: none; }
.heading-row > p { max-width: 490px; margin: 0 0 7px; color: var(--muted); }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; color: var(--accent-deep); font-size: .76rem; font-weight: 800; letter-spacing: .17em; line-height: 1.2; text-transform: uppercase; }
.eyebrow::before { width: 34px; height: 2px; background: currentColor; content: ""; }
.eyebrow-light { color: #8ed5eb; }
.lead { color: var(--ink-soft); font-size: clamp(1.15rem, 1.8vw, 1.42rem); line-height: 1.55; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 1000; padding: 10px 16px; background: var(--ink); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-height); border-bottom: 1px solid rgba(217, 222, 227, .82); background: rgba(255, 255, 255, .95); backdrop-filter: blur(16px); }
.header-inner { display: flex; height: 100%; align-items: center; gap: 28px; }
.brand { display: flex; width: 138px; height: 64px; align-items: center; margin-right: auto; overflow: hidden; }
.brand img { width: auto; height: 58px; object-fit: contain; }
.primary-nav { display: flex; align-items: center; gap: 30px; }
.primary-nav a { position: relative; padding: 30px 0 27px; color: var(--ink-soft); font-size: .86rem; font-weight: 720; text-decoration: none; }
.primary-nav a::after { position: absolute; right: 0; bottom: 20px; left: 0; height: 2px; background: var(--accent); content: ""; transform: scaleX(0); transition: transform .2s ease; }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after { transform: scaleX(1); }
.menu-toggle { display: none; border: 0; background: none; }
.language-switcher { position: relative; }
.language-button { display: inline-flex; min-height: 44px; align-items: center; gap: 9px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); font-size: .78rem; font-weight: 800; cursor: pointer; }
.language-button img, .language-grid img { object-fit: cover; box-shadow: 0 0 0 1px rgba(17, 24, 32, .12); }
.chevron { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s ease; }
.language-button[aria-expanded="true"] .chevron { transform: translateY(2px) rotate(225deg); }
.language-menu { position: absolute; top: calc(100% + 12px); right: 0; width: min(620px, calc(100vw - 32px)); padding: 22px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease; }
.language-menu.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.language-title { margin-bottom: 14px; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.language-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.language-grid a, .language-grid span { display: flex; min-height: 40px; align-items: center; gap: 9px; padding: 7px 9px; color: var(--ink-soft); font-size: .82rem; text-decoration: none; }
.language-grid a:hover, .language-grid a:focus-visible { background: var(--surface-soft); color: var(--accent-deep); }
.language-grid .is-current { background: var(--accent-pale); }
.language-grid .is-pending { color: #858e97; cursor: not-allowed; }
.language-grid small { margin-left: auto; font-size: .66rem; }

.hero { display: grid; min-height: calc(100vh - var(--header-height)); grid-template-columns: minmax(430px, .92fr) minmax(520px, 1.08fr); background: var(--ink); color: white; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(72px, 8vw, 130px) clamp(36px, 6vw, 108px); }
.hero-copy .eyebrow { color: #8ed5eb; }
.hero-lead { max-width: 650px; margin-bottom: 38px; color: #cad1d7; font-size: clamp(1.08rem, 1.5vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 12px 22px; border: 1px solid transparent; border-radius: var(--radius); font-size: .84rem; font-weight: 800; letter-spacing: .035em; text-decoration: none; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: white; }
.button-primary:hover { background: var(--accent-deep); }
.button-secondary { border-color: #66717d; color: white; }
.button-secondary:hover { border-color: white; background: white; color: var(--ink); }
.hero-note { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 72px; color: #9ca6af; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hero-media { position: relative; min-height: 560px; overflow: hidden; }
.hero-media::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,24,32,.35), transparent 26%), linear-gradient(0deg, rgba(17,24,32,.38), transparent 35%); content: ""; pointer-events: none; }
.hero-media picture, .hero-media img { width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: center; }
.hero-caption { position: absolute; right: 30px; bottom: 26px; z-index: 1; padding: 9px 12px; border-left: 2px solid var(--accent); background: rgba(17, 24, 32, .82); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.service-strip { border-bottom: 1px solid var(--line); background: var(--surface); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.service-grid > div { display: grid; min-height: 150px; grid-template-columns: 42px 1fr; align-content: center; padding: 28px 28px 28px 0; border-right: 1px solid var(--line); }
.service-grid > div + div { padding-left: 28px; }
.service-grid > div:last-child { border-right: 0; }

.service-grid span {
  grid-row: 1 / 3;
  color: #0C526A;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: .76rem;
  font-weight: 800;
}

.service-grid strong { font-family: "Arial Narrow", Arial, sans-serif; font-size: 1.12rem; }
.service-grid small { color: var(--muted); font-size: .78rem; }

.about { overflow: hidden; }
.about-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 100px; }
.about-copy { max-width: 720px; }
.about-copy p:last-child { margin-bottom: 0; color: var(--muted); }
.process { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 74px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process div { position: relative; display: flex; min-height: 126px; flex-direction: column; justify-content: center; padding: 25px 22px; border-right: 1px solid var(--line); }
.process div:last-child { border-right: 0; }
.process span { margin-bottom: 9px; color: var(--accent); font-size: .72rem; font-weight: 800; }
.process strong { font-family: "Arial Narrow", Arial, sans-serif; font-size: 1rem; }

.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.offer-card { display: flex; min-width: 0; flex-direction: column; border: 1px solid var(--line); background: var(--surface); transition: transform .25s ease, box-shadow .25s ease; }
.offer-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.offer-card > img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.offer-card-body { display: flex; flex: 1; flex-direction: column; padding: 28px; }
.offer-card h3 { min-height: 54px; margin-bottom: 13px; }
.offer-card p:not(.card-index) { color: var(--muted); }
.card-index { margin-bottom: 16px; color: var(--accent-deep); font-size: .72rem; font-weight: 800; letter-spacing: .14em; }
.offer-card a, .text-link { margin-top: auto; color: var(--ink); font-size: .84rem; font-weight: 800; text-underline-offset: 5px; }
.offer-card a:hover, .text-link:hover { color: var(--accent-deep); }
.plug-move { display: grid; grid-template-columns: 1.1fr .9fr; margin-top: 24px; background: var(--ink); color: white; }
.plug-media img { width: 100%; height: 100%; min-height: 430px; object-fit: cover; }
.plug-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(42px, 6vw, 80px); }
.plug-copy .eyebrow { color: #8ed5eb; }
.plug-copy h3 { margin-bottom: 24px; font-size: clamp(2rem, 3.1vw, 3.35rem); }
.plug-copy p:not(.eyebrow) { color: #c3cbd2; }
.plug-copy .text-link { margin-top: 20px; color: white; }

.gallery-section { background: var(--surface); }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.gallery-item { position: relative; min-width: 0; aspect-ratio: 4 / 3; overflow: hidden; padding: 0; border: 0; background: #dfe4e7; cursor: zoom-in; }
.gallery-item-wide, .gallery-item-tall { grid-column: auto; grid-row: auto; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease, filter .35s ease; }
.gallery-item::after { position: absolute; right: 14px; bottom: 14px; display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(255,255,255,.7); background: rgba(17,24,32,.75); color: white; content: "+"; font-size: 1.25rem; opacity: 0; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease; }
.gallery-item:hover img, .gallery-item:focus-visible img { filter: brightness(.78); transform: scale(1.025); }
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; transform: translateY(0); }

.why { background: var(--ink); color: white; }
.why-grid { display: grid; grid-template-columns: minmax(300px, .86fr) minmax(0, 1.14fr); gap: clamp(60px, 9vw, 130px); }
.why-intro { position: sticky; top: calc(var(--header-height) + 50px); align-self: start; }
.why-intro p:last-child { max-width: 520px; margin-top: 30px; color: #aeb7bf; }
.benefits { border-top: 1px solid #35404a; }
.benefit { display: grid; grid-template-columns: 60px 1fr; gap: 20px; padding: 34px 0; border-bottom: 1px solid #35404a; }
.benefit > span { color: #71c6e0; font-size: .76rem; font-weight: 800; }
.benefit h3 { margin-bottom: 8px; font-size: 1.45rem; }
.benefit p { max-width: 580px; margin-bottom: 0; color: #aeb7bf; }

.contact { background: var(--accent-pale); }
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: start; gap: clamp(50px, 10vw, 150px); }
.contact-heading h2 { max-width: 760px; }
.contact-heading > p:not(.eyebrow) { max-width: 650px; margin: 30px 0; color: var(--ink-soft); font-size: 1.08rem; }
.contact-card { padding: 38px; border-top: 4px solid var(--accent); background: var(--surface); box-shadow: var(--shadow); font-style: normal; }
.contact-company { margin-bottom: 28px; font-family: "Arial Narrow", Arial, sans-serif; font-size: 1.2rem; font-weight: 800; }
.contact-row { display: grid; grid-template-columns: 90px 1fr; gap: 15px; padding: 18px 0; border-top: 1px solid var(--line); }
.contact-row > span { color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.contact-row p { margin: 0; }
.contact-row a { font-weight: 700; text-underline-offset: 4px; }

.site-footer { padding: 70px 0 24px; background: #0b1117; color: white; }
.footer-top { display: grid; grid-template-columns: 1fr .75fr 1fr; gap: 70px; padding-bottom: 54px; }
.footer-brand { display: grid; width: 155px; min-height: 150px; place-items: center; padding: 12px; background: white; }
.footer-brand img { width: auto; height: 122px; object-fit: contain; }
.footer-label { margin-bottom: 18px; color: #83909b; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.footer-nav { display: grid; gap: 8px; }
.footer-nav a, .footer-link { color: white; font-size: .88rem; font-weight: 700; text-underline-offset: 4px; }
.footer-copy { max-width: 360px; color: #8e99a3; font-size: .88rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid #29323a; color: #7f8a94; font-size: .74rem; }
.footer-bottom p { margin: 0; }

.lightbox { width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 12, 16, .98); color: white; }
.lightbox::backdrop { background: rgba(8, 12, 16, .98); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr; }
.lightbox-toolbar { display: flex; min-height: 68px; align-items: center; justify-content: space-between; padding: 12px 24px; border-bottom: 1px solid #303941; }
.lightbox-toolbar p { margin: 0; color: #9ca8b2; font-size: .78rem; }
.lightbox-close { min-height: 42px; padding: 8px 14px; border: 1px solid #52606b; background: transparent; color: white; cursor: pointer; }
.lightbox-stage { display: grid; min-height: 0; grid-template-columns: 64px 1fr 64px; align-items: center; }
.lightbox figure { display: grid; min-height: 0; height: calc(100vh - 68px); place-items: center; margin: 0; padding: 28px; }
.lightbox figure img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; }
.lightbox figcaption { margin-top: 12px; color: #aeb7bf; font-size: .82rem; }
.lightbox-nav { width: 50px; height: 70px; border: 1px solid #39444d; background: rgba(17,24,32,.7); color: white; cursor: pointer; }
.lightbox-nav span { font-size: 2rem; }

:focus-visible { outline: 3px solid #ffbf47; outline-offset: 3px; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .primary-nav { gap: 18px; }
  .primary-nav a { font-size: .79rem; }
  .hero { grid-template-columns: .9fr 1.1fr; }
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --header-height: 72px; }
  .shell { width: min(calc(100% - 32px), var(--max)); }
  .menu-toggle { display: inline-flex; min-height: 44px; align-items: center; gap: 9px; padding: 6px 4px; cursor: pointer; }
  .menu-toggle-lines, .menu-toggle-lines::before, .menu-toggle-lines::after { display: block; width: 22px; height: 2px; background: var(--ink); content: ""; transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle-lines { position: relative; }
  .menu-toggle-lines::before { position: absolute; top: -7px; }
  .menu-toggle-lines::after { position: absolute; top: 7px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-lines { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-lines::before { top: 0; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-lines::after { top: 0; transform: rotate(-45deg); }
  .menu-toggle-label { font-size: .72rem; font-weight: 800; text-transform: uppercase; }
  .primary-nav { position: fixed; top: var(--header-height); right: 0; left: 0; display: grid; align-content: start; gap: 0; height: calc(100vh - var(--header-height)); padding: 24px; background: var(--surface); opacity: 0; pointer-events: none; transform: translateY(-10px); transition: opacity .2s ease, transform .2s ease; }
  .primary-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .primary-nav a { padding: 19px 6px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .primary-nav a::after { display: none; }
  .language-menu { position: fixed; top: var(--header-height); right: 16px; left: 16px; width: auto; max-height: calc(100vh - var(--header-height) - 16px); overflow-y: auto; }
  .language-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { min-height: 600px; padding: 90px 32px 70px; }
  .hero-media { min-height: 68vw; }
  .hero-media::after { background: linear-gradient(0deg, rgba(17,24,32,.35), transparent 35%); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid > div { border-bottom: 1px solid var(--line); }
  .service-grid > div:nth-child(2) { border-right: 0; }
  .service-grid > div:nth-last-child(-n+2) { border-bottom: 0; }
  .about-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-grid { gap: 10px; }
  .process { grid-template-columns: repeat(5, minmax(145px, 1fr)); overflow-x: auto; }
  .heading-row { grid-template-columns: 1fr; gap: 20px; }
  .plug-move { grid-template-columns: 1fr; }
  .plug-media img { min-height: 0; aspect-ratio: 3 / 2; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .why-intro { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .section { padding: 74px 0; }
  .site-header .brand { width: 104px; }
  .site-header .brand img { width: auto; height: 54px; }
  .header-inner { gap: 13px; }
  .language-button { padding-inline: 9px; }
  .language-grid { grid-template-columns: 1fr; }
  .language-grid a, .language-grid span { min-height: 44px; }
  .hero-copy { min-height: calc(100vh - var(--header-height)); padding: 72px 24px 48px; }
  .hero h1 { font-size: clamp(2.65rem, 13vw, 4.2rem); }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-note { margin-top: 48px; }
  .hero-media { min-height: 84vw; }
  .hero-caption { right: 16px; bottom: 16px; left: 16px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid > div, .service-grid > div + div { min-height: 120px; padding: 22px 4px; border-right: 0; border-bottom: 1px solid var(--line); }
  .service-grid > div:nth-child(2), .service-grid > div:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .service-grid > div:last-child { border-bottom: 0; }
  .offer-grid { grid-template-columns: 1fr; }
  .offer-card h3 { min-height: 0; }
  .gallery { grid-template-columns: 1fr; gap: 10px; }
  .gallery-item-wide, .gallery-item-tall { grid-column: auto; grid-row: auto; }
  .benefit { grid-template-columns: 42px 1fr; }
  .contact-card { padding: 28px 22px; }
  .contact-row { grid-template-columns: 1fr; gap: 4px; }
  .footer-top { grid-template-columns: 1fr; gap: 42px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .lightbox-stage { grid-template-columns: 44px 1fr 44px; }
  .lightbox figure { padding: 14px 4px; }
  .lightbox-nav { width: 38px; }
}

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

.footer-nav a {
  width: fit-content;
  text-decoration: none;
  transition: color .2s ease;
}

.footer-nav a:hover,
.footer-link:hover {
  color: #8ed5eb;
}

.footer-link {
  display: inline-block;
  margin-top: 6px;
  transition: color .2s ease;
}

.footer-copy {
  line-height: 1.7;
}

@media (max-width: 600px) {
  .site-footer {
    padding-top: 50px;
  }

  .footer-top {
    gap: 34px;
    padding-bottom: 38px;
  }

  .footer-bottom {
    gap: 8px;
  }
}

/* Przycisk Poznaj ofertę */
.button-primary {
  background-color: #0B4B60;
  color: #FFFFFF;
}

.button-primary:hover {
  background-color: #083A4B;
}

/* Numery 01–05 w sekcji procesu */
.process span {
  color: #0D5873;
}

/* Poprawa kontrastu napisu Kontakt */
.contact .eyebrow {
  color: #06465B;
}
