:root {
  --jagodowy: rgba(95, 73, 122, 1);
  --granat: rgba(15, 36, 62, 1);
  --stalowy: rgba(236, 241, 248, 1);
  --fiolet: rgba(64, 49, 82, 1);
  --szary: rgba(242, 242, 242, 1);
  --zielony: rgba(194, 214, 156, 1);
  --path-color: var(--zielony);
  --path-width: 5px;
  --path-radius: 50px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
  font-size: 1rem;
  color: #222;
  padding-top: 60px;
}

a,
a:hover {
  color: inherit;
}

[class^="svg-sprite"],
[class*=" svg-sprite"] {
  display: block;
  margin: 0 auto;
  width: 64px;
  height: 64px;
  stroke-width: 1px;
  stroke: #000;
  fill: currentColor;
}

a[href="#top"] {
  position: fixed;
  right: 32px;
  bottom: 64px;
  text-indent: -1000px;
  text-align: left;
  overflow: hidden;
  width: 32px;
  height: 32px;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  border: 2px solid var(--fiolet);
  border-radius: 50%;
}
a[href="#top"]:before {
  content: "";
  border-left: 2px solid var(--fiolet);
  border-top: 2px solid var(--fiolet);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -33%) rotate(45deg);
  width: 40%;
  height: 40%;
}
a[href="#top"].hidenow {
  transition: none;
}
a[href="#top"].visible {
  opacity: 1;
  visibility: visible;
  transition: all 1s ease;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}
.img-center {
  margin: 0 auto;
  display: block;
}
.rounded {
  border-radius: 50%;
}
.text-left {
  text-align: left !important;
}

.text-right {
  text-align: right !important;
}

.text-center {
  text-align: center !important;
}

.h-100 {
  height: 100% !important;
}

input[type="checkbox"],
input[type="radio"] {
  position: absolute;
  left: -10000px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  height: 60px;
}
header label {
  display: none;
}
header > a {
  display: none;
}

nav {
  background-color: var(--fiolet);
  text-transform: uppercase;
  text-align: right;
  color: #fff;
  font-size: 1.15rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
}
nav a {
  display: inline-block;
  position: relative;
  overflow: hidden;
  margin-left: 2rem;
}
nav a:hover {
  text-decoration: none;
}
nav a:first-of-type {
  margin-right: auto;
  transition: opacity 0.25s ease;
}
nav a:first-of-type.hidenow {
  opacity: 0;
}

nav a:first-of-type img {
  height: 32px;
}
nav a:not(:first-of-type):after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 100%;
  left: -100%;
  height: 1px;
  background: currentColor;
  transition: left 0.25s ease;
}

nav a:hover:after {
  left: 0;
}

h1 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  /*  font-style: italic; */
  font-size: 2rem;
  text-transform: uppercase;
  position: relative;
  margin-bottom: 3rem;
}
h1:after,
h1:before {
  content: "";
  position: absolute;
  bottom: -0.5em;
  left: 50%;
  transform: translateX(-50%);
  height: 8px;
  width: 8px;
  border-radius: 50%;
}
h1:before {
  margin-right: 12px;
  background: var(--zielony);
}
h1:after {
  margin-left: 12px;
  background: var(--jagodowy);
}

.home-logo {
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100 - 86px);
}
.home-logo img {
  height: 50vh;
  width: 50vw;
}
.home-about {
  background-color: var(--szary);
  font-size: 1.25rem;
}
.home-about a.more {
  background-color: var(--zielony);
  transition: background-color 0.25s ease;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  /*   font-style: italic; */
  font-size: 0.9rem;
  /*   display: table; */
  margin: 1.5rem 0 0 auto;
  /*   height: 2.5rem;
  line-height: 2.5rem; */
  padding: 1rem;
  text-transform: uppercase;
}
.home-about a.more:hover {
  background-color: var(--jagodowy);
  color: #fff;
  text-decoration: none;
}

h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  /*   font-style: italic; */
  position: relative;
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

h2:after {
  content: "";
  position: absolute;
  bottom: -0.25em;
  left: 50%;
  transform: translateX(-50%);
  height: 1px;
  width: 25px;
  background: currentColor;
}

.home-offer .o-1,
.home-offer .o-6 {
  background-color: var(--granat);
  color: #fff;
}
.home-offer .o-3,
.home-offer .o-5 {
  background-color: var(--stalowy);
}

.home-offer .o-2,
.home-offer .o-4 {
  background-color: var(--jagodowy);
  color: #fff;
}
.home-offer div[class*="o-"] svg[class*="svg-sprite"] {
  margin-bottom: 1rem;
}

/*
.home-offer div[class*="o-"] h2 {
  margin: 0;
}
.home-offer div[class*="o-"] h2:after {
  display: none;
}*/
.home-offer div[class*="o-"] {
  position: relative;
  overflow: hidden;
}
.home-offer .hover,
.home-offer .overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: inherit;
  color: inherit;
  transition: opacity 0.75s ease, top 0.5s ease;
}

