:root {
  --bg-black: #020807;
  --bg-deep: #03110e;

  --hud-green: #00ff9c;
  --hud-green-soft: #00c878;
  --hud-green-dark: #006b45;

  --hud-cyan: #00f5ff;
  --hud-cyan-soft: #60f7ff;

  --hud-mint: #b8ffe1;
  --hud-white: #eafff7;

  --hud-panel: rgba(0, 18, 15, 0.72);
  --hud-panel-strong: rgba(0, 10, 8, 0.84);

  --hud-border: rgba(0, 255, 156, 0.42);
  --hud-border-strong: rgba(0, 255, 156, 0.68);
  --hud-border-soft: rgba(0, 255, 156, 0.18);

  --hud-glow: rgba(0, 255, 156, 0.35);
  --hud-glow-strong: rgba(0, 255, 156, 0.58);
  --hud-cyan-glow: rgba(0, 245, 255, 0.32);

  --text-main: #eafff7;
  --text-muted: rgba(234, 255, 247, 0.72);
  --text-soft: rgba(234, 255, 247, 0.56);

  --font-display: "Orbitron", Arial, Helvetica, sans-serif;
  --font-body: "Rajdhani", Arial, Helvetica, sans-serif;
  --font-mono: "Share Tech Mono", monospace;

  --hud-header-full: 82px;
  --hud-header-compact: 58px;
  --hud-mobile-header-height: 138px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  min-height: 100%;
  font-family: var(--font-body);
  background: var(--bg-black);
  color: var(--text-main);
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hud-header-full) + 28px);
}

body {
  min-height: 100vh;
}

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

.home-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding-top: var(--hud-header-full);
  background: var(--bg-black);
}

.matrix-background {
  position: fixed;
  inset: -8%;
  z-index: 1;
  background-image: url("../img/matrix-bg.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  animation: matrixZoom 30s ease-in-out infinite;
  transform-origin: center center;
  filter: hue-rotate(72deg) brightness(1.48) contrast(1.34) saturate(1.55);
}

@keyframes matrixZoom {
  0% {
    transform: scale(1) translate3d(0, 0, 0);
  }

  35% {
    transform: scale(1.1) translate3d(-2%, 2%, 0);
  }

  70% {
    transform: scale(1.04) translate3d(2%, -2%, 0);
  }

  100% {
    transform: scale(1) translate3d(0, 0, 0);
  }
}

#matrix-rain {
  position: fixed;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 0.92;
  pointer-events: none;
}

.hud-grid {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(0, 255, 156, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 156, 0.13) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.38) 38%,
    transparent 78%
  );
}

.hud-noise {
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0.14;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.035) 0,
    rgba(255, 255, 255, 0.035) 1px,
    transparent 1px,
    transparent 4px
  );
}

.hud-overlay {
  position: fixed;
  inset: 0;
  z-index: 5;
  background: linear-gradient(
    to bottom,
    rgba(0, 255, 156, 0.1) 0%,
    rgba(0, 30, 23, 0.1) 20%,
    rgba(0, 0, 0, 0.24) 60%,
    rgba(0, 0, 0, 0.62) 100%
  );
  pointer-events: none;
}

.dark-vignette {
  position: fixed;
  inset: 0;
  z-index: 6;
  background: radial-gradient(
    circle at center,
    rgba(0, 255, 156, 0.05) 0%,
    rgba(0, 0, 0, 0.05) 36%,
    rgba(0, 0, 0, 0.58) 100%
  );
  pointer-events: none;
}

.reveal-section {
  opacity: 0;
  transform: translateY(46px);
  transition:
    opacity 0.85s ease,
    transform 0.85s ease;
}

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

.services-detail-layout {
  opacity: 1 !important;
  transform: none !important;
}

/* HEADER */

.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  height: var(--hud-header-full);
  transform-origin: top center;
  background: linear-gradient(
    90deg,
    rgba(0, 10, 8, 0.86),
    rgba(0, 35, 26, 0.78),
    rgba(0, 10, 8, 0.86)
  );
  border-bottom: 1px solid var(--hud-border);
  box-shadow:
    0 8px 34px rgba(0, 0, 0, 0.48),
    0 0 26px rgba(0, 255, 156, 0.14),
    inset 0 -1px 0 rgba(184, 255, 225, 0.12);
  backdrop-filter: blur(16px);
  transition:
    height 0.28s ease,
    transform 0.28s ease,
    background 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
  will-change: height, transform;
}
.top-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(0, 255, 156, 0.12) 50%,
      transparent 100%
    ),
    linear-gradient(90deg, rgba(0, 255, 156, 0.08) 1px, transparent 1px);
  background-size:
    100% 100%,
    42px 42px;
  opacity: 0.55;
  pointer-events: none;
}

.top-bar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--hud-green),
    var(--hud-cyan),
    var(--hud-green),
    transparent
  );
  box-shadow: 0 0 18px var(--hud-glow-strong);
  opacity: 0.75;
}

.nav-container {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: max-content;
}

.brand-icon {
  width: 48px;
  height: 48px;
  border: 2px solid var(--hud-mint);
  border-radius: 6px;
  position: relative;
  box-shadow:
    0 0 18px var(--hud-glow),
    inset 0 0 14px rgba(0, 255, 156, 0.16);
}

.brand-icon::before,
.brand-icon::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-color: var(--hud-cyan);
  border-style: solid;
  opacity: 0.95;
}

.brand-icon::before {
  top: -5px;
  left: -5px;
  border-width: 2px 0 0 2px;
}

.brand-icon::after {
  right: -5px;
  bottom: -5px;
  border-width: 0 2px 2px 0;
}

.brand-icon span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--hud-mint);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--hud-glow);
}

.brand-icon span:nth-child(1) {
  top: 14px;
}

.brand-icon span:nth-child(2) {
  top: 23px;
}

.brand-icon span:nth-child(3) {
  top: 32px;
}

.brand-text h1 {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-main);
  text-shadow:
    0 0 16px rgba(0, 255, 156, 0.25),
    0 0 26px rgba(0, 245, 255, 0.08);
}

.brand-text p {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--hud-mint);
  opacity: 0.92;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-left: auto;
}

.main-nav a {
  position: relative;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  color: rgba(234, 255, 247, 0.78);
  transition:
    color 0.2s ease,
    text-shadow 0.2s ease;
}

.main-nav a::before {
  content: "[";
  margin-right: 4px;
  color: transparent;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "]";
  margin-left: 4px;
  color: transparent;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav .active-link {
  color: var(--hud-mint);
  text-shadow: 0 0 12px var(--hud-glow);
}

.main-nav a:hover::before,
.main-nav a:hover::after,
.main-nav .active-link::before,
.main-nav .active-link::after {
  color: var(--hud-green);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  height: 40px;
  padding: 0 20px;
  border: 1px solid var(--hud-border-strong);
  border-radius: 2px;
  background: linear-gradient(
    135deg,
    rgba(0, 255, 156, 0.18),
    rgba(0, 245, 255, 0.08)
  );
  color: var(--hud-mint);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow:
    inset 0 0 14px rgba(0, 255, 156, 0.08),
    0 0 16px rgba(0, 255, 156, 0.12);
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.nav-cta:hover {
  background: linear-gradient(
    135deg,
    rgba(0, 255, 156, 0.28),
    rgba(0, 245, 255, 0.14)
  );
  box-shadow:
    0 0 24px var(--hud-glow),
    inset 0 0 16px rgba(184, 255, 225, 0.12);
  transform: translateY(-1px);
}


/* STICKY / COMPACT HEADER BEHAVIOR */
body.header-is-scrolled .top-bar {
  height: 68px;
  background: linear-gradient(90deg, rgba(0, 8, 7, 0.94), rgba(0, 34, 26, 0.88), rgba(0, 8, 7, 0.94));
  border-bottom-color: rgba(0, 255, 156, 0.58);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.62),
    0 0 30px rgba(0, 255, 156, 0.16),
    inset 0 -1px 0 rgba(184, 255, 225, 0.12);
  backdrop-filter: blur(20px);
}

body.header-is-compact .top-bar:not(:hover):not(:focus-within) {
  height: var(--hud-header-compact);
  transform: translateY(0) scaleX(0.985);
}

body.header-is-compact .top-bar:not(:hover):not(:focus-within) .nav-container {
  width: min(1120px, calc(100% - 64px));
  gap: 18px;
}

body.header-is-compact .top-bar:not(:hover):not(:focus-within) .brand-icon {
  width: 38px;
  height: 38px;
}

body.header-is-compact .top-bar:not(:hover):not(:focus-within) .brand-icon span {
  left: 8px;
  right: 8px;
}

body.header-is-compact .top-bar:not(:hover):not(:focus-within) .brand-icon span:nth-child(1) { top: 11px; }
body.header-is-compact .top-bar:not(:hover):not(:focus-within) .brand-icon span:nth-child(2) { top: 18px; }
body.header-is-compact .top-bar:not(:hover):not(:focus-within) .brand-icon span:nth-child(3) { top: 25px; }

body.header-is-compact .top-bar:not(:hover):not(:focus-within) .brand-text h1 {
  font-size: 20px;
}

body.header-is-compact .top-bar:not(:hover):not(:focus-within) .brand-text p {
  margin-top: 4px;
  font-size: 9px;
  opacity: 0.82;
}

body.header-is-compact .top-bar:not(:hover):not(:focus-within) .main-nav {
  gap: 18px;
}

body.header-is-compact .top-bar:not(:hover):not(:focus-within) .main-nav a,
body.header-is-compact .top-bar:not(:hover):not(:focus-within) .nav-cta {
  font-size: 13px;
}

body.header-is-compact .top-bar:not(:hover):not(:focus-within) .nav-cta {
  min-width: 86px;
  height: 34px;
  padding: 0 15px;
}

.top-bar:hover,
.top-bar:focus-within,
body.header-expand-on-up .top-bar {
  height: var(--hud-header-full);
  transform: translateY(0) scaleX(1);
}

.brand-icon,
.brand-icon span,
.brand-text h1,
.brand-text p,
.main-nav,
.main-nav a,
.nav-cta,
.nav-container {
  transition:
    width 0.28s ease,
    height 0.28s ease,
    font-size 0.28s ease,
    gap 0.28s ease,
    opacity 0.28s ease,
    margin 0.28s ease,
    padding 0.28s ease,
    top 0.28s ease;
}

section[id],
[id="industrias"],
[id="equipo"],
[id="service-detail-start"],
[id="contact-form"] {
  scroll-margin-top: calc(var(--hud-header-full) + 28px);
}

@media (max-width: 920px) {
  :root {
    --hud-header-full: 76px;
    --hud-header-compact: 62px;
  }

  body.header-is-compact .top-bar:not(:hover):not(:focus-within) {
    transform: none;
  }

  body.header-is-compact .top-bar:not(:hover):not(:focus-within) .brand-text h1 {
    font-size: 18px;
  }

  body.header-is-compact .top-bar:not(:hover):not(:focus-within) .brand-text p {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .top-bar,
  .top-bar * {
    transition: none !important;
  }
}

/* BUTTONS */

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 25px;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.primary-button {
  background: var(--hud-green);
  color: #001e17;
  box-shadow:
    0 0 22px var(--hud-glow),
    inset 0 0 14px rgba(255, 255, 255, 0.22);
}

.primary-button:hover {
  transform: translateY(-2px);
  background: var(--hud-mint);
  box-shadow:
    0 0 34px rgba(0, 255, 156, 0.52),
    0 0 16px rgba(0, 245, 255, 0.18);
}

.secondary-button {
  border: 1px solid var(--hud-border);
  background: rgba(0, 20, 15, 0.46);
  color: var(--hud-mint);
}

.secondary-button:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 245, 255, 0.82);
  box-shadow: 0 0 24px var(--hud-cyan-glow);
}

