/* ============================================
   ORCRIST DRONE SERVICES — RETRO DESIGN SYSTEM
   Pit Viper / Atari / 80s Arcade Aesthetic
   ============================================ */

/* Google Fonts now loaded via <link> in index.html for faster paint */

:root {
  /* Fonts */
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Rajdhani', sans-serif;
  --font-pixel: 'Press Start 2P', monospace;

  /* Type Scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(3rem,     0.5rem  + 7vw,    8rem);

  /* Colors — Dark retro palette */
  --color-bg:         #0a0a0f;
  --color-surface:    #111118;
  --color-surface-2:  #1a1a24;
  --color-border:     #2a2a3a;
  --color-text:       #e0e0e8;
  --color-text-muted: #8888a0;
  --color-text-faint: #55556a;
  --color-accent:     #00e5cc;
  --color-accent-dim: #009988;
  --color-accent-glow: rgba(0, 229, 204, 0.15);
  --color-hot:        #ffe500;
  --color-hot-glow:   rgba(255, 229, 0, 0.15);
  --color-danger:     #ff3366;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --content-max: 1140px;
  --radius-sm: 2px;
  --radius-md: 4px;

  /* Shadows */
  --glow-accent: 0 0 20px rgba(0, 229, 204, 0.3), 0 0 60px rgba(0, 229, 204, 0.1);
  --glow-hot:    0 0 20px rgba(255, 229, 0, 0.3), 0 0 60px rgba(255, 229, 0, 0.1);
}

/* ============================================
   LAYOUT
   ============================================ */

.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

section {
  padding: clamp(var(--space-12), 8vw, var(--space-24)) 0;
}

/* ============================================
   SCANLINES OVERLAY
   ============================================ */

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
}

/* ============================================
   TOP BAR
   ============================================ */

.top-bar {
  background: var(--color-accent);
  color: var(--color-bg);
  text-align: center;
  padding: var(--space-2) var(--space-4);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  max-height: 48px;
  opacity: 1;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
}

.nav.scrolled .top-bar {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.top-bar span {
  margin: 0 var(--space-3);
  opacity: 0.4;
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-4) 0;
  transition: all 0.4s;
  background: rgba(10, 10, 15, 0.6);
  backdrop-filter: blur(12px);
}

.nav.scrolled {
  background: rgba(10, 10, 15, 0.95);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-border);
}

.nav-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: flex;
  align-items: center;
}

.nav-logo {
  margin-right: auto;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-accent);
  text-shadow: 0 0 20px rgba(0, 229, 204, 0.4), 0 0 40px rgba(0, 229, 204, 0.15);
}

.nav-logo-sub {
  font-family: var(--font-display);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-decoration: none;
  position: relative;
  white-space: nowrap;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--color-accent) !important;
  color: var(--color-bg) !important;
  padding: var(--space-2) var(--space-6) !important;
  font-weight: 800 !important;
  border: 2px solid var(--color-accent) !important;
}

.nav-cta:hover {
  background: transparent !important;
  color: var(--color-accent) !important;
  box-shadow: var(--glow-accent);
}

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

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-accent);
  transition: all 0.3s;
}

/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 120px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--color-bg) 0%, transparent 30%, transparent 60%, var(--color-bg) 100%),
    radial-gradient(ellipse at center, transparent 30%, var(--color-bg) 80%);
}

/* Grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 204, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 204, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 var(--space-6);
}

.hero-logo {
  width: 260px;
  height: auto;
  margin: 0 auto var(--space-8);
  filter: drop-shadow(0 0 30px rgba(0, 229, 204, 0.5)) drop-shadow(0 0 60px rgba(0, 229, 204, 0.15));
  animation: float 6s ease-in-out infinite;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 900;
  color: #fff;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
  line-height: 1.1;
}

.hero-h1-kicker {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.hero h1 .accent {
  color: var(--color-accent);
  text-shadow: 0 0 40px rgba(0, 229, 204, 0.5);
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--color-hot);
  margin-bottom: var(--space-8);
}

.hero-desc {
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text);
  max-width: 540px;
  margin: 0 auto var(--space-10);
  line-height: 1.7;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-ctas {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-12);
}

.hero-stats {
  display: flex;
  gap: var(--space-12);
  justify-content: center;
}

.hero-stat {
  text-align: center;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 900;
  color: var(--color-accent);
}

.hero-stat-label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ============================================
   HERO LEAD FORM
   ============================================ */

