:root {
  /* Paleta bazowa (domyślnie: IzerBike / łąka) – nadpisywana przez css/theme-*.css */
  --ib-primary: #afcb1f;
  --ib-accent: #79b833;
  --ib-accent-deep: #6aab32;
  --ib-dark: #1f1f1f;
  --ib-text: #1f1f1f;
  --ib-light: #f7f9f4;
  --ib-muted: #5a5a5a;
  --ib-muted-light: #6b6b6b;
  --ib-border-accent: rgba(121, 184, 51, 0.15);
  --ib-border-accent-strong: rgba(183, 183, 183, 0.534);
  --ib-shadow-accent: rgba(121, 184, 51, 0.18);
  --ib-shadow-accent-soft: rgba(121, 184, 51, 0.12);
  --ib-overlay-dark: rgba(31, 31, 31, 0.78);
  --ib-overlay-dark-soft: rgba(31, 31, 31, 0.55);
  --ib-overlay-accent: rgba(121, 184, 51, 0.55);
  --ib-overlay-accent-soft: rgba(121, 184, 51, 0.35);
  --ib-overlay-accent-faint: rgba(121, 184, 51, 0.25);
  --ib-carousel-overlay-start: rgba(31, 31, 31, 0.55);
  --ib-carousel-overlay-end: rgba(31, 31, 31, 0.7);
  --ib-check-stroke: #79b833;
  --header-height: 90px;
  --container-max: 1366px;
  --footer-tear-overlap: clamp(2.5rem, 6vw, 4.5rem);
}

* {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--ib-text);
  padding-top: 0;
  padding-bottom: 0;
}

/* Header – układ jak IzerBike */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background: transparent;
  box-shadow: none;
  transition: background 0.3s ease, box-shadow 0.3s ease, min-height 0.3s ease;
}

.site-header.is-scrolled {
  background: var(--ib-accent);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.22);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-height);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0.5rem 1.25rem;
}

.site-header.is-scrolled .site-header__inner {
  min-height: 65px;
}

.site-header__logo img {
  height: 72px;
  width: 72px;
  object-fit: cover;
  border-radius: 50%;
  transition: height 0.3s ease, width 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled .site-header__logo img {
  height: 52px;
  width: 52px;
}

/* Start – większe logo w kole z cieniem */
body[data-page="home"] .site-header__inner {
  min-height: 108px;
}

body[data-page="home"] .site-header__logo img {
  height: 100px;
  width: 100px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.25);
  border: 3px solid rgba(255, 255, 255, 0.35);
}

body[data-page="home"] .site-header.is-scrolled .site-header__inner {
  min-height: 65px;
}

body[data-page="home"] .site-header.is-scrolled .site-header__logo img {
  height: 56px;
  width: 56px;
  border-width: 2px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.site-header__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.site-header__toggle span {
  display: block;
  height: 3px;
  width: 26px;
  background: var(--ib-primary);
  border-radius: 2px;
  transition: background 0.3s ease;
}

.site-header.is-scrolled .site-header__toggle span {
  background: var(--ib-dark);
}

.site-header__nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.site-header__menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Zapis WYSIWYG czasem owija <li> dodatkowym <ul> — bez tego menu jest pionowe */
.site-header__menu > ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.site-header__menu a {
  display: block;
  padding: 0.55rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: color 0.25s ease, background 0.25s ease;
}

.site-header__menu a:hover,
.site-header__menu a:focus,
.site-header__menu a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.site-header.is-scrolled .site-header__menu a {
  /* color: var(--ib-dark); */
  color: var(--ib-light);
}

.site-header.is-scrolled .site-header__menu a:hover,
.site-header.is-scrolled .site-header__menu a:focus,
.site-header.is-scrolled .site-header__menu a.active {
  color: #fff;
  background: var(--ib-dark);
}

.site-header__menu .nav-cta a {
  background: var(--ib-primary);
  color: var(--ib-dark) !important;
  border-radius: 4px;
  margin-left: 0.35rem;
  padding: 0.55rem 1rem;
}

.site-header__menu .nav-cta a:hover,
.site-header.is-scrolled .site-header__menu .nav-cta a:hover {
  background: #fff;
  color: var(--ib-dark) !important;
}

@media (min-width: 1200px) {
  .site-header__menu a {
    font-size: 0.85rem;
    padding: 0.6rem 0.75rem;
  }
}

@media (max-width: 1199.98px) {
  .site-header__toggle {
    display: flex;
  }

  .site-header__nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--ib-dark);
    padding: 1.25rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    flex: none;
    justify-content: flex-start;
  }

  .site-header__nav.is-open {
    transform: translateX(0);
  }

  .site-header.is-scrolled .site-header__nav {
    background: var(--ib-accent);
  }

  .site-header__menu,
  .site-header__menu > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-header__menu a {
    font-size: 1rem;
    padding: 0.85rem 1rem;
  }

  .site-header__menu .nav-cta {
    margin-top: 0.75rem;
  }

  .site-header__menu .nav-cta a {
    margin-left: 0;
    text-align: center;
  }
}

