.hc-spec-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;border:1px solid #cbdfea;border-radius:14px;background:#fff}
.hc-spec-scroll:focus-visible{outline:3px solid #075a98;outline-offset:3px}
.hc-spec-table{width:100%;min-width:790px;border-collapse:collapse;text-align:left;font-size:.9rem}
.hc-spec-table th,.hc-spec-table td{padding:13px 15px;border-bottom:1px solid #dce9f0;vertical-align:top}
.hc-spec-table thead{background:#e7f3f9;color:#073a60}
.hc-spec-table tbody th{color:#073a60;white-space:nowrap}
.hc-spec-table tbody tr:last-child th,.hc-spec-table tbody tr:last-child td{border-bottom:0}
.hc-spec-table tbody tr:nth-child(even){background:#f7fbfd}
.hc-spec-notes{margin-top:18px;max-width:900px}
.hc-spec-notes p{margin:0 0 9px;line-height:1.65}
.hc-spec-notes .btn{margin-top:12px}
.hc-certifications{margin-top:24px;padding:18px 20px;background:#edf7f9;border-radius:12px}
.hc-sample-note{display:block;color:#9d4d10;font-size:.78rem;font-weight:700;margin-bottom:8px}
.hc-home-case-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.hc-home-case-grid .hc-browse-copy>p{font-size:max(14px,.875rem)}
.section{padding-top:56px;padding-bottom:56px}
.hero,.hero .container{min-height:0}
.hero .container{padding-top:clamp(48px,8vh,90px);padding-bottom:clamp(48px,8vh,90px)}
.hero h1,.section h2,.hc-guide-hero h1,.hc-detail-hero h1{word-break:normal;overflow-wrap:normal}
.btn,.menu a,.hc-case-filters button,.hc-case-filters select{min-height:44px}
@media(max-width:900px){.hc-home-case-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.section{padding-top:40px;padding-bottom:40px}.hc-home-case-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:14px;padding-bottom:14px}.hc-home-case-grid>.hc-browse-card{flex:0 0 min(82vw,340px);scroll-snap-align:start}.hc-spec-table{font-size:.875rem}.hero .container{padding-top:42px;padding-bottom:42px}body{font-size:max(14px,1rem)}.section-index,.eyebrow,small{font-size:max(12px,.75rem)}}
.hc-video-layout > iframe,.hc-lite-video{width:100%;min-height:260px;aspect-ratio:16/9;border:0;border-radius:14px}.hc-lite-video{cursor:pointer;background-size:cover;background-position:center;color:#fff}
.hc-case-hero-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:22px}.hc-case-hero-metrics>div{padding:12px;border:1px solid rgba(255,255,255,.3);border-radius:10px}.hc-case-hero-metrics strong,.hc-case-hero-metrics span{display:block}.hc-case-hero-metrics strong{font-size:clamp(1.25rem,2vw,1.8rem)}.hc-case-hero-metrics span{font-size:.88rem}.hc-case-more details{border:1px solid #bdd4df;border-radius:12px;padding:18px;background:#f7fbfd}.hc-case-more summary{font-weight:700;cursor:pointer;min-height:44px;display:flex;align-items:center}.hc-case-more dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.hc-case-more dt{font-weight:700}.hc-case-more dd{margin:0}.hc-case-more .hc-case-overview-grid{margin-top:18px}@media(max-width:640px){.hc-case-hero-metrics{grid-template-columns:1fr 1fr}.hc-case-hero-metrics span{font-size:.8rem}}
.hc-client-logos{list-style:none;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:24px;padding-top:16px;padding-bottom:18px}.hc-client-logos li{margin:0}.hc-client-logos img{max-width:150px;max-height:68px;width:auto;height:auto;object-fit:contain}
.hero-media:before{content:none!important}.hero-media .hc-hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}.hero-media:after{z-index:1}
.hc-cookie-banner{position:fixed;z-index:99999;inset:auto 1rem 1rem;max-width:780px;margin:auto;background:#fff;color:#123654;border:1px solid #cbdce5;border-radius:14px;box-shadow:0 8px 32px #001c3450;padding:1rem 1.25rem;display:flex;align-items:center;gap:1rem;justify-content:space-between;font-size:14px;line-height:1.5}.hc-cookie-banner[hidden]{display:none}.hc-cookie-banner p{margin:0}.hc-cookie-banner a{text-decoration:underline}.hc-cookie-actions{display:flex;gap:.5rem;flex-shrink:0}.hc-cookie-actions button{min-height:44px;padding:.5rem .8rem;border:1px solid #0d466b;border-radius:8px;background:#fff;color:#0d466b;font:inherit;cursor:pointer}.hc-cookie-actions button:last-child{background:#0d466b;color:#fff}.hc-cookie-reopen{border:0;background:none;color:inherit;text-decoration:underline;font:inherit;cursor:pointer;min-height:44px}@media(max-width:700px){.hc-cookie-banner{display:block}.hc-cookie-actions{margin-top:.75rem;flex-wrap:wrap}}

/* Keep the five industry choices together on small screens. */
@media(max-width:1100px){
  .hc-industry-compact-grid{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 2px 14px;overscroll-behavior-inline:contain}
  .hc-industry-compact-grid .hc-industry-compact{flex:1 0 180px;min-height:0;padding:14px;scroll-snap-align:start}
  .hc-industry-compact-grid .hc-v12-industry-image{display:none}
  .hc-industry-compact-grid .hc-industry-icon{width:52px;height:52px;margin-bottom:10px}
  .hc-industry-compact-grid .hc-industry-icon svg,.hc-industry-compact-grid .hc-industry-icon img{width:30px;height:30px}
  .hc-industry-compact-grid .industry h3{font-size:.96rem}
  .hc-industry-compact-grid .industry p{display:none}
  .hc-industry-compact-grid .hc-card-link{margin-top:12px}
}

@media(min-width:801px) and (max-width:1100px){
  .section{padding-top:20px;padding-bottom:20px}
  .hero .container{padding-top:42px;padding-bottom:42px}
  .section-heading{margin-bottom:16px}
  .section-heading p{font-size:.92rem;line-height:1.55}
  .hc-why-copy{padding:32px}
  .hc-why-grid{gap:8px;margin-top:16px}
  .hc-why-grid div{padding:11px}
  .hc-solution-media{aspect-ratio:2/1}
  .hc-home-case-grid .hc-browse-copy{padding:18px}
  .hc-home-case-grid .hc-browse-copy h2{font-size:1.24rem;line-height:1.4}
  .hc-home-case-grid .hc-case-card-meta{line-height:1.5}
}

@media(max-width:640px){
  .mobile-toggle,.hc-footer-map,.hc-cookie-banner a{display:inline-flex;align-items:center;min-height:44px}
  .hc-footer .footer-main>div:not(.hc-footer-contact)>a.hc-footer-map{min-height:44px}
  .hero .container{padding-top:24px;padding-bottom:21px}
  .hero .eyebrow{margin:0 0 8px}
  .hero h1{font-size:2.08rem;line-height:1.12;margin-bottom:8px}
  .hc-hero-subtitle{margin-bottom:6px}
  .hero .lead{line-height:1.5;margin-bottom:14px}
  .hc-hero-benefits{display:flex;flex-wrap:nowrap;gap:14px;margin-top:12px;padding-bottom:4px;overflow-x:auto;white-space:nowrap}
  .hc-hero-benefits span{flex:none}
}

@media(max-width:640px){
  .hc-detail-back,.hc-line-qr-link{display:inline-flex;align-items:center;min-height:44px}
}

/* Keep review labels and social links readable at every viewport. */
.section-index,.eyebrow,.hc-footer .hc-footer-social-link,.hc-footer .hc-footer-social-link span{font-size:14px}
@media (min-width:641px) and (max-width:1100px){.section-heading{gap:16px}.section-heading>div:first-child{min-width:0;flex:1 1 58%}.section-heading h2{font-size:clamp(1.65rem,2.65vw,2rem);line-height:1.35;overflow-wrap:normal;word-break:normal}.section-heading>p{flex:0 1 38%}}

/* Keep Thai headings on natural word boundaries at the review widths. */
@media (min-width:641px) and (max-width:1100px){.hero h1,.hc-guide-hero h1,.hc-detail-hero h1,.hc-browse-hero h1{font-size:clamp(2rem,3.7vw,2.65rem);line-height:1.3;word-break:normal;overflow-wrap:normal}}
@media (max-width:800px){.hero h1,.hc-guide-hero h1,.hc-detail-hero h1,.hc-browse-hero h1{font-size:clamp(1.9rem,5vw,2.35rem);line-height:1.32;word-break:normal;overflow-wrap:normal}}
@media (max-width:640px){.hc-home-case-grid .hc-browse-copy>p,.hc-case-card-meta,.hc-case-hero-metrics span,.hc-browse-copy p,.hc-detail-hero-copy>p,.hc-case-challenge p,.hc-case-steps p,.hc-case-more p,.hc-case-more dd{font-size:max(14px,1rem)}.hc-footer .hc-footer-social-link,.hc-footer .hc-footer-social-link span{font-size:14px}.solution .snum{font-size:max(12px,.75rem)}}

/* Readable labels and mobile hero benefits. */
body *:not(:has(*)):not(.screen-reader-text):not([aria-hidden="true"]) { font-size: max(14px, 1em) !important; }
@media (max-width: 640px) {
  .hc-hero-benefits { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; overflow: visible; white-space: normal; }
  .hc-hero-benefits span { min-width: 0; flex: initial; white-space: normal; }
}

/* C2: the rule above skips elements that also hold an icon or link
   (Services toggle, header CTA, arrow buttons, form consent line). */
.menu { font-size: 14px; }
.btn, .hc-consent, .hc-consent span { font-size: max(14px, .875rem); }
@media (min-width: 801px) { .menu > a:not(.nav-cta) { display: inline-flex; align-items: center; } }

/* Contact pages (TH and EN): phone label sits above the number instead of running into it. */
.hc-company-contact-list > a:not(.hc-contact-external) { flex-direction: column; align-items: flex-start; justify-content: center; }
