:root {
  --primary: #ff7a00;
  --dark: #111;
  --light: #f5f5f5;
}

* {
  box-sizing: border-box;
  touch-action: manipulation;
}
[id] {
  scroll-margin-top: 70px;
}
html {
  scroll-behavior: smooth;
  font-size: 100%;
  max-width: 100%;
}
body {
  margin: 0;
  padding: 0;
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
  background: var(--light);
  color: #222;
  min-width: 320px;
  overflow-wrap: break-word;
}

.container {
  width: calc(100% - 20px);
  max-width: 1200px;
  margin: 0 auto;
}

a,
button,
input,
select,
textarea {
  min-height: 44px;
}

.header {
  position: fixed;
  top: -25px;
  margin: 5px 0 5px 0;
  width: 100%;
  border-radius: 0;
  border: solid rgba(255, 255, 255, 0.5);
  border-width: 0 0 1px 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  color: white;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transition: background 4s ease;
  z-index: 20;
  padding-top: 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(130, 130, 140, 0.32);
  isolation: isolate;
  height: auto;
  display: inline-block;
}

/*h1*/

main:before {
  display: block;
  background: #3333;
  height: 50px;
  margin: auto;
  content: "";
  width: calc(100% - 20px);
  z-index: 1;
  border-radius: 20px;
  position:;
  background: #ff6400;
  background:
    radial-gradient(
      circle at 12% 24%,
      rgba(255, 138, 0, 0.95) 0%,
      rgba(255, 138, 0, 0) 34%
    ),
    radial-gradient(
      circle at 18% 92%,
      rgba(255, 77, 0, 0.7) 0%,
      rgba(255, 77, 0, 0) 38%
    ),
    linear-gradient(90deg, #ff6400 0%, #ff8b17 26%, #f7bf73 58%, #f3e2c8 100%);
}

.nav {
  display: flex;
  padding: 0px 0;
  z-index: 5;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.logo {
  font-weight: bold;
  font-size: 20px;
}
.logo-csv {
  height: 55px;
  margin: -21px;
}

.logo-container {
  padding-left: 7px;
}
img.logo-svg {
  height: 55px;
  margin: 0px;
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.3));
  max-width: fit-content;
  max-height: 120px;
}
.hero {
  background: linear-gradient(135deg, #111, #333);
  color: white;
  padding: 120px 0 0 0;
  text-align: center;
}

.hero h1 {
  font-size: 44px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  max-width: 700px;
  margin: 0 auto 30px;
}
.hero-premium {
  background: #f77b18;
  color: white;
  padding: 80px 0 0 0;

  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  position: relative;
  top: -50px;
  background-color: #f0630f20;
  background-image:
    linear-gradient(90deg, #f0630f20 0%, rgba(212, 103, 44, 0.3) 90%),
    linear-gradient(176deg, #f0630f20 80%, rgba(212, 103, 44, 1) 90%),
    url(/img/hero-bg-orange.svg);
  max-width: 100%;
}
.hero-text svg {
  vertical-align: middle;
}
@media (max-width: 550px) {
  .desktop-hero-text {
    display: none;
  }
}

/* ===== MOBILE < x ===== */
@media (max-width: 550px) {
  .hero-premium {
    background: #f77b18;
    color: white;
    padding: 80px 0 0 0;
    background-position: center center;
    background-size: auto 100%;
    background-color: #f0630f20;
    background-image:
      linear-gradient(90deg, #f0630f20 0%, rgba(212, 103, 44, 0.3) 90%),
      linear-gradient(176deg, #f0630f20 80%, rgba(212, 103, 44, 1) 90%),
      url(/img/hero-bg-orange.svg);
  }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.9fr 1fr;
  align-items: center;
  gap: 0px;
}

.hero-text h1 {
  font-size: 52px;
  line-height: 1.1;
  margin-bottom: 25px;
}
@media (max-width: 450px) {
  .hero-text h1 {
    font-size: 43px;
    line-height: 1.1;
    margin-bottom: 25px;
  }
}
@media (max-width: 350px) {
  .hero-text h1 {
    font-size: 35px;
  }
}
.hero-text .accent,
h1 > span,
h2 > span,
h3 > span,
h4 > span,
h5 > span,
h6 > span,
.accent {
  color: #f07020;
  font-weight: 600;
}

.hero-text p {
  opacity: 0.9;
  margin-bottom: 40px;

  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.btn-primary {
  background: #ff7a00;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  box-shadow: 0 0 3px #ffab5e inset;
}
.btn-primary:hover {
  box-shadow:
    0 0 3px #ffab5e inset,
    0 5px 10px rgb(246 87 6 / 95%);
  background: #ff810e;
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  color: white;
  transition: background 0.2s ease;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero-visual img {
  width: 100%;
  max-width: 520px;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.4));

  position: relative;
  top: 55px;
}
@media (max-width: 555px) {
  .hero-visual {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-18px);
  }
  100% {
    transform: translateY(0px);
  }
}

/*hero*/
.fact-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fact-icon svg {
  width: 35px;
  height: 35px;
  stroke: #fff;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tile__idx {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fff3;
  font-size: 110%;
  letter-spacing: 0.1em;
  opacity: 0.9;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
}
.tile__top {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
}
.tile__title {
  font-size: 20px;
  line-height: 1.18;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}

.elite-tiles {
  --border: rgba(255, 255, 255, 0.28);
  --text: rgb(255 255 255);
  --muted: rgb(255 255 255);
  --shadow: 5px 16px 14px rgb(159 65 16 / 53%);
  --radius: 20px;
  padding: clamp(22px, 3.2vw, 15px) 0;
}
.elite-tiles__wrap {
  max-width: 800px;
  margin: 0;
}
.elite-tiles__head {
  margin-bottom: 16px;
}
.elite-tiles__title {
  font-size: 150%;
  line-height: 1.1;
  margin: 0 0 8px;
  color: #fff;
}
.elite-tiles__row {
  display: flex;
  gap: 20px;
  align-items: stretch;
  margin: 0px;
  overflow-x: auto;
  padding: 10px 2px 25px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.why-trust > .elite-tiles__row {
  flex-direction: row;

  justify-content: space-around;
}

.elite-tiles__row::-webkit-scrollbar {
  height: 10px;
}
.elite-tiles__row::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}
/* ====== Card ====== */
.tile {
  position: relative;
  flex: 0 0 clamp(240px, 28vw, 300px);
  min-height: 178px;
  padding: 16px 16px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  color: var(--text);
  background:
    radial-gradient(
      220px 140px at 18% 18%,
      rgba(255, 255, 255, 0.26),
      transparent 60%
    ),
    linear-gradient(135deg, var(--card) 0%, var(--card2) 100%);
  overflow: hidden;
  scroll-snap-align: start;
  transform: translateZ(0);
  background-color: #aaa1;
  backdrop-filter: blur(3px);
  min-width: 260px;
}
/* glossy highlight */
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.08) 18%,
    rgba(255, 255, 255, 0) 42%,
    rgba(255, 255, 255, 0.1) 68%,
    rgba(255, 255, 255, 0) 100%
  );
  opacity: 0.55;
  pointer-events: none;
}
/* diagonal light streaks (like screenshot) */
.tile::after {
  content: "";
  position: absolute;
  inset: -40% -30%;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 38%,
    rgba(255, 255, 255, 0.18) 48%,
    rgba(255, 255, 255, 0) 58%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(8deg);
  opacity: 0.45;
  pointer-events: none;
}

.tile__tag {
  font-size: 11px;
  letter-spacing: 0.02em;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.tile__text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--muted);
  position: relative;
  z-index: 1;
  max-width: 40ch;
}
.tile__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
  width: fit-content;
}
.tile__cta:hover {
  background: rgba(0, 0, 0, 0.26);
}
.tile__ctaArrow {
  font-size: 16px;
  line-height: 1;
  transform: translateY(-1px);
}
/* Desktop: no scroll + equal width */
@media (min-width: 980px) {
  .elite-tiles__row {
    overflow: visible;
  }
  .tile {
    flex: 1 1 0;
    min-width: 0;
  }
}

