:root {
  --navy-950: #031426;
  --navy-900: #062746;
  --navy-800: #073b69;
  --navy-700: #07528c;
  --navy-100: #dcebf6;
  --green-600: #2fa63d;
  --green-500: #45bd52;
  --green-100: #e3f7e6;
  --ink: #102033;
  --muted: #5d6b7a;
  --line: #dfe7ee;
  --surface: #ffffff;
  --surface-soft: #f4f8fb;
  --shadow-sm: 0 10px 30px rgba(3, 20, 38, 0.08);
  --shadow-lg: 0 24px 70px rgba(3, 20, 38, 0.2);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: #fff;
  background: var(--navy-950);
  border-radius: 8px;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

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

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--green-600);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  content: "";
  background: currentColor;
}

.section {
  padding: 94px 0;
}

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

.section-dark {
  color: #fff;
  background:
    radial-gradient(circle at 88% 15%, rgba(69, 189, 82, 0.17), transparent 27%),
    radial-gradient(circle at 12% 100%, rgba(7, 82, 140, 0.42), transparent 35%),
    var(--navy-950);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-heading .eyebrow {
  justify-content: center;
}

.section-heading h2,
.split-copy h2,
.contact-copy h2,
.legal-hero h1 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(2rem, 4vw, 3.55rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.section-heading p,
.split-copy > p,
.contact-copy > p {
  max-width: 690px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.section-dark .section-heading h2,
.section-dark .section-heading p {
  color: #fff;
}

.section-dark .section-heading p {
  opacity: 0.72;
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus-visible,
.nav-toggle:focus-visible,
.faq summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(69, 189, 82, 0.38);
  outline-offset: 3px;
}

.btn-primary {
  color: #fff;
  background: var(--green-600);
  box-shadow: 0 12px 30px rgba(47, 166, 61, 0.3);
}

.btn-primary:hover {
  background: #278f34;
  box-shadow: 0 16px 34px rgba(47, 166, 61, 0.38);
}

.btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-outline {
  color: var(--navy-900);
  background: #fff;
  border-color: var(--line);
}

.btn-outline:hover {
  border-color: var(--green-500);
}

.btn svg {
  width: 20px;
  height: 20px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: #fff;
  background: rgba(3, 20, 38, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.site-header.scrolled {
  background: rgba(3, 20, 38, 0.95);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.16);
}

.nav-wrap {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  min-width: 220px;
  align-items: center;
  gap: 11px;
  color: #fff;
  text-decoration: none;
}

.brand-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  padding: 4px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-main {
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: 0.025em;
}

.brand-main span {
  color: var(--green-500);
}

.brand-tagline {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

.site-nav > a:not(.btn) {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav > a:not(.btn)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--green-500);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.site-nav > a:not(.btn):hover {
  color: #fff;
}

.site-nav > a:not(.btn):hover::after {
  transform: scaleX(1);
}

.header-cta {
  min-height: 44px;
  padding: 10px 17px;
  font-size: 0.88rem;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: 760px;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--navy-950);
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -3;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(3, 20, 38, 0.97) 0%, rgba(3, 20, 38, 0.84) 43%, rgba(3, 20, 38, 0.27) 78%, rgba(3, 20, 38, 0.48) 100%),
    url("hero-security-home.png") center / cover no-repeat;
}

.hero::after {
  position: absolute;
  z-index: -2;
  right: -180px;
  bottom: -260px;
  width: 700px;
  height: 700px;
  content: "";
  background: radial-gradient(circle, rgba(69, 189, 82, 0.2), transparent 64%);
  border-radius: 50%;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 680px) 1fr;
  align-items: center;
  padding-top: 118px;
  padding-bottom: 90px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  padding: 8px 13px;
  color: #dcffe1;
  background: rgba(69, 189, 82, 0.14);
  border: 1px solid rgba(69, 189, 82, 0.36);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero-badge i {
  width: 8px;
  height: 8px;
  background: var(--green-500);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(69, 189, 82, 0.12);
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(3.3rem, 6.8vw, 6.1rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.hero h1 span {
  display: block;
  color: var(--green-500);
}

.hero-lead {
  max-width: 620px;
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  line-height: 1.55;
}

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

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 37px;
  padding: 0;
  list-style: none;
}

.hero-proof li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.91rem;
  font-weight: 700;
}

.hero-proof svg {
  width: 19px;
  height: 19px;
  color: var(--green-500);
}

.trust-strip {
  position: relative;
  z-index: 5;
  margin-top: -54px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(223, 231, 238, 0.8);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.trust-item {
  display: flex;
  min-height: 108px;
  align-items: center;
  gap: 14px;
  padding: 24px;
}

.trust-item + .trust-item {
  border-left: 1px solid var(--line);
}

.trust-icon,
.service-icon,
.feature-icon,
.contact-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--green-600);
  background: var(--green-100);
  border-radius: 16px;
}

.trust-icon {
  width: 46px;
  height: 46px;
}

.trust-icon svg,
.contact-icon svg {
  width: 23px;
  height: 23px;
}

.trust-item strong {
  display: block;
  color: var(--navy-950);
  font-size: 0.94rem;
  line-height: 1.2;
}

.trust-item span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.3;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 370px;
  padding: 30px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.service-card::after {
  position: absolute;
  right: -70px;
  bottom: -75px;
  width: 160px;
  height: 160px;
  content: "";
  background: radial-gradient(circle, rgba(69, 189, 82, 0.14), transparent 68%);
  border-radius: 50%;
}

.service-card:hover {
  border-color: rgba(69, 189, 82, 0.48);
  box-shadow: 0 22px 52px rgba(3, 20, 38, 0.13);
  transform: translateY(-6px);
}

.service-icon {
  width: 62px;
  height: 62px;
  margin-bottom: 25px;
}

.service-icon svg {
  width: 31px;
  height: 31px;
}

.service-card h3 {
  margin: 0;
  color: var(--navy-950);
  font-size: 1.28rem;
  line-height: 1.2;
}

.service-card p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.service-card ul {
  display: grid;
  gap: 8px;
  margin: 19px 0 0;
  padding: 0;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 700;
  list-style: none;
}

.service-card li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.service-card li::before {
  margin-top: 0.48em;
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  content: "";
  background: var(--green-500);
  border-radius: 50%;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 70px;
}

.split-copy h2 {
  max-width: 650px;
}

.split-copy > p {
  margin-right: 0;
  margin-left: 0;
}

.feature-list {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.feature-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: start;
  gap: 15px;
}

.feature-icon {
  width: 52px;
  height: 52px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-row h3 {
  margin: 2px 0 4px;
  color: var(--navy-950);
  font-size: 1rem;
}

.feature-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.control-panel {
  position: relative;
  min-height: 540px;
  padding: 34px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(69, 189, 82, 0.23), transparent 35%),
    linear-gradient(145deg, #083c68, var(--navy-950));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.control-panel::after {
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 320px;
  height: 320px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  box-shadow:
    0 0 0 40px rgba(255, 255, 255, 0.035),
    0 0 0 80px rgba(255, 255, 255, 0.025);
}

.panel-label {
  margin: 0;
  color: rgba(255, 255, 255, 0.63);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.panel-title {
  max-width: 430px;
  margin: 9px 0 0;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.device-card {
  position: relative;
  z-index: 2;
  width: min(100%, 410px);
  margin: 34px 0 0 auto;
  padding: 20px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 25px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  transform: rotate(-2deg);
}

.device-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.device-home {
  font-weight: 900;
}

.device-status {
  padding: 6px 9px;
  color: #176424;
  background: var(--green-100);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.device-feed {
  position: relative;
  min-height: 145px;
  padding: 20px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(150deg, rgba(3, 20, 38, 0.25), rgba(3, 20, 38, 0.82)),
    url("hero-security-home.png") center / cover no-repeat;
  border-radius: 18px;
}

.device-feed span {
  position: absolute;
  bottom: 14px;
  left: 16px;
  font-size: 0.78rem;
  font-weight: 800;
}

.device-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.device-tile {
  padding: 13px;
  background: #f4f7f9;
  border: 1px solid #e5eaee;
  border-radius: 14px;
}

.device-tile small {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
}

.device-tile strong {
  display: block;
  margin-top: 2px;
  color: var(--navy-950);
  font-size: 0.83rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.process-card {
  position: relative;
  padding: 31px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-md);
}

.process-number {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--navy-950);
  background: var(--green-500);
  border-radius: 13px;
  font-weight: 900;
}

.process-card h3 {
  margin: 23px 0 8px;
  font-size: 1.2rem;
}

.process-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}

.area-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 38px 44px;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(6, 39, 70, 0.97), rgba(7, 82, 140, 0.9)),
    var(--navy-900);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.area-banner h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.5vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.area-banner p {
  max-width: 700px;
  margin: 11px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.faq-list {
  display: grid;
  max-width: 860px;
  gap: 12px;
  margin: 0 auto;
}

.faq {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  color: var(--navy-950);
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  content: "+";
  color: var(--green-600);
  background: var(--green-100);
  border-radius: 50%;
  font-size: 1.3rem;
  line-height: 28px;
  text-align: center;
}

.faq[open] summary::after {
  content: "–";
}

.faq p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.contact-section {
  position: relative;
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 54px;
}

.contact-copy h2 {
  max-width: 560px;
}

.contact-copy > p {
  margin-right: 0;
  margin-left: 0;
}

.contact-methods {
  display: grid;
  gap: 15px;
  margin-top: 30px;
}

.contact-method {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 13px;
  padding: 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  text-decoration: none;
}

.contact-method:hover {
  border-color: var(--green-500);
}

.contact-icon {
  width: 48px;
  height: 48px;
}

.contact-method small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-method strong {
  display: block;
  color: var(--navy-950);
}

.contact-form {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: grid;
  gap: 7px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--navy-950);
  font-size: 0.82rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--ink);
  background: #f9fbfc;
  border: 1px solid #d7e0e8;
  border-radius: 11px;
  outline: none;
}

.field textarea {
  min-height: 118px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  background: #fff;
  border-color: var(--green-500);
}

.form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 21px;
}

.site-footer {
  color: #fff;
  background: #020d19;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.8fr 1fr;
  gap: 45px;
  padding: 72px 0 54px;
}

.footer-brand .brand {
  margin-bottom: 18px;
}

.footer-brand p {
  max-width: 350px;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.socials a {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 11px;
  text-decoration: none;
}

.socials a:hover {
  color: var(--green-500);
  border-color: rgba(69, 189, 82, 0.5);
}

.socials svg {
  width: 18px;
  height: 18px;
}

.footer-col h3 {
  margin: 0 0 17px;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
  list-style: none;
}

.footer-col a {
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--green-500);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  color: rgba(255, 255, 255, 0.47);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.float-wa {
  position: fixed;
  z-index: 90;
  right: 20px;
  bottom: 20px;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: #fff;
  background: #22a947;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 13px 34px rgba(4, 42, 21, 0.32);
  transition: transform 0.2s ease;
}

.float-wa:hover {
  transform: translateY(-4px) scale(1.03);
}

.float-wa svg {
  width: 28px;
  height: 28px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.legal-body {
  background: var(--surface-soft);
}

.legal-header {
  color: #fff;
  background: var(--navy-950);
}

.legal-header .site-header {
  position: relative;
  background: var(--navy-950);
}

.legal-hero {
  padding: 70px 0 76px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 10%, rgba(69, 189, 82, 0.19), transparent 30%),
    linear-gradient(140deg, var(--navy-900), var(--navy-950));
}

.legal-hero h1 {
  color: #fff;
}

.legal-hero p {
  max-width: 720px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.legal-main {
  padding: 58px 0 84px;
}

.legal-card {
  max-width: 920px;
  margin: 0 auto;
  padding: 44px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.legal-card h2 {
  margin: 34px 0 9px;
  color: var(--navy-950);
  font-size: 1.32rem;
}

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

.legal-card h3 {
  margin: 25px 0 8px;
  color: var(--navy-900);
  font-size: 1.02rem;
}

.legal-card p,
.legal-card li {
  color: #4d5e6f;
}

.legal-card ul,
.legal-card ol {
  padding-left: 23px;
}

.legal-card a {
  color: var(--navy-700);
  font-weight: 700;
}

.legal-note {
  margin-top: 34px;
  padding: 18px;
  color: #285b31;
  background: var(--green-100);
  border-left: 4px solid var(--green-500);
  border-radius: 8px;
}

@media (max-width: 1020px) {
  .site-nav {
    gap: 16px;
  }

  .site-nav > a:not(.btn) {
    font-size: 0.84rem;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-card {
    min-height: 320px;
  }

  .split {
    gap: 42px;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-item:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .trust-item:nth-child(4) {
    border-top: 1px solid var(--line);
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 78px 0 auto;
    display: grid;
    max-height: calc(100vh - 78px);
    gap: 0;
    padding: 16px 20px 24px;
    overflow: auto;
    background: rgba(3, 20, 38, 0.99);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-130%);
    transition: transform 0.25s ease;
  }

  .site-nav.open {
    transform: translateY(0);
  }

  .site-nav > a:not(.btn) {
    padding: 14px 6px;
    font-size: 1rem;
  }

  .site-nav > a:not(.btn)::after {
    display: none;
  }

  .site-nav .btn {
    margin-top: 12px;
  }

  .hero {
    min-height: 730px;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(3, 20, 38, 0.97) 0%, rgba(3, 20, 38, 0.87) 58%, rgba(3, 20, 38, 0.55) 100%),
      url("hero-security-home.png") 68% center / cover no-repeat;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .split-copy {
    order: 1;
  }

  .control-panel {
    order: 2;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .area-banner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .section {
    padding: 72px 0;
  }

  .brand {
    min-width: 0;
  }

  .brand-icon {
    width: 43px;
    height: 43px;
  }

  .brand-main {
    font-size: 0.88rem;
  }

  .brand-tagline {
    font-size: 0.52rem;
  }

  .hero {
    min-height: 720px;
  }

  .hero-grid {
    padding-top: 120px;
    padding-bottom: 80px;
  }

  .hero h1 {
    font-size: clamp(3.05rem, 17vw, 4.3rem);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .trust-strip {
    margin-top: -28px;
  }

  .trust-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .trust-item + .trust-item {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .service-card {
    min-height: auto;
  }

  .control-panel {
    min-height: 500px;
    padding: 26px;
  }

  .device-card {
    padding: 14px;
  }

  .area-banner {
    padding: 30px 25px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field-full {
    grid-column: auto;
  }

  .contact-form {
    padding: 23px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 35px 25px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

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

  .legal-card {
    padding: 26px 22px;
  }

  .float-wa {
    right: 14px;
    bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
