/* Site-wide Poppins font */
:root {
  --font-poppins: "Poppins", sans-serif;
}

html,
body,
.__variable_cc80f9 {
  font-family: "Poppins", sans-serif !important;
}

body,
p,
h1, h2, h3, h4, h5, h6,
a, span, li, label, button, input, textarea, select,
td, th, div, section, nav, footer, header, form,
.font-poppins,
[style*="Merriweather"],
[style*="merriweather"] {
  font-family: "Poppins", sans-serif !important;
}

/* Override legacy non-Poppins font rules from main CSS */
.font-merriweather,
[class*="Merriweather"],
.brand-testimonials-card p,
.brand-testimonials-card .testimonial-body,
.home-testimonials .testimonial-body,
.home-video-testimonials .video-testimonial-meta {
  font-family: "Poppins", sans-serif !important;
}

/* Do not force Poppins onto icon / SVG elements */
i[class*="fa-"],
i[class*="fa-"]:before,
.svg-inline--fa {
  font-family: "Font Awesome 5 Free", "Font Awesome 5 Brands", FontAwesome !important;
}

/* Transparent at top; sticky solid bar on scroll (PHP pages) */
#site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999999;
  background: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#site-header .nav-top-bar,
#site-header #navbar {
  background: transparent;
}

#site-header #navbar,
#site-header #navbar.fixed-top {
  position: static !important;
  top: auto !important;
  width: auto !important;
}

#site-header #navbar.fixed-top {
  background: transparent !important;
}

#site-header.site-header--scrolled #navbar.fixed-top {
  background-color: #0d0f38 !important;
}

#site-header.site-header--scrolled {
  position: fixed;
  background-color: #0d0f38;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

#site-header.site-header--scrolled .nav-top-bar {
  display: none;
}

#site-header.site-header--scrolled #navbar {
  background-color: #0d0f38;
  padding: 10px 10px !important;
}

#site-header.site-header--scrolled .nav-logo {
  width: 200px;
}

#site-header.site-header--scrolled .brand-nav-btn {
  background: #fff !important;
  color: #000 !important;
}

/* ── Mobile header layout ─────────────────────────────────────── */
@media (max-width: 767px) {
  #site-header {
    display: flex;
    flex-direction: column;
  }

  #site-header .nav-top-bar {
    position: relative !important;
    width: 100%;
    margin-top: 0;
    padding: 0.4rem 0 0.35rem;
    z-index: 2;
  }

  #site-header .nav-top-bar-inner {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
  }

  #site-header .nav-top-bar-link {
    font-size: 0.65rem;
    line-height: 1.2;
    white-space: nowrap;
    flex: 0 1 auto;
  }

  #site-header #navbar {
    position: relative !important;
    top: auto !important;
    width: 100% !important;
    padding: 0.35rem 0.75rem 0.5rem !important;
  }

  #site-header #navbar > .max-w-screen-xl {
    position: relative;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
  }

  #site-header .nav-logo-wrap {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 3rem);
  }

  #site-header .nav-logo {
    width: 130px !important;
    max-width: 100%;
    height: auto;
  }

  #site-header.site-header--scrolled .nav-logo {
    width: 115px !important;
  }

  /* Mobile sidebar drawer */
  body.nav-sidebar-open {
    overflow: hidden;
  }

  .nav-mobile-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000001;
  }

  .nav-mobile-backdrop.is-open {
    display: block;
  }

  #site-header .nav-mobile-menu {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    bottom: 0;
    width: min(82vw, 320px);
    max-width: 320px;
    height: 100dvh;
    margin: 0;
    padding: 3.5rem 1.75rem 2rem;
    background: #0d0f38 !important;
    box-shadow: 8px 0 32px rgba(0, 0, 0, 0.35);
    z-index: 1000002;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    transform: translateX(-105%);
    transition: transform 0.28s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  #site-header .nav-mobile-menu.hidden {
    display: flex !important;
    pointer-events: none;
  }

  #site-header .nav-mobile-menu.is-open {
    transform: translateX(0);
    pointer-events: auto;
  }

  #site-header .nav-mobile-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    cursor: pointer;
  }

  #site-header .nav-mobile-list {
    width: 100%;
    padding: 0 !important;
    margin: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  #site-header .nav-mobile-list > li {
    width: 100%;
    margin: 0 0 1.15rem !important;
    text-align: left;
  }

  #site-header .nav-mobile-list > li > a,
  #site-header .nav-mobile-list .nav-services-item > div > a {
    display: inline-block;
    font-family: Poppins, sans-serif;
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.4;
    color: #fff !important;
    text-align: left;
  }

  #site-header .nav-mobile-list .nav-services-item > div {
    justify-content: flex-start !important;
    gap: 0.5rem;
  }

  #site-header .nav-mobile-list .nav-services-toggle {
    filter: brightness(0) invert(1);
  }

  #site-header .nav-mobile-cta {
    margin-top: 0.75rem !important;
  }

  #site-header .nav-mobile-cta .brand-nav-btn {
    display: inline-block;
    padding: 0.85rem 1.75rem !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, #137c6d, #309687) !important;
    color: #fff !important;
    font-size: 0.95rem !important;
    font-weight: 600;
    text-transform: none;
  }
}

@media (min-width: 768px) {
  .nav-mobile-backdrop,
  .nav-mobile-close {
    display: none !important;
  }

  #site-header .nav-mobile-menu {
    position: relative !important;
    transform: none !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    padding: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    background: transparent !important;
  }

  #site-header .nav-mobile-menu.hidden {
    display: block !important;
    pointer-events: auto;
  }
}

/* Top-bar email — desktop only (alongside Sales / Support) */
@media (max-width: 767px) {
  #site-header .nav-top-bar-email {
    display: none !important;
  }
}

