/*
Theme Name: psbtheme
Author: Val

*/

:root {
  --clr-accent: 215 58% 38%;
  --clr-secondary: 53 89% 48%;
  --clr-light: 36 11% 92%;
  --clr-white: 180 0% 100%;
  --clr-dark: 0 0% 16%;
  --clr-black: 0 0% 0%;

  --ff-main: "Open Sans", serif;
}

/* Reset               */

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

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

body {
  margin: 0;
  padding: 0;
}
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin-block-end: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
  list-style: none;
}

h1,
h2,
h3,
h4,
button,
input,
label {
  line-height: 1.1;
}
p {
  line-height: 1.4;
}
h1,
h2,
h3,
h4 {
  text-wrap: balance;
}
h1,
.h1 {
  font-size: 2rem;
}
h2 {
  font-size: 2.25rem;
  margin: 1rem;
  letter-spacing: -1px;
}
h3 {
  letter-spacing: -1px;
  font-size: 1.25rem;
  margin: 1rem 0;
}
img,
picture {
  max-width: 100%;
  display: block;
}

input,
button,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em;
}

/* Reset               */
/* remove animations for people who've turned them off */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--ff-main);
  color: hsl(var(--clr-dark));
  background-color: hsl(var(--clr-white));
  background-color: #fff;
  line-height: 1.5;
  font-size: 1rem;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  flex-direction: column;

  scroll-margin-top: 4rem;
}

main {
  flex-grow: 1;
  margin-top: 60px;
}

a {
  color: hsl(var(--clr-accent));
}
a:hover {
  color: hsl(var(--clr-dark));
}
.footer {
  background-color: hsl(var(--clr-accent));
  padding: 1rem 0.5rem;
}
.footer a {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: hsl(var(--clr-white) / 0.9);
  text-decoration: none;
}
.footer-copyright {
  display: flex;
  justify-content: space-between;
  color: hsl(var(--clr-white) / 0.9);
  font-size: 0.875rem;

  max-width: 1260px;
  margin: 0 auto;
}

.header-logo-img figure {
  margin: 5px 0 0 0;
}
.header-logo-img img {
  height: 50px;
  width: auto;
}
.primary-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
  background-color: #f2f2f2;
  margin: 0 auto;
  width: 100%;
  backdrop-filter: none;
}

.logo-and-phones {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
table p {
  margin: 0;
  padding: 0;
}
h1 {
  color: hsl(var(--clr-black));
}

.hero-subtitle {
  border-radius: 3px;
  padding: 0.5rem 0.75rem;
  color: white;
  text-align: center;
  max-width: fit-content;
  font-size: 0.875rem;
  color: hsl(var(--clr-accent) / 1);
}

.services .kt-inside-inner-col {
  position: relative;
  padding: 1rem 2rem 1.75rem 2rem;
}
.services {
  color: #fff;
}
.services .kt-inside-inner-col::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  background-color: hsl(var(--clr-dark) / 0.7);
  pointer-events: none;
  z-index: 1;
  transition: height 0.3s ease, background 0.3s ease;
}
.services h3 {
  font-size: 1.5rem;
  padding: 0.5rem 0.5rem 0.125rem 0.75rem;
  position: relative;
  z-index: 3;
  margin-bottom: 0.5rem;
  text-align: center;
}

.services a {
  position: relative;
  overflow: hidden;
  z-index: 2;
  text-decoration: none;
  display: block;
  max-width: fit-content;

  background-image: url(images/arrow-right-fill-white.svg);
  background-repeat: no-repeat;
  background-position: center right;
  background-size: 20px;
  padding: 0.5rem 1.75rem 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: hsl(var(--clr-white));

  transition: transform 0.3s ease-in-out;
}

