/*
Theme Name: major-clinic.ru
Theme URI:	https://major-bolotnikovskaya.ru
Author: Fanis Lee
Author URI: https://esfanduel.ru
Description: The Minimal.
Version: 0.1.0
*/

@layer reset, layout, theme, base, components, utilities;

@layer reset {
	*,
	*::before,
	*::after {
		box-sizing: border-box;
	}
	html {
		font-family: sans-serif;
		line-height: 1.15;
		-webkit-text-size-adjust: 100%;
		-ms-text-size-adjust: 100%;
		-ms-overflow-style: scrollbar;
		-webkit-tap-highlight-color: transparent;
	}
	@media (prefers-reduced-motion: no-preference) {
		html {
			scroll-behavior: smooth;
		}
	}
	@-ms-viewport {
		width: device-width;
	}
	article, aside, dialog, figcaption, figure, footer, header, hgroup, main, nav, section {
		display: block;
	}
	body {
		margin: 0;
		font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
		font-size: 1rem;
		font-weight: 400;
		line-height: 1.5;
		color: #212529;
		text-align: left;
		background-color: #fff;
	}
	[tabindex="-1"]:focus {
		outline: 0 !important;
	}
	hr {
		box-sizing: content-box;
		height: 0;
		overflow: visible;
	}
	h1, h2, h3, h4, h5, h6 {
		margin-top: 0;
		margin-bottom: 0.5rem;
	}
	p {
		margin-top: 0;
		margin-bottom: 1rem;
	}
	abbr[title],
	abbr[data-original-title] {
		text-decoration: underline;
		-webkit-text-decoration: underline dotted;
		text-decoration: underline dotted;
		cursor: help;
		border-bottom: 0;
	}
	address {
		margin-bottom: 0;
		font-style: normal;
		line-height: inherit;
	}
	ol,
	ul,
	dl {
		margin-top: 0;
		margin-bottom: 1rem;
	}
	ol ol,
	ul ul,
	ol ul,
	ul ol {
		margin-bottom: 0;
	}
	dt {
		font-weight: 700;
	}
	dd {
		margin-bottom: .5rem;
		margin-left: 0;
	}
	blockquote {
		margin: 0 0 1rem;
	}
	dfn {
		font-style: italic;
	}
	b,
	strong {
		font-weight: 500;
	}
	small {
		font-size: 80%;
	}
	sub,
	sup {
		position: relative;
		font-size: 75%;
		line-height: 0;
		vertical-align: baseline;
	}
	sub {
		bottom: -.25em;
	}
	sup {
		top: -.5em;
	}
	a {
		color: #007bff;
		text-decoration: none;
		background-color: transparent;
		-webkit-text-decoration-skip: objects;
	}
	a:hover {
		color: #0056b3;
		text-decoration: underline;
	}
	a:not([href]):not([tabindex]) {
		color: inherit;
		text-decoration: none;
	}
	a:not([href]):not([tabindex]):hover, a:not([href]):not([tabindex]):focus {
		color: inherit;
		text-decoration: none;
	}
	a:not([href]):not([tabindex]):focus {
		outline: 0;
	}
	pre,
	code,
	kbd,
	samp {
		font-family: monospace, monospace;
		font-size: 1em;
	}
	pre {
		margin-top: 0;
		margin-bottom: 1rem;
		overflow: auto;
		-ms-overflow-style: scrollbar;
	}
	figure {
		margin: 0 0 1rem;
	}
	img {
		vertical-align: middle;
		border-style: none;
	}
	svg:not(:root) {
		overflow: hidden;
	}
	table {
		border-collapse: collapse;
	}
	caption {
		padding-top: 0.75rem;
		padding-bottom: 0.75rem;
		color: #6c757d;
		text-align: left;
		caption-side: bottom;
	}
	th {
		text-align: inherit;
	}
	label {
		display: inline-block;
		margin-bottom: .5rem;
	}
	button {
		border-radius: 0;
	}
	button:focus {
		outline: 1px dotted;
		outline: 5px auto -webkit-focus-ring-color;
	}
	input,
	button,
	select,
	optgroup,
	textarea {
		margin: 0;
		font-family: inherit;
		font-size: inherit;
		line-height: inherit;
	}
	button,
	input {
		overflow: visible;
	}
	button,
	select {
		text-transform: none;
	}
	button,
	html [type="button"],
	[type="reset"],
	[type="submit"] {
		-webkit-appearance: button;
	}
	button::-moz-focus-inner,
	[type="button"]::-moz-focus-inner,
	[type="reset"]::-moz-focus-inner,
	[type="submit"]::-moz-focus-inner {
		padding: 0;
		border-style: none;
	}
	input[type="radio"],
	input[type="checkbox"] {
		box-sizing: border-box;
		padding: 0;
	}
	input[type="date"],
	input[type="time"],
	input[type="datetime-local"],
	input[type="month"] {
		-webkit-appearance: listbox;
	}
	textarea {
		overflow: auto;
		resize: vertical;
	}
	fieldset {
		min-width: 0;
		padding: 0;
		margin: 0;
		border: 0;
	}
	legend {
		display: block;
		width: 100%;
		max-width: 100%;
		padding: 0;
		margin-bottom: .5rem;
		font-size: 1.5rem;
		line-height: inherit;
		color: inherit;
		white-space: normal;
	}
	progress {
		vertical-align: baseline;
	}
	[type="number"]::-webkit-inner-spin-button,
	[type="number"]::-webkit-outer-spin-button {
		height: auto;
	}
	[type="search"] {
		outline-offset: -2px;
		-webkit-appearance: none;
	}
	[type="search"]::-webkit-search-cancel-button,
	[type="search"]::-webkit-search-decoration {
		-webkit-appearance: none;
	}
	::-webkit-file-upload-button {
		font: inherit;
		-webkit-appearance: button;
	}
	output {
		display: inline-block;
	}
	summary {
		display: list-item;
		cursor: pointer;
	}
	template {
		display: none;
	}
	[hidden] {
		display: none !important;
	}
}

