/* ===================================================
   GROWTH SERVICES PAGE — RankBoost Agency
   Brand: --primary-purple #7B5DFF | --accent-lime #D4FF12
   =================================================== */

/* ===== HERO ===== */
.gs-hero {
  position: relative;
  overflow: hidden;
  padding-top: 140px;
  padding-bottom: 96px;
  background:
    radial-gradient(ellipse 60% 50% at 5% 10%, rgba(123,93,255,0.13) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 95% 15%, rgba(212,255,18,0.18) 0%, transparent 50%),
    linear-gradient(180deg,#ffffff 0%,#f9f9fc 100%);
}

.gs-hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(26px);
  pointer-events: none;
}
.gs-hero-orb-purple {
  width: 320px; height: 320px;
  left: -60px; top: 10%;
  background: rgba(123,93,255,0.14);
}
.gs-hero-orb-lime {
  width: 220px; height: 220px;
  right: 4%; top: 8%;
  background: rgba(212,255,18,0.30);
}

.gs-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .gs-hero-inner {
    grid-template-columns: 1fr 420px;
    gap: 64px;
  }
}

.gs-hero-copy h1 {
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: 1.1;
  color: #000000;
  margin: 16px 0 20px;
}

/* .hero-lede defined globally in master.css — override spacing for hero context */
.gs-hero-copy .hero-lede {
  max-width: 560px;
  margin-bottom: 36px;
}

.gs-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.gs-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
}

.gs-hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(0,0,0,0.55);
}

.gs-hero-trust-item::before {
  content: "✓";
  display: inline-flex;
  width: 20px; height: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent-lime);
  color: #000;
  font-size: 12px;
  font-weight: 900;
  flex-shrink: 0;
}

/* Hero stat card */
.gs-hero-stats {
  background: #000000;
  border-radius: 16px;
  padding: 32px;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.gs-hero-stat strong {
  display: block;
  font-size: 34px;
  font-weight: 900;
  color: var(--accent-lime);
  line-height: 1;
  margin-bottom: 4px;
}

.gs-hero-stat span {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
}

.gs-hero-stat-full {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.gs-hero-stat-full p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.72);
  margin: 0;
}

/* ===== INTRO BAND ===== */
.gs-intro-band {
  background: #000;
  padding: 52px 20px;
  text-align: center;
}

.gs-intro-band p {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255,255,255,0.72);
  max-width: 760px;
  margin: 0 auto;
}

.gs-intro-band strong {
  color: var(--accent-lime);
}

/* ===== SERVICES SECTION ===== */
.gs-services {
  padding: var(--section-gap) 0;
  background: #fff;
}

/* .section-head — defined globally in master.css */
/* Override: growth-services uses centered section heads */
.section-head {
  text-align: center;
  margin: 0 auto 64px;
}

/* Service cards grid */
.gs-services-grid {
  display: grid;
  gap: 28px;
}

@media (min-width: 640px) {
  .gs-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gs-services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gs-service-card {
  position: relative;
  border: 1px solid rgba(0,0,0,0.09);
  border-radius: 14px;
  background: #ffffff;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  overflow: hidden;
}

.gs-service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(123,93,255,0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 240ms ease;
}

.gs-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(123,93,255,0.11);
  border-color: rgba(123,93,255,0.22);
}

.gs-service-card:hover::before {
  opacity: 1;
}

.gs-service-icon {
  display: inline-flex;
  width: 52px; height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(123,93,255,0.1);
  font-size: 24px;
  flex-shrink: 0;
}

.gs-service-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: #000;
  margin: 0;
  line-height: 1.25;
}

.gs-service-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted-alpha);
  margin: 0;
  flex: 1;
}

.gs-service-bullets {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gs-service-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(0,0,0,0.65);
}

.gs-service-bullets li::before {
  content: "→";
  color: var(--primary-purple);
  font-weight: 900;
  flex-shrink: 0;
  line-height: 1.5;
}

.gs-service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 900;
  color: var(--primary-purple);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 8px;
  transition: gap 180ms ease;
}

.gs-service-link:hover {
  gap: 10px;
}