/*Animacja całego rzędu kafelków*/
@media (max-width: 768px) {
  .tile {
    animation: tilesSwipeHint 1.8s ease-out 0.7s 1;
  }
  @keyframes tilesSwipeHint {
    0% {
      transform: translateX(0);
    }
    18% {
      ransform: translateX(0);
    }
    45% {
      transform: translateX(-18px);
    }
    70% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(0);
    }
  }
}

/*hero*/
/*btn*/
@property --angle-1 {
  syntax: "<angle>";
  inherits: false;
  initial-value: -75deg;
}

@property --angle-2 {
  syntax: "<angle>";
  inherits: false;
  initial-value: -45deg;
}

:root {
  --global--size: clamp(2rem, 4vw, 5rem);
  --anim--hover-time: 400ms;
  --anim--hover-ease: cubic-bezier(0.25, 1, 0.5, 1);
}

body {
  -webkit-font-smoothing: antialiased;
}

/* wspólna klasa dla a i button */
.btn {
  --border-width: clamp(1px, 0.0625em, 4px);

  position: relative;
  display: inline-block;
  cursor: pointer;
  pointer-events: auto;
  text-decoration: none;
  border: 0;

  background: linear-gradient(
    -75deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.05)
  );
  border-radius: 999vw;
  box-shadow:
    inset 0 0.125em 0.125em rgba(0, 0, 0, 0.05),
    inset 0 -0.125em 0.125em rgba(255, 255, 255, 0.5),
    0 0.25em 0.125em -0.125em rgba(0, 0, 0, 0.2),
    0 0 0.1em 0.25em inset rgba(255, 255, 255, 0.2),
    0 0 0 0 rgba(255, 255, 255, 1);
  backdrop-filter: blur(clamp(1px, 0.125em, 4px));
  -webkit-backdrop-filter: blur(clamp(1px, 0.125em, 4px));
  transition: all var(--anim--hover-time) var(--anim--hover-ease);
}