@layer layout {
	.container {
		width: 100%;
		padding-right: 20px;
		padding-left: 20px;
		margin-right: auto;
		margin-left: auto;
	}
	@media (min-width: 576px) {
		.container {
			max-width: 540px;
		}
	}
	@media (min-width: 768px) {
		.container {
			max-width: 720px;
		}
	}
	@media (min-width: 992px) {
		.container {
			max-width: 960px;
		}
	}
	@media (min-width: 1200px) {
		.container {
			max-width: 1240px;
		}
	}
	@media (min-width: 1400px) {
		.container {
			max-width: 1300px;
		}
	}
	.flex {
		display: flex;
		gap: var(--gap-md);
	}
	.flex-col {
		flex-direction: column
	}
	.flex-col-reverse {
		flex-direction: column-reverse
	}
	.flex-row {
		flex-direction: row
	}
	.flex-row-reverse {
		flex-direction: row-reverse
	}
	.flex-nowrap {
		flex-wrap: nowrap
	}
	.flex-wrap {
		flex-wrap: wrap
	}
	.content-center {
		align-content: center
	}
	.items-baseline {
		align-items: baseline
	}
	.align-start {
		align-items: start;
	}
	.items-center {
		align-items: center
	}
	.items-end {
		align-items: flex-end
	}
	.items-start {
		align-items: flex-start
	}
	.items-stretch {
		align-items: stretch
	}
	.justify-around {
		justify-content: space-around
	}
	.justify-between {
		justify-content: space-between
	}
	.justify-center {
		justify-content: center
	}
	.justify-end {
		justify-content: flex-end
	}
	.justify-evenly {
		justify-content: space-evenly
	}
	.justify-start {
		justify-content: flex-start
	}
	.justify-stretch {
		justify-content: stretch
	}
	.justify-end-2 {
		justify-content: end
	}
	.justify-items-center {
		justify-items: center
	}
	.justify-items-end {
		justify-items: end
	}
	.justify-items-start {
		justify-items: start
	}
	.flex-shrink-0 {
		flex-shrink: 0;
	}
	.grid {
		display: grid;
		gap: var(--gap-md);
	}
	.grid-cols-1 {
		grid-template-columns: repeat(1,minmax(0,1fr))
	}
	.grid-cols-2 {
		grid-template-columns: repeat(2,minmax(0,1fr))
	}
	.grid-cols-3 {
		grid-template-columns: repeat(3,minmax(0,1fr))
	}
	.grid-cols-4 {
		grid-template-columns: repeat(4,minmax(0,1fr))
	}
	.grid-cols-5 {
		grid-template-columns: repeat(5,minmax(0,1fr))
	}
	.grid-cols-6 {
		grid-template-columns: repeat(5,minmax(0,1fr))
	}
	.grid-auto {
		grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
	}
	.grid-item {
		display: flex;
	}
}

@layer theme {
	:root {
		--color-bg: #efefed;
		--color-green: #193d3b;
		--color-black: #000000;
		--color-white: #ffffff;
		--color-white-50: #ffffff50;
		--color-main-text: #2e1d0b;
		--color-grey: #e7eaea;
		--color-grey-50: #8f8f8f;
		--color-taupe: #9a8a7d;
		--color-border: rgba(154, 138, 125, 0.3);
		--color-pink: #f2dde2;
		--color-blue: #15253b;
		--color-floral: #f8f7f5;
		--color-soft-pale: #d9cbbf;

		--box-shadow-btn: 0px 2px 10px rgba(25, 61, 59, 0.15);

		--fs-xs: 0.75rem;
		--fs-sm: 0.875rem;
		--fs-base: 1rem;
		--fs-lg: 1.125rem;
		--fs-xl: 1.25rem;
		--fs-2xl: 1.5rem;
		--fs-3xl: 1.875rem;
		--fs-4xl: 2rem;
		--fs-5xl: 2.5rem;

		--font-weight-extralight: 200;
		--font-weight-light: 300;
		--font-weight-normal: 400;
		--font-weight-medium: 500;
		--font-weight-semibold: 600;
		--font-weight-bold: 700;
		--font-weight-black: 900;

		--line-height-xs: 1;
		--line-height-sm: 1.2;
		--line-height-md: 1.35;
		--line-height-base: 1.5;
		--line-height-lg: 1.625;
		--line-height-xl: 1.75;

		--space-1: 0.25rem;
		--space-2: 0.5rem;
		--space-3: 0.75rem;
		--space-4: 0.875rem;
		--space-5: 1rem;
		--space-6: 1.25rem;
		--space-7: 1.5rem;
		--space-8: 1.875rem;
		--space-9: 2.5rem;
		--space-10: 3rem;
		--space-11: 3.5rem;
		--space-12: 4rem;
		--space-13: 4.5rem;
		--space-14: 5rem;

		--radius-xs: .125rem;
		--radius-sm: .25rem;
		--radius-md: .375rem;
		--radius-lg: .5rem;
		--radius-xl: .75rem;
		--radius-2xl: 1rem;
		--radius-3xl: 1.5rem;
		--radius-4xl: 2rem;

		--gap-xss: 0.3rem;
		--gap-xs: .5rem;
		--gap-sm: .75rem;
		--gap-md: 1rem;
		--gap-lg: 1.5rem;
		--gap-xl: 2rem;
		--gap-2xl: 2.5rem;
		--gap-3xl: 5rem;
		--gap-4xl: 6.5rem;
	}
}
	
