/* Shared public-site type, navigation, dropdown, footer, and mobile actions. */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/roboto-latin.woff2") format("woff2");
}

:root {
  --site-ink: #101820;
  --site-muted: #53606a;
  --site-line: #d6dadd;
  --site-paper: #ffffff;
  --site-dark: #102533;
  --site-accent: #b64221;
  --site-accent-soft: #fff1e9;
  --site-warm: #f0bf65;
}

body.market-killeen,
body.site-killeen {
  --site-dark: #132c3f;
  --site-accent: #b23b22;
  --site-accent-soft: #fff0ea;
  --site-warm: #efb35d;
}

body.market-huntsville,
body.site-huntsville {
  --site-dark: #123329;
  --site-accent: #246644;
  --site-accent-soft: #eaf5ed;
  --site-warm: #d8a94c;
}

body,
button,
input,
select,
textarea {
  font-family: "Roboto", Arial, Helvetica, sans-serif;
}

h1,
h2,
h3,
h4,
.site-brand,
.site-header-phone,
.site-nav,
.site-footer {
  font-family: "Roboto", Arial, Helvetica, sans-serif;
}

.site-shell {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

.site-notice {
  position: relative;
  z-index: 120;
  color: rgba(255, 255, 255, 0.9);
  background: var(--site-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 11px;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.site-notice .site-shell {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-notice span {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-notice i {
  color: var(--site-warm);
  font-style: normal;
}

.site-notice a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 110;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--site-line);
  box-shadow: 0 4px 16px rgba(16, 24, 32, 0.06);
  backdrop-filter: blur(10px);
}

.site-header-inner {
  min-height: 94px;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
}

.site-header-phone {
  display: grid;
  gap: 1px;
  color: var(--site-dark);
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.site-header-phone small {
  color: var(--site-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-header-phone strong {
  font-size: clamp(25px, 2.2vw, 32px);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.site-header-phone:hover strong,
.site-header-phone:focus-visible strong {
  color: var(--site-accent);
}

.site-brand {
  display: grid;
  min-width: 150px;
  color: var(--site-ink);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  text-decoration: none;
}

.site-brand span {
  color: var(--site-accent);
  font-size: 20px;
}

.site-brand b {
  font-size: 12px;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(8px, 1.25vw, 18px);
}

.site-nav > a,
.site-nav-dropdown > summary {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 6px;
  color: #3e474e;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.075em;
  list-style: none;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav-dropdown > summary::-webkit-details-marker,
.site-mobile-menu > summary::-webkit-details-marker,
.site-mobile-submenu > summary::-webkit-details-marker {
  display: none;
}

.site-nav-dropdown > summary span {
  color: var(--site-accent);
  font-size: 14px;
  transform: translateY(-1px);
}

.site-nav > a:hover,
.site-nav > a:focus-visible,
.site-nav-dropdown > summary:hover,
.site-nav-dropdown > summary:focus-visible,
.site-nav > a[aria-current="page"] {
  color: #000;
}

.site-nav > a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--site-accent);
}

.site-nav-dropdown.is-current > summary {
  color: #000;
  box-shadow: inset 0 -2px 0 var(--site-accent);
}

.site-nav .site-nav-contact {
  min-height: 42px;
  padding-inline: 14px;
  color: #fff;
  background: var(--site-accent);
  border: 2px solid var(--site-accent);
}

.site-nav .site-nav-contact:hover,
.site-nav .site-nav-contact:focus-visible {
  color: var(--site-accent);
  background: #fff;
}

.site-nav > a.site-nav-contact[aria-current="page"] {
  color: #fff;
  box-shadow: none;
}

.site-nav > a.site-nav-contact[aria-current="page"]:hover,
.site-nav > a.site-nav-contact[aria-current="page"]:focus-visible {
  color: var(--site-accent);
}

.site-nav-dropdown {
  position: relative;
}

.site-nav-panel {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  width: 270px;
  display: none;
  padding: 7px;
  background: #fff;
  border: 1px solid #c9ced1;
  box-shadow: 0 16px 35px rgba(16, 24, 32, 0.16);
}

.site-nav-dropdown:nth-of-type(2) .site-nav-panel {
  right: 0;
  left: auto;
}

.site-nav-dropdown[open] > .site-nav-panel,
.site-nav-dropdown:hover > .site-nav-panel,
.site-nav-dropdown:focus-within > .site-nav-panel {
  display: grid;
}

.site-nav-panel a {
  padding: 11px 12px;
  color: #27323a;
  border-bottom: 1px solid #eceeef;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.025em;
  line-height: 1.3;
  text-decoration: none;
}

.site-nav-panel a:first-child {
  color: var(--site-accent);
  font-weight: 800;
}

.site-nav-panel a:last-child {
  border-bottom: 0;
}

.site-nav-panel a:hover,
.site-nav-panel a:focus-visible {
  color: #000;
  background: var(--site-accent-soft);
}

.site-mobile-menu {
  display: none;
}

.site-footer {
  padding: 68px 0 24px;
  color: rgba(255, 255, 255, 0.76);
  background: #0c141a;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: clamp(30px, 4vw, 58px);
}

.site-footer-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.site-footer h2 {
  margin: 0 0 17px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.6;
}

.site-footer a {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  line-height: 1.4;
  text-underline-offset: 3px;
}

.site-footer-brand {
  color: #fff !important;
  font-size: 20px !important;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.site-footer-brand strong {
  color: var(--site-warm);
}

.site-footer .site-footer-phone {
  color: var(--site-warm);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.site-footer-disclosure {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.site-footer-disclosure p {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
}

.site-mobile-actions {
  display: none;
}

@media (max-width: 1120px) {
  .site-header-inner {
    gap: 18px;
  }

  .site-brand {
    display: none;
  }

  .site-header-inner {
    grid-template-columns: auto minmax(0, 1fr);
  }
}

@media (max-width: 860px) {
  body {
    padding-bottom: 70px;
  }

  .site-notice {
    display: none;
  }

  .site-shell {
    width: min(100% - 28px, 720px);
  }

  .site-notice .site-shell {
    min-height: 29px;
    justify-content: center;
  }

  .site-notice span {
    gap: 7px;
    text-align: center;
  }

  .site-notice span i,
  .site-notice span strong,
  .site-notice > .site-shell > a {
    display: none;
  }

  .site-header-inner {
    min-height: 70px;
    grid-template-columns: 1fr auto;
  }

  .site-header-phone small {
    font-size: 9px;
  }

  .site-header-phone strong {
    font-size: clamp(22px, 7.1vw, 28px);
  }

  .site-nav {
    display: none;
  }

  .site-mobile-menu {
    position: relative;
    display: block;
  }

  .site-mobile-menu > summary {
    width: 46px;
    height: 46px;
    display: grid;
    align-content: center;
    gap: 5px;
    padding: 10px;
    cursor: pointer;
    background: var(--site-dark);
    list-style: none;
  }

  .site-mobile-menu > summary > span {
    height: 3px;
    display: block;
    background: #fff;
  }

  .site-mobile-menu[open] > summary > span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .site-mobile-menu[open] > summary > span:nth-child(2) {
    opacity: 0;
  }

  .site-mobile-menu[open] > summary > span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .site-mobile-menu > nav {
    position: absolute;
    top: 54px;
    right: 0;
    width: min(350px, calc(100vw - 28px));
    max-height: calc(100vh - 125px);
    overflow-y: auto;
    padding: 8px;
    background: #fff;
    border: 1px solid #bdc3c7;
    box-shadow: 0 18px 40px rgba(16, 24, 32, 0.22);
  }

  .site-mobile-menu nav > a,
  .site-mobile-submenu > summary,
  .site-mobile-submenu > div > a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    color: #202a31;
    border-bottom: 1px solid #e1e4e6;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.055em;
    line-height: 1.3;
    list-style: none;
    text-decoration: none;
    text-transform: uppercase;
  }

  .site-mobile-menu nav > a[aria-current="page"] {
    color: var(--site-accent);
  }

  .site-mobile-submenu.is-current > summary {
    color: var(--site-accent);
  }

  .site-mobile-submenu > summary span {
    color: var(--site-accent);
    font-size: 18px;
  }

  .site-mobile-submenu[open] > summary span {
    transform: rotate(45deg);
  }

  .site-mobile-submenu > div {
    display: grid;
    padding: 3px 0 5px 14px;
    background: #f7f7f5;
  }

  .site-mobile-submenu > div > a {
    min-height: 40px;
    padding-block: 8px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.025em;
    text-transform: none;
  }

  .site-mobile-submenu > div > a:first-child {
    color: var(--site-accent);
    font-weight: 800;
  }

  .site-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-mobile-actions {
    position: fixed;
    z-index: 150;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 9px;
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--site-line);
    box-shadow: 0 -5px 18px rgba(16, 24, 32, 0.14);
  }

  .site-mobile-actions a {
    min-height: 50px;
    display: grid;
    place-items: center;
    margin: 0;
    padding: 8px;
    color: #fff;
    background: var(--site-dark);
    font-size: 13px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
  }

  .site-mobile-actions a:last-child {
    background: var(--site-accent);
  }
}

@media (max-width: 520px) {
  .site-footer {
    padding-top: 52px;
  }

  .site-footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-mobile-menu > summary > span,
  .site-mobile-submenu > summary span {
    transition: none;
  }
}

/* Reference-sized shared navigation and footer type. */
.site-notice { font-size: 13px; }
.site-header-phone small { font-size: 13px; }
.site-brand { font-size: 19px; }
.site-brand span { font-size: 22px; }
.site-brand b { font-size: 14px; }
.site-nav > a,
.site-nav-dropdown > summary { font-size: 14px; }
.site-nav-panel a { font-size: 15px; }
.site-footer h2 { font-size: 14px; }
.site-footer p,
.site-footer a { font-size: 15px; }
.site-footer-disclosure p { font-size: 13px; }

@media (max-width: 860px) {
  .site-header-phone small { font-size: 12px; }
  .site-mobile-menu nav > a,
  .site-mobile-submenu > summary,
  .site-mobile-submenu > div > a { font-size: 15px; }
  .site-mobile-submenu > div > a { font-size: 14px; }
  .site-mobile-actions a { font-size: 16px; }
}
