:root {
  --navy-950: #0a1622;
  --navy-900: #0d1b2a;
  --navy-800: #142a40;
  --navy-700: #1f3b57;
  --steel-300: #a9b8c9;
  --ink: #0f1c2b;
  --muted: #4a5a6b;
  --line: #dfe5ec;
  --bg: #ffffff;
  --bg-alt: #f4f6f9;
  --amber: #f5a524;
  --amber-light: #ffb840;
  --amber-700: #b45309;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(13, 27, 42, 0.08);
  --container: 1180px;
  --focus: #b45309;
  --font-head: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--amber);
  color: var(--navy-900);
  font-weight: 600;
  text-decoration: none;
  --focus: var(--navy-900);
}

.skip-link:focus {
  top: 12px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 27, 42, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  --focus: #fbbf24;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.brand-ref {
  color: var(--amber);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-ltd {
  color: var(--steel-300);
  font-weight: 600;
}

.site-nav ul {
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 8px 14px;
  border-radius: 8px;
  color: #e6ecf2;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.site-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle {
  display: none;
}

@media (max-width: 767px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 10px;
    cursor: pointer;
  }

  .nav-toggle-bar,
  .nav-toggle-bar::before,
  .nav-toggle-bar::after {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: transform 0.2s ease, background-color 0.2s ease;
  }

  .nav-toggle-bar {
    position: relative;
  }

  .nav-toggle-bar::before,
  .nav-toggle-bar::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .nav-toggle-bar::before {
    top: -6px;
  }

  .nav-toggle-bar::after {
    top: 6px;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar {
    background: transparent;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
    transform: translateY(-6px) rotate(-45deg);
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 8px 20px 16px;
    background: var(--navy-900);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.25);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 2px;
  }

  .site-nav a {
    padding: 12px 8px;
    font-size: 1.05rem;
  }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(245, 165, 36, 0.16), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(65, 105, 150, 0.35), transparent 60%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 60%, var(--navy-700) 100%);
  --focus: #fbbf24;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.15));
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.15));
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: repeating-linear-gradient(-45deg, var(--amber) 0 14px, var(--navy-900) 14px 28px);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
  padding-top: 72px;
  padding-bottom: 88px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--amber);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 18ch;
  margin-bottom: 20px;
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  font-weight: 800;
}

.lead {
  max-width: 56ch;
  margin-bottom: 32px;
  color: #d3dde8;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--amber);
  color: var(--navy-900);
}

.btn-primary:hover {
  background: var(--amber-light);
  transform: translateY(-1px);
}

.btn-ghost {
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.hero-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.hero-card-title {
  margin: 0 0 16px;
  color: var(--amber);
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.spec {
  margin: 0;
}

.spec div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.spec div:first-child {
  padding-top: 0;
  border-top: 0;
}

.spec dt {
  color: var(--steel-300);
  font-size: 0.95rem;
}

.spec dd {
  margin: 0;
  color: #fff;
  font-weight: 600;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}

.kicker {
  margin-bottom: 10px;
  color: var(--amber-700);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section h2 {
  color: var(--navy-900);
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 800;
}

.section-intro {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-card {
  position: relative;
  padding: 30px 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  width: 44px;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: var(--amber);
}

.service-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: var(--navy-900);
  color: var(--amber);
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 800;
}

.service-card h3 {
  margin-bottom: 8px;
  color: var(--navy-900);
  font-size: 1.2rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

/* About */
.about-grid {
  display: grid;
  gap: 40px;
}

.about-copy p:not(.kicker) {
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.1rem;
}

.facts {
  margin: 0;
  padding: 8px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.facts div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.facts div:first-child {
  border-top: 0;
}

.facts dt {
  color: var(--muted);
  font-size: 0.95rem;
}

.facts dd {
  margin: 0;
  color: var(--navy-900);
  font-weight: 600;
  text-align: right;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 32px;
  align-items: start;
}

.contact-grid .section-head {
  margin-bottom: 0;
}

.contact-card {
  position: relative;
  overflow: hidden;
  padding: 36px 32px 32px;
  border-radius: var(--radius);
  background: var(--navy-900);
  color: #fff;
  box-shadow: 0 20px 50px rgba(13, 27, 42, 0.2);
}

.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: repeating-linear-gradient(-45deg, var(--amber) 0 14px, var(--navy-900) 14px 28px);
}

.contact-card h3 {
  margin-bottom: 14px;
  color: var(--amber);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-card address {
  font-size: 1.15rem;
  font-style: normal;
  line-height: 1.7;
}

.contact-card .note {
  margin: 20px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--steel-300);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  padding: 48px 0 32px;
  background: var(--navy-950);
  color: #c3cedb;
  font-size: 0.95rem;
  --focus: #fbbf24;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-tagline {
  margin: 0;
  color: var(--steel-300);
}

.legal {
  max-width: 80ch;
  margin-bottom: 12px;
}

.copyright {
  margin: 0;
  color: #93a3b5;
}

/* Breakpoints */
@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

@media (min-width: 960px) {
  .hero-inner {
    grid-template-columns: 1.25fr 0.75fr;
    align-items: center;
    padding-top: 112px;
    padding-bottom: 120px;
  }

  .section {
    padding: 104px 0;
  }

  .about-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
    gap: 64px;
  }
}

@media (min-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
