/* =========================================================
   Northport Technologies — Managed IT Services
   Style Sheet
   ========================================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

/* --- Design Tokens --- */
:root {
  --blue:    #1f6bff;
  --navy:    #0a1b3d;
  --sky:     #5fa8ff;
  --ice:     #eaf1ff;
  --ink:     #0c1424;
  --white:   #ffffff;
  --slate:   #6b7a99;
  --border:  rgba(31, 107, 255, 0.15);
  --blue-mid: #1456cc;
  --blue-pale: #d6e6ff;

  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body:    'IBM Plex Sans', system-ui, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-card: 0 2px 20px rgba(10, 27, 61, 0.08), 0 1px 4px rgba(10, 27, 61, 0.04);
  --shadow-card-hover: 0 8px 32px rgba(31, 107, 255, 0.14), 0 2px 8px rgba(10, 27, 61, 0.06);

  --transition: 0.22s ease;
  --transition-slow: 0.4s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: #1a2640;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.2rem; font-weight: 600; }

.label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky);
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }

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

.section-header {
  margin-bottom: 3.5rem;
}
.section-header .label { margin-bottom: 0.75rem; }
.section-header p {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: var(--slate);
  max-width: 560px;
}
.section-header.text-center p { margin-left: auto; margin-right: auto; }

/* --- Focus Styles (Accessibility) --- */
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =========================================================
   NAVIGATION
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 27, 61, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(95, 168, 255, 0.12);
  transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: rgba(8, 20, 48, 0.97);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.22);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.nav-logo-mark { width: 36px; height: 36px; }
.nav-logo-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: -0.01em;
}
.nav-logo-name span { color: var(--sky); }

.nav-links {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.07);
}

.nav-cta {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white) !important;
  background: var(--blue);
  padding: 0.5rem 1.25rem !important;
  border-radius: var(--radius-md) !important;
  border: 1px solid rgba(95, 168, 255, 0.3);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition) !important;
}
.nav-cta:hover {
  background: var(--blue-mid) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(31, 107, 255, 0.4);
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px;
  color: var(--white);
  cursor: pointer;
}
.nav-mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-mobile-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-mobile-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
  padding-top: 68px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 65% 40%, rgba(31, 107, 255, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(10, 27, 61, 0.8) 0%, transparent 60%),
    linear-gradient(160deg, #060e1f 0%, #0a1b3d 50%, #071430 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(95, 168, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95, 168, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
  padding: 4rem 0;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(31, 107, 255, 0.12);
  border: 1px solid rgba(95, 168, 255, 0.25);
  border-radius: 100px;
  padding: 0.35rem 1rem;
  margin-bottom: 1.75rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--sky);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px #22c55e; }
  50% { opacity: 0.6; box-shadow: 0 0 14px #22c55e; }
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--sky);
}

.hero-sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 2.25rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  background: var(--blue);
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(95, 168, 255, 0.25);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover {
  background: var(--blue-mid);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(31, 107, 255, 0.45);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.06);
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.14);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-arrow {
  transition: transform var(--transition);
}
.btn-primary:hover .btn-arrow,
.btn-secondary:hover .btn-arrow { transform: translateX(3px); }

.hero-trust {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}
.hero-trust-dots {
  display: flex;
  gap: 3px;
}
.hero-trust-dots span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sky);
  opacity: 0.5;
}
.hero-trust-dots span:first-child { opacity: 1; }

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-svg-wrap {
  position: relative;
  width: 100%;
  max-width: 500px;
}
.hero-svg-wrap svg {
  width: 100%;
  height: auto;
}

/* =========================================================
   HERO PHOTO PANEL
   ========================================================= */
.hero-photo-wrap {
  position: relative;
  width: 100%;
  max-width: 560px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 6 / 5;
  box-shadow:
    0 0 0 1px rgba(95, 168, 255, 0.18),
    0 24px 64px rgba(0, 0, 0, 0.55),
    0 4px 16px rgba(10, 27, 61, 0.4);
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: var(--radius-xl);
}

/* Multi-layer overlay: left edge fades into the page dark bg,
   top-right retains the real photo. Navy tint keeps brand cohesion. */
.hero-photo-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(6, 14, 31, 0.72) 0%, rgba(6, 14, 31, 0.18) 55%, transparent 100%),
    linear-gradient(to bottom, rgba(6, 14, 31, 0.35) 0%, transparent 40%, rgba(10, 27, 61, 0.45) 100%),
    linear-gradient(160deg, transparent 40%, rgba(31, 107, 255, 0.06) 100%);
  border-radius: var(--radius-xl);
}

/* SVG floats over the photo */
.hero-svg-over {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-svg-over svg {
  width: 90%;
  height: auto;
  filter: drop-shadow(0 4px 24px rgba(31, 107, 255, 0.22));
}

/* Glow animation on hero SVG */
.glow-orb {
  animation: glow-pulse 3s ease-in-out infinite;
}
.glow-orb-2 {
  animation: glow-pulse 3s ease-in-out infinite 1.5s;
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.4; r: 80px; }
  50% { opacity: 0.7; r: 96px; }
}

