/*
Theme Name: Resolut
Text Domain: marketingzoo.resolut.pl
Author URI: https://resolut.pl
*/

:root {
    --green: #07230d;
    --lime: #dcfa03;
    --red: #f05652;
    --background: #f3f3ea;
    --darkBackground: #e7e9df;
    --grey: #829085;
    --white: #fcfcfc;
    --max-width: 1300px;

    @media screen and (max-width: 1300px) {
        --max-width: 1100px;
    }

    @media screen and (min-width: 1300px) {
        --size-xs: 8px;
        --size-s: 16px;
        --size-m: 32px;
        --size-l: 64px;
        --size-xl: 128px;
    }

    @media screen and (max-width: 1300px) {
        --size-xs: 8px;
        --size-s: 16px;
        --size-m: 20px;
        --size-l: 48px;
        --size-xl: 96px;
    }

    @media screen and (max-width: 992px) {
        --size-xs: 8px;
        --size-s: 16px;
        --size-m: 16px;
        --size-l: 32px;
        --size-xl: 64px;
    }
}

@font-face {
    font-family: "hanken-grotesk";
    src: url("assets/fonts/hanken-grotesk.ttf");
}

@font-face {
    font-family: "hanken-grotesk";
    src: url("assets/fonts/hanken-grotesk-bold.ttf");
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "pp-fragment";
    src: url("assets/fonts/pp-fragment.ttf");
}

/**
 * =================================
 * Global styles
 * =================================
 */

* {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body,
html {
    padding: 0;
    margin: 0;
}

body {
    background-color: var(--white);
    color: var(--green);
    font-family: "hanken-grotesk", Helvetica, sans-serif;
    font-size: 16px;
    line-height: 140%;

    @media screen and (max-width: 992px) {
        font-size: 15px;
    }
}

h2 {
    font-family: "pp-fragment";
    font-size: 32px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    margin-bottom: var(--size-l);

    @media screen and (max-width: 1300px) {
        font-size: 28px;
    }
}

h3 {
    font-size: 26px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%;
    letter-spacing: -0.26px;

    @media screen and (max-width: 1300px) {
        font-size: 22px;
    }
}

.no-underline {
    text-decoration: none;
}

a {
    color: inherit;
}

.cta {
    color: var(--green);
    text-decoration: none;
    background-color: var(--lime);
    padding: var(--size-xs) var(--size-s);
    border-radius: 32px;
    font-weight: bold;

    &:hover {
        text-decoration: underline;
    }
}

/**
 * =================================
 * Header
 * =================================
 */
.header {
    width: 100%;
    height: 64px;
    background-color: var(--background);
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    z-index: 5;

    .header__content {
        width: 100%;
        max-width: var(--max-width);
        margin: 0 auto;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-content: flex-end;
    }

    .header__logo {
        width: 100px;
    }
}

/**
 * =================================
 * Hero
 * =================================
 */
.hero {
    position: relative;
    width: 100%;
    height: calc(100svh - 64px);
    min-height: 580px;
    background-color: var(--background);
    background-image: url(assets/hero-dog-paws.svg);
    background-position: right calc(100% - var(--size-m));
    background-repeat: no-repeat;
    background-size: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: var(--size-m);

    h1 {
        text-align: center;
        font-family: "pp-fragment";
        font-size: 62px;
        line-height: 80%;
        margin: 0;
    }

    p {
        font-weight: bold;
        max-width: 600px;
        line-height: 140%;
        font-size: 26px;
    }

    .hero__dogi {
        width: 96px;
    }

    .hero__path {
        position: absolute;
        bottom: -100px;
        left: calc(50% - 300px);
        scale: 0.9;
    }

    @media screen and (max-width: 1300px) {
        background-size: 160px;
        min-height: 480px;

        h1 {
            font-size: 52px;
            line-height: 120%;
        }

        p {
            font-size: 22px;
        }

        .hero__dogi {
            width: 82px;
        }
    }

    @media screen and (max-width: 992px) {
        background-size: 128px;
        min-height: 580px;

        h1 {
            font-size: 28px;
            line-height: 120%;
        }

        p {
            font-size: 22px;
        }

        .hero__dogi {
            width: 64px;
        }

        .hero__path {
            position: absolute;
            bottom: -110px;
            left: calc(50% - 220px);
            scale: 0.75;
        }
    }
}

/**
 * =================================
 * Section 1 - About
  * =================================
 */
.about {
    max-width: var(--max-width);
    padding: var(--size-xl) var(--size-s);
    margin: 0 auto;

    font-size: 26px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    letter-spacing: -0.26px;

    strong {
        color: var(--red);
        font-weight: 400;
    }

    .about__block {
        max-width: 70%;
    }

    @media screen and (max-width: 992px) {
        font-size: 22px;
    }

    @media screen and (max-width: 768px) {
        .about__block {
            max-width: 100%;
        }
    }
}

/**
 * =================================
 * Section 2 - Values
 * =================================
 */
.values {
    max-width: var(--max-width);
    padding: 0px var(--size-s) var(--size-xl) var(--size-s);
    margin: 0 auto;

    p {
        font-size: 14px;
        font-style: normal;
        font-weight: 500;
        line-height: 140%;
        letter-spacing: -0.14px;
        margin: 0;
    }

    h2 {
        margin-top: 0;
    }

    h3 {
        margin: 0;
    }

    .values__block {
        background-color: var(--background);
        border-radius: 16px;
        padding: var(--size-l);

        background-image: url(assets/digital-marketing.svg);
        background-repeat: no-repeat;
        background-position: 105% -25%;
    }

    .values__values {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--size-l);
    }

    .values__value {
        display: flex;
        flex-direction: column;
        gap: var(--size-s);
        max-width: 256px;
    }

    .values__number {
        width: 28px;
        height: 28px;
        background-color: var(--lime);
        display: flex;
        justify-content: center;
        align-items: center;
        font-family: "pp-fragment";
        color: var(--green);
        border-radius: 16px;
        font-size: 12px;
    }

    @media screen and (max-width: 1300px) {
        .values__block {
            background-size: 16%;
            background-position: 105% -15%;
        }
    }

    @media screen and (max-width: 768px) {
        .values__block {
            background-image: none;
        }

        .values__values {
            grid-template-columns: 1fr;
        }

        .values__value {
            max-width: 100%;
        }
    }
}

