/* var */
:root {
    --color-main: #abda7a;
    --color-light: #cfd5ae;
    --color-light2: #fafaf7;
    --color-black: #167e0b;
    --color-light2: #e7ead6;
    --color-yellow: #808560;
    --color-yellow2: #bcc48d;
    
    --color-yellowopac: #cfd5aebf;
    
    --bs-secondary-color: #7f7e7c;
    --bs-secondary-color-rgb: #7f7e7c;
    --bs-body-color: #201600;
}
:root, [data-bs-theme=light] {
    --bs-border-radius-lg: 0.75rem;
    --bs-border-color: var(--color-yellow);
    --bs-border-radius: 0.6rem;
}
html {
    font-size: 16px;
}
body {
    color: var(--bs-body-color);
}

.btn-success {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--color-yellow2);
    --bs-btn-border-color: var(--color-yellow2);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--color-yellowopac);
    --bs-btn-hover-border-color: var(--color-yellowopac);
    --bs-btn-focus-shadow-rgb: 60, 153, 110;
    --bs-btn-active-color: #fff;
    
    --bs-btn-active-bg: var(--color-yellowopac);
    --bs-btn-active-border-color: var(--color-yellowopac);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--color-yellow2);
    --bs-btn-disabled-border-color: var(--color-yellow2);
}

.btn-group-lg>.btn, .btn-lg {
    --bs-btn-padding-y: 0.5rem;
    --bs-btn-padding-x: 1rem;
    --bs-btn-font-size: 1.5rem;
    --bs-btn-border-radius: var(--bs-border-radius-lg);
    font-weight: 600;
}
.btn-wide {
    padding-left: 4rem;
    padding-right: 4rem;
}
a {
    color: var(--color-black);
}
a:hover {
    text-decoration: dashed;
}
.form-control {
    padding: .75rem;
}
.form-group > label.form-check-label {
    margin-left: 0.5rem;
}
dl, ol, ul {
    line-height: 1.25rem;
}
dl li, ol li, ul li {
    padding-left: 0.5rem;
}

/* 0 - Gobal */
img {
    max-width: 100%;
}
.color-white {
    color: white;
}
.color-main {
    color: var(--color-main);
}
.color-yellow {
    color: var(--color-yellow);
}
.color-black {
    color: var(--color-black);
}
.color-light {
    color: var(--color-light);
}
.standart-block {
    padding: 2rem 0;
}
.standart-block .h2, .standart-block h2{
    margin-bottom: 2rem;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}
.custom-checkbox label {
    position: relative;
    padding-left: 2.5rem;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1.5rem;
}
.custom-checkbox label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 1.5rem;
    height: 1.5rem;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: 0.15rem;
    background: white;
    transition: all 0.2s ease;
}
.custom-checkbox label::after {
    content: "";
    position: absolute;
    left: 0.5rem;
    top: 0.35rem;
    width: 6px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: all 0.2s ease;
}
.custom-checkbox input:checked + label::before {
    background: var(--color-light);
}
.custom-checkbox input:checked + label::after {
    transform: rotate(45deg) scale(1);
}
.custom-checkbox label:hover::before {
    border-color: var(--color-main);
}


/* 1 - header */
header {
    padding: 0.5rem 0;
    border-bottom: 0.5rem solid var(--color-main);
    
    position: sticky;
    top: 0;
    z-index: 99;
    background: white;
}
header .right-block {
    display: flex;
    flex-direction: column;
    justify-content: end;
    color: var(--color-black);
    font-weight: 600;
    font-size: 1.25rem;
}
header .desktop-menu ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    justify-content: end;
    gap: 1.25rem;
    position: relative;
}
header .desktop-menu > ul > li > ul {
    display: none;
    position: absolute;
    top: 1.65rem;
    background: white;
    z-index: 99;
}
header .desktop-menu > ul > li.open > ul {
    display: block;
}
header .desktop-menu ul li ul {
    pointer-events: auto;
}

