/**
 * Tanushh Custom Contact Form — scoped styles.
 * Every rule is prefixed with .tanushh-contact-form so nothing else on the site is affected.
 */
.tanushh-contact-form {
	--tcf-bg: #f0f1f3;
	--tcf-accent: #ff8000;
	--tcf-accent-dark: #e06f00;
	--tcf-text: #1b2333;
	--tcf-muted: #5f6673;
	--tcf-input-bg: #ffffff;
	--tcf-border: #dddddd;
	--tcf-error: #b3261e;
	--tcf-success: #1e7a3c;

	box-sizing: border-box;
	max-width: 960px;
	margin: 0 auto;
	padding: 48px 40px 44px;
	background: var(--tcf-bg);
	color: var(--tcf-text);
	font-size: 15px;
	line-height: 1.5;
}

.tanushh-contact-form *,
.tanushh-contact-form *::before,
.tanushh-contact-form *::after {
	box-sizing: border-box;
}

/* Heading + orange divider */
.tanushh-contact-form .tcf-heading {
	margin: 0;
	padding: 0;
	text-align: center;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 30px;
	line-height: 1.2;
	letter-spacing: 0.02em;
	color: var(--tcf-text);
	border: 0;
	background: none;
}

.tanushh-contact-form .tcf-divider {
	display: block;
	width: 60px;
	height: 3px;
	margin: 14px auto 34px;
	background: var(--tcf-accent);
	border-radius: 2px;
}

/* Layout */
.tanushh-contact-form .tcf-form {
	margin: 0;
}

.tanushh-contact-form .tcf-row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px 24px;
	margin: 0 0 20px;
}

.tanushh-contact-form .tcf-row--2 {
	grid-template-columns: 1fr 1fr;
}

.tanushh-contact-form .tcf-field {
	min-width: 0;
	margin: 0;
}

/* Labels */
.tanushh-contact-form .tcf-label {
	display: block;
	margin: 0 0 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--tcf-text);
}

.tanushh-contact-form .tcf-req {
	color: var(--tcf-accent);
	margin-left: 2px;
}

