/*
	Theme Name: Samsons
	Theme URI: https://samsons.ru
	Description: Ssamsons theme
	Author: Ar2net
	Author URI: https://ar2net.ru
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f9fafb;
    color: #1e1e2f;
    line-height: 1.6;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}
section .container a {
    color: #09af9a;
}

/* основной акцентный цвет — #55E3D1 */
.accent-color {
    color: #55E3D1;
}

.bg-accent {
    background-color: #55E3D1;
}

/* кнопки */
button {
    cursor: pointer;
}
.btn-primary {
    background-color: #55E3D1;
    color: #1e1e2f;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 40px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 8px 16px -6px rgba(85, 227, 209, 0.3);
    font-size: 0.95rem;
    border: 1px solid transparent;
    white-space: nowrap;
}

.btn-primary:hover {
    background-color: #3fcbb9;
    transform: translateY(-2px);
    box-shadow: 0 16px 24px -8px rgba(85, 227, 209, 0.5);
}

section .container p {
    margin-block-end: .9rem;
    margin-block-start: 0;
}

section .container ul {
    margin: 15px;
}

section .container li {
    margin-left: 15px;
    padding: 5px 15px;
}

section .container ::marker {
    font-family: "Font Awesome 5 Free";
    content: "✔";
    color: #55E3D1;
}

/* хедер */
.header {
    padding: 15px 0;
    background-color: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: padding 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* легкая тень при прокрутке */
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: nowrap;
}

.logo-container {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
}

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e1e2f;
    line-height: 1.2;
}

.logo-text span {
    font-size: 0.85rem;
    font-weight: 400;
    color: #5f6b7a;
    display: block;
}

/* Меню */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
    align-items: center;
}

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

.nav-menu>li>a {
    text-decoration: none;
    color: #1e1e2f;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
    white-space: nowrap;
}

.nav-menu>li>a:hover {
    color: #55E3D1;
}

.nav-menu>li>a i {
    font-size: 0.7rem;
    color: #94a3b8;
}

.nav-menu .current-menu-item {
    background-color: #f0f9f7;
    color: #55E3D1;
}

li#menu-item-14086 {
    display: none;
}

/* Подменю */
.menu-item-has-children {
    position: relative;
}

.main-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 6px 0;
    list-style: none;
    opacity: 0;
    display: none;
    visibility: visible;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.menu-item-has-children:hover .sub-menu {
    opacity: 1; 
    visibility: visible;
    transform: translateY(0);
    will-change: transform;
}

.sub-menu .sub-menu {
    left: 100% !important;
    top: 0;
    transform: translateY(0);
}

.sub-menu .menu-item-has-children .sub-menu {
    opacity: 0;
}

.sub-menu .menu-item-has-children:hover .sub-menu {
    opacity: 1;
    z-index: 9999;
}

.sub-menu li a {
    display: block;
    padding: 8px 16px;
    text-decoration: none;
    color: #1e1e2f;
    font-size: 0.9rem;
    transition: all 0.2s;
    white-space: nowrap;
}

.main-nav .sub-menu li a:hover {
    background-color: #f0f9f7;
    color: #55E3D1;
    padding-left: 20px;
}

/* Правая часть */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.header-phone {
    font-size: 1rem;
    font-weight: 600;
    color: #1e1e2f;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.header-phone:hover {
    color: #55E3D1;
}

.search-btn {
    background: none;
    border: none;
    font-size: 1.1rem;
    color: #1e1e2f;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.search-btn:hover {
    background-color: #f0f3f7;
    color: #55E3D1;
}

/* hero секция */
.hero {
    padding: 48px 0;
    background: white;
}

.hero-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-info {
    flex: 1 1 350px;
}

.hero-badge {
    background: #e9f9f6;
    color: #1e7e70;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.hero-info h2 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.price-block {
    background: #1e1e2f;
    color: white;
    padding: 24px;
    border-radius: 32px;
    margin: 24px 0;
    display: inline-block;
    width: 100%;
    max-width: 380px;
}

