:root {
  --navy: #061f5b;
  --deep-navy: #02153d;
  --gold: #a45f09;
  --soft-gold: #c99445;
  --cream: #f8f6f1;
  --light: #ffffff;
  --text: #1e2430;
  --muted: #5e6675;
  --border: rgba(164, 95, 9, 0.25);
  --shadow: 0 20px 60px rgba(2, 21, 61, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  background: var(--light);
  line-height: 1.6;
}

a {
  color: var(--navy);
  text-decoration: none;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid rgba(6,31,91,0.08);
  backdrop-filter: blur(12px);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 82px;
  gap: 28px;
}

.brand img {
  width: 250px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.95rem;
}

.nav-button {
  border: 1px solid var(--gold);
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--gold);
}

.hero {
  min-height: 680px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.88) 40%, rgba(255,255,255,0.35) 100%),
    url("assets/hero-banner.png") center/cover no-repeat;
}

.hero-overlay {
  min-height: 680px;
  display: flex;
  align-items: center;
}

.hero-card {
  max-width: 690px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(164, 95, 9, 0.18);
  box-shadow: var(--shadow);
  padding: 44px;
  border-radius: 22px;
}

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

.eyebrow.gold {
  color: var(--soft-gold);
}

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

h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
}

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

h3 {
  font-size: 1.45rem;
}

.hero-copy {
  color: var(--muted);
  font-size: 1.15rem;
  margin: 22px 0 30px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease;
}

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

.primary {
  background: var(--navy);
  color: white;
  box-shadow: 0 12px 28px rgba(6,31,91,0.2);
}

.secondary {
  border: 1px solid var(--gold);
  color: var(--gold);
  background: white;
}

.full {
  width: 100%;
  margin-top: 10px;
}

.section {
  padding: 88px 0;
}

.light {
  background: var(--cream);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

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

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

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.card {
  background: white;
  border: 1px solid rgba(6,31,91,0.08);
  border-top: 4px solid var(--gold);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 14px 40px rgba(2,21,61,0.08);
}

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

.image-split {
  grid-template-columns: 1fr 1fr;
}

.feature-image {
  border-radius: 22px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(164,95,9,0.2);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.check-list li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 12px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.navy {
  background: linear-gradient(135deg, var(--deep-navy), var(--navy));
  color: white;
}

.navy h2,
.navy p,
.navy strong,
.navy span {
  color: white;
}

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

.values div {
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 18px;
  padding: 28px;
  background: rgba(255,255,255,0.06);
}

.values strong,
.values span {
  display: block;
}

.values strong {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.contact-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: stretch;
  background: white;
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 46px;
  box-shadow: var(--shadow);
}

.contact-box {
  background: var(--cream);
  border-radius: 20px;
  padding: 28px;
}

.site-footer {
  padding: 30px 0;
  background: var(--deep-navy);
  color: white;
  text-align: center;
}

.footer-content {
  display: grid;
  gap: 12px;
  place-items: center;
}

.footer-content img {
  width: 260px;
  background: white;
  border-radius: 12px;
  padding: 8px;
}

.footer-content p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.85;
}

@media (max-width: 900px) {
  .nav {
    flex-direction: column;
    padding: 18px 0;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .brand img {
    width: 230px;
  }

  .hero,
  .hero-overlay {
    min-height: 620px;
  }

  .hero-card {
    padding: 30px;
  }

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

  .cards,
  .values {
    grid-template-columns: 1fr;
  }

  .reverse div:first-child {
    order: 2;
  }
}

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

  .nav-links {
    gap: 12px;
    font-size: 0.85rem;
  }

  .hero-card {
    padding: 24px;
  }

  .section {
    padding: 64px 0;
  }

  .contact-card {
    padding: 28px;
  }
}


/* Keeps navigation anchors from hiding headings under the sticky header */
.section[id] {
  scroll-margin-top: 120px;
}

#top {
  scroll-margin-top: 120px;
}


/* Anchor landing polish for sticky navigation */
html {
  scroll-padding-top: 165px !important;
}

#services,
#consulting,
#why,
#contact {
  scroll-margin-top: 165px !important;
}

/* Gives direct-click section landings extra breathing room under the fixed/sticky header */
.section {
  scroll-margin-top: 165px !important;
}

/* Slightly lower the services heading so it never hides under the header */
#services .section-heading,
#why .section-heading,
#contact .contact-card {
  padding-top: 18px;
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 190px !important;
  }

  #services,
  #consulting,
  #why,
  #contact,
  .section {
    scroll-margin-top: 190px !important;
  }
}


/* Final menu anchor fix: keeps sticky header from covering section titles */
.anchor-spacer {
  display: block;
  height: 150px;
  margin-top: -150px;
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 900px) {
  .anchor-spacer {
    height: 185px;
    margin-top: -185px;
  }
}


/* Strong section scroll correction for sticky navigation */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 220px !important;
}

#services,
#consulting,
#why,
#contact {
  scroll-margin-top: 220px !important;
}

/* Add a little breathing room at the top of anchor sections */
#services,
#consulting,
#why,
#contact {
  padding-top: 120px;
  margin-top: -60px;
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 240px !important;
  }

  #services,
  #consulting,
  #why,
  #contact {
    scroll-margin-top: 240px !important;
    padding-top: 130px;
    margin-top: -70px;
  }
}