@font-face {
	font-family: 'Normalidad';
	src: url('assets/fonts/Normalidad Wide-Medium-Web.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Golos UI';
	src: url('assets/fonts/Golos-UI_Regular.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Golos UI';
	src: url('assets/fonts/Golos-UI_Medium.ttf') format('truetype');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@layer base {
	body {
		font-family: "Golos UI", sans-serif;
		font-size: var(--fs-base);
		font-weight: var(--font-weight-normal);
		line-height: var(--line-height-base);
		color: var(--color-main-text);
		background: var(--color-white);
		text-wrap: balance;
	}
	h1 {
		font-size: clamp(1.875rem, 3vw, 2.5rem);
	}
	h2 {
		font-size: clamp(1.5rem, 2.5vw, 2rem);
	}
	h3 {
		font-size: clamp(1.25rem, 2vw, 1.75rem);
	}
	h4 {
		font-size: clamp(1.25rem, 2vw, 1.5rem);
	}
	h5 {
		font-size: clamp(1.125rem, 1.5vw, 1.25rem);
	}
	h6 {
		font-size: clamp(1rem, 1.2vw, 1.125rem);
	}
	p,
	li {
		line-height: var(--line-height-md);
	}
	h1,
	h2 {
		line-height: var(--line-height-sm);
	}
	h3,
	h4,
	h5,
	h6,
	.the-best .card-title {
		line-height: var(--line-height-md);
	}
}

@layer components {
	/**
	* @section navigation
	*/
	.header nav {
		margin-top: var(--space-5);
		border-top: 1px solid var(--color-border);
	}
	.header-nav ul,
	.footer ul,
	.directions,
	.about-us_text ul,
	.widget ul,
	#menu ul {
		padding: 0;
		margin: 0;
		list-style: none;
	}
	.header-nav a::after,
	.directions li a::after,
	.widget a::after {
		position: absolute;
		top: 120%;
		left: 0;
		width: 100%;
		height: 2px;
		background: rgba(154,138,125,0.4);
		content: '';
		opacity: 0;
		-webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
		-moz-transition: opacity 0.3s, -moz-transform 0.3s;
		transition: opacity 0.3s, transform 0.3s;
		-webkit-transform: translateY(10px);
		-moz-transform: translateY(10px);
		transform: translateY(10px);
	}

	.header-nav a:hover::after,
	.header-nav a:focus::after,
	.directions li a:hover::after,
	.directions li a:focus::after,
	.widget li a:hover::after,
	.widget li a:focus::after {
		opacity: 1;
		-webkit-transform: translateY(0px);
		-moz-transform: translateY(0px);
		transform: translateY(0px);
	}
	/**
	* @section hero
	*/
	.hero {
		padding-top: var(--space-11);
		padding-bottom: var(--space-11);
		overflow: hidden;
		background: linear-gradient(258.73deg, rgba(239, 239, 237, 0) 18.81%, #EFEFED 39.91%);
	}
	.home .hero .grid {
		grid-template-columns: repeat(2,minmax(0,1fr));
	}
	.hero .grid {
		grid-template-columns: 800px 1fr;
	}
	.choose .grid {
		grid-template-columns: repeat(4,minmax(0,1fr))
	}
	.hero picture,
	.feedback picture,
	.branches picture,
	.page-id-123 .activity picture,
	.page-id-125 .activity picture {
		height: 100%;
		position: absolute;
		top: 0;
		right: 0;
		z-index: -1;
	}
	.feedback picture {
		z-index: 0;
	}
	.hero picture img,
	.page-id-123 .activity img {
		height: 100%;
	}
	.hero picture img,
	.feedback picture img,
	.branches picture img,
	.map img,
	.swiper-photo img,
	.page-id-123 .activity img,
	.page-id-125 .activity img {
		object-fit: cover;
	}
	.secondary picture,
	.third picture {
		left: 0;
		right: auto;
	}
	/**
	* @section cards
	*/
	.hero .cards {
		display: grid;
		grid-template-columns: 1.4fr 1fr;
		grid-template-areas:
			"ultrasound lab"
			"dent lab"
			"specialist specialist";
		gap: var(--gap-md);
	}
	.the-best .cards {
		display: grid;
		grid-template-columns: 1.6fr 0.7fr 1fr;
		grid-template-areas:
			"orthopedic cleaning radiological"
			"therapeutic cleaning caries";
		gap: var(--gap-md);
	}
	.appointment .cards {
		display: grid;
		grid-template-columns: 40% 1fr 40%;
		grid-template-areas:
			"stress accuracy efficiency"
			"dialogue accuracy efficiency";
		gap: var(--gap-md);
	}
	.hero .card {
		box-shadow: 0px 2px 10px rgba(25, 61, 59, 0.15);
	}
	.card,
	.promo-item,
	.hero-price_btn,
	.why-us,
	.get-pricing {
		padding: var(--space-7) var(--space-5);
	}
	.doctors .card,
	.about-us_grid > div,
	.route .card,
	.clinic-tab,
	.clinic-info,
	#menu address {
		padding: var(--space-5) var(--space-5);
	}
	.card-ultrasound  {
		grid-area: ultrasound;
	}
	.card-dent {
		grid-area: dent;
	}
	.card-lab {
		grid-area: lab;
	}
	.card-specialist {
		grid-area: specialist;
	}
	.card-orthopedic {
		grid-area: orthopedic;
	}
	.card-therapeutic {
		grid-area: therapeutic;
	}
	.card-cleaning {
		grid-area: cleaning;
	}
	.card-radiological {
		grid-area: radiological;
	}
	.card-caries {
		grid-area: caries;
	}
	.card-without-stress {
		grid-area: stress;
	}
	.card-dialogue {
		grid-area: dialogue;
	}
	.card-accuracy {
		grid-area: accuracy;
	}
	.card-efficiency {
		grid-area: efficiency;
	}
	.card:hover .arrow-right {
		transform: translateX(5px);
		transition: transform 0.3s ease;
	}
	.card-lab {
		flex-direction: column;
		padding: 22px;
	}
	.card-lab,
	.doctors .card,
	.reviews .card,
	.route .card,
	.the-best .card,
	.appointment .card {
		align-items: flex-start !important;
	}
	.card-lab .card-title {
		align-items: center;
		justify-content: flex-start;
		width: 100%;
	}
	.card-lab .card-price {
		align-self: flex-end;
	}
	/**
	* @section search form
	*/
	.search-form {
		padding-top: var(--space-1);
		padding-right: var(--space-5);
		padding-bottom: var(--space-1);
		padding-left: var(--space-5);
	}
	.btn-search {
		width: var(--space-5);
		height: var(--space-5);
		padding: 0;
	}
	.search-form:has(.search-field:focus),
	.wpcf7-text:focus {
		box-shadow: 0 0 0 0.25rem rgba(154, 138, 125, 0.25);
		z-index: 1;
	}
	.search-form:has(.search-field:focus),
	.wpcf7-text:focus {
		transition: border-color 0.15s ease, box-shadow 0.15s ease;
	}
	.wpcf7-not-valid,
	.wpcf7-not-valid:focus {
		box-shadow: 0 0 0 0.25rem rgba(220, 50, 50, 0.25);
		z-index: 1;
	}
	/**
	* @section advantages
	*/
	.advantages .container {
		max-width: 70rem;
	}
	.count-border {
		width: 1px;
		height: 62px;
		flex-shrink: 0;
		background-color: var(--color-border);
	}
	.about-us .count-border {
		height: 20px;
	}
	/**
	* @section activity
	*/
	.home .activity .grid {
		grid-template-columns: 25% 1fr;
	}
	.activity .grid {
		grid-template-columns: 54% minmax(0, 1fr);
	}
	.page-id-125 .activity .grid {
		grid-template-columns: 40% minmax(0, 1fr);
	}
	.activity .directions li {
		padding-left: 1rem;
	}
	.activity .directions li:before {
		width: 9px;
		height: 9px;
		position: absolute;
		top: 6px;
		left: 0;
		border-radius: 50%;
		content: '';
	}
	.promo {
		display: grid;
		grid-template-columns: 0.66fr 1fr 1fr;
		grid-template-rows: 115px 225px;
		grid-template-areas:
		  "social wide wide"
		  "social price credit";
		gap: var(--gap-md);
	}
	.promo-item,
	.feedback-form,
	.about-us_grid div:nth-child(3) div,
	.card-desc,
	.page-id-123 .activity,
	.page-id-125 .activity {
		overflow: hidden;
		z-index: 1;
	}
	.promo_item-social {
		grid-area: social;
		background-color: var(--color-pink);
	}
	.promo_item-social:before {
		width: 186px;
		height: 186px;
		position: absolute;
		bottom: -25px;
		right: -25px;
		background-color: #ebc5ce;
		border-radius: 50%;
		content: '';
		z-index: -1;
	}
	.promo_item-social img,
	.promo_item-price img,
	.promo_item-wide img,
	.promo_item-credit img,
	.about-us_grid img,
	.why-us img,
	.the-best img,
	.appointment img {
		position: absolute;
		bottom: 0;
		right: 0;
	}
	.promo_item-wide img {
		right: var(--space-5);
	}
	.promo_item-price img {
		z-index: -1;
	}
	.promo_item-wide {
		grid-area: wide;
	}
	.promo_item-price {
		grid-area: price;
		background: linear-gradient(0deg, #EAE5E0, #EAE5E0), #DDDAD5;
	}
	.promo_item-credit {
		grid-area: credit;
	}
	.docs .directions li {
		width: 24%;
	}
	/**
	* @section tabs
	*/
	.tab-title {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 0;
		background: none;
		outline: none;
	}
	.tab-title,
	.wpcf7-submit:hover,
	.clinic-tab {
		cursor: pointer;
	}
	.tab-icon {
		display: flex;
		transition: transform 0.3s ease;
	}
	.tab-desc {
		display: none;
		padding-top: 1rem;
	}
	.tab-item.active .tab-desc,
	#menu ul a {
		display: block;
	}
	.tab-item.active .tab-icon {
		transform: rotate(180deg);
	}
	/* Результаты поиска по прайсу */
	.price-search-results {
		margin-top: 16px;
		border: 1px solid #e5e5e5;
		border-radius: 8px;
		overflow: hidden;
	}
	.price-search-results[hidden] { display: none; }

	.price-row {
		display: grid;
		grid-template-columns: 150px 1fr auto;
		gap: 16px;
		align-items: baseline;
		padding: 12px 16px;
		border-bottom: 1px solid #eee;
	}
	.price-row:last-child { border-bottom: 0; }
	.price-row__code  { color: #777; font-size: 14px; }
	.price-row__price { font-weight: 500; white-space: nowrap; }
	.price-row__name small {
		display: block;
		margin-top: 2px;
		color: #999;
		font-size: 12px;
	}
	.price-row mark {
		background: #fff1b8;
		color: inherit;
		padding: 0;
	}
	.price-empty { padding: 16px; color: #777; }

	.is-searching .price-tabs { display: none; }

	.btn-search .icon-close { display: none; }
	.btn-search.is-clear .icon-search { display: none; }
	.btn-search.is-clear .icon-close { display: block; }

	@media (max-width: 640px) {
		.price-row { grid-template-columns: 1fr auto; }
		.price-row__code { grid-column: 1 / -1; }
	}
	/**
	* @section swiper
	*/
	.about-us .grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
	.swiper-wrapper {
		align-items: stretch !important;
	}
	.swiper-slide {
		height: auto !important;
		display: flex !important;
	}
	.swiper-slide > * {
		width: 100% !important;
		height: 100% !important;
	}
	.swiper-gallery .swiper-button-prev::after,
	.swiper-gallery .swiper-button-next::after,
	.wpcf7 form .wpcf7-response-output,
	.wpcf7-not-valid-tip,
	#menu .fancybox-close-small {
		display: none !important;
	}
	.swiper-gallery .swiper-button-prev,
	.swiper-gallery .swiper-button-next {
		width: 48px;
		height: 48px;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.swiper-gallery .swiper-button-prev svg,
	.swiper-gallery .swiper-button-next svg {
		width: 24px;
		height: 24px;
	}
	.swiper-gallery .swiper-button-prev svg path,
	.swiper-gallery .swiper-button-next svg path {
		transition: stroke .3s;
	}
	.swiper-pagination-bullet {
		width: 10px !important;
		height: 10px !important;
		border-radius: 2px !important;
		background: var(--color-white) !important;
		border: 1px solid var(--color-taupe) !important;
		opacity: 1 !important;
	}
	.swiper-pagination-bullet-active {
		background: var(--color-taupe) !important;
	}
	.swiper-two,
	.swiper-photo,
	.tests .swiper-four {
		min-width: 0;
		width: 100%;
		overflow: hidden;
	}
	@media (min-width: 767.98px) {
		.swiper-photo .swiper-wrapper {
			display: grid !important;
			grid-template-columns: repeat(12, minmax(0, 1fr));
			grid-template-rows: 230px 230px;
			gap: var(--gap-md);
		}
		.span-3 {
			grid-column: span 3;
		}
		.span-4 {
			grid-column: span 4;
		}
		.span-5 {
			grid-column: span 5;
		}
	}
	/**
	* @section feedback
	*/
	.feedback,
	.about-us_grid div,
	.why-us,
	.the-best .card {
		overflow: hidden;
	}
	.feedback .grid {
		grid-template-columns: 500px;
	}
	.feedback-form {
		background-image: url(assets/img/bg/feedback-bg.jpg);
		background-position: center center;
		background-color: transparent;
		background-size: cover;
		background-repeat: no-repeat;
	}
	.wpcf7-spinner {
		padding: 0 !important;
		margin: 0 !important;
		position: absolute !important;
		top: 20px;
		left: 50%;
		-webkit-transform: translateY(-50%);
		transform: translateY(-50%);
	}
	/**
	* @section popups
	*/
	.doctor-popup .grid {
		grid-template-columns: 290px 1fr;
	}
	/**
	* @section tablepress
	*/
	.tablepress>:where(thead)+tbody>:where(:not(.child))>*,
	.tablepress>tbody>*~:where(:not(.child))>*,
	.tablepress>tfoot>:where(:first-child)>* {
		border-top: 0 !important;
	}
	.tablepress>:not(caption)>*>* {
		padding: var(--space-2) 0 !important;
	}
	.column-1 {
		width: 200px;
	}
	.column-3 {
		width: 100px;
		text-align: right !important;
	}
	/**
	* @section about us
	*/
	.about-us_grid {
		display: grid;
		grid-template-columns: 1fr 1fr 1fr 1fr;
		grid-template-rows: 167px;
		grid-template-areas:
		  "laboratory visits place place";
		gap: var(--gap-md);
	}
	.about-us_grid > div:nth-child(1) {
		grid-area: laboratory;
	}
	.about-us_grid > div:nth-child(2) {
		grid-area: visits;
	}
	.about-us_grid > div:nth-child(3) {
		grid-area: place;
	}
	.about-us_grid div:nth-child(3) div {
		width: 65%;
	}
	/**
	* @section route &map
	*/
	.route .grid {
		grid-template-columns: 420px 315px 1fr;
	}
	.clinic-switcher {
		grid-template-columns: 300px 200px;
	}
	.clinic-panel {
		display: none;
	}
	.clinic-panel.active,
	.btn-telephone,
	.btn-request,
	.btn-white {
		display: flex;
	}
	.clinic-tab {
		border: 0;
		cursor: pointer;
	}
	.clinic-tab,
	.faq .tab-title span,
	.price .tab-title span {
		text-align: left;
	}
	@media (max-width: 768px) {
		.clinic-switcher {
			grid-template-columns: 1fr;
		}
		.clinic-tabs {
			display: grid;
			grid-template-columns: 1fr 1fr;
		}
	}
	.map img {
		height: 100% !important;
	}
	/**
	* @section footer
	*/
	.footer .grid {
		padding-top: var(--space-9);
		grid-template-columns: 18% 1fr;
	}
	.widgets {
		display: grid;
		grid-template-columns: 1fr 1fr 1fr;
		grid-template-rows: 145px 42px;
		grid-template-areas:
		  "contacts services works"
		  "contacts services request";
		gap: 0 var(--gap-3xl);
	}
	.widgets .widget:nth-child(1) {
		grid-area: contacts;
	}
	.widgets .widget:nth-child(2) {
		grid-area: services;
	}
	.widgets .widget:nth-child(3) {
		grid-area: works;
	}
	.widgets .widget:nth-child(4) {
		grid-area: request;
	}
	.widgets .widget:nth-child(2) li {
		width: 45%;
	}
	.copyright {
		border-top: 1px solid var(--color-border);
	}
	/**
	* @section button up & float phone
	*/
	#top,
	#float-tel {
		position: fixed;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		z-index: 1000;
		cursor: pointer;
		text-align: center;
		color: #fff;
		border-radius: 50%;
		background: var(--color-green);
		transition: all 0.3s ease-in-out;
	}
	#top {
		right: -25px;
		bottom: 75px;
		opacity: 0;
		visibility: hidden;
	}
	#float-tel {
		right: 25px;
		bottom: 25px;
	}
	#top svg,
	#float-tel svg {
		width: 18px;
		height: 18px;
		position: relative;
		fill: #fff;
		transition: all 0.3s ease-in-out;
	}
	#top:hover svg,
	#float-tel:hover svg {
		cursor: pointer;
		fill: #fff;
		transition: all 0.3s ease-in-out;
	}
	#top.show {
		opacity: 1;
		visibility: visible;
		right: 25px;
	}
	/**
	* @section fancybox
	*/
	.fancybox-slide--html {
		padding: 0 !important;
	}
	.fancybox-content {
		
	}
	.fancybox-bg {
		background: rgba(20, 30, 25, 0.35) !important;
		backdrop-filter: blur(0px) !important;
		-webkit-backdrop-filter: blur(0px) !important;
	}
	.fancybox-is-open .fancybox-bg {
		backdrop-filter: blur(12px) !important;
		-webkit-backdrop-filter: blur(12px) !important;
	}
}

