/* ==========================================================================
   Lonyibe Technologies — Original Design System (Pure Light Theme)
   Font: Quantico (Google Fonts 400, 700)
   Accent: #15BCDF (hover #3fd0ef, border #0fa3c2)
   Background: #F2F1F0
   Text: headings #2b3033, nav links #3a3a3a, body gray #6b6f72
   ========================================================================== */

:root {
  --font-primary: 'Quantico', 'Arial Narrow', sans-serif;
  --color-bg: #F2F1F0;
  --color-accent: #15BCDF;
  --color-accent-hover: #3fd0ef;
  --color-accent-border: #0fa3c2;
  --color-heading: #2b3033;
  --color-nav: #3a3a3a;
  --color-body-gray: #6b6f72;
  --color-dark: #111111;
  --color-card-bg: #ffffff;
  --color-card-alt: #f7f6f8;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background-color: var(--color-bg);
  font-family: var(--font-primary);
  color: var(--color-heading);
  overflow-x: hidden;
  line-height: 1.5;
}

a {
  color: var(--color-nav);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

a:hover {
  color: #000000;
}

/* Headings base rules */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.98;
  color: var(--color-heading);
}

/* ==========================================================================
   Navbar (Consistent on all pages)
   ========================================================================== */

.navbar {
  position: relative;
  z-index: 100;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  padding: clamp(20px, 3vw, 36px) clamp(20px, 4vw, 48px) 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
}

.logo-circle {
  width: 38px;
  height: 38px;
  background-color: #111111;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-ellipse {
  width: 20px;
  height: 8px;
  background-color: #ffffff;
  border-radius: 50%;
  transform: rotate(-25deg);
  display: block;
}

.logo-text {
  font-size: clamp(18px, 3.5vw, 24px);
  font-weight: 400;
  color: #111111;
  letter-spacing: -0.5px;
  text-transform: lowercase;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
}

