[data-case-modal][aria-hidden="true"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

html body .mobile-contact-dock {
  display: none;
}

html body .home-proof-title-mobile {
  display: none;
}

@media (max-width: 767px) {
  :root {
    --mobile-section-space: 36px;
  }

  html,
  html body {
    overflow-x: visible !important;
  }

  html body {
    padding-bottom: calc(82px + env(safe-area-inset-bottom)) !important;
  }

  html body .mobile-contact-dock {
    position: fixed !important;
    z-index: 140 !important;
    right: 12px !important;
    bottom: max(10px, env(safe-area-inset-bottom)) !important;
    left: 12px !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    max-width: 420px !important;
    margin-inline: auto !important;
    padding: 7px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid rgba(15, 34, 71, 0.12) !important;
    border-radius: 18px !important;
    box-shadow: 0 14px 36px rgba(7, 24, 70, 0.18) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
  }

  html body .mobile-contact-dock__action {
    display: flex !important;
    min-width: 0 !important;
    min-height: 54px !important;
    gap: 9px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 12px !important;
    border: 1px solid rgba(15, 34, 71, 0.13) !important;
    border-radius: 13px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-decoration: none !important;
  }

  html body .mobile-contact-dock__action--whatsapp {
    color: #176b46 !important;
    background: #f3fbf7 !important;
    border-color: rgba(23, 107, 70, 0.2) !important;
  }

  html body .mobile-contact-dock__action--call {
    color: #ffffff !important;
    background: #0f2247 !important;
    border-color: #0f2247 !important;
  }

  html body .mobile-contact-dock__icon {
    display: grid !important;
    width: 34px !important;
    height: 34px !important;
    flex: 0 0 34px !important;
    place-items: center !important;
    background: rgba(255, 255, 255, 0.76) !important;
    border-radius: 50% !important;
  }

  html body .mobile-contact-dock__icon svg {
    width: 20px !important;
    height: 20px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.8 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
  }

  html body:is(.mobile-menu-open, .modal-open) .mobile-contact-dock {
    display: none !important;
  }

  html body main#main > .hero#top {
    padding-bottom: 20px !important;
  }

  html body main#main > .lead-approach#approach { order: 3 !important; }
  html body main#main > #services { order: 4 !important; }

  html body main#main > :is(.industries, .process-section) {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    border: 0 !important;
  }

  html body main#main > :is(.industries, .process-section)::before,
  html body main#main > :is(.industries, .process-section)::after {
    display: none !important;
    content: none !important;
  }

  html body .section-watermark:not(.watermark-hero) {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
  }

  html body .hero#top > .watermark-hero {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: clamp(180px, 56vw, 220px) !important;
    max-width: calc(100% - 40px) !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 2 / 1 !important;
    margin: 24px auto 20px !important;
    overflow: visible !important;
    color: #d6ae3a !important;
    line-height: 0 !important;
  }

  html body .hero#top #hero-title {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  html body .hero#top #hero-title :is(.headline-main, .headline-support) {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    font-size: clamp(27px, 8.55vw, 36px) !important;
    line-height: 1.06 !important;
    letter-spacing: -0.045em !important;
    white-space: normal !important;
    text-wrap: initial !important;
  }

  html body .hero#top #hero-title .headline-platform-line,
  html body .hero#top #hero-title .headline-meta-line {
    display: inline !important;
    white-space: nowrap !important;
  }

  html body .hero#top #hero-title .headline-support {
    margin-top: 4px !important;
  }

  html body .hero#top #hero-title .headline-support > span.headline-conversion-line,
  html body .hero#top #hero-title .headline-support > span.headline-lead-line {
    display: block !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  html body .hero#top #hero-title .headline-dot {
    display: none !important;
  }

  html body .hero#top .home-hero-principles > div,
  html body .hero#top .home-hero-principles strong {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  html body .hero#top .home-hero-principles strong {
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }

  html body main#main > .home-industry-summary {
    display: grid !important;
    width: calc(100% - 40px) !important;
    grid-template-columns: 10px minmax(0, 1fr) !important;
    order: 7 !important;
    gap: 14px !important;
    align-items: center !important;
    margin: 0 auto !important;
    padding: 18px 20px !important;
    color: #68748a !important;
    background: linear-gradient(90deg, #fff9e8, rgba(255, 255, 255, 0)) !important;
    border-block: 1px solid rgba(214, 174, 58, 0.28) !important;
  }

  html body .home-industry-summary__accent {
    width: 7px !important;
    height: 7px !important;
    background: #d6ae3a !important;
    border-radius: 50% !important;
    box-shadow: 0 0 0 5px rgba(214, 174, 58, 0.13) !important;
  }

  html body .home-industry-summary p {
    margin: 0 !important;
    color: #68748a !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  html body .lead-approach#approach .journey-flow {
    gap: 12px !important;
  }

  html body .footer-contact .footer-contact-grid {
    gap: 16px !important;
  }

  html body .footer-main {
    padding-top: 32px !important;
    padding-bottom: 24px !important;
  }

  html body .footer-main .footer-main-grid {
    gap: 16px !important;
  }

  html body .footer-main .footer-brand {
    order: 1 !important;
  }

  html body .footer-main .footer-main-grid > .footer-col.footer-contact-column {
    order: 2 !important;
  }

  html body .footer-main .footer-main-grid > .footer-col.footer-navigation {
    order: 3 !important;
  }

  html body .footer-main .footer-main-grid > .footer-col.footer-legal {
    order: 4 !important;
  }

  html body .footer-accordion {
    margin: 0 !important;
    padding: 0 !important;
    border-top: 1px solid rgba(15, 34, 71, 0.1) !important;
    border-bottom: 0 !important;
  }

  html body .footer-accordion-summary {
    display: flex !important;
    min-height: 52px !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    cursor: pointer !important;
    list-style: none !important;
  }

  html body .footer-accordion-summary::-webkit-details-marker {
    display: none !important;
  }

  html body .footer-accordion-summary::marker {
    content: "";
  }

  html body .footer-accordion-summary::after {
    color: #bd8d42 !important;
    content: "+" !important;
    font-size: 22px !important;
    line-height: 1 !important;
  }

  html body .footer-accordion[open] > .footer-accordion-summary::after {
    content: "−" !important;
  }

  html body .footer-accordion-summary h3 {
    margin: 0 !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
  }

  html body .footer-accordion > ul {
    padding-bottom: 8px !important;
  }

  html body .footer-main .footer-contact-column {
    padding-bottom: 4px !important;
  }

  html body .footer-main .footer-contact-column > h3 {
    margin: 0 0 8px !important;
  }

  html body .footer-main .footer-socials {
    margin-top: 14px !important;
  }

  html body .footer-bottom .container {
    padding-block: 14px !important;
  }
}

