/* Hero */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100dvh - var(--header-height));
  color: #fff;
  overflow: hidden;
}

.hero .background-image {
  position: absolute;
  inset: 0;
  background-color: #c6e6a1;
  background-size: cover;
  background-position: center;
  transition: background-image 1.2s ease-in-out;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.05) 40%, rgba(0, 0, 0, 0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 4vw, 32px);
  padding: 0 20px;
  opacity: 0;
  animation: hero-in 0.9s 0.3s ease-out forwards;
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-logo {
  display: block;
  width: clamp(220px, 32vw, 500px);
  height: auto;
}

.hero-content h1 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.2;
  max-width: 16ch;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

/* Info strip */

.info-strip {
  background-color: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.info-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 48px;
  padding: 22px 24px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-ink);
}

.info-item i {
  color: var(--color-green-dark);
  font-size: 18px;
}

/* Services */

.services-intro {
  padding-bottom: 0;
}

.services-intro .rule {
  margin-bottom: 0;
}

.sales-feature {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100dvh - var(--header-height));
  color: #fff;
  background-size: cover;
  background-position: center 30%;
  overflow: hidden;
}

@media (max-width: 800px) {
  .sales-feature {
    background-position: center;
  }
}

.sales-feature-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.25) 45%, rgba(0, 0, 0, 0.75) 100%);
}

.sales-feature-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 640px;
  padding: 0 20px;
}

.sales-feature-body i {
  color: var(--color-green);
}

.sales-feature-body h3 {
  font-size: clamp(28px, 4vw, 40px);
}

.sales-feature-body p {
  font-size: 18px;
  line-height: 1.7;
  margin: 0;
}

/* Gallery */

.gallery {
  padding-top: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
}

.gallery-grid li {
  border-radius: 12px;
  overflow: hidden;
}

.gallery-grid li.tall {
  grid-row: span 2;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-grid li:hover img {
  transform: scale(1.06);
}

@media (max-width: 1000px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 160px;
  }
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
    gap: 8px;
  }
}
