:root {
  --ink: #10151f;
  --muted: #5d6675;
  --line: #dce2ea;
  --paper: #f7f9fb;
  --white: #ffffff;
  --steel: #243243;
  --red: #d24724;
  --red-dark: #aa3219;
  --blue: #155f7c;
  --green: #16745c;
  --shadow: 0 18px 55px rgba(16, 21, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(14px, 3vw, 28px);
  padding: 10px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(12, 17, 25, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  margin-right: auto;
}

.brand-logo {
  display: block;
  width: auto;
  height: clamp(54px, 6vw, 68px);
  padding: 6px 8px;
  background: var(--white);
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
}

.nav-links a:hover {
  color: var(--white);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.lang-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 58px;
  height: 36px;
  padding: 0 10px;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
}

.lang-button:hover,
.lang-button.is-active {
  color: var(--ink);
  background: var(--white);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

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

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

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

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  padding: 136px clamp(18px, 6vw, 84px) 72px;
}

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

.hero-media {
  background-image: url("assets/security-hero.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 10, 15, 0.9) 0%, rgba(9, 13, 19, 0.76) 36%, rgba(9, 13, 19, 0.22) 72%),
    linear-gradient(180deg, rgba(7, 10, 15, 0.25), rgba(7, 10, 15, 0.72));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

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

.hero .eyebrow {
  color: #ff5f64;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
  max-width: 820px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.23rem;
  line-height: 1.2;
}

.lead {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.08rem, 2vw, 1.34rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 6px;
  font-weight: 800;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

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

.button.primary:hover {
  background: var(--red-dark);
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.button.secondary:hover {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.button.light {
  color: var(--white);
}

section {
  padding: clamp(58px, 9vw, 112px) clamp(18px, 6vw, 84px);
}

.band {
  background: var(--white);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.82fr);
  gap: clamp(28px, 7vw, 96px);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

.section-grid p,
.section-heading p,
.service-card p,
.why-grid p,
.contact-panel p {
  color: var(--muted);
}

.intro .section-grid > p,
.brand-copy p {
  font-size: 1.1rem;
}

.section-heading {
  max-width: 900px;
  margin: 0 auto 38px;
}

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

.service-card {
  min-height: 280px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(16, 21, 31, 0.05);
}

.icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  color: var(--red);
  background: #fff0f1;
  border-radius: 6px;
}

.icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.systems-showcase {
  background: #eef4f7;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.showcase-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid #d4e0e8;
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(16, 21, 31, 0.08);
}

.showcase-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.showcase-card div {
  padding: 26px;
}

.showcase-card h3 {
  color: var(--blue);
}

.showcase-card p:not(.eyebrow) {
  color: var(--muted);
}

.brand-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.brand-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  color: var(--blue);
  background: #edf4f7;
  border: 1px solid #d2e3eb;
  border-radius: 6px;
  font-weight: 800;
}

.why {
  background:
    linear-gradient(135deg, rgba(14, 90, 122, 0.1), rgba(22, 116, 92, 0.08)),
    var(--paper);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.why-grid div {
  padding: 28px 0;
  border-top: 3px solid var(--red);
}

.why-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--steel);
  font-size: 1.12rem;
}

.contact {
  background: var(--steel);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 54px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(215, 25, 32, 0.28), rgba(14, 90, 122, 0.3)),
    #162232;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  max-width: 760px;
}

.contact-panel p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.76);
}

.company-data {
  display: grid;
  gap: 7px;
  padding: 22px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  font-style: normal;
}

.company-data strong {
  color: var(--white);
  font-size: 1.15rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 6vw, 84px);
  color: rgba(255, 255, 255, 0.7);
  background: #0b1018;
}

.site-footer a {
  color: var(--white);
}

@media (max-width: 980px) {
  .service-grid,
  .showcase-grid,
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 680px) {
  .site-header {
    position: absolute;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    flex-wrap: wrap;
  }

  .brand {
    margin-right: auto;
  }

  .language-switch {
    order: 2;
    gap: 4px;
    padding: 3px;
  }

  .lang-button {
    min-width: 44px;
    height: 34px;
    padding: 0 7px;
    font-size: 0.76rem;
  }

  .lang-button span:last-child {
    display: none;
  }

  .menu-toggle {
    order: 3;
    display: block;
    margin-left: 0;
  }

  .nav-links {
    order: 4;
    display: grid;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    gap: 0;
    color: var(--white);
    background: rgba(12, 17, 25, 0.92);
    border: 0 solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    transition: max-height 220ms ease, border-width 220ms ease, margin-top 220ms ease;
  }

  .nav-links.is-open {
    max-height: 220px;
    margin-top: 12px;
    border-width: 1px;
  }

  .nav-links a {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .brand-logo {
    height: 54px;
    padding: 5px 7px;
  }

  .hero {
    min-height: 760px;
    padding: 126px 18px 52px;
    align-items: end;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(7, 10, 15, 0.36), rgba(7, 10, 15, 0.92) 62%),
      linear-gradient(90deg, rgba(7, 10, 15, 0.72), rgba(7, 10, 15, 0.2));
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .service-grid,
  .showcase-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-panel {
    padding: 24px 18px;
  }

  .site-footer {
    flex-direction: column;
  }
}
