:root {
  --navy-950: #050f2f;
  --navy-900: #071a4a;
  --navy-800: #0b2a70;
  --blue: #163c96;
  --gold: #c9a400;
  --gold-light: #ead66d;
  --ink: #142033;
  --muted: #667085;
  --paper: #ffffff;
  --soft: #f6f7fa;
  --line: #e4e7ee;
  --shadow: 0 22px 60px rgba(7, 26, 74, .12);
  --radius: 24px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 14px;
  top: 14px;
  z-index: 9999;
  transform: translateY(-180%);
  padding: 10px 14px;
  background: #fff;
  color: var(--navy-900);
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid rgba(7,26,74,.09);
  backdrop-filter: blur(12px);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(7,26,74,.10); }
.header-inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 126px; height: 84px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  position: relative;
  text-decoration: none;
  color: var(--navy-900);
  font-size: .95rem;
  font-weight: 700;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); }
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  padding: 10px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy-900);
  border-radius: 10px;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 690px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(5,15,47,.99), rgba(11,42,112,.96)),
    var(--navy-900);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: .17;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to right, #000, transparent 88%);
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero-orbit {
  position: absolute;
  z-index: -2;
  border: 1px solid rgba(234,214,109,.19);
  border-radius: 50%;
}
.orbit-one { width: 510px; height: 510px; right: -130px; top: -170px; }
.orbit-two { width: 300px; height: 300px; right: 150px; top: 20px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  align-items: center;
  gap: 78px;
  padding-block: 88px;
}
.kicker {
  margin: 0 0 14px;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 800;
}
.kicker-dark { color: #a88300; }
.hero h1, .section-heading h2, .specialties-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.05;
  font-weight: 600;
}
.hero h1 {
  max-width: 720px;
  font-size: clamp(3rem, 5.9vw, 5.9rem);
  letter-spacing: -.035em;
}
.hero h1 span { color: var(--gold-light); }
.gold-line {
  width: 86px;
  height: 3px;
  margin: 26px 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}
.hero-text {
  max-width: 730px;
  margin: 0;
  color: rgba(255,255,255,.91);
  font-size: clamp(1.08rem, 1.8vw, 1.30rem);
}
.hero-focus {
  max-width: 720px;
  margin: 20px 0 0;
  padding-left: 17px;
  border-left: 2px solid var(--gold);
  color: rgba(255,255,255,.77);
}
.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 34px;
  padding: 0 25px;
  border: 1px solid rgba(234,214,109,.72);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  background: rgba(201,164,0,.12);
  transition: transform .2s ease, background .2s ease;
}
.hero-button:hover, .hero-button:focus-visible {
  transform: translateY(-2px);
  background: rgba(201,164,0,.24);
}
.hero-logo-wrap { display: flex; justify-content: center; }
.hero-logo-card {
  position: relative;
  width: min(390px, 100%);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  padding: 36px;
  background: #fff;
  border: 1px solid rgba(234,214,109,.48);
  box-shadow: 0 30px 90px rgba(0,0,0,.32);
}
.hero-logo-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(7,26,74,.13);
  pointer-events: none;
}
.hero-logo-card img { width: 100%; height: 100%; object-fit: contain; }
.frame-corner { position: absolute; width: 58px; height: 58px; z-index: 2; }
.top-left { top: -8px; left: -8px; border-top: 4px solid var(--gold); border-left: 4px solid var(--gold); }
.bottom-right { right: -8px; bottom: -8px; border-right: 4px solid var(--gold); border-bottom: 4px solid var(--gold); }

