
/* =========================================================
   01. RESET WORDPRESS / ELEMENTOR
   ========================================================= */

html,
body {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  background: #20252a !important;
  overflow-x: hidden !important;
}

body.elementor-page,
body.page,
body.page-template,
body.wp-singular {
  margin: 0 !important;
  padding: 0 !important;
  background: #20252a !important;
}

#page,
.site,
.site-content,
#content,
.content-area,
.site-main,
main,
article,
.entry-content,
.page-content,
.elementor,
.elementor-section-wrap,
.elementor-widget-html,
.elementor-widget-container {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.elementor-widget:not(:last-child) {
  margin-bottom: 0 !important;
}

.entry-title,
.page-title,
h1.entry-title,
h1.page-title {
  display: none !important;
}


/* =========================================================
   02. ZMIENNE / PODSTAWY
   ========================================================= */

:root {
  --niro-cyan: #00a6d6;
  --niro-silver: #a5a7aa;
  --niro-silver-light: #e3e5e7;
  --niro-bg: #252a2f;
  --niro-bg-2: #1f2429;
  --niro-line: rgba(227,229,231,.18);
  --niro-text: #ffffff;
  --niro-muted: #c5cbd0;
  --niro-radius: 24px;
  --niro-shadow: 0 24px 70px rgba(0,0,0,.28);
  --niro-header-h: 88px;
  --niro-max: 1480px;
}

html {
  scroll-behavior: smooth;
}

.niro-page,
.niro-page * {
  box-sizing: border-box;
}

.niro-page {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: var(--niro-bg);
  color: var(--niro-text);
  font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.65;
  overflow: hidden;
}

.niro-page a {
  color: inherit;
  text-decoration: none;
}

.niro-page img {
  max-width: 100%;
  display: block;
}

.niro-container {
  width: 100%;
  max-width: var(--niro-max);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 64px);
}

[hidden] {
  display: none !important;
}


/* =========================================================
   03. NAGŁÓWEK / MENU
   ========================================================= */

.niro-header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5000;
  width: 100vw !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  background: rgba(37,42,47,.90) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--niro-line);
  box-shadow: 0 12px 36px rgba(0,0,0,.20);
  overflow: visible !important;
}

.admin-bar .niro-header {
  top: 32px;
}

.niro-header-inner {
  height: var(--niro-header-h);
  display: flex;
  align-items: center;
  gap: 26px;
  position: relative;
}

.niro-brand {
  display: flex;
  align-items: center;
  min-width: min(310px, 44vw);
}

.niro-brand img {
  width: min(285px, 44vw);
  height: auto;
}

.niro-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.niro-nav a {
  position: relative;
  padding: 12px 13px;
  color: var(--niro-silver-light);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  transition: .2s;
}

.niro-nav a:after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 7px;
  height: 2px;
  background: var(--niro-cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: .2s;
}

.niro-nav a:hover,
.niro-nav a.is-active {
  color: #fff;
}

.niro-nav a:hover:after,
.niro-nav a.is-active:after {
  transform: scaleX(1);
}

.niro-nav a.niro-quote-btn {
  margin-left: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--niro-cyan);
  color: #ffffff !important;
  box-shadow: 0 10px 26px rgba(0,166,214,.28);
  letter-spacing: .05em;
}

.niro-nav a.niro-quote-btn:after {
  display: none !important;
}

.niro-nav a.niro-quote-btn:hover {
  background: #0298c4;
  transform: translateY(-1px);
}

.niro-lang-switch {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  padding: 0 0 0 10px;
  border-left: 1px solid var(--niro-line);
}

.niro-lang-switch button {
  appearance: none;
  border: 1px solid rgba(227,229,231,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  color: var(--niro-silver-light);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .06em;
  line-height: 1;
  text-transform: uppercase;
  padding: 10px 11px;
  cursor: pointer;
  transition: .2s;
}

.niro-lang-switch button:hover {
  border-color: rgba(0,166,214,.75);
  color: #fff;
  transform: translateY(-1px);
}

.niro-lang-switch button.is-active {
  background: var(--niro-cyan);
  border-color: var(--niro-cyan);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0,166,214,.24);
}

