/* =========================================================
   RESPONSIVE RULES ONLY — Mobile-first breakpoints
   1200 / 992 / 768 / 576 / 375
   ========================================================= */

/* -------- <=1200px -------- */
@media (max-width:1200px) {
  .container {
    padding: 0 20px;
  }

  .main-nav ul {
    gap: 12px;
  }

  .main-nav a {
    font-size: 0.8rem;
    padding: 6px 2px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-actions .btn {
    padding: 8px 12px;
    font-size: 0.78rem;
  }

  /* Process Split on laptops */
  .process-split-ref {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .process-card-ref {
    flex-wrap: wrap;
    gap: 16px;
  }

  .process-steps-track {
    flex-wrap: wrap;
    gap: 12px;
  }

  /* Job search bar on laptops */
  .job-search-bar {
    grid-template-columns: 1.2fr 1fr 1fr 1fr auto;
    gap: 8px;
    padding: 16px;
  }

  .job-search-bar input,
  .job-search-bar select {
    padding: 10px 12px;
    font-size: 0.88rem;
    min-width: 0;
  }

  .services-icon-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
  }

  .industries-image-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .why-icons-row {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
  }

  .footer-top {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }

  .footer-top .footer-col:nth-child(5),
  .footer-top .footer-follow {
    display: none;
  }

  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Switch to mobile hamburger at 1080px to protect 1024px laptop/tablet screens */
@media (max-width: 1080px) {
  .site-header {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1300 !important;
  }

  .main-nav,
  .header-actions {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/* -------- <=992px -------- */
@media (max-width:992px) {

  .main-nav,
  .header-actions {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Hero */
  .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-hero-media {
    max-width: 480px;
  }

  .hero-exact-ref {
    min-height: calc(100vh - 75px) !important;
    min-height: calc(100dvh - 75px) !important;
    display: flex !important;
    align-items: center !important;
  }

  .hero-exact-ref .hero-container {
    min-height: calc(100vh - 75px) !important;
    min-height: calc(100dvh - 75px) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 40px 20px;
    width: 100%;
  }

  .hero-exact-ref .hero-text-col {
    max-width: 100%;
  }

  .hero-exact-ref .hero-bg-overlay {
    background: linear-gradient(90deg, #FAF8F5 0%, rgba(250, 248, 245, 0.95) 50%, rgba(250, 248, 245, 0.6) 80%, rgba(250, 248, 245, 0.4) 100%);
  }

  /* Help section */
  .help-grid-ref {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .help-card-split {
    flex-direction: column;
  }

  .help-card-media {
    width: 100%;
    aspect-ratio: 2 / 3;
    height: auto;
    max-height: 420px;
    min-height: auto;
  }

  .help-card-content {
    width: 100%;
    padding: 24px;
  }

  /* Services */
  .services-split {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .services-icon-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Industries */
  .industries-split {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .industries-image-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Why */
  .why-split-ref {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .why-text-ref {
    width: 100%;
  }

  .why-divider-line {
    display: none;
  }

  .why-badges-row {
    width: 100%;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  /* Process */
  .process-split-ref {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .process-card-ref {
    flex-direction: column;
    align-items: flex-start;
  }

  .process-steps-track {
    flex-wrap: wrap;
    gap: 12px;
  }

  /* Legacy layouts */
  .intro-grid,
  .pathways,
  .about-story-grid,
  .vm-grid,
  .contact-grid,
  .contact-main-grid {
    grid-template-columns: 1fr;
  }

  .contact-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-faq-grid {
    grid-template-columns: 1fr;
  }

  .intro-media {
    order: -1;
  }

  .intro-media img {
    height: 300px;
  }

  .service-row,
  .service-row.reverse {
    grid-template-columns: 1fr;
  }

  .service-row.reverse .service-media {
    order: 0;
  }

  .service-media {
    height: 280px;
  }

  .services-grid-mini {
    grid-template-columns: repeat(2, 1fr);
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }

  .value-grid,
  .culture-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-prebar-container {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .footer-prebar-text {
    max-width: 100%;
  }

  .footer-prebar-form {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .ecosystem-wrap {
    max-width: 560px;
    height: 560px;
  }

  .ecosystem-node {
    transform: rotate(calc(var(--angle) * 1deg)) translate(230px) rotate(calc(var(--angle) * -1deg)) translate(-50%, -50%);
  }

  .jobs-layout {
    grid-template-columns: 1fr;
  }

  .jobs-filters {
    position: static;
    display: none;
    max-height: none;
    overflow-y: visible;
  }

  .jobs-filters.open {
    display: block;
  }

  .filter-toggle-btn {
    display: inline-flex;
    margin-bottom: var(--space-sm);
  }

  .job-search-bar {
    grid-template-columns: 1fr 1fr;
    margin-top: var(--space-sm);
  }

  .industry-trust-strip,
  .training-trust-strip,
  .training-pedagogy-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 0;
    margin-bottom: 24px;
    gap: 14px;
  }

  .training-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .training-corporate-grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 24px;
    align-items: center;
  }

  .training-corporate-title {
    font-size: 1.55rem;
  }

  .training-corporate-banner {
    padding: 32px 24px;
  }

  .industry-assurance-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .industry-detail,
  .industry-detail.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 38px 0;
  }

  .industry-detail.reverse .industry-detail-media {
    order: 0;
  }

  .industry-detail-media img {
    height: 320px;
  }
}

/* -------- <=768px -------- */
@media (max-width:768px) {
  .section {
    padding: 42px 0;
  }

  .section-tight {
    padding: 28px 0;
  }

  h1 {
    font-size: 2.1rem !important;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .hero-exact-ref {
    min-height: calc(100vh - 72px) !important;
    min-height: calc(100dvh - 72px) !important;
    display: flex !important;
    align-items: center !important;
  }

  .hero-exact-ref .hero-container {
    min-height: calc(100vh - 72px) !important;
    min-height: calc(100dvh - 72px) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 56px 36px !important;
    width: 100%;
  }

  .hero-exact-ref .hero-bg-overlay {
    background: linear-gradient(180deg, rgba(250, 248, 245, 0.96) 0%, rgba(250, 248, 245, 0.92) 55%, rgba(250, 248, 245, 0.85) 100%);
  }

  .hero-exact-ref .hero-tags-block {
    font-size: 0.8rem;
  }

  .hero-exact-ref .hero-btn-group .btn {
    flex: 1;
    justify-content: center;
  }

  .page-hero {
    padding: 42px 0 45px;
  }

  /* Services icon grid */
  .services-icon-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Industries image grid */
  .industries-image-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Why icons */
  .why-icons-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-badges-row {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px 14px;
  }

  /* Process flows */
  .flow-step span {
    font-size: 0.65rem;
  }

  .flow-step-icon {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }

  .flow-arrow {
    font-size: 0.7rem;
  }

  .step-arrow {
    display: none !important;
  }

  .process-steps-track {
    flex-wrap: wrap !important;
    justify-content: center;
    gap: 12px;
  }

  .services-grid-mini {
    grid-template-columns: 1fr;
  }

  .industries-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .value-grid,
  .culture-grid {
    grid-template-columns: 1fr;
  }

  .process-track {
    flex-direction: column;
    gap: var(--space-md);
    align-items: flex-start;
  }

  .process-track::before {
    width: 1px;
    height: 100%;
    left: 26px;
    top: 0;
  }

  .process-step {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
  }

  .process-step .step-num {
    margin: 0;
  }

  /* HOW IT WORKS - Polished Mobile & Tablet Flow */
  .process-card-ref {
    padding: 24px 18px !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    border: 1px solid rgba(212, 175, 55, 0.25) !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
  }

  .process-pill {
    align-self: flex-start !important;
    margin-bottom: 2px !important;
  }

  .process-steps-track {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .step-inline {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 12px 14px !important;
    background: #FAF8F5 !important;
    border-radius: 10px !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: all 0.25s ease !important;
  }

  .step-inline:hover {
    background: #FFFDF9 !important;
    border-color: var(--gold-primary) !important;
    transform: translateX(3px) !important;
  }

  .step-badge {
    width: 38px !important;
    height: 38px !important;
    font-size: 0.95rem !important;
    flex-shrink: 0 !important;
    background: #FFFFFF !important;
    border: 1.5px solid rgba(212, 175, 55, 0.35) !important;
    color: var(--gold-premium) !important;
  }

  .step-inline span {
    font-family: var(--font-head) !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    color: #141B2D !important;
    line-height: 1.35 !important;
    text-align: left !important;
  }

  .step-arrow {
    display: none !important;
  }

  /* CTA - Polished Mobile Layout */
  .cta-section-ref {
    padding: 44px 0 !important;
  }

  .cta-bg-overlay {
    background: linear-gradient(180deg, rgba(250, 245, 235, 0.95) 0%, rgba(247, 240, 225, 0.98) 100%) !important;
  }

  .cta-container-ref {
    flex-direction: column !important;
    text-align: center !important;
    gap: 22px !important;
    padding: 0 16px !important;
  }

  .cta-text-wrap {
    max-width: 100% !important;
  }

  .cta-text-wrap h2 {
    font-size: 1.65rem !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    color: #141B2D !important;
    margin-bottom: 10px !important;
  }

  .cta-text-wrap p {
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
    color: #475569 !important;
  }

  .cta-actions-ref {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 380px !important;
    margin: 0 auto !important;
  }

  .cta-btn-white,
  .cta-btn-gold {
    width: 100% !important;
    padding: 13px 20px !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  /* Newsletter / Footer Prebar - Polished */
  .footer-prebar {
    padding: 40px 0 !important;
  }

  .footer-prebar-container {
    padding: 0 16px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 20px !important;
  }

  .footer-prebar-text {
    max-width: 100% !important;
  }

  .footer-prebar-text h4 {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    color: #FFFFFF !important;
    margin-bottom: 8px !important;
  }

  .footer-prebar-text p {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
    color: #94A3B8 !important;
    max-width: 480px !important;
    margin: 0 auto !important;
  }

  .footer-prebar-form {
    width: 100% !important;
    max-width: 420px !important;
    margin: 0 auto !important;
  }

  .footer-input-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
  }

  .footer-input-group input {
    width: 100% !important;
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1.5px solid rgba(212, 175, 55, 0.35) !important;
    border-radius: 10px !important;
    padding: 13px 16px !important;
    color: #FFFFFF !important;
    font-size: 0.9rem !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  .footer-input-group input:focus {
    border-color: var(--gold-primary) !important;
    background: rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 0 16px rgba(212, 175, 55, 0.25) !important;
  }

  .btn-footer-subscribe {
    width: 100% !important;
    background: var(--gold-primary) !important;
    color: #111622 !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 13px 20px !important;
    font-weight: 700 !important;
    font-size: 0.92rem !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: all 0.25s ease !important;
    box-sizing: border-box !important;
  }

  .btn-footer-subscribe:hover {
    background: var(--gold-premium) !important;
    transform: translateY(-2px) !important;
  }

  .ecosystem-wrap {
    display: none;
  }

  .ecosystem-grid-mobile {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: var(--space-lg);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .job-search-bar {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    padding-top: 48px;
    padding-bottom: 56px;
  }

  .footer-contact li:last-child {
    padding-bottom: 8px;
  }

  .footer-brand {
    padding-top: 8px;
  }

  .footer-brand .logo-img {
    height: 64px;
    max-width: 240px;
    margin-bottom: 4px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
  }
}

/* -------- <=576px -------- */
@media (max-width:576px) {
  .container {
    padding: 0 20px;
  }

  .hero-exact-ref {
    min-height: calc(100vh - 65px) !important;
    min-height: calc(100dvh - 65px) !important;
    display: flex !important;
    align-items: center !important;
  }

  .hero-exact-ref .hero-container {
    min-height: calc(100vh - 65px) !important;
    min-height: calc(100dvh - 65px) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 50px 28px !important;
    width: 100%;
  }

  .hero-exact-ref .hero-headline {
    font-size: 1.9rem !important;
  }

  .hero-exact-ref .hero-tags-row,
  .hero-exact-ref .hero-tags-pair {
    gap: 6px;
  }

  .hero-exact-ref .hero-tags-row span {
    font-size: 0.78rem;
  }

  .hero-exact-ref .hero-subtext {
    margin-bottom: 24px;
  }

  .hero-exact-ref .hero-btn-group {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .hero-exact-ref .hero-btn-group .btn {
    width: 100%;
    padding: 14px 24px;
    justify-content: center;
  }

  /* Help panels */
  .help-panel-img {
    height: 160px;
  }

  /* Why badges */
  .why-badges-row {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px 10px;
  }

  .why-badge-circle {
    width: 60px;
    height: 60px;
    font-size: 1.15rem;
    margin-bottom: 8px;
  }

  .why-badge-item span {
    font-size: 0.78rem;
    line-height: 1.3;
  }

  /* Process flows compact */
  .process-flow-steps {
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
  }

  .flow-arrow {
    display: none;
  }

  .flow-step {
    min-width: 70px;
    flex: 0 0 auto;
  }

  .step-indicator .step span {
    display: none;
  }

  /* Training trust strip */
  .training-trust-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .training-trust-card {
    padding: 14px 10px;
  }

  .training-trust-card .trust-icon {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
    margin-bottom: 8px;
  }

  .training-trust-card h5 {
    font-size: 0.85rem;
    margin-bottom: 4px;
  }

  .training-trust-card p {
    font-size: 0.75rem;
    line-height: 1.35;
  }

  .training-corporate-banner {
    padding: 24px 16px;
    border-radius: 14px;
  }

  .training-corporate-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .training-corporate-title {
    font-size: 1.35rem;
  }

  .training-corporate-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .training-highlights-card {
    padding: 18px 16px;
  }

  .job-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .job-card .btn {
    width: 100%;
    justify-content: center;
  }

  .job-search-bar {
    padding: 14px 10px;
    gap: 10px;
  }

  .job-search-bar input,
  .job-search-bar select,
  .job-search-bar button {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    font-size: 0.88rem;
  }

  .accordion-body-inner {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .form-card,
  .contact-form-panel {
    padding: var(--space-md);
  }

  .contact-cards-grid,
  .regional-hubs-grid,
  .contact-trust-bar {
    grid-template-columns: 1fr;
  }

  .footer-bottom-wrap {
    background: transparent !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding-bottom: 0 !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 6px !important;
    padding: 14px 12px !important;
  }

  .footer-bottom p {
    text-align: center !important;
    margin: 0 !important;
    line-height: 1.38 !important;
    font-size: 0.76rem !important;
    color: #94A3B8 !important;
  }

  .footer-bottom-links {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 3px 8px !important;
    text-align: center !important;
    padding: 0 !important;
  }

  .footer-bottom-links span {
    display: inline !important;
    color: rgba(212, 175, 55, 0.4) !important;
    font-size: 0.68rem !important;
  }

  .footer-bottom-links a {
    font-size: 0.75rem !important;
    color: #94A3B8 !important;
    padding: 1px 2px !important;
    display: inline-block !important;
  }

  .footer-bottom-links a:hover {
    color: var(--gold-light) !important;
  }

  .vm-card {
    padding: 24px 18px;
  }

  .value-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .value-item {
    padding: 20px 16px;
  }

  .process-card-ref {
    padding: 20px 16px;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
  }
}

/* -------- <=375px & 340px / 320px Small Mobile Horatio -------- */
@media (max-width:375px) {
  html, body {
    overflow-x: clip;
  }

  .container {
    padding: 0 10px;
  }

  .logo-img {
    height: 34px;
    max-width: 140px;
  }

  .footer-brand .logo-img {
    height: 46px;
    max-width: 170px;
  }

  .btn {
    padding: 10px 16px;
    font-size: 0.78rem;
  }

  .section-title {
    font-size: 1.45rem;
  }

  .hero-exact-ref {
    min-height: calc(100vh - 58px) !important;
    min-height: calc(100dvh - 58px) !important;
    display: flex !important;
    align-items: center !important;
  }

  .hero-exact-ref .hero-container {
    min-height: calc(100vh - 58px) !important;
    min-height: calc(100dvh - 58px) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 44px 24px !important;
    width: 100%;
  }

  .hero-exact-ref .hero-headline {
    font-size: 1.55rem !important;
    line-height: 1.25 !important;
  }

  .hero-exact-ref .hero-tags-block {
    padding: 6px 0;
    font-size: 0.78rem;
    margin-bottom: 18px;
  }

  .hero-exact-ref .hero-subtext {
    margin-bottom: 24px;
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .hero-exact-ref .hero-btn-group {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .hero-exact-ref .hero-btn-group .btn {
    width: 100%;
    padding: 13px 20px;
    justify-content: center;
  }

  .why-badges-row {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px 6px;
  }

  .why-badge-circle {
    width: 50px;
    height: 50px;
    font-size: 0.95rem;
    margin-bottom: 6px;
  }

  .why-badge-item span {
    font-size: 0.7rem;
    line-height: 1.2;
  }

  .industry-trust-strip,
  .training-trust-strip {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .training-corporate-banner {
    padding: 18px 12px;
  }

  .process-card-ref {
    padding: 14px 10px;
  }

  .process-steps-track {
    gap: 8px;
  }

  .step-inline {
    gap: 6px;
  }

  .step-inline span {
    font-size: 0.75rem;
  }

  .job-search-bar {
    padding: 10px 8px;
    gap: 8px;
  }

  .job-search-bar input,
  .job-search-bar select {
    padding: 10px 8px;
    font-size: 0.8rem;
  }

  .vm-card {
    padding: 18px 12px;
  }

  .value-item {
    padding: 16px 12px;
  }

  .footer-prebar-container {
    padding: 0;
  }

  .footer-brand {
    padding-top: 12px;
  }

  .footer-brand .logo-img {
    height: 54px;
    max-width: 200px;
  }

  .footer-bottom-links {
    gap: 3px 6px !important;
    font-size: 0.72rem !important;
    justify-content: center !important;
  }

  .footer-bottom-links a {
    font-size: 0.72rem !important;
    padding: 1px 2px !important;
  }
}

/* Services Page Responsive */
@media (max-width: 992px) {
  .services-trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .services-trust-card:nth-child(2) {
    border-right: none;
  }
  .practice-grid,
  .practice-grid.reverse {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .practice-grid.reverse .practice-media-wrap {
    order: -1;
  }
  .practice-media-img {
    height: 340px;
  }
  .models-grid,
  .lifecycle-steps-grid,
  .guarantee-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-jump-nav-wrap {
    top: 60px;
  }
}

@media (max-width: 576px) {
  .services-trust-grid {
    grid-template-columns: 1fr;
  }
  .services-trust-card {
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding-bottom: 12px;
  }
  .services-trust-card:last-child {
    border-bottom: none;
  }
  .practice-capabilities-grid {
    grid-template-columns: 1fr;
  }
  .models-grid,
  .lifecycle-steps-grid,
  .guarantee-grid {
    grid-template-columns: 1fr;
  }
  .practice-section {
    padding: 60px 0;
  }
  .practice-media-img {
    height: 260px;
  }
  .services-jump-btn {
    font-size: 0.76rem;
    padding: 6px 12px;
  }
}

/* Officers Showcase Responsive */
@media (max-width: 768px) {
  .officers-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* =========================================================
   Legal Pages & Sitemap Responsive Hardening
   ========================================================= */


@media (max-width: 992px) {
  .legal-layout {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    margin: 24px 0 40px !important;
  }

  .legal-sidebar {
    position: static !important;
    top: auto !important;
    width: 100% !important;
  }

  .legal-content {
    padding: 28px 20px !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .sitemap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px !important;
  }
}

@media (max-width: 768px) {
  .sitemap-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .sitemap-header-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
  }

  .sitemap-search-wrap {
    max-width: 100% !important;
    width: 100% !important;
  }

  .legal-sidebar {
    padding: 18px 16px !important;
  }

  .legal-content {
    padding: 22px 16px !important;
  }

  .legal-meta-banner {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    padding: 12px 14px !important;
  }

  .legal-grievance-grid {
    grid-template-columns: 1fr !important;
  }

  .legal-grievance-card {
    padding: 18px 16px !important;
  }
}

@media (max-width: 480px) {
  .legal-layout {
    margin: 16px 0 28px !important;
    gap: 16px !important;
  }

  .legal-sidebar {
    padding: 14px 12px !important;
  }

  .legal-content {
    padding: 18px 12px !important;
  }

  .legal-section h2 {
    font-size: 1.15rem !important;
  }

  .legal-section h3 {
    font-size: 0.95rem !important;
  }

  .legal-section p,
  .legal-section li {
    font-size: 0.86rem !important;
  }

  .legal-callout {
    padding: 12px 14px !important;
    font-size: 0.84rem !important;
  }

  .sitemap-card {
    padding: 16px 12px !important;
  }

  .sitemap-links-list li a {
    padding: 6px 8px !important;
    font-size: 0.82rem !important;
  }
}