/* ============================================================
   NEW YORK COMPUTER FORENSICS - Design System
   Primary: #19b5ef (sky blue)
   Dark: #231f20 (near-black)
   Orange: #e85d12 (logo badge only)
   ============================================================ */

/* ============================================================
   WCAG AA ACCESSIBILITY SHADES
   Derived from the GDF Brand Guidelines (April 2026 audit).
   The brand primary #19b5ef has only 2.36:1 contrast against
   white, failing WCAG AA for both normal text (4.5:1) and
   large text (3:1). The shades below preserve the original
   hue and saturation, darkening only lightness for AA.

   #0c7199  WCAG AA button/CTA background (GDF blue shade)
            HSL(197, 85%, 32%) - brand hue, 20% darker
            White text on #0c7199: 5.47:1 (passes AA normal)
            Used for: btn--primary bg, btn--phone bg

   #0b7199  WCAG AA text color (GDF blue shade)
            HSL(197, 87%, 32%) - brand hue, 20% darker
            #0b7199 on white: 5.47:1 (passes AA normal)
            Used for: related-card headings (light mode)

   #0a6585  WCAG AA hover state (GDF blue shade)
            HSL(196, 86%, 28%) - brand hue, 24% darker
            White text on #0a6585: 6.54:1 (passes AA normal)
            Used for: btn--primary:hover, btn--phone:hover

   #b5470c  WCAG AA emergency button (NYCF orange shade)
            HSL(21, 88%, 38%) - same hue as logo orange #e85d12
            White text on #b5470c: 5.42:1 (passes AA normal)
            Used for: breach-response emergency CTA only
            Original #e85d12 had 3.49:1 (failed AA)

   The full-value brand primary #19b5ef is preserved for all
   decorative and non-text uses: dark-mode links and buttons
   (7.94:1 on #231f20), logo, gradients, and glow effects.
   The full-value NYCF orange #e85d12 is preserved for the
   logo badge SVG circles (decorative, no text contrast need).
   ============================================================ */

/* ── Fonts ── */
@font-face {
  font-family: 'Futura BT';
  src: url('fonts/futura-heavy.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Futura BT';
  src: url('fonts/futura-light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* ── CSS Reset / Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: var(--space-20);
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

ul[role='list'], ol[role='list'] { list-style: none; }

input, button, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
  line-height: 1.15;
}

p, li, figcaption { text-wrap: pretty; max-width: 72ch; }

button { cursor: pointer; background: none; border: none; }

/* ── Design Tokens ── */
:root,
[data-theme='light'] {
  /* Brand Colors */
  --color-primary: #19b5ef;
  --color-primary-hover: #0d9fd8;
  --color-primary-active: #0885b8;
  --color-dark: #231f20;
  --color-orange: #e85d12;

  /* Light mode surfaces */
  --color-bg: #f5f7fa;
  --color-surface: #ffffff;
  --color-surface-2: #f0f4f8;
  --color-surface-offset: #e8ecf0;
  --color-divider: #dde1e6;
  --color-border: #ced3d9;

  /* Text */
  --color-text: #1a1d20;
  --color-text-muted: #5a6070;
  --color-text-faint: #9aa3af;
  --color-text-inverse: #ffffff;

  /* Navy accent (for dark sections) */
  --color-navy: #0d1528;
  --color-navy-mid: #142038;
  --color-navy-surface: #1a2845;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.18);

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-interactive: 200ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 400ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Font families */
  --font-display: 'Futura BT', 'Futura', 'Century Gothic', Arial, sans-serif;
  --font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif;

  /* 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(2.75rem, 1rem + 5.5vw, 5.5rem);

  /* 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;
  --space-32: 8rem;

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
}

[data-theme='dark'] {
  --color-bg: #0e1218;
  --color-surface: #141920;
  --color-surface-2: #1a2030;
  --color-surface-offset: #1e2535;
  --color-divider: #232c3d;
  --color-border: #2d3848;
  --color-text: #e0e6f0;
  --color-text-muted: #8090a8;
  --color-text-faint: #4a5568;
  --color-text-inverse: #0e1218;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #0e1218;
    --color-surface: #141920;
    --color-surface-2: #1a2030;
    --color-surface-offset: #1e2535;
    --color-divider: #232c3d;
    --color-border: #2d3848;
    --color-text: #e0e6f0;
    --color-text-muted: #8090a8;
    --color-text-faint: #4a5568;
    --color-text-inverse: #0e1218;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.5);
  }
}

body {
  min-height: 100dvh;
  line-height: 1.65;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
}

/* ── Accessibility ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

.skip-nav {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  background: var(--color-primary);
  color: white;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  font-weight: 700;
  z-index: 9999;
  text-decoration: none;
  transition: top var(--transition-fast);
}
.skip-nav:focus { top: var(--space-4); }

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

::selection {
  background: rgba(25, 181, 239, 0.25);
  color: var(--color-text);
}

/* ── Layout Utilities ── */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 4vw, var(--space-12));
}
.container--narrow {
  max-width: var(--content-narrow);
}
.container--default {
  max-width: var(--content-default);
}

/* ── Announcement Bar ── */
.announcement-bar {
  background: var(--color-dark);
  color: var(--color-primary);
  text-align: center;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.announcement-bar a {
  color: white;
  text-decoration: none;
  font-weight: 700;
}
.announcement-bar a:hover { color: var(--color-primary); }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 21, 40, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(25, 181, 239, 0.15);
  transition: box-shadow var(--transition-slow), background var(--transition-slow);
}
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  background: rgba(13, 21, 40, 0.98);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-block: var(--space-3);
}

