/* скидання стилів  */

@import url("reset.css");

/* підключення шрифтів */

@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300..700&display=swap');

html {
    scroll-behavior: smooth;
}

body._lock {
    overflow: hidden;
}

.wrapper {
    min-height: 100%;
}

.page {
    padding: 0px 0px 0px 0px;
}

/* початок першого екран */

.page__section {
    margin: 0px auto;
}

.page__title {
    font-size: 56px;
    margin: 0px 0px 20px 0px;
    font-family: "Fira Code", monospace;
    font-weight: 600;
}

.page__text {
    font-size: 16px;
}

.page__text p {
    margin: 0px 0px 20px 0px;
    font-family: "Fira Code", monospace;
    font-weight: 400;
}

.page__section_hero {
    background: url('../img/panem-background.png') no-repeat center center / cover;
    color: #fff;
    position: relative;
    padding: 150px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
}

.hero__content {
    padding: 50px;
    max-width: 1200px;
    width: 100%;
}

.hero__buttons {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #fff;
    color: #080808;
    border: #fff 1px solid;
    font-family: "Fira Code", monospace;
    text-decoration: none;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #080808;
    border: #fff 1px solid;
    color: #fff;
}

.btn--secondary {
    background-color: #080808;
    border: #fff 1px solid;
    color: #fff;
}

.btn--secondary:hover {
    background-color: #fff;
    color: #080808;
    border: #fff 1px solid;
}

/* Адаптив */
@media (max-width: 768px) {
    .page__title {
        font-size: 26px;
    }

    .page__text {
        font-size: 14px;
    }

    .hero__content {
        padding: 20px;
    }

    .hero__buttons {
        flex-direction: column;
        gap: 10px;
    }
}

/* анімація */

.js-animated-title span {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* другий екран */

.page__section_intro {
    background-color: #fff;
    max-width: 60%;
    margin: -150px auto 100px;
    padding: 40px;
    position: relative;
    z-index: 10;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

    /* анімація появи */
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.page__section_intro.animate {
    opacity: 1;
    transform: translateY(0);
}

.intro__tagline {
    margin-bottom: 50px;
    column-gap: 10px !important;
    
}

.google-tagline {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2px;
    font-family: "Fira Code", monospace;
    text-transform: uppercase;
    font-size: 24px;
    text-align: center;
    margin: 0 auto 50px;
    width: fit-content;
}

.intro__grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: space-between;
    /*align-items: center;*/
}

.intro__left,
.intro__right {
    flex: 1 1 45%;
    font-family: "Fira Code", monospace;
}

.intro__left h2 {
    font-size: 28px;
    font-weight: 600;
    color: #000;
    line-height: 1.4;
}

.intro__right p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

/* адаптив */
@media (max-width: 992px) {
    .page__section_intro {
        max-width: 90%;
        margin: -100px auto 60px;
        padding: 30px;
    }

    .intro__grid {
        flex-direction: column;
        gap: 20px;
    }

    .intro__left,
    .intro__right {
        flex: 1 1 100%;
        text-align: center;
    }

    .intro__left h2 {
        font-size: 22px;
    }
}

/* третій екран клієнти */

.clients__title {
    font-size: 28px;
    font-weight: 600;
    color: #000;
    line-height: 1.4;
    font-family: "Fira Code", monospace;
    text-align: center;
    margin-bottom: 50px;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.slider-wrapper {
    position: relative;
}

.slider-wrapper .slide-button {
    position: absolute;
    top: 50%;
    outline: none;
    border: none;
    height: 50px;
    width: 50px;
    z-index: 5;
    color: #000;
    display: flex;
    cursor: pointer;
    font-size: 2rem;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    background: transparent;
}

.slider-wrapper .slide-button:hover {
    background: #404040;
    color: #fff;
}

.slider-wrapper .slide-button#prev-slide {
    left: -25px;
    display: none;
}

.slider-wrapper .slide-button#next-slide {
    right: -25px;
}

.slider-wrapper .image-list {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    overflow-x: auto;
    scrollbar-width: none;
    border-radius: 1rem;
}

.slider-wrapper .image-list::-webkit-scrollbar {
    display: none;
}

