:root {
	/* Base Palette */
	--color-white: #ffffff;
	--color-black: #000000;
	--color-blue: #326ccd;
	--color-blue-hover: #2559b0;
	--color-light-gray: #eef1f5;
	/* For backgrounds like breadcrumbs, specialist card SVG default */
	--color-gray-border: #d1d5db;
	/* Primary border color */
	--color-gray-border-light: #e5e7eb;
	/* Lighter border, e.g., header bottom */
	--color-gray-text-light: #9ca3af;
	/* Light text, e.g., search icon */
	--color-gray-text-medium: #6b7280;
	/* Medium text, e.g., breadcrumb text */
	--color-gray-text-dark: #4b5563;
	/* Darker gray text, e.g., hero subtitle */
	--color-gray-footer-link-hover: #cccccc;
	--color-off-white: #f9fafb;
	/* Very light background for hover states */
	--color-blue-light: #ebf4ff;
	/* Light blue background for selections */
	--color-blue-very-light: #f8fafc;
	/* Very light blue for hover states */

	/* RGB versions for rgba() */
	--color-black-rgb: 0, 0, 0;
	--color-white-rgb: 255, 255, 255;
	--color-blue-rgb: 50, 108, 205;

	/* Semantic Aliases */
	--text-primary: var(--color-black);
	--text-secondary: var(--color-gray-text-light);
	--text-tertiary: var(--color-gray-text-medium);
	--text-quaternary: var(--color-gray-text-dark);
	--text-on-primary-accent: var(--color-white);
	--text-on-secondary-accent: var(--color-blue);
	/* Text that sits on a white bg but is blue */

	--bg-primary: var(--color-white);
	--bg-primary-hover: var(--color-off-white);
	--bg-secondary: var(--color-light-gray);
	/* Secondary page backgrounds */
	--bg-dropdown-hover: var(--color-blue-very-light);
	--bg-dropdown-selected: var(--color-blue-light);

	--accent-primary: var(--color-blue);
	--accent-primary-hover: var(--color-blue-hover);

	--border-btn: var(--color-black);
	--border-primary: var(--color-gray-border);
	--border-secondary: var(--color-gray-border-light);
}

html {
	scroll-behavior: smooth;
}

/* Reset and Base Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Open Sans", sans-serif;
}

body {
	font-family: "Open Sans", sans-serif;
	color: var(--text-primary);
	background-color: var(--bg-primary);
	overflow-x: hidden;
	position: relative;
	width: 100%;
}

h1 {
	font-size: 38px;
	line-height: 46px;
	font-weight: 400;
	color: var(--text-primary);
	margin-bottom: 50px;
}

h3 {
	font-size: clamp(28px, 4vw, 38px);
	line-height: clamp(36px, 5vw, 48px);
	font-weight: 400;
	color: var(--text-primary);
	margin-bottom: 50px;
}

ul {
	list-style: none;
}

a {
	text-decoration: none;
	color: var(--text-primary);
}

section {
	margin-bottom: 180px;
}

section:last-of-type {
	margin-bottom: 0;
}

.container {
	max-width: 1220px;
	margin: 0 auto;
	padding: 0 20px;
}

.blue-text {
	color: var(--accent-primary);
}

header {
	padding-top: 30px;
	margin-bottom: 60px;
}

.header-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
	gap: 20px;
}

.logo h1 {
	font-size: 24px;
	font-weight: 700;
	color: var(--accent-primary);
	letter-spacing: 0.5px;
}

.search-container {
	margin-left: 75px;
	max-width: 580px;
}

.search-wrapper {
	position: relative;
}

.search-input {
	width: 380px;
	padding: 15px 16px 15px 40px;
	border: 1px solid var(--border-primary);
	border-radius: 50px;
	font-size: 14px;
	outline: none;
	transition: all 0.2s;
}

.search-input.error {
	border-color: red !important;
}

.search-input:focus {
	border-color: var(--accent-primary);
	box-shadow: 0 0 0 3px rgba(var(--color-blue-rgb), 0.1);
	width: 580px;
}

.search-icon {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--text-secondary);
	cursor: pointer;
	transition: all 0.3s ease;
}

/* Стили для активного состояния (когда есть текст) */
.search-wrapper.has-text .search-icon {
	left: auto;
	right: 12px;
}

/* Стили для крестика и разделителя */
.search-clear {
	position: absolute;
	right: 48px;
	top: 50%;
	transform: translateY(-50%);
	display: none;
	cursor: pointer;
	width: 24px;
	height: 24px;
}

.search-divider {
	position: absolute;
	right: 40px;
	top: 50%;
	transform: translateY(-50%);
	height: 24px;
	width: 1px;
	background-color: rgba(0, 0, 0, 0.2);
	display: none;
}

.search-wrapper.has-text .search-clear,
.search-wrapper.has-text .search-divider {
	display: block;
}

.search-wrapper.has-text .search-input {
	padding-right: 30px;
}

.search-wrapper.has-text .search-input {
	padding-left: 15px;
}

.contact-btn {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 15px 24px;
	background: var(--bg-primary);
	border: 1px solid var(--border-primary);
	border-radius: 50px;
	color: var(--text-primary);
	font-size: 16px;
	line-height: 20px;
	cursor: pointer;
	transition: all 0.2s;
}

.contact-btn:hover {
	background: var(--bg-primary-hover);
}

.contact-btn svg {
	color: var(--accent-primary);
}

@media (max-width: 1200px) {
	.search-container {
		margin-left: 40px;
	}

	.search-input:focus {
		width: 450px;
	}
}

@media (max-width: 992px) {
	.search-container {
		margin-left: 20px;
	}

	.search-input {
		width: 300px;
	}

	.search-input:focus {
		width: 400px;
	}
}

@media (max-width: 887px) {
	.search-input {
		width: 250px;
	}

	.search-input:focus {
		width: 300px;
	}
}

@media (max-width: 768px) {
	.header-content {
		justify-content: space-between;
	}

	.search-container {
		margin-left: 0;
		order: 3;
		width: 100%;
		max-width: 100%;
	}

	.search-input {
		width: 100%;
	}

	.search-input:focus {
		width: 100%;
	}
}

