* {
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

html {
    scroll-behavior: smooth !important;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(45 43 39 / 30%); /* Чорне затемнення з прозорістю */
    z-index: -1; /* Затіняє відео, але знаходиться позаду контенту */
}

.our-services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
    align-items: stretch; /* це значення за замовчуванням, але можна явно додати */
}

.services-box-style-02 {
    height: 100%;
}

.footer-bottom-text {
    justify-content: space-between;
    display: flex;
}

h1, h2, h3, h4.h5, h6, .form-title {
    font-family: "Source Serif Pro", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

:root {
    --dark-gray: #2d2b27;
}

.nav-header {
    background: rgba(255, 255, 255, 0);
}

.header-light .navbar-nav .nav-link {
    color: #ffffff;
    font-weight: 400;
    font-size: 16px;
}


.our-services-padding {
    padding: 6% !important;
}

.top-video-wrapper {
    height: 100%;
    max-height: 100vh;
    min-height: 100vh;
}

#background-video {
    height: 100%;
    max-height: 100vh;
    min-height: 100vh;
    object-fit: cover;
    width: 100%;
    max-width: 100vw;
    min-width: 100vw;
}

#about-us {
    padding-top: 200px;
    padding-bottom: 200px;
}

.services-box-content p {
    font-size: 16px;
}

.services-box-icon {
    margin-bottom: 10px;
}

.appointment-paragraph {
    font-weight: 400;
    padding-top: 6px;
}

footer .footer-logo img {
    max-height: 45px;
}

header .navbar-brand img {
    max-height: 45px;
}

header .navbar-brand, header.sticky .navbar-brand {
    padding: 18px 0 32px 0;
}


.navbar {
    transition: transform 0.3s;
    will-change: transform;
}

.navbar.hide-on-scroll {
    transform: translateY(-100%);
}

.navbar.show-on-scroll {
    transform: translateY(0);
}

header.header-with-topbar .navbar {
    transition: transform 0.3s;
    will-change: transform;
}

header.header-with-topbar .navbar.hide-on-scroll {
    transform: translateY(-100%);
}

header.header-with-topbar .navbar.show-on-scroll {
    transform: translateY(0);
}

.koala-heart {
    transition: .2s;
    animation: heart 2s infinite;
    margin: 0 2px;
    width: 20px;
}

.accordion-title {
    position: relative;
}

.accordion-icon-custom {
    display: inline-block;
    width: 22px;
    height: 22px;
    position: absolute;
    right: 0;
    top: 15%;
    transition: transform 0.3s cubic-bezier(.4, 2, .6, 1);
    vertical-align: middle;
    margin-left: 8px;
}

/* Малюємо плюс */
.accordion-icon-custom::before,
.accordion-icon-custom::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    background: #222;
    transition: transform 0.3s cubic-bezier(.4, 2, .6, 1), opacity 0.2s;
    border-radius: 2px;
}

/* Вертикальна палка */
.accordion-icon-custom::before {
    width: 2px;
    height: 15px;
    transform: translate(-50%, -50%);
}

/* Горизонтальна палка */
.accordion-icon-custom::after {
    width: 15px;
    height: 2px;
    transform: translate(-50%, -50%);
}

/* Мінус — прибираємо вертикальну палку */
[aria-expanded="true"] .accordion-icon-custom::before {
    transform: translate(-50%, -50%) scaleY(0);
    opacity: 0;
}

[aria-expanded="true"] .accordion-icon-custom {
    transform: rotate(180deg) scale(1.2);
}

/* Плюс — обидві палки */
[aria-expanded="false"] .accordion-icon-custom {
    transform: rotate(0deg) scale(1);
}

/* ----- Головний контейнер форми ----- */
.wpcf7-form {
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* ----- Лейбли ----- */
.wpcf7-form label.form-label {
    font-family: 'Inter', Arial, sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    color: #212529;
    letter-spacing: 0.04em;
    margin-bottom: 0;
    display: block;
    margin-top: 20px;
    margin-left: 0;
}

/* ----- Поля input/textarea ----- */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    background: transparent !important;
    border: none !important;
    border-bottom: 2px solid #232529 !important;
    border-radius: 0 !important;
    font-size: 17px !important;
    width: 100%;
    padding: 12px 36px 12px 0 !important; /* місце справа під іконку */
    color: #232529 !important;
    box-shadow: none !important;
    outline: none !important;
    transition: border-color .2s;
    font-family: 'Inter', Arial, sans-serif;
}

