:root {
  --bg: #06142c;
  --panel: #0b1d3f;
  --panel-2: #122b5d;
  --text: #f5f8fb;
  --muted: #bac4d6;
  --line: rgba(255, 255, 255, 0.11);
  --cyan: #ffffff;
  --green: #8f5cff;
  --amber: #c7b8ff;
  --danger: #ff6b6b;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  --purple: #7a3cff;
  --purple-light: #b79cff;
  --navy: #06142c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(122, 60, 255, 0.22), transparent 34rem),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(6, 20, 44, 0.76);
  backdrop-filter: blur(18px);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  border-color: var(--line);
  background: rgba(6, 20, 44, 0.94);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
  min-width: 0;
}

.brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  object-fit: cover;
  object-position: top center;
  box-shadow: 0 0 24px rgba(122, 60, 255, 0.44);
}

.nav-links {
  gap: 8px;
}

.nav-links a {
  min-height: 42px;
  padding: 9px 14px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
}

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

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 20, 44, 0.98) 0%, rgba(6, 20, 44, 0.82) 44%, rgba(25, 11, 57, 0.42) 100%),
    radial-gradient(circle at 75% 35%, rgba(122, 60, 255, 0.24), transparent 34%),
    linear-gradient(180deg, rgba(6, 20, 44, 0.2), var(--bg) 100%);
}

.hero-content {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 130px 0 76px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--purple-light);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(2.65rem, 6vw, 5.9rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

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

.hero-copy {
  max-width: 610px;
  color: #c6d0da;
  font-size: 1.08rem;
}

.hero-actions,
.hero-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  margin-top: 32px;
}

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px 20px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  color: #031014;
  background: linear-gradient(135deg, #ffffff, var(--purple-light));
  box-shadow: 0 16px 38px rgba(122, 60, 255, 0.28);
}

.btn-secondary {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats {
  margin-top: 52px;
}

.hero-stats div {
  min-width: 142px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 23, 50, 0.78);
  box-shadow: var(--shadow);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  font-size: 1.65rem;
  line-height: 1;
}

.hero-stats span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.86rem;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0;
}

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

.section-heading p:not(.eyebrow) {
  color: var(--muted);
}

.align-left {
  margin-left: 0;
  text-align: left;
}

.service-grid,
.product-grid {
  display: grid;
  gap: 18px;
}

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

.service-card,
.product-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow);
}

.service-card {
  min-height: 260px;
  padding: 26px;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto 22px 0;
  height: 3px;
  background: linear-gradient(90deg, #ffffff, var(--purple));
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-icon {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 8px;
  color: #041116;
  background: #ffffff;
  font-weight: 900;
}

.service-card p,
.product-card p,
.contact-copy p {
  color: var(--muted);
}

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

.product-card {
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(183, 156, 255, 0.6);
}

.product-card.featured {
  border-color: rgba(122, 60, 255, 0.62);
}

.product-visual {
  height: 210px;
  background: linear-gradient(135deg, #122b5d, #06142c);
  overflow: hidden;
}

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-card:hover .product-visual img {
  transform: scale(1.05);
}

.product-content {
  padding: 26px;
}

.tag {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 10px;
  border: 1px solid rgba(183, 156, 255, 0.48);
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
}

.product-card ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.product-card li {
  position: relative;
  margin-top: 10px;
  padding-left: 20px;
  color: #d7dee7;
  font-size: 0.95rem;
}

.product-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--purple-light);
}

.process {
  padding: 92px 0;
  background:
    linear-gradient(90deg, rgba(122, 60, 255, 0.18), rgba(255, 255, 255, 0.06)),
    var(--panel);
}

.process-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(6, 20, 44, 0.58);
}

.timeline-item span {
  width: 52px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #ffffff;
  color: var(--navy);
  font-weight: 900;
}

.timeline-item p {
  margin: 0;
  color: #dce4ec;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 110px;
}

