/* =============================================
   CYBER EDGE THEME — Main Stylesheet
   ============================================= */

:root {
  --bg: #06070a;
  --bg-2: #0c0d12;
  --bg-3: #13151c;
  --line: #1c2029;
  --line-2: #262b35;
  --text: #f0f1f4;
  --text-2: #9ba2ad;
  --text-3: #5a6170;
  --red: #e10e15;
  --red-glow: #ff2b35;
  --red-dim: rgba(225, 14, 21, .14);
}

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

html {
  scroll-behavior: smooth
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}

::selection {
  background: var(--red);
  color: #fff
}

/* ---- Cursor spotlight ---- */
.cursor {
  position: fixed;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--red);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width .2s, height .2s, background .2s;
}

.cursor.hover {
  width: 40px;
  height: 40px;
  background: #fff
}

.cursor-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 14, 21, .12), transparent 65%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity .4s;
  opacity: .85;
}

a,
button,
.click {
  cursor: none
}

/* ---- Scroll progress ---- */
.scroll-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--red);
  z-index: 200;
  transition: width .12s linear;
}

/* ============================
   NAV
   ============================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(6, 7, 10, .78);
  backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 60;
  flex-direction: column;
  gap: 5px;
  width: 38px;
  height: 38px;
  justify-content: center;
  align-items: center;
}

.nav-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, background-color 0.3s ease;
  border-radius: 1px;
}

.nav-toggle.open .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background-color: var(--red);
}

.nav-toggle.open .bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background-color: var(--red);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text)
}

.brand-mark svg {
  width: 34px;
  height: 34px;
  display: block
}

.brand-custom-logo {
  display: flex;
  align-items: center;
}

.brand-custom-logo a.custom-logo-link {
  display: block;
  line-height: 1;
}

.brand-custom-logo img.custom-logo {
  max-height: 48px;
  width: auto;
  max-width: 240px;
  display: block;
  transition: transform 0.3s ease;
}

.brand-custom-logo img.custom-logo:hover {
  transform: scale(1.02);
}

.brand-text {
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  letter-spacing: -.01em
}

.brand-text small {
  display: block;
  font-size: 9.5px;
  color: var(--text-3);
  font-weight: 400;
  margin-top: 4px;
  letter-spacing: .22em
}

.nav-links {
  display: flex;
  gap: 4px;
  align-items: center
}

.nav-links a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 13px;
  padding: 9px 16px;
  font-weight: 400;
  transition: color .15s;
  position: relative;
}

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

.nav-links a.active {
  color: var(--red) !important;
  font-weight: 500;
}

/* Ensure the red active color doesn't make CTA text red on red */
.nav-links a.nav-cta.active {
  color: #fff !important;
}

/* Elegant glowing red underline for the active section link */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 2px;
  background-color: var(--red);
  transform: scaleX(0);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 8px var(--red);
}

.nav-links a.active::after {
  transform: scaleX(1);
}

/* Disable active underline on CTA button */
.nav-links a.nav-cta::after {
  display: none !important;
}

.nav-cta {
  background: var(--red);
  color: #fff !important;
  padding: 11px 18px !important;
  font-weight: 500;
  margin-left: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all .2s;
  border-radius: 2px;
}

.nav-cta:hover {
  background: var(--red-glow);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px -8px rgba(225, 14, 21, .6)
}

.nav-cta::after {
  content: "→"
}

/* ============================
   HERO
   ============================ */
.hero {
  padding: 140px 40px 80px;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 60% 50%, black 30%, transparent 80%);
}

.hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  color: var(--red);
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
}

.hero-eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--red)
}

h1.hero-title {
  font-size: clamp(54px, 7vw, 108px);
  line-height: .96;
  font-weight: 700;
  letter-spacing: -.04em;
  margin-bottom: 32px;
}

h1.hero-title .scram {
  display: inline-block;
  min-width: 1ch
}

h1.hero-title .red {
  color: var(--red);
  font-weight: 800;
  font-style: italic
}

h1.hero-title .light {
  font-weight: 200;
  color: var(--text-2)
}

.hero-sub {
  font-size: 16px;
  color: var(--text-2);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.65;
  font-weight: 300;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 24px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 2px;
  transition: all .2s;
  border: 0;
  font-family: inherit;
  letter-spacing: .01em;
}

.btn-primary {
  background: var(--red);
  color: #fff
}

.btn-primary:hover {
  background: var(--red-glow);
  transform: translateY(-1px);
  box-shadow: 0 14px 36px -10px rgba(225, 14, 21, .55)
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-2)
}

.btn-ghost:hover {
  background: var(--bg-3);
  border-color: var(--text-3)
}

.btn::after {
  content: "→";
  transition: transform .2s
}

.btn:hover::after {
  transform: translateX(4px)
}

