/* ============================================================
   YSN EXTRACTORS — services.css
   ============================================================ */

/* ── SERVICE BLOCKS ── */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--green-border);
}
.service-block:nth-child(even) .service-block__img  { order: 2; }
.service-block:nth-child(even) .service-block__body { order: 1; }

.service-block__img {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}
.service-block__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.service-block:hover .service-block__img img { transform: scale(1.04); }

/* Green tint overlay */
.service-block__img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(27,123,58,0.15) 0%, transparent 60%);
  pointer-events: none;
}

/* Service number badge */
.service-block__img .service-num {
  position: absolute;
  top: 20px; left: 20px;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  z-index: 1;
}

.service-block__body {
  background: var(--white);
  padding: 64px 56px;
  display: flex; flex-direction: column; justify-content: center;
}
.service-block:nth-child(even) .service-block__body { background: var(--light-bg); }

.service-block__body .icon-box { margin-bottom: 20px; }

.service-block__body h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 14px;
}

.service-block__body > p {
  font-size: 15px; line-height: 1.85; color: var(--text-body);
  font-weight: 300; margin-bottom: 24px;
}

/* Feature list */
.feature-list { display: flex; flex-direction: column; gap: 0; }
.feature-list li {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--text-body);
  padding: 9px 0;
  border-bottom: 1px solid var(--green-border);
  font-weight: 400;
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Add-on note */
.add-on-note {
  margin-top: 20px;
  padding: 14px 18px;
  background: var(--blue-faint);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 13px; line-height: 1.6;
  color: var(--blue-dark); font-weight: 400;
}

/* ── PRICING NOTE ── */
.pricing-note {
  background: var(--light-blue-bg);
  border: 1.5px solid var(--blue-border);
  border-radius: var(--radius-lg);
  padding: 48px 52px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  margin-block: 60px;
}
.pricing-note h3 { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--blue-dark); margin-bottom: 10px; }
.pricing-note p  { font-size: 14px; color: var(--text-body); font-weight: 300; line-height: 1.7; }

/* ── FAQ ── */
.faq { background: var(--light-bg); }

.faq__list { margin-top: 48px; display: flex; flex-direction: column; gap: 8px; }

.faq__item {
  background: var(--white);
  border: 1.5px solid var(--green-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq__item.open { border-color: var(--green); }

.faq__question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 15px; font-weight: 600; color: var(--text-body);
  transition: color var(--transition), background var(--transition);
  user-select: none;
}
.faq__question:hover { color: var(--green); background: var(--green-faint); }
.faq__item.open .faq__question { color: var(--green); background: var(--green-faint); }

.faq__arrow { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; flex-shrink: 0; transition: transform var(--transition); }
.faq__item.open .faq__arrow { transform: rotate(180deg); }

.faq__answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; padding: 0 24px; }
.faq__item.open .faq__answer { max-height: 300px; padding: 0 24px 22px; }
.faq__answer p { font-size: 14px; line-height: 1.85; color: var(--text-mid); font-weight: 300; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .service-block { grid-template-columns: 1fr; }
  .service-block:nth-child(even) .service-block__img,
  .service-block:nth-child(even) .service-block__body { order: unset; }
  .service-block__body { padding: 44px 28px; }
  .service-block__img { min-height: 280px; }
  .pricing-note { grid-template-columns: 1fr; }
}
