:root {
  --blue: #002D69;
  --blue-footer: #001D60;
  --red: #A00909;
  --red-dark: #700606;
  --red-light: #FF6B6B;
  --bg: #FFFFFF;
  --bg-soft: #F3F1EC;
  --text: #1F2A22;
  --text-on-dark: #FFFFFF;
  --edge-width: 2px;
  --edge-color: #7C93B3;
  --gap-sm: 0.5rem;
  --gap-md: 1rem;
  --gap-lg: 2rem;
  --gap-xl: 3rem;
  --max-width: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-radius: 0 !important;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

.office-photo {
  border-right: var(--edge-width) solid var(--edge-color);
  border-bottom: var(--edge-width) solid var(--edge-color);
}

a {
  color: var(--blue);
}

a:hover,
a:focus {
  color: var(--blue);
}

* {
  box-shadow: none !important;
  text-shadow: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 0;
  top: -3rem;
  background: var(--blue);
  color: var(--text-on-dark);
  padding: 0.75rem 1rem;
  z-index: 1000;
  transition: top 0.1s ease-in-out;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.site-footer :focus-visible {
  outline-color: var(--red-light);
}

.topbar {
  background: var(--blue);
  color: var(--text-on-dark);
  font-size: 0.875rem;
}

.topbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.topbar-item a {
  color: var(--text-on-dark);
  text-decoration: none;
}

.topbar-item a:hover,
.topbar-item a:focus {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .topbar-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.site-header {
  background: var(--bg);
  border-bottom: var(--edge-width) solid var(--red);
  position: sticky;
  top: 0;
  z-index: 950;
}

.navbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.navbar-brand {
  color: #000000;
  font-weight: 700;
  font-size: 1.4rem;
  text-decoration: none;
}

.navbar-toggle {
  background: transparent;
  border: 2px solid #000000;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.navbar-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #000000;
}

.navbar-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: none;
  flex-direction: column;
  gap: 0;
  order: 3;
}

.navbar-menu.is-open {
  display: flex;
}

.navbar-menu li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.navbar-menu a {
  display: block;
  padding: 0.9rem 0.25rem;
  color: #000000;
  text-decoration: none;
  min-height: 44px;
}

.navbar-menu a:hover,
.navbar-menu a:focus {
  text-decoration: underline;
}

.navbar-menu .navbar-cta a {
  color: var(--text-on-dark);
  background: var(--red);
  font-weight: 700;
  text-align: center;
  border-bottom: var(--edge-width) solid var(--red-dark);
}

.dropdown-parent {
  position: relative;
}

.dropdown-parent::after {
  content: '\25BE';
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 0.7rem;
}

.dropdown-panel {
  display: none;
  padding: 0.5rem 0.5rem 0.75rem 1rem;
  background: var(--bg-soft);
}

.dropdown-panel.is-open {
  display: block;
}

.dropdown-panel ul {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
}

.dropdown-panel ul:last-child {
  margin-bottom: 0;
}

.dropdown-panel a {
  padding: 0.6rem 0.25rem;
  font-size: 0.95rem;
}

.navbar-call {
  color: var(--red-light);
  font-weight: 700;
  text-decoration: none;
}

.navbar-call:hover,
.navbar-call:focus {
  text-decoration: underline;
}

@media (min-width: 900px) {
  .navbar-toggle {
    display: none;
  }

  .navbar-menu {
    display: flex;
    flex-direction: row;
    width: auto;
    order: 2;
    align-items: stretch;
  }

  .navbar-menu li {
    border-bottom: none;
  }

  .navbar-menu a {
    padding: 0.5rem 0.9rem;
  }

  .navbar-menu .navbar-cta {
    margin-left: 0.5rem;
  }

  .navbar-menu .navbar-cta a {
    border-bottom: var(--edge-width) solid var(--red-dark);
    border-right: var(--edge-width) solid var(--red-dark);
    padding: 0.5rem 1.1rem;
  }

  .has-dropdown {
    position: relative;
  }

  .dropdown-panel {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg);
    border-right: var(--edge-width) solid var(--edge-color);
    border-bottom: var(--edge-width) solid var(--edge-color);
    padding: var(--gap-md);
    z-index: 960;
    max-width: calc(100vw - 2rem);
    overflow-x: auto;
  }

  .has-dropdown:hover .dropdown-panel,
  .has-dropdown:focus-within .dropdown-panel {
    display: block;
  }

  .has-dropdown:hover .dropdown-panel.dropdown-cols-3,
  .has-dropdown:focus-within .dropdown-panel.dropdown-cols-3 {
    display: grid;
  }

  .dropdown-panel ul {
    margin: 0;
  }

  .dropdown-panel a {
    padding: 0.4rem 0.5rem;
    white-space: nowrap;
  }

  .dropdown-cols-3 {
    grid-template-columns: repeat(3, minmax(210px, 1fr));
    gap: 0 var(--gap-lg);
  }

  .dropdown-cols-1 {
    min-width: 240px;
  }
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  min-height: 44px;
  font-size: 1rem;
}

.btn-primary {
  background: var(--red);
  color: var(--text-on-dark);
  border-bottom: var(--edge-width) solid var(--red-dark);
  border-right: var(--edge-width) solid var(--red-dark);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--red-dark);
  color: var(--text-on-dark);
}