.btn > span > svg {
  vertical-align: middle;
}

.btn:hover {
  transform: scale(0.975);
  backdrop-filter: blur(0.01em);
  -webkit-backdrop-filter: blur(0.01em);
  box-shadow:
    inset 0 0.125em 0.125em rgba(0, 0, 0, 0.05),
    inset 0 -0.125em 0.125em rgba(255, 255, 255, 0.5),
    0 0.15em 0.05em -0.1em rgba(0, 0, 0, 0.25),
    0 0 0.05em 0.1em inset rgba(255, 255, 255, 0.5),
    0 0 0 0 rgba(255, 255, 255, 1);
}

.lightbox-prev,
.lightbox-next {
  transform: none !important;
}

.btn span {
  display: block;
  padding-inline: 1.5em;
  padding-block: 0.875em;
  text-shadow:
    2px 2px 6px #3333336b,
    2px 2px 22px #5d342987;
  transition: all var(--anim--hover-time) var(--anim--hover-ease);
}

.btn:hover span {
  text-shadow: 0.025em 0.025em 0.025em rgba(0, 0, 0, 0.12);
}

.btn span::after {
  content: "";
  position: absolute;
  inset: calc(var(--border-width) / 2);
  z-index: 3;
  border-radius: 999vw;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: screen;
  background: linear-gradient(
    var(--angle-2),
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 40% 50%,
    rgba(255, 255, 255, 0) 55%
  );
  background-size: 200% 200%;
  background-position: 0% 50%;
  background-repeat: no-repeat;
  transition:
    background-position calc(var(--anim--hover-time) * 1.25)
      var(--anim--hover-ease),
    --angle-2 calc(var(--anim--hover-time) * 1.25) var(--anim--hover-ease);
}

.btn:hover span::after {
  background-position: 25% 50%;
}

.btn:active span::after {
  background-position: 50% 15%;
  --angle-2: -15deg;
}

@media (hover: none) and (pointer: coarse) {
  .btn span::after,
  .btn:active span::after {
    --angle-2: -45deg;
  }
}

.btn::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: calc(0% - var(--border-width) / 2);
  padding: var(--border-width);
  border-radius: 999vw;
  box-sizing: border-box;
  background:
    conic-gradient(
      from var(--angle-1) at 50% 50%,
      rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0) 5% 40%,
      rgba(0, 0, 0, 0.5) 50%,
      rgba(0, 0, 0, 0) 60% 95%,
      rgba(0, 0, 0, 0.5)
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5));
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  box-shadow: inset 0 0 0 calc(var(--border-width) / 2) rgba(255, 255, 255, 0.5);
  transition:
    all var(--anim--hover-time) var(--anim--hover-ease),
    --angle-1 500ms ease;
}

.btn:hover::after {
  --angle-1: -125deg;
}

.btn:active::after {
  --angle-1: -75deg;
}

@media (hover: none) and (pointer: coarse) {
  .btn::after,
  .btn:hover::after,
  .btn:active::after {
    --angle-1: -75deg;
  }
}
.glass-bg {
  background: #99999933;
  font-size: 100%;
  span {
    text-shadow: 2px 2px 3px #fff;
  }
}
.orange-bg {
  background: #ff7a00dd;
  font-size: 100%;
  span {
    text-shadow: 2px 2px 6px #763a00d6;
  }
}

.orange-bg span {
  color: #fff !important;
  text-decoration: none !important;
}

.glass-bg span {
  color: #333;
  text-decoration: none !important;
}

