:root {
  --ink: #06182f;
  --muted: #5f6f82;
  --line: #d7dee8;
  --paper: #f5f7fb;
  --white: #ffffff;
  --navy: #001a33;
  --navy-soft: #082744;
  --navy-deep: #000d20;
  --gold: #e7b64d;
  --gold-bright: #f4cb69;
  --gold-dark: #a97216;
  --shadow: 0 24px 70px rgba(0, 19, 43, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img,
svg {
  display: block;
}

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

.topbar {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 9px 18px;
  color: var(--navy-deep);
  background: var(--gold);
  font-size: 0.86rem;
  font-weight: 900;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 13px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(0, 13, 32, 0.96);
  box-shadow: 0 1px 22px rgba(0, 13, 32, 0.22);
}

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

.brand-logo {
  width: 142px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
  border-radius: 6px;
}

.nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.9rem;
  font-weight: 800;
}

.nav a {
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--gold);
  transition: transform 160ms ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta,
.footer-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
}

.header-cta,
.footer-cta {
  padding: 0 18px;
  background: var(--gold);
  color: var(--navy-deep);
}

.button {
  padding: 0 22px;
  border: 0;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.button.primary {
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.2);
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 82px) clamp(18px, 4vw, 56px);
  color: var(--white);
  background:
    radial-gradient(circle at 78% 16%, rgba(244, 203, 105, 0.22), rgba(244, 203, 105, 0) 28%),
    linear-gradient(135deg, var(--navy-deep), var(--navy) 48%, var(--navy-soft));
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: 0.7;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 46px);
  align-items: start;
  justify-items: center;
  max-width: 1120px;
  margin: 0 auto;
}

.hero-copy-block {
  display: grid;
  justify-items: center;
  text-align: center;
}

.hero-logo {
  width: min(820px, 100%);
  height: auto;
  margin-bottom: clamp(22px, 4vw, 38px);
  border-radius: 8px;
  box-shadow: 0 40px 95px rgba(0, 0, 0, 0.34);
}

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

.hero .eyebrow,
.values .eyebrow {
  color: var(--gold-bright);
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  margin-left: auto;
  margin-right: auto;
  max-width: 820px;
  font-size: clamp(3rem, 6.4vw, 5.8rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.55rem);
}

h3 {
  font-size: 1.12rem;
}

.hero-copy {
  max-width: 680px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

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

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-form {
  width: min(760px, 100%);
  border-color: rgba(231, 182, 77, 0.42);
  margin-top: 0;
}

.form-heading,
.wide,
.form-note {
  grid-column: 1 / -1;
}

.form-heading h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.form-heading p:not(.eyebrow) {
  margin: 10px 0 0;
  color: var(--muted);
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #ccd6e3;
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fbfcff;
  font: inherit;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: 3px solid rgba(231, 182, 77, 0.28);
  border-color: var(--gold-dark);
}

.lead-form .button {
  width: 100%;
}

.hidden {
  display: none;
}

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

.proof-band {
  padding: 0 clamp(18px, 4vw, 56px);
  background: var(--white);
}

.proof-inner {
  max-width: 1180px;
  margin: 0 auto;
  transform: translateY(-28px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(0, 19, 43, 0.12);
}

.proof-inner div {
  min-height: 116px;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.proof-inner div:last-child {
  border-right: 0;
}

.proof-inner strong,
.proof-inner span {
  display: block;
}

.proof-inner strong {
  font-size: 1.02rem;
}

.proof-inner span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: clamp(62px, 9vw, 112px) clamp(18px, 4vw, 56px);
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

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

.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.services {
  background: var(--paper);
}

.services .section-inner {
  max-width: 1060px;
}

.services .section-heading {
  max-width: 780px;
}

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

.service-card {
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  text-align: center;
}

.service-card svg {
  width: 38px;
  height: 38px;
  margin: 0 auto 24px;
  fill: var(--gold-dark);
}

.service-card p,
.steps p,
.faq-list p,
.story-copy p,
.values-copy p,
.contact-section p,
.site-footer p {
  color: var(--muted);
}

.service-card p {
  margin: 12px 0 0;
}

.about {
  background: var(--white);
}

.about-layout,
.values-layout,
.contact-layout,
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(34px, 6vw, 74px);
  align-items: start;
}

.story-copy {
  display: grid;
  gap: 18px;
  font-size: 1.08rem;
}

.story-copy p {
  margin: 0;
}

.values {
  color: var(--white);
  background: var(--navy);
}

.values-copy p {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
}

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

.values-list article {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.values-list span {
  display: block;
  margin-bottom: 18px;
  color: var(--gold-bright);
  font-size: 0.82rem;
  font-weight: 900;
}

.values-list p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

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

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  min-height: 228px;
  padding: 24px;
  border-top: 4px solid var(--gold);
  border-radius: 0 0 8px 8px;
  background: var(--paper);
}

.steps span {
  display: block;
  margin-bottom: 26px;
  color: var(--gold-dark);
  font-size: 0.86rem;
  font-weight: 900;
}

.cta-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: clamp(34px, 5vw, 54px) clamp(18px, 4vw, 56px);
  color: var(--white);
  background: var(--navy-deep);
}

.cta-strip > * {
  max-width: 1180px;
}

.cta-strip h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.cta-strip .eyebrow {
  color: var(--gold-bright);
}

.contact-section {
  background:
    linear-gradient(120deg, rgba(0, 26, 51, 0.08), rgba(231, 182, 77, 0.12)),
    var(--paper);
}

.contact-section p {
  margin: 18px 0 0;
  font-size: 1.08rem;
}

.contact-panel {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-panel a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  font-weight: 900;
}

.contact-panel svg {
  width: 22px;
  height: 22px;
  fill: var(--gold-dark);
}

.faq {
  background: var(--white);
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

summary {
  cursor: pointer;
  padding: 20px;
  font-weight: 900;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
}

.site-footer {
  padding: 42px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: var(--navy-deep);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer-logo {
  width: 138px;
  height: 138px;
  object-position: center;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.reveal-line {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal-line.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .topbar {
    flex-wrap: wrap;
    gap: 8px 18px;
  }

  .site-header {
    grid-template-columns: auto auto;
  }

  .nav {
    display: none;
  }

  .header-cta {
    justify-self: end;
  }

  .hero-inner,
  .about-layout,
  .values-layout,
  .contact-layout,
  .faq-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-form {
    max-width: 680px;
  }

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

  .proof-inner div:nth-child(2) {
    border-right: 0;
  }

  .proof-inner div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .cta-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .topbar span {
    width: 100%;
    text-align: center;
  }

  .site-header {
    padding: 12px 16px;
    gap: 12px;
  }

  .brand-logo {
    width: 104px;
    height: 48px;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.84rem;
  }

  .hero {
    padding: 38px 18px 56px;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 4.1rem);
  }

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

  .lead-form,
  .proof-inner,
  .service-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .proof-inner div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-inner div:last-child {
    border-bottom: 0;
  }

  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .service-card,
  .steps li {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