.section { padding: 112px 0; }
.services {
  background:
    radial-gradient(circle at 92% 0%, rgba(201,164,0,.075), transparent 30%),
    #fff;
}
.section-heading { max-width: 760px; margin-bottom: 52px; }
.section-heading h2, .specialties-heading h2 {
  color: var(--navy-900);
  font-size: clamp(2.45rem, 4.2vw, 4.1rem);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.service-card {
  position: relative;
  min-height: 235px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 30px rgba(7,26,74,.055);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent 72%);
}
.service-card:hover { transform: translateY(-7px); border-color: rgba(201,164,0,.43); box-shadow: var(--shadow); }
.service-number {
  position: absolute;
  top: 21px;
  right: 24px;
  color: rgba(7,26,74,.17);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.15rem;
  font-weight: 700;
}
.service-icon {
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 14px;
  background: rgba(201,164,0,.11);
}
.service-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: var(--navy-800);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card h3 {
  margin: 0;
  color: var(--navy-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.36rem;
  line-height: 1.2;
}

.specialties {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 112px 0;
  color: #fff;
  background: linear-gradient(125deg, var(--navy-950), var(--navy-800));
}
.specialties-grid-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .65;
  background: linear-gradient(45deg, transparent 48%, rgba(255,255,255,.035) 49%, rgba(255,255,255,.035) 51%, transparent 52%) 0 0 / 44px 44px;
}
.specialties-layout {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: 72px;
}
.specialties-heading h2 { color: #fff; }
.specialties-heading p:last-child { max-width: 540px; margin: 0; color: rgba(255,255,255,.78); font-size: 1.08rem; }
.specialty-cards { display: grid; gap: 18px; }
.specialty-card {
  min-height: 116px;
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 20px;
  padding: 26px 30px;
  border: 1px solid rgba(234,214,109,.36);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,.09), rgba(255,255,255,.025));
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.specialty-card:hover { transform: translateX(6px); border-color: rgba(234,214,109,.72); background: rgba(255,255,255,.09); }
.specialty-card span {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(234,214,109,.65);
  border-radius: 50%;
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}
.specialty-card h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.2rem, 2vw, 1.62rem); line-height: 1.22; }

.summary-band {
  padding: 54px 0;
  color: #fff;
  background: linear-gradient(90deg, #06143c, #0a245e);
  border-top: 3px solid var(--gold);
}
.summary-inner { display: flex; align-items: center; gap: 34px; }
.summary-inner img {
  width: 120px;
  height: 94px;
  object-fit: contain;
  padding: 6px;
  border-radius: 14px;
  background: #fff;
}
.summary-inner p:last-child { margin: 0; color: rgba(255,255,255,.82); font-size: 1.03rem; }

.site-footer { color: rgba(255,255,255,.78); background: #040c24; }
.footer-inner {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}
.footer-inner > img {
  width: 118px;
  height: 92px;
  object-fit: contain;
  padding: 6px;
  border-radius: 12px;
  background: #fff;
}
.footer-inner nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 26px; }
.footer-inner nav a { text-decoration: none; font-size: .94rem; font-weight: 700; }
.footer-inner nav a:hover, .footer-inner nav a:focus-visible { color: var(--gold-light); }

@media (max-width: 1020px) {
  .hero-grid, .specialties-layout { grid-template-columns: 1fr; }
  .hero-grid { gap: 56px; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-focus { text-align: left; }
  .hero-logo-wrap { max-width: 430px; margin-inline: auto; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .specialties-layout { gap: 46px; }
}

@media (max-width: 760px) {
  .container { width: min(var(--container), calc(100% - 28px)); }
  .header-inner { min-height: 82px; }
  .brand img { width: 98px; height: 70px; }
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 14px;
    right: 14px;
    display: grid;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav a { padding: 13px 12px; border-radius: 10px; }
  .main-nav a:hover, .main-nav a:focus-visible { background: var(--soft); }
  .main-nav a::after { display: none; }
  .hero { min-height: auto; }
  .hero-grid { padding-block: 70px; }
  .hero h1 { font-size: clamp(2.65rem, 14vw, 4.35rem); }
  .hero-text { font-size: 1.04rem; }
  .hero-logo-card { width: min(320px, 92vw); padding: 24px; }
  .section, .specialties { padding: 82px 0; }
  .section-heading { margin-bottom: 36px; }
  .section-heading h2, .specialties-heading h2 { font-size: clamp(2.1rem, 9vw, 3.1rem); }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 192px; }
  .specialty-card { padding: 22px; }
  .summary-inner, .footer-inner { flex-direction: column; align-items: flex-start; }
  .summary-inner { gap: 22px; }
  .footer-inner { padding-block: 34px; }
  .footer-inner nav { justify-content: flex-start; gap: 16px 22px; }
}

@media (max-width: 420px) {
  .hero-grid { padding-block: 58px; }
  .hero-focus { padding-left: 14px; }
  .service-card { padding: 24px; }
  .specialty-card { grid-template-columns: 46px 1fr; gap: 15px; }
  .specialty-card span { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