/*pryciski navigacji*/
.nav-links {
  display: flex;
  height: 100% !important;
  width: 100%;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-end;
}
.nav-links a:hover,
.mobile-menu.open a {
  border-radius: 999vw;
  --border-width: clamp(1px, 0.0625em, 4px);
  cursor: pointer;
  position: relative;
  pointer-events: auto;
  z-index: 3;
  background: linear-gradient(
    -75deg,
    rgb(255 124 16 / 28%),
    rgb(255 170 0 / 20%),
    rgb(196 127 72)
  );
  box-shadow:
    inset 0 0.125em 0.125em rgba(0, 0, 0, 0.05),
    inset 0 -0.125em 0.125em rgba(255, 255, 255, 0.5),
    0 0.25em 0.125em -0.125em rgba(0, 0, 0, 0.2),
    0 0 0.1em 0.25em inset rgba(255, 255, 255, 0.2),
    0 0 0 0 rgba(255, 255, 255, 1),
    inset 0 0.125em 0.125em rgba(0, 0, 0, 0.05),
    inset 0 -0.125em 0.125em rgba(255, 255, 255, 0.5),
    0 0.15em 0.05em -0.1em rgba(0, 0, 0, 0.25),
    0 0 0.05em 0.1em inset rgba(255, 255, 255, 0.5),
    0 0 0 0 rgba(255, 255, 255, 1);
  backdrop-filter: blur(clamp(1px, 0.125em, 4px));
  -webkit-backdrop-filter: blur(clamp(1px, 0.125em, 4px));
  display: block;
  -webkit-font-smoothing: antialiased;
  text-shadow:
    2px 2px 6px #3333336b,
    2px 2px 22px #5d342987;

  vertical-align: middle;

  color: #ffffff;
}
.mobile-menu.open span {
  color: #ffffff;
}
.nav-links a {
  padding: 10px 12px;
  margin-left: 0px;
  text-decoration: none;
  color: #ffffff;
  text-shadow:
    2px 2px 6px #0000005c,
    2px 2px 22px #3a272194;
  font-size: 102%;
}

/*btn*/

/*card orange */
.tile .orange {
  .tile__top {
    color: #3333;
  }
}

/*card orange */

.tile.orange {
  background: #fff;
  box-shadow:
    inset 0 0.125em 0.125em rgba(0, 0, 0, 0.05),
    inset 0 -0.125em 0.125em rgba(255, 255, 255, 0.5),
    0 0.25em 0.125em -0.125em rgba(0, 0, 0, 0.2),
    0 0 0.1em 0.25em inset rgba(255, 255, 255, 0.2),
    0 0 0 0 rgba(255, 255, 255, 1);

  border: 1px solid #1111;
  border-radius: 20px;
  padding: 16px 18px;
  transition: border-color 0.2s;

  .tile__title {
    font-size: 100%;
    color: #ff7a00;
  }
  .fact-icon svg {
    stroke: #ff7a00;
    fill: #3331;
  }
  .fact-icon {
    stroke: #ff7a00;
    fill: #3331;
  }
  .tile__top {
    display: flex;
    gap: 10px;
    position: relative;
    justify-content: flex-start;
    align-items: center;
  }
}

/*card orange */

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.toc > a {
  font-size: 13px;
  font-weight: 500;
  color: #242424;
  background: #ffffff;
  border: 1px solid #ffb75d;
  border-radius: 20px;
  padding: 6px 14px;
  text-decoration: none;
  transition:
    border-color 0.15s,
    color 0.15s;
  line-height: 26px;
  box-shadow: 2px 2px 5px 0px #1111;
}

/*card technologia ok+zk*/

.my-card-grey {
  display: inline-block;
  flex-direction: column;
  gap: 15px;
  border: 1px solid rgb(200 200 200);
  border-radius: 30px;
  padding: 25px;
  background-color: rgb(238 238 238);
  box-shadow: rgba(51, 51, 51, 0.067) 2px 3px 5px 5px;
}

.my-card-white {
  display: inline-block;
  flex-direction: column;
  gap: 15px;
  border: 1px solid rgb(200 200 200);
  border-radius: 30px;
  padding: 25px;
  background: white;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.span-background-orange {
  background: #febd80a1;
  padding: 5px;
  border-radius: 3px;
}
.span-background-blue {
  background: #3a8fd4a1;
  padding: 5px;
  border-radius: 3px;
}

/*card technologia */

/*Baner cookies*/

.cookie-banner {
  width: calc(100% - 30px);
  background: #ddd;
  color: #222;
  padding: 5px;
  display: block;
  justify-content: center;
  z-index: 9999;
  margin: auto;
  position: fixed;
  bottom: 15px;
  left: 15px;
  border-radius: 15px;
  border: #ff972d solid 3px;
}
@media (min-width: 950px) {
  .cookie-banner {
    width: 950px;
    background: #eee;
    color: #222;
    padding: 5px;
    display: block;
    justify-content: center;
    z-index: 9999;
    margin: auto;
    position: sticky;
    bottom: 15px;
    left: 15px;
    border-radius: 15px;
    max-width: 1200px;
  }
}

.cookie-content {
  max-width: 900px;
  display: flex;
  flex-direction: row;
  gap: 15px;
  border-radius: 11px;
  padding: 10px;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
}
.cookie-name {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 600px) {
  .cookie-content {
    align-items: center;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
  }
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-buttons button {
  padding: 10px 18px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  background: #ff7a00;
  color: white;
}

.cookie-buttons button.secondary {
  background: #444;
}
/*Baner cookies*/

/* Baner cookies OVERLAY*/
.cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 2s ease;
  z-index: -98;
}
/*
.cookie-overlay.active {
  opacity: 1;
  pointer-events: all;
  z-index: 98;
}
*/
/* ===== COOKIE BANNER ANIMATION ===== */
.cookie-banner {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translate(-50%, 50px);
  opacity: 0;
  transition:
    transform 2s ease,
    opacity 1s ease;
  z-index: -99;
}

.cookie-banner.active {
  transform: translate(-50%, 0);
  opacity: 1;
  z-index: 99;
}

/*Baner cookies OVERLAY - Overlay blokuje klikanie strony*/

.container.nav {
}

/*hamburger*/

.mobileMenu {
  display: none;
  background-color: #fff5;
  border-radius: 10px;
  padding: 8px;
  margin: 10px;
}
#mobileMenu.open > a > button {
  margin-bottom: 10px;
}

