body {
	background-color: #f5f5f5;
	margin-top: 0;
	padding-top: max(16px, env(safe-area-inset-top));
	padding-bottom: 110px;
	color: #5d5d5d;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.75);
	text-align: center;
}

h1 {
	font-size: 2.45em;
	font-weight: 700;
	color: #5d5d5d;
	letter-spacing: -0.02em;
	margin-bottom: 30px;
	margin-top: 30px;
}

.container {
	width: 100%;
	max-width: 520px;
	margin-right: auto;
	margin-left: auto;
	position: relative;
	padding: 10px 14px 0 14px;
	box-sizing: border-box;
}

.animate__animated {
	animation-duration: 1s;
	animation-fill-mode: both;
}

.animate__fadeIn {
	animation-name: fadeIn;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.warning {
	color: #2a76ad;
	fill: #2a76ad;
}

.icon-large {
	height: 132px;
	width: 132px;
}

.description-text {
	color: #707070;
	letter-spacing: -0.01em;
	font-size: 1.25em;
	line-height: 20px;
}

/* === Заголовок и Контакты === */
.hero-header {
	margin-top: 10px;
	margin-bottom: 20px;
}

.main-title {
	font-size: 2.1em;
	font-weight: 800;
	color: #1d5f8f;
	letter-spacing: -0.02em;
	margin-bottom: 6px;
	margin-top: 0;
	text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
}

.subtitle-text {
	color: #5d6d7a;
	font-size: 1.05em;
	margin: 0;
	line-height: 1.4;
	font-weight: 500;
	text-shadow: none;
}

/* === Кнопки связи (Telegram / WhatsApp) === */
.contact-buttons {
	display: flex;
	gap: 12px;
	margin-bottom: 20px;
}

.contact-btn {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 16px;
	border-radius: 14px;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	font-size: 1.05em;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.contact-btn svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
	flex: 0 0 auto;
	filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2));
}

.contact-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.contact-btn:active {
	transform: translateY(0);
}

.tg-btn {
	background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
}

.wa-btn {
	background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

/* === Форма захвата (Lead Capture) === */
.lead-card {
	background: #ffffff;
	border: 2px solid rgba(42, 118, 173, 0.25);
	border-radius: 20px;
	padding: 20px;
	margin-bottom: 26px;
	box-shadow: 0 10px 24px rgba(29, 95, 143, 0.15);
	text-align: left;
	text-shadow: none;
}

.form-group {
	margin-bottom: 12px;
}

.form-group input,
.form-group textarea {
	width: 100%;
	padding: 12px 14px;
	border: 2px solid #e2e8f0;
	border-radius: 12px;
	font-family: inherit;
	font-size: 0.95em;
	color: #2d3748;
	background: #f8fafc;
	box-sizing: border-box;
	outline: none;
	transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
	border-color: #2a76ad;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(42, 118, 173, 0.15);
}

.submit-btn {
	width: 100%;
	margin-top: 4px;
	border-radius: 12px;
	min-height: 48px;
}

.form-alert {
	margin-top: 14px;
	padding: 12px 14px;
	border-radius: 12px;
	font-size: 0.9em;
	font-weight: 600;
	text-align: center;
}

.alert-success {
	background: #e6fffa;
	color: #234e52;
	border: 1px solid #b2f5ea;
}

.alert-error {
	background: #fff5f5;
	color: #742a2a;
	border: 1px solid #feb2b2;
}

/* === Переключатель языков === */
.lang-switcher {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin-bottom: 14px;
}

.lang-btn {
	background: #fff;
	border: 2px solid #58a6d8;
	border-radius: 8px;
	padding: 6px 12px;
	cursor: pointer;
	font-weight: bold;
	color: #58a6d8;
	transition: all 0.2s ease;
}

.lang-btn.active {
	background: #1d5f8f;
	border-color: #1d5f8f;
	color: #fff;
}

/* === Кнопки «Фото / Видео / Specs» === */
.media-buttons {
	display: flex;
	gap: 10px;
	width: 100%;
	max-width: 520px;
	margin: 30px auto 0;
	box-sizing: border-box;
}

.sea-btn {
	flex: 1 1 0;
	min-width: 0;
	min-height: 56px;
	padding: 14px 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 0;
	border-radius: 16px;
	cursor: pointer;
	font: inherit;
	font-size: 1.05em;
	font-weight: 700;
	letter-spacing: 0.03em;
	color: #fff;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
	background: linear-gradient(180deg, #58a6d8 0%, #2a76ad 60%, #1d5f8f 100%);
	box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.35), inset 0 -3px 0 rgba(0, 0, 0, 0.22), 0 6px 14px rgba(29, 95, 143, 0.35);
	position: relative;
	overflow: hidden;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
	transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.2s ease;
}

.sea-btn::before {
	content: "";
	position: absolute;
	inset: 5px;
	border: 2px dashed rgba(255, 255, 255, 0.45);
	border-radius: 11px;
	pointer-events: none;
}

.sea-btn::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 14px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 20' preserveAspectRatio='none'%3E%3Cpath d='M0 12 Q15 4 30 12 T60 12 T90 12 T120 12 V20 H0 Z' fill='%23ffffff' fill-opacity='0.18'/%3E%3C/svg%3E") repeat-x bottom / 120px 14px;
	pointer-events: none;
}

