@media (max-width: 768px) {

  html, body {
    width: 100%;
    overflow-x: hidden;
  }

  .scale-wrapper {
    display: block !important;
  }

  .design-root {
    width: 100% !important;
    transform: none !important;
  }

  /* Fix ALL sections that were using fixed width */
  .container,
  .hero .inner,
  .record .inner,
  .measured .inner,
  .footer .inner {
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

    .nav {
    width: 100% !important;
    transform: none !important;
    position: relative !important;
    height: auto !important;
    padding: 12px 16px !important;
  }

  /* ===== NAV RIGHT GROUP ===== */

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
 /* ===== NAV MOBILE ===== */

 .nav-menu {
    display: none;
    flex-direction: column;
  }

  .nav-menu.active {
    display: flex;
  }
  
.menu-toggle {
  font-size: 22px;
  color: white;
  cursor: pointer;
  margin-right: 10px;
}

.menu-toggle {
  display: block;
}

/* hide desktop menu */
.nav nav {
  display: none !important;
}

/* keep layout clean */
.nav .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

  .nav .brand img {
    height: 32px !important;
  }

  
  /* ===== NAV BUTTON MOBILE FIX ===== */

.btn-contact {
  display: none !important;
}

  /* ===== REMOVE WHITE GAP UNDER NAV ===== */

.nav {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.hero {
  margin-top: -1px !important;
}

.hero {
  display: block !important;
  padding-top: 0 !important;
}

/* 🔥 this is the real fix */
body {
  background: #1d1545; /* or match your hero bg */
}

/* ===== MOBILE MENU ===== */


.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--blue);
  padding: 16px;
  gap: 14px;
   position:fixed;
  top: 43px;
  left: 0;
  width: 100%;
   z-index: 2000;
   /* 🔥 ADD THIS */
  max-height: calc(100vh - 64px);
  overflow-y: auto;
transform: none !important; 
transform-origin: top left;   /* ✅ ADD THIS */
}

.mobile-menu a {
  color: rgb(255, 255, 255);
  font-size: 16px;
}

/* 🔥 CONTACT BUTTON STYLE INSIDE MENU */
.mobile-contact {
  display: block;
  width: 100%;

  background: #d2bd82;
  color: #ffffff;

  padding: 14px;
  border-radius: 30px;

  text-align: center;
  font-weight: 600;
  font-size: 16px;
}

.mobile-menu {
  padding: 24px 16px 20px;
}

.mobile-menu.is-active {
  display: flex !important;
}

 /* ===== HERO PERFECT CENTER ===== */

.hero {
  display: flex !important;
  align-items: center !important;     /* vertical center */
  min-height: 100vh;                  /* full screen height */
}

.hero .inner {
  padding: 0 16px !important;         /* remove top push */
}

  .hero .copy {
    width: 100% !important;
  }

  .hero .title {
    font-size: 24px !important;
  }

  .hero .desc {
    width: 100% !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  .hero .cta {
    font-size: 14px !important;
    padding: 12px 16px !important;
  }

    .record {
    padding: 50px 0 !important;
  }

  .record h2 {
    font-size: 22px !important;
  }

  .record p.top,
  .record p.bottom {
    width: 100% !important;
    font-size: 14px !important;
  }

  .stats {
    width: 100% !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }

  .stat {
    border: none !important;
    text-align: center;
  }

    .slider {
    width: 100% !important;
  }

  .t-card {
    flex: 0 0 85% !important;
    height: auto !important;
  }
    .measured h2 {
    font-size: 22px !important;
  }

  .measured p {
    width: 100% !important;
    font-size: 14px !important;
  }

    .awards .row {
    width: 50% !important;
    gap: 8px !important;
  }

  .awards img {
    width: 50% !important;
  }

    .news-grid {
    width: 100% !important;
    grid-template-columns: 1fr !important;
  }

  .news-card {
    min-height: auto !important;
  }

  .news-card h3 {
    font-size: 18px !important;
  }

    .firm-chooser .inner {
    padding: 0 16px !important;
  }

.firm-chooser .switch {
  display: flex;
  flex-direction: column;   /* 🔥 stack vertically */
  align-items: center;      /* center the cards */
  gap: 16px;

  overflow: visible;        /* 🔥 remove horizontal scroll */
  padding: 0 16px;
}


/* ===== FIX FIRM SELECTOR CUTTING ===== */

.firm-btn {
  width: 100% !important;
  max-width: 420px;         /* 🔥 keeps it nice and centered */

  height: auto !important;
  padding: 20px 16px !important;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  overflow: visible !important;
}

.firm-btn .firm-logo,
.firm-btn .brand img.logo {
  width: 160px !important;
  height: auto !important;
}

.firm-btn .label {
  font-size: 16px !important;
  text-align: center;
}

  .firm-cards {
    grid-template-columns: 1fr !important;
  }
/* ===== CENTER LEGAL CARDS ===== */

.firm-cards,
.news-grid,
.selection-container {
  display: flex !important;
  flex-direction: column;
  align-items: center;   /* 🔥 THIS centers everything */
  gap: 16px;
}

.firm-card,
.news-card,
.selection-card {
  width: 90% !important;     /* gives side spacing */
  max-width: 420px;          /* keeps it clean */
  margin: 0 auto;            /* extra safety centering */
}

.container,
  .section,
  .wrapper {
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
  }

  h1, h2, h3, p {
    max-width: 100%;
    word-wrap: break-word;
  }

    h1 {
    font-size: 28px;
    line-height: 1.3;
  }

  h2 {
    font-size: 22px;
  }

   /* ===== FIX NEXT STEP SECTION ===== */

.next-step-bg {
  padding: 60px 0 0 !important;
}

/* TITLE */
.next-step-bg .title {
  padding: 0 16px !important;
  font-size: 26px !important;
  line-height: 1.3;
}

/* SUBTITLE (THIS FIXES YOUR VERTICAL TEXT ISSUE) */
.next-step-bg .subtitle {
  margin: 16px 16px 0 !important;   /* 🔥 remove 240px margin */
  padding-bottom: 60px !important;

  max-width: 100% !important;
  font-size: 14px !important;
  line-height: 1.6 !important;

  text-align: left;
}

/* INNER CONTAINER */
.next-step .inner {
  padding: 0 16px !important;
}

/* PARAGRAPH */
.next-step p {
  width: 100% !important;          /* 🔥 remove 840px */
  font-size: 14px !important;
  line-height: 1.6;
}

/* FORM LAYOUT */
.subscribe {
  flex-direction: column !important;
  gap: 10px;
}

/* INPUT */
.subscribe input {
  width: 100% !important;          /* 🔥 remove 580px */
  height: 48px;
  font-size: 14px;
  border-radius: 6px;
}

/* BUTTON */
.subscribe button {
  width: 100% !important;
  height: 48px;
  border-radius: 6px;
}

  .footer .inner {
    flex-direction: column !important;
    gap: 24px !important;
    padding: 30px 16px !important;
  }

  .footer .brand-block,
  .footer .col,
  .footer .col.practice,
  .footer .col.faq {
    width: 100% !important;
    min-width: 0 !important;
  }

  .footer .links.footer-practice-links {
    grid-template-columns: 1fr !important;
    text-align: left !important;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    padding: 16px !important;
    text-align: center;
  }

/* =========================================
FORECASTING & BUDGETING – MOBILE (STRUCTURED SYSTEM)
========================================= */


  /* =====================
  GLOBAL
  ===================== */
  .business-forecasting-budgeting-page{
    width: 100%;
  }

  /* =====================
  INNER FIX
  ===================== */
  .business-forecasting-budgeting-page .acc-hero .inner,
  .business-forecasting-budgeting-page .acc-shell .inner,
  .business-forecasting-budgeting-page .acc-banner .inner,
  .business-forecasting-budgeting-page .acc-assessment .inner,
  .business-forecasting-budgeting-page .acc-judgement .inner{
    max-width: 100% !important;
    padding: 0 16px !important;
  }

  /* =====================
  HERO
  ===================== */
  .business-forecasting-budgeting-page .acc-hero{
    height: 200px;
    display: flex;
    align-items: flex-end;
  }

  .business-forecasting-budgeting-page .acc-hero h1{
    font-size: 24px !important;
    line-height: 1.3;
  }

  .business-forecasting-budgeting-page .acc-hero p{
    font-size: 14px !important;
    line-height: 1.6;
  }

  /* =====================
  NAV
  ===================== */
  .business-forecasting-budgeting-page .acc-topnav{
    gap: 10px !important;
    margin-bottom: 18px !important;
  }

  .business-forecasting-budgeting-page .crumb{
    font-size: 13px !important;
    max-width: 48%;
  }

  /* =====================
  CARD
  ===================== */
  .business-forecasting-budgeting-page .acc-card{
    padding: 26px 0 34px !important;
  }

  /* WIDTH FIX */
  .business-forecasting-budgeting-page .acc-intro,
  .business-forecasting-budgeting-page .acc-softbox,
  .business-forecasting-budgeting-page .acc-expand{
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* =====================
  TYPOGRAPHY (STRUCTURED)
  ===================== */
  .business-forecasting-budgeting-page .acc-intro h2,
  .business-forecasting-budgeting-page .acc-softbox h3,
  .business-forecasting-budgeting-page .acc-expand h3{
    font-size: 18px !important;
    line-height: 1.3;
    margin-bottom: 12px;
  }

  .business-forecasting-budgeting-page .acc-intro p{
    font-size: 14px !important;
    line-height: 1.65;
  }

  /* =====================
  LINK GRID
  ===================== */
  .business-forecasting-budgeting-page .acc-linkgrid{
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  .business-forecasting-budgeting-page .acc-linkgrid a{
    font-size: 13px !important;
    line-height: 1.45;
  }

  /* =====================
  EXPAND
  ===================== */
  .business-forecasting-budgeting-page .acc-expand{
    margin-top: 16px;
  }

  .business-forecasting-budgeting-page .acc-expand__summary > div{
    padding: 18px 16px 10px !important;
  }

  .business-forecasting-budgeting-page .acc-expand__summary p{
    font-size: 13px !important;
    line-height: 1.6;
    margin-top: 8px;
  }

  .business-forecasting-budgeting-page .acc-expand__body{
    padding: 0 16px !important;
  }

  .business-forecasting-budgeting-page .acc-expand.is-open .acc-expand__body{
    padding: 12px 16px !important;
  }

  .business-forecasting-budgeting-page .acc-expand__body p,
  .business-forecasting-budgeting-page .acc-expand__body li,
  .business-forecasting-budgeting-page .acc-expand__body h4{
    font-size: 13px !important;
    line-height: 1.6;
  }

  .business-forecasting-budgeting-page .acc-expand__body p{
    margin-bottom: 12px;
  }

  .business-forecasting-budgeting-page .acc-expand__body ul{
    margin: 10px 0 14px;
  }

  .business-forecasting-budgeting-page .acc-toggle{
    margin: 12px 16px 16px !important;
    font-size: 13px;
  }

  /* =====================
  METHOD
  ===================== */
  .business-forecasting-budgeting-page .acc-method__grid{
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .business-forecasting-budgeting-page .acc-method__arrow{
    display: none !important;
  }

  .business-forecasting-budgeting-page .acc-method__item h4{
    font-size: 14px !important;
  }

  .business-forecasting-budgeting-page .acc-method__item p{
    font-size: 13px !important;
  }

  /* =====================
  SPACING (STRUCTURED BALANCE)
  ===================== */
  .business-forecasting-budgeting-page .acc-softbox,
  .business-forecasting-budgeting-page .acc-expand,
  .business-forecasting-budgeting-page .acc-method,
  .business-forecasting-budgeting-page .acc-other{
    margin-top: 20px !important;
  }

  .business-forecasting-budgeting-page .acc-softbox{
    padding: 20px 16px !important;
  }

  .business-forecasting-budgeting-page .acc-expand + .acc-expand{
    margin-top: 16px !important;
  }

  /* =====================
  BANNER
  ===================== */
  .business-forecasting-budgeting-page .acc-banner{
    padding: 42px 0 !important;
  }

  .business-forecasting-budgeting-page .acc-banner h2{
    font-size: 18px !important;
  }

  .business-forecasting-budgeting-page .acc-banner p{
    font-size: 14px !important;
  }

  /* =====================
  ASSESSMENT
  ===================== */
  .business-forecasting-budgeting-page .acc-assessment{
    padding: 34px 0 !important;
  }

  .business-forecasting-budgeting-page .acc-assessment p{
    width: 100% !important;
    font-size: 14px !important;
    line-height: 1.65;
  }

  /* CTA */
  .business-forecasting-budgeting-page .acc-assessment__btn{
    width: 100%;
    max-width: 300px;
    margin: 20px auto 0;

    padding: 14px 20px !important;
    font-size: 16px !important;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }

  .business-forecasting-budgeting-page .acc-assessment__btn .arrow{
    width: 14px;
    height: 14px;
  }

  /* =====================
  JUDGEMENT
  ===================== */
  .business-forecasting-budgeting-page .acc-judgement .inner{
    min-height: 120px;
    font-size: 16px !important;
    text-align: center;
  }

}