html,body,header,footer,details,summary,div,a,span,b,u,i,ul,ol,li,img,button,form,input,textarea,hr,section,article,h2,h3,h5,p {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
button {
    border: 0;
    outline: 0;
    box-shadow: none;
    background: transparent;
    cursor: pointer;
}
html, body {
    height: 100%;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Space Grotesk', sans-serif;
    display: flex;
    flex-direction: column;
}
header {
    height: 70px;
    width: 100%;
    background: #DFDFDF;
}
header > div {
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px;
    max-width: 1400px;
    margin: auto;
}
header button > img {
    height: 30px;
}
nav ul {
    display: flex;
    flex-direction: row;
    gap: 55px;
}
nav ul li {
    list-style: none;
}
nav ul a {
    text-decoration: none;
    color: #000;
    border-bottom: 2px solid transparent;
    transition: border-bottom-color 300ms ease;
}
nav li.active a,
nav li:hover a {
    border-bottom-color: #000;
}
a {
    display: inline-block;
    height: auto;
}
a img {
    display: block;
    height: 40px;
}
a.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}
a.logo span {
    color: #000;
    font-size: 20px;
    font-weight: 700;
}
h2 {
    font-size: 30px;
    line-height: 44px;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-bottom: 20px;
}
h3 {
    font-size: 26px;
    line-height: 36px;
    font-weight: 500;
    margin-bottom: 20px;
    text-align: center;
}
h5 {
    font-size: 18px;
    font-weight: 700;
}
p {
    font-size: 15px;
    line-height: 23px;
    font-weight: 400;
    color: #fff;
    padding-bottom: 15px;
}
h2::after {
    content:"";
    display: block;
    width: 140px;
    height: 5px;
    background-color: #8D8D8D;
    margin-top: 10px;
}
main {
    background-image: url("img/bg.png");
    background-repeat: repeat;
    background-size: auto;
    flex-grow: 1;
    padding: 12px 12px 0 12px;
}
section {
    max-width: 1200px;
    height: auto;
    margin: auto;
    display: flex;
    flex-direction: column;
    position: relative;
}
section.dark {
    border-radius: 24px;
    background-color: #111;
    color: #fff;
    align-items: flex-start;
    margin-top: 140px;
    padding: 100px 50px;
}
section.dark p {
    max-width: 690px;
}
section + section {
    margin-top: 200px;
}
section.grey {
    background: #D9D9D9;
    max-width: 100%;
}
section.grey .content {
    max-width: 1200px;
    margin: auto;
    padding: 100px 0;
    display: flex;
    flex-direction: row;
    width: 100%;
    flex-wrap: wrap;
    gap: 80px;
}
section.grey h2 {
    text-align: center;
    width: 100%;
}
section.grey h2::after {
    display: none;
}
section.grey .offer:first-of-type {
    margin-top: 100px;
}
a.button,
button.button,
input[type="submit"] {
    font-size: 15px;
    line-height: 22px;
    text-transform: uppercase;
    font-weight: 500;
    color: #111;
    background: #fff;
    padding: 15px 23px;
    border-radius: 12px;
    text-decoration: none;
    margin: 60px 0 20px;
    transition: background 300ms ease;
}
#cookie-banner button.button {
    font-size: 13px;
    margin: 0 0 0 12px;
    padding: 6px 12px;;
}
a.button:hover {
    background: #8D8D8D;
}
section[data-img="img/postava.svg"],
section[data-img="img/pani.svg"] {
    background-color: rgba(0,0,0,0.8);
}
section[data-img="img/postava.svg"]::after {
    content: "";
    background: url(img/o1.png);
    position: absolute;
    top: -5%;
    bottom: -7%;
    left: auto;
    right: -5%;
    display: block;
    width: 470px;
    background-size: 100% 100%;
}
section[data-img="img/klienti.svg"]::after {
    content: "";
    background: url(img/o5.svg);
    position: absolute;
    top: auto;
    bottom: 0;
    left: -4%;
    transform: translateX(-9%);
    right: auto;
    display: block;
    width: 180px;
    background-size: 100% 100%;
    height: 300px;
}
section[data-img="img/klienti.svg"]::before {
    content: "";
    background: url(img/o6.svg);
    position: absolute;
    top: auto;
    bottom: 0;
    transform: translateX(20%);
    left: auto;
    right: 0%;
    display: block;
    width: 140px;
    background-size: 100% 100%;
    height: 300px;
}
/*section[data-img="img/postava.svg"]::after {
    content: "";
    background: url("img/postava.svg");
    position: absolute;
    top: -15%;
    bottom: -15%;
    left: auto;
    right: 3%;
    display: block;
    width: 280px;
    background-size: 100% 100%;
}*/
section[data-img="img/target.svg"]::after {
    content: "";
    background: url("img/target.svg");
    position: absolute;
    top: auto;
    left: auto;
    right: -5%;
    bottom: -50px;
    display: block;
    width: 640px;
    background-size: contain;
    height: 400px;
    background-repeat: no-repeat;
}
/*section[data-img="img/pani.svg"]::after {
    content: "";
    background: url("img/pani.svg");
    position: absolute;
    top: -15%;
    bottom: -15%;
    right: auto;
    left: 8%;
    transform: translateX(-100%);
    display: block;
    width: 280px;
    background-size: 100% 100%;
}*/
section[data-img="img/pani.svg"]::after {
    content: "";
    background: url(img/o4.png);
    position: absolute;
    top: auto;
    bottom: 0;
    right: auto;
    left: 12%;
    transform: translateX(-100%);
    display: block;
    width: 300px;
    height: 400px;
    background-size: 100% 100%;
}
section.slim {
    max-width: 880px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 140px;
}
section.slim p {
    max-width: 100%;
}
section.slim h3:not(:first-child) {
    margin-top: 70px;
}
.offer {
    border-radius: 16px;
    background-color: #EFEFEF;
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
    color: #111;
    padding: 20px;
    max-width: 700px;
}
.offer p {
    color: #111;
    padding: 0;
}
.offer > img {
    width: 64px;
    height: 64px;
}
.offer .offer-content {
    display: flex;
    flex-direction: column;
}
.offer + .offer {
    margin-top: 20px;
}
section.wide {
    background: #D9D9D9;
    padding: 80px 0;
    max-width: 100%;
}
section.wide .section-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    max-width: 1000px;
    justify-content: center;
    align-items: center;
    margin: auto;
    gap: 24px;
}
section.wide a {
    text-decoration: none;
    color: #fff;
    padding: 15px 50px;
    border-radius: 12px;
    background-color: #383838;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 400;
    display: inline;
    flex-shrink: 0;
    transition: background 300ms ease;
}
section.wide a:hover {
    background-color: #5e5e5e;
}
section.wide p {
    max-width: 800px;
    margin: auto;
    color: #000;
    padding-bottom: 0;
}
section.clients {
    background: #DFDFDF;
    margin-top: 140px;
    margin-bottom: 140px;
    padding: 100px 50px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
section.clients .content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: auto;
    align-items: center;
    gap: 20px;
    justify-content: center;
}
section.clients .content img {
    width: 100px;
    height: auto;
}
section.clients .content .box {
    background-color: #fff;
    border-radius: 12px;
    height: 118px;
    width: 220px;
    display: grid;
    place-items: center;
}
section.clients h2 {
    text-align: center;
}
section.clients h2::after,
section.reviews h2::after {
    content: none;
}
section.reviews {
    background-color: #111;
    max-width: 100%;
    margin-top: 140px;
    padding: 100px 50px 0 50px;
    text-align: center;
}
section.reviews h2 {
    color: #fff;
    margin-bottom: 60px;
}
section.reviews .columns {
    display: flex;
    flex-direction: row;
    gap: 24px;
    max-width: 1200px;
    margin: auto;
}
section.reviews .column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
section.reviews .review {
    width: 100%;
    height: auto;
    background-color: #EFEFEF;
    border-radius: 16px;
    padding: 22px 15px;
    position: relative;
    display: flex;
    gap: 12px;
}
section.reviews .review .img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #111;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}
section.reviews .review-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
section.reviews .review .name {
    font-weight: 500;
    font-size: 16px;
    display: flex;
    gap: 10px;
}
section.reviews .review-content p {
    color: #111;
    padding-top: 12px;
    font-size: 14px;
    line-height: 21px;
    text-align: left;
    padding-right: 24px;
}
section.reviews .review .note {
    position: absolute;
    top: 10px;
    left: auto;
    right: 10px;
    font-size: 12px;
    color: #1a1a1a;
    font-style: italic;
}
section.reviews > img {
    max-width: 1000px;
    margin: auto;
    width: 100%;
}
section.price {
    display: flex;
    flex-direction: row;
    padding: 0;
}
section.price .left {
    flex: 4;
    height: 100%;
    padding: 100px 50px;
}
section.price .left p {
    padding-bottom: 25px;
}
section.price .right {
    flex: 6;
    height: 100%;
    background: #737272;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    border-radius: 0 24px 24px 0;
}
section.price .right .step {
    padding: 40px;
}
section.price .right .step .title {
    font-size: 18px;
    font-weight: 500;
}
section.price .right .step .options {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}
section.price .right .step .option {
    width: 100px;
    height: 88px;
    border-radius: 24px;
    background-color: #BCBCBC;
    border: 5px solid transparent;
    transition: background 300ms ease, border-color 600ms ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    line-height: 20px;
    color: #111;
    font-weight: 700;
}
section.price button.button[disabled] {
    pointer-events: none;
    cursor: not-allowed;
    background: #8D8D8D;
    color: #5f5f5f
}
section.price .right .step .option:hover,
section.price .right .step .option.active {
    background: #fff;
    border-color: #383838;
}
section.price .right .bottom {
    margin-top: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 40px;
}
section.price .right .bottom .sum {
    background-color: #111;
    color: #fff;
    padding: 12px 24px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
}
section.price .right .bottom button {
    margin: 0;
}
form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
form input:not([type="submit"]), textarea {
    width: 100%;
    border-radius: 8px;
    background: #8D8D8D;
    color: #000;
    font-family: inherit;
    font-size: 15px;
    line-height: 23px;
    border: 2px solid #fff;
    outline: 0;
    box-shadow: none;
    padding: 3px 5px;
}
form input[type="submit"] {
    margin: auto auto auto 0;
    cursor: pointer;
}
textarea {
    resize: none;
    min-height: 100px;
}
input::placeholder,
textarea::placeholder {
    color: #444;
}
.kontakt {
    display: flex;
    flex-direction: row;
    gap: 40px;
}
.kontakt .col-2:first-child {
    flex: 3;
}
.kontakt .col-2:last-child {
    flex: 2;
} 
.kontakt h3 {
    text-align: left;
}
footer {
    background: #383838;
    height: 80px;
}
footer > div {
    max-width: 1200px;
    margin: auto;
    height: 80px;
    justify-content: center;
    align-items: center;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
}
footer > div > nav {justify-self: left}
footer > div > .logo {justify-self: center}
footer > div > p {justify-self: end}
footer nav {
    align-items: center;
    display: flex;
}
footer nav a {
    color: #fff;
    border: none;
}
footer nav ul {
    gap: 26px;
}
footer .logo,
footer .logo span {
    color: #fff;
}
footer div p {
    padding-bottom: 0;
}
details {
    border: none;
    border-radius: 16px;
    margin-bottom: 10px;
    padding: 24px;
    background: #EFEFEF;
    width: 100%;
}
summary {
    cursor: pointer;
    list-style: none;
    font-size: 17px;
    line-height: 24px;
    color: #111;
    font-weight: 400;
    padding-right: 20px;
}
details[open] summary::after {
    content: "▲";
    float: right;
}
details[open] p {
    color: #111;
    font-size: 15px;
    line-height: 23px;
    padding-top: 20px;
}
summary::after {
    content: "▼";
    float: right;
    color: #a2a2a2;
}
section.grey.faq h2 {
    margin-bottom: 50px;
}
section.grey.faq .content {
    gap: 12px;
    padding-left: 12px;
    padding-right: 12px;
}
section.grey.faq ul {
    padding-left: 30px;
}
dialog {
    width: 300px;
}
dialog .close-modal img {
    width:  20px;
}
dialog::backdrop {
    background-color: rgba(0,0,0,0.55);
}
@media screen and (max-width: 1000px) {
    header > div {
        padding: 15px 20px;
    }
    nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: auto;
        height: 100vh;
        width: 80%;
        background: #DFDFDF;
        z-index: 2;
        transition: transform 300ms ease, box-shadow 20ms ease;
        transform: translateX(100%);
        box-shadow: 0 0;
    }
    nav.active {
        box-shadow: -200px 0 rgba(0, 0, 0, 0.5);
        transform: translateX(0%);
    }
    nav ul {
        flex-direction: column;
        gap: 16px;
        padding: 65px 20px 20px;
    }
    nav button {
        position: absolute;
        top: 35px;
        left: auto;
        right: 25px;
    }
    section.dark:not(.price),
    section.clients,
    section.reviews,
    section.price .left {
        padding: 50px 20px;
    }
    section[data-img="img/postava.svg"]::after {
        bottom: auto;
        left: auto;
        right: 0;
        width: 140px; /*100px*/
        background-size: 100% 100%;
        height: 160px; /*200px*/
    }
    section[data-img="img/postava.svg"] h2 {
        max-width: 70%;
    }
    section[data-img="img/target.svg"]::after {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: -70px;
        display: block;
        width: 100%;
        background-size: contain;
        height: 200px;
        background-repeat: no-repeat;
    }
    section[data-img="img/klienti.svg"]::after {
        display: none;
    }
    section[data-img="img/klienti.svg"]::before {
        height: 180px;
        bottom: -40px;
        right: -2%;
    }
    section.grey,
    section.wide,
    section.reviews {
        width: calc(100% + 24px);
        max-width: calc(100% + 24px);
        margin-left: -12px;
    }
    section.grey .content {
        gap: 0;
        padding: 50px 0;
        flex-direction: column;
        align-items: center;
    }
    section.grey .offer:first-of-type {
        margin-top: 50px;
    }
    .offer {
        border-radius: 0;
    }
    section.grey .content > img {
        position: relative;
        bottom: -60px;
        width: 40%;
    }
    h3 {
        font-size: 22px;
    }
    section[data-img="img/pani.svg"]::after {
        content: none;
    }
    section.wide .section-content {
        flex-direction: column;
        padding-left: 12px;
        padding-right: 12px;
    }
    section.wide .section-content a {
        order: 2;
    }
    section.wide .section-content p {
        order: 1;
        text-align: center;
    }
    section.clients .content .box {
        flex: 1;
    }
    section.reviews .columns,
    section.dark.price,
    section.price .right .bottom {
        flex-direction: column;
    }
    section.reviews .review {
        padding-top: 40px;
    }
    section.reviews {
        padding-bottom: 0;
    }
    section.price .right {
        border-radius: 0 0 24px 24px;
    }
    section.price .right .bottom {
        gap: 24px;
    }
    footer,
    footer > div {
        height: auto;
    }
    footer > div {
        display: flex;
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
        gap: 24px;
    }
    .kontakt {
        flex-direction: column;
        margin-bottom: 100px;
    }
    .kontakt .col-2:first-child,
    .kontakt .col-2:last-child {
        flex: 1;
        width: 100%;
    }
}
@media screen and (min-width: 1000px){
    header button {
        display: none;
    }
    main {
        padding: 0;
    }
}