/* Header needs tighter padding to fit all nav items at narrower desktops */
.site-header .container {
  padding-inline: clamp(var(--space-3), 2vw, var(--space-8));
}

/* ── Logo ── */
.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
  flex-shrink: 0;
}
.site-logo svg { display: block; }

/* ── Navigation ── */
.site-nav {
  flex: 1;
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0;
  flex: 1;
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.nav-links a {
  display: block;
  padding: var(--space-2) clamp(0.35rem, 0.5vw, 0.65rem);
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: clamp(0.7rem, 0.65rem + 0.25vw, 0.8125rem);
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
}
.nav-links a:hover,
.nav-links a[aria-current='page'] {
  color: var(--color-primary);
  background: rgba(25, 181, 239, 0.08);
}

/* ── Header CTA ── */
.header-cta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-shrink: 0;
}

.btn-theme-toggle {
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  padding: var(--space-2);
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-theme-toggle:hover {
  background: rgba(255,255,255,0.1);
  color: white;
}

/* ── Hamburger ── */
/* Nav close button - hidden on desktop, shown in mobile overlay */
.nav-close-btn { display: none; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}
.hamburger[aria-expanded='true'] span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded='true'] span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-interactive);
  white-space: nowrap;
}
.btn--primary {
  background: #0c7199;
  color: white;
  border-color: #0c7199;
}
.btn--primary:hover {
  background: #0a6585;
  border-color: #0a6585;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(25, 181, 239, 0.35);
}
.btn--outline {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.5);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
}
.btn--outline-primary {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--outline-primary:hover {
  background: var(--color-primary);
  color: white;
}
.btn--phone {
  background: #0c7199;
  color: white;
  border-color: #0c7199;
  padding: var(--space-2) var(--space-3);
  font-size: clamp(0.65rem, 0.6rem + 0.2vw, 0.75rem);
  white-space: nowrap;
}
@media (max-width: 1350px) and (min-width: 901px) {
  .btn--phone .phone-text { display: none; }
  .btn--phone { padding: var(--space-2); }
}
.btn--phone:hover {
  background: #0a6585;
  box-shadow: 0 4px 16px rgba(25, 181, 239, 0.4);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 21, 40, 0.92) 0%,
    rgba(13, 21, 40, 0.75) 50%,
    rgba(9, 15, 30, 0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: var(--space-20);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(25, 181, 239, 0.15);
  border: 1px solid rgba(25, 181, 239, 0.3);
  color: var(--color-primary);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}
.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 700;
  color: white;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: var(--space-6);
  max-width: 15ch;
}

.hero h1 span { color: var(--color-primary); }

.hero-sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.78);
  max-width: 55ch;
  margin-bottom: var(--space-10);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
}

.hotline-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-6);
}
.hotline-badge .badge-icon {
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hotline-badge .badge-text {
  display: flex;
  flex-direction: column;
}
.hotline-badge .badge-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-display);
}
.hotline-badge .badge-phone {
  font-size: var(--text-lg);
  font-family: var(--font-display);
  font-weight: 700;
  color: white;
  letter-spacing: 0.02em;
}

/* ── Inner Page Hero ── */
.page-hero {
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-navy, #0d1528) 100%);
  padding-block: clamp(var(--space-16), 10vw, var(--space-32));
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(25, 181, 239, 0.08) 0%, transparent 70%);
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}
@media (max-width: 768px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-image { display: none; }
}
.page-hero-image img {
  border-radius: var(--radius-xl);
  object-fit: cover;
  height: 340px;
  width: 100%;
}
.page-hero-eyebrow {
  display: inline-block;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin-bottom: var(--space-4);
}
.page-hero p {
  color: rgba(255,255,255,0.72);
  font-size: var(--text-base);
  line-height: 1.65;
  margin-bottom: var(--space-8);
}

