/* Contact page (page-templates/contact.php) */

.swct { padding-bottom: clamp(32px, 6vw, 72px); }

/* Hero */
.swct-hero { padding-top: clamp(32px, 6vw, 72px); }
.swct-kicker { margin: 0 0 8px; color: var(--blue); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.swct-title { margin: 0 0 14px; color: var(--text); font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 900; letter-spacing: -0.045em; line-height: 1; }
.swct-title span { background: linear-gradient(90deg, #2387ff, #a66bff 40%, #ff4f9a 75%, #ff8a2b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.swct-sub { max-width: 38em; margin: 0; color: var(--text-2); font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.6; }

/* Quick answers */
.swct-quick { padding-top: clamp(40px, 6vw, 72px); }
.swct-quick-h { margin: 0; color: var(--text-2); font-size: 1.05rem; font-weight: 800; }
.swct-quick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 12px; margin-top: 14px; }
.swct-card { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 18px; border-radius: 18px; background: var(--card); color: var(--text-2); text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); transition: background-color var(--ease), transform var(--ease); }
a.swct-card:hover { background: var(--card-2); color: var(--text-2); transform: translateY(-2px); }
.swct-card b { color: var(--text); font-size: 1.05rem; font-weight: 800; }
.swct-card > span { font-size: 0.92rem; line-height: 1.5; }
.swct-card em { margin-top: auto; padding-top: 6px; color: var(--text); font-size: 0.88rem; font-style: normal; font-weight: 800; }
.swct-find { display: flex; gap: 6px; margin-top: auto; padding-top: 8px; }
.swct-find input { flex: 1; min-width: 0; padding: 10px 14px; border: 0; border-radius: 999px; background: var(--card-2); color: var(--text); font: 600 0.95rem var(--sans); box-shadow: inset 0 0 0 1px var(--line); }
.swct-find input:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.swct-find button { padding: 0 16px; border: 0; border-radius: 999px; background: #fff; color: #000; font: 800 0.88rem var(--sans); cursor: pointer; }

/* Form */
.swct-form-sec { padding-top: clamp(24px, 3vw, 36px); scroll-margin-top: 16px; }
.swct-form { max-width: 860px; padding: clamp(18px, 3vw, 28px); border-radius: 22px; background: rgba(255, 255, 255, 0.025); box-shadow: inset 0 0 0 1px var(--line); }
.swct-captcha { min-height: 65px; }
.swct-error { margin: 12px 0 0; padding: 12px 16px; border-radius: 12px; background: rgba(255, 79, 106, 0.14); color: #ffb3c0; font-weight: 700; }

.swct-topics { margin: 0 0 18px; padding: 0; border: 0; }
.swct-label { margin: 0 0 10px; padding: 0; color: var(--text); font-size: 1rem; font-weight: 800; }
.swct-topic-row { display: flex; flex-wrap: wrap; gap: 8px; }
.swct-topic {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px 8px 8px;
	border-radius: 999px;
	background: var(--card);
	color: var(--text-2);
	cursor: pointer;
	box-shadow: inset 0 0 0 1px var(--line);
	transition: background-color var(--ease), box-shadow var(--ease), color var(--ease);
}
.swct-topic:hover { background: var(--card-2); color: var(--text); }
.swct-topic input { position: absolute; opacity: 0; pointer-events: none; }
.swct-topic-ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--card-2); color: var(--text); }
.swct-topic-ico svg { width: 17px; height: 17px; }
.swct-topic b { font-size: 0.9rem; font-weight: 800; }
.swct-topic:has(input:checked) { background: #fff; color: #000; box-shadow: none; }
.swct-topic:has(input:checked) .swct-topic-ico { background: #000; color: #fff; }
.swct-topic:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.swct-topic-desc { margin: 10px 0 0; color: var(--text-3); font-size: 0.9rem; }

.swct-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; max-width: 860px; }
.swct-field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.swct-field--wide, .swct-extra, .swct-check, .swct-submit, .swct-captcha { grid-column: 1 / -1; }
.swct-field[hidden], .swct-check[hidden] { display: none; }
.swct-field label { color: var(--text); font-size: 0.9rem; font-weight: 800; }
.swct-field label span { margin-left: 4px; color: var(--text-3); font-size: 0.78rem; font-weight: 700; }
.swct-field label .swct-req { color: #ffb36b; }
.swct-field input,
.swct-field textarea { width: 100%; padding: 12px 14px; border: 0; border-radius: 12px; background: var(--card); color: var(--text); font: 500 1rem/1.5 var(--sans); box-shadow: inset 0 0 0 1px var(--line); box-sizing: border-box; }
.swct-field textarea { resize: vertical; min-height: 150px; }
.swct-field input:focus,
.swct-field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--blue); }
.swct-field ::placeholder { color: var(--text-3); }
.swct-field small { color: var(--text-3); font-size: 0.8rem; }
.swct-check { margin: 0; color: var(--text-2); font-size: 0.9rem; }
.swct-check input { margin-right: 6px; accent-color: #2387ff; }
.swct-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 4px 0 0; }
.swct-submit small { color: var(--text-3); font-size: 0.82rem; }
.swct-submit small a { color: var(--text-2); }
.swct-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Sent */
.swct-done { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; max-width: 640px; padding: 24px; border-radius: 20px; background: rgba(60, 207, 110, 0.1); box-shadow: inset 0 0 0 1px rgba(60, 207, 110, 0.35); color: var(--text-2); }
.swct-done b { color: #fff; font-size: 1.3rem; font-weight: 900; }
.swct-done .swh-btn { margin-top: 8px; }

@media (max-width: 640px) {
	.swct-fields { grid-template-columns: minmax(0, 1fr); }
}
