:root {
  --green: #0f4d35;
  --deep-green: #0b2f26;
  --steel: #27323a;
  --stone: #eef1ee;
  --paper: #ffffff;
  --gold: #d19b2a;
  --text: #17211e;
  --muted: #60706a;
  --line: #d8ded9;
  --shadow: rgba(16, 25, 27, 0.08);
  --shadow-hover: rgba(16, 25, 27, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 78px;
  padding: 12px 5vw;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.site-header > * {
  min-width: 0;
}

.brand img {
  width: 210px;
  height: auto;
  transition: transform 0.3s ease;
}

.brand:hover img {
  transform: scale(1.02);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav a,
.header-cta,
.button {
  text-decoration: none;
}

.nav a {
  position: relative;
  padding: 4px 0;
  color: var(--text);
  transition: color 0.3s ease;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width 0.3s ease;
}

.nav a:hover {
  color: var(--green);
}

.nav a:hover::after {
  width: 100%;
}

.header-cta {
  min-width: 168px;
  padding: 12px 18px;
  color: var(--paper);
  background: var(--green);
  border-radius: 6px;
  font-weight: 700;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(15, 77, 53, 0.3);
}

/* Hero */
.hero {
  position: relative;
  min-height: 660px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--deep-green);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 8s ease-out forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1.05); }
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(11, 47, 38, 0.92), rgba(11, 47, 38, 0.58) 48%, rgba(11, 47, 38, 0.18)),
    linear-gradient(0deg, rgba(11, 47, 38, 0.58), rgba(11, 47, 38, 0));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 0 5vw 104px;
  color: var(--paper);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: 2.4rem;
  line-height: 1.1;
}

h2 {
  margin-bottom: 18px;
  font-size: 1.32rem;
  line-height: 1.18;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
  line-height: 1.22;
}

.lead {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 6px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button.primary {
  color: var(--deep-green);
  background: var(--gold);
}

.button.primary:hover {
  box-shadow: 0 8px 24px rgba(209, 155, 42, 0.4);
}

.button.secondary {
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.08);
}

.contact .button.secondary {
  color: var(--green);
  border-color: var(--green);
  background: var(--paper);
}

.contact .button.secondary:hover {
  background: var(--stone);
  box-shadow: 0 8px 24px rgba(16, 25, 27, 0.1);
}

.hero-panel {
  position: absolute;
  right: 5vw;
  bottom: 52px;
  z-index: 3;
  display: grid;
  gap: 10px;
  width: 310px;
  padding: 20px;
  color: var(--paper);
  background: rgba(15, 77, 53, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  transition: transform 0.4s ease;
}

.hero-panel:hover {
  transform: translateY(-4px);
}

.hero-panel span {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 800;
  transition: color 0.3s ease;
}

.hero-panel span:hover {
  color: var(--gold);
}

.hero-panel span:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

/* Trust strip */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.trust-strip div {
  padding: 26px 5vw;
  background: var(--stone);
  transition: background 0.3s ease;
}

.trust-strip div:hover {
  background: var(--paper);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  color: var(--deep-green);
}

.trust-strip span {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Sections */
.section {
  padding: 84px 5vw;
}

.intro,
.capability,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.intro-copy {
  color: var(--muted);
  font-size: 1.08rem;
}

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

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

/* Service grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 420px;
  display: grid;
  grid-template-rows: 190px 1fr;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px var(--shadow-hover);
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover img {
  transform: scale(1.05);
}

.service-card div {
  padding: 22px;
}

.service-card p,
.capability-list p,
.contact-details p {
  color: var(--muted);
}

/* Capability */
.capability {
  color: var(--paper);
  background: var(--steel);
}

.capability h2,
.capability h3 {
  color: var(--paper);
}

.capability-list {
  display: grid;
  gap: 18px;
}

.capability-list div {
  padding: 22px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  transition: transform 0.4s ease, background 0.4s ease;
}

.capability-list div:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.1);
}

.capability-list p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

/* Contact */
.contact {
  background: var(--paper);
}

.contact-card {
  padding: 34px;
  background: var(--stone);
  border-radius: 8px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px var(--shadow);
}

.contact-details {
  display: grid;
  gap: 18px;
}

.contact-details p {
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-details p:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px var(--shadow);
}

/* Footer */
.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 56px 5vw 32px;
  color: var(--paper);
  background: var(--deep-green);
  font-size: 0.92rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  grid-column: 1 / -1;
}

.footer-brand img {
  width: 70px;
  height: auto;
  opacity: 0.9;
}

.footer-brand strong {
  display: block;
  font-size: 1.1rem;
}

.footer-brand span {
  color: rgba(255, 255, 255, 0.6);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-info {
  display: grid;
  gap: 6px;
  text-align: right;
}

.footer-info a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-info a:hover {
  color: var(--gold);
}

.footer-legal {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

/* Sticky quote button (mobile) */
.sticky-quote {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  padding: 14px 28px;
  color: var(--deep-green);
  background: var(--gold);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(209, 155, 42, 0.45);
  animation: stickyBounce 0.5s ease;
  white-space: nowrap;
}

@keyframes stickyBounce {
  from { transform: translateX(-50%) translateY(20px); opacity: 0; }
  to { transform: translateX(-50%) translateY(0); opacity: 1; }
}

/* Scroll reveal */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 20px 5vw;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    gap: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  }

  .nav.open {
    display: flex;
  }

  .menu-toggle {
    display: flex;
    justify-self: end;
    margin-left: auto;
    margin-right: 16px;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    width: auto;
    margin: -66px 5vw 44px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    justify-content: stretch;
    min-height: 70px;
    gap: 14px;
    padding: 10px 18px;
  }

  .brand {
    display: inline-flex;
    align-items: center;
    max-width: calc(100vw - 92px);
    min-width: 0;
  }

  .brand img {
    width: clamp(128px, 42vw, 152px);
  }

  .menu-toggle {
    display: flex !important;
    position: absolute;
    top: 50%;
    right: 18px;
    z-index: 42;
    justify-self: end;
    margin-right: 0;
    flex: 0 0 44px;
    background: rgba(255, 255, 255, 0.92);
    transform: translateY(-50%);
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 620px;
  }

  .hero-content {
    width: 100%;
    max-width: 342px;
    padding: 0 0 74px 24px;
  }

  .eyebrow {
    max-width: 318px;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  h1 {
    max-width: 318px;
    font-size: clamp(1.1rem, 5vw, 1.34rem);
    line-height: 1.14;
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: 1.11rem;
  }

  .lead {
    max-width: 318px;
    font-size: 1rem;
  }

  .hero-actions .button,
  .contact-actions .button {
    flex: 1 1 132px;
    min-width: 0;
    padding-right: 14px;
    padding-left: 14px;
    font-size: 0.85rem;
    white-space: normal;
  }

  .trust-strip,
  .intro,
  .capability,
  .contact,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 62px 6vw;
  }

  .service-card {
    min-height: 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .footer-info {
    text-align: center;
  }

  .sticky-quote {
    display: inline-flex;
  }
}

@media (max-width: 540px) {
  .menu-toggle {
    right: clamp(18px, calc(100vw - 372px), 112px);
  }
}