@media (max-width: 480px) {
	.contact-btn {
		padding: 12px 16px;
		font-size: 14px;
	}
}

/* Navigation Styles */
.navigation {
	background: var(--accent-primary);
	border-radius: 30px;
	display: flex;
	justify-content: center;
}

.nav-content {
	height: 56px;
	display: flex;
	align-items: center;
}

.nav-menu {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 0 5px;
}

.nav-item {
	color: var(--text-on-primary-accent);
	text-decoration: none;
	font-size: 16px;
	line-height: 20px;
	font-weight: 400;
	padding: 10px 48px;
	border-radius: 30px;
	transition: background-color 0.2s;
}

.nav-item:hover {
	background: rgba(var(--color-white-rgb), 0.1);
}

.nav-item.active {
	background: var(--color-white);
	font-weight: 400;
	color: var(--accent-primary);
}

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

@media (max-width: 992px) {
	.nav-item {
		padding: 10px 20px;
		font-size: 14px;
	}
}

/* Бургер-меню */
.burger-menu-btn {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	position: relative;
	width: 32px;
	height: 32px;
	z-index: 1000;
}

.mobile-menu {
	display: none;
	position: fixed;
	top: 0;
	right: 0;
	width: 300px;
	height: auto;
	max-height: 80vh;
	background-color: white;
	z-index: 999;
	padding: 80px 20px 20px;
	overflow-y: auto;
	transform: translateX(100%);
	transition: all 0.4s ease;
	border-radius: 0 0 0 10px;
	box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
	transform: translateX(0);
	display: block;
	opacity: 1;
}

.mobile-menu .nav-item {
	display: block;
	padding: 15px 0;
	text-align: center;
	font-size: 18px;
	color: var(--text-primary);
	border-bottom: 1px solid #eee;
	border-radius: 0;
}

.mobile-menu .nav-item.active {
	color: var(--accent-primary);
	border-bottom: 1px solid #eee;
}

.mobile-menu .nav-item:hover {
	color: var(--accent-primary);
}

@media (max-width: 768px) {
	.burger-menu-btn {
		display: block;
	}

	.contact-btn {
		display: none;
	}
	.navigation {
		display: none;
	}
	.burger-menu-btn {
		display: flex;
		flex-direction: column;
		justify-content: center;
	}
}

/* Хлебные крошки */

.breadcrumbs {
	overflow-x: auto;
	width: 100%;
	margin-top: -20px;
	margin-bottom: 60px;
	scrollbar-width: thin;
	scrollbar-color: var(--accent-primary) transparent;
}

.breadcrumbs::-webkit-scrollbar {
	height: 6px;
}

.breadcrumbs::-webkit-scrollbar-track {
	background: transparent;
}

.breadcrumbs::-webkit-scrollbar-thumb {
	background-color: var(--accent-primary);
	border-radius: 20px;
	margin-top: 3px;
}

.breadcrumbs-content {
	font-size: 14px;
	color: #4b5563;
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 5px;
}

.breadcrumb-item {
	background-color: var(--bg-secondary);
	text-decoration: none;
	transition: color 0.2s;
	padding: 5px 15px;
	border-radius: 30px;
}

.breadcrumb-item:hover {
	color: #4f46e5;
}

.breadcrumb-item__active {
	color: var(--accent-primary);
	font-weight: 500;
	text-wrap: nowrap;
}

.breadcrumb-separator {
	color: #9ca3af;
	margin: 0 4px;
}

/* Hero Section Styles */
.hero {
	background: var(--bg-primary);
	height: 577px;
}

.hero .container {
	height: 100%;
}

.hero-content {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background-image: url("../img/hero-image.png");
	background-size: contain;
	background-position: center center;
	background-repeat: no-repeat;
}

.hero-img-mobile {
	display: none;
}

.hero-text {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.hero-title {
	font-size: 38px;
	font-weight: 400;
	line-height: 46px;
	color: var(--text-primary);
}

.hero-title .blue-text {
	color: var(--accent-primary);
}

.hero-subtitle-upper {
	padding: 10px 25px;
	width: max-content;
	background: #eef1f5;
	border-radius: 30px;
}

.hero-subtitle-upper br {
	display: none;
}

.hero-subtitle {
	display: flex;
	align-items: center;
	gap: 10px;
}

.bullet {
	width: 6px;
	height: 6px;
	background: var(--accent-primary);
	border-radius: 50%;
}

.hero-subtitle p {
	font-size: 18px;
	color: var(--text-primary);
}

.statistics {
	display: flex;
	align-items: start;
	gap: 20px;
	margin-left: auto;
}

.statistics-mobile {
	display: none;
}

.stat-cards {
	display: flex;
	gap: 20px;
}

.stat-card {
	background: var(--bg-primary);
	border: 1px solid var(--border-secondary);
	border-radius: 30px;
	padding: 23.5px 30px;
	text-align: center;
}

.stat-card-floating {
	padding: 33.5px 30px;
	border: 1px solid var(--border-primary);
	border-radius: 30px;
	margin-left: 20px;
}

.stat-number {
	font-size: 64px;
	line-height: 70px;
	font-weight: 400;
	color: var(--text-primary);
}

.stat-label {
	font-size: 18px;
	line-height: 23px;
}

.hero-image-container {
	position: relative;
}

.hero-image {
	width: 100%;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 10px 25px rgba(var(--color-black-rgb), 0.15);
}

.floating-stat {
	position: absolute;
	bottom: 24px;
	right: 24px;
	background: var(--bg-primary);
	border: 1px solid var(--border-secondary);
	border-radius: 12px;
	padding: 24px;
	text-align: center;
	box-shadow: 0 10px 25px rgba(var(--color-black-rgb), 0.15);
}

/* Services Section Styles */
.services {
	background: var(--bg-primary);
}

.services-header {
	margin-bottom: 48px;
}

.services-header h2 {
	font-size: 36px;
	font-weight: 700;
	color: var(--text-primary);
	margin-bottom: 0;
}

.services-list {
	display: flex;
	flex-direction: column;
	margin-bottom: 48px;
}

.service-item {
	display: flex;
	align-items: center;
	padding: 10px 0;
	background: transparent;
	transition: opacity 0.3s;
	border-top: 1px solid var(--border-secondary);
}

.service-item:hover {
	opacity: 0.8;
}

.service-number {
	width: 40px;
	height: 40px;
	background: var(--accent-primary);
	color: var(--text-on-primary-accent);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 400;
	font-size: 18px;
	line-height: 23px;
	margin-right: 160px;
	flex-shrink: 0;
}

.service-image {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	overflow: hidden;
	margin-right: 20px;
	flex-shrink: 0;
	transition: width 0.3s, height 0.3s;
}

.service-item.expanded .service-image {
	width: 280px;
	height: 280px;
}

.service-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: all 0.3s;
}