@layer utilities {
	@media (max-width:575px) {
		.hidden {
			display:none !important;
		}
	}
	@media (min-width:576px) and (max-width:767px) {
		.hidden-sm {
			display: none !important;
		}
	}
	@media (min-width:768px) and (max-width:991px) {
		.hidden-md {
			display: none !important;
		}
	}
	@media (min-width:992px) and (max-width:1199px) {
		.hidden-lg {
			display: none !important;
		}
	}
	@media (min-width:1200px) and (max-width:1399px) {
		.hidden-xl {
			display: none !important;
		}
	}
	@media (min-width:1400px) {
		.hidden-xxl {
			display: none !important;
		}
	}
	.w-full {
		width: 100%;
	}
	.h-full {
		height: 100%
	}
	.block {
		display: block;
	}
	.inline {
		display: inline;
	}
	.inline-block,
	.the-content h3 {
		display: inline-block;
	}
	.inline-flex {
		display: inline-flex;
	}
	.inline-grid {
		display: inline-grid;
	}
	.text-right {
		text-align: right;
	}
	.text-center {
		text-align: center !important;
	}
	.img-responsive {
		display: block;
		height: auto;
		max-width: 100%;
	}
	.gap-0 {
		gap: 0;
	}
	.gap-xss {
		gap: var(--gap-xss);
	}
	.gap-xs {
		gap: var(--gap-xs);
	}
	.gap-sm {
		gap: var(--gap-sm);
	}
	.gap-md,
	.hero-desc {
		gap: var(--gap-md);
	}
	.gap-lg {
		gap: var(--gap-lg);
	}
	.gap-xl {
		gap: var(--gap-xl);
	}
	.gap-2xl {
		gap: var(--gap-2xl);
	}
	.gap-3xl {
		gap: var(--gap-3xl);
	}
	.gap-4xl {
		gap: var(--gap-4xl);
	}
	.mt-auto {
		margin-top: auto
	}
	.hero-desc .hero-btn {
		margin-top: var(--space-2);
	}
	.mb-auto {
		margin-bottom: auto
	}
	.copyright {
		margin-top: var(--space-8);
	}
	.feedback-form {
		margin-top: var(--space-9);
	}
	.section,
	.feedback-form {
		margin-bottom: var(--space-9);
	}
	.header,
	.advantages,
	.promo_item-wide,
	.header nav,
	.tab-item,
	.field-wrapper .wpcf7-text,
	.any-text {
		padding-top: var(--space-5);
	}
	.feedback-form,
	.about-us_text,
	.copyright {
		padding-top: var(--space-7);
	}
	.btn-telephone,
	.btn-request,
	.btn-white {
		padding-right: var(--space-5);
	}
	.header nav,
	.advantages,
	.tab-item,
	.field-wrapper .wpcf7-text {
		padding-bottom: var(--space-5);
	}
	.feedback-form,
	.about-us_text,
	.footer {
		padding-bottom: var(--space-7);
	}
	.btn-telephone,
	.btn-request,
	.btn-white {
		padding-left: var(--space-5);
	}
	.swiper-two.doctors .btn-request,
	.swiper-two.doctors .btn-white {
		padding-left: var(--space-2);
	}
	.tab-item,
	.reviews .card,
	.feedback-form,
	.field-wrapper .wpcf7-text,
	.about-us_text,
	.branches .card {
		padding-right: var(--space-7);
	}
	.swiper-two.doctors .btn-request,
	.swiper-two.doctors .btn-white {
		padding-right: var(--space-2);
	}
	.tab-item,
	.reviews .card,
	.feedback-form,
	.field-wrapper .wpcf7-text,
	.about-us_text,
	.branches .card {
		padding-left: var(--space-7);
	}
	.the-content h3 {
		padding: var(--space-2);	
	}
	.doctors .container,
	.reviews .container .title,
	.doctor-popup .title,
	.the-content h3,
	.the-content > .flex,
	.reviews .swiper,
	.mb-5 {
		margin-bottom: var(--space-5);
	}
	.hero,
	.header-nav a,
	.directions li,
	.directions li a,
	.promo-item,
	.feedback,
	.about-us_grid > div,
	.about-us_grid div:nth-child(3) div,
	.branches,
	.widget a,
	.field-wrapper,
	.why-us,
	.the-best .card,
	.activity,
	.appointment .card {
		position: relative;
	}
	.hero-desc > *,
	.title > *,
	.card > *,
	.card-desc > *,
	address > *,
	.count-item > *,
	.promo-item .flex > *,
	.card-btn__text,
	.field-wrapper p,
	.about-us_text p,
	.clinic-panel > *,
	.widget p:last-child,
	.copyright p,
	.the-content > .flex p,
	.why-us > *,
	.any-text > * {
		margin-bottom: 0;
	}
	address p:nth-child(2),
	.acceptance {
		font-size: var(--fs-xs);
	}
	.card-price,
	.promo_item-credit .btn-white,
	.doctors .card-desc  p:nth-child(2),
	.doctors .card-btn a,
	.about-us_text ul,
	.clinic-tab {
		font-size: var(--fs-sm);
	}
	.acceptance,
	.old-price {
		color: var(--color-grey-50);
	}
	address p:nth-child(2),
	.icon-svg:hover svg,
	.card-price,
	.card-btn__text,
	.appointment .card-without-stress span,
	.appointment .card-dialogue span,
	.appointment .card-accuracy span {
		color: var(--color-taupe);
	}
	.the-content {
		color: var(--color-black);
	}
	.widget a,
	.the-content > .flex p,
	.the-best .card-price,
	.tests .why-us,
	#menu ul a {
		color: var(--color-main-text);
	}
	.header-nav a,
	.directions li a,
	.hero .card,
	.title a,
	.title span,
	.tab-title,
	.clinic-panel a,
	.widget > p:nth-child(1),
	.the-best .card {
		color: inherit;
	}
	.icon-svg,
	.card,
	.card-title,
	.hero-desc,
	.mobile-nav a,
	.menu-close {
		display: flex;
	}
	.hero-desc {
		flex-direction: column;
	}
	.hero .card,
	.card-lab {
		justify-content: space-between;
	}
	.icon-svg,
	.card,
	.card-title,
	.btn-telephone,
	.btn-request,
	.btn-white,
	.mobile-nav a,
	.menu-close {
		align-items: center;
	}
	.appointment .card-title {
		align-items: flex-start;
	}
	.icon-svg,
	.btn-request,
	.btn-white,
	.mobile-nav a,
	.menu-close {
		justify-content: center;
	}
	.icon-svg,
	.mobile-nav a,
	.menu-close {
		width: var(--space-9);
		height: var(--space-9);
	}
	.icon-svg,
	.directions li:before,
	.promo_item-credit,
	.doctors .card,
	.feedback,
	.about-us_grid > div:nth-child(1),
	.about-us_grid > div:nth-child(2),
	.why-us  {
		background-color: var(--color-taupe);
	}
	.card-efficiency {
		background-color: var(--color-soft-pale) !important;
	}
	.btn-search,
	.icon-svg:hover {
		background-color: transparent;
	}
	.search-form,
	.icon-svg:hover {
		border: 1px solid var(--color-border);
	}
	.search-field,
	.btn-search,
	.tab-title,
	.wpcf7-text,
	.menu-close {
		border: 0;
	}
	.search-field:focus,
	.btn-search:focus,
	.card:focus,
	.wpcf7-tel:focus,
	.clinic-tab:focus {
		outline: none;
	}
	.promo_item-credit .btn-white,
	.field-wrapper input,
	.the-content h3 {
		border-radius: var(--radius-sm);
	}
	.icon-svg,
	.btn-telephone,
	.btn-request,
	.btn-white,
	.search-form,
	.card-image img,
	.tab-item,
	.licenses img,
	.route img,
	.doctor-photo img,
	.mobile-nav a,
	.menu-close,
	#menu address {
		border-radius: var(--radius-md);
	}
	.card,
	.promo-item,
	.feedback-form,
	.about-us_text,
	.swiper-gallery img,
	.about-us_grid > *,
	.clinic-tab,
	.clinic-info,
	.hero-price_btn,
	.why-us,
	.swiper-photo img,
	.get-pricing {
		border-radius: var(--radius-lg);
	}
	.btn-telephone,
	.btn-request,
	.btn-white {
		height: var(--space-9);
	}
	.doctors .btn-request,
	.doctors .btn-white {
		height: 2rem;
	}
	.hero .btn-request,
	.hero .btn-white,
	.footer .btn-request {
		padding: 0.5rem 2rem;
	}
	.promo_item-credit .btn-white,
	.wpcf7-submit {
		padding: 0.4rem 1.2rem;
	}
	.btn-telephone,
	.btn-request,
	.btn-white,
	.card-title,
	.card-price,
	.hero-desc h1,
	.count-item p:nth-child(1),
	.title,
	.directions li,
	.promo_item-social .flex p:nth-child(2),
	.promo_item-wide .flex p:nth-child(2),
	.promo_item-price,
	.promo_item-credit,
	.card-desc p:nth-child(1),
	.tab-title,
	.wpcf7-submit,
	.about-us_grid > div,
	.license-item,
	.clinic-tab,
	.clinic-panel h3,
	.widget > p:nth-child(1),
	.the-content h3,
	.the-content > .flex p,
	.platform-item,
	.why-us p:nth-child(1),
	.any-text p:nth-child(1),
	.get-pricing,
	#menu address a,
	#menu ul a {
		font-family: 'Normalidad';
	}
	.feedback-form .title span,
	.reviews .card-desc p:nth-child(1) {
		font-family: 'Golos UI';
	}
	.hero-desc h1,
	.count-item p:nth-child(1),
	.feedback-form .title,
	.about-us_grid div,
	.branches .title {
		line-height: 105%;
	}
	.feedback-form .title span,
	.reviews .card-desc p:nth-child(1) {
		font-weight: var(--font-weight-normal);
	}
	.btn-telephone,
	.btn-request,
	.btn-white,
	.card-title,
	.card-price,
	.hero-desc h1,
	.count-item p:nth-child(1),
	.directions li a,
	.promo_item-social,
	.promo_item-wide .flex p:nth-child(2),
	.promo_item-price,
	.promo_item-credit,
	.card-desc p:nth-child(1),
	.tab-title,
	.card-btn__text,
	.title,
	.wpcf7-submit,
	.about-us_grid > div,
	.clinic-tab,
	.clinic-panel h3,
	.widget > p:nth-child(1),
	.the-content h3,
	.the-content > .flex p,
	.platform-item,
	.why-us p:nth-child(1),
	.any-text p:nth-child(1),
	#menu address a,
	#menu ul a {
		font-weight: var(--font-weight-medium);
	}
	.btn-telephone,
	.btn-request,
	.icon-svg svg,
	.btn-white:hover,
	.promo_item-wide,
	.promo_item-credit,
	.doctors .card-desc p,
	.doctors .card-desc p:nth-child(1),
	.wpcf7-submit,
	.about-us_grid > div,
	.hero .cards a:hover > *,
	.widget .btn-request,
	.why-us {
		color: var(--color-white);
	}
	.promo_item-wide .flex p:nth-child(1) {
		color: var(--color-white-50);
	}
	.btn-telephone,
	.btn-request,
	.btn-white,
	.wpcf7-submit {
		text-transform: uppercase;
	}
	.promo_item-credit .btn-white {
		text-transform: none;
	}
	.btn-telephone:hover,
	.btn-request:hover,
	.btn-white:hover,
	.header-nav a:hover,
	.card,
	.directions li a:hover,
	.title a:hover,
	.widget a:hover {
		text-decoration: none;
	}
	.title a {
		text-decoration: underline;
	}
	.old-price {
		text-decoration: line-through;
	}
	.btn-telephone,
	.btn-request,
	.wpcf7-submit,
	#menu .btn-white {
		border: 1px solid var(--color-green);
	}
	.btn-telephone,
	.btn-request,
	.btn-white:hover,
	.promo_item-wide,
	.wpcf7-submit,
	.about-us_grid > div:nth-child(3),
	.hero .cards a:hover,
	.mobile-nav a,
	.menu-close {
		background-color: var(--color-green);
	}
	.btn-telephone:hover,
	.btn-request:hover,
	.btn-white,
	.card,
	.feedback-form,
	.wpcf7-submit:hover,
	.clinic-tab,
	.clinic-info,
	.hero-price_btn {
		background-color: var(--color-white);
	}
	.btn-telephone:hover,
	.btn-request:hover,
	.btn-white,
	.wpcf7-submit:hover,
	.the-content h3,
	.platform-item,
	.hero-price_btn .card-price,
	#menu address a {
		color: var(--color-green);
	}
	.licenses .title,
	.route .title,
	.clinic-tab.active {
		color: var(--color-blue);
	}
	.card-title,
	.wpcf7-submit,
	.the-content > .flex p:nth-child(1),
	.why-us p:nth-child(1),
	.any-text p:nth-child(1),
	#menu address a {
		font-size: var(--fs-xl);
	}
	.faq .tab-title,
	.license-item {
		font-size: var(--fs-2xl);
	}
	.count-item p:nth-child(1),
	.hero-price_btn .card-price {
		font-size: var(--fs-3xl);
	}
	#menu ul li a {
		padding-top: var(--space-3);
		padding-bottom: var(--space-3);
		border-bottom: 1px solid var(--color-bg);
	}
	#menu ul li:first-child a {
		padding-top: 0;
	}
	#menu ul li:last-child a {
		padding-bottom: 0;
		border: 0;
	}
	.activity,
	.licenses,
	.branches,
	.photo,
	.appointment {
		padding-top: var(--space-9);
		padding-bottom: var(--space-9);
	}
	.activity,
	.tab-item,
	.reviews .card,
	.feedback .wpcf7-text,
	.about-us_text,
	.licenses,
	.route .card,
	.the-content h3,
	.the-best .card,
	.photo,
	.get-pricing,
	.tests .why-us,
	.appointment,
	#menu address {
		background-color: var(--color-bg);
	}
	.feedback-form .title span,
	.about-us_text p,
	.clinic-panel h3,
	.the-content h3,
	.page-id-123 .choose .why-us p:nth-child(1) {
		font-size: var(--fs-base);
	}
	.title {
		font-size: var(--fs-4xl);
	}
	.reviews .title,
	.faq .title,
	.licenses .title,
	.route .title,
	.branches .title,
	.photo .title {
		font-size: var(--fs-5xl);
	}
	.title a,
	.title span,
	.reviews .card-desc p:nth-child(1),
	.doctors .card-desc p:nth-child(1),
	.license-item .btn-request,
	.license-item .btn-white,
	.hero-price_btn .btn-request,
	.tests .why-us p:nth-child(1) {
		font-size: var(--fs-lg);
	}
	/**
	* @section media queries
	*/
	/* Устройства XX-Large (большие настольные компьютеры, более 1400 пикселей) */
	@media (max-width: 1799.98px) {}

	/* Устройства X-Large (большие настольные компьютеры, менее 1400 пикселей) */
	@media (max-width: 1399.98px) {
		.card-title,
		.wpcf7-submit,
		.the-content > .flex p:nth-child(1) {
			font-size: var(--fs-lg);
		}
		.platform-item svg {
			height: var(--space-6);
		}
		.about-us_grid {
			grid-template-rows: 114px;
		}
		.about-us_grid > div {
			padding: var(--space-5) var(--space-4);
		}
		.about-us_grid > div {
			font-size: var(--fs-sm);
		}
		.about-us_grid > div:nth-child(1) img {
			height: var(--space-12);
		}
		.about-us_grid > div:nth-child(2) img {
			height: var(--space-14);
		}
		.about-us_grid > div:nth-child(3) img {
			height: 100%;
		}

	}

	/* Устройства Large (настольные компьютеры, менее 1200 пикселей) */
	@media (max-width: 1199.98px) {
		.header .gap-2xl,
		.header .gap-3xl,
		.activity .gap-4xl {
			gap: var(--gap-md);
		}
		.btn-telephone,
		.btn-request,
		.btn-white,
		.license-item .btn-request,
		.license-item .btn-white {
			font-size: var(--fs-sm);
		}
		.faq .tab-title,
		.license-item {
			font-size: var(--fs-lg);
		}
		.title,
		.reviews .title,
		.faq .title,
		.licenses .title,
		.route .title,
		.branches .title,
		.count-item p:nth-child(1) {
			font-size: var(--fs-2xl);
		}
		.hero .grid {
			grid-template-columns: 1.4fr 1fr;
		}
		.hero .btn-request,
		.hero .btn-white,
		.footer .btn-request {
			padding-right: var(--space-5);
		}
		.hero .btn-request,
		.hero .btn-white,
		.footer .btn-request {
			padding-left: var(--space-5);
		}
		.docs .directions li {
		    width: 23%;
		}
		.promo_item-social img {
			height: 35%;
		}
		.promo_item-credit img {
			height: 45%;
		}
		.reviews .swiper {
			margin-bottom: var(--space-7);
		}
		.platforms-slider {
			--gap: 16px;
			--n: 4;
			justify-content: flex-start;
			gap: var(--gap);
			overflow-x: auto;
			scroll-snap-type: x mandatory;
			-webkit-overflow-scrolling: touch;
			scrollbar-width: none;
			cursor: grab;
			user-select: none;
		}
		.platforms-slider::-webkit-scrollbar {
			display: none;
		}
		.platforms-slider .platform-item {
			flex: 0 0 calc((100% - var(--n) * var(--gap)) / (var(--n) + 0.4));
			justify-content: center;
			scroll-snap-align: start;
		}
		.platforms-slider .platform-item svg {
			pointer-events: none;
		}
		.about-us_grid {
			grid-template-columns: 1fr 1fr 1fr;
			grid-template-areas: "laboratory visits place";
		}
		.about-us_text .flex {
			gap: var(--gap-sm);
		}
		.route .grid {
			grid-template-columns: 1fr 1fr 1fr;
		}
		.footer .gap-4xl,
		.widgets {
			gap: var(--gap-2xl);
		}
		.widgets {
			grid-template-rows: 110px 40px;
		}
	}

	/* Устройства Medium (планшеты, менее 992 пикселей) */
	@media (max-width: 991.98px) {
		.header .container > div:nth-child(2),
		#menu > div > div.flex.items-center.justify-between > div.flex.items-center {
			margin-left: auto;
		}
		.hero {
			background: linear-gradient(180deg, rgba(239, 239, 237, 0) 18.81%, #EFEFED 39.91%);
		}
		.home .hero {
			background: linear-gradient(210deg, rgba(239, 239, 237, 0) 18.81%, #EFEFED 39.91%);
		}
		.hero .grid,
		.activity .grid,
		.about-us .grid,
		.route .grid {
			display: flex;
		}
		.hero .grid,
		.activity .grid,
		.about-us .grid,
		.route .grid {
			flex-direction: column;
		}
		.hero-desc,
		.about-us_photos {
			-webkit-box-ordinal-group: 2;
			-ms-flex-order: 1;
			order: 1;
		}
		.hero .cards,
		.about-us .grid > div:nth-child(1) {
			-webkit-box-ordinal-group: 3;
			-ms-flex-order: 2;
			order: 2;
		}
		.count-item {
			width: 10rem;
			text-align: center;
		}
		.activity .gap-4xl {
			gap: var(--gap-2xl);
		}
		.branches {
			padding-top: 0;
			position: relative;
			background-color: var(--color-floral);
		}
		.branches picture {
			position: relative;
			z-index: 1;
		}
		.branches .title {
			display: none;
		}
		.branches .container {
			padding-top: var(--space-9);
		}
		.branches .container {
			padding-bottom: var(--space-9);
		}
		.clinic-switcher,
		.widgets .widget:nth-child(2) li,
		#menu ul a {
			width: 100%;
		}
		.docs .directions li {
		    width: 30%;
		}
		.widgets {
			grid-template-rows: 217px 40px;
		}
	}

	/* Устройства Small (телефоны с горизонтальной ориентацией, менее 768 пикселей) */
	@media (max-width: 767.98px) {
		.doctors .container,
		.reviews .container,
		.page-id-119 .choose,
		.page-id-121 .choose,
		.page-id-125 .choose,
		.photo .container,
		.tests {
			padding-right: 0;
		}
		.reviews .container .title {
			padding-right: 20px;
		}
		.header {
			padding-bottom: var(--space-5);
		}
		.counts-slider {
			display: flex !important;
			flex-wrap: nowrap !important;
			justify-content: flex-start !important;
			align-items: stretch !important;

			width: 100% !important;
			overflow-x: auto !important;
			overflow-y: hidden !important;

			scroll-snap-type: x mandatory;
			-webkit-overflow-scrolling: touch;
			scrollbar-width: none;
		}
		.counts-slider::-webkit-scrollbar,
		.count-border {
			display: none;
		}
		.counts-slider .count-item {
			padding: 0 16px;
			flex: 0 0 auto;
			scroll-snap-align: start;
			min-width: 40% !important;
			box-sizing: border-box;

			scroll-snap-align: start;
			scroll-snap-stop: always;
		}
		.promo {
			grid-template-columns: 1fr 1fr;
			grid-template-rows: 125px 300px 202px;
			grid-template-areas:
			  "wide wide"
			  "social credit"
			  "price price";
		}
		.promo_item-social img {
			height: 40%;
		}
		.branches img {
			height: 400px;
		}
		.doctor-popup {
			border-radius: 0 !important;
		}
		.footer .grid,
		.widgets,
		.doctor-popup .grid,
		.the-best .cards,
		.appointment .cards,
		.get-pricing,
		.choose .grid {
			display: flex;
			flex-wrap: wrap;
		}
		#licenses .flex-row,
		.footer .grid,
		.copyright,
		.doctor-popup .grid,
		.the-best .cards,
		.appointment .cards,
		.get-pricing,
		.choose .grid {
			flex-direction: column;
		}
		.appointment img,
		.the-best img {
			width: 35%;
		}
		.widgets .widget:nth-child(2),
		.widgets .widget:nth-child(3),
		.docs .directions li {
			width: 45%;
		}
		.appointment .card-without-stress .card-desc {
			width: 70%;
		}
		.widgets .widget:nth-child(1),
		.widgets .widget:nth-child(4),
		.get-pricing .btn-request {
			width: 100%;
		}
	}

	/* Устройства X-Small (портретные телефоны, менее 576 пикселей) */
	@media (max-width: 575.98px) {
		.brand {
			margin-top: var(--space-1);
		}
		.title a {
			color: var(--color-green);
		}
		.brand svg {
			width: 162px;
			height: 30px;
		}
		.hero {
			padding-top: 18rem;
		}
		.hero picture img {
			height: 400px;
		}
		.page-id-121 .hero picture img,
		.page-id-125 .hero picture img,
		.page-id-123 .activity img,
		.page-id-125 .activity img {
			height: 260px;
		}
		.home .hero {
			padding-top: var(--space-9);
			padding-bottom: var(--space-9);
		}
		.hero .grid {
			gap: var(--gap-lg);
		}
		.hero  .card {
			padding: var(--space-5) var(--space-5);
		}
		.feedback .grid{
			display: flex;
			justify-content: flex-start;
		}
		.hero-btn,
		.hero .cards .card:nth-child(1),
		.hero .cards .card:nth-child(2),
		.hero .cards .card:nth-child(3),
		.licenses .card-btn,
		.reviews .container .title {
			flex-direction: column;
		}
		.hero-btn,
		.hero .cards,
		.licenses .card-btn,
		.about-us_grid,
		.reviews .container .title {
			gap: var(--gap-sm);
		}
		.hero-btn .btn-white,
		.hero .card,
		.licenses .card-btn .btn-white {
			box-shadow: var(--box-shadow-btn);
		}
		.hero .cards {
			grid-template-columns: 48% 49%;
			justify-content: space-between;
		}
		.hero .cards .card-title,
		.directions a,
		.promo-item,
		.title a,
		.tablepress>:not(caption)>*>*,
		.title span,
		.secondary .wpcf7-text,
		.secondary .wpcf7-submit {
			font-size: var(--fs-sm);
		}
		.hero .cards .card:nth-child(1),
		.hero .cards .card:nth-child(2),
		.reviews .container .title {
			align-items: flex-start;
		}
		.hero .cards .arrow-right {
			width: 4px;
			height: 8px;
		}
		.hero .cards .card:nth-child(1) .card-price,
		.hero .cards .card:nth-child(2) .card-price {
			margin-left: auto;
		}
		.count-item {
			justify-content: center;
		}
		.title,
		.reviews .title,
		.faq .title,
		.licenses .title,
		.route .title,
		.branches .title,
		.count-item p:nth-child(1) {
			font-size: var(--fs-xl);
		}
		.page-id-123 .activity img,
		.page-id-125 .activity img {
			margin-top: var(--space-7);
		}
		.page-id-123 .activity,
		.page-id-125 .activity {
			padding-bottom: 0;
		}
		.activity,
		.licenses,
		.branches {
			padding-top: var(--space-6);
   			padding-bottom: var(--space-6);
		}
		.about-us_text .flex {
			flex-wrap: wrap;
		}
		.promo {
			grid-template-rows: 100px 240px 160px;
		}
		.promo .promo-item:nth-child(1) .flex p:nth-child(2) {
			-webkit-box-ordinal-group: 2;
			-ms-flex-order: 1;
			order: 1;
		}
		.promo .promo-item:nth-child(1) .flex p:nth-child(1) {
			-webkit-box-ordinal-group: 3;
			-ms-flex-order: 2;
			order: 2;
		}
		.promo_item-social:before {
			width: 136px;
			height: 136px;
		}
		.promo_item-wide img {
			height: 70%;
		}
		.promo_item-social img {
			height: 55%;
			right: -20px;
			bottom: -20px;
		}
		.column-3 {
			width: 50px;
		}
		.secondary {
			background-color: transparent;
		}
		.secondary .feedback-form {
			background: rgba(255, 255, 255, 0.1);
			border: 1px solid var(--color-white);
		}
		.secondary .feedback-form {
			width: 65%;
			background-image: none;
		}
		.secondary .feedback-form .title,
		.secondary .acceptance {
			color: var(--color-white);
		}
		.secondary .feedback-form .title span {
			display: none;
		}
		.feedback.first picture,
		.feedback.third picture,
		.activity picture {
			position: relative;
		}
		.first .feedback picture img,
		.branches img,
		.map img {
			height: 240px !important;
		}
		.feedback picture img,
		#branches .btn-request,
		.secondary picture,
		.about-us_grid div:nth-child(3) div,
		.docs .directions li,
		.column-1,
		.map img {
			width: 100%;
		}
		.feedback.first .feedback-form {
			margin-top: 0;
		}
		.about-us_grid {
			display: grid;
			grid-template-columns: 1fr 1fr;
			grid-template-rows: 125px 100px;
			grid-template-areas:
			"laboratory visits"
			"place place";
		}
		.about-us_grid > div:nth-child(1) img,
		.about-us_grid > div:nth-child(2) img {
			height: var(--space-14);
		}
		.fancybox-content {
			vertical-align: top !important;
		}
		#request {
			border-radius: 0 !important;
		}
		.acceptance {
			text-wrap: wrap;
		}
	}

	/* Устройства X-Small (портретные телефоны, менее 420 пикселей) */
	@media (max-width: 419.98px) {
		h1 {
			font-size: clamp(1.7rem, 3vw, 2.5rem);
		}
		.hero .cards .card-title,
		.directions a,
		.promo-item,
		.title a,
		.tablepress>:not(caption)>*>*,
		.title span,
		.secondary .wpcf7-text,
		.secondary .wpcf7-submit,
		.count-item,
		.btn-telephone,
		.btn-request,
		.btn-white {
			font-size: var(--fs-xs);
		}
		.faq .tab-title,
		.license-item {
			font-size: var(--fs-base);
		}
	   .hero .card svg {
			width: var(--space-6);
			height: var(--space-6);
		}
		.promo_item-wide img {
			height: 50%;
		}
		.hero .card,
		.btn-telephone,
		.btn-request,
		.btn-white {
			 padding-right: var(--space-3)
		}
		.hero .card,
		.btn-telephone,
		.btn-request,
		.btn-white {
			 padding-left: var(--space-3)
		}
		.doctors .card-btn {
			gap: var(--gap-xs);
		}
		.secondary .feedback-form {
			width: 100%;
		}
		.widgets .widget:nth-child(2),
		.widgets .widget:nth-child(3) {
			width: 43%;
		}
		.about-us_grid div:nth-child(3) div {
			width: 60%;
		}
	}
}