header .desktop-menu > ul > li > ul > li > a {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 1.15rem;
}
header .desktop-menu ul li a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}
header .desktop-menu ul li a:hover,
header .desktop-menu ul li a:focus {
    color: var(--color-main);
}
header .phone-block {
    display: flex;
    justify-content: end;
    margin-bottom: 1rem;
}
header .phone-block a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: anchor-center;
    gap: 0.75rem;
}
header .phone-block a img {
    width: 1.25rem;
    height: 1.25rem;
}
header .phone-block a:hover,
header .phone-block a:focus {
    color: var(--color-main);
}

#mobileMenu {
    height: 100%;
    width: 100%;
    background: white;
    position: fixed;
    top: 0;
    z-index: 98;
    padding-top: 8rem;
    
    display: block;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    overflow-y: auto; /* ← ВОТ ОНО */
    -webkit-overflow-scrolling: touch; /* плавный скролл на iOS */
}

#mobileMenu.open {
    opacity: 1;
    pointer-events: auto;
}
#mobileMenu ul {
    margin-bottom: 0;
    padding: 0;
    list-style: none;
}

#mobileMenu ul li a {
    display: block;
    padding: 0.75rem;
    text-decoration: none;
    border-bottom: 1px solid var(--color-light2);
}
#mobileMenu > .container > .row > .col-12 > ul > li > a {
    text-transform: uppercase;
}
#mobileMenu ul > li > ul > li > a {
    padding-left: 1.5rem;
}
#mobileMenu ul > li > ul {
    display: none;
}

#mobileMenu ul > li.active > ul {
    display: block;
}

#mobileMenu ul > li.active > a {
    font-weight: 600;
}

h1 {
    color: var(--color-black);
    margin-bottom: 1.75rem;
    font-size: 3.5rem;
}
.breadcrumb {
    text-transform: lowercase;
    margin-bottom: 0.15rem;
    font-size: 0.85rem;
}
.breadcrumb-item+.breadcrumb-item::before {
    padding-right: 0.25rem;
}
.breadcrumb-item+.breadcrumb-item {
    padding-left: 0.25rem;
}
.breadcrumb a {
    color: var(--bs-secondary-color);
    text-decoration: none;
}
#topImageBlock {
    position: relative;
}
#topImage {
    min-height: 50vh;
    background-position: center;
    background-size: cover;
    background-color: var(--color-light);
}
#topImageBlock a.btn {
    position: absolute;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    max-width: fit-content;
    bottom: 2rem;
    padding-left: 2rem;
    padding-right: 2rem;
}
#mainContent {
    background: var(--color-light2);
    padding: 1.5rem 0 3rem 0;
}
.bg-white {
    background: white !important;
}
.bg-light2 {
    background: var(--color-light2) !important;
}

/* Behandelingen */
#onzeBehandelingen h2 {
    margin-bottom: 2rem;
}
#onzeBehandelingen {
    background: var(--color-light2);
}
.behandelingen-item-block {
    margin-bottom: 1.5rem;
}
.behandelingen-item {
    position: relative;    
    background: var(--color-yellow2);
    min-height: -webkit-fill-available;
}
.behandelingen-item > a {
    display: block;    
}
.behandelingen-item p {
    margin-bottom: 0;
    position: absolute;
    bottom: 0;
    width: 100%;
    font-size: 1.5rem;
    background: var(--color-yellowopac);
    transition: background 0.3s ease; 
}
.behandelingen-item:hover p,
.behandelingen-item:active p,
.behandelingen-item:focus p {
    background: var(--color-yellow2);
}
.behandelingen-item p > a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
}
#onzeBehandelingen .btn {
    margin-top: 1rem;
}
.extra-item {
    display: none;
}
    
/* ons team */
.onsteam-item {
    margin-bottom: 3rem;
}
.onsteam-item img {
    margin-bottom: 1.5rem;
    width: 100%;
}
.onsteam-item .h5 {
    margin-bottom: 1.5rem;
    color: var(--color-black);
}
.onsteam-item ul {
    margin-bottom: 0;
}