.service-content {
	flex: 1;
}

.service-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.service-item.expanded .service-header {
	align-items: start;
}

.service-content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 20px 0;
}

.service-content h4 {
	font-size: 18px;
	line-height: 23px;
	font-weight: 400;
	color: var(--text-primary);
	margin-bottom: 4px;
	letter-spacing: 0.5px;
}
.service-action {
	margin-left: auto;
}

.service-btn {
	width: 40px;
	height: 40px;
	background: var(--accent-primary);
	color: var(--text-on-primary-accent);
	border: none;
	border-radius: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s;
	gap: 10px;
}

.service-item.expanded .service-btn {
	width: auto;
	padding: 0 16px;
}

.service-btn svg {
	width: 16px;
	height: 16px;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 2px;
}

.service-btn .details-text {
	font-size: 16px;
	line-height: 20px;
	font-weight: 400;
}

.service-btn .arrow-icon {
	width: 16px;
	height: 16px;
	transition: transform 0.3s;
}

.service-btn:hover {
	background: var(--accent-primary-hover);
}

.service-description {
	font-size: 16px;
	line-height: 20px;
	color: var(--text-primary);
	margin-top: 0;
	/* Плавное раскрытие высоты и отступа */
	height: 0;
	overflow: hidden;
	transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
		margin-top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	/* display не используем, чтобы не было дёрганности */
}

/* Активное состояние — описание раскрыто */
.service-item.expanded .service-description {
	height: auto;
	margin-top: 74px;
	/* Для плавного перехода после анимации высоты и отступа */
	transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
		margin-top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	/* overflow оставляем hidden для анимации */
}

/* В процессе анимации высоты и отступа будет выставляться style.height и style.marginTop из JS */

.services-buttons {
	margin-top: 40px;
	display: flex;
	gap: 24px;
	justify-content: space-between;
}

.btn-services-primary {
	background: var(--accent-primary);
	color: var(--text-on-primary-accent);
	border: none;
	width: 380px;
	height: 50px;
	border-radius: 50px;
	font-size: 16px;
	font-weight: 400;
	cursor: pointer;
	transition: background-color 0.2s;
	text-transform: uppercase;
	display: flex;
	align-items: center;
	justify-content: center;
}

.btn-services-primary:hover {
	background: #2956b3;
}

.btn-services-secondary {
	background: var(--color-white);
	color: #000000;
	border: 2px solid var(--border-btn);
	width: 380px;
	height: 50px;
	border-radius: 50px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s;
	text-transform: uppercase;
	display: flex;
	align-items: center;
	justify-content: center;
}

.btn-services-secondary:hover {
	border-color: var(--accent-primary);
	color: var(--text-on-primary-accent);
	background-color: var(--accent-primary);
}

/* Стили для скрытия/отображения дополнительных услуг */
.hidden-service {
	display: flex;
	opacity: 1;
	transition: opacity 0.5s ease;
}

.hidden-service.hide {
	display: none;
	opacity: 0;
}

/* About Title Section Styles */
.about-title {
	background: #ffffff;
	padding: 60px 0 40px 0;
}

.about-title h2 {
	font-size: 32px;
	font-weight: 700;
	color: #000000;
	line-height: 1.4;
	text-align: center;
	max-width: 900px;
	margin: 0 auto;
}

/* About Section Styles */
.about-section {
	background-position: center left;
	background-repeat: no-repeat;
	background-image: url("../img/about-center.png");
	background-size: contain;
	position: relative;
}

.about-section-mobile {
	display: none;
}

.about-content {
	display: flex;
	justify-content: space-between;
	align-items: start;
	margin-bottom: clamp(15px, 1vw, 30px);
	border-radius: 30px;
}

.about-info-card {
	background: #ffffff;
	padding: 30px;
	border-radius: 30px;
	border: 1px solid #e5e7eb;
	width: 480px;
	height: 175px;
	display: flex;
	align-items: center;
}

.about-info-card p {
	font-size: 18px;
	color: #000000;
	line-height: 23px;
	margin: 0;
}

.feature-cards-group {
	display: flex;
	flex-direction: column;
	gap: clamp(15px, 1vw, 30px);
	margin-top: clamp(15px, 2vw, 30px);
	margin-right: clamp(15px, 2vw, 30px);
}

.feature-card {
	background: #ffffff;
	border-radius: 15px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	display: flex;
	align-items: center;
	gap: 20px;
	max-width: 480px;
	padding: 24px 30px;
	transition: box-shadow 0.3s;
	border-radius: 30px;
}

.feature-wide {
	max-width: 690px;
	margin: 0 auto;
	margin-right: clamp(15px, 2vw, 30px);
	padding-top: 35.5px !important;
	padding-bottom: 35.5px !important;
}

.feature-number {
	width: 50px;
	height: 50px;
	background: #326ccd;
	color: #ffffff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 400;
	font-size: 18px;
	line-height: 23px;
	flex-shrink: 0;
}

.feature-text p {
	font-size: 18px;
	color: #000000;
	line-height: 23px;
	margin: 0;
}

.about-bottom {
	width: max-content;
	margin-left: auto;
}

/* Features Section Styles */
.features {
	background: #eef1f5;
	padding: 64px 0;
}

.features-header {
	text-align: center;
	margin-bottom: 48px;
}