.float-node {
  animation: float-y 4s ease-in-out infinite;
}
.float-node-2 { animation-delay: -2s; }
.float-node-3 { animation-delay: -1s; }

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

.network-line {
  stroke-dasharray: 6 4;
  animation: dash-flow 3s linear infinite;
}
.network-line-2 { animation-direction: reverse; animation-duration: 4s; }

@keyframes dash-flow {
  to { stroke-dashoffset: -40; }
}

/* =========================================================
   TRUST STRIP
   ========================================================= */
.trust-strip {
  background: var(--navy);
  border-top: 1px solid rgba(95, 168, 255, 0.1);
  border-bottom: 1px solid rgba(95, 168, 255, 0.1);
  padding: 1.75rem 0;
}

.trust-strip-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  white-space: nowrap;
  flex-shrink: 0;
}

.trust-divider {
  width: 1px;
  height: 24px;
  background: rgba(95, 168, 255, 0.15);
  flex-shrink: 0;
}

.trust-names {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
}

.trust-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: color var(--transition);
}
.trust-name:hover { color: rgba(255,255,255,0.7); }

/* =========================================================
   SERVICES
   ========================================================= */
.services { background: #f7f9ff; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid rgba(31, 107, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--sky));
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(31, 107, 255, 0.2);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 52px; height: 52px;
  background: var(--ice);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: background var(--transition);
}
.service-card:hover .service-icon { background: rgba(31, 107, 255, 0.12); }
.service-icon svg { width: 26px; height: 26px; }

.service-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.65;
}
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  margin-top: 1.25rem;
  transition: gap var(--transition);
}
.service-card:hover .service-card-link { gap: 0.65rem; }
.service-card-link svg { transition: transform var(--transition); }
.service-card:hover .service-card-link svg { transform: translateX(3px); }

/* =========================================================
   PROCESS
   ========================================================= */
.process { background: var(--navy); }
.process .section-header .label { color: var(--sky); }
.process .section-header h2 { color: var(--white); }
.process .section-header p { color: rgba(255,255,255,0.55); }

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 1rem;
}

.process-connector {
  position: absolute;
  top: 38px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--sky) 100%);
  opacity: 0.3;
}

.process-step {
  padding: 0 1.5rem 0;
  position: relative;
}
.process-step:first-child { padding-left: 0; }
.process-step:last-child { padding-right: 0; }

.process-step-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.process-num {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: rgba(31, 107, 255, 0.12);
  border: 2px solid rgba(31, 107, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: background var(--transition), border-color var(--transition);
}
.process-step:hover .process-num {
  background: rgba(31, 107, 255, 0.22);
  border-color: var(--blue);
}

.process-num-inner {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--sky);
  line-height: 1;
}

.process-step h3 {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.process-step-sub {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sky);
  opacity: 0.7;
  margin-bottom: 0.5rem;
}
.process-step p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
}

.process-step-icon {
  width: 38px; height: 38px;
}

/* =========================================================
   WHY NORTHPORT
   ========================================================= */
.why { background: var(--white); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.why-item {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--ice);
  border: 1px solid rgba(31, 107, 255, 0.1);
  transition: transform var(--transition), box-shadow var(--transition);
}
.why-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.why-icon {
  width: 48px; height: 48px;
  background: rgba(31, 107, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.why-icon svg { width: 24px; height: 24px; }

.why-item h3 {
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.why-item p {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.65;
}

/* =========================================================
   WHY NORTHPORT — OFFICE PHOTO BAND
   ========================================================= */
.why-photo-band {
  position: relative;
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 3rem;
  aspect-ratio: 16 / 5;
  box-shadow:
    0 0 0 1px rgba(31, 107, 255, 0.12),
    0 8px 32px rgba(10, 27, 61, 0.1);
}

.why-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  border-radius: var(--radius-xl);
  /* Subtle blue tint to stay on brand */
  filter: saturate(0.9) brightness(0.92);
  transition: filter 0.4s ease, transform 0.6s ease;
}

.why-photo-band:hover .why-photo {
  filter: saturate(1) brightness(0.96);
  transform: scale(1.01);
}

/* Inset gradient: left fades to white page bg, top/bottom vignette */
.why-photo-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(255,255,255,0.5) 0%, transparent 20%, transparent 80%, rgba(255,255,255,0.5) 100%),
    linear-gradient(to bottom, rgba(255,255,255,0.1) 0%, transparent 25%, transparent 75%, rgba(255,255,255,0.3) 100%),
    /* Blue brand overlay */
    linear-gradient(160deg, rgba(31, 107, 255, 0.06) 0%, transparent 60%);
  border-radius: var(--radius-xl);
  pointer-events: none;
}

.why-photo-caption {
  position: absolute;
  bottom: 1rem;
  right: 1.25rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(10, 27, 61, 0.55);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 2;
}

@media (max-width: 768px) {
  .why-photo-band {
    aspect-ratio: 16 / 7;
  }
}