#mobileMenu.open svg {
  vertical-align: middle;
}
#mobileMenu.open > a > button > span {
  min-width: 220px !important;
  text-align: center;
  text-align: left;
  padding-left: 30px;
}
.hamburger > a,
.hamburger > a > button,
.hamburger > a > button > span {
  border-radius: 50%;
}

.mobile-menu > a {
  display: none;
}

.mobile-menu.open {
  max-height: 800px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  gap: 2px;
  margin-top: 4px;
  padding: 6px;
}

.mobile-menu {
  display: flex;
  width: 100%;

  align-items: flex-end;
  flex-direction: column;
  box-sizing: border-box;
  border-radius: 16px;
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    max-height 0.5s ease,
    opacity 0.5s ease,
    transform 0.5s ease,
    margin-top 0.5s ease,
    padding 0.5s ease;
}
/* po kliknięciu */
.mobile-menu.open {
  display: flex;
  align-items: stretch;
  flex-direction: column;
  justify-content: center;
  flex-wrap: nowrap;
  width: 260px;
  float: right;
  margin: 0px 0px 38px 0;
  gap: 12px;
}

.hamburger {
  all: unset;
  aspect-ratio: 1 / 1;
  padding: 7px 12px;
  font-size: 20px;
  position: relative;

  margin-right: 5px;
  text-align: center;
  display: inline-block;
  transition: all var(--anim--hover-time) var(--anim--hover-ease);
  all: inside;
}

@media (max-width: 450px) {
  .svg_mobile_none {
    display: none;
  }
}

@media (max-width: 510px) {
  .kontakt_mobile {
    background: #ff7a00dd;
  }
  .link_mobile {
    margin-left: 5px;
    --border-width: clamp(1px, 0.0625em, 4px);
    display: flex;
    cursor: pointer;
    pointer-events: auto;
    border-radius: 999vw;
    box-shadow:
      inset 0 0.125em 0.125em rgba(0, 0, 0, 0.05),
      inset 0 -0.125em 0.125em rgba(255, 255, 255, 0.5),
      0 0.25em 0.125em -0.125em rgba(0, 0, 0, 0.2),
      0 0 0.1em 0.25em inset rgba(255, 255, 255, 0.2),
      0 0 0 0 rgba(255, 255, 255, 1);
    backdrop-filter: blur(clamp(1px, 0.125em, 4px));
    -webkit-backdrop-filter: blur(clamp(1px, 0.125em, 4px));
    transition: all var(--anim--hover-time) var(--anim--hover-ease);
    align-items: center;
    flex-wrap: nowrap;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    min-height: 30px;
    min-width: 30px;
    padding: 6px;
  }
}
:root {
  --width-logo-padding: 14px; /* left+right */
  --width-logo: 165px; /*242*/
  --width-a-burger: 45px;
  --width-header: 20px;
}

/* ===== DESKTOP > 1200px ===== */
/* pokazujemy 5 pierwszych */
@media (min-width: 1351px) {
  .nav-links a:nth-child(n + 9) {
    display: none;
  }
  .hamburger {
    display: none;
  }
}

/* ===== ŚREDNIE 700-556 ===== */
@media (max-width: 1350px) and (min-width: 1001px) {
  .nav-links a:nth-child(n + 7) {
    display: none;
  }
  .hamburger {
    display: none;
  }
}

/* ===== ŚREDNIE 700-556 ===== */
@media (max-width: 1000px) and (min-width: 803px) {
  .nav-links a:nth-child(n + 6) {
    display: none;
  }
  .hamburger {
    display: block;
  }
  #mobileMenu a:nth-child(-n + 5) {
    display: none;
  }
}

