/* Shared layout corrections: cards must remain readable at every viewport. */
main, main > *, .container > *, [class*="grid"] > *, [class*="layout"] > * { min-width: 0; }
h1,h2,h3,h4,p,a,li { overflow-wrap: anywhere; }
img { height: auto; }
:focus-visible { outline: 3px solid #2563eb; outline-offset: 4px; }
html { scroll-padding-top: 110px; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 10000; padding: 12px 20px; background: #fff; color: #3730a3; border: 2px solid; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.visual-services-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.visual-services-grid > .visual-service-card { grid-column: auto; display: flex; flex-direction: column; height: 100%; }
.visual-service-thumb { height: auto; aspect-ratio: 16 / 10; flex-shrink: 0; }
.visual-service-thumb img { display: block; height: 100%; }
.visual-service-body { padding: 26px; gap: 20px; }
.visual-service-title { line-height: 1.35; }
.visual-service-badge { max-width: calc(100% - 28px); top: 14px; left: 14px; padding: 7px 12px; font-size: .71rem; letter-spacing: .2px; line-height: 1.5; }
.visual-service-tags { margin-bottom: 0; }
.visual-service-footer { gap: 12px; flex-wrap: wrap; margin-top: auto; }
.visual-service-footer a { min-height: 44px; }
.content-sidebar-layout { grid-template-columns: minmax(0,2.2fr) minmax(260px,1fr); }
.legal-doc-layout { grid-template-columns: minmax(220px,310px) minmax(0,1fr); }
.sidebar-sticky { top: 110px; }
.article-content { overflow-wrap: anywhere; }
.article-content table { display: block; max-width: 100%; overflow-x: auto; }
.article-content ul,.article-content ol { padding-left: 1.4em; margin: 16px 0; }
.article-content h2,.article-content h3 { margin-top: 1.4em; }
.article-content p { margin-bottom: 1em; }
.article-content a { color: #4338ca; text-underline-offset: 3px; }
.subpage-hero .container > div > div:first-child { flex-wrap: wrap; justify-content: center; max-width: 100%; }
.nav-dropdown:focus-within > .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown > .dropdown-menu { max-height: 70vh; overflow-y: auto; }
.faq-question { width: 100%; text-align: left; border: 0; background: transparent; font: inherit; font-weight: 600; color: inherit; }
.answer-summary { padding: 22px 26px; margin-bottom: 24px; background: #eef2ff; border-left: 4px solid #4f46e5; border-radius: 12px; }
.answer-summary p { margin: 0; }
.local-intro { padding: 55px 0; background: #f8fafc; border-block: 1px solid #e2e8f0; }
.local-intro .container { max-width: 1000px; }
.local-intro h2 { font-size: clamp(1.6rem,3vw,2.2rem); margin-bottom: 16px; }
.local-intro p { margin-bottom: 16px; }
.local-links { display: flex; flex-wrap: wrap; gap: 12px; }
.local-links a { color: #4338ca; font-weight: 600; padding: 10px 14px; background: #fff; border: 1px solid #c7d2fe; border-radius: 10px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.hero-proof span { padding: 8px 13px; border: 1px solid #c7d2fe; border-radius: 10px; background: #fff; color: #3730a3; font-size: .87rem; }
.subpage-hero .container div.breadcrumb-nav { max-width: 100%; flex-wrap: wrap !important; white-space: normal !important; overflow: visible !important; border-radius: 16px !important; }
.subpage-hero .breadcrumb-nav > * { min-width: 0; white-space: normal !important; }
.subpage-hero .breadcrumb-nav > span:last-child { max-width: 100%; }
.subpage-hero .container .software-hero-grid > div > div:first-child { flex-wrap: wrap; max-width: 100%; white-space: normal !important; border-radius: 16px !important; }
#softwareFilterTabs { flex-wrap: wrap !important; overflow: visible !important; white-space: normal !important; width: 100%; }
#softwareFilterTabs .showroom-filter-pill { white-space: normal !important; max-width: 100%; }
@media (max-width: 400px) {
 .showroom-card > div:last-child { flex-wrap: wrap; }
 .showroom-card > div:last-child > div:last-child { flex-wrap: wrap; gap: 8px !important; }
}
.hero-stats .stat-number { font-size: clamp(1.1rem,2vw,1.55rem); }
.site-footer .footer-grid > * { min-width: 0; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-result { margin-top: 16px; }
@media (min-width: 993px) and (max-width: 1199px) {
 .header-nav { padding-inline: 18px; }
 .nav-links { gap: 10px; }
 .nav-links a { font-size: .8rem; }
 .nav-brand { margin-right: 10px !important; }
 .nav-actions > .btn-whatsapp { display: none; }
}
@media (min-width: 601px) and (max-width: 1100px) {
 .visual-services-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 992px) {
 .content-sidebar-layout,.legal-doc-layout { grid-template-columns: minmax(0,1fr); }
 .software-hero-grid { grid-template-columns: minmax(0,1fr) !important; }
 .nav-brand { margin-right: 0 !important; }
 .nav-links { list-style: none; }
 .nav-links.mobile-open { max-height: calc(100dvh - 110px); }
 .nav-dropdown > .dropdown-menu { max-height: none; }
 .software-cards-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
}
@media (max-width: 600px) {
 .container { padding-inline: 20px; }
 .header-nav { width: calc(100% - 24px); top: 10px; padding: 8px 12px; gap: 8px; }
 .nav-brand img { max-width: 132px; }
 .nav-actions > a { display: none; }
 .mobile-toggle { width: 44px; min-width: 44px; height: 44px; min-height: 44px; }
 .hero-section { padding-top: 130px; }
 .hero-title { font-size: clamp(2rem,9vw,3rem); }
 .hero-badge { white-space: normal; font-size: .7rem; line-height: 1.6; }
 .subpage-hero { padding-top: 130px !important; padding-bottom: 44px !important; }
 .subpage-hero h1 { font-size: clamp(1.9rem,8vw,2.5rem) !important; }
 .subpage-hero .section-desc { font-size: 1rem !important; }
 .visual-services-grid,.software-cards-grid { grid-template-columns: minmax(0,1fr) !important; }
 .visual-service-body { padding: 24px; }
 .article-content,.legal-article-card { padding: 26px 22px !important; }
 .contact-layout > .glass-card { padding: 26px 22px !important; }
 .hero-actions { display: flex; flex-direction: column; align-items: stretch; }
 .floating-dock { right: 14px; bottom: 16px; }
 .floating-whatsapp { width: 52px; height: 52px; min-width: 52px; padding: 0; justify-content: center; }
 .floating-whatsapp span { display: none; }
 .site-footer { padding-bottom: 82px; }
 .answer-summary { padding: 20px; }
 .software-hero-grid > div { padding-inline: 0; }
 main [style*="min-width: 280px"],main [style*="min-width: 300px"],main [style*="min-width: 260px"] { min-width: 0 !important; }
 main [style*="grid-template-columns: repeat(auto-fit, minmax("] { grid-template-columns: minmax(0,1fr) !important; }
 .section-tag { letter-spacing: .5px; font-size: .73rem; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 *,*::before,*::after { animation: none !important; transition: none !important; }
 #hero-canvas,#subpage-3d-canvas { display: none !important; }
 .reveal-on-scroll { opacity: 1 !important; transform: none !important; }
}