/* HOME HERO */

.hero {
  position: relative;
  z-index: 20;
  width: min(1180px, calc(100% - 48px));
  min-height: auto;
  margin: 0 auto;
  padding: 54px 0 28px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: start;
  gap: 54px;
}

.hero-content {
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  color: var(--hud-green);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 0 14px var(--hud-glow);
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 2px;
  background: var(--hud-green);
  box-shadow: 0 0 14px var(--hud-glow);
}

.eyebrow::after {
  content: "";
  width: 8px;
  height: 8px;
  border: 1px solid var(--hud-cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--hud-cyan-glow);
}

.hero h2 {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.3vw, 62px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text-main);
  text-shadow:
    0 0 34px rgba(0, 0, 0, 0.9),
    0 0 22px rgba(0, 255, 156, 0.15);
}

.hero-description {
  max-width: 650px;
  margin-top: 24px;
  color: var(--text-muted);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.hero-panel {
  position: relative;
  margin-top: 8px;
  min-height: 486px;
  border: 1px solid var(--hud-border);
  background: linear-gradient(
    145deg,
    rgba(0, 31, 24, 0.78),
    rgba(0, 5, 4, 0.66)
  );
  box-shadow:
    0 0 42px rgba(0, 255, 156, 0.2),
    inset 0 0 40px rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(6px);
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(0, 255, 156, 0.18);
  pointer-events: none;
}

.hero-panel::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -70px;
  top: -66px;
  border: 1px solid rgba(0, 245, 255, 0.24);
  border-radius: 50%;
  box-shadow:
    0 0 0 34px rgba(0, 255, 156, 0.035),
    0 0 0 72px rgba(0, 255, 156, 0.018),
    0 0 32px rgba(0, 245, 255, 0.15);
}

.panel-scanline {
  position: absolute;
  inset: 0;
  height: 120px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 255, 156, 0.1) 50%,
    transparent 100%
  );
  animation: scanline 4.5s linear infinite;
  opacity: 0.72;
  pointer-events: none;
}

@keyframes scanline {
  0% {
    transform: translateY(-130px);
  }

  100% {
    transform: translateY(540px);
  }
}

.panel-header {
  position: relative;
  z-index: 2;
  height: 54px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(0, 255, 156, 0.22);
  background: rgba(0, 20, 15, 0.34);
}

.panel-dots {
  display: flex;
  gap: 8px;
}

.panel-dots span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--hud-green);
  box-shadow: 0 0 12px var(--hud-glow);
}

.panel-dots span:nth-child(2) {
  background: var(--hud-cyan);
  box-shadow: 0 0 12px var(--hud-cyan-glow);
}

.panel-dots span:nth-child(3) {
  background: var(--hud-mint);
  box-shadow: 0 0 12px rgba(184, 255, 225, 0.4);
}

.panel-header p {
  margin-left: auto;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
}

/* HOME NETWORK PANEL */

.network-card {
  position: relative;
  z-index: 2;
  margin: 34px 36px 0;
  padding: 26px;
  border: 1px solid rgba(0, 255, 156, 0.26);
  background: rgba(0, 7, 5, 0.62);
}

.network-title p {
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.network-title h3 {
  margin-top: 7px;
  color: var(--hud-green);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-shadow: 0 0 18px var(--hud-glow);
}

.radar-widget {
  position: absolute;
  right: 28px;
  top: 28px;
  width: 122px;
  height: 122px;
  border-radius: 50%;
  border: 1px solid rgba(0, 255, 156, 0.36);
  box-shadow:
    inset 0 0 18px rgba(0, 255, 156, 0.08),
    0 0 18px rgba(0, 255, 156, 0.08);
  overflow: hidden;
}

.radar-cross {
  position: absolute;
  background: rgba(0, 255, 156, 0.18);
}

.radar-cross.horizontal {
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
}

.radar-cross.vertical {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
}

.radar-circle {
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  border: 1px solid rgba(0, 255, 156, 0.24);
}

.radar-circle::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  border: 1px solid rgba(0, 245, 255, 0.2);
}

.radar-line {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 50%;
  height: 1px;
  background: linear-gradient(to right, var(--hud-green), transparent);
  transform-origin: left center;
  animation: radarSweep 3.2s linear infinite;
  box-shadow: 0 0 12px var(--hud-glow);
}

@keyframes radarSweep {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.radar-dot {
  position: absolute;
  width: 5px;
  height: 5px;
  background: var(--hud-cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--hud-cyan-glow);
}

.dot-one {
  left: 32px;
  top: 42px;
}

.dot-two {
  right: 30px;
  top: 58px;
}

.dot-three {
  left: 58px;
  bottom: 30px;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 118px;
}

.status-grid div {
  position: relative;
  padding: 12px 14px;
  min-height: 72px;
  background: rgba(0, 255, 156, 0.035);
  border: 1px solid rgba(0, 255, 156, 0.11);
}

.status-grid span {
  display: block;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  margin-bottom: 7px;
}

.status-grid strong {
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 17px;
}


/* V23 - NOC / SOC COMMAND CONSOLE */

.hero-panel {
  min-height: 560px;
}

.noc-console-card {
  margin: 26px 32px 0;
  padding: 24px;
  min-height: 455px;
  overflow: hidden;
}

.noc-title {
  max-width: 68%;
}

.noc-title h3 {
  font-size: clamp(24px, 2.2vw, 34px);
  letter-spacing: 0.01em;
}

.noc-title span {
  display: block;
  margin-top: 8px;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.noc-radar {
  right: 24px;
  top: 22px;
  width: 110px;
  height: 110px;
}

.sla-wave-panel {
  position: relative;
  margin-top: 26px;
  padding: 14px 14px 10px;
  border: 1px solid rgba(0, 255, 156, 0.16);
  background: rgba(0, 255, 156, 0.035);
  overflow: hidden;
}

.sla-wave-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 255, 156, 0.08),
    transparent
  );
  animation: threatSweep 4.8s linear infinite;
  opacity: 0.72;
}

.sla-wave-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
}

.sla-wave-header span,
.noc-metric span {
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sla-wave-header strong {
  color: var(--hud-mint);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.sla-wave {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 66px;
  display: block;
}

.sla-wave-grid {
  fill: none;
  stroke: rgba(0, 255, 156, 0.12);
  stroke-width: 1;
}

.sla-wave-line {
  fill: none;
  stroke: url(#slaWaveGradient);
  stroke-width: 2.2;
  filter: drop-shadow(0 0 8px rgba(0, 255, 156, 0.62));
  stroke-dasharray: 520;
  stroke-dashoffset: 520;
  animation: drawSlaWave 3.6s ease-in-out infinite;
}

@keyframes drawSlaWave {
  0% {
    stroke-dashoffset: 520;
    opacity: 0.35;
  }

  40%, 72% {
    stroke-dashoffset: 0;
    opacity: 1;
  }

  100% {
    stroke-dashoffset: -520;
    opacity: 0.48;
  }
}

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

.noc-metric {
  position: relative;
  min-height: 78px;
  padding: 12px 13px;
  border: 1px solid rgba(0, 255, 156, 0.14);
  background: rgba(0, 255, 156, 0.035);
  overflow: hidden;
}

.noc-metric::after {
  content: "";
  position: absolute;
  left: -55%;
  top: 0;
  width: 42%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 255, 156, 0.12),
    transparent
  );
  animation: threatSweep 6.4s linear infinite;
}

.noc-metric strong {
  position: relative;
  z-index: 2;
  display: block;
  margin-top: 8px;
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 16px;
  letter-spacing: 0.04em;
}

.packet-loss-card strong {
  color: var(--hud-green);
  font-size: 26px;
  text-shadow: 0 0 14px var(--hud-glow);
}

.noc-metric small {
  position: relative;
  z-index: 2;
  display: block;
  margin-top: 6px;
  color: var(--hud-mint);
  font-size: 11px;
  font-weight: 600;
  opacity: 0.84;
}

.throughput-bar {
  position: relative;
  z-index: 2;
  height: 6px;
  margin-top: 10px;
  border: 1px solid rgba(0, 255, 156, 0.18);
  background: rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.throughput-bar i {
  display: block;
  width: 74%;
  height: 100%;
  background: linear-gradient(90deg, var(--hud-green), var(--hud-cyan));
  box-shadow: 0 0 12px var(--hud-glow);
  animation: throughputPulse 3.8s ease-in-out infinite;
}

@keyframes throughputPulse {
  0%, 100% {
    width: 68%;
    opacity: 0.72;
  }

  50% {
    width: 92%;
    opacity: 1;
  }
}

.threat-card {
  grid-column: span 1;
}

.threat-scan-lane {
  position: relative;
  z-index: 2;
  height: 4px;
  margin-top: 9px;
  background: rgba(0, 255, 156, 0.08);
  overflow: hidden;
}

.threat-scan-lane i {
  position: absolute;
  left: -25%;
  top: 0;
  width: 28%;
  height: 100%;
  background: var(--hud-green);
  box-shadow: 0 0 13px var(--hud-glow);
  animation: threatLane 2.6s linear infinite;
}

@keyframes threatLane {
  from {
    left: -30%;
  }

  to {
    left: 103%;
  }
}

@keyframes threatSweep {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(360%);
  }
}

.quarantine-card strong {
  color: var(--hud-cyan-soft);
  text-shadow: 0 0 12px var(--hud-cyan-glow);
}

.voice-card strong b,
.voice-card small b {
  color: var(--hud-green);
  text-shadow: 0 0 12px var(--hud-glow);
}

/* Keep old status grid available if reused elsewhere */
.status-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 118px;
}

/* HOME SECTIONS */

.focus-section {
  position: relative;
  z-index: 20;
  width: min(1180px, calc(100% - 48px));
  margin: 78px auto 34px;
  padding: 18px 0 12px;
}

.focus-heading {
  max-width: 820px;
  margin-bottom: 22px;
}

.focus-heading p {
  color: var(--hud-green);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 10px;
  text-shadow: 0 0 12px var(--hud-glow);
}

.focus-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 31px);
  line-height: 1.16;
  color: var(--text-main);
  margin-bottom: 12px;
}

.focus-heading span {
  display: block;
  max-width: 780px;
  color: var(--text-muted);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
}

.operational-focus {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.focus-card {
  position: relative;
  min-height: 142px;
  padding: 17px 13px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--hud-border-soft);
  background: rgba(0, 18, 14, 0.66);
  box-shadow:
    inset 0 0 22px rgba(0, 0, 0, 0.44),
    0 0 18px rgba(0, 255, 156, 0.06);
  overflow: hidden;
}

.focus-card::before,
.focus-card::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: var(--hud-green);
  border-style: solid;
  opacity: 0.76;
}

.focus-card::before {
  top: 8px;
  left: 8px;
  border-width: 1px 0 0 1px;
}

.focus-card::after {
  right: 8px;
  bottom: 8px;
  border-width: 0 1px 1px 0;
}

.focus-icon,
.service-icon,
.industry-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 255, 156, 0.24);
  background: rgba(0, 255, 156, 0.055);
  box-shadow:
    inset 0 0 14px rgba(0, 255, 156, 0.06),
    0 0 14px rgba(0, 255, 156, 0.06);
}

.focus-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 13px;
}

.focus-icon svg,
.service-icon svg,
.industry-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: var(--hud-green);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(0, 255, 156, 0.4));
}

.focus-icon svg {
  width: 20px;
  height: 20px;
}

.focus-card h3 {
  width: 100%;
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}

.focus-card p {
  color: var(--hud-mint);
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.35;
  opacity: 0.86;
}

.hud-section-divider {
  position: relative;
  z-index: 20;
  width: min(1180px, calc(100% - 48px));
  margin: 18px auto 34px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}