@media (min-width: 1200px) {
  .site-header__toggle {
    display: none;
  }
}

body.nav-open {
  overflow: hidden;
}

/* Carousel */
#heroCarousel.carousel {
  margin-bottom: 0;
  margin-top: 0;
}

#heroCarousel .carousel-indicators [data-bs-target] {
  background-color: var(--ib-primary);
}

#heroCarousel .carousel-control-prev-icon,
#heroCarousel .carousel-control-next-icon {
  filter: none;
  background-color: var(--ib-accent);
  border-radius: 4px;
  padding: 1.25rem;
  background-size: 50%;
}

#heroCarousel .carousel-item {
  position: relative;
  height: 85vh;
  min-height: 520px;
  max-height: 900px;
}

#heroCarousel .carousel-item img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

#heroCarousel .carousel-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--ib-carousel-overlay-start) 0%,
    var(--ib-overlay-accent-faint) 50%,
    var(--ib-carousel-overlay-end) 100%
  );
  z-index: 1;
}

#heroCarousel .carousel-caption {
  bottom: auto;
  top: 50%;
  transform: translateY(-38%);
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  left: 0;
  right: 0;
  padding: 0 1.5rem;
}

#heroCarousel .carousel-caption h1 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.35;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

#heroCarousel .carousel-caption .lead {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
}

.btn-wypozyczalnia {
  background: var(--ib-accent);
  border-color: var(--ib-accent);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.btn-wypozyczalnia:hover,
.btn-wypozyczalnia:focus {
  background: var(--ib-primary);
  border-color: var(--ib-primary);
  color: var(--ib-dark);
}

.btn-outline-wypozyczalnia {
  border: 2px solid #fff;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 0.7rem 1.75rem;
  border-radius: 4px;
}

.btn-outline-wypozyczalnia:hover {
  background: #fff;
  color: var(--ib-dark);
}

.section-title {
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ib-dark);
  margin-bottom: 0.5rem;
}

.section-lead {
  color: var(--ib-muted);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
}

.icon-card {
  text-align: center;
  padding: 2rem 1.25rem;
  height: 100%;
  background: var(--ib-light);
  border: 1px solid var(--ib-border-accent);
  border-radius: 4px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.icon-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--ib-shadow-accent);
}

.icon-card .icon-wrap {
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-card .icon-wrap img {
  width: 80px;
  height: 80px;
  display: block;
}

.icon-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ib-dark);
}

.featurette-image {
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.page-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background-size: cover;
  background-position: center;
  margin-top: 0;
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 3rem;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--ib-overlay-dark),
    var(--ib-overlay-accent)
  );
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

.page-content {
  padding: 4rem 0;
}

main > .page-content:last-child {
  padding-bottom: calc(4rem + var(--footer-tear-overlap));
}

.bike-card img {
  height: 220px;
  object-fit: contain;
  background: #fff;
  padding: 1rem;
  border-radius: 4px;
}

.bike-card .card-body {
  background: var(--ib-light);
}

