
:root {
  --bg: #f6f6f6;
  --card: #ffffff;
  --text: #0b0b0b;
  --muted: #3a3a3a;
  --line: #dfdfdf;
  --blue: #1d6fd5;
  --orange: #e86c2f;
  --green: #2f9b68;
  --purple: #8556d8;
  --amber: #d1931a;
  --teal: #149fa4;
  --coral: #d05b5b;
  --leaf: #4d9b3c;
  --slate: #3f4a5a;
  --cyan: #2b9bc7;
  --milwaukee: #c1121f;
}

body {
  font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.page_koszalka {
  padding: 24px 16px 48px;
}

.container_koszalka {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
}

.eyebrow_koszalka {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 12px;
}

h1 {
  font-size: 42px;
  line-height: 1.15;
  margin-bottom: 16px;
}

h2 {

}


.page_koszalka h2{
  font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  color: #030303;
  text-rendering: optimizelegibility;
  line-height: 1;
}

.page_koszalka h2 {
   font-size: 32px;
  line-height: 1.2;
  margin-bottom: 12px;
  text-transform: none;
}

.lead_koszalka {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}

.button_koszalka {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 600;
  border: 1px solid var(--text);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.button_koszalka:hover{
color: white;
}


.button--primary_koszalka {
  background: var(--text);
  color: #fff;
}

.button--ghost_koszalka {
  background: transparent;
  color: var(--text);
}

.button_koszalka:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.section_koszalka {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  margin-bottom: 28px;
}

.section__head_koszalka {
  text-align: left;
  margin-bottom: 20px;
}

.section__lead_koszalka {
  color: var(--muted);
  margin-bottom: 0;
}

.top-hero_koszalka {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.top-hero__item_koszalka {
  position: relative;
  min-height: 320px;
  max-height: 500px;
  height: 45vw;
  border-radius: 18px;
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  text-decoration: none;
}

.top-hero__item_koszalka::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg-image);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  transition: transform 0.35s ease;
  z-index: 0;
}

.top-hero__item_koszalka .button_koszalka {
  pointer-events: none;
}

.top-hero__item--home_koszalka {
  --bg-image: url('/img/wisOKno_1.jpg');
}

.top-hero__item--baner_koszalka {
  --bg-image: url('/img/baner1.png');
}

.top-hero__item_koszalka:hover::before {
  transform: scale(1.03);
}

.top-hero__overlay_koszalka {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.45) 100%);
  z-index: 1;
}

.top-hero__content_koszalka {
  position: relative;
  z-index: 1;
  max-width: 360px;
}

.top-hero__content_koszalka h2,
.top-hero__content_koszalka .eyebrow_koszalka {
  color: #fff;
}

.top-hero__content_koszalka h2 {
  font-size: 38px;
}

.top-hero__content_koszalka .button_koszalka {
  margin-top: 12px;
}

.split-feature_koszalka {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
  align-items: stretch;
}

.feature-card_koszalka {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.04);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 18px;
  align-items: center;
  height: 100%;
}

.feature-card__content_koszalka .cta-row_koszalka {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.feature-card__media_koszalka img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.feature-card__media--full_koszalka {
  position: relative;
  min-height: 280px;
  height: 100%;
}

.feature-card__bg_koszalka {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: url('//img/Baner_fb_koszałka_matec_1080x1080.jpg') center center / cover no-repeat;
}

.feature-card__cta_koszalka {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 1;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.feature-card--milwaukee_koszalka {
  display: block;
  background: transparent;
  border: 0;
  padding: 0;
  min-height: 360px;
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
}

.feature-card--milwaukee_koszalka .feature-card__media--full_koszalka {
  min-height: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
}

.button--milwaukee_koszalka {
  background: var(--milwaukee);
  border-color: var(--milwaukee);
}

.hero_koszalka {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
  margin-bottom: 32px;
}

.hero__content_koszalka .cta-row_koszalka {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.hero__visual_koszalka {
  display: flex;
  justify-content: flex-end;
}

.hero__card_koszalka {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 440px;
}

.hero__card_koszalka img {
  display: block;
  width: 100%;
  border-radius: 10px;
}

.hero__tag_koszalka {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #fff;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--line);
}

.home-categories_koszalka {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.home-categories__item_koszalka {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  background-color: #ffffff;
  text-align: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.03);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}

.home-categories__item_koszalka:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.06);
}

.icon-wrap_koszalka {
  width: 88px;
  height: 88px;
  margin: 0 auto 12px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--text);
  background: #f7f7f7;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.icon-wrap_koszalka svg {
  width: 44px;
  height: 44px;
}

