:root {
  --navy: #062654;
  --navy-2: #0a346d;
  --blue: #1674d1;
  --blue-light: #7fc9ee;
  --orange: #ff8417;
  --orange-light: #ffc267;
  --white: #ffffff;
  --mist: #f4f8fb;
  --line: #dce7f0;
  --text: #11213a;
  --muted: #516179;
  --shadow: 0 20px 60px rgba(6, 38, 84, 0.16);
  --radius: 8px;
  --container: min(calc(100% - 32px), 1180px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--orange-light);
  outline-offset: 4px;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 20;
  transform: translateY(-140%);
  background: var(--navy);
  color: var(--white);
  padding: 10px 14px;
}

.skip-link:focus {
  transform: translateY(0);
}

.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(6, 38, 84, 0.08);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 84px;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 189px;
}

.brand img {
  width: 100%;
  max-height: 138px;
  object-fit: contain;
}

.primary-nav {
  display: none;
  position: absolute;
  inset: 84px 16px auto;
  padding: 12px;
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.primary-nav.is-open {
  display: grid;
}

.primary-nav a {
  padding: 12px 10px;
  color: var(--navy);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0;
}

.primary-nav a[aria-current="page"] {
  color: var(--blue);
}

.nav-toggle {
  justify-self: end;
  display: inline-grid;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  background: var(--navy);
}

.header-cta {
  justify-self: end;
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  background: var(--orange);
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 800;
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(255, 132, 23, 0.28);
}

.cta-icon {
  width: 1.15em;
  height: 1.15em;
  display: inline-block;
  flex: 0 0 auto;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M4 4h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Zm0 3.2V18h16V7.2l-8 5.35L4 7.2Zm1.25-1.2L12 10.5 18.75 6H5.25Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.hero {
  position: relative;
  min-height: clamp(610px, 76vh, 820px);
  overflow: hidden;
  background: var(--navy);
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 38, 84, 0.98) 0%, rgba(6, 38, 84, 0.88) 34%, rgba(6, 38, 84, 0.24) 62%, rgba(6, 38, 84, 0.02) 100%),
    linear-gradient(0deg, rgba(6, 38, 84, 0.16), rgba(6, 38, 84, 0.16));
}

.hero-content {
  position: relative;
  z-index: 1;
  min-height: inherit;
  display: grid;
  align-content: center;
  padding-block: 72px 132px;
  color: var(--white);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
}

.eyebrow::after {
  content: "";
  width: 56px;
  height: 2px;
  flex: 0 0 auto;
  background: var(--orange);
}

.hero .eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--blue-light);
  text-transform: uppercase;
  font-size: 0.82rem;
}

.hero .eyebrow::after {
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 14px;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 5.6rem);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 540px;
  margin: 26px 0 0;
  font-size: clamp(1.08rem, 2vw, 1.42rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  cursor: pointer;
  min-width: 0;
}

.button-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(255, 132, 23, 0.28);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.86);
}

.button-disabled {
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  cursor: not-allowed;
}

.trust-strip {
  position: relative;
  z-index: 2;
  margin-top: -72px;
}

