/* SWD Contact — accent panel + floating-label form with shape chips. */
.swd.swd-contact { padding: clamp(90px, 12vw, 190px) 0 0; }
.swd-contact .cbox { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 80px); padding: clamp(20px, 4vw, 60px); border-radius: var(--r-xl); background: var(--card); box-shadow: inset 0 0 0 1px var(--edge); }
.swd-contact .cbox__acc { position: relative; overflow: hidden; border-radius: 28px; background: var(--acc); color: var(--ink); padding: clamp(28px, 4vw, 52px); min-height: 520px; }
.swd-contact .cbox__title { position: relative; z-index: 1; font-size: clamp(40px, 4.6vw, 64px); max-width: 7em; color: var(--ink); }
.swd-contact .mark--big { position: absolute; left: -6%; bottom: -8%; width: 62%; background: rgba(20, 26, 44, .12); }
.swd-contact .cform { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; align-content: start; padding-top: 12px; }
.swd-contact .f { position: relative; }
.swd-contact .f input { width: 100%; height: 58px; border: 0; border-bottom: 1.5px solid rgba(255, 255, 255, .25); border-radius: 0; background: transparent; color: #fff; font-family: var(--f); font-size: 20px; font-weight: 400; line-height: 1; padding: 18px 0 4px; outline: none; box-shadow: none; transition: border-color .2s; }
.swd-contact .f input:focus { border-color: var(--acc); }
.swd-contact .f label { position: absolute; left: 0; top: 22px; margin: 0; font-size: 20px; font-weight: 400; color: var(--muted); pointer-events: none; transition: transform .2s, font-size .2s, top .2s; }
.swd-contact .f input:focus + label, .swd-contact .f input:not(:placeholder-shown) + label { top: 0; font-size: 13px; }
.swd-contact .chips { grid-column: 1 / -1; border: 0; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; min-width: 0; }
.swd-contact .chips legend { font-size: 20px; margin-bottom: 20px; padding: 0; color: #fff; }
.swd-contact .chips label { position: relative; cursor: pointer; margin: 0; }
.swd-contact .chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.swd-contact .chips span { display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 24px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); font-size: 19px; font-weight: 500; transition: background .2s, color .2s, box-shadow .2s; }
.swd-contact .chips input:checked + span { background: #fff; color: var(--ink); box-shadow: none; }
.swd-contact .chips input:focus-visible + span { outline: 2px solid var(--acc); outline-offset: 3px; }
.swd-contact .sh { width: 14px; height: 14px; display: inline-block; flex: none; }
.swd-contact .sh--tri { border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 13px solid var(--acc); width: 0; height: 0; }
.swd-contact .sh--sq { border: 2px solid #7CF0C0; }
.swd-contact .sh--ci { border: 2px solid #6FE3F0; border-radius: 50%; }
.swd-contact .sh--st { background: #FF9F7A; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.swd-contact .sh--pe { background: #C3A6FF; clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%); }
.swd-contact .sh--di { background: #FFD166; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.swd-contact .agree { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; margin: 0; font-size: 16px; color: #fff; cursor: pointer; }
.swd-contact .agree input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--acc); }
.swd-contact .agree a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.swd-contact .cform .btn { grid-column: 1 / -1; justify-self: start; }
.swd-contact .cform__msg { grid-column: 1 / -1; font-size: 16px; color: var(--acc); min-height: 1.5em; }

@media (max-width: 980px) {
	.swd-contact .cbox { grid-template-columns: minmax(0, 1fr); }
	.swd-contact .cbox__acc { min-height: 240px; }
	.swd-contact .mark--big { width: 36%; }
}
@media (max-width: 640px) {
	.swd-contact .btn--lg { height: 54px; font-size: 18px; padding: 0 24px; }
	.swd-contact .cform { grid-template-columns: minmax(0, 1fr); }
	.swd-contact .chips span { height: 48px; padding: 0 18px; font-size: 16px; }
}
