:root {
  --navy: #071b33;
  --navy-2: #102c4c;
  --cyan: #1aa6d9;
  --cyan-dark: #087ca6;
  --gold: #d6a300;
  --gold-dark: #9c7200;
  --gold-soft: #fff7df;
  --ink: #172033;
  --muted: #5f6b7c;
  --line: #dce4ec;
  --soft: #f4f7fa;
  --warm-soft: #fbf7ed;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(7, 27, 51, 0.08);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.section {
  padding: 86px 0;
}

.section-soft {
  background: var(--soft);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(220, 228, 236, 0.9);
  border-top: 3px solid var(--gold);
  backdrop-filter: blur(12px);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 28px;
}

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

.brand img {
  width: 220px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover,
.text-link:hover,
.footer-links a:hover,
.footer-contact a:hover {
  color: var(--gold-dark);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--navy);
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: var(--navy-2);
  border-color: var(--gold);
}

.button-secondary {
  background: var(--white);
  color: var(--navy);
  border-color: rgba(214, 163, 0, 0.42);
}

.button-secondary:hover {
  background: var(--gold-soft);
  color: var(--navy);
  border-color: var(--gold);
}

.button-small {
  min-height: 42px;
  padding-inline: 16px;
  font-size: 0.92rem;
}

.hero {
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 58%, rgba(251,247,237,0.96) 100%);
}

.hero-grid,
.split,
.contact-grid,
.client-grid,
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 64px;
  align-items: center;
}

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

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

.eyebrow::after {
  content: "";
  display: block;
  width: 38px;
  height: 2px;
  margin-top: 9px;
  background: var(--gold);
}

.eyebrow-light {
  color: #72d3f2;
}

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

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

h1 {
  max-width: 860px;
  margin-bottom: 22px;
  font-size: 3.75rem;
  letter-spacing: 0;
}

.hero-title {
  display: grid;
  gap: 12px;
}

.hero-title span:first-child {
  color: var(--navy);
}

.hero-title strong {
  color: var(--gold-dark);
  font-weight: inherit;
}

.hero-title span:last-child {
  max-width: 760px;
  padding-top: 14px;
  border-top: 3px solid var(--gold);
  color: var(--navy);
  font-size: 0.52em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 18px;
  font-size: 3rem;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
}

.lead {
  max-width: 680px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1.25rem;
}

.lead-small {
  max-width: 580px;
  color: var(--muted);
  font-size: 1.08rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-panel {
  position: relative;
  padding: 36px;
  border: 1px solid rgba(214, 163, 0, 0.32);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--white) 0%, var(--gold-soft) 100%);
  box-shadow: var(--shadow);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--cyan), var(--gold) 64%, var(--gold-dark));
  border-radius: var(--radius) 0 0 var(--radius);
}

.panel-mark {
  width: 80px;
  margin-bottom: 26px;
}

.hero-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.hero-proof {
  display: grid;
  gap: 22px;
}

.hero-proof article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: start;
  padding-top: 20px;
  border-top: 1px solid rgba(214, 163, 0, 0.3);
}

.hero-proof article:first-child {
  padding-top: 0;
  border-top: 0;
}

.hero-proof article > span {
  width: 54px;
  height: 54px;
  border: 2px solid var(--navy);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--gold) 0 5px, transparent 6px),
    linear-gradient(90deg, transparent 48%, rgba(7, 27, 51, 0.35) 49% 51%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(7, 27, 51, 0.35) 49% 51%, transparent 52%);
}

.hero-proof article:nth-child(2) > span {
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, transparent 0 45%, var(--gold) 46% 52%, transparent 53%),
    linear-gradient(90deg, rgba(7, 27, 51, 0.18) 0 2px, transparent 2px) 13px 29px / 9px 18px no-repeat,
    linear-gradient(90deg, rgba(7, 27, 51, 0.25) 0 2px, transparent 2px) 25px 22px / 9px 25px no-repeat,
    linear-gradient(90deg, rgba(7, 27, 51, 0.35) 0 2px, transparent 2px) 37px 14px / 9px 33px no-repeat;
}

