/* Дополнительные стили: страницы документов, согласие в формах,
   ссылки на мессенджеры, плашка cookie. */

/* ---- Страницы «Политика конфиденциальности» и «Соглашение» ---- */
.legal-page {
	color: #fff;
	padding: 60px 90px 80px;
	font-family: 'Gotham Pro', Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
}
.legal-page h1 {
	font-family: RoadRadio, 'Gotham Pro', Arial, sans-serif;
	font-weight: 400;
	font-size: 40px;
	line-height: 1.2;
	margin: 0 0 30px;
	text-transform: uppercase;
}
.legal-page h2 {
	font-family: 'Gotham Pro', Arial, sans-serif;
	font-weight: 700;
	font-size: 20px;
	margin: 40px 0 12px;
	color: #ff2747;
}
.legal-page p {
	margin: 0 0 12px;
	max-width: 900px;
}
.legal-page ul {
	margin: 0 0 12px;
	padding-left: 22px;
	max-width: 900px;
	list-style: disc;
}
.legal-page li {
	margin-bottom: 6px;
}
.legal-page a {
	color: #ff2747;
	text-decoration: underline;
}
.legal-page__note {
	color: #999;
	font-size: 14px;
}
@media screen and (max-width: 1024px) {
	.legal-page { padding: 40px 30px 60px; }
	.legal-page h1 { font-size: 30px; }
}
@media screen and (max-width: 576px) {
	.legal-page { padding: 30px 15px 50px; font-size: 15px; }
	.legal-page h1 { font-size: 24px; }
	.legal-page h2 { font-size: 18px; }
}

/* ---- Галочка согласия в формах ---- */
.form-consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 14px 0 4px;
	font-size: 12px;
	line-height: 1.4;
	color: inherit;
	cursor: pointer;
	text-align: left;
}
.form-consent input[type="checkbox"] {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: #ff2747;
	cursor: pointer;
}
.form-consent a {
	color: inherit;
	text-decoration: underline;
}
.sidebar__form .form-consent input[type="checkbox"] {
	accent-color: #000;
}

/* ---- Ссылки на мессенджеры под кнопкой ---- */
.form-messengers {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 16px;
	font-size: 14px;
	color: inherit;
}
.form-messengers__link {
	display: inline-flex;
	color: inherit;
	transition: transform .2s ease, opacity .2s ease;
}
.form-messengers__link:hover {
	transform: scale(1.1);
	opacity: .9;
}
.form-messengers__icon {
	display: block;
	width: 32px;
	height: 32px;
	/* Иконка одного цвета с текстом формы: чёрная на красном фоне, белая на чёрном */
	background-color: currentColor;
	-webkit-mask: center / contain no-repeat;
	mask: center / contain no-repeat;
}
.form-messengers__icon--telegram {
	-webkit-mask-image: url(../assets/messengers/telegram.svg);
	mask-image: url(../assets/messengers/telegram.svg);
}
.form-messengers__icon--max {
	-webkit-mask-image: url(../assets/messengers/max.svg);
	mask-image: url(../assets/messengers/max.svg);
}

/* ---- Плашка cookie ---- */
.cookie-banner {
	position: fixed;
	left: 20px;
	right: 20px;
	bottom: 20px;
	z-index: 10000;
	max-width: 960px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 20px 24px;
	background: #111;
	color: #fff;
	border: 1px solid #ff2747;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
	font-family: 'Gotham Pro', Arial, sans-serif;
	font-size: 14px;
	line-height: 1.5;
}
.cookie-banner[hidden] {
	display: none;
}
.cookie-banner__text {
	flex: 1;
	margin: 0;
}
.cookie-banner__text a {
	color: #ff2747;
	text-decoration: underline;
}
.cookie-banner__buttons {
	display: flex;
	gap: 10px;
	flex-shrink: 0;
}
.cookie-banner__button {
	padding: 12px 22px;
	font-family: inherit;
	font-size: 14px;
	cursor: pointer;
	border: 1px solid #ff2747;
	background: transparent;
	color: #fff;
	transition: background .2s ease;
}
.cookie-banner__button--accept {
	background: #ff2747;
}
.cookie-banner__button:hover {
	background: #d91f3b;
}
@media screen and (max-width: 700px) {
	.cookie-banner {
		flex-direction: column;
		align-items: stretch;
		gap: 14px;
		left: 10px;
		right: 10px;
		bottom: 10px;
		padding: 16px;
		font-size: 13px;
	}
	.cookie-banner__buttons .cookie-banner__button {
		flex: 1;
	}
}