.price-table th {
  background: var(--ib-accent);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
}

.gallery-thumb {
  overflow: hidden;
  border-radius: 4px;
}

.gallery-thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-thumb:hover img {
  transform: scale(1.05);
}

.gallery-section__title {
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ib-dark);
  margin-bottom: 0.35rem;
}

.gallery-thumb-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  text-align: left;
}

.gallery-thumb-btn:focus-visible {
  outline: 2px solid var(--ib-accent);
  outline-offset: 2px;
}

.gallery-thumb-btn img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.gallery-thumb-btn:hover img,
.gallery-thumb-btn:focus-visible img {
  transform: scale(1.04);
  filter: brightness(0.55);
}

.gallery-thumb-btn__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: rgba(31, 31, 31, 0.52);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.gallery-thumb-btn:hover .gallery-thumb-btn__overlay,
.gallery-thumb-btn:focus-visible .gallery-thumb-btn__overlay {
  opacity: 1;
}

.gallery-thumb-btn__zoom {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: var(--ib-accent);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.gallery-thumb-btn__zoom svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.gallery-thumb-btn__zoom-text {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ib-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  background: var(--ib-primary);
}

.gallery-thumb-btn__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 0.55rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(transparent, rgba(31, 31, 31, 0.88));
  pointer-events: none;
}

.gallery-thumb-btn:hover .gallery-thumb-btn__label,
.gallery-thumb-btn:focus-visible .gallery-thumb-btn__label {
  opacity: 0;
}

#photoLightbox .modal-dialog {
  max-width: min(96vw, 1100px);
  margin: 1rem auto;
}

#photoLightbox .modal-content {
  background: rgba(31, 31, 31, 0.97);
  border: none;
  border-radius: 4px;
}

#photoLightbox .modal-body {
  padding: 0;
  position: relative;
}

#photoLightbox .lightbox__img {
  width: 100%;
  max-height: min(82vh, 800px);
  object-fit: contain;
  display: block;
  margin: 0 auto;
  background: var(--ib-dark);
}

#photoLightbox .lightbox__caption {
  padding: 0.85rem 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#photoLightbox .btn-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  filter: invert(1);
  opacity: 0.85;
}

#photoLightbox .lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

#photoLightbox .lightbox__nav:hover {
  background: var(--ib-accent);
}

#photoLightbox .lightbox__nav--prev {
  left: 0.75rem;
}

#photoLightbox .lightbox__nav--next {
  right: 0.75rem;
}

#photoLightbox .lightbox__nav svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

#photoLightbox .lightbox__counter {
  position: absolute;
  top: 0.85rem;
  left: 1rem;
  z-index: 2;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.map-wrap {
  border-radius: 4px;
  overflow: hidden;
  min-height: 360px;
  background: #e9ecef;
}

.map-wrap iframe {
  width: 100%;
  height: 400px;
  border: 0;
}

/* Serwis – bloki oferty z ikonami */
.serwis-offer-group .serwis-offer-block:not(:last-child) {
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--ib-border-accent);
}

.serwis-offer-block {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.serwis-offer-block__icon {
  flex-shrink: 0;
  width: 3.25rem;
  height: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--ib-light);
  color: var(--ib-accent);
  border: 1px solid var(--ib-border-accent);
}

.serwis-offer-block__icon img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}

.serwis-offer-block__icon--sm {
  width: 2.75rem;
  height: 2.75rem;
}

.serwis-offer-block__body {
  min-width: 0;
}

.serwis-reasons__item:last-child {
  margin-bottom: 0 !important;
}

.map-wrap.trasy-embed__wrap iframe,
.trasy-embed__wrap iframe {
  height: 500px;
  min-height: 360px;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

@media (max-width: 575.98px) {
  .trasy-embed__wrap iframe {
    height: 420px;
  }
}

.contact-block__title {
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ib-dark);
  margin-bottom: 1.25rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.contact-info-item__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 0.15rem;
  color: var(--ib-accent);
  opacity: 0.95;
}

