/**
 * @file
 * Site footer — design system (docs/design).
 */
:root {
  --container-xl: 1280px;
  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-sans: 'Open Sans', system-ui, sans-serif;
  --al-orange: #e09030;
  --al-navy: #003050;
  --radius-lg: 12px;
  --radius-pill: 999px;
  --dur-1: 0.2s;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}
/* =========================================================================
   Bootstrap reset — neutralize .row, .region, .block, .nav, .form-control
   ========================================================================= */
.site-footer.site-footer {
  background: #013753;
  color: rgba(255, 255, 255, 0.7);
  padding: 72px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font-sans);
}
.site-footer.site-footer .region {
  float: none;
  width: auto;
  padding: 0;
  position: static;
  display: contents;
}
.site-footer.site-footer .region::before,
.site-footer.site-footer .region::after {
  display: none;
}
.site-footer.site-footer .block {
  margin: 0;
  padding: 0;
  border: none;
}
.site-footer.site-footer h2 {
  display: none;
}
.site-footer.site-footer .content {
  margin: 0;
}
.site-footer.site-footer .clearfix::after {
  display: none;
}
.site-footer.site-footer > .container {
  max-width: var(--container-xl);
  margin-left: auto;
  margin-right: auto;
}
/* =========================================================================
   Top — grid: link columns + right sidebar
   Twig sets .site-footer__top--cols-N and --has-right classes.
   ========================================================================= */
.site-footer__top {
  display: grid;
  gap: 48px;
  padding-bottom: 44px;
  grid-template-columns: 1fr;
}
.site-footer__top--cols-1.site-footer__top--has-right {
  grid-template-columns: 1fr 1.35fr;
}
.site-footer__top--cols-2.site-footer__top--has-right {
  grid-template-columns: repeat(2, 1fr) 1.35fr;
}
.site-footer__top--cols-3.site-footer__top--has-right {
  grid-template-columns: repeat(3, 1fr) 1.35fr;
}
.site-footer__top--cols-2:not(.site-footer__top--has-right) {
  grid-template-columns: 1fr 1fr;
}
.site-footer__top--cols-3:not(.site-footer__top--has-right) {
  grid-template-columns: repeat(3, 1fr);
}
/* =========================================================================
   Link columns
   ========================================================================= */
.site-footer__col {
  /* Multiple blocks within the same column need spacing */
  /* Views field wrappers: remove default spacing */
}
.site-footer__col h6 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: #fff;
  letter-spacing: 0;
  text-transform: none;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.site-footer__col h6 a {
  color: inherit;
  text-decoration: none;
  display: inline;
  transition: color var(--dur-1) var(--ease-out);
}
.site-footer__col h6 a::before {
  content: none;
}
.site-footer__col h6 a:hover {
  color: var(--al-orange);
}
.site-footer__col .site-footer__col-group + .site-footer__col-group {
  margin-top: 28px;
}
.site-footer__col .block + .block {
  margin-top: 28px;
}
.site-footer__col a,
.site-footer__col .views-field-title a,
.site-footer__col .field-content a {
  display: flex;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 15.5px;
  padding: 6px 0;
  line-height: 1.45;
  transition: color var(--dur-1) var(--ease-out), transform var(--dur-1) var(--ease-out);
}
.site-footer__col a::before,
.site-footer__col .views-field-title a::before,
.site-footer__col .field-content a::before {
  content: '';
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-right: 1px solid rgba(255, 255, 255, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  transform: rotate(-45deg);
  margin-right: 10px;
  margin-top: 8px;
  transition: border-color var(--dur-1) var(--ease-out);
}
.site-footer__col a:hover,
.site-footer__col .views-field-title a:hover,
.site-footer__col .field-content a:hover {
  color: var(--al-orange);
  transform: translateX(4px);
}
.site-footer__col a:hover::before,
.site-footer__col .views-field-title a:hover::before,
.site-footer__col .field-content a:hover::before {
  border-color: var(--al-orange);
}
.site-footer__col .views-field {
  margin: 0;
  padding: 0;
}
.site-footer__col .view-footer-solutions .item-list ul,
.site-footer__col .view-footer-solutions ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
/* =========================================================================
   Right column — Newsletter + Locations
   ========================================================================= */
.site-footer__right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
/* Newsletter card */
.site-footer__newsletter {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 22px 22px 24px;
}
.site-footer__newsletter-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  margin: 0 0 8px;
}
.site-footer__newsletter-title svg {
  stroke: var(--al-orange);
}
.site-footer__newsletter-intro {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
  margin: 0 0 14px;
}
/* Newsletter form — override Bootstrap .form-control, .btn, .mb-3 */
.site-footer__newsletter {
  /* Drupal outputs form-type-email, form-item-email, js-form-item — not .form-item */
  /* Override .mb-3 on any child div */
}
.site-footer__newsletter .webform-submission-form,
.site-footer__newsletter .site-footer__newsletter-form {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
}
.site-footer__newsletter [class*="form-item"],
.site-footer__newsletter [class*="form-type"] {
  flex: 1;
  min-width: 0;
  margin: 0 !important;
  margin-bottom: 0 !important;
}
.site-footer__newsletter [class*="form-item"] label,
.site-footer__newsletter [class*="form-type"] label {
  display: none;
}
.site-footer__newsletter .mb-3 {
  margin-bottom: 0 !important;
}
.site-footer__newsletter input[type="email"],
.site-footer__newsletter input.form-control,
.site-footer__newsletter input.form-email {
  flex: 1;
  width: 100%;
  min-width: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  height: auto;
  line-height: normal;
  box-shadow: none;
  transition: border-color var(--dur-1) var(--ease-out), background var(--dur-1) var(--ease-out);
}
.site-footer__newsletter input[type="email"]::placeholder,
.site-footer__newsletter input.form-control::placeholder,
.site-footer__newsletter input.form-email::placeholder {
  color: rgba(255, 255, 255, 0.45);
}
.site-footer__newsletter input[type="email"]:focus,
.site-footer__newsletter input.form-control:focus,
.site-footer__newsletter input.form-email:focus {
  outline: none;
  border-color: var(--al-orange);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}
