:root {
  --ink: #172027;
  --muted: #5d6871;
  --line: #d9e0e4;
  --paper: #f7f8f5;
  --white: #ffffff;
  --blue: #155fa8;
  --blue-deep: #0b355f;
  --green: #2f6f5e;
  --yellow: #f1b52c;
  --steel: #eef2f4;
  --shadow: 0 18px 45px rgba(18, 35, 49, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 64px);
  background: rgba(247, 248, 245, 0.94);
  border-bottom: 1px solid rgba(217, 224, 228, 0.8);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  background: var(--blue-deep);
  color: var(--white);
  border-bottom: 4px solid var(--yellow);
  font-weight: 800;
}

.brand-logo {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  object-fit: contain;
  background: var(--white);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 0.8rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  color: #31404b;
  font-size: 0.95rem;
}

.main-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover {
  border-color: var(--yellow);
}

.hero {
  position: relative;
  min-height: 520px;
  aspect-ratio: 1440 / 520;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(5, 18, 29, 0.98), rgba(7, 35, 59, 0.96) 50%, rgba(15, 67, 105, 0.94)),
    var(--blue-deep);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.82;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 15, 24, 0.88), rgba(4, 15, 24, 0.58) 45%, rgba(4, 15, 24, 0.18) 76%),
    linear-gradient(0deg, rgba(4, 15, 24, 0.58), rgba(4, 15, 24, 0.06) 52%),
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: auto, auto, 120px 120px, 120px 120px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  inset: auto -8% -24% 46%;
  height: 56%;
  background:
    linear-gradient(145deg, transparent 0 43%, rgba(241, 181, 44, 0.18) 43.25%, transparent 44%),
    linear-gradient(158deg, transparent 0 52%, rgba(255, 255, 255, 0.12) 52.25%, transparent 53%);
}

.hero::after {
  top: 19%;
  right: 8%;
  width: min(34vw, 440px);
  height: min(34vw, 440px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow: inset 0 0 80px rgba(21, 95, 168, 0.16);
  opacity: 0.9;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  padding: 88px clamp(20px, 6vw, 76px) 44px;
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 5.2vw, 4.65rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 580px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.96rem, 1.25vw, 1.04rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  max-width: 100%;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 800;
  text-align: center;
}

.button.primary {
  background: var(--yellow);
  color: #1d2530;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: currentColor;
  border-color: rgba(255, 255, 255, 0.5);
}

.intro,
.services,
.sectors,
.process,
.assurance,
.contact {
  padding: clamp(56px, 8vw, 106px) clamp(20px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(260px, 1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
  background: var(--white);
}

h2 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 18px 0 10px;
  font-size: 1.3rem;
  line-height: 1.2;
}

.intro p:last-child,
.sector-copy p,
.contact-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 32px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 260px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(18, 35, 49, 0.04);
}

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

.service-number {
  color: var(--blue);
  font-weight: 900;
}

.sectors {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  background: var(--blue-deep);
  color: var(--white);
}

.sector-copy p {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.76);
}

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

.sector-list div {
  min-height: 132px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.sector-list strong,
.sector-list span {
  display: block;
}

.sector-list span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
}

.process {
  background: var(--steel);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  border-top: 3px solid var(--green);
}

.timeline li {
  position: relative;
  padding: 28px 22px 0 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 0;
  width: 15px;
  height: 15px;
  background: var(--yellow);
  border: 3px solid var(--steel);
  border-radius: 50%;
}

.timeline strong,
.timeline span {
  display: block;
}

.timeline span {
  margin-top: 8px;
  color: var(--muted);
}

.assurance {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 80px);
  background: var(--white);
}

.assurance ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.assurance li {
  padding: 16px 18px;
  border-left: 4px solid var(--green);
  background: var(--paper);
}

