/* Enoma contact and newsletter forms, light/dark branding-aware */
.footer-newsletter{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,1fr);gap:clamp(20px,4vw,65px);align-items:center;padding:36px 0;border-bottom:1px solid var(--app-line)}
.footer-newsletter h2{font:400 clamp(27px,3vw,40px)/1.2 Georgia,serif;letter-spacing:-.6px;color:var(--app-text);margin:7px 0 14px}
.footer-newsletter p{font-size:13px;line-height:1.8;color:var(--app-muted);margin:0}
.public-optin-form{display:flex;flex-direction:column;gap:10px;background:var(--app-surface);border:1px solid var(--app-line);padding:20px;border-radius:15px;min-width:0}
.public-optin-form label,.public-contact-form label{display:block;font-weight:800;color:var(--app-text);font-size:12px}
.public-optin-form input[type=email],.public-contact-form input:not([type=checkbox]),.public-contact-form textarea{padding:13px 14px;border:1px solid var(--app-line);border-radius:11px;background:var(--app-bg);color:var(--app-text);font:inherit;font-size:13px;width:100%;min-width:0;min-height:48px}
.newsletter-email-row{display:flex;gap:9px;align-items:stretch;min-width:0}
.newsletter-email-row input{flex:1}
.newsletter-email-row button,.public-contact-form button{min-height:48px;background:var(--brand-primary);color:white;border:0;border-radius:10px;font-size:12px;font-weight:800;padding:12px 17px;cursor:pointer}
.public-optin-form .public-form-check,.public-contact-form .public-form-check{display:flex;gap:9px;align-items:start;line-height:1.5;font-size:11px;font-weight:500;color:var(--app-text);margin:3px 0}
.public-form-check input[type=checkbox]{width:18px;height:18px;flex:0 0 18px;accent-color:var(--brand-primary);margin:0}
.public-optin-form small{display:block;color:var(--app-muted);font-size:10px;line-height:1.6}
.honeypot-field{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden;pointer-events:none}
.public-form-notice{margin-top:20px;margin-bottom:15px;padding:15px 18px;background:var(--app-soft);border:1px solid var(--app-line);border-radius:12px;color:var(--app-text);font-size:13px;line-height:1.6}
.contact-message-section{display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);gap:clamp(25px,5vw,70px);padding:45px 0 80px}
.contact-message-section h2{font:400 clamp(31px,4.4vw,49px)/1.2 Georgia,serif;color:var(--app-text);margin:10px 0 14px}
.contact-message-section>div>p:not(.public-eyebrow){font-size:14px;color:var(--app-muted);line-height:1.9}
.public-contact-form{padding:clamp(18px,3vw,29px);border:1px solid var(--app-line);border-radius:17px;background:var(--app-surface)}
.contact-form-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin-bottom:20px}
.contact-form-fields>div{min-width:0}
.contact-form-fields .form-full{grid-column:1/-1}
.public-contact-form label{margin-bottom:8px}
.public-contact-form textarea{resize:vertical;line-height:1.65}
.public-contact-form>button{display:block;margin:20px 0 0;min-width:160px}
.public-optin-form :is(input,button):focus-visible,.public-contact-form :is(input,textarea,button):focus-visible{outline:3px solid var(--brand-accent);outline-offset:2px}
@media(max-width:880px){.footer-newsletter,.contact-message-section{grid-template-columns:1fr}.footer-newsletter{gap:16px}.contact-message-section{padding-top:28px}.public-optin-form{max-width:600px}}
@media(max-width:530px){.contact-form-fields{grid-template-columns:1fr}.contact-form-fields .form-full{grid-column:auto}.newsletter-email-row{flex-direction:column}.newsletter-email-row button,.public-contact-form>button{width:100%}.footer-newsletter{padding:24px 0}.public-optin-form{padding:16px}}


/* 2026 public form polish — controls only; preserve the existing ENOMA layout. */
:root .expanded-property-search select,
:root .feedback-form select,
:root .public-contact-form select,
:root .public-optin-form select,
:root .lead-form select,
:root .cms-form select {
  appearance:none;
  -webkit-appearance:none;
  width:100%;
  min-width:0;
  min-height:49px;
  padding:12px 43px 12px 15px;
  border:1px solid var(--app-line);
  border-radius:12px;
  color:var(--app-text);
  background-color:var(--app-surface);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2367798e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 13px center;
  background-size:18px 18px;
  box-shadow:0 2px 7px rgba(20,40,70,.035);
  font:600 13px/1.45 Arial,Helvetica,sans-serif;
  cursor:pointer;
  transition:border-color .17s ease, box-shadow .17s ease, background-color .17s ease;
}
:root .expanded-property-search select:hover,
:root .feedback-form select:hover,
:root .public-contact-form select:hover,
:root .lead-form select:hover,
:root .cms-form select:hover {border-color:var(--brand-primary);}
:root .expanded-property-search :is(select,input):focus-visible,
:root :is(.feedback-form,.public-contact-form,.public-optin-form,.lead-form,.cms-form) :is(input,select,textarea):focus-visible {
  outline:2px solid var(--brand-primary);
  outline-offset:2px;
  border-color:var(--brand-primary);
  box-shadow:0 0 0 4px rgba(43,121,203,.11);
}
:root .expanded-property-search select:disabled,
:root :is(.feedback-form,.public-contact-form,.lead-form) select:disabled {
  opacity:.55;
  cursor:not-allowed;
}
:root .expanded-property-search :is(input,select),
:root :is(.feedback-form,.public-contact-form,.public-optin-form,.lead-form,.cms-form) :is(input:not([type=checkbox]):not([type=file]):not([type=hidden]),textarea,select) {
  transition:border-color .17s ease,box-shadow .17s ease;
}
:root :is(.feedback-form,.public-contact-form,.public-optin-form,.lead-form,.cms-form) :is(input:not([type=checkbox]):not([type=file]):not([type=hidden]),textarea) {
  border-radius:12px;
}
:root[data-mode=dark] .expanded-property-search select,
:root[data-mode=dark] :is(.feedback-form,.public-contact-form,.lead-form,.cms-form) select {
  background-color:var(--app-surface);
  color:var(--app-text);
  color-scheme:dark;
}
@media(max-width:600px) {
  :root .expanded-property-search select {
    min-height:47px;
    padding:10px 37px 10px 12px;
    background-position:right 10px center;
    font-size:12px;
  }
}
@media(prefers-reduced-motion:reduce) {
  :root .expanded-property-search select,
  :root :is(.feedback-form,.public-contact-form,.lead-form,.cms-form) select {transition:none;}
}

