/* ============================================
   Ecopoise — Homepage (unique layout)
   ============================================ */

:root {
  --font-display: 'Outfit', 'Open Sans', system-ui, sans-serif;
}

/* ---- Hero ---- */
.eco-hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100dvh - var(--nav-h));
  margin-top: var(--nav-h);
  padding: clamp(48px, 8vh, 88px) 0 clamp(100px, 14vh, 140px);
  overflow: hidden;
  background: var(--charcoal);
}

.eco-hero__blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.eco-hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}

.eco-hero__blob--1 {
  width: 520px;
  height: 520px;
  background: var(--blue-mid);
  top: -120px;
  right: -80px;
}

.eco-hero__blob--2 {
  width: 380px;
  height: 380px;
  background: var(--blue-accent);
  bottom: 10%;
  left: -100px;
  opacity: 0.22;
}

.eco-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.eco-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 10px;
  border-radius: 50px;
  background: rgba(176, 234, 39, 0.12);
  border: 1px solid rgba(176, 234, 39, 0.35);
  color: var(--blue-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.eco-hero__badge svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.eco-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}

.eco-hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--blue-accent) 0%, #7cda24 50%, #d4f87a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eco-hero__lead {
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 32px;
}

.eco-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.eco-hero__actions .btn--outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.eco-hero__actions .btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--blue-accent);
  color: var(--blue-accent);
}

.eco-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.eco-stat-pill {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 110px;
}

.eco-stat-pill strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--blue-accent);
  line-height: 1;
}

.eco-stat-pill span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.eco-hero__visual {
  position: relative;
}

.eco-hero-carousel {
  position: relative;
  border-radius: 28px 28px 28px 8px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
  background: rgba(0, 0, 0, 0.25);
}

.eco-hero-carousel__track {
  position: relative;
  min-height: clamp(360px, 44vw, 520px);
}

.eco-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease;
}

.eco-hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.eco-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eco-hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 31, 20, 0.1) 35%, rgba(15, 31, 20, 0.7) 100%);
}

.eco-hero-slide__caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 22px;
  z-index: 2;
  display: inline-flex;
  width: fit-content;
  max-width: calc(100% - 40px);
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--charcoal);
  font-size: 0.84rem;
  font-weight: 700;
}

.eco-hero-carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(15, 31, 20, 0.45);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
}

.eco-hero-carousel__nav svg {
  width: 18px;
  height: 18px;
}

.eco-hero-carousel__nav--prev { left: 14px; }
.eco-hero-carousel__nav--next { right: 14px; }

.eco-hero-carousel__dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 10px;
  display: flex;
  gap: 8px;
  z-index: 4;
}

.eco-hero-carousel__dots button {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.eco-hero-carousel__dots button.is-active {
  width: 22px;
  background: var(--blue-accent);
}

.eco-hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
  z-index: 4;
}

.eco-hero__wave svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ---- Intro split ---- */
.eco-intro {
  padding: 80px 0 100px;
  background: var(--cream);
}

.eco-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.eco-intro__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--charcoal);
  line-height: 1.15;
  margin-bottom: 18px;
}

.eco-intro__copy p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

.eco-intro__visual {
  position: relative;
}

.eco-intro__img-wrap {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 4px solid var(--white);
}

.eco-intro__tag {
  position: absolute;
  bottom: -16px;
  right: 24px;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: var(--white);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

/* ---- Bento services ---- */
.eco-bento {
  padding: 100px 0;
}

.eco-bento__header {
  max-width: 560px;
  margin-bottom: 48px;
}

.eco-bento__header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.eco-bento__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.eco-bento__tile {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  text-decoration: none;
  color: var(--white);
  transition: var(--transition);
}

.eco-bento__tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(15, 31, 20, 0.88) 100%);
  z-index: 1;
  transition: var(--transition);
}

.eco-bento__tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.eco-bento__tile:hover::before {
  background: linear-gradient(180deg, rgba(176, 234, 39, 0.08) 0%, rgba(15, 31, 20, 0.92) 100%);
}