.features-header h2,
.specialists h2 {
	font-size: 36px;
	font-weight: 700;
	color: var(--text-primary);
	margin-bottom: 48px;
}

.features-header h2 {
	margin-bottom: 16px;
}

.features-header p {
	font-size: 18px;
	color: #6b7280;
	max-width: 600px;
	margin: 0 auto;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 32px;
}

.feature-card:hover {
	box-shadow: 0 10px 25px rgba(var(--color-black-rgb), 0.1);
}

.feature-icon {
	width: 48px;
	height: 48px;
	background: var(--accent-primary);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 24px;
}

.feature-icon svg {
	color: var(--text-on-primary-accent);
}

.feature-card h3 {
	font-size: 20px;
	font-weight: 600;
	color: var(--text-primary);
	margin-bottom: 16px;
}

.specialists-slider,
.news-slider,
.articles-slider,
.other-articles-slider,
.addresses-slider {
	max-width: 1220px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 40px;
	overflow: visible;
	padding: 0 20px;
}

.swiper-slide {
	height: auto;
}

.articles-slider {
	overflow: hidden;
}

.specialist-card {
	overflow: hidden;
	position: relative;
	transition: background-color 0.3s ease;
	border-radius: 30px;
	max-width: 430px;
	width: 100%;
	height: 255px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	cursor: pointer;
}

.specialist-card.mobile {
	display: none;
}

.specialist-card-header {
	display: flex;
	align-items: flex-start;
	gap: 24px;
}

.specialist-photo {
	flex-shrink: 0;
}

.specialist-photo img {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	object-fit: cover;
}

.specialist-info {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin-top: 30px;
	margin-left: 30px;
}

.specialist-info h4 {
	font-size: 18px;
	transition: color 0.3s ease;
	line-height: 23px;
	font-weight: 400;
	color: var(--text-primary);
	margin-bottom: 10px;
}

.specialist-degree {
	background: var(--accent-primary);
	transition: background-color 0.3s ease, color 0.3s ease;
	color: var(--text-on-primary-accent);
	padding: 5px 15px 8px;
	border-radius: 30px;
	font-size: 16px;
	line-height: 20px;
	font-weight: 400;
	align-self: flex-start;
	white-space: nowrap;
}

.specialist-description {
	font-size: 16px;
	transition: color 0.3s ease;
	color: var(--text-primary);
	line-height: 20px;
	margin: 30px;
	margin-top: 0;
}

.specialists-navigation,
.news-navigation,
.articles-navigation {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
}

.specialists-btn,
.news-btn,
.articles-btn {
	display: block;
	text-align: center;
	background-color: var(--color-white);
	/* Светло-серый фон */
	color: var(--text-primary);
	border: 1px solid var(--border-btn);
	/* Серая рамка 1px */
	padding: 14px 48px;
	width: 380px;
	border-radius: 50px;
	font-size: 16px;
	font-weight: 400;
	cursor: pointer;
	transition: all 0.2s;
	text-transform: uppercase;
}

.specialists-btn:hover,
.news-btn:hover,
.articles-btn:hover {
	background-color: var(--accent-primary);
	/* Синий фон при наведении */
	border-color: var(--accent-primary);
	color: var(--text-on-primary-accent);
	/* Белый текст при наведении */
}

.slider-controls,
.news-slider-controls,
.articles-slider-controls,
.addresses-slider-controls {
	display: flex;
	gap: 16px;
}

.addresses-slider-controls {
	display: none;
}

.slider-btn img,
.news-slider-btn img,
.articles-slider-btn img {
	transition: filter 0.2s ease-in-out;
}

.slider-btn,
.news-slider-btn,
.articles-slider-btn {
	width: 80px;
	height: 50px;
	border: 1px solid var(--color-black);
	background-color: var(--bg-primary);
	border-radius: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s;
}

.slider-btn:hover,
.news-slider-btn:hover,
.articles-slider-btn:hover {
	background-color: var(--accent-primary);
	border-color: var(--accent-primary);
}

.slider-btn:hover img,
.news-slider-btn:hover img,
.articles-slider-btn:hover img {
	filter: brightness(0) invert(1);
	/* Делаем SVG/img белым при ховере кнопки */
}

.slider-btn:disabled,
.news-slider-btn:disabled,
.articles-slider-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.specialist-card svg path {
	fill: var(--bg-secondary);
	/* Цвет фона SVG по умолчанию */
	transition: fill 0.3s ease;
}

.specialist-card:hover .specialist-info h4,
.specialist-card:hover .specialist-description {
	color: var(--text-on-primary-accent);
}

.specialist-card:hover .specialist-degree {
	background-color: var(--bg-primary);
	color: var(--text-on-secondary-accent);
}

.specialist-card:hover svg path {
	fill: var(--accent-primary);
}

/* CTA Section Styles */
.cta {
	background: var(--accent-primary);
	padding: 64px 0;
}

.cta-content {
	text-align: center;
}

.cta h2 {
	font-size: 36px;
	font-weight: 700;
	color: var(--text-on-primary-accent);
	margin-bottom: 16px;
}