.hud-section-divider span {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 255, 156, 0.85),
    rgba(0, 245, 255, 0.55)
  );
  box-shadow: 0 0 14px var(--hud-glow);
}

.hud-section-divider span:last-child {
  background: linear-gradient(
    90deg,
    rgba(0, 245, 255, 0.55),
    rgba(0, 255, 156, 0.85),
    transparent
  );
}

.hud-section-divider p {
  position: relative;
  padding: 8px 18px;
  border: 1px solid rgba(0, 255, 156, 0.28);
  background: rgba(0, 20, 15, 0.62);
  color: var(--hud-green);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow:
    inset 0 0 18px rgba(0, 255, 156, 0.06),
    0 0 16px rgba(0, 255, 156, 0.08);
}

.services-section,
.industries-section,
.team-section {
  position: relative;
  z-index: 20;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 84px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading p {
  color: var(--hud-green);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 12px;
  text-shadow: 0 0 12px var(--hud-glow);
}

.section-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-main);
  text-shadow: 0 0 24px rgba(0, 255, 156, 0.12);
}

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

.services-preview article,
.industries-grid article,
.team-card {
  position: relative;
  isolation: isolate;
  border: 1px solid var(--hud-border-soft);
  background: rgba(0, 13, 10, 0.74);
  backdrop-filter: blur(4px);
  box-shadow:
    inset 0 0 26px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(0, 255, 156, 0.06);
  overflow: hidden;
  transition:
    border-color 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}

.services-preview article,
.team-card {
  cursor: pointer;
}

.service-card-link,
.team-card-link {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: block;
  color: inherit;
  text-decoration: none;
}

.service-card-link:focus-visible,
.team-card-link:focus-visible {
  outline: 2px solid rgba(24, 244, 255, 0.82);
  outline-offset: -8px;
}

.services-preview article:hover,
.industries-grid article:hover,
.team-card:hover {
  transform: translateY(-4px);
  border-color: var(--hud-border-strong);
  background: rgba(0, 25, 19, 0.82);
  box-shadow:
    inset 0 0 28px rgba(0, 0, 0, 0.42),
    0 0 28px rgba(0, 255, 156, 0.15);
}

.services-preview article {
  min-height: 205px;
  padding: 30px 28px;
}

.industries-grid article {
  min-height: 190px;
  padding: 30px 28px;
}

.team-card {
  min-height: 470px;
  padding: 22px;
}

.services-preview article::before,
.services-preview article::after,
.industries-grid article::before,
.industries-grid article::after,
.team-card::before,
.team-card::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--hud-green);
  border-style: solid;
  opacity: 0.65;
}

.services-preview article::before,
.industries-grid article::before,
.team-card::before {
  top: 12px;
  left: 12px;
  border-width: 1px 0 0 1px;
}

.services-preview article::after,
.industries-grid article::after,
.team-card::after {
  right: 12px;
  bottom: 12px;
  border-width: 0 1px 1px 0;
}

.service-topline {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 20px;
}

.services-preview h3,
.industries-grid h3,
.team-card h3 {
  position: relative;
  z-index: 2;
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 12px;
}

.services-preview p,
.industries-grid p,
.team-card p {
  position: relative;
  z-index: 2;
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
}

.industry-icon {
  margin-bottom: 18px;
}

.industries-grid article > span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--hud-cyan);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-shadow: 0 0 12px var(--hud-cyan-glow);
}

.photo-node {
  position: relative;
  height: 230px;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 255, 156, 0.26);
  background: radial-gradient(
    circle at center,
    rgba(0, 255, 156, 0.12),
    rgba(0, 10, 8, 0.78) 58%,
    rgba(0, 0, 0, 0.86) 100%
  );
  box-shadow:
    inset 0 0 34px rgba(0, 0, 0, 0.55),
    0 0 22px rgba(0, 255, 156, 0.08);
  overflow: hidden;
}

.photo-node::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(0, 255, 156, 0.25);
}

.photo-node::after {
  content: "";
  position: absolute;
  left: -20%;
  right: -20%;
  top: 48%;
  height: 1px;
  background: rgba(0, 245, 255, 0.42);
  box-shadow: 0 0 14px var(--hud-cyan-glow);
}

.photo-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.photo-placeholder span {
  color: var(--hud-green);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-shadow: 0 0 12px var(--hud-glow);
}


.photo-node-loaded {
  background:
    radial-gradient(circle at center, rgba(0, 255, 156, 0.1), transparent 54%),
    rgba(0, 10, 8, 0.82);
}

.photo-node-loaded::before {
  z-index: 3;
}

.photo-node-loaded::after {
  z-index: 4;
  opacity: 0.58;
}

.team-photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  filter: saturate(1.08) contrast(1.04) brightness(0.96);
  transform: scale(1.015);
}

.photo-node-loaded .photo-hud-layer {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0, 255, 156, 0.1), transparent 24%, transparent 72%, rgba(0, 0, 0, 0.4)),
    repeating-linear-gradient(to bottom, rgba(234, 255, 247, 0.035) 0, rgba(234, 255, 247, 0.035) 1px, transparent 1px, transparent 5px);
  mix-blend-mode: screen;
  opacity: 0.78;
}

.photo-node-loaded .photo-hud-layer::before,
.photo-node-loaded .photo-hud-layer::after {
  content: "";
  position: absolute;
  width: 32px;
  height: 32px;
  border-color: var(--hud-green);
  border-style: solid;
  filter: drop-shadow(0 0 10px var(--hud-glow));
}

.photo-node-loaded .photo-hud-layer::before {
  top: 14px;
  left: 14px;
  border-width: 1px 0 0 1px;
}

.photo-node-loaded .photo-hud-layer::after {
  right: 14px;
  bottom: 14px;
  border-width: 0 1px 1px 0;
}

.photo-hud-layer span {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  padding: 5px 12px;
  border: 1px solid rgba(0, 255, 156, 0.42);
  background: rgba(0, 10, 8, 0.68);
  color: var(--hud-green);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 0 12px var(--hud-glow);
  white-space: nowrap;
}

.team-card-featured .photo-node {
  box-shadow:
    inset 0 0 34px rgba(0, 0, 0, 0.5),
    0 0 22px rgba(0, 255, 156, 0.14),
    0 0 0 1px rgba(0, 255, 156, 0.08);
}

.team-card-featured:hover .team-photo {
  filter: saturate(1.16) contrast(1.08) brightness(1.02);
  transform: scale(1.045);
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}

.member-code {
  display: block;
  margin-bottom: 12px;
  color: var(--hud-green);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-shadow: 0 0 12px var(--hud-glow);
}

.member-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.member-skills span,
.service-use-cases span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(0, 255, 156, 0.24);
  background: rgba(0, 255, 156, 0.06);
  color: var(--hud-mint);
  font-family: var(--font-mono);
  font-size: 11px;
}

.member-info strong {
  color: var(--hud-green);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}

/* SERVICES PAGE */

.services-page {
  min-height: 100vh;
}

.services-hero {
  position: relative;
  z-index: 20;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 42px 0 44px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: start;
  gap: 54px;
}

.services-hero-content {
  max-width: 740px;
}

.services-hero-content h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.5vw, 66px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text-main);
  text-shadow:
    0 0 34px rgba(0, 0, 0, 0.9),
    0 0 22px rgba(0, 255, 156, 0.15);
}

.services-hero-content > p:not(.eyebrow) {
  max-width: 670px;
  margin-top: 24px;
  color: var(--text-muted);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.65;
}

.services-hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.services-hero-panel {
  position: relative;
  margin-top: 8px;
  min-height: 430px;
  border: 1px solid var(--hud-border);
  background: linear-gradient(
    145deg,
    rgba(0, 31, 24, 0.78),
    rgba(0, 5, 4, 0.66)
  );
  box-shadow:
    0 0 42px rgba(0, 255, 156, 0.2),
    inset 0 0 40px rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(6px);
  overflow: hidden;
}

.services-hero-panel::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(0, 255, 156, 0.18);
  pointer-events: none;
}

.services-hero-panel::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -70px;
  top: -66px;
  border: 1px solid rgba(0, 245, 255, 0.24);
  border-radius: 50%;
  box-shadow:
    0 0 0 34px rgba(0, 255, 156, 0.035),
    0 0 0 72px rgba(0, 255, 156, 0.018),
    0 0 32px rgba(0, 245, 255, 0.15);
}

.brand-matrix {
  position: relative;
  z-index: 2;
  margin: 38px 36px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.brand-matrix div {
  min-height: 74px;
  padding: 14px;
  border: 1px solid rgba(0, 255, 156, 0.14);
  background: rgba(0, 255, 156, 0.035);
}

.brand-matrix span {
  display: block;
  margin-bottom: 8px;
  color: var(--hud-green);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-shadow: 0 0 12px var(--hud-glow);
}

.brand-matrix strong {
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
}

.deployment-strip {
  position: relative;
  z-index: 2;
  margin: 24px 36px 0;
  padding: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border: 1px solid rgba(0, 255, 156, 0.16);
  background: rgba(0, 10, 8, 0.54);
}

.deployment-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(0, 255, 156, 0.22);
  background: rgba(0, 255, 156, 0.06);
  color: var(--hud-mint);
  font-family: var(--font-mono);
  font-size: 11px;
}

/* SERVICES DETAIL
   Service Navigation en una sola columna.
   Cards en 2 columnas mientras existe el panel izquierdo.
   Cards en 3 columnas cuando termina el panel.
*/

.services-detail-layout {
  position: relative;
  z-index: 20;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 28px;
  display: grid;
  grid-template-columns: 0.9fr 1fr 1fr;
  gap: 20px;
  align-items: stretch;
  grid-auto-flow: row dense;
}

.service-sidebar {
  position: relative;
  top: auto;
  align-self: start;
  grid-column: 1;
  grid-row: 1 / span 3;
}

.service-detail-content {
  display: contents;
}

/* SERVICE NAVIGATION - SINGLE COLUMN COMPACT */

.service-sidebar-inner {
  position: relative;
  max-height: none;
  overflow: visible;
  padding: 18px 16px 22px;
  border: 1px solid var(--hud-border-soft);
  background: linear-gradient(
    145deg,
    rgba(0, 24, 18, 0.68),
    rgba(0, 8, 6, 0.82)
  );
  backdrop-filter: blur(5px);
  box-shadow:
    inset 0 0 26px rgba(0, 0, 0, 0.42),
    0 0 20px rgba(0, 255, 156, 0.075);
}

.service-sidebar-inner::-webkit-scrollbar {
  display: none;
}

.service-sidebar-inner::before,
.service-sidebar-inner::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--hud-green);
  border-style: solid;
  opacity: 0.78;
  pointer-events: none;
}

.service-sidebar-inner::before {
  top: 10px;
  left: 10px;
  border-width: 1px 0 0 1px;
}

.service-sidebar-inner::after {
  right: 10px;
  bottom: 10px;
  border-width: 0 1px 1px 0;
}

.service-sidebar-inner > p {
  margin-bottom: 14px;
  padding-left: 4px;
  color: var(--hud-green);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  text-shadow: 0 0 12px var(--hud-glow);
}

#service-sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.service-sidebar-inner a {
  position: relative;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 24px;
  padding: 2px 5px 2px 7px;
  color: var(--text-muted);
  font-size: 12.4px;
  font-weight: 600;
  line-height: 1.05;
  border: 1px solid transparent;
  background: transparent;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    text-shadow 0.2s ease;
}

.service-sidebar-inner a + a {
  margin-top: 0;
}

.service-sidebar-inner a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    var(--hud-green),
    rgba(0, 245, 255, 0.52),
    transparent
  );
  box-shadow: 0 0 12px var(--hud-glow);
  opacity: 0;
  transform: translateY(-50%);
  transition:
    width 0.22s ease,
    opacity 0.22s ease;
}

