:root {
  --navy: #071a33;
  --blue: #0f2f55;
  --ink: #142235;
  --muted: #647082;
  --gold: #b9934a;
  --gold-light: #d8bd7a;
  --white: #ffffff;
  --mist: #f5f7fa;
  --line: rgba(15, 47, 85, 0.14);
  --shadow: 0 22px 60px rgba(7, 26, 51, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--white);
  background: var(--navy);
  border: 1px solid var(--gold);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: 15px;
}

.brand strong {
  display: block;
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  padding: 10px 13px;
  color: var(--navy);
  background: transparent;
  border: 1px solid var(--line);
  font: inherit;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: calc(100vh - 83px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero-media,
.page-hero::before,
.image-panel {
  background-image: linear-gradient(110deg, rgba(7, 26, 51, 0.88), rgba(15, 47, 85, 0.22)), url("https://images.unsplash.com/photo-1513635269975-59663e0ac1ad?auto=format&fit=crop&w=1800&q=80");
  background-position: center;
  background-size: cover;
}

.hero-media {
  position: absolute;
  inset: 0;
  opacity: 0.92;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: 128px 0 92px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  line-height: 1.08;
}

.hero h1,
.page-hero h1,
.cta-band h2 {
  color: var(--white);
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
}

h1 {
  max-width: 900px;
  font-size: clamp(48px, 8vw, 92px);
}

h2 {
  font-size: clamp(34px, 5vw, 58px);
}

h3 {
  font-size: 21px;
}

.hero-copy,
.lead {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2vw, 22px);
}

.lead {
  color: #3c4b60;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--navy);
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.button.secondary,
.button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.08);
}

.section {
  padding: clamp(72px, 9vw, 120px) clamp(20px, 5vw, 72px);
}

.intro-band,
.process-section {
  background: var(--mist);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.sector-grid,
.sector-detail-grid,
.trust-grid,
.process-grid,
.values-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.sector-card,
.detail-card,
.trust-item,
.process-step,
.value {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(7, 26, 51, 0.06);
}

.sector-card {
  display: grid;
  grid-template-rows: 230px 1fr;
}

.sector-card img,
.detail-card img {
  height: 100%;
  object-fit: cover;
}

.sector-card div,
.detail-card,
.trust-item,
.process-step,
.value {
  padding: 28px;
}

.sector-card p,
.detail-card p,
.trust-item p,
.process-step p,
.value p,
.copy-panel p,
.benefit-list p,
.contact-info p {
  color: var(--muted);
}

.trust-section {
  background: var(--navy);
}

.trust-item {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(216, 189, 122, 0.22);
}

.trust-item span,
.service-row span {
  color: var(--gold-light);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 34px;
  font-weight: 700;
}

.trust-item h3,
.trust-item p {
  color: var(--white);
}

.trust-item p {
  color: rgba(255, 255, 255, 0.72);
}

.cta-band {
  margin: 0;
  padding: clamp(72px, 9vw, 112px) clamp(20px, 8vw, 112px);
  color: var(--white);
  background: linear-gradient(120deg, var(--navy), var(--blue));
}

.cta-band h2 {
  max-width: 880px;
}

.page-hero {
  position: relative;
  min-height: 470px;
  display: grid;
  align-items: end;
  padding: 120px clamp(20px, 8vw, 112px) 80px;
  overflow: hidden;
  background: var(--navy);
}

.page-hero.compact {
  min-height: 390px;
}

.page-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.5;
}

.page-hero > div {
  position: relative;
  z-index: 1;
}

.clients-hero::before {
  background-image: linear-gradient(110deg, rgba(7, 26, 51, 0.9), rgba(15, 47, 85, 0.18)), url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1800&q=80");
}

.candidates-hero::before {
  background-image: linear-gradient(110deg, rgba(7, 26, 51, 0.88), rgba(15, 47, 85, 0.22)), url("https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?auto=format&fit=crop&w=1800&q=80");
}

.editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.editorial-grid.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
}

.image-panel {
  min-height: 520px;
  box-shadow: var(--shadow);
}

.candidate-image {
  background-image: linear-gradient(110deg, rgba(7, 26, 51, 0.58), rgba(15, 47, 85, 0.05)), url("https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?auto=format&fit=crop&w=1200&q=80");
}

.copy-panel p {
  font-size: 17px;
}

.text-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--blue);
  font-weight: 800;
  border-bottom: 2px solid var(--gold);
}

.values-section {
  padding-top: 0;
}

.service-list {
  max-width: 1060px;
  margin: 0 auto;
}

.service-row {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 28px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.service-row p {
  max-width: 780px;
  color: var(--muted);
  font-size: 18px;
}

.process-grid {
  margin-top: 38px;
  margin-bottom: 34px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-step strong {
  color: var(--navy);
  font-size: 19px;
}

.detail-card {
  display: grid;
  grid-template-rows: 260px auto auto;
  gap: 16px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(32px, 7vw, 90px);
  max-width: 1120px;
  margin: 0 auto;
}

.contact-info dl {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}

.contact-info dt {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-info dd {
  margin: 4px 0 0;
  color: var(--navy);
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 34px;
  background: var(--mist);
  border: 1px solid var(--line);
}

.contact-form label {
  color: var(--blue);
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 15px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(20, 34, 53, 0.18);
  border-radius: 0;
  font: inherit;
}

.contact-form input::placeholder {
  color: #8b95a5;
}

.form-panel {
  display: grid;
  gap: 14px;
  margin: 10px 0 2px;
  padding: 0;
  background: transparent;
  border: none;
  min-width: 0;
}

.form-panel[hidden] {
  display: none;
}

.form-section-title {
  margin: 0 0 2px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.3;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-grid > div {
  display: grid;
  gap: 10px;
}

.contact-form textarea {
  resize: vertical;
}

.cv-note {
  padding: 2px 0 0;
  background: transparent;
  border: 0;
}

.cv-note strong {
  display: block;
  color: var(--navy);
  font-size: 15px;
}

.cv-note p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.cv-note a {
  color: var(--blue);
  font-weight: 800;
  border-bottom: 1px solid var(--gold);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: #041225;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--gold-light);
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: 83px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 0;
  }

  .split,
  .editorial-grid,
  .editorial-grid.reverse,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .sector-grid,
  .sector-detail-grid,
  .trust-grid,
  .values-section,
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .image-panel {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

  h1 {
    font-size: 46px;
  }

  .sector-grid,
  .sector-detail-grid,
  .trust-grid,
  .values-section,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .service-row {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}
