/* ============================================================
   Sample-Request — «Оставьте заявку на подключение».
   Desktop 6661:5367 / Tablet 6245:9480 / Mobile 6245:9505
   ============================================================ */

.sample-request {
	--sr-bg: #c6ffb4;
	--sr-fg: #000;
	--sr-input-bg: #fff;
	--sr-input-border: rgba(150, 150, 150, 0.33);
	--sr-submit-bg: #000;
	--sr-radius-input: 28px;
	--sr-radius-submit: 18px;

	position: relative;
	width: 100%;
	background: var(--sr-bg);
	color: var(--sr-fg);
	padding: 16px 16px 16px;
	box-sizing: border-box;
}

.sample-request *,
.sample-request *::before,
.sample-request *::after {
	box-sizing: border-box;
}

.sample-request__inner {
	position: relative;
	width: min(100%, 1408px);
	margin: 0 auto;
	min-height: 464px;
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
}

/* === Badge Free === */
.sample-request__badge {
	position: absolute;
	left: 12px;
	top: 0;
	min-width: 132px;
	height: 51px;
	padding: 9px 30px 12px;
	background: #fff;
	border-radius: 66px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: 'Sofia Pro', 'Sofia Pro Regular', Inter, system-ui, -apple-system, sans-serif;
	font-weight: 400;
	font-size: 42px;
	line-height: 54px;
	letter-spacing: -0.05em;
	color: #000;
	white-space: nowrap;
}

/* === Title + bullets row === */
.sample-request__columns {
	position: relative;
	padding: 87px 12px 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 32px;
	align-items: start;
}

.sample-request__title {
	margin: 0;
	font-family: 'Sofia Pro', Inter, system-ui, -apple-system, sans-serif;
	font-weight: 400;
	font-size: 54px;
	line-height: 44px;
	letter-spacing: -0.05em;
	color: #000;
}

.sample-request__title span {
	display: block;
}

.sample-request__title span + span {
	margin-top: 0;
}

