:root {
  --kb-page-bg: #000000;
  --kb-header-bg: #000000;
  --kb-header-text: #111111;
  --kb-header-stroke: #111111;

  --kb-side-gap: 16px;
  --kb-container-max: 2048px;
  --kb-container-padding: clamp(16px, 3vw, 32px);
  --kb-section-gap: clamp(24px, 4vw, 64px);
  --kb-radius: 16px;
  --kb-header-h: 60px;

  --kb-fs-xs: clamp(11px, 1.2vw, 12px);
  --kb-fs-sm: clamp(12px, 1.4vw, 14px);
  --kb-fs-md: clamp(14px, 1.6vw, 16px);
  --kb-fs-lg: clamp(18px, 2.4vw, 24px);
  --kb-fs-xl: clamp(28px, 5vw, 61px);

  --kb-safe-top: env(safe-area-inset-top, 0px);
  --kb-safe-right: env(safe-area-inset-right, 0px);
  --kb-safe-bottom: env(safe-area-inset-bottom, 0px);
  --kb-safe-left: env(safe-area-inset-left, 0px);
}

/* =========================
   RESET / BASE
========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: 'Montserrat', Arial, sans-serif;
  background: transparent;
  color: #111;
  line-height: 1.5;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a,
button,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
  font: inherit;
}

button {
  cursor: pointer;
}

iframe {
  max-width: 100%;
  border: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

a {
  text-decoration: none;
}
.font-bilbo {
  font-family: 'Bilbo', cursive;
  font-weight: 400;
  font-style: normal;
}
.kb-container {
  width: 100%;
  max-width: var(--kb-container-max);
  margin-inline: auto;
  padding-left: max(var(--kb-container-padding), var(--kb-safe-left));
  padding-right: max(var(--kb-container-padding), var(--kb-safe-right));
}

/* =========================
   HEADER
========================= */

.kb-header-wrap {
  width: 100%;
  position: relative;
  z-index: 20;
  background: transparent;
  padding-top: var(--kb-safe-top);
}

.kb-header {
  width: 100%;
  max-width: var(--kb-container-max);
  margin: 0 auto;
  min-height: var(--kb-header-h);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-left: max(clamp(16px, 3vw, 30px), var(--kb-safe-left));
  padding-right: max(clamp(16px, 4vw, 46px), var(--kb-safe-right));
}

.kb-header__left,
.kb-header__center,
.kb-header__right {
  min-width: 0;
}

.kb-header__left {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.kb-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.kb-logo img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.kb-header__center {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 84px);
  margin-left: auto;
  margin-right: clamp(20px, 4vw, 72px);
}

.kb-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3.8vw, 74px);
  min-width: 0;
}

.kb-nav a {
  color: #ffffff;
  font-size: 15px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.kb-header__right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 0 0 auto;
}

.kb-header__icon-link {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--kb-header-stroke);
  line-height: 0;
}

.kb-header__icon-link svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: rgb(255 255 255);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.kb-header__icon-link--home {
  width: 30px;
  height: 30px;
  margin-top: 2px;
}

.kb-header__icon-link--home svg {
  width: 30px;
  height: 30px;
}

.kb-header__icon-link--home svg path {
  fill: #ffffff;
  stroke: none;
}

.kb-header__icon-link--cart,
.kb-header__icon-link--user {
  width: 28px;
  height: 28px;
}

.kb-header__icon-link--user {
  margin-top: 1px;
}

/* =========================
   HAMBURGER MENU
========================= */

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  cursor: pointer;
  z-index: 110;
  flex: 0 0 auto;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #ffffff;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.mobile-menu {
  display: flex;
  position: fixed;
  inset: 0;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(5px);
  z-index: 100;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  padding:
    max(24px, var(--kb-safe-top))
    max(20px, var(--kb-safe-right))
    max(24px, var(--kb-safe-bottom))
    max(20px, var(--kb-safe-left));
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  min-width: 0;
}

.mobile-nav a {
  color: #ffffff;
  font-size: 24px;
  font-weight: 300;
  transition: color 0.3s;
  word-break: break-word;
}

.mobile-nav a:hover {
  color: #cccccc;
}