.eco-bento__tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.eco-bento__tile:hover img {
  transform: scale(1.06);
}

.eco-bento__tile-body {
  position: relative;
  z-index: 2;
}

.eco-bento__tile-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.eco-bento__tile-body p {
  font-size: 0.88rem;
  opacity: 0.85;
  line-height: 1.5;
  max-width: 280px;
}

.eco-bento__tile--wide { grid-column: span 7; min-height: 280px; }
.eco-bento__tile--tall { grid-column: span 5; }
.eco-bento__tile--sm { grid-column: span 4; min-height: 200px; }
.eco-bento__tile--accent {
  grid-column: span 4;
  background: linear-gradient(145deg, var(--blue-accent) 0%, var(--blue-mid) 100%);
  min-height: 200px;
}

.eco-bento__tile--accent::before { display: none; }

.eco-bento__tile--accent .eco-bento__tile-body h3 {
  color: var(--charcoal);
}

.eco-bento__tile--accent .eco-bento__tile-body p {
  color: rgba(15, 31, 20, 0.75);
  opacity: 1;
}

/* ---- Pest chips ---- */
.eco-pests {
  padding: 100px 0;
  background: var(--cream);
}

.eco-pests__layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.eco-pests__showcase {
  position: relative;
}

.eco-pests__showcase img {
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}

.eco-pests__ring {
  position: absolute;
  inset: -16px;
  border: 2px dashed rgba(33, 107, 58, 0.2);
  border-radius: 28px;
  pointer-events: none;
}

.eco-pests__content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.eco-pests__content > p {
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.7;
}

.eco-pest-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.eco-pest-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--charcoal);
  text-decoration: none;
  transition: var(--transition);
}

.eco-pest-chip::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-mid);
  transition: var(--transition);
}

.eco-pest-chip:hover {
  border-color: var(--blue-mid);
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.eco-pest-chip:hover::before {
  background: var(--blue-accent);
  box-shadow: 0 0 0 3px rgba(176, 234, 39, 0.35);
}

/* ---- Why mosaic ---- */
.eco-why {
  padding: 100px 0;
  background: var(--white);
}

.eco-why__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 48px;
}

.eco-why__top h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--charcoal);
  line-height: 1.1;
}

.eco-why__top p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.05rem;
}

.eco-why__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.eco-why-card {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--cream);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.eco-why-card:nth-child(2) {
  background: linear-gradient(160deg, var(--blue-light) 0%, var(--white) 100%);
  margin-top: 24px;
}

.eco-why-card:nth-child(3) {
  margin-top: 48px;
}

.eco-why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-sm);
  border-color: var(--blue-mid);
}

.eco-why-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-dark);
  margin-bottom: 18px;
  box-shadow: 0 4px 16px rgba(33, 107, 58, 0.1);
}

.eco-why-card__icon svg {
  width: 24px;
  height: 24px;
}

.eco-why-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.eco-why-card p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.65;
}

.eco-why__visual {
  margin-top: 56px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-height: 360px;
}

.eco-why__visual img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center 30%;
}

