:root {
  --bg: #eff3f0;
  --panel: rgba(255, 255, 255, 0.82);
  --panel-strong: #ffffff;
  --text: #17201b;
  --muted: #5f6c66;
  --line: rgba(26, 38, 33, 0.14);
  --brand: #8fc63f;
  --brand-deep: #1b3027;
  --brand-soft: #dce6df;
  --ink-soft: #e7edeb;
  --shadow: 0 28px 60px rgba(19, 31, 26, 0.12);
  --radius: 28px;
  --radius-sm: 18px;
  --heading-font: "Google Sans", "Product Sans", "Google Sans Text", "Segoe UI", sans-serif;
  --body-font: "Google Sans", "Product Sans", "Google Sans Text", "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}

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

html {
  scroll-behavior: smooth;
}

section[id],
[id="home"] {
  scroll-margin-top: 110px;
}

body {
  margin: 0;
  font-family: var(--body-font);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(143, 198, 63, 0.18), transparent 30%),
    radial-gradient(circle at 85% 18%, rgba(27, 48, 39, 0.1), transparent 24%),
    linear-gradient(180deg, #f7faf8 0%, #edf2ef 100%);
}

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

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

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.7rem clamp(1.2rem, 3vw, 3rem);
  background: rgba(247, 250, 248, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(26, 38, 33, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  height: 72px;
}

.brand img {
  width: clamp(285px, 31vw, 390px);
  max-width: none;
  margin: -4px 0 -28px -18px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}

.site-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--brand-deep);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.35rem;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
}

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

.section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.2rem, 3vw, 3rem);
}

.hero.section {
  padding-top: clamp(2.4rem, 4vw, 3.4rem);
  padding-bottom: clamp(2.2rem, 4vw, 3.5rem);
}

.solutions.section {
  padding-top: clamp(2.2rem, 4vw, 3.5rem);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  min-height: calc(100vh - 76px);
}

.hero-copy {
  max-width: 620px;
}

.hero-visual {
  position: relative;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-deep);
}

.hero-kicker {
  margin: 0 0 0.8rem;
  font-family: var(--heading-font);
  font-size: clamp(2.8rem, 5.8vw, 5.4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--brand-deep);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--heading-font);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

h1 {
  font-size: clamp(1.7rem, 2.65vw, 2.55rem);
  font-weight: 400;
  max-width: none;
  white-space: nowrap;
  color: var(--muted);
  line-height: 1.08;
}

@media (max-width: 720px) {
  h1 {
    white-space: normal;
  }
}

h2 {
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  font-weight: 700;
  max-width: 16ch;
}

h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.hero-body,
.solution-card p,
.contact-panel p:last-of-type {
  margin: 1.3rem 0 0;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  border: 0;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 28px rgba(27, 59, 38, 0.12);
}

.button-primary {
  color: #fdfaf4;
  background: linear-gradient(135deg, #16261f 0%, #2d5b36 42%, #8fc63f 100%);
}

.button-secondary {
  color: var(--brand-deep);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(228, 236, 232, 0.98) 100%);
}

.image-frame {
  position: relative;
  padding: 0.2rem;
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.08));
  box-shadow:
    0 30px 54px rgba(18, 28, 23, 0.13),
    0 0 0 1px rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  z-index: 1;
}

.image-frame::before {
  content: "";
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(143, 198, 63, 0.12);
  border-radius: 40px;
  pointer-events: none;
}

.image-frame img,
.hero-media {
  border-radius: 26px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.hero-stage {
  position: relative;
  padding: 2.4rem 0 3.8rem 2rem;
  background:
    radial-gradient(circle at 58% 44%, rgba(143, 198, 63, 0.18) 0%, rgba(143, 198, 63, 0.08) 24%, rgba(143, 198, 63, 0) 48%),
    radial-gradient(circle at 52% 50%, rgba(27, 48, 39, 0.09) 0%, rgba(27, 48, 39, 0) 58%);
  border-radius: 40px;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 16% 10% 10%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.56) 0%, rgba(255, 255, 255, 0) 66%);
  filter: blur(10px);
  pointer-events: none;
}

