:root {
  --green-700: #2f3a2c;
  --green-600: #3f5139;
  --green-500: #5c7650;
  --sage-300: #aab7a2;
  --cream-100: #f7f4ee;
  --cream-200: #efe9de;
  --text-900: #222222;
  --text-700: #464646;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(47, 58, 44, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-900);
  background: var(--cream-100);
  line-height: 1.6;
}

a {
  color: inherit;
}

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

main {
  min-height: calc(100vh - 220px);
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 3.5rem 0;
}

.section-soft {
  background: linear-gradient(180deg, var(--cream-200), var(--cream-100));
}

.section-soft-alt {
  background: #f1ede4;
}

.eyebrow {
  color: var(--green-500);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
  margin: 0 0 0.75rem;
}

h1,
h2,
h3 {
  line-height: 1.25;
  margin-top: 0;
  color: var(--green-700);
}

h1 {
  font-size: clamp(2rem, 6vw, 3.2rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

p {
  margin-top: 0;
  color: var(--text-700);
}

.lead {
  font-size: 1.07rem;
  max-width: 64ch;
}

.section-intro {
  margin-bottom: 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 244, 238, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(170, 183, 162, 0.35);
}

.navbar {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.brand-logo {
  width: 188px;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(47, 58, 44, 0.2);
  background: var(--white);
  border-radius: 10px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--green-700);
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0.5rem;
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 0;
  right: 0;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid rgba(170, 183, 162, 0.4);
  box-shadow: var(--shadow);
  display: none;
}

.nav-links[data-open="true"] {
  display: block;
}

.nav-links a {
  display: block;
  padding: 0.8rem 1rem;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 500;
  color: var(--green-700);
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  background: rgba(170, 183, 162, 0.28);
}

.hero-grid,
.split-grid,
.contact-layout {
  display: grid;
  gap: 1.1rem;
}

.hero-title {
  max-width: 22ch;
  font-size: clamp(2rem, 5.6vw, 3.4rem);
  line-height: 1.16;
  letter-spacing: -0.012em;
}

.hero-title-line {
  display: block;
}

.hero-title-line + .hero-title-line {
  margin-top: 0.28rem;
}

.hero-title-line-secondary {
  color: var(--green-600);
}

.home-hero {
  padding-bottom: 2.7rem;
}

.home-hero-wrap {
  max-width: none;
}

.home-hero-content {
  max-width: 760px;
}

.home-hero-content .lead {
  margin-bottom: 1rem;
}

.hero-highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-highlights li {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(170, 183, 162, 0.5);
  color: var(--green-700);
  border-radius: 999px;
  padding: 0.38rem 0.78rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.home-section-head {
  max-width: 62ch;
  margin-bottom: 1.2rem;
}

.home-service-card {
  border-top: 3px solid rgba(92, 118, 80, 0.65);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(47, 58, 44, 0.11);
}

.home-feature-card {
  border-top: 2px solid rgba(92, 118, 80, 0.5);
}

.home-final-cta .eyebrow {
  margin-bottom: 0.45rem;
}

.hero-panel {
  position: relative;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.58));
  border: 1px solid rgba(170, 183, 162, 0.45);
  border-radius: 20px;
  padding: 1.2rem;
  box-shadow: 0 8px 26px rgba(47, 58, 44, 0.06);
  backdrop-filter: blur(3px);
}

.hero-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.2rem;
  right: 1.2rem;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(92, 118, 80, 0.8), rgba(170, 183, 162, 0.35));
}

.hero-panel h2 {
  margin-bottom: 0.9rem;
  font-size: clamp(1.35rem, 2.8vw, 1.7rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.card,
.service-card {
  background: var(--white);
  border: 1px solid rgba(170, 183, 162, 0.35);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}

.card-grid,
.feature-grid {
  display: grid;
  gap: 1rem;
}

.feature-grid article {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.1rem;
  border: 1px solid rgba(170, 183, 162, 0.3);
}

.check-list,
.service-card ul,
.footer-links {
  margin: 0;
  padding-left: 1.15rem;
}

.hero-panel .check-list {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 0.65rem;
}

.hero-panel .check-list li {
  position: relative;
  background: rgba(241, 237, 228, 0.78);
  border: 1px solid rgba(170, 183, 162, 0.45);
  border-radius: 999px;
  padding: 0.52rem 0.9rem 0.52rem 2.05rem;
  color: var(--green-700);
  font-weight: 500;
  line-height: 1.45;
}

.hero-panel .check-list li::before {
  content: "";
  position: absolute;
  left: 0.8rem;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--green-500);
  box-shadow: 0 0 0 3px rgba(92, 118, 80, 0.16);
}

.service-stack {
  display: grid;
  gap: 1rem;
}

.service-card h3 {
  margin-top: 1.1rem;
}

.cta-banner {
  background: linear-gradient(135deg, #dde5d7, #f5efe4);
  border: 1px solid rgba(170, 183, 162, 0.45);
  border-radius: calc(var(--radius) + 2px);
  text-align: center;
  padding: 2rem 1.25rem;
}

.about-note {
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 10px;
  padding: 0.7rem 1.15rem;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--green-500);
  color: var(--white);
  border: 1px solid var(--green-500);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--green-600);
}