/* ---- Hero Orbit — 5 services ---- */
.orbit {
  position: relative;
  aspect-ratio: 1/1;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}

.orbit-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  position: absolute;
  inset: 0
}

.orbit-rings circle {
  fill: none;
  stroke: var(--line-2);
  stroke-width: 1
}

.orbit-rings .dash {
  stroke-dasharray: 2 7;
  stroke: rgba(225, 14, 21, .4);
  transform-origin: center;
  animation: rotateCW 90s linear infinite
}

.orbit-rings .dash-2 {
  stroke-dasharray: 1 5;
  stroke: rgba(255, 255, 255, .08);
  transform-origin: center;
  animation: rotateCCW 140s linear infinite
}

@keyframes rotateCW {
  to {
    transform: rotate(360deg)
  }
}

@keyframes rotateCCW {
  to {
    transform: rotate(-360deg)
  }
}

.orbit-line {
  stroke: rgba(225, 14, 21, .25);
  stroke-width: 1;
  transition: stroke .25s, stroke-width .25s;
}

.orbit-line.active {
  stroke: var(--red);
  stroke-width: 1.5
}

.orbit-pulse {
  fill: var(--red);
  filter: drop-shadow(0 0 6px var(--red));
}

.orbit-center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 130px;
  height: 130px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 14, 21, .28), transparent 70%), var(--bg-2);
  border: 1px solid rgba(225, 14, 21, .5);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: centerPulse 3s ease-in-out infinite;
  z-index: 5;
}

.orbit-center svg {
  width: 55%;
  height: 55%
}

@keyframes centerPulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(225, 14, 21, .5), 0 0 40px rgba(225, 14, 21, .25)
  }

  50% {
    box-shadow: 0 0 0 22px rgba(225, 14, 21, 0), 0 0 90px rgba(225, 14, 21, .4)
  }
}

.pillar {
  position: absolute;
  width: 104px;
  height: 104px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all .3s cubic-bezier(.2, .7, .2, 1);
  z-index: 3;
  gap: 4px;
}

.pillar:hover,
.pillar.active {
  background: var(--red);
  border-color: var(--red);
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 18px 40px -12px rgba(225, 14, 21, .7);
}

.pillar svg {
  width: 30px;
  height: 30px;
  color: var(--text);
  transition: color .2s
}

.pillar:hover svg,
.pillar.active svg {
  color: #fff
}

.pillar .pn {
  font-size: 9.5px;
  font-weight: 500;
  color: var(--text-2);
  letter-spacing: .04em;
  text-align: center;
  line-height: 1.15;
  padding: 0 6px;
  text-transform: uppercase
}

.pillar:hover .pn,
.pillar.active .pn {
  color: #fff
}

.orbit-label {
  position: absolute;
  left: 50%;
  bottom: -60px;
  transform: translateX(-50%);
  text-align: center;
  color: var(--text-3);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  width: 100%;
}

.orbit-label .nm {
  color: var(--red);
  font-size: 15px;
  letter-spacing: -.01em;
  margin-top: 8px;
  display: block;
  font-weight: 500;
  text-transform: none
}

/* ============================
   SECTIONS
   ============================ */
