:root {
  --blue: #173b9c;
  --blue-dark: #102a73;
  --yellow: #ffed2f;
  --lime: #c4f43d;
  --ink: #081713;
  --muted: #5f6865;
  --line: #173b9c;
  --paper: #f5f6f4;
  --white: #ffffff;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 5vw, 96px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  width: 100%;
  max-width: 100vw;
}

.brand {
  width: 190px;
  text-decoration: none;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 14px;
  color: var(--blue);
  background: transparent;
  border: 0;
  font: 700 15px/1 Arial, Helvetica, sans-serif;
  cursor: pointer;
}

.menu-toggle i,
.menu-toggle i::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background: currentColor;
}

.menu-toggle i::after {
  transform: translateY(8px);
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--blue);
  font-weight: 700;
}

.site-menu a {
  text-decoration: none;
}

.site-menu a:hover {
  text-decoration: underline;
}

.nav-cta {
  padding: 12px 18px;
  border: 1px solid var(--blue);
  border-radius: 6px;
}

.split-hero {
  width: 100%;
  max-width: 100vw;
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero-media {
  min-width: 0;
  min-height: 520px;
  border-right: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 18px;
  padding: clamp(44px, 7vw, 96px);
}

.hero-copy h1,
.plain-hero h1,
.contact-info h1,
.quote-layout h1 {
  margin: 0;
  max-width: 780px;
  color: var(--blue);
  font-size: clamp(52px, 5.9vw, 88px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.hero-copy h1 span {
  display: inline-block;
  padding: 0 14px 8px;
  color: var(--yellow);
  background: var(--blue);
  border-radius: 6px;
}

.hero-copy p,
.plain-hero p,
.quote-layout p {
  max-width: 560px;
  margin: 0;
  font-size: clamp(18px, 1.8vw, 23px);
  line-height: 1.35;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-actions,
.site-footer,
.cta-band,
.image-copy,
.location-block,
.quote-layout,
.contact-layout {
  display: grid;
}

.hero-actions {
  grid-auto-flow: column;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid var(--blue);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}

.button-primary {
  color: var(--blue);
  background: var(--yellow);
}

.button-secondary {
  color: var(--yellow);
  background: var(--blue);
}

.intro-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(42px, 8vw, 96px) clamp(18px, 5vw, 40px);
  gap: 40px;
}

.intro-panel > *,
.image-copy > *,
.contact-layout > *,
.quote-layout > *,
.location-block > *,
.cta-band > * {
  min-width: 0;
}

.intro-panel h2,
.section-heading h2,
.image-copy h2,
.cta-band h2,
.location-block h2,
.plain-hero h1,
.quote-layout h1 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1;
  font-weight: 900;
}

.intro-panel p,
.section-heading p,
.image-copy p,
.cta-band p,
.location-block p {
  font-size: 21px;
  line-height: 1.45;
}

.intro-panel img {
  max-height: 520px;
  justify-self: center;
  object-fit: contain;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 108px) clamp(18px, 5vw, 40px);
}

.section-alt {
  max-width: none;
  background: var(--paper);
}

.section-alt > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-grid article {
  min-height: 230px;
  padding: 26px;
  background: var(--lime);
  border-radius: 8px;
}

.feature-grid span {
  color: var(--blue);
  font-size: 58px;
  font-weight: 900;
}

.feature-grid h3,
.service-card h3,
.testimonial-card h3,
.team-grid h3,
.community-grid h2,
.detail-card h2,
.legal-list h2 {
  margin: 10px 0;
  color: var(--blue);
  font-size: 25px;
  line-height: 1.1;
}

.feature-grid p,
.service-card p,
.testimonial-card p,
.detail-card p,
.legal-list p,
.community-grid p,
.team-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
}

.image-copy {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 108px) clamp(18px, 5vw, 40px);
}

.image-copy img {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  border-radius: 8px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

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

.service-card {
  display: grid;
  grid-template-rows: 180px auto auto 1fr;
  gap: 12px;
  padding: 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(23, 59, 156, 0.2);
  border-radius: 8px;
  text-decoration: none;
}

.service-card:hover {
  border-color: var(--blue);
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--paper);
}

.service-card span {
  width: max-content;
  max-width: 100%;
  padding: 6px 9px;
  color: var(--blue);
  background: var(--yellow);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 800;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.testimonial-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid rgba(23, 59, 156, 0.16);
  border-radius: 8px;
}