.price-old {
    font-size: 1.1rem;
    text-decoration: line-through;
    opacity: 0.7;
}

.price-new {
    font-size: 3rem;
    font-weight: 700;
    color: #55E3D1;
    line-height: 1;
    margin: 8px 0 4px;
}

.price-desc {
    font-size: 0.95rem;
    opacity: 0.8;
}

.hero-footnote {
    margin-top: 16px;
    font-size: 0.95rem;
    color: #4a5568;
}

.hero-visual {
    flex: 1 1 300px;
    background: linear-gradient(145deg, #e0f5f2, #ffffff);
    border-radius: 48px;
    padding: 30px 20px;
    text-align: center;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 25px 40px -20px rgba(0, 0, 0, 0.2);
}

.hero-quote {
    font-size: 1.4rem;
    font-weight: 500;
    color: #1e2b3c;
}

.hero-visual small {
    color: #5f6b7a;
    margin-top: 16px;
}

/* О клинике кратко */
.about-clinic {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fcff 0%, #f0f7fa 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.section-subtitle {
    color: #55E3D1;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 8px;
    display: block;
}

.about-text, .about-text-content p {
    margin-bottom: 16px;
    color: #334155;
}

.about-gender {
    text-align: center;
    background: white;
    padding: 20px;
    border-radius: 40px;
    box-shadow: 0 20px 30px -10px rgba(85, 227, 209, 0.2);
}

.about-gender h3, .about-text-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #1e1e2f;
}

.gender-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 4rem;
}

.gender-icons .fa-mars {
    color: #4a90e2;
}

.gender-icons .fa-venus {
    color: #e2557a;
}

/* философия */
.philosophy {
    padding: 60px 0;
    background-color: white;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-title-after {
    width: 100px;
    margin: 0 auto;
    border-bottom: solid 1px #4fd2c2;
    margin-bottom: 30px;
}

.section-desc {
    font-size: 1.1rem;
    color: #475569;
    max-width: 900px;
    margin: 0 auto 40px;
}

.quartet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin: 40px 0 0;
}
.quartet-grid.fotos {
    margin: 0;
}

.quartet-item {
    background: #f2fcfa;
    border-radius: 40px;
    padding: 32px 20px;
    text-align: center;
    transition: 0.2s;
    border: 1px solid rgba(85, 227, 209, 0.2);
}
.quartet-item.foto {
    border: 0;
    background: transparent;
    padding: 15px;
}
.quartet-item.foto img {
    width: 100%;
}

.quartet-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -10px rgba(85, 227, 209, 0.3);
}
.quartet-item.foto:hover {
    box-shadow: none;
}

.quartet-item i {
    font-size: 2.5rem;
    color: #55E3D1;
    margin-bottom: 16px;
}

.quartet-item h4 {
    font-size: 1.4rem;
    font-weight: 600;
}
/* Услуги */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 0 0 50px;
}
.services-list__head {
    display: flex;
    align-items: center;
    gap: 15px;
    height: 64px;
    border-bottom: 1px solid #eee;
    margin: 0 0 20px;
}
.services-list__link {
    position: relative;
    padding: 0 25px 0 0;
    text-decoration: none;
    font-size: large;
}
.services-list__list .services-list__li a {text-decoration: none;}

.services-list__link:hover, .services-list__list .services-list__li a:hover {
    text-decoration: underline;
}

.services-list__link::after {
    content: '';
    position: absolute;
    height: 8px;
    width: 8px;
    border-top: 1px solid #09af9a;
    border-right: 1px solid #09af9a;
    rotate: 45deg;
    top: 50%;
    translate: 0 -5px;
    right: 5px;
}
.services-list__price {
    margin: 0 0 0 auto;
    line-height: 1;
}
.services-list__price-label {
    font-size: 14px;
    color: #999;
    margin: 0 0 7px;
}
.services-list__price-value {
    font-size: 16px;
    color: #1e1e2f;
    font-weight: bold;
}
.services-list__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 15px;
    margin: 0;
    font-size: 15px;
    gap: 0px;
}
.services-list__list .services-list__li {
    margin: 0;
}
.services-list__li {
    width: calc(50% - 20px);
}