.mobile-icons {
  display: flex;
  gap: 30px;
  margin-top: 20px;
}

.mobile-icons .kb-header__icon-link svg {
  stroke: #ffffff;
  width: 32px;
  height: 32px;
}

.mobile-icons .kb-header__icon-link--home svg path {
  fill: #ffffff;
}

/* =========================
   HERO
========================= */

.hero {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin-top: calc(var(--kb-header-h) * -1);
  min-height: clamp(360px, 48vw, 550px);
  overflow: hidden;
  background: #ffffff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-title {
  text-align: center;
  position: relative;
  display: flex;
  z-index: 2;
  font-size: var(--kb-fs-xl);
  font-weight: 700;
  line-height: 0.95;
  color: #ffffff;
  flex-wrap: wrap;
  flex-direction: column;
  align-content: space-around;
  align-items: center;
  width: 100%;
  padding-top: 96px;
}


.hero-mask {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 101%;
  max-width: 101%;
  z-index: 2;
  pointer-events: none;
}

.hero-mob {
  position: absolute;
  top: 41px;
  right: 205px;
  width: 186px;
  max-width: 100%;
  z-index: 9;
  pointer-events: none;
}

/* =========================
   STORY
========================= */

.backgr-img {
  background-image: url('/assets/img/assets/backgr.png');
  background-color: #ffffff;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.backgr-img-dk {
  background-image: url('/assets/img/assets/diablak.png');
  background-color: #ffffff;
  background-size: 100% auto;
  background-position: top center;
  background-repeat: no-repeat;
}

.story {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 2000px;
  padding-bottom: 189px;
  overflow: hidden;
}

.mountain-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: min(900px, 65vw);
  max-width: 100%;
  opacity: 1;
  z-index: 1;
  pointer-events: none;
}

.duza,
.mala {
  position: absolute;
  z-index: 10;
  max-width: min(90vw, 480px);
}

.duza {
  left: 143px;
  top: -74px;
  width: 472px;
}

.mala {
  right: 43px;
  top: 380px;
  width: 450px;
}

.photo-left,
.photo-right,
.trail,
.trees {
  position: absolute;
  max-width: 100%;
  pointer-events: none;
}

.photo-left {
  left: 0;
  top: 282px;
  width: min(520px, 42vw);
  z-index: 6;
}

.trail {
  left: 245px;
  top: 187px;
  width: min(665px, 52vw);
  z-index: 0;
}

.photo-right {
  right: 0;
  top: 623px;
  width: min(520px, 42vw);
  z-index: 5;
}

.trees {
  left: 0;
  bottom: 395px;
  width: min(686px, 54vw);
  opacity: 0.6;
  z-index: 0;
}

.duza h2,
.mala h2 {
  margin: 9px 9px 14px;
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1.1;
}

.duza p,
.mala p {
  margin: 0 0 30px;
  font-size: 14px;
  line-height: 1.4;
  word-break: break-word;
}

.underline {
  width: 424px;
  max-width: 100%;
  padding-bottom: 27px;
}

/* =========================
   STATY
========================= */

.korona-stats {
  margin: 16px 0;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0;
  text-align: center;
  flex-wrap: nowrap;
  min-width: 0;
  padding-bottom: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.korona-stats::-webkit-scrollbar {
  display: none;
}

.stat {
  min-width: 109px;
  flex: 0 0 auto;
}

.stat-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 6px;
}

.ico,
.map-ico {
  width: 26px;
  height: 26px;
}

.ico {
  color: #f96331;
}

.map-ico {
  color: #646464;
}

.stat-value {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.stat-label {
  font-size: 12px;
  opacity: 0.75;
}

/* =========================
   BUTTON
========================= */

.btn-discover {
  position: relative;
  z-index: 9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(135deg, #650806, #edb6ad);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  text-align: center;
  transition: all 0.3s ease;
      border: 2px solid #aaa;
      margin: 10px 20px;
}

.btn-discover .arrow {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: white;
  stroke-width: 2;
  transition: transform 0.3s ease;
}

.btn-discover:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

.btn-discover:hover .arrow {
  transform: translateX(4px);
}

.btn-discover::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transform: skewX(-20deg);
  transition: left 0.6s;
}

.btn-discover:hover::after {
  left: 130%;
}

/* =========================
   FOOTER
========================= */

footer {
  position: relative;
  width: 100%;
  max-width: 100%;
  background: #000000;
  color: #ffffff;
  margin-top: 198px;
  overflow: hidden;
  z-index: 9999999;
}

.footer-mountains {
  position: relative;
  left: 0;
  width: 100%;
  max-width: 100%;
  pointer-events: none;
}

.footer-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  max-width: 1600px;
  margin: 0 auto;
  padding: 80px 140px;
}

