.hero-dirs .button-white{font-weight:400;font-size:14px;line-height:100%;color:#24388f;text-align:center;white-space:nowrap;position:relative;display:flex;flex-direction:row;justify-content:center;align-items:center;gap:5px;padding:20px 30px;border:1px solid #24388F;border-radius:60px;background-color:#fff;}
.hero-dirs .button-white:hover{background-color:#24388f;color:#ffffff;}
.hero-dirs .button-white__icon{content:'';width:14px;height:14px;position:relative;display:flex;flex-shrink:0;}
.hero-dirs .button-white__icon svg{max-width:100%;max-height:100%;}
.hero-dirs .button-white__icon svg path{transition:all 0.3s ease;}
.hero-dirs .button-white:hover .button-white__icon svg path{fill:#ffffff;}
.hero-dirs .button-white__text{transition:all 0.3s ease;}
.hero-dirs .find-right{flex:1 1 auto;position:relative;display:flex;flex-wrap:wrap;gap:20px;}
.hero-dirs .find-consultation{width:calc(100% / 3 - 40px / 3);min-height:70px;position:relative;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:24px;background-color:#191f3b;border-radius:15px;padding:24px 18px;}
.hero-dirs .find-consultation__title{font-weight:400;font-size:16px;line-height:120%;color:#ffffff;}
.hero-dirs .find-consultation__button.button-white{max-width:100%;}
.hero-dirs .find-consultation__button.button-white:hover{background-color:#191f3b;border:1px solid #ffffff;}
.hero-dirs .find-block{width:calc(100% / 3 - 40px / 3);min-height:70px;position:relative;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:24px;border-radius:15px;padding:24px 18px;background-color:#f6f7fd;}
.hero-dirs .find-block:hover{background-color:#191f3b;}
.hero-dirs .find-block__top{width:100%;position:relative;display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;}
.hero-dirs .find-block__title{font-weight:400;font-size:16px;line-height:120%;color:#191f3b;transition:all 0.3s ease-in-out;}
.hero-dirs .find-block:hover .find-block__title{color:#ffffff;}
.hero-dirs .find-block__number{font-weight:400;font-size:16px;line-height:120%;color:#191f3b;transition:all 0.3s ease-in-out;}
.hero-dirs .find-block:hover .find-block__number{color:#ffffff;}
.hero-dirs .find-block__arrow{width:44px;height:57px;padding:12px;position:relative;display:flex;justify-content:center;align-items:center;border:1px solid #191F3B;border-radius:60px;transition:all 0.3s ease-in-out;}
.hero-dirs .find-block:hover .find-block__arrow{border:1px solid #ffffff;background-color:#fff;}
.hero-dirs .find-block__arrow svg{max-width:100%;max-height:100%;transition:all 0.3s ease-in-out;}
.hero-dirs .find-block:hover .find-block__arrow svg{transform:rotate(-45deg);}
@media only screen and (max-width: 768px){
.hero-dirs .find-consultation,.hero-dirs .find-block{width:calc(50% - 10px);}
}
@media only screen and (max-width: 480px){
.hero-dirs .find-right{gap:16px;}
.hero-dirs .find-consultation,.hero-dirs .find-block{width:100%;min-height:150px;}
.hero-dirs .find-consultation__button.button-white{width:100%;}
.hero-dirs .find-block__arrow{width:100%;height:40px;}
}

.services-filter{
	display: flex;
	gap: 15px;
	align-items: center;
	flex-wrap: wrap;
}

.filter_btn{
	color: #24388f;
	border: 1px solid #24388f;
	padding: 5px 10px;
	display: block;
	border-radius: 20px;
}

.filter_btn:hover,.filter_btn.active {
  background-color: #24388f;
  color: #ffffff;
}


.devices{padding:60px 0 50px;}
.devices-content{
	overflow: hidden;
}
.devices .container{max-width:1300px;}
.devices-row{width:100%;position:relative;display:flex;flex-direction:column;gap:28px;padding:46px 36px;background-color:#f6f7fd;border-radius:10px;}
.devices-top{width:100%;position:relative;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:32px;}
.devices-top__link.button-white{padding:20px 60px;background-color:transparent;}
.devices-top__link.button-white:hover{background-color:#24388f;}
.devices-link__mobile.button-white{background-color:transparent;display:none;}
.devices-link__mobile.button-white:hover{background-color:#24388f;}
@media only screen and (max-width: 992px){
.devices{padding:50px 0 40px;}
.devices-row{padding:40px 30px;}
.devices-top__link{display:none;}
.devices-link__mobile.button-white{width:100%;max-width:200px;display:flex;align-self:center;}
}
@media only screen and (max-width: 768px){
.devices-row{padding:30px 20px;}
}
@media only screen and (max-width: 480px){
.devices{padding:40px 0 30px;}
.devices-row{padding:30px 16px;}
.devices-link__mobile.button-white{max-width:100%;}
}


.mbanners{padding:40px 0 22px;}
.mbanners .container{max-width:1300px;}
.mbanners-row{width:100%;position:relative;display:flex;flex-direction:column;gap:15px;}
.mbanners-main{width:100%;position:relative;display:flex;flex-direction:column;gap:35px;background-color:#f6f7fd;border-radius:10px;padding:46px 36px;}
@media only screen and (max-width: 992px){
.mbanners-main{padding:40px 30px;}
}
@media only screen and (max-width: 768px){
.mbanners-main{padding:30px 20px;}
}
@media only screen and (max-width: 480px){
.mbanners{padding:30px 0 20px;}
.mbanners-main{gap:12px;padding:30px 16px;}
}

.mbanners1-slider{
	overflow: hidden;
}

.mbanners1-block__img img{
	width: 100%;
}

.mbanners1-slider__block{
	position: relative;
}

.mbanners1-block__content{
	z-index: 999;
	position: absolute;
	left: 20px;
	bottom: 20px;
}

.mbanners2-slider{
	overflow: hidden;
}

.mbanners2-block__img img{
	width: 100%;
}

.mbanners2-slider__block{
	position: relative;
}

.mbanners-main{
	position: relative;
}

.mbanners1-controls__prev{
	width: 48px;
	height: 48px;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translate(-50%,-50%);
}

.mbanners1-controls__next{
	width: 48px;
	height: 48px;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translate(50%,-50%);
}

.mbanners2-controls__prev{
	width: 48px;
	height: 48px;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translate(-50%,-50%);
}

.mbanners2-controls__next{
	width: 48px;
	height: 48px;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translate(50%,-50%);
}

.mbanners1-block__title{
	margin-bottom: 8px;
}

.mbanners2-block__title{
	margin-bottom: 8px;
}

.mbanners1-block__text{
	margin-bottom: 8px;
}

.mbanners2-block__text{
	margin-bottom: 8px;
}


/* Smart Search Suggestions */
.h-services-search,
.section-head {
    position: relative;
}

.search-suggestions {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    max-height: 350px;
    overflow-y: auto;
    z-index: 99999;
    margin-top: 0;
}

.h-services-search .search-suggestions {
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 500px;
    border-radius: 16px;
    margin-top: 12px;
}

.section-head .search-suggestions {
    width: 100%;
    max-width: 400px;
    right: auto;
}

.search-suggestions.active {
    display: block;
}

.search-suggestion-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 18px;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease;
}

.search-suggestion-item:first-child {
    border-radius: 16px 16px 0 0;
}

.search-suggestion-item:last-child {
    border-bottom: none;
    border-radius: 0 0 16px 16px;
}

.search-suggestion-item:only-child {
    border-radius: 16px;
}

.search-suggestion-item:hover {
    background: #f6f7fd;
}

.search-suggestion-type {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    padding: 3px 10px;
    border-radius: 12px;
    width: fit-content;
}

.search-suggestion-type.service { background: #24388f; }
.search-suggestion-type.doctor { background: #2e7d32; }
.search-suggestion-type.direction { background: #e65100; }

.search-suggestion-title {
    font-size: 15px;
    font-weight: 500;
    color: #191f3b;
    line-height: 1.4;
}

.search-suggestion-desc {
    font-size: 13px;
    color: #777;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-no-results,
.search-loading {
    padding: 20px 16px;
    text-align: center;
    color: #888;
    font-size: 14px;
}

/* Планшеты */
@media (max-width: 992px) {
    .section-head .search-suggestions {
        max-width: 350px;
    }
}

/* Мобильные */
@media (max-width: 768px) {
    .search-suggestions {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        max-height: 60vh;
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.2);
        margin-top: 0;
        transform: none;
    }
    
    .h-services-search .search-suggestions,
    .section-head .search-suggestions {
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        transform: none;
        border-radius: 20px 20px 0 0;
    }
    
    .search-suggestion-item {
        padding: 14px 16px;
    }
    
    .search-suggestion-item:first-child {
        border-radius: 20px 20px 0 0;
    }
    
    .search-suggestion-item:last-child {
        border-radius: 0;
    }
    
    .search-suggestion-title {
        font-size: 14px;
    }
    
    .search-suggestion-desc {
        font-size: 12px;
        -webkit-line-clamp: 1;
    }
}

@media (max-width: 480px) {
    .search-suggestions {
        max-height: 50vh;
    }
    
    .search-suggestion-item {
        padding: 12px 14px;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #191f3b;
    color: #fff;
    padding: 20px;
    z-index: 10000;
    display: none;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
}

.cookie-banner.active {
    display: block;
}

.cookie-banner__content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-banner__text {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-banner__text a {
    color: #fff;
    text-decoration: underline;
}

.cookie-banner__text a:hover {
    text-decoration: none;
}

.cookie-banner__button {
    background: #24388f;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.cookie-banner__button:hover {
    background: #1a2a6c;
}

@media only screen and (max-width: 768px) {
    .cookie-banner__content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-banner__button {
        width: 100%;
        max-width: 200px;
    }
}

/* Good Place Icon in Header */
.header-socials__link--good-place {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-socials__link--good-place img {
    width: 26px;
    height: auto;
}

/* Privacy Policy Page Styles */
.privacy {
    padding: 60px 0 80px;
}

.privacy-head {
    margin-bottom: 40px;
}

.privacy-head .section-title {
    margin-bottom: 16px;
}

.privacy-date {
    font-size: 14px;
    color: #666;
    font-style: italic;
}

.privacy-body {
    max-width: 900px;
}

.privacy-section {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eee;
}

.privacy-section:last-child {
    border-bottom: none;
}

.privacy-section h2 {
    font-size: 20px;
    font-weight: 600;
    color: #191f3b;
    margin-bottom: 16px;
    line-height: 1.4;
}

.privacy-section p {
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 12px;
}

.privacy-section p:last-child {
    margin-bottom: 0;
}

.privacy-section ul {
    margin: 12px 0;
    padding-left: 24px;
}

.privacy-section ul li {
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 8px;
    position: relative;
}

.privacy-section ul li::marker {
    color: #24388f;
}

.privacy-section strong {
    color: #191f3b;
    font-weight: 600;
}

.privacy-section a {
    color: #24388f;
    text-decoration: underline;
}

.privacy-section a:hover {
    text-decoration: none;
}

.privacy-section--note {
    background: #f6f7fd;
    padding: 20px 24px;
    border-radius: 10px;
    border-bottom: none;
}

.privacy-section--note p {
    margin-bottom: 0;
    color: #555;
}

@media only screen and (max-width: 768px) {
    .privacy {
        padding: 40px 0 60px;
    }
    
    .privacy-section h2 {
        font-size: 18px;
    }
    
    .privacy-section p,
    .privacy-section ul li {
        font-size: 14px;
    }
}

@media only screen and (max-width: 480px) {
    .privacy {
        padding: 30px 0 50px;
    }
    
    .privacy-head {
        margin-bottom: 30px;
    }
    
    .privacy-section {
        margin-bottom: 24px;
        padding-bottom: 20px;
    }
    
    .privacy-section h2 {
        font-size: 16px;
    }
}

/* Thanks Page */
.thanks {
    padding: 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.thanks-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
}

.thanks-title {
    font-size: 42px;
    font-weight: 600;
    color: #191f3b;
    margin-bottom: 32px;
    line-height: 1.3;
}

.thanks-text {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

@media only screen and (max-width: 768px) {
    .thanks {
        padding: 80px 0;
        min-height: 100vh;
    }
    
    .thanks-content {
        padding: 30px 20px;
    }
    
    .thanks-title {
        font-size: 32px;
        margin-bottom: 24px;
    }
    
    .thanks-text {
        font-size: 16px;
    }
}

@media only screen and (max-width: 480px) {
    .thanks {
        padding: 60px 0;
        min-height: 100vh;
    }
    
    .thanks-content {
        padding: 20px 16px;
    }
    
    .thanks-title {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .thanks-text {
        font-size: 15px;
    }
}