/* The Melbourne Energy Field Guide — enquiry form, success state and phone bar. */
.enq-form [hidden], .enq-success[hidden] { display: none !important; }
.enq-form .enq-step { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 18px; }
.enq-form .enq-step + .enq-step { margin-top: 26px; }
.enq-step-title { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 4px; font-family: Geist, sans-serif; font-size: 20px; font-weight: 600; letter-spacing: -.015em; color: inherit; }
.enq-step-title span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #153c2e; color: #153c2e; font-size: 13px; letter-spacing: 0; }
.enq-step-note { margin: -6px 0 0; font-size: 13px; color: #586452; }
.enq-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 6px; padding: 0; }
.enq-trust li { padding: 6px 10px; border: 1px solid #c9d0c3; background: #fbfcfa; font-size: 12px; line-height: 1.4; color: #3d5245; }
.enq-trust b { color: #153c2e; }
.enq-progress { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 18px 0 22px; padding: 0; counter-reset: enq; }
.enq-progress li { counter-increment: enq; padding-top: 10px; border-top: 3px solid #d5dbd0; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #5c6a59; transition: border-color .3s, color .3s; }
.enq-progress li.is-done { border-color: #6d8f45; color: #3d5245; }
.enq-progress li.is-current { border-color: #153c2e; color: #153c2e; }
.enq-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.enq-services label, .enq-chips label { position: relative; display: block; margin: 0; cursor: pointer; }
.enq-services input, .enq-chips input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.enq-services span { display: flex; align-items: center; min-height: 56px; padding: 12px 14px 12px 42px; border: 1px solid #bbc3b5; background: #fbfcfa; font-size: 15px; font-weight: 550; line-height: 1.3; transition: background .2s, border-color .2s, color .2s; }
.enq-services span::before { content: ""; position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border: 1.5px solid #153c2e; border-radius: 50%; background: #fff; }
.enq-services input:checked + span { border-color: #153c2e; background: #153c2e; color: #f3f5f0; }
.enq-services input:checked + span::before { border-color: #153c2e; background: radial-gradient(circle, #153c2e 0 4px, #153c2e 5px); }
.enq-services label:hover span, .enq-chips > div label:hover span { border-color: #153c2e; }
.enq-form input:focus-visible + span { outline: 3px solid #486a28; outline-offset: 2px; }
.enq-chips { margin: 0; padding: 0; border: 0; min-width: 0; }
.enq-chips legend { padding: 0; margin-bottom: 8px; font-size: 12px; font-weight: 600; }
.enq-chips > div { display: flex; flex-wrap: wrap; gap: 6px; }
.enq-chips > div span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 13px; border: 1px solid #bbc3b5; background: #fbfcfa; font-size: 13px; transition: background .2s, border-color .2s, color .2s; }
.enq-chips input:checked + span { background: #153c2e; border-color: #153c2e; color: #153c2e; }
.enq-optional { display: inline; padding: 0; border: 0; background: none; font-size: inherit; font-weight: 400; color: #5c6a59; }
.enq-error { display: block; margin-top: 6px; font-size: 12px; font-weight: 600; color: #a1271b; }
.enq-error:empty { display: none; }
.enq-form [aria-invalid="true"]:not([type=radio]):not([type=checkbox]) { border-color: #a1271b !important; box-shadow: 0 0 0 1px #a1271b; }
.enq-nav { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 24px; }
.enq-nav .button { flex: 1 1 auto; max-width: 100%; }
.enq-back { margin-right: auto; min-height: 48px; padding: 0 4px; border: 0; background: transparent; color: inherit; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.enq-back:focus-visible { outline: 3px solid #486a28; outline-offset: 3px; }
.enq-success { padding: clamp(24px, 3.5vw, 48px); background: #f3f5f0; color: #163629; outline: none; animation: enq-in .45s cubic-bezier(.2,.7,.3,1); }
.enq-success h2 { margin: 10px 0 22px; font-size: clamp(26px, 2.1vw, 30px); font-weight: 600; line-height: 1.15; letter-spacing: -.03em; }
.enq-success ol { list-style: none; margin: 0; padding: 0; counter-reset: ok; border-top: 1px solid #c9d0c3; }
.enq-success li { counter-increment: ok; display: grid; grid-template-columns: 34px 1fr; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid #c9d0c3; }
.enq-success li::before { content: counter(ok, decimal-leading-zero); grid-row: span 2; font: 400 22px/1 Geist, sans-serif; color: #536c49; }
.enq-success li b { font-size: 16px; }
.enq-success li span { font-size: 14px; color: #586452; }
.enq-success-call { margin-top: 20px; font-size: 15px; }
.enq-success-call a { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
@keyframes enq-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
	.enq-services { grid-template-columns: 1fr; }
	.enq-progress li { font-size: 9px; letter-spacing: .04em; }
	.enq-nav { position: sticky; bottom: 0; z-index: 2; margin: 18px -20px -24px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: inherit; border-top: 1px solid #d5dbd0; }
	.fg-quote .contact-form .enq-nav { background: #f3f5f0; }
}
@media (prefers-reduced-motion: reduce) { .enq-success { animation: none; } }

/* Phone bar in the Field Guide palette; steps aside while a form is in view. */
@media (max-width: 760px) {
	.mobile-actions { gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(15, 43, 33, .97); border-top: 0; box-shadow: 0 -10px 28px rgba(5, 20, 14, .22); transition: transform .35s cubic-bezier(.2,.7,.3,1); }
	.mobile-actions.is-tucked { transform: translateY(110%); }
	.mobile-action { min-height: 48px; border-radius: 0; border-color: #4a6656; background: transparent; color: #f3f5f0; }
	.mobile-action.is-primary { background: #153c2e; border-color: #153c2e; color: #153c2e; }
	.mobile-action:focus-visible { outline: 3px solid #153c2e; outline-offset: 2px; }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) { .mobile-actions { transition: none; } }
.enq-form select { font-weight: 400; }