.hero-form {
  margin: 0 auto var(--space-8);
  max-width: 780px;
  text-align: left;
}

.hero-form-label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  letter-spacing: 3px;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
  display: block;
  text-align: center;
}

.hero-form-row {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.hero-input {
  flex: 1;
  min-width: 160px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  outline: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 200ms, box-shadow 200ms;
}

.hero-input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(0, 229, 204, 0.12);
}

.hero-input::placeholder { color: var(--color-text-muted); }

.hero-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2300e5cc' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.hero-select option {
  background: #0a0a0f;
  color: var(--color-text);
}

.hero-form .btn {
  white-space: nowrap;
  flex-shrink: 0;
}

.hero-form-success {
  display: none;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  border: 1px solid var(--color-accent);
  background: rgba(0, 229, 204, 0.06);
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  letter-spacing: 1px;
  font-weight: 600;
}

.hero-form-note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
  text-align: center;
  max-width: none;
}

.hero-services-link {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  letter-spacing: 3px;
  color: var(--color-text-muted);
  text-decoration: none;
  text-transform: uppercase;
  margin-bottom: var(--space-12);
  transition: color 200ms;
}

.hero-services-link:hover { color: var(--color-accent); }

@media (max-width: 640px) {
  .hero-form-row {
    flex-direction: column;
  }
  .hero-input,
  .hero-form .btn {
    min-width: 100%;
    width: 100%;
  }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-bg);
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background: transparent;
  color: var(--color-accent);
  box-shadow: var(--glow-accent);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-hot);
  border-color: var(--color-hot);
}

.btn-outline:hover {
  background: var(--color-hot);
  color: var(--color-bg);
  box-shadow: var(--glow-hot);
  transform: translateY(-2px);
}

.btn-arrow::after {
  content: ' →';
}

/* ============================================
   TRUST BAR
   ============================================ */

.trust-bar {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-6) 0;
  background: var(--color-surface);
}

.trust-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-10);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.trust-icon {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
}

/* ============================================
   SECTION STYLES
   ============================================ */

