:root {
  --teal: #0c3d33;
  --teal-dark: #082a23;
  --teal-deep: #041b17;
  --gold: #b8904a;
  --gold-light: #d4aa62;
  --charcoal: #1e2326;
  --steel: #879199;
  --line: rgba(184, 144, 74, 0.34);
  --white: #ffffff;
  --paper: #f4f1eb;
  --paper-soft: #ebe7df;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--teal-deep);
  color: var(--white);
  font-family: "Inter", Arial, sans-serif;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  padding: 0 clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(4, 27, 23, 0.08);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(4, 27, 23, 0.88);
  border-color: rgba(184, 144, 74, 0.24);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 172px;
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  font-size: 0.82rem;
  font-weight: 600;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.92);
}

.site-nav a:hover {
  color: var(--gold-light);
}

.nav-cta {
  min-width: 132px;
  padding: 11px 18px;
  border: 1px solid var(--gold);
  color: var(--gold-light) !important;
  text-align: center;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(4, 27, 23, 0.45);
  color: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 0;
}

.hero__media,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__media {
  background: url("assets/hero-office.png") center right / cover no-repeat;
  transform: scale(1.01);
}

.hero__overlay {
  background:
    linear-gradient(90deg, rgba(4, 27, 23, 0.92) 0%, rgba(4, 27, 23, 0.64) 38%, rgba(4, 27, 23, 0.12) 72%),
    linear-gradient(180deg, rgba(4, 27, 23, 0.42) 0%, rgba(4, 27, 23, 0.06) 50%, rgba(4, 27, 23, 0.84) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 40px));
  margin-left: clamp(22px, 7vw, 96px);
  padding-top: 80px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.method h2,
.about h2,
.cta h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.75rem, 4.05vw, 4.9rem);
  line-height: 1.12;
}

.hero h1 span {
  display: block;
}

.hero h1 strong {
  color: var(--gold-light);
  font-weight: 400;
}

.rule {
  width: 44px;
  height: 2px;
  margin: 28px 0 24px;
  background: var(--gold-light);
}

.hero__tagline {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.22vw, 1.14rem);
  font-weight: 600;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 48px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  min-width: 156px;
  padding: 0 24px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button--gold {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: var(--white);
  box-shadow: 0 14px 36px rgba(184, 144, 74, 0.22);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(5, 30, 26, 0.35);
  color: var(--white);
}

.section-dark {
  background:
    radial-gradient(circle at 10% 0%, rgba(18, 88, 74, 0.42), transparent 36%),
    linear-gradient(180deg, var(--teal) 0%, var(--teal-dark) 100%);
}

.section-light {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-soft) 100%);
  color: var(--charcoal);
}

.services {
  border-top: 1px solid rgba(184, 144, 74, 0.34);
  border-bottom: 1px solid rgba(184, 144, 74, 0.28);
  padding: 0 clamp(20px, 5vw, 72px);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1360px;
  margin: 0 auto;
}