.home-categories__item_koszalka:hover .icon-wrap_koszalka {
  transform: scale(1.05);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

.home-categories_koszalka a {
  color: var(--text);
}

.home-categories_koszalka .title_koszalka {
  font-size: 17px;
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 0;
}

.tone-blue_koszalka .icon-wrap_koszalka {
  color: var(--blue);
  background: #e9f1ff;
  border-color: #d7e4fb;
}

.tone-orange_koszalka .icon-wrap_koszalka {
  color: var(--orange);
  background: #fff0e7;
  border-color: #ffd7c2;
}

.tone-green_koszalka .icon-wrap_koszalka {
  color: var(--green);
  background: #e8f6ef;
  border-color: #d0eadb;
}

.tone-purple_koszalka .icon-wrap_koszalka {
  color: var(--purple);
  background: #f2ebff;
  border-color: #e2d5ff;
}

.tone-amber_koszalka .icon-wrap_koszalka {
  color: var(--amber);
  background: #fff6e6;
  border-color: #ffe8be;
}

.tone-teal_koszalka .icon-wrap_koszalka {
  color: var(--teal);
  background: #e7f8f8;
  border-color: #c7eded;
}

.tone-coral_koszalka .icon-wrap_koszalka {
  color: var(--coral);
  background: #ffecec;
  border-color: #ffd0d0;
}

.tone-leaf_koszalka .icon-wrap_koszalka {
  color: var(--leaf);
  background: #e9f4e6;
  border-color: #d1e7c6;
}

.tone-slate_koszalka .icon-wrap_koszalka {
  color: var(--slate);
  background: #eff2f6;
  border-color: #d7dde7;
}

.tone-cyan_koszalka .icon-wrap_koszalka {
  color: var(--cyan);
  background: #e7f7fd;
  border-color: #cceaf7;
}

.promo_koszalka {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}

.promo__content_koszalka .lead_koszalka {
  margin: 12px 0 18px;
}

.promo--highlight_koszalka {
  border-color: var(--milwaukee);
  box-shadow: 0 14px 34px rgba(193, 18, 31, 0.12);
}

.promo__gallery_koszalka {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.promo__tile_koszalka {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.promo__tile_koszalka img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.promo__tile_koszalka:hover img {
  transform: scale(1.05);
}

.media-promo_koszalka {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.media-promo--plain_koszalka {
  margin: 0 auto 28px;
  padding: 0;
}

.media-promo__frame_koszalka {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
  background: #000;
  max-height: 400px;
}

.media-promo__frame_koszalka video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-promo__img_koszalka {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-promo__cta_koszalka {
  position: absolute;
  bottom: 16px;
  left: 16px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.media-promo__banner_koszalka {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
  background: #fff;
}

.media-promo__banner_koszalka img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholders_koszalka {
  margin-top: 32px;
  margin-bottom: 12px;
}

.placeholder_koszalka {
  margin-bottom: 18px;
}

.placeholder--half_koszalka,
.placeholder--thirds_koszalka {
  display: grid;
  gap: 16px;
}

.placeholder--half_koszalka {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.placeholder--thirds_koszalka {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.placeholder__col_koszalka h3 {
  margin-bottom: 8px;
}

.placeholder__col_koszalka p {
  margin-bottom: 0;
  color: var(--muted);
}

.banner-wide_koszalka {
  margin-top: 16px;
}

.banner-wide_koszalka img {
  display: block;
  width: 100%;
  max-height: 400px;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

@media (max-width: 900px) {
  .split-feature_koszalka {
    grid-template-columns: 1fr;
  }

  .feature-card_koszalka {
    grid-template-columns: 1fr;
  }

  .top-hero_koszalka,
  .hero_koszalka,
  .promo_koszalka,
  .media-promo_koszalka,
  .placeholder--half_koszalka,
  .placeholder--thirds_koszalka {
    grid-template-columns: 1fr;
  }

  .hero__visual_koszalka,
  .hero__content_koszalka {
    justify-content: flex-start;
  }

  .home-categories_koszalka {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

@media (max-width: 640px) {
  .page_koszalka {
    padding: 16px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 26px;
  }

  .section_koszalka {
    padding: 24px;
  }
}