.slider-wrapper .image-list .image-item {
    width: 200px;
    margin-block: 30px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.slider-wrapper .image-list .image-item:hover {
    transform: scale(1.06);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.slider-scrollbar {
    height: 24px;
    width: 100%;
    display: flex;
    align-items: center;
}

.scrollbar-track {
    background: #ccc;
    width: 100%;
    height: 2px;
    display: flex;
    align-items: center;
    border-radius: 4px;
    position: relative;
}

.slider-scrollbar:hover .scrollbar-track {
    height: 4px;
}

.scrollbar-thumb {
    position: absolute;
    background: #000;
    top: 0;
    bottom: 0;
    width: 50%;
    height: 100%;
    cursor: grab;
    border-radius: inherit;
}

.scrollbar-thumb:active {
    cursor: grabbing;
    height: 8px;
    top: -2px;
}

.scrollbar-thumb::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -10px;
    bottom: -10px;
}

/* Адаптив */

@media only screen and (max-width: 1023px) {
    .slider-wrapper {
        padding: 40px 20px;
    }

    .slider-wrapper .slide-button {
        display: none !important;
    }

    .slider-wrapper .image-list {
        gap: 10px;
        margin-bottom: 15px;
        scroll-snap-type: x mandatory;
    }

    .slider-wrapper .image-list .image-item {
        width: 280px;
        height: auto;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    }
} 

/* четвертий екран */

.page__section_cta {
    background-color: #fff;
    max-width: 100%;
    margin: 100px auto;
    padding: 50px;
    position: relative;
}

.cta__tagline {
    margin-top: 40px;
    margin-bottom: 50px;
}

.cta-tagline {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2px;
    font-family: "Fira Code", monospace;
    font-size: 24px;
    text-align: center;
    margin: 0 auto 50px;
    width: fit-content;
}

.cta__grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
}

.cta__left,
.cta__right {
    flex: 1 1 45%;
    font-family: "Fira Code", monospace;
}

.cta__left {
    padding: 0 20px;
}

.cta__form-wrapper {
    padding: 20px 0;
}

.cta-tagline .highlight {
    color: #000;
}

.cta__left h2 {
    font-size: 28px;
    font-weight: 600;
    color: #000;
    line-height: 1.4;
}

/* анімація */
.scroll-fade-in {
    opacity: 0;
    transform: translateY(40px) rotate(-5deg) scale(0.95);
    transition: all 0.8s ease-out;
}

.scroll-fade-in.visible {
    opacity: 1;
    transform: translateY(0) rotate(0deg) scale(1);
}

/* Зображення */
.intro__img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* адаптив */
@media (max-width: 992px) {
    .page__section_cta {
        max-width: 90%;
        margin: 100px auto 60px;
        padding: 30px;
    }

    .cta__grid {
        flex-direction: column;
        gap: 20px;
        padding: 0;
    }

    .cta__left,
    .cta__right {
        flex: 1 1 100%;
        text-align: center;
    }

    .cta__left h2 {
        font-size: 22px;
    }
}

/* Contact Form 7 */
.wpcf7 {
    font-family: "Fira Code", monospace;
}

.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wpcf7-form p {
    margin: 0;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus {
    border-color: #000;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
    outline: none;
}

.wpcf7 textarea {
    resize: vertical;
    min-height: 120px;
}

.wpcf7 input[type="submit"] {
    background-color: #000;
    color: #fff;
    padding: 14px 24px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.3s ease;
}

.wpcf7 input[type="submit"]:hover {
    background-color: #333;
}

/* Повідомлення про успіх чи помилку */
.wpcf7-response-output {
    margin-top: 15px;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
}

.wpcf7-mail-sent-ok {
    border: 2px solid #28a745;
    background-color: #eafaf1;
    color: #28a745;
}

.wpcf7-mail-sent-ng,
.wpcf7-aborted,
.wpcf7-spam-blocked {
    border: 2px solid #dc3545;
    background-color: #fbeaea;
    color: #dc3545;
}

/* Адаптивність */
@media (max-width: 992px) {
    .wpcf7-form {
        gap: 12px;
    }

    .wpcf7 input[type="submit"] {
        align-self: center;
    }
}

/* П'ятий екран */

.page__section_pricing {
    padding: 100px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.section__title,
.section__subtitle,
.pricing__title,
.pricing__price,
.pricing__features,
.pricing__button {
    font-family: "Fira Code", monospace;
}

.section__title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
}

.section__subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    max-width: 600px;
    margin: 0 auto 60px;
}