/**
 * =================================
 * Section 3 - Testimonial
 * =================================
 */
.testimonial {
    max-width: 1000px;
    padding: 0px var(--size-s);
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: var(--size-l);
    font-size: 26px;
    line-height: 140%;
    letter-spacing: -0.26px;
    background-image: url("assets/quote.svg");
    background-repeat: no-repeat;
    background-position: right top;

    strong {
        font-weight: 400;
        color: var(--red);
    }

    .testimonial__author,
    .testimonial__company {
        font-size: 18px;
        line-height: 140%;
        letter-spacing: -0.18px;
        margin: 0;
    }

    .testimonial__author {
        font-weight: bold;
    }

    @media screen and (max-width: 992px) {
        grid-template-columns: 1fr;
        font-size: 22px;
        background-position: calc(100% - 16px) 180px;

        .testimonial__image-container {
            display: flex;
            justify-content: center;

            img {
                max-width: 140px;
            }
        }

        .testimonial__author,
        .testimonial__company {
            font-size: 16px;
            line-height: 140%;
        }
    }
}

/**
 * =================================
 * Section 4 - Offer
 * =================================
 */
.offer {
    padding: var(--size-xl) 0 var(--size-m) 0;

    .offer__title {
        max-width: var(--max-width);
        padding: 0 var(--size-s);
        margin: 0 auto;
        margin-bottom: var(--size-l);
    }

    .glide__slides {
        cursor: grab;

        &:active {
            cursor: grabbing;
        }
    }

    .glide__slide {
        background-color: var(--background);
        border-radius: 16px;
        padding: var(--size-l);
        transition-duration: 300ms;
        display: flex;
        flex-direction: column;
        gap: 94px;
    }

    .glide__arrows {
        max-width: var(--max-width);
        padding: 0 var(--size-s);
        margin: 0 auto;
        margin-top: var(--size-l);

        display: flex;
        flex-direction: row;
        gap: var(--size-s);
    }

    .glide__arrow {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 24px;
        height: 24px;
        border-radius: 16px;
        background-color: var(--background);
        transition-duration: 300ms;

        &:hover {
            cursor: pointer;
            background-color: var(--darkBackground);
        }

        img {
            width: 8px;
        }
    }

    .glide__arrow--disabled {
        cursor: default !important;
        background-color: var(--white) !important;
        opacity: 0.3 !important;
    }

    .glide__arrow--left {
        img {
            position: relative;
            left: -1px;
            transform: rotate(180deg);
        }
    }

    .glide__arrow--right {
        img {
            position: relative;
            right: -1px;
        }
    }

    .glide__slide-icon {
        width: var(--size-l);
    }

    .glide__slide-title {
        font-size: 26px;
        font-weight: bold;
        line-height: 140%;
    }

    .glide__slide-content-container {
        display: flex;
        flex-direction: column;
        gap: var(--size-s);
    }

    .glide__slide-content {
        font-size: 14px;
        line-height: 140%;
        color: var(--grey);
    }

    @media screen and (max-width: 1300px) {
        .glide__slide {
            gap: 64px;
            padding: 32px;
        }

        .glide__slide-title {
            font-size: 24px;
        }
    }

    @media screen and (max-width: 992px) {
        .glide__slide {
            gap: 64px !important;
            padding: 24px;
        }

        .glide__slide-content {
            font-size: 14px !important;
        }

        .glide__slide-title {
            font-size: 18px !important;
        }

        .glide__slide-icon {
            width: 42px !important;
        }
    }
}