.service-sidebar-inner a span {
  min-width: 0;
  color: var(--hud-green);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-shadow: 0 0 10px var(--hud-glow);
  white-space: nowrap;
}

.service-sidebar-inner a:hover {
  color: var(--hud-mint);
  border-color: rgba(0, 255, 156, 0.2);
  background: rgba(0, 255, 156, 0.055);
  text-shadow: 0 0 10px rgba(0, 255, 156, 0.24);
  transform: translateX(3px);
}

.service-sidebar-inner a:hover::before {
  width: 12px;
  opacity: 1;
}
/* SERVICE CARDS */

.service-detail-card {
  position: relative;
  scroll-margin-top: 110px;
  min-width: 0;
  min-height: 405px;
  height: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--hud-border-soft);
  background: rgba(0, 13, 10, 0.78);
  backdrop-filter: blur(5px);
  box-shadow:
    inset 0 0 28px rgba(0, 0, 0, 0.45),
    0 0 22px rgba(0, 255, 156, 0.08);
  overflow: hidden;
  opacity: 0;
  transform: translateX(70px);
  transition:
    opacity 0.72s ease,
    transform 0.72s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}

.service-detail-card:nth-child(even) {
  transform: translateX(-70px);
}

.service-detail-card.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.service-detail-card:hover {
  border-color: var(--hud-border-strong);
  background: rgba(0, 25, 19, 0.82);
  box-shadow:
    inset 0 0 30px rgba(0, 0, 0, 0.48),
    0 0 28px rgba(0, 255, 156, 0.15);
}

.service-detail-card::before,
.service-detail-card::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--hud-green);
  border-style: solid;
  opacity: 0.7;
  pointer-events: none;
}

.service-detail-card::before {
  top: 13px;
  left: 13px;
  border-width: 1px 0 0 1px;
}

.service-detail-card::after {
  right: 13px;
  bottom: 13px;
  border-width: 0 1px 1px 0;
}

.service-detail-header {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 13px;
}

.service-detail-header .service-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
}

.service-detail-header .service-icon svg {
  width: 26px;
  height: 26px;
}

.service-detail-header span {
  display: block;
  margin-bottom: 6px;
  color: var(--hud-green);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  text-shadow: 0 0 12px var(--hud-glow);
}

.service-detail-header h3 {
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: clamp(18px, 1.55vw, 23px);
  font-weight: 700;
  line-height: 1.12;
}

.service-detail-intro {
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 14.2px;
  font-weight: 500;
  line-height: 1.32;
}

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

.service-detail-grid div {
  padding: 9px 11px;
  border: 1px solid rgba(0, 255, 156, 0.14);
  background: rgba(0, 255, 156, 0.035);
}

.service-detail-grid h4 {
  margin-bottom: 5px;
  color: var(--hud-green);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-shadow: 0 0 12px var(--hud-glow);
}

.service-detail-grid p {
  color: var(--text-muted);
  font-size: 12.8px;
  font-weight: 500;
  line-height: 1.3;
}

.service-use-cases {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.service-use-cases span {
  min-height: 22px;
  padding: 0 8px;
  font-size: 9.8px;
}

.service-detail-actions {
  margin-top: 12px;
}

.service-detail-action {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(0, 255, 170, 0.46);
  color: rgba(234, 255, 247, 0.92);
  background: rgba(0, 255, 156, 0.08);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: inset 0 0 14px rgba(0, 255, 156, 0.06);
}

.service-detail-action:hover,
.service-detail-action:focus-visible {
  border-color: var(--hud-green);
  color: #001e17;
  background: var(--hud-green);
  box-shadow: 0 0 22px rgba(0, 255, 156, 0.24);
  outline: none;
}

/* Tight handoff from Service Matrix to Deployment Methodology */
.services-page .services-detail-layout + .hud-section-divider {
  margin-top: 4px;
  margin-bottom: 24px;
}

.services-page .service-detail-card {
  align-self: stretch;
}


/* METHODOLOGY */

.methodology-section {
  position: relative;
  z-index: 20;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 84px;
}

.methodology-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.methodology-grid div {
  position: relative;
  min-height: 180px;
  padding: 22px 16px;
  border: 1px solid var(--hud-border-soft);
  background: rgba(0, 13, 10, 0.76);
  box-shadow:
    inset 0 0 26px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(0, 255, 156, 0.06);
}

.methodology-grid div::before,
.methodology-grid div::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: var(--hud-green);
  border-style: solid;
  opacity: 0.65;
  pointer-events: none;
}

.methodology-grid div::before {
  top: 10px;
  left: 10px;
  border-width: 1px 0 0 1px;
}

.methodology-grid div::after {
  right: 10px;
  bottom: 10px;
  border-width: 0 1px 1px 0;
}

.methodology-grid span {
  display: block;
  margin-bottom: 20px;
  color: var(--hud-green);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-shadow: 0 0 12px var(--hud-glow);
}

.methodology-grid h3 {
  margin-bottom: 12px;
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
}

.methodology-grid p {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}

/* CTA */

.services-cta-section {
  position: relative;
  z-index: 20;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 84px;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid var(--hud-border);
  background: linear-gradient(
    135deg,
    rgba(0, 31, 24, 0.78),
    rgba(0, 5, 4, 0.66)
  );
  box-shadow:
    0 0 42px rgba(0, 255, 156, 0.16),
    inset 0 0 40px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
}

.services-cta-section::before,
.services-cta-section::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  border-color: var(--hud-green);
  border-style: solid;
  opacity: 0.75;
  pointer-events: none;
}

.services-cta-section::before {
  top: 14px;
  left: 14px;
  border-width: 1px 0 0 1px;
}

.services-cta-section::after {
  right: 14px;
  bottom: 14px;
  border-width: 0 1px 1px 0;
}

.services-cta-section p {
  margin-bottom: 10px;
  color: var(--hud-green);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 0 12px var(--hud-glow);
}

.services-cta-section h2 {
  max-width: 720px;
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.15;
}

.services-cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* SOCIAL DOCK */

.social-dock {
  position: fixed;
  right: 18px;
  top: 50%;
  z-index: 28;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transform: translateY(-50%);
  pointer-events: auto;
}

.social-dock a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 255, 156, 0.34);
  background:
    linear-gradient(145deg, rgba(0, 31, 24, 0.72), rgba(0, 8, 6, 0.72));
  box-shadow:
    inset 0 0 16px rgba(0, 255, 156, 0.06),
    0 0 18px rgba(0, 255, 156, 0.08);
  backdrop-filter: blur(6px);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.social-dock a:hover {
  transform: translateX(-4px);
  border-color: var(--hud-border-strong);
  background:
    linear-gradient(145deg, rgba(0, 255, 156, 0.14), rgba(0, 22, 16, 0.84));
  box-shadow:
    0 0 24px rgba(0, 255, 156, 0.22),
    inset 0 0 18px rgba(0, 255, 156, 0.08);
}

.social-dock svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: var(--hud-green);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 7px rgba(0, 255, 156, 0.42));
}

/* FOOTER */

.footer {
  position: relative;
  z-index: 20;
  border-top: 1px solid var(--hud-border);
  background: linear-gradient(
    90deg,
    rgba(0, 10, 8, 0.92),
    rgba(0, 35, 26, 0.82),
    rgba(0, 10, 8, 0.92)
  );
  box-shadow:
    0 -8px 34px rgba(0, 0, 0, 0.48),
    0 0 26px rgba(0, 255, 156, 0.12),
    inset 0 1px 0 rgba(184, 255, 225, 0.12);
  backdrop-filter: blur(16px);
}

.footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--hud-green),
    var(--hud-cyan),
    var(--hud-green),
    transparent
  );
  box-shadow: 0 0 18px var(--hud-glow-strong);
  opacity: 0.75;
}

.footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(0, 255, 156, 0.08) 50%,
      transparent 100%
    ),
    linear-gradient(90deg, rgba(0, 255, 156, 0.06) 1px, transparent 1px);
  background-size:
    100% 100%,
    42px 42px;
  opacity: 0.5;
  pointer-events: none;
}

.footer-container {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 30px 0 18px;
  display: grid;
  grid-template-columns: 1.35fr 0.58fr 0.75fr 1.45fr;
  gap: 30px;
  align-items: start;
}

.footer-logo .brand-text h1 {
  font-size: 22px;
}

.footer-logo .brand-text p {
  font-size: 10px;
}

.footer-description {
  max-width: 390px;
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.48;
}

.footer-links h3,
.footer-contact h3 {
  margin-bottom: 13px;
  color: var(--hud-green);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 0 12px var(--hud-glow);
}

.footer-links a {
  display: block;
  margin-bottom: 7px;
  color: var(--text-muted);
  font-size: 15.5px;
  font-weight: 600;
  transition:
    color 0.2s ease,
    text-shadow 0.2s ease,
    transform 0.2s ease;
}

.footer-links a:hover {
  color: var(--hud-mint);
  text-shadow: 0 0 10px var(--hud-glow);
  transform: translateX(4px);
}

.footer-contact-grid,
.footer-contact-grid-v21 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.footer-contact-column {
  display: grid;
  gap: 8px;
}

.footer-contact div {
  position: relative;
}

.footer-contact-column > div,
.footer-contact-item,
.office-node {
  margin-bottom: 0;
  padding: 0 0 8px 0;
  border-bottom: 1px solid rgba(0, 255, 156, 0.14);
}

