.book-publishing-page {
  --bp-primary: #2d3171;
  --bp-dark: #292f36;
  --bp-muted: #64666d;
  --bp-light: #f7f7fb;
  --bp-border: #e3e4ee;
  color: var(--bp-dark);
  overflow: hidden;
}

.book-publishing-page h1,
.book-publishing-page h2,
.book-publishing-page h3,
.book-publishing-page p,
.book-publishing-page ul {
  margin-top: 0;
}

.book-publishing-page h2 {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.18;
}

.book-publishing-page p,
.book-publishing-page li {
  font-size: 16px;
  line-height: 1.65;
}

/* Minimal landing-page header */
.bp-landing-header {
  background: #2d3171;
  padding: 12px 0;
  position: relative;
  z-index: 999;
}

.bp-landing-header-inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.bp-landing-logo img {
  display: block;
  max-height: 82px;
  object-fit: contain;
  width: 150px;
}

.bp-landing-phone {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50px;
  color: #ffffff;
  display: inline-flex;
  font-size: 16px;
  font-weight: 600;
  gap: 9px;
  padding: 11px 22px;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.bp-landing-phone:hover {
  background: #ffffff;
  color: #2d3171;
}

.bp-section {
  padding: 80px 0;
}

.bp-section-heading {
  margin-bottom: 30px;
  max-width: 760px;
}

.bp-section-heading h2,
.bp-testimonials .center-heading h2,
.bp-faqs .center-heading h2 {
  color: var(--bp-dark);
  margin-bottom: 0;
}

.bp-kicker,
.bp-eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.3px;
  line-height: 1.4;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.bp-kicker {
  color: var(--bp-primary);
}

.bp-eyebrow {
  color: #ffffff;
}

/* Hero */
.book-publishing-page .bp-hero {
  min-height: auto;
  padding-bottom: 75px;
  padding-top: 75px;
}

.book-publishing-page .bp-hero::before {
  background: linear-gradient(90deg, rgba(35, 38, 91, 0.94) 0%, rgba(45, 49, 113, 0.9) 52%, rgba(45, 49, 113, 0.75) 100%);
}

.bp-hero-copy h1 {
  color: #ffffff;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 24px;
  max-width: 650px;
}

.bp-hero-list {
  color: #ffffff;
  list-style: none;
  margin-bottom: 30px;
  padding-left: 0;
}

.bp-hero-list li {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
}

.bp-hero-list li::before {
  align-items: center;
  background: #ffffff;
  border-radius: 50%;
  color: var(--bp-primary);
  content: "\2713";
  display: inline-flex;
  flex: 0 0 22px;
  font-size: 13px;
  font-weight: 800;
  height: 22px;
  justify-content: center;
  margin-top: 2px;
}

.bp-hero .btn-sec,
.bp-distribution-cta .btn-sec,
.bp-story-cta .btn-sec {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Lead form */
.bp-lead-form {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(13, 16, 55, 0.3);
  padding: 30px;
  position: relative;
}

.bp-lead-form h2 {
  color: var(--bp-dark);
  font-size: 27px;
  margin-bottom: 22px;
  text-align: center;
}

.bp-field {
  margin-bottom: 12px;
}

.bp-lead-form .form-control,
.bp-lead-form .form-select {
  background-color: #ffffff;
  border: 1px solid #cfd1dc !important;
  border-radius: 8px;
  color: var(--bp-dark) !important;
  font-size: 14px;
  min-height: 48px;
  padding: 11px 13px;
}

.bp-lead-form .form-control:focus,
.bp-lead-form .form-select:focus {
  border-color: var(--bp-primary) !important;
  box-shadow: 0 0 0 3px rgba(45, 49, 113, 0.12) !important;
}

.bp-services-fieldset {
  border: 0;
  margin: 18px 0;
  padding: 0;
}

.bp-services-fieldset legend {
  color: var(--bp-dark);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}

.bp-checkbox-grid {
  display: grid;
  gap: 9px 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bp-checkbox-grid label {
  align-items: center;
  color: #4d4f56;
  display: flex;
  font-size: 13px;
  gap: 8px;
  line-height: 1.35;
}

.bp-checkbox-grid input {
  accent-color: var(--bp-primary);
  flex: 0 0 auto;
  height: 16px;
  width: 16px;
}

.bp-captcha .site-captcha-box {
  max-width: none !important;
}

.bp-submit {
  border-radius: 8px;
  width: 100%;
}

/* Overview */
.bp-overview {
  background: #ffffff;
}

.bp-image-frame {
  border-radius: 18px;
  box-shadow: 18px 18px 0 rgba(45, 49, 113, 0.1);
  overflow: hidden;
}

.bp-image-frame img {
  aspect-ratio: 3 / 2;
  display: block;
  object-fit: cover;
  width: 100%;
}

.bp-benefit-list {
  display: grid;
  gap: 11px 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 24px 0;
  padding-left: 0;
}

.bp-benefit-list li {
  align-items: flex-start;
  display: flex;
  font-size: 14px;
  gap: 9px;
}

.bp-benefit-list li::before {
  color: var(--bp-primary);
  content: "\2713";
  flex: 0 0 auto;
  font-weight: 800;
}

/* CTAs */
.bp-distribution-cta,
.bp-story-cta {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #ffffff;
  padding: 70px 0;
  position: relative;
}

.bp-distribution-cta {
  background-image: linear-gradient(90deg, rgba(45, 49, 113, 0.98), rgba(45, 49, 113, 0.82)), url(../images/after-service-cta-bg.png);
}

.bp-story-cta {
  background-image: linear-gradient(90deg, rgba(31, 34, 77, 0.94), rgba(45, 49, 113, 0.84)), url(../images/banner-img.png);
}

.bp-cta-copy h2 {
  color: #ffffff;
  margin-bottom: 20px;
}

.bp-cta-copy p {
  color: #ffffff;
  margin-bottom: 28px;
}

.bp-cta-book {
  filter: drop-shadow(0 20px 20px rgba(0, 0, 0, 0.28));
  max-height: 330px;
  object-fit: contain;
}

.bp-story-cta img {
  filter: drop-shadow(0 22px 25px rgba(0, 0, 0, 0.32));
  max-height: 330px;
}

/* Process */
.bp-process {
  background: var(--bp-light);
}

.bp-process-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bp-process-card {
  background: #ffffff;
  border: 1px solid var(--bp-border);
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(28, 31, 64, 0.07);
  padding: 28px 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bp-process-card:hover {
  box-shadow: 0 18px 34px rgba(28, 31, 64, 0.14);
  transform: translateY(-6px);
}

.bp-process-card img {
  filter: brightness(0) saturate(100%) invert(19%) sepia(37%) saturate(1759%) hue-rotate(208deg) brightness(89%) contrast(94%);
  height: 58px;
  margin-bottom: 18px;
  object-fit: contain;
  width: 58px;
}

.bp-process-card > span {
  background: rgba(45, 49, 113, 0.1);
  border-radius: 30px;
  color: var(--bp-primary);
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
  padding: 6px 14px;
  width: max-content;
}

.bp-process-card h3 {
  color: var(--bp-dark);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 10px;
}

.bp-process-card p {
  color: var(--bp-muted);
  font-size: 14px;
  margin-bottom: 0;
}

/* Testimonials and FAQs */
.bp-testimonials {
  background: #ffffff;
  padding: 80px 0 100px;
}

.bp-testimonials .center-heading,
.bp-faqs .center-heading {
  margin: 0 auto 40px;
  max-width: 780px;
  text-align: center;
}

.bp-testimonials .testi-sec .testi-inner {
  border: 1px solid var(--bp-border);
  box-shadow: 0 10px 24px rgba(28, 31, 64, 0.06);
  min-height: 360px;
  width: auto;
}

.bp-testimonials .testi-inner > p {
  color: #555860;
  font-size: 14px;
}

.bp-testimonials .testi-inner img {
  border-radius: 50%;
  height: 58px;
  object-fit: cover;
  width: 58px;
}

.bp-faqs {
  padding-bottom: 70px;
  padding-top: 70px;
}

.bp-faqs .accordion-item {
  box-shadow: 0 8px 22px rgba(28, 31, 64, 0.05);
}

.bp-faqs .accordion-button {
  color: var(--bp-dark);
  font-weight: 600;
  padding: 20px 22px;
}

/* Landing footer */
.bp-best-seller {
  background-image: linear-gradient(90deg, rgba(24, 27, 67, 0.94), rgba(45, 49, 113, 0.78)), url(../../book-publishing/assets/images/footer-bg.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 55px 0;
  position: relative;
}

.bp-best-seller-copy {
  color: #ffffff;
}

.bp-best-seller-logo {
  display: inline-block;
  margin-bottom: 18px;
}

.bp-best-seller-logo img {
  display: block;
  max-height: 100px;
  object-fit: contain;
  width: 170px;
}

.bp-best-seller-copy > p {
  color: #ffffff;
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 18px;
  max-width: 470px;
}

.bp-trustindex-link {
  display: inline-block;
  margin-bottom: 20px;
}

.bp-trustindex-link img {
  display: block;
  height: auto;
  max-width: 215px;
  width: 100%;
}

.bp-best-seller-contact {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.bp-best-seller-contact li,
.bp-best-seller-contact a {
  align-items: center;
  color: #ffffff;
  display: flex;
  font-size: 15px;
  font-weight: 600;
  gap: 11px;
  text-decoration: none;
}

.bp-best-seller-contact li {
  margin-bottom: 15px;
}

.bp-best-seller-contact i {
  align-items: center;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  display: inline-flex;
  flex: 0 0 34px;
  height: 34px;
  justify-content: center;
}

.bp-best-seller-contact li > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bp-best-seller-contact a:hover {
  color: #dfe1ff;
}

.bp-best-seller-form {
  background: #ffffff;
  border: 2px solid #2d3171;
  border-radius: 16px;
  box-shadow: 0 24px 55px rgba(9, 12, 42, 0.35);
  padding: 32px;
}

.bp-best-seller-form h3 {
  color: #292f36;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 4px;
  text-align: center;
}

.bp-best-seller-form > p {
  color: #64666d;
  margin-bottom: 22px;
  text-align: center;
}

.bp-best-seller-form .form-control {
  background: #ffffff;
  border: 1px solid #cfd1dc;
  border-radius: 7px;
  color: #292f36 !important;
  font-size: 14px;
  min-height: 48px;
  padding: 11px 13px;
}

.bp-best-seller-form textarea.form-control {
  min-height: 110px;
}

.bp-best-seller-form .form-control:focus {
  border-color: #2d3171;
  box-shadow: 0 0 0 3px rgba(45, 49, 113, 0.12) !important;
}

.bp-best-seller-form .site-captcha-box {
  max-width: none !important;
}

.bp-best-seller-form > .btn {
  border-radius: 8px;
  width: 100%;
}

.bp-landing-copyright {
  background: #2d3171;
  color: #ffffff;
  padding: 17px 0;
  text-align: center;
}

.bp-landing-copyright p {
  color: #ffffff;
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

.bp-landing-copyright p + p {
  font-size: 11px;
  margin-top: 3px;
}

@media (max-width: 1199px) {
  .bp-lead-form {
    padding: 24px;
  }

  .bp-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .book-publishing-page .bp-hero {
    padding-bottom: 60px;
    padding-top: 60px;
  }

  .bp-hero-copy {
    text-align: center;
  }

  .bp-hero-list {
    display: inline-block;
    text-align: left;
  }

  .bp-hero .btn-sec,
  .bp-distribution-cta .btn-sec,
  .bp-story-cta .btn-sec {
    justify-content: center;
  }

  .bp-distribution-cta,
  .bp-story-cta {
    text-align: center;
  }

  .bp-best-seller-copy {
    text-align: center;
  }

  .bp-best-seller-copy > p {
    margin-left: auto;
    margin-right: auto;
  }

  .bp-best-seller-contact li,
  .bp-best-seller-contact a {
    justify-content: center;
  }

  .bp-distribution-cta .row,
  .bp-story-cta .row {
    flex-direction: column-reverse;
  }
}

@media (max-width: 767px) {
  .bp-section,
  .bp-testimonials,
  .bp-faqs {
    padding-bottom: 55px;
    padding-top: 55px;
  }

  .bp-benefit-list,
  .bp-process-grid {
    grid-template-columns: 1fr;
  }

  .bp-image-frame {
    box-shadow: 10px 10px 0 rgba(45, 49, 113, 0.1);
  }

  .bp-testimonials .testi-sec .testi-inner {
    min-height: 330px;
  }
}

@media (max-width: 575px) {
  .book-publishing-page .bp-hero {
    padding-top: 50px;
    text-align: left;
  }

  .bp-landing-header {
    padding: 9px 0;
  }

  .bp-landing-logo img {
    max-height: 68px;
    width: 118px;
  }

  .bp-landing-phone {
    font-size: 13px;
    padding: 9px 13px;
  }

  .bp-hero-copy {
    text-align: left;
  }

  .bp-hero-copy h1 {
    font-size: 35px;
  }

  .bp-hero-list {
    display: block;
  }

  .bp-hero .btn-sec {
    justify-content: flex-start;
  }

  .bp-hero .btn-sec .btn,
  .bp-distribution-cta .btn-sec .btn,
  .bp-story-cta .btn-sec .btn {
    text-align: center;
    width: 100%;
  }

  .bp-lead-form {
    border-radius: 12px;
    padding: 20px 16px;
  }

  .bp-lead-form h2 {
    font-size: 23px;
  }

  .bp-best-seller {
    padding: 55px 0;
  }

  .bp-best-seller-form {
    border-radius: 12px;
    padding: 22px 16px;
  }

  .bp-best-seller-form h3 {
    font-size: 24px;
  }

  .bp-checkbox-grid {
    grid-template-columns: 1fr;
  }

  .bp-process-card {
    padding: 24px 20px;
  }
}