.section-label {
  font-family: var(--font-pixel);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.section-label::before {
  content: '>';
  color: var(--color-accent);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 540px;
  font-weight: 400;
  line-height: 1.7;
}

/* ============================================
   SERVICES
   ============================================ */

.services {
  background: var(--color-bg);
}

.services-header {
  margin-bottom: var(--space-12);
}

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

.service-card {
  background: var(--color-surface);
  padding: var(--space-8) var(--space-6);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all 0.4s;
  cursor: pointer;
}

.service-card:hover {
  background: var(--color-surface-2);
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: var(--glow-accent);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

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

.service-num {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 900;
  color: rgba(0, 229, 204, 0.08);
  line-height: 1;
  margin-bottom: var(--space-4);
}

.service-icon {
  width: 40px;
  height: 40px;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.service-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

.service-desc {
  color: var(--color-text-muted);
  font-weight: 400;
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.service-features {
  list-style: none;
  margin-bottom: var(--space-4);
}

.service-features li {
  font-size: var(--text-sm);
  color: var(--color-text);
  padding: var(--space-1) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.service-features li::before {
  content: '▸';
  color: var(--color-accent);
  font-weight: 700;
  font-size: var(--text-xs);
}

.service-cta {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  text-decoration: none;
  transition: color 200ms, letter-spacing 200ms;
}

.service-cta:hover {
  color: #fff;
  letter-spacing: 3px;
}

/* ============================================
   WORK / VIDEOS
   ============================================ */

.work {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  position: relative;
}

.work::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 229, 204, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.work-header {
  text-align: center;
  margin-bottom: var(--space-12);
  position: relative;
  z-index: 2;
}

.work-header .section-label {
  justify-content: center;
}

.work-header .section-subtitle {
  margin: var(--space-4) auto 0;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.work-video {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.work-video-link {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  text-decoration: none;
  color: inherit;
}

.work-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.work-video:hover .work-video-frame,
.work-video-link:focus-visible .work-video-frame {
  border-color: var(--color-accent);
  box-shadow: var(--glow-accent);
  transform: translateY(-4px);
}

.work-video-link:focus { outline: none; }

.work-video-frame iframe,
.work-video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.work-video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.3s ease;
  filter: brightness(0.85);
}

.work-video:hover .work-video-thumb {
  transform: scale(1.04);
  filter: brightness(1);
}

.work-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: var(--color-bg);
  border: 2px solid var(--color-accent);
  box-shadow: var(--glow-accent);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.work-video-play svg {
  margin-left: 3px; /* optical centering of play triangle */
}

.work-video:hover .work-video-play {
  transform: translate(-50%, -50%) scale(1.12);
  background: #fff;
  color: var(--color-bg);
}

.work-video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  color: var(--color-text-muted);
  background:
    linear-gradient(135deg, var(--color-surface) 0%, var(--color-surface-2) 100%);
}

.work-video-placeholder svg {
  color: var(--color-accent);
  opacity: 0.7;
}

.work-video-placeholder span {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.work-video-caption {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text);
  text-align: center;
}

@media (max-width: 900px) {
  .work-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .work-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   PROCESS
   ============================================ */

.process {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.process-header {
  margin-bottom: var(--space-12);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent), var(--color-accent), transparent);
  opacity: 0.3;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step-num {
  width: 64px;
  height: 64px;
  border: 2px solid var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 900;
  color: var(--color-accent);
  margin: 0 auto var(--space-6);
  background: var(--color-surface);
  position: relative;
  z-index: 2;
}

.process-step-title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.process-step-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 400;
  line-height: 1.6;
}

/* ============================================
   THE ORCRIST STANDARD (compliance/safety)
   ============================================ */

.standard {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  position: relative;
}

.standard::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 229, 0, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.standard-header {
  text-align: center;
  margin-bottom: var(--space-12);
  position: relative;
  z-index: 2;
}

.standard-header .section-label {
  justify-content: center;
}

.standard-header .section-subtitle {
  margin: var(--space-4) auto 0;
  max-width: 720px;
}

.standard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  position: relative;
  z-index: 2;
}

.standard-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.standard-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.standard-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: var(--glow-accent);
}

.standard-card:hover::before {
  transform: scaleX(1);
}

.standard-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  margin-bottom: var(--space-5);
}

.standard-card-icon svg {
  width: 24px;
  height: 24px;
}

.standard-card-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: #fff;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

.standard-card-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  font-weight: 400;
}

.standard-cta {
  margin-top: var(--space-12);
  text-align: center;
  position: relative;
  z-index: 2;
}

.standard-cta p {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: 1px;
  color: #fff;
  margin: 0 auto var(--space-6);
  max-width: none;
}


/* ============================================
   SERVICE AREAS
   ============================================ */

.areas {
  background: var(--color-bg);
}

.areas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.areas-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
}

.area-item {
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-text);
  transition: all 0.2s;
}

.area-item:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  box-shadow: inset 0 0 20px var(--color-accent-glow);
}

/* ============================================
   FAQ
   ============================================ */

.faq {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.faq-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.faq-header .section-label {
  justify-content: center;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.faq-item[open],
.faq-item:hover {
  border-color: var(--color-accent);
}

.faq-item[open] {
  box-shadow: var(--glow-accent);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question::after {
  content: '+';
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--color-accent);
  flex-shrink: 0;
  transition: transform 0.3s ease, color 0.3s ease;
  line-height: 1;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 var(--space-6) var(--space-6);
  color: var(--color-text);
  font-size: var(--text-base);
  line-height: 1.7;
  border-top: 1px solid var(--color-border);
}

.faq-answer p {
  padding-top: var(--space-4);
}

.faq-answer a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-answer a:hover {
  color: #fff;
}

.faq-cta {
  max-width: 820px;
  margin: var(--space-10) auto 0;
  padding: var(--space-6);
  text-align: center;
  border: 1px dashed var(--color-border);
  background: rgba(0, 229, 204, 0.04);
}

.faq-cta p {
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--color-text);
  max-width: none;
}

.faq-cta a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
}

