@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;
  }


  /* =========================
  GLOBAL LOCK
  ========================= */
  html, body {
    width: 100%;
    overflow-x: hidden;
  }

  .commercial-construction-litigation-page,
  .design-root {
    width: 100% !important;
    transform: none !important;
  }

  /* =========================
  INNER FIX (CRITICAL)
  ========================= */
  .ccl-hero .inner,
  .ccl-shell .inner,
  .ccl-banner .inner,
  .ccl-assessment .inner,
  .ccl-judgement .inner {
    max-width: 100% !important;
    padding: 0 16px !important;
  }

  /* =========================
  HERO
  ========================= */
  .ccl-hero {
    height: 180px;
    display: flex;
    align-items: flex-end;
  }

  .ccl-hero h1 {
    font-size: 22px !important;
    line-height: 1.3;
  }

  .ccl-hero p {
    font-size: 14px !important;
    line-height: 1.5;
  }

  /* =========================
  CARD CONTAINER
  ========================= */
  .ccl-card {
    padding: 24px 0 32px !important;
  }

  /* 🔥 MOST IMPORTANT FIX */
  .ccl-intro,
  .ccl-softbox,
  .ccl-expand,
  .ccl-practice-detail {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* =========================
  TYPOGRAPHY SYSTEM
  ========================= */

  .ccl-intro h2,
  .ccl-softbox h3,
  .ccl-practice-detail h2 {
    font-size: 18px !important;
    line-height: 1.3;
  }

  .ccl-intro p {
    font-size: 14px !important;
    line-height: 1.6;
  }

  /* =========================
  LINK GRID (SUB PRACTICES)
  ========================= */
  .ccl-linkgrid {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  .ccl-linkgrid a {
    font-size: 13px !important;
    line-height: 1.4;
  }

  /* =========================
  EXPAND SECTION
  ========================= */
  .ccl-expand {
    margin-top: 16px;
  }

  .ccl-expand__summary > div {
    padding: 16px !important;
  }

  .ccl-expand__summary p {
    font-size: 13px !important;
    line-height: 1.5;
  }

  .ccl-expand__body {
    padding: 0 16px !important;
  }

  .ccl-expand.is-open .ccl-expand__body {
    padding: 10px 16px !important;
  }

  .ccl-expand__body p,
  .ccl-expand__body li {
    font-size: 13px !important;
    line-height: 1.5;
  }

  .ccl-toggle {
    margin: 12px 16px 16px !important;
    font-size: 13px;
  }

  /* =========================
  METHOD (BIG BREAK FIX)
  ========================= */
  .ccl-method__grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .ccl-method__arrow {
    display: none !important;
  }

  .ccl-method__item h4 {
    font-size: 14px !important;
  }

  .ccl-method__item p {
    font-size: 13px !important;
  }

  /* =========================
  BANNER
  ========================= */
  .ccl-banner {
    padding: 40px 0 !important;
  }

  .ccl-banner h2 {
    font-size: 18px !important;
  }

  .ccl-banner p {
    font-size: 14px !important;
  }

  /* =========================
  ASSESSMENT
  ========================= */
  .ccl-assessment {
    padding: 32px 0 !important;
  }

  .ccl-assessment p {
    width: 100% !important;
    font-size: 14px !important;
    line-height: 1.5;
  }

  .ccl-assessment__btn {
    font-size: 14px !important;
    padding: 12px 18px !important;
  }

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

  /* =========================
  NEXT STEP (REUSE YOUR FIX)
  ========================= */
  .next-step .inner {
    padding: 0 16px !important;
  }

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

  .subscribe {
    flex-direction: column !important;
    gap: 10px;
  }

  .subscribe input,
  .subscribe button {
    width: 100% !important;
    height: 48px;
    font-size: 14px;
  }


  .commercial-construction-litigation-page .ccl-topnav {
    gap: 10px !important;
    margin-bottom: 14px !important;
  }

  .commercial-construction-litigation-page .crumb {
    font-size: 13px !important;
    line-height: 1.3 !important;
    gap: 6px !important;
    max-width: 48% !important;
  }

  .commercial-construction-litigation-page .crumb-back::before,
  .commercial-construction-litigation-page .crumb-next::after {
    font-size: 16px !important;
  }

  .commercial-construction-litigation-page .crumb-back {
    text-align: left;
  }

  .commercial-construction-litigation-page .crumb-next {
    text-align: right;
  }

   
.commercial-construction-litigation-page .ccl-expand h3 {
    font-size: 20px !important;
    line-height: 1.3 !important;
  }
/* BIG headings inside (THIS IS YOUR ISSUE) */
  .ccl-expand__body h4 {
    font-size: 18px !important;
    line-height: 1.3 !important;
  }

 }   