.services a:hover {
  transform: translateY(-5px);
}
.btn1 a {
  position: relative;
  background-color: hsl(var(--clr-dark));
  color: hsl(var(--clr-white));
  display: block;
  max-width: fit-content;
  padding: 0.5rem 1.5rem;
  text-decoration: none;
}
.btn1 a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  right: -5px;
  height: 100%;
  width: 100%;

  border: 1px solid hsl(var(--clr-dark) / 0.7);
  transition: all 0.3s ease-in-out;
}
.btn1 a:hover {
  background-color: hsl(var(--clr-dark) / 1);
}
.btn1 a:hover::after {
  bottom: 0;
  right: 0;
}
.btn1.btn-phone a {
  padding: 0.5rem 1.5rem 0.5rem 2.5rem;
  background-image: url(images/phone-white.svg);
  background-position: center left 10px;
  background-repeat: no-repeat;
  background-size: 20px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
.btn1.btn-email a {
  padding: 0.5rem 1.5rem 0.5rem 2.5rem;
  background-image: url(images/email-white.svg);
  background-position: center left 10px;
  background-repeat: no-repeat;
  background-size: 20px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
.postheader {
  text-align: center;
}
.hero h1 {
  line-height: 1.1;
  font-size: 2.5rem;
  color: #fff;
}

.designed-by {
  display: none;
  max-width: 1260px;
  text-align: right;
  padding: 0.5rem 0.25rem 0;
  margin: 0 auto;
}
.designed-by,
.designed-by a {
  font-size: 0.75rem;
  font-family: var(--ff-main);
  font-weight: 400;
  color: hsl(var(--clr-white) / 0.4);
}
.designed-by a {
  transition: color 0.3s ease-in-out;
}
.designed-by a:hover {
  color: hsl(var(--clr-white) / 1);
}

.blok-2 .kt-inside-inner-col {
  position: relative;
  z-index: 0;
  padding: 3rem;
}
.blok-2 .kt-inside-inner-col::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  display: block;
  width: 100%;
  height: 100%;
  background-color: hsl(var(--clr-black) / 0.5);
  z-index: -2;
}
.blok-2 .kt-inside-inner-col::after {
  content: "";
  position: absolute;
  top: 15px;
  /* right: 0; */
  left: 15px;
  /* bottom: 0; */
  display: block;
  width: calc(100% - 30px);
  height: calc(100% - 30px);
  background-color: transparent;
  border: 1px solid hsl(var(--clr-white) / 0.5);
  z-index: -1;
}
.blok-2 h3 {
  font-size: 2rem;
}
p.btn2 {
  margin: 0;
}
.btn2 a {
  position: relative;
  color: hsl(var(--clr-accent));
  display: block;
  max-width: fit-content;
  padding: 0.5rem 20px 0.5rem 0;
  text-decoration: none;
  font-size: 0.875rem;
  margin: 0.5rem 1rem;
  font-weight: 300;
}
.btn2 a::before {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  height: 2px;
  width: calc(100% - 20px);
  background-color: hsl(var(--clr-accent) / 0.3);
  transition: all 0.3s ease-in-out;
}
.btn2 a:hover::before {
  background-color: hsl(var(--clr-accent) / 0.8);
}
.btn2 a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 10px;
  height: 20px;
  width: 20px;
  background-image: url(images/btn-2.svg);
  background-position: right center;
  background-repeat: no-repeat;
  background-size: 16px;
  transition: all 0.3s ease-in-out;
  opacity: 0.5;
}
.btn2 a:hover::after {
  opacity: 1;
  right: -3px;
}
.white-text .btn2 a {
  position: relative;
  color: hsl(var(--clr-white));
  display: block;
  max-width: fit-content;
  padding: 0.5rem 20px 0.5rem 0;
  text-decoration: none;
  font-size: 0.875rem;
  margin: 0.5rem 1rem;
  font-weight: 300;
}
.blok-2 .btn2 a {
  margin: 0.5rem 1rem 0.5rem 0rem;
}
.white-text .btn2 a::before {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  height: 2px;
  width: calc(100% - 20px);
  background-color: hsl(var(--clr-white) / 0.5);
  transition: all 0.3s ease-in-out;
}
.white-text .btn2 a:hover::before {
  background-color: hsl(var(--clr-white) / 0.9);
}
.white-text .btn2 a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 10px;
  height: 20px;
  width: 20px;
  background-image: url(images/btn-2-white-arrow.svg);
  background-position: right center;
  background-repeat: no-repeat;
  background-size: 16px;
  transition: all 0.3s ease-in-out;
  opacity: 0.7;
}
.white-text .btn2 a:hover::after {
  opacity: 1;
  right: -3px;
}
.blok-2 h3 {
  margin: 0rem 0;
}
.subtitle {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.75rem;
  font-weight: 700;
  color: hsl(var(--clr-black) / 0.6);
  padding: 0;
}
.white-text .subtitle {
  color: hsl(var(--clr-white) / 0.6);
}
.white-text h3 {
  color: hsl(var(--clr-white) / 1);
}
.blok-2 .subtitle {
  margin: 1rem 0;
}
.benefits {
  border-radius: 0.5rem;
  transition: background-color 0.2s ease-in-out;
}
.benefits:hover {
  background-color: hsl(var(--clr-white) / 1);
}