/* ===== ŚREDNIE 700-556 ===== */
@media (max-width: 802px) and (min-width: 633px) {
  .nav-links a:nth-child(n + 5) {
    display: none;
  }
  .hamburger {
    display: block;
  }
  #mobileMenu a:nth-child(-n + 4) {
    display: none;
  }
}

/* ===== ŚREDNIE 700-556 ===== */
@media (max-width: 632px) and (min-width: 529px) {
  .nav-links a:nth-child(n + 4) {
    display: none;
  }
  .hamburger {
    display: block;
  }
  #mobileMenu a:nth-child(-n + 3) {
    display: none;
  }
}

/* ===== ŚREDNIE 700-556 ===== */
@media (max-width: 528px) and (min-width: 454px) {
  .nav-links a:nth-child(n + 3) {
    display: none;
  }
  .hamburger {
    display: block;
  }
  #mobileMenu a:nth-child(-n + 2) {
    display: none;
  }
}

/* ===== ŚREDNIE 700-556 ===== */
@media (max-width: 453px) and (min-width: 311px) {
  .nav-links a:nth-child(n + 2) {
    display: none;
  }
  .hamburger {
    display: block;
  }
  #mobileMenu a:nth-child(-n + 1) {
    display: none;
  }
}

/* ===== MOBILE < x ===== */
@media (max-width: 310px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: block;
  }
}

.nav-links a:last-child {
  margin-right: 20px;
}

.card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.btn2 {
  display: inline-block;
  padding: 14px 28px;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}

.section {
  margin: 20px auto;
}
section,
section.section-one {
  max-width: 1200px;
  margin: auto;
}
.realizacja-single {
  padding-top: 55px;
}

/*realizacje- glwna strona*/

.realizacje h2 {
  text-align: center;
  margin-bottom: 50px;
}
.grid {
  list-style-type: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  grid-auto-flow: row;
  justify-items: stretch;
  justify-content: center;
  align-content: center;
  align-items: center;
}
.card.premium {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 360px;
  cursor: pointer;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.card.premium img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.card.premium:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.card.premium:hover img {
  transform: scale(1.08);
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.6) 40%,
    rgba(0, 0, 0, 0) 100%
  );
  color: white;
  backdrop-filter: blur(3px);
}

.overlay h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.overlay p {
  margin: 0;
  font-size: 15px;
  opacity: 0.85;
}
.glass-card {
  position: relative;
  height: 380px;
  border-radius: 20px;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.2s ease;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.glass-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.glass-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;

  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border-top: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);

  color: white;
}

.glass-overlay h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.glass-overlay p {
  margin: 0;
  font-size: 15px;
  opacity: 0.9;
}
.glass-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;

  background: rgba(255, 255, 255, 0.1);
  background: rgb(10 10 10 / 12%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border-top: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.25);

  color: white;
  overflow: hidden;
}
.glass-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background-image: repeating-radial-gradient(
    circle at 0 0,
    rgba(255, 255, 255, 0.04) 0px,
    rgba(255, 255, 255, 0.04) 1px,
    transparent 1px,
    transparent 3px
  );

  opacity: 0.6;
  mix-blend-mode: overlay;
}

/*realizacje głowna strona*/

/*realizacje podstrona*/

.realizacje-page h1 {
  text-align: center;
  margin-bottom: 20px;
}

.realizacje-lead {
  margin: 0 auto 60px;
  font-size: 18px;
  opacity: 0.85;
}

/*realizacje podstrona*/

/*kontakt*/
.kontakt-page h1 {
  margin-bottom: 25px;
}

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 5px;
}
.kontakt-form {
  display: inline-block;
  flex-direction: column;
  gap: 15px;
  border: 1px solid rgb(200 200 200);
  border-radius: 37px;
  padding: 20px 10px 10px;
  background-color: rgb(238 238 238);
  box-shadow: rgba(51, 51, 51, 0.067) 2px 3px 5px 5px;
}
.style-info-contener {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
}
.style-info2 {
  display: flex;
  background-image: url(/img/cena-piana-pur-poliuretanowa.webp);
  justify-content: center;
  align-items: stretch;
  border-radius: 30px;
  max-width: 380px;
  height: 280px;
  min-width: 300px;
}
.style-info {
  border: 1px solid #ffffff;
  border-radius: 30px;
  background-color: #f3f3f38f;
  box-shadow: 2px 3px 5px 5px #3331;
  background-image: url(/img/ile-kosztuje-piana-pur-poliuretanowa.webp);
  background-size: 200%;
  width: 100%;
  height: 100%;
  position: relative;
  top: -15px;
  left: 15px;
}
.style-info3 {
  border: 1px solid #ffffff;
  border-radius: 30px;
  background-color: #f3f3f38f;
  box-shadow: 2px 3px 5px 5px #3331;
  background-image: url(/img/cena-za-m2-piana-pur-poliuretanowa.webp);
  background-size: 150%;
  width: 100%;
  height: 100%;
  position: relative;
  top: -15px;
  left: 15px;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  background-position: top center;
  gap: 10px;
  align-content: center;
  justify-content: center;
  padding: 10px;
}
@media (max-width: 777px) {
  .kontakt-grid {
    grid-template-columns: 1fr;
  }
  .style-info2 {
    display: none;
  }
}
.kontakt-form input,
.kontakt-form textarea {
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
  display: block;
  width: 100%;
  margin-bottom: 15px;
}