.hero-proof h2 {
  margin-bottom: 6px;
  font-size: 1.05rem;
  text-transform: uppercase;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(214, 163, 0, 0.3);
  list-style: none;
}

.hero-tags li {
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 850;
  text-transform: uppercase;
}

.hero-tags li + li::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 10px 2px 0;
  border-radius: 50%;
  background: var(--gold);
}

.prose {
  color: var(--muted);
  font-size: 1.06rem;
}

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

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading h2,
.split h2 {
  position: relative;
}

.section-heading h2::after,
.split h2::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  margin-top: 18px;
  background: var(--gold);
}

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

.card,
.process-step,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.card {
  position: relative;
  padding: 26px;
  min-height: 190px;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
}

.card:hover {
  border-color: rgba(214, 163, 0, 0.46);
}

.card p,
.process-step p {
  margin-bottom: 0;
  color: var(--muted);
}

.section-navy {
  background:
    linear-gradient(135deg, var(--navy) 0%, #08213f 58%, #0b2749 100%);
  color: var(--white);
}

.section-navy h2,
.section-navy h3 {
  color: var(--white);
}

.section-navy p {
  color: #dbe6f1;
}

.client-grid {
  align-items: start;
}

.client-list {
  display: grid;
  gap: 12px;
}

.client-list p {
  margin: 0;
  padding: 18px 18px 18px 22px;
  border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.07);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--white);
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--navy);
  font-weight: 800;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

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

.process-step {
  position: relative;
  padding: 24px;
  overflow: hidden;
}

.process-step span {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--gold);
  font-weight: 900;
}

.process-step::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 18px;
  width: 34px;
  height: 34px;
  border-top: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  opacity: 0.45;
}

.founder {
  border-bottom: 1px solid var(--line);
}

.contact-grid {
  align-items: start;
}

address {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  font-style: normal;
  color: var(--navy);
  font-weight: 700;
}

address a {
  text-decoration: none;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
}

.social-link span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: #0a66c2;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd6e2;
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
  background: var(--white);
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(214, 163, 0, 0.18);
  border-color: var(--gold);
}

textarea {
  resize: vertical;
}

.hidden {
  display: none;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.site-footer {
  padding: 46px 0;
  background:
    linear-gradient(180deg, #06182c 0%, #041225 100%);
  border-top: 4px solid var(--gold);
  color: #dbe6f1;
}

.footer-grid {
  grid-template-columns: 1.2fr 0.8fr 0.45fr;
  align-items: start;
  gap: 36px;
}

.site-footer h2 {
  margin: 14px 0 8px;
  color: var(--white);
  font-size: 1.2rem;
}

.site-footer img {
  width: 44px;
}

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

.footer-contact,
.footer-links {
  display: grid;
  gap: 9px;
}

.footer-contact a,
.footer-links a {
  color: inherit;
  text-decoration: none;
}

.legal-page {
  padding: 70px 0;
  background: linear-gradient(90deg, var(--white), var(--warm-soft));
}

.legal-page article {
  max-width: 820px;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
}

@media (max-width: 980px) {
  .nav {
    flex-wrap: wrap;
    gap: 14px 20px;
    padding: 14px 0;
  }

  .brand {
    width: 100%;
  }

  .nav-links {
    order: 3;
    width: 100%;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero-grid,
  .split,
  .contact-grid,
  .client-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero {
    min-height: auto;
  }

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

  h1 {
    font-size: 3.05rem;
  }

  h2 {
    font-size: 2.35rem;
  }
}

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

  .section {
    padding: 64px 0;
  }

  .brand img {
    width: 190px;
  }

  .button-small {
    width: 100%;
  }

  h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 2rem;
  }

  .lead {
    font-size: 1.1rem;
  }

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

  .hero-panel,
  .contact-form {
    padding: 24px;
  }

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

  .card {
    min-height: auto;
  }
}
