/* =========================================================
   GUEST-POSTING.CSS  (v2.4)
   Page-specific styles that mirror home.css aesthetics.
   Only overrides/additions unique to the guest posting page.
   ========================================================= */

/* ---------------------------------------------------------
   HERO (same gradient + decor as homepage)
--------------------------------------------------------- */
.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-rating { font-size: .78rem; opacity: .9; }

.text-gradient,
.text-accent {
  background: linear-gradient(135deg, #E3FFEF 0%, #C9FFD6 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.hero-subtitle { font-size: 1.05rem; margin: .75rem 0 1rem; opacity: .95; }

.hero-trust-layer { display: flex; flex-wrap: wrap; gap: 1.1rem; margin: .75rem 0 1.25rem; }
.trust-item { display: inline-flex; align-items: center; gap: .4rem; color: rgba(255,255,255,.92); }
.icon-check { color: #0AA86A; font-weight: 700; }

.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; }

/* ---------------------------------------------------------
   TRUST BAR (same style as home)
--------------------------------------------------------- */
.trust-bar { margin-top: -28px; }
.trust-bar-card {
  background: #fff; border-radius: 18px; padding: 1.2rem 1.5rem;
  box-shadow: 0 10px 30px rgba(15,23,42,.08);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
}
.trust-label { font-size: .9rem; color: #4A4A4A; font-weight: 500; }
.trust-logos { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.badge-pill {
  border-radius: 999px; padding: .25rem .6rem; font-size: .72rem;
  background: rgba(0,102,0,.06); color: #003B3B; font-weight: 600;
}

/* ---------------------------------------------------------
   INTRO & BENEFIT CARDS
--------------------------------------------------------- */
.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%);
}

.grid-3 { align-items: stretch; } /* ensure equal height */

.card-header {
  display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem;
}
/* icons inside card-icon */
.card-icon .icon {
  width: 22px;
  height: 22px;
  stroke: #0A0A0A;
  fill: none;
  stroke-width: 2;
}

.card-icon .icon path,
.card-icon .icon circle,
.card-icon .icon rect {
  stroke: #0F5132;        /* deep green stroke */
}

.card-icon {
  background: #F5F7FA;    /* already in your css; keeping for clarity */
}

.card-tag {
  font-size: .75rem; font-weight: 700; color: #0AA86A;
  background: rgba(10,168,106,.1); padding: .25rem .6rem; border-radius: 999px;
}

/* ---------------------------------------------------------
   PROCESS (timeline + sticky sidebar)
--------------------------------------------------------- */
.process-section-layout { align-items: start; gap: 4rem; }
.process-timeline { display: grid; gap: 1rem; }

.process-step {
  display: grid; grid-template-columns: 42px 1fr; gap: 1rem;
  padding: 1rem; border: 1px solid #E5E7EB; border-radius: 16px; background: #fff;
}
.step-number {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(0,102,0,.08); color: #006600; font-weight: 700;
}
.step-content h3 { margin: .15rem 0 .25rem; }
.process-sidebar-card { position: sticky; top: 120px; }

/* ---------------------------------------------------------
   PACKAGES / PRICING
--------------------------------------------------------- */
.pricing-card { position: relative; display: flex; flex-direction: column; height: 100%; }
.pricing-card .pricing-header { text-align: center; margin-bottom: .75rem; }
.pricing-card .price-main { font-size: 1.75rem; font-weight: 700; color: #006600; line-height: 1; }
.pricing-card .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;
}

/* ---------------------------------------------------------
   TESTIMONIAL SLIDER (Google-style cards)
--------------------------------------------------------- */
.testimonial-slider { position: relative; overflow: hidden; }
.slider-track {
  display: flex; transition: transform .4s ease; will-change: transform;
}
.testimonial-slide { min-width: 100%; padding: .25rem; }

.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 999px; border: 1px solid #E5E7EB;
  background: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 20px rgba(15,23,42,.08);
}
.slider-btn--prev { inset-inline-start: -4px; }
.slider-btn--next { inset-inline-end: -4px; }

.slider-dots { display: flex; gap: .4rem; justify-content: center; margin-top: .75rem; }
.slider-dots .dot {
  width: 8px; height: 8px; border-radius: 999px; border: none; background: #D1D5DB; cursor: pointer;
}
.slider-dots .dot.active { background: #006600; width: 18px; }

.google-card {
  background: #fff; border-radius: 18px; padding: 1.1rem 1.2rem;
  border: 1px solid #E5E7EB;
  box-shadow: 0 10px 30px rgba(15,23,42,.06);
}
.google-card-header {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .6rem;
}
.google-rating { display: flex; align-items: center; gap: .5rem; font-weight: 700; }
.google-rating .stars { letter-spacing: .08em; color: #0AA86A; }
.verified-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .8rem; font-weight: 600; color: #0AA86A;
  background: rgba(10,168,106,.08); padding: .25rem .6rem; border-radius: 999px;
}

.google-card-content { font-size: .98rem; color: #111827; margin: .5rem 0 1rem; }
.google-card-author { display: flex; gap: .8rem; align-items: center; }
.author-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid #0AA86A; }
.author-info .author-name { font-weight: 700; }
.author-info .author-title { display: block; font-size: .82rem; color: #4A4A4A; }
.review-meta { display: flex; gap: .75rem; font-size: .75rem; color: #6B7280; margin-top: .25rem; }

.google-card-footer { margin-top: .9rem; border-top: 1px solid #E5E7EB; padding-top: .75rem; }
.review-stats { display: flex; gap: 1rem; flex-wrap: wrap; }
.review-stats .stat strong { display: block; color: #006600; }

/* ---------------------------------------------------------
   FAQ (minor polish)
--------------------------------------------------------- */
.faq-item { border-bottom: 1px solid #E5E7EB; padding: .75rem 0; }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-weight: 600;
}
.faq-item[open] summary { color: #006600; }

/* ---------------------------------------------------------
   FORMS (CTA block polish)
--------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.form-grid .textarea { min-height: 120px; }
.form-grid .form-control:nth-last-child(2) { grid-column: 1 / -1; } /* message spans full width on desktop */

/* ---------------------------------------------------------
   UTILITIES
--------------------------------------------------------- */
.section--tight { padding-block: 28px; }
.text-muted { color: #4A4A4A; }

/* ---------------------------------------------------------
   RESPONSIVE OVERRIDES
--------------------------------------------------------- */
@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)); }
  .process-section-layout { grid-template-columns: 1fr; gap: 2rem; }
  .process-sidebar-card { position: static; }
  .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; }
  .slider-btn--prev { inset-inline-start: 6px; }
  .slider-btn--next { inset-inline-end: 6px; }
  .form-grid { 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%; }
  .trust-bar-card { flex-direction: column; align-items: flex-start; }
  .metric-pill { padding: .55rem .7rem; font-size: .75rem; }
  .pricing-card .price-main { font-size: 1.55rem; }
}