.cta p {
	font-size: 20px;
	color: rgba(var(--color-white-rgb), 0.8);
	margin-bottom: 32px;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.cta-buttons {
	display: flex;
	flex-direction: column;
	gap: 16px;
	justify-content: center;
	align-items: center;
}

.btn {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 32px;
	border-radius: 50px;
	font-size: 16px;
	font-weight: 400;
	cursor: pointer;
	transition: all 0.2s;
	border: 2px solid transparent;
}

.btn-primary {
	background: var(--accent-primary);
	color: var(--text-on-primary-accent);
	border: none;
}

.btn-primary:hover {
	background: var(--accent-primary-hover);
}

.btn-secondary {
	background: transparent;
	color: var(--text-on-primary-accent);
	border: 2px solid var(--color-white);
}

.btn-secondary:hover {
	background: var(--bg-primary);
	color: var(--text-on-secondary-accent);
}

.consultations-location h2 {
	font-size: 32px;
	font-weight: 700;
	color: var(--text-primary);
	margin-bottom: 40px;
	/* Увеличил отступ снизу */
	text-align: left;
}

.consultations-location-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.consultations-location-addresses-container {
	border: 1px solid #00000026;
	border-radius: 30px;
}

.consultations-location-addresses {
	display: flex;
	flex-direction: column;
	max-width: 380px;
	max-height: 440px;
	/* Ограничение высоты, чтобы появился скролл */
	overflow-y: auto;
	/* Включаем вертикальный скролл */
}

.address-item {
	padding: 30px;
	border-bottom: 1px solid var(--border-secondary);
}

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

.addr.news-card-title {
	font-size: 16px;
	font-weight: 600;
	color: var(--text-primary);
	line-height: 1.4;
	margin: 0;
	text-transform: uppercase;
}

.address-schedule {
	font-size: 16px;
	color: var(--text-secondary);
	margin-bottom: 4px;
}

.address-schedule .text-accent {
	/* Класс для выделения времени */
	color: var(--accent-primary);
	font-weight: 500;
}

.address-schedule-extra {
	font-size: 14px;
	color: var(--text-tertiary);
	margin-bottom: 16px;
	/* Увеличил отступ */
}

.address-phones {
	display: flex;
	flex-direction: column;
	gap: 10px;
	/* Увеличил гэп */
}

.address-phones a {
	display: inline-flex;
	/* Чтобы иконка и текст были на одной линии и ссылка не занимала всю ширину */
	align-items: center;
	gap: 10px;
	/* Увеличил гэп */
	font-size: 16px;
	color: var(--text-primary);
	text-decoration: none;
	transition: color 0.2s;
	font-weight: 500;
}

.address-phones a:hover {
	color: var(--accent-primary);
}

.address-phones img {
	width: 20px;
	/* Увеличил иконку */
	height: 20px;
	flex-shrink: 0;
	/* Предотвратить сжатие иконки */
}

.consultations-location-map {
	border-radius: 30px;
	overflow: hidden;
	max-width: 780px;
	height: 100%;
	min-height: 440px;
	/* Минимальная высота для карты, чтобы не сжималась */
}

/* Стили для контейнера Яндекс.Карты */
#yandex-map {
	width: 100%;
	height: 100%;
}

/* Медиа-запрос для адаптивности на мобильных устройствах */
@media (max-width: 992px) {
	.consultations-location-addresses-container {
		max-width: 100%;
	}

	.consultations-location-map {
		min-height: 400px;
	}
}

/* Стили для кастомного скроллбара */
.consultations-location-addresses::-webkit-scrollbar {
	width: 6px;
	/* Ширина скроллбара */
}

.consultations-location-addresses::-webkit-scrollbar-track {
	background: none;
	/* Фон трека скроллбара (светло-серый) */
	border-radius: 10px;
}

.consultations-location-addresses::-webkit-scrollbar-thumb {
	background-color: #00000080;
	/* Цвет ползунка (темно-серый) */
	border-radius: 10px;
	border: none;
	/* Убираем рамку, чтобы ползунок не выпирал */
}

.consultations-location-addresses::-webkit-scrollbar-thumb:hover {
	background-color: var(--text-tertiary);
	/* Цвет ползунка при наведении */
}

/* Request Consultation Section Styles */
.request-consultation-content {
	background-image: url("../img/consultation.png");
	background-size: contain;
	background-position: center center;
	background-repeat: no-repeat;
	height: 440px;
	margin-bottom: 40px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.request-consultation-text {
	color: black;
	max-width: 284px;
}

.request-consultation-text h2 {
	font-size: 38px;
	/* Увеличил для акцента */
	font-weight: 400;
	margin-bottom: 20px;
	line-height: 46px;
}

.request-consultation-text p {
	font-size: 16px;
	/* Немного увеличил */
	line-height: 20px;
}

.request-consultation-form-container {
	margin-left: auto;
	max-width: 680px;
	/* Ограничение максимальной ширины формы */
	width: 100%;
}

.consultation-form .form-row {
	display: flex;
	gap: 24px;
	/* Увеличил отступ */
	margin-bottom: 24px;
	/* Увеличил отступ */
}

.consultation-form .form-group {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.consultation-form input[type="text"],
.consultation-form input[type="tel"],
.consultation-form input[type="email"],
.consultation-form select {
	width: 100%;
	padding: 13.5px 0;
	/* Увеличил вертикальный паддинг инпутов */
	font-size: 18px;
	border: none;
	border-bottom: 1px solid var(--border-secondary);
	/* Светло-серая нижняя граница */
	background-color: transparent;
	color: var(--text-primary);
	transition: border-color 0.3s;
	border-radius: 0;
	/* Убираем стандартный border-radius браузера */
}

.consultation-form select:hover {
	color: var(--color-black);
}

.consultation-form input[type="text"]:focus,
.consultation-form input[type="tel"]:focus,
.consultation-form input[type="email"]:focus,
.consultation-form select:focus {
	outline: none;
	border-bottom-color: var(--accent-primary);
}

.consultation-form input::placeholder {
	color: var(--text-tertiary);
	opacity: 1;
	/* Firefox добавляет меньшую прозрачность по умолчанию */
}

.consultation-form select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23333333' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	padding-right: 30px;
	/* Отступ для стрелки */
}

.consultation-form select:required:invalid {
	color: var(--color-black);
	/* Цвет для плейсхолдера в select */
}

.consultation-form select option {
	color: var(--text-primary);
	/* Цвет для обычных опций */
}

.consultation-form select option[value=""][disabled] {
	color: var(--text-tertiary);
	/* Цвет для плейсхолдер-опции, если нужно */
}

.form-group-checkbox {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
}

.form-group-checkbox input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	width: 20px;
	height: 20px;
	border: 1.5px solid var(--border-primary);
	border-radius: 50%;
	display: inline-block;
	vertical-align: middle;
	position: relative;
	cursor: pointer;
	flex-shrink: 0;
}

.form-group-checkbox:hover input[type="checkbox"] {
	border-color: var(--accent-primary);
}

.form-group-checkbox input[type="checkbox"]:checked {
	background-color: var(--accent-primary);
	border-color: var(--accent-primary);
}

