:root {
  --ink: #152033;
  --muted: #637083;
  --line: #dfe5ed;
  --paper: #ffffff;
  --soft: #f5f7fa;
  --navy: #0a2540;
  --blue: #0b67b2;
  --teal: #0f9f9a;
  --red: #d3483f;
  --shadow: 0 18px 45px rgba(15, 32, 53, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  background: var(--navy);
  color: #d9e5f2;
  font-size: 13px;
}

.topbar-inner,
.nav-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar-inner {
  min-height: 36px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #ffffff;
}

.social-links svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.12);
}

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

.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav-inner {
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 245px;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--navy);
  font-size: 17px;
  line-height: 1.1;
  text-transform: uppercase;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #304052;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-links a {
  border-bottom: 2px solid transparent;
  padding: 28px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
  border-color: var(--blue);
}

.nav-links .nav-cta {
  color: #ffffff;
  background: var(--red);
  border: 0;
  border-radius: var(--radius);
  padding: 11px 16px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 9px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
}

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: center;
  color: #ffffff;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 28, 52, 0.92), rgba(8, 28, 52, 0.72), rgba(8, 28, 52, 0.38)), url("assets/security.jpeg") center/cover;
}

.hero-content {
  position: relative;
  padding: 96px 0 132px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #7ee3dc;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
}

h2 {
  color: var(--navy);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

h3 {
  color: var(--navy);
  font-size: 21px;
  line-height: 1.2;
}

.hero-copy {
  max-width: 760px;
  color: #dce8f3;
  font-size: 19px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: var(--radius);
  padding: 12px 20px;
  font-weight: 800;
}

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

.button.secondary {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.section {
  padding: 92px 0;
}

.section:nth-of-type(even) {
  background: var(--soft);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
  gap: 64px;
  align-items: start;
}

.lead-copy {
  color: #405064;
  font-size: 18px;
}

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

.metrics article,
.association-columns article,
.solution-grid article,
.faq-grid article {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 25px rgba(18, 38, 63, 0.06);
}

.metrics article {
  padding: 24px;
}

.metrics strong {
  display: block;
  color: var(--blue);
  font-size: 32px;
  line-height: 1;
}

.metrics span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

.section-heading {
  max-width: 800px;
  margin-bottom: 42px;
}

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

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  flex: 0 0 150px;
}

.service-card div {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.service-card h3 {
  margin-bottom: 14px;
}

.service-card ul {
  font-size: 14px;
}

ul {
  margin: 0;
  padding-left: 20px;
}

li + li {
  margin-top: 6px;
}

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

.solutions-visual {
  position: relative;
  min-height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  padding: 42px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
  background: url("assets/pexels-security-audit.jpg") center/cover;
}

.solutions-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 28, 52, 0.2), rgba(8, 28, 52, 0.86));
}

.solutions-visual .eyebrow {
  color: #7ee3dc;
}

.solutions-visual h2 {
  color: #ffffff;
}

.solution-grid article,
.association-columns article {
  padding: 26px;
}

.solution-grid p,
.association-columns p {
  color: var(--muted);
}

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

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

.faq-grid article {
  padding: 28px;
}

.faq-grid p {
  color: var(--muted);
}

.cta {
  background: var(--navy);
  color: #ffffff;
  padding: 54px 0;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px 42px;
  align-items: center;
}

.cta h2 {
  color: #ffffff;
  margin-bottom: 8px;
}

.cta p {
  color: #d4e0ec;
  margin-bottom: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 44px;
  align-items: stretch;
}

.contact-cards {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-cards a,
.contact-cards p {
  margin: 0;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-cards span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.appointment-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 18px;
  align-items: stretch;
}

.appointment-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.appointment-form label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
}

.appointment-form textarea {
  resize: vertical;
}

iframe {
  width: 100%;
  min-height: 440px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.site-footer {
  background: #071d33;
  color: #cdd9e5;
  padding: 30px 0;
}

.footer-brand strong {
  color: #ffffff;
}

.footer-brand small {
  color: #9fb0c1;
}

.site-footer p {
  margin: 0;
  text-align: right;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 76px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 12px 18px;
  color: #ffffff;
  background: #1fa855;
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 800;
}

.scroll-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--blue);
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: 0.2s ease;
}

.scroll-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 980px) {
  .topbar-inner,
  .footer-inner {
    align-items: flex-start;
  }

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

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
    margin-top: 0;
  }

  .nav-links {
    position: absolute;
    inset: 82px 20px auto 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 12px;
  }

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

  .nav-links a,
  .nav-links .nav-cta {
    padding: 12px;
  }

  .split,
  .contact-layout,
  .appointment-panel,
  .cta-inner {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .topbar-inner,
  .footer-inner {
    display: grid;
  }

  .hero {
    min-height: 620px;
  }

  .section {
    padding: 64px 0;
  }

  .service-grid,
  .metrics,
  .solution-grid,
  .association-columns,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .service-card img {
    height: 165px;
    flex-basis: 165px;
  }

  .solutions-visual {
    min-height: 360px;
    padding: 28px;
  }

  .site-footer p {
    text-align: left;
  }
}