.bg-gradient-very-light-gray-transparent {
    background: linear-gradient(to right, rgba(240, 244, 253, 1.0), rgba(255, 255, 255, 0.0));
}

/* Hover/active підсвітка поля */
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus {
    border-bottom-color: var(--base-color) !important;
}

.wpcf7-form input::placeholder {
    font-weight: 400;
    font-size: 15px;
}

.wpcf7-form textarea {
    resize: none;
    min-height: 48px;
    max-height: 220px;
}

/* ----- Іконки ----- */
.wpcf7-form .form-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #858da8;
    pointer-events: none;
    z-index: 3;
}

.wpcf7-form .form-textarea .form-icon {
    top: 24px;
}

/* ----- Групи з позиціонуванням іконки ----- */
.wpcf7-form .form-group,
.wpcf7-form .form-textarea {
    position: relative;
    margin-bottom: 34px;
}

/* Щоб не було зайвого відступу під останнім полем */
.wpcf7-form .form-textarea {
    margin-bottom: 0;
}

/* ----- Кнопка ----- */
.wpcf7-form .btn,
.wpcf7-form input[type="submit"].btn {
    display: inline-block;
    font-weight: 600;
    font-size: 17px;
    padding: 20px 33px;
    border-radius: 4px;
    background: #232529;
    color: #fff !important;
    border: none;
    transition: background .15s;
    margin: 0;
    transform: translate3d(0, 0, 0);
    transition: 0.5s ease;

}

.wpcf7-form .btn:hover,
.wpcf7-form input[type="submit"].btn:hover {
    /*background: #3955ff !important;*/
    /*color: #fff !important;*/
    margin: 0;
    background: var(--base-color);
    color: var(--dark-gray) !important;
    transition: 0.5s ease;
}

/* ----- Підпис під формою ----- */
.wpcf7-form .lh-22 {
    color: #878f9a;
    font-size: 15px;
    margin-top: 0;
}

/* ----- Responsive для мобільних ----- */
@media (max-width: 767px) {
    .wpcf7-form .btn {
        width: 100%;
        margin: 18px 0 0 0;
        font-size: 16px;
    }
}

/* ----- Плейсхолдер ----- */
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
    color: #878f9a;
    font-size: 17px;
}

.wpcf7-form input {
    font-weight: 400;
}

@keyframes heart {
    0% {
        transform: scale(1);
    }
    19% {
        transform: scale(1);
    }
    20% {
        transform: scale(1.1);
    }
    30% {
        transform: scale(1);
    }
    40% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1);
    }
    100% {
        transform: scale(1);
    }
}

.contact-img {
    position: absolute;
    right: 0;
    bottom: 110px;
    z-index: -1;
}

.wrapper-privacy {
    color: #2d2b27;
}

.wrapper-privacy > ul {
    padding-left: 0;
    margin: 0 0 1.5em 2em;
}

.wrapper-privacy > ul li {
    list-style: inside;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.sent .wpcf7-response-output {
    border: none;
    left: 0;
    padding: 0;
    margin: 0;
    bottom: 0;
}

.wpcf7-form {
    position: relative;
}

.contact-info-wrapper__link {
    transition: 0.5s ease;
}

.contact-info-wrapper__link:hover {
    transition: 0.5s ease;
    color: var(--base-color) !important;
}

.footer-contact a {
    text-align: end;
}

.service_paragraph {
    font-size: 16px;
    color: var(--medium-gray);
    line-height: 30px;
}
.service_title{
    line-height: 30px;
}

.accordion-title h3{
    font-family: "Noto Sans", sans-serif ;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    margin-bottom: 0;
    line-height: 30px;
}
.our-contact-title{
    font-size: 2.375rem;
    line-height: 2.7rem;
}


@media screen and (max-width: 768px) {
    .nav-header {
        background: rgba(255, 255, 255, 0);
    }

    .navbar-toggler-line {
        background: #ffffff;
    }

    .footer-contact a {
        text-align: center;
    }

    .header-light .navbar-nav .nav-link {
        color: #000000;
    }

    #reconstruction {
        padding-top: 150px;
        padding-bottom: 150px;
    }

    .footer-bottom-text {
        flex-direction: column;
        align-items: center;
    }

    .our-services {
        grid-template-columns: 1fr;
    }

    .contact-img {
        bottom: 15px;
    }

}