/* Get in Touch + footer as one end-of-page band. Footer is the previous
   VIS dark #333333 with white type and reverse logos (section-colors-v1).
   Desktop: the pair fits about one viewport without a blank orange band
   under the form. v3. */

.d-foot{
  background:#333333;
  color:#fff;
}
.d-foot a,
.d-foot a:visited{
  color:#fff;
}
.d-foot a:hover,
.d-foot a:focus-visible{
  color:#FF7800;
}
.d-foot p,
.d-foot h3,
.d-foot li,
.d-foot .d-foot-copy,
.d-foot .d-foot-cols p,
.d-foot .d-foot-cities li{
  color:#fff;
}
.d-foot .d-foot-cols p,
.d-foot .d-foot-copy{
  color:#fff;
  opacity:1;
}

.d-contact .contact-office{
  margin-top:18px;
}


/* Override d.css .d-sec{min-height:100svh} so Get in Touch is only as tall
   as its content, at 900px+ including 1024-wide laptops. */
@media (min-width: 900px){
  .d-end{
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    min-height: 0;
  }
  .d-end > .d-sec.d-contact,
  .d-sec.d-contact{
    min-height: 0;
    height: auto;
    flex: 0 0 auto;
    justify-content: flex-start;
    padding-top: clamp(48px, 6vw, 80px);
    padding-bottom: 28px;
  }
}

@media (min-width: 1200px){
  .d-end{
    display:flex;
    flex-direction:column;
    box-sizing:border-box;
    min-height:0;
  }
  .d-end > .d-sec.d-contact{
    flex:0 0 auto;
    min-height:0;
    height:auto;
    justify-content:flex-start;
    padding: 80px var(--pad) 20px;
  }
  .d-end .d-contact .d-center{ margin-bottom: 6px; }
  .d-end .d-contact .d-h2{ margin-bottom: 6px; }
  .d-end .d-contact .contact-office{ margin-top: 10px; }
  .d-end .d-contact .contact-kicker{ margin-bottom: 4px; }
  .d-end .contact-form{ gap: 6px; }
  .d-end .contact-field,
  .d-end .contact-phone-field{ gap: 3px; }
  .d-end .contact-form input,
  .d-end .contact-form select,
  .d-end .contact-form textarea{ padding: 7px 12px; }
  .d-end .contact-form textarea{ min-height: 64px; }

  .d-end .d-foot{
    flex:0 0 auto;
    padding: 10px var(--pad) 8px;
  }
  .d-end .d-foot .d-foot-top{ gap: 12px 24px; }
  .d-end .d-foot .d-foot-brandblock{ max-width: 170px; }
  .d-end .d-foot .d-foot-cols{ gap: 14px; }
  .d-end .d-foot .d-foot-cols h3{ margin-bottom: 4px; }
  .d-end .d-foot .d-foot-cols a{
    padding: 1px 0;
    font-size: 15px;
    line-height: 1.3;
  }
  .d-end .d-foot .d-foot-cols p{
    font-size: 13px;
    line-height: 1.3;
  }
  .d-end .d-foot-cities{
    margin-top: 6px;
    padding: 5px 0;
  }
  .d-end .d-foot .d-foot-partners{
    margin-top: 2px;
    padding-top: 5px;
    gap: 8px 18px;
  }
  .d-end .d-foot .d-foot-partners img{ height: 26px; }
  .d-end .d-foot .d-foot-copy{ margin-top: 4px; font-size: 13px; }
}

@media (min-width: 1200px) and (max-height: 760px){
  .d-end > .d-sec.d-contact{
    padding: 76px var(--pad) 4px;
  }
  .d-end .d-contact .d-center{ margin-bottom: 2px; }
  .d-end .d-contact .d-h2{
    margin-bottom: 2px;
    font-size: clamp(30px, 3.8vw, 48px);
  }
  .d-end .d-contact .d-sub{ font-size: 14px; }
  .d-end .d-contact .contact-office{ margin-top: 6px; }
  .d-end .d-contact .contact-address{ font-size: 13px; margin-bottom: 4px; }
  .d-end .contact-form{ gap: 4px; }
  .d-end .contact-field,
  .d-end .contact-phone-field{ gap: 1px; }
  .d-end .contact-field label,
  .d-end .contact-phone-field label,
  .d-end .contact-cc label{ font-size: 11px; }
  .d-end .contact-form input,
  .d-end .contact-form select,
  .d-end .contact-form textarea{
    padding: 4px 10px;
    font-size: 14px;
  }
  .d-end .contact-form textarea{ min-height: 40px; }
  .d-end .contact-submit{ padding: 5px 12px; font-size: 13px; }
  .d-end .d-foot{ padding: 6px var(--pad) 6px; }
  .d-end .d-foot .d-foot-brandblock{ max-width: 140px; }
  .d-end .d-foot .d-foot-cols a{ font-size: 13px; }
  .d-end .d-foot .d-foot-cols p{ font-size: 12px; line-height: 1.25; }
  .d-end .d-foot-cities{ margin-top: 4px; padding: 3px 0; }
  .d-end .d-foot-cities li{ font-size: 12px; }
  .d-end .d-foot .d-foot-partners{ padding-top: 3px; }
  .d-end .d-foot .d-foot-partners img{ height: 22px; }
  .d-end .d-foot .d-foot-copy{ margin-top: 2px; }
}
