:root {
  --main: #000; /* $main */
  --dark-txt: #222; /* $darkTxt */
  --radius-m: 0; /* $radiusM */
  --border: #e0e0e0;
  --transition: all 0.2s linear;
  --light-gray: #f6f6f6;
}

.custompage {
  margin: 80px 0;
}

.custompage *,
.footer__btns *,
.footer__btns {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

.custompage .scn__heading,
.scn__txt h2 {
  font-size: 34px;
  line-height: 41px;
  font-weight: 600;
  margin: 0;
}

.custompage .scn__content + a {
  margin-top: 50px;
}

.custompage__listtxt {
  text-align: center;
  margin-top: 30px;
  line-height: 27px;
}

.custompage__dlist {
  margin: 60px auto 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 80px;
}

.custompage__dlist li {
  border-top: 1px solid var(--border);
  padding: 25px 40px;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 15px;
}

.custompage__dlist li span {
  line-height: 27px;
}

.custompage__dlist li:nth-last-child(2) {
  border-bottom: 1px solid var(--border);
}

.custompage__dlist li:nth-last-child(1) {
  border-bottom: 1px solid var(--border);
}

.custompage__dlist li img {
  margin-top: 5px;
}

.custompage__list {
  margin: 40px auto 0 auto;
  padding: 0;
  list-style: none;
  max-width: 1123px;
}

.custompage__list.bg li {
  font-size: 21px;
  line-height: 31px;
  font-weight: 500;
}

.custompage__list.bg li img {
  background-color: var(--lightGray);
  width: 50px;
  height: 50px;
  object-fit: contain;
  padding: 15px;
  border-radius: 50px;
  margin-top: unset;
}

.custompage__list.bg li span {
  margin-top: 10px;
  line-height: 31px;
}

.custompage__list li {
  border-bottom: 1px solid var(--border);
  padding: 25px 40px;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 15px;
}

.custompage__list li span {
  line-height: 27px;
}

.custompage__list li:first-child {
  border-top: 1px solid var(--border);
}

.custompage__list li img {
  margin-top: 5px;
}

.scn__txt h2 {
  margin: 20px 0;
}

.scn__txt h2:first-child {
  margin-top: 0;
}

.custompage__gall {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-top: 40px;
}

.custompage__gall a {
  overflow: hidden;
  position: relative;
  display: block;
  border-radius: var(--radiusM);
}

.custompage__gall a:hover img {
  transform: scale(1.025);
}

.custompage__gall a img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  vertical-align: bottom;
  transition: var(--transition);
}

.contact__address {
  margin-bottom: 20px;
}

/* md */
@media only screen and (max-width: 991px) {
  .custompage {
    margin: 60px 0;
  }

  .custompage__dlist {
    margin: 50px auto 0 auto;
    grid-template-columns: 1fr;
  }

  .custompage__dlist li {
    padding: 25px 0;
  }

  .custompage__dlist li:nth-last-child(2) {
    border-bottom: unset;
  }

  .custompage__list {
    margin: 30px auto 0 auto;
  }

  .custompage__list li {
    padding: 25px 0;
  }

  .custompage__gall {
    grid-template-columns: 1fr 1fr;
    margin-top: 30px;
  }

  .custompage .scn__heading,
  .scn__txt h2 {
    font-size: 26px;
    line-height: 33px;
  }
}

/* sx */
@media only screen and (max-width: 575px) {
  .custompage__list.bg li {
    font-size: 18px;
    line-height: 28px;
  }

  .custompage__gall {
    grid-template-columns: 1fr;
  }
}

/* Wrapper */
.scn__wrapper {
  max-width: 1360px;
  padding: 0 40px;
  margin: 0 auto;
  width: 100%;
}

@media only screen and (max-width: 1206px) {
  .scn__wrapper {
    padding: 0 30px;
  }
}

/* Grid */
.scn__grid {
  display: grid;
  grid-template-columns: minmax(100px, 1fr) minmax(100px, 1fr);
  gap: 90px;
}

.scn__grid.acenter {
  align-items: center;
}

/* Image */
.scn__img > img {
  width: 100%;
  vertical-align: bottom;
  border-radius: var(--radius-m);
}

/* Content */
.scn__content.right {
  margin-right: 20px;
}