/* ---- Сообщения сайта (успешная отправка, ошибки) ---- */
.site-notice {
	position: fixed;
	inset: 0;
	z-index: 10001;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	font-family: 'Gotham Pro', Arial, sans-serif;
}
.site-notice[hidden] {
	display: none;
}
.site-notice__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .7);
	animation: site-notice-fade .2s ease;
}
.site-notice__box {
	position: relative;
	width: 100%;
	max-width: 440px;
	padding: 44px 40px 36px;
	background: #000;
	color: #fff;
	border-top: 4px solid #ff2747;
	box-shadow: 0 20px 50px rgba(0, 0, 0, .6);
	text-align: center;
	animation: site-notice-pop .25s ease;
}
.site-notice__close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 28px;
	height: 28px;
	border: 0;
	background: transparent;
	cursor: pointer;
}
.site-notice__close::before,
.site-notice__close::after {
	content: '';
	position: absolute;
	top: 13px;
	left: 4px;
	width: 20px;
	height: 2px;
	background: #fff;
	transform: rotate(45deg);
}
.site-notice__close::after {
	transform: rotate(-45deg);
}
.site-notice__icon {
	width: 56px;
	height: 56px;
	margin: 0 auto 20px;
	border-radius: 50%;
	border: 2px solid #ff2747;
	position: relative;
}
.site-notice--success .site-notice__icon::after {
	/* галочка */
	content: '';
	position: absolute;
	left: 19px;
	top: 12px;
	width: 12px;
	height: 22px;
	border: solid #ff2747;
	border-width: 0 3px 3px 0;
	transform: rotate(45deg);
}
.site-notice--error .site-notice__icon::after,
.site-notice--info .site-notice__icon::after {
	/* восклицательный знак */
	content: '!';
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ff2747;
	font-size: 30px;
	font-weight: 700;
	line-height: 1;
}
.site-notice__title {
	font-family: RoadRadio, 'Gotham Pro', Arial, sans-serif;
	font-size: 26px;
	line-height: 1.2;
	text-transform: uppercase;
	margin-bottom: 14px;
}
.site-notice__text {
	margin: 0 0 28px;
	font-size: 15px;
	line-height: 1.5;
	color: #ccc;
}
.site-notice__button {
	min-width: 180px;
	height: 52px;
	padding: 0 30px;
	border: 0;
	background: #ff2747;
	color: #fff;
	font-family: inherit;
	font-size: 16px;
	text-transform: uppercase;
	cursor: pointer;
	transition: background .2s ease;
}
.site-notice__button:hover {
	background: #d91f3b;
}
@keyframes site-notice-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}
@keyframes site-notice-pop {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: none; }
}
@media screen and (max-width: 576px) {
	.site-notice__box { padding: 40px 22px 28px; }
	.site-notice__title { font-size: 22px; }
}