/* location */
#onzeLocaties {
    background-color: var(--color-light);
    background-image: url(../img/logo-back.png);
    background-position: 50% 15%;
    background-repeat: no-repeat;
    background-size: 55%;
}
#onzeLocaties .items-row {
    margin: 2rem 0;
}
#onzeLocaties .locaties-item {
    display: flex;
    gap: 3rem;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    opacity: 1; 
    transition: opacity 0.3s ease; 
}
#onzeLocaties .locaties-item:hover,
#onzeLocaties .locaties-item:focus {
    opacity: 0.85; 
}
#onzeLocaties .locaties-item a {
    color: inherit;
    text-decoration: none;
}
#onzeLocaties .locaties-item p {
    margin-bottom: 0;
}
#onzeLocaties .locaties-item img {
    border-radius: 50%;
    border: 0.125rem solid white;
}

/* Onze Recencies */
#onzeRecencies {
}
#onzeRecencies .h4 {
    font-weight: 600;
    color: #5d2c5b;
}
#onzeRecencies .review-carusel {
    padding: 0rem 2rem;
}
#onzeRecencies .review-item {
	background: white;
    padding: 0rem 1rem;
}
#onzeRecencies .review-item .fa.fa-star {
    color: #ffb542;
}
#onzeRecencies .review-item .author {
	font-weight: 600;
}
#onzeRecencies .review-item .author-block .pseudo-img {
    margin-right: 1rem;
    background: gray;
    color: #d1d1d1;
    width: 3rem;
    border-radius: 50%;
    text-align: center;
    font-size: 2rem;
}
#onzeRecencies .stars {
    margin: 0.5rem 0;
}
#onzeRecencies .stars img {
    max-width: 1rem;
}
#onzeRecencies .review-item:nth-child(6n) .author-block .pseudo-img {
    background: #5d2c5b;
    color: #90588e;
}
#onzeRecencies .review-item:nth-child(6n+1) .author-block .pseudo-img {
    background: #97a03b;
    color: #ced57d;
}
#onzeRecencies .review-item:nth-child(6n+2) .author-block .pseudo-img {
    background: #3b85a0;
    color: #7dc2d5;
}
#onzeRecencies .review-item:nth-child(6n+3) .author-block .pseudo-img {
    background: #a03b51;
    color: #d57d91;
}
#onzeRecencies .review-item:nth-child(6n+4) .author-block .pseudo-img {
    background: #a08f3b;
    color: #d5c27d;
}
#onzeRecencies .review-item:nth-child(6n+5) .author-block .pseudo-img {
    background: #a03b3b;
    color: #d57d7d;
}

#onzeRecencies .review-item .author-block {
    display: flex;
    vertical-align: middle;
    justify-content: flex-start;
}
#onzeRecencies .review-item .author-block img {
	margin-right: 1rem;
    width: 40px;
    height: 40px;
}
#onzeRecencies .review-item .author-block p {
	margin: 0;
}
#onzeRecencies .review-item .reviewRating {
	margin-top: 1rem;
    margin-bottom: 1rem;
}
#onzeRecencies .full-story {
    font-weight: 600;
    color: var(--color-yellow);
    text-decoration: none;
}
#onzeRecencies .short-text, #onzeRecencies .full-text {
    transition: all 0.3s ease;
}
.hidden {
    display: none;
}
#onzeRecencies .swiper-button-next,
#onzeRecencies .swiper-button-prev {
    color: var(--color-yellow);
}
#onzeRecencies .swiper-button-next:after, 
#onzeRecencies .swiper-button-prev:after {
    font-size: 1.5rem;
}


/* faq */
#faqBlock {
    
}

#faqBlock ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.faq-item {

}

.faq-item .uk-accordion-title {
    display: block;
    padding: 0.5rem 1rem;
    cursor: pointer;
    color: black;
    text-decoration: none;
    transition: background 0.2s ease;
}

.faq-item.active .uk-accordion-title {
    
}

.faq-item .uk-accordion-title span {
    font-weight: 600;
}

.faq-item .uk-accordion-title::before {
    content: "+";
    display: inline-block;
    margin-right: 0.5rem;
    transition: transform 0.2s ease;
}

.faq-item.active .uk-accordion-title::before {
    transform: rotate(45deg);
}

.faq-item .uk-accordion-content {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
}

.faq-item .uk-accordion-content > div {
    padding: 1rem;
}

