.has-fade {
  visibility: hidden;
}

img {margin-bottom: 2em;}

@keyframes fade-in {
  from {
    visibility: hidden;
    opacity: 0;
  }
  1% {
    visibility: visible;
    opacity: 0;
  }
  to {
    visibility: visible;
    opacity: 1;
  }
}
.fade-in {
  animation: fade-in 200ms ease-in-out forwards;
}

@keyframes fade-out {
  from {
    visibility: visible;
    opacity: 1;
  }
  99% {
    visibility: visible;
    opacity: 0;
  }
  to {
    visibility: hidden;
    opacity: 0;
  }
}
.fade-out {
  animation: fade-out 200ms ease-in-out forwards;
}

html {
  font-size: 100%;
  box-sizing: border-box;
}

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

/* ubuntu-regular - latin */
@font-face {
  font-family: "Ubuntu";
  font-style: normal;
  font-weight: 300;
  src:
    local(""),
    url("../fonts/ubuntu-v15-latin-regular.woff2") format("woff2"),
    url("../fonts/ubuntu-v15-latin-regular.woff") format("woff");
  font-display: swap;
}
body {
  margin: 0;
  padding: 0;
  font-family: "Ubuntu", sans-serif;
  font-size: 1.125rem;
  font-weight: 300;
  color: #55455f;
  line-height: 1.3;
  overflow-x: hidden;
}

.chatbot-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(to right, #57266e, #55226d);
  color: #fff;
  padding: 10px 20px;
  border-radius: 2px;
  cursor: pointer;
}

.chatbot-icon:hover {
  color: #f5f0ff;
}

@media (min-width: 64em) {
  body {
    font-size: 1.125rem;
  }
}
body.noscroll {
  overflow: hidden;
}

h1,
h2,
h3 {
  font-weight: 300;
  line-height: 1.2;
  color: #281128;
  margin-top: 0px;
}

h1 {
  font-size: 2.31rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 64em) {
  h1 {
    font-size: 3.25rem;
  }
}

h2 {
  font-size: 1.15rem;
  margin-bottom: 1.5625rem;
}
@media (min-width: 64em) {
  h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
  }
}

h3 {
  font-size: 1em;
  margin-bottom: 1rem;
}
@media (min-width: 64em) {
  h3 {
    font-size: 1.25rem;
    margin-bottom: 2.25rem;
    line-height: 2rem;
  }
}

h4 {
  font-weight: 300;
  font-size: 1.125rem;
  color: #57266e;
  line-height: 1.8rem;
  margin: 3rem 2.5rem 2rem;
}

h4.spec {
  font-weight: 300;
  font-size: 1.125rem;
  color: #57266e;
  line-height: 1.8rem;
  margin: -0.5rem 2.5rem 2rem;
}

.link {
  color: #391948;
  text-decoration: none;
}

p {
  line-height: 1.5;
  margin-bottom: 2.25rem;
}

a,
a:visited,
a:hover {
  text-decoration: none;
  color:#151415;
}

.container {
  max-width: 60rem;
  margin: 0 auto;
}
.container--pall {
  padding-top: 3.375rem;
  padding-right: 1.5rem;
  padding-bottom: 3.375rem;
  padding-left: 1.5rem;
}