section {
  padding: 140px 40px;
  position: relative;
  border-bottom: 1px solid var(--line)
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.sec-head {
  display: block;
  margin-bottom: 80px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.sec-head .label {
  color: var(--red);
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 500
}

.sec-head .label::before {
  content: "— ";
  color: var(--red)
}

.sec-head h2 {
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.sec-head h2 em {
  color: var(--red);
  font-style: italic;
  font-weight: 800
}

.sec-head .sec-num {
  display: none;
}

/* ============================
   ABOUT
   ============================ */
.about-body {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-lead {
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.3;
  font-weight: 300;
  letter-spacing: -.015em;
  text-wrap: pretty;
  max-width: 780px;
}

.about-lead .em {
  color: var(--red);
  font-weight: 500
}

.about-side {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.about-side .k {
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 500
}

.about-side .v {
  color: var(--text);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 300
}

/* ============================
   SERVICES — expandable list
   ============================ */
.svc-list {
  border-top: 1px solid var(--line)
}

.svc-row {
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: background .25s;
}

.svc-row:hover {
  background: var(--bg-2)
}

.svc-row.open {
  background: var(--bg-2)
}

.svc-head {
  display: grid;
  grid-template-columns: 120px 1fr auto 60px;
  gap: 32px;
  align-items: center;
  padding: 36px 24px;
  transition: padding-left .25s;
}

.svc-row:hover .svc-head {
  padding-left: 40px
}

.svc-num {
  font-size: 13px;
  color: var(--red);
  letter-spacing: .06em;
  font-weight: 500
}

.svc-name {
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.1;
}

.svc-tag {
  font-size: 10.5px;
  color: var(--text-3);
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 5px 12px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
}

.svc-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text);
  font-weight: 300;
  transition: all .3s;
  background: transparent;
}

.svc-row:hover .svc-toggle {
  border-color: var(--red);
  color: var(--red)
}

.svc-row.open .svc-toggle {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  transform: rotate(45deg)
}

.svc-body {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s cubic-bezier(.2, .7, .2, 1);
}

.svc-row.open .svc-body {
  max-height: 400px
}

.svc-body-inner {
  grid-column: 2 / -1;
  padding: 0 24px 40px;
  max-width: 780px;
}

.svc-body p {
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 20px
}

.svc-scan {
  height: 2px;
  background: var(--line);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.svc-scan-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  animation: scan 2s linear infinite;
}

.svc-row.open .svc-scan-fill {
  width: 100%
}

@keyframes scan {
  0% {
    transform: translateX(-100%)
  }

  100% {
    transform: translateX(100%)
  }
}

/* ============================
   PARTNERS — flip cards
   ============================ */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pcard {
  aspect-ratio: 5/4;
  perspective: 1200px;
  border-radius: 6px;
}

.pcard-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform .8s cubic-bezier(.2, .7, .2, 1);
  transform-style: preserve-3d;
  border-radius: 6px;
}

.pcard:hover .pcard-inner {
  transform: rotateY(180deg)
}

.pcard-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(145deg, var(--bg-2) 0%, var(--bg-3) 100%);
  border-radius: 6px;
  box-shadow: 0 8px 32px -8px rgba(0, 0, 0, 0.5);
  transition: border-color 0.4s, box-shadow 0.4s;
}

.pcard-front {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pcard:hover .pcard-front {
  border-color: rgba(225, 14, 21, 0.45);
  box-shadow: 0 12px 40px -10px rgba(225, 14, 21, 0.25);
}

.pcard-front .pnum {
  color: var(--text-3);
  font-size: 11px;
  letter-spacing: .2em;
  font-weight: 500
}

/* =============================================
   PREMIUM GLASSMORPHIC BADGE LOGOS - WITH ORIGINAL BRAND COLORS
   ============================================= */
.pcard-front .pcard-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 96px;
  margin: 20px 0;

  padding: 16px;

  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.pcard-front .pcard-logo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.pcard-front .pcard-logo svg,
.pcard-front .pcard-logo img {
  max-width: 85%;
  max-height: 52px;
  width: auto;
  height: auto;
  opacity: 0.95;
  /* Bright and clear original brand colors by default */
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  object-fit: contain;
  z-index: 1;
}

.pcard-front .pcard-logo svg {
  width: 52px;
  height: 52px;
  color: var(--text-2);
}

/* --- High Contrast Filters for Dark Logos on Dark Background --- */

/* TCPWave Logo: dark blue needs high brightness boost */
.pcard-front .pcard-logo img[src*="TCPWave"] {
  filter: brightness(1.5) contrast(1.1);
}

/* Cisco Logo: boost brightness slightly */
.pcard-front .pcard-logo img[src*="Cisco"] {
  filter: brightness(1.3) contrast(1.1);
}

/* Fortinet Logo: very dark gray text needs powerful brightness boost to stand out */
.pcard-front .pcard-logo img[src*="fortinet"] {
  filter: brightness(2.3) contrast(1.05);
}

/* --- Hover State Effects --- */
.pcard:hover .pcard-front .pcard-logo {
  transform: translateY(-3px) scale(1.02);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(225, 14, 21, 0.35);
  /* Subtle cyber-red border glow */
  box-shadow:
    0 12px 24px -8px rgba(0, 0, 0, 0.4),
    0 0 15px rgba(225, 14, 21, 0.15);
}

.pcard:hover .pcard-front .pcard-logo::before {
  background: radial-gradient(circle at center, rgba(225, 14, 21, 0.06) 0%, transparent 60%);
}

.pcard:hover .pcard-front .pcard-logo img,
.pcard:hover .pcard-front .pcard-logo svg {
  opacity: 1;
  transform: scale(1.04);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

/* Restore color/filter overrides on hover and keep brightness boosts active */
.pcard:hover .pcard-front .pcard-logo img[src*="TCPWave"] {
  filter: brightness(1.6) contrast(1.1) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

.pcard:hover .pcard-front .pcard-logo img[src*="Cisco"] {
  filter: brightness(1.4) contrast(1.1) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

.pcard:hover .pcard-front .pcard-logo img[src*="fortinet"] {
  filter: brightness(2.4) contrast(1.05) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

.pcard:hover .pcard-front .pcard-logo svg {
  color: var(--red);
  filter: drop-shadow(0 0 8px var(--red-glow));
}

.pcard-front .pname {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  letter-spacing: -.03em;
  margin-top: auto;
}

.pcard-front .ptag {
  color: var(--text-2);
  font-size: 13.5px;
  margin-top: 10px;
  font-weight: 400;
  letter-spacing: -.005em;
}

.pcard-front .flip-cue {
  position: absolute;
  right: 24px;
  top: 24px;
  color: var(--text-3);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pcard-front .flip-cue::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-3);
  transition: background 0.4s, box-shadow 0.4s;
}

.pcard:hover .pcard-front .flip-cue::before {
  background: var(--red);
  box-shadow: 0 0 8px var(--red-glow);
}

.pcard-front .flip-cue::after {
  content: "↻"
}

.pcard-back {
  transform: rotateY(180deg);
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  box-shadow: 0 12px 40px -10px rgba(225, 14, 21, 0.4);
}

.pcard-back .pname {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.02em;
  margin-bottom: 14px
}

.pcard-back .pcard-back-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 38px;
  margin-bottom: 20px;
}

.pcard-back .pcard-back-logo img {
  max-width: 130px;
  max-height: 34px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
  opacity: 0.95;
  transition: opacity 0.3s ease;
}

.pcard-back .pcard-back-logo img:hover {
  opacity: 1;
}

.pcard-back .pdesc {
  font-size: 13.5px;
  line-height: 1.6;
  font-weight: 300;
  color: rgba(255, 255, 255, .92);
  text-wrap: pretty;
  flex: 1
}

.pcard-back .footer {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .8;
  font-weight: 500;
  margin-top: 20px;
  display: flex;
  justify-content: space-between
}

/* ============================
   WHY US
   ============================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  border: none;
}

.why-cell {
  padding: 40px 28px 36px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(145deg, var(--bg-2) 0%, var(--bg-3) 100%);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.4s ease,
    box-shadow 0.4s ease;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.why-cell:hover {
  transform: translateY(-8px);
  border-color: rgba(225, 14, 21, 0.45);
  box-shadow: 0 20px 40px -12px rgba(225, 14, 21, 0.18),
    0 0 20px -5px rgba(225, 14, 21, 0.1);
}

.why-cell .wn {
  font-size: 110px;
  font-weight: 800;
  color: var(--text-3);
  opacity: 0.04;
  line-height: 0.8;
  letter-spacing: -0.06em;
  position: absolute;
  left: 20px;
  top: 24px;
  z-index: -1;
  pointer-events: none;
  transition: opacity 0.4s ease, color 0.4s ease;
  font-feature-settings: "tnum";
}

.why-cell:hover .wn {
  opacity: 0.09;
  color: var(--red);
}

.why-cell .wt {
  font-size: 16px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--text-2);
  margin-top: auto;
  letter-spacing: -0.01em;
  text-wrap: balance;
  position: relative;
  z-index: 2;
  transition: color 0.4s ease;
}

.why-cell:hover .wt {
  color: var(--text);
}

.why-cell .wcheck {
  position: absolute;
  right: 24px;
  top: 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-3);
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  opacity: 0.4;
  transform: scale(0.85);
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 2;
}

.why-cell.checked .wcheck {
  opacity: 0.7;
  transform: scale(1);
  border-color: rgba(225, 14, 21, 0.3);
  color: var(--red);
}

.why-cell:hover .wcheck {
  opacity: 1 !important;
  color: #fff !important;
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 0 12px var(--red-glow);
  transform: scale(1.1) rotate(360deg);
}

/* ============================
   INDUSTRIES — focus list
   ============================ */
.ind-list {
  border-top: 1px solid var(--line);
}

.ind-row {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 36px 32px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  background: transparent;
  transition: padding-left 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    background-color 0.4s ease,
    filter 0.4s ease;
}

.ind-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 0 10px var(--red-glow);
}

.ind-row::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(225, 14, 21, 0.04) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: -1;
}

.ind-list:hover .ind-row {
  filter: opacity(0.35);
}

.ind-list .ind-row:hover {
  filter: opacity(1);
  padding-left: 48px;
  background: rgba(12, 13, 18, 0.4);
}

.ind-list .ind-row:hover::before {
  transform: scaleY(1);
}

.ind-list .ind-row:hover::after {
  opacity: 1;
}

.ind-row .in {
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.2em;
  font-weight: 600;
  transition: color 0.4s ease;
}

.ind-row:hover .in {
  color: var(--red);
}

.ind-row .inm {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: -0.02em;
  line-height: 1;
  transition: color 0.4s ease, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ind-row:hover .inm {
  color: var(--text);
  transform: translateX(12px);
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.05);
}

.ind-row .iar {
  font-size: 20px;
  color: var(--text-3);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ind-row:hover .iar {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 0 12px var(--red-glow);
  transform: translateX(8px);
}

/* ============================
   MISSION + VISION
   ============================ */
.mv {
  background: var(--bg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--line);
}

.mv-panel {
  padding: 120px 56px;
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mv-panel+.mv-panel {
  border-left: 1px solid var(--line)
}

.mv-panel.mission {
  background: var(--bg-2)
}

.mv-panel.vision {
  background: #000;
  position: relative
}

.mv-panel.vision::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(225, 14, 21, .14), transparent 70%);
}

.mv-panel>* {
  position: relative;
  z-index: 2
}

.mv-label {
  font-size: 11px;
  color: var(--red);
  letter-spacing: .32em;
  text-transform: uppercase;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 14px;
}

.mv-label::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--red)
}