@media (hover: hover) and (pointer: fine) {
  .home-offer .overlay {
    opacity: 0;
    top: 100%;
  }
  .home-offer .hover:hover {
    opacity: 0;
  } /* 
  .home-offer .hover:hover ~ .overlay,
  .home-offer .overlay:hover {
    opacity: 1;
    top: 0;
  }

  .home-offer .hover:hover {
    top: 100%;
    opacity: 0;
  } */

  .home-offer .hover:hover ~ .overlay,
  .home-offer .overlay:hover {
    top: 0%;
    opacity: 1;
  }
}

/*
.home-steps-2 {
  background-color: var(--szary);
}
*/
footer {
  color: #fff;
  background-color: var(--fiolet);
  position: relative;
  overflow: hidden;
}
footer:before,
footer:after {
  content: "";
  position: absolute;
  width: 50vw;
  height: 100%;
  background-color: inherit;
  top: 0;
  left: -50vw;
}
footer:after {
  left: auto;
  right: -50vw;
}
.piw {
  text-align: right;
  font-size: 0.75rem;
  padding: 0.5rem;
  background-color: #201829;
  color: #fff;
}
footer small {
  font-size: 0.6rem;
}
footer img.logo {
  max-width: 350px;
  width: 100%;
}
footer img.email,
footer img.phone {
  display: block;
  margin: 1.5rem auto 0.5rem auto;
}
footer img.email {
  height: 20px;
}
footer img.phone {
  height: 24px;
}

.path-spacer-right,
.path-spacer-left {
  position: relative;
  height: var(--path-width);
  background: var(--path-color);
  margin: calc(var(--path-radius) - var(--path-width)) 0;
  padding: 0 var(--path-radius);
  background-clip: content-box;
}
.path-spacer-right:before,
.path-spacer-right:after,
.path-spacer-left:before,
.path-spacer-left:after {
  content: "";
  display: block;
  position: absolute;
  height: var(--path-radius);
  width: var(--path-radius);
  border: var(--path-width) solid var(--path-color);
}
.path-spacer-right:before {
  border-top: none;
  border-right: none;
  border-radius: 0 0 0 calc(2 * var(--path-radius));
  left: 0;
  top: calc(-1 * var(--path-radius) + var(--path-width));
}
.path-spacer-right:after {
  border-bottom: none;
  border-left: none;
  border-radius: 0 calc(2 * var(--path-radius)) 0 0;
  right: 0;
  bottom: calc(-1 * var(--path-radius) + var(--path-width));
}

.path-spacer-left:before {
  border-bottom: none;
  border-right: none;
  border-radius: calc(2 * var(--path-radius)) 0 0 0;
  left: 0;
  top: 0;
}
.path-spacer-left:after {
  border-top: none;
  border-left: none;
  border-radius: 0 0 calc(2 * var(--path-radius)) 0;
  right: 0;
  bottom: 0;
}
.path-step-left,
.path-step-right {
  position: relative;
}
.path-step-left {
  border-left: var(--path-width) solid var(--path-color);
}

.path-step-right {
  border-right: var(--path-width) solid var(--path-color);
}

.path-step-left:before,
.path-step-right:after {
  content: attr(data-title);
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: -50px;
  top: 50%;
  transform: translateY(-50%);
  width: 100px;
  height: 100px;
  padding: 6px;
  box-sizing: border-box;
  text-align: center;
  border-radius: 50%;
  background: var(--zielony);
  color: #000;
  font-size: 0.7rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  /*  font-style: italic; */
  text-transform: uppercase;
}
.path-step-right:after {
  right: -50px;
  left: auto;
}

.prices-1 {
  background-color: var(--zielony);
}
.prices-2 {
  background-color: var(--granat);
  color: #fff;
}
.prices-3 {
  background-color: var(--stalowy);
}

.about-1,
.about-6,
.about-8 {
  background-color: var(--szary);
}

.about-7 {
  background-color: var(--zielony);
}

.about-1 {
  background-color: var(--szary);
}

.about-3,
.about-4 {
  color: #fff;
  position: relative;
}
.about-3 {
  background-color: var(--jagodowy);
}
.about-4 {
  background-color: var(--granat);
}