@media (min-width: 376px) and (max-width: 430px) {
  html body .hero#top .home-hero-principles {
    gap: 6px !important;
  }

  html body .hero#top .home-hero-principles > div,
  html body .hero#top .home-hero-principles > div + div {
    grid-template-columns: minmax(0, 1fr) !important;
    justify-items: center !important;
    gap: 6px !important;
    padding: 8px 5px !important;
    text-align: center !important;
  }

  html body .hero#top .home-principle-icon {
    width: 30px !important;
    height: 30px !important;
  }

  html body .hero#top .home-hero-principles strong {
    width: 100% !important;
    font-size: 11.5px !important;
    line-height: 1.22 !important;
  }
}

@media (min-width: 768px) {
  html body .footer-accordion-summary {
    cursor: default;
    list-style: none;
  }

  html body .footer-accordion-summary::-webkit-details-marker {
    display: none;
  }

  html body .footer-accordion-summary::marker {
    content: "";
  }
}

/* Final mobile Hero refinements: compact brand mark and proof grid. */
@media (max-width: 767px) {
  html body .hero#top > .watermark-hero {
    width: clamp(170px, 49vw, 200px) !important;
    max-width: calc(100% - 40px) !important;
    height: auto !important;
    aspect-ratio: 2 / 1 !important;
    margin: 2px auto 4px !important;
  }

  html body .hero#top .home-hero-values {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 12px !important;
    row-gap: 18px !important;
    margin-top: 16px !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
  }

  html body .hero#top .home-hero-values > li,
  html body .hero#top .home-proof-link {
    min-height: 0 !important;
    gap: 8px !important;
    padding: 4px 8px !important;
  }

  html body .hero#top .home-hero-values > li {
    height: 100% !important;
  }

  html body .hero#top .home-hero-values > li.has-link {
    padding: 0 !important;
  }

  html body .hero#top .home-proof-link {
    height: 100% !important;
  }

  html body .hero#top .home-proof-icon {
    width: 40px !important;
    height: 40px !important;
    flex: 0 0 40px !important;
    border-radius: 11px !important;
  }

  html body .hero#top .home-proof-icon svg {
    width: 22px !important;
    height: 22px !important;
  }

  html body .hero#top .home-proof-logo img {
    width: 28px !important;
    height: 28px !important;
  }

  html body .hero#top .home-proof-copy strong {
    min-height: 0 !important;
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
    letter-spacing: -0.025em !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }

  html body .hero#top .hero-media {
    width: 230px !important;
    max-width: 230px !important;
    margin: 18px auto 0 !important;
  }

  html body .hero#top .hero-photo {
    width: 230px !important;
    height: 230px !important;
    border-radius: 20px !important;
  }

  html body .hero#top .home-hero-values {
    grid-auto-rows: 1fr !important;
    column-gap: 14px !important;
    row-gap: 18px !important;
    margin-top: 12px !important;
  }

  html body .hero#top .home-hero-values > li {
    display: grid !important;
    min-height: 76px !important;
    grid-template-columns: 44px minmax(0, 1fr) !important;
    gap: 10px !important;
    align-items: center !important;
    padding: 8px 6px !important;
    background: #fbfcfe !important;
    border: 1px solid rgba(15, 34, 71, 0.1) !important;
    border-radius: 14px !important;
    box-shadow: 0 7px 18px rgba(7, 24, 70, 0.045) !important;
  }

  html body .hero#top .home-hero-values > li.has-link {
    display: block !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  html body .hero#top .home-proof-link {
    display: grid !important;
    min-height: 76px !important;
    grid-template-columns: 44px minmax(0, 1fr) !important;
    gap: 10px !important;
    align-items: center !important;
    padding: 8px 6px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  html body .hero#top .home-proof-icon {
    width: 44px !important;
    height: 44px !important;
    flex: 0 0 44px !important;
    border-radius: 12px !important;
  }

  html body .hero#top .home-proof-icon svg {
    width: 22px !important;
    height: 22px !important;
  }

  html body .hero#top .home-proof-logo img {
    width: 30px !important;
    height: 30px !important;
  }

  html body .hero#top .home-proof-title-desktop {
    display: none !important;
  }

  html body .hero#top .home-proof-title-mobile {
    display: block !important;
  }

  html body .site-header .brand-text {
    grid-template-columns: 24px minmax(0, 1fr) !important;
    gap: 8px !important;
  }

  html body .site-header .brand-infinity {
    width: 24px !important;
    height: 14px !important;
  }

  html body .hero#top .hero-trust-label {
    color: var(--premium-gold-light, #9a6e22) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0.085em !important;
  }

  html body .hero#top .hero-trust-text,
  html body .hero#top .hero-trust-text .trust-dot {
    color: inherit !important;
  }
}