.pricing__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.pricing__card {
    background-color: #fff;
    padding: 30px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    flex: 1 1 300px;
    max-width: 340px;
    transition: transform 0.3s ease;
}

.pricing__card:hover {
    transform: scale(1.06);
}

.pricing__title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: #333 1px solid;
}

.pricing__price {
    font-size: 22px;
     color: #000;
    margin-bottom: 30px;
    font-weight: 600;
}

.pricing__features {
    font-size: 16px;
    color: #333;
    line-height: 1;
    margin-bottom: 25px;
}

/* Списки всередині features */
.pricing__features ul {
    padding-left: 20px;
    margin-bottom: 20px;
    list-style-type: disc;
}

.pricing__features li {
    margin-bottom: 8px;
    line-height: 1;
}

.pricing__button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s ease;
    font-size: 14px;
}

.pricing__button:hover {
    background-color: #444;
}

@media (max-width: 768px) {
    .page__section_pricing {
    padding: 50px 20px;
}
    
    .pricing__grid {
        flex-direction: column;
        align-items: center;
    }

    .pricing__card {
        text-align: center;
        padding: 30px;
    }
    
    .pricing__card:hover {
        transform: none;
    }
    
}

/* Шостий екран */

.page__section_for {
    padding: 100px 0;
    background-color: #fff;
    text-align: center;
}

.for__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.for__card {
    background-color: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    padding: 30px 20px;
    flex: 1 1 220px;
    max-width: 260px;
    transition: transform 0.3s ease;
}

.for__card:hover {
    transform: translateY(-5px);
}

.for__icon {
    max-width: 64px;
    margin: 0 auto 20px;
    display: block;
}

.for__title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    font-family: "Fira Code", monospace;
}

.for__text {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    font-family: "Fira Code", monospace;
}

.for__button-wrapper {
    margin-top: 40px;
}

.for__button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #000;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-family: "Fira Code", monospace;
    transition: background 0.3s ease;
}

.for__button:hover {
    background-color: #444;
}

