/* Вариант 4: статуя справа на фоне, карточки — стекло поверх, низ статуи растворяется */
.b-gastro-hero--v4 {
	position: relative;
	overflow: visible;
}

.b-gastro-hero--v4 .b-gastro-hero__art {
	position: absolute;
	z-index: 0;
	pointer-events: none;
	display: flex;
	align-items: flex-start;
	justify-content: flex-end;
}

.b-gastro-hero--v4 .b-gastro-hero__art img {
	display: block;
	width: 100%;
	height: auto;
	max-width: none;
}

.b-gastro-hero--v4 .b-gastro-hero__art-m {
	display: none;
}

.b-gastro-hero--v4 > .container {
	position: relative;
	z-index: 1;
}

/* без тега клиники: короче путь от лида к кнопкам */
.b-gastro-hero--v4 .b-page-header-v2__tags {
	display: none;
}
.b-gastro-hero--v4 .b-page-header-v2__descr {
	margin-bottom: 0;
}
.b-gastro-hero--v4 .b-page-header-v2__btns-row {
	margin-top: 20px;
}

/* рамку фото убираем, колонку оставляем как распорку, чтобы текст не наезжал на статую */
.b-gastro-hero--v4 .b-page-header-v2__image-side {
	background: none;
	box-shadow: none;
	border-radius: 0;
	overflow: visible;
}

.b-gastro-hero--v4 .b-page-header-v2__image,
.b-gastro-hero--v4 .b-page-header-v2__image-side picture,
.b-gastro-hero--v4 .b-page-header-v2__image-side img {
	display: none;
}

/* карточки — матовое стекло над статуей */
.b-gastro-hero--v4 .b-gastro-hero__cards .b-gastro-card {
	background: rgba(255, 255, 255, 0.58);
	-webkit-backdrop-filter: blur(20px);
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.72);
	box-shadow: 0 8px 28px rgba(0, 35, 112, 0.08);
}

/* герой v4: без пиктограмм, чуть больше воздуха (28–32px) */
.b-gastro-hero--v4 .b-gastro-hero__cards .b-gastro-card__icon {
	display: none;
}
.b-gastro-hero--v4 .b-gastro-hero__cards .b-gastro-card {
	display: block;
	grid-template-columns: none;
	padding: 32px;
}
@media (max-width: 767.98px) {
	.b-gastro-hero--v4 .b-gastro-hero__cards .b-gastro-card {
		padding: 24px;
	}
}


/* десктоп: статуя вписывается в высоту героя (органы видны за карточками),
   оптический центр — середина поля между колонкой текста и правым краем окна.
   На низких экранах сжимаем вертикальные отступы, чтобы карточки были в первом экране. */