@media (max-width: 540px) {
  .why-photo-band {
    aspect-ratio: 4 / 3;
    margin-bottom: 2rem;
  }
}

/* =========================================================
   STATS BAND
   ========================================================= */
.stats-band {
  background: linear-gradient(135deg, var(--navy) 0%, #0d2158 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(95, 168, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95, 168, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.4rem;
  letter-spacing: -0.03em;
}
.stat-number span { color: var(--sky); }
.stat-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.02em;
}

/* =========================================================
   CONSULTATION FORM
   ========================================================= */
.consult { background: #f7f9ff; }

.consult-wrap {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}

.consult-info h2 { color: var(--navy); margin-bottom: 1rem; }
.consult-info p {
  color: var(--slate);
  margin-bottom: 2rem;
  line-height: 1.75;
}

.consult-points { display: flex; flex-direction: column; gap: 1rem; }
.consult-point {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.consult-point-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(31, 107, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.consult-point-icon svg { width: 18px; height: 18px; }
.consult-point-text strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 0.2rem;
}
.consult-point-text span {
  font-size: 0.875rem;
  color: var(--slate);
}

.form-card {
  background: var(--white);
  border: 1px solid rgba(31, 107, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

.form-card h3 {
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.form-card > p {
  font-size: 0.9rem;
  color: var(--slate);
  margin-bottom: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-field.full { grid-column: 1 / -1; }

.form-field label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.03em;
}
.form-field label .req { color: var(--blue); margin-left: 2px; }

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 0.7rem 0.95rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--navy);
  background: var(--white);
  border: 1.5px solid rgba(31, 107, 255, 0.15);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: #b0b8cc; }

.form-field input:hover,
.form-field textarea:hover { border-color: rgba(31, 107, 255, 0.3); }

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(31, 107, 255, 0.1);
}

.form-field input.error,
.form-field textarea.error { border-color: #e53e3e; }

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

.field-error {
  font-size: 0.78rem;
  color: #e53e3e;
  display: none;
}
.field-error.show { display: block; }

.form-submit-row {
  margin-top: 1.5rem;
}
.btn-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  background: var(--blue);
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  letter-spacing: -0.01em;
}
.btn-submit:hover {
  background: var(--blue-mid);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(31, 107, 255, 0.4);
}
.btn-submit:active { transform: translateY(0); }
.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.btn-submit .spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}
.btn-submit.loading .spinner { display: block; }
.btn-submit.loading .btn-text,
.btn-submit.loading .btn-arrow-wrap { display: none; }

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

.form-disclaimer {
  font-size: 0.78rem;
  color: var(--slate);
  text-align: center;
  margin-top: 1rem;
  line-height: 1.5;
}

/* Success state */
.form-success {
  display: none;
  text-align: center;
  padding: 3rem 1rem;
}
.form-success.show { display: block; }

.success-icon {
  width: 64px; height: 64px;
  background: rgba(34, 197, 94, 0.1);
  border: 2px solid rgba(34, 197, 94, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.success-icon svg { color: #22c55e; }

.form-success h3 {
  color: var(--navy);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}
.form-success p {
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--ink);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(95, 168, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.footer-logo-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
}
.footer-logo-name span { color: var(--sky); }
.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  max-width: 260px;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}
.social-link {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
  transition: background var(--transition), color var(--transition);
}
.social-link:hover {
  background: rgba(31, 107, 255, 0.2);
  color: var(--sky);
}
.social-link svg { width: 16px; height: 16px; }

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }

.footer-contact-item {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
}
.footer-contact-item svg { width: 16px; height: 16px; color: var(--sky); flex-shrink: 0; margin-top: 3px; }
.footer-contact-item span {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.55;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
}
.footer-credit {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
}
.footer-credit a {
  color: rgba(95, 168, 255, 0.6);
  font-weight: 500;
  transition: color var(--transition);
}
.footer-credit a:hover { color: var(--sky); }

/* =========================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.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; }
  .glow-orb, .glow-orb-2, .float-node, .float-node-2, .float-node-3 { animation: none; }
  .network-line, .network-line-2 { animation: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .process-timeline { grid-template-columns: repeat(2, 1fr); }
  .process-connector { display: none; }
  .process-step { padding: 0 0 2rem; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  /* Show photo on mobile but hide the decorative SVG overlay to reduce clutter */
  .hero-visual { display: flex; justify-content: center; }
  .hero-photo-wrap { max-width: 100%; aspect-ratio: 16 / 7; }
  .hero-svg-over { display: none; }
  .consult-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: rgba(8, 20, 48, 0.98);
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(95, 168, 255, 0.12);
    gap: 0.25rem;
  }
  .nav-links.mobile-open a { padding: 0.7rem 0.5rem; font-size: 1rem; }

  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .trust-names { gap: 1.25rem; }
}

@media (max-width: 540px) {
  .hero h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .process-timeline { grid-template-columns: 1fr; }
  .trust-strip-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
}