@media (max-width: 768px) {
    .page__section_for {
    padding: 50px 20px;
}
    .for__grid {
        flex-direction: column;
        align-items: center;
    }

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

/* Сьомий екран */

.page__section_why {
    padding: 100px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.why__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.why__card {
    background-color: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    padding: 30px 20px;
    flex: 1 1 220px;
    max-width: 260px;
    transition: transform 0.3s ease;
}

.why__card:hover {
    transform: translateY(-5px);
}

.why__icon {
    max-width: 64px;
    margin: 0 auto 20px;
    display: block;
}

.why__title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    font-family: "Fira Code", monospace;
}

.why__text {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    font-family: "Fira Code", monospace;
}

.why__number {
    font-size: 48px;
    font-weight: bold;
    color: #0B2D46;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 4px;
    font-family: "Fira Code", monospace;
}

.why__number-prefix,
.why__number-suffix {
    font-size: 24px;
    color: #0B2D46;
    font-weight: 500;
}

.why__number-value {
    font-size: 48px;
    font-weight: bold;
    color: #0B2D46;
}

.why__number-description {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
    font-family: "Fira Code", monospace;
}

/* восьмий екран кейси */

.page__section_case {
    padding: 100px 0;
    background-color: #fff;
    text-align: center;
}

.case__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.case__card {
    background-color: #000;
    padding: 25px;
    border-radius: 16px;
    overflow: hidden;
    flex: 1 1 280px;
    max-width: 320px;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.case__card:hover {
    transform: translateY(-5px);
}

.case__img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.case__content {
    padding: 20px;
    color: #fff;
    font-family: "Fira Code", monospace;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case__title {
    font-size: 20px;
    font-weight: 600;
}

.case__button-wrapper {
    margin-top: auto;
}

.case__button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #fff;
    color: #000;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid transparent;
    transition: background 0.3s ease, color 0.3s ease, border 0.3s ease;
    font-family: "Fira Code", monospace;
}

.case__button:hover {
    background-color: #000;
    color: #fff;
    border: 2px solid #fff;
}

.case__button--section {
    margin-top: 40px;
    border: 2px solid #000;
    /* чорний бордер для кнопки секції */
}

@media (max-width: 768px) {
    .page__section_case {
    padding: 50px 20px;
}
    .case__grid {
        flex-direction: column;
        align-items: center;
    }

    .case__card {
        max-width: 100%;
    }
    
    .case__img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}
    
}

/* ста-2 */

.page__section_cta-2 {
    background-color: #f9f9f9;
    max-width: 100%;
    padding: 50px;
    position: relative;
}

.cta-2__subheading {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.cta-2__tagline {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    text-align: center;
    margin-bottom: 20px;
}

.cta-2__description {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    text-align: center;
    margin-bottom: 30px;
}

.cta-2__grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
}

.cta-2__left,
.cta-2__right {
    flex: 1 1 45%;
    font-family: "Fira Code", monospace;
}

.cta-2__left {
    padding: 0 20px;
}

.cta-2__form-wrapper {
    padding: 20px 0;
}

.cta-2-tagline .highlight {
    color: #000;
}

.intro__img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.scroll-fade-in {
    opacity: 0;
    transform: translateY(40px) rotate(-5deg) scale(0.95);
    transition: all 0.8s ease-out;
}

.scroll-fade-in.visible {
    opacity: 1;
    transform: translateY(0) rotate(0deg) scale(1);
}

/* адаптив */
@media (max-width: 992px) {
    .page__section_cta-2 {
        max-width: 90%;
        margin: 100px auto 60px;
        padding: 30px;
    }

    .cta-2__grid {
        flex-direction: column;
        gap: 20px;
        padding: 0;
    }

    .cta-2__left,
    .cta-2__right {
        flex: 1 1 100%;
        text-align: center;
    }

    .cta-2__left h2 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .intro__img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }
}

/* FAQ*/

.page__section_faq-cta {
    background-color: #fff;
    max-width: 100%;
    padding: 50px;
    position: relative;
}

.faq-cta__content {
    max-width: 900px;
    margin: 0 auto;
}

.faq-cta__subheading {
    font-size: 22px;
    font-weight: 600;
    color: #555;
    margin-bottom: 20px;
    text-align: center;
    font-family: "Fira Code", monospace;
}

.faq-cta__heading {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    text-align: center;
    margin-bottom: 40px;
    font-family: "Fira Code", monospace;
}

.faq-cta__heading .highlight {
    color: #000;
    font-family: "Fira Code", monospace;
}

.faq-cta__accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-cta__item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    font-family: "Fira Code", monospace;
}

.faq-cta__question {
    width: 100%;
    padding: 20px;
    background: #e9e9e9;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    font-family: "Fira Code", monospace;
}

.faq-cta__question:hover {
    background: #dcdcdc;
}

.faq-cta__answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: all 0.3s ease;
    background: #fff;
}

.faq-cta__answer p {
    margin: 20px 0;
    font-size: 16px;
    color: #666;
    font-family: "Fira Code", monospace;
}

/* Активний стан */
.faq-cta__item.active .faq-cta__answer {
    max-height: 300px;
    /* можна підлаштувати */
    padding: 20px;
}

/* адаптив */
@media (max-width: 768px) {
    .faq-cta__heading {
        font-size: 26px;
    }

    .faq-cta__subheading {
        font-size: 20px;
    }
}