/**
 * =================================
 * Section 5 - Process
 * =================================
 */
.process {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--size-s) var(--size-l) var(--size-s);
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: var(--size-l);

    .process__image-container {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .process__image {
        width: 200px;
    }

    .process__content {
        display: flex;
        flex-direction: column;
        gap: var(--size-s);
    }

    .process__title {
        text-align: center;

        span {
            position: relative;
            display: inline-block;

            &::after {
                content: "";
                position: absolute;
                top: 90%;
                left: 50%;
                transform: translateX(-50%);
                width: 200px;
                height: 35px;
                background: url("assets/flow-1.svg") no-repeat center center;
                background-size: contain;
            }
        }
    }

    .process__list {
        list-style: none;
        padding: 0;

        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--size-m);
        counter-reset: list-counter;
    }

    .process__list-item {
        display: grid;
        grid-template-columns: 1fr 6fr;
        align-items: center;
        gap: var(--size-s);
        counter-increment: list-counter;

        &::before {
            content: counter(list-counter);
            display: flex;
            font-family: "pp-fragment";
            color: var(--grey);
            font-size: 32px;
        }

        h4 {
            margin: 0;
            margin-bottom: var(--size-xs);
        }

        p {
            font-size: 14px;
            line-height: 140%;
            color: var(--grey);
            max-width: 300px;
        }
    }

    @media screen and (max-width: 992px) {
        grid-template-columns: 1fr;

        .process__image-container {
            img {
                max-width: 120px;
            }
        }

        .process__list-item {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }
    }
}

/**
 * =================================
 * Section 6 - About us
 * =================================
 */
