.tgb-gallery-hero { position: relative; isolation: isolate; overflow: hidden; padding: 42px 0 35px; background: linear-gradient(180deg,#f7fcff,#fff); text-align: center; }
.tgb-gallery-hero h1 { margin: 0; color: #06182f; font-size: clamp(38px,4.8vw,68px); font-weight: 800; line-height: 1.02; letter-spacing: -.047em; }
.tgb-gallery-hero h1 strong { display: block; color: var(--tgb-blue); font-weight: inherit; }
.tgb-gallery-hero p { position: relative; margin: 20px 0 0; color: var(--tgb-muted); font-size: 20px; font-weight: 500; line-height: 1.5; letter-spacing: -.025em; }
.tgb-gallery-routes { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; fill: #d6f0ff; pointer-events: none; }
.tgb-gallery-routes path { fill: none; stroke: #c6eaff; stroke-width: 1; vector-effect: non-scaling-stroke; }
.tgb-gallery-plane { position: absolute; z-index: -1; top: 94px; right: 9%; width: 39px; height: 39px; fill: #83cffc; pointer-events: none; }
.tgb-gallery-filters { position: sticky; top: 82px; z-index: 15; display: flex; overflow-x: auto; gap: 0; padding: 4px; border: 1px solid #e1edf7; border-radius: 8px; background: rgba(255,255,255,.98); scrollbar-width: thin; }
.tgb-gallery-filters button { display: flex; flex: 1 0 auto; min-height: 44px; align-items: center; justify-content: center; padding: 10px 12px; border: 0; border-radius: 5px; background: transparent; color: #59627e; font: 650 12px/1.4 "Manrope",sans-serif; white-space: nowrap; cursor: pointer; transition: background .18s ease,color .18s ease; }
.tgb-gallery-filters button:hover { background: #f0f8fe; color: var(--tgb-blue-dark); }
.tgb-gallery-filters button[aria-pressed="true"] { background: #e4f4ff; color: var(--tgb-blue); }
.tgb-gallery-filters button:focus-visible { outline-offset: -3px; }
.tgb-gallery-announcement { position: absolute; width: 1px; height: 1px; overflow: hidden; margin: -1px; padding: 0; border: 0; clip: rect(0,0,0,0); white-space: nowrap; }
.tgb-gallery-section { padding: 42px 0 48px; border-top: 1px solid var(--tgb-line); }
.tgb-gallery-featured { padding-top: 18px; border-top: 0; }
.tgb-gallery-section[hidden] { display: none !important; }
.tgb-gallery-section h2 { margin: 0 0 20px; color: var(--tgb-navy); font-size: 30px; font-weight: 800; line-height: 1.2; letter-spacing: -.04em; }
.tgb-gallery .tgb-gallery-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 34px 28px; }
.tgb-gallery-item { min-width: 0; }
.tgb-gallery-preview { position: relative; }
.tgb-gallery-preview img { width: 100%; height: auto; object-fit: contain; }
.tgb-gallery-zoom { position: absolute; right: 11px; bottom: 11px; display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid #cbe7f9; border-radius: 50%; background: #fff; color: var(--tgb-blue); box-shadow: 0 3px 10px rgba(25,92,139,.1); }
.tgb-gallery-zoom svg { width: 19px; height: 19px; }
.tgb-gallery-item h3 { margin: 20px 0 6px; color: var(--tgb-navy); font-size: 24px; font-weight: 800; line-height: 1.25; letter-spacing: -.035em; }
.tgb-gallery-item p { margin: 0; color: var(--tgb-muted); font-size: 15px; line-height: 1.7; }
.tgb-gallery-bot-story { display: grid; grid-template-columns: minmax(0,2.2fr) minmax(0,1fr); align-items: stretch; gap: 24px; }
.tgb-gallery-bot-story > .tgb-gallery-item h3, .tgb-gallery-bot-story > .tgb-gallery-item p { display: none; }
.tgb-gallery-bot-copy { min-width: 0; padding: 33px 27px; border: 1px solid #e0eef8; border-radius: 9px; background: #f7fcff; }
.tgb-gallery-bot-icon { width: 44px; height: 44px; color: var(--tgb-blue); }
.tgb-gallery-bot-copy h3 { margin: 22px 0 0; color: var(--tgb-navy); font-size: 30px; font-weight: 800; line-height: 1.15; letter-spacing: -.04em; }
.tgb-gallery-bot-copy .tgb-check-list { gap: 22px; margin-top: 27px; }
.tgb-gallery-bot-copy .tgb-check-list li { font-size: 16px; line-height: 1.6; }
.tgb-gallery-bot-copy > p { margin: 25px 0 20px; color: var(--tgb-muted); font-size: 13px; line-height: 1.8; }
.tgb-gallery-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.tgb-gallery-heading h2 { margin-bottom: 0; }
.tgb-gallery-heading > span { flex-shrink: 0; color: #64728b; font-size: 12px; }
.tgb-gallery-cta { overflow: hidden; margin: 4px 0 48px; padding: 32px 0; background: linear-gradient(110deg,#009cf1,#007aeb); color: #fff; }
.tgb-gallery-cta > .tgb-container { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.tgb-gallery-cta h2 { margin: 0; color: #fff; font-size: 31px; font-weight: 800; line-height: 1.2; letter-spacing: -.035em; }
.tgb-gallery-cta p { margin: 8px 0 0; font-size: 15px; line-height: 1.7; }
.tgb-gallery-cta .tgb-actions { flex-shrink: 0; gap: 15px; margin: 0; }
.tgb-gallery-cta .tgb-button { min-width: 170px; border-color: #fff; background: #fff; color: #0079d5 !important; }
.tgb-gallery-cta .tgb-button--secondary { background: transparent; color: #fff !important; }
.tgb-gallery-cta .tgb-button:hover { background: #e4f5ff; color: #0062a9 !important; }
.tgb-gallery-lightbox .tgb-lightbox__top { gap: 18px; }
.tgb-gallery-lightbox .tgb-lightbox__top > p { margin: 0; color: var(--tgb-navy); font-size: 16px; font-weight: 750; }
.tgb-gallery-lightbox__controls { display: flex; flex-shrink: 0; align-items: center; gap: 7px; }
.tgb-gallery-lightbox__controls span { margin-right: 7px; color: var(--tgb-muted); font-size: 12px; white-space: nowrap; }
.tgb-gallery-lightbox__controls button { display: grid; width: 35px; height: 35px; place-items: center; border: 1px solid var(--tgb-line); border-radius: 6px; background: #fff; color: var(--tgb-navy); cursor: pointer; }
.tgb-gallery-lightbox__controls button:hover { background: #edf8ff; }
.tgb-gallery-lightbox__controls svg { width: 19px; height: 19px; }
.tgb-gallery-lightbox__description { margin: 12px 6px 3px; color: var(--tgb-muted); font-size: 13px; line-height: 1.7; }
@media (max-width: 1100px) {
    .tgb-gallery-filters button { padding-inline: 9px; font-size: 11px; }
    .tgb-gallery-bot-copy { padding: 26px 22px; }
    .tgb-gallery-bot-copy h3 { font-size: 25px; }
    .tgb-gallery-bot-copy .tgb-check-list li { font-size: 14px; }
    .tgb-gallery-bot-copy .tgb-check-list { gap: 15px; }
}
@media (max-width: 1030px) { .tgb-gallery-filters { top: 78px; } }
@media (max-width: 760px) {
    .tgb-gallery-hero { padding: 36px 0 26px; }
    .tgb-gallery-hero h1 { font-size: clamp(35px,7vw,50px); line-height: 1.06; }
    .tgb-gallery-hero p { margin-top: 18px; font-size: 16px; line-height: 1.65; }
    .tgb-gallery-plane { top: 16px; right: 5%; width: 25px; height: 25px; }
    .tgb-gallery-filters button { min-height: 44px; padding-inline: 14px; font-size: 12px; }
    .tgb-gallery-section { padding-block: 32px 36px; }
    .tgb-gallery-featured { padding-top: 20px; }
    .tgb-gallery-section h2 { font-size: 27px; }
    .tgb-gallery .tgb-gallery-grid, .tgb-gallery-bot-story { grid-template-columns: 1fr; gap: 30px; }
    .tgb-gallery-item h3 { margin-top: 17px; font-size: 23px; }
    .tgb-gallery-item p { font-size: 14px; }
    .tgb-gallery-bot-copy { padding: 26px; }
    .tgb-gallery-bot-copy h3 { margin-top: 18px; font-size: 27px; }
    .tgb-gallery-bot-copy .tgb-check-list li { font-size: 15px; }
    .tgb-gallery-cta { margin-bottom: 34px; padding-block: 34px; }
    .tgb-gallery-cta > .tgb-container { flex-direction: column; align-items: flex-start; gap: 23px; }
    .tgb-gallery-cta h2 { font-size: 29px; }
    .tgb-gallery-cta .tgb-actions { width: 100%; gap: 12px; }
    .tgb-gallery-cta .tgb-button { flex: 1; min-width: 0; padding-inline: 15px; font-size: 14px; }
    .tgb-gallery-lightbox .tgb-lightbox__top { align-items: flex-start; flex-direction: column; gap: 12px; }
    .tgb-gallery-lightbox__controls { width: 100%; justify-content: flex-end; }
    .tgb-gallery-lightbox__controls span { margin-right: auto; }
    .tgb-gallery-lightbox__controls button { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: no-preference) {
    .tgb-gallery-hero h1, .tgb-gallery-hero p { animation: tgb-gallery-enter .65s cubic-bezier(.2,.65,.3,1) both; }
    .tgb-gallery-plane { animation: tgb-gallery-float 7s ease-in-out infinite; }
    .tgb-gallery.tgb-product-motion [data-product-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s ease,transform .6s ease; }
    .tgb-gallery.tgb-product-motion [data-product-reveal].is-revealed { opacity: 1; transform: none; }
}
@keyframes tgb-gallery-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes tgb-gallery-float { 0%,100% { transform: none; } 50% { transform: translate(5px,-6px); } }