/* ── Stats Bar ── */
.stats-bar {
  background: var(--color-dark);
  padding-block: var(--space-8);
  border-top: 1px solid rgba(25, 181, 239, 0.2);
  border-bottom: 1px solid rgba(25, 181, 239, 0.2);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
@media (max-width: 600px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
.stat-item {
  text-align: center;
  padding: var(--space-4);
}
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-2);
}
.stat-label {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── Section Headers ── */
.section-header {
  text-align: center;
  margin-bottom: clamp(var(--space-10), 5vw, var(--space-16));
}
.section-eyebrow {
  display: inline-block;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}
.section-subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 60ch;
  margin-inline: auto;
}

/* ── Sections ── */
.section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
}
.section--dark {
  background: var(--color-dark);
  color: white;
}
.section--dark .section-title { color: white; }
.section--dark .section-subtitle { color: rgba(255,255,255,0.65); }

.section--navy {
  background: var(--color-navy, #0d1528);
  color: white;
}
.section--navy .section-title { color: white; }

.section--blue-gradient {
  background: linear-gradient(135deg, #0d2035 0%, #0a1a30 50%, #091525 100%);
  position: relative;
  overflow: hidden;
}
.section--blue-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(25, 181, 239, 0.12) 0%, transparent 65%);
}

/* ── Service Cards ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-6);
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive), border-color var(--transition-interactive);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}
.service-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover .service-card-img img {
  transform: scale(1.04);
}
.service-card-body {
  padding: var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-card-icon {
  width: 44px;
  height: 44px;
  background: rgba(25, 181, 239, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  color: var(--color-primary);
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}
.service-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: var(--space-5);
}
.service-card-link {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  transition: gap var(--transition-fast);
}
.service-card:hover .service-card-link { gap: var(--space-3); }

/* ── Media Trust Badges ── */
.media-section {
  background: var(--color-dark);
  padding-block: var(--space-12);
}
.media-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: rgba(255,255,255,0.70);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-8);
}
.media-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(var(--space-6), 4vw, var(--space-12));
  flex-wrap: wrap;
}
.media-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}
.media-badge:hover { opacity: 1; }
.media-badge-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.media-badge-sub {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.70);
  text-align: center;
}
.media-badge-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
}

/* ── Testimonial ── */
.testimonial-section {
  background: linear-gradient(135deg, #0d1528 0%, #0a1020 100%);
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
}
.testimonial-inner {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}
.testimonial-quote-mark {
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 0.5;
  color: var(--color-primary);
  opacity: 0.4;
  margin-bottom: var(--space-6);
  display: block;
}
.testimonial-text {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: var(--space-8);
}
.testimonial-text p { max-width: none; }
.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
}
.testimonial-author-name {
  font-family: var(--font-display);
  font-weight: 700;
  color: white;
  font-size: var(--text-base);
}
.testimonial-author-title {
  font-size: var(--text-sm);
  color: var(--color-primary);
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}

/* ── Why NYCF ── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}
@media (max-width: 768px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-grid-image { order: -1; }
}
.why-grid-image img {
  border-radius: var(--radius-xl);
  width: 100%;
  height: 440px;
  object-fit: cover;
}
.why-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.why-checklist li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  color: rgba(255,255,255,0.85);
  font-size: var(--text-base);
  max-width: none;
}
.check-icon {
  width: 22px;
  height: 22px;
  background: rgba(25, 181, 239, 0.15);
  border: 1px solid rgba(25, 181, 239, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-primary);
}

/* ── Coverage Map Callout ── */
.coverage-bar {
  background: rgba(25, 181, 239, 0.06);
  border-top: 1px solid rgba(25, 181, 239, 0.15);
  border-bottom: 1px solid rgba(25, 181, 239, 0.15);
  padding-block: var(--space-6);
}
.coverage-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.coverage-label {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: #5a6478;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
[data-theme='dark'] .coverage-label {
  color: rgba(255,255,255,0.5);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .coverage-label { color: rgba(255,255,255,0.5); }
}
.coverage-locations {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  align-items: center;
}
.coverage-dot {
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
}
.coverage-city {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: #231f20;
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
[data-theme='dark'] .coverage-city {
  color: white;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .coverage-city { color: white; }
}

/* ── CTA Section ── */
.cta-section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
  position: relative;
  overflow: hidden;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: white;
  text-align: center;
  margin-bottom: var(--space-4);
}
.cta-sub {
  text-align: center;
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-10);
  font-size: var(--text-base);
}
.cta-sub p { margin-inline: auto; }

