/* =========================================================================
   Telecomatik — formulario de contacto cualificado
   ========================================================================= */

.tk-contact-form {
	max-width: 760px;
	margin: 0 auto;
	background: rgba(18, 36, 63, 0.55);
	border: 1px solid rgba(28, 228, 255, 0.18);
	border-radius: 20px;
	padding: clamp(1.5rem, 3vw, 2.5rem);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	box-shadow: 0 22px 60px rgba(5, 13, 26, 0.4);
}

.tk-cf-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
}
.tk-cf-field--full { grid-column: 1 / -1; }
@media (max-width: 640px) {
	.tk-cf-grid { grid-template-columns: 1fr; }
}

.tk-cf-field {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}
.tk-cf-label {
	font-size: 0.875rem;
	font-weight: 600;
	color: #E4ECF7;
	letter-spacing: 0.01em;
}

.tk-contact-form input[type="text"],
.tk-contact-form input[type="email"],
.tk-contact-form input[type="tel"],
.tk-contact-form select,
.tk-contact-form textarea {
	background: rgba(10, 22, 40, 0.7);
	color: #F4F8FF;
	border: 1px solid rgba(168, 184, 204, 0.18);
	border-radius: 10px;
	padding: 0.75rem 0.9rem;
	font: inherit;
	font-size: 1rem;
	transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
	width: 100%;
	font-family: inherit;
}
.tk-contact-form textarea {
	min-height: 140px;
	resize: vertical;
	line-height: 1.5;
}
.tk-contact-form select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231CE4FF' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	padding-right: 2.4rem;
}
.tk-contact-form input:hover,
.tk-contact-form select:hover,
.tk-contact-form textarea:hover {
	border-color: rgba(28, 228, 255, 0.35);
}
.tk-contact-form input:focus,
.tk-contact-form select:focus,
.tk-contact-form textarea:focus {
	outline: none;
	border-color: var(--tk-cyan, #1CE4FF);
	box-shadow: 0 0 0 3px rgba(28, 228, 255, 0.18);
	background: rgba(10, 22, 40, 0.92);
}

.tk-cf-checkbox {
	flex-direction: row;
	align-items: flex-start;
	gap: 0.75rem;
	font-size: 0.95rem;
	color: #A8B8CC;
}
.tk-cf-checkbox input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin-top: 2px;
	accent-color: #1CE4FF;
	cursor: pointer;
}
.tk-cf-checkbox a { color: #1CE4FF; }

.tk-cf-honeypot {
	position: absolute !important;
	left: -10000px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden;
}

.tk-cf-actions {
	margin-top: 1.75rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}
.tk-cf-submit {
	display: inline-block;
	background: linear-gradient(135deg, #1CE4FF 0%, #2A8FFF 100%);
	color: #050D1A !important;
	border: 0;
	border-radius: 999px;
	padding: 0.9rem 2rem;
	font: inherit;
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	transition: transform .18s ease, box-shadow .18s ease;
	box-shadow: 0 8px 24px rgba(28, 228, 255, 0.28);
}
.tk-cf-submit:hover:not(:disabled) {
	transform: translateY(-1px);
	box-shadow: 0 12px 32px rgba(28, 228, 255, 0.4);
}
.tk-cf-submit:disabled { opacity: 0.6; cursor: progress; }
.tk-cf-help { color: #7a8da3; font-size: 0.9rem; margin: 0; }

.tk-cf-feedback {
	margin-top: 1.25rem;
	padding: 0.9rem 1rem;
	border-radius: 10px;
	font-size: 0.95rem;
	display: none;
}
.tk-cf-feedback.is-success {
	display: block;
	background: rgba(28, 228, 255, 0.10);
	border: 1px solid rgba(28, 228, 255, 0.35);
	color: #1CE4FF;
}
.tk-cf-feedback.is-error {
	display: block;
	background: rgba(255, 99, 99, 0.10);
	border: 1px solid rgba(255, 99, 99, 0.35);
	color: #FF8E8E;
}