/* ===== PROCESS SECTION ===== */
.gs-process {
  padding: var(--section-gap) 0;
  background: var(--soft-gray, #f7f7fa);
}

.gs-process-steps {
  display: grid;
  gap: 2px;
  margin-top: 60px;
}

.gs-process-step {
  display: grid;
  gap: 20px;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: 32px 36px;
  transition: box-shadow 200ms ease;
}

@media (min-width: 768px) {
  .gs-process-steps {
    gap: 16px;
  }

  .gs-process-step {
    grid-template-columns: 64px 1fr auto;
  }
}

.gs-process-step:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.07);
}

.gs-process-num {
  display: inline-flex;
  width: 56px; height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--primary-purple);
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  flex-shrink: 0;
}

.gs-process-step.accent .gs-process-num {
  background: var(--accent-lime);
  color: #000;
}

.gs-process-body h3 {
  font-size: 20px;
  font-weight: 800;
  color: #000;
  margin: 0 0 8px;
}

.gs-process-body p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted-alpha);
  margin: 0;
}

.gs-process-tag {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(0,0,0,0.35);
  white-space: nowrap;
  background: rgba(0,0,0,0.05);
  border-radius: 999px;
  padding: 6px 14px;
}

/* ===== BENEFITS SECTION ===== */
.gs-benefits {
  padding: var(--section-gap) 0;
  background: #000;
  color: #fff;
}

.gs-benefits .section-head h2,
.gs-benefits .section-head .eyebrow {
  color: #ffffff;
}

.gs-benefits .section-head p {
  color: rgba(255, 255, 255, 0.62);
}

.gs-benefits-grid {
  display: grid;
  gap: 24px;
  margin-top: 60px;
}

@media (min-width: 640px) {
  .gs-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gs-benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gs-benefit-card {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 28px 24px;
  background: rgba(255,255,255,0.04);
  transition: border-color 220ms ease, background 220ms ease;
}

.gs-benefit-card:hover {
  border-color: rgba(212,255,18,0.3);
  background: rgba(212,255,18,0.04);
}

.gs-benefit-icon {
  font-size: 28px;
  margin-bottom: 16px;
  display: block;
}

.gs-benefit-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
}

.gs-benefit-card p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  margin: 0;
}

/* ===== TESTIMONIALS ===== */
.gs-testimonials {
  padding: var(--section-gap) 0;
  background: #fff;
}

.gs-testimonials-grid {
  display: grid;
  gap: 24px;
  margin-top: 60px;
}

@media (min-width: 768px) {
  .gs-testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gs-testimonial-card {
  border: 1px solid rgba(0,0,0,0.09);
  border-radius: 14px;
  padding: 28px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 220ms ease;
}

.gs-testimonial-card:hover {
  box-shadow: 0 18px 55px rgba(0,0,0,0.08);
}

.gs-testimonial-stars {
  color: var(--accent-lime);
  font-size: 18px;
  letter-spacing: 2px;
}

.gs-testimonial-card blockquote {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(0,0,0,0.7);
  margin: 0;
  flex: 1;
  font-style: italic;
}

.gs-testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(0,0,0,0.08);
  padding-top: 16px;
}

.gs-testimonial-avatar {
  width: 42px; height: 42px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(123,93,255,0.2), rgba(212,255,18,0.3));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  color: var(--primary-purple);
  flex-shrink: 0;
}

.gs-testimonial-meta strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #000;
}

.gs-testimonial-meta span {
  font-size: 12px;
  color: rgba(0,0,0,0.45);
  font-weight: 600;
}

.gs-testimonial-result {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 900;
  background: rgba(212,255,18,0.15);
  color: #4a6400;
  border-radius: 999px;
  padding: 4px 12px;
}