.footer-contact-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.footer-contact span {
  display: block;
  margin-bottom: 0;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.footer-contact strong {
  display: block;
  color: var(--text-main);
  font-size: 14.6px;
  font-weight: 700;
  line-height: 1.24;
}

.footer-contact a {
  color: inherit;
}

.footer-contact-link:hover,
.footer-contact a:hover {
  color: var(--hud-mint);
  text-shadow: 0 0 10px var(--hud-glow);
}

.office-node .footer-grid-ref {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  width: 100%;
  padding: 6px 10px;
  border: 1px solid rgba(0, 255, 156, 0.46);
  background: rgba(0, 255, 156, 0.055);
  color: var(--hud-green);
  font-family: var(--font-mono);
  font-size: 9.2px;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow:
    inset 0 0 14px rgba(0, 255, 156, 0.045),
    0 0 14px rgba(0, 255, 156, 0.055);
}

.footer-bottom {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 13px 0 16px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(0, 255, 156, 0.18);
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}

/* RESPONSIVE */

@media (max-width: 1180px) {
  .hero,
  .services-hero {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-panel,
  .services-hero-panel {
    max-width: 760px;
    width: 100%;
    margin-top: 0;
  }

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

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

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

  .service-sidebar {
    grid-column: 1;
    grid-row: 1 / span 3;
  }
}

@media (max-width: 1080px) {
  .services-preview,
  .industries-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .service-sidebar {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  #service-sidebar-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 12px;
  }

  .service-detail-card,
  .service-detail-card:nth-child(even) {
    min-height: auto;
    transform: translateY(36px);
  }

  .service-detail-card.is-visible {
    transform: translateY(0);
  }

  .footer-container {
    grid-template-columns: 1.1fr 0.7fr 0.8fr;
  }

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

  .footer-contact-grid {
    grid-template-columns: minmax(175px, 0.9fr) minmax(130px, 0.62fr) minmax(260px, 1.28fr);
  }
}

@media (max-width: 980px) {
  .top-bar {
    height: auto;
    min-height: 82px;
  }

  .nav-container {
    padding: 14px 0;
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
  }

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

  .service-sidebar {
    position: relative;
    top: auto;
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .service-sidebar-inner {
    max-height: none;
    overflow: visible;
  }

  #service-sidebar-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 12px;
  }

  .service-sidebar-inner a {
    min-height: 28px;
    grid-template-columns: 50px minmax(0, 1fr);
    font-size: 13px;
  }

  .service-sidebar-inner a span {
    font-size: 9.8px;
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .services-cta-section {
    align-items: flex-start;
    flex-direction: column;
  }

  .services-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .operational-focus {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .service-sidebar {
    grid-column: 1;
    grid-row: auto;
  }

  #service-sidebar-list {
    grid-template-columns: 1fr;
  }

  .service-detail-card {
    grid-column: 1;
  }
}

@media (max-width: 720px) {
  .services-preview,
  .industries-grid,
  .team-grid,
  .brand-matrix {
    grid-template-columns: 1fr;
  }

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

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

  .footer-contact {
    grid-column: auto;
  }

  .footer-contact-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

@media (max-width: 640px) {
  .nav-container,
  .hero,
  .services-hero,
  .focus-section,
  .services-section,
  .industries-section,
  .team-section,
  .services-detail-layout,
  .methodology-section,
  .services-cta-section,
  .hud-section-divider,
  .footer-container,
  .footer-bottom {
    width: min(100% - 32px, 1180px);
  }

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

  .brand-icon span {
    left: 8px;
    right: 8px;
  }

  .brand-icon span:nth-child(1) {
    top: 11px;
  }

  .brand-icon span:nth-child(2) {
    top: 19px;
  }

  .brand-icon span:nth-child(3) {
    top: 27px;
  }

  .brand-text h1 {
    font-size: 20px;
  }

  .brand-text p {
    font-size: 9px;
  }

  .nav-cta {
    display: none;
  }

  .hero,
  .services-hero {
    padding-top: 42px;
  }

  .hero h2,
  .services-hero-content h2 {
    font-size: 35px;
  }

  .hero-description,
  .services-hero-content > p:not(.eyebrow) {
    font-size: 17px;
  }

  .operational-focus {
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .services-hero-panel {
    min-height: auto;
  }

  .network-card {
    margin: 32px 22px 90px;
    padding: 22px;
  }

  .radar-widget {
    position: relative;
    right: auto;
    top: auto;
    margin-top: 24px;
  }

  .status-grid {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .brand-matrix {
    margin: 28px 22px 0;
  }

  .deployment-strip {
    margin: 20px 22px 28px;
  }

  .service-sidebar-inner {
    padding: 20px 18px 24px;
  }

  .service-sidebar-inner a {
    grid-template-columns: 54px minmax(0, 1fr);
    min-height: 35px;
    font-size: 14.5px;
  }

  .service-sidebar-inner a span {
    font-size: 10.5px;
  }

  .service-detail-card {
    padding: 26px 22px;
    min-height: auto;
  }

  .service-detail-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-detail-header .service-icon {
    width: 48px;
    height: 48px;
  }

  .hud-section-divider {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hud-section-divider span {
    display: none;
  }

  .hud-section-divider p {
    justify-self: start;
  }

  .social-dock {
    right: 12px;
    top: auto;
    bottom: 16px;
    flex-direction: row;
    transform: none;
  }

  .social-dock a {
    width: 36px;
    height: 36px;
  }

  .social-dock svg {
    width: 18px;
    height: 18px;
  }

  .footer-container {
    padding-top: 34px;
    padding-bottom: 26px;
  }
}

/* V03 - Stable mobile header
   The mobile header uses two rows, so it needs its own reserved page offset.
   This prevents compact-scroll rules from letting content slide underneath it. */
@media (max-width: 980px) {
  html,
  body {
    scroll-padding-top: calc(var(--hud-mobile-header-height) + 20px);
  }

  .home-page {
    padding-top: var(--hud-mobile-header-height);
  }

  .top-bar,
  body.header-is-scrolled .top-bar,
  body.header-is-compact .top-bar:not(:hover):not(:focus-within),
  .top-bar:hover,
  .top-bar:focus-within,
  body.header-expand-on-up .top-bar {
    height: var(--hud-mobile-header-height);
    min-height: var(--hud-mobile-header-height);
    transform: none;
  }

  .nav-container,
  body.header-is-compact .top-bar:not(:hover):not(:focus-within) .nav-container {
    width: min(100% - 32px, 1180px);
    height: 100%;
    padding: 12px 0;
    align-content: center;
    gap: 14px 18px;
  }

  .brand {
    flex: 1 1 100%;
    min-width: 0;
  }

  .brand-text {
    min-width: 0;
  }

  .brand-text h1,
  body.header-is-compact .top-bar:not(:hover):not(:focus-within) .brand-text h1 {
    font-size: clamp(21px, 5.8vw, 30px);
    line-height: 1.05;
    white-space: nowrap;
  }

  .brand-text p,
  body.header-is-compact .top-bar:not(:hover):not(:focus-within) .brand-text p {
    display: block;
    margin-top: 5px;
    font-size: clamp(8px, 2.2vw, 11px);
    white-space: nowrap;
  }

  .brand-icon,
  body.header-is-compact .top-bar:not(:hover):not(:focus-within) .brand-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
  }

  .main-nav,
  body.header-is-compact .top-bar:not(:hover):not(:focus-within) .main-nav {
    order: 3;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    overflow: visible;
  }

  .main-nav a,
  body.header-is-compact .top-bar:not(:hover):not(:focus-within) .main-nav a {
    min-width: 0;
    text-align: center;
    font-size: clamp(12px, 3.1vw, 15px);
    line-height: 1.15;
    white-space: nowrap;
  }

  .main-nav a::before,
  .main-nav a::after {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  section[id],
  [id="industrias"],
  [id="equipo"],
  [id="service-detail-start"],
  [id="contact-form"] {
    scroll-margin-top: calc(var(--hud-mobile-header-height) + 20px);
  }
}

@media (max-width: 640px) {
  :root {
    --hud-mobile-header-height: 138px;
  }

  .hero,
  .services-hero {
    padding-top: 44px;
  }

  .social-dock {
    left: 18px;
    right: auto;
    bottom: 18px;
    max-width: calc(100vw - 118px);
  }
}

@media (max-width: 380px) {
  :root {
    --hud-mobile-header-height: 144px;
  }

  .brand {
    gap: 11px;
  }

  .brand-text h1,
  body.header-is-compact .top-bar:not(:hover):not(:focus-within) .brand-text h1 {
    font-size: 20px;
  }

  .brand-text p,
  body.header-is-compact .top-bar:not(:hover):not(:focus-within) .brand-text p {
    font-size: 8px;
  }
}


/* V59 - HOME HERO BREATHING ROOM / COMPACT NOC-SOC COMMAND CONSOLE */
.hero {
  padding-top: 88px;
}

.hero-panel {
  margin-top: 0;
  min-height: 500px;
}

.noc-console-card {
  margin: 14px 24px 0;
  padding: 18px;
  min-height: 404px;
}

.noc-title {
  max-width: 66%;
}

.noc-title h3 {
  font-size: clamp(22px, 2vw, 30px);
}

.noc-title span {
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.25;
}

.noc-radar {
  right: 18px;
  top: 16px;
  width: 92px;
  height: 92px;
}

.sla-wave-panel {
  margin-top: 16px;
  padding: 11px 12px 8px;
}

.sla-wave-header {
  margin-bottom: 4px;
}

.sla-wave {
  height: 48px;
}

.noc-grid {
  gap: 8px;
  margin-top: 9px;
}

.noc-metric {
  min-height: 66px;
  padding: 10px 12px;
}

.noc-metric strong {
  margin-top: 5px;
  font-size: 15px;
}

.packet-loss-card strong {
  font-size: 24px;
}

.noc-metric small {
  margin-top: 4px;
  font-size: 10px;
}

.traffic-card strong {
  color: var(--hud-mint);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.traffic-duplex {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.traffic-row {
  display: grid;
  grid-template-columns: 34px 70px minmax(55px, 1fr);
  align-items: center;
  gap: 8px;
}

.traffic-row small {
  margin: 0;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.traffic-row b {
  color: var(--hud-green);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  text-shadow: 0 0 10px var(--hud-glow);
}

.traffic-meter {
  position: relative;
  height: 5px;
  border: 1px solid rgba(0, 255, 156, 0.18);
  background: rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.traffic-meter em {
  display: block;
  width: 38%;
  height: 100%;
  background: linear-gradient(90deg, var(--hud-green), var(--hud-cyan));
  box-shadow: 0 0 12px var(--hud-glow);
  transition: width 0.9s ease, opacity 0.9s ease;
}

.traffic-card.is-spiking .traffic-meter em {
  animation: trafficSpikeGlow 1.6s ease-in-out infinite;
}

@keyframes trafficSpikeGlow {
  0%, 100% { opacity: 0.72; }
  50% { opacity: 1; filter: drop-shadow(0 0 8px rgba(0, 255, 156, 0.8)); }
}

.quarantine-card strong {
  font-size: 13px;
  color: var(--hud-cyan-soft);
}

.quarantine-list {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 4px;
  margin-top: 7px;
}

.quarantine-list small {
  display: block;
  margin: 0;
  padding-left: 9px;
  color: var(--hud-mint);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.18;
  opacity: 0.86;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-left: 2px solid rgba(0, 255, 156, 0.55);
}

.threat-card strong {
  font-size: 14px;
}

.voice-card strong {
  font-size: 15px;
}

.voice-card small {
  color: var(--hud-green);
}

@media (max-width: 1180px) {
  .hero-panel {
    min-height: auto;
  }

  .noc-console-card {
    min-height: auto;
    margin-bottom: 24px;
  }
}

@media (max-width: 640px) {
  .noc-title {
    max-width: 100%;
  }

  .noc-radar {
    position: relative;
    right: auto;
    top: auto;
    margin: 16px 0 0;
  }

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

/* V25 - Keep NOC / SOC Active in a single line */
.noc-title {
  max-width: calc(100% - 126px);
}

.noc-title h3 {
  white-space: nowrap;
  font-size: clamp(20px, 1.72vw, 27px);
  line-height: 1.08;
}

@media (max-width: 1180px) {
  .noc-title h3 {
    font-size: clamp(20px, 2.9vw, 30px);
  }
}

@media (max-width: 640px) {
  .noc-title h3 {
    white-space: normal;
  }
}

/* SECTION SPACING AND CARD MICRO ADJUSTMENTS */
.nowrap-phrase {
  white-space: nowrap;
}

.industries-grid article {
  min-height: 178px;
  padding: 30px 86px 28px 28px;
}

.industries-grid .industry-icon {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  margin-bottom: 0;
}

.industries-grid .industry-icon svg {
  width: 27px;
  height: 27px;
}

.industries-grid article > span {
  display: block;
  margin: 0 0 18px;
  max-width: 70px;
  color: var(--hud-cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.22em;
  text-shadow: 0 0 12px var(--hud-cyan-glow);
}

.industries-grid h3 {
  margin-bottom: 12px;
  padding-right: 8px;
}

.industries-grid p {
  max-width: 92%;
  line-height: 1.45;
}

@media (max-width: 640px) {
  .nowrap-phrase {
    white-space: normal;
  }

  .industries-grid article {
    padding: 28px 78px 26px 24px;
  }

  .industries-grid .industry-icon {
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
  }
}

/* HUD WHATSAPP CHAT WIDGET */

.hud-chat-widget {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 999;
  font-family: var(--font-body);
}

.hud-chat-launcher {
  position: relative;
  min-width: 178px;
  height: 52px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--hud-border-strong);
  background: linear-gradient(
    135deg,
    rgba(0, 255, 156, 0.24),
    rgba(0, 15, 11, 0.9)
  );
  color: var(--hud-mint);
  cursor: pointer;
  box-shadow:
    0 0 24px rgba(0, 255, 156, 0.28),
    inset 0 0 18px rgba(0, 255, 156, 0.08);
  overflow: hidden;
}

.hud-chat-launcher::before,
.hud-chat-launcher::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--hud-green);
  border-style: solid;
  pointer-events: none;
}

.hud-chat-launcher::before {
  top: 6px;
  left: 6px;
  border-width: 1px 0 0 1px;
}

.hud-chat-launcher::after {
  right: 6px;
  bottom: 6px;
  border-width: 0 1px 1px 0;
}

.hud-chat-launcher svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--hud-green);
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(0, 255, 156, 0.6));
}

.hud-chat-launcher strong {
  position: relative;
  z-index: 2;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.hud-chat-pulse {
  position: absolute;
  inset: auto auto 8px 10px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--hud-green);
  box-shadow: 0 0 14px var(--hud-glow-strong);
  animation: hudChatPulse 1.6s ease-in-out infinite;
}

@keyframes hudChatPulse {
  0%, 100% {
    opacity: 0.35;
    transform: scale(0.85);
  }

  50% {
    opacity: 1;
    transform: scale(1.25);
  }
}

.hud-chat-panel {
  position: absolute;
  right: 0;
  bottom: 68px;
  width: min(390px, calc(100vw - 34px));
  border: 1px solid var(--hud-border);
  background: linear-gradient(
    145deg,
    rgba(0, 24, 18, 0.96),
    rgba(0, 6, 5, 0.96)
  );
  box-shadow:
    0 0 34px rgba(0, 255, 156, 0.24),
    inset 0 0 34px rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(0.96);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  overflow: hidden;
}

.hud-chat-widget.is-open .hud-chat-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.hud-chat-panel::before,
.hud-chat-panel::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--hud-green);
  border-style: solid;
  opacity: 0.75;
  pointer-events: none;
}

.hud-chat-panel::before {
  top: 12px;
  left: 12px;
  border-width: 1px 0 0 1px;
}

.hud-chat-panel::after {
  right: 12px;
  bottom: 12px;
  border-width: 0 1px 1px 0;
}

.hud-chat-header {
  position: relative;
  z-index: 2;
  min-height: 74px;
  padding: 20px 22px 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(0, 255, 156, 0.18);
  background: rgba(0, 255, 156, 0.045);
}

.hud-chat-header span {
  display: block;
  margin-bottom: 6px;
  color: var(--hud-green);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 0 12px var(--hud-glow);
}

.hud-chat-header strong {
  display: block;
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.15;
}

.hud-chat-close {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(0, 255, 156, 0.28);
  background: rgba(0, 0, 0, 0.22);
  color: var(--hud-mint);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.hud-chat-close:hover {
  color: var(--hud-green);
  border-color: var(--hud-border-strong);
  box-shadow: 0 0 14px rgba(0, 255, 156, 0.22);
}

.hud-chat-body {
  position: relative;
  z-index: 2;
  padding: 20px 22px 24px;
}

.hud-chat-intro {
  margin-bottom: 18px;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}

.hud-chat-form {
  display: grid;
  gap: 13px;
}

.hud-chat-form label {
  display: grid;
  gap: 6px;
}

.hud-chat-form label span {
  color: var(--hud-green);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.hud-chat-form input,
.hud-chat-form select,
.hud-chat-form textarea {
  width: 100%;
  border: 1px solid rgba(0, 255, 156, 0.2);
  background: rgba(0, 8, 6, 0.72);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 11px 12px;
  outline: none;
  border-radius: 0;
  box-shadow: inset 0 0 14px rgba(0, 0, 0, 0.35);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.hud-chat-form textarea {
  resize: vertical;
  min-height: 96px;
}

.hud-chat-form input::placeholder,
.hud-chat-form textarea::placeholder {
  color: rgba(234, 255, 247, 0.38);
}

.hud-chat-form input:focus,
.hud-chat-form select:focus,
.hud-chat-form textarea:focus {
  border-color: var(--hud-border-strong);
  background: rgba(0, 18, 14, 0.88);
  box-shadow:
    inset 0 0 14px rgba(0, 0, 0, 0.4),
    0 0 14px rgba(0, 255, 156, 0.12);
}

.hud-chat-submit {
  min-height: 46px;
  margin-top: 6px;
  border: 1px solid var(--hud-border-strong);
  background: var(--hud-green);
  color: #001e17;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow:
    0 0 22px rgba(0, 255, 156, 0.34),
    inset 0 0 14px rgba(255, 255, 255, 0.18);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.hud-chat-submit:hover {
  transform: translateY(-2px);
  background: var(--hud-mint);
  box-shadow:
    0 0 30px rgba(0, 255, 156, 0.52),
    inset 0 0 14px rgba(255, 255, 255, 0.22);
}

@media (max-width: 640px) {
  .hud-chat-widget {
    right: 16px;
    bottom: 18px;
  }

  .hud-chat-launcher {
    min-width: 56px;
    width: 56px;
    padding: 0;
  }

  .hud-chat-launcher strong {
    display: none;
  }

  .hud-chat-panel {
    right: -4px;
    bottom: 66px;
  }
}



/* V29 TEAM PROFILE PHOTO REFINEMENT */
.team-card-featured .photo-node-loaded .team-photo {
  object-position: center center;
}

.team-card-featured .member-skills span {
  white-space: nowrap;
}



/* Kelvin: igualar presencia visual con cards 1 y 2 */
.team-grid .team-card:nth-child(3) .team-photo,
.team-card-kelvin .team-photo-kelvin {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  transform: scale(1.18);
  transform-origin: center center;
}

/* Jose A. Taveras: su composición interna viene más pequeña, por eso requiere más escala */

/* Hover proporcional, sin exagerar el recorte */
.team-grid .team-card:nth-child(3):hover .team-photo,
.team-card-kelvin:hover .team-photo-kelvin {
  transform: scale(1.205);
}



/* Kelvin: se mantiene la mejora lograda en v36 */
.team-grid .team-card:nth-child(3) .team-photo,
.team-card-kelvin .team-photo-kelvin {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  transform: scale(1.18);
  transform-origin: center center;
}

/* Jose A. Taveras: ampliar y recolocar para que siga la presencia visual de cards 1, 2 y 3 */

/* Hover proporcional */
.team-grid .team-card:nth-child(3):hover .team-photo,
.team-card-kelvin:hover .team-photo-kelvin {
  transform: scale(1.205);
}



/* TEAM PHOTO ALIGNMENT - SINGLE SOURCE */
.team-grid .team-card:nth-child(3) .photo-node,
.team-grid .team-card:nth-child(4) .photo-node {
  height: 230px;
  overflow: hidden;
}

/* Kelvin: conservar el ajuste que ya se veía correcto */
.team-grid .team-card:nth-child(3) .team-photo,
.team-card-kelvin .team-photo-kelvin {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  transform: scale(1.18);
  transform-origin: center center;
}

/* Jose A. Taveras: mostrar el HUD completo de la imagen, sin cortar huella ni paneles */
.team-grid .team-card:nth-child(4) .team-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  transform: scale(1.04);
  transform-origin: center center;
  background: rgba(0, 10, 8, 0.72);
}

/* Hover proporcional y limpio */
.team-grid .team-card:nth-child(3):hover .team-photo,
.team-card-kelvin:hover .team-photo-kelvin {
  transform: scale(1.205);
}

.team-grid .team-card:nth-child(4):hover .team-photo {
  transform: scale(1.06);
}



/* Rafael Tapia: card 5 / physical security profile */
.team-card-rafael .photo-node-rafael {
  height: 230px;
  overflow: hidden;
}

.team-card-rafael .team-photo-rafael {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.02);
  transform-origin: center center;
}

.team-card-rafael:hover .team-photo-rafael {
  transform: scale(1.045);
}


/* CONTACT PAGE */
.contact-page .contact-hero,
.contact-page .contact-layout {
  position: relative;
  z-index: 20;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.contact-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.82fr;
  align-items: stretch;
  gap: 42px;
  padding: 54px 0 30px;
}

.contact-hero-copy h2 {
  max-width: 760px;
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-shadow: 0 0 34px rgba(0, 255, 156, 0.14);
}

.contact-hero-copy p:not(.eyebrow) {
  max-width: 690px;
  margin-top: 22px;
  color: var(--text-muted);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.5;
}

.contact-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.contact-status-panel {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--hud-border);
  background: linear-gradient(145deg, rgba(0, 31, 24, 0.78), rgba(0, 5, 4, 0.66));
  box-shadow: 0 0 42px rgba(0, 255, 156, 0.18), inset 0 0 40px rgba(0, 0, 0, 0.58);
}

.contact-status-panel::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(0, 255, 156, 0.16);
  pointer-events: none;
}

.contact-console-body {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 14px;
  padding: 22px 28px 26px;
}

.contact-console-body span,
.form-head span,
.hud-contact-form label span,
.map-meta span,
.contact-mini-grid span {
  display: block;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.contact-console-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.contact-status-chip,
.contact-channel-card,
.contact-office-node,
.contact-request-pipeline {
  position: relative;
  border: 1px solid rgba(0, 255, 156, 0.20);
  background: linear-gradient(135deg, rgba(0, 255, 156, 0.065), rgba(0, 8, 6, 0.34));
  box-shadow: inset 0 0 18px rgba(0, 255, 156, 0.035);
}

.contact-status-chip {
  min-height: 70px;
  padding: 14px;
}

.contact-status-chip strong {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--hud-mint);
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.contact-status-chip strong b {
  font: inherit;
}

.contact-status-chip i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--hud-green);
  box-shadow: 0 0 16px var(--hud-glow-strong);
}

.contact-status-chip.is-idle strong {
  color: rgba(234, 255, 247, 0.76);
}

.contact-status-chip.is-idle i {
  background: rgba(0, 245, 255, 0.72);
  box-shadow: 0 0 16px rgba(0, 245, 255, 0.32);
}

.contact-urgent-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  margin-top: 10px;
  padding: 0 10px;
  border: 1px solid rgba(0, 245, 255, 0.34);
  background: rgba(0, 245, 255, 0.055);
  color: var(--hud-cyan-soft);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-urgent-toggle:hover,
.contact-urgent-toggle:focus-visible {
  border-color: rgba(0, 245, 255, 0.70);
  background: rgba(0, 245, 255, 0.12);
  box-shadow: 0 0 16px rgba(0, 245, 255, 0.16);
  outline: none;
}

.contact-urgent-toggle.is-hidden,
.contact-urgent-note[hidden] {
  display: none;
}

.contact-urgent-note {
  display: grid;
  gap: 7px;
  padding: 13px 16px;
  border: 1px solid rgba(0, 245, 255, 0.28);
  background:
    linear-gradient(135deg, rgba(0, 245, 255, 0.09), rgba(0, 8, 9, 0.42)),
    rgba(0, 10, 8, 0.44);
  box-shadow: inset 0 0 18px rgba(0, 245, 255, 0.04), 0 0 18px rgba(0, 245, 255, 0.08);
}

.contact-urgent-note strong {
  color: var(--hud-white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

.contact-urgent-note a {
  width: max-content;
  color: var(--hud-cyan-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(0, 245, 255, 0.32);
}

.contact-channel-grid {
  display: grid;
  gap: 10px;
}

.contact-channel-card {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 12px 16px;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-channel-card:hover {
  border-color: rgba(0, 255, 156, 0.52);
  background: linear-gradient(135deg, rgba(0, 255, 156, 0.11), rgba(0, 12, 9, 0.46));
  box-shadow: 0 0 18px rgba(0, 255, 156, 0.10), inset 0 0 20px rgba(0, 255, 156, 0.05);
}

.contact-channel-card strong,
.contact-office-node strong {
  color: var(--hud-white);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
}

.contact-office-node {
  display: grid;
  gap: 7px;
  padding: 15px 16px;
}

.contact-office-node strong {
  color: var(--hud-mint);
  font-size: 14px;
  white-space: nowrap;
}

.contact-office-node em {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  font-style: normal;
  line-height: 1.25;
}

.contact-request-pipeline {
  display: grid;
  gap: 12px;
  padding: 15px 16px;
}

.pipeline-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.pipeline-steps i {
  display: grid;
  place-items: center;
  min-height: 34px;
  border: 1px solid rgba(0, 245, 255, 0.20);
  color: var(--hud-mint);
  background: rgba(0, 245, 255, 0.035);
  font-family: var(--font-mono);
  font-size: 11px;
  font-style: normal;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  box-shadow: inset 0 0 14px rgba(0, 245, 255, 0.035);
}

.contact-console-pulse {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 0 4px;
  color: var(--hud-mint);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.contact-console-pulse i {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--hud-green);
  box-shadow: 0 0 18px var(--hud-glow-strong);
  animation: contactPulse 1.6s ease-in-out infinite;
}

@keyframes contactPulse {
  0%, 100% { transform: scale(0.85); opacity: 0.55; }
  50% { transform: scale(1.15); opacity: 1; }
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 34px;
  padding: 18px 0 72px;
}

.hud-contact-form,
.hud-map-card,
.contact-mini-grid div {
  position: relative;
  border: 1px solid var(--hud-border);
  background: rgba(0, 14, 11, 0.72);
  box-shadow: inset 0 0 28px rgba(0, 0, 0, 0.45), 0 0 28px rgba(0, 255, 156, 0.08);
  backdrop-filter: blur(6px);
}

.hud-contact-form::before,
.hud-map-card::before,
.hud-contact-form::after,
.hud-map-card::after {
  content: "";
  position: absolute;
  width: 42px;
  height: 42px;
  pointer-events: none;
}

.hud-contact-form::before,
.hud-map-card::before {
  top: 22px;
  left: 22px;
  border-top: 2px solid var(--hud-green);
  border-left: 2px solid var(--hud-green);
}

.hud-contact-form::after,
.hud-map-card::after {
  right: 22px;
  bottom: 22px;
  border-right: 2px solid var(--hud-green);
  border-bottom: 2px solid var(--hud-green);
}

.hud-contact-form {
  padding: 38px;
}

.form-head h3 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.12;
}

.form-head p {
  max-width: 650px;
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.45;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.hud-contact-form label.full {
  grid-column: 1 / -1;
}

.hud-contact-form input,
.hud-contact-form select,
.hud-contact-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 14px;
  border: 1px solid rgba(0, 255, 156, 0.32);
  border-radius: 0;
  outline: none;
  background: rgba(0, 0, 0, 0.36);
  color: var(--hud-white);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  box-shadow: inset 0 0 14px rgba(0, 255, 156, 0.04);
}

.hud-contact-form textarea {
  min-height: 132px;
  resize: vertical;
}

.hud-contact-form input:focus,
.hud-contact-form select:focus,
.hud-contact-form textarea:focus {
  border-color: var(--hud-cyan);
  box-shadow: 0 0 18px rgba(0, 245, 255, 0.18), inset 0 0 14px rgba(0, 255, 156, 0.08);
}

.hud-form-submit {
  width: 100%;
  min-height: 54px;
  margin-top: 22px;
  border: 0;
  background: var(--hud-green);
  color: #001e17;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 0 26px var(--hud-glow), inset 0 0 16px rgba(255, 255, 255, 0.18);
}

.contact-map-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hud-map-card {
  padding: 30px;
}

.map-meta-compact {
  margin-bottom: 12px;
}

.map-meta-compact span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 16px;
  border-left: 2px solid var(--hud-green);
  color: rgba(184, 255, 225, 0.76);
  background: linear-gradient(90deg, rgba(0, 255, 156, 0.09), transparent 80%);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.30em;
  text-shadow: 0 0 14px rgba(0, 255, 156, 0.36);
}

.map-meta-compact strong,
.map-meta-compact em {
  display: none;
}

.map-frame {
  position: relative;
  isolation: isolate;
  height: 520px;
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 170, 0.64);
  background: #07110f;
  box-shadow:
    inset 0 0 0 1px rgba(0, 255, 170, 0.10),
    inset 0 0 36px rgba(0, 255, 170, 0.07),
    0 0 26px rgba(0, 255, 170, 0.12);
}

.hud-google-map {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: #07110f;
  filter: brightness(1.18) contrast(1.14) saturate(1.08);
  pointer-events: auto;
  touch-action: pan-x pan-y;
}

.hud-map-embed {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.hud-google-map.hud-map-iframe-mode {
  overflow: hidden;
}

.hud-google-map.hud-map-iframe-mode .hud-office-marker {
  left: 50%;
  top: 50%;
}

.hud-secure-map-placeholder {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 52%, rgba(0, 255, 170, 0.13), transparent 16%),
    linear-gradient(120deg, rgba(0, 255, 170, 0.08) 0 1px, transparent 1px 14%),
    linear-gradient(30deg, rgba(24, 244, 255, 0.06) 0 1px, transparent 1px 12%),
    #06110f;
}

.hud-secure-map-placeholder::before,
.hud-secure-map-placeholder::after {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(0, 255, 170, 0.07) 32px),
    repeating-linear-gradient(90deg, transparent 0 47px, rgba(24, 244, 255, 0.055) 48px);
  opacity: 0.8;
}

.hud-secure-map-placeholder::after {
  background: radial-gradient(circle at 50% 52%, rgba(0, 255, 170, 0.22), transparent 24%);
  filter: blur(22px);
}

.hud-secure-road {
  position: absolute;
  z-index: 2;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(134, 255, 220, 0.36), transparent);
  box-shadow: 0 0 18px rgba(0, 255, 170, 0.12);
}

.hud-secure-road em {
  position: absolute;
  left: 42%;
  bottom: 8px;
  color: rgba(234, 255, 247, 0.78);
  font-family: var(--font-body);
  font-size: clamp(13px, 1.4vw, 22px);
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.74);
}

.hud-secure-road-a {
  left: -8%;
  top: 23%;
  width: 78%;
  transform: rotate(-14deg);
}

.hud-secure-road-b {
  right: -12%;
  top: 36%;
  width: 82%;
  transform: rotate(18deg);
}

.hud-secure-road-c {
  left: -6%;
  bottom: 25%;
  width: 76%;
  transform: rotate(-9deg);
}

.hud-secure-road-d {
  left: 62%;
  top: 7%;
  width: 42%;
  transform: rotate(84deg);
}

.hud-secure-road-e {
  left: 12%;
  top: 54%;
  width: 78%;
  transform: rotate(2deg);
}

.hud-secure-map-placeholder strong {
  position: absolute;
  right: 28px;
  top: 28px;
  z-index: 3;
  color: rgba(106, 255, 179, 0.82);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-shadow: 0 0 12px rgba(0, 255, 170, 0.32);
}

.hud-google-map.hud-map-secure-mode .hud-office-marker {
  left: 50%;
  top: 52%;
}

.hud-google-map:focus,
.hud-google-map *:focus {
  outline: none !important;
}

.hud-map-ui-layer {
  position: absolute;
  inset: 0;
  z-index: 30;
  pointer-events: none;
}

.hud-map-ui-layer .hud-map-open,
.hud-map-ui-layer .hud-map-expand,
.hud-map-ui-layer .hud-map-close,
.hud-map-ui-layer .hud-map-zoom-controls,
.hud-map-ui-layer button,
.hud-map-ui-layer a {
  pointer-events: auto;
}

.hud-google-map-wrap::before,
.hud-google-map-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hud-google-map-wrap::before {
  z-index: 2;
  background:
    repeating-linear-gradient(0deg, rgba(0, 255, 170, 0.018) 0 1px, transparent 1px 9px),
    linear-gradient(180deg, rgba(0, 0, 0, 0.00), rgba(0, 0, 0, 0.01));
  mix-blend-mode: screen;
}

.hud-google-map-wrap::after {
  inset: 18px;
  z-index: 3;
  border: 1px solid rgba(0, 255, 170, 0.34);
  box-shadow: inset 0 0 22px rgba(0, 255, 170, 0.06), 0 0 14px rgba(0, 255, 170, 0.07);
  clip-path: polygon(0 0, 13% 0, 13% 2px, 2px 2px, 2px 13%, 0 13%, 0 0, 100% 0, 100% 13%, calc(100% - 2px) 13%, calc(100% - 2px) 2px, 87% 2px, 87% 0, 100% 0, 100% 100%, 87% 100%, 87% calc(100% - 2px), calc(100% - 2px) calc(100% - 2px), calc(100% - 2px) 87%, 100% 87%, 100% 100%, 0 100%, 0 87%, 2px 87%, 2px calc(100% - 2px), 13% calc(100% - 2px), 13% 100%, 0 100%);
}

.hud-google-map-wrap .gm-style {
  background: #07110f;
}

.hud-google-map-wrap .gm-style-cc,
.hud-google-map-wrap a[href^="https://maps.google.com/maps"],
.hud-google-map-wrap a[href^="https://www.google.com/maps"] {
  opacity: 0.70;
}

.hud-google-map-wrap .gm-control-active,
.hud-google-map-wrap .gmnoprint > div,
.hud-google-map-wrap button[title="Zoom in"],
.hud-google-map-wrap button[title="Zoom out"],
.hud-google-map-wrap button[aria-label="Zoom in"],
.hud-google-map-wrap button[aria-label="Zoom out"],
.hud-google-map-wrap .gm-fullscreen-control {
  background: rgba(0, 18, 14, 0.86) !important;
  border: 1px solid rgba(0, 255, 170, 0.42) !important;
  box-shadow: 0 0 14px rgba(0, 255, 156, 0.14) !important;
}

.hud-google-map-wrap .gm-control-active img,
.hud-google-map-wrap button[title="Zoom in"] img,
.hud-google-map-wrap button[title="Zoom out"] img,
.hud-google-map-wrap button[aria-label="Zoom in"] img,
.hud-google-map-wrap button[aria-label="Zoom out"] img {
  filter: invert(1) hue-rotate(95deg) saturate(2) brightness(1.12) !important;
  opacity: 0.9 !important;
}

.hud-office-marker {
  position: absolute;
  z-index: 10000;
  width: clamp(34px, 3.8vw, 50px);
  height: clamp(34px, 3.8vw, 50px);
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.hud-office-marker .office-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 255, 170, 0.45);
  box-shadow: 0 0 16px rgba(0, 255, 170, 0.20), inset 0 0 14px rgba(0, 255, 170, 0.08);
  animation: mapRingPulse 2.8s ease-in-out infinite;
}

.hud-office-marker .office-ring-main {
  inset: -38px;
  opacity: 0.34;
}

.hud-office-marker .office-ring-mid {
  inset: -14px;
  border-color: rgba(24, 244, 255, 0.32);
  opacity: 0.42;
  animation-delay: 0.72s;
}

.hud-office-marker .office-x {
  position: absolute;
  inset: 0;
}

.hud-office-marker .office-x::before,
.hud-office-marker .office-x::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0 12%, rgba(0, 255, 170, 0.96) 22% 41%, transparent 42% 58%, rgba(0, 255, 170, 0.96) 59% 78%, transparent 88% 100%);
  box-shadow: 0 0 8px rgba(0, 255, 170, 0.72), 0 0 14px rgba(0, 255, 170, 0.22);
  transform-origin: center;
}

