:root {
  --bg: #101418;
  --bg-soft: #182028;
  --panel: #ffffff;
  --panel-soft: #f4f7f8;
  --text: #152029;
  --muted: #5b6873;
  --light: #f8fbfb;
  --line: rgba(21, 32, 41, 0.12);
  --blue: #2f6f8f;
  --green: #5d8f75;
  --orange: #f7941d;
  --orange-dark: #d56f00;
  --shadow: 0 22px 60px rgba(7, 12, 16, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--light);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 251, 251, 0.9);
  border-bottom: 1px solid rgba(21, 32, 41, 0.08);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 44px;
  height: 44px;
  display: block;
  flex: 0 0 auto;
  border-radius: 8px;
  object-fit: cover;
}

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

.brand strong {
  font-size: 17px;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover {
  background: rgba(47, 111, 143, 0.08);
  color: var(--text);
}

.hero {
  min-height: calc(100svh - 76px);
  display: flex;
  align-items: center;
  padding: 56px 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(93, 143, 117, 0.28), transparent 32%),
    linear-gradient(135deg, rgba(47, 111, 143, 0.96), rgba(16, 20, 24, 0.96));
  color: #ffffff;
}

.hero-grid {
  display: block;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow,
.contact .eyebrow {
  color: #9bd8b8;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(46px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.25;
}

.lead {
  max-width: 660px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 21px;
  line-height: 1.55;
}

.subdivision-note {
  display: inline-block;
  max-width: 620px;
  margin: 22px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

.subdivision-note a {
  color: #ffd294;
  font-weight: 800;
  text-decoration: none;
}

.subdivision-note a:hover {
  text-decoration: underline;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
}

.btn.primary {
  background: var(--orange);
  color: #171100;
}

.btn.primary:hover {
  background: #ffad43;
}

.text-link {
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.section {
  padding: 78px 0;
}

.intro {
  background: #ffffff;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: 42px;
}

.copy p,
.contact p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.copy p:first-child {
  margin-top: 0;
}

.services {
  background: var(--panel-soft);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 28px;
}

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

.service-card {
  min-height: 214px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

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

.contact {
  background: var(--bg);
  color: #ffffff;
}

.contact-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 34px;
  align-items: start;
}

.contact-details {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.contact-details p {
  margin: 0 0 14px;
}

.contact-details p:last-child {
  margin-bottom: 0;
}

.contact-actions {
  margin-top: 18px;
}

.contact a {
  color: #ffd294;
  font-weight: 800;
  text-decoration: none;
}

.contact a:hover {
  text-decoration: underline;
}

.contact .contact-email {
  width: 100%;
  background: var(--orange);
  color: #171100;
}

.contact .contact-email:hover {
  background: #ffad43;
  text-decoration: none;
}

.site-footer {
  padding: 28px 0;
  background: #090c0f;
  color: rgba(255, 255, 255, 0.62);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .header-inner,
  .site-nav {
    align-items: flex-start;
  }

  .header-inner {
    min-height: 0;
    padding: 16px 0;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: auto;
    padding: 48px 0;
    background:
      radial-gradient(circle at 78% 18%, rgba(93, 143, 117, 0.26), transparent 32%),
      linear-gradient(135deg, rgba(47, 111, 143, 0.96), rgba(16, 20, 24, 0.96));
  }

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

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

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .brand strong {
    font-size: 15px;
  }

  .brand small {
    font-size: 12px;
  }

  .site-nav a {
    white-space: nowrap;
  }

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

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

  .section {
    padding: 56px 0;
  }
}