.contact-info-item__icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.contact-info-item__main {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ib-dark);
  margin: 0 0 0.2rem;
  line-height: 1.4;
}

.contact-info-item__main a {
  color: inherit;
  text-decoration: none;
}

.contact-info-item__main a:hover {
  color: var(--ib-accent);
}

.contact-info-item__note {
  font-size: 0.9rem;
  color: var(--ib-muted-light);
  margin: 0;
  line-height: 1.5;
}

.contact-form {
  padding: 1.75rem;
  background: var(--ib-light);
  border: 1px solid var(--ib-border-accent-strong);
  border-radius: 4px;
}

.contact-form .form-label {
  font-weight: 600;
  color: var(--ib-dark);
  margin-bottom: 0.35rem;
}

.contact-form .form-control,
.contact-form .form-select {
  border-color: rgba(31, 31, 31, 0.2);
  padding: 0.65rem 0.85rem;
  border-radius: 4px;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--ib-accent);
  box-shadow: 0 0 0 0.2rem var(--ib-shadow-accent-soft);
}

.contact-form .form-check-label {
  font-size: 0.9rem;
  color: var(--ib-muted);
  line-height: 1.5;
}

.contact-form .form-control.is-invalid,
.contact-form .form-select.is-invalid {
  border-color: #dc3545;
}

.contact-form__honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-layout {
  margin-bottom: 0.5rem;
}

.contact-cards {
  margin-bottom: 2.5rem;
}

.contact-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  height: 100%;
  padding: 1.5rem;
  background: var(--ib-light);
  border: 1px solid var(--ib-border-accent);
  border-radius: 4px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px var(--ib-shadow-accent-soft);
}

.contact-card__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ib-accent);
  color: #fff;
  border-radius: 50%;
}

.contact-card__icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.contact-card__title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ib-accent);
  margin-bottom: 0.35rem;
}

.contact-card__value {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ib-dark);
  margin-bottom: 0.25rem;
  line-height: 1.35;
}

.contact-card__value a {
  color: inherit;
  text-decoration: none;
}

.contact-card__value a:hover {
  color: var(--ib-accent);
}

.contact-card__desc {
  font-size: 0.9rem;
  color: var(--ib-muted);
  margin: 0;
  line-height: 1.55;
}

.contact-map-section h2 {
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ib-dark);
  margin-bottom: 1rem;
}

.contact-map-section .map-wrap {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--ib-border-accent);
}

.contact-map-section .map-wrap iframe {
  height: 420px;
}

/* Footer – IzerBike (poszarpany górny brzeg bez grafiki) */
.site-footer {
  --footer-tear-height: clamp(3.25rem, 8.5vw, 5.75rem);
  position: relative;
  background-color: var(--ib-dark);
  color: #fff;
  margin-top: calc(50px - var(--footer-tear-overlap));
  margin-bottom: 0;
  padding: 3.5rem 0 3rem;
  padding-top: calc(3rem + var(--footer-tear-height));
  text-align: center;
  overflow: visible;
  z-index: 2;
}

/* Warstwa tylna – limonka, „ząbki” wchodzą na białe tło */
.site-footer::before {
  content: '';
  position: absolute;
  top: calc(-1 * var(--footer-tear-overlap));
  left: 0;
  right: 0;
  height: calc(var(--footer-tear-height) + var(--footer-tear-overlap));
  background: var(--ib-primary);
  clip-path: polygon(
    0% 100%,
    0% 18%,
    2% 32%, 4% 12%, 6% 28%, 8% 10%, 10% 24%, 12% 8%, 14% 22%, 16% 12%,
    18% 26%, 20% 6%, 22% 18%, 24% 10%, 26% 24%, 28% 8%, 30% 20%, 32% 14%,
    34% 28%, 36% 10%, 38% 22%, 40% 16%, 42% 30%, 44% 8%, 46% 20%, 48% 14%,
    50% 28%, 52% 6%, 54% 18%, 56% 12%, 58% 26%, 60% 8%, 62% 20%, 64% 14%,
    66% 28%, 68% 10%, 70% 22%, 72% 16%, 74% 30%, 76% 8%, 78% 20%, 80% 14%,
    82% 28%, 84% 10%, 86% 22%, 88% 16%, 90% 30%, 92% 8%, 94% 20%, 96% 14%,
    98% 28%, 100% 12%,
    100% 100%
  );
  pointer-events: none;
  z-index: 0;
}