@media (min-width: 768px) {
	.b-gastro-hero--v4 {
		overflow: visible;
		z-index: 0;
	}

	/* статуя может слегка заходить на следующий блок, текст остаётся сверху */
	.b-gastro-hero--v4 + .b-gastro-section {
		position: relative;
		z-index: 1;
	}

	.main-wrapper > .container:has(#navigation) {
		position: relative;
		z-index: 2;
	}

	/* высота героя и отступы зависят от vh, потолок как на высоких экранах */
	main.main-wrapper {
		padding-top: clamp(16px, 3.2vh, 36px);
	}

	#navigation.bx-breadcrumb {
		margin-bottom: clamp(8px, 1.8vh, 20px);
	}

	.b-gastro-hero--v4 .b-page-header-v2__image-side {
		min-height: clamp(250px, 42vh, 440px) !important;
	}

	.b-gastro-hero--v4 .b-gastro-hero__cards {
		margin-top: clamp(10px, 2vh, 32px);
	}

	.b-gastro-hero--v4 .b-page-header-v2__title:not(.b-page-header-v2__title--mobile) {
		font-size: clamp(32px, 4.6vh, 46px) !important;
		line-height: 1.15 !important;
	}

	.b-gastro-hero--v4 .b-page-header-v2__descr {
		margin-top: 24px;
		line-height: 1.65;
	}

	.b-gastro-hero--v4 .b-page-header-v2__btns-row {
		margin-top: 36px;
	}

	.b-gastro-hero--v4 .b-gastro-hero__ask {
		margin-top: 22px;
	}

	.b-gastro-hero--v4 .b-page-header-v2__content {
		padding-top: clamp(4px, 1.2vh, 12px);
		padding-bottom: clamp(4px, 1.2vh, 12px);
	}

	.b-gastro-hero--v4 .b-gastro-hero__art {
		/* центр колонки текста: контейнер max 1502px, колонка max 724px */
		--statue-f: 0.46;
		--c-max: 1502px;
		--c-width: min(100vw, var(--c-max));
		--c-left: calc((100vw - var(--c-width)) / 2);
		--gutter: var(--page-gutter, 15px);
		--col: min(724px, (var(--c-width) - 2 * var(--gutter)) / 2);
		--col-right: calc(var(--c-left) + var(--gutter) + var(--col));
		top: clamp(-88px, -13vh, -118px);
		right: 0;
		left: 0;
		/* выступ на следующий блок: фейд доходит до нуля внутри картинки,
		   чуть длиннее, чтобы закрыть зазор ~140px до заголовка */
		bottom: -160px;
		width: auto;
		overflow: visible;
		justify-content: flex-start;
		align-items: flex-start;
	}

	/* картинка заполняет плашку, чтобы маска достигала прозрачности на её нижнем краю.
	   длинный мягкий фейд вниз + лёгкие боковые, чтобы не было прямоугольника */
	.b-gastro-hero--v4 .b-gastro-hero__art img {
		height: 100%;
		width: auto;
		max-height: none;
		max-width: none;
		flex: none;
		aspect-ratio: 864 / 1152;
		position: relative;
		margin-left: 0;
		/* цель: (правый край текста + ширина окна) / 2; 48.42% — центроид головы+торса в непрозрачной части */
		left: calc((var(--text-right, var(--col-right)) + 100vw) / 2);
		transform: translateX(-48.42%);
		-webkit-mask-image:
			linear-gradient(to bottom, #000 0%, #000 55%, rgba(0,0,0,.6) 72%, rgba(0,0,0,.25) 85%, rgba(0,0,0,.06) 93%, transparent 100%),
			linear-gradient(to right, transparent 0%, #000 3%, #000 97%, transparent 100%);
		-webkit-mask-composite: destination-in;
		mask-image:
			linear-gradient(to bottom, #000 0%, #000 55%, rgba(0,0,0,.6) 72%, rgba(0,0,0,.25) 85%, rgba(0,0,0,.06) 93%, transparent 100%),
			linear-gradient(to right, transparent 0%, #000 3%, #000 97%, transparent 100%);
		mask-composite: intersect;
	}
}

/* короткие экраны: чуть плотнее, чтобы карточки остались в первом экране */
@media (min-width: 768px) and (max-height: 900px) {
	.b-gastro-hero--v4 .b-page-header-v2__descr {
		margin-top: 20px;
		line-height: 1.55;
	}
	.b-gastro-hero--v4 .b-page-header-v2__btns-row {
		margin-top: 32px;
	}
	.b-gastro-hero--v4 .b-gastro-hero__ask {
		margin-top: 20px;
	}
}
@media (min-width: 768px) and (max-height: 800px) {
	.b-gastro-hero--v4 .b-page-header-v2__descr {
		margin-top: 16px;
		line-height: 1.5;
	}
	.b-gastro-hero--v4 .b-page-header-v2__btns-row {
		margin-top: 24px;
	}
	.b-gastro-hero--v4 .b-gastro-hero__ask {
		margin-top: 16px;
	}
}
@media (min-width: 768px) and (max-height: 720px) {
	.b-gastro-hero--v4 .b-page-header-v2__descr {
		margin-top: 12px;
		line-height: 1.45;
	}
	.b-gastro-hero--v4 .b-page-header-v2__btns-row {
		margin-top: 18px;
	}
	.b-gastro-hero--v4 .b-gastro-hero__ask {
		margin-top: 12px;
	}
}

/* мобилка: тёмный заголовок на чистом фоне */
/* !important: сборка сайта подключается после gastro-v4.css */
@media (max-width: 767.98px) {
	.b-gastro-hero--v4 .b-page-header-v2__image-side {
		height: 0 !important;
		min-height: 0 !important;
		margin: 0 !important;
		overflow: hidden !important;
	}

	.b-gastro-hero--v4.b-page-header-v2--areas .b-page-header-v2__title:not(.b-page-header-v2__title--mobile) {
		display: block !important;
		position: static !important;
		color: var(--g-black) !important;
		left: auto !important;
		top: auto !important;
		z-index: auto !important;
		margin-bottom: 12px;
	}

	.b-gastro-hero--v4 .b-page-header-v2__title--mobile {
		display: none !important;
	}

	.b-gastro-hero--v4 .b-page-header-v2__content {
		padding-top: 4px;
		position: relative;
		z-index: 1;
	}

	/* мобилка: текст на чистом фоне, статуя — отдельный блок под кнопками и мессенджерами,
	   карточки-стекло заходят на её нижнюю часть */
	.b-gastro-hero--v4 > .b-gastro-hero__art {
		display: none;
	}

	.b-gastro-hero--v4 .b-gastro-hero__art-m {
		display: block;
		position: relative;
		z-index: 0;
		pointer-events: none;
		width: 100%;
		height: 392px;
		margin: 20px 0 -60px;
		overflow: visible;
	}

	.b-gastro-hero--v4 .b-gastro-hero__art-m img {
		display: block;
		position: absolute;
		left: 50%;
		top: 0;
		width: 84%;
		max-width: 340px;
		height: auto;
		transform: translateX(-50%);
		aspect-ratio: 864 / 1152;
		-webkit-mask-image:
			linear-gradient(to bottom, #000 0%, #000 54%, rgba(0,0,0,.6) 67%, rgba(0,0,0,.3) 78%, rgba(0,0,0,.08) 88%, transparent 96%),
			linear-gradient(to right, transparent 0%, #000 4%, #000 96%, transparent 100%);
		-webkit-mask-composite: destination-in;
		mask-image:
			linear-gradient(to bottom, #000 0%, #000 54%, rgba(0,0,0,.6) 67%, rgba(0,0,0,.3) 78%, rgba(0,0,0,.08) 88%, transparent 96%),
			linear-gradient(to right, transparent 0%, #000 4%, #000 96%, transparent 100%);
		mask-composite: intersect;
	}

	.b-gastro-hero--v4 .b-gastro-hero__cards {
		position: relative;
		z-index: 1;
	}
}

/* —— Баннер «во сне»: ховер белой кнопки и ссылки, фото без жёсткого края —— */
.b-gastro-banner__btn.btn-fill {
	background: #fff;
	background-color: #fff;
	color: var(--g-accent, #3356a3);
	border: none;
	box-shadow: none;
	transform: none;
	min-width: 180px;
	transition: background-color 200ms ease, color 200ms ease;
}
.b-gastro-banner__btn.btn-fill:hover,
.b-gastro-banner__btn.btn-fill:focus-visible {
	background: #f0f4ff;
	background-color: #f0f4ff;
	color: var(--g-accent, #3356a3);
	border: none;
	box-shadow: none;
	transform: none;
}
.b-gastro-banner__btn.btn-fill:active {
	background: #e8eefc;
	background-color: #e8eefc;
	color: var(--g-accent, #3356a3);
}
main.main-wrapper a.b-gastro-banner__link {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-thickness: 1px;
	transition: color 200ms ease, text-decoration-color 200ms ease;
}
main.main-wrapper a.b-gastro-banner__link:hover,
main.main-wrapper a.b-gastro-banner__link:focus-visible {
	color: #e8eeff;
	text-decoration: underline;
	text-decoration-color: #e8eeff;
}


/* фото палаты: крупнее, обрезаем низ, заходит влево под текст; мягкий градиент в синий.
   плашки статистики и тег — матовое стекло, чтобы фото под ними читалось как стекло, без пустого зазора. */
.b-gastro-banner {
	position: relative;
}
.b-gastro-banner__content {
	position: relative;
	z-index: 1;
}
main.main-wrapper .b-gastro-banner__label {
	background: rgba(255, 255, 255, 0.14);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
	border: none;
}
main.main-wrapper .b-gastro-banner__list li {
	background: rgba(255, 255, 255, 0.14);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
	border: none;
}

/* site/index.css задаёт inset:0; width/height:100% на img и подключается после v4 — нужна более высокая специфичность */
@media (min-width: 1024px) {
	.b-gastro-banner__image {
		overflow: visible;
		z-index: 0;
	}
	main.main-wrapper .b-gastro-banner__image img {
		/* img — replaced element: left+right+width:auto не растягивает, нужна явная ширина */
		inset: auto;
		top: 0;
		right: auto;
		bottom: auto;
		left: -62% !important;
		width: calc(100% + 62%) !important;
		max-width: none !important;
		height: 124% !important;
		object-fit: cover;
		object-position: 82% 67%;
		-webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.4) 16%, #000 32%, #000 100%);
		mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.4) 16%, #000 32%, #000 100%);
	}
}
@media (min-width: 1024px) and (max-width: 1279.98px) {
	main.main-wrapper .b-gastro-banner__image img {
		left: -48% !important;
		width: calc(100% + 48%) !important;
		max-width: none !important;
		-webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.4) 14%, #000 30%, #000 100%);
		mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.4) 14%, #000 30%, #000 100%);
	}
}

@media (max-width: 1023.98px) {
	.b-gastro-banner__image {
		min-height: 280px;
		overflow: hidden;
	}
	main.main-wrapper .b-gastro-banner__image img {
		inset: auto;
		top: -16%;
		right: auto;
		bottom: auto;
		left: 0;
		width: 100% !important;
		height: 136% !important;
		object-position: 86% 63%;
		-webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 100%);
		mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 100%);
	}
}
@media (max-width: 767.98px) {
	.b-gastro-banner__image {
		min-height: 260px;
	}
	main.main-wrapper .b-gastro-banner__image img {
		object-position: 86% 65%;
		-webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 100%);
		mask-image: linear-gradient(to bottom, transparent 0%, #000 16%, #000 100%);
	}
}

/* —— Шрифты чуть крупнее (только v4, шапку сайта не трогаем) —— */
main.main-wrapper .b-gastro-head__title { font-size: 28px; }
main.main-wrapper .b-gastro-head__text { font-size: 16px; line-height: 24px; }
main.main-wrapper .b-gastro-card__name { font-size: 18px; line-height: 24px; }
main.main-wrapper .b-gastro-card:has(.b-gastro-card__icon) .b-gastro-card__name { font-size: 18px; }
main.main-wrapper .b-gastro-card__text { font-size: 16px; line-height: 22px; }
main.main-wrapper .b-gastro-card__tags span { font-size: 14px; line-height: 18px; }
main.main-wrapper .b-gastro-alert { font-size: 16px; line-height: 22px; }
main.main-wrapper .b-gastro-dirs__label { font-size: 24px; }
main.main-wrapper .b-gastro-dirs__count { font-size: 14px; }
main.main-wrapper .b-gastro-dirs__item { font-size: 16px; line-height: 22px; }
main.main-wrapper .b-gastro-dirs__item b { font-size: 18px; line-height: 24px; }
main.main-wrapper .b-gastro-step { font-size: 20px; line-height: 26px; }
main.main-wrapper .b-gastro-banner__label { font-size: 14px; }
main.main-wrapper .b-gastro-banner__title { font-size: 28px; }
main.main-wrapper .b-gastro-banner__text { font-size: 16px; line-height: 24px; }
main.main-wrapper .b-gastro-banner__list li { font-size: 16px; line-height: 22px; }
main.main-wrapper .b-gastro-banner__list b { font-size: 20px; line-height: 26px; }
main.main-wrapper .b-gastro-why__num { font-size: 16px; }
main.main-wrapper .b-gastro-why__name { font-size: 19px; line-height: 26px; }
main.main-wrapper .b-gastro-why__text { font-size: 16px; line-height: 22px; }
main.main-wrapper .b-gastro-article { font-size: 18px; line-height: 24px; }
main.main-wrapper .b-gastro-article__tag { font-size: 13px; line-height: 17px; }
main.main-wrapper .b-gastro-contact__text { font-size: 16px; line-height: 24px; }
main.main-wrapper .b-gastro-contact__list dt { font-size: 14px; }
main.main-wrapper .b-gastro-contact__list dd { font-size: 18px; line-height: 24px; }
main.main-wrapper .b-gastro-contact__list a { font-size: 20px; }
main.main-wrapper .b-gastro-hero__ask { font-size: 16px; line-height: 22px; }
main.main-wrapper .b-gastro-second__text p { font-size: 16px; line-height: 24px; }
main.main-wrapper .b-gastro-second__text .b-gastro-second__title { font-size: 22px; line-height: 28px; }
main.main-wrapper .b-gastro-section .l-text { font-size: 17px; line-height: 26px; }
main.main-wrapper .b-gastro-hero--v4 .b-page-header-v2__descr { font-size: 16px; }

@media (min-width: 768px) {
	main.main-wrapper .b-gastro-hero--v4 .b-page-header-v2__descr {
		font-size: 19px;
		line-height: 1.65;
	}
}

@media (min-width: 1024px) {
	main.main-wrapper .b-gastro-head__title { font-size: 44px; }
	main.main-wrapper .b-gastro-head__text { font-size: 18px; line-height: 26px; }
	main.main-wrapper .b-gastro-alert { font-size: 16px; line-height: 24px; }
	main.main-wrapper .b-gastro-dirs__label { font-size: 28px; }
	main.main-wrapper .b-gastro-banner__title { font-size: 40px; }
	main.main-wrapper .b-gastro-banner__text { font-size: 18px; line-height: 28px; }
	main.main-wrapper .b-gastro-second__text .b-gastro-second__title { font-size: 26px; line-height: 32px; }
}

@media (min-width: 768px) and (max-width: 1023.98px) {
	main.main-wrapper .b-gastro-head__title { font-size: 34px; }
}

/* FAQ и кнопки в контенте, не шапка */
main.main-wrapper .faq-section__content .item-title { font-size: 19px; }
main.main-wrapper .b-gastro-hero--v4 .b-page-header-v2__btn { font-size: 16px; }

/* короткие экраны: чуть сдержать лид, чтобы карточки героя остались в первом экране */
@media (min-width: 768px) and (max-height: 720px) {
	main.main-wrapper .b-gastro-hero--v4 .b-page-header-v2__descr {
		font-size: 17px;
		line-height: 1.45;
	}
	main.main-wrapper .b-gastro-hero__ask { font-size: 15px; line-height: 20px; }
	.b-gastro-hero--v4 .b-gastro-hero__cards .b-gastro-card {
		padding: 24px 28px;
	}
}


/* —— Ритм секций и воздух в блоке «Когда стоит обратиться» —— */
main.main-wrapper .b-gastro-section {
	margin-bottom: 72px;
}
@media (min-width: 768px) and (max-width: 1023.98px) {
	main.main-wrapper .b-gastro-section {
		margin-bottom: 96px;
	}
}
@media (min-width: 1024px) {
	main.main-wrapper .b-gastro-section {
		margin-bottom: 120px;
	}
}

/* зазор от низа матовых карточек героя до заголовка #symptoms:
   перекрываем margin-bottom шаблона .b-page-header-v2 (40/60/80).
   цель ≈72 / 96 / 140px; сам герой и посадка карточек не растут.
   статуя с fade заходит в этот воздух. */
main.main-wrapper .b-gastro-hero--v4.b-page-header-v2 {
	margin-bottom: 72px;
}
@media (min-width: 768px) and (max-width: 1023.98px) {
	main.main-wrapper .b-gastro-hero--v4.b-page-header-v2 {
		margin-bottom: 96px;
	}
}
@media (min-width: 1024px) {
	main.main-wrapper .b-gastro-hero--v4.b-page-header-v2 {
		margin-bottom: 140px;
	}
}

main.main-wrapper .b-gastro-head {
	gap: 12px;
	margin-bottom: 32px;
}
@media (min-width: 1024px) {
	main.main-wrapper .b-gastro-head {
		gap: 48px;
		margin-bottom: 48px;
	}
}

/* заголовки секций только слева, прежний зазор до сетки */
main.main-wrapper .b-gastro-head {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
main.main-wrapper .b-gastro-head__title {
	max-width: none;
}
main.main-wrapper .b-gastro-head__text {
	display: none;
}


#symptoms .b-gastro-grid {
	gap: 16px;
}
@media (min-width: 768px) {
	#symptoms .b-gastro-grid {
		gap: 24px;
	}
}

/* карточки симптомов без иконок: только заголовок и текст */
main.main-wrapper #symptoms .b-gastro-card,
main.main-wrapper #symptoms .b-gastro-card:has(.b-gastro-card__icon) {
	display: block;
	grid-template-columns: none;
	padding: 28px 24px 24px;
}
@media (min-width: 1024px) {
	main.main-wrapper #symptoms .b-gastro-card,
	main.main-wrapper #symptoms .b-gastro-card:has(.b-gastro-card__icon) {
		padding: 36px 32px 32px;
	}
}
main.main-wrapper #symptoms .b-gastro-card__icon {
	display: none;
}
main.main-wrapper #symptoms .b-gastro-card__name {
	margin: 0;
	padding-top: 0;
}
main.main-wrapper #symptoms .b-gastro-card__text {
	margin-top: 10px;
}
@media (min-width: 1024px) {
	main.main-wrapper #symptoms .b-gastro-card__text {
		margin-top: 12px;
	}
}

