/* ============================================================
   YSN EXTRACTORS — home.css   (green · blue · white)
   ============================================================ */

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero__bg {
  position: absolute; inset: 0;
  /* Fallback: replace with images/hero-bg.jpg */
  background-image: url('../images/hero-bg.jpg'),
    linear-gradient(135deg, var(--dark) 0%, var(--green-dark) 100%);
  background-size: cover;
  background-position: center;
  filter: brightness(0.28) saturate(0.7);
  transform: scale(1.04);
  transition: transform 7s ease;
}
.hero__bg.loaded { transform: scale(1); }

.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(11,30,17,0.96) 35%, rgba(21,101,192,0.12) 100%);
}

/* Clean water droplet pattern overlay */
.hero__pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(27,123,58,0.15) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(21,101,192,0.12) 0%, transparent 50%);
}

.hero__content {
  position: relative;
  padding-inline: 5%;
  max-width: 780px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(27,123,58,0.15);
  border: 1px solid rgba(27,123,58,0.4);
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 28px;
}
.hero__badge::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green-light);
  animation: pulse 2.2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:0.3;} }

.hero__title { color: var(--white); margin-bottom: 24px; }
.hero__title em { font-style: normal; color: var(--green-light); }
.hero__title .blue-word { color: var(--blue-light); }

.hero__subtitle { max-width: 520px; margin-bottom: 44px; color: rgba(255,255,255,0.7); font-weight: 300; }

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Stats */
.hero__stats {
  position: absolute;
  bottom: 0; right: 0;
  display: flex;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(27,123,58,0.3);
  border-left: 1px solid rgba(27,123,58,0.3);
}
.hero__stat { padding: 20px 32px; text-align: center; border-right: 1px solid rgba(27,123,58,0.2); }
.hero__stat:last-child { border-right: none; }
.hero__stat strong { display: block; font-family: var(--font-display); font-size: 32px; font-weight: 800; color: var(--green-light); letter-spacing: -1px; }
.hero__stat span { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.45); }

/* ── WHY STRIP ── */
.why-strip {
  background: var(--green);
  padding: 16px 5%;
  display: flex; gap: 40px; flex-wrap: wrap; justify-content: center; align-items: center;
}
.why-strip__item {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--white); white-space: nowrap;
}
.why-strip__item svg { width: 18px; height: 18px; stroke: rgba(255,255,255,0.85); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── INTRO SPLIT ── */
.intro-split { display: grid; grid-template-columns: 1fr 1fr; }

.intro-split__img {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}
.intro-split__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
/* Green wash overlay for brand consistency */
.intro-split__img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(27,123,58,0.1), transparent);
}

.intro-split__body {
  background: var(--light-bg);
  padding: 80px 60px;
  display: flex; flex-direction: column; justify-content: center;
}
.intro-split__body p { margin-bottom: 16px; }
.intro-split__body .btn { margin-top: 12px; align-self: flex-start; }

/* ── SERVICES PREVIEW ── */
.services-preview { background: var(--white); }
.services-preview__header { max-width: 560px; margin-bottom: 56px; }

.services-preview__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}.srv-card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1.5px solid rgba(255,255,255,0.08);

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  transition: all var(--transition);
}

/* Dark overlay */
.srv-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(0,0,0,0.78) 10%,
      rgba(0,0,0,0.35) 55%,
      rgba(0,0,0,0.15) 100%
    );
  z-index: 1;
}

/* Keep content above overlay */
.srv-card > * {
  position: relative;
  z-index: 2;
}

.srv-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-lg);
}

.srv-card .icon-box {
  margin-bottom: 18px;
}

.srv-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
}

.srv-card p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
  font-weight: 300;
}
.srv-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.srv-card h3 {
  min-height: 72px;
  display: flex;
  align-items: flex-end;
  margin-bottom: 16px;
}
/* Service Background Images */

.srv-card:nth-child(1) {
  background-image: url('../images/service1-extractor-cleaning.png');
}

.srv-card:nth-child(2) {
  background-image: url('../images/service2-canopy-cleaning.png');
}

.srv-card:nth-child(3) {
  background-image: url('../images/service3-filter-maintenance.png');
}

.srv-card:nth-child(4) {
  background-image: url('../images/service4-fan-hood-cleaning.png');
}

.srv-card:nth-child(5) {
  background-image: url('../images/service5-oil-disposal.png');
}
/*
.srv-card {
  background: var(--white);
  border: 1.5px solid var(--green-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.srv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.srv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--green); }
.srv-card:hover::before { transform: scaleX(1); }

.srv-card .icon-box { margin-bottom: 20px; }
.srv-card h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--text-dark); }
.srv-card p { font-size: 14px; line-height: 1.75; color: var(--text-mid); font-weight: 300; }

.services-preview__footer { text-align: center; margin-top: 44px; }

/* ── PROCESS ── */
.process { background: linear-gradient(135deg, var(--dark) 0%, var(--charcoal) 70%, var(--green-dark) 100%); }
.process .label { color: var(--green-light); }
.process .display-lg { color: var(--white); }
.process .green-line { background: var(--green-light); }

