:root {
  --navy-900: #050b1c;
  --navy-800: #0a1630;
  --navy-700: #102349;
  --navy-600: #163364;
  --navy-500: #1e4586;
  --gold-500: #4d9dff;
  --gold-400: #86c1ff;
  --sand-100: #f3f7ff;
  --bg-light: #e6eefc;
  --white: #ffffff;
  --text-main: #0b162d;
  --text-muted: #4d607d;
  --max-w: 1240px;
  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -32px rgba(6, 20, 50, 0.55);
  --accent: linear-gradient(135deg, #163364, #3776ff);
  --accent-solid: #163364;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  background-color: var(--sand-100);
  color: var(--text-main);
  scroll-behavior: smooth;
  line-height: 1.6;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  transform: translateY(0);
  transition: transform 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
  box-shadow: 0 16px 40px -28px rgba(6, 20, 50, 0.16);
}

.site-header.hidden {
  transform: translateY(-110%);
}

.site-header.elevated {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 42px -28px rgba(6, 20, 50, 0.22);
}

.nav-wrapper {
  margin: 0 auto;
  max-width: var(--max-w);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(24px, 5vw, 48px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-main);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-logo {
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 16px;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
}

.brand-name {
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.18em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 32px);
}

.nav-links a {
  color: rgba(11, 22, 45, 0.86);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: color 160ms ease, opacity 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--navy-600);
  opacity: 1;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-main);
  transition: transform 0.28s ease, opacity 0.2s ease;
}

.hero {
  padding: clamp(96px, 12vw, 160px) clamp(24px, 5vw, 48px) 120px;
  margin-top: -96px;
  background: radial-gradient(circle at 15% 25%, rgba(77, 157, 255, 0.28), transparent 58%),
    radial-gradient(circle at 85% -10%, rgba(22, 69, 150, 0.55), transparent 62%),
    linear-gradient(148deg, rgba(5, 15, 36, 0.98), rgba(20, 48, 104, 0.96));
  color: var(--white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 5vw, 56px);
  text-align: center;
}

.hero-content {
  width: min(75%, 960px);
  display: grid;
  gap: 24px;
  justify-items: center;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.8rem, 4vw, 3.8rem);
  line-height: 1.05;
  margin: 16px 0 24px;
  color: var(--white);
}

.subtitle {
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  color: rgba(230, 230, 230, 0.76);
  max-width: 520px;
  margin-bottom: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 160ms ease, box-shadow 200ms ease, background 200ms ease;
  border: none;
  cursor: pointer;
}

.btn.primary {
  color: var(--white);
  background: var(--accent);
  box-shadow: 0 18px 40px -18px rgba(16, 50, 112, 0.55);
}

.btn.primary:hover,
.btn.primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px -18px rgba(16, 50, 112, 0.65);
}

.btn.ghost {
  color: var(--white);
  border: 1px solid rgba(134, 193, 255, 0.5);
  backdrop-filter: blur(4px);
  background: rgba(77, 157, 255, 0.08);
}

.btn.ghost:hover,
.btn.ghost:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(134, 193, 255, 0.8);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-500);
}

.hero-stats {
  margin: 48px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  justify-items: center;
  text-align: center;
}

.hero-stats dt {
  font-weight: 700;
  color: var(--gold-400);
}

.hero-stats dd {
  margin: 8px 0 0;
  color: rgba(203, 218, 244, 0.8);
  font-size: 0.9rem;
}


main {
  flex: 1;
}

.panel {
  padding: clamp(96px, 14vw, 140px) clamp(24px, 5vw, 48px);
}

.panel:nth-of-type(even) {
  background: var(--white);
}