/* оранжевая плашка: две колонки, не одна длинная строка */
main.main-wrapper #symptoms .b-gastro-alert {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	align-items: start;
	margin-top: 32px;
	padding: 24px;
}
@media (min-width: 1024px) {
	main.main-wrapper #symptoms .b-gastro-alert {
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
		gap: 24px 48px;
		align-items: center;
		margin-top: 40px;
		padding: 28px 32px;
	}
}
main.main-wrapper #symptoms .b-gastro-alert__icon {
	display: none;
}
main.main-wrapper #symptoms .b-gastro-alert__title {
	margin: 0;
	max-width: 60ch;
	font-weight: 600;
	font-size: 18px;
	line-height: 24px;
	color: var(--g-black, #111);
}
@media (min-width: 1024px) {
	main.main-wrapper #symptoms .b-gastro-alert__title {
		font-size: 20px;
		line-height: 26px;
	}
}
main.main-wrapper #symptoms .b-gastro-alert__lead {
	margin: 8px 0 0;
	max-width: 60ch;
	font-size: 16px;
	line-height: 22px;
	color: var(--g-black, #111);
}
main.main-wrapper #symptoms .b-gastro-alert__label {
	margin: 0;
	font-size: 15px;
	line-height: 20px;
	color: var(--g-text, #3d3d3d);
}
main.main-wrapper #symptoms a.b-gastro-alert__phone {
	display: inline-block;
	margin-top: 6px;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: var(--g-accent, #3356a3);
	text-decoration: none;
	white-space: nowrap;
}
@media (min-width: 1024px) {
	main.main-wrapper #symptoms a.b-gastro-alert__phone {
		font-size: 28px;
		margin-top: 8px;
	}
}
main.main-wrapper #symptoms a.b-gastro-alert__phone:hover,
main.main-wrapper #symptoms a.b-gastro-alert__phone:focus-visible {
	color: var(--g-accent, #3356a3);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
main.main-wrapper #symptoms .b-gastro-alert__life {
	margin: 8px 0 0;
	font-size: 14px;
	line-height: 20px;
	color: var(--g-text, #3d3d3d);
}
@media (max-width: 1023.98px) {
	main.main-wrapper #symptoms .b-gastro-alert__contact {
		padding-top: 20px;
		border-top: 1px solid rgba(51, 31, 12, 0.12);
	}
}
@media (min-width: 1024px) {
	main.main-wrapper #symptoms .b-gastro-alert__contact {
		padding-left: 40px;
		border-left: 1px solid rgba(51, 31, 12, 0.12);
	}
}

/* —— Как проходит обследование: фото + нумерованный список —— */
main.main-wrapper .b-stages--v4 .b-gastro-head {
	margin-bottom: 32px;
}
@media (min-width: 1024px) {
	main.main-wrapper .b-stages--v4 .b-gastro-head {
		margin-bottom: 48px;
	}
}

main.main-wrapper .b-stages--v4 .b-stages__layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	align-items: start;
}
@media (min-width: 1024px) {
	main.main-wrapper .b-stages--v4 .b-stages__layout {
		grid-template-columns: 1.05fr 0.95fr;
		gap: 48px 64px;
		align-items: center;
	}
}

main.main-wrapper .b-stages--v4 .b-stages__photo {
	margin: 0;
	border-radius: 28px;
	overflow: hidden;
	background: var(--g-light, #f7f8fc);
}
@media (min-width: 1024px) {
	main.main-wrapper .b-stages--v4 .b-stages__photo {
		border-radius: 40px;
	}
}
main.main-wrapper .b-stages--v4 .b-stages__photo img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: 46% 50%;
	aspect-ratio: 4 / 3;
}
@media (min-width: 1024px) {
	main.main-wrapper .b-stages--v4 .b-stages__photo img {
		aspect-ratio: 4 / 3;
	}
}

main.main-wrapper .b-stages--v4 .b-stages__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 28px;
	position: relative;
}
@media (min-width: 1024px) {
	main.main-wrapper .b-stages--v4 .b-stages__list {
		gap: 36px;
		justify-content: center;
		padding: 4px 0;
	}
}

main.main-wrapper .b-stages--v4 .b-stages__step {
	display: grid;
	grid-template-columns: 52px 1fr;
	column-gap: 16px;
	align-items: start;
	position: relative;
	margin: 0;
}
@media (min-width: 1024px) {
	main.main-wrapper .b-stages--v4 .b-stages__step {
		grid-template-columns: 64px 1fr;
		column-gap: 20px;
	}
}

/* тонкая линия между номерами */
main.main-wrapper .b-stages--v4 .b-stages__step:not(:last-child)::after {
	content: "";
	position: absolute;
	left: 16px;
	top: 34px;
	bottom: -28px;
	width: 1px;
	background: #c9d2e6;
}
@media (min-width: 1024px) {
	main.main-wrapper .b-stages--v4 .b-stages__step:not(:last-child)::after {
		left: 20px;
		top: 38px;
		bottom: -36px;
	}
}

