:root {
  --ink: #162024;
  --muted: #5d6972;
  --line: #dce4e8;
  --paper: #f7f9f8;
  --white: #ffffff;
  --teal: #007f78;
  --teal-dark: #005e5b;
  --coral: #d75a4a;
  --gold: #c9932f;
  --navy: #102438;
  --shadow: 0 22px 60px rgba(18, 32, 36, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

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

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

p,
h1,
h2,
h3 {
  margin-top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(20px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 228, 232, 0.86);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 760;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--navy));
  border-radius: 8px;
  font-size: 1.05rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 2vw, 28px);
  color: #41505a;
  font-size: 0.95rem;
  font-weight: 650;
  flex-wrap: wrap;
}

.nav a {
  transition: color 180ms ease;
}

.nav a:hover,
.nav a:focus {
  color: var(--teal);
}

.hero {
  position: relative;
  min-height: clamp(540px, 78svh, 760px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/hero-office.png");
  background-size: cover;
  background-position: center right;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 20, 30, 0.88) 0%, rgba(9, 26, 35, 0.72) 42%, rgba(16, 36, 56, 0.18) 100%),
    linear-gradient(0deg, rgba(8, 20, 30, 0.24), rgba(8, 20, 30, 0.04));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 96px);
  padding-block: 56px;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #82eee4;
}

h1 {
  max-width: 11ch;
  margin-bottom: 20px;
  font-size: clamp(3.4rem, 8vw, 6.8rem);
  line-height: 0.94;
  font-weight: 820;
}

.hero-copy {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 780;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--white);
  background: var(--teal);
}

.button.primary:hover,
.button.primary:focus {
  background: var(--teal-dark);
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.38);
}

.button.secondary:hover,
.button.secondary:focus {
  background: rgba(255, 255, 255, 0.18);
}

.band {
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.intro {
  padding: clamp(48px, 7vw, 84px) clamp(20px, 5vw, 72px);
}

.section {
  padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 72px);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 72px);
  width: min(1160px, 100%);
  margin-inline: auto;
  align-items: start;
}

.section-grid h2,
.section-heading h2,
.split-copy h2,
.contact-copy h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.section-grid p,
.split-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.03rem;
}

.section-heading {
  width: min(780px, 100%);
  margin: 0 auto 34px;
  text-align: center;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, 100%);
  margin-inline: auto;
}

.service-card {
  min-height: 288px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(16, 36, 56, 0.07);
}

.service-number {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--coral);
  font-weight: 840;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
  line-height: 1.2;
}

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

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 6vw, 80px);
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
  padding-inline: 0;
}

.split-copy p {
  max-width: 700px;
}

.stats-panel {
  display: grid;
  gap: 1px;
  align-self: stretch;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.stats-panel div {
  display: grid;
  align-content: center;
  min-height: 132px;
  padding: 28px;
  background: var(--navy);
}

.stats-panel strong {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  line-height: 1.1;
}

.stats-panel span {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 650;
}

.compliance {
  padding-block: clamp(56px, 7vw, 88px);
}

.info-list {
  display: grid;
  gap: 16px;
}

.info-list div {
  display: grid;
  gap: 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.info-list span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 760;
  text-transform: uppercase;
}

.info-list strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.info-list a {
  color: var(--teal-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 6vw, 70px);
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
  padding-inline: 0;
}

.contact-link {
  display: grid;
  align-content: center;
  min-height: 220px;
  padding: 28px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--navy));
  border-radius: 8px;
  box-shadow: var(--shadow);
  font-size: clamp(1.15rem, 2.4vw, 1.9rem);
  font-weight: 820;
  overflow-wrap: anywhere;
}

.contact-link span {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  padding: 34px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.76);
  background: #0d1b25;
}

.site-footer strong {
  color: var(--white);
}

.site-footer p {
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  align-items: start;
  gap: 18px;
  flex-wrap: wrap;
  font-weight: 700;
}

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

.copyright {
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

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

.legal-hero {
  padding: clamp(64px, 8vw, 104px) clamp(20px, 5vw, 72px) 44px;
  color: var(--white);
  background: linear-gradient(135deg, #0d1b25, #114a55 62%, #7b3d35);
}

.legal-hero h1 {
  max-width: none;
  margin-bottom: 12px;
  font-size: clamp(2.6rem, 6vw, 5rem);
}

.legal-hero p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

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

.legal-content h2 {
  margin: 34px 0 10px;
  font-size: 1.35rem;
}

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

.legal-content p {
  color: var(--muted);
}

.legal-content a {
  color: var(--teal-dark);
  font-weight: 760;
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

  .nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 660px;
  }

  .hero-media {
    background-position: 58% center;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(8, 20, 30, 0.9), rgba(9, 26, 35, 0.58));
  }

  .section-grid,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 0;
  }

  .brand {
    white-space: normal;
  }

  .nav {
    gap: 12px 18px;
    font-size: 0.9rem;
  }

  .hero {
    min-height: 620px;
  }

  .hero-content {
    width: min(100% - 32px, 720px);
    margin-left: 16px;
  }

  h1 {
    max-width: 8ch;
    font-size: clamp(3rem, 17vw, 4.25rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

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

  .service-card {
    min-height: 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}