.about-3 svg + div,
.about-4 svg + div {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.about-5 img {
  width: 50%;
  height: auto;
}

.about-2 img {
  max-width: 80%;
}

.home-offer div[class*="o-"] label[for^="o-"] {
  display: none;
}
@media screen and (max-width: 992px) {
  body {
    padding-top: 70px;
  }
  header {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    color: #fff;
    background-color: var(--jagodowy);
    height: 70px;
    z-index: 2;
    box-shadow: 0 3px 7px 0 rgba(0, 0, 0, 0.3);
  }
  header > a {
    display: block;
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    height: 32px;
    z-index: 2;
  }
  header > a img {
    height: 100%;
  }
  header nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    margin: 0;
    padding: 70px 0 0 0;
    overflow: hidden;
    color: inherit;
    background-color: inherit;
    font-size: 1.875rem;
    z-index: 1;
    background-clip: content-box;
  }

  header input:checked ~ nav {
    display: table;
  }
  header nav a {
    font-size: inherit;
    width: 100%;
    border: 0;
    box-sizing: border-box;
    border-radius: 0;
    /*   display: table-row; */
    height: auto;
    text-align: center;
    margin: 1rem 0;
  }
  nav a:first-of-type {
    display: none;
  }
  /*
  header nav a span {
    display: table-cell;
    vertical-align: middle;
  }
*/
  header label {
    position: absolute;
    right: 24px;
    top: 24px;
    z-index: 3;
    display: block;
  }
  header label:after,
  header label:before {
    content: "";
    position: relative;
    background-color: var(--szary);
    display: block;
    height: 10px;
    width: 10px;
    border-radius: 50%;
  }

  header label:before {
    margin-bottom: 5px;
    background-color: var(--zielony);
  }

  .home-logo {
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100 - 70px);
  }
  .home-logo img {
    max-width: 75vw;
    height: auto;
    width: auto;
  }

  .about-3 svg,
  .about-4 svg {
    display: none;
  }
  .about-3 svg + div,
  .about-4 svg + div {
    position: relative;
  }

  section.about {
    overflow: hidden;
  }
  .about-1,
  .about-3,
  .about-4 {
    position: relative;
  }
  .about-1:before,
  .about-1:after,
  .about-3:before,
  .about-3:after,
  .about-4:before,
  .about-4:after {
    content: "";
    width: 50vw;
    height: 100%;
    display: block;
    position: absolute;
    left: -50vw;
    top: 0;
  }

  .about-1:after,
  .about-3:after,
  .about-4:after {
    left: auto;
    right: -50vw;
  }

  .about-1:before,
  .about-1:after {
    background: var(--szary);
  }

  .about-3:before,
  .about-3:after {
    background: var(--jagodowy);
  }

  .about-4:before,
  .about-4:after {
    background: var(--granat);
  }

  .step-1-desc,
  .step-2-desc,
  .step-3-desc {
    font-size: 0.9rem;
  }
  .home-about img,
  .home-steps img,
  .contact-1 img {
    max-width: 50vw;
  }
  .about-5 img {
    width: 80%;
  }

  .home-offer div[class*="o-"] label[for^="o-"] {
    display: block;
    margin-top: 1rem;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg) translateX(-50%);
    width: 24px;
    height: 24px;
    position: absolute;
    right: calc(50% - 20px);
    /*  text-align: right;
    font-family: "Merriweather", serif;
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;*/
  }
  .home-offer div.o-3 label[for^="o-"],
  .home-offer div.o-5 label[for^="o-"] {
    border-color: #000;
  }
  .home-offer div[class*="o-"] label[for^="o-"][for$="-2"] {
    transform: rotate(-135deg) translateX(-50%);
  }
  .home-offer input[id^="o-"][id$="-1"]:checked ~ .hover {
    top: 100%;
    opacity: 0;
  }
  .home-offer input[id^="o-"][id$="-1"]:checked ~ .overlay {
    top: 0%;
    opacity: 1;
  }
  .home-offer input[id^="o-"][id$="-2"]:checked ~ .hover {
    top: 0%;
    opacity: 1;
  }
  .home-offer input[id^="o-"][id$="-2"]:checked ~ .overlay {
    top: -100%;
    opacity: 0;
  }
}

.contact-3,
.contact-4 {
  background-color: var(--szary);
}

::-webkit-input-placeholder {
  color: transparent;
}

:-ms-input-placeholder {
  color: transparent;
}

::placeholder {
  color: transparent;
}

form fieldset {
  position: relative;
}
form label {
  position: absolute;
  top: 0;
}

form fieldset,
form label,
form input,
form textarea,
form button {
  display: block;
  width: 100%;
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
  background-color: transparent;
}
form input,
form textarea {
  border: 0;
  border-bottom: 1px solid #ddd;
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
}
form input:focus + label,
form textarea:focus + label,
form input:not(:placeholder-shown) + label,
form textarea:not(:placeholder-shown) + label {
  display: none;
}

form input.invalid,
form textarea.invalid {
  border-color: #d93737;
}

form label,
form input,
form button {
  height: 2.5rem;
  line-height: 2.5rem;
}

form textarea {
  height: 2.5rem;
  resize: none;
  overflow: hidden;
}

form output.hidden,
form button.hidden {
  display: none;
}

form button:hover {
  background-color: var(--jagodowy);
  color: #fff;
}

form label,
form button,
form output {
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  /* font-style: italic; */
  text-transform: uppercase;
}
form output {
  color: #d93737;
}
form button {
  margin-top: 1.5rem;
  background-color: var(--zielony);
  border: 0;
  transition: background-color 0.25s ease;
  font-weight: 600;
}
