/* =========================================================
   SERVICES.CSS  (v2.4)
   Page-specific styles that mirror home/guest-posting aesthetics.
   Only overrides/additions unique to the Services page.
   ========================================================= */

/* ---------------------------------------------------------
   HERO (same gradient + decor as other pages)
--------------------------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, #009933 0%, #003300 100%);
  color: #FFFFFF;
  border-radius: 0 0 40px 40px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset-inline-end: -120px;
  inset-block-start: -120px;
  width: 340px; height: 340px;
  border-radius: 50%;
  border: 42px solid rgba(255,255,255,.12);
  border-left-color: transparent;
  border-bottom-color: transparent;
  transform: rotate(-18deg);
}

.hero::after {
  content: "";
  position: absolute;
  inset-inline-end: -40px;
  inset-block-end: -120px;
  width: 260px; height: 260px;
  border-radius: 50%;
  border: 30px solid rgba(255,255,255,.1);
  border-right-color: transparent;
  border-top-color: transparent;
  transform: rotate(24deg);
}

.hero-inner { padding-block: 96px; position: relative; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: center;
}

.hero-badge-row {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: .75rem; margin-bottom: 1.25rem;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .4rem .9rem; border-radius: 999px;
  background: rgba(15,23,42,.65);
  font-size: .78rem; text-transform: uppercase; letter-spacing: .12em;
}

.hero-subtitle { font-size: 1.05rem; margin: .75rem 0 1rem; opacity: .95; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.25rem 0 1rem; }

.hero-meta { display: flex; flex-wrap: wrap; gap: 1.25rem; font-size: .82rem; opacity: .9; }
.hero-meta-item { display: inline-flex; align-items: center; gap: .35rem; }

/* Illustration card */
.hero-illustration { position: relative; }
.hero-illustration-card {
  background: #fff; color: var(--color-text-main);
  border-radius: 28px; padding: 1.4rem;
  box-shadow: 0 10px 30px rgba(15,23,42,.08);
}
.hero-illustration-card img { width: 100%; height: auto; border-radius: 12px; }
.hero-illustration-metrics {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1rem; margin-top: 1rem;
}
.metric-pill {
  padding: .7rem .9rem; border-radius: 12px;
  background: #F5F7FA; font-size: .8rem;
}
.metric-pill strong { display: block; font-size: 1rem; color: #006600; }
.metric-pill span { display: block; margin-top: .15rem; color: #4A4A4A; }

/* ---------------------------------------------------------
   SECTION HEADERS (centered like other pages)
--------------------------------------------------------- */
.section-header { text-align: center; margin-bottom: 1.5rem; }
.section-header .section-eyebrow {
  display: inline-block; font-weight: 700; font-size: .82rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: #0AA86A; background: rgba(10,168,106,.1);
  padding: .25rem .6rem; border-radius: 999px;
  margin-bottom: .6rem;
}
.section-header .section-title { margin: .35rem 0 .25rem; }
.section-header .section-description {
  max-width: 760px; margin-inline: auto; color: #4A4A4A;
}

/* ---------------------------------------------------------
   CARDS / ICONS / TAGS
--------------------------------------------------------- */
.grid-3 { align-items: stretch; } /* equal height feel */

.card { background: #fff; border-radius: 18px; padding: 1.1rem 1.2rem; box-shadow: 0 10px 30px rgba(15,23,42,.06); border: 1px solid #E5E7EB; }

.card--highlight {
  border: 2px solid rgba(0,102,0,.15);
  background: linear-gradient(135deg, rgba(0,102,0,.03) 0%, rgba(10,168,106,.03) 100%);
}

.card-header {
  display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem;
}
.card-icon {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 12px; background: #F5F7FA; border: 1px solid #E5E7EB;
}
.card-icon .icon {
  width: 22px; height: 22px; stroke: #0F5132; fill: none; stroke-width: 2;
}
.card-tag {
  font-size: .75rem; font-weight: 700; color: #0AA86A;
  background: rgba(10,168,106,.1); padding: .25rem .6rem; border-radius: 999px;
}

/* ---------------------------------------------------------
   PRICING PREVIEW (reuse pricing look)
--------------------------------------------------------- */
.pricing-card { position: relative; display: flex; flex-direction: column; height: 100%; }
.pricing-header { text-align: center; margin-bottom: .75rem; }
.price-main { font-size: 1.75rem; font-weight: 700; color: #006600; line-height: 1; }
.price-alt { font-size: .9rem; color: #4A4A4A; }
.pricing-features { margin: .75rem 0 1rem; }
.pricing-footer { margin-top: auto; }

.pricing-card.featured {
  border: 2px solid #006600;
  background: linear-gradient(135deg, rgba(0,102,0,.03) 0%, rgba(10,168,106,.03) 100%);
  transform: translateY(-2px);
}
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: #FF7A3C; color: #fff; padding: .25rem 1rem; border-radius: 999px;
  font-size: .75rem; font-weight: 700;
}

/* ---------------------------------------------------------
   FINAL CTA
--------------------------------------------------------- */
.final-cta-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 22px;
  padding: 1.4rem 1.6rem;
  box-shadow: 0 14px 40px rgba(15,23,42,.08);
}
.final-cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 1rem; }

/* ---------------------------------------------------------
   UTILITIES
--------------------------------------------------------- */
.text-muted { color: #4A4A4A; }
.section--soft { background: #F8FAFC; } /* if not already in global */
.full-width { width: 100%; }

/* ---------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0,1.2fr) minmax(0,.9fr); gap: 2.5rem; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .pricing-card.featured { transform: none; }
}

@media (max-width: 768px) {
  .hero-inner { padding-block: 72px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-illustration { order: -1; margin-bottom: 2rem; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-badge-row { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .metric-pill { padding: .55rem .7rem; font-size: .75rem; }
  .price-main { font-size: 1.55rem; }
}
