body {
    overflow-x: hidden;
    font-family: 'PT Sans Narrow', sans-serif;
    font-size: 20px;
    letter-spacing: 0.08rem;
}


img {
    max-width: 100%;
}

#header_first_one {
    background: #545C52;
    z-index: 1;
}

#header_first_fife {
    background: #545C52;
}

#header_first_two {
    background: #98E2C6;

}

.logo-img {
    max-width: 120px;
    height: auto;
}

.img-previu {
    width: auto;
    max-height: 300px;
}

.navbar-nav .nav-link {
    padding-right: 2rem !important;
}

.wrapper_location p {
    padding-left: 0.5rem;
}

.logo,
.first-wrap-title {
    margin-left: 1rem;
}

.logo .title-logo {
    font-size: 1.5em;
    letter-spacing: 0.85rem;
    text-transform: uppercase;
    font-family: 'Bebas Neue', sans-serif;

}

.logo p {
    margin-bottom: 0rem;
}

.logo .text-logo {
    font-size: 1rem;
    text-transform: none;
    letter-spacing: 0.2rem;
    margin-bottom: 0rem;
}

.main-title__h1 {
    font-size: clamp(30px, 5vh, 50px) !important;
    padding-top: 30px;
    max-width: 500px;
    color: #fff;
}

.hr-horizontal-gradient {
    margin: 15px 0;
    padding: 0;
    height: 6px;
    border: none;
    background: linear-gradient(45deg, #fff, #ddd);
    max-width: 20rem;
}

.text-first {
    font-size: clamp(20px, 5vh, 30px);
}

.wrap-messeng {
    padding-bottom: 40px;
    height: 70vh;
    position: relative;
    bottom: 0;
    padding-right: 4rem;
}

.wrap-messeng a {
    padding-left: 0.3rem;
}

.nav-link-child {
    padding-right: 0rem !important;
}

.fi-sr-menu-burger {
    color: #fff;
    font-size: 1.7rem;
}

.btn-menu {
    --bs-btn-padding-x: 0rem !important;
    --bs-btn-padding-y: 0rem !important;
}

.offcanvas {
    background: #98E2C6;
}

.offcanvas-body .nav-item a {
    color: #545C52;
}

.wrapper_company h2 {
    color: #545C52;
    font-weight: 700;
}

.btn-company {
    background: #545C52;
    color: #fff;
}

.linie-title {
    background: #98E2C6;
    margin: 15px 0;
    padding: 0;
    height: 4px;
    border: none;

    max-width: 10rem;
}

.markers li::marker {
    color: #545C52;
    font-size: 18px;
}

#uslug {
    background: #fff;
}

.linie_uslug {
    background: #545C52;
    margin: 15px 0;
    padding: 0;
    height: 4px;
    border: none;
}

#uslug .card {
    background: #98E2C6;
}

.card {
    border: none;
}

.d1 {
    width: 20px;
    height: 20px;
    background: #F5F5F5;
    border-radius: 50%;
}

.d1 h5 {
    font-size: 1.9rem;
}

.card-subtitle {
    text-transform: uppercase;
    font-weight: 700;
}

.card-text {
    font-size: 1.2rem;
}


.blok-company02 {
    background: #545C52;

}

.textcols {
    white-space: nowrap;
}

.textcols-item {
    white-space: normal;
    display: inline-block;
    vertical-align: top;

}

.textcols .textcols-item:first-child {
    margin-right: 4%;
}

.blok-company02 h4 {
    font-weight: 700;
}

#proect p {
    font-size: 0.8rem;
}

footer {
    background: #545C52;
}

a {
    text-decoration: none;
}

.contact h2,
.contact h3 {
    color: #545C52;
    font-weight: 700;
}

.contact p {
    color: #545C52;
}

.blok-comanda {
    background: #98E2C6;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .navbar-nav .nav-link {
        padding-right: 0.5rem !important;
    }

}

@media (max-width: 767.98px) {
    .textcols-item {
        width: 100%;
    }

    .logo,
    .first-wrap-title {
        margin-left: 0rem;
    }

    .logo .title-logo {
        font-size: 1.2em;
        letter-spacing: 0.35rem;
        text-transform: uppercase;
        font-family: 'Bebas Neue', sans-serif;

    }

    .logo .text-logo {
        font-size: 1rem;
        text-transform: none;
        letter-spacing: 0.10rem;
        margin-bottom: 0rem;
    }
}

