/* ==========================================================================
   Новогодние корпоративы 2026 — АМАКС Конгресс-отель (Рязань)
   Все стили изолированы внутри .amx-ny, шрифт наследуется от сайта.
   ========================================================================== */

.amx-ny {
	--amx-bg: #322c2e;
	--amx-text: #fff;
	--amx-muted: rgba(255, 255, 255, .78);
	--amx-accent: #eeae57;
	--amx-accent-hover: #f6c27a;
	--amx-accent-text: #2b2224;
	--amx-radius: 12px;

	position: relative;
	display: block;
	width: 100%;
	margin: 0;
	padding: 0 0 80px;
	overflow: hidden;
	isolation: isolate;
	background: var(--amx-bg);
	color: var(--amx-text);
	font: inherit;
	font-size: 16px;
	line-height: 1.5;
	text-align: left;
	-webkit-text-size-adjust: 100%;
}

/* ---------- локальный сброс, чтобы стили сайта не протекали внутрь ----------
   Содержимое .amx-ny__form-slot (форма заявки) из сброса исключено. */
.amx-ny,
.amx-ny :where(:not(.amx-ny__form-slot *)),
.amx-ny :where(:not(.amx-ny__form-slot *))::before,
.amx-ny :where(:not(.amx-ny__form-slot *))::after {
	box-sizing: border-box;
}

.amx-ny :where(:not(.amx-ny__form-slot *)):is(div, p, h2, ul, li, dl, dt, dd, img, a, button) {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	float: none;
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	font-style: normal;
	line-height: inherit;
	letter-spacing: normal;
	text-transform: none;
	text-shadow: none;
	color: inherit;
}

.amx-ny :where(:not(.amx-ny__form-slot *)):is(li, h2, a)::before,
.amx-ny :where(:not(.amx-ny__form-slot *)):is(li, h2, a)::after {
	content: none;
}

.amx-ny :where(:not(.amx-ny__form-slot *)):is(button) {
	-webkit-appearance: none;
	appearance: none;
}

.amx-ny :where(:not(.amx-ny__form-slot *)):is(img) {
	display: block;
	max-width: 100%;
	height: auto;
}

/* ---------- снег ---------- */
.amx-ny .amx-ny__snow {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

/* ---------- баннер ---------- */
.amx-ny .amx-ny__banner {
	position: relative;
	z-index: 1;
}

.amx-ny .amx-ny__banner-img {
	width: 100%;
	height: auto;
}

/* ---------- общий контейнер ---------- */
.amx-ny .amx-ny__inner {
	position: relative;
	z-index: 1;
	max-width: 1160px;
	margin: 0 auto;
	padding: 0 24px;
}

.amx-ny .amx-ny__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 48px;
	margin-bottom: 72px;
}

.amx-ny .amx-ny__row--reverse .amx-ny__media {
	order: 2;
}

.amx-ny .amx-ny__photo {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: var(--amx-radius);
	box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
}

/* ---------- текст ---------- */
.amx-ny .amx-ny__text {
	font-size: 17px;
	line-height: 1.6;
}

.amx-ny .amx-ny__lead {
	margin-bottom: 24px;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.5;
}

.amx-ny .amx-ny__p {
	margin-bottom: 6px;
	color: var(--amx-muted);
}

.amx-ny .amx-ny__list {
	list-style: none;
}

.amx-ny .amx-ny__li {
	position: relative;
	padding-left: 18px;
	color: var(--amx-muted);
}

.amx-ny .amx-ny__li::before {
	content: "–";
	position: absolute;
	left: 0;
	top: 0;
}

/* ---------- кнопки ---------- */
.amx-ny .amx-ny__btns {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 40px;
}

.amx-ny .amx-ny__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 120px;
	min-height: 44px;
	padding: 10px 26px;
	border-radius: 8px;
	background: var(--amx-accent);
	color: var(--amx-accent-text);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s, transform .2s;
}

.amx-ny .amx-ny__btn:hover {
	background: var(--amx-accent-hover);
	color: var(--amx-accent-text);
	text-decoration: none;
	transform: translateY(-1px);
}

.amx-ny .amx-ny__btn:focus-visible,
.amx-ny .amx-ny__link:focus-visible,
.amx-ny .amx-ny__arrow:focus-visible,
.amx-ny .amx-ny__dot:focus-visible,
.amx-ny .amx-ny__track:focus-visible {
	outline: 2px solid var(--amx-accent);
	outline-offset: 3px;
}

/* ---------- форма ---------- */
.amx-ny .amx-ny__row--contacts {
	align-items: start;
}

