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

:root {
  --navy:       #0a1628;
  --navy-light: #132240;
  --blue:       #1a3a6b;
  --blue-mid:   #2563eb;
  --blue-bright:#3b82f6;
  --accent:     #60a5fa;
  --white:      #ffffff;
  --gray-100:   #f1f5f9;
  --gray-200:   #e2e8f0;
  --gray-400:   #94a3b8;
  --gray-600:   #475569;
  --text:       #1e293b;
  --radius:     8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--blue-mid); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-bright); }

/* ===== Header / Nav ===== */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}

.nav-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .5px;
}
.nav-logo span { color: var(--accent); }

.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  color: var(--gray-200);
  font-size: .95rem;
  font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent); }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  margin: 5px 0;
  transition: .3s;
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 16px;
    display: none;
    box-shadow: 0 8px 16px rgba(0,0,0,.3);
  }
  .nav-links.open { display: flex; }
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: var(--white);
  padding: 80px 24px 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(96,165,250,.12) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37,99,235,.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-graphic {
  margin: 0 auto 40px;
  width: 280px;
  height: 200px;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -.5px;
  margin-bottom: 12px;
}
.hero h1 span { color: var(--accent); }

.hero .tagline {
  font-size: 1.15rem;
  color: var(--gray-200);
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero .intro {
  font-size: 1.1rem;
  color: var(--gray-200);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, transform .15s;
  border: none;
}
.btn-primary {
  background: var(--blue-mid);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--blue-bright);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: var(--navy);
}

/* ===== Sections ===== */
.section {
  padding: 72px 24px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto 48px;
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: box-shadow .25s, transform .2s;
}
.service-card:hover {
  box-shadow: 0 8px 30px rgba(10,22,40,.1);
  transform: translateY(-4px);
}

.service-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--blue-mid), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-icon svg { width: 28px; height: 28px; fill: var(--white); }

.service-card h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.service-card p {
  color: var(--gray-600);
  font-size: .95rem;
  line-height: 1.65;
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: var(--white);
  text-align: center;
  padding: 60px 24px;
}
.cta-band h2 { font-size: 1.8rem; margin-bottom: 14px; }
.cta-band p { color: var(--gray-200); margin-bottom: 28px; font-size: 1.05rem; }

/* ===== Contact Form ===== */
.contact-wrap {
  max-width: 640px;
  margin: 0 auto;
}

.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: .95rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
.form-group textarea { resize: vertical; min-height: 140px; }

/* ===== Legal Pages ===== */
.legal {
  max-width: 800px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}
.legal h1 {
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.legal .updated {
  color: var(--gray-400);
  font-size: .9rem;
  margin-bottom: 36px;
}
.legal h2 {
  font-size: 1.3rem;
  color: var(--navy);
  margin: 32px 0 10px;
}
.legal p, .legal li {
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 12px;
}
.legal ul { padding-left: 24px; margin-bottom: 12px; }

/* ===== Footer ===== */
.site-footer {
  background: var(--navy);
  color: var(--gray-400);
  text-align: center;
  padding: 32px 24px;
  margin-top: auto;
  font-size: .9rem;
}
.site-footer a { color: var(--accent); }
.footer-links { margin-bottom: 10px; }
.footer-links a { margin: 0 12px; }

/* ===== Page Header (inner pages) ===== */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: var(--white);
  text-align: center;
  padding: 52px 24px 48px;
}
.page-header h1 { font-size: 2.2rem; font-weight: 700; margin-bottom: 8px; }
.page-header p { color: var(--gray-200); font-size: 1.05rem; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero { padding: 56px 20px 64px; }
  .hero h1 { font-size: 2rem; }
  .hero .tagline { font-size: .95rem; letter-spacing: 1px; }
  .hero-graphic { width: 200px; height: 150px; }
  .section { padding: 48px 20px; }
  .section-title { font-size: 1.6rem; }
  .services-grid { gap: 20px; }
  .page-header { padding: 36px 20px; }
  .page-header h1 { font-size: 1.7rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.65rem; }
  .btn { padding: 12px 28px; font-size: .95rem; }
}
