:root {
  background: #f6f8f3;
  --dark: #152f26;
  --green: #286048;
  --line: #dce5db;
  --muted: #526358;
  --accent: #ddf3aa;
}

.wrap { max-width: 1370px; }
header {
  background: #fcfdf9;
  color: var(--dark);
  border-bottom-color: #e2eae0;
}
header .wrap { min-height: 72px; }
header .brand { color: #173b2c; }
header nav a { color: #40574a; font-size: .93rem; }
header nav a:hover, header nav a[aria-current="page"] {
  color: #163d2a;
  background: #eaf2e6;
}
header nav a[aria-current="page"]::after {
  background: #407757;
  height: 2px;
}
header .actions button.quiet { border-color: #c9d8cc; }
header .actions > a.button {
  background: #1e4c38;
  border-color: #1e4c38;
  color: #fff;
}
.demo { background: #edf3e9; border-bottom: 1px solid #e3ebdf; }
:where(button,a,input,textarea,select):focus-visible {
  outline: 2px solid #4c8059;
  outline-offset: 3px;
}
.home-hero :focus-visible { outline-color: #e4f6aa; }

.home-page { padding-block: clamp(1.2rem,3vw,2.2rem) 3.5rem; }
.home-hero {
  position: relative;
  isolation: isolate;
  grid-template-columns: minmax(0,1.16fr) minmax(0,1fr);
  background: #102c22;
  border-radius: 1.45rem;
  min-height: 29.5rem;
  box-shadow: 0 1rem 2.8rem #163a2520;
}
.home-hero-copy {
  position: relative;
  z-index: 2;
  padding: clamp(1.6rem,4.8vw,4.15rem);
}
.home-hero h1 {
  max-width: 15ch;
  font-size: clamp(2.3rem,4.7vw,4.45rem);
  text-wrap: balance;
  letter-spacing: -.065em;
  line-height: 1.01;
  margin-bottom: 1.05rem;
}
.home-hero h1 span { color: #e3f4b4; }
.home-hero p { color: #dbe8df; max-width: 38ch; margin-bottom: 1.5rem; }
.home-hero-photo { min-height: unset; background: transparent; }
.home-hero-photo img { object-position: 60% 50%; }
.home-hero-photo::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg,#102c22 0%,#102c22aa 12%,transparent 42%);
}
.home-search { max-width: 33rem; gap: .45rem; margin-bottom: .85rem; }
.home-search label { gap: .42rem; }
.home-search input[type="search"],.home-search button,.home-hero .hero-advisor {
  min-height: 46px;
  border-radius: .65rem;
}
.home-search input[type="search"] { border-color: transparent; }
.home-hero .hero-advisor {
  border-color: #779f84;
  display: inline-flex;
  align-items: center;
}
.home-flow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.home-flow i {
  position: absolute;
  display: block;
  width: clamp(18rem,43vw,42rem);
  height: 21rem;
  left: -10rem;
  bottom: -15rem;
  border: 1px solid #a4ce9a45;
  border-radius: 40% 35% 36% 36%;
  transform: rotate(-23deg);
}
.home-flow i:nth-child(2) {
  left: -6.4rem;
  bottom: -16rem;
  width: clamp(20rem,45vw,46rem);
}
.home-flow::after {
  content: "";
  position: absolute;
  width: 30rem;
  height: 28rem;
  left: -14rem;
  bottom: -18rem;
  border-radius: 50%;
  background: radial-gradient(ellipse,#a9dc6a45,transparent 66%);
  transform: translate(8rem,-3rem);
}
@keyframes flow-light {
  from { transform: translate(-5rem,1rem); opacity: .4; }
  to { transform: translate(8rem,-3rem); opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  .home-flow::after { animation: flow-light 4.5s ease-out both; }
  .home-page button,.home-page .button,header nav a {
    transition: background-color .18s ease,border-color .18s ease,color .18s ease;
  }
  .installation-card img { transition: transform .32s ease; }
}
@media (hover:hover) and (pointer:fine) {
  .home-search button:hover { background: #eff9c7; }
  .home-hero .hero-advisor:hover { background: #e2f4c019; }
  .installation-card:hover img { transform: scale(1.025); }
}
@media (prefers-reduced-motion: reduce) {
  .installation-card:hover img { transform: none; }
}

.home-page .section-heading { margin: clamp(1.9rem,4vw,3.1rem) 0 1rem; gap: .75rem; }
.home-page .section-heading h2 {
  font-size: clamp(1.55rem,2.8vw,2.25rem);
  letter-spacing: -.045em;
}
.home-page .section-heading a { font-weight: 650; text-underline-offset: .24em; }
.home-installation-grid,.home-services { gap: clamp(.8rem,2vw,1.3rem); }
.installation-card {
  border-radius: 1.1rem;
  box-shadow: 0 .35rem 1.1rem #24402b0a;
}
.installation-card img { aspect-ratio: 2.1; }
.installation-content { position: relative; background: #fff; padding: clamp(.95rem,2.2vw,1.4rem); }
.installation-content h3 { font-size: clamp(1.3rem,2.2vw,1.65rem); }
.home-page .aquer-home {
  margin-top: 1.35rem;
  padding: clamp(1rem,2.8vw,1.9rem);
  background: #e9f2e4;
  border-radius: 1.05rem;
}
.home-page .aquer-home h2 { font-size: 1.4rem; }
.home-services .tile { border-radius: 1.05rem; padding: clamp(1rem,2.35vw,1.55rem); }

@media (max-width: 900px) {
  .home-hero h1 { max-width: 17ch; }
  .home-hero-copy { padding: clamp(1.35rem,4.2vw,2.35rem); }
}
@media (max-width: 740px) {
  header .wrap { min-height: 0; }
  .home-hero { grid-template-columns: minmax(0,1fr); min-height: 0; border-radius: 1.05rem; }
  .home-hero-photo { grid-row: 1; aspect-ratio: 2.4; }
  .home-hero-photo img { object-position: 55% 53%; }
  .home-hero-photo::after { background: linear-gradient(0deg,#102c2277,transparent 35%); }
  .home-hero h1 { max-width: 22ch; }
  .home-hero p { margin-bottom: 1.1rem; }
}
@media (max-width: 520px) {
  .home-hero h1 { font-size: clamp(2rem,8.5vw,2.8rem); }
  .home-search { display: grid; grid-template-columns: minmax(0,1fr); }
  .home-search button { justify-self: stretch; }
  .home-hero .hero-advisor { justify-content: center; width: 100%; }
}
