:root {
  --navy: #0a1f3d;
  --navy-deep: #071527;
  --navy-2: #0f2a50;
  --gold: green;
  --gold-deep: greenyellow;
  --cream: #f6f3ec;
  --ink: #12203a;
  --muted: #5b6b85;
  --line: #e3e1d9;
  --white: #ffffff;
  --font-body: "Inter", sans-serif;
  --radius: 14px;
  --shadow: 0 18px 40px rgba(10, 31, 61, 0.1);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}
h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
}
h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
}
h3 {
  font-size: 1.2rem;
}
p {
  margin: 0 0 1em;
  color: var(--muted);
}
.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.center {
  text-align: center;
}

/* ---------- Nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-brand img {
  height: 32px;
}
.nav-links {
  display: flex;
  gap: 26px;
  margin-left: auto;
}
.nav-links a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 500;
  font-size: 0.96rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  border-bottom-color: var(--gold);
  color: var(--gold-deep);
}
.nav-cta {
  display: flex;
}
.nav-link-contact {
  display: none; 
}
.nav-toggle {
  display: none;
  position: relative;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 101;
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"]::before {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"]::after {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s,
    color 0.2s;
}
.btn-gold,
.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn-gold:hover,
.btn-primary:hover {
  background: var(--gold-deep);
  transform: translateY(-1px);
}
.btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--navy);
  background: transparent;
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}
.on-navy .btn-outline,
.on-navy-deep .btn-outline {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}
.on-navy .btn-outline:hover,
.on-navy-deep .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}
.btn-sm {
  padding: 9px 16px;
  font-size: 0.88rem;
}
.btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.link-arrow {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(201, 138, 44, 0.4);
}
.link-arrow:hover {
  border-bottom-color: var(--gold-deep);
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--cream), #fff);
  padding: 64px 0 40px;
}
.hero-grid {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero-video-section {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,31,61,.75) 0%, rgba(10,31,61,.55) 45%, rgba(10,31,61,.85) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 0 40px;
}

.hero-content .tagline {
  display: block;
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: .6em;
}

.hero-content h1 {
  color: #fff;
}

.hero-content .lede {
  color: #E4E9F2;
}
.tagline {
  display: block;
  color: var(--gold-deep);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 0.6em;
}
.lede {
  font-size: 1.08rem;
  max-width: 46ch;
}
.hero-panel {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 30px;
  color: #fff;
  display: grid;
  gap: 18px;
  box-shadow: var(--shadow);
}
.stat-line {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 14px;
}
.stat-line:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.stat-line strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
}
.stat-line span {
  color: #b7c0d1;
  font-size: 0.88rem;
}

/* ---------- Stat band ---------- */
.stat-band {
  background: var(--navy-deep);
  color: #fff;
  padding: 36px 0;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-item .num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
}
.stat-item .lbl {
  display: block;
  font-size: 0.78rem;
  color: #b7c0d1;
  margin-top: 4px;
}

/* ---------- Sections ---------- */
.section {
  padding: 68px 0;
}
.section.on-cream {
  background: var(--cream);
}
.section.on-navy {
  background: var(--navy);
  color: #fff;
}
.section.on-navy h2,
.section.on-navy h3 {
  color: #fff;
}
.section.on-navy p {
  color: #b7c0d1;
}
.section.on-navy-deep {
  background: var(--navy-deep);
  color: #fff;
}
.section.on-navy-deep h2 {
  color: #fff;
}

