@font-face {
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../webfonts/fa-solid-900.woff2") format("woff2"),
       url("../webfonts/fa-solid-900.woff") format("woff");
}

@font-face {
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../webfonts/fa-regular-400.woff2") format("woff2"),
       url("../webfonts/fa-regular-400.woff") format("woff");
}

:root {
  --brand: #00adee;
  --brand-hover: #e98c09;
  --text: #252525;
  --muted: #5c5c69;
  --topbar: #00adee;
  --header-height: 120px;
  --boxed: 1240px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.56;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: color 400ms, background-color 400ms;
}

a:hover,
a:focus,
a:active {
  color: var(--brand-hover);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1 {
  font-family: "Overlock SC", sans-serif;
  font-weight: 400;
}

h2,
h3,
h4 {
  font-family: "Noto Sans", sans-serif;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}

.layout-boxed .body-innerwrapper,
.body-innerwrapper {
  max-width: var(--boxed);
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#content {
  flex: 1 0 auto;
}

/* Icons */
.icon {
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  margin-right: 3px;
}

.icon-phone::before {
  font-weight: 900;
  content: "\f095";
}

.icon-mobile::before {
  font-weight: 900;
  content: "\f3cd";
}

.icon-envelope::before {
  font-weight: 400;
  content: "\f0e0";
}

/* Top bar */
#sp-top-bar {
  background: var(--topbar);
  color: #000;
  padding: 8px 0;
  font-size: 0.875rem;
}

#sp-top-bar a {
  color: #000;
}

#sp-top-bar a:hover {
  color: #000;
  text-decoration: underline;
}

.top-bar-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.sp-contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sp-contact-info li {
  display: inline-block;
  margin: 0 10px 0 0;
  font-size: 90%;
  white-space: nowrap;
}

.sp-contact-info.stacked li {
  display: block;
  margin: 0 0 10px;
}

/* Header */
#sp-header {
  height: var(--header-height);
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 99;
  background: #fff;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.1);
}

.header-row {
  display: flex;
  align-items: center;
  min-height: var(--header-height);
}

.logo {
  height: var(--header-height);
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.logo-image {
  height: 100px;
  width: auto;
}

.main-nav {
  margin-left: auto;
}

.menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}

.menu-item {
  position: relative;
}

.menu-item a {
  display: inline-block;
  padding: 0 15px;
  line-height: var(--header-height);
  font-family: Arial, sans-serif;
  font-size: 18px;
  color: var(--brand);
}

.menu-item:last-child a {
  padding-right: 0;
}

.menu-item a:hover,
.menu-item.active a {
  color: var(--brand-hover);
  font-weight: 500;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  height: var(--header-height);
  align-items: center;
}

.burger-icon {
  width: 25px;
  display: block;
}

.burger-icon > span {
  display: block;
  height: 2px;
  background: var(--brand);
  margin: 5px 0;
  transition: transform 0.3s ease-in, opacity 0.3s ease-in;
}

.offcanvas-active .burger-icon > span:nth-child(1),
.burger-icon.close > span:nth-child(1) {
  transform: translate(0, 7px) rotate(-45deg);
}

.offcanvas-active .burger-icon > span:nth-child(2),
.burger-icon.close > span:nth-child(2) {
  opacity: 0;
}

.offcanvas-active .burger-icon > span:nth-child(3),
.burger-icon.close > span:nth-child(3) {
  transform: translate(0, -7px) rotate(45deg);
}

/* Offcanvas */
.offcanvas-overlay {
  background: rgba(0, 0, 0, 0.7);
  position: fixed;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  z-index: 9999;
  transition: 0.4s;
}

.offcanvas-active .offcanvas-overlay {
  opacity: 1;
  visibility: visible;
}

.offcanvas-menu {
  width: 300px;
  height: 100%;
  position: fixed;
  top: 0;
  right: -300px;
  background: #fff;
  z-index: 10000;
  transition: right 0.4s;
  overflow: auto;
}

.offcanvas-active .offcanvas-menu {
  right: 0;
}

.close-offcanvas {
  position: absolute;
  top: 25px;
  right: 15px;
  background: none;
  border: 0;
  cursor: pointer;
}

.offcanvas-inner {
  padding: 70px 25px 25px;
}

.offcanvas-inner .menu {
  flex-direction: column;
  margin-bottom: 20px;
}

.offcanvas-inner .menu a {
  display: block;
  font-size: 18px;
  padding: 10px 0;
  color: #252525;
  line-height: 18px;
}

.offcanvas-inner .menu .active a,
.offcanvas-inner .menu a:hover {
  color: var(--brand-hover);
}

/* Homepage */
.home-intro {
  padding: 50px 0;
}

