:root {
  --blue: #006b9a;
  --blue-dark: #034a70;
  --blue-light: #e7f5fb;
  --cyan: #16a6d7;
  --charcoal: #20262c;
  --ink: #2e343a;
  --muted: #66727d;
  --line: #d9e4ea;
  --white: #ffffff;
  --signal: #f6b23b;
  --shadow: 0 18px 45px rgba(5, 38, 58, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

.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: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 12px clamp(18px, 4vw, 58px);
  border-bottom: 1px solid rgba(217, 228, 234, 0.85);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.brand img {
  width: 126px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--charcoal);
  font-size: 0.93rem;
  font-weight: 700;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--blue);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-nav .nav-cta {
  padding: 10px 16px;
  color: var(--white);
  background: var(--blue);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
}

.site-nav .nav-cta::after {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--charcoal);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100svh - 170px));
  overflow: hidden;
  background: url("assets/hero-av-products.png") center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.85) 34%, rgba(255, 255, 255, 0.08) 68%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.34));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(720px, calc(100% - 36px));
  min-height: min(760px, calc(100svh - 170px));
  padding: clamp(48px, 7vw, 90px) 0 clamp(56px, 9vw, 104px) clamp(18px, 6vw, 74px);
}

.hero-logo {
  width: min(230px, 56vw);
  margin-bottom: 26px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  color: var(--charcoal);
  line-height: 1.06;
}

h1 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(2.2rem, 5.5vw, 5.6rem);
  font-weight: 900;
}

h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 3.4rem);
  font-weight: 900;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.hero-copy {
  max-width: 560px;
  margin: 22px 0 0;
  color: #3f4a53;
  font-size: clamp(1.04rem, 1.4vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid var(--blue);
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

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

.button.secondary {
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.82);
}

.section {
  padding: clamp(58px, 8vw, 100px) clamp(18px, 5vw, 72px);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.8fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: 30px;
}

.section-head p:last-child,
.quote-intro p,
.about-copy p,
.service-list p,
.product-card p {
  color: var(--muted);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 24px;
}

.filter {
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
  font-weight: 800;
  cursor: pointer;
}

.filter.active,
.filter:hover {
  color: var(--white);
  border-color: var(--blue);
  background: var(--blue);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
  gap: 18px;
}

.product-card {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(231, 245, 251, 0.92), rgba(255, 255, 255, 0.95) 58%),
    var(--white);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.product-card.is-hidden {
  display: none;
}

.product-card:hover {
  border-color: rgba(0, 107, 154, 0.38);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.product-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 42px;
  margin-bottom: 22px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
  font-size: 0.78rem;
  font-weight: 900;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(30px, 6vw, 86px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(0, 107, 154, 0.96), rgba(3, 74, 112, 0.98)),
    var(--blue);
}

.split-section h2,
.split-section h3,
.split-section .eyebrow {
  color: var(--white);
}

.split-section .eyebrow {
  color: #bcecff;
}

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

.service-list article {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.service-list span {
  grid-row: span 2;
  color: var(--signal);
  font-weight: 900;
}

.service-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: clamp(30px, 6vw, 82px);
  align-items: center;
}

.about-copy p {
  max-width: 720px;
  font-size: 1.05rem;
}

.facts {
  display: grid;
  gap: 12px;
}

.facts div {
  padding: 18px 20px;
  border-left: 4px solid var(--blue);
  background: var(--blue-light);
}

.facts strong,
.facts span {
  display: block;
}

.facts strong {
  color: var(--charcoal);
  font-size: 1.1rem;
}

.facts span {
  color: var(--muted);
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(310px, 1fr);
  gap: clamp(30px, 6vw, 80px);
  background: #f7fbfd;
}

.quote-form {
  display: grid;
  gap: 16px;
}

.quote-form label {
  display: grid;
  gap: 7px;
  color: var(--charcoal);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(22, 166, 215, 0.22);
  border-color: var(--blue);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--blue-dark);
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 34px clamp(18px, 5vw, 72px);
  color: var(--white);
  background: var(--charcoal);
}

.footer-brand img {
  width: 132px;
  padding: 8px;
  border-radius: 6px;
  background: var(--white);
}

.footer-brand p {
  margin: 12px 0 0;
  font-weight: 900;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  max-width: 520px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 800;
}

.footer-links a:hover {
  color: var(--signal);
}

address {
  color: rgba(255, 255, 255, 0.76);
  font-style: normal;
  text-align: right;
}

address a:hover {
  color: var(--signal);
}

.legal-hero {
  display: grid;
  align-items: end;
  min-height: 360px;
  padding: clamp(52px, 8vw, 96px) clamp(18px, 6vw, 74px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.86)),
    url("assets/hero-av-products.png") center / cover no-repeat;
}

.legal-hero > div {
  max-width: 780px;
}

.legal-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.8rem);
}

.legal-hero p:last-child {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
}

.legal-main {
  display: grid;
  grid-template-columns: minmax(210px, 0.28fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 52px);
  padding: clamp(40px, 6vw, 74px) clamp(18px, 6vw, 74px);
  background: #f7fbfd;
}

.policy-nav {
  position: sticky;
  top: 102px;
  align-self: start;
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.policy-nav a {
  padding: 10px 11px;
  border-radius: 6px;
  color: var(--charcoal);
  font-weight: 800;
}

.policy-nav a:hover {
  color: var(--white);
  background: var(--blue);
}

.legal-card {
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.legal-card h2 {
  margin-top: 34px;
  font-size: clamp(1.35rem, 2.1vw, 2rem);
}

.legal-card h2:first-of-type {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

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

.last-updated,
.trademark-note {
  font-size: 0.92rem;
}

.last-updated {
  margin-top: 0;
  color: var(--blue-dark);
  font-weight: 800;
}

.legal-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 20px;
}

.legal-link-grid,
.support-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.legal-link-grid a,
.support-options a {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--blue-light);
}

.support-options strong,
.support-options span {
  display: block;
}

.support-options span {
  color: var(--muted);
  font-weight: 700;
}

.notice {
  margin-top: 26px;
  padding: 16px;
  border-left: 4px solid var(--signal);
  background: #fff8e8;
  color: var(--ink);
}

@media (max-width: 860px) {
  .site-header {
    min-height: 70px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 10px;
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav .nav-cta {
    margin-top: 8px;
    text-align: center;
  }

  .hero,
  .hero-content {
    min-height: min(680px, calc(100svh - 150px));
  }

  .hero {
    background-position: 62% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.88) 62%, rgba(255, 255, 255, 0.28) 100%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.62));
  }

  .section-head,
  .split-section,
  .about-section,
  .quote-section,
  .legal-main {
    grid-template-columns: 1fr;
  }

  .policy-nav {
    position: static;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  address {
    text-align: left;
  }
}

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

  .hero {
    min-height: auto;
    background-position: 70% bottom;
  }

  .hero-content {
    width: 100%;
    min-height: auto;
    justify-content: flex-start;
    padding: 44px 22px 64px;
  }

  .hero-logo {
    display: none;
  }

  .hero-copy {
    max-width: calc(100vw - 44px);
    font-size: 1rem;
  }

  .hero-actions,
  .filter-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .filter {
    width: 100%;
  }

  .service-list article {
    grid-template-columns: 48px 1fr;
  }
}