@media (min-width: 768px) {
  #site-header .nav-top-bar-inner {
    gap: 2rem !important;
  }

  #site-header .nav-top-bar-link {
    margin: 0;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }

  #site-header .nav-top-bar-email {
    display: flex !important;
  }
}

/* Services mega-menu (navbar) */
#nav-services-dropdown.nav-services-megamenu {
  position: fixed;
  left: 40rem;
  right: 0;
  width: 55%;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border-radius: 20px;
  z-index: 100000000 !important;
}

#nav-services-dropdown[hidden] {
  display: none !important;
}

#nav-services-dropdown.is-open {
  display: block !important;
}

.nav-services-megamenu-inner {
  align-items: stretch;
}

.nav-services-megamenu .nav-services-list {
  flex: 1 1;
  max-width: 45%;
  list-style: none;
  margin: 0;
}

@media (min-width: 768px) {
  .nav-services-megamenu .brand-custom-dropdown-menu ul,
  .nav-services-megamenu .nav-services-list {
    height: 473px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }
}

.nav-services-aside {
  flex: 1 1;
  max-width: 55%;
  border-left: 1px solid #cdcbcb;
}

.nav-services-list-item {
  border-bottom: 1px solid #cdcbcb;
  transition: background 0.15s ease;
}

.nav-services-list-item:hover {
  background: #f4faf9;
}

.nav-services-list-item:hover .nav-service-title {
  color: #137c6d;
}

.nav-service-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  object-fit: contain;
}

.nav-service-title {
  font-weight: 700;
  color: #000;
  font-size: 1rem;
  line-height: 1.3;
  margin: 0;
  padding: 0;
  background: transparent;
}

.nav-service-desc {
  font-size: 12px !important;
  font-weight: 300;
  color: #333;
  margin: 0.35rem 0 0;
  line-height: 1.4;
}

.nav-services-aside-heading {
  font-weight: 700;
  text-transform: uppercase;
  color: #000;
  font-size: 1rem;
  border-bottom: 1px solid rgba(85, 85, 85, 0.33);
  padding-bottom: 0.35rem;
}

.nav-services-cta-text {
  font-size: 12px !important;
  font-weight: 300;
  color: #333;
  line-height: 1.5;
}

/* Mega-menu experts — 4 on first row, 3 centered on second */
.nav-experts-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  row-gap: 1.25rem;
}

.nav-experts-grid .nav-expert-item {
  flex: 0 0 25%;
  width: 25%;
  max-width: 25%;
  box-sizing: border-box;
  padding: 0 0.35rem;
}

.nav-expert-photo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-expert-photo img,
.nav-expert-photo-placeholder {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 2.5px solid #137c6d;
  box-shadow: 0 0 0 3px rgba(19, 124, 109, 0.15);
  overflow: hidden;
}

.nav-expert-photo-placeholder {
  display: block;
  background: linear-gradient(135deg, #c8e6e2 0%, #e0f0ee 100%);
}

.nav-services-schedule-btn {
  display: inline-block;
  text-decoration: none;
}

.service-dropdown-chevron {
  width: 15px;
  height: 8px;
  display: block;
  filter: invert(1);
  transition: transform 0.2s ease;
}

.service-dropdown-chevron.is-open {
  transform: rotate(180deg);
}

.nav-services-toggle {
  line-height: 0;
}

@media (max-width: 767px) {
  /* Desktop mega-menu stays off while sidebar is used */
  #nav-services-dropdown.nav-services-megamenu {
    display: none !important;
  }

  .nav-services-aside {
    display: none !important;
  }

  /* Inline services accordion inside sidebar */
  #site-header .nav-mobile-services-list {
    display: none;
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0 0 0 0.5rem;
    width: 100%;
  }

  #site-header .nav-services-item.is-expanded .nav-mobile-services-list {
    display: block;
  }

  #site-header .nav-mobile-services-list li {
    margin: 0 0 0.65rem;
  }

  #site-header .nav-mobile-services-list a {
    font-size: 0.95rem !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.85) !important;
  }

  #site-header .nav-services-item.is-expanded .service-dropdown-chevron {
    transform: rotate(180deg);
  }
}

/* Hero — Our Credibility logos (4 equal columns, one row) */
.brand-hero-section .credibility-logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 520px;
}

.brand-hero-section .credibility-logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.brand-hero-section .credibility-logos img {
  display: block;
  width: 100%;
  max-width: 120px;
  height: 2.5rem;
  object-fit: contain;
  object-position: center;
}

@media (min-width: 768px) {
  .brand-hero-section .credibility-logos {
    gap: 1.25rem;
    max-width: 560px;
  }

  .brand-hero-section .credibility-logos img {
    height: 3rem;
    max-width: 130px;
  }
}

/* Published Books carousel (home) */
.home-book-cover .books-swiper {
  width: 100%;
  overflow: hidden;
}

.home-book-cover .books-swiper .swiper-slide {
  height: auto;
}

.home-book-cover .books img,
.home-book-cover .books-cover-img {
  display: block;
  width: 100%;
  max-width: 220px;
  max-height: 300px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.home-book-cover .books-swiper-prev,
.home-book-cover .books-swiper-next {
  z-index: 2;
}

/* Sell Your Book With — retailer logo slider */
.brnd-slider .book-sell-text h3,
.brnd-slider .book-sell-text span {
  color: #000;
}

.sell-book-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 110px;
  padding: 1.25rem 1rem 1.25rem 11rem;
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.brnd-slider .book-sell-text {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  margin-top: 0;
  z-index: 2;
  flex-shrink: 0;
}

.sell-book-slider-track {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 0.5rem 0;
}

.sell-book-swiper {
  width: 100%;
  overflow: hidden;
}

.sell-book-swiper .swiper-wrapper {
  align-items: center;
}

.sell-book-swiper .swiper-slide {
  width: auto;
  flex-shrink: 0;
  height: auto;
}

.sell-book-slide-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.25rem;
}

