:root {
  --green: #245e38;
  --green-dark: #143324;
  --lime: #c5d63c;
  --gold: #e9a31a;
  --gold-soft: #f6e27a;
  --ink: #142018;
  --text: #3d4a42;
  --nav: #243028;
  --line: #e7eee8;
  --paper: #f4f7f2;
  --header-h: 80px;
  --max: 1200px;
  --font: "Inter", system-ui, sans-serif;
  --heading: "Montserrat", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}

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

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

h1, h2, h3 {
  font-family: var(--heading);
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
}

p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

button, a { font-family: inherit; }

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

.container {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
}

/* Header */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex: 0 0 var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.logo img {
  height: 58px;
  width: auto;
}

.logo-light img {
  height: 64px;
  filter: brightness(0) invert(1);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.7rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.4rem 0;
  color: var(--nav);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-link svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s;
}

.nav-link:hover,
.nav-link.is-active { color: var(--green); }

.nav-item { position: relative; }

.has-submenu:hover .nav-link svg,
.has-submenu:focus-within .nav-link svg,
.has-submenu.is-open .nav-link svg { transform: rotate(180deg); }

.submenu {
  position: absolute;
  top: calc(100% - 4px);
  left: 50%;
  min-width: 230px;
  padding: 0.55rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) scale(0.96);
  transition: 0.18s ease;
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) scale(1);
}

.submenu a {
  display: block;
  padding: 0.65rem 0.9rem;
  border-radius: 0.75rem;
  color: var(--nav);
  font-size: 0.9rem;
  font-weight: 600;
}

.submenu a:hover { background: var(--paper); color: var(--green); }

.menu-toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #374151;
  border-radius: 2px;
  transition: 0.2s;
}

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

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  min-height: 640px;
  margin-top: var(--header-h);
  background: var(--green-dark);
  color: #fff;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 4.5rem 3.5rem 4.5rem max(1.25rem, calc((100vw - var(--max)) / 2));
}

.kicker {
  margin-bottom: 1rem;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kicker-dark { color: var(--green); }

.hero h1 {
  max-width: 11em;
  margin-bottom: 1.2rem;
  color: #fff;
  font-size: clamp(2.4rem, 4vw, 3.7rem);
  font-weight: 800;
}

.lead {
  max-width: 34rem;
  margin-bottom: 2rem;
  color: #d7e7db;
  font-size: 1.08rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 1rem 1.7rem;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 700;
  transition: 0.2s ease;
}

.btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-hero {
  color: var(--green-dark);
  background: var(--gold);
  border-radius: 6px;
  padding: 0.95rem 1.35rem 0.95rem 1.45rem;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 28px rgba(20, 51, 36, 0.22);
}

.btn-hero svg { transition: transform 0.2s ease; }

.btn-hero:hover {
  background: var(--gold-soft);
  transform: translateY(-1px);
}

.btn-hero:hover svg { transform: translateX(4px); }

.hero-media { min-height: 420px; }

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

/* About */

.about {
  padding: 5.5rem 0;
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4rem;
  align-items: center;
}

.about-photo { order: -1; }

.about h2,
.services h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 800;
}

.about p + p { margin-top: 1rem; }

.about-copy p {
  font-size: 1.05rem;
  line-height: 1.7;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.6rem;
  color: var(--green);
  font-size: 1.08rem;
  font-weight: 700;
}

.text-link svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.text-link:hover { color: var(--green-dark); }

.about-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 900 / 520;
  object-fit: cover;
  border-radius: 1.25rem;
}

/* Services */

.services {
  padding: 5rem 0 5.5rem;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.services-head { max-width: 36rem; margin-bottom: 2.2rem; }

.steps { display: grid; gap: 0; }

.steps li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.2rem;
  align-items: start;
  padding: 1.5rem 0;
  border-top: 1px solid #d7e2d9;
}

.steps li:last-child { border-bottom: 1px solid #d7e2d9; }

.steps span {
  font-family: var(--heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold);
}

.steps h3 {
  margin-bottom: 0.35rem;
  font-size: 1.35rem;
  font-weight: 800;
}

.steps p { max-width: 40rem; font-size: 1.05rem; }

/* Footer */

.footer {
  padding: 3.2rem 0 1.6rem;
  background: var(--green-dark);
  color: #d7e7db;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 1.4fr;
  gap: 3rem;
  align-items: start;
}

.footer .logo { margin-bottom: 0.9rem; }

.footer .brand-text { max-width: 22rem; font-size: 0.95rem; }

.footer h2 {
  margin-bottom: 0.7rem;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-weight: 600;
}

.footer a:hover { color: #fff; }

.footer-contact ul { display: grid; gap: 1rem; }

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  line-height: 1.45;
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  min-width: 38px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold);
}

.contact-icon svg {
  display: block;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  max-width: 18px;
  max-height: 18px;
}

.footer-contact a:hover .contact-icon {
  background: var(--gold);
  color: var(--green-dark);
}

.copyright {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 2.5rem auto 0;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.92rem;
  color: #d5e6d8;
}

/* Mobile */

@media (max-width: 960px) {
  .menu-toggle { display: block; }

  body.menu-open {
    overflow: hidden;
  }

  body.menu-open .header {
    display: flex;
    flex-direction: column;
    height: 100dvh;
    z-index: 500;
    overflow: hidden;
    background: #fff;
  }

  body.menu-open .header-inner {
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: var(--header-h) minmax(0, 1fr);
    align-items: center;
    overflow: hidden;
  }

  .nav {
    display: none;
    position: relative;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    padding: 0.5rem 1.25rem 2rem;
    background: #fff;
    overflow: auto;
  }

  .nav.is-open {
    display: flex;
    grid-column: 1 / -1;
    align-self: stretch;
    min-height: 0;
    z-index: 1;
  }

  .nav-link {
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }

  .has-submenu .nav-link { width: 100%; justify-content: space-between; }

  .submenu {
    position: static;
    min-width: 0;
    margin-bottom: 0.4rem;
    padding: 0.2rem 0 0.4rem 0.8rem;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .has-submenu.is-open .submenu { display: block; }

  .hero,
  .about-grid,
  .footer-grid { grid-template-columns: 1fr; }

  .hero-copy { padding: 3rem 1.25rem 2.5rem; }

  .hero-media { min-height: 260px; }

  .about-photo { order: 0; }

  .footer { padding: 2.4rem 0 1.3rem; }

  .footer-grid { gap: 1.6rem; }

  .footer-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    width: 100%;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .footer-nav h2 { margin-bottom: 0.15rem; }

  .footer-nav a { display: block; }

  .footer-contact {
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .footer .brand-text { max-width: none; }
}
