/* ====== Design Tokens ====== */
:root {
  --heritage-navy: #0B2545;
  --field-sage: #6B8F71;
  --clay-accent: #B66A50;
  --charcoal: #1C1F24;
  --cloud: #F5F7FA;
  --paper: #FFFFFF;
  --survey-sand: #E2D4B7;
  --steel-blue: #335C81;
}

/* ====== Reset / Base ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

html,
body {
  min-height: 100%;
  background: var(--paper)
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--charcoal);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: Manrope, sans-serif;
  letter-spacing: -.02em;
  color: var(--heritage-navy)
}

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

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

.sr-only {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
  border: 0;
  margin: -1px
}

/* ====== Layout ====== */
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px
}

section {
  scroll-margin-top: 90px
}

/* ====== Primebar ====== */
.primebar {
  background: var(--heritage-navy);
  color: #fff;
  font-weight: 600;
  font-size: .95rem
}

.primebar .inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: .65rem 1rem;
  text-align: center
}

.primebar .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--field-sage);
  display: inline-block
}

/* ====== Header / Nav ====== */
header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(150%) blur(6px);
  border-bottom: 1px solid #e9eef3
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px
}

.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 0
}

.brand img {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .03))
}

.brand .name {
  display: flex;
  flex-direction: column;
  line-height: 1.05
}

.brand .line1 {
  font-weight: 900;
  font-size: 1.02rem;
  color: var(--heritage-navy);
  letter-spacing: .01em
}

.brand .line2 {
  font-weight: 700;
  font-size: .78rem;
  color: var(--steel-blue);
  letter-spacing: .04em;
  text-transform: uppercase
}

nav ul {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  list-style: none
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .85rem 1.2rem;
  border-radius: 12px;
  font-weight: 700;
  transition: .25s ease;
  border: 2px solid transparent;
  min-height: 44px;
  cursor: pointer
}

.btn.primary {
  background: var(--field-sage);
  color: #fff;
  box-shadow: 0 6px 18px rgba(107, 143, 113, .28)
}

.btn.primary:hover {
  transform: translateY(-2px);
  background: #5a7a5f
}

.btn.outline {
  border-color: var(--field-sage);
  color: var(--heritage-navy);
  background: #fff
}

.btn.outline:hover {
  background: var(--field-sage);
  color: #fff
}

.menu-btn {
  display: none;
  border: 2px solid var(--field-sage);
  background: #fff;
  color: var(--heritage-navy);
  border-radius: 12px;
  padding: .55rem .8rem;
  font-weight: 800
}

.menu-btn:active {
  transform: scale(.98)
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid #e9eef3;
  padding: 12px 20px 18px;
  z-index: 35
}

.mobile-nav.open {
  display: block
}

.mobile-nav a {
  display: block;
  padding: 14px 8px;
  border-radius: 10px;
  font-weight: 700;
  color: var(--heritage-navy)
}

.mobile-nav a:hover {
  background: var(--cloud)
}

/* ====== Hero (tightened) ====== */
.hero {
  position: relative;
  min-height: 60vh;
  display: grid;
  place-items: center;
  overflow: hidden
}

@media (min-width:1024px) {
  .hero {
    min-height: 58vh
  }
}

.hero .bg {
  position: absolute;
  inset: 0;
  z-index: 0
}

.hero .bg img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 37, 69, .24), rgba(11, 37, 69, .58));
  z-index: 1
}

.hero .content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 84px 20px 64px
}

.hero .logo-top {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .9rem;
  padding: .45rem .7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16)
}

.hero .logo-top img {
  height: 28px;
  width: auto
}

.hero h1 {
  color: #fff;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: .6rem;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem)
}

.hero p.lead {
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 820px;
  margin: 0 auto 1.1rem;
  opacity: .97
}

.hero .cta-row {
  display: flex;
  gap: .9rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: .6rem
}

.trust-badges {
  display: flex;
  gap: .9rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.1rem
}

.trust-badge {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .25);
  padding: .45rem .7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .92rem
}

/* ====== Split / Cards ====== */
.split {
  background: var(--cloud);
  padding: 72px 20px
}

.split .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.3rem
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: 1.6rem;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .06);
  border-left: 5px solid var(--field-sage)
}

.card.alt {
  border-left-color: var(--clay-accent)
}

.card h3 {
  font-size: 1.28rem;
  margin-bottom: .45rem
}

.card p {
  color: #2a2f35;
  margin-bottom: .8rem
}

.card ul {
  margin-left: 1.2rem
}

.pill {
  display: inline-block;
  background: var(--survey-sand);
  color: #4b3f2a;
  padding: .3rem .6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .02em
}

/* ====== How ====== */
.how {
  padding: 72px 20px
}

.title {
  text-align: center;
  margin-bottom: .6rem;
  font-size: 2rem
}

.subtitle {
  text-align: center;
  color: var(--steel-blue);
  max-width: 800px;
  margin: 0 auto 2rem
}

.steps {
  display: grid;
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto;
  grid-template-columns: 1fr
}

@media (min-width:900px) {
  .steps {
    grid-template-columns: 1fr 1fr
  }
}

.step {
  display: flex;
  gap: 1rem;
  background: #fff;
  border-radius: 14px;
  padding: 1.2rem;
  border: 1px solid #e9eef3;
  align-items: flex-start
}

.step .n {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--field-sage);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex: 0 0 38px
}

.step h4 {
  margin-top: .1rem;
  font-size: 1.06rem
}

.step p {
  color: #2a2f35;
  font-size: .98rem
}

/* ====== Contact / Form ====== */
.contact {
  padding: 72px 20px;
  background: linear-gradient(135deg, var(--cloud), #fff)
}

.contact .box {
  text-align: center;
  max-width: 840px;
  margin: 0 auto
}

.contact .lead-form {
  margin: 1rem auto 0;
  background: #fff;
  border: 1px solid #e9eef3;
  border-radius: 16px;
  padding: 18px;
  display: grid;
  gap: 12px;
  text-align: left;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06)
}

.lead-form .row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px
}

@media (min-width:720px) {
  .lead-form .row {
    grid-template-columns: 1fr 1fr
  }
}

.lead-form label {
  font-weight: 800;
  font-size: .93rem;
  color: var(--heritage-navy)
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #dfe6ee;
  border-radius: 12px;
  font-size: 1rem;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
  background: #fbfdff
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: #b8c7d8;
  box-shadow: 0 0 0 3px rgba(11, 37, 69, .08)
}

.lead-form .buttons {
  align-items: center
}

.lead-form .buttons .btn {
  width: 100%
}

@media (min-width:720px) {
  .lead-form .buttons .btn {
    width: auto
  }
}

.privacy-note {
  color: #667;
  display: block;
  margin-top: .25rem
}

/* ====== Footer ====== */
footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, .88);
  padding: 24px 20px;
  font-size: .95rem;
  margin-top: 0
}

footer .container {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  justify-content: center;
  text-align: center
}

/* ====== Responsive helpers ====== */
@media (max-width:900px) {
  .nav ul {
    display: none
  }

  .menu-btn {
    display: inline-flex
  }

  .split,
  .how,
  .contact {
    padding: 56px 16px
  }
}

@media (prefers-reduced-motion:reduce) {
  * {
    animation: none !important;
    transition: none !important
  }
}