.mv-num {
  position: absolute;
  top: 56px;
  right: 56px;
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: .2em;
}

.mv-text {
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.3;
  font-weight: 300;
  letter-spacing: -.015em;
  margin: 48px 0;
  text-wrap: pretty;
}

.mv-text .em {
  color: var(--red);
  font-weight: 500;
  font-style: italic
}

.mv-foot {
  font-size: 13px;
  color: var(--text-3);
  font-weight: 400
}

.mv-foot strong {
  color: var(--text);
  font-weight: 500;
  display: block;
  font-size: 15px;
  margin-top: 4px;
  letter-spacing: -.01em
}

/* ============================
   CTA
   ============================ */
.cta {
  text-align: center;
  padding: 160px 40px;
  background:
    radial-gradient(ellipse at center, rgba(225, 14, 21, .18), transparent 60%),
    var(--bg);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black, transparent 70%);
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto
}

.cta h2 {
  font-size: clamp(44px, 6vw, 96px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.035em;
  margin-bottom: 24px;
  text-wrap: balance;
}

.cta h2 em {
  color: var(--red);
  font-style: italic;
  font-weight: 800
}

.cta p {
  color: var(--text-2);
  font-size: 18px;
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.5;
  font-weight: 300
}

/* ============================
   CONTACT
   ============================ */
.contact {
  padding: 120px 40px;
  background: var(--bg-2)
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  max-width: 1400px;
  margin: 0 auto
}

.contact h2 {
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.035em;
  margin-bottom: 24px
}

.contact h2 em {
  color: var(--red);
  font-style: italic;
  font-weight: 800
}

.contact .lead {
  color: var(--text-2);
  font-size: 15.5px;
  margin-bottom: 36px;
  max-width: 420px;
  line-height: 1.6;
  font-weight: 300
}

.contact-detail {
  display: flex;
  gap: 14px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid var(--line)
}

.contact-detail:last-child {
  border-bottom: 1px solid var(--line)
}

.contact-detail .lab {
  color: var(--text-3);
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  width: 90px;
  margin-top: 5px;
  flex-shrink: 0;
  font-weight: 500
}

.contact-detail .val {
  color: var(--text);
  font-size: 15px;
  font-weight: 400
}

.contact-detail .val a {
  color: var(--text);
  text-decoration: none
}

.contact-detail .val a:hover {
  color: var(--red)
}

form {
  display: flex;
  flex-direction: column;
  gap: 18px
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px
}

.field label {
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 500
}

.field input,
.field textarea {
  background: var(--bg);
  border: 1px solid var(--line-2);
  color: var(--text);
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  font-weight: 300;
  border-radius: 2px;
  transition: border-color .2s;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red)
}

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