.faq-cta a:hover {
  color: #fff;
}

/* ============================================
   CONTACT / QUOTE FORM
   ============================================ */

.contact {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 229, 204, 0.04) 0%, transparent 60%);
}

.contact-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.contact-info {
  padding-right: var(--space-8);
}

.contact-methods {
  margin-top: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.contact-method {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  text-decoration: none;
  color: inherit;
  padding: var(--space-2);
  margin: calc(var(--space-2) * -1);
  border-radius: var(--radius-sm);
  transition: background 0.2s, transform 0.2s;
}

.contact-method:hover {
  background: rgba(0, 229, 204, 0.06);
  transform: translateX(2px);
}

.contact-method:hover .contact-method-icon {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px var(--color-accent);
}

.contact-method-icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}

.contact-method-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 2px;
}

.contact-method-value {
  font-size: var(--text-base);
  color: #fff;
  font-weight: 600;
}

/* Form */
.form-wrap {
  background: var(--color-bg);
  padding: var(--space-8);
  border: 1px solid var(--color-border);
  position: relative;
}

.form-wrap::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-hot));
}

.form-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: var(--space-1);
}

.form-sub {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  font-weight: 400;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-group {
  margin-bottom: var(--space-4);
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: #fff;
  font-family: var(--font-body);
  font-size: var(--text-base);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px var(--color-accent-glow);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-muted);
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2388889a' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: var(--space-2);
}

.form-note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-align: center;
  margin-top: var(--space-4);
}

.form-success {
  display: none;
  text-align: center;
  padding: var(--space-12) var(--space-6);
}

.form-success.show {
  display: block;
}

.form-success-icon {
  width: 64px;
  height: 64px;
  border: 2px solid var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  margin: 0 auto var(--space-6);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  padding: var(--space-8) 0 var(--space-6);
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.footer-logo-img {
  height: 120px;
  width: auto;
  filter: drop-shadow(0 0 12px rgba(0, 229, 204, 0.35));
  transition: filter 0.3s;
}

.footer-logo-img:hover {
  filter: drop-shadow(0 0 20px rgba(0, 229, 204, 0.6));
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-align: center;
  margin: 0;
}

.footer-nap {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  align-items: center;
  text-align: center;
  padding: var(--space-6) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  width: 100%;
  max-width: 480px;
}

.footer-nap-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}

.footer-nap-link {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 1px;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nap-link:hover {
  color: var(--color-accent);
}

.footer-nap-address {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.footer-nap-hours {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

.footer-links {
  display: flex;
  gap: var(--space-6);
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-copy {
  width: 100%;
  text-align: center;
  padding-top: var(--space-6);
  margin-top: var(--space-6);
  border-top: 1px solid var(--color-border);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.footer-copy a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.footer-copy a:hover {
  color: var(--color-accent);
}

/* ============================================
   CHATBOT
   ============================================ */

#chatbot-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9990;
  box-shadow: var(--glow-accent);
  transition: all 0.3s;
  color: var(--color-bg);
  border: 2px solid var(--color-accent);
}

#chatbot-fab:hover {
  transform: scale(1.1);
  background: transparent;
  color: var(--color-accent);
}

#fab-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 22px;
  height: 22px;
  background: var(--color-danger);
  color: white;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s infinite;
}

#fab-badge.hidden {
  display: none;
}

#chatbot-window {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 400px;
  max-height: 560px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  z-index: 9989;
  display: none;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 12px 60px rgba(0, 0, 0, 0.6);
}

#chatbot-window.open {
  display: flex;
  animation: slideUp 0.3s ease-out;
}

#chatbot-header {
  padding: var(--space-4);
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#chatbot-header-left {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

#chatbot-name {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
}