main.main-wrapper .b-stages--v4 .b-stages__num {
	font-variant-numeric: tabular-nums;
	font-weight: 600;
	font-size: 26px;
	line-height: 1;
	letter-spacing: -0.04em;
	color: var(--g-accent, #3356a3);
	opacity: 0.38;
	padding-top: 2px;
}
@media (min-width: 1024px) {
	main.main-wrapper .b-stages--v4 .b-stages__num {
		font-size: 32px;
	}
}

main.main-wrapper .b-stages--v4 .b-stages__body {
	min-width: 0;
}
main.main-wrapper .b-stages--v4 .b-stages__name {
	margin: 0;
	color: var(--g-black, #1d1d1d);
	font-weight: 600;
	font-size: 18px;
	line-height: 24px;
}
@media (min-width: 1024px) {
	main.main-wrapper .b-stages--v4 .b-stages__name {
		font-size: 20px;
		line-height: 26px;
	}
}
main.main-wrapper .b-stages--v4 .b-stages__text {
	margin: 8px 0 0;
	font-size: 16px;
	line-height: 22px;
	color: var(--g-text, #595959);
}

/* —— Что мы делаем и лечим: обводка слева, тень на активном, панель справа —— */
main.main-wrapper .b-gastro-scope {
	--scope-accent: var(--g-accent, #3356a3);
	--scope-soft: rgba(51, 86, 163, 0.07);
	--scope-hover: #f9f9f9;
	--scope-line: #e8e8e8;
	--scope-shadow: 2px 4px 24px 0 rgba(188, 188, 188, 0.14);
	/* тень карточки героя врача: .b-page-header__content / .b-page-header-v2__content */
	--scope-shadow-active: 0 4px 48px 0 rgba(0, 35, 112, 0.12);
	--scope-radius: 24px;
}

main.main-wrapper .b-gastro-scope__tab {
	appearance: none;
	width: 100%;
	margin: 0;
	padding: 22px 24px 22px 76px;
	border: 1px solid var(--scope-line);
	border-radius: var(--scope-radius);
	background: #fff;
	text-align: left;
	cursor: pointer;
	font: inherit;
	color: inherit;
	position: relative;
	box-shadow: none;
	transition: background-color 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
main.main-wrapper .b-gastro-scope__tab:focus {
	outline: none;
}
main.main-wrapper .b-gastro-scope__tab:focus-visible {
	outline: 2px solid var(--scope-accent);
	outline-offset: 2px;
	z-index: 2;
}
main.main-wrapper .b-gastro-scope__tab:not(.is-active):hover {
	background: var(--scope-hover);
}
main.main-wrapper .b-gastro-scope__tab.is-active,
main.main-wrapper .b-gastro-scope__tab[aria-selected="true"] {
	background: #fff;
	border-color: transparent;
	box-shadow: var(--scope-shadow-active);
	z-index: 1;
}
main.main-wrapper .b-gastro-scope__title {
	display: block;
	margin: 0;
	color: var(--g-black, #1d1d1d);
	font-weight: 600;
	font-size: 18px;
	line-height: 24px;
}
main.main-wrapper .b-gastro-scope__tab.is-active .b-gastro-scope__title,
main.main-wrapper .b-gastro-scope__tab[aria-selected="true"] .b-gastro-scope__title {
	color: var(--scope-accent);
}
main.main-wrapper .b-gastro-scope__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 10px;
}
main.main-wrapper .b-gastro-scope__tags span {
	font-size: 13px;
	line-height: 16px;
	background: #f7f8fc;
	color: var(--scope-accent);
	padding: 4px 10px;
	border-radius: 10px;
}

/* мобильный аккордеон в той же линейной обводке */
@media (max-width: 1023.98px) {
	main.main-wrapper .b-gastro-scope {
		display: grid;
		grid-template-columns: 1fr;
		gap: 8px 0;
		background: none;
		border-radius: 0;
		overflow: visible;
	}
	main.main-wrapper .b-gastro-scope__nav,
	main.main-wrapper .b-gastro-scope__stage {
		display: contents;
	}
	main.main-wrapper .b-gastro-scope__tab:nth-of-type(1) { grid-row: 1; }
	main.main-wrapper .b-gastro-scope__panel:nth-of-type(1) { grid-row: 2; }
	main.main-wrapper .b-gastro-scope__tab:nth-of-type(2) { grid-row: 3; }
	main.main-wrapper .b-gastro-scope__panel:nth-of-type(2) { grid-row: 4; }
	main.main-wrapper .b-gastro-scope__tab:nth-of-type(3) { grid-row: 5; }
	main.main-wrapper .b-gastro-scope__panel:nth-of-type(3) { grid-row: 6; }
	main.main-wrapper .b-gastro-scope__tab:nth-of-type(4) { grid-row: 7; }
	main.main-wrapper .b-gastro-scope__panel:nth-of-type(4) { grid-row: 8; }
	main.main-wrapper .b-gastro-scope__tab:nth-of-type(5) { grid-row: 9; }
	main.main-wrapper .b-gastro-scope__panel:nth-of-type(5) { grid-row: 10; }

	main.main-wrapper .b-gastro-scope__tab {
		padding: 24px 28px 24px 76px;
	}
	main.main-wrapper .b-gastro-scope__tab.is-active {
		margin-bottom: 0;
		border-color: transparent;
		border-bottom-left-radius: 0;
		border-bottom-right-radius: 0;
		box-shadow: var(--scope-shadow-active);
	}
	main.main-wrapper .b-gastro-scope__tab::after {
		content: "";
		position: absolute;
		right: 20px;
		top: 28px;
		width: 7px;
		height: 7px;
		border-right: 1.5px solid var(--scope-accent);
		border-bottom: 1.5px solid var(--scope-accent);
		transform: rotate(45deg);
		opacity: 0.7;
		transition: transform 200ms ease;
	}
	main.main-wrapper .b-gastro-scope__tab.is-active::after {
		top: 30px;
		transform: rotate(-135deg);
		opacity: 1;
	}
	main.main-wrapper .b-gastro-scope__panel {
		display: grid;
		grid-template-rows: 0fr;
		margin: 0;
		padding: 0 20px;
		background: #fff;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		transition: grid-template-rows 280ms ease;
	}
	main.main-wrapper .b-gastro-scope__panel.is-active {
		grid-template-rows: 1fr;
		padding: 16px 24px 24px;
		border: 0;
		border-radius: 0 0 var(--scope-radius) var(--scope-radius);
		box-shadow: var(--scope-shadow-active);
		margin-top: -8px;
	}
	main.main-wrapper .b-gastro-scope__panel-inner {
		overflow: hidden;
		min-height: 0;
	}
	main.main-wrapper .b-gastro-scope__panel .b-gastro-scope__services {
		overflow: visible;
		min-height: 0;
	}
}

@media (min-width: 1024px) {
	main.main-wrapper .b-gastro-scope {
		display: grid;
		grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
		column-gap: 20px;
		align-items: start;
	}
	main.main-wrapper .b-gastro-scope__nav {
		display: flex;
		flex-direction: column;
		gap: 8px;
		align-self: start;
		background: none;
		border-radius: 0;
		overflow: visible;
	}
	main.main-wrapper .b-gastro-scope__tab {
		padding: 28px 40px 28px 116px;
	}
	main.main-wrapper .b-gastro-scope__tab.is-active::after,
	main.main-wrapper .b-gastro-scope__tab[aria-selected="true"]::after {
		content: "";
		position: absolute;
		right: 16px;
		top: 50%;
		width: 7px;
		height: 7px;
		border-right: 1.5px solid var(--scope-accent);
		border-top: 1.5px solid var(--scope-accent);
		transform: translateY(-50%) rotate(45deg);
	}
	main.main-wrapper .b-gastro-scope__title {
		font-size: 18px;
		line-height: 24px;
	}
	main.main-wrapper .b-gastro-scope__stage {
		align-self: start;
		position: sticky;
		top: 120px;
		background: var(--scope-soft);
		border-radius: var(--scope-radius);
		min-width: 0;
	}
	main.main-wrapper .b-gastro-scope__panel {
		display: none;
		padding: 40px 40px 16px;
		background: transparent;
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		position: static;
		width: auto;
		min-height: 0;
		border: 0;
		box-shadow: none;
	}
	main.main-wrapper .b-gastro-scope__panel.is-active {
		display: block;
		animation: gastro-scope-fade 220ms ease;
	}
}

@keyframes gastro-scope-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

main.main-wrapper .b-gastro-scope__panel-inner > .b-gastro-scope__text {
	margin: 0;
	font-size: 16px;
	line-height: 22px;
	color: var(--g-text, #595959);
}
main.main-wrapper .b-gastro-scope__panel-inner > .b-gastro-scope__tags {
	margin: 14px 0 0;
}
main.main-wrapper .b-gastro-scope__panel-inner > .b-gastro-scope__tags span {
	background: #fff;
}
/* зазор и разделитель между вступлением/тегами и списком услуг */
main.main-wrapper .b-gastro-scope__panel-inner > .b-gastro-scope__tags + .b-gastro-scope__services,
main.main-wrapper .b-gastro-scope__panel-inner > .b-gastro-scope__text + .b-gastro-scope__services {
	margin-top: 24px;
	border-top: 1px solid var(--scope-line);
}

main.main-wrapper .b-gastro-scope__services {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0;
}
main.main-wrapper .b-gastro-scope__services li {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid var(--scope-line);
	color: var(--g-text, #595959);
}
main.main-wrapper .b-gastro-scope__services li:last-child {
	border-bottom: 0;
}
main.main-wrapper .b-gastro-scope__services a,
main.main-wrapper .b-gastro-scope__services li > b {
	display: block;
	padding: 14px 0;
	color: var(--g-black, #1d1d1d);
	text-decoration: none;
}
main.main-wrapper .b-gastro-scope__services a {
	padding-right: 28px;
	position: relative;
}
main.main-wrapper .b-gastro-scope__services li > b {
	padding-bottom: 2px;
}
main.main-wrapper .b-gastro-scope__services li > b + span {
	display: block;
	padding: 0 0 14px;
}
main.main-wrapper .b-gastro-scope__services a::after {
	content: "";
	position: absolute;
	right: 2px;
	top: 20px;
	width: 7px;
	height: 7px;
	border-right: 1.5px solid var(--scope-accent);
	border-top: 1.5px solid var(--scope-accent);
	transform: rotate(45deg);
	opacity: 0.55;
	transition: opacity 160ms ease, transform 160ms ease;
}
main.main-wrapper .b-gastro-scope__services a:hover::after,
main.main-wrapper .b-gastro-scope__services a:focus-visible::after {
	opacity: 1;
	transform: rotate(45deg) translate(1px, -1px);
}
main.main-wrapper .b-gastro-scope__services b {
	display: block;
	color: var(--g-black, #1d1d1d);
	font-weight: 600;
	font-size: 16px;
	line-height: 22px;
	margin-bottom: 2px;
}
main.main-wrapper .b-gastro-scope__services a:hover b,
main.main-wrapper .b-gastro-scope__services a:focus-visible b {
	color: var(--scope-accent);
}
main.main-wrapper .b-gastro-scope__services span {
	display: block;
	font-size: 14px;
	line-height: 20px;
}
main.main-wrapper .b-gastro-scope__services a {
	text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
	main.main-wrapper .b-gastro-scope__panel,
	main.main-wrapper .b-gastro-scope__tab,
	main.main-wrapper .b-gastro-scope__tab::after,
	main.main-wrapper .b-gastro-scope__services a::after,
	main.main-wrapper .b-gastro-scope__panel.is-active {
		transition: none;
		animation: none;
	}
}


/* —— Органы в табах, типографика широких экранов, ссылка в панели, слайдер врачей —— */
main.main-wrapper .b-gastro-scope__tab {
	display: block;
	overflow: hidden;
	text-align: left;
}
main.main-wrapper .b-gastro-scope__organ {
	position: absolute;
	left: -40px;
	right: auto;
	top: 0;
	bottom: 0;
	z-index: 0;
	width: 96px;
	height: 100%;
	object-fit: cover;
	object-position: center;
	pointer-events: none;
	background: transparent;
	opacity: 0.2;
	transform: none;
}
/* тонкая трубка пищевода иначе почти пропадает на белом — чуть плотнее */
main.main-wrapper #tab-esophagus .b-gastro-scope__organ {
	opacity: 0.34;
}
main.main-wrapper .b-gastro-scope__body {
	position: relative;
	z-index: 1;
	display: block;
	min-width: 0;
}
main.main-wrapper .b-gastro-scope__title {
	text-wrap: balance;
}
@media (min-width: 1024px) {
	main.main-wrapper .b-gastro-scope__tab {
		padding: 28px 40px 28px 116px;
	}
	main.main-wrapper .b-gastro-scope__organ {
		width: 140px;
		height: 100%;
		left: -52px;
		top: 0;
		bottom: 0;
	}
}
@media (min-width: 1280px) {
	main.main-wrapper .b-gastro-scope__title {
		font-size: 20px;
		line-height: 26px;
	}
	main.main-wrapper .b-gastro-scope__tags span {
		font-size: 15px;
		line-height: 20px;
		padding: 5px 11px;
	}
	main.main-wrapper .b-gastro-scope__services b {
		font-size: 20px;
		line-height: 26px;
		text-wrap: balance;
	}
	main.main-wrapper .b-gastro-scope__services span {
		font-size: 16px;
		line-height: 22px;
		max-width: 60ch;
		text-wrap: pretty;
	}
}
@media (min-width: 1440px) {
	main.main-wrapper .b-gastro-scope__tab {
		padding: 32px 44px 32px 128px;
	}
	main.main-wrapper .b-gastro-scope__organ {
		width: 160px;
		height: 100%;
		left: -56px;
		right: auto;
		top: 0;
		bottom: 0;
	}
	main.main-wrapper .b-gastro-scope__title {
		font-size: 22px;
		line-height: 28px;
	}
	main.main-wrapper .b-gastro-scope__tags span {
		font-size: 16px;
		line-height: 22px;
	}
	main.main-wrapper .b-gastro-scope__services b {
		font-size: 20px;
		line-height: 26px;
	}
	main.main-wrapper .b-gastro-scope__services span {
		font-size: 17px;
		line-height: 24px;
		max-width: 60ch;
	}
}

/* врачи: vibe-slider, лента выходит за край контейнера */
main.main-wrapper #doctors.b-gastro-docs {
	overflow-x: clip;
}
main.main-wrapper #doctors .container--content-block {
	overflow: visible;
}
main.main-wrapper #doctors .b-gastro-head {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
}
main.main-wrapper #doctors .b-gastro-docs__arrows {
	display: flex;
	gap: 8px;
	flex: none;
}
main.main-wrapper #doctors .b-gastro-docs__prev,
main.main-wrapper #doctors .b-gastro-docs__next {
	appearance: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid #e8e8e8;
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
	position: relative;
}
main.main-wrapper #doctors .b-gastro-docs__prev::after,
main.main-wrapper #doctors .b-gastro-docs__next::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 8px;
	height: 8px;
	border-right: 1.5px solid #3356a3;
	border-bottom: 1.5px solid #3356a3;
}
main.main-wrapper #doctors .b-gastro-docs__prev::after {
	transform: translate(-40%, -50%) rotate(135deg);
}
main.main-wrapper #doctors .b-gastro-docs__next::after {
	transform: translate(-60%, -50%) rotate(-45deg);
}
main.main-wrapper #doctors .b-gastro-docs__prev:hover,
main.main-wrapper #doctors .b-gastro-docs__next:hover,
main.main-wrapper #doctors .b-gastro-docs__prev:focus-visible,
main.main-wrapper #doctors .b-gastro-docs__next:focus-visible {
	border-color: #3356a3;
	outline: none;
}
main.main-wrapper #doctors .b-gastro-docs__prev.is-disabled,
main.main-wrapper #doctors .b-gastro-docs__next.is-disabled {
	opacity: 0.35;
	pointer-events: none;
}
main.main-wrapper #doctors .b-doc-list.col-3,
main.main-wrapper #doctors .b-doc-list {
	display: flex;
	grid-template-columns: none;
}
main.main-wrapper #doctors .vibe-slider > .b-doc-card {
	flex: 0 0 auto;
	width: calc((100% - var(--vibe-g, 0px) - var(--vibe-gr, 0px) - 32px) / 3);
	max-width: none;
	scroll-snap-align: start;
}
@media (max-width: 1023.98px) {
	main.main-wrapper #doctors .vibe-slider > .b-doc-card {
		width: calc(100% - var(--vibe-g, 0px) - var(--vibe-gr, 0px) - 36px);
	}
}
@media (min-width: 1024px) and (max-width: 1279.98px) {
	main.main-wrapper #doctors .vibe-slider > .b-doc-card {
		width: calc((100% - var(--vibe-g, 0px) - var(--vibe-gr, 0px) - 16px) / 2);
	}
}