.sea-btn svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
	flex: 0 0 auto;
	filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.3));
}

.sea-btn:active {
	transform: translateY(2px);
}

.sea-btn.active {
	background: linear-gradient(180deg, #1d5f8f 0%, #164a70 100%);
	box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.35), 0 2px 6px rgba(29, 95, 143, 0.3);
}

/* === Общий контейнер медиа === */
.media-frame {
	width: 100%;
	max-width: 520px;
	margin: 22px auto 0;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: 200px;
}

/* === Галереи (Фото и Видео) === */
.photo-gallery,
.video-gallery {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* === Главное медиа (Hero) === */
.photo-hero,
.video-hero {
	position: relative;
	width: 100%;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.photo-hero img,
.video-hero video {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 24px;
	border: 6px solid #ffffff;
	box-shadow: 0 14px 34px rgba(29, 95, 143, 0.35);
	box-sizing: border-box;
	transition: opacity 0.25s ease;
}

.video-hero video {
	max-height: 80vh;
	object-fit: contain;
	background: #000;
}

.photo-hero::before,
.video-hero::before {
	content: "";
	position: absolute;
	inset: -4px;
	border-radius: 28px;
	border: 3px solid rgba(255, 204, 51, 0.8);
	pointer-events: none;
	box-shadow: 0 0 24px rgba(255, 204, 51, 0.35);
	z-index: 2;
}

/* === Сетка превью (Thumbnails) === */
.photo-thumbnails,
.video-thumbnails-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	width: 100%;
	margin-top: 18px;
}

.photo-thumb,
.video-thumb {
	position: relative;
	cursor: pointer;
	border-radius: 14px;
	border: 3px solid #ffffff;
	box-shadow: 0 6px 16px rgba(29, 95, 143, 0.22);
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	-webkit-tap-highlight-color: transparent;
}

.photo-thumb {
	background: #fff;
	aspect-ratio: 1 / 1;
}

.video-thumb {
	background: #0e3a5c;
	aspect-ratio: 1 / 1;
}

.photo-thumb img,
.video-thumb video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.video-thumb video {
	background: #000;
}

.photo-thumb:active,
.video-thumb:active {
	transform: scale(0.95);
}

.photo-thumb.active,
.video-thumb.active {
	border-color: #ffcc33;
	box-shadow: 0 0 0 3px rgba(255, 204, 51, 0.6), 0 8px 20px rgba(29, 95, 143, 0.3);
}

/* === Элементы управления видео и иконки === */
.tech-open {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(29, 95, 143, 0.85);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	font-weight: 700;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	pointer-events: none;
	z-index: 3;
}

.video-thumb-play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.35) 100%);
	pointer-events: none;
	transition: background 0.2s ease;
}

.video-thumb:hover .video-thumb-play,
.video-thumb.active .video-thumb-play {
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.15) 100%);
}

.video-thumb-play svg {
	width: 32px;
	height: 32px;
	fill: #ffffff;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
	opacity: 0.9;
}

.video-thumb.active .video-thumb-play svg {
	opacity: 0.6;
}

.video-thumb-label {
	position: absolute;
	bottom: 6px;
	left: 6px;
	right: 6px;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	font-size: 0.7em;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 3px 7px;
	border-radius: 6px;
	text-align: center;
	pointer-events: none;
	backdrop-filter: blur(3px);
}

/* === Спецификация === */
.spec-sheet {
	width: 100%;
	text-align: left;
	text-shadow: none;
}

.spec-head {
	text-align: center;
	margin-bottom: 16px;
}

.tech-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: linear-gradient(135deg, #c92127 0%, #8b1619 100%);
	color: #fff;
	padding: 6px 14px;
	border-radius: 20px;
	font-size: 0.75em;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	box-shadow: 0 4px 12px rgba(201, 33, 39, 0.4);
	margin-bottom: 14px;
}

.tech-badge svg {
	width: 14px;
	height: 14px;
	fill: currentColor;
}

.spec-title {
	font-size: 1.5em;
	font-weight: 800;
	color: #1d5f8f;
	letter-spacing: -0.01em;
	margin: 0 0 4px;
	text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
}

.spec-subtitle {
	font-size: 0.78em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #8a9aa8;
	margin: 0;
}

