/* =========================================
   SERVICE PAGES + TESTIMONIALS PAGE
   Extra pieces on top of theme.css / buttons.css
========================================= */

/* ---------- Breadcrumb ---------- */
.page-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  color: #5f6972;
  font-size: 13px;
  font-weight: 500;
}

.page-crumbs li + li::before {
  content: "/";
  margin-right: 6px;
  color: #9aa49d;
}

.page-crumbs a { color: #35570a; }
.page-crumbs a:hover { color: #202a32; }

/* ---------- Section heading block ---------- */
.sec-head {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}

.sec-head p {
  margin: 10px 0 0;
  font-size: 17px;
}

/* ---------- "What's included" cards: number badge instead of a link ---------- */
.inc-card .svc-icon { margin-bottom: 16px; }
.inc-card p { margin-bottom: 0; }

/* ---------- Genres ---------- */
.genre-sec {
  position: relative;
  padding: 72px 0;
  background:
    radial-gradient(circle at 8% 12%, rgba(126, 174, 19, .40), transparent 34%),
    radial-gradient(circle at 95% 90%, rgba(185, 224, 78, .20), transparent 32%),
    radial-gradient(rgba(255, 255, 255, .06) 1.5px, transparent 1.5px) 0 0 / 24px 24px,
    linear-gradient(135deg, #2f4436 0%, #223128 50%, #17221c 100%);
}

.genre-sec .sec-head h2 { color: #fff; }
.genre-sec .sec-head p { color: #dfe6e1; }

.sec-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #b9e04e;
  color: #1d2b24;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.genre-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.genre-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 132px;
  padding: 20px 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  background: rgba(255, 255, 255, .07);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.genre-list li:hover {
  transform: translateY(-6px);
  border-color: #b9e04e;
  background: rgba(126, 174, 19, .22);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .30);
}

.genre-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #7EAE13;
  color: #fff;
  box-shadow: 0 8px 18px rgba(126, 174, 19, .40);
}

.genre-icon svg { width: 26px; height: 26px; }

@media (max-width: 991px) {
  .genre-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 575px) {
  .genre-sec { padding: 52px 0; }
  .genre-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .genre-list li { min-height: 116px; font-size: 14px; }
}
/* ---------- Featured review ---------- */
.svc-quote-sec {
  padding: 64px 0;
  background: radial-gradient(circle at 85% 15%, rgba(183, 215, 220, .24), transparent 32%), linear-gradient(180deg, #f1f7f8 0%, #f7faf9 100%);
}

.svc-quote {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 44px 34px;
  border: 1px solid #dce5e3;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(27, 36, 48, .07);
  text-align: center;
}

.svc-quote::before {
  content: "\201C";
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #7EAE13;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 44px;
  line-height: 62px;
}

.svc-quote blockquote {
  margin: 0 0 20px;
  color: #3d4651;
  font-family: 'Lora', serif;
  font-size: 19px;
  line-height: 1.7;
}

.svc-quote .review-user { justify-content: center; text-align: left; }
.svc-quote .review-user img { margin-left: 14px; }

.svc-quote-more {
  margin-top: 22px;
  text-align: center;
}

.svc-quote-more a {
  color: #35570a;
  font-weight: 700;
}

/* ---------- Testimonials page: show every review, no "Read more" ---------- */
.page-hero {
  padding-bottom: 56px !important;
  text-align: center;
}

.page-hero .hero-banner-content p { margin-left: auto; margin-right: auto; }
.page-hero .page-crumbs { justify-content: center; }
.page-hero .d-flex { justify-content: center; }

.testimonials-page .review-grid {
  max-height: none;
  overflow: visible;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .genre-sec, .svc-quote-sec { padding: 48px 0; }
}

@media (max-width: 575px) {
  .svc-quote { padding: 36px 20px 26px; }
  .svc-quote blockquote { font-size: 17px; }
  .svc-quote .review-user { flex-wrap: wrap; }
}

/* ---------- Service photo (intro section) ---------- */
.svc-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 18px;
  border: 6px solid #fff;
  box-shadow: 0 22px 50px rgba(27, 36, 48, .16);
}

@media (min-width: 992px) {
  .st-books .book-picture img.svc-photo { max-height: none; }
}

/* =========================================
   SERVICE CTA BAND ("Ready to Start Your Book?")
========================================= */
.svc-cta {
  padding: 72px 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(126, 174, 19, .22), transparent 36%),
    linear-gradient(180deg, #f3f8e6 0%, #eef5da 100%);
}

.svc-cta-card {
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  align-items: center;
  gap: 56px;
  padding: 36px 56px 36px 36px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(185, 224, 78, .28), transparent 40%),
    linear-gradient(135deg, #2f4436 0%, #223128 55%, #17221c 100%);
  box-shadow: 0 30px 70px rgba(27, 36, 48, .25);
}

.svc-cta-media {
  position: relative;
}

.svc-cta-img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 18px;
  transform: rotate(-2deg);
  box-shadow: 0 22px 44px rgba(0, 0, 0, .40);
}

.svc-cta-chip {
  position: absolute;
  right: -28px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .25);
  color: #5f6972;
  font-size: 13px;
  line-height: 1.3;
}

.svc-cta-chip strong {
  display: block;
  color: #202a32;
  font-size: 17px;
}

.svc-cta-chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #7EAE13;
  color: #fff;
}

