/* ==========================================================================
   Kindle Publisher Inc — Book Publishing page
   Page-specific stylesheet. Recreates the live /book-publishing/ layout on
   top of the shared design system in style.css.

   Everything is scoped to the .bp-* classes used by book-publishing.html,
   so nothing here can leak into the other pages.

   TABLE OF CONTENTS
   1.  Page tokens, headings, buttons
   2.  Landing-page header (this page only) + hero + hero lead form
   3.  Client logo strip
   4.  Testimonials stack slider
   5.  Packages
   6.  Journey (service) cards
   7.  Mid-page CTA band
   8.  Experience (sticky split)
   9.  Our work marquee
   10. Contact band + form
   11. Responsive
   ========================================================================== */


/* ==========================================================================
   1. PAGE TOKENS, HEADINGS, BUTTONS
   ========================================================================== */
.bp-page {
  --bp-display: "Outfit", "Inter", "Helvetica Neue", Arial, sans-serif;
  --bp-navy:    #092b37;
  --bp-line:    rgba(0, 0, 0, .30);
  --bp-radius:  20px;
}

.bp-page section { position: relative; }

/* Grid children must be allowed to shrink below their content's intrinsic
   width, otherwise a wide image widens the whole track. */
.bp-hero-inner > *,
.bp-cta-inner > *,
.bp-exp-inner > *,
.bp-contact-inner > * { min-width: 0; }

.bp-title {
  font-family: var(--bp-display);
  font-size: 50px;
  font-weight: 700;
  line-height: 1.14;
  color: inherit;
}
.bp-title .bp-accent { color: var(--primary-color); }

.bp-text {
  font-family: var(--bp-display);
  font-size: 18px;
  line-height: 1.6;
}

.bp-head {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}
.bp-head .bp-text { margin-top: 20px; }

/* Buttons — the live page uses larger, sentence-case pills rather than the
   small uppercase ones in the shared kit, so they get their own class. */
.bp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--bp-display);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  padding: 14px 30px;
  border: 1px solid transparent;
  border-radius: 10px;
  background-color: var(--primary-color);
  color: #fff;
  transition: background-color var(--transition), color var(--transition),
              border-color var(--transition);
}
.bp-btn:hover,
.bp-btn:focus { background-color: #fff; color: #000; }

.bp-btn--white { background-color: #fff; color: #000; }
.bp-btn--white:hover,
.bp-btn--white:focus {
  background-color: transparent;
  color: #fff;
  border-color: #fff;
}

.bp-btn--ghost {
  background-color: transparent;
  border-color: #fff;
  color: #fff;
  padding-inline: 34px;
}
.bp-btn--ghost:hover,
.bp-btn--ghost:focus { background-color: #fff; color: #000; }

.bp-btn--dark {
  background-color: #000;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 2px;
  padding: 12px 33px;
}
.bp-btn--dark:hover,
.bp-btn--dark:focus { background-color: #fff; color: #000; }

/* Live-chat pill keeps the soft pulse the reference uses */
.bp-btn--chat { box-shadow: 0 0 0 2px #fbb03b; }
@media (prefers-reduced-motion: no-preference) {
  .bp-btn--chat { animation: bp-pulse 2s cubic-bezier(.25, 0, 0, 1) infinite; }
}
@keyframes bp-pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale3d(1.05, 1.05, 1.05); }
  100% { box-shadow: 0 0 0 18px rgba(255, 255, 255, 0); }
}

.bp-btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
}


/* ==========================================================================
   2. LANDING-PAGE HEADER + HERO + HERO LEAD FORM

   This page carries the reference site's landing-page header — logo plus
   three call-to-action buttons, floated transparently over the hero — instead
   of the shared navigation bar used by the rest of the site.
   ========================================================================== */
.bp-header {
  position: absolute;
  left: 0;
  right: 0;
  top: 20px;
  z-index: 99;
}
.bp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
/* Dark hero behind it, so the mark is knocked out to white like the footer */
.bp-header-logo img {
  width: auto;
  height: 76px;
  filter: brightness(0) invert(1);
}
.bp-header-actions { flex: 0 0 auto; }

.bp-hero {
  padding: 170px 0 110px;
  color: #fff;
  background: #071b23 url("../images/bp/hero-bg.webp") no-repeat center / cover;
}

.bp-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.bp-hero-content { padding-right: 70px; }

.bp-hero-title {
  font-family: var(--bp-display);
  font-size: 60px;
  font-weight: 600;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
}
.bp-hero-title .bp-accent { color: var(--primary-color); }

.bp-hero-text {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 30px;
}

.bp-hero-content .bp-btn-row { margin-bottom: 30px; }
.bp-hero-content .bp-btn { padding-inline: 45px; }

.bp-hero-reviews { width: 100%; max-width: min(360px, 100%); }

/* Lead form card ---------------------------------------------------------- */
.bp-hero-form {
  margin-left: 90px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .30);
  color: #000;
}

.bp-form-head {
  background-color: var(--primary-color);
  text-align: center;
  padding: 12px 20px 20px;
}
.bp-form-head img {
  height: 100px;
  width: auto;
  margin-inline: auto;
}

.bp-form-mid {
  background-color: var(--bp-navy);
  color: #fff;
  text-align: center;
  padding: 18px 20px;
}
.bp-form-mid p {
  font-family: var(--bp-display);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
}
.bp-offer-badge {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: -4px;
}

.bp-form-body {
  background-color: #fff;
  padding: 20px;
}

/* Shared form skin — overrides the row layout the shared .lead-form uses */
.bp-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
}
.bp-form .bp-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
/* The form itself is a column, so field groups must not take a flex basis
   there — only inside .bp-form-row, which lays them out side by side. */