/* =============================================
   CUSTOM STYLED SELECT DROPDOWN
   ============================================= */
.custom-select-wrapper {
  position: relative;
  user-select: none;
  width: 100%;
}

.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line-2);
  color: var(--text);
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  font-weight: 300;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.custom-select-trigger:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
}

.custom-select-wrapper.open .custom-select-trigger {
  border-color: var(--red);
  box-shadow: 0 0 15px rgba(225, 14, 21, 0.15);
  background: rgba(225, 14, 21, 0.02);
}

.custom-select-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.3s ease;
}

.custom-select-arrow svg {
  width: 13px;
  height: 13px;
  display: block;
}

.custom-select-wrapper.open .custom-select-arrow {
  transform: rotate(180deg);
  color: var(--red);
}

.custom-select-options {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: rgba(10, 11, 16, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  z-index: 100;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 20px rgba(225, 14, 21, 0.05);
  max-height: 250px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 6px;
}

.custom-select-options::-webkit-scrollbar {
  width: 5px;
}

.custom-select-options::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.custom-select-options::-webkit-scrollbar-thumb {
  background: rgba(225, 14, 21, 0.3);
  border-radius: 4px;
}

.custom-select-options::-webkit-scrollbar-thumb:hover {
  background: var(--red);
}

.custom-select-wrapper.open .custom-select-options {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  border-color: rgba(225, 14, 21, 0.3);
}

.custom-option {
  padding: 11px 14px;
  font-size: 14.5px;
  color: var(--text-2);
  font-weight: 300;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}

.custom-option:last-child {
  margin-bottom: 0;
}

.custom-option:hover {
  background: rgba(225, 14, 21, 0.08);
  color: #fff;
  padding-left: 18px;
}

.custom-option.selected {
  background: rgba(225, 14, 21, 0.15);
  color: var(--red);
  font-weight: 500;
  border-left: 3px solid var(--red);
  padding-left: 15px;
}

.custom-option.selected::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--red);
}

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