.form-group-checkbox input[type="checkbox"]:checked::before {
	content: "";
	position: absolute;
	top: 2px;
	left: 6px;
	width: 5px;
	height: 10px;
	border: solid white;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.form-group-checkbox label {
	margin-bottom: 0;
	font-size: 16px;
	color: var(--color-black);
	font-weight: normal;
	line-height: 1.4;
	vertical-align: middle;
	cursor: pointer;
}

.btn-full-width {
	width: 100%;
}

/* News Section Styles */
.news-section {
	background-color: var(--background-secondary);
}

.section-header-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 40px;
}

.news-card {
	background-color: var(--background-primary);
	border-radius: 20px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 480px;
	height: 100%;
	/* Чтобы карточки были одинаковой высоты */
	transition: box-shadow 0.3s ease, transform 0.3s ease;
	cursor: pointer;
}

.news-card-img-container {
	width: 100%;
	height: 200px;
	/* Фиксированная высота для изображения */
	overflow: hidden;
}

.news-card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.news-card-text-content {
	background-color: var(--bg-primary);
	/* Фон для плашки */
	padding: 30px;
	border: 1px solid var(--border-primary);
	border-radius: 30px;
	/* Скругление углов плашки */
	margin-top: -40px;
	/* Смещение вверх для наложения на изображение */
	position: relative;
	/* Для корректного позиционирования и z-index */
	z-index: 1;
	/* Чтобы плашка была поверх изображения */
	flex-grow: 1;
	/* Чтобы текстовый блок занимал оставшееся место */
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	/* Текст вверху плашки */
}

.news-card-title {
	font-size: 18px;
	font-weight: 400;
	/* Изменено с 500 на 600 */
	line-height: 23px;
	color: var(--text-primary);
	margin: 0;
	text-transform: uppercase;
	/* Добавлено это свойство */
}

.news-card:hover .news-card-text-content {
	background-color: var(--accent-primary);
}

.news-card:hover .news-card-title {
	color: var(--text-on-primary-accent);
}

.interview-content {
	display: flex;
	align-items: center;
	gap: 40px;
}

.interview-text-column {
	max-width: 480px;
	flex: 1;
}

.interview-text-column h3 {
	margin-bottom: 20px;
}

.interview-description {
	font-size: 16px;
	line-height: 20px;
	color: var(--text-primary);
	margin-bottom: 20px;
}

.interview-description:last-of-type {
	margin-bottom: 120px;
}

.interview-image-column {
	flex: 1;
	display: flex;
	justify-content: center;
	align-items: center;
}

.interview-image {
	max-width: 100%;
	height: auto;
}

.interview-image.mobile {
	display: none;
}

/* Articles Section Styles */

.articles-slider {
	overflow: hidden;
	/* Важно для Swiper */
	margin-bottom: 40px;
	/* Отступ перед навигацией */
}

.articles-card {
	overflow: hidden;
	max-height: 320px;
}

.articles-card a {
	display: flex;
	align-items: center;
	gap: 20px;
}

.article-text-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 580px;
}