.spec-intro {
	background: #fff;
	border-radius: 16px;
	border-left: 5px solid #2a76ad;
	padding: 14px 16px;
	font-size: 0.93em;
	line-height: 1.55;
	color: #5d6d7a;
	box-shadow: 0 6px 16px rgba(29, 95, 143, 0.12);
	margin: 0 0 18px;
}

.spec-intro strong {
	color: #1d5f8f;
}

.spec-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-bottom: 18px;
}

.spec-item {
	background: linear-gradient(180deg, #ffffff 0%, #f0f7fc 100%);
	border: 2px solid rgba(42, 118, 173, 0.25);
	border-radius: 14px;
	padding: 12px 10px;
	text-align: center;
	box-shadow: 0 4px 10px rgba(29, 95, 143, 0.1);
}

.spec-item.hot {
	background: linear-gradient(180deg, #fffdf2 0%, #fff3cf 100%);
	border-color: rgba(224, 185, 79, 0.75);
	box-shadow: 0 4px 12px rgba(224, 185, 79, 0.25);
}

.spec-value {
	display: block;
	font-size: 1.15em;
	font-weight: 800;
	color: #1d5f8f;
	line-height: 1.25;
}

.spec-item.hot .spec-value {
	color: #a3771a;
}

.spec-label {
	display: block;
	font-size: 0.66em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #8a9aa8;
	margin-top: 5px;
}

.spec-section {
	background: #fff;
	border: 2px solid rgba(42, 118, 173, 0.25);
	border-radius: 16px;
	box-shadow: 0 4px 12px rgba(29, 95, 143, 0.1);
	margin-bottom: 12px;
	overflow: hidden;
}

.spec-section summary {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 13px 14px;
	cursor: pointer;
	list-style: none;
	user-select: none;
	background: linear-gradient(180deg, #f8fbfe 0%, #eef5fa 100%);
	font-weight: 700;
	color: #1d5f8f;
	font-size: 0.95em;
	-webkit-tap-highlight-color: transparent;
}

.spec-section summary::-webkit-details-marker {
	display: none;
}

.spec-section[open] summary {
	border-bottom: 1px dashed rgba(42, 118, 173, 0.3);
}

.sec-icon {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: linear-gradient(180deg, #58a6d8 0%, #1d5f8f 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	flex: 0 0 auto;
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25);
}

.sec-title {
	flex: 1;
}

.sec-count {
	font-size: 0.7em;
	font-weight: 700;
	color: #2a76ad;
	background: rgba(42, 118, 173, 0.12);
	border-radius: 999px;
	padding: 3px 9px;
}

.chevron {
	color: #2a76ad;
	font-size: 0.9em;
	transition: transform 0.25s ease;
}

.spec-section[open] .chevron {
	transform: rotate(180deg);
}

.spec-list {
	list-style: none;
	margin: 0;
	padding: 6px 16px 14px;
}

.spec-list li {
	position: relative;
	padding: 7px 0 7px 22px;
	font-size: 0.86em;
	line-height: 1.45;
	color: #5d6d7a;
	border-bottom: 1px dashed rgba(42, 118, 173, 0.15);
}

.spec-list li:last-child {
	border-bottom: 0;
}

.spec-list li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 11px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 35%, #58a6d8, #1d5f8f);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.spec-list.checks li::before {
	content: "✓";
	width: auto;
	height: auto;
	background: none;
	box-shadow: none;
	border-radius: 0;
	color: #5aba47;
	font-weight: 800;
	font-size: 1.05em;
	top: 6px;
}

.spec-extras {
	background: linear-gradient(135deg, #fffdf2 0%, #fff3cf 100%);
	border: 2px dashed #e0b94f;
	border-radius: 16px;
	padding: 14px 16px;
	font-size: 0.88em;
	line-height: 1.55;
	color: #6d5a1e;
	margin-bottom: 12px;
	box-shadow: 0 4px 12px rgba(224, 185, 79, 0.2);
}

.spec-extras strong {
	color: #a3771a;
}

/* === Чертежи (Сетка внутри секции) === */
.spec-section .tech-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin: 4px 14px 14px;
	align-items: start;
}

.spec-section .tech-grid a {
	position: relative;
	display: block;
	border-radius: 16px;
	border: 4px solid #ffffff;
	box-shadow: 0 8px 20px rgba(29, 95, 143, 0.25);
	overflow: hidden;
	background: #fff;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	-webkit-tap-highlight-color: transparent;
}

.spec-section .tech-grid a:active {
	transform: scale(0.97);
}

.spec-section .tech-grid img {
	display: block;
	width: 100%;
	height: auto;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.spec-section .tech-grid .tech-open {
	top: 8px;
	right: 8px;
	width: 28px;
	height: 28px;
	font-size: 14px;
}

/* === Волны внизу экрана === */
.sea-wave {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	height: 72px;
	pointer-events: none;
}

.sea-wave svg {
	width: 100%;
	height: 100%;
	display: block;
}