.form-msg {
  color: var(--red);
  font-size: 13px;
  display: none;
  font-weight: 400
}

.form-msg.ok {
  color: #3ad985;
  display: block
}

.form-msg.err {
  display: block
}

/* ============================
   FOOTER
   ============================ */
footer {
  padding: 64px 40px 32px;
  background: var(--bg)
}

.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line)
}

.footer-brand {
  max-width: 340px
}

.footer-brand p {
  color: var(--text-2);
  font-size: 14px;
  margin-top: 18px;
  line-height: 1.65;
  font-weight: 300
}

.footer-col h4 {
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 18px;
  font-weight: 500
}

.footer-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.toggle-icon {
  display: none;
  font-size: 14px;
  color: var(--text-3);
  font-weight: 300;
  transition: color 0.3s ease;
}

@media (max-width: 768px) {
  footer {
    padding: 48px 20px 24px !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding-bottom: 24px !important;
  }

  .footer-brand {
    max-width: 100%;
    margin-bottom: 12px;
  }

  .footer-bottom {
    margin-top: 24px;
  }

  .footer-toggle {
    cursor: pointer;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 0 !important;
  }

  .footer-col.active .footer-toggle {
    border-bottom-color: rgba(225, 14, 21, 0.3);
    color: var(--red);
  }

  .toggle-icon {
    display: inline-block;
  }

  .toggle-icon::before {
    content: '+';
    font-family: monospace;
    font-size: 16px;
    display: block;
    line-height: 1;
  }

  .footer-col.active .toggle-icon::before {
    content: '−';
    color: var(--red);
  }

  .footer-col-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, padding 0.3s ease;
    padding-top: 0;
    padding-bottom: 0;
  }

  .footer-col.active .footer-col-content {
    max-height: 350px;
    opacity: 1;
    padding-top: 14px;
    padding-bottom: 14px;
  }
}

.footer-col a {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  display: block;
  padding: 6px 0;
  transition: color .15s;
  font-weight: 300
}

.footer-col a:hover {
  color: var(--red)
}

.footer-bottom {
  max-width: 1400px;
  margin: 32px auto 0;
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--text-3);
  letter-spacing: .1em;
  font-weight: 400
}

/* ============================
   REVEAL ANIMATION
   ============================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1)
}

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

/* ============================
   VIBE: Crimson
   ============================ */
body.vibe-crimson {
  --bg: #190406;
  --bg-2: #26090d;
  --bg-3: #330e12;
  --line: #3d141a;
  --line-2: #4f1b22;
  --text: #fbe9eb;
  --text-2: #c79499;
  --text-3: #82565b;
  --red: #ff3a47;
  --red-glow: #ff5963;
  --red-dim: rgba(255, 58, 71, .18);
}

body.vibe-crimson .mv-panel.vision {
  background: #0c0203
}

body.vibe-crimson .nav {
  background: rgba(25, 4, 6, .78)
}

body.vibe-crimson .cursor-glow {
  background: radial-gradient(circle, rgba(255, 58, 71, .2), transparent 65%)
}

/* ============================
   VIBE: Bone (light/paper)
   ============================ */
body.vibe-bone {
  --bg: #f3eee5;
  --bg-2: #eae3d6;
  --bg-3: #ddd5c4;
  --line: #cfc7b6;
  --line-2: #b8af9c;
  --text: #161310;
  --text-2: #5a5448;
  --text-3: #8a8473;
  --red: #bd1019;
  --red-glow: #dc141e;
  --red-dim: rgba(189, 16, 25, .12);
}

body.vibe-bone .nav {
  background: rgba(243, 238, 229, .82)
}

body.vibe-bone .hero-grid {
  background-image:
    linear-gradient(rgba(0, 0, 0, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, .045) 1px, transparent 1px);
}

body.vibe-bone .cta::before {
  background-image:
    linear-gradient(rgba(0, 0, 0, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, .04) 1px, transparent 1px);
}

body.vibe-bone .cursor-glow {
  background: radial-gradient(circle, rgba(189, 16, 25, .16), transparent 65%)
}

body.vibe-bone .cursor {
  mix-blend-mode: multiply;
  background: var(--red)
}

body.vibe-bone .cursor.hover {
  background: #000
}