.bp-form .field-group {
  flex: 0 0 auto;
  min-width: 0;
  padding-inline: 0;
  margin-bottom: 0;
}
.bp-form .bp-form-row .field-group { flex: 1 1 180px; }
.bp-form .field-submit { flex: 0 0 auto; }

.bp-form .bp-label {
  display: block;
  font-family: var(--bp-display);
  font-size: 15px;
  font-weight: 400;
  color: #000;
  margin-bottom: 6px;
}

.bp-form input,
.bp-form select,
.bp-form textarea {
  height: 50px;
  padding: 0 14px;
  font-family: var(--bp-display);
  font-size: 15px;
  border: 1px solid var(--bp-line);
  border-radius: 10px;
}
.bp-form select { color: #848484; }
.bp-form textarea {
  height: 100px;
  padding: 12px 14px;
  resize: vertical;
}
.bp-form input:focus,
.bp-form select:focus,
.bp-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}
.bp-form .form-message { padding-inline: 0; }

.bp-submit {
  width: 100%;
  height: 50px;
  font-family: var(--bp-display);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background-color: var(--primary-color);
  border: 1px solid var(--primary-color);
  border-radius: 10px;
  transition: background-color var(--transition), color var(--transition);
}
.bp-submit:hover,
.bp-submit:focus { background-color: #fff; color: #000; border-color: #000; }


/* ==========================================================================
   3. CLIENT LOGO STRIP
   ========================================================================== */
.bp-logos {
  background-color: #fff;
  padding: 40px 0;
}
.bp-logos .marquee { --marquee-gap: 70px; }
.bp-logos .marquee-track img {
  width: auto;
  max-width: 120px;
  height: 50px;
  object-fit: contain;
}
.bp-logos .marquee-track img:hover { transform: none; }


/* ==========================================================================
   4. TESTIMONIALS STACK SLIDER
   ========================================================================== */
.bp-testimonials {
  padding: 120px 0;
  color: #fff;
  overflow: hidden;             /* the stack bleeds into both gutters */
  background: #111 url("../images/bp/testimonial-bg.png") no-repeat center / cover;
}
.bp-testimonials .bp-title,
.bp-testimonials .bp-text { color: #fff; }

/* The stack hangs 135px into the left gutter, as on the reference page, so
   the cards queued behind the front one peek out on the left. */
.bp-stack {
  position: relative;
  height: 650px;
  margin: 68px 0 0 -135px;
  perspective: 1000px;
}

/* Each card is only as tall as the portrait; the white panel is centred
   against it, so the photo stands proud above and below the copy. */
.bp-stack-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 85%;
  height: -moz-fit-content;
  height: fit-content;
  display: flex;
  align-items: center;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 1.2s ease;
}
.bp-stack-item[data-position="1"] { z-index: 10; transform: translateX(30%) scale(1); }
.bp-stack-item[data-position="2"] { z-index: 9;  transform: translateX(20%) scale(.95); }
.bp-stack-item[data-position="3"] { z-index: 8;  transform: translateX(10%) scale(.90); }
.bp-stack-item[data-position="4"] { z-index: 7;  transform: translateX(0)   scale(.85); }
.bp-stack-item:not([data-position="1"]) { cursor: pointer; }

.bp-stack-media { flex: 0 0 auto; }
.bp-stack-media img {
  width: 500px;
  height: 644px;
  object-fit: cover;
  object-position: right;
  border-left: 1px solid #fff;
}

.bp-stack-body {
  flex: 1 1 auto;
  align-self: center;
  padding: 40px;
  background-color: #fff;
  border-radius: 0 20px 20px 0;
  color: #000;
}
.bp-stack-body > p {
  font-family: var(--bp-display);
  font-size: 22px;
  line-height: 1.45;
  max-width: 490px;
  padding-right: 55px;
  margin: 15px 0 0;
}

.bp-stack-author {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 24px;
}
.bp-stack-author > div { align-self: center; }
.bp-stack-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}
.bp-stack-author h3 {
  font-family: var(--bp-display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}
.bp-stack-author p {
  font-size: 14px;
  color: #848484;
  margin: 0;
}

/* Round prev / next controls, sitting inside the white panel */
.bp-stack-nav {
  position: absolute;
  right: 24px;
  bottom: 195px;
  display: flex;
  gap: 8px;
  z-index: 11;
}
.bp-stack-nav button {
  width: 38px;
  height: 38px;
  padding: 0;
  font-family: var(--bp-display);
  font-size: 10px;
  line-height: 38px;
  text-align: center;
  color: #000;
  background-color: #e3e1e1;
  border: 0;
  border-radius: 50%;
  transition: background-color var(--transition), color var(--transition);
}
.bp-stack-nav button:hover,
.bp-stack-nav button:focus {
  background-color: var(--primary-color);
  color: #fff;
}


/* ==========================================================================
   5. PACKAGES
   ========================================================================== */
.bp-packages { padding: 110px 0; }

.bp-packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 30px;
  margin-top: 60px;
}