/* ── Contact Form ── */
.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-8), 4vw, var(--space-12));
  max-width: 680px;
  margin-inline: auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
@media (max-width: 540px) {
  .form-grid { grid-template-columns: 1fr; }
}
.form-grid .form-group--full { grid-column: 1 / -1; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.form-group label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  color: white;
  font-size: var(--text-sm);
  transition: border-color var(--transition-fast), background var(--transition-fast);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: rgba(25, 181, 239, 0.05);
}
.form-group select option { background: #1a2030; color: white; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-error {
  font-size: var(--text-xs);
  color: #ff6b6b;
  display: none;
}
.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select {
  border-color: #ff6b6b;
}
.form-group.has-error .form-error { display: block; }

.form-submit-row {
  text-align: center;
  margin-top: var(--space-6);
}
.form-success {
  display: none;
  text-align: center;
  padding: var(--space-8);
  color: white;
}
.form-success .success-icon {
  width: 56px;
  height: 56px;
  background: rgba(25, 181, 239, 0.15);
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  color: var(--color-primary);
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}
.form-success p { color: rgba(255,255,255,0.7); max-width: none; }

/* ── Footer ── */
.site-footer {
  background: #0a0d12;
  border-top: 1px solid rgba(25, 181, 239, 0.1);
  padding-block: var(--space-16) var(--space-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: var(--text-sm);
  margin-top: var(--space-4);
  max-width: 34ch;
}
.footer-col-title {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}
.footer-links a:hover { color: var(--color-primary); }

.footer-office {
  margin-bottom: var(--space-4);
}
.footer-office-name {
  font-family: var(--font-display);
  font-weight: 700;
  color: white;
  font-size: var(--text-sm);
  margin-bottom: var(--space-1);
}
.footer-office-addr {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.footer-copy {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.65);
}
.footer-phone {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
  font-size: var(--text-sm);
  text-decoration: none;
}
.footer-phone:hover { color: white; }

.footer-legal {
  display: flex;
  gap: var(--space-5);
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.88);
  text-decoration: none;
}

.footer-legal a:hover { color: white; }

@media (max-width: 480px) {
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── Inner Page Layout ── */
.page-content {
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
}
.page-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-12);
  align-items: start;
}
@media (max-width: 900px) {
  .page-layout { grid-template-columns: 1fr; }
  .page-sidebar { order: -1; }
}

/* ── Sidebar ── */
.sidebar-card {
  background: linear-gradient(135deg, var(--color-dark) 0%, #1a2030 100%);
  border: 1px solid rgba(25, 181, 239, 0.2);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: sticky;
  top: calc(var(--space-20) + var(--space-4));
}
.sidebar-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: white;
  margin-bottom: var(--space-4);
}
.sidebar-phone {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  margin-bottom: var(--space-6);
  letter-spacing: 0.02em;
}
.sidebar-phone:hover { color: white; }
.sidebar-card p {
  color: rgba(255,255,255,0.6);
  font-size: var(--text-sm);
  margin-bottom: var(--space-6);
  max-width: none;
}
.sidebar-badges {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-6);
}
.sidebar-badge {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: rgba(25, 181, 239, 0.08);
  border: 1px solid rgba(25, 181, 239, 0.15);
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.75);
  font-family: var(--font-display);
  font-weight: 700;
}
.sidebar-badge svg { color: var(--color-primary); flex-shrink: 0; }

/* ── Service Detail Content ── */
.content-section {
  margin-bottom: var(--space-10);
}
.content-section h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}
.content-section h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}
.content-section p {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  color: var(--color-text-muted);
  font-size: var(--text-base);
  max-width: none;
}
.feature-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.55em;
}

/* ── Service Blocks (icon + title + desc + bullets) ── */
.service-blocks {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}
.service-block {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--space-5);
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition-fast);
}
.service-block:hover { border-color: var(--color-primary); }
.service-block-icon {
  width: 56px;
  height: 56px;
  background: rgba(25, 181, 239, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}
.service-block-content h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.service-block-content p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
  max-width: none;
}
.capability-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.capability-tag {
  display: inline-flex;
  padding: var(--space-1) var(--space-3);
  background: rgba(25, 181, 239, 0.08);
  border: 1px solid rgba(25, 181, 239, 0.2);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ── Process Steps ── */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.process-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: var(--space-6);
  position: relative;
  padding-bottom: var(--space-8);
}
.process-step:last-child { padding-bottom: 0; }
.process-step-num {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.step-circle {
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  color: white;
  flex-shrink: 0;
}
.step-line {
  flex: 1;
  width: 2px;
  background: rgba(25, 181, 239, 0.2);
  margin-top: var(--space-2);
}
.process-step:last-child .step-line { display: none; }
.process-step-content {
  padding-top: var(--space-3);
  padding-bottom: var(--space-4);
}
.process-step-content h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.process-step-content p {
  color: var(--color-text-muted);
  max-width: none;
}

/* ── Office Cards ── */
.offices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-6);
}
.office-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.office-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}
.office-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(25, 181, 239, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}
.office-card .office-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.office-card .office-addr {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.55;
  max-width: none;
}
.office-card .office-addr a {
  color: var(--color-text-muted);
  text-decoration: none;
}
.office-card .office-addr a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