.nav-link {
  font-weight: 700;
  font-size: clamp(12px, 2.2vw, 14.5px);
  letter-spacing: 0.06em;
  color: var(--color-nav);
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.nav-link.active {
  color: #000000;
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 2px;
}

.nav-btn-link {
  background: transparent;
  border: none;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
}

.nav-link:hover {
  color: #000000;
}

.contact-btn {
  margin-left: auto;
  background: #111111;
  border: none;
  outline: none;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  font-size: clamp(12px, 2.4vw, 14.5px);
  padding: 13px 26px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.15s ease, color 0.2s ease;
  font-family: inherit;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.contact-btn:hover {
  background: var(--color-accent);
  color: #111111;
  transform: translateY(-1px);
}

.contact-btn:hover .contact-icon {
  stroke: #111111;
}

.contact-icon {
  width: 16px;
  height: 13px;
  stroke: #ffffff;
  fill: none;
  stroke-width: 1.6;
  display: block;
  transition: stroke 0.2s ease;
}

.hamburger-btn {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  background: #111111;
  border: none;
  border-radius: 50%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  z-index: 15;
}

.hamburger-bar {
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 1px;
  display: block;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

.hamburger-btn[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  opacity: 0;
}

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

/* Mobile Stacked Menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: calc(clamp(20px, 3vw, 36px) + 54px);
  right: clamp(20px, 4vw, 48px);
  background: #ffffff;
  padding: 24px 28px;
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
  flex-direction: column;
  gap: 16px;
  z-index: 200;
  min-width: 260px;
}

.mobile-menu:not([hidden]) {
  display: flex;
  animation: mobileMenuFade 0.2s ease forwards;
}

@keyframes mobileMenuFade {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-menu-link {
  color: #1a1c1e;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mobile-menu-link.active {
  color: var(--color-accent);
}

.mobile-menu-link.highlight {
  color: var(--color-heading);
  font-size: 13px;
  font-weight: 700;
  background: #f2f1f0;
  padding: 8px 12px;
  border-radius: 6px;
  border-left: 3px solid var(--color-accent);
}

/* ==========================================================================
   Home Page: Section 1 — Hero
   min-height: 100svh, background #F2F1F0, overflow hidden
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  background-color: var(--color-bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-video {
  position: absolute;
  top: 0;
  right: -20%;
  width: 99%;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  z-index: 0;
}

.hero-scrim {
  position: absolute;
  top: 0;
  left: 0;
  width: 70%;
  height: 100%;
  background: linear-gradient(90deg, #F2F1F0 0%, #F2F1F0 55%, rgba(242, 241, 240, 0.85) 78%, rgba(242, 241, 240, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex: 1;
}

.hero-headline {
  padding: min(clamp(40px, 9vw, 120px), 9vh) 20px min(clamp(24px, 4vw, 44px), 5vh) clamp(20px, 9vw, 118px);
  font-size: min(clamp(34px, 7.6vw, 80px), 9.2vh);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.98;
  color: var(--color-heading);
  display: flex;
  flex-direction: column;
}

.hl-line {
  display: block;
}

.hl-line.indent {
  padding-left: min(238px, 28vw);
}

.hl-accent {
  color: var(--color-accent);
}

.hero-cta-wrap {
  padding: 0 20px min(clamp(36px, 6vw, 80px), 7vh) calc(clamp(20px, 9vw, 118px) + min(238px, 28vw));
}

/* ==========================================================================
   Chamfered Button Style (Hero & About)
   ========================================================================== */

.btn-chamfer {
  position: relative;
  display: inline-flex;
  align-items: center;
  background-color: var(--color-accent);
  border: 1px solid var(--color-accent-border);
  color: var(--color-heading);
  text-transform: uppercase;
  font-family: inherit;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 18px 34px;
  font-size: clamp(13px, 2.2vw, 16px);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  box-shadow: 0 0 0 1px rgba(21, 188, 223, 0.35), 0 10px 30px -12px rgba(15, 163, 194, 0.6);
  filter: drop-shadow(0 8px 20px rgba(15, 163, 194, 0.4));
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}

.btn-chamfer:hover {
  background-color: var(--color-accent-hover);
  color: #000000;
  box-shadow: 0 0 0 1px rgba(63, 208, 239, 0.5), 0 14px 36px -10px rgba(15, 163, 194, 0.85);
  filter: drop-shadow(0 12px 28px rgba(21, 188, 223, 0.6));
  transform: translateY(-1px);
}

.btn-chamfer.btn-secondary {
  background-color: #111111;
  color: #ffffff;
  border-color: #333333;
  filter: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-chamfer.btn-secondary:hover {
  background-color: #222222;
  color: var(--color-accent);
}

.btn-chamfer.btn-secondary .btn-tail-line {
  background-color: #ffffff;
}

.btn-tail-line {
  display: inline-block;
  width: 22px;
  height: 1px;
  background-color: var(--color-heading);
  margin-left: 14px;
  flex-shrink: 0;
}

/* ==========================================================================
   Home Page: Section 2 — About
   ========================================================================== */

.about-section {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  background: linear-gradient(180deg, #F2F1F0 0%, #F7F6F8 18%, #F7F6F8 100%);
  padding: clamp(60px, 10vw, 140px) 0 clamp(30px, 5vw, 70px) clamp(20px, 9vw, 118px);
  overflow: hidden;
}

.about-left {
  flex: 1 1 420px;
  min-width: 300px;
  display: flex;
  flex-direction: column;
}

.about-headline {
  font-size: clamp(34px, 6.5vw, 72px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.98;
  color: var(--color-heading);
  display: flex;
  flex-direction: column;
  margin: 0;
}

.ab-line {
  display: block;
}

.ab-line.indent {
  padding-left: min(160px, 18vw);
}

.ab-accent {
  color: var(--color-accent);
}

.about-description {
  max-width: 520px;
  margin: 32px 0 0 min(160px, 18vw);
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.7;
  color: var(--color-body-gray);
  font-family: var(--font-primary);
}

.about-cta-wrap-double {
  margin: 36px 0 0 min(160px, 18vw);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.about-right {
  flex: 1 1 360px;
  min-width: 280px;
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.about-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 644px;
  margin-left: auto;
  line-height: 0;
  display: block;
}

.about-video {
  width: 100%;
  max-width: 644px;
  height: auto;
  display: block;
  object-fit: cover;
}

.video-overlay-tint {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 644px;
  height: 100%;
  background-color: var(--color-accent);
  mix-blend-mode: hue;
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================================
   Services Page (Original Light Theme Specification)
   ========================================================================== */

.services-page-body {
  background-color: var(--color-bg);
  min-height: 100vh;
}

.services-hero-header {
  padding: clamp(40px, 6vw, 76px) clamp(20px, 5vw, 64px) 24px;
  text-align: center;
}

.services-hero-container {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cyber-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #111111;
  background: #ffffff;
  border: 1px solid var(--color-accent);
  padding: 7px 18px;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
  margin-bottom: 22px;
  box-shadow: 0 4px 12px rgba(21, 188, 223, 0.15);
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--color-accent);
}

.services-main-headline {
  font-size: clamp(34px, 5.5vw, 68px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--color-heading);
  margin-bottom: 18px;
}

.services-main-subtitle {
  font-size: clamp(15px, 1.6vw, 17.5px);
  color: var(--color-body-gray);
  line-height: 1.68;
  max-width: 800px;
  margin: 0 auto 34px;
}

/* Metric Stats Bar */
.hero-stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 1040px;
}

.stat-pill {
  background: #ffffff;
  border: 1px solid rgba(21, 188, 223, 0.35);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.stat-pill:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(21, 188, 223, 0.2);
}

.stat-pill-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-body-gray);
}

.stat-pill-val {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-heading);
  letter-spacing: 0.04em;
}

/* Filter Navigation */
.services-filter-section {
  padding: 10px clamp(20px, 5vw, 64px) 34px;
}

.services-filter-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-tab {
  background: #ffffff;
  border: 1px solid rgba(43, 48, 51, 0.18);
  color: var(--color-heading);
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 11px 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

.filter-tab:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.filter-tab.active {
  background: var(--color-heading);
  color: var(--color-accent);
  border-color: var(--color-heading);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}

/* Services Cards Grid */
.services-content-section {
  padding: 0 clamp(20px, 5vw, 64px) 80px;
}

.services-cards-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.modern-service-card {
  background: #ffffff;
  border: 1px solid rgba(43, 48, 51, 0.14);
  padding: 34px 28px;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.modern-service-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-accent);
  box-shadow: 0 16px 36px -8px rgba(21, 188, 223, 0.32), 0 0 0 1px var(--color-accent);
}

.card-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 22px;
}

.icon-orb {
  width: 58px;
  height: 58px;
  background: #111111;
  color: var(--color-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.modern-service-card:hover .icon-orb {
  background: var(--color-accent);
  color: #111111;
  transform: scale(1.06) rotate(-3deg);
}

.card-badges {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.tech-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-heading);
  background: #f2f1f0;
  border: 1px solid rgba(43, 48, 51, 0.15);
  padding: 4px 8px;
  border-radius: 2px;
}

.status-indicator {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-accent-border);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.status-indicator.live {
  color: #0fa3c2;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--color-accent);
}

.service-index-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #8e8e8e;
  margin-bottom: 6px;
}

.card-title {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--color-heading);
  margin-bottom: 12px;
  line-height: 1.22;
}

.card-desc {
  font-size: 14px;
  color: var(--color-body-gray);
  line-height: 1.6;
  margin-bottom: 18px;
}

.tech-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.tech-pill {
  font-size: 11px;
  font-weight: 700;
  color: #3a3a3a;
  background: #f7f6f8;
  border: 1px solid rgba(21, 188, 223, 0.25);
  padding: 3px 9px;
  border-radius: 999px;
}

.feature-bullets {
  list-style: none;
  padding: 14px 0 0;
  margin: 0 0 24px;
  border-top: 1px solid rgba(43, 48, 51, 0.08);
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.feature-bullets li {
  font-size: 13px;
  color: #3a3a3a;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.feature-bullets li::before {
  content: '>';
  color: var(--color-accent);
  font-weight: 700;
  font-family: monospace;
  font-size: 14px;
}

.card-bottom {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(43, 48, 51, 0.08);
}

.card-cta-btn {
  width: 100%;
  background: #f2f1f0;
  border: 1px solid rgba(43, 48, 51, 0.15);
  color: var(--color-heading);
  font-family: var(--font-primary);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 12px 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: all 0.2s ease;
}

.card-cta-btn svg {
  transition: transform 0.2s ease;
}

.card-cta-btn:hover {
  background: var(--color-accent);
  color: #111111;
  border-color: var(--color-accent-border);
  box-shadow: 0 6px 18px rgba(21, 188, 223, 0.35);
}

.card-cta-btn:hover svg {
  transform: translateX(4px);
}

/* Cyber CTA Section */
.services-cyber-cta-section {
  padding: 0 clamp(20px, 5vw, 64px) 80px;
}

.cyber-cta-card {
  max-width: 1200px;
  margin: 0 auto;
  background: #111111;
  color: #ffffff;
  padding: clamp(38px, 5vw, 56px) clamp(24px, 4vw, 48px);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(21, 188, 223, 0.3);
  position: relative;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.cta-headline {
  font-size: clamp(22px, 3.8vw, 36px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.1;
}

.cta-subhead {
  font-size: clamp(14px, 1.6vw, 16.5px);
  color: #a4a8ab;
  max-width: 680px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.cta-actions-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.direct-contact-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  padding: 14px 22px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.direct-contact-pill:hover {
  background: rgba(21, 188, 223, 0.16);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.pill-label {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
}

/* ==========================================================================
   Contact Modal
   ========================================================================== */

.contact-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  padding: 20px;
}

.contact-modal-backdrop[hidden] {
  display: none;
}

.contact-modal-card {
  background: #ffffff;
  width: 100%;
  max-width: 500px;
  padding: 34px 28px;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--color-accent-border);
  position: relative;
  animation: modalIn 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.modal-header h3 {
  font-size: 22px;
  letter-spacing: 0.03em;
  color: var(--color-heading);
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 32px;
  line-height: 1;
  color: #6b6f72;
  cursor: pointer;
  padding: 0 4px;
  transition: color 0.2s ease;
}

.modal-close-btn:hover {
  color: #000000;
}

.modal-subtitle {
  font-size: 14.5px;
  color: var(--color-body-gray);
  line-height: 1.5;
  margin-bottom: 24px;
}

.modal-contact-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: #f7f6f8;
  border: 1px solid rgba(21, 188, 223, 0.3);
  text-decoration: none;
  transition: all 0.2s ease;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.modal-contact-item:hover {
  background: var(--color-accent);
  border-color: var(--color-accent-border);
  transform: translateY(-2px);
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: #111111;
  color: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.modal-contact-item:hover .contact-item-icon {
  background: #111111;
  color: #ffffff;
}

.contact-item-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.item-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-body-gray);
}

.modal-contact-item:hover .item-label {
  color: #111111;
}

.item-val {
  font-size: clamp(14px, 2vw, 17px);
  font-weight: 700;
  color: var(--color-heading);
  font-family: var(--font-primary);
}

.modal-contact-item:hover .item-val {
  color: #111111;
}

/* ==========================================================================
   Mobile Responsive Breakpoint (≤ 700px)
   ========================================================================== */

@media (max-width: 700px) {
  .hero-video {
    top: 0;
    left: -12%;
    right: auto;
    width: 119%;
  }

  .hero-scrim {
    display: none;
  }

  .nav-links,
  .contact-btn {
    display: none !important;
  }

  .hamburger-btn {
    display: flex;
  }

  .hero-headline {
    margin-top: 360px;
    padding: 0 20px 28px 20px;
    font-size: clamp(34px, 10vw, 56px);
  }

  .hl-line.indent {
    padding-left: min(238px, 28vw);
  }

  .hero-cta-wrap {
    padding: 0 20px 48px calc(20px + min(238px, 28vw));
  }

  .about-left {
    padding-right: 20px;
  }

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

  .hero-stats-bar {
    grid-template-columns: 1fr 1fr;
  }

  .cyber-cta-card {
    padding: 32px 20px;
  }

  .cta-actions-row {
    flex-direction: column;
    width: 100%;
  }

  .direct-contact-pill, .btn-chamfer {
    width: 100%;
    justify-content: center;
  }
}
