/* ========================== */
/* GLOBAL RESETS & BASE STYLES*/
/* ========================== */

/* Minimal partial reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #fff;
  font-family: 'IBM Plex Sans', sans-serif;
}

.container {
  max-width: 2222px;
  margin: 0 auto;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #162c4e;
  color: white;
  padding: 8px 16px;
  z-index: 100;
  transition: top 0.3s;
  text-decoration: none;
  font-weight: bold;
}

.skip-link:focus {
  top: 0;
}

/* ========================== */
/* FOOTER STYLES             */
/* ========================== */

.hancock-footer {
  background-color: #ffffff;
  font-family: 'IBM Plex Sans', sans-serif;
  padding: 40px 20px;
  color: #333;
}

.hancock-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 0;
}

.col-group {
  display: flex;
  flex-wrap: nowrap;
  width: 50%;
  justify-content: space-between;
}

.footer-column {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 1 1 50%;
  padding: 0 15px;
}

/* Logo */
.footer-col-logo .footer-logo {
  max-width: 180px;
  height: auto;
  margin-bottom: 0.75rem;
}

/* Headings & Subheadings */
.footer-heading {
  color: #072B59;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer-subheading {
  color: #072B59;
  font-weight: 600;
  margin-top: 0.75rem;
}

/* Contact List */
.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.4rem 0;
}

.footer-contact-list a {
  color: #1b3661;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-contact-list a:hover {
  color: #072B59;
}

.footer-hours {
  font-size: 0.95rem;
  color: #333;
}

/* Quick Links */
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin: 0.4rem 0;
}

.footer-links a {
  color: #1b3661;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #063573;
}

/* License + Social */
.footer-col-license-social .footer-license {
  font-weight: 600;
  color: #063573;
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: .5rem;
}

.footer-social-icons {
  display: flex;
  gap: 1rem;
}

.footer-social-icons a {
  color: #063573;
  font-size: 16px;
  transition: color 0.3s ease;
}

.footer-social-icons a:hover {
  color: #072B59;
}

/* New Styles for the License Credentials List */
.footer-license-credentials {
  list-style: none;
  padding: 0;
  margin: 0 0 .5rem 0;
  color: #072B59;
  font-weight: 600;
}

.footer-license-credentials li {
  margin-bottom: 0.5rem;
}

/* Bottom Bar */
.footer-bottom-bar {
  border-top: 1px solid #ddd;
  padding-top: 15px;
  margin-top: 30px;
  text-align: center;
}

.footer-bottom-bar p {
  font-size: 0.9rem;
  margin: 0;
}

.footer-bottom-link {
  color: #072B59;
  text-decoration: none;
  margin: 0 5px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-bottom-link:hover {
  color: #063573;
}

/* Footer Responsive */
@media screen and (max-width: 992px) {
  .hancock-footer-inner {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .col-group {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .footer-column {
    width: 100%;
    padding: 0;
    margin-bottom: 20px;
    text-align: center;
  }

  .footer-contact-list li {
    justify-content: center;
    text-align: center;
  }

  .footer-social {
    align-items: center;
  }

  .footer-social-icons {
    justify-content: center;
  }
}


/* Request Service Form (HH) - compact + centered module chrome */
.hh-form{
  margin: 1.25rem auto;
  padding: 0 1rem;
  max-width: 1200px; /* prevents overly wide desktop forms */
}

/* Center “module chrome” (title/subhead) while keeping fields left-aligned */
.hh-form__header{
  margin-bottom: .85rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
}

.hh-form__title{
  margin: 1rem;
  line-height: 1.2;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 36px;
  color: #072B59;
}

.hh-form__subhead{
  margin: 0;
  max-width: 60ch;
  opacity: .9;
}

/* Card tighter */
.hh-form__form{
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 12px;
  padding: 1rem;
}

/* Reduce perceived length: tighter gaps and consistent spacing */
.hh-form__grid{
  display: grid;
  gap: .65rem;
  grid-template-columns: 1fr;
}

.hh-form__field--wide{
  grid-column: 1 / -1;
}

/* Field labels stay left aligned for scanability */
.hh-form__label{
  display: block;
  font-weight: 700;
  margin-bottom: .25rem;
  text-align: left;
  color: #072B59;
}

.hh-form__optional{
  font-weight: 400;
  opacity: .8;
}

.hh-form__input,
.hh-form__select,
.hh-form__textarea{
  width: 100%;
  border: 1px solid rgba(0,0,0,.2);
  border-radius: 10px;
  padding: .55rem .7rem; /* tighter */
  font: inherit;
}

/* Textarea: smaller by default to reduce intimidation */
.hh-form__textarea{
  resize: vertical;
  min-height: 92px;
}

.hh-form__help{
  font-size: .9rem;
  opacity: .85;
  margin-top: .25rem;
  margin-bottom: .25rem;
  text-align: left;
}

.hh-form__fieldset{
  border: 0;
  padding: 0;
  margin: 0;
}

.hh-form__legend{
  font-weight: 600;
  margin-bottom: .25rem;
  text-align: left;
  color: #072B59;
}

/* Radios: keep left aligned, but tidy spacing */
.hh-form__radios{
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
}

.hh-form__radio{
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}

.hh-form__checkbox{
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  text-align: left;
}

.hh-form__checkbox input{
  margin-top: .18rem;
}

/* Center the CTA area (button + fineprint) on mobile */
.hh-form__actions{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  flex-wrap: nowrap;
  text-align: center;
}

.hh-form__submit{
  border: 0;
  border-radius: 999px;
  padding: .7rem 1.15rem; /* slightly tighter */
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  max-width: 420px; /* avoids huge full-width buttons on desktop */
}

.hh-form__fineprint{
  margin: 0;
  font-size: .9rem;
  opacity: .85;
  max-width: 60ch;
}

/* Honeypot: keep off-screen, not display:none */
.hh-form__hp{
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Responsive columns + desktop layout tweaks */
@media (min-width: 720px){
  .hh-form{
    padding: 0 2rem;
  }

  .hh-form__form{
    padding: 1rem 1.1rem;
  }

  .hh-form__grid{
    grid-template-columns: 1fr 1fr;
    gap: .75rem .9rem;
  }

  /* On desktop, keep actions centered but don’t force button full width */
  .hh-form__actions{
    gap: .6rem;
  }

  .hh-form__submit{
    width: auto;
    min-width: 260px;
  }
}

/* Compact variant: even tighter and less “formy” */
.hh-form--compact .hh-form__form{
  padding: .75rem;
}

.hh-form--compact .hh-form__grid{
  gap: .55rem;
}

.hh-form--compact .hh-form__textarea{
  min-height: 80px;
}