.sample-request__bullets {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.sample-request__bullet {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	height: 44px;
	color: #000;
}

.sample-request__bullet-icon {
	width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.sample-request__bullet-icon svg {
	width: 100%;
	height: 100%;
	display: block;
}

.sample-request__bullet-text {
	font-family: 'Sofia Pro', Inter, system-ui, -apple-system, sans-serif;
	font-weight: 500;
	font-size: 28px;
	line-height: 44px;
	letter-spacing: -0.05em;
	white-space: nowrap;
}

/* === Form row === */
.sample-request__form {
	margin-top: 52px;
	padding: 0 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.sample-request__hp {
	position: absolute !important;
	left: -10000px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
}

.sample-request__field {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	height: 122px;
	padding: 27px 18px 27px 4px;
	background: var(--sr-input-bg);
	border: 1.33px solid var(--sr-input-border);
	border-radius: var(--sr-radius-input);
}

.sample-request__input {
	flex: 1 1 auto;
	min-width: 0;
	background: transparent;
	border: 0;
	outline: none;
	padding: 0 16px;
	font-family: 'Sofia Pro', Inter, system-ui, -apple-system, sans-serif;
	font-weight: 400;
	font-size: 44px;
	line-height: 1;
	letter-spacing: -0.05em;
	color: #090909;
}

.sample-request__input::placeholder {
	color: #090909;
	opacity: 1;
}

.sample-request__submit {
	width: 84px;
	height: 84px;
	flex-shrink: 0;
	background: var(--sr-submit-bg);
	color: #fff;
	border: 0;
	border-radius: var(--sr-radius-submit);
	cursor: pointer;
	padding: 4px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.sample-request__submit svg {
	width: 76px;
	height: 76px;
	display: block;
}

.sample-request__submit:hover {
	transform: translateY(-1px);
	opacity: 0.92;
}

.sample-request__submit[disabled] {
	opacity: 0.5;
	cursor: wait;
	transform: none;
}

/* === Agreement checkbox === */
.sample-request__agreement {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	padding: 0;
}

.sample-request__agreement input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
	width: 0;
	height: 0;
}

.sample-request__agreement-box {
	width: 28px;
	height: 28px;
	border-radius: 7.333px;
	border: 1.626px solid #d9d9d9;
	background: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	position: relative;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.sample-request__agreement input:checked + .sample-request__agreement-box {
	background: #000;
	border-color: #000;
}

.sample-request__agreement input:checked + .sample-request__agreement-box::after {
	content: "";
	position: absolute;
	left: 7px;
	top: 2px;
	width: 11px;
	height: 17px;
	border: solid #fff;
	border-width: 0 2.5px 2.5px 0;
	transform: rotate(45deg);
}

.sample-request__agreement-text {
	font-family: 'Sofia Pro', Inter, system-ui, -apple-system, sans-serif;
	font-weight: 500;
	font-size: 16px;
	line-height: 22px;
	letter-spacing: -0.05em;
	color: #000;
}

/* === Status === */
.sample-request__status {
	min-height: 20px;
	font-size: 14px;
	line-height: 18px;
	letter-spacing: -0.02em;
	color: #090909;
}

.sample-request__status.is-success {
	color: #0b6b1d;
}

.sample-request__status.is-error {
	color: #a00;
}

.sample-request__status:empty {
	display: none;
}

/* === Footer links === */
.sample-request__footer {
	margin-top: 24px;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 16px;
	color: #000;
	font-family: 'Sofia Pro', Inter, system-ui, -apple-system, sans-serif;
	font-size: 18px;
	line-height: 22px;
	letter-spacing: -0.05em;
	font-weight: 500;
}

.sample-request__footer-link {
	color: #000;
	text-decoration: underline;
	text-decoration-style: solid;
	white-space: nowrap;
}

/* ============================================================
   Tablet — 901..1280
   ============================================================ */
@media (min-width: 901px) and (max-width: 1280px) {
	.sample-request__columns {
		padding-top: 64px;
	}

	.sample-request__title {
		font-size: 110px;
		line-height: 96px;
		font-weight: 400;
	}

	.sample-request__bullet-text {
		font-size: 24px;
		line-height: 36px;
	}

	.sample-request__input {
		font-size: 36px;
	}

	.sample-request__field {
		height: 110px;
	}

	.sample-request__submit {
		width: 76px;
		height: 76px;
	}

	.sample-request__submit svg {
		width: 68px;
		height: 68px;
	}
}

/* ============================================================
   Mobile — ≤ 900   (Figma 6245:9505)
   ============================================================ */
@media (max-width: 900px) {
	.lazyblock-sample-request,
	.sample-request {
		width: auto;
		max-width: none;
		margin-left: 0;
		margin-right: 0;
	}

	.sample-request {
		padding: 18px 12px 28px;
		overflow: hidden;
	}

	.sample-request__inner {
		min-height: 0;
		gap: 0;
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}

	.sample-request__badge {
		position: static;
		display: inline-flex;
		width: fit-content;
		max-width: 100%;
		margin: 0 0 12px;
		height: 38.25px;
		min-width: 99px;
		padding: 6.75px 22.5px 9px;
		font-size: 31.5px;
		line-height: 40.5px;
		letter-spacing: -0.05em;
		border-radius: 49.5px;
	}

	.sample-request__columns {
		grid-template-columns: 1fr;
		gap: 12px;
		padding: 0;
		min-width: 0;
	}

	.sample-request__title {
		font-size: 36px;
		line-height: 36px;
		letter-spacing: -0.05em;
	}

	.sample-request__bullets {
		gap: 0;
	}

	.sample-request__bullet {
		height: 22px;
		gap: 8px;
	}

	.sample-request__bullet-icon {
		width: 18px;
		height: 18px;
	}

	.sample-request__bullet-text {
		font-size: 14px;
		line-height: 22px;
		letter-spacing: -0.05em;
		white-space: nowrap;
	}

	.sample-request__form {
		margin-top: 0;
		gap: 6px;
		min-width: 0;
	}

	.sample-request__field {
		height: 122px;
		padding: 18px 18px 18px 4px;
		border-radius: 28px;
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}

	.sample-request__input {
		font-size: 24px;
		padding: 0 12px;
	}

	.sample-request__submit {
		width: 84px;
		height: 84px;
		border-radius: 18px;
		padding: 4px;
	}

	.sample-request__submit svg {
		width: 76px;
		height: 76px;
	}

	.sample-request__agreement {
		gap: 8px;
	}

	.sample-request__agreement-box {
		width: 28px;
		height: 28px;
		border-radius: 7.333px;
		border-width: 1.626px;
	}

	.sample-request__agreement input:checked + .sample-request__agreement-box::after {
		left: 7px;
		top: 2px;
		width: 11px;
		height: 17px;
		border-width: 0 2.5px 2.5px 0;
	}

	.sample-request__agreement-text {
		font-size: 16px;
		line-height: 16px;
		letter-spacing: -0.05em;
	}

	.sample-request__footer {
		margin-top: 16px;
		font-size: 18px;
		line-height: 22px;
		letter-spacing: -0.05em;
		font-weight: 500;
		min-width: 0;
	}

	.sample-request__footer-link {
		min-width: 0;
		max-width: 100%;
		overflow-wrap: anywhere;
		white-space: normal;
	}

	.sample-request__footer-link--right {
		text-align: right;
	}
}
