/* Hosted Telecoms Contact form — styled to match the site card in the screenshot. */

.htc-card {
	--htc-navy: #0b1b3b;
	--htc-blue: #1e40af;
	--htc-blue-600: #1d4ed8;
	--htc-border: #d8deec;
	--htc-muted: #8a94a6;
	--htc-radius: 16px;

	background: #ffffff;
	border: 1px solid #eef1f8;
	border-radius: var(--htc-radius);
	box-shadow: 0 20px 45px -25px rgba(15, 31, 74, 0.35);
	padding: 32px 34px;
	max-width: 560px;
	width: 100%;
	box-sizing: border-box;
	font-family: inherit;
	color: var(--htc-navy);
}

.htc-eyebrow {
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--htc-blue);
}

.htc-title {
	margin: 0 0 18px;
	font-size: 26px;
	line-height: 1.2;
	font-weight: 800;
	color: var(--htc-navy);
}

.htc-alert {
	border-radius: 10px;
	padding: 12px 14px;
	font-size: 14px;
	margin-bottom: 16px;
}

.htc-alert-error {
	background: #fdecec;
	border: 1px solid #f5c2c2;
	color: #b32d2e;
}

.htc-alert-success {
	background: #e9f7ee;
	border: 1px solid #b7e2c6;
	color: #1a7f37;
}

.htc-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.htc-field {
	margin-bottom: 16px;
	display: flex;
	flex-direction: column;
}

.htc-field label {
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 6px;
	color: var(--htc-navy);
}

.htc-req {
	color: var(--htc-blue);
}

.htc-field input,
.htc-field select,
.htc-field textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid var(--htc-border);
	border-radius: 10px;
	padding: 11px 13px;
	font-size: 15px;
	font-family: inherit;
	color: var(--htc-navy);
	background: #fff;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.htc-field textarea {
	resize: vertical;
	min-height: 120px;
}

.htc-field input:focus,
.htc-field select:focus,
.htc-field textarea:focus {
	outline: none;
	border-color: var(--htc-blue);
	box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.15);
}

.htc-field input[aria-invalid="true"],
.htc-field textarea[aria-invalid="true"] {
	border-color: #d9534f;
	box-shadow: 0 0 0 3px rgba(217, 83, 79, 0.12);
}

/* Honeypot — visually hidden but present for bots. */
.htc-hp {
	position: absolute !important;
	left: -9999px !important;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.htc-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 4px;
}

.htc-btn {
	background: var(--htc-blue);
	color: #fff;
	border: 0;
	border-radius: 8px;
	padding: 12px 22px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.05s ease;
}

.htc-btn:hover {
	background: var(--htc-blue-600);
}

.htc-btn:active {
	transform: translateY(1px);
}

.htc-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.htc-spinner {
	width: 18px;
	height: 18px;
	border: 2px solid rgba(30, 64, 175, 0.25);
	border-top-color: var(--htc-blue);
	border-radius: 50%;
	animation: htc-spin 0.7s linear infinite;
}

@keyframes htc-spin {
	to { transform: rotate(360deg); }
}

.htc-fineprint {
	margin: 16px 0 0;
	font-size: 12px;
	color: var(--htc-muted);
	line-height: 1.5;
}

.htc-fineprint span {
	color: var(--htc-blue);
}

@media (max-width: 560px) {
	.htc-card { padding: 24px 20px; }
	.htc-row { grid-template-columns: 1fr; gap: 0; }
	.htc-title { font-size: 22px; }
}
