/* ─── RESET & BASE ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #1E20A5;
  --navy-dark:   #111268;
  --navy-darker: #0A0B45;
  --white:       #FFFFFF;
  --off-white:   #F7F8FC;
  --text:        #1A1A3A;
  --muted:       #6B7280;
  --border:      #E5E7EB;
  --font:        'Inter', system-ui, -apple-system, sans-serif;
  --ease:        0.3s cubic-bezier(.4, 0, .2, 1);
  --section-pad: clamp(5rem, 10vw, 8rem) 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.7;
  font-size: 1rem;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }

/* ─── LAYOUT ──────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.container-narrow { max-width: 740px; }

/* ─── TYPOGRAPHY ──────────────────────────────────────────────── */
h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1rem;
}

.eyebrow-light { color: rgba(255, 255, 255, 0.55); }

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  color: var(--text);
  margin-top: 0.25rem;
}

/* ─── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 2rem;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 3px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--ease);
  white-space: nowrap;
}

.btn-outline-white {
  border-color: rgba(255, 255, 255, 0.65);
  color: white;
  background: transparent;
}
.btn-outline-white:hover {
  background: white;
  border-color: white;
  color: var(--navy-dark);
}

.btn-ghost-white {
  border-color: transparent;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.1);
}
.btn-ghost-white:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.btn-navy {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}
.btn-navy:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
}

.btn-sm {
  padding: 0.625rem 1.375rem;
  font-size: 0.82rem;
}

/* ─── NAVIGATION ──────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.5rem 0;
  transition: background var(--ease), padding var(--ease), box-shadow var(--ease);
}

.nav-scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1rem 0;
  box-shadow: 0 1px 0 var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter var(--ease);
}

.nav-scrolled .nav-logo img { filter: none; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-list a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.04em;
  transition: color var(--ease);
}

.nav-list a:hover { color: white; }

.nav-scrolled .nav-list a { color: var(--text); }
.nav-scrolled .nav-list a:hover { color: var(--navy); }

.nav-cta {
  padding: 0.5rem 1.25rem;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 3px;
}
.nav-cta:hover { background: rgba(255, 255, 255, 0.12); }

.nav-scrolled .nav-cta {
  border-color: var(--navy);
  color: var(--navy) !important;
}
.nav-scrolled .nav-cta:hover {
  background: var(--navy);
  color: white !important;
}

/* ─── HERO ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  color: white;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    rgba(10, 11, 69, 0.90) 0%,
    rgba(17, 18, 104, 0.80) 45%,
    rgba(30, 32, 165, 0.60) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero-content h1 {
  font-size: clamp(2.75rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
  margin-bottom: 2.75rem;
}

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

.hero-credit {
  position: absolute;
  bottom: 1.25rem;
  right: 1.75rem;
  z-index: 1;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.35);
}

.hero-credit a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--ease);
}
.hero-credit a:hover { color: rgba(255, 255, 255, 0.75); }

/* ─── LEAD ────────────────────────────────────────────────────── */
.lead {
  background: var(--navy-darker);
  padding: 4.5rem 0;
  text-align: center;
}

.lead p {
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin-inline: auto;
}

/* ─── SERVICES ────────────────────────────────────────────────── */
.services {
  padding: var(--section-pad);
  background: var(--off-white);
}

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

.card {
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.06),
    0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform var(--ease), box-shadow var(--ease);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 8px 40px rgba(30, 32, 165, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.06);
}

.card-img {
  margin: 0;
  overflow: hidden;
  height: 230px;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(.4, 0, .2, 1);
}

.card:hover .card-img img { transform: scale(1.04); }

.card-body {
  padding: 2rem 2rem 2.25rem;
}

.card-num {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--navy);
  margin-bottom: 0.75rem;
  opacity: 0.6;
}

.card-body h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.card-tags {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
  opacity: 0.75;
}

.card-body p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ─── ABOUT ───────────────────────────────────────────────────── */
.about {
  background: var(--navy-dark);
  padding: var(--section-pad);
  color: white;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-left h2 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  color: white;
  line-height: 1.2;
  margin-top: 0.5rem;
}

.about-right p {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-right p:last-of-type { margin-bottom: 2.25rem; }

/* ─── CTA STRIP ───────────────────────────────────────────────── */
.cta-strip {
  padding: 6rem 0;
  background: var(--off-white);
  border-top: 1px solid var(--border);
}

.cta-inner {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
}

.cta-inner h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--text);
  margin-bottom: 0.75rem;
}

.cta-inner p {
  font-size: 1.05rem;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

/* ─── FOOTER ──────────────────────────────────────────────────── */
.footer {
  background: var(--navy-darker);
  color: white;
  padding-top: 5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo { margin-bottom: 1.25rem; }

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 1.25rem;
}

.footer-col ul li { margin-bottom: 0.55rem; }

.footer-col ul a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--ease);
}
.footer-col ul a:hover { color: white; }

.footer-col address {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.85;
}

.footer-col address strong {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.legal-ids {
  margin-top: 1.25rem;
}

.legal-ids div {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.3rem;
}

.legal-ids dt {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.38);
}

.legal-ids dd {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem 2rem;
  padding: 1.75rem 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.28);
}

.photo-credits {
  max-width: 620px;
  line-height: 1.7;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--ease);
}
.footer-bottom a:hover { color: rgba(255, 255, 255, 0.75); }

/* ─── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .nav-list { gap: 1.25rem; }
  .nav-list a { font-size: 0.8rem; }

  .hero-sub br { display: none; }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
  }
}