.service-item {
  min-height: 305px;
  padding: 50px clamp(20px, 3vw, 42px);
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.service-item:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.service-item h2 {
  margin: 24px 0 14px;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.52rem;
  font-weight: 400;
}

.service-item p {
  min-height: 96px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
  line-height: 1.75;
}

.service-item a {
  color: var(--gold-light);
  font-size: 0.86rem;
  font-weight: 700;
}

.service-item a::after {
  content: " ->";
}

.line-icon {
  position: relative;
  width: 58px;
  height: 54px;
  border: 2px solid var(--gold-light);
}

.line-icon span {
  position: absolute;
  border: 1px solid var(--gold-light);
}

.line-icon span:nth-child(1) { left: 9px; top: 9px; width: 12px; height: 12px; }
.line-icon span:nth-child(2) { left: 27px; top: 9px; width: 20px; height: 12px; }
.line-icon span:nth-child(3) { left: 9px; top: 28px; width: 18px; height: 12px; }
.line-icon span:nth-child(4) { left: 34px; top: 28px; width: 13px; height: 12px; }

.line-icon--document {
  border-radius: 0;
  width: 44px;
}

.line-icon--document::after {
  content: "";
  position: absolute;
  right: -2px;
  top: -2px;
  width: 14px;
  height: 14px;
  border-left: 2px solid var(--gold-light);
  border-bottom: 2px solid var(--gold-light);
  background: var(--teal);
}

.line-icon--document span:nth-child(1) { left: 9px; top: 16px; width: 22px; height: 0; }
.line-icon--document span:nth-child(2) { left: 9px; top: 26px; width: 22px; height: 0; }
.line-icon--document span:nth-child(3) { left: 9px; top: 36px; width: 14px; height: 0; }
.line-icon--document span:nth-child(4) { display: none; }

.line-icon--scale {
  width: 62px;
  height: 54px;
  border: 0;
}

.line-icon--scale::before,
.line-icon--scale::after {
  content: "";
  position: absolute;
  border: 2px solid var(--gold-light);
}

.line-icon--scale::before {
  left: 28px;
  top: 4px;
  width: 0;
  height: 42px;
}

.line-icon--scale::after {
  left: 18px;
  bottom: 0;
  width: 24px;
  height: 0;
}

.line-icon--scale span:nth-child(1) { left: 7px; top: 16px; width: 48px; height: 0; }
.line-icon--scale span:nth-child(2) { left: 0; top: 24px; width: 18px; height: 15px; border-radius: 0 0 16px 16px; }
.line-icon--scale span:nth-child(3) { right: 0; top: 24px; width: 18px; height: 15px; border-radius: 0 0 16px 16px; }

.line-icon--shield {
  width: 52px;
  height: 58px;
  border-radius: 26px 26px 8px 8px;
}

.line-icon--shield span {
  left: 16px;
  top: 17px;
  width: 18px;
  height: 10px;
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg);
}

.authority {
  padding: 74px clamp(20px, 5vw, 72px) 84px;
  border-bottom: 1px solid rgba(30, 35, 38, 0.12);
}

.section-heading {
  max-width: 880px;
}

.section-heading--center {
  margin: 0 auto 58px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 3.3rem);
  line-height: 1.25;
}

.section-heading--center .eyebrow {
  color: var(--gold);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1160px;
  margin: 0 auto;
}

.proof-grid article {
  min-height: 144px;
  padding: 0 28px;
  text-align: center;
  border-right: 1px solid rgba(30, 35, 38, 0.18);
}

.proof-grid article:first-child {
  border-left: 1px solid rgba(30, 35, 38, 0.18);
}

.proof-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: "Libre Baskerville", Georgia, serif;
}

.proof-grid h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
}

.method {
  display: grid;
  grid-template-columns: 0.9fr 0.9fr 1fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: 86px clamp(20px, 6vw, 86px);
  border-bottom: 1px solid rgba(184, 144, 74, 0.24);
}

.method__copy h2 {
  max-width: 520px;
  margin: 0 0 22px;
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 1.22;
}

.method__copy p:not(.eyebrow) {
  max-width: 440px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1rem;
  line-height: 1.85;
}

.method__art {
  position: relative;
  min-height: 260px;
}

.device {
  position: absolute;
  border: 2px solid rgba(184, 144, 74, 0.72);
}

.device--laptop {
  left: 0;
  bottom: 16px;
  width: min(320px, 86vw);
  height: 190px;
}

.device--tablet {
  right: 0;
  bottom: 0;
  width: 116px;
  height: 162px;
  transform: rotate(9deg);
}

.device__screen {
  position: absolute;
  inset: 20px;
}

.device__screen span {
  display: block;
  height: 2px;
  margin: 18px 0;
  background: rgba(184, 144, 74, 0.55);
}

.device__screen span:nth-child(2) {
  width: 72%;
}

.device__screen span:nth-child(3) {
  width: 48%;
}

.device__base {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: -22px;
  height: 20px;
  border: 2px solid rgba(184, 144, 74, 0.72);
  border-top: 0;
  transform: skewX(-14deg);
}