.grid {
  display: grid;
  gap: 24px;
}
.grid-2 {
  grid-template-columns: 1fr 1fr;
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card-outline {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: #fff;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.card-outline:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.on-navy .card-outline {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
}
.on-navy .card-outline p {
  color: #b7c0d1;
}
.card-outline .ico {
  font-size: 1.5rem;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}
.pill {
  display: inline-block;
  background: rgba(10, 31, 61, 0.06);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.card-fill {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px;
}
.card-fill h3 {
  color: #fff;
}
.proj-stats {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.proj-stats li {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 8px;
}
.proj-stats li small {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: #b7c0d1;
  font-weight: 400;
}

/* ---------- Testimonials ---------- */
.testi-track {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  min-height: 170px;
}
.testi-slide {
  display: none;
}
.testi-slide.active {
  display: block;
  animation: fadeIn 0.4s ease;
}
.testi-quote {
  font-size: 1.15rem;
  color: #fff;
  font-style: italic;
}
.testi-who {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
}
.testi-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}
.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
}
.testi-dot.active {
  background: var(--gold);
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ---------- Process ---------- */
.process-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.step {
  border-top: 3px solid var(--gold);
  padding-top: 16px;
}
.step-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
  display: block;
  margin-bottom: 6px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #fff;
  padding: 56px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
}
.footer-grid h4 {
  color: var(--gold);
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.footer-grid a {
  color: #b7c0d1;
  text-decoration: none;
  font-size: 0.92rem;
}
.footer-grid a:hover {
  color: var(--gold);
}
.foot-logo {
  height: 30px;
  margin-bottom: 12px;
}
.foot-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.foot-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.foot-social a:hover {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}
.foot-touch li a {
  display: flex;
  align-items: center;
  gap: 8px;
}
.foot-touch li a i {
  color: var(--gold);
  font-size: 0.95rem;
  width: 16px;
  text-align: center;
}
.foot-loc {
  font-size: 0.8rem;
  color: #b7c0d1;
  margin-bottom: 5px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.foot-loc strong {
  color: #fff;
}
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding-top: 18px;
  text-align: center;
  color: #8493ac;
  font-size: 0.82rem;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Page header (inner pages) ---------- */
.page-header {
  background: linear-gradient(180deg, var(--cream), #fff);
  padding: 56px 0 40px;
  text-align: center;
}
.page-header .eyebrow {
  color: var(--gold-deep);
  font-weight: 600;
  display: block;
  margin-bottom: 0.5em;
}
.page-header p {
  max-width: 60ch;
  margin: 0 auto;
}

/* Page header with background image (e.g. contact page hero) */
.page-header.has-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 56px 0;
  min-height: 340px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.page-header.has-bg .page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,31,61,.78) 0%, rgba(10,31,61,.6) 45%, rgba(10,31,61,.85) 100%);
  z-index: 1;
}
.page-header.has-bg .wrap {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.page-header.has-bg .eyebrow {
  display: inline-block;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.9em;
}
.page-header.has-bg h1 {
  color: #fff;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  margin-bottom: 0.45em;
}
.page-header.has-bg p {
  color: #E4E9F2;
}
.page-header.has-bg .lede {
  max-width: 56ch;
  margin: 0 auto 0.8em;
  font-size: 1.02rem;
  line-height: 1.6;
}
.page-header.has-bg .note-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 999px;
  margin: 0.4em auto 0;
}
.page-header.has-bg .note-badge::before {
  content: "\2713";
  color: var(--gold);
  font-weight: 700;
}

/* ---------- Value/Serve cards ---------- */
.value-card {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.value-card:first-child {
  border-top: none;
}
.value-card h3 {
  margin-bottom: 0.25em;
}

.serve-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: #fff;
}
.serve-card .role {
  display: block;
  color: var(--gold-deep);
  font-style: italic;
  font-size: 0.88rem;
  margin-bottom: 8px;
}

/* ---------- Pricing (products) ---------- */
.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.price-card h3 {
  margin-bottom: 2px;
}
.price-card .price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--navy);
  margin: 6px 0 4px;
}
.price-card .price small {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 400;
}
.price-card .fit {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.spec-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: grid;
  gap: 6px;
  font-size: 0.88rem;
}
.spec-list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.spec-list li::before {
  content: "\2022";
  color: var(--gold-deep);
  font-weight: 700;
}
.price-card .power-note {
  margin-top: auto;
  font-size: 0.84rem;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

/* ---------- Projects ---------- */
.project-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.project-card .body {
  padding: 24px;
}
.project-card .loc {
  display: block;
  color: var(--gold-deep);
  font-weight: 600;
  font-size: 0.82rem;
  margin-bottom: 4px;
}
.project-card .sub {
  font-style: italic;
  color: var(--muted);
  font-size: 0.88rem;
}


/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .stat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .process-row {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-images {
    flex: none;
    min-height: 220px;
  }
}
@media (max-width: 640px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    background: #fff;
    flex-direction: column;
    padding: 16px 24px 22px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(10, 31, 61, 0.08);
    display: none;
    gap: 4px;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links a:last-child {
    border-bottom: none;
  }
  .nav-link-contact {
    display: block;
    color: var(--gold-deep);
    font-weight: 700;
  }
  .nav-toggle {
    display: block;
    margin-left: auto;
  }
  .nav-cta {
    display: none;
  }
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .hero-content {
    padding: 0 20px;
  }
  .hero-video-section {
    min-height: 520px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}