.portfolio-gred-wrapper,
.company-worker-greed {
    display: grid;
    grid-template-columns: repeat(3, minmax(40px, 1fr));
    gap: 30px;
}

.portfolio-item img {
    width: 100%;
    object-fit: cover;
    min-height: 300px;
    max-height: 300px;
}

.company-workers-img {
    width: 100%;
    object-fit: cover;
    min-height: 376px;
    max-height: 366px;
}

.portfolio-item {
    position: relative;
}

.portfolio-item {
    background-position: center;
    background-size: cover;
    border-radius: 10px;
}

@media (max-width: 768px) {

    .portfolio-gred-wrapper,
    .company-worker-greed {
        grid-template-columns: 1fr;
    }
}

.portfolio-item h4 {
    font-size: clamp(20px, 5vw, 35px);
    color: #555c52;
    margin-top: 20px;
}

.card-content {
    padding: 20px;
}

.company-worker-item {
    background: #fff;
    height: 100%;
}

@media (max-width: 860px) {
    .company-workers-img {
        object-position: 0 28%;
    }
}

@media (max-width: 768px) {
    .bg-w {
        background: #ceeee2;
        border-radius: 10px;
    }

    .resp-img {
        padding-top: 40px !important;
    }
}

.fz-subtitle {
    font-size: clamp(25px, 5vw, 40px) !important;
    color: #555c52;
}

.ordered-counter {
    position: relative;
    counter-increment: ordered-counter;
}

.before-num-counter::after {
    position: absolute;
    left: -3px;
    content: counter(ordered-counter);
}

.form-wrapper {
    padding-top: 179px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.into-form-wrapper {
    display: flex;
}

.form-input {
    outline: 0;
    border: none;
    border-bottom: 6px solid #747771;
    background: transparent;
    caret-color: #fff;
    color: #fff;
    width: 100%;
}

.form-submit {
    background: transparent;
    border: 3px solid #fff;
    color: #fff;
    font-size: 24px;
    padding: 11px 34px;
    margin-top: 20px;
    max-width: 170px;
}

#wpcf7-f179-o1 {
    display: flex;
}

#wpcf7-f179-o1>form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-self: end;
}

.form-input::placeholder {
    color: #fff;
}


.uslugi-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 50px;
    column-gap: 20px;
    padding: 50px 0 50px;
}

@media (max-width: 1200px) {
    .uslugi-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 860px) {
    .uslugi-wrapper {
        grid-template-columns: 1fr;
    }
}

.usluga-item {
    display: flex;
    gap: 34px;
    align-items: flex-start;
    padding: 10px 34px;
    background: #fff;
    border-radius: 10px;
}

.text-usluga-title {
    font-size: clamp(20px, 5vw, 27px);
    opacity: 0.6;
}

.block-title {
    font-size: clamp(20px, 5vw, 45px);
}

.logo-head {
    padding-top: 20px;
    max-width: 122px;
    margin-left: 17px;
}

@media (max-width: 860px) {
    .logo-head {
        margin-left: 0;
    }
}

.form-title-h2 {
    display: block;
    padding-bottom: 20px;
    font-size: clamp(25px, 5vw, 35px);
    color: #fff;
}

@media (max-width: 860px) {
    .form-input {
        border-bottom: 2px solid #fff;
    }

    .form-wrapper {
        padding-top: 70px;
        justify-content: start;
    }

    .form-submit {
        margin-top: 0;
    }

    #header_first_one,
    .into-form-wrapper {
        height: initial;
    }

    #header_first_one {
        padding-bottom: 30px;
    }
}

.bg-img_main {
    padding-top: 132px;
}

.about-wrapper {
    gap: 26px;
    display: flex;
    justify-content: space-between;
}



.blok-company02 {
    padding: 3em 0 3em;
}

.about-img {
    width: 84%;
}

.about-big-num {
    font-size: clamp(30px, 5vw, 50px);
    font-weight: 700;
}

.big-num-wrapp {
    display: flex;
}

.about-big-item {
    padding: clamp(10px, 5vw, 35px);
}