.check-list {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 38px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 19px;
  height: 19px;
  border: 1px solid var(--gold-light);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 7px;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--gold-light);
  border-bottom: 2px solid var(--gold-light);
  transform: rotate(-45deg);
}

.about {
  padding: 86px clamp(20px, 6vw, 86px);
}

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

.about h2 {
  max-width: 720px;
  margin: 0 0 24px;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.25;
}

.about p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.05rem;
  line-height: 1.9;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 46px;
  background: rgba(255, 255, 255, 0.14);
}

.about__stats span {
  padding: 26px;
  background: rgba(4, 27, 23, 0.46);
  color: rgba(255, 255, 255, 0.76);
}

.about__stats strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-light);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 7vw, 120px);
  padding: 56px clamp(20px, 5vw, 72px);
  border-top: 1px solid rgba(30, 35, 38, 0.12);
  text-align: center;
}

.cta h2 {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: clamp(1.7rem, 2.5vw, 2.65rem);
}

.cta p {
  margin: 0;
  color: rgba(30, 35, 38, 0.74);
}

.footer {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 1fr;
  gap: 36px;
  padding: 48px clamp(20px, 5vw, 72px) 34px;
  background: #151a1c;
  color: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(184, 144, 74, 0.26);
}

.footer__brand img {
  width: 170px;
  max-height: 70px;
  object-fit: contain;
  margin-bottom: 18px;
}

.footer__brand p {
  max-width: 360px;
  margin: 0;
  line-height: 1.7;
}

.footer__trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.footer__trust span {
  min-height: 72px;
  display: flex;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(184, 144, 74, 0.2);
  color: rgba(255, 255, 255, 0.84);
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.footer h3 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.footer a {
  display: block;
  margin: 9px 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}

.footer a:hover {
  color: var(--gold-light);
}

@media (max-width: 1040px) {
  .site-nav {
    gap: 18px;
  }

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

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

  .method__art {
    max-width: 420px;
  }

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

@media (max-width: 760px) {
  .site-header {
    height: 70px;
    padding: 0 18px;
  }

  .brand img {
    width: 146px;
    max-height: 52px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 82px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: rgba(4, 27, 23, 0.96);
    border: 1px solid rgba(184, 144, 74, 0.26);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 14px 12px;
  }

  .nav-cta {
    margin-top: 8px;
  }

  .hero {
    min-height: 780px;
  }

  .hero__media {
    background-position: 63% center;
  }

  .hero__overlay {
    background:
      linear-gradient(90deg, rgba(4, 27, 23, 0.96) 0%, rgba(4, 27, 23, 0.78) 58%, rgba(4, 27, 23, 0.42) 100%),
      linear-gradient(180deg, rgba(4, 27, 23, 0.26), rgba(4, 27, 23, 0.9));
  }

  .hero__content {
    margin: 0 auto;
    padding-top: 76px;
  }

  .hero h1 {
    font-size: clamp(2.12rem, 8.7vw, 3.25rem);
    line-height: 1.15;
  }

  .hero h1 span {
    display: inline;
  }

  .button {
    width: 100%;
  }

  .services {
    padding: 0;
  }

  .service-grid,
  .proof-grid,
  .about__stats,
  .footer__trust,
  .footer__links {
    grid-template-columns: 1fr;
  }

  .service-item,
  .service-item:first-child,
  .proof-grid article,
  .proof-grid article:first-child {
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .proof-grid article,
  .proof-grid article:first-child {
    border-bottom-color: rgba(30, 35, 38, 0.16);
  }

  .service-item p {
    min-height: 0;
  }

  .authority,
  .method,
  .about {
    padding: 58px 20px;
  }

  .method__art {
    min-height: 230px;
  }

  .device--laptop {
    width: 260px;
    height: 156px;
  }

  .cta {
    flex-direction: column;
    padding: 46px 20px;
  }

  .footer {
    padding: 42px 20px;
  }
}