.hud-office-marker .office-x::before { transform: translate(-50%, -50%) rotate(45deg); }
.hud-office-marker .office-x::after { transform: translate(-50%, -50%) rotate(-45deg); }

.hud-office-marker .office-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(10px, 1.1vw, 15px);
  height: clamp(10px, 1.1vw, 15px);
  border: 2px solid rgba(0, 255, 170, 0.98);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24, 244, 255, 0.82), rgba(0, 255, 170, 0.54) 44%, rgba(0, 8, 7, 0.72) 72%);
  box-shadow: 0 0 0 7px rgba(0, 255, 170, 0.07), 0 0 24px rgba(0, 255, 170, 0.68), inset 0 0 10px rgba(24, 244, 255, 0.58);
  transform: translate(-50%, -50%);
  animation: mapCorePing 1.4s ease-in-out infinite;
}

.hud-office-marker .office-pin-label {
  position: absolute;
  left: 50%;
  top: calc(100% + 14px);
  transform: translateX(-50%);
  padding: 4px 10px;
  border: 1px solid rgba(0, 255, 170, 0.42);
  background: rgba(0, 12, 9, 0.82);
  color: rgba(230, 255, 246, 0.88);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.18em;
  white-space: nowrap;
  text-shadow: 0 0 10px rgba(0, 255, 170, 0.42);
}