.home-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.home-intro-col {
  width: 80%;
  margin: 0 auto 45px;
}

.home-title {
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 700;
  font-size: 45px;
  line-height: 52px;
  letter-spacing: -1px;
  color: var(--brand);
  margin: 0 0 17px;
}

.home-intro-col ul,
.home-contact ul,
.article-body ul {
  margin: 0;
  padding-left: 1.25rem;
}

.home-intro-col li,
.home-contact li {
  font-family: Inter, sans-serif;
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 0.35rem;
}

.home-intro-col a {
  color: inherit;
}

.home-intro-col a:hover {
  color: var(--brand-hover);
}

.home-story {
  padding: 0;
  color: var(--muted);
}

.home-story-card {
  background-image: linear-gradient(165deg, #e1e8fd 0%, rgba(241, 216, 180, 0.47) 128%);
  border-radius: 24px;
  padding: 40px 98px 0;
  margin-bottom: 140px;
}

.home-story-card p {
  font-family: Inter, sans-serif;
  font-size: 16px;
  line-height: 24px;
  width: 80%;
  margin: 0 auto 45px;
}

.home-story-photo {
  width: 80%;
  margin: 0 auto -120px;
  min-height: 300px;
  border-radius: 16px;
  background-image: url("../images/2023/03/28/snimek-649---kopie.jpg");
  background-size: cover;
  background-position: 50% 50%;
}

.home-contact {
  background: var(--brand);
  color: #fff;
  padding: 10px 0;
}

.home-contact a {
  color: #fff;
}

.home-contact a:hover {
  color: #fff;
  text-decoration: underline;
}

.home-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  padding: 10px 0;
}

.home-contact p,
.home-contact li {
  margin: 0;
}

.home-refs {
  padding: 50px 0;
}

.home-refs-title {
  text-align: center;
  font-family: "Noto Sans", sans-serif;
  font-size: 2rem;
  margin: 0 0 30px;
}

.home-refs-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
  align-items: center;
}

.home-refs-grid img {
  margin: 0 auto;
  max-height: 80px;
  width: auto;
}

/* Inner pages */
.page-body {
  padding: 10px 0 60px;
}

.article-details .article-header h1 {
  font-size: 2.25rem;
  margin: 0 0 1.25rem;
}

.article-body p {
  margin: 0 0 1rem;
}

.article-body a {
  color: var(--brand);
}

.article-body a:hover {
  color: var(--brand-hover);
}

.logo-table,
.team-table {
  border-collapse: collapse;
  width: 100%;
}

.logo-table td,
.team-table td {
  vertical-align: middle;
  padding: 10px 16px 10px 0;
  border: 0;
}

.logo-table td:first-child {
  width: 18%;
}

.logo-table img {
  max-width: 170px;
  max-height: 90px;
  width: auto;
}

.team-table td:first-child {
  width: 20%;
}

.team-table img {
  width: 220px;
  max-width: 100%;
  height: auto;
}

.team-table p {
  margin: 0 0 0.4rem;
}

/* Footer */
#sp-footer {
  background: #fff;
  color: #000;
  font-size: 14px;
  padding: 0;
  margin-top: auto;
}

#sp-footer .footer-inner {
  padding: 30px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

@media (max-width: 1199px) {
  .home-title {
    font-size: 34px;
    line-height: 44px;
  }

  .home-intro-col,
  .home-story-card p,
  .home-story-photo {
    width: 92%;
  }

  .home-story-card {
    padding: 100px 50px 0;
  }

  .home-story-photo {
    min-height: 220px;
  }
}

@media (max-width: 991px) {
  :root {
    --header-height: 70px;
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .logo-image {
    height: 56px;
  }

  .home-intro-grid,
  .home-contact-grid,
  .home-refs-grid {
    grid-template-columns: 1fr;
  }

  .top-bar-row {
    justify-content: center;
  }

  .sp-contact-info {
    text-align: center;
  }

  .home-intro-col,
  .home-story-card p,
  .home-story-photo {
    width: 100%;
  }

  .home-story-card {
    padding: 40px 25px 0;
  }

  .home-title {
    font-size: 22px;
    line-height: 32px;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 13px;
  }

  .sp-contact-info li {
    display: block;
    margin: 2px 0;
  }

  .logo-table,
  .team-table,
  .logo-table tbody,
  .team-table tbody,
  .logo-table tr,
  .team-table tr,
  .logo-table td,
  .team-table td {
    display: block;
    width: 100%;
  }

  .home-story-card {
    padding: 40px 25px 0;
    margin-bottom: 80px;
  }

  .home-story-photo {
    min-height: 180px;
    margin-bottom: -60px;
  }
}