.site-footer__newsletter .webform-actions,
.site-footer__newsletter .form-actions {
  margin: 0 !important;
  margin-bottom: 0 !important;
}
.site-footer__newsletter .webform-button--submit,
.site-footer__newsletter button[type="submit"],
.site-footer__newsletter .btn {
  background: #fff;
  color: #013753;
  border: 0;
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: none;
  letter-spacing: 0;
  line-height: normal;
  box-shadow: none;
  transition: background var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out), transform var(--dur-1) var(--ease-out);
}
.site-footer__newsletter .webform-button--submit:hover,
.site-footer__newsletter button[type="submit"]:hover,
.site-footer__newsletter .btn:hover,
.site-footer__newsletter .webform-button--submit:focus,
.site-footer__newsletter button[type="submit"]:focus,
.site-footer__newsletter .btn:focus {
  background: var(--al-orange);
  color: #fff;
  box-shadow: none;
  outline: none;
}
.site-footer__newsletter .webform-button--submit:active,
.site-footer__newsletter button[type="submit"]:active,
.site-footer__newsletter .btn:active {
  transform: translateY(1px);
}
/* Locations card */
.site-footer__locations {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 22px 22px 18px;
}
.site-footer__locations-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.site-footer__locations-title svg {
  stroke: var(--al-orange);
}
.site-footer__locations-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.site-footer__address + .site-footer__address {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.site-footer__address {
  display: flex;
  flex-direction: column;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.5;
}
.site-footer__address-city {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.site-footer__address-phone {
  color: var(--al-orange);
  text-decoration: none;
  font-weight: 600;
  font-size: 12.5px;
  margin-bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.site-footer__address-phone:hover {
  color: #fff;
}
.site-footer__address-phone::before {
  content: none;
}
/* =========================================================================
   Social icons
   ========================================================================= */
.site-footer__socials {
  display: flex;
  gap: 10px;
}
.site-footer__socials a {
  position: relative;
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  padding: 0;
  transition: background var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out);
}
.site-footer__socials a::before {
  content: none;
}
.site-footer__socials a:hover {
  background: var(--al-orange);
  color: #fff;
  padding-left: 0;
}
.site-footer__socials i,
.site-footer__socials svg {
  font-size: 16px;
  line-height: 1;
}
/* =========================================================================
   Bottom bar — report | legal | socials
   Override Bootstrap .nav, .nav-item, .nav-link
   ========================================================================= */
.site-footer__bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 22px 0 24px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  /* Three direct block children (via display:contents on .region). */
}
.site-footer__bottom .block-footer-report {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}
.site-footer__bottom .block-footer-legal {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
}
.site-footer__bottom .block-footer-socials {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}
.site-footer__bottom a {
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  transition: color var(--dur-1) var(--ease-out);
}
.site-footer__bottom a::before {
  content: none;
}
.site-footer__bottom a:hover {
  color: var(--al-orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}
/* Report issue block */
.site-footer__report {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.site-footer__report svg {
  stroke: currentColor;
}
/* Legal menu — override Bootstrap .nav */
.block-footer-legal ul.nav,
.site-footer__legal ul.nav,
.block-footer-legal .menu,
.site-footer__legal .menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-direction: row;
}
.block-footer-legal .nav-item,
.site-footer__legal .nav-item,
.block-footer-legal .menu-item,
.site-footer__legal .menu-item {
  padding: 0;
  margin: 0;
  float: none;
}
.block-footer-legal .nav-item a,
.site-footer__legal .nav-item a,
.block-footer-legal .menu-item a,
.site-footer__legal .menu-item a,
.block-footer-legal .nav-item a.nav-link,
.site-footer__legal .nav-item a.nav-link,
.block-footer-legal .menu-item a.nav-link,
.site-footer__legal .menu-item a.nav-link {
  display: inline;
  padding: 0;
  border: none;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}
.block-footer-legal .nav-item a:hover,
.site-footer__legal .nav-item a:hover,
.block-footer-legal .menu-item a:hover,
.site-footer__legal .menu-item a:hover,
.block-footer-legal .nav-item a.nav-link:hover,
.site-footer__legal .nav-item a.nav-link:hover,
.block-footer-legal .menu-item a.nav-link:hover,
.site-footer__legal .menu-item a.nav-link:hover {
  color: var(--al-orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}
/* Socials block */
.block-footer-socials .content,
.block-footer-socials .field {
  margin: 0;
  padding: 0;
}
.block-footer-socials .field__item {
  margin: 0;
  padding: 0;
  float: right;
}
/* Copyright */
.site-footer__copyright {
  padding: 0 0 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}
/* =========================================================================
   Responsive
   ========================================================================= */
/* ---- Tablet landscape / small desktop ---- */
@media (max-width: 1080px) {
  .site-footer__top,
  .site-footer__top[class*="--cols-"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 36px 40px;
  }
  .site-footer__right {
    grid-column: 1 / -1;
  }
  .site-footer__newsletter .webform-submission-form,
  .site-footer__newsletter .site-footer__newsletter-form {
    max-width: 480px;
  }
}
/* ---- Tablet portrait ---- */
@media (max-width: 820px) {
  .site-footer.site-footer {
    padding-top: 56px;
  }
  .site-footer__top,
  .site-footer__top[class*="--cols-"] {
    grid-template-columns: 1fr 1fr !important;
    gap: 32px;
  }
  .site-footer__right {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .site-footer__bottom {
    grid-template-columns: auto;
    justify-items: center;
    gap: 16px;
  }
  .site-footer__bottom .block-footer-report {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
  }
  .site-footer__bottom .block-footer-legal {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
  }
  .site-footer__bottom .block-footer-socials {
    grid-column: 1;
    grid-row: 3;
    justify-self: center;
  }
  .site-footer__copyright {
    font-size: 13px;
    padding: 16px 0;
  }
}
/* ---- Mobile ---- */
@media (max-width: 640px) {
  .site-footer.site-footer {
    padding-top: 40px;
  }
  .site-footer__top,
  .site-footer__top[class*="--cols-"] {
    grid-template-columns: 1fr !important;
    gap: 28px;
    padding-bottom: 32px;
  }
  .site-footer__right {
    grid-column: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .site-footer__col h6 {
    font-size: 16px;
  }
  .site-footer__col a,
  .site-footer__col .views-field-title a,
  .site-footer__col .field-content a {
    font-size: 14.5px;
    padding: 5px 0;
  }
  .site-footer__newsletter {
    padding: 18px 16px 20px;
  }
  .site-footer__newsletter .webform-submission-form,
  .site-footer__newsletter .site-footer__newsletter-form {
    flex-wrap: wrap;
  }
  .site-footer__newsletter [class*="form-item"],
  .site-footer__newsletter [class*="form-type"] {
    flex: 1 1 100%;
  }
  .site-footer__newsletter .webform-actions,
  .site-footer__newsletter .form-actions {
    flex: 1 1 100%;
  }
  .site-footer__newsletter .webform-button--submit,
  .site-footer__newsletter button[type="submit"],
  .site-footer__newsletter .btn {
    width: 100%;
    justify-content: center;
  }
  .site-footer__locations {
    padding: 18px 16px 14px;
  }
  .site-footer__locations-grid {
    gap: 14px;
  }
  .site-footer__bottom {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    gap: 12px;
    padding: 18px 0 20px;
  }
  .site-footer__bottom .block-footer-report,
  .site-footer__bottom .block-footer-legal,
  .site-footer__bottom .block-footer-socials {
    grid-column: 1;
    justify-self: center;
  }
  .site-footer__legal ul.nav,
  .site-footer__bottom .menu {
    justify-content: center;
    gap: 14px;
  }
  .site-footer__copyright {
    font-size: 12px;
    padding: 14px 0;
    line-height: 1.5;
  }
}
