/* ─────────────────────────────────────────────
   Design tokens
───────────────────────────────────────────── */
:root {
  --navy:        #162a38;
  --navy-mid:    #29495e;
  --navy-light:  #304d66;
  --green:       #a8cf45;
  --green-dark:  #56782a;
  --white:       #fff;
  --off-white:   #f6f8f5;
  --grey:        #657482;
  --grey-light:  #d7d7d7;
  --black:       #3c3b37;
  --font-body:   'DM Sans', -apple-system, sans-serif;
  --font-display:'Outfit', system-ui, sans-serif;
  --radius:      10px;
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);
}

/* ─────────────────────────────────────────────
   Reset & base
───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--navy-mid);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}
a:hover { color: var(--green-dark); }

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--white);
  overflow: hidden;
}

/* Full-bleed photo — no blur, let it breathe */
.hero-img {
  position: absolute;
  inset: 0;
  background-image: url('./background.png');
  background-size: cover;
  background-position: center 40%;
  z-index: 0;
}

/* Two-gradient scrim: dark top for nav + dark bottom for text */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to bottom,
      rgba(22, 42, 56, 0.82) 0%,
      rgba(22, 42, 56, 0.18) 28%,
      rgba(22, 42, 56, 0.18) 55%,
      rgba(22, 42, 56, 0.88) 100%
    );
}

/* Nav bar */
.top-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem 2.5rem;
}

.top-bar__brand img {
  display: block;
  height: 56px;
  width: auto;
  filter: drop-shadow(0 2px 12px rgba(22, 42, 56, 0.55));
}

.top-bar__links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.top-bar__links a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}
.top-bar__links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

/* Hero text — pinned to bottom */
.hero-body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem 2.5rem clamp(3.5rem, 7vw, 5.5rem);
  max-width: 56rem;
}

.hero-label {
  margin: 0 0 0.875rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
}

.hero-heading {
  font-size: clamp(2.5rem, 6.5vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0 0 2rem;
  text-shadow: 0 2px 32px rgba(22, 42, 56, 0.6);
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ─────────────────────────────────────────────
   Buttons
───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.18s var(--ease), color 0.18s var(--ease),
    border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
  text-decoration: none;
}

.btn--solid {
  background: var(--green);
  color: var(--navy);
  border-color: var(--green);
}
.btn--solid:hover {
  background: #b8dc52;
  border-color: #b8dc52;
  box-shadow: 0 4px 20px rgba(168, 207, 69, 0.45);
  color: var(--navy);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
}
.btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  color: var(--white);
}

/* ─────────────────────────────────────────────
   USP STRIP
───────────────────────────────────────────── */
.usp-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--navy);
  border-top: 3px solid var(--green);
}

.usp {
  padding: 2.25rem 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.usp:last-child { border-right: none; }

.usp__icon {
  display: block;
  font-size: 1.5rem;
  color: var(--green);
  margin-bottom: 0.75rem;
  line-height: 1;
}

.usp__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  letter-spacing: -0.01em;
}

.usp__sub {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
}

/* ─────────────────────────────────────────────
   SECTIONS
───────────────────────────────────────────── */
.section {
  padding: clamp(3rem, 6vw, 5rem) 2.5rem;
}

.section--dark {
  background: var(--off-white);
  border-top: 1px solid var(--grey-light);
  border-bottom: 1px solid var(--grey-light);
}

.section__inner {
  max-width: 1020px;
  margin: 0 auto;
}

.two-col {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  align-items: start;
}

.section__lead h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: var(--navy);
  position: relative;
  padding-top: 1rem;
}

.section__lead h2::before {
  content: '';
  display: block;
  width: 2.5rem;
  height: 3px;
  background: var(--green);
  margin-bottom: 0.875rem;
  border-radius: 2px;
}

.section__body {
  padding-top: 0.25rem;
  color: var(--grey);
  font-size: 1rem;
  line-height: 1.7;
}

/* Services grid (dark section) */
.section--dark .section__inner > h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2.25rem;
  position: relative;
  display: inline-block;
}

.section--dark .section__inner > h2::after {
  content: '';
  display: block;
  width: 2.5rem;
  height: 3px;
  background: var(--green);
  margin-top: 0.75rem;
  border-radius: 2px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--grey-light);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-card {
  background: var(--white);
  padding: 2rem 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-card__num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--green-dark);
  margin-bottom: 0.25rem;
}

.service-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.service-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--grey);
  line-height: 1.6;
}

/* ─────────────────────────────────────────────
   CONTACT
───────────────────────────────────────────── */
.contact-list {
  margin: 1.25rem 0 0;
  padding: 0;
  border-top: 1px solid var(--grey-light);
}

.contact-list__row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--grey-light);
}

.contact-list__row dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
}

.contact-list__row dd {
  margin: 0;
  font-size: 1rem;
  color: var(--navy);
}

.contact-list__row a {
  color: var(--navy-mid);
  font-weight: 600;
}
.contact-list__row a:hover {
  color: var(--green-dark);
}

.placeholder {
  color: var(--grey);
  font-style: italic;
}

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  padding: 2.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  border-top: 3px solid var(--green);
}

.site-footer__logo {
  display: block;
  height: 48px;
  width: auto;
  opacity: 0.9;
}

.site-footer__copy {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 900px) {
  .top-bar { padding: 1.25rem 1.5rem; }
  .hero-body { padding: 2rem 1.5rem clamp(3rem, 8vw, 4.5rem); }

  .section { padding: clamp(2.5rem, 5vw, 3.5rem) 1.5rem; }

  .two-col {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .usp-strip {
    grid-template-columns: 1fr;
  }
  .usp {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 1.5rem;
  }
  .usp:last-child { border-bottom: none; }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.25rem 1rem;
  }

  .top-bar__brand img { height: 44px; }
  .top-bar__links { gap: 0; }

  .hero-body {
    padding: 1.5rem 1.25rem clamp(2.5rem, 10vw, 4rem);
  }

  .section { padding: 2.5rem 1.25rem; }
  .site-footer { padding: 2rem 1.25rem; }

  .contact-list__row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}