.niro-menu-toggle {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  border: 1px solid var(--niro-line);
  border-radius: 14px;
  background: rgba(255,255,255,.05);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  position: relative;
  z-index: 7002;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.niro-menu-toggle span {
  width: 22px;
  height: 2px;
  background: #fff;
  display: block;
  border-radius: 10px;
}


/* =========================================================
   04. HERO / TYTUŁ PODSTRONY
   ========================================================= */

.niro-hero {
  position: relative;
  padding: calc(var(--niro-header-h) + clamp(26px,4vw,42px)) 0 clamp(26px,4vw,38px);
  background:
    radial-gradient(circle at 80% 8%, rgba(0,166,214,.18), transparent 34%),
    linear-gradient(135deg, var(--niro-bg), var(--niro-bg-2) 58%, #2b3035);
  border-bottom: 1px solid var(--niro-line);
}

.niro-eyebrow {
  margin: 0 0 14px;
  color: var(--niro-cyan);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .18em;
}

.niro-title {
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 6.2vw, 86px);
  line-height: .94;
  letter-spacing: -.06em;
  text-transform: uppercase;
  max-width: 1060px;
}

.niro-lead {
  margin: 18px 0 0;
  font-size: clamp(17px, 1.8vw, 22px);
  color: var(--niro-silver-light);
  max-width: 920px;
}

.niro-meta {
  display: inline-flex;
  margin-top: 22px;
  padding: 10px 14px;
  border: 1px solid rgba(227,229,231,.24);
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.06);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .05em;
  text-transform: uppercase;
}


/* =========================================================
   05. UKŁAD TREŚCI
   ========================================================= */

.niro-content-section {
  padding: clamp(70px, 7vw, 110px) 0;
  background: #f3f5f6;
  color: #15191d;
}

.niro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.niro-content {
  display: grid;
  gap: 38px;
}

.niro-block {
  border: 0;
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.niro-block h2 {
  margin: 0 0 16px;
  color: var(--niro-cyan);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .18em;
  line-height: 1.4;
}

.niro-block p {
  margin: 0 0 12px;
  color: #4d5962;
}

.niro-block ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.niro-block li {
  position: relative;
  padding-left: 28px;
  color: #4d5962;
}

.niro-block li:before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--niro-cyan);
  box-shadow: 0 0 0 5px rgba(0,166,214,.13);
}


/* =========================================================
   06. WSPÓLNA GALERIA — ZDJĘCIA PODMIENIASZ TYLKO TUTAJ W HTML
   ========================================================= */

.niro-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 22px;
}

.niro-gallery-photo {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(21,25,29,.10);
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  background:
    linear-gradient(180deg, rgba(31,36,41,.03), rgba(31,36,41,.10)),
    var(--image),
    linear-gradient(135deg, #edf1f4, #dfe5ea);
  background-size: cover;
  background-position: center;
  box-shadow: none;
  transition: .25s;
}

.niro-gallery-photo:hover {
  transform: translateY(-2px) scale(1.005);
  border-color: rgba(0,166,214,.35);
}

.niro-gallery-photo.is-empty {
  background: linear-gradient(180deg, rgba(248,249,250,.98), rgba(236,241,245,.98));
  cursor: default;
}

.niro-gallery-photo.is-empty:before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 74px;
  height: 74px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: .55;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><rect x='12' y='18' width='40' height='28' rx='6' fill='none' stroke='%2394a0aa' stroke-width='3'/><path d='M24 18l4-6h8l4 6' fill='none' stroke='%2394a0aa' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/><circle cx='32' cy='32' r='8' fill='none' stroke='%2394a0aa' stroke-width='3'/><path d='M14 50L50 14' fill='none' stroke='%23c05b5b' stroke-width='4' stroke-linecap='round'/></svg>");
}