.hero-media {
  background: #dfe6e2;
  position: relative;
  z-index: 1;
  border-radius: 28px;
  box-shadow: 0 18px 38px rgba(18, 28, 23, 0.08);
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  pointer-events: none;
}

.hero-orb-one {
  top: 0.4rem;
  right: -0.5rem;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(143, 198, 63, 0.18) 0%, rgba(143, 198, 63, 0) 70%);
}

.hero-orb-two {
  left: 0;
  bottom: 0.7rem;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(27, 48, 39, 0.11) 0%, rgba(27, 48, 39, 0) 72%);
}

.hero-note {
  position: absolute;
  left: 0;
  bottom: 0;
  max-width: 220px;
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(26, 38, 33, 0.08);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 34px rgba(17, 27, 22, 0.1);
  z-index: 2;
}

.hero-note-label,
.hero-note-copy {
  margin: 0;
}

.hero-note-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-deep);
}

.hero-note-copy {
  margin-top: 0.45rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
}

.section-heading {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 2.5rem;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.solution-card,
.contact-panel,
.modal-panel {
  background: var(--panel);
  border: 1px solid rgba(26, 38, 33, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.solution-card {
  padding: 2rem;
  border-radius: var(--radius);
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 1.5rem;
}

.icon-box img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter:
    brightness(0.92)
    contrast(1.06)
    drop-shadow(0 0 7px rgba(143, 198, 63, 0.35))
    drop-shadow(0 0 18px rgba(143, 198, 63, 0.28));
}

.solution-card:first-child .icon-box img {
  width: 62px;
  height: 62px;
}

.contact-panel {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: calc(var(--radius) + 6px);
}

.contact-panel h2 {
  margin: 0 auto;
}

.contact-panel .button {
  margin-top: 1.8rem;
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  overflow-y: auto;
  z-index: 9999;
  isolation: isolate;
  -webkit-overflow-scrolling: touch;
  transition: opacity 180ms ease;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 20, 16, 0.6);
  backdrop-filter: blur(8px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 640px);
  max-height: min(88vh, 820px);
  margin: auto;
  padding: 2rem;
  border-radius: 30px;
  background: var(--panel-strong);
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(34, 48, 39, 0.06);
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.contact-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

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

.contact-form label {
  display: grid;
  gap: 0.55rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--brand-deep);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(34, 48, 39, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  font-weight: 400;
  resize: vertical;
}

.contact-form textarea {
  min-height: 140px;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: 2px solid rgba(133, 186, 58, 0.5);
  outline-offset: 2px;
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.form-status.is-error {
  color: #8a2c2c;
}

.form-status.is-success {
  color: #2d5b36;
}

.button-full {
  width: 100%;
  margin-top: 0.4rem;
}

body.modal-open .site-nav {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(-8px) !important;
}

body.modal-open .menu-toggle {
  pointer-events: none;
}

body.modal-open .hero-media {
  pointer-events: none;
}

body.modal-open .page-shell {
  pointer-events: none;
}

body.modal-open .site-header {
  opacity: 0;
}

body.modal-open .modal {
  pointer-events: auto;
}

@media (max-width: 900px) {
  .hero,
  .solution-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
  }

  .hero-copy,
  .section-heading h2 {
    max-width: none;
  }

  .hero-stage {
    padding: 1.6rem 0 3rem;
  }

  .hero-note {
    left: 1rem;
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: inline-flex;
  }

  .brand {
    max-width: min(72vw, 320px);
  }

  .brand img {
    width: 100%;
    min-width: 0;
  }

  .modal {
    place-items: stretch;
    padding: 0;
  }

  .modal-panel {
    width: 100%;
    max-height: none;
    min-height: 100dvh;
    margin: 0;
    padding: max(1rem, env(safe-area-inset-top)) 1rem 1.25rem;
    border-radius: 0;
  }

  .modal-close {
    top: max(0.75rem, env(safe-area-inset-top));
    right: 0.75rem;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 1.2rem;
    display: grid;
    gap: 0.3rem;
    min-width: 190px;
    padding: 0.9rem;
    border: 1px solid rgba(34, 48, 39, 0.08);
    border-radius: 20px;
    background: rgba(255, 248, 238, 0.97);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .form-row-split {
    grid-template-columns: 1fr;
  }
}