/* —— Текстовые ссылки (навигация на другую страницу), не кнопки и не карточки —— */
main.main-wrapper .b-gastro-hero__ask a,
main.main-wrapper #symptoms a.b-gastro-alert__phone,
main.main-wrapper a.b-gastro-banner__link,
main.main-wrapper a.b-gastro-second__link,
main.main-wrapper a.b-gastro-head__link,
main.main-wrapper .b-gastro-contact__list a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
	text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
	opacity: 0.8;
	transition: opacity 0.2s ease, text-decoration-color 0.2s ease, color 0.2s ease;
}
main.main-wrapper .b-gastro-hero__ask a:hover,
main.main-wrapper .b-gastro-hero__ask a:focus-visible,
main.main-wrapper #symptoms a.b-gastro-alert__phone:hover,
main.main-wrapper #symptoms a.b-gastro-alert__phone:focus-visible,
main.main-wrapper a.b-gastro-banner__link:hover,
main.main-wrapper a.b-gastro-banner__link:focus-visible,
main.main-wrapper a.b-gastro-second__link:hover,
main.main-wrapper a.b-gastro-second__link:focus-visible,
main.main-wrapper a.b-gastro-head__link:hover,
main.main-wrapper a.b-gastro-head__link:focus-visible,
main.main-wrapper .b-gastro-contact__list a:hover,
main.main-wrapper .b-gastro-contact__list a:focus-visible {
	opacity: 1;
	text-decoration-color: currentColor;
}

/* organ watermark stays behind title, tags and chevron */
main.main-wrapper .b-gastro-scope__tab::after {
	z-index: 2;
}

/* Mobile only: keep the pre-organs1 offset (left -40px, cover, opacity 0.2 /
   0.34 esophagus). Slightly extend the box into the 20px gap before the text
   (padding-left 76px) and fade the right edge so the hard crop dissolves.
   The solid part still ends around the old 56px edge; the fade stays in the
   gap and does not run under the title/tags. Desktop unchanged. */
@media (max-width: 1023.98px) {
	main.main-wrapper .b-gastro-scope__organ {
		/* -40 + 114 = 74, 2px before the 76px text inset */
		width: 114px;
		-webkit-mask-image: linear-gradient(to right, #000 78%, transparent 100%);
		mask-image: linear-gradient(to right, #000 78%, transparent 100%);
	}
}


/* —— FORM + FOOTER v4 —— */
/* compact consultation card */
main.main-wrapper #appointment .b-feedback-form--new {
	padding: 24px 20px;
	border-radius: 24px;
	box-shadow: 0 4px 48px 0 rgba(0, 35, 112, 0.12);
	background: #fff;
}
@media (min-width: 1024px) {
	main.main-wrapper #appointment .b-feedback-form--new {
		padding: 32px;
		border-radius: 28px;
	}
}
main.main-wrapper #appointment .b-feedback-form__title {
	margin: 0 0 20px;
	color: #1d1d1d;
	font-weight: 600;
	font-size: 28px;
	line-height: 1.15;
	text-wrap: balance;
}
@media (min-width: 1024px) {
	main.main-wrapper #appointment .b-feedback-form__title {
		font-size: 38px;
		line-height: 1.15;
		margin-bottom: 24px;
	}
}
main.main-wrapper #appointment .b-form {
	gap: 14px;
}
main.main-wrapper #appointment .b-form__input-row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
}
@media (min-width: 1024px) {
	main.main-wrapper #appointment .b-form__input-row {
		grid-template-columns: 1fr 1fr;
		gap: 16px;
	}
}
main.main-wrapper #appointment .b-form__input-group label {
	gap: 6px;
}
main.main-wrapper #appointment .b-form__reqlabel {
	margin: 0;
	font-size: 13px;
	line-height: 16px;
	color: #6b6b6b;
}
/* no thick blue bar / bracket */
main.main-wrapper #appointment .b-form__input-group:has(input[required]) label::before {
	content: none;
	display: none;
}
main.main-wrapper #appointment .b-form__input-group input {
	width: 100%;
	height: 56px;
	box-sizing: border-box;
	margin: 0;
	padding: 16px 16px;
	border: 1px solid #e8e8e8;
	border-left: 1px solid #e8e8e8;
	border-radius: 14px;
	background-color: #f6f7fb;
	color: #1d1d1d;
	font-size: 16px;
	line-height: 22px;
	box-shadow: none;
	outline: none;
	transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}
main.main-wrapper #appointment .b-form__input-group input::placeholder {
	color: #b0b0b0;
}
main.main-wrapper #appointment .b-form__input-group input:hover {
	border-color: #d5d5d5;
}
main.main-wrapper #appointment .b-form__input-group input:focus,
main.main-wrapper #appointment .b-form__input-group input:focus-visible {
	border-color: #3356a3;
	background-color: #fff;
	box-shadow: 0 0 0 3px rgba(51, 86, 163, 0.18);
	outline: none;
}
/* consents — custom 18px checkbox, kill site Fontello sprite */
main.main-wrapper #appointment .b-form__input-check-container {
	margin-top: 4px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
main.main-wrapper #appointment .b-form__input-checkbox {
	padding: 0;
	align-items: flex-start;
	gap: 0;
}
main.main-wrapper #appointment .b-form__input-checkbox label {
	position: relative;
	padding-top: 0;
	flex-direction: row;
	align-items: flex-start;
	justify-content: flex-start;
}
main.main-wrapper #appointment .b-form__input-checkbox label input.b-form__checkbox,
main.main-wrapper #appointment .b-form__input-checkbox label input[type="checkbox"] {
	position: absolute;
	left: 0;
	top: 1px;
	width: 18px;
	height: 18px;
	margin: 0;
	padding: 0;
	opacity: 0;
	visibility: visible;
	cursor: pointer;
	z-index: 1;
	appearance: none;
	-webkit-appearance: none;
}
main.main-wrapper #appointment .b-form__input-checkbox label > span {
	box-sizing: border-box;
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	margin-top: 1px;
	border: 1px solid #d0d5e0;
	border-radius: 5px;
	background-color: #fff;
	background-image: none;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 10px 10px;
	color: transparent;
	font-size: 0;
	line-height: 0;
	overflow: hidden;
	cursor: pointer;
	transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
