/* Small local behavior layer; the original design is in assets/*main*.css. */
.local-scroll-lock { overflow: hidden; }
@media (max-width: 767px) { .instaweb-desktop-tagline { display: none; } }
.local-carousel { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.local-carousel .swiper-wrapper { width: 100%; gap: 16px; align-items: stretch; }
.local-carousel .swiper-slide { flex: 0 0 90%; height: auto; scroll-snap-align: start; }
.local-chat { position: fixed; bottom: 16px; right: 22px; z-index: 1000; font-family: Arial, sans-serif; font-size: 14px; }
.local-chat button { cursor: pointer; }
.local-chat-toggle { display: grid; place-items: center; width: 60px; height: 60px; border: 0; border-radius: 50%; color: white; background: #0667ff; box-shadow: 0 3px 10px #0002; }
.local-chat-prompt { position: absolute; bottom: 0; right: 70px; width: 224px; height: 60px; border: 1px solid #eee; border-radius: 32px; background: white; box-shadow: 0 2px 8px #0002; color: #888; text-align: left; padding: 0 16px; font-size: 13px; }
.local-chat-prompt span { float: right; display: grid; place-items: center; border-radius: 50%; width: 38px; height: 38px; margin-top: -10px; background: #f3f3f3; font-size: 30px; }
.local-chat-panel { position: absolute; right: 0; bottom: 76px; width: 360px; max-width: calc(100vw - 32px); background: #fff; border: 1px solid #eee; box-shadow: 0 8px 50px #0003; border-radius: 18px; overflow: hidden; }
.local-chat-panel[hidden], .local-chat-prompt[hidden] { display: none; }
.local-chat-panel header { display: flex; justify-content: space-between; align-items: center; padding: 20px; color: white; background: #0667ff; }
.local-chat-panel header strong { display: block; font-size: 20px; }
.local-chat-panel header small { font-size: 11px; }
.local-chat-panel header button { background: transparent; border: 0; color: white; font-size: 28px; }
.local-chat-messages { height: 290px; overflow-y: auto; padding: 20px; }
.local-chat-messages p { font-size: 14px; line-height: 1.5; border-radius: 14px; padding: 12px; background: #f1f3f6; margin: 0 0 12px; }
.local-chat-messages .local-chat-note { font-size: 12px; color: #666; background: transparent; padding: 0; }
.local-chat-messages .local-chat-user { background: #0667ff; color: white; margin-left: 25px; }
.local-chat-panel form { display: flex; padding: 14px; gap: 8px; border-top: 1px solid #eee; }
.local-chat-panel input { width: 100%; min-width: 0; border: 0; padding: 8px; font-size: 14px; }
.local-chat-panel form button { flex: 0 0 36px; border: 0; border-radius: 50%; color: white; background: #0667ff; font-size: 24px; }
.local-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 3px solid #0667ff; outline-offset: 4px; }
@media (max-width: 767px) { .local-chat-prompt { display: none; } .local-chat { right: 16px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }

/* Instaweb: only the header logo and hero visual. Original spacing and type stay. */
.c-navbar__logo img.instaweb-header-logo { width: 160px; height: auto; }
.instaweb-aida-scene { position: relative; isolation: isolate; width: 100%; aspect-ratio: 1312 / 560; overflow: hidden; }
.instaweb-aida-character { position: absolute; z-index: 0; height: 100%; width: auto; max-width: none; left: 50%; bottom: 0; transform: translateX(-50%); object-fit: contain; }
.instaweb-aida-character[src$="aida-header-frontal-v4.png"] { height: 125%; max-height: none; bottom: -25%; }
.instaweb-aida-rings { position: absolute; z-index: -1; width: 43%; aspect-ratio: 1; left: 50%; top: 13%; transform: translateX(-50%); border: 8px solid #ffdf65; border-radius: 50%; box-shadow: 0 0 80px 25px #ffedaa35; }
.instaweb-aida-rings::before, .instaweb-aida-rings::after { content: ''; position: absolute; border: 6px solid #ffdf65; border-radius: 50%; }
.instaweb-aida-rings::before { inset: 12px; }
.instaweb-aida-rings::after { inset: 28px; }
.instaweb-header-visual .home__chat { z-index: 2; }
.instaweb-aida-mobile { max-width: 100%; width: 374px; margin: 0 auto; aspect-ratio: 374 / 355; }
.instaweb-aida-mobile .instaweb-aida-rings { width: 94%; top: 17%; border-width: 6px; }
.instaweb-aida-mobile .instaweb-aida-rings::before { inset: 10px; border-width: 5px; }
.instaweb-aida-mobile .instaweb-aida-rings::after { inset: 24px; border-width: 5px; }
@media (max-width: 767px) { .c-navbar__logo img.instaweb-header-logo { width: 135px; } }