.trust-grid {
  display: grid;
  gap: 0;
  background: var(--white);
  border: 1px solid rgba(6, 38, 84, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.trust-grid article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 112px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.trust-grid article:last-child {
  border-bottom: 0;
}

.trust-grid h2 {
  margin: 0 0 4px;
  font-size: 0.95rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.trust-grid p,
.section p,
.contact-section p {
  margin: 0;
  color: var(--muted);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  display: block;
  background: currentColor;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

.shield {
  color: var(--blue);
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 2 4 5v6c0 5 3.4 9.7 8 11 4.6-1.3 8-6 8-11V5l-8-3Zm0 2.2 6 2.25V11c0 3.9-2.45 7.55-6 8.85C8.45 18.55 6 14.9 6 11V6.45l6-2.25Zm3.55 5.2L11 13.95l-2.05-2.05-1.4 1.4L11 16.75l5.95-5.95-1.4-1.4Z'/%3E%3C/svg%3E");
}

.sound {
  color: var(--orange);
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M4 9v6h4l5 4V5L8 9H4Zm13.1-2.1-1.4 1.4A5.2 5.2 0 0 1 17.2 12a5.2 5.2 0 0 1-1.5 3.7l1.4 1.4a7.2 7.2 0 0 0 0-10.2Zm2.85-2.85-1.4 1.4a9.25 9.25 0 0 1 0 13.1l1.4 1.4a11.25 11.25 0 0 0 0-15.9Z'/%3E%3C/svg%3E");
}

.leaf {
  color: #5aa147;
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M21 3c-6.6.25-11.35 2.2-14.25 5.85C4.15 12.1 4 16.25 6.25 19.75L3 23l1.4 1.4 3.2-3.2c3.55 2.05 7.45 1.45 10.35-1.55C20.9 16.6 22 11.05 21 3Zm-2 2.15c.45 5.65-.55 10.05-2.5 12.1-2.05 2.15-4.75 2.8-7.35 1.4l6.55-6.55-1.4-1.4-6.55 6.55c-1.45-2.55-.95-5.2.55-7.1 2.15-2.7 5.75-4.35 10.7-5Z'/%3E%3C/svg%3E");
}

.care {
  color: var(--blue);
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='m21.7 18.3-6.1-6.1a6.2 6.2 0 0 0-7.8-7.8l4.05 4.05-3.4 3.4L4.4 7.8a6.2 6.2 0 0 0 7.8 7.8l6.1 6.1 3.4-3.4ZM6.15 10.9 8.45 13.2l6.75 6.75 1.55-1.55-6.75-6.75L7.7 9.35a4.15 4.15 0 0 1 .75-3.2l3.4 3.4 6.2-6.2-3.4-3.4a4.2 4.2 0 0 1 4.8 5.9l-.35.7 6.6 6.6-1.55 1.55-6.6-6.6-.7.35a4.15 4.15 0 0 1-5.9-.75Z'/%3E%3C/svg%3E");
}

.service-line {
  padding: 44px 0 34px;
  background: linear-gradient(180deg, var(--mist), var(--white));
  text-align: center;
}

.service-line p {
  margin: 0;
  color: var(--navy);
  text-transform: uppercase;
  font-weight: 800;
  font-size: clamp(1rem, 2vw, 1.35rem);
}

.service-line span {
  color: var(--orange);
  margin: 0 16px;
}

.section {
  padding: 72px 0;
}

.section .eyebrow {
  margin-bottom: 18px;
}

.section h2 {
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.14;
}

.split-grid,
.why-grid,
.contact-grid,
.two-up,
.builder-inner {
  display: grid;
  gap: 32px;
}

.section p + p {
  margin-top: 16px;
}

.image-panel {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

.image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.systems-section {
  background: var(--mist);
}

.section-heading {
  max-width: 740px;
  margin-bottom: 32px;
}

.system-grid {
  display: grid;
  gap: 18px;
}

.system-grid article,
.why-list article,
.two-up article,
.quote-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.system-grid article,
.why-list article,
.two-up article {
  padding: 24px;
}

.system-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--orange);
  font-weight: 800;
}

.why-section {
  background: var(--white);
}

.why-list {
  display: grid;
  gap: 16px;
}

.builder-section {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
}

.builder-section h2,
.builder-section p {
  color: var(--white);
}

.contact-section .eyebrow,
.why-section .eyebrow,
.systems-section .eyebrow,
.split-section .eyebrow {
  color: var(--blue);
}

.builder-section .eyebrow {
  color: var(--blue-light);
}

.builder-section p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
}

.builder-inner {
  align-items: center;
}

.contact-section {
  background: var(--white);
}

.placeholder-note {
  margin-top: 18px;
  font-size: 0.94rem;
}

.quote-form {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  color: var(--navy);
  font-weight: 800;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid #cbd8e4;
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--text);
  background: var(--white);
}

.form-row textarea {
  resize: vertical;
}

.form-status {
  min-height: 1.4em;
  color: var(--navy);
  font-weight: 700;
}

.site-footer {
  padding: 34px 0;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
  display: grid;
  gap: 16px;
  align-items: center;
}

.footer-inner img {
  width: 180px;
  height: auto;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 520px) {
  .brand {
    width: 105px;
  }

  .hero {
    min-height: 690px;
  }

  .hero-media img {
    object-position: 72% center;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(6, 38, 84, 0.88) 0%, rgba(6, 38, 84, 0.82) 50%, rgba(6, 38, 84, 0.38) 100%),
      linear-gradient(90deg, rgba(6, 38, 84, 0.76), rgba(6, 38, 84, 0.12));
  }

  .hero-content {
    align-content: start;
    padding-block: 56px 140px;
  }

  h1 {
    font-size: 2.15rem;
    line-height: 1.06;
    max-width: 100%;
  }

  .hero-copy {
    font-size: 1rem;
    max-width: 31ch;
  }

  .hero-actions {
    display: grid;
    max-width: calc(100vw - 32px);
  }

  .button {
    width: 100%;
    padding-inline: 16px;
    font-size: 0.9rem;
  }
}

@media (min-width: 430px) and (max-width: 520px) {
  h1 {
    font-size: 2.45rem;
  }

  .button {
    font-size: 1rem;
  }
}

@media (min-width: 640px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .brand {
    width: 198px;
  }

  .header-cta {
    display: inline-flex;
  }

  .nav-toggle {
    grid-column: 2;
  }

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

  .trust-grid article:nth-child(2n) {
    border-left: 1px solid var(--line);
  }

  .trust-grid article:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

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

  .quote-form {
    grid-template-columns: repeat(2, 1fr);
    padding: 30px;
  }

  .form-wide {
    grid-column: 1 / -1;
  }

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

@media (min-width: 900px) {
  .header-inner {
    min-height: 104px;
    grid-template-columns: auto 1fr auto;
  }

  .brand {
    width: 222px;
  }

  .nav-toggle {
    display: none;
  }

  .primary-nav {
    position: static;
    display: flex;
    justify-content: flex-start;
    gap: clamp(12px, 1.8vw, 26px);
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .primary-nav a {
    position: relative;
    padding: 40px 0;
  }

  .primary-nav a[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 26px;
    height: 3px;
    background: var(--blue);
  }

  .header-cta {
    min-height: 56px;
    padding-inline: 24px;
  }

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

  .trust-grid article,
  .trust-grid article:nth-child(2n),
  .trust-grid article:nth-last-child(-n + 2) {
    border-bottom: 0;
    border-left: 1px solid var(--line);
  }

  .trust-grid article:first-child {
    border-left: 0;
  }

  .split-grid,
  .contact-grid,
  .why-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
  }

  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .why-grid > div:first-child,
  .contact-grid > div:first-child {
    max-width: 780px;
  }

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

  .builder-inner {
    grid-template-columns: 1fr auto;
  }
}

@media (min-width: 1280px) {
  .section {
    padding: 92px 0;
  }

  .header-inner {
    gap: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