.amx-ny .amx-ny__form-title {
	margin-bottom: 20px;
	font-size: 22px;
	font-weight: 400;
	line-height: 1.3;
}

.amx-ny .amx-ny__form-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 200px;
	padding: 24px;
	border: 2px dashed rgba(255, 255, 255, .35);
	border-radius: var(--amx-radius);
	color: rgba(255, 255, 255, .6);
	font-size: 16px;
	text-align: center;
}

/* ---------- контакты ---------- */
.amx-ny .amx-ny__contacts {
	text-align: center;
}

.amx-ny .amx-ny__contacts-title {
	margin-bottom: 22px;
	font-size: 18px;
	line-height: 1.4;
}

.amx-ny .amx-ny__dt {
	color: var(--amx-muted);
	font-size: 15px;
}

.amx-ny .amx-ny__dt--max {
	color: var(--amx-text);
	font-size: 19px;
	font-weight: 600;
	letter-spacing: .03em;
}

.amx-ny .amx-ny__dd {
	margin-bottom: 20px;
	font-size: 17px;
	font-weight: 600;
}

.amx-ny .amx-ny__dd:last-child {
	margin-bottom: 0;
}

.amx-ny .amx-ny__link {
	color: var(--amx-text);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
	transition: color .2s;
	overflow-wrap: anywhere;
}

.amx-ny .amx-ny__link--plain {
	text-decoration: none;
}

.amx-ny .amx-ny__link:hover {
	color: var(--amx-accent);
}

/* ---------- «Как это было» ---------- */
.amx-ny .amx-ny__title {
	margin: 16px 0 28px;
	font-size: 40px;
	font-weight: 500;
	line-height: 1.15;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: .02em;
}

.amx-ny .amx-ny__viewport {
	position: relative;
}

.amx-ny .amx-ny__track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	border-radius: var(--amx-radius);
	scrollbar-width: none;
	-ms-overflow-style: none;
	overscroll-behavior-x: contain;
}

.amx-ny .amx-ny__track::-webkit-scrollbar {
	display: none;
}

.amx-ny .amx-ny__slide {
	flex: 0 0 100%;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

.amx-ny .amx-ny__slide-img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.amx-ny .amx-ny__arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	width: 48px;
	height: 48px;
	margin-top: -24px;
	border-radius: 50%;
	background: rgba(50, 44, 46, .7);
	cursor: pointer;
	transition: background-color .2s;
}

.amx-ny .amx-ny__arrow::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 12px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
}

.amx-ny .amx-ny__arrow--prev {
	left: 16px;
}

.amx-ny .amx-ny__arrow--next {
	right: 16px;
}

.amx-ny .amx-ny__arrow--prev::before {
	transform: translate(-30%, -50%) rotate(-135deg);
}

.amx-ny .amx-ny__arrow--next::before {
	transform: translate(-70%, -50%) rotate(45deg);
}

.amx-ny .amx-ny__arrow:hover {
	background: var(--amx-accent);
}

.amx-ny .amx-ny__dots {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 20px;
}

.amx-ny .amx-ny__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .35);
	cursor: pointer;
	transition: background-color .2s, transform .2s;
}

.amx-ny .amx-ny__dot.is-active {
	background: var(--amx-accent);
	transform: scale(1.25);
}

/* ---------- адаптив ---------- */
@media (max-width: 900px) {
	.amx-ny .amx-ny__row {
		gap: 32px;
	}

	.amx-ny .amx-ny__lead {
		font-size: 17px;
	}

	.amx-ny .amx-ny__text {
		font-size: 16px;
	}
}

@media (max-width: 720px) {
	.amx-ny {
		padding-bottom: 56px;
	}

	.amx-ny .amx-ny__inner {
		margin-top: 16px;
		padding: 0 16px;
	}

	.amx-ny .amx-ny__row {
		grid-template-columns: 1fr;
		gap: 24px;
		margin-bottom: 56px;
	}

	.amx-ny .amx-ny__row--reverse .amx-ny__media {
		order: 0;
	}

	.amx-ny .amx-ny__btns {
		gap: 12px 16px;
	}

	.amx-ny .amx-ny__btn {
		flex: 1 1 0;
	}

	.amx-ny .amx-ny__title {
		font-size: 28px;
		margin-bottom: 20px;
	}

	.amx-ny .amx-ny__arrow {
		width: 38px;
		height: 38px;
		margin-top: -19px;
	}

	.amx-ny .amx-ny__arrow--prev {
		left: 8px;
	}

	.amx-ny .amx-ny__arrow--next {
		right: 8px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.amx-ny .amx-ny__track {
		scroll-behavior: auto;
	}
}


.formv2-holder .input-holder {
	max-width: 100%;
}