/* Text */
.scn__txt {
  margin: 40px 0 0 0;
}

.scn__heading.centered {
  text-align: center;
}

/* mq(ml) – ustaw realny breakpoint */
@media (max-width: 1199px) {
  .scn__grid {
    gap: 50px;
  }
}

/* mq(md) – ustaw realny breakpoint */
@media (max-width: 991px) {
  .scn__grid {
    grid-template-columns: minmax(100px, 1fr);
  }

  .scn__img.imgtop {
    grid-row: 1;
  }

  .scn__content.right {
    margin-right: 0;
  }

  .scn__txt {
    margin: 30px 0 0 0;
  }
}

.pluslist ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.pluslist ul li {
  padding-left: 25px;
  margin-bottom: 10px;
  background: url(img/li-ico.svg) 0 7px / 8px 8px no-repeat;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  break-inside: avoid;
}

.pluslist ul li:last-child {
  margin-bottom: 0;
}

.pluslist a {
  text-decoration-line: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

.offer_s__bg {
  background-color: #f6f6f6;
  padding: 25px 30px 30px 30px;
  margin-top: 50px;
}

.offer_s__bg h3 {
  font-size: 22px;
  line-height: 31px;
  font-weight: 600;
  margin: 0 0 25px 0;
}

.offer_s__btns {
  display: flex;
  align-items: center;
  gap: 10px;
}

.offer_s__btns a {
  width: 100%;
}

.offer_s__btns a:first-of-type {
  color: #fff;
  background-color: #16376d;
  line-height: 65px;
  padding: 0 10px;
  text-decoration: none;
  font-size: 17px;
  font-weight: bold;
  transition: var(--transition);
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.offer_s__btns a:first-of-type:hover {
  color: #fff;
  background-color: #12254c;
}

.offer_s__btns a:last-of-type {
  color: #16376d;
  background-color: transparent;
  border: 2px solid #16376d;
  line-height: 61px;
  padding: 0 10px;
  text-decoration: none;
  font-size: 17px;
  font-weight: bold;
  transition: var(--transition);
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}

.offer_s__btns a:last-of-type:hover {
  color: #fff;
  background-color: #12254c;
  border: 2px solid #12254c;
}

.offer_s__btns a:first-of-type img {
  height: 28px;
  vertical-align: bottom;
}

@media only screen and (max-width: 1206px) {
  .offer_s__bg {
    padding: 15px 20px 20px 20px;
  }
}

@media (max-width: 1200px) {
  .offer_s__btns {
    flex-wrap: wrap;
  }
}

.offer_s2__cols {
  display: flex;
  font-size: 21px;
  font-weight: 600;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  line-height: 31px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
  color: var(--dark-txt);
}

.offer_s2__col {
  display: grid;
  grid-template-columns: minmax(20px, max-content) max-content;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 15px;
}

.offer_s2__col > div {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50px;
  background-color: var(--light-gray);
}

.offer_s2__col > div img {
  height: 15px;
  max-width: 100%;
  width: auto;
}

/* mq(mn) – ustaw realny breakpoint */
@media (max-width: 767px) {
  .offer_s2__cols {
    flex-direction: column;
  }

  .offer_s2__col {
    grid-template-columns: 50px 350px;
  }
}

/* mq(sm) – ustaw realny breakpoint */
@media (max-width: 575px) {
  .offer_s2__cols {
    font-size: 18px;
    line-height: 28px;
  }

  .offer_s2__col {
    grid-template-columns: 40px 1fr;
  }

  .offer_s2__col > div {
    width: 40px;
    height: 40px;
  }

  .offer_s2__col > div img {
    height: 10px;
  }
}

.footer__btns {
  display: none;
  align-items: center;
  gap: 10px;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--light-gray);
  padding: 10px;
  flex-wrap: nowrap;
  z-index: 9999;
}

.footer__btns a:first-of-type {
  line-height: 45px;
  font-size: 13px;
}

.footer__btns a:last-of-type {
  line-height: 41px;
  font-size: 13px;
}

.footer__btns a:first-of-type img {
  height: 22px;
  vertical-align: bottom;
}

@media (max-width: 767px) {
  .footer__btns {
    display: flex;
  }
}