.niro-gallery-photo.is-empty:after {
  content: "Zamień link";
  position: absolute;
  left: 50%;
  bottom: 15px;
  transform: translateX(-50%);
  color: #7f8b95;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .10em;
  white-space: nowrap;
}



/* ZDJĘCIE POD OPISEM BALUSTRAD */
.niro-text-image {
  margin-top: 28px;
  width: 100%;
  min-height: clamp(260px, 28vw, 420px);
  border: 1px solid rgba(21,25,29,.10);
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(31,36,41,.04), rgba(31,36,41,.16)),
    var(--image),
    linear-gradient(135deg, #edf1f4, #dfe5ea);
  background-size: cover;
  background-position: center;
}

.niro-text-image.is-empty {
  background: linear-gradient(180deg, rgba(248,249,250,.98), rgba(236,241,245,.98));
  position: relative;
}

.niro-text-image.is-empty:before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 82px;
  height: 82px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: .55;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><rect x='12' y='18' width='40' height='28' rx='6' fill='none' stroke='%2394a0aa' stroke-width='3'/><path d='M24 18l4-6h8l4 6' fill='none' stroke='%2394a0aa' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/><circle cx='32' cy='32' r='8' fill='none' stroke='%2394a0aa' stroke-width='3'/><path d='M14 50L50 14' fill='none' stroke='%23c05b5b' stroke-width='4' stroke-linecap='round'/></svg>");
}

.niro-text-image.is-empty:after {
  content: "Zamień link";
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  color: #7f8b95;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .10em;
  white-space: nowrap;
}

/* Galeria bliżej górnej części strony, pod opisem i zdjęciem */
.niro-gallery-section {
  padding-top: clamp(6px, 1.2vw, 18px);
  padding-bottom: clamp(70px, 7vw, 110px);
}

.niro-gallery-section .niro-block h2 {
  margin-bottom: 16px;
}


/* =========================================================
   07. LIGHTBOX — POWIĘKSZENIE ZDJĘĆ
   ========================================================= */

.niro-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 4vw, 54px);
  background: rgba(10,13,16,.90);
  backdrop-filter: blur(10px);
}

.niro-lightbox.is-open {
  display: flex;
}

.niro-lightbox img {
  display: block;
  max-width: min(1180px, 92vw);
  max-height: 82vh;
  border-radius: 24px;
  border: 1px solid rgba(227,229,231,.22);
  box-shadow: 0 30px 90px rgba(0,0,0,.62);
  object-fit: contain;
  background: #20252a;
}

.niro-lightbox-close {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(227,229,231,.25);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transition: .2s;
}

.niro-lightbox-close:hover {
  background: var(--niro-cyan);
  border-color: var(--niro-cyan);
}

.niro-lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 58px;
  height: 76px;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  background-image: none !important;
  color: #fff !important;
  font-size: 76px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  text-shadow: 0 6px 22px rgba(0,0,0,.75);
  transition: .2s;
  padding: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.niro-lightbox-arrow:hover,
.niro-lightbox-arrow:focus,
.niro-lightbox-arrow:active,
.niro-lightbox-arrow:focus-visible {
  color: var(--niro-cyan) !important;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
}

.niro-lightbox-prev {
  left: clamp(10px, 3vw, 42px);
}

.niro-lightbox-next {
  right: clamp(10px, 3vw, 42px);
}

body.niro-lightbox-open {
  overflow: hidden !important;
}


/* =========================================================
   08. PANEL BOCZNY / STOPKA
   ========================================================= */

.niro-side {
  position: sticky;
  top: calc(var(--niro-header-h) + 24px);
  display: grid;
  gap: 18px;
}