/* Поле с ошибкой */
.contacts-input.is-invalid {
	border-color: #fff;
	box-shadow: 0 0 0 1px #fff;
}
.sidebar__form .contacts-input.is-invalid {
	border-color: #000;
	box-shadow: 0 0 0 1px #000;
}
.form-consent input.is-invalid {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

/* ---- Страницы Трейд-ин / Аренда / Сервис ---- */
.info-page {
	color: #fff;
	padding: 70px 90px 90px;
	font-family: 'Gotham Pro', Arial, sans-serif;
	font-size: 16px;
	line-height: 1.55;
}
.info-page h3 {
	font-family: 'Gotham Pro', Arial, sans-serif;
	font-weight: 700;
	font-size: 18px;
	line-height: 1.3;
	margin: 0 0 10px;
}
.info-page p {
	margin: 0;
}
.info-label {
	display: inline-block;
	margin-bottom: 18px;
	padding: 6px 12px;
	border: 1px solid #ff2747;
	color: #ff2747;
	font-size: 12px;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.info-hero {
	padding-bottom: 70px;
	border-bottom: 1px solid #333;
}
.info-hero__title {
	font-family: RoadRadio, 'Gotham Pro', Arial, sans-serif;
	font-weight: 400;
	font-size: 54px;
	line-height: 1.15;
	text-transform: uppercase;
	margin: 0 0 24px;
	max-width: 900px;
}
.info-hero__lead {
	max-width: 760px;
	color: #ccc;
	font-size: 18px;
	margin-bottom: 36px !important;
}
.info-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 60px;
	padding: 0 40px;
	background: #ff2747;
	color: #fff;
	font-size: 18px;
	text-transform: uppercase;
	transition: background .2s ease;
}
.info-button:hover {
	background: #d91f3b;
}
.info-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top: 50px;
}
.info-stat {
	border-left: 1px solid #ff2747;
	padding-left: 20px;
}
.info-stat__value {
	display: block;
	font-family: RoadRadio, 'Gotham Pro', Arial, sans-serif;
	font-size: 34px;
	line-height: 1.1;
	color: #ff2747;
	text-transform: uppercase;
	margin-bottom: 6px;
}
.info-stat__label {
	color: #aaa;
	font-size: 14px;
}
.info-section {
	padding: 70px 0;
	border-bottom: 1px solid #333;
}
.info-title {
	font-family: RoadRadio, 'Gotham Pro', Arial, sans-serif;
	font-weight: 400;
	font-size: 36px;
	line-height: 1.2;
	text-transform: uppercase;
	margin: 0 0 20px;
	max-width: 900px;
}
.info-text {
	max-width: 820px;
	color: #ccc;
	margin-bottom: 36px !important;
}
.info-cards {
	display: grid;
	gap: 20px;
}
.info-cards--2 { grid-template-columns: repeat(2, 1fr); }
.info-cards--3 { grid-template-columns: repeat(3, 1fr); }
.info-card {
	background: #111;
	border: 1px solid #2a2a2a;
	padding: 30px 28px;
	transition: border-color .2s ease;
}
.info-card:hover {
	border-color: #ff2747;
}
.info-card p {
	color: #bbb;
	font-size: 15px;
}
.info-card__num {
	display: block;
	font-family: RoadRadio, 'Gotham Pro', Arial, sans-serif;
	font-size: 40px;
	line-height: 1;
	color: #ff2747;
	margin-bottom: 20px;
}
.info-card__tag {
	display: block;
	color: #ff2747;
	font-size: 12px;
	letter-spacing: .08em;
	text-transform: uppercase;
	margin-bottom: 12px;
}
.info-card--product h3 {
	font-family: RoadRadio, 'Gotham Pro', Arial, sans-serif;
	font-weight: 400;
	font-size: 26px;
	text-transform: uppercase;
}
.info-card--product .info-list {
	margin-top: 20px;
}
.info-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: info-step;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
.info-steps li {
	counter-increment: info-step;
	position: relative;
	padding-top: 64px;
	border-top: 2px solid #ff2747;
}
.info-steps li::before {
	content: counter(info-step, decimal-leading-zero);
	position: absolute;
	top: 16px;
	left: 0;
	font-family: RoadRadio, 'Gotham Pro', Arial, sans-serif;
	font-size: 32px;
	line-height: 1;
	color: #ff2747;
}
.info-steps p {
	color: #bbb;
	font-size: 15px;
}
.info-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.info-list li {
	position: relative;
	padding-left: 30px;
	margin-bottom: 12px;
}
.info-list li::before {
	content: '';
	position: absolute;
	left: 2px;
	top: 4px;
	width: 7px;
	height: 13px;
	border: solid #ff2747;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.info-list--small li {
	font-size: 14px;
	color: #ccc;
	margin-bottom: 8px;
}
.info-section--split {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 40px;
	align-items: start;
}
.info-note {
	background: #ff2747;
	color: #fff;
	padding: 34px 30px;
}
.info-note h3 {
	font-family: RoadRadio, 'Gotham Pro', Arial, sans-serif;
	font-weight: 400;
	font-size: 24px;
	text-transform: uppercase;
	margin-bottom: 14px;
}
.info-price h3 {
	font-family: RoadRadio, 'Gotham Pro', Arial, sans-serif;
	font-weight: 400;
	font-size: 28px;
	text-transform: uppercase;
	margin-bottom: 24px;
}
.info-price__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px solid #2a2a2a;
}
.info-price__row strong {
	color: #ff2747;
	font-size: 22px;
	white-space: nowrap;
}
.info-price .info-list {
	margin-top: 24px;
}
.info-price--accent {
	border-color: #ff2747;
}
.info-table-wrap {
	overflow-x: auto;
}
.info-table {
	width: 100%;
	max-width: 820px;
	border-collapse: collapse;
}
.info-table th,
.info-table td {
	text-align: left;
	padding: 16px 20px;
	border-bottom: 1px solid #2a2a2a;
}
.info-table th {
	color: #ff2747;
	font-size: 13px;
	font-weight: 400;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.info-table td:nth-child(2) {
	color: #fff;
	font-weight: 700;
}
.info-table td:nth-child(3) {
	color: #999;
}
.info-tags {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.info-tags li {
	padding: 12px 20px;
	border: 1px solid #ff2747;
	font-size: 15px;
}

/* Форма заявки внизу страницы */
.info-form {
	margin-top: 70px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
	align-items: start;
	scroll-margin-top: 160px;
}
.info-form__title {
	font-family: RoadRadio, 'Gotham Pro', Arial, sans-serif;
	font-weight: 400;
	font-size: 36px;
	line-height: 1.2;
	text-transform: uppercase;
	margin: 0 0 20px;
}
.info-form__text {
	color: #ccc;
}
.info-form__row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
	margin-bottom: 10px;
}
.info-form .contacts-input {
	width: 100%;
	height: 60px;
}
.info-form .info-form__comment {
	height: auto;
	min-height: 100px;
	padding-left: 20px;
	resize: vertical;
	font-family: inherit;
}
.info-form__button {
	width: 100%;
	height: 60px;
	margin-top: 14px;
}

@media screen and (max-width: 1300px) {
	.info-cards--3 { grid-template-columns: repeat(2, 1fr); }
	.info-steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
	.info-form { grid-template-columns: 1fr; gap: 30px; }
}
@media screen and (max-width: 1024px) {
	.info-page { padding: 40px 30px 60px; }
	.info-hero__title { font-size: 40px; }
	.info-title, .info-form__title { font-size: 28px; }
	.info-section { padding: 50px 0; }
	.info-hero { padding-bottom: 50px; }
	.info-section--split { grid-template-columns: 1fr; }
}
@media screen and (max-width: 700px) {
	.info-page { padding: 30px 15px 50px; font-size: 15px; }
	.info-hero__title { font-size: 28px; }
	.info-hero__lead { font-size: 16px; }
	.info-title, .info-form__title { font-size: 24px; }
	.info-cards--2, .info-cards--3, .info-steps, .info-stats, .info-form__row { grid-template-columns: 1fr; }
	.info-stat__value { font-size: 28px; }
	.info-button { width: 100%; padding: 0 20px; font-size: 16px; }
	.info-price__row strong { font-size: 18px; }
	.info-table th, .info-table td { padding: 12px 10px; }
}

/* ---- Сайдбар: фокусные и второстепенные пункты ---- */
.content__sidebar .sidebar-service--focus,
.sidebar-service--focus {
	font-size: 26px !important;
	line-height: 1.2 !important;
	margin-bottom: 18px !important;
}
.content__sidebar .sidebar-service--secondary,
.sidebar-service--secondary {
	font-size: 15px !important;
	line-height: 1.3 !important;
	margin-bottom: 14px !important;
	opacity: .85;
}
.sidebar-service--secondary:hover {
	opacity: 1;
}
.sidebar-services-divider {
	display: block;
	width: 40px;
	height: 1px;
	background: currentColor;
	opacity: .5;
	margin: 8px 0 22px;
}