/* Warstwa przednia – zieleń → czerń */
.site-footer::after {
  content: '';
  position: absolute;
  top: calc(var(--footer-tear-overlap) * -0.35);
  left: 0;
  right: 0;
  height: calc(var(--footer-tear-height) + var(--footer-tear-overlap) * 0.65);
  background: linear-gradient(
    180deg,
    var(--ib-accent) 0%,
    var(--ib-accent-deep) 55%,
    var(--ib-dark) 100%
  );
  clip-path: polygon(
    0% 100%,
    0% 28%,
    3% 42%, 6% 22%, 9% 36%, 12% 18%, 15% 32%, 18% 14%, 21% 28%, 24% 16%,
    27% 30%, 30% 12%, 33% 26%, 36% 18%, 39% 32%, 42% 14%, 45% 28%, 48% 20%,
    51% 34%, 54% 16%, 57% 30%, 60% 22%, 63% 36%, 66% 18%, 69% 32%, 72% 24%,
    75% 38%, 78% 20%, 81% 34%, 84% 26%, 87% 40%, 90% 22%, 93% 36%, 96% 28%,
    100% 26%,
    100% 100%
  );
  pointer-events: none;
  z-index: 1;
}

.site-footer > .container {
  position: relative;
  z-index: 2;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
  transition: color 0.25s ease;
}

.site-footer a:hover {
  color: var(--ib-primary);
}

.site-footer .footer-brand img {
  height: 150px;
  width: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

.site-footer .footer-brand p {
  max-width: 420px;
  margin: 0 auto 1.5rem;
  font-weight: 500;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.site-footer .footer-contact {
  font-weight: 500;
  line-height: 2;
  margin-bottom: 1.5rem;
}

.site-footer .footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.site-footer .footer-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
}

.site-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2rem;
  padding-top: 1.25rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
}

.site-footer .tenet-footer-editor-link {
  margin: 0 0 0.75rem;
}

.site-footer .tenet-footer-editor-link a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
}

.site-footer .tenet-footer-editor-link a:hover {
  color: #fff;
}

.site-footer .tenet-footer-editor-on {
  color: #86efac;
}

.site-footer .tenet-footer-editor-off {
  color: #fcd34d;
}

.marketing {
  padding: 4rem 0 calc(4rem + var(--footer-tear-overlap));
}

.marketing-icon {
  width: 140px;
  height: 140px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  /* border-radius: 50%; */
  /* background: var(--ib-light); */
  /* border: 1px solid var(--ib-border-accent); */
  /* box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08); */
}

.marketing-icon img {
  width: 130px;
  height: 130px;
  display: block;
}

.featurette-divider {
  margin: 4rem 0;
  border: 0;
  border-top: 1px solid var(--ib-border-accent);
  opacity: 1;
  box-shadow:
    0 -1px 6px rgba(0, 0, 0, 0.03),
    0 4px 14px rgba(0, 0, 0, 0.06);
}

.featurette-heading {
  color: var(--ib-dark);
  font-weight: 700;
  text-transform: uppercase;
}

li::marker {
  color: var(--ib-accent);
}

@media (min-width: 40em) {
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.15rem;
  }
}

@media (min-width: 62em) {
  .featurette-heading {
    font-size: 2.25rem;
  }
}

body.has-page-hero {
  padding-top: 0;
}

/* Sekcja hero wypożyczalni – styl IzerBike */
.ib-rental-hero {
  position: relative;
  min-height: min(85vh, 720px);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: calc(var(--header-height) + 3rem) 0 4rem;
  overflow: hidden;
}

.ib-rental-hero__bg {
  position: absolute;
  inset: 0;
  background: url('../img/wypozyczalnia-rowerow.jpg') center / cover no-repeat;
  z-index: 0;
}