.bp-package {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 25px 40px;
  background-color: #fff;
  border: 1px solid #000;
  border-radius: var(--bp-radius);
  transition: background-color var(--transition), border-color var(--transition),
              color var(--transition);
}
.bp-package:hover {
  background-color: var(--primary-color);
  border-color: transparent;
  color: #fff;
}
.bp-package:hover h3,
.bp-package:hover .bp-price,
.bp-package:hover .bp-package-group { color: #fff; }

/* The two half-circle notches punched into the card edges */
.bp-package::before,
.bp-package::after {
  content: "";
  position: absolute;
  top: 80px;
  width: 40px;
  height: 40px;
  background-color: #fff;
  border: 1px solid #000;
  border-radius: 50%;
  z-index: 2;
  transition: border-color var(--transition);
}
.bp-package::before {
  left: -20px;
  clip-path: polygon(48% 0, 103% 0, 103% 103%, 48% 103%);
}
.bp-package::after {
  right: -20px;
  clip-path: polygon(0 0, 57% 0, 57% 100%, 0 100%);
}
.bp-package:hover::before,
.bp-package:hover::after { border-color: transparent; }

.bp-package h3 {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  margin: 0;
}
.bp-price {
  display: block;
  font-family: var(--bp-display);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}
.bp-package hr {
  width: 100%;
  height: 0;
  margin: 0 0 4px;
  border: 0;
  border-top: 1px solid currentColor;
  opacity: .5;
}
.bp-package > p {
  font-family: var(--bp-display);
  font-size: 15px;
  line-height: 1.5;
  text-transform: uppercase;
  margin: 26px 0 15px;
}

.bp-package-list {
  height: 220px;
  overflow-y: auto;
  margin-bottom: 25px;
  font-family: var(--bp-display);
  font-size: 15px;
  line-height: 1.45;
}
.bp-package-list li {
  position: relative;
  margin: 7px 0;
  padding-left: 24px;
}
.bp-package-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 14px;
  height: 14px;
  background: url("../images/bp/list-icon.png") no-repeat center / contain;
  transition: filter var(--transition);
}
.bp-package:hover .bp-package-list li::before { filter: brightness(0) invert(1); }

.bp-package-group {
  display: block;
  font-weight: 700;
  color: var(--primary-color);
  margin: 14px 0 6px;
}