main.main-wrapper #appointment .b-form__input-checkbox label:hover > span,
main.main-wrapper #appointment .b-form__input-checkbox:hover label > span {
	border-color: #9aa3b5;
}
main.main-wrapper #appointment .b-form__input-checkbox label input:focus-visible + span {
	border-color: #3356a3;
	box-shadow: 0 0 0 3px rgba(51, 86, 163, 0.2);
	outline: none;
}
main.main-wrapper #appointment .b-form__input-checkbox label input:checked + span {
	background-color: #3356a3;
	border-color: #3356a3;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.2 6.2 4.8 8.8 9.8 3.2' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 10px 10px;
}
/* kill Fontello / old site check sprite */
main.main-wrapper #appointment .b-form__input-checkbox label span::before,
main.main-wrapper #appointment .b-form__input-checkbox label span::after,
main.main-wrapper #appointment .b-form__input-checkbox label input + span::before,
main.main-wrapper #appointment .b-form__input-checkbox label input + span::after,
main.main-wrapper #appointment .b-form__input-checkbox label input:checked + span::before,
main.main-wrapper #appointment .b-form__input-checkbox label input:checked + span::after {
	content: none !important;
	content: "" !important;
	display: none !important;
	background: none !important;
	border: 0 !important;
	font-size: 0 !important;
	width: 0 !important;
	height: 0 !important;
	overflow: hidden !important;
}
main.main-wrapper #appointment .b-form__check-text {
	padding-left: 10px;
	max-width: calc(100% - 26px);
	font-size: 13px;
	line-height: 18px;
	color: #6b6b6b;
}
@media (min-width: 1024px) {
	main.main-wrapper #appointment .b-form__check-text {
		font-size: 14px;
		line-height: 20px;
	}
}
main.main-wrapper #appointment .b-form__check-text a {
	color: #6b6b6b;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
	text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
	opacity: 0.8;
	transition: opacity 0.2s ease, text-decoration-color 0.2s ease, color 0.2s ease;
}
main.main-wrapper #appointment .b-form__check-text a:hover,
main.main-wrapper #appointment .b-form__check-text a:focus-visible {
	opacity: 1;
	color: #3356a3;
	text-decoration-color: currentColor;
}
/* submit */
main.main-wrapper #appointment .b-form__input-group--btn-group {
	margin: 0;
}
main.main-wrapper #appointment .b-form__submit-btn.btn-fill,
main.main-wrapper #appointment .b-form__submit-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 56px;
	margin-top: 6px;
	padding: 16px 24px;
	border: none;
	border-radius: 8px;
	background-color: #3356a3;
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.3;
	box-shadow: none;
	opacity: 1;
	transition: background-color 0.2s ease, opacity 0.2s ease;
}
main.main-wrapper #appointment .b-form__submit-btn:hover:not(:disabled),
main.main-wrapper #appointment .b-form__submit-btn:focus-visible:not(:disabled) {
	background-color: #2a4788;
	color: #fff;
	opacity: 1;
}
main.main-wrapper #appointment .b-form__submit-btn:disabled,
main.main-wrapper #appointment .b-form__submit-btn.disabled {
	background-color: #8fa3ce;
	color: #fff;
	opacity: 1;
	cursor: not-allowed;
}

/* —— compact footer —— */
footer.footer.b-gastro-footer {
	background: #fff;
	color: #1d1d1d;
	padding-top: 0;
}
footer.footer.b-gastro-footer > .container.b-gastro-footer__wrap,
footer.footer.b-gastro-footer .b-gastro-footer__wrap {
	display: flex;
	flex-direction: column;
	gap: 0;
	padding-top: 48px;
	padding-bottom: 40px;
	width: 100%;
}
@media (min-width: 1024px) {
	footer.footer.b-gastro-footer .b-gastro-footer__wrap {
		padding-top: 48px;
		padding-bottom: 48px;
	}
}

/* Row 1: logos + city; row 2: 5 aligned heading columns */
footer.footer.b-gastro-footer .b-gastro-footer__top {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	align-items: start;
	padding-bottom: 48px;
}
@media (min-width: 640px) and (max-width: 1023.98px) {
	footer.footer.b-gastro-footer .b-gastro-footer__top {
		grid-template-columns: 1fr 1fr;
		column-gap: 24px;
		row-gap: 32px;
	}
	footer.footer.b-gastro-footer .footer-menu {
		grid-column: 1 / -1;
	}
}
@media (min-width: 1024px) {
	footer.footer.b-gastro-footer .b-gastro-footer__top {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		grid-template-rows: auto auto auto;
		column-gap: 24px;
		row-gap: 0;
		align-items: start;
	}
}
footer.footer.b-gastro-footer .b-gastro-footer__logo-cell {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
footer.footer.b-gastro-footer .b-gastro-footer__logo-cell .logo-link,
footer.footer.b-gastro-footer .info-item .logo-link {
	display: inline-flex;
	align-items: center;
	margin: 0 0 12px;
	max-width: 100%;
}
footer.footer.b-gastro-footer .b-gastro-footer__logo-cell .logo-image,
footer.footer.b-gastro-footer .info-item .logo-image {
	height: 32px;
	width: auto;
	max-width: 100%;
	display: block;
	object-fit: contain;
	object-position: left center;
}
footer.footer.b-gastro-footer .b-gastro-footer__city {
	margin: 0 0 24px;
	font-size: 13px;
	line-height: 18px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #8a8a8a;
}
footer.footer.b-gastro-footer .b-gastro-footer__city--spacer {
	visibility: hidden;
	pointer-events: none;
	user-select: none;
}
footer.footer.b-gastro-footer .info-item {
	border: none;
	border-radius: 0;
	padding: 0;
	background: none;
	box-shadow: none;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	gap: 0;
	width: 100%;
	min-width: 0;
}
footer.footer.b-gastro-footer .b-gastro-footer__details {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	min-width: 0;
}
footer.footer.b-gastro-footer .info-item .item-part {
	margin: 0;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	gap: 4px;
	width: 100%;
	flex: none;
}
footer.footer.b-gastro-footer .info-item .address,
footer.footer.b-gastro-footer .info-item a.address,
footer.footer.b-gastro-footer .footer-column .column-title {
	display: block;
	margin: 0 0 12px;
	padding: 0;
	font-size: 16px;
	line-height: 22px;
	font-weight: 600;
	font-style: normal;
	color: #1d1d1d;
	text-decoration: none;
	opacity: 1;
}
footer.footer.b-gastro-footer .info-item a.address:hover,
footer.footer.b-gastro-footer .info-item a.address:focus-visible {
	color: #3356a3;
	text-decoration: none;
}
footer.footer.b-gastro-footer .info-item .part-title {
	display: block;
	margin: 0;
	font-size: 13px;
	line-height: 18px;
	font-weight: 400;
	color: #8a8a8a;
}
footer.footer.b-gastro-footer .info-item .time,
footer.footer.b-gastro-footer .info-item .item-part a,
footer.footer.b-gastro-footer .info-item .item-part .value {
	display: block;
	margin: 0;
	font-size: 15px;
	line-height: 20px;
	color: #1d1d1d;
	text-decoration: none;
	font-style: normal;
	font-weight: 400;
}
footer.footer.b-gastro-footer .info-item .item-part a {
	color: #3356a3;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
	text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
	opacity: 0.8;
}
footer.footer.b-gastro-footer .info-item .item-part a:hover,
footer.footer.b-gastro-footer .info-item .item-part a:focus-visible {
	opacity: 1;
	text-decoration-color: currentColor;
}
footer.footer.b-gastro-footer .info-item .item-part a.address,
footer.footer.b-gastro-footer .info-item a.address {
	font-size: 16px;
	line-height: 22px;
	font-weight: 600;
	color: #1d1d1d;
	text-decoration: none;
	opacity: 1;
}
footer.footer.b-gastro-footer .info-item .item-part a.address:hover,
footer.footer.b-gastro-footer .info-item .item-part a.address:focus-visible,
footer.footer.b-gastro-footer .info-item a.address:hover,
footer.footer.b-gastro-footer .info-item a.address:focus-visible {
	color: #3356a3;
	text-decoration: none;
	opacity: 1;
}
footer.footer.b-gastro-footer .info-item .doc-link {
	display: inline-block;
	margin: 0;
	font-size: 13px;
	line-height: 18px;
	color: #6b6b6b;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
	text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
}
footer.footer.b-gastro-footer .info-item .doc-link:hover {
	color: #3356a3;
	text-decoration-color: currentColor;
}

/* Menu: 2-col on small screens; on desktop it joins the 12-col heading row */
footer.footer.b-gastro-footer .footer-menu {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	width: 100%;
	min-width: 0;
}
footer.footer.b-gastro-footer .footer-column__body {
	min-width: 0;
}

footer.footer.b-gastro-footer .footer-column ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
footer.footer.b-gastro-footer .footer-column a {
	font-size: 15px;
	line-height: 20px;
	color: #3d3d3d;
	text-decoration: none;
}
footer.footer.b-gastro-footer .footer-column a:hover,
footer.footer.b-gastro-footer .footer-column a:focus-visible {
	color: #3356a3;
}
footer.footer.b-gastro-footer .footer-survey-link {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	margin-top: 24px;
	width: 100%;
	max-width: 100%;
}
footer.footer.b-gastro-footer .footer-survey-link .minzdrav-image,
footer.footer.b-gastro-footer .footer-survey-link img {
	width: 48px;
	height: auto;
	flex: none;
	display: block;
}
footer.footer.b-gastro-footer .footer-survey-link .text-link {
	font-size: 13px;
	line-height: 18px;
	color: #6b6b6b;
	width: 100%;
}
footer.footer.b-gastro-footer .footer-survey-link .text-link a {
	display: inline-block;
	margin-top: 8px;
	color: #3356a3;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
	text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
}

/* Row 2: socials | badges | letter, one line, vertically centered */
footer.footer.b-gastro-footer .b-gastro-footer__bar {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	align-items: center;
	padding: 24px 0;
	border-top: 1px solid #e8e8e8;
}
@media (min-width: 1024px) {
	footer.footer.b-gastro-footer .b-gastro-footer__bar {
		grid-template-columns: 1fr auto 1fr;
		gap: 24px;
		padding: 32px 0;
	}
}
footer.footer.b-gastro-footer .social-list {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	justify-self: start;
}
footer.footer.b-gastro-footer .social-list a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 8px;
	background: #f6f7fb;
}
footer.footer.b-gastro-footer .download-block {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 16px 24px;
	margin: 0;
}
@media (min-width: 1024px) {
	footer.footer.b-gastro-footer .download-block {
		justify-content: center;
		justify-self: center;
		flex-wrap: nowrap;
		gap: 16px 36px;
	}
}
footer.footer.b-gastro-footer .download-block p {
	flex: 0 0 100%;
	margin: 0;
	font-size: 13px;
	line-height: 16px;
	color: #8a8a8a;
}
@media (min-width: 1024px) {
	footer.footer.b-gastro-footer .download-block p {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}
}
footer.footer.b-gastro-footer .download-link {
	display: inline-flex;
	align-items: center;
	line-height: 0;
}
footer.footer.b-gastro-footer .download-link .link-image {
	height: 40px;
	width: auto;
	display: block;
	filter: grayscale(1);
	opacity: 0.85;
}
footer.footer.b-gastro-footer .b-gastro-footer__bar .letter-link {
	margin: 0;
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	padding: 0;
	border: none;
	border-radius: 0;
	background: none;
	box-shadow: none;
	color: #3356a3;
	font-size: 15px;
	font-weight: 500;
	line-height: 20px;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
	text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
}
@media (min-width: 1024px) {
	footer.footer.b-gastro-footer .b-gastro-footer__bar .letter-link {
		justify-self: end;
		justify-content: flex-end;
		text-align: right;
	}
}
footer.footer.b-gastro-footer .b-gastro-footer__bar .letter-link:hover,
footer.footer.b-gastro-footer .b-gastro-footer__bar .letter-link:focus-visible {
	background: none;
	color: #002370;
	text-decoration-color: currentColor;
}