.hud-map-label {
  display: none;
}

.hud-map-open,
.hud-map-expand,
.hud-map-close {
  position: absolute;
  z-index: 9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 255, 170, 0.58);
  color: var(--neon-green);
  background: rgba(0, 14, 10, 0.86);
  font-family: var(--font-mono);
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(0, 255, 156, 0.18), inset 0 0 14px rgba(0, 255, 156, 0.10);
}

.hud-map-open {
  left: 28px;
  bottom: 28px;
  min-height: 38px;
  padding: 0 18px;
  color: rgba(234, 255, 247, 0.86);
  font-size: 10px;
  letter-spacing: 0.18em;
}

.hud-map-expand,
.hud-map-close {
  right: 28px;
  top: 28px;
  min-height: 36px;
  padding: 0 16px;
  font-size: 10px;
  letter-spacing: 0.16em;
}

.hud-map-close {
  display: none;
  right: 34px;
  top: 34px;
}

.hud-map-open:hover,
.hud-map-expand:hover,
.hud-map-close:hover {
  background: rgba(0, 255, 156, 0.16);
  box-shadow: 0 0 28px rgba(0, 255, 156, 0.28), inset 0 0 18px rgba(0, 255, 156, 0.14);
}

.hud-map-expanded-active {
  overflow: hidden;
}