/* Custom scrollbar for the feature lists */
.bp-package-list::-webkit-scrollbar { width: 5px; background-color: #ebe8e8; border-radius: 50px; }
.bp-package-list::-webkit-scrollbar-track { border-radius: 50px; }
.bp-package-list::-webkit-scrollbar-thumb { background-color: #000; border-radius: 50px; }

.bp-package .bp-btn--dark {
  align-self: center;
  margin-top: auto;
}

.bp-package-badge {
  position: absolute;
  top: 40px;
  right: -35px;
  width: 104px;
  z-index: 3;
}

/* Custom quote card */
.bp-package--quote {
  background-color: #000;
  color: #fff;
  justify-content: center;
  align-items: center;
  gap: 30px;
  border-color: #000;
}
.bp-package--quote:hover { background-color: #000; border-color: #000; }
.bp-package--quote h3 { color: #fff; }
.bp-package--quote:hover h3 { color: #fff; }
.bp-package--quote::before,
.bp-package--quote::after { display: none; }
.bp-quote-price {
  font-family: var(--bp-display);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: #fff;
  margin: 0;
}
.bp-quote-price .bp-accent {
  display: block;
  font-size: 60px;
  font-weight: 800;
  line-height: 1.15;
}
.bp-package--quote .bp-btn--dark {
  background-color: #fff;
  color: #000;
  margin-top: 0;
}
.bp-package--quote .bp-btn--dark:hover,
.bp-package--quote .bp-btn--dark:focus {
  background-color: var(--primary-color);
  color: #fff;
}


/* ==========================================================================
   6. JOURNEY (SERVICE) CARDS
   ========================================================================== */
.bp-journey {
  padding: 100px 0;
  background: var(--cream-bg) url("../images/bp/journey-bg.png") no-repeat center / cover;
}

.bp-journey-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.bp-card {
  position: relative;
  min-height: 274px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 25px;
  background-color: #fff;
  border-radius: var(--bp-radius);
  overflow: hidden;
}
.bp-card h3 {
  font-family: var(--bp-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 18px;
  padding-right: 70px;
}
.bp-card p {
  font-family: var(--bp-display);
  font-size: 14px;
  line-height: 1.55;
  max-width: 270px;
  margin: 0;
}
.bp-card-icon {
  position: absolute;
  top: 30px;
  right: 20px;
  width: auto;
  max-width: 60px;
}
.bp-card-num {
  position: absolute;
  right: 20px;
  bottom: -22px;
  font-family: var(--bp-display);
  font-size: 100px;
  font-weight: 900;
  line-height: 1;
  color: var(--primary-color);
  opacity: .1;
}


/* ==========================================================================
   7. MID-PAGE CTA BAND
   ========================================================================== */
.bp-cta {
  min-height: 700px;
  display: flex;
  align-items: center;
  color: #fff;
  background: #1b1b1b url("../images/bp/cta-bg.jpg") no-repeat center / cover;
}
.bp-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.bp-cta-content { grid-column: 2; }
.bp-cta-content .bp-title { color: #fff; }
.bp-cta-content .bp-text { margin: 25px 0 30px; }


/* ==========================================================================
   8. EXPERIENCE (STICKY SPLIT)
   ========================================================================== */
.bp-experience {
  padding: 110px 0;
  overflow: clip;           /* clip, not hidden — keeps the sticky column working */
}
.bp-exp-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 40px;
}
.bp-exp-media {
  position: sticky;
  top: 120px;
}
.bp-exp-media img { margin-top: 60px; }

.bp-exp-list { padding-left: 60px; }

.bp-exp-item {
  position: relative;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 28px;
  margin-bottom: 45px;
  background-color: #fff;
  border-radius: var(--bp-radius);
  box-shadow: 0 10px 20px rgba(0, 0, 0, .30);
}
.bp-exp-item:last-child { margin-bottom: 0; }
.bp-exp-item:nth-child(even) {
  margin-left: 90px;
  margin-right: -90px;
}
.bp-exp-item h3 {
  font-family: var(--bp-display);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--primary-color);
  margin-bottom: 10px;
  padding-right: 70px;
}
.bp-exp-item p {
  font-family: var(--bp-display);
  font-size: 14px;
  line-height: 1.6;
  max-width: 330px;
  margin: 0;
}
.bp-exp-item img {
  position: absolute;
  top: 30px;
  right: 24px;
  max-width: 55px;
}


/* ==========================================================================
   9. OUR WORK MARQUEE
   ========================================================================== */
.bp-work { padding: 90px 0 100px; }
.bp-work .bp-head { max-width: 800px; }
.bp-work .marquee { --marquee-gap: 30px; margin-top: 50px; }
.bp-work .marquee-track img {
  width: auto;
  height: 430px;
  border-radius: 10px;
}


/* ==========================================================================
   10. CONTACT BAND + FORM
   ========================================================================== */
.bp-contact {
  padding: 120px 0;
  color: #fff;
  background: #101820 url("../images/bp/contact-bg-img.jpg") no-repeat center / cover;
}
.bp-contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}
.bp-contact .bp-title { color: #fff; text-transform: capitalize; }
.bp-contact .bp-text { margin: 25px 0 30px; }

.bp-service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-left: 30px;
  margin-bottom: 40px;
  font-family: var(--bp-display);
  font-size: 16px;
}
.bp-service-list li {
  position: relative;
  width: 45%;
}
.bp-service-list li::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 4px;
  width: 18px;
  height: 18px;
  background: url("../images/bp/contact-check-icon.png") no-repeat center / contain;
}

/* Card sits inboard of the column so the spiral binding has room */
.bp-contact-card {
  position: relative;
  margin-left: 70px;
  padding: 30px 40px;
  background-color: #fff;
  border-radius: 10px;
  color: #000;
}
.bp-contact-card h2 {
  font-family: var(--bp-display);
  font-size: 36px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  margin-bottom: 20px;
}
.bp-contact-card h2 .bp-accent { color: var(--primary-color); }

/* Decorative notebook spiral, as on the reference page */
.bp-spiral {
  position: absolute;
  left: -55px;
  top: 30px;
  bottom: 30px;
  width: 50px;
  background: url("../images/bp/form-spring-img.png") no-repeat center / contain;
  pointer-events: none;
}


/* ==========================================================================
   11. RESPONSIVE
   ========================================================================== */
@media (max-width: 1399px) {
  .bp-title      { font-size: 42px; }
  .bp-text       { font-size: 17px; }
  .bp-hero       { padding: 150px 0 100px; }
  .bp-hero-title { font-size: 50px; }
  .bp-hero-form  { margin-left: 40px; }
  .bp-testimonials { padding: 90px 0; }
  .bp-stack      { height: 535px; margin-right: 90px; }
  .bp-stack-item { width: 80%; }
  .bp-stack-media img { width: 365px; height: 470px; }
  .bp-stack-body > p  { font-size: 20px; }
  .bp-stack-author h3 { font-size: 22px; }
  .bp-stack-nav  { bottom: 100px; }
  .bp-exp-list   { padding-left: 20px; }
  .bp-exp-item:nth-child(even) { margin-left: 40px; margin-right: -40px; }
  .bp-exp-item h3 { font-size: 26px; }
  .bp-card-num   { font-size: 76px; }
}

@media (max-width: 1200px) {
  .bp-title      { font-size: 37px; }
  .bp-text       { font-size: 16px; }
  .bp-hero-title { font-size: 42px; }
  .bp-hero-content { padding-right: 20px; }
  .bp-hero-form  { margin-left: 0; }
  .bp-btn        { font-size: 15px; padding: 12px 26px; }
  .bp-hero-content .bp-btn { padding-inline: 32px; }
  .bp-packages-grid,
  .bp-journey-grid { grid-template-columns: repeat(2, 1fr); }
  .bp-package    { padding: 22px 30px; }
  .bp-cta        { min-height: 525px; }
  .bp-testimonials { padding: 70px 0; }
  .bp-stack      { height: 500px; margin: 40px 90px 0 -90px; }
  .bp-stack-body { padding: 30px; }
  .bp-stack-body > p { font-size: 18px; padding-right: 20px; }
  .bp-stack-media img { width: 320px; height: 415px; }
  .bp-stack-author h3 { font-size: 20px; }
  .bp-stack-nav  { bottom: 60px; }
  .bp-exp-item   { min-height: 190px; }
  .bp-exp-item h3 { font-size: 22px; }
  .bp-contact-card { margin-left: 0; }
  .bp-contact-card .bp-spiral { display: none; }
  .bp-work .marquee-track img { height: 360px; }
}

@media (max-width: 1024px) {
  .bp-hero { padding: 140px 0 70px; }
  .bp-hero-inner,
  .bp-cta-inner,
  .bp-exp-inner,
  .bp-contact-inner { grid-template-columns: 1fr; }

  .bp-hero-inner { gap: 45px; }
  .bp-hero-content { padding-right: 0; max-width: 620px; }
  .bp-hero-form { max-width: 560px; }

  .bp-cta-content { grid-column: 1; }
  .bp-cta { min-height: 0; padding: 90px 0; }

  .bp-exp-media { position: static; text-align: center; }
  .bp-exp-media img { margin: 30px auto 0; max-width: min(460px, 100%); }
  .bp-exp-list { padding-left: 0; margin-top: 40px; }
  .bp-exp-item:nth-child(even) { margin-left: 0; margin-right: 0; }

  .bp-testimonials,
  .bp-packages,
  .bp-experience { padding: 80px 0; }
  .bp-journey { padding: 70px 0; }
  .bp-contact { padding: 90px 0; }

  .bp-stack { height: 430px; margin: 40px 60px 0 -60px; }
  .bp-stack-media img { width: 280px; height: 365px; }
  .bp-stack-body { padding: 25px; }
  .bp-stack-body > p { font-size: 16px; padding-right: 0; }
  .bp-stack-author h3 { font-size: 18px; }
  .bp-stack-nav { bottom: 40px; }
}

@media (max-width: 767px) {
  .bp-title      { font-size: 32px; }
  .bp-hero-title { font-size: 36px; }
  .bp-text       { font-size: 15px; }

  .bp-header-logo img { height: 64px; }
  .bp-header-actions .bp-btn { padding: 10px 16px; font-size: 12px; }

  .bp-hero-content { text-align: center; margin-inline: auto; }
  .bp-hero-content .bp-btn-row { justify-content: center; }
  .bp-hero-reviews { margin-inline: auto; }

  .bp-packages-grid,
  .bp-journey-grid { grid-template-columns: 1fr; }
  .bp-package-badge { right: -8px; width: 80px; }

  /* The 3D stack collapses into plain stacked cards */
  .bp-stack { position: static; height: auto; margin: 40px 0 0; }
  .bp-stack-item {
    position: relative;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 20px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .20);
  }
  .bp-stack-item:last-child { margin-bottom: 0; }
  .bp-stack-item[data-position] { transform: none; opacity: 1; }
  .bp-stack-item:not([data-position="1"]) { cursor: default; }
  .bp-stack-media { flex: 0 0 auto; }
  .bp-stack-media img {
    width: 100%;
    height: 260px;
    object-position: center;
    border-left: 0;
  }
  .bp-stack-body {
    align-self: stretch;
    padding: 22px;
    border-radius: 0 0 10px 10px;
  }
  .bp-stack-body > p { font-size: 15px; max-width: none; padding-right: 0; margin-top: 0; }
  .bp-stack-author h3 { font-size: 18px; }
  .bp-stack-nav { display: none; }

  .bp-service-list { padding-left: 26px; }
  .bp-service-list li { width: 46%; font-size: 14px; }
  .bp-contact-card { padding: 26px 22px; }
  .bp-contact-card h2 { font-size: 26px; }
  .bp-form .bp-form-row { gap: 12px; }
  .bp-form .bp-form-row .field-group { flex: 1 1 100%; }

  .bp-work .marquee-track img { height: 300px; }
  .bp-work { padding: 70px 0 80px; }
}

@media (max-width: 575px) {
  .bp-title      { font-size: 26px; }
  .bp-hero-title { font-size: 30px; }
  .bp-hero { padding: 120px 0 60px; }
  .bp-btn  { font-size: 13px; padding: 11px 22px; }

  /* Reference page drops the header buttons and centres the logo */
  .bp-header-inner   { justify-content: center; }
  .bp-header-actions { display: none; }
  .bp-header-logo img { height: 56px; }
  .bp-hero-content .bp-btn { padding-inline: 24px; }
  .bp-form-mid p { font-size: 17px; }
  .bp-offer-badge { font-size: 24px; }
  .bp-package { padding: 20px 26px; }
  .bp-package h3 { font-size: 18px; }
  .bp-price { font-size: 26px; }
  .bp-package-list { font-size: 13px; }
  .bp-card { min-height: 210px; }
  .bp-card h3 { font-size: 18px; }
  .bp-card-num { font-size: 70px; }
  .bp-exp-item h3 { font-size: 20px; }
  .bp-service-list li { width: 100%; font-size: 13px; }
  .bp-work .marquee-track img { height: 240px; }
}