.faq-item .uk-accordion-title:hover {
    filter: brightness(0.95);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item .uk-accordion-content p:last-child {
    margin-bottom: 0;
}
/* footer */
footer .top-footer {
    color: white;
    background-color: var(--color-black);
    padding: 2rem 0;
}
footer .footer-col-item {
    position: relative;
}
footer .footer-col-item .social-icon {
    position: absolute;
    bottom: 0;
}
footer .footer-col-item .social-icon img {
    opacity: 1;
    transition: opacity 0.3s ease; 
}
footer .footer-col-item .social-icon:hover img,
footer .footer-col-item .social-icon:focus img,
footer .footer-col-item .social-icon:active img {
    opacity: 0.8;
}
footer table {
    width: 100%;
    vertical-align: sub;
}
footer .top-footer {
    background-image: url("../img/logo-back2.png");
    background-repeat: no-repeat;
    background-position: 110% 40%;
    background-size: 45%;
}
footer .top-footer .h4 {
    margin-bottom: 1.25rem;
}
footer p,
footer tr,
footer tr td {
    font-size: 1rem;
}
footer a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease; 
}

footer a:hover,
footer a:focus {
    color: var(--color-light);
}
footer .top-footer big {
    font-weight: 600;
    font-size: 1.5rem;
}
footer .bottom-footer p {
    margin-bottom: 0;
}
footer .text-block {
    padding: 1rem 0rem;
}



@media (max-width: 1536px) {
    header .desktop-menu > ul > li > ul {
        top: 1.5rem;
    }
}
@media (max-width: 1440px) {
    html {
        font-size: 16px;
    }
}

@media (max-width: 1200px) {
    html {
        font-size: 15px;
    }
}

@media (max-width: 991px) {
    html {
        font-size: 14px;
    }
    header .right-block {
        font-size: 1rem;
    }
    header .desktop-menu ul {
        gap: 0.85rem;
    }
    .behandelingen-item img {
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
    #onzeLocaties .locaties-item {
        justify-content: flex-start;
    }
    #onzeLocaties {
        background-position: 50% 22%;
        background-size: 200%;
    }
    .locaties-item-block {
        margin-bottom: 2rem;    
    }
    footer .footer-col-item {
        margin-bottom: 2rem;
    }
    footer .footer-col-item:last-child {
        margin-bottom: 0;
    }
    footer .top-footer .h4 {
        margin-bottom: 1.25rem;
    }
}

@media (max-width: 767px) {
    .mobile-icon {
        max-width: 2.5rem;
    }
    
    .mobile-menu {
        text-align: right;
    }
    html {
        font-size: 16px;
    }
    #onzeLocaties .items-row {
        margin: 1rem 0 0rem 0;
    }
    #onzeBehandelingen h2 {
        margin-bottom: 1rem;
    }
    .behandelingen-item-block {
        margin-bottom: 1rem;
    }
    #onzeLocaties {
        background-position: 50% 55%;
        background-size: 300%;
    }
    #onzeLocaties .locaties-item img {
        border: 0.25rem solid white;
    }
    #onzeLocaties .locaties-item {
        gap: 1rem;
        flex-direction: column;
        text-align: center;
    }
    .standart-block .h2, .standart-block h2 {
        margin-bottom: 1rem;
    }
    .standart-block {
        padding: 1rem 0;
    }
    #topImage {
        min-height: 35vh;
    }
    #mainContent {
        padding: 1rem 0 1rem 0;
    }
    #probleem .probleem-item .image {
        margin-bottom: 1rem;
    }
     #probleem .probleem-item:nth-child(odd) {
         background: var(--color-light2);
         margin-bottom: 1rem;
         padding-top: 1rem;
     }
    .behandelingen-item {
        min-height: auto;
    }
    footer .footer-col-item .social-icon {
        position: relative;
    }
    footer {
        text-align: center;
    }
    footer .top-footer {
        padding: 1rem 0;
    }
    footer .footer-col-item .social-icon {
        left: 0;
        right: 0;
    }
    footer .bottom-footer p {
        font-size: 1rem;
    }
}

@media (max-width: 525px) {
    html {
        font-size: 12px;
    }
    
    #topImage {
        min-height: 30vh;
    }
}