/* Tabiat — corporate / bulk sales request form. Colors follow tabiat-design tokens when present. */

.tc {
	--tc-g: var(--t-g600, #128040);
	--tc-g-dark: var(--t-g800, #0a4425);
	--tc-g-deep: var(--t-g950, #04210f);
	--tc-lime: var(--t-lime, #a3e635);
	--tc-ink: var(--t-ink, #0d1b12);
	--tc-ink-2: var(--t-ink-2, #3b4a40);
	--tc-muted: var(--t-muted, #7b877f);
	--tc-line: var(--t-line, #e7e2d4);
	--tc-cream: var(--t-cream-2, #f3ecdc);
	--tc-radius: var(--t-radius, 22px);
	--tc-shadow: var(--t-shadow, 0 1px 2px rgba(6, 47, 25, .06), 0 12px 32px -14px rgba(6, 47, 25, .28));
	--tc-ease: var(--t-ease, cubic-bezier(.2, .8, .2, 1));
	display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: 24px; align-items: start;
	max-width: 1180px; margin: 8px auto 48px; text-align: start;
}

/* side panel */
.tc-side {
	position: relative; overflow: hidden;
	padding: 34px 30px; border-radius: var(--tc-radius); color: rgba(255, 255, 255, .82);
	background: radial-gradient(120% 80% at 100% 0, rgba(163, 230, 53, .18), transparent 60%), linear-gradient(160deg, var(--tc-g-dark), var(--tc-g-deep));
	box-shadow: var(--tc-shadow);
}
.tc-kicker { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(163, 230, 53, .16); color: var(--tc-lime); font-size: 12px; font-weight: 800; }
.tc .tc-side__title { margin: 14px 0 10px; color: #fff; font-size: 24px; font-weight: 900; line-height: 1.6; }
.tc-side__lead { margin: 0 0 22px; font-size: 14px; line-height: 2; }
.tc-benefits { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
.tc-benefits li { display: flex; align-items: center; gap: 10px; margin: 0; color: #fff; font-size: 14.5px; font-weight: 700; }
.tc-benefits span { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--tc-lime); color: var(--tc-g-deep); }
.tc-benefits svg, .tc-done__icon svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.tc-steps { list-style: none; margin: 0 0 24px; padding: 18px 0 0; border-top: 1px solid rgba(255, 255, 255, .12); display: grid; gap: 10px; counter-reset: none; }
.tc-steps li { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 13.5px; }
.tc-steps b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: rgba(255, 255, 255, .1); color: #fff; font-size: 12px; }
.tc .tc-call {
	display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px;
	background: rgba(255, 255, 255, .08); color: #fff !important; text-decoration: none !important;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); transition: background-color .2s;
}
.tc .tc-call:hover { background: rgba(255, 255, 255, .14); }
.tc-call svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--tc-lime); stroke-width: 2; stroke-linejoin: round; }
.tc-call small { display: block; font-size: 12px; color: rgba(255, 255, 255, .7); }
.tc-call b { display: block; font-size: 18px; font-weight: 900; color: var(--tc-lime); }

/* form card */
.tc-card { background: #fff; border-radius: var(--tc-radius); box-shadow: var(--tc-shadow); padding: 30px 32px; }
.tc-section { margin: 0 0 8px; padding: 0 0 22px; border: 0; border-bottom: 1px dashed var(--tc-line); min-width: 0; }
.tc-section + .tc-section { padding-top: 20px; }
.tc-section:last-of-type { border-bottom: 0; }
.tc-section legend { display: flex; align-items: center; gap: 10px; padding: 0; margin: 0 0 16px; font-size: 17px; font-weight: 800; color: var(--tc-ink); float: right; width: 100%; }
.tc-section legend + * { clear: both; }
.tc-section legend span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: rgba(18, 128, 64, .1); color: var(--tc-g-dark); font-size: 14px; }
.tc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.tc-field { display: flex; flex-direction: column; gap: 6px; margin: 0; min-width: 0; }
.tc-field--wide { grid-column: 1 / -1; }
.tc-field > span, .tc-group__label { font-size: 13px; font-weight: 700; color: var(--tc-ink); }
.tc-field i, .tc-group__label i { font-style: normal; color: var(--t-red, #e3242b); }
.tc-field em { font-style: normal; font-weight: 500; color: var(--tc-muted); font-size: 12px; }
.tc .tc-field input, .tc .tc-field select, .tc .tc-field textarea {
	box-sizing: border-box; width: 100%; max-width: none; min-height: 48px; margin: 0; padding: 10px 14px;
	border: 1.5px solid var(--tc-line) !important; border-radius: 12px !important; background: #fff !important; box-shadow: none !important;
	color: var(--tc-ink); font: inherit; font-size: 14.5px; transition: border-color .2s, box-shadow .2s;
}
.tc .tc-field textarea { min-height: 110px; resize: vertical; line-height: 1.9; }
.tc .tc-field ::placeholder { color: #a7b0aa; opacity: 1; font-weight: 400; }
.tc .tc-field input:focus, .tc .tc-field select:focus, .tc .tc-field textarea:focus {
	border-color: var(--tc-g) !important; box-shadow: 0 0 0 4px rgba(18, 128, 64, .12) !important; outline: none;
}
.tc .tc-field input[dir="ltr"] { text-align: right; }
.tc .tc-field input[dir="ltr"]:not(:placeholder-shown) { text-align: left; }

.tc-group { margin: 0 0 16px; }
.tc-group__label { display: block; margin-bottom: 8px; }
.tc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tc-chip { position: relative; margin: 0; cursor: pointer; }
.tc-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.tc-chip span {
	display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px;
	background: #fff; box-shadow: inset 0 0 0 1.5px var(--tc-line); color: var(--tc-ink-2); font-size: 13.5px; font-weight: 700;
	transition: background-color .2s, box-shadow .2s, color .2s;
}
.tc-chip:hover span { box-shadow: inset 0 0 0 1.5px #cfd8cf; }
.tc-chip input:checked + span { background: rgba(18, 128, 64, .08); box-shadow: inset 0 0 0 2px var(--tc-g); color: var(--tc-g-dark); }
.tc-chip input[type="checkbox"]:checked + span::before { content: "✓"; font-weight: 900; }
.tc-chip input:focus-visible + span { outline: 3px solid rgba(18, 128, 64, .35); outline-offset: 2px; }

.tc-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.tc-errors { margin: 0 0 20px; padding: 12px 16px; border-radius: 14px; background: #fdecec; color: #8f1418; font-size: 14px; box-shadow: inset 0 0 0 1px rgba(227, 36, 43, .25); }
.tc-errors p { margin: 0; }
.tc-errors p + p { margin-top: 4px; }

.tc-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 6px; }
.tc-actions p { margin: 0; font-size: 12.5px; color: var(--tc-muted); }
.tc .tc-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 54px; padding: 0 34px; margin: 0; border: 0; border-radius: 999px !important; cursor: pointer;
	background: linear-gradient(135deg, var(--tc-g), var(--tc-g-dark)) !important; color: #fff !important;
	font-size: 16px; font-weight: 800; text-decoration: none !important;
	box-shadow: 0 10px 24px -10px rgba(18, 128, 64, .7); transition: transform .25s var(--tc-ease), box-shadow .25s var(--tc-ease);
}
.tc .tc-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(18, 128, 64, .8); }
.tc-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.tc .tc-btn--ghost { background: var(--tc-cream) !important; color: var(--tc-ink) !important; box-shadow: none; }

/* success */
.tc-done { text-align: center; padding: 56px 32px; }
.tc-done__icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--tc-g); color: #fff; box-shadow: 0 0 0 10px rgba(18, 128, 64, .12); }
.tc-done__icon svg { width: 34px; height: 34px; }
.tc .tc-done h3 { margin: 24px 0 8px; font-size: 22px; font-weight: 900; color: var(--tc-ink); }
.tc .tc-done p { max-width: 460px; margin: 0 auto 20px; color: var(--tc-ink-2); font-size: 15px; line-height: 2; }
.tc-done__code { display: block; width: fit-content; margin: 0 auto 26px; padding: 10px 20px; border-radius: 14px; background: var(--tc-cream); font-size: 14px; }
.tc-done__code b { font-size: 18px; font-weight: 900; color: var(--tc-g-dark); letter-spacing: .5px; }

@media (max-width: 960px) {
	.tc { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.tc-card { padding: 22px 16px; border-radius: 18px; }
	.tc-side { padding: 26px 20px; border-radius: 18px; }
	.tc-grid { grid-template-columns: 1fr; }
	.tc .tc-btn { width: 100%; }
}