/* Row 3: legal + meta line */
footer.footer.b-gastro-footer .footer__copyright {
	padding: 24px 0 0;
	margin: 0;
	border-top: 1px solid #e8e8e8;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
@media (min-width: 1024px) {
	footer.footer.b-gastro-footer .footer__copyright {
		padding-top: 32px;
		gap: 20px;
	}
}
footer.footer.b-gastro-footer .b-gastro-footer__legal-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
	width: 100%;
	align-items: start;
}
@media (min-width: 1024px) {
	footer.footer.b-gastro-footer .b-gastro-footer__legal-grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		column-gap: 24px;
		row-gap: 0;
	}
	footer.footer.b-gastro-footer .b-gastro-footer__legal-col:first-child {
		grid-column: 1 / 7;
	}
	footer.footer.b-gastro-footer .b-gastro-footer__legal-col:last-child {
		grid-column: 7 / 13;
	}
}
footer.footer.b-gastro-footer .footer__copyright p,
footer.footer.b-gastro-footer .b-gastro-footer__legal-col p {
	margin: 0 0 8px;
	font-size: 13px;
	line-height: 20px;
	color: #8a8a8a;
	max-width: none;
}
footer.footer.b-gastro-footer .footer__copyright p:last-child,
footer.footer.b-gastro-footer .b-gastro-footer__legal-col p:last-child {
	margin-bottom: 0;
}
footer.footer.b-gastro-footer .footer__copyright a {
	color: #6b6b6b;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
	text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
}
footer.footer.b-gastro-footer .footer__copyright a:hover {
	color: #3356a3;
	text-decoration-color: currentColor;
}
footer.footer.b-gastro-footer .b-gastro-footer__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 24px;
	width: 100%;
}
footer.footer.b-gastro-footer .footer_links {
	margin: 0;
}
footer.footer.b-gastro-footer .footer_links a,
footer.footer.b-gastro-footer .bvi-open {
	font-size: 13px;
	line-height: 18px;
}
footer.footer.b-gastro-footer .payment-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin: 0;
}
footer.footer.b-gastro-footer .payment-row img,
footer.footer.b-gastro-footer .payment-row picture {
	height: 20px;
	width: auto;
	display: block;
}
footer.footer.b-gastro-footer .footer__copyright p.b-gastro-footer__age,
footer.footer.b-gastro-footer .b-gastro-footer__age {
	margin: 0 0 0 auto;
	max-width: none;
	font-size: 13px;
	line-height: 18px;
	color: #8a8a8a;
	white-space: nowrap;
}
@media (max-width: 1023.98px) {
	footer.footer.b-gastro-footer > .container.b-gastro-footer__wrap,
	footer.footer.b-gastro-footer .b-gastro-footer__wrap {
		padding-bottom: 160px;
	}
	footer.footer.b-gastro-footer .footer__copyright p.b-gastro-footer__age,
	footer.footer.b-gastro-footer .b-gastro-footer__age {
		margin: 0;
	}
	footer.footer.b-gastro-footer .b-gastro-footer__meta {
		justify-content: flex-start;
	}
}


/* —— ARTICLES + CONTACTS/LEAD SPLIT v4 —— */

/* Articles: cover still-lifes, equal-height cards, «Все статьи» on the right */
main.main-wrapper #articles .b-gastro-head {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	width: 100%;
}
@media (min-width: 1024px) {
	main.main-wrapper #articles .b-gastro-head {
		flex-direction: row;
		align-items: baseline;
		justify-content: space-between;
		gap: 24px;
	}
}
main.main-wrapper #articles .b-gastro-grid--4 {
	align-items: stretch;
}
main.main-wrapper .b-gastro-article {
	height: 100%;
	min-height: 0;
	padding: 16px 16px 20px;
	gap: 12px;
	background: #fff;
	box-sizing: border-box;
}
main.main-wrapper .b-gastro-article__cover {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 16px;
	background: #eef2fb;
}
main.main-wrapper .b-gastro-article b {
	text-wrap: balance;
}

/* Contacts: full-bleed evening sky, smaller building, shorter section */
main.main-wrapper .b-gastro-contacts {
	position: relative;
	overflow: hidden;
	color: #f4f8fc;
	background-color: #2a5478;
	padding: 40px 0 0;
	margin-bottom: 48px;
}
@media (min-width: 768px) {
	main.main-wrapper .b-gastro-contacts {
		margin-bottom: 64px;
	}
}
@media (min-width: 1024px) {
	main.main-wrapper .b-gastro-contacts {
		display: flex;
		align-items: center;
		min-height: 560px;
		height: 560px;
		padding: 40px 0;
		margin-bottom: 96px;
		background-image:
			linear-gradient(90deg, rgba(10, 28, 48, 0.42) 0%, rgba(10, 28, 48, 0.18) 34%, rgba(10, 28, 48, 0) 58%),
			url("img/facade-sky.webp");
		background-repeat: no-repeat;
		background-position: left center, right center;
		background-size: auto, cover;
	}
}
main.main-wrapper .b-gastro-contacts .container--content-block {
	position: relative;
	z-index: 1;
	width: 100%;
}
main.main-wrapper .b-gastro-contacts__info {
	max-width: 28.5rem;
}
main.main-wrapper .b-gastro-contacts .b-gastro-head__title {
	color: #f4f8fc;
	margin: 0 0 24px;
	max-width: none;
	text-wrap: balance;
}
@media (min-width: 1024px) {
	main.main-wrapper .b-gastro-contacts .b-gastro-head__title {
		margin-bottom: 28px;
	}
}
main.main-wrapper .b-gastro-contacts .b-gastro-contact__list {
	margin: 0;
	gap: 16px;
}
@media (min-width: 1024px) {
	main.main-wrapper .b-gastro-contacts .b-gastro-contact__list {
		gap: 16px;
	}
}
main.main-wrapper .b-gastro-contacts .b-gastro-contact__list dt {
	color: rgba(244, 248, 252, 0.7);
	font-weight: 400;
	margin-bottom: 4px;
}
main.main-wrapper .b-gastro-contacts .b-gastro-contact__list dd {
	color: #f4f8fc;
	font-weight: 500;
}
main.main-wrapper .b-gastro-contacts .b-gastro-contact__list a {
	color: #f4f8fc;
	font-weight: 500;
	opacity: 0.92;
}
main.main-wrapper .b-gastro-contacts .b-gastro-contact__list a:hover,
main.main-wrapper .b-gastro-contacts .b-gastro-contact__list a:focus-visible {
	color: #fff;
	opacity: 1;
}