.faq-cta__question {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-cta__icon {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    margin-left: 10px;
}

/* Повертаємо стрілку вгору, коли активне питання */
.faq-cta__item.active .faq-cta__icon {
    transform: rotate(-135deg);
}

/* гугл */

.page__section_google-cta {
    background-color: #f9f9f9;
    max-width: 100%;
    padding: 50px;
    position: relative;
}

.google-cta__subheading {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.google-cta__tagline {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    text-align: center;
    margin-bottom: 20px;
}

.google-cta__description {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    text-align: center;
    margin-bottom: 30px;
}

.google-cta__grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
}

.google-cta__left,
.google-cta__right {
    flex: 1 1 45%;
    font-family: "Fira Code", monospace;
}

.google-cta__left {
    padding: 0 20px;
}

.google__buttons {
    display: flex;
    justify-content: center;
    /* Центрування */
    gap: 15px;
    margin-top: 20px;
}

.google__button {
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.google__button--light {
    background-color: #f3f3f3;
    color: #222;
    border: 1px solid #ccc;
}

.google__button--light:hover {
    background-color: #e0e0e0;
}

.google__button--dark {
    background-color: #222;
    color: #fff;
    border: 1px solid #000;
}

.google__button--dark:hover {
    background-color: #000;
}

/* Стилі для зображення */
.intro__img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

/* Ефект при наведенні на клікабельну картинку */
a:hover .intro__img {
    transform: scale(1.03);
    /* Збільшення зображення при наведенні */
}

/* Зміни для адаптивного дизайну (при ширині екрану менше 992px) */
@media (max-width: 992px) {
    .intro__img {
        max-width: 95%;
        /* Обмеження ширини картинки */
    }
}

/* Зміни для ще менших екранів (менше 480px) */
@media (max-width: 480px) {
    .intro__img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }
}

/* відгуки */

/* Стилі для відгуків */
.reviews-section {
    background-color: #f9f9f9;
    padding: 50px 0;
}

.reviews-section__title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
}

.reviews-carousel {
    display: flex;
    overflow: hidden;
    gap: 30px;
    justify-content: center;
}

.review-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    text-align: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.review-item:hover {
    transform: translateY(-10px);
}

.review-author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
}