.hud-map-expanded-active::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 20000;
  background:
    radial-gradient(circle at 50% 44%, rgba(0, 255, 170, 0.10), transparent 40%),
    linear-gradient(180deg, rgba(0, 8, 6, 0.68), rgba(0, 2, 2, 0.86));
  backdrop-filter: none;
  pointer-events: none;
}

.hud-map-card.hud-map-expanded {
  position: fixed;
  z-index: 20010;
  left: 50%;
  top: 50%;
  width: min(1320px, calc(100vw - 34px));
  max-height: calc(100vh - 34px);
  padding: 22px;
  border: 1px solid rgba(0, 255, 170, 0.98);
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 255, 170, 0.12), transparent 45%),
    rgba(0, 18, 12, 0.90);
  box-shadow:
    0 0 130px rgba(0, 255, 170, 0.52),
    0 0 32px rgba(24, 244, 255, 0.18),
    inset 0 0 48px rgba(0, 255, 170, 0.16);
  transform: translate(-50%, -50%);
  pointer-events: auto;
}

.hud-map-card.hud-map-expanded .map-meta-compact {
  margin-bottom: 14px;
}

.hud-map-card.hud-map-expanded .hud-google-map-wrap {
  height: min(82vh, 820px);
  border-color: rgba(0, 255, 170, 0.94);
  background: #07110f;
  box-shadow:
    inset 0 0 0 1px rgba(0, 255, 170, 0.24),
    inset 0 0 28px rgba(0, 255, 170, 0.08),
    0 0 56px rgba(0, 255, 170, 0.26);
}

.hud-map-card.hud-map-expanded .hud-google-map {
  filter: brightness(1.18) contrast(1.14) saturate(1.08);
}

.hud-map-card.hud-map-expanded .hud-google-map-wrap::before {
  display: none;
  background: none;
  mix-blend-mode: normal;
}

.hud-map-card.hud-map-expanded .hud-map-expand {
  display: none;
}

.hud-map-card.hud-map-expanded .hud-map-close {
  display: inline-flex;
}

.hud-map-card.hud-map-expanded .hud-office-marker {
  width: clamp(44px, 4.2vw, 68px);
  height: clamp(44px, 4.2vw, 68px);
  filter: drop-shadow(0 0 20px rgba(0, 255, 170, 0.92)) drop-shadow(0 0 36px rgba(24, 244, 255, 0.34));
}

/* Version 65: expanded map keeps readable illumination with security-hardened loading. */
.hud-map-zoom-controls {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 30060;
  display: grid;
  pointer-events: auto;
  touch-action: manipulation;
  grid-template-rows: repeat(2, 48px);
  width: 54px;
  border: 1px solid rgba(0, 255, 170, 0.62);
  background: rgba(0, 16, 12, 0.78);
  box-shadow: 0 0 20px rgba(0, 255, 156, 0.16), inset 0 0 12px rgba(0, 255, 156, 0.10);
}

.hud-map-zoom-controls button {
  width: 100%;
  height: 100%;
  border: 0;
  border-bottom: 1px solid rgba(0, 255, 170, 0.50);
  background: transparent;
  color: rgba(234, 255, 247, 0.88);
  font-family: var(--font-mono);
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
  cursor: pointer;
  pointer-events: auto;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  text-shadow: 0 0 14px rgba(0, 255, 170, 0.42);
}

.hud-map-open:focus-visible,
.hud-map-expand:focus-visible,
.hud-map-close:focus-visible,
.hud-map-zoom-controls button:focus-visible {
  outline: 2px solid rgba(24, 244, 255, 0.78);
  outline-offset: 3px;
}

.hud-map-zoom-controls button:last-child {
  border-bottom: 0;
}

.hud-map-zoom-controls button:hover {
  color: var(--neon-green);
  background: rgba(0, 255, 156, 0.12);
}

.hud-map-card.hud-map-expanded .hud-map-ui-layer {
  position: absolute;
  inset: 0;
  z-index: 30080;
  pointer-events: none;
}

.hud-map-card.hud-map-expanded .hud-map-close,
.hud-map-card.hud-map-expanded .hud-map-zoom-controls,
.hud-map-card.hud-map-expanded .hud-map-open {
  z-index: 30090;
  pointer-events: auto;
}

.hud-map-card.hud-map-expanded .hud-map-close {
  min-height: 44px;
  padding: 0 22px;
  background: rgba(0, 28, 18, 0.98);
  color: rgba(234, 255, 247, 1);
  border-color: rgba(0, 255, 170, 0.98);
  box-shadow: 0 0 44px rgba(0, 255, 170, 0.46), inset 0 0 18px rgba(0, 255, 156, 0.18);
}

.hud-map-card.hud-map-expanded .hud-map-zoom-controls {
  right: 38px;
  bottom: 38px;
  border-color: rgba(0, 255, 170, 0.92);
  background: rgba(0, 25, 16, 0.96);
  box-shadow: 0 0 34px rgba(0, 255, 156, 0.32), inset 0 0 16px rgba(0, 255, 156, 0.14);
  isolation: isolate;
}

.hud-map-card.hud-map-expanded .hud-google-map-wrap {
  touch-action: none;
}

.hud-map-card.hud-map-expanded .gm-style,
.hud-map-card.hud-map-expanded .gm-style > div {
  pointer-events: auto !important;
}

.hud-map-card.hud-map-expanded .hud-google-map-wrap::after {
  inset: 0;
  background: none;
  border: 2px solid rgba(0, 255, 170, 0.68);
  box-shadow:
    inset 0 0 34px rgba(0, 255, 170, 0.12),
    0 0 24px rgba(0, 255, 170, 0.18);
  clip-path: none;
}

.hud-map-card.hud-map-expanded .hud-google-map,
.hud-map-card.hud-map-expanded .hud-google-map .gm-style,
.hud-map-card.hud-map-expanded .hud-google-map .gm-style > div {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.hud-google-map-wrap::before,
.hud-google-map-wrap::after,
.hud-map-card::before,
.hud-map-card::after {
  pointer-events: none !important;
}

.hud-map-fallback {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 28px;
  text-align: center;
  color: var(--hud-mint);
  font-family: var(--font-mono);
  background: linear-gradient(135deg, rgba(0, 18, 14, 0.92), rgba(0, 3, 2, 0.96));
}

.hud-map-fallback span,
.hud-map-fallback em {
  color: var(--hud-green);
  font-style: normal;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.hud-map-fallback strong {
  font-family: var(--font-display);
  font-size: 24px;
}

.contact-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.contact-mini-grid div {
  padding: 18px;
}

.contact-mini-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--hud-mint);
  font-family: var(--font-mono);
  font-size: 14px;
}

@keyframes mapRingPulse {
  0%, 100% { transform: scale(0.82); opacity: 0.38; }
  50% { transform: scale(1.20); opacity: 0.95; }
}

@keyframes mapCorePing {
  0%, 100% { transform: translate(-50%, -50%) scale(0.88); }
  50% { transform: translate(-50%, -50%) scale(1.18); }
}

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

  .contact-status-panel {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .contact-console-status-grid,
  .contact-channel-card,
  .pipeline-steps {
    grid-template-columns: 1fr;
  }

  .contact-office-node strong {
    white-space: normal;
  }

  .hud-office-marker {
    width: 82px;
    height: 82px;
  }

  .hud-office-marker .office-ring-main { inset: -28px; }
  .hud-office-marker .office-ring-mid { inset: -10px; }
  .hud-office-marker .office-label { display: none; }

  .hud-map-expand {
    right: 18px;
    top: 18px;
    min-height: 34px;
    padding: 0 12px;
    font-size: 10px;
  }

  .hud-map-zoom-controls {
    right: 18px;
    bottom: 18px;
    width: 46px;
    grid-template-rows: repeat(2, 42px);
  }

  .hud-map-zoom-controls button {
    font-size: 28px;
  }

  .hud-map-card.hud-map-expanded {
    width: calc(100vw - 20px);
    padding: 14px;
  }

  .hud-map-card.hud-map-expanded .hud-google-map-wrap {
    height: 70vh;
  }
}

@media (max-width: 620px) {
  .contact-page .contact-hero,
  .contact-page .contact-layout {
    width: min(100% - 28px, 1180px);
  }

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

  .hud-contact-form,
  .hud-map-card {
    padding: 24px;
  }

  .map-frame {
    height: 300px;
  }
}

/* Mateo Pérez: card 6 / systems infrastructure profile */
.team-card-mateo .photo-node-mateo {
  height: 230px;
  overflow: hidden;
}

.team-card-mateo .team-photo-mateo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.02);
  transform-origin: center center;
}

.team-card-mateo:hover .team-photo-mateo {
  transform: scale(1.045);
}


/* V67 - Jose A. Taveras / Card 4 replacement
   Keeps the card-4 image behavior aligned with the working v66 layout. */
.team-card-jose-taveras .photo-node-jose-taveras {
  height: 230px;
  overflow: hidden;
}

.team-card-jose-taveras .team-photo-jose-taveras {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  transform: scale(1.04);
  transform-origin: center center;
  background: rgba(0, 10, 8, 0.72);
}

.team-card-jose-taveras:hover .team-photo-jose-taveras {
  transform: scale(1.06);
}

/* V03 final mobile overrides kept at the end so later inherited version blocks cannot
   override the reserved header space on phones. */
@media (max-width: 980px) {
  .home-page {
    padding-top: var(--hud-mobile-header-height);
  }
}

@media (max-width: 640px) {
  .home-page .hero,
  .home-page .services-hero {
    padding-top: 44px;
  }
}