body.vibe-bone .orbit-center {
  background: radial-gradient(circle, rgba(189, 16, 25, .22), transparent 70%), var(--bg-2)
}

body.vibe-bone .pillar {
  background: #fffaf0
}

body.vibe-bone .pcard-front {
  background: var(--bg-2)
}

body.vibe-bone .nav-cta:hover {
  box-shadow: 0 10px 24px -8px rgba(189, 16, 25, .45)
}

body.vibe-bone .btn-primary:hover {
  box-shadow: 0 14px 30px -10px rgba(189, 16, 25, .45)
}

body.vibe-bone .mv-panel.mission {
  background: var(--bg-2)
}

body.vibe-bone .mv-panel.vision {
  background: #110d09;
  color: #f3eee5
}

body.vibe-bone .mv-panel.vision .mv-foot,
body.vibe-bone .mv-panel.vision .mv-foot strong {
  color: #f3eee5
}

body.vibe-bone footer {
  background: #0c0907;
  color: #f3eee5
}

body.vibe-bone footer .brand-text,
body.vibe-bone footer .footer-col a {
  color: #f3eee5
}

body.vibe-bone footer .footer-col h4,
body.vibe-bone footer .brand-text small,
body.vibe-bone footer .footer-bottom {
  color: rgba(243, 238, 229, .55)
}

body.vibe-bone footer .footer-brand p {
  color: rgba(243, 238, 229, .7)
}

/* ============================
   TYPE: Technical
   ============================ */
body.type-technical h1,
body.type-technical h2,
body.type-technical h3,
body.type-technical .svc-name,
body.type-technical .pname,
body.type-technical .ind-row .inm {
  font-weight: 400;
  letter-spacing: .02em;
  text-transform: uppercase;
  line-height: 1.08;
}

body.type-technical .hero-title {
  font-size: clamp(40px, 5.2vw, 82px);
  letter-spacing: 0
}

body.type-technical .hero-title .light {
  font-weight: 200
}

body.type-technical .hero-title .red,
body.type-technical .sec-head h2 em,
body.type-technical .cta h2 em,
body.type-technical .contact h2 em,
body.type-technical .mv-text .em,
body.type-technical .about-lead .em {
  font-style: normal !important;
  font-weight: 500
}

body.type-technical .mv-text {
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none
}

body.type-technical .about-lead {
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none
}

body.type-technical .ind-row:hover .inm {
  font-weight: 500
}

/* ============================
   TYPE: Brutal
   ============================ */
body.type-brutal h1,
body.type-brutal h2,
body.type-brutal h3,
body.type-brutal .svc-name,
body.type-brutal .pname,
body.type-brutal .ind-row .inm,
body.type-brutal .about-lead,
body.type-brutal .mv-text {
  font-weight: 900;
  letter-spacing: -.05em;
  text-transform: uppercase;
  line-height: .88;
}

body.type-brutal .hero-title .light {
  font-weight: 300;
  text-transform: uppercase
}

body.type-brutal .hero-title .red,
body.type-brutal .sec-head h2 em,
body.type-brutal .cta h2 em,
body.type-brutal .contact h2 em,
body.type-brutal .mv-text .em,
body.type-brutal .about-lead .em {
  font-style: normal !important;
  font-weight: 900;
  text-transform: uppercase
}

body.type-brutal .about-lead {
  font-size: clamp(22px, 2.2vw, 32px);
  letter-spacing: -.035em
}

body.type-brutal .mv-text {
  font-size: clamp(22px, 2.2vw, 32px)
}

body.type-brutal .svc-tag {
  text-transform: uppercase;
  font-weight: 600
}

/* ============================
   TWEAKS PANEL
   ============================ */
.tw-panel {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9998;
  width: 320px;
  background: rgba(12, 13, 18, .94);
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  color: #f0f1f4;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), opacity .25s;
}

.tw-panel.open {
  transform: none;
  opacity: 1;
  pointer-events: auto
}

.tw-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid #1c2029;
}

.tw-head .ttl {
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 11px
}

.tw-head .ttl::before {
  content: "●";
  color: #e10e15;
  margin-right: 8px;
  font-size: 10px
}

.tw-close {
  background: transparent;
  border: 0;
  color: #9ba2ad;
  cursor: none;
  font-family: inherit;
  font-size: 18px;
  line-height: 1;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all .2s;
}

.tw-close:hover {
  background: #1c2029;
  color: #f0f1f4
}

.tw-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 18px
}

.tw-grp {
  display: flex;
  flex-direction: column;
  gap: 8px
}

.tw-lab {
  font-size: 10px;
  color: #5a6170;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tw-lab .now {
  color: #e10e15;
  font-size: 10.5px;
  letter-spacing: .04em;
  text-transform: none;
  font-weight: 500
}

.tw-seg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #0a0c12;
  border: 1px solid #1c2029;
  border-radius: 6px;
  padding: 3px;
}