.testimonial-card > div {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.testimonial-card img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.testimonial-card blockquote {
  margin: 0;
  font-size: 17px;
  line-height: 1.48;
}

.text-link {
  display: inline-block;
  margin-top: 28px;
  color: var(--blue);
  font-weight: 800;
}

.cta-band {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: clamp(34px, 6vw, 70px) clamp(18px, 7vw, 96px);
  color: var(--white);
  background: var(--blue);
}

.cta-band h2,
.cta-band p {
  color: var(--white);
}

.cta-band p {
  margin: 12px 0 0;
}

.site-footer {
  grid-template-columns: 1.4fr repeat(3, minmax(140px, 0.6fr));
  gap: 34px;
  padding: 56px clamp(18px, 7vw, 96px) 26px;
  background: #071c12;
  color: var(--white);
}

.footer-logo {
  width: 210px;
  margin-bottom: 16px;
}

.site-footer h2 {
  margin: 0 0 12px;
  color: var(--yellow);
  font-size: 16px;
}

.site-footer a {
  display: block;
  margin: 8px 0;
  color: var(--white);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.copyright {
  grid-column: 1 / -1;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.service-detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.detail-card,
.legal-list article,
.legal-box {
  padding: 28px;
  background: var(--paper);
  border-radius: 8px;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding-left: 26px;
  position: relative;
  line-height: 1.4;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 12px;
  height: 12px;
  background: var(--yellow);
  border: 2px solid var(--blue);
  border-radius: 50%;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.team-grid article {
  padding: 12px;
  background: var(--white);
  border-radius: 8px;
}

.team-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 6px;
  background: #ececf2;
}

.contact-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: calc(100vh - 76px);
}

.contact-info {
  padding: clamp(42px, 7vw, 96px);
  color: var(--white);
  background: var(--blue);
}

.contact-info h1 {
  color: var(--white);
}

.contact-info > p {
  max-width: 620px;
  font-size: 22px;
  line-height: 1.35;
}

.contact-form,
.quote-layout > section:nth-child(2) {
  padding: clamp(32px, 6vw, 76px);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 30px 0;
}

.contact-cards a {
  min-height: 170px;
  padding: 22px;
  color: var(--blue);
  background: var(--yellow);
  border-radius: 6px;
  text-decoration: none;
}

.contact-cards .wide {
  grid-column: 1 / -1;
}

.contact-cards h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.contact-cards p {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
}

.hours p {
  margin: 10px 0;
  color: var(--white);
  font-size: 24px;
}

.form {
  display: grid;
  gap: 22px;
}

.form label,
.form legend {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.form label span {
  color: var(--muted);
  font-weight: 400;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid #a8afac;
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  font: 18px/1.3 Arial, Helvetica, sans-serif;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid rgba(23, 59, 156, 0.25);
  outline-offset: 5px;
}

.form fieldset {
  display: flex;
  gap: 24px;
  padding: 0;
  border: 0;
}

.form fieldset label,
.check {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 18px;
}

.form fieldset input,
.check input {
  width: auto;
  margin: 0;
}

.form .hp {
  position: absolute;
  left: -9999px;
}

.quote-layout {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}

.quote-layout > section:first-child {
  padding: clamp(42px, 7vw, 96px);
  background: var(--paper);
}

.quote-layout img {
  margin-top: 34px;
  max-height: 360px;
  object-fit: contain;
}

.location-block {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 30px;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(42px, 7vw, 96px) clamp(18px, 5vw, 40px);
}

.location-block a {
  color: var(--blue);
  font-weight: 800;
}

.location-block img {
  width: 100%;
  border-radius: 8px;
}

.plain-hero {
  padding: clamp(62px, 10vw, 140px) clamp(18px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.plain-hero p {
  margin-top: 18px;
}

.plain-hero .button {
  margin-top: 28px;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.community-grid article {
  padding: 16px;
  background: var(--paper);
  border-radius: 8px;
}

.community-grid img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  border-radius: 6px;
  background: var(--white);
}

.review-strip {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
  gap: 26px;
  margin-top: 38px;
  padding: 26px;
  background: var(--white);
  border-radius: 8px;
}

.review-strip h2 {
  color: var(--blue);
}

.faq-list {
  max-width: 900px;
}

.faq-list details {
  border-bottom: 1px solid rgba(23, 59, 156, 0.3);
}

.faq-list summary {
  cursor: pointer;
  padding: 24px 0;
  color: var(--blue);
  font-size: 24px;
  font-weight: 900;
}

.faq-list p {
  margin: 0 0 24px;
  font-size: 18px;
  line-height: 1.5;
}

.legal-list {
  display: grid;
  gap: 16px;
  max-width: 920px;
}

.legal a {
  color: var(--blue);
  font-weight: 800;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-menu {
    position: fixed;
    inset: 76px 0 auto 0;
    display: none;
    padding: 18px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .site-menu.is-open {
    display: grid;
  }

  .split-hero,
  .intro-panel,
  .image-copy,
  .contact-layout,
  .quote-layout,
  .location-block,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .split-hero {
    min-height: 0;
  }

  .hero-media {
    min-height: 360px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature-grid,
  .service-grid,
  .service-grid-compact,
  .testimonial-grid,
  .team-grid,
  .community-grid,
  .service-detail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 66px;
    padding: 0 14px;
    width: 100vw;
  }

  .menu-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    justify-content: center;
    overflow: hidden;
  }

  .menu-toggle span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .brand {
    width: 158px;
  }

  .site-menu {
    inset: 66px 0 auto 0;
  }

  .hero-copy h1,
  .plain-hero h1,
  .contact-info h1,
  .quote-layout h1 {
    font-size: clamp(36px, 11.5vw, 52px);
    line-height: 1.04;
  }

  .hero-copy,
  .hero-media,
  .split-hero,
  .contact-info,
  .contact-form,
  .quote-layout > section:first-child,
  .quote-layout > section:nth-child(2) {
    width: 100vw;
    max-width: 100vw;
    padding: 32px 18px;
  }

  .hero-media {
    padding: 0;
  }

  .hero-copy h1,
  .hero-copy p,
  .hero-actions {
    max-width: calc(100vw - 64px);
  }

  .hero-actions {
    grid-auto-flow: row;
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .feature-grid,
  .service-grid,
  .service-grid-compact,
  .testimonial-grid,
  .team-grid,
  .community-grid,
  .service-detail,
  .check-list,
  .contact-cards,
  .review-strip {
    grid-template-columns: 1fr;
  }

  .cta-band {
    text-align: left;
  }

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

}