.first-view {
    padding-bottom: 60px;
}
.first-view__inner {
    width: 570px;
    position: relative;
}
.first-view-price {
    display: flex;
    margin: 45px 0 30px;
    position: relative;
}

.first-view-price__left {
    line-height: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}
.first-view-price__label {
    color: #999;
    font-size: 16px;
}
.first-view-price__value {
    font-size: 32px;
    font-weight: bold;
    color: #000;
}
.first-view__check {
    margin: 20px 0 0;
    font-size: 14px;
    color: #999;
}
.services-inner-menu {
        margin: 0 0 50px;
        position: sticky;
        top: 85px;
        z-index: 99;
        padding: 12px 0;
}
.filter-buttons a {
    text-decoration: none;
}
.services-inner-line {
	position: sticky;
	top: 232px;
	margin: -1px 0 50px;
}
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}
.col-3 {
    flex: 0 0 25%;
    max-width: 25%;
}
ul#menu-uslugi li {
    margin: 0;
    padding: 0;
}
ul#menu-uslugi li a i {
    margin-left: 5px !important;
}
ul#menu-uslugi li::marker {
	content: none;
}
.menu-services ul {
    margin: 0 !important;
    display: block;
    position: relative;
    line-height: 1.2;
    text-decoration: none;
}
.col-lg-9 {
    flex: 0 0 75%;
	max-width: 75%;
}
.scroll-margin-top {
    scroll-margin-top: 240px;
}
.block-bottom-margin {
    margin: 0 0 50px;
}
.col-lg-9 h2 {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 20px;
}
.col-lg-9 .tab-content {
    margin-left: 0px;
}
.bg-yellow {
    padding: 30px 0;
}
.page-form__desc-gold {
    color: #55E3D1;
}
.page-form__desc {
    font-size: 14px;
    margin: 5px 0 20px;
    line-height: 1.2;
}
.head-str {
    display: flex;
    min-height: 26px;
    margin: 0 0 25px;
}
.specialists-slider__block {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: flex-start;
    align-items: flex-start;
}
.specialist-item {
    line-height: 20px;
    margin-right: 27px;
    margin-bottom: 27px;
}
.specialist-item__parts {
    margin: 20px 0 10px;
    padding: 0 15px;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.specialist-item__part {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
}
.specialist-item__label {
    font-size: 14px;
    color: #999;
}
.specialist-item__value_big {
    font-size: 20px;
}
.specialist-item__value_small {
    font-size: 16px;
}
.specialist-item__btn {
    margin: 5px 15px 0;
}
.specialist-item__btn {
    margin: 5px 15px 0;
}
.danger-info {
    margin: 20px 0 0;
    font-size: 14px;
    line-height: 1.5;
    color: #999;
}
.license-slider {
    max-width: 825px;
    margin: auto;
}
.license-slider__title {
    text-align: center;
    font-size: 26px;
    margin: 0 0 35px;
}
.license-slider__items {
    display: flex;
    flex-wrap: wrap;
    margin: 30px -15px;
}
.license-slider__item {
    display: flex;
    width: calc(100% / 3);
    align-items: center;
    justify-content: center;
}
.license-slider__item img {
    width: 100%;
    height: auto;
}

/* врачи */
.doctors {
    padding: 60px 0;
    background: #f9fafb;
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.doctors-grid a {
    text-decoration: none;
}

.doctor-card {
    background: white;
    border-radius: 32px;
    padding: 24px 20px 28px;
    box-shadow: 0 10px 25px -10px rgba(0, 0, 0, 0.1);
    transition: 0.2s;
    text-align: center;
}

.doctor-card {
    max-width: 260px;
}

.doctor-card:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 40px -20px #55e3d180;
}

.doctor-photo {
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doctor-photo img {
    width: 100%;
    height: 380px !important;
    border-radius: 24px;
    object-fit: cover;
    object-position: top;
}

.doctor-name {
    color: #1e1e2f;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 24px;
}

.doctor-name a {
    color: #1e1e2f !important;
    text-decoration: none;
}

.doctor-role {
    color: #55E3D1;
    font-weight: 600;
    margin: 6px 0 8px;
}

.doctor-desc {
    color: #64748b;
    font-size: 0.95rem;
}

/* Квизы */
.quiz-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.quiz-placeholder {
    background: linear-gradient(145deg, #ffffff, #f0f7f5);
    border: 2px dashed #55E3D1;
    border-radius: 24px;
    padding: 40px 20px;
    text-align: center;
    color: #1e7e70;
    font-weight: 600;
    font-size: 1.2rem;
    transition: 0.2s;
}

.quiz-placeholder:hover {
    background: #55E3D1;
    color: white;
    border-style: solid;
}

/* О клинике развернуто */
.about-detailed,
.equipment,
.pricing {
    padding: 60px 0;
    background: white;
}

.about-detailed p,
.equipment p,
.pricing p {
    margin-bottom: 20px;
    color: #334155;
}

.equipment {
    background: #f9fafb;
}

.pricing {
    background: white;
}

/* партнеры */
.partners {
    padding: 40px 0;
    background: #f9fafb;
}

.partner-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 32px 38px;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
}

.partner-logos span {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    opacity: 0.7;
    transition: 0.2s;
    padding: 8px 16px;
    background: white;
    border-radius: 40px;
    box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.partner-logos span:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* специализация */
.specialization {
    background-color: white;
    padding: 30px 0 50px;
}

.spec-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 32px;
    justify-content: center;
    margin-top: 24px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f2f5f9;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 500;
    transition: 0.2s;
}

.spec-item:hover {
    background: #55E3D1;
    color: white;
}

.spec-item:hover i {
    color: white;
}

.spec-item i {
    color: #55E3D1;
    font-size: 1.2rem;
    transition: 0.2s;
}

/* форма обратной связи */
.feedback {
    padding: 60px 0;
    background: #1e1e2f;
    color: white;
}

.feedback-container {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.feedback h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
    color: white;
    line-height: 1;
}

.feedback p {
    color: #b0c4de;
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #cbd5e1;
}

input[type="checkbox"] {
    width: 20px;
    height: 20px;
   	position: relative;
    top: 4px;
    margin-right: 4px;
}

.form-group input {
    width: 100%;
    padding: 16px 24px;
    border-radius: 60px;
    border: none;
    background: #2d2d44;
    color: white;
    font-size: 1rem;
}

.form-group input::placeholder {
    color: #7f8ea3;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0px;
    justify-content: center;
    color: #cbd5e1;
}

.checkbox input {
    width: 20px;
    height: 20px;
}

.feedback .btn-primary {
    background: #55E3D1;
    color: #1e1e2f;
    font-size: 1.1rem;
    padding: 16px 40px;
    border-radius: 60px;
    width: 100%;
}


/* футер в 4 колонки */
.footer {
    background: #13131f;
    color: #9ca3af;
    padding: 60px 0 30px;
    border-top: 1px solid #2d2d44;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #55E3D1;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 20px;
}

.footer-address p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-address a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-address a:hover {
    color: #55E3D1;
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-menu a:hover {
    color: #55E3D1;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #2d2d44;
}

/* утилиты */
.text-center {
    text-align: center;
}
/* поиск */
form.search-form {
    display: flex;
}
div#search-popup {
    padding: 0 !important;
    width: 800px;
    max-width: 100%;
    background: none !important;
}
input.search-field {
    max-width: 100%;
    width: 600px;
    margin-right: 10px;
    padding: 16px 24px;
    border-radius: 60px;
    font-size: 1rem;
}
/* Таблица цен */

.tab-title {
    padding: 15px 0;
    border-bottom: 1px solid hsla(0, 0%, 50%, .502);
}
.tab-title.expanded {
    border-bottom: none;
}

.tab-content {
    margin-left: 30px;
}

a.toggle-title {
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    padding-left: 5px;
}

.toggle-icon {
	position: relative;
    top: 5px;
    width: 24px;
    height: 24px;
    background: url('/wp-content/themes/samsons/images/plus.svg') no-repeat center center;
    background-size: contain;
    display: inline-block;
    transition: background-image 0.3s ease;
    cursor: pointer;
}

.toggle-icon-down {
    background-image: url('/wp-content/themes/samsons/images/minus.svg');
}

.toggle-icon-right {
    background-image: url('/wp-content/themes/samsons/images/plus.svg');
}

.tab-content table {
    background-color: transparent;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: .9em;
    margin-block-end: 15px;
    width: 100%;
}
.tab-content table tbody>tr:nth-child(odd)>td, .tab-content table tbody>tr:nth-child(odd)>th {
    background-color: hsla(0, 0%, 50%, .071);
}
.tab-content table td, .tab-content table td {
    width: 100%;
}

.tab-content table td, .tab-content table th {
    border: 1px solid hsla(0, 0%, 50%, .502);
    line-height: 1.5;
    padding: 15px;
    vertical-align: top;
}
.tab-content table tbody tr:hover>td, .tab-content table tbody tr:hover>th {
    background-color: hsla(0, 0%, 50%, .102);
}

.cf7_form input[type='text'], .cf7_form input[type='tel'], .cf7_form input[type='email'] {
    padding: 16px 24px;
    border-radius: 60px;
    border: 1px #bfbfbf solid;
    font-size: 1rem;
}

input[type='submit'] {
    background: #55E3D1;
    color: #1e1e2f;
    font-size: 1.1rem;
    padding: 16px 40px;
    border-radius: 60px;
    width: 100%;
    max-width: 600px;
    border: 0;
}
 /* ----- ДЛЯ СТРАНИЦЫ КОНТАКТОВ ----- */

 .contacts-grid {
	display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin: 60px 0;
}

.contact-card {
	background: #ffffff;
    border-radius: 32px;
    padding: 32px;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.08);
    transition: 0.2s;
    border: 1px solid #eef2f6;
}

.contact-card:hover {
	transform: translateY(-4px);
    box-shadow: 0 25px 40px -16px rgba(85, 227, 209, 0.25);
}

.card-badge {
	display: inline-block;
    background: #e9f9f6;
    color: #55e3d1;
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.contact-card h3 {
	font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1e1e2f;
}

.contact-detail {
	display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
    color: #2d3a4b;
    font-size: 1rem;
}

.contact-detail i {
	color: #55E3D1;
    width: 24px;
    font-size: 1.2rem;
    margin-top: 2px;
}

.contact-detail a {
	color: #1e1e2f;
    text-decoration: none;
    border-bottom: 1px dashed #cbd5e0;
}

.contact-detail a:hover {
	color: #55E3D1;
    border-bottom-color: #55E3D1;
}

.route-link {
	margin-top: 20px;
    margin-right: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0f9f7;
    padding: 8px 20px;
    border-radius: 40px;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.9rem;
}

.route-link i {
	font-size: 0.9rem;
}

.route-link:hover {
	background: #55E3D1;
    color: white;
}
        
 .contact-how {
 	display: flex;
    flex-wrap: wrap;
}
        
/* форма + карта реквизитов */
.feedback-block {
	background: #f9fafb;
    border-radius: 48px;
    padding: 48px;
    margin: 40px 0 60px;
}

.form-and-req {
	display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.feedback-form h2, .requisites h2 {
	font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1e1e2f;
    line-height: 1;
}
        
.requisites h2 {
	text-align: center;
}

.form-and-req .form-group label {
	font-weight: 500;
    display: block;
    margin-bottom: 6px;
    color: #1e293b;
}

.form-and-req .form-group input,
.form-and-req .form-group textarea {
	background: white;
}

.requisites-table {
	width: 100%;
    border-collapse: collapse;
}

.requisites-table tr {
	border-bottom: 1px solid #edf2f7;
}

.requisites-table td {
	padding: 12px 8px;
	vertical-align: top;
	font-size: 0.9rem;
}

.requisites-table td:first-child {
	font-weight: 600;
    width: 38%;
    color: #2d3e50;
}

.requisites-table td:last-child {
	color: #334155;
}

/* конец Контакты */


table {
    background-color: transparent;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: .9em;
    margin-block-end: 15px;
    width: 100%;
}

table td, table th {
    border: 1px solid hsla(0, 0%, 50%, .502);
    line-height: 1.5;
    padding: 15px;
    vertical-align: top;
}

table tbody>tr:nth-child(odd)>td, table tbody>tr:nth-child(odd)>th {
    background-color: hsla(0, 0%, 50%, .071);
}
table tbody tr:hover>td, table tbody tr:hover>th {
    background-color: hsla(0, 0%, 50%, .102);
}

/* временные стили Elementor */

.elementor-widget-container a {
    color: #000;
}
span.elementor-icon-list-icon, .elementor-element-9b813a6 {
    color: #55e3d1;
}

.team-name a {
    color: white !important;
    font-size: 20px;
}
button.selected {
    color: white !important;
    background-color: #55e3d1 !important;
}

.elementor-7095 .elementor-element.elementor-element-d794989 {
    border-bottom: 1px #55e3d1 solid;
    width: 50px;
}

input#form-field-name, input#form-field-email, input.wpcf7-text, input.wpcf7-date, select.wpcf7-select, .fp_input {
    width: 100%;
    max-width: 600px;
    padding: 16px 24px;
    border-radius: 60px;
    border: 1px #bfbfbf solid;
    font-size: 1rem;
}

button.elementor-button.elementor-size-sm {
    background: #55E3D1!important;
    font-size: 1.1rem;
    padding: 16px 40px;
    border-radius: 60px;
}

.elementor-7095 .elementor-element.elementor-element-aac7692, .elementor-7095 .elementor-element.elementor-element-aac7692 > .elementor-background-overlay {
    border-radius: 0;
}

.elementor-kit-9 {
    --e-global-color-primary: #4FD2C2;
    --e-global-color-secondary: #595959;
    --e-global-color-text: #000000;
    --e-global-color-accent: #FFFFFF;
    --e-global-color-4f19dc6: #4FD2C2;
    --e-global-color-b1efa68: #FAFBFD;
    --e-global-color-2ee4fee: #E7E9EC;
    --e-global-typography-primary-font-family: "Roboto";
    --e-global-typography-primary-font-size: 13px;
    --e-global-typography-primary-font-weight: 300;
    --e-global-typography-primary-text-transform: none;
    --e-global-typography-primary-font-style: normal;
    --e-global-typography-primary-text-decoration: none;
    --e-global-typography-primary-line-height: 1.5em;
    --e-global-typography-primary-letter-spacing: 1.2px;
    --e-global-typography-secondary-font-family: "Roboto";
    --e-global-typography-secondary-font-size: 13px;
    --e-global-typography-secondary-font-weight: 400;
    --e-global-typography-secondary-text-transform: uppercase;
    --e-global-typography-secondary-line-height: 1.5em;
    --e-global-typography-secondary-letter-spacing: 1.2px;
    --e-global-typography-text-font-family: "Roboto";
    --e-global-typography-text-font-size: 15px;
    --e-global-typography-text-font-weight: 300;
    --e-global-typography-text-line-height: 1.5em;
    --e-global-typography-text-letter-spacing: 1.2px;
    --e-global-typography-accent-font-family: "Roboto";
    --e-global-typography-accent-font-size: 18px;
    --e-global-typography-accent-font-weight: 300;
    --e-global-typography-accent-line-height: 1.5em;
    --e-global-typography-accent-letter-spacing: 1.2px;
}

/* Дополнительные стили для мобильного меню */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #1e1e2f;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
}

/* медиа-запросы */
@media (max-width: 1100px) {
	header {
        padding: 50px 10px 0 10px !important;
    }
    .nav-menu {
        gap: 12px;
    }

    .nav-menu>li>a {
        font-size: 0.9rem;
    }

    .header-phone {
        font-size: 0.9rem;
    }
}
@media (min-width: 992px) {
	.menu-item-has-children:hover .sub-menu {
    	display: block;
    }
}
@media (max-width: 992px) {

    .about-text-content h3 {
        text-align: center;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .header-row {
        flex-wrap: wrap;
        position: relative;
    }

    .logo-container {
        flex: 1;
    }

    .mobile-menu-toggle {
        display: block;
        order: 2;
    }

    .header-actions {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-bottom: 5px;
    }

    .main-nav {
        order: 4;
        width: 100%;
        display: none;
        margin-top: 15px;
    }

    .main-nav.active {
        display: block;
    }

    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        padding: 20px 0;
    }

    .nav-menu>li {
        width: 100%;
    }

    .nav-menu>li>a {
        padding: 12px 0;
        justify-content: space-between;
    }

    .sub-menu>li>a i, .nav-menu>li>a i {
        width: 25px;
        height: 25px;
        font-size: 1.4rem;
        text-align: center;
        color: #94a3b8;
    }

    .sub-menu {
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
        display: none;
        width: 100%;
    }
    
    .sub-menu li a {
        display: flex;
        justify-content: space-between;
    }

    .menu-item-has-children.active > .sub-menu {
        display: block;
    }
    
    .sub-menu .menu-item-has-children.active > .sub-menu {
        position: static;
        margin-left: 20px;
    }
    
    .nav-menu > li > a i,
    .sub-menu > li > a i {
        pointer-events: auto !important;
    }

    .nav-menu > li > a,
    .sub-menu > li > a {
        pointer-events: auto;
    }
    
    /* Скрываем телефон на мобильных, если нужно
    .header-phone {
         display: none;
    } */

	.contacts-grid {
		grid-template-columns: 1fr;
        gap: 28px;
    }

    .form-and-req {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .feedback-block {
        padding: 32px;
    }

    .contacts-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {

    .header-row {
        gap: 0px;
    }
    
    .logo-container {
        margin-top: 10px;
        justify-content: center;
    }
    
    div#search-popup {
        display: flex;
        flex-wrap: wrap;
        align-content: center;
    }
    
    input.search-field {
        margin: 0;
        width: 100%;
    }
    
    .search-form input[type='submit'] {
        max-width: 150px;
    }
    
    .hero-visual {
        margin-top: 40px;
        padding: 0;
    }
    .section-title {
        font-size: 1.8rem;
    }

    .hero-info h2 {
        font-size: 2.2rem;
    }

    .price-new {
        font-size: 2.5rem;
    }

    .header-actions {
        gap: 10px;
    }

    .btn-primary {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .quiz-section {
        grid-template-columns: 1fr;
    }
    /* Услуги проблемы*/
    .first-view__inner {width: 100%;}
    .col-3 {display: none;}
    .col-7, .col-lg-9 {flex: 0 0 100%;max-width: 100%;}
    .first-view {padding: 0 26px!important;}
    .row {margin: 0;padding: 0 6px;}
    .services-inner-menu {top: 100px;}
    .services-list__li {width: 100%;}
}

@media (max-width: 640px) {
   
   .hero-grid {
        display: block;
    } 
    
    .header-row {
        flex-direction: row;
        align-items: stretch;
    }

    .header-actions {
        justify-content: center;
    }

    .main-nav {
        width: 100%;
    }
    
    .doctor-photo img, .rt-team-img {
        height: auto !important;
    }

    .nav-menu {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .menu-item-has-children {
        width: 100%;
        text-align: center;
    }

    .sub-menu {
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 0;
        display: none;
        width: 100%;
        text-align: center;
    }

    .sub-menu li a {
        text-align: center;
    }

    .hero-grid {
        flex-direction: column;
    }

    .quartet-grid {
        grid-template-columns: 1fr;
    }

    .doctors-grid {
        grid-template-columns: 1fr;
    }

    .spec-grid {
        flex-direction: column;
        align-items: stretch;
    }

    .spec-item {
        justify-content: center;
    }

    .feedback h2 {
        font-size: 1.8rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
		padding: 0 20px;
    }

    .contact-card {
        padding: 24px;
    }

    .requisites-table td {
         display: block;
         width: 100%;
         padding: 6px 0;
     }

     .requisites-table td:first-child {
         padding-top: 12px;
     }
     .requisites-table td, .requisites-table td:first-child {
     	width: 100%;
        padding: 10px;
     }
     
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .price-block {
        max-width: 100%;
    }

    .header-actions {
        flex-wrap: wrap;
        gap: 10px;
    }

    .btn-primary {
        width: 100%;
        text-align: center;
    }
    footer img.attachment-large {
        width: 100%;
        height: auto;
    }
    .doctor-card {
        max-width: 100%;
    }
}

@media (max-width: 410px) {   
    section .container {word-break: break-word;}
    .slick-prev {left: 0!important;}
    .slick-next {right: 0!important;}
}

/* Стили для блока оснащения */
.equipment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.equipment-image img {
    width: 100%;
    height: auto;
    border-radius: 24px;
}

.equipment-content {
    padding: 10px;
}

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

/* === ПОВОРОТ ИКОНОК В МЕНЮ === */
/* Вращение при наведении (просто визуально) */
.nav-menu .menu-item-has-children > a i {
    transition: transform 0.3s ease !important;
    transform: rotate(0deg) !important;
}

.nav-menu .menu-item-has-children:hover > a i,
.nav-menu .menu-item-has-children.active > a i {
    transform: rotate(-90deg) !important;
}

li#menu-item-15803 .sub-menu .sub-menu li a,  li#menu-item-15804 .sub-menu .sub-menu li a {
    padding: 3px 16px;
}
li#menu-item-15889 ul.sub-menu.sub-menu-level-3, li#menu-item-15872 ul.sub-menu.sub-menu-level-3 {
    top: -30px;
}

li#menu-item-15896 ul.sub-menu.sub-menu-level-3 {
    top: -120px;
}

li#menu-item-15889 ul.sub-menu.sub-menu-level-3, li#menu-item-15896 ul.sub-menu.sub-menu-level-3, li#menu-item-15873 ul.sub-menu.sub-menu-level-3, li#menu-item-15872 ul.sub-menu.sub-menu-level-3 {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    max-width: 840px !important;
    gap: 0 !important;
    box-sizing: border-box !important;
    margin: 0 auto !important;
    /* Скрываем скроллбар (опционально, для «чистого» вида) */
    scrollbar-width: thin !important;
    scrollbar-color: #ccc transparent !important;
}

li#menu-item-15872 ul.sub-menu.sub-menu-level-3 li:nth-child(n+37) {
    display: none !important;
}

li#menu-item-17280 a {
    font-weight: 700;
}

nav.main-menu, .header .menu-container {
    overflow-x: hidden;
}
/* === СКРЫТИЕ 3-ГО УРОВНЯ В МОБИЛЬНОЙ ВЕРСИИ === */
@media (max-width: 992px) {
    /* Скрываем все третьи уровни подменю */
    .main-nav .sub-menu .sub-menu,
    .main-nav .sub-menu .sub-menu .sub-menu, 
    li#menu-item-15889 ul.sub-menu.sub-menu-level-3, 
    li#menu-item-15873 ul.sub-menu.sub-menu-level-3, 
    li#menu-item-15872 ul.sub-menu.sub-menu-level-3 {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }

    /* Дополнительно: запрещаем показ при наведении */
    .menu-item-has-children .sub-menu .menu-item-has-children:hover .sub-menu {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }
}

ul#menu-uslugi li.current_page_item {
    background-color: #f0f9f7;
    color: #55E3D1;
}