.kontakt-form textarea {
  min-height: 120px;
}

@media (max-width: 768px) {
  .kontakt-grid {
    grid-template-columns: 1fr;
  }
}

.kontakt-dane hr {
  margin: 30px 0;
  border: none;
  border-top: 1px solid #eee;
}

/* Honeypot     ukryte pole, którego normalny użytkownik nie wypełna */
.hp-wrap {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/*kontakt*/

/*o nas*/
.about-page h1 {
  margin-bottom: 30px;
}

.lead {
  font-size: 20px;
  max-width: 800px;
  margin-bottom: 50px;
}

.about-content {
  max-width: 800px;
  line-height: 1.7;
}

.about-content p {
  margin-bottom: 20px;
}

.about-highlight {
  margin-top: 60px;
  background: rgba(255, 122, 0, 0.06);
  padding: 30px;
  border-radius: 12px;
}

.about-highlight ul {
  padding-left: 0;
  list-style: none;
}

.about-highlight li {
  margin-bottom: 10px;
}

.about-cta {
  margin-top: 60px;
  max-width: 700px;
}

/*o nas*/

/*Styl dla pojedynczej realizacji*/

.realizacja-single h1 {
  margin-bottom: 20px;
}

.realizacja-opis {
  max-width: 800px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.realizacja-detale {
  margin-bottom: 40px;
  opacity: 0.9;
}

.realizacja-single .grid img {
  width: 100%;
  border-radius: 12px;
}

.realizacja-gallery img {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.realizacja-gallery img:hover {
  transform: scale(1.02);
}
.realizacja-single .grid img {
  width: 100%;
  border-radius: 12px;
  aspect-ratio: 1;
  height: auto;
}
/*Styl dla pojedynczej realizacji*/

/* LIGHTBOX */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.lightbox-img {
  max-width: 90%;
  max-height: 85%;
  border-radius: 12px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 50px;
  color: white;
  background: rgba(0, 0, 0, 0.4);
  border: none;
  padding: 10px 20px;
  cursor: pointer;
}

.lightbox-prev {
  left: 40px;
}

.lightbox-next {
  right: 40px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(0, 0, 0, 0.7);
}

/* LIGHTBOX */

/*slug/wykonanie-strony-z opisem*/
.realizacja-single h1 {
  margin-bottom: 30px;
}

.realizacja-meta {
  display: flex;
  flex-direction: column;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.realizacja-meta div {
  background: rgb(255 255 255 / 6%);
  padding: 7px 15px;
  border-radius: 10px;
  min-width: 180px;
  box-shadow: 2px 2px 5px 0 #3337;
  margin-bottom: 10px;
  max-width: 300px;
}
.realizacja-meta strong {
  display: block;
  font-size: 14px;
  opacity: 0.6;
}

.realizacja-meta span {
  font-size: 16px;
  font-weight: 600;
}

.realizacja-opis {
  max-width: 800px;
  line-height: 1.7;
  margin-bottom: 60px;
}

.realizacja-cta {
  margin-top: 60px;
  padding: 40px;
  background: linear-gradient(135deg, #111, #222);
  color: white;
  border-radius: 16px;
}

.realizacja-gallery {
  margin-top: 60px;
  gap: 25px;
}

.realizacja-gallery img {
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.realizacja-gallery img:hover {
  transform: scale(1.02);
}

/*slug/wykonanie-strony-z opisem*/

/*kalkulator*/
.kalkulator-box {
  margin: 40px auto;
  padding: 30px;
  max-width: 500px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  font-family: "Segoe UI", sans-serif;
}

.kalkulator-box h3 {
  font-size: 26px;
  margin-bottom: 25px;
  color: #111;
  text-align: center;
}

.kalkulator-box label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #333;
}

.kalkulator-box input,
.kalkulator-box select {
  width: 100%;
  padding: 14px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 16px;
}

.kalkulator-box button {
  width: 100%;
  padding: 16px;
  background: #ff7a00;
  color: white;
  font-size: 17px;
  font-weight: bold;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.3s;
}

.kalkulator-box button:hover {
  background: #e66e00;
}

#wynik {
  margin-top: 25px;
  padding: 20px;
  background: #fff6ef;
  border-radius: 12px;
  font-size: 18px;
  line-height: 1.6;
}

.uwaga {
  font-size: 12px;
  margin-top: 20px;
  color: #666;
  text-align: center;
}

/*kalkulator*/

/*piana-pur-cena*/

.blokss {
  display: flex;
  padding: 60px 10px;
  justify-content: flex-start;
  flex-direction: row;
  text-align: left;
}
.blokss-left {
  width: 50%;
}

.blokss-right {
  width: 50%;
}
@media (max-width: 770px) {
  .blokss {
    flex-direction: column;
    gap: 20px;
  }
  .blokss-left,
  .blokss-right {
    width: 100%;
  }
  .example-table table {
    margin: 20px 5px !important;
  }
}

width: 50%;

.leads {
  max-width: 760px;
  color: #334155;
}

/*piana-pur-cena*/

/*footer*/

.footer {
  background: #545454;
  top: 0;
  color: white;
  text-align: center;
  padding: 30px 10px;
  margin-top: 60px;
}

.obszar-dzialania {
  margin-top: 80px;
}

.obszar-dzialania h2 {
  margin-bottom: 20px;
}

.obszar-dzialania p {
  max-width: 800px;
  margin-bottom: 30px;
}

.miasta-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.miasta-grid span {
  height: 60px;
  vertical-align: middle;
  text-align: center;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;

  border: 1px solid rgba(255, 122, 0, 0.3);
  padding: 8px 14px;
  border-radius: 999vw;
  font-size: 14px;
  font-weight: 500;
  a {
    color: #fff;
    text-decoration-line: none;
  }
}
.obszar-dzialania {
  margin: auto;
  max-width: 756px;
}

.footer > .container > a {
  color: #999;
}
/*footer*/

/*adnin rezerwacja*/

.admin-booking-page {
  max-width: 720px;
  margin: 0 auto;
}

.lead {
  margin-bottom: 2px;
  opacity: 0.9;
}

.admin-form {
  display: grid;
  gap: 18px;
  margin-bottom: 28px;
}

.admin-form label {
  display: grid;
  gap: 8px;
}

.admin-form span {
  font-weight: 600;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d6d6d6;
  border-radius: 10px;
  font: inherit;
  box-sizing: border-box;
}

.admin-form textarea {
  resize: vertical;
  min-height: 180px;
}

.admin-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-actions button {
  padding: 12px 18px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
}

.admin-response pre {
  background: #111;
  color: #f5f5f5;
  padding: 16px;
  border-radius: 12px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  height: 300px;
  overflow: hidden;
  overflow-x: scroll;
  overflow-y: scroll;
}

.admin-bookings {
  margin-top: 32px;
}

.admin-bookings__top {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}

.admin-bookings__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: end;
}

.admin-bookings__actions label {
  display: grid;
  gap: 8px;
}

.admin-bookings__actions span {
  font-weight: 600;
}

.admin-bookings__actions select,
.admin-bookings__actions button {
  padding: 12px 14px;
  border: 1px solid #d6d6d6;
  font: inherit;
  background: #fff;
}

.admin-bookings__actions button {
  cursor: pointer;
  border: 0;
}

.bookings-list {
  display: grid;
  gap: 14px;
}

.booking-card {
  border: 1px solid #e3e3e3;
  border-radius: 14px;
  padding: 16px;
  background: #fff;
}

.booking-card__top {
  display: flex;
  gap: 16px;
  margin-bottom: 10px;
  flex-direction: column;
  flex-wrap: nowrap;
}

.booking-card__title {
  font-weight: 700;
  font-size: 18px;
  background: #3331;
  padding: 7px;
  border: 1px solid #3333;
  border-radius: 3px;
}

.booking-card__status {
  padding: 6px 10px;
  border-radius: 8px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  height: 100%;
  box-shadow: 2px 2px 5px 0 #3333;
  border: 1px #3333 solid;
}
.booking-card__meta {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.5;
}

.booking-card__actions {
  display: flex;
  gap: 11px;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  margin: 10px;
  flex-direction: column;
}
article.booking-card {
  display: flex;
  border: #3333 1px solid;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 2px 2px 5px 0px #3332;
  background: #f8f8f8;
  flex-direction: column;
}
.booking-card__top-container {
  display: flex;
}
.booking-card__meta {
  padding: 10px;
  color: #4f4f4f;
}

@media (max-width: 960px) {
  .no-mobile {
    display: none;
  }
}