/* ── Contact Page ── */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
}
@media (max-width: 768px) {
  .contact-split { grid-template-columns: 1fr; }
}
.contact-info h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: white;
  margin-bottom: var(--space-4);
}
.contact-info p {
  color: rgba(255,255,255,0.65);
  margin-bottom: var(--space-6);
  max-width: none;
}
.contact-phone-big {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  margin-bottom: var(--space-4);
  line-height: 1;
}
.contact-phone-big:hover { color: white; }

/* ── About Page ── */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  margin-bottom: var(--space-16);
}
@media (max-width: 768px) {
  .about-intro-grid { grid-template-columns: 1fr; }
}
.cert-badges {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-6);
}
.cert-badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(25, 181, 239, 0.1);
  border: 1px solid rgba(25, 181, 239, 0.25);
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-primary);
}

/* ── Scroll Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *,*::before,*::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Mobile Nav ── */
@media (max-width: 900px) {
  /* Mobile header layout fix */
  .header-inner {
    padding-block: var(--space-3);
    gap: var(--space-2);
    overflow: visible;
  }
  /* Shrink logo on mobile */
  .site-logo svg {
    width: 180px !important;
    height: auto !important;
  }
  /* Collapse site-nav wrapper but keep nav-links able to go fixed/fullscreen */
  .site-nav {
    display: block;
    flex: 0 0 0;
    overflow: visible;
    width: 0;
    padding: 0;
    margin: 0;
  }
  /* Show hamburger and ensure it's clickable */
  .hamburger {
    display: flex;
    flex-shrink: 0;
    position: relative;
    z-index: 300;
    margin-left: auto;
  }
  /* Hide phone button on mobile CTA, keep theme toggle */
  .header-cta .btn--phone { display: none; }
  .header-cta {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }
  /* Fullscreen mobile nav overlay */
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    flex: none;
    background: rgba(10, 13, 18, 0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    z-index: 9000;
    padding: var(--space-8);
    list-style: none;
    margin: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    font-size: var(--text-xl);
    padding: var(--space-4) var(--space-8);
    text-align: center;
  }
  /* Close button inside mobile nav overlay */
  .nav-close-btn {
    display: flex;
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: var(--space-3);
    border-radius: var(--radius-sm);
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    transition: color var(--transition-fast);
  }
  .nav-close-btn:hover { color: var(--color-primary); }
}

/* ── Utilities ── */
.text-center { text-align: center; }
.mt-auto { margin-top: auto; }
a { color: var(--color-primary); transition: color var(--transition-fast); }
a:hover { color: var(--color-primary-hover); }


/* Infographic sections */
.section-infographic {
  padding: var(--space-10) var(--space-6);
  background: var(--color-surface);
  border-top: 1px solid rgba(25, 181, 239, 0.15);
  border-bottom: 1px solid rgba(25, 181, 239, 0.15);
  text-align: center;
  overflow-x: auto;
}
.infographic-img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

/* Related Services */
.related-services { padding: var(--space-10) var(--space-6); background: var(--color-surface); }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--space-6); margin-top: var(--space-6); }
.related-card { display: block; padding: var(--space-6); border: 1px solid rgba(25, 181, 239, 0.2); border-radius: var(--radius-md); text-decoration: none; color: inherit; transition: border-color var(--transition-fast), transform var(--transition-fast); }
.related-card:hover { border-color: var(--color-primary); transform: translateY(-2px); }
.related-card h3 { font-family: var(--font-heading); font-size: var(--text-lg); color: #0b7199; margin-bottom: var(--space-2); }
[data-theme='dark'] .related-card h3 { color: var(--color-primary); }
.related-card p { font-size: var(--text-sm); opacity: 0.75; margin: 0; }

/* Page updated line */
.page-updated { font-size: var(--text-xs); color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-top: var(--space-6); }
