/* ============================================================
   Support Landing Page – "Техническая поддержка сайтов"
   Prefix: sup-
   Color: Blue #2563eb / Cyan #06b6d4 / Amber #f59e0b / Slate tones
   ============================================================ */

/* ---- Hero ---- */
.sup-hero {
	position: relative;
	background: #0f172a;
	color: #fff;
	padding: 4rem 0 3rem;
	overflow: hidden;
	text-align: center;
}

.sup-hero__grid {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(#3b82f6 1px, transparent 1px),
		linear-gradient(90deg, #3b82f6 1px, transparent 1px);
	background-size: 30px 30px;
	opacity: 0.1;
	pointer-events: none;
}

.sup-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 52rem;
	margin-inline: auto;
}

.sup-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.375rem 1rem;
	border-radius: 9999px;
	background: rgba(37, 99, 235, 0.15);
	color: #60a5fa;
	font-size: 0.875rem;
	font-weight: 600;
	border: 1px solid rgba(37, 99, 235, 0.3);
	margin-bottom: 1.5rem;
}

.sup-hero__title {
	font-size: clamp(2rem, 7vw, 3.75rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.02em;
	margin-bottom: 1.5rem;
	color: #f1f5f9;
}

.sup-hero__title-accent {
	background: linear-gradient(135deg, #60a5fa, #22d3ee);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.sup-hero__subtitle {
	font-size: clamp(1rem, 2.5vw, 1.25rem);
	color: #94a3b8;
	line-height: 1.7;
	max-width: 38rem;
	margin-inline: auto;
	margin-bottom: 2rem;
}

.sup-hero__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.875rem 2rem;
	background: #2563eb;
	color: #fff!important;
	font-weight: 700;
	font-size: 1.05rem;
	border-radius: var(--radius-md);
	text-decoration: none;
	box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
	transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}

.sup-hero__cta:hover {
	background: #3b82f6;
	box-shadow: 0 0 30px rgba(37, 99, 235, 0.6);
	transform: translateY(-2px);
	color: #fff;
}

/* ---- Chart Section ---- */
.sup-chart-section {
	padding: 3rem 0;
	background: #f8fafc;
}

.sup-chart-section__header {
	text-align: center;
	margin-bottom: 2rem;
}

.sup-chart-section__title {
	font-size: clamp(1.5rem, 5vw, 2.25rem);
	font-weight: 800;
	color: #0f172a;
	margin-bottom: 0.75rem;
}

.sup-chart-section__subtitle {
	font-size: 1rem;
	color: #64748b;
	max-width: 40rem;
	margin-inline: auto;
	line-height: 1.6;
}

.sup-chart-section__card {
	max-width: 52rem;
	margin-inline: auto;
	background: #fff;
	border-radius: var(--radius-lg);
	border: 1px solid #e2e8f0;
	padding: 1.5rem;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.sup-chart-section__canvas-wrap {
	position: relative;
	height: 280px;
}

.sup-chart-section__footnote {
	text-align: center;
	font-size: 0.8125rem;
	color: #94a3b8;
	margin-top: 1rem;
}

/* ---- Services Section ---- */
.sup-services {
	padding: 3rem 0;
	background: #fff;
}

.sup-services__header {
	text-align: center;
	margin-bottom: 2.5rem;
}

.sup-services__title {
	font-size: clamp(1.5rem, 5vw, 2.25rem);
	font-weight: 800;
	color: #0f172a;
	margin-bottom: 0.75rem;
}

.sup-services__subtitle {
	font-size: 1rem;
	color: #64748b;
	max-width: 38rem;
	margin-inline: auto;
	line-height: 1.6;
}

.sup-services__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

.sup-services__card {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: var(--radius-lg);
	padding: 2rem;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.sup-services__card:hover {
	border-color: #93c5fd;
	box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
}

.sup-services__icon {
	font-size: 2.5rem;
	margin-bottom: 1rem;
	line-height: 1;
}

.sup-services__card-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 0.5rem;
}

.sup-services__card-text {
	font-size: 0.9375rem;
	color: #64748b;
	line-height: 1.6;
}

/* ---- Calculator Section ---- */
.sup-calculator {
	padding: 3rem 0;
	background: #0f172a;
}

.sup-calculator__wrap {
	position: relative;
	overflow: hidden;
	background: #1e293b;
	border-radius: var(--radius-lg);
	padding: 2rem 1.5rem;
	color: #fff;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

.sup-calculator__glow {
	position: absolute;
	width: 400px;
	height: 400px;
	top: -100px;
	right: -100px;
	background: radial-gradient(circle, rgba(37, 99, 235, 0.15), transparent 70%);
	pointer-events: none;
	border-radius: 50%;
}

.sup-calculator__header {
	text-align: center;
	margin-bottom: 2rem;
}

.sup-calculator__badge {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	border-radius: 9999px;
	background: rgba(245, 158, 11, 0.15);
	color: #fbbf24;
	font-size: 0.875rem;
	font-weight: 600;
	border: 1px solid rgba(245, 158, 11, 0.3);
	margin-bottom: 1rem;
}

.sup-calculator__title {
	font-size: clamp(1.5rem, 5vw, 1.875rem);
	font-weight: 700;
	color: #fff;
	margin-bottom: 1rem;
}

.sup-calculator__subtitle {
	font-size: 1rem;
	color: #94a3b8;
	max-width: 40rem;
	margin-inline: auto;
	line-height: 1.6;
}

.sup-calculator__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

.sup-calculator__inputs {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	background: rgba(15, 23, 42, 0.8);
	padding: 2rem;
	border-radius: var(--radius-md);
	border: 1px solid #334155;
}

.sup-calculator__slider-group {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.sup-calculator__slider-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
}

.sup-calculator__slider-label {
	font-size: 0.9375rem;
	color: #e2e8f0;
	font-weight: 500;
}

.sup-calculator__slider-value {
	font-size: 1.125rem;
	font-weight: 700;
	color: #f1f5f9;
	white-space: nowrap;
}

.sup-calculator__slider-value--blue {
	color: #60a5fa;
}

.sup-calculator__slider-value--amber {
	color: #fbbf24;
}

.sup-calculator__hint {
	font-size: 0.8125rem;
	color: #64748b;
	margin: 0;
}

/* Range slider */
.sup-calculator__range {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 8px;
	border-radius: 4px;
	background: #475569;
	/* outline: none; removed for accessibility */
	border: none;
	padding: 0;
}

.sup-calculator__range::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #2563eb;
	cursor: pointer;
	box-shadow: 0 0 12px rgba(37, 99, 235, 0.5);
	border: 2px solid #fff;
}

.sup-calculator__range::-moz-range-thumb {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #2563eb;
	cursor: pointer;
	box-shadow: 0 0 12px rgba(37, 99, 235, 0.5);
	border: 2px solid #fff;
}

/* Output dashboard */
.sup-calculator__output {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.sup-calculator__dashboard {
	background: #fff;
	border-radius: var(--radius-md);
	padding: 2rem;
	text-align: center;
	color: #0f172a;
}

.sup-calculator__dashboard-title {
	font-size: 0.875rem;
	font-weight: 600;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 0.5rem;
}

.sup-calculator__dashboard-value {
	font-size: clamp(2rem, 8vw, 2.75rem);
	font-weight: 800;
	color: #dc2626;
	letter-spacing: -0.02em;
	margin-bottom: 1rem;
}

.sup-calculator__dashboard-tier {
	display: flex;
	justify-content: center;
	align-items: baseline;
	gap: 0.5rem;
	font-size: 0.9375rem;
	color: #64748b;
	padding-top: 1rem;
	border-top: 1px solid #e2e8f0;
	margin-bottom: 0.75rem;
}

.sup-calculator__dashboard-price {
	font-weight: 700;
	color: #0f172a;
}

.sup-calculator__dashboard-result {
	font-size: 0.9375rem;
	font-weight: 600;
	padding: 0.5rem 1rem;
	border-radius: var(--radius-md);
}

.sup-calculator__dashboard-result--saving {
	background: rgba(16, 185, 129, 0.1);
	color: #059669;
}

.sup-calculator__dashboard-result--premium {
	background: rgba(37, 99, 235, 0.1);
	color: #2563eb;
}

/* ---- Form Section ---- */
.sup-form-section {
	padding: 3rem 0;
	background: #f8fafc;
}

.sup-form-section__header {
	text-align: center;
	margin-bottom: 2rem;
}

.sup-form-section__badge {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	border-radius: 9999px;
	background: rgba(37, 99, 235, 0.1);
	color: #2563eb;
	font-size: 0.875rem;
	font-weight: 600;
	border: 1px solid rgba(37, 99, 235, 0.2);
	margin-bottom: 1rem;
}

.sup-form-section__title {
	font-size: clamp(1.5rem, 5vw, 2.25rem);
	font-weight: 800;
	color: #0f172a;
	margin-bottom: 0.75rem;
}

.sup-form-section__subtitle {
	font-size: 1rem;
	color: #64748b;
	max-width: 36rem;
	margin-inline: auto;
	line-height: 1.6;
}

.sup-form-section__card {
	max-width: 46rem;
	margin-inline: auto;
	background: #fff;
	border-radius: var(--radius-lg);
	border: 1px solid #e2e8f0;
	padding: 2rem;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

/* Blue required marker */
.sup-req {
	color: #2563eb;
}

/* ---- Tier radio cards ---- */
.sup-tier-radios {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.75rem;
	margin-top: 0.5rem;
}

.sup-tier-radios__card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 1.25rem;
	border: 2px solid #e2e8f0;
	border-radius: var(--radius-md);
	cursor: pointer;
	transition: border-color 0.15s, background 0.15s;
    justify-content: space-between;
    align-content: stretch;
    flex-wrap: wrap;
    flex-direction: column;

}

.sup-tier-radios__card:hover {
	border-color: #93c5fd;
}

.sup-tier-radios__input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.sup-tier-radios__input:checked + .sup-tier-radios__name {
	color: #2563eb;
}

.sup-tier-radios__input:checked ~ .sup-tier-radios__price {
	color: #2563eb;
}

.sup-tier-radios__card:has(.sup-tier-radios__input:checked) {
	border-color: #2563eb;
	background: #eff6ff;
}

.sup-tier-radios__name {
	font-weight: 600;
	color: #0f172a;
	font-size: 0.9375rem;
}

.sup-tier-radios__price {
	font-size: 0.8125rem;
	color: #64748b;
	font-weight: 500;
}

/* Submit button - blue theme */
.sup-form-section__submit {
	background: #2563eb;
	box-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.35);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.sup-form-section__submit:hover {
	background: #3b82f6;
}

/* Blue header CTA — now handled by .header-cta--blue in style.css */

/* ---- Responsive ---- */

/* Tablet (48rem) */
@media (min-width: 48rem) {
	.sup-hero {
		padding: 5rem 0 4rem;
	}

	.sup-chart-section,
	.sup-services,
	.sup-calculator,
	.sup-form-section {
		padding: 4rem 0;
	}

	.sup-chart-section__canvas-wrap {
		height: 340px;
	}

	.sup-services__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.sup-calculator__grid {
		grid-template-columns: 1fr 1fr;
		align-items: start;
	}

	.sup-tier-radios {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* Desktop (75rem) */
@media (min-width: 75rem) {
	.sup-hero {
		padding: 6rem 0 5rem;
	}

	.sup-chart-section,
	.sup-services,
	.sup-calculator,
	.sup-form-section {
		padding: 5rem 0;
	}

	.sup-chart-section__canvas-wrap {
		height: 400px;
	}

	.sup-calculator__wrap {
		padding: 3rem;
	}

	.sup-form-section__card {
		padding: 3rem;
	}
}