.article-category-tag {
	display: flex;
	/* Чтобы ширина была по контенту */
	gap: 10px;
	align-items: center;
	background-color: var(--accent-primary);
	color: var(--text-on-primary-accent);
	padding: 10px 15px;
	border-radius: 30px;
	font-size: 16px;
	line-height: 20px;
	font-weight: 400;
	margin-bottom: 10px;
	max-width: 198px;
}
.article-title {
	margin-bottom: 68px;
	font-size: 38px;
	line-height: 46px;
	font-weight: 400;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.article-description {
	font-size: 16px;
	line-height: 20px;
	max-width: 538px;
	color: var(--text-primary);
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.article-image-container {
	max-width: 580px;
	height: 320px;
	overflow: hidden;
	border-radius: 30px;
	width: 100%;
}

.article-image-container img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0 20px 20px 0;
	display: block;
}

.articles-navigation {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* Footer Styles */
.footer {
	background: var(--accent-primary);
	padding: 90px 0;
	margin-top: 90px;
}

.footer-content {
	display: flex;
	justify-content: space-between;
	gap: 32px;
	margin-bottom: 50px;
}

.footer-columns-links {
	display: flex;
	gap: 20px;
}

.footer-column {
	color: var(--text-on-primary-accent);
}

.footer-links {
	display: flex;
	flex-direction: column;
	gap: 15px;
	width: 280px;
}

.footer-links a {
	color: var(--text-on-primary-accent);
	text-decoration: none;
	transition: color 0.2s;
}

.footer-links a:hover {
	color: rgba(var(--color-white-rgb), 0.8);
}

.qr-column {
	padding: 30px;
	background-color: var(--color-white);
	border-radius: 30px;
}

.qr-text {
	margin-top: 10px;
	text-align: center;
	font-size: 14px;
	color: var(--text-primary);
	line-height: 1.2;
}

.qr-title {
	font-weight: 600;
	margin-bottom: 2px;
}

.footer-bottom {
	display: flex;
	align-items: end;
	justify-content: space-between;
	color: #ffffff80;
	font-size: 14px;
	line-height: 100%;
}

/* Стили для ошибок валидации */
.form-group input.error,
.form-group select.error {
	border-color: red !important;
}

.form-group-checkbox label.error-label {
	color: red !important;
}

@media (max-width: 1220px) {
	.specialists-slider,
	.news-slider,
	.articles-slider,
	.other-articles-slider,
	.addresses-slider,
	.consultations-location-addresses-container {
		overflow-x: hidden;
	}
}

@media (max-width: 1050px) {
	.container {
		padding-left: 16px;
		padding-right: 16px;
	}
	section {
		margin-bottom: 128px;
	}

	.hero {
		height: max-content;
	}

	.hero-content {
		background: none;
	}

	.statistics-mobile {
		display: flex;
		flex-direction: column;
		gap: 8px;
	}

	.statistics {
		display: none;
	}

	.stat-cards {
		justify-content: space-between;
		gap: 8px;
	}

	.stat-card {
		width: 100%;
		border: 1px solid #00000080;
	}

	.stat-label {
		font-size: clamp(16px, 4vw, 24px);
		line-height: 29px;
	}

	.hero-subtitle-upper {
		width: 100%;
		text-align: center;
		font-size: clamp(16px, 3vw, 24px);
		line-height: clamp(20px, 4vw, 36px);
		padding-top: 10px;
		padding-bottom: 10px;
	}

	.hero-subtitle-upper br {
		display: inline;
	}

	.hero-text {
		display: block;
		margin-bottom: 28px;
	}

	.hero .hero-title {
		margin-bottom: 16px !important;
		font-size: clamp(30px, 5vw, 46px);
	}

	.hero-subtitle p {
		font-size: clamp(16px, 5vw, 26px);
	}

	.bullet {
		margin: 9px;
	}

	.hero-img-mobile {
		width: 100%;
		display: block;
		border-radius: 30px;
		margin-top: 8px;
		margin-bottom: 24px;
	}

	.stat-number {
		font-size: clamp(38px, 8vw, 64px);
		line-height: clamp(46px, 8vw, 70px);
	}

	.stat-card {
		padding: 16px 16px;
	}

	.service-number {
		margin-right: 20px;
	}

	.about-section {
		display: none;
	}
	.about-section-mobile {
		display: block;
	}

	.about-content {
		background-image: url("../img/about-full.jpg");
		background-size: cover;
		background-position: left bottom;
		background-repeat: no-repeat;
		padding: 16px;
		padding-bottom: 216px;
	}

	.about-info-card {
		width: 100%;
		height: auto;
		margin-bottom: 32px;
		padding: 24px;
	}

	.feature-cards-group {
		width: 100%;
		margin: 0;
	}

	.feature-card {
		width: 100%;
		height: auto;
		max-width: none;
		padding: 24px;
		flex-direction: column;
		align-items: start;
		gap: 16px;
	}

	.request-consultation-content {
		background: none;
		gap: 32px;
		height: auto;
	}

	.request-consultation-text {
		max-width: none;
	}

	.request-consultation-form-container {
		max-width: none;
	}

	h3 {
		margin-bottom: 32px;
	}

	.article-title {
		margin-bottom: 24px;
		font-size: 30px;
		line-height: 36px;
	}

	.articles-card {
		max-height: none;
	}

	.articles-card a {
		gap: 10px;
	}

	.article-description {
		-webkit-line-clamp: 6;
	}

	.footer-column {
		width: max-content;
	}

	.footer-links {
		width: 100%;
	}

	.footer-columns-links {
		width: 60%;
		justify-content: space-between;
	}

	.footer-content {
		justify-content: space-between;
	}

	.footer-bottom {
		flex-wrap: wrap;
		gap: 24px;
		justify-content: center;
	}

	.footer-bottom p {
		text-align: center;
	}
}

@media (max-width: 800px) {
	.service-item.expanded .service-number {
		display: none;
	}

	.service-item.expanded .service-header {
		flex-direction: column;
		gap: 5px;
	}

	.service-item.expanded .service-image {
		width: 180px;
		height: 180px;
	}
	.service-item.expanded .service-description {
		margin-top: 38px;
	}

	.articles-card a {
		flex-direction: column-reverse;
		gap: 24px;
	}

	.article-text-content {
		width: 100%;
	}

	.article-description {
		width: 100%;
		max-width: 100%;
	}

	.article-image-container {
		max-width: none;
		width: 100%;
	}

	.article-category-tag {
		margin-bottom: 24px;
	}
}

/* Responsive Design */
@media (max-width: 768px) {
	.request-consultation-text h2 {
		font-size: 28px;
		line-height: 36px;
	}
	.breadcrumbs {
		gap: 5px;
	}
	.service-content {
		padding: 0;
	}

	.service-item.expanded .service-header {
		align-items: start;
	}

	.services-header h2 {
		flex-direction: column;
		font-size: 28px;
	}

	.service-item {
		padding: 20px;
	}

	.services-buttons {
		flex-direction: column;
		align-items: center;
	}

	.btn-services-primary,
	.btn-services-secondary {
		width: 100%;
		max-width: 280px;
	}

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

	.consultations-location h3 {
		padding-left: 16px;
		padding-right: 16px;
	}

	.consultations-location-addresses {
		flex-direction: row;
		max-width: none !important;
		border: none;
		overflow: visible;
	}

	.consultations-location-content {
		flex-direction: column;
		gap: 0;
	}

	.consultations-location-addresses-container {
		position: relative;
		border: none;
		padding-left: 16px;
		padding-right: 16px;
	}

	/* Стили для адаптивного слайдера адресов */
	.consultations-location-addresses-container.swiper {
		overflow: visible;
		width: 100%;
	}

	.consultations-location-addresses .address-item {
		width: 100%;
		transition: all 0.3s ease;
		border: 1px solid #00000026;
		border-radius: 30px;
		display: flex;
		flex-direction: column;
		padding: 24px;
		min-height: 202px;
	}

	.address-name {
		margin-bottom: 8px;
	}

	.address-phones {
		margin-top: auto;
	}

	.address-phones a {
		gap: 5px;
	}

	.address-schedule {
		font-size: 14px;
		margin: 0;
	}

	.address-schedule-extra {
		font-size: 14px;
		margin-bottom: 10px;
	}

	.consultations-location-addresses .swiper-slide {
		height: auto;
		flex-shrink: 0;
	}

	.addresses-slider-controls {
		display: flex;
		align-items: center;
		justify-content: center;
		margin-top: 32px;
		margin-bottom: 32px;
		gap: 15px;
		width: 100%;
		padding-left: 16px;
		padding-right: 16px;
	}

	.slider-controls {
		width: 100%;
	}

	.addresses-slider-controls .slider-btn {
		width: 100%;
	}

	.consultations-location .container:has(.consultations-location-map) {
		padding: 0;
	}

	.consultations-location-map {
		border-radius: 0;
	}
	.footer-content {
		gap: 10px;
	}

	.qr-column {
		justify-content: center;
		grid-column: 1 / -1;
	}

	.cta-buttons {
		flex-direction: column;
	}

	.header-content {
		flex-wrap: wrap;
		height: auto;
	}

	.search-container {
		order: 3;
		flex-basis: 100%;
		margin: 16px 0 0 0;
	}

	.specialists-navigation,
	.news-navigation,
	.articles-navigation {
		flex-direction: column;
		gap: 8px;
	}

	.slider-btn,
	.specialists-btn,
	.news-btn,
	.articles-btn {
		width: 100%;
	}

	.news-card-text-content {
		padding: 24px;
	}

	.news-slider {
		margin-bottom: 32px;
	}

	.interview-image-column {
		display: none;
	}

	.interview-image.mobile {
		display: block;
		margin-bottom: 32px;
	}

	.interview-text-column {
		max-width: none;
	}

	.interview-text-column h3 {
		margin-bottom: 32px;
	}

	.interview-text-column h3 br {
		display: none;
	}

	.interview-btn {
		width: 100% !important;
	}

	.interview-description:last-of-type {
		margin-bottom: 32px;
	}

	.specialist-card {
		display: none;
	}

	.specialist-card.mobile {
		display: flex;
		flex-direction: column;
		align-items: center;
		max-width: 290px;
		width: 100%;
		height: 100%;
	}

	.specialist-card.mobile .specialist-photo {
		width: 290px;
		height: 290px;
	}

	.specialist-card.mobile .specialist-photo img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: top center;
		border-radius: 30px 30px 0 0;
	}

	.specialist-card.mobile .specialist-degree {
		width: 100%;
		text-align: center;
		padding-top: 5px;
		padding-bottom: 8px;
	}

	.specialist-card.mobile .specialist-description {
		margin: 0;
	}

	.specialist-card.mobile .specialist-info {
		padding: 24px;
		display: flex;
		flex-direction: column;
		justify-content: start;
		gap: 16px;
		margin: 0;
		margin-top: -30px;
		position: relative;
		z-index: 1;
		background-color: white;
		border: 1px solid #00000026;
		border-radius: 30px;
	}

	.specialist-card.mobile:hover .specialist-info {
		background-color: var(--accent-primary);
	}

	.specialist-card.mobile .specialist-info h4 {
		margin-bottom: 0;
	}
	.consultation-form input[type="text"],
	.consultation-form input[type="tel"],
	.consultation-form input[type="email"],
	.consultation-form select {
		font-size: 16px;
		line-height: 20px;
		padding: 15px 0;
	}
}

@media (max-width: 560px) {
	.service-item.expanded {
		flex-direction: column;
		gap: 5px;
		padding-left: 0;
		padding-right: 0;
	}

	.service-item.expanded .service-image {
		width: 280px;
		height: 280px;
	}

	.service-item.expanded .service-header {
		text-align: center;
	}

	.service-item.expanded .service-header h4 {
		margin: 0 auto;
	}

	.service-item.expanded .service-description {
		margin-top: 20px;
	}

	.service-number {
		display: none;
	}

	.service-btn {
		display: none;
	}

	.specialists-navigation,
	.news-navigation,
	.articles-navigation {
		flex-direction: column-reverse;
		gap: 8px;
	}

	.slider-btn {
		gap: 8px;
		width: 100%;
		max-width: none;
	}

	.specialists-btn {
		width: 100%;
	}

	.slider-controls {
		width: 100%;
	}

	.consultation-form .form-row:nth-of-type(n + 2) {
		flex-direction: column;
	}

	.footer-columns-links {
		flex-direction: column;
		gap: 15px;
	}
}

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

	.features {
		padding: 48px 0;
	}

	.cta {
		padding: 48px 0;
	}

	.footer {
		padding: 64px 0;
	}

	.footer-content {
		flex-direction: column;
		gap: 32px;
		align-items: center;
		margin-bottom: 40px;
	}

	.footer-columns-links {
		align-items: center;
	}

	.footer-links {
		align-items: center;
	}

	.qr-column {
		padding: 24px;
	}

	.qr-code {
		display: flex;
		align-items: center;
		gap: 16px;
	}

	.qr-text {
		text-align: start;
		font-size: 16px;
		line-height: 20px;
		margin-top: 0;
	}

	.qr-code img {
		width: 88px;
		height: 88px;
	}

	.interview-text-column h3 br {
		display: inline;
	}
}

