/* EPOS.TECH enquiry form. Uses theme variables when present, with fallbacks (purple #7525D9 / navy #0B1222). */
.et-form { --f-accent: var(--et-purple, #7525d9); --f-accent-d: var(--et-purple-d, #5d17b8); --f-navy: var(--et-navy, #0b1222); --f-line: var(--et-line, #dde1ea); --f-muted: var(--et-muted, #525a6e); --f-err: #c0262d; display: grid; gap: 1.25rem; }
.et-form > * { margin: 0; }
.et-form-head h3 { margin: 0 0 .35rem; font-size: clamp(1.25rem, 2.6vw, 1.55rem); }
.et-form-intro { margin: 0 0 .35rem; color: var(--f-muted); }
.et-form-sub, .et-form-foot { margin: 0; color: var(--f-muted); font-size: .86rem; }
.et-form-about { margin: .6rem 0 0; padding: .55rem .8rem; border-radius: 10px; background: #f3ecfd; color: var(--f-navy); font-size: .9rem; }
.et-form-about[hidden] { display: none; }
.et-form-foot { text-align: center; }
.et-req { color: var(--f-err); font-weight: 700; }
.et-opt { color: var(--f-muted); font-weight: 400; font-size: .85em; }
.et-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.et-fs { border: 0; padding: 0; margin: 0; min-width: 0; }
.et-fs legend, .et-field > label { display: block; padding: 0; margin: 0 0 .45rem; font: 600 .88rem/1.35 var(--et-font-head, "Sora", sans-serif); color: var(--f-navy); }
.et-fs legend { margin-bottom: .65rem; }
.et-grid-2 { display: grid; gap: 1rem 1.1rem; }
@media (min-width: 600px) { .et-grid-2 { grid-template-columns: 1fr 1fr; } }
.et-field { min-width: 0; }
.et-form input[type="text"], .et-form input[type="email"], .et-form input[type="tel"], .et-form select, .et-form textarea {
	width: 100%; box-sizing: border-box; min-height: 48px; padding: .7rem .85rem; border: 1.5px solid var(--f-line); border-radius: 10px; background: #fff; color: var(--et-text, #141a2b);
	font-size: 16px; line-height: 1.4; font-weight: 400; font-family: inherit; transition: border-color .15s, box-shadow .15s; appearance: none; -webkit-appearance: none;
}
.et-form select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23525a6e' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right .75rem center / 18px no-repeat; padding-right: 2.5rem; }
.et-form textarea { min-height: 120px; resize: vertical; }
.et-form ::placeholder { color: #8a90a2; opacity: 1; font-size: .95rem; }
.et-form input:hover, .et-form select:hover, .et-form textarea:hover { border-color: #bfc5d4; }
.et-form input:focus, .et-form select:focus, .et-form textarea:focus { outline: none; border-color: var(--f-accent); box-shadow: 0 0 0 4px rgba(117, 37, 217, .15); }
.et-form [aria-invalid="true"] { border-color: var(--f-err) !important; box-shadow: 0 0 0 3px rgba(192, 38, 45, .12); }
.et-field-error { margin: .4rem 0 0; color: var(--f-err); font-size: .85rem; font-weight: 500; }
.et-field-error[hidden] { display: none; }
.et-form-status { padding: .9rem 1rem; border-radius: 10px; background: #fdecec; color: #8a1c21; border: 1px solid #f5c2c4; font-size: .92rem; }
.et-form-status[hidden] { display: none; }

/* chips (checkbox / radio) */
.et-chipset { display: flex; flex-wrap: wrap; gap: .5rem; }
.et-chip { position: relative; display: block; cursor: pointer; flex: 1 1 auto; }
.et-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.et-chip span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 44px; padding: .45rem .85rem; border: 1.5px solid var(--f-line); border-radius: 10px; font-size: .88rem; line-height: 1.25; font-weight: 500; color: var(--et-text, #141a2b); background: #fff; transition: border-color .15s, background .15s, color .15s; box-sizing: border-box; }
.et-chip:hover span { border-color: #c4a9ef; }
.et-chip input:checked + span { border-color: var(--f-accent); background: #f3ecfd; color: var(--f-navy); font-weight: 600; box-shadow: inset 0 0 0 1px var(--f-accent); }
.et-chip input:focus-visible + span { outline: 3px solid #b98cff; outline-offset: 2px; }

/* consents */
.et-consents { display: grid; gap: .75rem; padding: 1rem; border-radius: 12px; background: var(--et-grey, #f4f5f8); }
.et-check { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; line-height: 1.45; cursor: pointer; }
.et-check input { flex: none; width: 20px; height: 20px; margin: .1rem 0 0; accent-color: var(--f-accent); cursor: pointer; }
.et-consents .et-field-error { margin: -.35rem 0 0 1.95rem; }

/* submit */
.et-submit { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; width: 100%; min-height: 54px; border: 0; border-radius: 12px; background: var(--f-accent); color: #fff; font: 600 1.02rem/1 var(--et-font-head, "Sora", sans-serif); cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s; }
.et-submit:hover { background: var(--f-accent-d); transform: translateY(-1px); box-shadow: 0 14px 26px -14px rgba(117, 37, 217, .9); }
.et-submit:focus-visible { outline: 3px solid #b98cff; outline-offset: 3px; }
.et-submit[disabled] { opacity: .75; cursor: progress; transform: none; }
.et-spinner { display: none; width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%; animation: et-spin .8s linear infinite; }
.et-submit.is-loading .et-spinner { display: inline-block; }
@keyframes et-spin { to { transform: rotate(360deg); } }
.et-form.is-flash { animation: et-flash 1.2s ease; }
@keyframes et-flash { 0% { box-shadow: 0 0 0 0 rgba(117, 37, 217, 0); } 30% { box-shadow: 0 0 0 6px rgba(117, 37, 217, .25); } 100% { box-shadow: 0 0 0 0 rgba(117, 37, 217, 0); } }

/* success */
.et-form-success { text-align: center; padding: clamp(1rem, 4vw, 2.5rem) .5rem; }
.et-form-success:focus { outline: none; }
.et-success-icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: #dcfce7; color: #15803d; margin-bottom: 1rem; }
.et-form-success h3 { margin: 0 0 .75rem; font-size: clamp(1.25rem, 2.6vw, 1.55rem); }
.et-form-success p { margin: 0 auto .6rem; max-width: 30rem; color: var(--f-muted, #525a6e); }
.et-ref { display: inline-block; padding: .1rem .55rem; border-radius: 8px; background: #f3ecfd; color: var(--et-navy, #0b1222); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .02em; }