/* Custom open menus — native selects remain the submitted form controls and are fallback without JS. */
:root .enoma-select{position:relative;display:block;width:100%;min-width:0}
:root .enoma-select-native{position:absolute!important;inset:0 auto auto 0!important;width:1px!important;height:1px!important;min-height:0!important;opacity:0!important;pointer-events:none!important;padding:0!important;margin:0!important;overflow:hidden!important}
:root .enoma-select-trigger{
 position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:49px;
 padding:11px 14px 11px 16px;border:1px solid var(--app-line);border-radius:12px;background:var(--app-surface);
 box-shadow:0 3px 12px rgba(20,40,70,.045);color:var(--app-text);font:700 13px/1.4 Arial,Helvetica,sans-serif;
 text-align:left;cursor:pointer;transition:border-color .17s,box-shadow .17s,background .17s;
}
:root .enoma-select-trigger:hover{border-color:var(--brand-primary);background:var(--app-soft)}
:root .enoma-select-trigger:focus-visible,:root .enoma-select.is-open .enoma-select-trigger{
 border-color:var(--brand-primary);outline:2px solid var(--brand-primary);outline-offset:2px;box-shadow:0 0 0 4px rgba(43,121,203,.09)
}
:root .enoma-select-value{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
:root .enoma-select-trigger.is-placeholder .enoma-select-value{color:var(--app-muted)}
:root .enoma-select-chevron{flex:0 0 19px;width:19px;height:19px;display:grid;place-items:center;border-radius:5px;background:var(--app-soft);color:var(--brand-primary)}
:root .enoma-select-chevron:after{content:'';width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .18s}
:root .enoma-select.is-open .enoma-select-chevron:after{transform:translateY(2px) rotate(225deg)}
:root .enoma-select-list{
 position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:110;max-height:min(290px,48vh);
 overflow-y:auto;overscroll-behavior:contain;padding:7px;background:var(--app-surface);color:var(--app-text);
 border:1px solid var(--app-line);border-radius:14px;box-shadow:0 16px 48px rgba(18,38,70,.17);
 scrollbar-width:thin;scrollbar-color:var(--app-line) transparent;
}
:root .enoma-select-list[hidden]{display:none!important}
:root .enoma-select-option{
 display:flex;align-items:center;justify-content:space-between;min-height:42px;padding:11px 12px;
 border-radius:9px;color:var(--app-text);font:600 13px/1.4 Arial,Helvetica,sans-serif;cursor:pointer;
 transition:background-color .15s;
}
:root .enoma-select-option:hover,:root .enoma-select-option.is-selected{background:var(--app-soft);color:var(--brand-secondary-text)}
:root .enoma-select-option.is-selected:after{content:'✓';font-size:15px;font-weight:900;color:var(--brand-primary);margin-left:8px}
:root .enoma-select-option.is-disabled{opacity:.4;cursor:not-allowed}
:root .enoma-select-trigger:disabled{opacity:.5;cursor:not-allowed}
:root[data-mode=dark] .enoma-select-list{box-shadow:0 16px 48px rgba(0,0,0,.42)}
@media(max-width:600px){
 :root .enoma-select-trigger{min-height:47px;font-size:12px;padding:10px 11px}
 :root .enoma-select-option{min-height:45px;font-size:13px}
}
@media(prefers-reduced-motion:reduce){
 :root .enoma-select-trigger,:root .enoma-select-option,:root .enoma-select-chevron:after{transition:none}
}

/* Branded newsletter and contact form success/error dialogs. */
.enoma-form-dialog{border:0;padding:0;background:transparent;max-width:min(92vw,480px);width:100%;color:var(--app-text)}
.enoma-form-dialog::backdrop{background:rgba(12,23,44,.68);backdrop-filter:blur(3px)}
.enoma-form-dialog-card{padding:clamp(24px,5vw,36px);background:var(--app-surface);border:1px solid var(--app-line);border-radius:22px;box-shadow:0 20px 70px rgba(0,0,0,.2);text-align:center}
.enoma-form-dialog-icon{display:grid;place-items:center;width:65px;height:65px;margin:0 auto 18px;border-radius:50%;font-size:30px;font-weight:800}
.enoma-form-dialog-icon.is-success{background:#e5f6ed;color:#147346}
.enoma-form-dialog-icon.is-error{background:#fff1e9;color:#a43a18}
.enoma-form-dialog-card h2{font:400 clamp(25px,5vw,33px)/1.2 Georgia,serif;color:var(--app-text);margin:10px 0}
.enoma-form-dialog-card p:not(.public-eyebrow){line-height:1.7;color:var(--app-muted);font-size:14px;margin:10px 0 23px}
.enoma-form-dialog-card button{border:0;border-radius:10px;background:var(--brand-primary);color:white;min-height:48px;padding:12px 28px;font-weight:700;cursor:pointer}
