/* Aquasun native forms (replaces Elementor form widget styling). */
.aq-nform { --aqf-gap: 0.75rem; font-family: var(--aq-font, inherit); color: var(--aq-text, #1a242d); text-align: left; }
.aq-nform .aq-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.aq-nform-hp { position: absolute !important; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.aq-nform-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--aqf-gap); }
.aq-nfield { grid-column: span 12; min-width: 0; }
.aq-nfield.w25 { grid-column: span 3; }
.aq-nfield.w33 { grid-column: span 4; }
.aq-nfield.w50 { grid-column: span 6; }
.aq-nfield.w66 { grid-column: span 8; }
.aq-nform .aq-nlabel { display: block; font-size: 0.82rem; font-weight: 650; margin: 0 0 0.35rem; color: var(--aq-navy-deep, #1f333e); }
.aq-nform input[type="text"], .aq-nform input[type="email"], .aq-nform input[type="tel"], .aq-nform select, .aq-nform textarea {
  width: 100%; min-height: 48px; padding: 0.75rem 0.9rem; font: inherit; font-size: 16px; line-height: 1.3;
  color: var(--aq-text, #1a242d); background: #fff; border: 1px solid var(--aq-border, #e3e8ee); border-radius: 10px;
  box-shadow: none; transition: border-color 0.2s, box-shadow 0.2s; -webkit-appearance: none; appearance: none;
}
.aq-nform textarea { min-height: 120px; resize: vertical; }
.aq-nform input::placeholder, .aq-nform textarea::placeholder { color: #8593a1; opacity: 1; }
.aq-nform input:focus, .aq-nform select:focus, .aq-nform textarea:focus { outline: none; border-color: var(--aq-navy, #2F4858); box-shadow: 0 0 0 3px rgba(47, 72, 88, 0.14); }
.aq-nselect { position: relative; display: block; }
.aq-nselect::after { content: ""; position: absolute; right: 1rem; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--aq-navy, #2F4858); border-bottom: 2px solid var(--aq-navy, #2F4858); transform: rotate(45deg); pointer-events: none; }
.aq-nform select { padding-right: 2.4rem; cursor: pointer; }
.aq-nfield--html { font-weight: 650; color: var(--aq-navy-deep, #1f333e); font-size: 0.92rem; margin-top: 0.35rem; }
.aq-nform fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.aq-nform legend { padding: 0; }
.aq-nopts { display: flex; flex-direction: column; gap: 0.45rem; }
.aq-nopts.is-inline { flex-direction: row; flex-wrap: wrap; gap: 0.5rem 0.6rem; }
.aq-nopt { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; padding: 0.35rem 0.85rem 0.35rem 0.7rem; border: 1px solid var(--aq-border, #e3e8ee); border-radius: 999px; background: #fff; cursor: pointer; }
.aq-nopt input { width: 18px; height: 18px; margin: 0; accent-color: var(--aq-navy, #2F4858); cursor: pointer; }
.aq-nopt label { cursor: pointer; font-size: 0.92rem; color: var(--aq-text, #1a242d); }
.aq-nopt:has(input:checked) { border-color: var(--aq-navy, #2F4858); background: rgba(47, 72, 88, 0.06); }
.aq-nopt:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(47, 72, 88, 0.18); }
.aq-nfield.has-error input, .aq-nfield.has-error select, .aq-nfield.has-error textarea { border-color: #b42318; }
.aq-nerror { display: block; margin-top: 0.3rem; font-size: 0.8rem; color: #b42318; }
.aq-nerror[hidden] { display: none; }
.aq-nform-submit { min-width: 180px; min-height: 50px; justify-content: center; }
.aq-nform .aq-nform-submit, .aq-nform .aq-nform-submit:hover, .aq-nform .aq-nform-submit:focus { color: #fff; }
.aq-nform-submit:disabled { opacity: 0.7; cursor: progress; }
.aq-nform-msg { margin-top: 0.9rem; padding: 0.8rem 1rem; border-radius: 10px; font-size: 0.92rem; }
.aq-nform-msg[hidden] { display: none; }
.aq-nform-msg.is-success { background: #ecf8f1; color: #14532d; border: 1px solid #b7e4c7; }
.aq-nform-msg.is-error { background: #fdecea; color: #7a1c13; border: 1px solid #f5c2bd; }
.aq-nform-rc { margin: 0.75rem 0 0; font-size: 0.72rem; color: var(--aq-muted, #627282); }
.aq-nform-rc a { color: inherit; text-decoration: underline; }
.grecaptcha-badge { visibility: hidden !important; }
@media (max-width: 760px) {
  .aq-nfield.w25, .aq-nfield.w33 { grid-column: span 6; }
  .aq-nfield.w50, .aq-nfield.w66 { grid-column: span 12; }
  .aq-nfield--email, .aq-nfield--textarea { grid-column: span 12; }
}
@media (max-width: 420px) {
  .aq-nfield.w25, .aq-nfield.w33 { grid-column: span 12; }
  .aq-nform-submit { width: 100%; }
}
/* Mobile overflow fix: fieldsets default to min-width:min-content; hidden legends must not size the row. */
.aq-nform fieldset { min-width: 0; max-width: 100%; position: relative; overflow: hidden; padding: 3px; margin-left: -3px; margin-right: -3px; }
.aq-nform legend.aq-sr-only { float: left; width: 1px !important; max-width: 1px !important; height: 1px; clip-path: inset(50%); }
.aq-nform-hp { left: auto; clip-path: inset(50%); }