/* ---- Reviews & trust ---- */
.eco-reviews {
  position: relative;
  padding: 100px 0 88px;
  background: linear-gradient(165deg, #0f1f14 0%, #174d2c 45%, #1a5230 100%);
  overflow: hidden;
}

.eco-reviews::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(176, 234, 39, 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.eco-reviews__glow {
  position: absolute;
  width: 560px;
  height: 560px;
  background: var(--blue-accent);
  filter: blur(140px);
  opacity: 0.08;
  top: -220px;
  left: -120px;
  pointer-events: none;
}

.eco-reviews__glow--2 {
  left: auto;
  right: -160px;
  top: auto;
  bottom: -200px;
  background: var(--blue-mid);
  opacity: 0.2;
}

.eco-reviews .section-header h2 {
  color: var(--white);
}

.eco-reviews .section-header p {
  color: rgba(255, 255, 255, 0.65);
}

.eco-reviews .eyebrow {
  color: var(--blue-accent);
}

.eco-reviews__scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 28px;
  margin-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.eco-reviews__scroll::-webkit-scrollbar {
  display: none;
}

.eco-reviews__scroll .testimonial-card {
  flex: 0 0 min(340px, 85vw);
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.eco-reviews__scroll .testimonial-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(176, 234, 39, 0.25);
}

.eco-reviews__scroll .testimonial-card__stars {
  color: var(--blue-accent);
}

.eco-reviews__scroll .testimonial-card p {
  color: rgba(255, 255, 255, 0.9);
}

.eco-reviews__scroll .testimonial-card__avatar {
  background: var(--blue-mid);
  border-color: var(--blue-accent);
}

.eco-reviews__scroll .testimonial-card__author h5 {
  color: var(--white);
}

.eco-reviews__scroll .testimonial-card__author span {
  color: rgba(255, 255, 255, 0.5);
}

/* Trust bar — review platform links */
.eco-trust-bar {
  margin-top: 40px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.eco-trust-bar__label {
  display: block;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 18px;
}

.eco-reviews .review-links {
  margin-top: 0;
  gap: 12px;
}

.eco-reviews .review-links a {
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--blue-dark);
  padding: 13px 22px;
  font-size: 0.86rem;
}

.eco-reviews .review-links a:hover {
  background: var(--blue-light);
  border-color: var(--blue-mid);
  color: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.eco-reviews .review-links a.eco-trust-bar__featured {
  background: linear-gradient(135deg, #d4f5a8 0%, var(--blue-accent) 100%);
  border-color: var(--blue-accent);
  color: var(--charcoal);
  font-weight: 700;
}

.eco-reviews .review-links a.eco-trust-bar__featured:hover {
  background: var(--blue-accent);
  color: var(--charcoal);
}

.eco-reviews .review-links a img {
  height: 20px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

/* Cert cards on dark green */
.eco-reviews .cert-badges {
  margin-top: 32px;
  gap: 20px;
}

.eco-reviews .cert-badge {
  background: var(--white);
  border: none;
  padding: 36px 32px;
  max-width: none;
  flex: 1;
  min-width: min(100%, 280px);
}

.eco-reviews .cert-badge strong {
  color: var(--charcoal);
}

.eco-reviews .cert-badge span {
  color: var(--muted);
}

/* ---- CTA ---- */
.eco-cta {
  position: relative;
  padding: clamp(88px, 12vh, 120px) 24px;
  text-align: center;
  background: linear-gradient(135deg, #174d2c 0%, #216b3a 40%, #3d8f52 100%);
  overflow: hidden;
}

.eco-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.eco-cta::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: var(--blue-accent);
  opacity: 0.1;
  filter: blur(80px);
  bottom: -300px;
  right: -150px;
  pointer-events: none;
}

.eco-cta__leaf {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50% 0 50% 50%;
  background: rgba(176, 234, 39, 0.06);
  top: -80px;
  left: -60px;
  transform: rotate(-25deg);
  pointer-events: none;
}

.eco-cta .container {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.eco-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 18px;
  line-height: 1.15;
}

.eco-cta p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 36px;
}

.eco-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.eco-cta__note {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.eco-cta__note::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-accent);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .eco-hero__grid,
  .eco-intro__grid,
  .eco-pests__layout,
  .eco-why__top {
    grid-template-columns: 1fr;
  }

  .eco-bento__tile--wide,
  .eco-bento__tile--tall,
  .eco-bento__tile--sm,
  .eco-bento__tile--accent {
    grid-column: span 12;
  }

  .eco-why__cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .eco-why-card:nth-child(2),
  .eco-why-card:nth-child(3) {
    margin-top: 0;
  }

  .eco-hero-carousel__track {
    min-height: 380px;
  }
}

@media (max-width: 768px) {
  .eco-hero-carousel__track {
    min-height: 300px;
  }

  .eco-hero-slide__caption {
    font-size: 0.78rem;
    border-radius: 14px;
  }

  .eco-why__cards {
    grid-template-columns: 1fr;
  }

  .eco-stat-pill {
    flex: 1;
    min-width: calc(50% - 6px);
  }
}
