:root {
  --navy: #14233d;
  --navy-deep: #0c1628;
  --green: #6faf3a;
  --green-bright: #7ec24a;
  --green-soft: #e8f4dc;
  --ink: #1c2433;
  --muted: #5a6578;
  --line: rgba(20, 35, 61, 0.12);
  --paper: #f3f7f1;
  --white: #ffffff;
  --shadow-soft: 0 18px 40px rgba(12, 22, 40, 0.08);
  --radius: 4px;
  --font-display: "Sora", sans-serif;
  --font-body: "Figtree", sans-serif;
  --container: min(1120px, calc(100% - 2.5rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(111, 175, 58, 0.12), transparent 55%),
    radial-gradient(900px 420px at 100% 0%, rgba(20, 35, 61, 0.08), transparent 50%),
    linear-gradient(180deg, #eef4ea 0%, var(--paper) 28%, #f7faf6 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

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

h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 650;
  max-width: 18ch;
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
}

p {
  margin: 0 0 1rem;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.6rem 0.9rem;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}

.section-lead {
  max-width: 42rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  color: inherit;
}

.btn--primary {
  background: var(--green);
  color: var(--navy-deep);
}

.btn--primary:hover {
  background: var(--green-bright);
  color: var(--navy-deep);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.btn--ghost:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(243, 247, 241, 0.88);
  border-bottom: 1px solid var(--line);
}

.top-bar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.85rem;
}

.top-bar__inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  flex-wrap: wrap;
}

.top-bar a {
  color: var(--green-bright);
  text-decoration: none;
  font-weight: 600;
}

.top-bar p {
  margin: 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5rem;
  gap: 1rem;
}

.site-logo {
  width: 125px;
  height: 125px;
  object-fit: contain;
}

.brand img {
  display: block;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav__menu a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
}

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

.nav__cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius);
}

.nav__cta:hover {
  background: var(--green) !important;
  color: var(--navy-deep) !important;
}

.nav__toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: var(--radius);
  padding: 0.55rem;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero__media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(12, 22, 40, 0.15), transparent 40%),
    url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=2000&q=80")
      center / cover no-repeat;
  transform: scale(1.04);
  animation: hero-zoom 18s ease-in-out infinite alternate;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 22, 40, 0.88) 0%, rgba(12, 22, 40, 0.62) 48%, rgba(12, 22, 40, 0.35) 100%),
    linear-gradient(0deg, rgba(12, 22, 40, 0.55), transparent 45%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: clamp(5rem, 12vh, 8rem) 0 clamp(3.5rem, 8vh, 5.5rem);
  max-width: 40rem;
  margin-left: max(calc((100% - min(1120px, calc(100% - 2.5rem))) / 2), 1.25rem);
  margin-right: auto;
  width: min(40rem, calc(100% - 2.5rem));
  opacity: 0;
  transform: translateY(24px);
  animation: rise-in 0.9s ease forwards 0.15s;
}

.hero__logo {
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: var(--white);
  max-width: 14ch;
}

.hero__lead {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Problems */
.problems h2 {
  max-width: 22ch;
}

.problem-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem 1.5rem;
  counter-reset: none;
}

.problem-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.problem-list li.is-visible {
  opacity: 1;
  transform: none;
}

.problem-list__num {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--green);
  font-size: 0.95rem;
  padding-top: 0.15rem;
}

.problem-list h3 {
  margin-bottom: 0.35rem;
}

.problem-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* About */
.about {
  background:
    linear-gradient(135deg, rgba(20, 35, 61, 0.96), rgba(20, 35, 61, 0.88)),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1600&q=70")
      center / cover;
  color: rgba(255, 255, 255, 0.88);
}

.about h2,
.about .eyebrow {
  color: var(--white);
}

.about .eyebrow {
  color: var(--green-bright);
}

.about__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.about__copy p {
  color: rgba(255, 255, 255, 0.8);
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat {
  padding: 1.25rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.stat__value,
.stat__suffix {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--green-bright);
  line-height: 1;
}

.stat p {
  margin: 0.55rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service {
  padding: 1.6rem 0 1.2rem;
  border-top: 2px solid var(--green);
}

.service__index {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.85rem;
}

.service p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.service a {
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}

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

/* Values */
.values {
  background: linear-gradient(180deg, rgba(111, 175, 58, 0.1), transparent 70%);
}

.value-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.value-row p {
  color: var(--muted);
  margin: 0;
}

/* Clients */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.quote {
  margin: 0;
  padding: 1.6rem 0 0;
  border-top: 1px solid var(--line);
}

.quote blockquote {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  color: var(--ink);
}

.quote figcaption {
  display: grid;
  gap: 0.15rem;
}

.quote strong {
  color: var(--navy);
  font-family: var(--font-display);
}

.quote span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* CTA band */
.cta-band {
  padding: 0;
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2.4rem 2rem;
  background: linear-gradient(115deg, var(--navy-deep), #1d3a22 55%, var(--green));
  color: var(--white);
}

.cta-band h2 {
  color: var(--white);
  max-width: none;
  margin-bottom: 0.4rem;
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

.cta-band .btn--primary {
  background: var(--white);
  color: var(--navy);
  flex-shrink: 0;
}

.cta-band .btn--primary:hover {
  background: var(--green-soft);
}

/* Contact */
.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.contact-details {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}

.contact-details span {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.25rem;
}

.contact-details p {
  margin: 0;
  font-weight: 600;
  color: var(--navy);
}

.contact-details a {
  text-decoration: none;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1rem;
  padding: 1.6rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

.contact-form__full {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  padding: 0.75rem 0.85rem;
  font: inherit;
  color: var(--ink);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(111, 175, 58, 0.45);
  border-color: var(--green);
}

.form-note {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 3.5rem 0 1.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__brand img {
  margin-bottom: 1rem;
}

.site-footer h3 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 0.7rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--green-bright);
}

.site-footer p {
  margin: 0;
}

.footer__base {
  padding-top: 1.25rem;
  font-size: 0.9rem;
}

@keyframes rise-in {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-zoom {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.08);
  }
}

@media (max-width: 960px) {
  .problem-list,
  .service-grid,
  .testimonials,
  .value-row,
  .about__grid,
  .contact__grid,
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .nav__toggle {
    display: inline-flex;
  }

  .nav__menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(243, 247, 241, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1.25rem 1.1rem;
  }

  .nav__menu.is-open {
    display: flex;
  }

  .nav__menu a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav__cta {
    text-align: center;
    margin-top: 0.5rem;
  }

  .hero {
    min-height: 85vh;
    align-items: center;
  }

  .hero__content {
    margin-left: 1.25rem;
  }

  .problem-list,
  .service-grid,
  .testimonials,
  .value-row,
  .about__grid,
  .contact__grid,
  .footer__grid,
  .stats,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .top-bar__inner {
    flex-direction: column;
    gap: 0.2rem;
  }
}