.progect-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.progect-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.price-content-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.price-item {
    position: absolute;
    width: 100%;
    height: 100%;
    filter: opacity(0.3) blur(3px);
}

.price-item-wrap {
    min-height: 250px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.price-item-wrap p {
    position: absolute;
    top: 0;
    opacity: 0;
    transition: all .3s ease;
    padding: 20px;
    font-size: 18px;
}

.price-item-wrap:hover p {
    opacity: 1;
}

.price-item-wrap span {
    font-size: 26px;
    max-width: 50%;
    text-align: center;
    opacity: 1;
    transition: all .3s ease;
}

.price-item-wrap:hover span {
    opacity: 0;
}



.col-12.mycol>.container>p {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.col-12.mycol>.container>p>img,
.col-12.mycol>.container>p>a>img {
    width: 100%;
    object-fit: cover;
    min-height: 300px;
    max-height: 300px;
}

.site {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-link {
    color: #fff;
    transition: all .3s ease;
}

.footer-link:hover {
    color: #cccccc;
}

@media (max-width: 1200px) {
    .usluga-item {
        padding: 10px;
    }
}

@media (max-width: 860px) {
    .about-img {
        width: 100%;
    }

    .about-big-item {
        padding: 10px 0 10px;
    }

    .big-num-wrapp,
    .about-wrapper {
        flex-direction: column;
    }

    .progect-wrapper,
    .price-content-wrapper {
        grid-template-columns: 1fr;
    }

    .price-item-wrap {
        display: block;
    }

    .price-item-wrap p {
        position: static;
        opacity: 1;
        text-align: center;
    }

    .price-item-wrap span {
        margin: 0 auto;
        display: block;
        padding-top: 30px;
    }

    .logo-head {
        padding-bottom: 10px;
    }

    .col-12.mycol>.container>p {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 550px) {
    .col-12.mycol>.container>p {
        grid-template-columns: 1fr;
    }
}

textarea.form-input {
    max-height: 110px;
}

.usluga-link,
.card-text a,
.text-usluga-wrap p a {
    color: #555c52;
    text-decoration: underline;
}

.card-text a:hover,
.text-usluga-wrap p a:hover {
    opacity: .4;
}

a {
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

.grecaptcha-badge {
    opacity: 0 !important;
}

.block-uslug-subtitle {
    font-size: clamp(25px, 5vw, 35px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

.navbar-nav.header-two {
    flex-direction: row !important;
}

@media (max-width: 1920px) {
    .navbar-nav {
        flex-direction: column !important;
        align-items: end !important;
    }

}

.card-title {
    font-size: 26px;
    font-weight: 600;
    color: #7a7878;
    margin-bottom: 10px;
    display: block;
}

.form-input-black {
    outline: 0;
    border: none;
    border-bottom: 1px solid #747771;
    background: transparent;
    caret-color: #747771;
    color: #747771;
    width: 100%;
}

.form-submit-black {
    background: transparent;
    border: 2px solid #747771;
    color: #747771;
    font-size: 24px;
    padding: 11px 34px;
    margin-top: 20px;
    max-width: 170px;
}

.form_wrapper {
    display: flex;
    gap: 30px;
}

.form_wrapper div {
    flex-grow: 1;
}

.form_wrapper img {
    object-fit: cover;
}

#wpcf7-f327-o1 form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}

.wpcf7-response-output {
    position: absolute;
    bottom: -64px;
    left: -12px;
}

.fon-form {
    max-width: 465px;
}

.green-works {
    padding: 24px 0;
    background: #f6faf6;
}

.green-works__hero-top {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    overflow-x: auto;
}

.green-works__hero-gallery img {
    object-fit: cover;
    max-width: 220px;
    border-radius: 16px;
    box-shadow: 0 3px 16px rgba(60, 120, 50, 0.09);
}

.green-works__title {
    font-size: 40px;
    margin-bottom: 35px;
    font-weight: 700;
    color: #338438;
}

.green-works__description {
    font-size: 2rem;
    color: #384438;
    line-height: 1.4;
}

.green-works__gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 24px;
}

.green-works__gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(60, 120, 50, 0.07);
}

.green-works__request {
    padding-top: 60px;
    max-width: 600px;
    margin: 0 auto;
}

.green-works__request h2 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    color: #217238;
}

#breadcrumbs {
    margin-bottom: 40px;
}

#breadcrumbs a {
    color: #93a693;
}

.green-works__hero-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 50%;
}

.green-works__hero-content {
    width: 46%
}

.green-works__hero-wrapper img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    object-position: left;
}

