/* Survey Fieldwork – Professional services design
   Structure inspired by preferred reference site; brand colors retained */
:root {
  --primary: #1A5CE0;
  --primary-dark: #0f3d9e;
  --primary-light: #3b7aef;
  --accent: #00a8c4;
  --cream: #f4f7fc;
  --cream-dark: #e2e8f4;
  --text: #1a1a2e;
  --text-muted: #5a6478;
  --white: #ffffff;
  --navy: #0b1f3a;
  --shadow: 0 4px 20px rgba(26, 92, 224, 0.08);
  --shadow-lg: 0 12px 40px rgba(26, 92, 224, 0.14);
  --radius: 12px;
  --transition: all 0.3s ease;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; color: var(--navy); }
h1 { font-size: clamp(1.85rem, 4.5vw, 2.85rem); }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.25rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.65rem; }
p { margin-bottom: 1rem; color: var(--text-muted); }
.lead { font-size: 1.15rem; color: var(--text-muted); max-width: 680px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 4.5rem 0; }
.section-alt { background: var(--cream); }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.85); }
.text-center { text-align: center; }
.mb-4 { margin-bottom: 2.5rem; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cream-dark);
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo img { height: 42px; width: auto; }
.nav { display: none; align-items: center; gap: 0.25rem; }
.nav > a, .nav .drop > a {
  font-weight: 500;
  font-size: 0.925rem;
  color: var(--text);
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  position: relative;
}
.nav > a:hover, .nav > a.active, .nav .drop > a:hover {
  color: var(--primary);
  background: rgba(26, 92, 224, 0.06);
}
.drop { position: relative; }
.drop-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  border: 1px solid var(--cream-dark);
  margin-top: 0.25rem;
}
.drop:hover .drop-menu { display: block; }
.drop-menu a {
  display: block;
  padding: 0.55rem 0.85rem;
  font-size: 0.875rem;
  border-radius: 6px;
  color: var(--text);
}
.drop-menu a:hover { background: var(--cream); color: var(--primary); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.925rem;
  font-family: inherit;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  min-height: 44px;
}
.btn-primary {
  background: var(--primary);
  color: #fff !important;
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}
.btn-outline-light {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff;
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}
.btn-light {
  background: #fff;
  color: var(--primary-dark);
}
.btn-light:hover {
  background: var(--cream);
  color: var(--primary-dark);
}
.btn-sm { padding: 0.5rem 1.15rem; font-size: 0.875rem; min-height: 38px; }

.mobile-toggle {
  display: flex;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}
.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  transition: var(--transition);
}
.header-actions { display: flex; align-items: center; gap: 0.5rem; }

/* Hero */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0b1f3a 0%, #1347b0 45%, #1A5CE0 100%);
  overflow: hidden;
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(0, 194, 212, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.06) 0%, transparent 35%);
  pointer-events: none;
}
/* Network dots pattern */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.5;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 0 3rem;
  max-width: 720px;
}
.hero h1 {
  color: #fff;
  margin-bottom: 1.15rem;
  letter-spacing: -0.02em;
}
.hero h1 span { color: #7dd3fc; }
.hero .lead {
  color: rgba(255,255,255,0.88);
  margin-bottom: 1.75rem;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.stat-item strong {
  display: block;
  font-size: 1.5rem;
  color: #fff;
  font-weight: 800;
  line-height: 1.2;
}
.stat-item span {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-top: 0.15rem;
}

/* Grids & cards */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.75rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid transparent;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--cream-dark);
}

.service-card {
  padding: 1.85rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.service-icon {
  width: 52px;
  height: 52px;
  background: var(--cream);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
  color: var(--primary);
}
.service-icon svg { width: 26px; height: 26px; stroke: var(--primary); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { color: var(--navy); }
.service-card p { font-size: 0.95rem; flex-grow: 1; }
.service-card ul { margin: 0.75rem 0 1rem; }
.service-card li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.35rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.service-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}
.service-card .link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  margin-top: auto;
}

/* Why / feature split */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
.feature-list li {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}
.feature-list .icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  font-weight: 700;
}
.feature-list strong { display: block; color: var(--navy); margin-bottom: 0.15rem; }
.feature-list span { font-size: 0.9rem; color: var(--text-muted); }

/* Big stats */
.big-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  text-align: center;
}
.big-stat strong {
  display: block;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.15;
}
.big-stat span {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  font-weight: 500;
}
.section-dark .big-stat strong { color: #7dd3fc; }
.section-dark .big-stat span { color: rgba(255,255,255,0.7); }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 3.5rem 1.5rem;
  border-radius: var(--radius);
}
.cta-band h2 { color: #fff; margin-bottom: 0.65rem; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 480px; margin: 0 auto 1.5rem; }
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

/* Footer */
.footer {
  background: var(--navy);
  color: #94a3b8;
  padding: 3.5rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-brand img {
  height: 36px;
  filter: brightness(0) invert(1);
  margin-bottom: 0.85rem;
}
.footer-brand p { font-size: 0.9rem; max-width: 280px; color: #94a3b8; }
.footer-col h4 {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.45rem;
  color: #94a3b8;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  text-align: center;
}

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, #0b1f3a 0%, #1A5CE0 100%);
  color: #fff;
  padding: 3.5rem 0 2.5rem;
  text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: 0.65rem; }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto; }

/* Form */
.form-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--cream-dark);
}
.form-group { margin-bottom: 1.15rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
  color: var(--navy);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--cream-dark);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 92, 224, 0.12);
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-up, .card { transition: none; }
  .card:hover { transform: none; }
}

/* Responsive */
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .big-stats { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}
@media (min-width: 900px) {
  .mobile-toggle { display: none; }
  .nav { display: flex; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .hero { min-height: 82vh; }
}
