.tp-contact-card {
	max-width: 640px;
	margin: 32px auto;
	background: #ffffff;
	border-radius: 16px;
	box-shadow: 0 4px 24px rgba(9, 16, 87, 0.08);
	border: 1px solid #e1e1e1;
	overflow: hidden;
}

.tp-contact-card__header {
	background: #091057;
	padding: 28px 32px;
	display: flex;
	align-items: center;
	gap: 14px;
}

.tp-contact-card__header svg {
	flex-shrink: 0;
}

.tp-contact-card__header h2 {
	color: #ffffff;
	margin: 0;
	font-size: 20px;
	font-weight: 700;
}

.tp-contact-card__header p {
	color: #c7cbe8;
	margin: 4px 0 0;
	font-size: 14px;
}

.tp-contact-form {
	padding: 28px 32px 32px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.tp-contact-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.tp-contact-field label {
	font-size: 13px;
	font-weight: 600;
	color: #2b2b2b;
}

.tp-contact-field .required {
	color: #e63329;
}

.tp-contact-field input,
.tp-contact-field textarea {
	border: 1.5px solid #e1e1e1;
	border-radius: 10px;
	padding: 12px 14px;
	font-size: 15px;
	font-family: inherit;
	color: #2b2b2b;
	background: #f9fafb;
	transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.tp-contact-field input::placeholder,
.tp-contact-field textarea::placeholder {
	color: #9a9da8;
}

.tp-contact-field input:focus,
.tp-contact-field textarea:focus {
	outline: none;
	border-color: #091057;
	background: #ffffff;
	box-shadow: 0 0 0 3px rgba(9, 16, 87, 0.1);
}

.tp-contact-field input.is-invalid,
.tp-contact-field textarea.is-invalid {
	border-color: #e63329;
	background: #fff5f4;
}

.tp-contact-field textarea {
	resize: vertical;
	min-height: 110px;
}

.tp-contact-error {
	font-size: 12px;
	color: #e63329;
	display: none;
}

.tp-contact-field.has-error .tp-contact-error {
	display: block;
}

.tp-contact-submit {
	margin-top: 4px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: #25D366;
	color: #ffffff;
	border: none;
	border-radius: 10px;
	padding: 14px 24px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.1s ease;
}

.tp-contact-submit:hover {
	background: #1ebe5a;
}

.tp-contact-submit:active {
	transform: scale(0.98);
}

.tp-contact-submit svg {
	flex-shrink: 0;
}

.tp-contact-note {
	font-size: 12.5px;
	color: #6b6f7d;
	text-align: center;
	margin: 2px 0 0;
}

@media (max-width: 480px) {
	.tp-contact-card__header,
	.tp-contact-form {
		padding-left: 20px;
		padding-right: 20px;
	}
}
