/* =====================================================================
   MANCHESTER BOOK PUBLISHERS — brand stylesheet (sits on top of Bootstrap 5.3)

   Class naming follows Bootstrap's own pattern, so a class tells you what
   it does just by reading it:

   COLOUR UTILITIES (same idea as .bg-primary / .text-danger)
     .bg-navy            navy brand background (logo blue)
     .bg-navy-deep       darker navy, used for hero + footer
     .bg-red             brand red background (logo book red)
     .bg-mist            soft blue-grey section background
     .bg-red-tint        very light red section background
     .text-navy          navy text  (flips to white in dark mode)
     .text-red           brand red text
     .text-soft          muted body text
     .text-on-dark       off-white text for navy sections
     .text-on-dark-muted muted text for navy sections
     .border-red         2px brand-red border on all sides

   BUTTONS (same idea as .btn-primary)
     .btn-red            solid red call-to-action
     .btn-navy           solid navy button
     .btn-outline-navy   navy outline button
     .btn-outline-on-dark white outline button for navy backgrounds

   TYPOGRAPHY
     .font-display       tall condensed headline face (echoes the logo letters)
     .font-body          serif reading face
     .display-hero       biggest headline, hero only
     .heading-xl         section headline
     .heading-md         card / sub-section headline
     .lead-serif         larger intro paragraph
     .text-measure       limits line length to a comfortable ~62 characters

   SPACING
     .py-section         standard vertical padding for a page section
     .py-section-sm      smaller vertical padding

   COMPONENTS (one class = one block of the page)
     .topbar, .site-navbar, .hero-shelf, .shelf-book, .platform-strip,
     .service-item, .portfolio-filter, .book-cover, .process-step,
     .manchester-panel, .honeycomb-bg, .package-card, .review-card,
     .cta-band, .site-footer, .footer-link
   ===================================================================== */

:root {
  /* brand tokens — taken from the logo files */
  --navy: #002B5B;
  --navy-deep: #001833;
  --red: #D00016;
  --red-dark: #A80012;
  --mist: #EEF2F7;

  /* corner radius tokens: change these 3 values to round the whole site more or less */
  --radius-sm: 8px;    /* buttons, inputs, menu items */
  --radius-md: 12px;   /* cards, badges, dropdowns */
  --radius-lg: 18px;   /* big panels and the contact form */
  --red-tint: #FDF1F2;

  /* surface tokens — these flip in dark mode */
  --surface: #FFFFFF;
  --surface-alt: #EEF2F7;
  --ink: #1B2A41;
  --ink-soft: #55637A;
  --heading: #002B5B;
  --line: #D6DEE9;

  --font-display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --font-body: "Source Serif 4", Georgia, "Times New Roman", serif;

  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
html { scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 90px); }

/* The site always uses the light brand theme (even if the visitor's device is in dark mode). */
:root { color-scheme: light; }