#chatbot-status {
  font-size: 10px;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

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

#chatbot-close {
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 4px;
}

#chatbot-close:hover {
  color: #fff;
}

#chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-height: 280px;
  max-height: 340px;
}

.chat-msg {
  display: flex;
  gap: var(--space-2);
  max-width: 88%;
}

.chat-msg.bot {
  align-self: flex-start;
}

.chat-msg.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.chat-msg-avatar {
  width: 28px;
  height: 28px;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 8px;
  font-weight: 700;
  color: var(--color-accent);
  flex-shrink: 0;
}

.chat-msg-bubble {
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.chat-msg.bot .chat-msg-bubble {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
}

.chat-msg.user .chat-msg-bubble {
  background: var(--color-accent);
  color: var(--color-bg);
}

.chat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.chat-chip {
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--color-accent);
  background: transparent;
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}

.chat-chip:hover {
  background: var(--color-accent);
  color: var(--color-bg);
}

.chat-typing {
  display: flex;
  gap: 4px;
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.chat-typing span {
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: typingBounce 1.2s infinite;
}

.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

#chatbot-input-area {
  padding: var(--space-3);
  border-top: 1px solid var(--color-border);
  display: flex;
  gap: var(--space-2);
  background: var(--color-surface);
}

#chatbot-input {
  flex: 1;
  padding: var(--space-3);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  color: #fff;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  resize: none;
  outline: none;
}

#chatbot-input:focus {
  border-color: var(--color-accent);
}

#chatbot-send {
  padding: var(--space-2) var(--space-4);
  background: var(--color-accent);
  border: none;
  color: var(--color-bg);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}

#chatbot-send:hover {
  background: #fff;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

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

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-6px); }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .process-steps {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
  .process-steps::before {
    display: none;
  }
  .areas-grid,
  .contact-inner {
    grid-template-columns: 1fr;
  }
  .contact-info {
    padding-right: 0;
  }
  .hero-stats {
    gap: var(--space-6);
  }
}

@media (max-width: 640px) {
  /* Hide top bar on mobile — info is repeated in the trust bar below */
  .top-bar {
    display: none;
  }
  /* Nav is now just logo + hamburger row (~64px). Clear it cleanly. */
  .hero {
    padding-top: 80px;
    padding-bottom: 3rem;
    align-items: flex-start;
  }
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.98);
    padding: var(--space-6);
    gap: var(--space-4);
    border-bottom: 1px solid var(--color-border);
  }
  .hero h1 {
    font-size: var(--text-2xl);
  }
  .hero-ctas {
    flex-direction: column;
  }
  .hero-ctas .btn {
    text-align: center;
    justify-content: center;
  }
  .process-steps {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .areas-list {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  .form-wrap {
    padding: var(--space-6) var(--space-4);
  }
  .hero-content {
    width: 100%;
  }
  .hero-logo {
    width: 160px;
    margin-bottom: var(--space-4); /* tighter gap to "EYES IN THE SKY" */
  }
  #chatbot-window {
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 100vh;
  }
  /* New sections — mobile sizing */
  .hero-h1-kicker {
    font-size: 10px;
    letter-spacing: 2px;
    margin-bottom: var(--space-2);
  }
  .standard-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .standard-card {
    padding: var(--space-6);
  }
  .standard-cta {
    margin-top: var(--space-8);
  }
  .standard-cta p {
    font-size: var(--text-sm);
  }
  .faq-question {
    padding: var(--space-4) var(--space-5);
    font-size: var(--text-xs);
  }
  .faq-answer {
    padding: 0 var(--space-5) var(--space-5);
    font-size: var(--text-sm);
  }
  .faq-cta {
    margin-top: var(--space-8);
    padding: var(--space-4) var(--space-5);
  }
  .faq-cta p {
    font-size: var(--text-xs);
  }
  .footer-logo-img {
    height: 90px;
  }
  .footer-nap {
    padding: var(--space-5) 0;
  }
  /* Hero stats sit on one wrapped row instead of stacking vertically */
  .hero-stats {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-6);
  }
}