.review-text {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.review-author {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

/* Адаптивність */
@media (max-width: 768px) {
    .reviews-carousel {
        flex-direction: column;
        align-items: center;
    }
}

.page__section_rev {
    padding: 100px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.section__title,
.section__subtitle,
.rev__name,
.rev__text {
    font-family: "Fira Code", monospace;
}

.section__title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.section__subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    max-width: 600px;
    margin: 0 auto 60px;
}

.rev__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.rev__card {
    background-color: #fff;
    padding: 30px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    flex: 1 1 300px;
    max-width: 340px;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rev__card:hover {
    transform: translateY(-10px);
}

.rev__photo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.rev__name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.rev__text {
    font-size: 16px;
    color: #333;
    line-height: 1.5;
    margin-bottom: 20px;
}

.rev__rating {
    font-size: 20px;
    color: #ffc107;
    /* Золота */
}

@media (max-width: 768px) {
    .rev__grid {
        flex-direction: column;
        align-items: center;
    }

    .rev__card {
        text-align: center;
    }
}

/* блок зі звітом */

.page__section_zvit {
    background-color: #f9f9f9;
    max-width: 100%;
    padding: 50px;
    position: relative;
}

.zvit__subheading {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.zvit__tagline {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    text-align: center;
    margin-bottom: 20px;
}

.zvit__description {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    text-align: center;
    margin-bottom: 30px;
}

/* СТИЛІ ДЛЯ ПОСИЛАНЬ У РЕДАКТОРІ */
.zvit__description a {
    color: #0073e6;
    text-decoration: underline;
    transition: 0.3s;
}

.zvit__description a:hover {
    color: #005bb5;
    text-decoration: none;
}

.zvit__grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
}

.zvit__left,
.zvit__right {
    flex: 1 1 45%;
    font-family: "Fira Code", monospace;
}

.zvit__left {
    padding: 0 20px;
}

.zvit__buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.zvit__button {
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.zvit__button--light {
    background-color: #f3f3f3;
    color: #222;
    border: 1px solid #ccc;
}

.zvit__button--light:hover {
    background-color: #e0e0e0;
}

.zvit__button--dark {
    background-color: #222;
    color: #fff;
    border: 1px solid #000;
}

.zvit__button--dark:hover {
    background-color: #000;
}

@media (max-width: 768px) {
.zvit__grid {
    padding: 0px;
}
}

/* префутер */

.page__section_cta-prefooter {
    background-color: #f9f9f9;
    background-size: cover;
    background-position: center;
    padding: 60px 30px;
    position: relative;
    text-align: center;
    color: #fff;
}

.cta-prefooter__content {
    max-width: 800px;
    margin: 0 auto;
    font-family: "Fira Code", monospace;
}

.cta-prefooter__subheading {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

.cta-prefooter__tagline {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-prefooter__description {
    font-size: 16px;
    line-height: 1.6;
    color: #eee;
    margin-bottom: 30px;
}

.cta-prefooter-tagline .highlight {
    color: #fff;
    font-weight: bold;
}

.cta-prefooter__form-wrapper {
    padding: 20px 0;
}

/* адаптив */
@media (max-width: 768px) {
    .cta-prefooter__tagline {
        font-size: 24px;
    }

    .cta-prefooter__subheading {
        font-size: 18px;
    }
}

#prefooter .wpcf7-submit {
    background-color: #fff !important;
    color: #000 !important;
    border: 2px solid #fff;
    transition: all 0.3s ease;
}

#prefooter .wpcf7-submit:hover {
    background-color: transparent !important;
    color: #fff !important;
    border-color: #fff;
}

/* header */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: #080808;
    border-bottom: #f1f2f2 solid 1px;
}

.header__container {
    max-width: 1200px;
    margin: 0px auto;
    display: flex;
    padding: 0px 30px;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
}

.header__logo {
    position: relative;
    z-index: 5;
}

.header__logo img {
    width: 150px;
    height: auto;
    display: block;
}

.header__menu {}

.menu {}

.menu__icon {
    display: none;
}

.menu__boby {}

.menu__list>li {
    position: relative;
    margin: 0px 0px 0px 20px;
}

.menu__link {
    color: #f1f2f2;
    font-family: "Fira Code", monospace;
    font-size: 16px;
}

.menu__link:hover {
    text-decoration: underline;
}

.menu__sub-list li {
    margin: 0px 0px 10px 0px;
}

.menu__sub-list li:last-child {
    margin: 0;
}

.menu__sub-list {
    position: absolute;
    top: 100%;
    background-color: #dcdbe1;
    padding: 15px;
    min-width: 200px;
}

.menu__sub-link {
    color: #080808;
    font-family: "Fira Code", monospace;
    font-size: 16px;
}

.menu__sub-link:hover {
    text-decoration: underline;
}

body._pc .menu__list>li:hover .menu__sub-list {
    opacity: 1;
    visibility: visible;
    transform: translate(0px, 0px);
    pointer-events: all;
}

.menu__arrow {
    display: none;
}

body._touch .menu__arrow {
    display: inline-block;
    width: 0;
    height: 0;
    margin: 0px 0px 0px 5px;
    transition: transform 0.3s ease 0s;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 10px solid #dcdbe1;
}

body._touch .menu__link {
    flex: 1 1 auto;
}

body._touch .menu__list>li {
    display: flex;
    align-items: center;
}

/* стрілочка для компа */

body._pc .sub__menu::after {
    display: inline-block;
    content: "▽";
    color: #dcdbe1;
    font-size: 16px;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

/* медіа під десктоп */

@media (min-width: 767px) {
    .menu__list {
        display: flex;
        align-items: center;
    }

    .menu__list>li {
        padding: 10px 0;
    }

    .menu__sub-list {
        transform: translate(0px, 10%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: all 0.3s ease 0s;
    }
.sale-phone{
    padding: 8px 12px;
    border: 1px #fff solid;
    font-weight: 600;
    font-size: 18px;
    margin-left: 30px;
    display: inline-block;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.sale-phone:hover{
    text-decoration: none;
    transform: scale(1.05); /* невелике збільшення */
    box-shadow: 0 2px 6px rgba(0,0,0,0.15); /* легка тінь */
}
}

/* медіа під мобайл */

@media (max-width:767px) {
    .menu__icon {
        z-index: 5;
        display: block;
        position: relative;
        width: 30px;
        height: 18px;
        cursor: pointer;
    }

    .menu__icon span,
    .menu__icon::before,
    .menu__icon::after {
        left: 0;
        position: absolute;
        height: 10%;
        width: 100%;
        transition: all 0.3s ease 0s;
        background-color: #f1f2f2;
    }

    .menu__icon::before,
    .menu__icon::after {
        content: "";
    }

    .menu__icon::before {
        top: 0;
    }

    .menu__icon::after {
        bottom: 0;
    }

    .menu__icon span {
        top: 50%;
        transform: scale(1) translate(0px, -50%);
    }

    .menu__icon._active span {
        transform: scale(0) translate(0px, -50px);
    }

    .menu__icon._active::before {
        top: 50%;
        transform: rotate(-45deg) translate(0px, -50%);
    }

    .menu__icon._active::after {
        top: 50%;
        transform: rotate(45deg) translate(0px, 50%);
    }


    .menu__body {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background-color: #303032;
        padding: 100px 30px 30px 30px;
        transition: left 0.3s ease 0s;
        overflow: auto;
    }

    .menu__body._active {
        left: 0;
    }

    .menu__body::before {
        content: "";
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        height: 85px;
        background-color: #080808;
        z-index: 2;
    }

    .menu__list>li {
        flex-wrap: wrap;
        margin: 0px 0px 30px 0px;
    }

    .menu__list>li:last-child {
        margin-bottom: 0;
    }

    .menu__list>li._active .menu__sub-list {
        display: block;
    }

    .menu__link {
        font-size: 24px;
    }

    .menu__sub-list {
        position: relative;
        background-color: #f1f2f2;
        flex: 1 1 100%;
        margin: 20px 0px 0px 0px;
        display: none;
    }

    .menu__sub-link {
        font-size: 20px;
        color: #303032;
    }
}

/* footer */

.site-footer {
    background-color: #111;
    color: #fff;
    padding: 30px 20px;
    text-align: center;
    font-family: "Fira Code", monospace;
}

.site-footer__inner {
    max-width: 960px;
    margin: 0 auto;
}

.site-footer__copyright {
    font-size: 14px;
    margin-bottom: 15px;
    color: #ccc;
}

.site-footer__link{
    text-decoration: underline;
}

.site-footer__link:hover{
    text-decoration: none;
}

.site-footer__img{
    width: 100px;
}

/* === Blog Archive === */
.blog-archive {
    background-color: #111;
    color: #fff;
    padding: 60px 20px;
    font-family: "Fira Code", monospace;
}

.blog-archive .page-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.post-preview {
    background-color: #1a1a1a;
    border: 1px solid #333;
    padding: 20px;
    transition: border-color 0.3s ease;
}

.post-preview:hover {
    border-color: #555;
}

.post-preview h2 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #fff;
}

.post-preview .excerpt {
    font-size: 14px;
    color: #ccc;
    line-height: 1.5;
}

/* === Blog === */

.blog-single {
    background-color: #111;
    color: #fff;
    padding: 60px 20px;
    font-family: "Fira Code", monospace;
}

.post {
    max-width: 800px;
    margin: 0 auto;
}

.post-title {
    font-size: 36px;
    margin-bottom: 20px;
    text-align: center;
}

.post-meta {
    font-size: 14px;
    text-align: center;
    color: #999;
    margin-bottom: 30px;
}

.post-content {
    font-size: 16px;
    line-height: 1.8;
    color: #ddd;
}

.post-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}

/* === Responsive === */
@media (max-width: 600px) {

    .blog-archive .page-title,
    .post-title {
        font-size: 28px;
    }

    .posts-grid {
        gap: 20px;
    }
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.post-preview {
    background-color: #1a1a1a;
    border: 1px solid #333;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: border-color 0.3s ease;
}

.post-preview:hover {
    border-color: #555;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px;
}

.post-preview h2 {
    font-size: 18px;
    color: #fff;
    margin: 0;
}

.post-meta {
    font-size: 12px;
    color: #999;
}

.excerpt {
    font-size: 14px;
    color: #ccc;
    line-height: 1.5;
}

.read-more {
    margin-top: auto;
    display: inline-block;
    padding: 6px 12px;
    background-color: #222;
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    border: 1px solid #444;
    transition: all 0.3s ease;
}

.read-more:hover {
    background-color: #333;
    border-color: #666;
}

/* Responsive */
@media (max-width: 900px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }
}

.blog-single .post {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
    color: #ccc;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.post-title {
    font-size: 28px;
    margin-bottom: 10px;
    color: #fff;
}

.post-meta {
    font-size: 14px;
    color: #888;
    margin-bottom: 30px;
}

.post-content {
    font-size: 16px;
    line-height: 1.7;
}

.post-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}

.post-content h2,
.post-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #fff;
}

/* кейси  */

/* === Case Archive === */

.case-archive {
    background-color: #111;
    color: #fff;
    padding: 60px 20px;
    font-family: "Fira Code", monospace;
}

.case-archive .page-title {
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
    color: #fff;
}

/* Стилі для сітки кейсів */
.case-archive .posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Прев'ю кейсу */
.case-archive .post-preview {
    background-color: #1a1a1a;
    border: 1px solid #333;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: border-color 0.3s ease;
}

.case-archive .post-preview:hover {
    border-color: #555;
}

.case-archive .post-preview h2 {
    font-size: 18px;
    color: #fff;
    margin: 0;
}

.case-archive .excerpt {
    font-size: 14px;
    color: #ccc;
    line-height: 1.5;
}

.case-archive .read-more {
    margin-top: auto;
    display: inline-block;
    padding: 6px 12px;
    background-color: #222;
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    border: 1px solid #444;
    transition: all 0.3s ease;
}

.case-archive .read-more:hover {
    background-color: #333;
    border-color: #666;
}

.case-archive .post-thumb img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 900px) {
    .case-archive .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .case-archive .page-title {
        font-size: 28px;
    }

    .case-archive .posts-grid {
        grid-template-columns: 1fr;
    }
}

/* === 404 Page === */
.page-404 {
    background-color: #111;
    color: #fff;
    padding: 300px 20px;
    text-align: center;
    font-family: "Fira Code", monospace;
}

.page-404__title {
    font-size: 40px;
    margin-bottom: 20px;
    color: #fff;
}

.page-404__text {
    font-size: 18px;
    margin-bottom: 40px;
    color: #ccc;
}

.page-404__button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #fff;
    color: #111;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-404__button:hover {
    background-color: #eee;
    color: #000;
}