.about-us {
    padding-bottom: var(--size-xl);
    background: radial-gradient(
        77.65% 77.54% at 50% 100%,
        var(--background, #f3f3ea) 0%,
        var(--white, #fcfcfc) 100%
    );

    .about-us__container {
        max-width: var(--max-width);
        width: 100%;
        margin: 0 auto;
        padding: 0 var(--size-s);
        display: grid;
        grid-template-columns: 2fr 1fr;
    }

    .about-us__content {
        max-width: 600px;

        p {
            color: var(--grey);
        }
    }

    .about-us__training-icons {
        padding: 0;
        list-style: none;
        display: flex;
        align-items: center;
        flex-direction: row;
        gap: var(--size-m);

        img {
            max-height: 50px;
            max-width: 100px;
        }
    }

    .about-us__image-container {
        display: flex;
        justify-content: center;
        align-items: center;
        justify-self: center;
        align-self: center;
    }

    .about-us__image {
        width: 100%;
    }

    @media screen and (max-width: 992px) {
        .about-us__training-icons {
            img {
                max-height: 45px;
                max-width: 90px;
            }
        }

        .about-us__image-container {
            display: none;
        }
    }

    @media screen and (max-width: 768px) {
        .about-us__container {
            grid-template-columns: 1fr;
        }
    }
}

/**
 * =================================
 * Section 7 - FAQ
 * =================================
 */

.faq {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--size-l) var(--size-m);

    h4 {
        padding: 0;
        margin: 0;
    }

    .faq__list {
        list-style: none;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: var(--size-s);
    }

    .faq__list-item {
        border: 2px solid var(--background);
        padding: var(--size-s);
        border-radius: 16px;
        transition-duration: 300ms;

        &:hover {
            background-color: var(--background);
        }
    }

    .faq__list-item-content-container {
        margin-top: var(--size-s);
        display: none;
    }

    .faq__list-item--active {
        background-color: var(--background);

        .faq__list-item-content-container {
            display: block;
        }

        .faq__list-item-title {
            &::before {
                transform: rotate(90deg);
            }
        }
    }

    .faq__list-item-title {
        display: flex;
        flex-direction: row;
        gap: var(--size-xs);
        align-items: center;
        cursor: pointer;

        &::before {
            display: inline-block;
            content: "";
            width: 24px;
            height: 24px;
            background: url("assets/controls.svg") no-repeat center center;
            transition-duration: 300ms;
        }
    }

    .faq__list-item-content-container {
        padding-left: calc(24px + var(--size-xs));
        max-width: 800px;
    }
}

/**
* =================================
* Section 8 - Contact
* =================================
*/

.contact {
    padding: var(--size-l) 0;
    background-color: var(--background);
    background-image: url(assets/hero-dog-paws.svg);
    background-position: left calc(0% + var(--size-m));
    background-repeat: no-repeat;
    background-size: 200px;

    .contact__container {
        max-width: var(--max-width);
        margin: 0 auto;
        padding: 0 var(--size-s);
    }

    .contact__title {
        text-align: center;
        margin-bottom: 32px;

        span {
            display: inline-block;
            position: relative;

            &::after {
                content: "";
                position: absolute;
                width: 270px;
                height: 270px;
                background: url("assets/circle.svg") no-repeat center center;
                background-size: contain;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
            }
        }
    }

    .contact__description-container {
        display: flex;
        justify-content: center;
    }

    .contact__description {
        margin-top: 0;
        text-align: center;
        font-weight: bold;
        max-width: 600px;
        line-height: 140%;
        font-size: 26px;
    }

    .contact__form-container {
        max-width: 500px;
        margin: 0 auto;

        input[type="email"] {
            border-radius: 32px;
            background: var(--white, #fcfcfc);
            box-shadow: 0px 0px 16px 4px rgba(7, 35, 13, 0.05);
            outline: none;
            border: none;
            width: 100%;
            padding: var(--size-s);
            font-size: 14px;
            margin: var(--size-xs) 0;
        }

        input[type="submit"] {
            background-color: var(--lime);
            font-weight: bold;
            border-radius: 32px;
            border: none;
            outline: none;
            color: var(--green);
            padding: var(--size-xs) var(--size-m);
            font-size: 14px;
            display: block;
            margin: 0 auto;
            cursor: pointer;
            margin-top: var(--size-m);

            &:disabled {
                opacity: 0.5;
                cursor: not-allowed;
            }

            &:hover {
                text-decoration: underline;
            }
        }
    }

    @media screen and (max-width: 1300px) {
        background-size: 160px;
        .contact__title {
            span {
                &::after {
                    width: 240px;
                    height: 240px;
                }
            }
        }
    }

    @media screen and (max-width: 992px) {
        background-size: 128px;
    }
}

footer {
    background-color: var(--white);

    a {
        &:hover {
            background-color: var(--lime);
        }
    }

    ul {
        padding: 0;
        list-style: none;
    }
}

.upfooter {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;

    padding-top: 128px;
    padding-bottom: 64px;

    .upfooter__logo {
        width: 100px;
    }

    .upfooter__list {
        display: flex;
        flex-direction: column;
        gap: 4px;

        font-size: 16px;
        text-align: center;
    }
}

.subfooter {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;

    .subfooter__list {
        display: flex;
        flex-direction: row;
        gap: 32px;

        color: var(--grey);
        font-size: 14px;
    }

    .subfooter__rectangle {
        max-width: 325px;
        width: 100%;

        @media screen and (max-width: 768px) {
            max-width: 250px;
        }
    }
}

.reject-all {
    padding: 0 !important;
    border: none !important;
    background-color: white !important;
    color: var(--primaryColor) !important;
}