.btn-secondary {
  background: var(--blue);
  color: var(--text-on-dark);
  border-bottom: var(--edge-width) solid var(--red);
  border-right: var(--edge-width) solid var(--red);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--red);
  color: var(--text-on-dark);
}

.btn-hero-secondary {
  background: var(--bg);
  color: var(--blue);
  border-bottom: var(--edge-width) solid var(--red-dark);
  border-right: var(--edge-width) solid var(--red-dark);
}

.btn-hero-secondary:hover,
.btn-hero-secondary:focus {
  background: var(--bg-soft);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
  align-items: flex-start;
}

@media (min-width: 500px) {
  .hero-actions {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }
}

main {
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: var(--gap-xl) 0;
}

.section-dark {
  background: var(--blue);
  color: var(--text-on-dark);
}

.hero {
  position: relative;
  background: var(--blue) center/cover no-repeat;
  color: var(--text-on-dark);
  border-bottom: var(--edge-width) solid var(--red);
  padding-top: calc(var(--gap-xl) + 72px);
  padding-bottom: calc(var(--gap-xl) + 72px);
}

.hero .container {
  position: relative;
  z-index: 1;
}

@media (min-width: 700px) {
  .hero .container {
    max-width: 60%;
    margin-left: 1rem;
    margin-right: auto;
  }
}

.section-soft {
  background: var(--bg-soft);
}

.section-photo {
  background: var(--blue) center/cover no-repeat;
  color: var(--text-on-dark);
}

.section-dark a:not(.btn),
.section-photo a:not(.btn) {
  color: var(--text-on-dark);
}

.section-dark a:not(.btn):hover,
.section-dark a:not(.btn):focus,
.section-photo a:not(.btn):hover,
.section-photo a:not(.btn):focus {
  color: var(--red-light);
}

.block {
  background: var(--bg);
  border-right: var(--edge-width) solid var(--edge-color);
  border-bottom: var(--edge-width) solid var(--edge-color);
  padding: var(--gap-lg);
}

.block-plain {
  padding: var(--gap-lg);
}

.block-on-dark {
  background: transparent;
  border-right: var(--edge-width) solid var(--red);
  border-bottom: var(--edge-width) solid var(--red);
  color: var(--text-on-dark);
  padding: var(--gap-lg);
}

.service-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--gap-sm);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--text-on-dark);
  padding: var(--gap-lg);
}

.service-box:hover,
.service-box:focus {
  background: rgba(255, 255, 255, 0.16);
}

.service-icon {
  width: 64px;
  height: 64px;
}

.calc-highlight {
  background: var(--red);
  border-right: var(--edge-width) solid var(--red-dark);
  border-bottom: var(--edge-width) solid var(--red-dark);
  color: var(--text-on-dark);
}