/* Адаптив */
@media (max-width: 600px) {
    .page-404__title {
        font-size: 28px;
    }

    .page-404__text {
        font-size: 16px;
    }
}

/* Попап */

.popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.popup.show {
    display: flex;
    opacity: 1;
    pointer-events: all;
}

.popup__content {
    background: #fff;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    position: relative;
    border-radius: 10px;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.popup.show .popup__content {
    transform: translateY(0);
}

.close-popup-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
}

/* віджет */

.contact-widget {
  position: fixed;
  bottom: 50px;
  left: 50px;
  z-index: 9999;
}

.contact-widget__toggle {
  background-color: #28a745; /* ЗЕЛЕНИЙ */
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: background 0.3s;
}

.contact-widget__toggle:hover {
  background-color: #007bff; /* СИНІЙ */
  color: #fff;
}

.contact-widget__menu {
  display: none;
  flex-direction: column;
  background: #fff;
  border-radius: 10px;
  margin-top: 10px;
  padding: 10px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  animation: fadeIn 0.3s ease-out;
}

.contact-widget__item {
  padding: 10px 20px;
  color: #000;
  text-decoration: none;
  transition: background 0.2s;
}

.contact-widget__item:hover {
  background-color: #f1f1f1;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.phone-widget {
    position: fixed;
    right: 50px;
    top: 90%;
    transform: translateY(-50%);
    background-color: #C4C4C4;
    color: #FFFCF7; /* колір трубки */
    padding: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    z-index: 9999;
    text-decoration: none;
}

.phone-widget:hover {
    color: #FFFCF7;
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    transform: translateY(-50%) scale(1.1); /* анімація збільшення */
}

.phone-widget .phone-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
    transition: transform 0.3s ease; /* плавне збільшення іконки */
}

.phone-widget:hover .phone-icon {
    transform: scale(1.2); /* трохи більше масштабування для іконки */
}


@media (max-width: 768px) {
    .cta-2__grid {
        display: block;
    }

    .cta-2__left {
        margin-bottom: 30px;
    }
}