.contact {
  background: linear-gradient(135deg, var(--blue-deep), #1f5f72 62%, var(--green));
  color: var(--white);
}

.contact-panel {
  max-width: 780px;
}

.contact-panel p {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-page {
  min-height: 100vh;
  background:
    linear-gradient(110deg, rgba(247, 248, 245, 0.96), rgba(238, 242, 244, 0.9)),
    var(--paper);
}

.contact-back-link::before {
  content: "< ";
}

.contact-back-link {
  position: absolute;
  top: 24px;
  right: clamp(20px, 5vw, 64px);
  color: #31404b;
  font-size: 0.95rem;
  font-weight: 800;
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(320px, 1fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: start;
  padding: 128px clamp(20px, 5vw, 72px) clamp(64px, 8vw, 108px);
}

.contact-page-title {
  grid-column: 1 / -1;
  justify-self: center;
  margin: 0 0 -8px;
  color: var(--ink);
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.contact-copy h2 {
  margin: 0;
  max-width: 620px;
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.contact-copy,
.contact-form {
  min-width: 0;
}

.contact-copy p:not(.section-kicker) {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
}

.contact-info-list {
  display: grid;
  gap: 22px;
  margin-top: 22px;
}

.contact-info-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: var(--green);
  border-radius: 8px;
  border-bottom: 4px solid var(--yellow);
  font-size: 0.88rem;
  font-weight: 800;
}

.contact-info-item small,
.contact-info-item a,
.contact-info-item strong {
  display: block;
}

.contact-info-item small {
  color: var(--muted);
  font-size: 0.78rem;
}

.contact-info-item a,
.contact-info-item strong {
  color: var(--blue-deep);
  font-size: 0.98rem;
  line-height: 1.25;
  overflow-wrap: break-word;
}

.contact-info-item a {
  color: var(--blue);
}

.contact-note {
  max-width: 620px;
  margin-top: 28px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(18, 35, 49, 0.08);
}

.contact-note strong {
  display: block;
  color: var(--ink);
}

.contact-note p {
  margin: 10px 0 0;
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 36px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form h2 {
  margin: 0 0 4px;
  max-width: none;
  color: var(--green);
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  line-height: 1.2;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #40505a;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fbfcf8;
  border: 1px solid #cbd4d9;
  border-radius: 8px;
  font: inherit;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.consent-row {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1.4;
}

.consent-row input {
  min-height: auto;
  width: 14px;
  height: 14px;
  margin: 3px 0 0;
  padding: 0;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(21, 95, 168, 0.14);
}

.contact-form .button {
  width: 100%;
  min-height: 52px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding: 30px clamp(20px, 5vw, 72px);
  color: #d7e0e7;
  background: #111a21;
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 28px;
  font-size: 1rem;
  font-weight: 800;
}

.footer-links a {
  color: var(--white);
  border-bottom: 2px solid transparent;
  padding-bottom: 3px;
}

.footer-links a:hover {
  border-color: rgba(241, 181, 44, 0.85);
}

.legal-page {
  background: var(--paper);
}

.legal-hero {
  position: relative;
  overflow: hidden;
  padding: 156px clamp(20px, 5vw, 72px) 64px;
  color: var(--white);
  background:
    linear-gradient(105deg, rgba(5, 18, 29, 0.98), rgba(7, 35, 59, 0.96) 50%, rgba(15, 67, 105, 0.94)),
    var(--blue-deep);
}

.legal-hero::before,
.legal-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.legal-hero::before {
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px;
}

.legal-hero::after {
  top: 34%;
  right: 9%;
  width: min(28vw, 340px);
  height: min(28vw, 340px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow: inset 0 0 70px rgba(21, 95, 168, 0.16);
}

.legal-hero > * {
  position: relative;
  z-index: 1;
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.2rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.legal-hero p:last-child {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.legal-content {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(48px, 7vw, 82px) 0;
}

.legal-content h2 {
  max-width: none;
  margin: 30px 0 10px;
  font-size: clamp(1.45rem, 2vw, 1.8rem);
  line-height: 1.2;
  color: var(--ink);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin: 0;
  color: var(--muted);
  max-width: 820px;
  padding-left: 18px;
  border-left: 4px solid rgba(47, 111, 94, 0.22);
}

.legal-content a {
  color: var(--blue);
  font-weight: 800;
  border-bottom: 1px solid rgba(21, 95, 168, 0.35);
}

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

  .main-nav {
    display: none;
  }

  .contact-back-link {
    top: 18px;
    right: 20px;
  }

  .hero {
    min-height: 620px;
    aspect-ratio: auto;
  }

  .hero-image {
    object-position: 64% center;
  }

  .hero-content {
    padding-top: 132px;
    padding-bottom: 54px;
  }

  .intro,
  .sectors,
  .assurance,
  .contact-hero {
    grid-template-columns: 1fr;
  }

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

  .timeline {
    border-top: 0;
    border-left: 3px solid var(--green);
    margin-left: 8px;
  }

  .timeline li {
    padding: 0 0 28px 24px;
  }

  .timeline li::before {
    top: 3px;
    left: -10px;
  }

  .sector-list {
    grid-template-columns: 1fr;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .brand small {
    display: none;
  }

  .hero-content {
    width: min(100%, 334px);
    max-width: calc(100vw - 56px);
    padding-left: 28px;
    padding-right: 28px;
  }

  .eyebrow {
    font-size: 0.72rem;
    line-height: 1.45;
  }

  .hero-copy {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .hero h1 {
    max-width: 9ch;
    font-size: 2.55rem;
    line-height: 1.02;
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-hero {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    padding: 132px 20px 56px;
  }

  .contact-copy,
  .contact-form {
    width: min(100%, 350px);
    max-width: calc(100vw - 40px);
  }

  .contact-page-title {
    justify-self: start;
    margin-bottom: 0;
    font-size: 2rem;
  }

  .contact-copy p:not(.section-kicker),
  .contact-info-list,
  .contact-note {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .button {
    width: 100%;
  }

  .service-card {
    min-height: auto;
    padding: 22px;
  }

  .legal-hero {
    padding: 132px 24px 54px;
  }

  .legal-hero h1 {
    font-size: 2.7rem;
    line-height: 1.02;
  }

  .legal-content {
    width: 100%;
    padding: 46px 20px;
  }

  .legal-content p {
    max-width: 100%;
    overflow-wrap: break-word;
  }
}