.footer-content > div {
  min-width: 0;
}

/* =========================
   BREAKPOINTS
========================= */

@media screen and (min-width: 1600px) {
  .story {
    max-width: 1800px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 1400px) {
  .story {
  min-height: 1780px;
}
  .trail {
    display: block;
    top: 306px;
    left: 70px;
    width: min(1104px, 165vw);
  }

  .photo-left {
    top: 500px;
    width: min(549px, 53vw);
  }

  .duza {
    left: 130px;
    top: 75px;
    text-align: center;
  }

  .mala {
    right: 118px;
    top: 575px;
  }

  .photo-right {
    top: 380px;
    width: min(492px, 77vw);
  }

  .trees {
    bottom: 426px;
    width: min(724px, 73vw);
  }

  .mountain-bg {
    width: min(959px, 68vw);
  }
}

@media screen and (max-width: 1200px) {
  .kb-header__center,
  .kb-header__right {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .kb-header {
    padding-left: max(30px, var(--kb-safe-left));
    padding-right: max(30px, var(--kb-safe-right));
  }

  .hero {
    min-height: 500px;
  }

  .story {
    min-height: 1450px;
  }

  .photo-left {
    width: 400px;
    top: 220px;
  }

  .duza {
    left: 70px;
    width: 300px;
  }

  .mala {
    right: 20px;
    width: 280px;
  }

  .photo-right {
    top: 550px;
    width: 400px;
  }

  .trees {
    bottom: 300px;
    width: 450px;
  }

  .footer-content {
    padding: 60px 80px;
  }
}

@media screen and (max-width: 992px) {
  .hero {
    min-height: 460px;
  }

  .story {
    min-height: 1320px;
  }

  .photo-left {
    top: 180px;
    width: 350px;
  }

  .duza {
    left: 40px;
    top: -20px;
    width: 280px;
  }

  .mala {
    top: 300px;
    right: 20px;
    width: 250px;
  }

  .photo-right {
    top: 500px;
    width: 350px;
  }

  .trees {
    bottom: 250px;
    width: 380px;
  }

  .mountain-bg {
    top: -80px;
    width: 550px;
  }

  .footer-content {
    flex-wrap: wrap;
    gap: 30px;
    padding: 40px 60px;
  }
}

@media screen and (max-width: 1200px) {
  .hero {
    min-height: 400px;
    margin-top: -58px;
  }

  .hero-title {
    left: 20px;
    top: 95px;
    font-size: clamp(28px, 7vw, 36px);
  }

  .story {
    min-height: auto;
    padding: 40px 20px 80px;
    overflow: hidden;
  }

  /* wyÅ‚Ä…cz stare absoluty */
  .duza,
  .mala,
  .photo-left,
  .photo-right,
  .trees,
  .hero-mob,
  .mountain-bg,
  .trail {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
  }

  .story-top {
    display: grid;
    grid-template-columns: 70% 30%;
    gap: 16px;
    align-items: start;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
  }

  .story-top__left {
    min-width: 0;
  }

  .story-top__mask {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    min-width: 0;
  }

  .duza {
    width: 100%;
    max-width: 100%;
    text-align: left;
    z-index: 3;
  }

  .hero-mob {
    width: 100%;
    max-width: 140px;
    height: auto;
    z-index: 3;
  }

  .story-main {
    display: flex;
    flex-direction: column;
    gap: 28px;
    position: relative;
    z-index: 2;
  }

  .story-main__left-media {
    width: 100%;
  }

  .photo-left {
    width: min(420px, 100%);
    margin: 0;
    display: none;
  }

  .story-main__center-path {
    display: none;
  }

  .mala {
    width: 100%;
    max-width: 100%;
    text-align: left;
    z-index: 3;
  }

  .story-main__right-media {
    width: 100%;
    display: flex;
    justify-content: flex-end;
  }

  .photo-right {
    width: min(420px, 100%);
    margin: 0;
  }

  .trees {
    width: min(300px, 75%);
    opacity: 0.2;
  }

  .mountain-bg {
    position: absolute;
    top: 20px;
    right: -60px;
    width: 360px;
    z-index: 0;
    opacity: 0.12;
    pointer-events: none;
  }

  .trail {
    display: none;
  }

  .underline {
    width: 200px;
  }

  .footer-content {
    padding: 30px 40px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }

  .footer-content > div {
    width: 100%;
  }
}

@media screen and (max-width: 576px) {
  .story-top {
        display: block;
        position: relative;
        gap: 16px;
        align-items: start;
        margin-bottom: 24px;
        position: relative;
        z-index: 2;
    }
    .hero {
    min-height: 410px;
    text-align: center;
  }
  .hero__content {
    display:block;
  }

  .hero-title {
    left: 0;
    right: 0;
    top: 82px;
    text-align: center;
    font-size: 38px;
  }
  .logo-hero {
    display: none;
  }
  .hero-sub {
    font-size: 23px !important;
    font-weight: 100;
    display: block;
    padding-top: 20px;
    font-family: antro vectra;
}
  .hero-bg {
    object-position: center center;
    height: 100% !important;
  }

  .hero-mask {
    bottom: 0;
  }

  .story {
    gap: 28px;
    padding: 30px 16px 70px;
  }

  .photo-left,
  .photo-right {
    display: none;
  }

  .duza,
  .mala {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .duza h2,
  .mala h2 {
    margin-left: 0;
    margin-right: 0;
    font-size: 24px;
  }

  .duza p,
  .mala p {
    font-size: 13px;
    line-height: 1.65;
  }

  .korona-stats {
    justify-content: space-evenly;
    gap: 2px;
    padding-bottom: 14px;
  }

  .stat {
    min-width: 92px;
  }

  .stat-value {
    font-size: 15px;
  }

  .stat-label {
    font-size: 11px;
  }

  .trees {
    width: 220px;
    margin: 0 auto;
  }

  .mountain-bg {
    top: 80px;
    right: -80px;
    width: 320px;
  }

  .underline,
  .hero-mob {
    display: none;
  }

  .btn-discover {
    padding: 13px 25px;
        font-size: 13px;
        max-width: 250px !important;
        min-width: 250px !important;
        margin-top: 15px;
  }
  .btn-start {
  margin-bottom: 8px !important;
  min-width: 250px !important;
  }

  .footer-content {
    padding: 20px;
  }

  .footer-mountains {
    top: -100px;
  }
}

@media screen and (max-width: 390px) {
  .hero {
    min-height: 360px;
  }

  .hero-title {
    top: 49px;
    font-size: 33px;
  }

  .duza h2,
  .mala h2 {
    font-size: 27px;
  }

  .stat {
    min-width: 64px;
  }

  .ico,
  .map-ico {
    width: 22px;
    height: 22px;
  }
}

@media screen and (max-width: 360px) {
  .kb-header {
    padding-left: max(14px, var(--kb-safe-left));
    padding-right: max(14px, var(--kb-safe-right));
  }

  .kb-logo img {
    width: 52px;
    height: 52px;
  }

  .hamburger {
    width: 28px;
    height: 20px;
  }

  .mobile-nav a {
    font-size: 20px;
  }

  .btn-discover {
    width: 100%;
  }
}
.br-icon{
  font-size: 24px;
}
.profile-dropdown .a-profile {
  display: flex !important;
  align-items: center !important;
  gap: 8px;
  height: 100%;
  line-height: 1;
  padding-top: 0;
  padding-bottom: 0;
}

.profile-dropdown .a-profile img {
  display: block;
  width: 33px;
  height: 33px;
  object-fit: cover;
}

.profile-dropdown .a-profile .usrname {
  display: flex;
  align-items: center;
  line-height: 1;
  white-space: nowrap;
}

.profile-dropdown .a-profile .icon-arrow-down {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
}