/* mobile: extended facade under the texts, sky continues around it */
main.main-wrapper .b-gastro-contacts__photo {
	display: block;
	position: relative;
	z-index: 0;
	width: 100%;
	margin: 24px 0 0;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	object-position: center 30%;
	border: 0;
	border-radius: 0;
	mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 100%);
	-webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 100%);
}
@media (min-width: 1024px) {
	main.main-wrapper .b-gastro-contacts__photo {
		display: none;
	}
}
@media (max-width: 1023.98px) {
	main.main-wrapper .b-gastro-contacts {
		background-image: linear-gradient(180deg, #1d4568 0%, #2a5478 42%, #3a6d98 100%);
	}
}

/* Lead: one white card, form + admin photo fading into the card */
main.main-wrapper #appointment.b-gastro-lead {
	margin-bottom: 48px;
}
@media (min-width: 768px) {
	main.main-wrapper #appointment.b-gastro-lead {
		margin-bottom: 64px;
	}
}
@media (min-width: 1024px) {
	main.main-wrapper #appointment.b-gastro-lead {
		margin-bottom: 96px;
	}
}
main.main-wrapper .b-gastro-lead__card {
	display: grid;
	grid-template-columns: 1fr;
	align-items: stretch;
	background: #fff;
	border-radius: 24px;
	box-shadow: 0 4px 48px 0 rgba(0, 35, 112, 0.12);
	overflow: hidden;
}
@media (min-width: 1024px) {
	main.main-wrapper .b-gastro-lead__card {
		grid-template-columns: 1fr 1fr;
		border-radius: 28px;
	}
}
main.main-wrapper #appointment.b-gastro-lead .b-feedback-form--new {
	padding: 28px 24px 28px;
	border-radius: 0;
	box-shadow: none;
	background: transparent;
	height: auto;
}
@media (min-width: 1024px) {
	main.main-wrapper #appointment.b-gastro-lead .b-feedback-form--new {
		padding: 48px;
	}
}
@media (min-width: 1280px) {
	main.main-wrapper #appointment.b-gastro-lead .b-feedback-form--new {
		padding: 56px;
	}
}
@media (min-width: 1440px) {
	main.main-wrapper #appointment.b-gastro-lead .b-feedback-form--new {
		padding: 68px;
	}
}
main.main-wrapper .b-gastro-lead__photo {
	position: relative;
	margin: 0;
	order: -1;
	overflow: hidden;
	background: #fff;
	box-shadow: none;
	border-radius: 0;
	min-height: 240px;
}
@media (min-width: 1024px) {
	main.main-wrapper .b-gastro-lead__photo {
		order: 0;
		min-height: 0;
		align-self: stretch;
	}
}
main.main-wrapper .b-gastro-lead__photo img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: center 8%;
	-webkit-mask-image: linear-gradient(to bottom, #000 48%, transparent 100%);
	mask-image: linear-gradient(to bottom, #000 48%, transparent 100%);
}
@media (min-width: 1024px) {
	main.main-wrapper .b-gastro-lead__photo img {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		aspect-ratio: auto;
		object-fit: cover;
		object-position: center 8%;
		-webkit-mask-image: linear-gradient(to right, transparent 0%, #000 28%);
		mask-image: linear-gradient(to right, transparent 0%, #000 28%);
	}
}
main.main-wrapper .b-gastro-lead__photo::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 42%, #fff 100%);
}
@media (min-width: 1024px) {
	main.main-wrapper .b-gastro-lead__photo::after {
		background: linear-gradient(to right, #fff 0%, rgba(255, 255, 255, 0.7) 12%, rgba(255, 255, 255, 0) 32%);
	}
}
main.main-wrapper #appointment.b-gastro-lead .b-feedback-form__title {
	margin: 0 0 16px;
}
@media (min-width: 1024px) {
	main.main-wrapper #appointment.b-gastro-lead .b-feedback-form__title {
		margin-bottom: 16px;
	}
}
main.main-wrapper #appointment .b-gastro-lead__text,
main.main-wrapper #appointment.b-gastro-lead .b-gastro-lead__text {
	margin: 0 0 40px;
	color: #4a4a4a;
	font-size: 15px;
	line-height: 22px;
	text-wrap: pretty;
}
@media (min-width: 1024px) {
	main.main-wrapper #appointment .b-gastro-lead__text,
	main.main-wrapper #appointment.b-gastro-lead .b-gastro-lead__text {
		margin: 0 0 40px;
		font-size: 16px;
		line-height: 24px;
	}
}
main.main-wrapper #appointment.b-gastro-lead .form-section__content {
	margin: 0;
	padding: 0;
}
main.main-wrapper #appointment.b-gastro-lead .b-form {
	gap: 0;
}
main.main-wrapper #appointment.b-gastro-lead .b-form__input-group label {
	gap: 10px;
}
main.main-wrapper #appointment.b-gastro-lead .b-form__input-check-container {
	margin-top: 28px;
	gap: 16px;
}
main.main-wrapper #appointment.b-gastro-lead .b-form__input-group--btn-group {
	margin: 32px 0 0;
}
main.main-wrapper #appointment.b-gastro-lead .b-form__submit-btn.btn-fill,
main.main-wrapper #appointment.b-gastro-lead .b-form__submit-btn {
	margin-top: 0;
}
main.main-wrapper .b-gastro-lead__or {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 24px 0;
	color: #8a8a8a;
	font-size: 13px;
	line-height: 16px;
}
main.main-wrapper .b-gastro-lead__or::before,
main.main-wrapper .b-gastro-lead__or::after {
	content: "";
	flex: 1 1 auto;
	height: 1px;
	background: #e8e8e8;
}
main.main-wrapper .b-gastro-lead__messengers {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
	width: 100%;
}
@media (min-width: 1024px) {
	main.main-wrapper .b-gastro-lead__messengers {
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}
}
main.main-wrapper #appointment a.b-gastro-lead__msg {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	box-sizing: border-box;
	margin: 0;
	padding: 12px 14px;
	border: 1px solid #e8e8e8;
	border-radius: 8px;
	background: transparent;
	background-color: transparent;
	color: #3356a3;
	font-weight: 500;
	font-size: 15px;
	line-height: 1.33;
	text-decoration: none;
	box-shadow: none;
	opacity: 1;
	transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}
@media (min-width: 1280px) {
	main.main-wrapper #appointment a.b-gastro-lead__msg {
		font-size: 16px;
		padding: 13px 16px;
	}
}
main.main-wrapper #appointment a.b-gastro-lead__msg::after {
	content: none;
}
main.main-wrapper #appointment a.b-gastro-lead__msg .b-gastro-lead__msg-icon {
	display: block;
	width: 20px;
	height: 20px;
	flex: none;
}
main.main-wrapper #appointment a.b-gastro-lead__msg:hover,
main.main-wrapper #appointment a.b-gastro-lead__msg:focus-visible {
	border-color: #3356a3;
	background: transparent;
	background-color: transparent;
	color: #3356a3;
	text-decoration: none;
	outline: none;
}


/* Desktop: logo row, then 5 heading columns on one baseline.
   display:contents must come AFTER .info-item {display:flex} and .footer-menu {display:grid}. */
@media (min-width: 1024px) {
	footer.footer.b-gastro-footer .info-item.b-gastro-footer__col--mars,
	footer.footer.b-gastro-footer .info-item.b-gastro-footer__col--kids,
	footer.footer.b-gastro-footer nav.footer-menu,
	footer.footer.b-gastro-footer .footer-column {
		display: contents;
	}
	footer.footer.b-gastro-footer .b-gastro-footer__col--mars .b-gastro-footer__logo-cell {
		grid-column: 1 / 4;
		grid-row: 1;
	}
	footer.footer.b-gastro-footer .b-gastro-footer__col--mars > a.address {
		grid-column: 1 / 4;
		grid-row: 2;
	}
	footer.footer.b-gastro-footer .b-gastro-footer__col--mars .b-gastro-footer__details {
		grid-column: 1 / 4;
		grid-row: 3;
	}
	footer.footer.b-gastro-footer .b-gastro-footer__col--kids .b-gastro-footer__logo-cell {
		grid-column: 4 / 7;
		grid-row: 1;
	}
	footer.footer.b-gastro-footer .b-gastro-footer__col--kids > a.address {
		grid-column: 4 / 7;
		grid-row: 2;
	}
	footer.footer.b-gastro-footer .b-gastro-footer__col--kids .b-gastro-footer__details {
		grid-column: 4 / 7;
		grid-row: 3;
	}
	footer.footer.b-gastro-footer .footer-column:nth-child(1) .column-title {
		grid-column: 7 / 9;
		grid-row: 2;
	}
	footer.footer.b-gastro-footer .footer-column:nth-child(1) .footer-column__body {
		grid-column: 7 / 9;
		grid-row: 3;
	}
	footer.footer.b-gastro-footer .footer-column:nth-child(2) .column-title {
		grid-column: 9 / 11;
		grid-row: 2;
	}
	footer.footer.b-gastro-footer .footer-column:nth-child(2) .footer-column__body {
		grid-column: 9 / 11;
		grid-row: 3;
	}
	footer.footer.b-gastro-footer .footer-column:nth-child(3) .column-title {
		grid-column: 11 / 13;
		grid-row: 2;
	}
	footer.footer.b-gastro-footer .footer-column:nth-child(3) .footer-column__body {
		grid-column: 11 / 13;
		grid-row: 3;
	}
}

/* Side gutters only on small/medium desktops, where the 1502px container
   would otherwise hug the window. 1024–1279: 48px; 1280–1439: 64px;
   1440–1649: 72px. From 1650px the original 1502px container + 15px padding
   already has natural side margins ≥ 72px — no extra padding, so 1920
   content width matches the pre-gutter site (1472px).
   Selectors beat compact-header build CSS (.b-header.b-header--compact …)
   which is injected after gastro-v4.css in the preview and resets 15px. */
@media (min-width: 1024px) and (max-width: 1279.98px) {
	html body { --page-gutter: 48px; }
}
@media (min-width: 1280px) and (max-width: 1439.98px) {
	html body { --page-gutter: 64px; }
}
@media (min-width: 1440px) and (max-width: 1649.98px) {
	html body { --page-gutter: 72px; }
}
@media (min-width: 1650px) {
	html body { --page-gutter: 15px; }
}
@media (min-width: 1024px) {
	html body .container,
	html body .container--content-block,
	html body .b-content-block .container,
	html body main.main-wrapper .container,
	html body footer.footer .container,
	html body header.b-header .header__top,
	html body header.b-header .header__bottom,
	html body .b-header .header__top,
	html body .b-header .header__bottom,
	html body header.b-header.b-header--compact .header__top,
	html body header.b-header.b-header--compact .header__bottom,
	html body header.b-header.b-header--compact.hide .header__bottom {
		padding-left: var(--page-gutter);
		padding-right: var(--page-gutter);
	}
	html body header.b-header.b-header--compact .header__bottom::before {
		left: var(--page-gutter);
		right: var(--page-gutter);
	}
}
/* Desktop nav bar (≥1201): full-width 1502 cap, padding = gutter (15px from 1650). */
@media (min-width: 1201px) {
	html body .b-header .header__bottom,
	html body header.b-header .header__bottom,
	html body header.b-header.b-header--compact .header__bottom {
		width: 100%;
		max-width: 1502px;
		box-sizing: border-box;
	}
}
/* Tablet bar uses the site's floating strip (originally calc(100% - 30px)).
   Pin its edges to the page gutter so it does not overflow or hug the window. */
@media (min-width: 1024px) and (max-width: 1200.98px) {
	html body .b-header .header__bottom,
	html body header.b-header .header__bottom,
	html body header.b-header.b-header--compact .header__bottom,
	html body header.b-header.b-header--compact.hide .header__bottom {
		width: calc(100% - 2 * var(--page-gutter));
		max-width: 1502px;
		margin-left: auto;
		margin-right: auto;
		padding-left: 16px;
		padding-right: 16px;
		box-sizing: border-box;
	}
}
/* Drawer is a child of the inset tablet bar, so its original 16px
   inner padding already sits ~64px from the window. Do not add another 48px. */
