:root {
  --ink: #17212b;
  --muted: #5e6a76;
  --navy: #172f46;
  --navy-deep: #0e1d2b;
  --steel: #465c6d;
  --blue: #176ca1;
  --blue-dark: #0f537f;
  --line: #d8dfe4;
  --surface: #f3f5f6;
  --white: #fff;
  --shadow: 0 16px 40px rgba(22, 34, 45, .1);
  --radius: 4px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.65; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, summary { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 9999; left: 16px; top: -70px; padding: 12px 18px; color: #fff; background: var(--blue); text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 16px; }

.topbar { position: relative; z-index: 80; color: #e7edf2; background: var(--navy-deep); font-size: .82rem; letter-spacing: .02em; }
.topbar__inner { min-height: 40px; display: flex; align-items: center; gap: 30px; }
.topbar p { margin: 0; text-transform: uppercase; letter-spacing: .1em; }
.topbar__contact { display: flex; gap: 22px; margin-left: auto; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.languages { position: relative; }
.languages summary { min-width: 60px; padding: 9px 12px; cursor: pointer; list-style: none; text-align: center; border-inline: 1px solid rgba(255,255,255,.14); }
.languages summary::marker { content: ""; }
.languages__panel { position: absolute; right: 0; top: calc(100% + 1px); width: 260px; display: grid; grid-template-columns: repeat(5, 1fr); padding: 12px; background: var(--navy-deep); box-shadow: var(--shadow); }
.languages__panel a { display: flex; align-items: center; justify-content: center; gap: 5px; padding: 8px 5px; border-radius: 2px; }
.languages__panel a:hover, .languages__panel .is-current { background: rgba(255,255,255,.1); text-decoration: none; }

.site-header { position: sticky; z-index: 70; top: 0; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(23,47,70,.12); backdrop-filter: blur(10px); }
.nav-wrap { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand img { width: 210px; height: auto; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.main-nav a { position: relative; color: #283744; font-size: .91rem; font-weight: 700; text-decoration: none; }
.main-nav a::after { content: ""; position: absolute; right: 0; bottom: -10px; left: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); }
.menu-toggle { display: none; width: 44px; height: 42px; padding: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--navy); }

.hero { position: relative; min-height: clamp(560px, 72vh, 760px); display: grid; align-items: center; color: #fff; isolation: isolate; overflow: hidden; background: var(--navy-deep); }
.hero__slides, .hero__slide, .hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__slides { z-index: -3; }
.hero__slide { object-fit: cover; object-position: center; opacity: 0; transform: scale(1.035); transition: opacity 1s ease, transform 7s ease; }
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__shade { z-index: -2; background: linear-gradient(90deg, rgba(9,19,29,.88) 0%, rgba(15,36,54,.78) 45%, rgba(12,25,38,.2) 85%); }
.hero__content { padding-block: 80px 120px; }
.eyebrow, .section-kicker, .tag { margin: 0 0 14px; color: #72b9e4; font-size: .78rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.hero h1 { max-width: 830px; margin: 0; font-size: clamp(2.3rem, 5.2vw, 5rem); font-weight: 760; line-height: 1.02; letter-spacing: -.045em; text-wrap: balance; }
.hero h1 span { display: block; margin-bottom: 16px; color: #79bfe9; font-size: clamp(1rem, 1.6vw, 1.35rem); letter-spacing: .18em; text-transform: uppercase; }
.hero__lead { max-width: 720px; margin: 28px 0 0; color: #e1e8ee; font-size: clamp(1.05rem, 1.8vw, 1.3rem); line-height: 1.55; }
.hero__actions, .contact-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 12px 24px; color: #fff; background: var(--blue); border: 1px solid var(--blue); border-radius: 2px; font-size: .9rem; font-weight: 800; letter-spacing: .04em; text-decoration: none; transition: background .2s, border-color .2s, transform .2s; }
.button:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-2px); }
.button--outline { color: #fff; background: transparent; border-color: rgba(255,255,255,.65); }
.button--outline:hover { background: #fff; border-color: #fff; color: var(--navy); }
.hero__controls { position: absolute; z-index: 3; left: 50%; bottom: 28px; display: flex; align-items: center; gap: 16px; transform: translateX(-50%); }
.hero__dots { display: flex; gap: 8px; }
.hero__dot { width: 9px; height: 9px; padding: 0; border: 1px solid #fff; border-radius: 50%; background: transparent; cursor: pointer; transition: width .2s, border-radius .2s, background .2s; }
.hero__dot.is-active { width: 28px; border-radius: 10px; background: #fff; }
.hero__arrow { width: 38px; height: 38px; padding: 0 0 3px; color: #fff; background: rgba(5,18,28,.45); border: 1px solid rgba(255,255,255,.6); border-radius: 50%; font-size: 1.8rem; line-height: 1; cursor: pointer; }

.section { padding-block: clamp(70px, 8vw, 112px); }
.section--muted { background: var(--surface); }
.section--steel { color: #fff; background: var(--navy); }
.section--dark { color: #fff; background: var(--navy-deep); }
.intro-grid { display: grid; grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr); gap: clamp(45px, 8vw, 110px); }
.section h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.section h3 { margin: 0; font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.2; }
.section-kicker { color: var(--blue); }
.section-heading { max-width: 760px; margin-bottom: 50px; }
.section-heading > p:last-child { margin: 20px 0 0; color: var(--muted); font-size: 1.08rem; }
.section-heading--light > p:last-child { color: #c7d2dc; }
.section-heading--light .section-kicker, .section--dark .section-kicker, .section--steel .section-kicker { color: #78bce4; }
.prose p { margin: 0 0 19px; color: #394957; }
.prose p:last-child { margin-bottom: 0; }

.product-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 48px; background: #42566a; border: 1px solid #607588; }
.product-nav a { position: relative; min-height: 320px; display: block; overflow: hidden; padding: 0 26px 26px; background: #172f46; text-decoration: none; transition: background .2s, transform .2s; }
.product-nav a:hover { background: #203e58; transform: translateY(-3px); }
.product-nav img { width: calc(100% + 52px); height: 190px; margin: 0 -26px 24px; object-fit: cover; transition: transform .35s; }
.product-nav a:hover img { transform: scale(1.035); }
.product-nav span { position: absolute; z-index: 1; top: 14px; left: 14px; min-width: 38px; padding: 7px 9px; color: #9bd1ef; background: rgba(14,29,43,.9); border: 1px solid rgba(155,209,239,.35); font-family: Consolas, monospace; text-align: center; }
.product-nav strong { display: block; font-size: 1.18rem; }
.product-nav small { display: block; margin-top: 6px; color: #e5edf4; }
.product-header { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 8vw, 110px); align-items: end; margin-bottom: 45px; }
.product-header > p { margin: 0; color: var(--muted); font-size: 1.05rem; }

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-bottom: 64px; background: var(--line); border: 1px solid var(--line); }
.benefits div { min-height: 170px; display: flex; flex-direction: column; padding: 26px; background: #fff; }
.benefits strong { margin-bottom: 10px; color: var(--navy); font-size: 1.08rem; }
.benefits span { color: var(--muted); font-size: .93rem; }
.material-card { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr); gap: 38px; margin-top: 34px; padding: clamp(26px, 4vw, 46px); background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 25px rgba(22,34,45,.04); }
.section--muted .material-card { border-color: transparent; }
.material-card--reverse .material-card__copy { order: 2; }
.material-card--reverse .gallery { order: 1; }
.material-card__copy > p:not(.tag) { color: var(--muted); }
.tag { display: inline-block; margin-bottom: 10px; color: var(--blue); }
.specs { margin: 24px 0 0; }
.specs div { padding: 14px 0; border-top: 1px solid var(--line); }
.specs dt { color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.specs dd { margin: 3px 0 0; color: var(--ink); font-weight: 650; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; align-content: start; }
.gallery a { position: relative; overflow: hidden; background: #dfe4e7; }
.gallery a::after { content: "+"; position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; display: grid; place-items: center; color: #fff; background: rgba(14,29,43,.8); border-radius: 50%; font-size: 1.25rem; opacity: 0; transform: translateY(7px); transition: opacity .2s, transform .2s; }
.gallery a:hover::after { opacity: 1; transform: none; }
.gallery img { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; transition: transform .35s; }
.gallery a:hover img { transform: scale(1.035); }

.applications { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.applications div { min-height: 86px; display: flex; align-items: center; gap: 14px; padding: 15px 17px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.12); }

.applications span {
  display: none;
}

.applications strong { font-size: .92rem; line-height: 1.3; }
.comparison { display: grid; grid-template-columns: .72fr 1.28fr; align-items: stretch; max-width: 1020px; margin: 30px auto; background: var(--surface); border: 1px solid var(--line); }
.comparison > img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.comparison > div { padding: clamp(30px, 5vw, 58px); }
.comparison > div > span { display: block; margin-bottom: 30px; color: var(--blue); font-family: Consolas, monospace; }
.comparison p { margin-bottom: 0; color: var(--muted); }
.comparison--reverse { grid-template-columns: 1.28fr .72fr; }
.comparison--reverse img { order: 2; }
.comparison--reverse div { order: 1; }

.scope-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.scope-grid article { min-height: 260px; padding: 28px; background: #fff; border: 1px solid #e1e5e8; }
.scope-grid article > span { display: block; margin-bottom: 38px; color: var(--blue); font-family: Consolas, monospace; }
.scope-grid p { color: var(--muted); font-size: .94rem; }
.scope-grid .scope-offer { margin-bottom: 4px; }
.scope-grid ul { margin: 0; padding-left: 20px; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.brushes { display: grid; grid-template-columns: .75fr 1.25fr; gap: 60px; margin-top: 30px; padding: clamp(30px, 5vw, 58px); color: #fff; background: var(--navy); }
.brushes > div { align-self: center; }
.brushes h3 { max-width: 430px; margin-bottom: 0; }
.brushes figure { margin: 0; overflow: hidden; }
.brushes img { width: 100%; height: clamp(260px, 34vw, 410px); object-fit: cover; }

.contact { background: #fff; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 90px); align-items: stretch; }
.contact address { margin: 28px 0; font-style: normal; color: var(--muted); }
.contact address strong { color: var(--ink); font-size: 1.08rem; }
.contact-list { display: grid; gap: 16px; }
.contact-list div { display: flex; flex-direction: column; padding-top: 14px; border-top: 1px solid var(--line); }
.contact-list small { color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.contact-list a { width: fit-content; color: var(--navy); font-weight: 700; text-decoration: none; }
.contact-list a:hover { color: var(--blue); }
.contact-list span { color: var(--muted); }
.text-link { color: var(--blue); font-weight: 750; text-decoration: none; }
.map { min-height: 580px; background: var(--surface); }
.map iframe { width: 100%; height: 100%; min-height: 580px; border: 0; }

.site-footer { padding: 62px 0 24px; color: #c7d2dc; background: var(--navy-deep); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 50px; }
.footer-grid img { width: 190px; height: auto; filter: grayscale(1) brightness(2.5); }
.footer-grid p { max-width: 360px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-grid strong { margin-bottom: 10px; color: #fff; }
.footer-grid a { color: #c7d2dc; text-decoration: none; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 45px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .84rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #fff; text-decoration: none; }

.lightbox { width: min(1100px, calc(100% - 30px)); max-width: none; height: min(850px, calc(100% - 30px)); max-height: none; padding: 0; color: #fff; background: rgba(8,16,24,.97); border: 0; overflow: hidden; }
.lightbox::backdrop { background: rgba(6,12,18,.83); backdrop-filter: blur(5px); }
.lightbox[open] { display: grid; grid-template-columns: 54px 1fr 54px; align-items: center; }
.lightbox figure { min-width: 0; margin: 20px; text-align: center; }
.lightbox figure img { max-width: 100%; max-height: calc(100vh - 150px); margin: auto; object-fit: contain; }
.lightbox figcaption { margin-top: 12px; color: #dbe4ea; }
.lightbox button { color: #fff; background: transparent; border: 0; cursor: pointer; }
.lightbox__close { position: absolute; z-index: 2; top: 12px; right: 16px; font-size: 2rem; }
.lightbox__nav { height: 100%; font-size: 2.5rem; }
.cookie-banner { position: fixed; z-index: 100; right: 18px; bottom: 18px; left: 18px; max-width: 680px; margin-left: auto; padding: 18px 20px; align-items: center; gap: 20px; color: #fff; background: var(--navy-deep); box-shadow: var(--shadow); }
.cookie-banner:not([hidden]) { display: flex; }
.cookie-banner p { margin: 0; font-size: .87rem; }
.cookie-banner a { color: #8fd0f5; }
.cookie-banner button { flex: 0 0 auto; padding: 9px 15px; color: #fff; background: var(--blue); border: 0; cursor: pointer; }

:focus-visible { outline: 3px solid #56b4e9; outline-offset: 3px; }

@media (max-width: 992px) {
  .main-nav { position: fixed; inset: 124px 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 15px 20px 28px; background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .menu-toggle { display: block; }
  .product-header, .intro-grid { grid-template-columns: 1fr; gap: 30px; }
  .product-nav { grid-template-columns: 1fr; }
  .product-nav a { min-height: 290px; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .material-card { grid-template-columns: 1fr; }
  .material-card--reverse .material-card__copy, .material-card--reverse .gallery { order: initial; }
  .applications { grid-template-columns: repeat(3, 1fr); }
  .scope-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .map, .map iframe { min-height: 430px; }
}

@media (max-width: 768px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .topbar__inner { min-height: 44px; }
  .topbar p { display: none; }
  .topbar__contact a:last-child { display: none; }
  .topbar__contact { margin-left: 0; margin-right: auto; }
  .nav-wrap { min-height: 72px; }
  .brand img { width: 170px; }
  .main-nav { inset: 116px 0 auto; }
  .hero { min-height: 590px; }
  .hero__content { padding-block: 70px 125px; }
  .hero__shade { background: linear-gradient(90deg, rgba(9,19,29,.9), rgba(12,29,43,.7)); }
  .benefits, .applications { grid-template-columns: repeat(2, 1fr); }
  .comparison, .comparison--reverse { grid-template-columns: 1fr; }
  .comparison > img, .comparison--reverse img { order: 1; max-height: 360px; }
  .comparison > div, .comparison--reverse div { order: 2; }
  .brushes { grid-template-columns: 1fr; gap: 25px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1/-1; }
}



/* Panel wyboru języków */
.languages__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 1px);
  width: 330px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  padding: 12px;
  background: var(--navy-deep);
  box-shadow: var(--shadow);
}

/* Flaga i kod języka */
.languages__panel a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 9px 3px;
  border-radius: 3px;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
}

/* Prostokątne flagi SVG */
.languages__panel img {
  display: block;
  width: 24px;
  height: 16px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 1px;
}

/* Aktywny język i najechanie */
.languages__panel a:hover,
.languages__panel .is-current {
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

/* Wersja mobilna */
@media (max-width: 560px) {
  .languages__panel {
    position: fixed;
    top: 44px;
    right: 0;
    left: 0;
    width: 100%;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    padding: 12px;
  }
}



@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; }
}

.hero__pause { min-height: 44px; padding: 7px 12px; color: #fff; background: #0e1d2b; border: 1px solid #fff; cursor: pointer; }
.hero__dot { width: 24px; height: 24px; }
.hero__dot.is-active { width: 32px; }
