/* ===== Баннер в стиле главного слайдера baxi.ru ===== */
.guide-banner {
	position: relative;
	min-height: 480px;
	margin: 80px 0 40px; /* отступ сверху + отступ до блока подписки */
	background-color: #0b2a44;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	overflow: hidden;
}
.guide-banner--noimg {
	background-image: linear-gradient(120deg, #06203a 0%, #0d3b60 60%, #12507e 100%);
}
.guide-banner__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(5, 25, 45, .88) 0%, rgba(5, 25, 45, .55) 45%, rgba(5, 25, 45, .20) 100%);
}
.guide-banner__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	padding-top: 60px;
	padding-bottom: 60px;
}
.guide-banner__title-small {
	color: #fff;
	font-size: 20px;
	line-height: 1.4;
	font-weight: 400;
	margin-bottom: 10px;
}
.guide-banner__title-big {
	color: #fff;
	font-size: 44px;
	line-height: 1.25;
	font-weight: 700;
	max-width: 760px;
	margin-bottom: 30px;
}
.guide-banner__btn {
	display: inline-block;
	background: #29abe2;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 16px;
	line-height: 1;
	padding: 15px 36px;
	cursor: pointer;
	transition: background .2s ease;
}
.guide-banner__btn:hover { background: #1b93c9; }

/* ===== Модальные окна ===== */
.gb-modal {
	position: fixed;
	inset: 0;
	z-index: 3000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}
.gb-modal[hidden] { display: none; }
.gb-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(9, 30, 50, .55);
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
}
.gb-modal__dialog {
	position: relative;
	z-index: 1;
	background: #fff;
	border-radius: 18px;
	max-width: 600px;
	width: 100%;
	max-height: 92vh;
	overflow-y: auto;
	padding: 56px 48px 40px;
	box-shadow: 0 24px 80px rgba(6, 32, 56, .28);
}
/* акцентная линия сверху карточки */
.gb-modal__dialog::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 6px;
	background: linear-gradient(90deg, #29abe2, #00609b);
	border-radius: 18px 18px 0 0;
}
.gb-modal__close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f2f6f9;
	border: none;
	border-radius: 50%;
	color: #7a8a99;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	transition: background .2s, color .2s;
}
.gb-modal__close:hover { background: #e6eef4; color: #00609b; }

/* Заголовок строго в две строки */
.gb-modal__title {
	font-size: 20px;
	line-height: 1.35;
	font-weight: 700;
	color: #16324a;
	text-align: center;
	margin: 0 0 10px;
}
.gb-modal__subtitle {
	font-size: 16px;
	color: #7a8a99;
	text-align: center;
	margin: 0 0 30px;
}

/* ===== Форма в стиле promo.baxi.ru ===== */
.gb-form .gb-input {
	display: block;
	width: 100%;
	box-sizing: border-box;
	background: #f7f9fb;
	border: 1px solid #dfe7ee;
	border-radius: 10px;
	padding: 15px 18px;
	font-size: 16px;
	color: #33475b;
	outline: none;
	transition: border-color .2s, box-shadow .2s, background .2s;
}
.gb-form .gb-input::placeholder { color: #9aabbb; }
.gb-form .gb-input:focus {
	border-color: #29abe2;
	background: #fff;
	box-shadow: 0 0 0 4px rgba(41, 171, 226, .14);
}
.gb-form .gb-field { margin-bottom: 16px; }
.gb-form .gb-label {
	display: block;
	font-size: 15px;
	font-weight: 600;
	color: #40566b;
	margin: 2px 0 8px;
}
.gb-form select.gb-input { cursor: pointer; }
.gb-input--error { border-color: #d43d3d !important; }
.gb-field-error {
	display: none;
	color: #d43d3d;
	font-size: 13px;
	margin-top: 6px;
}
.gb-field-error--common {
	text-align: center;
	margin-top: 14px;
	font-size: 15px;
}
.gb-form__submit {
	width: 100%;
	background: linear-gradient(90deg, #0072bc 0%, #00609b 100%);
	color: #fff;
	border: none;
	border-radius: 12px;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: .3px;
	padding: 17px 10px;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(0, 96, 155, .25);
	transition: box-shadow .2s, transform .2s;
}
.gb-form__submit:hover {
	box-shadow: 0 10px 26px rgba(0, 96, 155, .35);
	transform: translateY(-1px);
}
.gb-form__submit:disabled {
	opacity: .6;
	cursor: default;
	transform: none;
	box-shadow: none;
}
.gb-consent {
	font-size: 13px;
	line-height: 1.6;
	color: #93a1af;
	text-align: center;
	margin: 20px 0 0;
}
.gb-consent a { color: #e8998d; text-decoration: none; }
.gb-consent a:hover { text-decoration: underline; }

/* ===== Модалка с готовым гайдом ===== */
.gb-modal__dialog--wide {
	max-width: 900px;
	padding: 0;
	overflow: hidden;
	background: #fff;
}
.gb-modal__dialog--wide iframe {
	display: block;
	width: 100%;
	height: 82vh;
	border: 0;
	background: #fff;
}
.gb-modal__dialog--wide .gb-modal__close {
	background: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}

body.gb-modal-open { overflow: hidden; }

/* ===== Адаптив ===== */
@media (max-width: 900px) {
	.guide-banner { min-height: 380px; margin: 36px 0 32px; }
	.guide-banner__title-big { font-size: 32px; }
}
@media (max-width: 600px) {
	.guide-banner { min-height: 320px; margin: 28px 0 24px; }
	.guide-banner__title-small { font-size: 16px; }
	.guide-banner__title-big { font-size: 26px; margin-bottom: 22px; }
	.gb-modal { padding: 14px; }
	.gb-modal__dialog { padding: 46px 22px 26px; border-radius: 14px; }
	.gb-modal__dialog::before { border-radius: 14px 14px 0 0; }
	.gb-modal__title { font-size: 20px; }
	.gb-modal__subtitle { font-size: 15px; margin-bottom: 22px; }
}
/* ===== Окно "Спасибо" ===== */
.gb-modal__dialog--thanks {
	text-align: center;
	padding: 60px 40px;
	max-width: 480px;
}
.gb-thanks__icon {
	width: 80px;
	height: 80px;
	background: #e6f7ee;
	color: #2ecc71;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 40px;
	margin: 0 auto 24px;
	font-weight: bold;
}
.gb-modal__dialog--thanks .gb-modal__title {
	margin-bottom: 16px;
}
.gb-modal__dialog--thanks .gb-modal__subtitle {
	margin-bottom: 0;
	color: #556677;
	font-size: 16px;
	line-height: 1.5;
}