/* Placeholder-label mode: labels remain for screen readers only */
.tanushh-contact-form.tcf--placeholder-labels .tcf-label:not(.tcf-label--file) {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Inputs */
.tanushh-contact-form input[type="text"],
.tanushh-contact-form input[type="tel"],
.tanushh-contact-form input[type="email"],
.tanushh-contact-form input[type="number"],
.tanushh-contact-form textarea {
	display: block;
	width: 100%;
	max-width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 12px 14px;
	font: inherit;
	font-size: 15px;
	color: var(--tcf-text);
	background: var(--tcf-input-bg);
	border: 1px solid var(--tcf-border);
	border-radius: 2px;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.tanushh-contact-form input[type="number"] {
	-moz-appearance: textfield;
}

.tanushh-contact-form textarea {
	min-height: 150px;
	resize: vertical;
}

.tanushh-contact-form input::placeholder,
.tanushh-contact-form textarea::placeholder {
	color: #8a909b;
	opacity: 1;
}

.tanushh-contact-form input:hover,
.tanushh-contact-form textarea:hover {
	border-color: #c4c7cc;
}

.tanushh-contact-form input:focus,
.tanushh-contact-form textarea:focus {
	outline: none;
	border-color: var(--tcf-accent);
	box-shadow: 0 0 0 3px rgba(255, 128, 0, 0.22);
}

.tanushh-contact-form input:focus-visible,
.tanushh-contact-form textarea:focus-visible {
	outline: 2px solid var(--tcf-accent);
	outline-offset: 1px;
}

/* File field */
.tanushh-contact-form .tcf-field--file input[type="file"] {
	display: block;
	width: 100%;
	max-width: 100%;
	padding: 10px;
	font: inherit;
	font-size: 14px;
	color: var(--tcf-text);
	background: var(--tcf-input-bg);
	border: 1px dashed #c4c7cc;
	border-radius: 2px;
	cursor: pointer;
}

.tanushh-contact-form .tcf-field--file input[type="file"]:focus-visible {
	outline: 2px solid var(--tcf-accent);
	outline-offset: 2px;
}

.tanushh-contact-form .tcf-field--file input[type="file"]::file-selector-button {
	margin-right: 12px;
	padding: 8px 14px;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	color: var(--tcf-text);
	background: #e4e6ea;
	border: 0;
	border-radius: 2px;
	cursor: pointer;
}

.tanushh-contact-form .tcf-help {
	margin: 6px 0 0;
	font-size: 13px;
	color: var(--tcf-muted);
}

.tanushh-contact-form .tcf-help-detail {
	display: block;
	font-size: 12px;
}

/* Errors */
.tanushh-contact-form .tcf-has-error input,
.tanushh-contact-form .tcf-has-error textarea {
	border-color: var(--tcf-error);
}

.tanushh-contact-form .tcf-error {
	margin: 6px 0 0;
	font-size: 13px;
	color: var(--tcf-error);
}

.tanushh-contact-form .tcf-error[hidden] {
	display: none;
}

/* Notices */
.tanushh-contact-form .tcf-notice {
	margin: 0 0 24px;
	padding: 14px 16px;
	font-size: 15px;
	background: #fff;
	border-left: 4px solid var(--tcf-accent);
}

.tanushh-contact-form .tcf-notice:focus {
	outline: 2px solid var(--tcf-accent);
	outline-offset: 2px;
}

.tanushh-contact-form .tcf-notice--success {
	border-left-color: var(--tcf-success);
	color: var(--tcf-success);
	font-weight: 600;
}

.tanushh-contact-form .tcf-notice--error {
	border-left-color: var(--tcf-error);
	color: var(--tcf-error);
}

.tanushh-contact-form .tcf-summary p {
	margin: 0 0 6px;
}

.tanushh-contact-form .tcf-summary ul {
	margin: 0;
	padding-left: 18px;
}

.tanushh-contact-form .tcf-summary a {
	color: var(--tcf-error);
	text-decoration: underline;
}

.tanushh-contact-form .tcf-hint {
	margin: 0 0 20px;
	font-size: 13px;
	color: var(--tcf-muted);
}

/* Honeypot — off-screen, not display:none (some bots skip hidden fields) */
.tanushh-contact-form .tcf-hp {
	position: absolute !important;
	left: -10000px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

/* Button */
.tanushh-contact-form .tcf-actions {
	margin: 28px 0 0;
	text-align: center;
}

.tanushh-contact-form .tcf-submit {
	display: inline-block;
	min-width: 180px;
	min-height: 50px;
	margin: 0;
	padding: 14px 40px;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
	background: var(--tcf-accent);
	border: 0;
	border-radius: 2px;
	box-shadow: none;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.tanushh-contact-form .tcf-submit:hover {
	background: var(--tcf-accent-dark);
	color: #fff;
}

.tanushh-contact-form .tcf-submit:focus-visible {
	outline: 3px solid var(--tcf-text);
	outline-offset: 3px;
}

.tanushh-contact-form .tcf-submit[disabled] {
	opacity: 0.7;
	cursor: wait;
}

/* Mobile */
@media (max-width: 680px) {
	.tanushh-contact-form {
		padding: 32px 16px;
	}

	.tanushh-contact-form .tcf-heading {
		font-size: 24px;
	}

	.tanushh-contact-form .tcf-divider {
		margin-bottom: 24px;
	}

	.tanushh-contact-form .tcf-row,
	.tanushh-contact-form .tcf-row--2 {
		grid-template-columns: 1fr;
		gap: 16px;
		margin-bottom: 16px;
	}

	/* 16px prevents iOS zoom-on-focus */
	.tanushh-contact-form input[type="text"],
	.tanushh-contact-form input[type="tel"],
	.tanushh-contact-form input[type="email"],
	.tanushh-contact-form input[type="number"],
	.tanushh-contact-form textarea {
		font-size: 16px;
	}

	.tanushh-contact-form .tcf-submit {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tanushh-contact-form * {
		transition: none !important;
	}
}