@media (max-width: 350px) {
  html body .hero#top .home-hero-values > li,
  html body .hero#top .home-proof-link {
    min-height: 108px !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: 44px auto !important;
    gap: 10px !important;
    align-items: start !important;
    padding: 10px !important;
  }

  html body .hero#top .home-proof-copy {
    width: 100% !important;
  }

  html body .site-header .brand-text {
    grid-template-columns: 24px !important;
    gap: 0 !important;
  }
}

/* Keep full client recommendations compact and readable on small screens. */
@media (max-width: 767px) {
  html body .testimonial-modal {
    align-items: flex-end !important;
    padding: 12px !important;
  }

  html body .testimonial-modal-panel {
    width: 100% !important;
    max-width: 100% !important;
    max-height: calc(100dvh - 24px) !important;
    padding: 28px 20px calc(24px + env(safe-area-inset-bottom)) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    border: 1px solid rgba(15, 34, 71, 0.14) !important;
    border-radius: 18px !important;
  }

  html body .testimonial-modal-kicker {
    display: block !important;
    margin: 0 52px 18px 0 !important;
    color: var(--premium-gold, #76500f) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    letter-spacing: 0.11em !important;
    text-transform: uppercase !important;
  }

  html body .testimonial-modal-author {
    display: flex !important;
    gap: 12px !important;
    align-items: center !important;
    margin-bottom: 16px !important;
  }

  html body .testimonial-modal-author .testimonial-logo {
    width: 48px !important;
    height: 48px !important;
    flex: 0 0 48px !important;
    border-radius: 13px !important;
  }

  html body .testimonial-modal-author .testimonial-logo-print img {
    width: 40px !important;
    height: 40px !important;
  }

  html body .testimonial-modal-author-note {
    color: var(--premium-gold, #76500f) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
  }

  html body .testimonial-modal h3 {
    margin: 0 52px 5px 0 !important;
    color: var(--premium-navy, #0f2247) !important;
    font-size: 26px !important;
    line-height: 1.15 !important;
  }

  html body .testimonial-modal-subtitle {
    margin: 0 0 20px !important;
    color: var(--site-muted, #5e6878) !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
  }

  html body .testimonial-modal blockquote {
    margin: 0 !important;
    padding: 20px 0 0 !important;
    color: var(--site-text, #46536a) !important;
    border-top: 1px solid rgba(15, 34, 71, 0.12) !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.62 !important;
    white-space: pre-line !important;
  }

  html body .testimonial-modal-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
    margin-top: 22px !important;
  }

  html body .testimonial-modal-tags span {
    padding: 7px 10px !important;
    color: var(--premium-navy, #0f2247) !important;
    border: 1px solid rgba(22, 60, 120, 0.22) !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
  }
}