.contact-points {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-points span {
  padding: 14px 16px;
  border-left: 3px solid var(--purple-light);
  background: rgba(255, 255, 255, 0.05);
}

.contact-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.contact-links a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-weight: 800;
  overflow-wrap: anywhere;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.contact-links a:hover,
.contact-links a:focus-visible {
  border-color: rgba(183, 156, 255, 0.62);
  transform: translateY(-2px);
}

.contact-link-icon {
  width: 30px;
  height: 30px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  color: var(--navy);
}

.contact-link-icon svg {
  width: 18px;
  height: 18px;
  fill: #ffffff;
}

.email-icon {
  background: linear-gradient(135deg, #4763ff, #7a3cff);
}

.instagram-icon {
  background:
    radial-gradient(circle at 30% 105%, #feda75 0 22%, #fa7e1e 34%, transparent 48%),
    radial-gradient(circle at 25% 20%, #d62976 0 28%, transparent 46%),
    linear-gradient(135deg, #4f5bd5, #962fbf 48%, #d62976);
}

.office-address {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #dce4ec;
  font-style: normal;
}

.office-address strong {
  display: block;
  margin-bottom: 10px;
  color: #ffffff;
}

.office-address a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--purple-light);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #dce4ec;
  font-size: 0.92rem;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--text);
  background: #081732;
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--purple-light);
  box-shadow: 0 0 0 4px rgba(122, 60, 255, 0.16);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--purple-light);
  font-weight: 700;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 56px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.3);
  transition: transform 0.2s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-4px) scale(1.04);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
}

.social-float {
  position: fixed;
  right: 22px;
  bottom: 90px;
  z-index: 60;
  display: grid;
  gap: 10px;
}

.social-float a {
  width: 56px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.social-float a[href^="mailto:"] {
  background: linear-gradient(135deg, #4763ff, #7a3cff);
}

.social-float a[href*="instagram.com"] {
  background:
    radial-gradient(circle at 30% 105%, #feda75 0 22%, #fa7e1e 34%, transparent 48%),
    radial-gradient(circle at 25% 20%, #d62976 0 28%, transparent 46%),
    linear-gradient(135deg, #4f5bd5, #962fbf 48%, #d62976);
}

.social-float a:hover,
.social-float a:focus-visible {
  border-color: var(--purple-light);
  transform: translateY(-3px);
}

.social-float svg {
  width: 28px;
  height: 28px;
  fill: #ffffff;
}

.footer {
  padding: 28px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  background: #040d20;
}

.footer p {
  margin: 0;
}

.footer a {
  color: #ffffff;
  font-weight: 700;
}

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

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

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

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

@media (max-width: 980px) {
  .service-grid,
  .product-grid,
  .process-inner,
  .contact-layout {
    grid-template-columns: 1fr 1fr;
  }

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

  .process-inner,
  .contact-layout {
    gap: 30px;
  }

  .contact-copy {
    position: static;
  }
}

@media (max-width: 720px) {
  .nav {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

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

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

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

  .nav-links {
    position: fixed;
    inset: 68px 0 auto;
    display: grid;
    gap: 0;
    padding: 12px 16px 20px;
    border-bottom: 1px solid var(--line);
    background: rgba(6, 20, 44, 0.98);
    transform: translateY(-120%);
    transition: transform 0.25s ease;
  }

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

  .nav-links a {
    padding: 15px 10px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-bg {
    background-position: 58% center;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(6, 20, 44, 0.96) 0%, rgba(6, 20, 44, 0.84) 56%, rgba(25, 11, 57, 0.72) 100%),
      radial-gradient(circle at 70% 35%, rgba(122, 60, 255, 0.2), transparent 34%);
  }

  .hero-content {
    padding-top: 116px;
  }

  .hero-stats {
    margin-top: 34px;
  }

  .hero-stats div {
    flex: 1 1 140px;
  }

  .section {
    padding: 72px 0;
  }

  .service-grid,
  .product-grid,
  .process-inner,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 460px) {
  .nav,
  .hero-content,
  .section,
  .process-inner {
    width: min(100% - 22px, 1180px);
  }

  h1 {
    font-size: 2.45rem;
  }

  .brand {
    gap: 8px;
    max-width: calc(100% - 54px);
  }

  .brand-logo {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
  }

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

  .product-content,
  .contact-form,
  .service-card {
    padding: 22px;
  }

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

  .social-float {
    right: 14px;
    bottom: 82px;
  }

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