.benefits h5 {
  font-size: 1.25rem;
  letter-spacing: -1px;
  line-height: 1.2;
}
.benefits p {
  margin: 0.25rem 0;
  font-size: 0.938rem;
}
.poslugy .benefits:hover {
  background-color: hsl(var(--clr-accent) / 0.1);
}
.benefits h5 {
  font-size: 1.25rem;
  letter-spacing: -1px;
}
.napriam {
  background-color: hsl(var(--clr-white) / 1);
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid transparent;
  transition: all 0.3s ease-in-out;
}
.napriam:hover {
  border: 1px solid hsl(var(--clr-accent) / 0.5);
  box-shadow: 0px 0px 17px 0px rgba(0, 0, 0, 0.15);
  -webkit-box-shadow: 0px 0px 17px 0px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0px 0px 17px 0px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}
.napriam h3 {
  font-size: 1.25rem;
  margin: 0.5rem 0;
  text-align: center;
}
.napriam p {
  font-size: 0.938rem;
  text-align: center;
}
.napriam img {
  margin: 0 auto;
}
.our-partners .kt-inside-inner-col p {
  text-align: center;
  color: hsl(var(--clr-black) / 0.7);
  font-size: 0.875rem;
  margin: 0.5rem;
}
.our-partners .kt-inside-inner-col p:first-of-type {
  text-align: center;
  color: hsl(var(--clr-black) / 1);
  font-size: 1.125rem;
}
.our-partners figure {
  display: flex;
  justify-content: center;
}
.our-partners img {
  margin: 0 auto;
  width: 200px;
  height: 100px;
  object-fit: contain;
}
.our-partners a img {
  transition: opacity 0.3s ease-in-out;
}
.our-partners a img:hover {
  opacity: 0.7;
}

/* PRODUCTS */
.products .kt-inside-inner-col {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.products {
  border: 1px solid hsl(var(--clr-accent) / 0.3);
  background-color: hsl(var(--clr-accent) / 0.1);

  transition: all 0.3s ease-in-out;
}
.products:hover {
  background-color: hsl(var(--clr-accent) / 0.15);
  border: 1px solid hsl(var(--clr-accent) / 0.8);
}
.products .kt-inside-inner-col p {
  text-align: center;
  color: hsl(var(--clr-white) / 0.9);
  color: hsl(var(--clr-black) / 0.9);
  font-size: 0.875rem;
  margin: 0rem 0.5rem 0.5rem 0.5rem;
}
.products .kt-inside-inner-col h3 {
  text-align: center;
  color: hsl(var(--clr-white) / 1);
  color: hsl(var(--clr-black) / 1);
  font-size: 1rem;
  margin: 1rem 1rem 1rem 1rem;
  font-weight: 700;
}
.products .kt-inside-inner-col p:last-of-type {
  margin-top: auto;
}
.products figure {
  display: flex;
  justify-content: center;
  width: 100%;
  background-color: hsl(var(--clr-white) / 1);
}
.products img {
  margin: 0 auto;
  width: 200px;
  height: 200px;
  object-fit: contain;
}
.products p a {
  display: block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: hsl(var(--clr-white) / 1);
  font-size: 0.875rem;
  background-color: hsl(var(--clr-accent) / 0.8);
  transition: background-color 0.3s ease-in-out;
}

.products:hover p a {
  background-color: hsl(var(--clr-accent) / 1);
}
.font-18 p {
  font-size: 1.125rem;
}
@media (max-width: 768px) {
  .poslugy .benefits .kt-blocks-info-box-media-container,
  .poslugy .benefits .kt-blocks-info-box-title {
    text-align: center;
  }
  .poslugy .benefits .kt-blocks-info-box-media {
    margin: 0;
  }
  .header-logo-img img {
    height: 35px;
    width: auto;
  }

  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
  .benefits h5 {
    font-size: 1.125rem;
  }
  main {
    flex-grow: 1;
    margin-top: 46px;
  }
}
.justify-text {
  text-align: justify;
}