@media (min-width: 64em) {
  .container--pall {
    padding-top: 5rem;
    padding-bottom: 3rem;
  }
}
.container--py {
  padding-top: 4.375rem;
  padding-bottom: 4.375rem;
}
@media (min-width: 64em) {
  .container--py {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}
.container--px {
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}
.container--pt {
  padding-top: 4.375rem;
}
@media (min-width: 64em) {
  .container--pt {
    padding-top: 6rem;
  }
}
.container--pr {
  padding-right: 1.5rem;
}
.container--pb {
  padding-bottom: 4.375rem;
}
@media (min-width: 64em) {
  .container--pb {
    padding-bottom: 6rem;
  }
}
.container--pl {
  padding-left: 1.5rem;
}
.container--kontakt {
  padding: 0.1rem 5%;
  flex-direction: column;
  align-items: center;
}

.flex {
  display: flex;
}
.flex-jc-sb {
  justify-content: space-between;
}
.flex-jc-c {
  justify-content: center;
}
.flex-ai-c {
  align-items: center;
}

/* Styl dla wszystkich przycisków na stronie */
.button {
  display: inline-block;       /* żeby padding i tło działały poprawnie */
  color: #ffffff;              /* kolor tekstu */
  background-color: #007acc;   /* kolor tła przycisku */
  text-decoration: none;        /* usuwa podkreślenie linku */
  padding: 12px 25px;           /* wewnętrzne marginesy przycisku */
  border-radius: 1px;           /* zaokrąglone rogi */
  font-weight: 600;             /* pogrubienie tekstu */
  transition: all 0.3s ease;    /* płynna zmiana koloru przy hover */
}

/* Efekt po najechaniu kursorem */
.button:hover {
  background-color: #005fa3;   /* ciemniejsze tło przy hover */
  color: #ffffff;               /* kolor tekstu pozostaje biały */
  transform: translateY(-2px);  /* lekki efekt podniesienia */
  box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* delikatny cień */
}

/* Kolor dla klikniętego przycisku */
.button:active {
  background-color: #004880;   /* jeszcze ciemniejsze tło przy kliknięciu */
  box-shadow: 0 2px 4px rgba(0,0,0,0.2); /* mniejszy cień */
  transform: translateY(0);     /* reset efektu podniesienia */
}

/* Odwiedzony link (jeżeli przycisk jest linkiem) */
.button:visited {
  color: #ffffff;
}

@media (max-width: 63.9375em) {
  .hide-for-mobile {
    display: none;
  }
}

@media (min-width: 64em) {
  .hide-for-desktop {
    display: none;
  }
}

.header {
  position: relative;
  z-index: 1;
}
.header.open .header__toggle > span:first-child {
  transform: rotate(45deg);
}
.header.open .header__toggle > span:nth-child(2) {
  opacity: 0;
}
.header.open .header__toggle > span:last-child {
  transform: rotate(-45deg);
}
.header .overlay {
  opacity: 0;
  position: fixed;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  background-image: linear-gradient(#151415, transparent);
}
.header nav {
  position: relative;
  background-color: white;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.header__logo img {
  width: 150px;
  margin-top: 6px;
  margin-bottom: 0.1em;
}
.header__toggle > span {
  display: block;
  width: 26px;
  height: 2px;
  background-color: #151415;
  transition: all 300ms ease-in-out;
  transform-origin: 3px 1px;
}
.header__toggle > span:not(:last-child) {
  margin-bottom: 5px;
}
.header__menu {
  position: absolute;
  width: calc(100% - 3rem);
  left: 50%;
  transform: translateX(-50%);
  background: white;
  margin-top: 1.5rem;
  padding: 1.625rem;
  border-radius: 5px;
}
.header__menu a {
  display: block;
  padding: 0.625rem;
  color: #151415;
  text-align: center;
}
.header__links a {
  position: relative;
  font-size: 0.875rem;
  color: #55455f;
  transition: color 300ms ease-in-out;
}
.header__links a:not(:last-child) {
  margin-right: 32px;
}
.header__links a::before {
  content: "";
  display: block;
  position: absolute;
  height: 5px;
  left: 0;
  right: 0;
  bottom: -26px;
  background: linear-gradient(to right, #57266e, #55226d);
  opacity: 0;
  transition: opacity 300ms ease-in-out;
}
.header__links a:hover {
  color: #151415;
}
.header__links a:hover::before {
  opacity: 1;
}

.hero {
  background-color: #f5f0ff;
}

@media (min-width: 64em) {
  .hero .container {
    display: flex;
    align-items: center;
  }
}
.hero__image {
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  min-height: 10rem;
}
@media (min-width: 40em) {
  .hero__image {
    min-height: 25rem;
    background-position: center 70%;
  }
}
@media (min-width: 64em) {
  .hero__image {
    flex: 3;
    order: 2;
    height: 41rem;
    background-image: none;
  }
}
@media (min-width: 64em) {
  .hero__image::before {
    content: "";
    position: absolute;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center bottom;
    width: 150%;
    background-size: 122%;
    background-position: 0% 83%;
  }
}
.hero__image::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: 93%;
  background-repeat: no-repeat;
  background-position: center bottom;
}
@media (min-width: 40em) {
  .hero__image::after {
    background-size: 52%;
  }
}
@media (min-width: 64em) {
  .hero__image::after {
    width: 120%;
    height: 122%;
    background-size: 94%;
    background-position: center 150%;
    left: 22%;
  }
}
.hero__text {
  text-align: center;
}
@media (min-width: 64em) {
  .hero__text {
    flex: 2;
    order: 1;
    text-align: left;
  }
}

.feature {
  background-color: #fbfafc;
  text-align: center;
}
@media (min-width: 40em) {
  .feature {
    text-align: left;
  }
}
.feature__intro {
  margin-bottom: 3.75rem;
}
@media (min-width: 64em) {
  .feature__intro {
    width: 60%;
  }
}
@media (min-width: 40em) {
  .feature__grid {
    display: flex;
    flex-wrap: wrap;
  }
}
.feature__item {
  padding: 0.9375rem;
}
@media (min-width: 40em) {
  .feature__item {
    flex: 0 0 50%;
  }
}
@media (min-width: 64em) {
  .feature__item {
    flex: 1;
  }
}
.feature__icon {
  margin-bottom: 1.875rem;
}
@media (min-width: 64em) {
  .feature__icon {
    margin-bottom: 2.75rem;
  }
}
.feature__title {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 2;
  color: #151415;
  margin-bottom: 1rem;
}
@media (min-width: 64em) {
  .feature__title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
}
.feature__description {
  font-size: 0.875rem;
  line-height: 1.5;
}

.articles {
  background-color: #f5f0ff;
}

.article__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.875rem;
}
@media (min-width: 40em) {
  .article__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.article__item {
  border-radius: 0.3125rem;
  overflow: hidden;
  background-color: white;
  box-shadow: 0px 3px 12px rgba(0, 0, 0, 0.15);
  transition: all 150ms ease-in-out;
}
.article__item:hover {
  transform: scale(1.05);
}
.article__image {
  height: 12.5rem;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
.article__img {
  height: 18.5rem;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
.article__text {
  padding: 1.875rem 1.875rem 2.5rem 1.875rem;
  color: #55455f;
}
@media (min-width: 40em) {
  .article__text {
    padding: 1.875rem 1.5625rem;
  }
}
.article__author {
  font-size: 0.625rem;
  margin-bottom: 0.75rem;
}
.article__title {
  font-size: 1.0625rem;
  line-height: 1.2;
  color: #151415;
  margin-bottom: 0.5rem;
}
.article__description {
  font-size: 0.8125rem;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.footer {
  background-color: #371448;
  color: white;
  padding: 2.5rem;
  text-align: center;
}
@media (min-width: 64em) {
  .footer .container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 2fr;
    grid-template-rows: 1fr auto;
    grid-template-areas: "logo links1 links2 links3 cta" "social links1 links2 links3 copyright";
    gap: 1rem;
    justify-items: start;
  }
}
.footer a {
  color: white;
}
.footer__logo {
  display: inline-block;
}
@media (max-width: 63.9375em) {
  .footer__logo {
    margin-bottom: 1.875rem;
  }
}
@media (min-width: 64em) {
  .footer__logo {
    grid-area: logo;
  }
}
@media (max-width: 63.9375em) {
  .footer__social {
    margin-bottom: 1.875rem;
  }
}
@media (min-width: 64em) {
  .footer__social {
    grid-area: social;
    align-self: end;
  }
}
.footer__social a {
  display: inline-block;
  height: 1.25rem;
}
.footer__social a svg path {
  transition: fill 150ms ease-in-out;
}
.footer__social a:hover svg path {
  fill: #fcb54c;
}
.footer__social a:not(:last-child) {
  margin-right: 1rem;
}
.footer__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.9375rem;
}
@media (min-width: 64em) {
  .footer__links {
    justify-content: space-between;
    align-items: start;
  }
}
@media (min-width: 64em) {
  .footer__links.col1 {
    grid-area: links1;
  }
}
@media (max-width: 63.9375em) {
  .footer__links.col2 {
    margin-bottom: 1.875rem;
  }
}
@media (min-width: 64em) {
  .footer__links.col2 {
    grid-area: links2;
  }
}
@media (min-width: 64em) {
  .footer__links.col3 {
    grid-area: links3;
  }
}
.footer__links a {
  line-height: 2.25;
  transition: color 150ms ease-in-out;
}
.footer__links a:hover {
  color: #fcb54c;
}
@media (min-width: 64em) {
  .footer__cta {
    grid-area: cta;
    text-align: right;
    justify-self: end;
  }
}
@media (max-width: 63.9375em) {
  .footer__cta a.button {
    margin-bottom: 1.875rem;
  }
}
.footer__copyright {
  font-size: 0.75rem;
  color: #fbfafc;
}
@media (min-width: 64em) {
  .footer__copyright {
    grid-area: copyright;
    align-self: flex-start;
    justify-self: end;
  }
}
.footer .attribution {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: #fbfafc;
}
.footer .email {
  margin-bottom: 1.2rem;
}
@media (min-width: 64em) {
  .footer .email {
    margin-bottom: 0;
  }
}

.form-group {
  padding: 0.3em 0;
  font-family: "Ubuntu";
}

.form-control {
  width: 100%;
  padding: 8px 15px;
  border: 1px solid #55455f;
  border-radius: 0;
}

.form-control:focus {
  outline: none !important;
  border: 1px solid #fcb54c;
}

.form-control:focus-within {
  background-color: white;
  border: 1px solid #55226d;
  border-radius: 0;
}

.adres {
  margin: 0.1rem 0;
  font-size: 1.1rem;
}

.kontakt {
  width: 100%;
  max-width: 700px;
}

@media (max-width: 39.9375em) {
  .container--kontakt {
    padding: 0.5rem 5%;
  }
}

.custom-list {
  list-style: none; /* usuwa domyślne kropki */
  padding-left: 30px; /* wcięcie całej listy od lewej */
  margin-bottom: 3em;
}

.custom-list li {
  position: relative;
  margin-bottom: 9px;
  padding-left: 25px; /* wcięcie dla ikony względem tekstu */
}

.custom-list li::before {
  content: "\2713"; /* Unicode dla ✔ */
  position: absolute;
  left: 0; /* pozycja ikony */
  color: #330b30; /* kolor ikony */
  font-size: 1em;
}