.services {
  background: linear-gradient(160deg, #f3f7ff, #e4eeff 70%, #d5e4ff);
}

.credentials {
  background: linear-gradient(160deg, #ffffff, #edf3ff);
}

.panel-heading {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.panel-heading h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 12px;
  color: var(--navy-800);
}

.panel-heading p {
  color: var(--text-muted);
  font-size: 1rem;
  margin: 0 auto;
}

.contracting .panel-heading h2 {
  color: var(--text-main);
}

.card-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.info-card,
.impact-card,
.credential-card {
  border-radius: var(--radius-md);
  padding: 28px;
  background: var(--white);
  box-shadow: 0 20px 36px -24px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(34, 34, 34, 0.08);
}

.info-card h3,
.impact-card h3,
.credential-card h3 {
  margin-top: 0;
  font-size: 1.2rem;
  color: var(--navy-700);
}

.info-card ul {
  padding-left: 18px;
  color: var(--text-muted);
  display: grid;
  gap: 8px;
}

.credential-grid {
  align-items: stretch;
}

.credential-card ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
  color: var(--text-muted);
}

.credential-card li::before {
  content: "•";
  margin-right: 8px;
  color: var(--gold-500);
}

.contracting {
  background: linear-gradient(165deg, rgba(242, 247, 255, 0.98), rgba(220, 232, 255, 0.98));
  color: var(--text-main);
}

.contracting-layout {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: stretch;
}

.contracting-highlight {
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: 0 22px 42px -28px rgba(6, 20, 50, 0.25);
  border: 1px solid rgba(22, 69, 150, 0.16);
  display: grid;
  gap: 18px;
}

.contracting-highlight ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
  color: var(--text-muted);
}

.contracting-side {
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid rgba(22, 69, 150, 0.16);
  box-shadow: 0 22px 42px -28px rgba(6, 20, 50, 0.25);
  display: grid;
  gap: 18px;
}

.contracting-side h3 {
  margin: 0;
}

.contracting-side dl {
  margin: 0;
  display: grid;
  gap: 14px;
}

.contracting-side dt {
  font-weight: 600;
  color: var(--text-main);
}

.contracting-side dd {
  margin: 4px 0 0;
  color: var(--text-muted);
}

.note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.gallery {
  background: linear-gradient(180deg, #f4f7ff, #e6eeff);
}

.gallery-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.gallery figure {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 46px -32px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  display: grid;
}

.gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.gallery figcaption {
  padding: 20px 22px;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.cta {
  background: linear-gradient(135deg, rgba(6, 20, 50, 0.98), rgba(27, 77, 168, 0.96));
  color: var(--white);
  text-align: center;
}

.cta-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 72px clamp(24px, 5vw, 48px);
  display: grid;
  gap: 16px;
}

.contact {
  background: var(--white);
}

.contact-form {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.input-group {
  display: grid;
  gap: 8px;
}

.input-group label {
  font-weight: 600;
  color: var(--text-main);
}

.input-group input,
.input-group textarea {
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 1rem;
  font-family: inherit;
  transition: border 160ms ease, box-shadow 160ms ease;
  background: #ffffff;
}

.input-group input:focus,
.input-group textarea:focus {
  border-color: rgba(55, 118, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(55, 118, 255, 0.18);
  outline: none;
}

.input-group.wide {
  grid-column: 1 / -1;
}

.contact-form button {
  justify-self: start;
  margin-top: 12px;
}

.site-footer {
  background: var(--navy-900);
  color: rgba(230, 230, 230, 0.82);
  padding: 48px clamp(24px, 5vw, 48px);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 48px;
  justify-content: space-between;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 500;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--white);
}

.footer-copy {
  margin: 0;
}

.site-footer .brand {
  color: rgba(230, 230, 230, 0.88);
}

.site-footer .brand-logo {
  padding: 0;
  background: transparent;
  box-shadow: none;
}

@media (max-width: 880px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-actions,
  .hero-stats {
    justify-content: center;
  }

  .contracting-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    top: 100%;
    right: 24px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: var(--radius-md);
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 160ms ease, transform 160ms ease;
    border: 1px solid rgba(6, 20, 50, 0.1);
    box-shadow: 0 24px 40px -28px rgba(6, 20, 50, 0.16);
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    padding-top: 160px;
  }

  .hero-content {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .cta-inner {
    padding: 60px 24px;
  }

  .gallery img {
    height: 180px;
  }
}