.svc-cta-chip-icon svg { width: 22px; height: 22px; }

.svc-cta-body h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
  line-height: 1.15;
}

.svc-cta-body h2 span { color: #b9e04e; }

.svc-cta-body > p {
  margin: 0 0 22px;
  color: #dfe6e1;
  font-size: 17px;
}

.svc-cta .cta-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #b9e04e;
  color: #1d2b24;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.svc-cta-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.svc-cta-points li {
  position: relative;
  padding: 12px 12px 12px 40px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  background: rgba(255, 255, 255, .07);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.svc-cta-points li::before {
  content: "\2713";
  position: absolute;
  left: 12px;
  top: 12px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #7EAE13;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}

.svc-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
}

.svc-cta-actions .btn-orange {
  padding: 17px 30px;
  font-size: 16px;
  box-shadow: 0 10px 26px rgba(126, 174, 19, .45);
}

.svc-cta-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff !important;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.svc-cta-call small {
  display: block;
  color: #b9c4bd;
  font-size: 12px;
  font-weight: 500;
}

.svc-cta-call-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid #b9e04e;
  border-radius: 50%;
  color: #b9e04e;
}

.svc-cta-call-icon svg { width: 20px; height: 20px; }

.svc-cta-call:hover .svc-cta-call-icon { background: #b9e04e; color: #1d2b24; }

.svc-cta-chat {
  color: #dfe6e1 !important;
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline !important;
  text-underline-offset: 4px;
}

.svc-cta-chat:hover { color: #b9e04e !important; }

@media (max-width: 991px) {
  .svc-cta { padding: 52px 0; }
  .svc-cta-card { grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 28px 24px 32px; text-align: center; }
  .svc-cta-media { max-width: 360px; margin: 0 auto; }
  .svc-cta-img { height: 340px; }
  .svc-cta-chip { right: -8px; }
  .svc-cta-points { grid-template-columns: minmax(0, 1fr); max-width: 360px; margin-left: auto; margin-right: auto; text-align: left; }
  .svc-cta-actions { justify-content: center; }
}

@media (max-width: 575px) {
  .svc-cta-img { height: 280px; }
  .svc-cta-chip { right: 8px; bottom: -14px; }
  .svc-cta-actions .btn-orange { width: 100%; text-align: center; }
}

/* CTA band: shorter, points on one line (desktop) */
@media (min-width: 992px) {
  .svc-cta { padding: 44px 0; }
  .svc-cta-card { grid-template-columns: 320px minmax(0, 1fr); gap: 44px; padding: 26px 40px 26px 26px; }
  .svc-cta-img { height: 300px; }
  .svc-cta-chip { bottom: 18px; padding: 9px 14px 9px 9px; }
  .svc-cta-chip-icon { width: 36px; height: 36px; }
  .svc-cta-chip strong { font-size: 15px; }
  .svc-cta .cta-badge { margin-bottom: 10px; }
  .svc-cta-body h2 { margin-bottom: 8px; font-size: clamp(26px, 2.5vw, 34px); }
  .svc-cta-body > p { margin-bottom: 16px; font-size: 16px; }

  .svc-cta-points { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
  .svc-cta-points li { padding: 8px 12px 8px 34px; font-size: 13.5px; white-space: nowrap; }
  .svc-cta-points li::before { left: 10px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; line-height: 18px; font-size: 10px; }

  .svc-cta-actions .btn-orange { padding: 15px 26px; }
}
@media (min-width: 992px) {
  .svc-cta-card { grid-template-columns: 290px minmax(0, 1fr); gap: 36px; padding-right: 32px; }
  .svc-cta-img { height: 280px; }
  .svc-cta-points { flex-wrap: nowrap; gap: 6px; }
  .svc-cta-points li { padding: 7px 10px 7px 30px; font-size: 13px; }
  .svc-cta-points li::before { left: 8px; }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .svc-cta-points { flex-wrap: wrap; }
}

/* =========================================
   GHOSTWRITING REVIEWS (masonry cards + Read more)
========================================= */
.gw-reviews-sec {
  padding: 64px 0;
  background: linear-gradient(180deg, #f1f8e3 0%, #f8fbf1 100%);
}

.gw-reviews-wrap { position: relative; }

.gw-reviews {
  column-count: 3;
  column-gap: 18px;
  max-height: 560px;
  overflow: hidden;
  transition: max-height .5s ease;
}

.gw-reviews-wrap.open .gw-reviews { max-height: 9999px; }

.gw-review {
  display: inline-block;
  width: 100%;
  margin: 0 0 18px;
  padding: 20px 20px 16px;
  border: 1px solid #a9cc4f;
  border-radius: 8px;
  background: #fff;
  break-inside: avoid;
  box-shadow: 0 4px 14px rgba(27, 36, 48, .04);
}

.gw-review p {
  margin: 0 0 18px;
  color: #2f3a45;
  font-family: 'Lora', serif;
  font-size: 15.5px;
  line-height: 1.7;
}

.gw-review-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gw-avatar {
  display: inline-flex;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.gw-name {
  color: #202a32;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.gw-name small {
  display: block;
  color: #7a8489;
  font-size: 12px;
  font-weight: 400;
}

.gw-stars {
  margin-left: auto;
  color: #f0a500;
  font-size: 16px;
  letter-spacing: 2px;
  white-space: nowrap;
}

.gw-reviews-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 200px;
  background: linear-gradient(180deg, rgba(248, 251, 241, 0) 0%, #f8fbf1 88%);
  pointer-events: none;
}

.gw-reviews-wrap.open .gw-reviews-fade { display: none; }

.gw-reviews-more {
  position: relative;
  z-index: 2;
  margin-top: -30px;
  text-align: center;
}

.gw-reviews-more button {
  padding: 11px 22px;
  border: 0;
  border-radius: 999px;
  background: #202a32;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.gw-reviews-more button:hover { background: #35570a; }

@media (max-width: 991px) {
  .gw-reviews { column-count: 2; }
}

@media (max-width: 575px) {
  .gw-reviews-sec { padding: 48px 0; }
  .gw-reviews { column-count: 1; max-height: 620px; }
}

/* Clip on the wrapper (not the columns) so the 3 columns stay balanced */
.gw-reviews { max-height: none !important; overflow: visible; }
.gw-reviews-wrap { max-height: 560px; overflow: hidden; transition: max-height .5s ease; }
.gw-reviews-wrap.open { max-height: 9999px; }
@media (max-width: 575px) { .gw-reviews-wrap { max-height: 620px; } }

/* =========================================
   PROCESS STEPS (service pages): less white space
========================================= */
.st-publishbook { padding: 52px 0 40px !important; }
.st-publishbook .sec-head { margin-bottom: 18px; }
.st-publishbook .row > [class*="col-"] { padding-top: 8px !important; padding-bottom: 8px !important; }
.st-publishbook .publish-service { padding: 20px 18px 20px; }
.st-publishbook .publish-service img { max-height: 76px; padding-top: 0 !important; padding-bottom: 6px !important; }
.st-publishbook .publish-service h3 { margin: 6px 0 8px; font-size: 17px; }
.st-publishbook .publish-service p { margin-bottom: 0; font-size: 14.5px; line-height: 1.6; }

@media (max-width: 767px) {
  .st-publishbook { padding: 40px 0 28px !important; }
}