.ib-rental-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--ib-overlay-dark) 0%,
    var(--ib-overlay-dark-soft) 45%,
    var(--ib-overlay-accent-soft) 100%
  );
}

.ib-rental-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin-left: auto;
  margin-right: 0;
  color: #fff;
  text-align: right;
}

.ib-rental-hero__title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.ib-rental-hero__title span {
  font-weight: 300;
}

.ib-rental-hero__lead {
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.ib-rental-hero__brand-light {
  font-weight: 300;
}

.ib-rental-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}

.btn-wypozyczalnia--outline-dark {
  background: var(--ib-primary);
  border-color: var(--ib-primary);
  color: var(--ib-dark);
}

.btn-wypozyczalnia--outline-dark:hover,
.btn-wypozyczalnia--outline-dark:focus {
  background: #fff;
  border-color: #fff;
  color: var(--ib-dark);
}

/* Oferta – katalog rowerów (układ jak IzerBike / Elementor e-parent) */
.ib-bike-block {
  padding: clamp(3rem, 6vw, 5rem) 0;
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.ib-bike-block--alt {
  background: var(--ib-light);
}

.ib-bike-block .ib-ebike-showcase__details {
  padding-top: 0.25rem;
}

.ib-offer-cta {
  padding: 4rem 0 5rem;
  background: #fff;
}

.ib-offer-cta__title {
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ib-dark);
  margin-bottom: 0.75rem;
}

.ib-offer-cta__lead {
  max-width: 36rem;
  margin: 0 auto 1.5rem;
  color: var(--ib-muted);
  line-height: 1.6;
}

/* Intro z logo – tekst opływa obrazek (od md w górę) */
.ib-intro-with-logo {
  margin-bottom: 1.5rem;
}

.ib-intro-with-logo__img {
  width: min(280px, 52vw);
  max-width: min(280px, 52vw);
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Sekcja rowerów elektrycznych – IzerBike */
.ib-ebike-section {
  padding: 4rem 0;
  background: #fff;
}

.ib-ebike-section__heading {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ib-dark);
  margin-bottom: 2.5rem;
  text-align: center;
}

.ib-ebike-showcase__media {
  position: relative;
  margin-bottom: 1.5rem;
}

.ib-ebike-showcase__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  background: var(--ib-primary);
  color: var(--ib-dark);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
}

.ib-ebike-showcase__img-link {
  display: block;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.ib-ebike-showcase__img-link img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.35s ease;
}

.ib-ebike-showcase__img-link:hover img {
  transform: scale(1.02);
}

.ib-ebike-showcase__caption {
  font-size: 0.85rem;
  color: var(--ib-muted-light);
  margin: 0.5rem 0 0;
  text-align: center;
}

.ib-ebike-specs {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ib-ebike-specs li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.45;
}

.ib-ebike-specs li::before {
  content: '';
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  background-color: var(--ib-check-stroke);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23000' stroke-width='3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m4.5 12.75 6 6 9-13.5'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23000' stroke-width='3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m4.5 12.75 6 6 9-13.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ib-ebike-showcase__brand {
  max-width: 200px;
  height: auto;
  margin-bottom: 1rem;
}

.ib-ebike-showcase__model {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ib-dark);
  margin-bottom: 0.5rem;
}

.ib-ebike-showcase__price {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ib-accent);
  margin-bottom: 0.35rem;
}

.ib-ebike-showcase__sizes {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ib-muted);
  margin-bottom: 1.25rem;
}

.ib-ebike-showcase__desc {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ib-text);
  margin-bottom: 1.5rem;
}

.ib-ebike-showcase__desc p + p {
  margin-top: 1rem;
}

@media (max-width: 991.98px) {
  .ib-rental-hero__inner {
    max-width: 100%;
    text-align: left;
  }

  .ib-rental-hero__actions {
    justify-content: flex-start;
  }

  .ib-ebike-showcase__details {
    margin-top: 0.5rem;
  }
}