/* ===== FAQ ===== */
.gs-faq {
  padding: var(--section-gap) 0;
  background: var(--soft-gray, #f7f7fa);
}

.gs-faq-grid {
  display: grid;
  gap: 48px;
  margin-top: 60px;
}

@media (min-width: 1024px) {
  .gs-faq-grid {
    grid-template-columns: 1fr 380px;
    align-items: start;
  }
}

.gs-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Override: growth-services uses card-style FAQs */
.gs-faq-list details {
  border: 1px solid rgba(0,0,0,0.09);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  border-bottom: 1px solid rgba(0,0,0,0.09); /* master.css sets this, override with card border */
  margin-bottom: 4px;
}

.gs-faq-list summary {
  padding: 20px 24px; /* override master.css 0-padding with card padding */
  font-size: 16px;
  transition: background 180ms ease;
}

.gs-faq-list details[open] > summary {
  background: rgba(123,93,255,0.04);
}

.gs-faq-list details p {
  padding: 0 24px 20px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(0,0,0,0.62);
  margin: 0;
}

.gs-faq-cta {
  background: #000;
  border-radius: 16px;
  padding: 36px;
  color: #fff;
  position: sticky;
  top: 110px;
}

.gs-faq-cta h3 {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin: 12px 0 14px;
  line-height: 1.25;
}

.gs-faq-cta p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.62);
  margin: 0 0 24px;
}

.gs-faq-cta a.primary-cta {
  width: 100%;
  justify-content: center;
}

.gs-faq-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.gs-faq-metric strong {
  display: block;
  font-size: 24px;
  font-weight: 900;
  color: var(--accent-lime);
}

.gs-faq-metric span {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* ===== FINAL CTA ===== */
.gs-final-cta {
  padding: var(--section-gap) 0;
  background: #fff;
}

.gs-final-cta-inner {
  background: #000;
  border-radius: 16px;
  padding: 60px 40px;
  display: grid;
  gap: 40px;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.gs-final-cta-inner::before {
  content: "";
  position: absolute;
  width: 500px; height: 500px;
  right: -100px; bottom: -100px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(123,93,255,0.2) 0%, transparent 70%);
  pointer-events: none;
}

@media (min-width: 1024px) {
  .gs-final-cta-inner {
    grid-template-columns: 1fr 1fr;
    padding: 80px 60px;
  }
}

.gs-final-cta-copy {
  position: relative;
  z-index: 1;
}

.gs-final-cta-copy h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  color: #fff;
  margin: 12px 0 16px;
  line-height: 1.15;
}

.gs-final-cta-copy p {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  margin: 0 0 32px;
}

.gs-final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.gs-final-cta-right {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.gs-cta-metric-box {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}

.gs-cta-metric-box strong {
  display: block;
  font-size: 30px;
  font-weight: 900;
  color: var(--accent-lime);
  line-height: 1;
  margin-bottom: 6px;
}

.gs-cta-metric-box span {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
  display: block;
}

/* Breadcrumb — defined globally in master.css as .breadcrumb */

/* ===== RESPONSIVE TWEAKS ===== */
@media (max-width: 639px) {

  /* Hero: prevent orbs from causing horizontal scroll */
  .gs-hero {
    overflow: hidden;
  }

  .gs-hero-orb-purple {
    left: -120px; /* push further off-screen so blur edge doesn't cause scroll */
  }

  /* Stats card: single column on very small screens */
  .gs-hero-stats {
    grid-template-columns: 1fr 1fr;
    padding: 24px 20px;
  }

  .gs-hero-stat strong {
    font-size: 26px;
  }

  /* Process step: stack vertically */
  .gs-process-step {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 20px;
  }

  /* Benefits grid: single column */
  .gs-benefits-grid {
    grid-template-columns: 1fr;
  }

  /* Final CTA inner: reduce padding on small phones */
  .gs-final-cta-inner {
    padding: 36px 20px;
    border-radius: 12px;
  }

  /* Final CTA metrics: 2-col still fine */
  .gs-final-cta-right {
    grid-template-columns: 1fr 1fr;
  }

  .gs-cta-metric-box {
    padding: 16px 12px;
  }

  .gs-cta-metric-box strong {
    font-size: 22px;
  }

  /* FAQ CTA: remove sticky on mobile */
  .gs-faq-cta {
    position: static;
    padding: 28px 24px;
  }

  /* Service cards: full padding */
  .gs-service-card {
    padding: 24px 20px;
  }
}
