


.lead-modal {
  position: fixed; inset: 0; margin: auto;
  width: min(440px, calc(100vw - 32px));
  height: max-content; max-height: calc(100dvh - 40px);
  padding: clamp(24px, 4.5vw, 36px);
  border: 1px solid var(--sand, #DCD2BE);
  border-radius: 2px;
  background: var(--paper, #F4F1EA);
  color: var(--ink, #1F3F37);
  box-shadow: 0 26px 72px rgba(15, 28, 24, .45);
  overflow: auto;
}
.lead-modal::backdrop { background: rgba(15, 28, 24, .55); }

html.lead-modal-open { overflow: hidden; }
.lead-modal .form-card { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }

.lead-modal .btn-primary{
  background:var(--btn-gold); color:#1A1A1A;
  border:1px solid rgba(115,87,48,.55);
  box-shadow:0 1px 0 rgba(255,255,255,.5) inset, 0 8px 22px -8px rgba(197,165,114,.6);
}
.lead-modal .btn-primary:hover{ background:var(--btn-gold-hover); }
.lead-modal .btn-primary:focus-visible{ outline:2px solid var(--gilt); outline-offset:2px; }
.lead-modal__title { margin: 0 36px 6px 0; font-size: clamp(22px, 4.6vw, 27px); line-height: 1.15; }
.lead-modal__sub { margin: 0 0 22px; color: var(--text-mute, #525C57); font-size: 15px; line-height: 1.5; }
.lead-modal__close {
  position: absolute; top: 12px; right: 12px;
  width: 38px; height: 38px; display: grid; place-items: center;
  padding: 0; border: 0; border-radius: 2px; cursor: pointer;
  background: transparent; color: var(--ink, #1F3F37); opacity: .6;
  transition: opacity .15s ease, background .15s ease;
}
.lead-modal__close:hover { opacity: 1; background: rgba(31, 63, 55, .07); }
.lead-modal__close:focus-visible { opacity: 1; outline: 2px solid var(--gilt, #C5A572); outline-offset: 2px; }

@media (prefers-reduced-motion: no-preference) {
  .lead-modal[open] { animation: lead-pop .2s ease both; }
  @keyframes lead-pop { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}



.header-actions .btn.btn-glass{ gap:0; }

@media (max-width:640px){
  
  .header-inner{ justify-content:space-between; gap:8px; }
  .header-actions{ display:contents; }
  .header-actions .btn{ display:inline-flex; }
  .header-actions .btn.btn-glass{   
    height:46px; padding:0 26px; font-size:15px; font-weight:600;
    background:var(--btn-gold); color:#1A1A1A;
    border:1px solid rgba(115,87,48,.55);
    box-shadow:0 1px 0 rgba(255,255,255,.6) inset, 0 12px 26px -6px rgba(11,24,20,.30), 0 4px 11px -3px rgba(197,165,114,.5);
  }
  .header-actions .btn.btn-glass:active{ transform:translateY(0); }
  .header-actions .btn .lead-cta-tail{ display:none; }   
  .burger{ margin-right:0; }
}


.nav-dropdown--slim .nav-dropdown-menu{ min-width:240px; display:block; padding:8px 0; }
.nav-dropdown--slim .nav-dropdown-col{ border-right:0; padding:6px 20px; }
@media (max-width:980px){ .nav-dropdown--slim .nav-dropdown-menu{ padding:0; } }