.trust-bar {
  background: var(--blue-footer);
  color: var(--text-on-dark);
  border-bottom: var(--edge-width) solid var(--red);
}

.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--gap-sm) var(--gap-lg);
  padding: var(--gap-md) 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}

.step {
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--red);
  color: var(--text-on-dark);
  font-weight: 700;
  margin-bottom: var(--gap-sm);
}

.area-tags {
  list-style: none;
  margin: 0 0 var(--gap-lg);
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-sm);
}

.area-tags li {
  background: var(--bg);
  border-right: var(--edge-width) solid var(--edge-color);
  border-bottom: var(--edge-width) solid var(--edge-color);
  padding: 0.5rem 0.9rem;
  font-weight: 700;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-md);
}

@media (min-width: 700px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.info-list {
  list-style: none;
  margin: 0 0 var(--gap-lg);
  padding: 0;
}

.info-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--gap-md);
  margin-bottom: var(--gap-md);
}

.info-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: var(--text-on-dark);
}

.facility-panel {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-lg);
  align-items: flex-start;
}

.facility-info {
  flex: 1 1 260px;
  min-width: 0;
}

.facility-photo-placeholder {
  flex: 0 1 512px;
  width: 100%;
  max-width: 512px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg-soft);
  border-right: var(--edge-width) solid var(--edge-color);
  border-bottom: var(--edge-width) solid var(--edge-color);
  color: var(--text);
  padding: var(--gap-lg);
}

.map-frame {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
  border-right: var(--edge-width) solid var(--edge-color);
  border-bottom: var(--edge-width) solid var(--edge-color);
  margin-bottom: var(--gap-lg);
}

.map-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
  margin-top: var(--gap-lg);
}

.faq-item {
  background: var(--bg);
  border-right: var(--edge-width) solid var(--edge-color);
  border-bottom: var(--edge-width) solid var(--edge-color);
}

.faq-item summary {
  cursor: pointer;
  padding: var(--gap-md);
  font-weight: 700;
  min-height: 44px;
}

.faq-item p {
  margin: 0;
  padding: 0 var(--gap-md) var(--gap-md);
}

label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--blue);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 1rem;
  min-height: 44px;
}

.form-error {
  color: #A3221E;
  font-weight: 700;
}

.mobile-call-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--red);
  border-top: var(--edge-width) solid var(--red-dark);
  padding: 0.75rem 1rem;
  text-align: center;
  z-index: 900;
}

.mobile-call-bar a {
  display: block;
  color: var(--text-on-dark);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.1rem;
  min-height: 44px;
  line-height: 44px;
}

@media (min-width: 900px) {
  .mobile-call-bar {
    display: none;
  }
}

body {
  padding-bottom: 4.5rem;
}

@media (min-width: 900px) {
  body {
    padding-bottom: 0;
  }
}

.site-footer {
  background: var(--blue-footer);
  color: var(--text-on-dark);
  border-top: var(--edge-width) solid var(--red);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--gap-xl) 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-lg);
}

@media (min-width: 700px) {
  .footer-inner {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-heading {
  color: var(--red-light);
  font-size: 1.1rem;
  margin: 0 0 0.75rem;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.footer-list a,
.footer-col a,
.footer-legal a {
  color: var(--text-on-dark);
}

.footer-list a:hover,
.footer-list a:focus,
.footer-col a:hover,
.footer-col a:focus,
.footer-legal a:hover,
.footer-legal a:focus {
  color: var(--red-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1rem;
  text-align: center;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer-legal {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 1rem;
}

.footer-disclaimer {
  color: #D8D8D3;
  max-width: 700px;
  margin: 0;
}

@media (min-width: 700px) {
  .footer-bottom {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: left;
  }

  .footer-bottom > p:first-child {
    margin: 0;
  }

  .footer-disclaimer {
    order: 3;
    flex-basis: 100%;
    text-align: center;
    margin: 0.5rem auto 0;
  }
}