.niro-side-card {
  border: 1px solid var(--niro-line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(52,59,66,.96), rgba(35,40,45,.96));
  box-shadow: var(--niro-shadow);
  padding: 26px;
  color: #fff;
}

.niro-side-card h3 {
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.15;
}

.niro-side-card dl {
  margin: 0;
  display: grid;
  gap: 13px;
}

.niro-side-card dl > div {
  display: grid;
  gap: 3px;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(227,229,231,.14);
}

.niro-side-card dt {
  color: var(--niro-cyan);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
}

.niro-side-card dd {
  margin: 0;
  color: #fff;
}

.niro-side-card a {
  color: #fff;
  border-bottom: 1px solid rgba(0,166,214,.7);
}

.niro-side-button {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  margin-top: 16px;
  padding: 13px 18px;
  border-radius: 999px;
  background: var(--niro-cyan);
  color: #fff !important;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  box-shadow: 0 10px 26px rgba(0,166,214,.28);
  border: 0 !important;
}

.niro-back-card {
  border: 1px solid #e1e4e7;
  border-radius: 24px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 18px 55px rgba(16,18,20,.08);
}

.niro-back-card a {
  display: inline-flex;
  color: #007fa8;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  border-bottom: 1px solid rgba(0,166,214,.45);
}

.niro-footer {
  background: #20252a;
  border-top: 1px solid var(--niro-line);
  padding: 26px 0;
  color: #bec5ca;
  margin-bottom: -1px !important;
}

.niro-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.niro-footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.niro-footer a {
  color: #fff;
  border-bottom: 1px solid rgba(0,166,214,.7);
}


/* =========================================================
   09. RESPONSYWNOŚĆ
   ========================================================= */

@media (max-width: 1220px) {
  .niro-brand {
    min-width: min(260px, 38vw);
  }

  .niro-brand img {
    width: min(245px, 38vw);
  }

  .niro-nav a {
    padding-inline: 9px;
    font-size: 13px;
  }
}

@media (max-width: 1120px) {
  .niro-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--niro-header-h);
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: rgba(37,42,47,.98);
    border-bottom: 1px solid var(--niro-line);
    padding: 14px clamp(18px,4vw,64px) 22px;
    z-index: 7000 !important;
    box-shadow: 0 22px 50px rgba(0,0,0,.35);
  }

  .niro-nav.is-open {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .niro-nav a {
    padding: 14px 0;
  }

  .niro-nav a:after {
    left: 0;
    right: auto;
    width: 80px;
    bottom: 6px;
  }

  .niro-nav a.niro-quote-btn {
    margin: 8px 0 0 0;
    display: inline-flex;
    width: max-content;
    justify-content: center;
    padding: 12px 20px;
  }

  .niro-lang-switch {
    margin: 10px 0 0 0;
    padding-left: 0;
    border-left: 0;
    width: max-content;
  }

  .niro-lang-switch button {
    padding: 10px 14px;
  }

  .niro-menu-toggle {
    display: flex;
  }

  .niro-layout {
    grid-template-columns: 1fr;
  }

  .niro-side {
    position: static;
  }

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

@media (max-width: 782px) {
  .admin-bar .niro-header {
    top: 46px;
  }
}

@media (max-width: 720px) {
  :root {
    --niro-header-h: 76px;
  }

  .niro-brand img {
    width: min(220px, 58vw);
  }

  .niro-side-card,
  .niro-back-card {
    border-radius: 20px;
  }

  .niro-gallery-grid {
    grid-template-columns: 1fr;
  }

  .niro-gallery-photo {
    aspect-ratio: 4 / 3;
  }

  .niro-lightbox-arrow {
    width: 42px;
    height: 58px;
    font-size: 54px;
  }

  .niro-lightbox img {
    max-width: 90vw;
    max-height: 76vh;
    border-radius: 18px;
  }

  .niro-footer-inner {
    display: block;
  }

  .niro-footer-links {
    margin-top: 12px;
    gap: 14px;
  }
}