/* Pagination Styles */
.pagination-container {
	display: flex;
	justify-content: center;
	margin: 40px 0;
	padding: 0 20px;
}

.pagination {
	display: flex;
	align-items: center;
	gap: 8px;
	background: transparent;
	border-radius: 50px;
	padding: 0;
	box-shadow: none;
	border: none;
}

.pagination-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 80px;
	height: 50px;
	border-radius: 50px;
	background: white;
	color: #000000;
	cursor: pointer;
	transition: all 0.2s ease;
	border: 2px solid #000000;
	font-weight: 500;
}

.pagination-btn:hover {
	background: #f8f9fa;
}

.pagination-btn:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

.pagination-numbers {
	display: flex;
	align-items: center;
	gap: 0;
	margin: 0;
	background: white;
	border-radius: 40px;
	border: 2px solid #000000;
}

.pagination-number {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border: none;
	border-radius: 50%;
	background: transparent;
	color: #000000;
	font-size: 18px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
	margin: 0 2px;
}

.pagination-number:hover {
	background: #f0f0f0;
}

.pagination-number.active {
	background: var(--accent-primary);
	color: white;
}

.pagination-number:first-of-type {
	margin-left: -1px;
}

.pagination-number:last-of-type {
	margin-right: -1px;
}

.pagination-ellipsis {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	color: #000000;
	font-size: 18px;
	font-weight: 500;
	margin: 0 2px;
}

/* Responsive pagination */
@media (max-width: 768px) {
	.pagination-container {
		margin: 20px 0;
		padding: 0 10px;
	}

	.pagination-btn {
		width: 50px;
		height: 40px;
	}

	.pagination-number {
		width: 40px;
		height: 40px;
		font-size: 16px;
		margin: 0 1px;
	}

	.pagination-ellipsis {
		width: 40px;
		height: 40px;
		margin: 0 1px;
	}

	/* Hide some numbers on mobile */
	.pagination-number[data-page="19"],
	.pagination-number[data-page="20"] {
		display: none;
	}
}