.subtitle-block {
    font-size: 32px;
    padding: 70px 0 60px;
    color: #338438;
    text-align: center;
}

.green-works__hero-gallery {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
}


.green-works__gallery {
    grid-template-columns: repeat(4, 1fr);
}

.nav-item.menu-item-has-children {
    position: relative;
}

.nav-item.menu-item-has-children .dropdown-menu {
    display: none;
    position: static;
    background: transparent;
    padding-left: 15px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-item.menu-item-has-children:hover .dropdown-menu {
    display: block;
}

.nav-item.active>.nav-link {
    font-weight: bold;
}

@media (max-width: 1200px) {
    .green-works__hero-content {
        width: 100%;
    }

    .green-works__hero-top {
        flex-direction: column;
    }

    .green-works__hero-content {
        max-width: 100%;
    }

    .green-works__hero-gallery {
        display: flex;
        flex-direction: column;
        align-items: baseline;
    }
}

@media (max-width: 900px) {
    .green-works {
        padding: 48px 0;
    }

    .green-works__gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .green-works__hero-wrapper {
        width: 100%;
        max-width: 100%;
        flex-direction: column
    }

    .green-works__hero-wrapper img {
        object-position: initial;
    }

    .green-works__hero-gallery img {
        height: initial;
        max-width: 100%
    }
}


/* Основные стили меню */
.green-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.green-flex-column,
.green-nav {
    display: flex;
}

.green-nav-item {
    position: relative;
}

.green-nav-link {
    display: block;
    padding: 10px 15px;
    color: #f8f9fa;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Стили для дропдауна */
.green-dropdown-menu {
    display: none;
    position: absolute;
    min-width: 200px;
    background: #2a2a2a;
    z-index: 1000;
    list-style: none;
    padding: 0;
    margin: 0;
}

.green-dropdown-menu-mob {
    display: none;
    position: absolute;
    min-width: 200px;
    background: #2a2a2a;
    z-index: 1000;
    list-style: none;
    top: 48px;
    right: 23%;
}


.btn-hero {
	margin-top: 20px;
    display: block;
    max-width: fit-content;
}

/* Альтернативный вариант - дропдаун под пунктом */
.green-nav .green-dropdown-menu {
    left: 0;
    top: 100%;
}


@media (max-width: 1200px) {
    .green-nav .green-dropdown-menu {
        left: -67px;
        top: 100%;
    }

    .green-dropdown-menu {
        background: transparent;
    }
}

/* Показываем дропдаун при наведении */
.green-has-children:hover>.green-dropdown-menu,
.green-has-children:hover>.green-dropdown-menu-mob {
    display: block;
}

/* Эффекты при наведении */
.green-nav-link:hover {
    background: rgba(76, 175, 80, 0.1);
}

.green-active>.green-nav-link {
    color: #4caf50;
    font-weight: bold;
}

/* Убираем маркер только у первого элемента списка */
.green-dropdown-menu>li:first-child {
    list-style-type: none;
    padding-left: 0;
}

/* Альтернативный вариант - убираем маркеры у всех элементов */
.green-dropdown-menu {
    list-style: none;
    padding-left: 0;
}

#main-nenu-2 {
    display: flex;
}


.green-nav.green-flex-column.green-main .green-has-children .green-dropdown-menu {
    display: block !important;
    position: static;
}

.green-dropdown-menu-mob {
    list-style: none;
    padding: 0;
}

@media (max-width: 1200px) {
    .green-flex-column {
        flex-direction: column;
    }

    .inner-page .green-flex-column {
        display: flex;
    }
}

@media (max-width: 768px) {

    .green-dropdown-menu,
    .green-dropdown-menu-mob {
        position: static;
        display: none;
        width: 100%;
    }

    .green-has-children.active>.green-dropdown-menu,
    .green-has-children.active>.green-dropdown-menu-mob {
        display: block;
    }

    #menu-menu-1 {
        display: flex;
        flex-direction: column;
    }
}