.tw-seg button {
  background: transparent;
  border: 0;
  color: #9ba2ad;
  cursor: none;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 500;
  padding: 8px 6px;
  border-radius: 4px;
  transition: all .2s;
  line-height: 1;
  letter-spacing: .01em;
}

.tw-seg button:hover {
  color: #f0f1f4
}

.tw-seg button.on {
  background: #e10e15;
  color: #fff
}

.tw-foot {
  padding: 10px 18px;
  border-top: 1px solid #1c2029;
  font-size: 10px;
  color: #5a6170;
  letter-spacing: .06em;
  display: flex;
  justify-content: space-between;
}

.tw-foot button {
  background: transparent;
  border: 0;
  color: #9ba2ad;
  cursor: none;
  font-family: inherit;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .15s;
}

.tw-foot button:hover {
  color: #e10e15
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width:980px) {
  body {
    cursor: auto
  }

  a,
  button,
  .click {
    cursor: auto
  }

  .cursor,
  .cursor-glow {
    display: none
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(8, 9, 12, 0.98);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 32px 20px 48px;
    gap: 16px;
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  }

  .nav.menu-open .nav-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 12px 0;
    font-size: 16px;
    letter-spacing: 0.05em;
    font-weight: 500;
    transition: all 0.3s ease;
  }

  .nav-links a::after {
    display: none !important;
  }

  .nav-links a.active {
    color: var(--red) !important;
    background: rgba(225, 14, 21, 0.04);
    border-left: 3px solid var(--red);
    border-right: 3px solid var(--red);
  }

  .nav-links a.nav-cta.active {
    color: #fff !important;
    background: var(--red) !important;
    border: none !important;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 8px;
    justify-content: center;
    width: 100%;
    max-width: 280px;
  }

  footer {
    padding: 64px 20px 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    align-items: center;
  }

  .hero-inner,
  .contact-grid,
  .about-body,
  .mv {
    grid-template-columns: 1fr
  }

  .partners-grid {
    grid-template-columns: 1fr 1fr
  }

  .why-grid {
    grid-template-columns: 1fr 1fr
  }



  .hero {
    padding: 120px 20px 60px
  }

  section {
    padding: 80px 20px
  }

  .svc-head {
    grid-template-columns: 60px 1fr auto;
    gap: 16px;
    padding: 24px 16px
  }

  .svc-tag {
    display: none
  }

  .svc-body {
    grid-template-columns: 60px 1fr
  }

  .svc-body-inner {
    padding: 0 16px 32px
  }

  .ind-row {
    padding: 28px 16px;
    grid-template-columns: 60px 1fr auto
  }

  .mv-panel {
    padding: 80px 28px;
    min-height: auto
  }

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

@media (max-width:600px) {
  .tw-panel {
    left: 12px;
    right: 12px;
    width: auto;
    bottom: 12px
  }

  .partners-grid {
    grid-template-columns: 1fr
  }

  .why-grid {
    grid-template-columns: 1fr
  }

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

/* =============================================
   ELITE CYBEREDGE CUSTOM EFFECTS & ANIMATIONS
   ============================================= */

/* Premium diagonal light-sweep shimmer effect on primary buttons */
.btn-primary,
.nav-cta {
  position: relative;
  overflow: hidden;
}

.btn-primary::before,
.nav-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.28),
      transparent);
  transform: skewX(-25deg);
  transition: none;
}

.btn-primary:hover::before,
.nav-cta:hover::before {
  left: 150%;
  transition: left 0.85s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Fluid slow-motion floating animation for Hero Orbit */
@keyframes ambientFloat {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

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

.orbit {
  animation: ambientFloat 6.5s ease-in-out infinite;
}

/* Breathing cybersecurity pulse glow on highlighted titles */
@keyframes breathingGlow {

  0%,
  100% {
    text-shadow: 0 0 6px rgba(225, 14, 21, 0.35);
    filter: brightness(1);
  }

  50% {
    text-shadow: 0 0 16px rgba(225, 14, 21, 0.75), 0 0 28px rgba(225, 14, 21, 0.4);
    filter: brightness(1.15);
  }
}

h1.hero-title .red {
  animation: breathingGlow 4.8s ease-in-out infinite;
}

/* Futuristic grid-matrix fine scanlines overlay in Hero Section */
.hero-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(18, 20, 26, 0) 50%,
      rgba(0, 0, 0, 0.25) 50%);
  background-size: 100% 4px;
  opacity: 0.22;
  pointer-events: none;
  z-index: 1;
}

/* Subtle micro-bounce on scroll-down elements */
@keyframes microPulse {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(4px);
  }
}

.sec-head .label::before {
  display: inline-block;
  animation: microPulse 2s infinite ease-in-out;
}