body {
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
}
/* clip (not hidden) stops sideways scroll without breaking the sticky navbar */
html, body { overflow-x: clip; }
img { max-width: 100%; height: auto; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* ---------- colour utilities ---------- */
.bg-navy        { background-color: var(--navy) !important; }
.bg-navy-deep   { background-color: var(--navy-deep) !important; }
.bg-red         { background-color: var(--red) !important; }
.bg-mist        { background-color: var(--surface-alt) !important; }
.bg-red-tint    { background-color: var(--red-tint) !important; }
.text-navy      { color: var(--heading) !important; }
.text-red       { color: var(--red) !important; }
.text-soft      { color: var(--ink-soft) !important; }
.text-on-dark   { color: #F2F5FA !important; }
.text-on-dark-muted { color: #A9B8CF !important; }
.border-red     { border: 2px solid var(--red) !important; }

/* ---------- buttons ---------- */
.btn { font-family: var(--font-body); font-weight: 600; border-radius: var(--radius-sm); padding: .75rem 1.5rem; }
.btn-red { background: var(--red); color: #fff; border: 2px solid var(--red); }
.btn-red:hover, .btn-red:focus { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; border: 2px solid var(--navy); }
.btn-navy:hover, .btn-navy:focus { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }
.btn-outline-navy { background: transparent; color: var(--heading); border: 2px solid var(--heading); }
.btn-outline-navy:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-outline-on-dark { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.55); }
.btn-outline-on-dark:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }

/* ---------- typography ---------- */
.font-display { font-family: var(--font-display); }
.font-body    { font-family: var(--font-body); }
h1, h2, h3, h4, .display-hero, .heading-xl, .heading-md {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1;
  letter-spacing: .005em;
  color: var(--heading);
}
.display-hero { font-size: clamp(3.2rem, 7.4vw, 6.2rem); font-weight: 900; line-height: .92; }
.heading-xl   { font-size: clamp(2.4rem, 5vw, 3.75rem); margin-bottom: 1rem; }
.heading-md   { font-size: 1.65rem; font-weight: 700; margin-bottom: .5rem; }
.lead-serif   { font-size: 1.25rem; line-height: 1.6; }
.text-measure { max-width: 62ch; }

/* ---------- spacing ---------- */
.py-section    { padding-top: clamp(4rem, 9vw, 7rem); padding-bottom: clamp(4rem, 9vw, 7rem); }
.py-section-sm { padding-top: 2.5rem; padding-bottom: 2.5rem; }

/* ---------- top contact bar ---------- */
.topbar { font-size: .875rem; }
.topbar a { color: #E3E9F2; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }

/* ---------- navbar ---------- */
.site-navbar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 1030;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease, padding .2s ease;
}
.site-navbar .navbar-brand-logo { height: 54px; width: auto; transition: height .2s ease; }
/* .is-scrolled is added by main.js once the page scrolls: adds a shadow and a smaller logo */
.site-navbar.is-scrolled { box-shadow: 0 6px 24px rgba(0,24,51,.10); }
.site-navbar.is-scrolled .navbar-brand-logo { height: 44px; }
.site-navbar .nav-link { color: var(--heading); font-weight: 600; padding: .5rem .9rem !important; }
.site-navbar .nav-link:hover, .site-navbar .nav-link.active { color: var(--red); }
.site-navbar .dropdown-menu { border-radius: var(--radius-sm); border: 1px solid var(--line); border-top: 3px solid var(--red); background: var(--surface); padding: .5rem; margin-top: 0; box-shadow: 0 16px 40px rgba(0,24,51,.12); }
.site-navbar .dropdown-item { color: var(--ink); border-radius: var(--radius-sm); padding: .45rem .6rem; white-space: normal; }
.site-navbar .dropdown-item:hover { background: var(--surface-alt); color: var(--red); }
.site-navbar .navbar-toggler { border: 2px solid var(--heading); border-radius: var(--radius-sm); }

/* ---------- nested flyout menu (Services) ----------
   .dropdown-hover   opens the dropdown on mouse hover (desktop only)
   .dropdown-flyout  the first-level list of service categories
   .has-submenu      a category that has its own sub-list
   .submenu          the sub-list; flies out to the RIGHT on desktop,
                     opens underneath (tap to expand) on mobile
   .submenu-toggle   the category link that opens a .submenu        */
.dropdown-flyout { min-width: 17rem; }
.has-submenu { position: relative; }
.submenu-toggle { display: flex !important; justify-content: space-between; align-items: center; gap: 1rem; }
.submenu-chevron { color: var(--ink-soft); flex-shrink: 0; transition: transform .2s ease; }
.submenu {
  display: none; margin: 0; padding: .5rem;
  background: var(--surface); min-width: 16rem;
}
.dropdown-item-all { color: var(--red) !important; font-weight: 600; }

@media (min-width: 992px) {
  .dropdown-hover:hover > .dropdown-menu { display: block; }
  .submenu {
    position: absolute; left: 100%; top: -.5rem;
    border: 1px solid var(--line); border-left: 3px solid var(--red);
    box-shadow: 16px 16px 40px rgba(0,24,51,.12);
  }
  .has-submenu:hover > .submenu,
  .has-submenu:focus-within > .submenu { display: block; }
  .has-submenu:hover > .submenu-toggle,
  .has-submenu:focus-within > .submenu-toggle { background: var(--surface-alt); color: var(--red); }
  .has-submenu:hover .submenu-chevron { color: var(--red); }
}
@media (max-width: 991.98px) {
  .site-navbar .dropdown-menu { border: 0; border-left: 3px solid var(--red); box-shadow: none; padding: 0 0 .5rem .5rem; }
  .has-submenu.is-open > .submenu { display: block; padding: 0 0 .25rem 1rem; }
  .has-submenu.is-open .submenu-chevron { transform: rotate(90deg); }
}

/* ---------- hero with bookshelf ---------- */
.hero { position: relative; overflow: hidden; }
.hero-split { background: var(--surface); border-bottom: 1px solid var(--line); }
@media (min-width: 992px) {
  .hero-split { background: linear-gradient(90deg, var(--surface) 0 56%, var(--surface-alt) 56% 100%); }
}
.hero-shelf {
  position: relative;
  display: flex; align-items: flex-end; justify-content: center;
  gap: clamp(.3rem, 1vw, .7rem);
  padding: 0 clamp(.75rem, 4%, 1.75rem) 18px;   /* side room for the leaning book */
  max-width: 640px; margin-inline: auto;
}
.hero-shelf::after {           /* the red shelf the books stand on — the red book from the logo */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 14px; background: var(--red);
  box-shadow: 0 14px 30px rgba(0,24,51,.18);
}
.shelf-book {
  /* books share the shelf width, so they always fit — no fixed widths */
  flex: 1 1 0; width: auto; min-width: 0; max-width: 150px;
  border-radius: 1px 3px 3px 1px;
  box-shadow: -6px 0 0 rgba(0,0,0,.2) inset, 0 18px 30px rgba(0,24,51,.25);
  transform-origin: bottom center;
  animation: shelf-rise .8s cubic-bezier(.2,.8,.2,1) both;
}
.shelf-book.is-tall    { flex-grow: 1.3; max-width: 195px; }
.shelf-book.is-leaning { transform: rotate(-6deg); margin-right: 2%; }
.shelf-book:nth-child(1) { animation-delay: .05s; }
.shelf-book:nth-child(2) { animation-delay: .15s; }
.shelf-book:nth-child(3) { animation-delay: .25s; }
.shelf-book:nth-child(4) { animation-delay: .35s; }
.shelf-book:nth-child(5) { animation-delay: .45s; }
@keyframes shelf-rise { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }
.hero-note { border-left: 3px solid var(--red); padding-left: 1rem; }

/* ---------- platform strip: moving logo marquee ----------
   .logo-marquee        the window the logos move through (edges fade out)
   .logo-marquee-track  the row that slides left forever; pauses on hover */
.platform-strip { border-bottom: 1px solid var(--line); }
.logo-marquee {
  overflow: hidden; flex: 1; min-width: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-marquee-track {
  display: flex; width: max-content;
  animation: marquee-scroll 32s linear infinite;
}
.logo-marquee:hover .logo-marquee-track { animation-play-state: paused; }
.platform-strip .platform-name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.45rem;
  color: var(--ink-soft); white-space: nowrap; padding: 0 2.25rem;
  position: relative;
}
.platform-strip .platform-name::after {   /* small red divider between store names */
  content: ""; position: absolute; right: 0; top: 50%; width: 6px; height: 6px;
  background: var(--red); transform: translate(50%, -50%) rotate(45deg);
}
@keyframes marquee-scroll { to { transform: translateX(-50%); } }

/* ---------- services ---------- */
.service-item {
  height: 100%;
  padding: 1.75rem 1.5rem;
  border-top: 3px solid var(--heading);
  background: var(--surface);
}
.service-item:hover { border-top-color: var(--red); }
.service-item a.stretched-link { color: var(--red); font-weight: 600; text-decoration: none; }
.service-icon { width: 40px; height: 40px; color: var(--red); margin-bottom: 1rem; }
.service-item p { color: var(--ink-soft); margin-bottom: 1rem; }

/* ---------- portfolio ---------- */
.portfolio-filter .btn { padding: .45rem 1.1rem; font-size: .95rem; }
.portfolio-filter .btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.book-cover { margin: 0; }
.book-cover img {
  width: 100%; aspect-ratio: 2 / 3; object-fit: cover;
  box-shadow: -5px 0 0 rgba(0,0,0,.18) inset, 0 14px 28px rgba(0,24,51,.22);
  border-radius: 1px 3px 3px 1px;
  transition: transform .25s ease;
}
.book-cover a:hover img, .book-cover a:focus img { transform: translateY(-6px); }
.book-cover figcaption { margin-top: 1rem; }
.book-cover .book-title { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--heading); line-height: 1.1; }
.book-cover .book-meta { font-size: .9rem; color: var(--ink-soft); }
.portfolio-item.is-hidden { display: none; }

/* ---------- process ---------- */
.process-step { position: relative; padding-left: 4.5rem; padding-bottom: 2.25rem; }
.process-step::before {           /* the vertical line connecting the steps */
  content: ""; position: absolute; left: 1.4rem; top: 3rem; bottom: 0; width: 2px; background: var(--line);
}
.process-step:last-child::before { display: none; }
.step-number {
  position: absolute; left: 0; top: 0;
  width: 2.9rem; height: 2.9rem; display: grid; place-items: center;
  background: var(--navy); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 1.4rem;
}
.process-step:last-child .step-number { background: var(--red); }

/* ---------- manchester panel ---------- */
.manchester-panel { position: relative; overflow: hidden; }
.honeycomb-bg {                 /* faint honeycomb — the Manchester worker bee */
  position: absolute; inset: 0; opacity: .07; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='98' viewBox='0 0 56 98'%3E%3Cpath d='M28 66L0 50V16L28 0l28 16v34L28 66zm0 32L0 82' fill='none' stroke='%23ffffff' stroke-width='2'/%3E%3C/svg%3E");
}
.bee-mark { width: 64px; height: 64px; color: var(--red); }
.fact-line { border-top: 1px solid rgba(255,255,255,.18); padding-top: 1rem; }
.fact-line strong { font-family: var(--font-display); font-size: 1.5rem; color: #fff; display: block; line-height: 1.1; }

/* ---------- packages ---------- */
.package-card {
  height: 100%; background: var(--surface); border: 1px solid var(--line);
  padding: 2rem 1.75rem; display: flex; flex-direction: column;
}
.package-card ul { padding-left: 1.1rem; color: var(--ink-soft); }
.package-card li { margin-bottom: .35rem; }
.package-card .package-group { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--heading); margin: 1.1rem 0 .4rem; }
.package-card-featured { border: 2px solid var(--red); position: relative; }
.package-badge {
  position: absolute; top: -1px; right: 1.5rem; transform: translateY(-50%);
  background: var(--red); color: #fff; font-size: .8rem; font-weight: 700; padding: .3rem .75rem;
}

/* ---------- reviews carousel ----------
   .review-track    horizontal row of reviews that snaps one card at a time
   .review-slide    one review (3 visible on desktop, 2 on tablet, 1 on mobile)
   .review-dots     page dots, built by main.js
   .carousel-arrow  square prev / next buttons */
.review-track {
  display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; scrollbar-width: none; padding-bottom: .25rem;
}
.review-track::-webkit-scrollbar { display: none; }
.review-slide { flex: 0 0 100%; scroll-snap-align: start; }
@media (min-width: 768px) { .review-slide { flex-basis: calc((100% - 1.5rem) / 2); } }
@media (min-width: 992px) { .review-slide { flex-basis: calc((100% - 3rem) / 3); } }
.review-card { height: 100%; padding: 1.75rem; background: var(--surface); border-left: 3px solid var(--red); }
.review-dots { display: flex; gap: .5rem; }
.review-dots button {
  width: 28px; height: 4px; border: 0; padding: 0; background: #E5BFC3; cursor: pointer;
}
.review-dots button[aria-selected="true"] { background: var(--red); }
.carousel-arrow {
  width: 46px; height: 46px; display: grid; place-items: center;
  border: 2px solid var(--heading); background: var(--surface); color: var(--heading); border-radius: var(--radius-sm);
}
.carousel-arrow:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.review-card blockquote { font-size: 1.05rem; margin-bottom: 1.25rem; }
.review-stars { color: #E8A317; letter-spacing: .1em; }
.review-platform {
  display: inline-block; padding: .5rem 1rem; border: 1px solid var(--line);
  color: var(--heading); font-weight: 600; text-decoration: none; background: var(--surface);
}
.review-platform:hover { border-color: var(--red); color: var(--red); }

/* ---------- FAQ ---------- */
.faq-accordion .accordion-item { background: transparent; border: 0; border-bottom: 1px solid var(--line); }
.faq-accordion .accordion-button {
  background: transparent; color: var(--heading); box-shadow: none;
  font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; padding: 1.25rem 0;
}
.faq-accordion .accordion-button:not(.collapsed) { color: var(--red); }
.faq-accordion .accordion-body { padding: 0 0 1.25rem; color: var(--ink-soft); }

/* ---------- forms ---------- */
.form-control, .form-select {
  border-radius: var(--radius-sm); border: 1px solid var(--line); background-color: var(--surface); color: var(--ink);
  padding: .7rem .9rem;
}
.form-control:focus, .form-select:focus { border-color: var(--navy); box-shadow: 0 0 0 .2rem rgba(0,43,91,.18); }
.form-label { font-weight: 600; color: var(--heading); font-size: .95rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--red); color: #fff; }
.cta-band h2 { color: #fff; }

/* ---------- floating WhatsApp button ---------- */
.whatsapp-float {
  position: fixed; right: 1.25rem; bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px)); z-index: 1040;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0,0,0,.25);
}
.whatsapp-float:hover { color: #fff; background: #1EBE5A; }

/* ---------- footer ---------- */
.site-footer { font-size: .95rem; }
.site-footer h3 { color: #fff; font-size: 1.3rem; margin-bottom: 1rem; }
.footer-logo { width: 200px; }
.footer-link { color: #B9C6D9; text-decoration: none; display: inline-block; padding: .2rem 0; }
.footer-link:hover { color: #fff; text-decoration: underline; }
.social-link { width: 38px; height: 38px; display: inline-grid; place-items: center; border: 1px solid rgba(255,255,255,.3); color: #fff; }
.social-link:hover { background: var(--red); border-color: var(--red); color: #fff; }

.modal-content { border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* contact form card */
.form-panel { background: var(--surface); }

/* ---------- stats counters ----------
   .stat-row      row of counters with thin dividers between them
   .stat-counter  one counter block
   .stat-number   big number; main.js counts it up from 0 when it scrolls into view
   .stat-label    small caption under the number */
.stat-row { border-top: 3px solid var(--heading); border-bottom: 1px solid var(--line); }
.stat-counter { padding: 1.75rem 1.25rem; height: 100%; border-right: 1px solid var(--line); }
.stat-row > div:last-child .stat-counter { border-right: 0; }
@media (max-width: 991.98px) {
  .stat-row > div:nth-child(2n) .stat-counter { border-right: 0; }
  .stat-row > div:nth-child(-n+2) .stat-counter { border-bottom: 1px solid var(--line); }
}
.stat-number {
  display: block; font-family: var(--font-display); font-weight: 900;
  font-size: clamp(3rem, 6vw, 4.75rem); line-height: 1; color: var(--red);
  font-variant-numeric: tabular-nums;
}
.stat-label { display: block; margin-top: .5rem; color: var(--heading); font-weight: 600; }

/* ---------- trust badges ----------
   .trust-badge          review-platform badge: name, stars, score
   .trust-badge-compact  smaller version (used in the reviews header)
   .trust-badge-{name}   sets the platform's accent colour on the top edge */
.trust-badge-row { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 992px) { .trust-badge-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.trust-badge {
  --badge-accent: var(--heading);
  display: grid; grid-template-columns: 1fr auto; align-items: center; row-gap: .15rem; column-gap: 1rem;
  padding: 1.1rem 1.25rem; background: var(--surface);
  border: 1px solid var(--line); border-top: 4px solid var(--badge-accent);
  text-decoration: none; color: var(--ink);
}
.trust-badge:hover { border-color: var(--badge-accent); color: var(--ink); }
.trust-badge-name { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; line-height: 1.1; color: var(--heading); }
.trust-badge .review-stars { grid-column: 1; color: var(--badge-accent); font-size: 1.05rem; }
.trust-badge-score {
  grid-column: 2; grid-row: 1 / span 2;
  font-family: var(--font-display); font-weight: 900; font-size: 2.2rem; line-height: 1; color: var(--heading);
}
.trust-badge-score small { font-size: .9rem; color: var(--ink-soft); font-weight: 700; }
.trust-badge-note { grid-column: 1 / -1; font-size: .85rem; color: var(--ink-soft); }
.trust-badge-trustpilot { --badge-accent: #00B67A; }
.trust-badge-google     { --badge-accent: #E8A317; }
.trust-badge-reviewsio  { --badge-accent: #1A73E8; }
.trust-badge-bark       { --badge-accent: #2D6FE0; }

.trust-badge-compact { padding: .55rem .9rem; column-gap: .75rem; display: inline-grid; }
.trust-badge-compact .trust-badge-name { font-size: 1.05rem; }
.trust-badge-compact .review-stars { font-size: .8rem; }
.trust-badge-compact .trust-badge-score { font-size: 1.5rem; }

@media (max-width: 575.98px) {               /* phones: score drops under the stars */
  .trust-badge { grid-template-columns: 1fr; padding: 1rem; }
  .trust-badge-score { grid-column: 1; grid-row: auto; font-size: 1.8rem; margin-top: .35rem; }
}

/* =====================================================================
   ROUNDED CORNERS — soft, minimal radius on cards and panels
   .rounded-brand-sm / -md / -lg   add the brand radius to any element
   ===================================================================== */
.rounded-brand-sm { border-radius: var(--radius-sm) !important; }
.rounded-brand-md { border-radius: var(--radius-md) !important; }
.rounded-brand-lg { border-radius: var(--radius-lg) !important; }

.service-item, .package-card, .review-card, .trust-badge,
.site-navbar .dropdown-menu, .submenu, .modal-content { border-radius: var(--radius-md); }
.service-item, .review-card { overflow: hidden; }   /* not on .package-card, so the "Most chosen" pill can sit on its edge */
.form-panel, .services-cta-panel { border-radius: var(--radius-lg); }
.site-navbar .dropdown-item { border-radius: 6px; }
.step-number { border-radius: var(--radius-sm); }
.carousel-arrow, .social-link { border-radius: var(--radius-sm); }
.package-badge { border-radius: 999px; padding: .3rem .9rem; }
.review-dots button { border-radius: 999px; }
.stat-row { border-radius: var(--radius-md); overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--heading); }
.whatsapp-float { border-radius: 50%; }

/* soft shadow on cards so the rounded shape reads clearly */
.service-item, .package-card, .review-card, .trust-badge { box-shadow: 0 1px 2px rgba(0,24,51,.05), 0 6px 18px rgba(0,24,51,.05); }
.service-item:hover, .trust-badge:hover { box-shadow: 0 10px 28px rgba(0,24,51,.10); }

/* book covers stay book-shaped: tight corners on the spine side */
.book-cover img, .shelf-book { border-radius: 3px 8px 8px 3px; }

/* ---------- review platform badges section ---------- */
.platform-badges { border-bottom: 1px solid var(--line); }

/* =====================================================================
   CONTACT CTAs
   .cta-inline          small rounded call-to-action bar placed at the end of a section
   .cta-inline-on-dark  version for navy sections
   .cta-inline-title    short heading inside the bar
   .cta-inline-actions  the buttons (quote, call, WhatsApp)
   .btn-icon            square icon-only button
   .hero-contact        "prefer to talk?" line in the hero
   .mobile-contact-bar  Call / WhatsApp / Quote bar fixed to the bottom on phones
   ===================================================================== */
.cta-inline {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem;
  padding: 1.5rem 1.75rem; background: var(--surface);
  border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius-md);
}
.bg-mist .cta-inline, .bg-red-tint .cta-inline { background: var(--surface); }
.cta-inline-title { font-size: 1.6rem; font-weight: 800; margin-bottom: .25rem; }
.cta-inline-text p { color: var(--ink-soft); }
.cta-inline-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.cta-inline-actions .btn { padding: .65rem 1.2rem; display: inline-flex; align-items: center; }
.btn-icon { width: 46px; justify-content: center; padding: 0 !important; }
.cta-inline-on-dark { background: rgba(255,255,255,.06) !important; border-color: rgba(255,255,255,.18); border-left-color: var(--red); }
.cta-inline-on-dark .cta-inline-title { color: #fff; }
.cta-inline-on-dark .cta-inline-text p { color: #A9B8CF; }

.hero-contact { color: var(--ink-soft); }
.hero-contact a { color: var(--heading); font-weight: 600; text-decoration-color: var(--red); text-underline-offset: 3px; }

.mobile-contact-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040;
  display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: .5rem;
  padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom, 0px));
  background: var(--surface); border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(0,24,51,.08);
}
.mobile-contact-bar a, .mobile-contact-bar button {
  display: flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .65rem .5rem; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--surface);
  color: var(--heading); font-weight: 600; font-family: var(--font-body); text-decoration: none; font-size: .95rem;
  white-space: nowrap; min-width: 0;
}
@media (max-width: 374.98px) { .mobile-contact-bar a, .mobile-contact-bar button { font-size: .85rem; gap: .3rem; } }
.mobile-contact-bar .is-primary { background: var(--red); border-color: var(--red); color: #fff; }
@media (max-width: 991.98px) {
  .site-footer { padding-bottom: 80px; }   /* room so the bar never covers the footer text */
}

/* ---------- responsive fixes ---------- */
.contact-list a, .contact-list span, .site-footer li, .topbar a { overflow-wrap: anywhere; }
@media (max-width: 991.98px) {
  .hero-split .row { text-align: left; }
  .hero-shelf { margin-top: 1rem; }
  .position-sticky { position: static !important; }   /* process intro shouldn't stick on small screens */
}
@media (max-width: 575.98px) {
  .py-section { padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .btn-lg { width: 100%; }                           /* full-width hero buttons on phones */
  .cta-inline { padding: 1.25rem; }
  .cta-inline-actions { width: 100%; }
  .cta-inline-actions .btn:not(.btn-icon) { flex: 1 1 auto; justify-content: center; }
  .stat-counter { padding: 1.25rem 1rem; }
  .stat-label { font-size: .9rem; }
  .package-card { padding: 1.75rem 1.25rem; }
  .form-panel { padding: 1.5rem !important; }
  .faq-accordion .accordion-button { font-size: 1.2rem; }
}

@media (max-width: 575.98px) {
  .hero-shelf { max-width: 360px; }                 /* 3 books on phones, bigger */
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .site-navbar .nav-link { padding: .5rem .55rem !important; font-size: .95rem; }
  .site-navbar .btn { padding: .6rem 1rem; }
}
.mobile-contact-bar svg { flex-shrink: 0; }
@media (max-width: 374.98px) { .btn-lg { font-size: 1.05rem; padding: .7rem 1rem; } }