.sell-book-logo {
  display: block;
  height: 40px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

/* Horizontal row before Swiper initializes */
.sell-book-swiper:not(.swiper-initialized) .swiper-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
  overflow-x: auto;
}

.sell-book-swiper:not(.swiper-initialized) .swiper-slide {
  width: auto;
  flex: 0 0 auto;
}

@media (min-width: 768px) {
  .sell-book-logo {
    height: 48px;
  }
}

@media (max-width: 767px) {
  .sell-book-slider-wrap {
    padding: 1rem 0.75rem;
    min-height: 88px;
  }

  .brnd-slider .book-sell-text {
    display: none;
  }

  .sell-book-swiper:not(.swiper-initialized) .swiper-wrapper {
    justify-content: center;
  }
}

/* Our Publishing Services — photo tiles (home) */
.brand-service-section .brand-service-card-img {
  flex: 1 1 50%;
  min-width: 0;
}

.brand-service-section .service-card-img {
  min-height: 300px;
  height: 300px;
  width: 100%;
  max-width: 300px;
}

.brand-service-section .brand-service-photo,
.brand-service-section .brand-service-card .brand-service-card-img img.brand-service-photo {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 300px;
  object-fit: cover;
  object-position: center;
}

.brand-service-section .services-swiper {
  width: 100%;
  overflow: hidden;
}

.brand-service-section .services-swiper .swiper-slide {
  height: auto;
}

.brand-service-section .brand-service-card-content .icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

/* How We Work / Our Process (home) — matches 700×200 diagram + live site offsets */
.brand-process-steps--desktop {
  display: none;
}

.brand-process-steps--mobile {
  display: block;
}

@media (min-width: 768px) {
  .brand-process-steps--desktop {
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
  }

  .brand-process-steps--mobile {
    display: none;
  }
}

.brand-process .brand-process-step {
  position: relative;
  width: 55%;
  margin-bottom: 0;
  justify-content: space-between;
  flex-wrap: nowrap;
  flex-direction: column-reverse;
}

.brand-process-steps--mobile .brand-process-step {
  width: 100%;
  margin-bottom: 1.25rem;
}

.brand-process .brand-process-step-img {
  width: 100%;
  height: auto;
  display: block;
  padding-bottom: 0.5rem;
}

/* Stacked process copy — mobile only (home + service pages) */
.brand-process-mobile-copy {
  display: none;
  text-align: left;
  padding: 0 0.25rem 1rem;
}

.brand-process-mobile-copy h2 {
  font-size: 1.125rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  margin: 0 0 0.35rem !important;
  color: #000;
}

.brand-process-mobile-copy p {
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  color: #333;
}

@media (max-width: 767px) {
  .brand-process-mobile-copy {
    display: block;
  }

  .brand-process--publishing-page .brand-process-content,
  .brand-process--publishing-page .brand-process-content-right {
    display: none !important;
  }

  .brand-process--publishing-page .brand-process-publishing-img {
    padding-bottom: 0.5rem !important;
  }

  .brand-process--publishing-page .brand-process-publishing-step {
    margin-bottom: 1rem;
  }
}

/* 700×200 art → % (165/700, 163/700, 29/200) so text scales with diagram width */
.brand-process .brand-process-content,
.brand-process .brand-process-content-right {
  position: absolute !important;
  top: 14.5% !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none;
  z-index: 2;
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  max-width: 42%;
}

.brand-process .brand-process-step--left .brand-process-content {
  left: 23.6% !important;
  right: auto !important;
  text-align: left;
}

.brand-process .brand-process-step--right .brand-process-content-right {
  right: 23.3% !important;
  left: auto !important;
  text-align: right;
}

.brand-process .brand-process-content h2,
.brand-process .brand-process-content-right h2 {
  font-size: 16px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  margin: 0 0 4px !important;
}

.brand-process .brand-process-content p,
.brand-process .brand-process-content-right p {
  font-size: 14px !important;
  line-height: 17px !important;
  margin: 0 !important;
  text-wrap: balance;
}