.process__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.process__step {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(27,123,58,0.2);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  position: relative;
}
.process__num {
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 800;
  color: rgba(27,123,58,0.2);
  line-height: 1;
  margin-bottom: 16px;
}
.process__step h3 { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--green-light); margin-bottom: 10px; letter-spacing: 0.5px; }
.process__step p  { font-size: 13px; line-height: 1.75; color: rgba(255,255,255,0.5); font-weight: 300; }


/* ── TARGET MARKET ── */

.targets {
  position: relative;
  overflow: hidden;

  background-size: cover;
  background-position: center;

 background-image: url('../images/arturo-rey-m6fYkq_P2Cc-unsplash.jpg');

  isolation: isolate;
}

/* White overlay */
.targets::before {
  content: '';
  position: absolute;
  inset: 0;

background: rgba(245,250,247,0.62);

  z-index: 1;
}

/* Keep content above overlay */
.targets .container {
  position: relative;
  z-index: 2;
}

.targets__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 16px;
  margin-top: 48px;
}
.target-pill {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(10px);

  border: 1px solid rgba(255,255,255,0.5);

  border-radius: var(--radius-md);

  padding: 20px 22px;

  display: flex;
  align-items: center;
  gap: 14px;

  font-size: 13px;
  font-weight: 600;

  color: var(--text-body);

  transition: all var(--transition);

  box-shadow: 0 8px 24px rgba(0,0,0,0.05);

  min-height: 90px;
}

/* IMPORTANT — restore icon sizing */
.target-pill svg {
  width: 22px;
  height: 22px;

  stroke: var(--green);
  fill: none;

  stroke-width: 1.8;

  flex-shrink: 0;
}

/* Hover */
.target-pill:hover {
  transform: translateY(-4px);

  background: rgba(255,255,255,0.9);

  box-shadow: 0 14px 30px rgba(0,0,0,0.08);
}
/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .intro-split { grid-template-columns: 1fr; }
  .intro-split__img { min-height: 300px; }
  .intro-split__body { padding: 52px 32px; }
  .hero__stats { position: relative; flex-wrap: wrap; }
  .hero__stat { flex: 1 1 110px; }
}
@media (max-width: 600px) {
  .process__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1200px) {
  .services-preview__grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
.services-preview__footer {
  text-align: center;
  margin-top: 50px;
}

.services-preview__footer .btn {
  background: var(--green);
  color: var(--white);
  border: none;
}

.services-preview__footer .btn:hover {
  background: var(--green-dark);
}
@keyframes targetSlideshow {

  0%, 14% {
    background-image: url('../images/arturo-rey-m6fYkq_P2Cc-unsplash.jpg');
  }

  16%, 30% {
    background-image: url('../images/joana-godinho-Gwv-t9VQiPM-unsplash.jpg');
  }

  32%, 46% {
    background-image: url('../images/ryan-waring-geeZzrAXyMQ-unsplash.jpg');
  }

  48%, 62% {
    background-image: url('../images/valeriia-bugaiova-pPHgeHz1uk-unsplash.jpg');
  }

  64%, 78% {
    background-image: url('../images/roam-in-color-z3QZ6gjGRt4-unsplash.jpg');
  }

  80%, 100% {
    background-image: url('../images/yuya-kitada-WGOIsZr0GNc-unsplash.jpg');
  }
}
@media (max-width: 768px) {

  /* HERO */
  .hero {
    min-height: auto;
    padding-top: 110px;
    padding-bottom: 0;
  }

  .hero__content {
    padding-inline: 24px;
    text-align: left;
  }

  .hero__content .display-xl {
    font-size: 52px;
    line-height: 0.95;
    margin-bottom: 18px;
  }

  .hero__content p {
    font-size: 15px;
    line-height: 1.7;
    max-width: 100%;
  }

  /* CTA buttons */
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-top: 28px;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Stats */
  .hero__stats {
    position: relative;
    inset: auto;
    width: 100%;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    margin-top: 40px;
  }

  .hero__stat {
    min-height: 120px;
    padding: 20px 10px;
  }

  .hero__stat strong {
    font-size: 22px;
  }

  .hero__stat span {
    font-size: 11px;
    line-height: 1.4;
  }

  /* Hide trust strip on mobile */
  .hero__trust,
  .why-strip {
    display: none;
  }

}

@media (max-width: 768px) {

  .services-preview {
    padding-bottom: 50px;
  }

  .services-preview__footer {
    margin-top: 28px;
  }

  .process {
    padding-top: 60px;
  }

}

@media (max-width: 768px) {

  .target-pill {
    min-height: 76px;
    padding: 18px 18px;
  }

}
.hero__badge {
  display: none;
}
