.sb-mobile-hero, .sb-mobile-brand, .sb-mobile-menu-trigger, .sb-mobile-evidence, .sb-mobile-services { display: none; }
html[data-sb-language] body #sanbo-site[data-page="home"] .terminal-home .tm-evidence-grid > .sb-mobile-evidence { display: none; }

@media (max-width: 800px) {
  html { --sb-mobile-edge: max(12px, env(safe-area-inset-bottom)); }
  html[data-sb-language] body #sanbo-header.sb-header[data-sb-chrome] { padding-inline: 0; }
  body #sanbo-header.sb-header[data-sb-chrome] .sb-header-inner {
    display: flex; flex-wrap: nowrap; justify-content: space-between;
    width: 100%; min-height: 54px; height: auto; padding: 4px 16px; gap: 8px;
  }
  html[data-sb-language] body #sanbo-header.sb-header[data-sb-chrome] .sb-header-inner > .sb-brand { width: 65px; height: 39px; margin: 0; }
  html[data-sb-language] body #sanbo-header.sb-header[data-sb-chrome] :is(.sb-main-nav, .sb-contact) { display: none; }
  .sb-mobile-menu-trigger, .sb-mobile-menu-close {
    display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0;
    color: #f5f7f8; background: transparent; border: 1px solid #ffffff46; border-radius: 11px;
  }
  .sb-mobile-menu-trigger span {
    width: 17px; height: 12px; border-block: 1px solid currentColor;
    background: linear-gradient(currentColor,currentColor) center / 100% 1px no-repeat;
  }
  html:has(.sb-mobile-menu[open]) { overflow: hidden; }
  #sanbo-header .sb-mobile-menu[open] {
    position: fixed; inset: 0; box-sizing: border-box; width: 100%; max-width: none;
    height: 100dvh; max-height: none; margin: 0; border: 0;
    padding: max(14px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom));
    overflow: auto; overscroll-behavior: contain; background: #20262b; color: #f5f7f8;
    font: 400 15px/1.35 system-ui, sans-serif;
  }
  .sb-mobile-menu::backdrop { background: #101418b0; }
  #sanbo-header .sb-mobile-menu-bar {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    padding-bottom: 10px; border-bottom: 1px solid #ffffff24;
  }
  #sanbo-header .sb-mobile-menu-bar p { margin: 0; color: inherit; font-size: 23px; font-weight: 650; }
  #sanbo-header .sb-mobile-menu-bar form { margin: 0; }
  #sanbo-header .sb-mobile-menu-close { font: 400 27px/1 system-ui, sans-serif; }
  #sanbo-header .sb-mobile-menu-close:is(:hover,:focus) { color: #f5f7f8; background: #39434b; border-color: #9caeb8; }
  body #sanbo-header.sb-header[data-sb-chrome] .sb-mobile-menu nav { display: grid; gap: 0; margin-block: 7px 14px; }
  .sb-mobile-menu section { padding: 10px 0 7px; border-bottom: 1px solid #ffffff24; }
  #sanbo-header .sb-mobile-menu h2 { margin: 0 0 3px; color: #aebdc7; font: 700 11px/1.3 system-ui,sans-serif; letter-spacing: .1em; text-transform: uppercase; }
  .sb-mobile-menu ul { list-style: none; padding: 0; margin: 0; }
  #sanbo-header .sb-mobile-menu li a {
    display: flex; min-height: 35px; align-items: center; padding: 4px 6px;
    color: #f4f6f8; font: 500 15px/1.3 system-ui, sans-serif; text-decoration: none;
  }
  #sanbo-header .sb-mobile-menu a[aria-current="page"] { color: #fff; background: #39434b; border-radius: 7px; }
  #sanbo-header .sb-mobile-menu .sb-mobile-menu-quote {
    display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
    color: #20262b; background: #e4eaee; border-radius: 99px; font-weight: 650; text-decoration: none;
  }
  .sb-floating-language, .sb-mobile-whatsapp {
    position: fixed; z-index: 120; bottom: var(--sb-mobile-edge);
  }
  .sb-floating-language { right: max(12px, env(safe-area-inset-right)); }
  .sb-floating-language summary { min-height: 44px; padding-inline: 10px; border-color: #88949e; box-shadow: 0 3px 12px #0005; }
  .sb-floating-language .sb-language-caret { transform: rotate(180deg); }
  .sb-floating-language[open] .sb-language-caret { transform: none; }
  .sb-floating-language .sb-language-list { inset: auto 0 calc(100% + 7px) auto; }
  .sb-floating-language .sb-language-list a {
    display: flex; align-items: center; min-height: 40px; padding: 5px 10px;
    border-radius: 9px; color: #edf2f5; font: 14px/1.2 system-ui,sans-serif;
  }
  .sb-floating-language .sb-language-list a:is([aria-current], :focus-visible) { color: #fff; background: #424c55; }
  body .sb-mobile-whatsapp {
    left: max(12px, env(safe-area-inset-left)); right: auto; bottom: var(--sb-mobile-edge);
    width: 44px; height: 44px; color: #32dc71; border-color: #8997a1;
    background: repeating-linear-gradient(102deg,#ffffff08 0 1px,transparent 1px 4px),
      radial-gradient(circle at 45% 40%,#353e45,#1f272d 67%,#56626b);
    box-shadow: inset 0 1px 2px #ffffff36, 0 3px 11px #0006;
  }
  body .sb-mobile-whatsapp svg { width: 25px; height: 25px; }
  .sb-mobile-menu-trigger:focus-visible, .sb-mobile-menu-close:focus-visible,
  .sb-floating-language summary:focus-visible { outline: 2px solid #b6d4e4; outline-offset: 3px; }

  html[data-sb-language] #sanbo-site[data-page="home"] main > :is(.hero,.ic-material-intro) { display: none; }
  #sanbo-site[data-page="home"] .sb-mobile-hero {
    display: block; position: relative; overflow: hidden; background: #131619;
    color: #fff; padding-top: calc(var(--sb-language-header, 54px) + 22px);
  }
  #sanbo-site[data-page="home"] .sb-mobile-hero-copy { position: relative; z-index: 1; width: min(calc(100% - 32px), 32rem); margin: 0 auto -19px; }
  html[data-sb-language] #sanbo-site[data-page="home"] .sb-mobile-hero h1 {
    max-width: 21ch; margin: 0 0 8px; color: #f6f8fa;
    font: 660 clamp(25px, 6.6vw, 40px)/1.08 system-ui,sans-serif; letter-spacing: -.04em; text-wrap: balance;
  }
  html[data-sb-language] #sanbo-site[data-page="home"] .sb-mobile-hero p { max-width: 41ch; margin: 0 0 13px; color: #cad3d9; font: 400 14px/1.4 system-ui,sans-serif; }
  html[data-sb-language] #sanbo-site[data-page="home"] .sb-mobile-hero .sb-mobile-hero-kicker { margin-bottom: 7px; font-size: 10px; font-weight: 700; letter-spacing: .15em; color: #a8b8c2; }
  #sanbo-site[data-page="home"] .sb-mobile-hero a {
    display: inline-flex; align-items: center; min-height: 36px; padding: 0 13px;
    border: 1px solid #83929d; border-radius: 999px; color: #f6f8fa; background: #242a2e; font-size: 12px; font-weight: 650; text-decoration: none;
  }
  #sanbo-site[data-page="home"] .sb-mobile-hero picture { display: block; position: relative; width: min(100%, 42rem); margin: 0 auto; }
  #sanbo-site[data-page="home"] .sb-mobile-hero img { display: block; width: 100%; height: auto; filter: brightness(1.15); }
  #sanbo-site[data-page="home"] .sb-mobile-hero picture::after {
    position: absolute; inset: 0; content: ""; pointer-events: none;
    background: linear-gradient(#131619, transparent 34%);
  }

  html[data-sb-language] #sanbo-site[data-page="home"] .sb-featured { padding: 24px 16px; }
  #sanbo-site[data-page="home"] .sb-featured > header { margin-bottom: 14px; }
  html[data-sb-language] #sanbo-site[data-page="home"] .sb-featured-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  html[data-sb-language] #sanbo-site[data-page="home"] .sb-featured-card {
    position: relative; display: block; min-width: 0; min-height: 0; aspect-ratio: 1; padding: 0;
    border-radius: 13px; overflow: hidden; background: #eef1f4;
  }
  html[data-sb-language] #sanbo-site[data-page="home"] .sb-featured-photo { position: absolute; inset: 0; margin: 0; height: 100%; }
  html[data-sb-language] #sanbo-site[data-page="home"] .sb-featured-photo img { width: 100%; height: 100%; object-fit: cover; transform: none; }
  #sanbo-site[data-page="home"] .sb-featured-photo span { display: none; }
  html[data-sb-language] #sanbo-site[data-page="home"] .sb-featured-label {
    position: absolute; inset: auto 0 0; margin: 0; padding: 14px 8px 7px;
    color: #20272d; background: linear-gradient(transparent,#f6f8fa 42%);
    opacity: 1;
  }
  html[data-sb-language] #sanbo-site[data-page="home"] .sb-featured-label small { margin: 0 0 2px; font-size: 9px; }
  html[data-sb-language] #sanbo-site[data-page="home"] .sb-featured-label h3 {
    display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
    margin: 0 !important; color: inherit;
    font: 650 12px/1.18 system-ui,sans-serif !important;
  }
  #sanbo-site[data-page="home"] .sb-mobile-brand { display: block; padding: 22px 16px; background: #101316; color: #eef2f4; text-align: center; }
  #sanbo-site[data-page="home"] .sb-mobile-brand .ic-brand-logo { width: 58px; height: auto; margin: 0 auto 7px; }
  html[data-sb-language] #sanbo-site[data-page="home"] .sb-mobile-brand h2 { margin: 0 auto 14px; color: inherit; font-size: 19px; line-height: 1.18; }
  #sanbo-site[data-page="home"] .sb-mobile-brand .sb-triptych { display: grid; gap: 6px; }
  #sanbo-site[data-page="home"] .sb-mobile-brand .sb-journey-card {
    display: block; padding: 10px; background: #21272c; border-radius: 10px; color: inherit; text-align: start; text-decoration: none;
  }
  #sanbo-site[data-page="home"] .sb-mobile-brand :is(.sb-journey-front,.sb-journey-cta) { display: none; }
  #sanbo-site[data-page="home"] .sb-mobile-brand .sb-journey-number { color: #b4c2cd; font-size: 10px; }
  html[data-sb-language] #sanbo-site[data-page="home"] .sb-mobile-brand h3 { margin: 3px 0; color: inherit; font-size: 14px; line-height: 1.2; }
  #sanbo-site[data-page="home"] .sb-mobile-brand p { margin: 0; color: #c2ccd3; font-size: 12px; line-height: 1.35; }
  html[data-sb-language] #sanbo-site[data-page="home"] .tm-evidence-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  html[data-sb-language] #sanbo-site[data-page="home"] .tm-evidence-grid a { display: grid; min-height: 54px; padding: 6px 4px; place-items: center; text-align: center; font-size: 12px; line-height: 1.2; overflow-wrap: anywhere; }
  #sanbo-site[data-page="home"] .tm-evidence-grid a span { font-size: inherit; line-height: inherit; }
  html[data-sb-language] #sanbo-site[data-page="home"] .terminal-home :is(.tm-evidence,.tm-applications,.tm-planner,.tm-contact,.sb-mobile-services) {
    padding-block: 24px; min-height: 0; height: auto; margin-block: 0;
  }
  html[data-sb-language] #sanbo-site[data-page="home"] .terminal-home :is(.tm-evidence,.tm-applications,.tm-planner,.sb-mobile-services) .tm-intro {
    height: auto; min-height: 0; padding-block: 0; margin-bottom: 14px;
  }
  html[data-sb-language] #sanbo-site[data-page="home"] .terminal-home .tm-intro h2 { font-size: clamp(22px, 5.6vw, 32px); line-height: 1.13; }
  html[data-sb-language] #sanbo-site[data-page="home"] .terminal-home .tm-intro :is(.tm-kicker,.tm-lead) { margin: 0 0 7px; font-size: 13px; line-height: 1.35; }
  html[data-sb-language] body #sanbo-site[data-page="home"] .terminal-home .tm-evidence { padding-inline: 16px; }
  html[data-sb-language] body #sanbo-site[data-page="home"] .terminal-home .tm-evidence-grid {
    width: 100%; height: auto; padding: 0; margin: 0;
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
  html[data-sb-language] body #sanbo-site[data-page="home"] .terminal-home .tm-evidence-grid a {
    height: auto; min-height: 54px; padding: 6px 4px; font-size: 12px;
  }
  html[data-sb-language] body #sanbo-site[data-page="home"] .terminal-home .tm-evidence-grid > .sb-mobile-evidence { display: grid; }
  html[data-sb-language] #sanbo-site[data-page="home"] .terminal-home .tm-steps { display: none; }
  #sanbo-site[data-page="home"] .sb-mobile-services { display: block; padding-inline: 16px; }
  html[data-sb-language] #sanbo-site[data-page="home"] .terminal-home .sb-mobile-services .tm-step-copy { position: static; display: grid; height: auto; gap: 8px; }
  #sanbo-site[data-page="home"] .sb-mobile-service { padding: 11px; border: 1px solid #d2d9de; border-radius: 10px; }
  html[data-sb-language] #sanbo-site[data-page="home"] .sb-mobile-service h3 { margin: 0 0 4px; font-size: 15px; line-height: 1.2; }
  html[data-sb-language] #sanbo-site[data-page="home"] .sb-mobile-service .tm-reading { margin: 0; font-size: 13px; line-height: 1.35; }
  html[data-sb-language] #sanbo-site[data-page="home"] .terminal-home .tm-container { padding-inline: 16px; }
  html[data-sb-language] #sanbo-site[data-page="home"] .terminal-home :is(.tm-form-panel,.tm-planner-fields,.tm-summary) { padding: 14px; }
  html[data-sb-language] #sanbo-site[data-page="home"] .terminal-home :is(.tm-planner-grid,.tm-contact,.tm-fields) { gap: 10px; }
  html[data-sb-language] #sanbo-site[data-page="home"] .terminal-home :is(.tm-summary h3,.tm-planner-fields h3,.tm-app-copy h3,.tm-contact h2) { font-size: 19px; line-height: 1.16; }
  html[data-sb-language] #sanbo-site[data-page="home"] .terminal-home :is(.tm-contact p,.tm-summary p,.tm-app-copy p) { font-size: 13px; line-height: 1.34; }
  html[data-sb-language] body #sanbo-site[data-page="home"] .terminal-home .tm-app-card { height: 365px; }
  html[data-sb-language] body #sanbo-site[data-page="home"] .terminal-home .tm-app-copy { padding: 14px 14px 28px; }

  html[data-sb-language] body #sanbo-site[data-page]:not([data-page="home"]) main h1,
  html[data-sb-language] body .sb-about-hero h1 { font-size: clamp(24px, 6vw, 34px); line-height: 1.13; }
  html[data-sb-language] body #sanbo-site[data-page]:not([data-page="home"]) main h2,
  html[data-sb-language] body #sanbo-site[data-page="home"] .sb-featured h2,
  html[data-sb-language] body .ab h2 { font-size: clamp(18px, 4.8vw, 25px); line-height: 1.18; }
  html[data-sb-language] body #sanbo-site[data-page]:not([data-page="home"]) main h3,
  html[data-sb-language] body .ab h3 { font-size: clamp(14px, 3.8vw, 18px); line-height: 1.22; }
  html[data-sb-language] body #sanbo-site[data-page]:not([data-page="home"]) main p,
  html[data-sb-language] body #sanbo-site[data-page="home"] .sb-featured-lead,
  html[data-sb-language] body :is(.ab,.sb-about-hero) p { font-size: 14px; line-height: 1.38; }
  html[data-sb-language] body #sanbo-site[data-page]:not([data-page="home"]) main :is(.quality-card,.detail-panel,.contact-card) { padding: 13px; }
  html[data-sb-language] body #sanbo-site[data-page] main :is(.quality-section,.contact-section,.guide-section,.catalog-section,.sx-section,.tc-download,.tc-faq,.tc-newsletter),
  html[data-sb-language] body .ab .ab-section { margin-block: 0; padding-block: 19px; }
  html[data-sb-language] body #sanbo-site[data-page] main :is(.quality-hero,.contact-intro,.catalog-intro,.sx-mfg-hero,.tp-hero) { margin-bottom: 14px; }
  html[data-sb-language] body #sanbo-site[data-page] > main:is(.catalog-shell,.quality-shell) {
    padding-top: calc(var(--sb-language-header, 54px) + 19px);
    padding-bottom: 26px;
  }
  html[data-sb-language] body #sanbo-site[data-page] main .page-intro {
    padding-block: calc(var(--sb-language-header, 54px) + 18px) 24px;
  }
  html[data-sb-language] body #sanbo-site.sx[data-page] {
    padding-top: calc(var(--sb-language-header, 54px) + 17px);
  }
  html[data-sb-language] body #sanbo-site[data-page] main .sx-mfg-hero { padding-block: 10px 24px; }
  html[data-sb-language] body #sanbo-site[data-page="certifications"].tp-site main .tp-hero {
    height: auto; min-height: 0;
    padding: calc(var(--sb-language-header, 54px) + 30px) 16px 26px;
  }
  html[data-sb-language] body .sb-about-hero { height: min(60svh, 470px); min-height: 340px; }
  html[data-sb-language] body .sb-about-hero h1 { margin-block: 8px; }
  html[data-sb-language] body .ab .ab-intro { padding-block: 24px 18px; }
  html[data-sb-language] body #sanbo-site[data-page] main :is(.quality-split,.quality-grid,.contact-grid,.detail-overview,.related-grid,.catalog-grid,.sb-blog-grid,.sx-two) { gap: 10px; }
  html[data-sb-language] body #sanbo-site[data-page] main :is(.sb-blog-card h2,.sb-blog-body h2) { font-size: 17px; line-height: 1.2; }
  html[data-sb-language] body #sanbo-site[data-page] main .sb-blog-card .sb-blog-kicker { font-size: 10px; line-height: 1.2; }
  html[data-sb-language] body #sanbo-site[data-page] main .sb-blog-card .sb-blog-summary { font-size: 13px; line-height: 1.32; }
  html[data-sb-language] body #sanbo-site[data-page] main .sb-blog-body { padding: 15px; }
  html[data-sb-language] body #sanbo-site[data-page] main .sb-blog-body section + section { margin-top: 13px; padding-top: 13px; }
  html[data-sb-language] body #sanbo-site[data-page] main .sb-blog-body p { margin-bottom: 8px; }
  html[data-sb-language] body #sanbo-site[data-page] main .sb-blog-illustration { margin-block: 12px; }
  html[data-sb-language] body #sanbo-site[data-page] > .sb-blog-wrap { padding-bottom: 24px; }
  html[data-sb-language] body #sanbo-site[data-page] main :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) { font-size: 16px; }

  html[data-sb-language] body:has(#sanbo-header) #sanbo-footer.sb-footer[data-sb-chrome] .sb-footer-top {
    grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; padding: 15px 0 11px;
  }
  html[data-sb-language] body:has(#sanbo-header.sb-header) #sanbo-footer.sb-footer[data-sb-chrome] { padding: 23px 16px 0; }
  #sanbo-footer[data-sb-chrome] .sb-footer-cut { height: 16px; }
  html[data-sb-language] body:has(#sanbo-header) #sanbo-footer.sb-footer[data-sb-chrome] .sb-footer-mark { grid-column: 1 / 2; align-self: center; }
  html[data-sb-language] body:has(#sanbo-header) #sanbo-footer.sb-footer[data-sb-chrome] .sb-footer-top .sb-brand { width: 62px; height: 38px; }
  html[data-sb-language] body:has(#sanbo-header) #sanbo-footer.sb-footer[data-sb-chrome] .sb-footer-brand { grid-column: 2 / -1; border: 0; padding: 0 0 6px; }
  html[data-sb-language] body:has(#sanbo-header) #sanbo-footer.sb-footer[data-sb-chrome] .sb-footer-brand h2 { max-width: none; margin: 0 0 3px; font-size: 16px; line-height: 1.16; }
  html[data-sb-language] body:has(#sanbo-header) #sanbo-footer.sb-footer[data-sb-chrome] .sb-footer-brand p { font-size: 11px; line-height: 1.3; }
  html[data-sb-language] body:has(#sanbo-header) #sanbo-footer.sb-footer[data-sb-chrome] .sb-footer-group h2 { margin: 0 0 4px; font-size: 11px; line-height: 1.2; overflow-wrap: anywhere; }
  html[data-sb-language] body:has(#sanbo-header) #sanbo-footer.sb-footer[data-sb-chrome] .sb-footer-group a { min-height: 24px; font-size: 11px; line-height: 1.22; }
  #sanbo-footer[data-sb-chrome] .sb-footer-group ul { gap: 0; }
  html[data-sb-language] body:has(#sanbo-header) #sanbo-footer.sb-footer[data-sb-chrome] .sb-footer-bottom { gap: 4px 9px; padding: 8px 0 62px; font-size: 10px; line-height: 1.25; }
}

@media (max-width: 800px) and (prefers-reduced-motion: no-preference) {
  #sanbo-header .sb-mobile-menu[open] { animation: sb-mobile-menu-enter .24s cubic-bezier(.2,.7,.25,1) both; }
  .sb-floating-language[open] .sb-language-list { animation: sb-mobile-language-enter .2s ease-out both; }
}
@media (max-width: 800px) and (prefers-reduced-motion: reduce) {
  .sb-floating-language[open] .sb-language-list { animation: none; }
}
@keyframes sb-mobile-menu-enter { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
@keyframes sb-mobile-language-enter { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