/* Home / service process overlays — shrink type on laptop widths (not publishing page) */
@media (min-width: 768px) and (max-width: 1279px) {
  .brand-process:not(.brand-process--publishing-page) .brand-process-content,
  .brand-process:not(.brand-process--publishing-page) .brand-process-content-right {
    top: 14.5% !important;
    max-width: 40% !important;
  }

  .brand-process:not(.brand-process--publishing-page) .brand-process-step--left .brand-process-content {
    left: 23.6% !important;
  }

  .brand-process:not(.brand-process--publishing-page) .brand-process-step--right .brand-process-content-right {
    right: 23.3% !important;
  }

  .brand-process:not(.brand-process--publishing-page) .brand-process-content h2,
  .brand-process:not(.brand-process--publishing-page) .brand-process-content-right h2 {
    font-size: 14px !important;
    line-height: 1.25 !important;
  }

  .brand-process:not(.brand-process--publishing-page) .brand-process-content p,
  .brand-process:not(.brand-process--publishing-page) .brand-process-content-right p {
    font-size: 12px !important;
    line-height: 1.35 !important;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .brand-process:not(.brand-process--publishing-page) .brand-process-step {
    width: 70%;
  }

  .brand-process:not(.brand-process--publishing-page) .brand-process-content h2,
  .brand-process:not(.brand-process--publishing-page) .brand-process-content-right h2 {
    font-size: 13px !important;
  }

  .brand-process:not(.brand-process--publishing-page) .brand-process-content p,
  .brand-process:not(.brand-process--publishing-page) .brand-process-content-right p {
    font-size: 11px !important;
    line-height: 1.3 !important;
  }
}

/* Why Choose Us — live site image position (brand-about-img + 2e579a5529d7f6aa.css) */
.brand-choose-us-vector {
  position: relative;
  min-height: 340px;
}

.brand-choose-us-vector .brand-about-img,
.brand-choose-us-vector .brand-choose-us-img {
  position: absolute;
  left: 0px;
  width: 400px;
  height: auto;
  bottom: -30px;
  max-width: none;
}

.brand-choose-us-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.brand-choose-us-section .icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.brand-choose-us-section .brand-nav-btn-white a {
  font-family: var(--font-poppins), Poppins, sans-serif;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 400;
  text-decoration: none;
  color: inherit;
}

@media (max-width: 767px) {
  .brand-choose-us-section {
    left: 0 !important;
  }

  .brand-choose-us-vector {
    min-height: 0;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .brand-choose-us-vector .brand-about-img,
  .brand-choose-us-vector .brand-choose-us-img {
    position: relative !important;
    top: -4px !important;
    left: -1px !important;
    bottom: auto !important;
    width: 100%;
    max-width: 320px;
  }
}

/* TESTIMONIALS carousel (home) */
.home-testimonials .testimonials-swiper {
  width: 100%;
  overflow: hidden;
}

.home-testimonials .testimonials-swiper .swiper-slide {
  height: auto;
}

.home-testimonials .brand-testimonials-card {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.home-testimonials .brand-testimonials-card:hover h2,
.home-testimonials .brand-testimonials-card:hover p,
.home-testimonials .brand-testimonials-card:hover .testimonial-body,
.home-testimonials .brand-testimonials-card:hover a > span {
  color: #fff !important;
}

.home-testimonials .testimonial-stars {
  display: block;
  width: 140px;
  height: auto;
  max-height: 28px;
  object-fit: contain;
}

.home-testimonials .testimonial-body {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.home-testimonials .testimonial-country {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: 2px;
}

.home-testimonials .testimonial-country-icon {
  color: #fff;
  flex-shrink: 0;
}

.home-testimonials .testimonials-swiper-prev,
.home-testimonials .testimonials-swiper-next {
  z-index: 2;
  border: none;
  background: transparent;
  padding: 0;
}

@media (max-width: 1023px) {
  .home-testimonials {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }

  .home-testimonials .testimonials-swiper-prev {
    left: 0;
  }

  .home-testimonials .testimonials-swiper-next {
    right: 0;
  }
}

@media (max-width: 639px) {
  .home-testimonials .brand-testimonials-card {
    height: auto;
    min-height: 420px;
  }

  .home-testimonials p.font-poppins.text-3xl {
    font-size: 1.25rem;
    line-height: 1.4;
  }
}

/* Book publishing page — 6-step process (full-width diagrams) */
.brand-process--publishing-page .brand-process-publishing-step {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.brand-process--publishing-page .brand-process-publishing-img {
  width: 100%;
  max-width: 700px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/*
 * Publishing process — text sits in the white pill between number + icon.
 * % of diagram (700×200): left 165px, right 163px, top 29px.
 */
.brand-process--publishing-page .brand-process-content,
.brand-process--publishing-page .brand-process-content-right {
  position: absolute !important;
  top: 18% !important;
  margin: 0 !important;
  padding: 0 !important;
  max-width: 48% !important;
  width: 48% !important;
  transform: none !important;
  pointer-events: none;
  z-index: 2;
  opacity: 1 !important;
  visibility: visible !important;
}

.brand-process--publishing-page .brand-process-content {
  left: 22% !important;
  right: auto !important;
  text-align: left;
}

.brand-process--publishing-page .brand-process-content-right {
  right: 22% !important;
  left: auto !important;
  text-align: right;
}

.brand-process--publishing-page .brand-process-content h2,
.brand-process--publishing-page .brand-process-content-right h2 {
  font-size: 1.5rem !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  margin: 0 0 0.35rem !important;
}

.brand-process--publishing-page .brand-process-content .para,
.brand-process--publishing-page .brand-process-content-right .para {
  font-size: 14px !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  text-wrap: pretty !important;
}

@media (max-width: 767px) {
  .brand-process--publishing-page .brand-process-publishing-step {
    max-width: 100%;
  }
}

/* Publishing overlays — mild scale on narrower laptops only */
@media (min-width: 768px) and (max-width: 900px) {
  .brand-process--publishing-page .brand-process-content,
  .brand-process--publishing-page .brand-process-content-right {
    width: 50% !important;
    max-width: 50% !important;
    top: 16% !important;
  }

  .brand-process--publishing-page .brand-process-content h2,
  .brand-process--publishing-page .brand-process-content-right h2 {
    font-size: 1.2rem !important;
  }

  .brand-process--publishing-page .brand-process-content .para,
  .brand-process--publishing-page .brand-process-content-right .para {
    font-size: 13px !important;
    line-height: 1.35 !important;
  }
}

/* Footer social icons */
.footer-social-links {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.footer-social-link:hover {
  background-color: #137c6d;
  border-color: #137c6d;
  color: #fff;
}

@media (max-width: 767px) {
  .footer-social-links {
    justify-content: center;
  }
}

/* Contact page — meet the team grid (centered rows, even gaps) */
.brand-meet-team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 2.5rem 1.5rem;
}

.brand-meet-team-grid .brand-meet-team-container {
  flex: 0 1 280px;
  width: 280px;
  max-width: 100%;
  margin: 0;
  padding: 0 0.5rem;
  box-sizing: border-box;
}

.brand-meet-team-grid .brand-meet-team-container h3 {
  word-break: break-word;
}

.brand-meet-team-grid .brand-meet-team-container p {
  word-break: break-word;
  overflow-wrap: anywhere;
  font-size: 1rem;
  line-height: 1.4;
}

@media (max-width: 767px) {
  .brand-meet-team-grid {
    gap: 2rem 1rem;
  }

  .brand-meet-team-grid .brand-meet-team-container {
    flex: 0 1 100%;
    width: 100%;
  }
}

/* Short disclaimer under testimonials / portfolio content */
.content-disclaimer-note {
  max-width: 920px;
  margin: 0.5rem auto 2.5rem;
  padding: 0 1.25rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  line-height: 1.55;
  color: #666;
  text-align: center;
  font-style: italic;
}

/* Inner page hero titles — bold + slightly larger (homepage uses .brand-hero-section) */
.brand-primary-header-bg h1 {
  font-weight: 700 !important;
  font-size: 2.25rem !important;
  line-height: 1.25 !important;
}

/* Site-wide form field icons — consistent outline style, size, and alignment */
.brand-connect-form-input,
input[name="fullName"],
input[name="phoneNumber"],
input[name="email"],
textarea[name="message"] {
  text-indent: 0 !important;
  padding-left: 2.75rem !important;
  padding-right: 1rem !important;
  background-repeat: no-repeat !important;
  background-position: 14px center !important;
  background-size: 16px 16px !important;
  font-family: "Poppins", sans-serif !important;
}

textarea[name="message"],
textarea.brand-connect-form-input {
  background-position: 14px 14px !important;
  padding-top: 0.75rem !important;
}

input[name="fullName"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") !important;
}

input[name="phoneNumber"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='2' width='10' height='20' rx='2'/%3E%3Cline x1='12' y1='18' x2='12' y2='18'/%3E%3C/svg%3E") !important;
}

input[name="email"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cpath d='m2 7 10 7 10-7'/%3E%3C/svg%3E") !important;
}

textarea[name="message"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E") !important;
}

/* Hide old absolute icons (duplicate webp imgs + solid pen SVGs) */
.relative > img[src*="user-icon"],
.relative > img[src*="phone-icon"],
.relative > img[src*="email-icon"],
.relative > svg.fa-pen,
.relative > .fa-pen,
.relative > svg[data-icon="pen"] {
  display: none !important;
}

.brand-form-field-icon {
  width: 16px;
  height: 16px;
}

/* Let's Get in Touch — contact form image (home) */
.btm-form .contact-form-img-wrap {
  display: block;
}

.btm-form .contact-form-img {
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* Video testimonials carousel (home) */
.home-video-testimonials .video-testimonials-swiper {
  width: 100%;
  overflow: hidden;
}

.home-video-testimonials .video-testimonials-swiper .swiper-slide {
  height: auto;
}

.home-video-testimonials .video-testimonial-card {
  border-color: #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.home-video-testimonials .video-testimonial-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.home-video-testimonials .video-testimonial-player video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  pointer-events: auto;
  z-index: 2;
  touch-action: manipulation;
}

.home-video-testimonials .video-testimonial-card,
.home-video-testimonials .video-testimonial-player,
.home-video-testimonials .video-testimonials-swiper .swiper-slide {
  touch-action: manipulation;
}

.home-video-testimonials .video-testimonial-meta {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 0.25rem;
}

.home-video-testimonials .video-testimonial-thumb img {
  display: block;
}

.home-video-testimonials .m1-h {
  padding-right: 7rem;
  min-height: 3.5rem;
}

.home-video-testimonials .video-testimonials-nav {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
}

.home-video-testimonials .video-testimonials-nav-btn {
  position: static;
  left: auto;
  right: auto;
  top: auto;
  transform: none;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: inset -3px 1px 12px 1px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  flex-shrink: 0;
}

.home-video-testimonials .video-testimonials-nav-btn svg {
  width: 18px;
  height: 18px;
  color: #333;
}

.home-video-testimonials .video-testimonials-nav-btn:hover {
  transform: scale(0.95);
  transition: transform 0.2s ease;
}

.home-video-testimonials .video-testimonial-embed {
  position: absolute;
  inset: 0;
}

@media (max-width: 767px) {
  .home-video-testimonials .m1-h {
    padding-right: 0;
    min-height: 0;
  }

  .home-video-testimonials .video-testimonials-nav {
    position: static;
    transform: none;
    justify-content: center;
    margin-top: 0.75rem;
  }
}
th.text-2xl.text-start.p-3.font-bold.pl-5 {
  text-align: center;
}

@media (max-width: 767px) {
  ul.md\:flex.items-center.space-x-4 {
    padding-top: 0;
  }
}

/* ════════════════════════════════════════════════════════════════
   SITE-WIDE MOBILE RESPONSIVE OVERRIDES (≤767px)
   Loaded after legacy CSS — wins on conflicting rules
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  html,
  body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  /* Hero video — kill 400vw height */
  .brand-main-banner-video,
  .brand-main-banner-video .brand-video,
  video#brandVideo,
  .main-banner-vid {
    height: auto !important;
    min-height: 100svh !important;
    max-height: none !important;
  }

  video#brandVideo {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
  }

  .brand-main-banner-video {
    position: relative;
    display: flex;
    align-items: flex-start;
    padding-top: 6.5rem;
    padding-bottom: 2rem;
  }

  .brand-hero-section {
    padding-top: 1rem !important;
    padding-bottom: 1.5rem !important;
  }

  .brand-hero-section h1 {
    font-size: 1.35rem !important;
    line-height: 1.35 !important;
  }

  .brand-hero-section p.text-xl {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
  }

  .brand-hero-section .credibility-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
    gap: 0.5rem;
  }

  .brand-hero-section .credibility-logos img {
    max-width: 110px;
    height: 2rem;
  }

  /* Inner page heroes */
  .brand-primary-header-bg {
    padding: 7rem 1rem 2.5rem !important;
    background-position: center !important;
  }

  .brand-primary-header-bg h1 {
    font-size: 1.65rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    padding-top: 0 !important;
  }

  .brand-primary-header-bg p.text-xl {
    font-size: 1rem !important;
  }

  /* Service cards — prevent 600px overflow */
  .brand-service-section {
    overflow: hidden;
  }

  .brand-service-section .brand-service-card {
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 0 !important;
  }

  .brand-service-section .brand-service-card-content {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .brand-service-section .brand-service-card-img {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
  }

  .brand-service-section .service-card-img {
    min-height: 0 !important;
    height: auto !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .brand-service-section .brand-service-photo,
  .brand-service-section .brand-service-card .brand-service-card-img img.brand-service-photo,
  .brand-service-card .brand-service-card-img img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 200px;
    object-fit: cover;
  }

  .brand-service-card-content span.right,
  .brand-service-card-content span.right-4,
  .brand-service-card-content span.right-5,
  .brand-service-card-content span.bottom,
  .brand-service-card-content span.bottom-4,
  .brand-service-card-content span.bottom-5 {
    display: none !important;
  }

  /* CTA section overflow */
  .brand-cta-vector:before {
    display: none !important;
  }

  .brand-cta-book {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: min(100%, 280px) !important;
    margin: 0 auto;
    display: block;
  }

  /* Why Choose Us */
  .brand-choose-us-vector:before {
    display: none !important;
  }

  .brand-choose-us-section {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  /* Books / testimonials arrows */
  .home-book-cover,
  .home-testimonials,
  .brand-testimonials-section {
    overflow: hidden;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .bk-sil2,
  .bk-sil3,
  .portfoilio-slider4-icon,
  .home-book-cover .absolute.-left-10,
  .home-book-cover .absolute.-right-10,
  .home-testimonials .absolute.-left-10,
  .home-testimonials .absolute.-right-10 {
    left: 0.25rem !important;
    right: auto !important;
  }

  .bk-sil2.next,
  .bk-sil3.next,
  .portfoilio-slider4-icon.next,
  .home-book-cover .absolute.-right-10,
  .home-testimonials .absolute.-right-10 {
    left: auto !important;
    right: 0.25rem !important;
  }

  .home-testimonials .brand-testimonials-card {
    height: auto !important;
    min-height: 0 !important;
  }

  /* Packages */
  .packages-wrapper {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    gap: 1.5rem !important;
  }

  .single-packages {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto;
    margin-right: auto;
  }

  .single-packages:hover {
    transform: none !important;
  }

  .single-packages-footer {
    flex-direction: column !important;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    width: 100% !important;
  }

  .single-packages-footer .border-line {
    display: none !important;
  }

  .single-packages .package-badge {
    right: 8px !important;
    top: -24px !important;
    width: 64px !important;
    height: auto !important;
  }

  .package-get-started-btn {
    display: inline-block;
    max-width: 100%;
  }

  /* Global padding — reduce crowded px-10 / px-12 */
  .px-10,
  .px-12,
  .privacy-policy.px-10,
  .container.privacy-policy {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .width-container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Packages content box */
  .single-packages-content {
    padding: 1rem !important;
    margin-right: 0 !important;
    height: auto !important;
    max-height: none !important;
  }

  .single-packages-content.px-10 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  /* Contact forms */
  .brand-main-contact-wrapper {
    width: auto !important;
    max-width: calc(100% - 2rem) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    border-radius: 20px !important;
  }

  .brand-main-contact-form,
  .brand-main-contact-wrapper > .basis-1\/3 {
    border-radius: 20px !important;
  }

  .brand-main-contact-wrapper .px-10,
  .brand-main-contact-wrapper .px-6,
  .brand-main-contact-form form,
  .brand-main-contact-form form.px-10,
  .brand-main-contact-form form.px-6,
  .brand-main-contact-form form.md\:px-20 {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }

  .btm-form .max-w-screen-xl {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .btm-form .connect-form-border,
  .btm-form .form-mid-wrap {
    margin-left: 0;
    margin-right: 0;
  }

  .btm-form form {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    width: 100%;
  }

  /* Process steps — full width on mobile */
  .brand-process .brand-process-step,
  .brand-process-steps--mobile .brand-process-step {
    width: 100% !important;
  }

  .brand-process-steps--mobile .brand-process-step-img {
    padding-bottom: 0.35rem !important;
  }

  /* Social bar — don't cover the screen */
  #fixed-social {
    display: none !important;
  }

  /* Footer */
  .brand-footer .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .brand-footer .widget-2,
  .brand-footer .widget-3 {
    text-align: center;
    margin-bottom: 1.5rem;
  }

  /* Misc overflow guards */
  .width-container,
  .container {
    max-width: 100%;
  }

  img {
    max-width: 100%;
  }

  .home-close-btn-modal {
    right: 8px !important;
    top: 8px !important;
  }

  /* Team / meet section on contact */
  .brand-meet-team-container {
    width: 100% !important;
    max-width: 100%;
    padding: 0 1rem;
  }

  section.max-w-screen-xl .flex.justify-around {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  /* FAQ */
  .faq-que button,
  .faq-item-btn {
    padding: 1rem !important;
  }

  .brand-faq-icon {
    width: 28px !important;
    height: auto !important;
    max-width: 28px;
  }

  .faq-que .text-lg,
  .faq-item-btn .text-lg {
    font-size: 0.95rem !important;
    line-height: 1.35 !important;
    padding-right: 0.5rem;
  }

  /* Why Choose — list columns stack on narrow phones via 480 rule; tighten gap here */
  .brand-choose-us-section .flex.gap-10 {
    gap: 1.5rem !important;
  }

  /* Packages comparison tables */
  .table-sec {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .container-compare {
    -webkit-overflow-scrolling: touch;
  }

  .container-compare .responsive-width,
  .container-compare table {
    font-size: 12px;
  }

  .container-compare th,
  .container-compare td {
    padding: 0.5rem 0.4rem !important;
  }

  .tooltip-content {
    width: min(260px, calc(100vw - 2rem)) !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
  }

  /* Policy / legal pages */
  .privacy-policy ul li {
    margin-left: 1.25rem !important;
  }

  .privacy-policy h2 {
    font-size: 1.25rem !important;
  }

  /* Service intro / about text */
  .abt-txt,
  .m1-h {
    padding-left: 0;
    padding-right: 0;
  }

  .brand-cta-section .flex,
  .brand-choose-us-section .brand-nav-btn-white {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .brand-hero-section h1 {
    font-size: 1.2rem !important;
  }

  #site-header .nav-top-bar-link {
    font-size: 0.65rem;
  }

  .brand-main-banner-video {
    padding-top: 5.5rem;
  }

  .brand-choose-us-section .flex.gap-10 {
    flex-direction: column !important;
    gap: 0.35rem !important;
  }

  .brand-choose-us-section h2 {
    font-size: 1.5rem !important;
    margin-top: 0.5rem !important;
  }
}

/* Desktop: never show stacked process copy */
@media (min-width: 768px) {
  .brand-process-mobile-copy {
    display: none !important;
  }
}

/* ════════════════════════════════════════════════════════════════
   SITE-WIDE DESKTOP / LAPTOP OVERRIDES (768–1279px)
   Soften fixed widths that assume a very wide viewport
   ════════════════════════════════════════════════════════════════ */

/* —— 768–1023: tablet landscape / small laptop —— */
@media (min-width: 768px) and (max-width: 1023px) {
  html,
  body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  /* Nav — override legacy 9px crush (768–900) */
  #site-header #navbar ul li a,
  #navbar ul li a {
    font-size: 12px !important;
  }

  #site-header #navbar .nav-mobile-menu {
    gap: 0.35rem;
  }

  /* Services mega-menu — viewport-safe */
  #nav-services-dropdown.nav-services-megamenu {
    left: 1rem !important;
    right: 1rem !important;
    width: auto !important;
    max-width: calc(100vw - 2rem) !important;
  }

  .nav-services-megamenu .nav-services-list,
  .nav-services-megamenu .brand-custom-dropdown-menu ul {
    height: min(420px, 60vh) !important;
  }

  /* Sell-book slider */
  .sell-book-slider-wrap {
    padding-left: 8.5rem !important;
    padding-right: 1rem !important;
  }

  .brnd-slider .book-sell-text h3 {
    font-size: 0.95rem !important;
  }

  /* Packages — stack until lg; keep readable cards */
  .packages-wrapper {
    flex-direction: column !important;
    align-items: center;
    gap: 2rem !important;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .width-container {
    width: min(100%, 960px) !important;
    max-width: 100% !important;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .single-packages {
    width: 100% !important;
    max-width: 420px !important;
  }

  .single-packages:hover {
    transform: none !important;
  }

  .single-packages-content {
    height: auto !important;
    max-height: none !important;
    margin-right: 0 !important;
    padding: 1.25rem !important;
  }

  .container-compare,
  .overflow-x-auto {
    max-width: 100%;
  }

  /* Why Choose Us — reduce md:left-52 / 400px image squeeze */
  .brand-choose-us-section.md\:left-52,
  .brand-choose-us-section.relative.md\:left-52,
  .brand-choose-us-section {
    left: 0 !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    margin-left: 1rem !important;
    margin-right: 1rem !important;
    max-width: calc(100% - 2rem);
  }

  .brand-choose-us-section .md\:ml-20,
  .brand-choose-us-section .basis-1\/2.md\:ml-20,
  .brand-choose-us-section .basis-1\/3.md\:ml-20 {
    margin-left: 1rem !important;
  }

  .brand-choose-us-vector {
    min-height: 260px;
    flex: 1 1 40%;
    max-width: 42%;
  }

  .brand-choose-us-vector .brand-about-img,
  .brand-choose-us-vector .brand-choose-us-img {
    width: min(100%, 280px) !important;
    max-width: 100% !important;
    left: 0 !important;
    bottom: 0 !important;
    position: relative !important;
  }

  .brand-choose-us-vector:before {
    display: none !important;
  }

  /* Contact + bottom forms */
  .brand-main-contact-wrapper {
    width: min(100%, 920px) !important;
    max-width: calc(100% - 2rem) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .brand-main-contact-wrapper .md\:px-20,
  .brand-main-contact-form form.md\:px-20,
  .brand-main-contact-form form.px-10 {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }

  /* Connect form side-by-side: reduce heavy md:ml-20 */
  form.md\:ml-20,
  form.basis-1\/2.md\:ml-20,
  .basis-1\/2.md\:ml-20 {
    margin-left: 1rem !important;
  }

  .brand-btm-form .md\:px-10,
  .brand-btm-form .md\:px-20,
  .px-5.mb-5.basis-1\/2.md\:ml-20 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .brand-btm-form img,
  .brand-main-contact-wrapper img {
    max-width: 100% !important;
    height: auto !important;
  }

  /* Service cards — fluid */
  .brand-service-section .brand-service-card-content,
  .brand-service-card-content {
    width: 100% !important;
    max-width: 260px !important;
  }

  .brand-service-section .service-card-img,
  .brand-service-section .brand-service-card .brand-service-card-img img.brand-service-photo,
  .brand-service-card .brand-service-card-img img {
    max-width: 260px !important;
    width: 100% !important;
  }

  .brand-service-section .brand-service-content {
    gap: 0.75rem !important;
  }

  /* CTA vector — contain overflow */
  .brand-cta-vector {
    overflow: hidden;
  }

  .brand-cta-vector:before {
    width: min(280px, 40vw) !important;
    height: auto !important;
    aspect-ratio: 398 / 462;
    max-width: 40%;
    opacity: 0.85;
  }

  .brand-cta-book {
    max-width: min(240px, 45%) !important;
  }

  /* Hero / section horizontal padding */
  .brand-hero-section,
  .brand-process,
  .brand-service-section,
  .brand-testimonials-section,
  .home-book-cover {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* —— 1024–1279: typical laptop —— */
@media (min-width: 1024px) and (max-width: 1279px) {
  html,
  body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  #site-header #navbar ul li a,
  #navbar ul li a {
    font-size: 13px !important;
  }

  /* Mega-menu — still too wide with left:40rem */
  #nav-services-dropdown.nav-services-megamenu {
    left: clamp(12rem, 22vw, 22rem) !important;
    right: 1rem !important;
    width: auto !important;
    max-width: min(720px, calc(100vw - 14rem)) !important;
  }

  .nav-services-megamenu .nav-services-list,
  .nav-services-megamenu .brand-custom-dropdown-menu ul {
    height: min(450px, 65vh) !important;
  }

  .sell-book-slider-wrap {
    padding-left: 9.5rem !important;
  }

  .width-container {
    width: min(92%, 1100px) !important;
    margin-left: auto;
    margin-right: auto;
  }

  .packages-wrapper {
    gap: 1.5rem !important;
    flex-wrap: wrap;
    justify-content: center;
  }

  .single-packages {
    flex: 1 1 280px;
    max-width: 340px;
    min-width: 0;
  }

  .single-packages:hover {
    transform: scale(1.02) !important;
  }

  .single-packages-content {
    height: auto !important;
    min-height: 280px;
    max-height: 360px;
    margin-right: 0.5rem !important;
    padding: 1.25rem !important;
  }

  /* Why Choose — softer offset than full left-52 */
  .brand-choose-us-section {
    left: 4rem !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
    max-width: calc(100% - 5rem);
  }

  .brand-choose-us-section .md\:ml-20,
  .brand-choose-us-section .basis-1\/2.md\:ml-20,
  .brand-choose-us-section .basis-1\/3.md\:ml-20 {
    margin-left: 1.5rem !important;
  }

  .brand-choose-us-vector {
    min-height: 300px;
    overflow: hidden;
  }

  .brand-choose-us-vector .brand-about-img,
  .brand-choose-us-vector .brand-choose-us-img {
    width: min(320px, 90%) !important;
    max-width: 100% !important;
    left: 0 !important;
    bottom: -10px !important;
  }

  .brand-choose-us-vector:before {
    max-width: 90%;
    background-size: contain !important;
  }

  .brand-main-contact-wrapper {
    width: min(88%, 1000px) !important;
    max-width: calc(100% - 2rem) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  form.md\:ml-20,
  form.basis-1\/2.md\:ml-20,
  .basis-1\/2.md\:ml-20 {
    margin-left: 1.5rem !important;
  }

  .brand-service-section .brand-service-card-content,
  .brand-service-card-content {
    width: 100% !important;
    max-width: 280px !important;
  }

  .brand-service-section .service-card-img,
  .brand-service-section .brand-service-card .brand-service-card-img img.brand-service-photo,
  .brand-service-card .brand-service-card-img img {
    max-width: 280px !important;
    width: 100% !important;
  }

  .brand-cta-vector:before {
    width: min(320px, 36vw) !important;
    max-width: 36%;
  }

  .brand-cta-book {
    max-width: min(260px, 42%) !important;
  }
}

/* —— 1280+: restore intended wide desktop for Why Choose image —— */
@media (min-width: 1280px) {
  .brand-choose-us-vector .brand-about-img,
  .brand-choose-us-vector .brand-choose-us-img {
    width: 400px;
    max-width: none;
    position: absolute;
    left: 0;
    bottom: -30px;
  }

  #nav-services-dropdown.nav-services-megamenu {
    left: 40rem;
    right: 0;
    width: 55%;
    max-width: none;
  }
}

/* FAQ accordion — kill legacy 96px keyframe animations; use reliable transitions */
.faq-content-open,
.faq-content-close {
  animation: none !important;
  display: block !important;
  overflow: hidden !important;
  transition: max-height 0.35s ease, opacity 0.25s ease, margin 0.25s ease !important;
}

.faq-content-open {
  max-height: 2000px !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.faq-content-close {
  max-height: 0 !important;
  opacity: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  pointer-events: none !important;
}

.faq-item-btn {
  cursor: pointer;
}

/* Packages — promotional pricing */
.package-promo-price {
  font-size: 0.85rem;
  color: #c2410c;
  font-weight: 600;
  line-height: 1.4;
}

.package-promo-price s {
  color: #6b7280;
  font-weight: 500;
}

.package-desc {
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.45;
}

/* Hero video — paint poster immediately; avoid blank black LCP */
.brand-main-banner-video {
  background-color: #0d0f38;
}

.brand-video,
video#brandVideo {
  background-color: #0d0f38;
}