:root {
  --green: #10b981;
  --green-dark: #064e3b;
  --navy: #102033;
  --ink: #17202a;
  --muted: #667085;
  --line: #dfe7e3;
  --paper: #ffffff;
  --soft: #f5f8f7;
  --blue-soft: #edf5ff;
  --amber-soft: #fff7e8;
  --shadow: 0 18px 55px rgba(16, 32, 51, 0.12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.topbar {
  background: var(--green-dark);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
}

.topbar-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
}

.topbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.topbar a {
  color: rgba(255, 255, 255, 0.92);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  margin: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(223, 231, 227, 0.85);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
}

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

.client-link {
  border-radius: 8px;
  padding: 10px 16px;
  background: var(--navy);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.02fr 0.82fr;
  gap: 44px;
  align-items: center;
  padding: 72px 0 86px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.4rem, 8vw, 7.6rem);
  line-height: 0.92;
  letter-spacing: 0;
  color: var(--navy);
}

.hero p {
  max-width: 680px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.7vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px 20px;
  font-weight: 950;
  cursor: pointer;
}

.button.primary {
  background: var(--green);
  color: #052016;
  box-shadow: 0 14px 30px rgba(16, 185, 129, 0.26);
}

.button.ghost,
.button.secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--navy);
}

.hero-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.hero-card img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  opacity: 0.92;
}

.hero-note {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: grid;
  gap: 8px;
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.hero-note strong {
  color: var(--green-dark);
  font-size: 1.25rem;
}

.hero-note span {
  color: var(--muted);
}

.quick-services,
.stats-strip,
.about-section,
.values-section,
.reviews-section,
.area-section,
.contact-section,
.site-footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.quick-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: -36px;
  position: relative;
  z-index: 2;
}

.quick-services article {
  min-height: 290px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 32, 51, 0.08);
}

.quick-services article:nth-child(2) {
  background: var(--blue-soft);
}

.quick-services article:nth-child(3) {
  background: var(--amber-soft);
}

.quick-services article:nth-child(4) {
  background: #effaf3;
}

.service-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 32px;
  border-radius: 8px;
  background: var(--green-dark);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 950;
}

.quick-services h2 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  line-height: 1.2;
}

.quick-services p {
  margin: 0;
  color: var(--muted);
}

.quick-services a {
  margin-top: auto;
  color: var(--green-dark);
  font-weight: 950;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 86px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.stats-strip div {
  padding: 26px;
  background: var(--soft);
}

.stats-strip strong {
  display: block;
  color: var(--green-dark);
  font-size: 2rem;
  line-height: 1;
}

.stats-strip span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.about-section,
.values-section,
.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 58px;
  align-items: center;
  padding: 96px 0;
}

.section-image {
  min-height: 440px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--navy);
}

.section-image img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  opacity: 0.9;
}

.section-copy h2,
.section-heading h2,
.area-section h2,
.contact-section h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-copy p,
.contact-copy p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.mini-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.mini-list span {
  position: relative;
  padding-left: 24px;
  color: var(--navy);
  font-weight: 900;
}

.mini-list span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9aa8a2;
}

.values-section {
  align-items: start;
  border-top: 1px solid var(--line);
}

.value-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.value-grid article,
.review-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: #fff;
}

.value-grid h3,
.review-grid strong {
  display: block;
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 1.15rem;
}

.value-grid p,
.review-grid p {
  margin: 0;
  color: var(--muted);
}

.reviews-section {
  padding: 88px 0;
  border-top: 1px solid var(--line);
}

.centered {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.review-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 34px;
}

.review-grid article {
  background: var(--soft);
}

.review-grid span {
  display: block;
  margin-top: 18px;
  color: var(--green-dark);
  font-weight: 950;
}

.area-section {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 50px;
  align-items: center;
  padding: 72px max(16px, calc((100% - var(--max)) / 2));
  width: 100%;
  max-width: none;
  background: var(--green-dark);
  color: #fff;
}

.area-section .eyebrow,
.area-section h2 {
  color: #fff;
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.area-list span {
  border-radius: 999px;
  padding: 11px 15px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 900;
}

.contact-section {
  align-items: start;
}

.contact-direct {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-direct a {
  color: var(--green-dark);
  font-size: 1.1rem;
  font-weight: 950;
}

.contact-form {
  display: grid;
  gap: 15px;
  padding: 26px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 13px 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(16, 185, 129, 0.8);
  background: rgba(255, 255, 255, 0.12);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.contact-form option {
  color: var(--ink);
}

.form-note {
  display: none;
  align-items: flex-start;
  gap: 10px;
  min-height: 0;
  margin: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 14px;
  color: #fff;
  font-weight: 850;
  line-height: 1.35;
}

.form-note.is-visible {
  display: flex;
  animation: note-in 180ms ease-out;
}

.form-note::before {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-top: 0.42em;
  border-radius: 50%;
  background: currentColor;
}

.form-note.is-info {
  border-color: rgba(147, 197, 253, 0.35);
  background: rgba(37, 99, 235, 0.22);
  color: #dbeafe;
}

.form-note.is-success {
  border-color: rgba(16, 185, 129, 0.42);
  background: rgba(16, 185, 129, 0.18);
  color: #d1fae5;
}

.form-note.is-error {
  border-color: rgba(248, 113, 113, 0.42);
  background: rgba(185, 28, 28, 0.24);
  color: #fee2e2;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

@keyframes note-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 34px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 10px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.footer-links button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--green-dark);
}

.legal-dialog {
  width: min(720px, calc(100% - 32px));
  border: 0;
  border-radius: 8px;
  padding: 30px;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.legal-dialog::backdrop {
  background: rgba(6, 78, 59, 0.72);
}

.dialog-close {
  float: right;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

@media (max-width: 980px) {
  .topbar-inner,
  .hero,
  .quick-services,
  .stats-strip,
  .about-section,
  .values-section,
  .review-grid,
  .area-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .topbar-inner,
  .site-footer {
    display: grid;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px;
  }

  .quick-services {
    margin-top: 0;
  }

  .about-section,
  .values-section,
  .reviews-section,
  .contact-section {
    padding: 64px 0;
  }
}

@media (max-width: 620px) {
  .topbar {
    font-size: 0.84rem;
  }

  .hero {
    padding-top: 44px;
  }

  .hero h1 {
    font-size: 3.25rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-card,
  .hero-card img,
  .section-image,
  .section-image img {
    min-height: 340px;
    height: 340px;
  }

  .hero-note,
  .quick-services article,
  .value-grid article,
  .review-grid article,
  .contact-form {
    padding: 20px;
  }

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