.btn-secondary {
  background: transparent;
  color: var(--green-700);
  border: 1px solid rgba(47, 58, 44, 0.35);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(170, 183, 162, 0.22);
}

.contact-form {
  display: grid;
  gap: 0.9rem;
}

.themed-contact-form {
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(170, 183, 162, 0.45);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 244, 238, 0.88));
}

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

.contact-main-section {
  padding-top: 1rem;
}

.contact-intro {
  background: linear-gradient(155deg, #ffffff, #f5efe4);
}

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

.contact-points li {
  position: relative;
  border-left: 3px solid rgba(92, 118, 80, 0.75);
  padding: 0.25rem 0 0.25rem 0.7rem;
  color: var(--green-700);
  font-weight: 500;
}

.contact-form-card {
  padding: 1.45rem;
  background: linear-gradient(170deg, #ffffff, #f8f4eb);
  border-color: rgba(170, 183, 162, 0.55);
  position: relative;
  overflow: hidden;
}

.contact-form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-500), rgba(170, 183, 162, 0.5));
}

.contact-form-card h2 {
  margin-bottom: 0.55rem;
}

.form-intro {
  margin-top: -0.2rem;
  margin-bottom: 1rem;
}

.form-row {
  display: grid;
  gap: 0.8rem;
}

.field-group {
  display: grid;
  gap: 0.36rem;
}

.contact-form label {
  color: var(--green-700);
  font-weight: 600;
  font-size: 0.84rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.contact-form .btn {
  justify-self: stretch;
  margin-top: 0.2rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font: inherit;
  color: var(--text-900);
  border: 1px solid rgba(47, 58, 44, 0.24);
  border-radius: 10px;
  padding: 0.78rem 0.86rem;
  background: #fcfbf8;
  box-shadow: inset 0 1px 2px rgba(47, 58, 44, 0.05);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #7b8278;
}

.contact-form textarea {
  min-height: 148px;
  resize: vertical;
}

.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover {
  border-color: rgba(92, 118, 80, 0.5);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green-500);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(92, 118, 80, 0.22), 0 6px 14px rgba(47, 58, 44, 0.08);
}


.form-submit-row {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.35rem;
}

.form-meta {
  margin: 0;
  color: #5a6256;
  font-size: 0.92rem;
}

.form-feedback {
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  box-shadow: 0 8px 18px rgba(47, 58, 44, 0.07);
}

.contact-submit-btn {
  width: 100%;
  min-height: 48px;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  gap: 0.55rem;
}

.submit-btn-spinner {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-top-color: #ffffff;
  display: none;
}

.contact-submit-btn.is-loading .submit-btn-spinner {
  display: inline-block;
  animation: spin 0.85s linear infinite;
}

.contact-submit-btn.is-loading {
  opacity: 0.95;
}

.contact-submit-btn:disabled {
  cursor: not-allowed;
}

.themed-contact-form.is-submitting input,
.themed-contact-form.is-submitting select,
.themed-contact-form.is-submitting textarea {
  opacity: 0.75;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.form-feedback strong {
  display: block;
  margin-bottom: 0.2rem;
}

.form-feedback p {
  margin: 0;
}

.form-feedback-success {
  background: linear-gradient(145deg, rgba(170, 183, 162, 0.32), rgba(255, 255, 255, 0.82));
  border-color: rgba(92, 118, 80, 0.42);
  color: var(--green-700);
}

.form-feedback-error {
  background: linear-gradient(145deg, rgba(180, 70, 52, 0.1), rgba(255, 255, 255, 0.86));
  border-color: rgba(180, 70, 52, 0.38);
  color: #8f3324;
}

.site-footer {
  background: var(--green-700);
  color: #dbe3d7;
  padding-top: 0;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  padding: 1.5rem 0;
  align-items: center;
  border-bottom: 1px solid rgba(228, 234, 223, 0.15);
}

.footer-logo {
  width: 160px;
  filter: brightness(0) invert(0.92);
}

.footer-tagline {
  color: #aab7a2;
  font-size: 0.88rem;
  margin: 0.35rem 0 0;
}

.footer-tagline,
.footer-heading,
.footer-links a,
.copyright {
  color: #e4eadf;
}

.footer-heading {
  margin: 0 0 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #aab7a2;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.25rem 1.2rem;
}

.footer-links a {
  color: #c4cfc0;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: none;
}

.copyright {
  text-align: center;
  margin: 0;
  padding: 0.85rem 0;
  font-size: 0.84rem;
  color: #7b8878;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
    position: static;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 0;
    gap: 0.25rem;
  }

  .hero-grid,
  .split-grid,
  .contact-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .hero-title {
    max-width: 20ch;
  }

  .home-hero {
    padding-top: 4rem;
  }

  .card-grid,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 2rem;
    padding: 1.25rem 0;
  }

  .form-row.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
  }

  .contact-form .btn {
    justify-self: start;
    min-width: 200px;
  }

  .themed-contact-form {
    padding: 1.15rem;
  }

  .contact-submit-btn {
    width: auto;
    min-width: 220px;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 4.25rem 0;
  }

  .contact-main-section {
    padding-top: 1.5rem;
  }

  .card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .cta-banner {
    padding: 2.4rem;
  }

  .hero-title {
    max-width: 18.5ch;
  }

  .hero-highlights {
    max-width: 90%;
  }
}