.gamma-home-bridge,
.gamma-home-bridge * {
    box-sizing: border-box;
}
.gamma-home-bridge {
    --ghb-purple: #8b2e91;
    --ghb-purple-dark: #6f1f75;
    --ghb-text: #25252b;
    --ghb-muted: #67636c;
    --ghb-border: #ece7ee;
    --ghb-soft: #faf8fb;
    --ghb-radius: 18px;
    font-family: Ubuntu, 'Source Sans Pro', Arial, sans-serif;
    color: var(--ghb-text);
    background: #fff;
}
/* Fix: usuwa niepożądane białe pole nad sliderem w trybie hybrydowym */
#wrapper.gamma-home-bridge,
.gamma-home-bridge-hybrid {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
.gamma-home-bridge-hybrid > .gamma-bridge-legacy-slider:first-child,
.gamma-bridge-legacy-slider {
    margin-top: 0 !important;
}
.gamma-home-bridge-hybrid:before,
.gamma-home-bridge-hybrid:after {
    content: none !important;
    display: none !important;
}

.ghb-container {
    width: min(1180px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
}
.ghb-narrow { width: min(980px, calc(100% - 32px)); }
.ghb-section { padding: 58px 0; }
.ghb-muted { background: var(--ghb-soft); }
.ghb-center { text-align: center; }
.ghb-intro { padding-top: 52px; padding-bottom: 42px; }
.ghb-intro h1 {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.16;
    margin: 0 0 18px;
    font-weight: 700;
    letter-spacing: .01em;
}
.ghb-html,
.ghb-intro p,
.ghb-section-head p,
.ghb-card p,
.ghb-process-item p,
.ghb-seo p {
    font-size: 17px;
    line-height: 1.65;
    color: var(--ghb-muted);
}
.ghb-html p:last-child { margin-bottom: 0; }
.ghb-intro .ghb-html {
    max-width: 900px;
    margin: 0 auto 24px;
}
.ghb-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.ghb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none !important;
    letter-spacing: .02em;
    transition: .18s ease;
    line-height: 1.2;
}
.ghb-btn-primary { background: var(--ghb-purple); color: #fff !important; border: 1px solid var(--ghb-purple); }
.ghb-btn-primary:hover { background: var(--ghb-purple-dark); color: #fff !important; }
.ghb-btn-outline { background: #fff; color: var(--ghb-purple) !important; border: 1px solid var(--ghb-purple); }
.ghb-btn-outline:hover { background: var(--ghb-purple); color: #fff !important; }
.ghb-btn-light { background: #fff; color: var(--ghb-purple) !important; border: 1px solid #fff; }
.ghb-section-head {
    max-width: 900px;
    margin: 0 auto 34px;
    text-align: center;
}
.ghb-section-head h2,
.ghb-location-group h2,
.ghb-seo h2,
.ghb-cta h2 {
    margin: 0 0 14px;
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.2;
    font-weight: 700;
}
.ghb-grid { display: grid; gap: 24px; }
.ghb-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ghb-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ghb-card {
    background: #fff;
    border: 1px solid var(--ghb-border);
    border-radius: var(--ghb-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(18, 14, 24, .05);
}
.ghb-product-card img,
.ghb-post-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}
.ghb-card-body { padding: 20px; }
.ghb-card h3,
.ghb-process-item h3 {
    margin: 0 0 10px;
    font-size: 21px;
    line-height: 1.25;
    font-weight: 700;
}
.ghb-card h3 a { color: var(--ghb-text); text-decoration: none; }
.ghb-link {
    display: inline-flex;
    margin-top: 8px;
    font-weight: 700;
    color: var(--ghb-purple) !important;
    text-decoration: none !important;
}
.ghb-link:after { content: '›'; margin-left: 8px; }
.ghb-icon-card { text-align: center; padding: 26px 20px; }
.ghb-icon-card img,
.ghb-process-item img {
    width: 78px;
    height: 78px;
    object-fit: contain;
    margin: 0 auto 16px;
    display: block;
}
.ghb-process-grid { align-items: start; }
.ghb-process-item { text-align: center; padding: 12px 20px; }

.ghb-faq { background: #fff; }
.ghb-faq-list { display: grid; gap: 12px; }
.ghb-faq-item {
    border: 1px solid var(--ghb-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(18,14,24,.04);
    overflow: hidden;
}
.ghb-faq-item summary {
    cursor: pointer;
    padding: 18px 20px;
    font-weight: 700;
    color: var(--ghb-text);
    list-style: none;
}
.ghb-faq-item summary::-webkit-details-marker { display: none; }
.ghb-faq-item summary:after {
    content: '+';
    float: right;
    color: var(--ghb-purple);
    font-weight: 700;
}
.ghb-faq-item[open] summary:after { content: '−'; }
.ghb-faq-answer { padding: 0 20px 20px; }
.ghb-faq-answer a { color: var(--ghb-purple-dark); font-weight: 700; }
.ghb-faq-size-small .ghb-faq-item summary { font-size: 16px; }
.ghb-faq-size-normal .ghb-faq-item summary { font-size: 18px; }
.ghb-faq-size-large .ghb-faq-item summary { font-size: 21px; }

.ghb-locations { background: linear-gradient(135deg, #fbf8fc, #fff); }
.ghb-location-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    align-items: start;
}
.ghb-location-group {
    background: #fff;
    border: 1px solid var(--ghb-border);
    border-radius: var(--ghb-radius);
    padding: 30px;
    box-shadow: 0 10px 30px rgba(18, 14, 24, .04);
}
.ghb-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
    padding: 0;
    margin: 20px 0 0;
    list-style: none;
}
.ghb-tags li { margin: 0; padding: 0; }
.ghb-tags span {
    display: inline-flex;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid rgba(139, 46, 145, .22);
    background: #fff;
    color: var(--ghb-purple-dark);
    font-size: 15px;
    font-weight: 600;
}

.ghb-post-card .ghb-card-body { min-height: 190px; }
.ghb-more { margin-top: 28px; }
.ghb-carousel {
    position: relative;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 12px;
    align-items: center;
}
.ghb-carousel-window { overflow: hidden; padding: 6px 2px 18px; }
.ghb-carousel-track {
    display: flex;
    gap: 24px;
    transition: transform .28s ease;
    will-change: transform;
}
.ghb-carousel-slide { flex: 0 0 calc((100% - 48px) / 3); }
.ghb-carousel-btn {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(139, 46, 145, .24);
    background: #fff;
    color: var(--ghb-purple);
    border-radius: 999px;
    font-size: 34px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(18, 14, 24, .06);
}
.ghb-carousel-btn:disabled { opacity: .35; cursor: default; }

.ghb-seo { background: #fff; }
.ghb-seo h2:not(:first-child) { margin-top: 34px; }
.ghb-seo ul { padding-left: 22px; font-size: 16px; line-height: 1.8; columns: 2; column-gap: 32px; }
.ghb-seo a { color: var(--ghb-purple-dark); font-weight: 700; }

.ghb-cta {
    padding: 34px 0;
    background: linear-gradient(135deg, #8b2e91, #662071);
    color: #fff;
}
.ghb-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}
.ghb-cta h2,
.ghb-cta p,
.ghb-cta .ghb-html { color: #fff; margin-bottom: 8px; }
.ghb-cta-text { max-width: 560px; }
.ghb-cta-contact {
    display: grid;
    grid-template-columns: repeat(3, minmax(150px, 1fr));
    gap: 14px;
    flex: 1;
    max-width: 620px;
}
.ghb-cta-option {
    min-height: 66px;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.42);
    background: rgba(255,255,255,.10);
    color: #fff !important;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}
.ghb-cta-option span {
    font-size: 12px;
    line-height: 1;
    opacity: .86;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 600;
}
.ghb-cta-option-button { background: #fff !important; color: var(--ghb-purple) !important; }
.ghb-cta-option-button span { color: var(--ghb-purple); opacity: .72; }
.ghb-editor-content { padding: 50px 0; }
.gamma-bridge-legacy-slider .item.active,
.gamma-bridge-legacy-slider .carousel-inner > .active { display: block; }

@media (max-width: 1024px) {
    .ghb-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ghb-carousel-slide { flex-basis: calc((100% - 24px) / 2); }
    .ghb-location-columns { grid-template-columns: 1fr; }
    .ghb-cta-inner { flex-direction: column; align-items: stretch; }
    .ghb-cta-contact { max-width: none; }
}
@media (max-width: 768px) {
    .ghb-section { padding: 42px 0; }
    .ghb-grid-3,
    .ghb-grid-4 { grid-template-columns: 1fr; }
    .ghb-carousel { grid-template-columns: 38px minmax(0, 1fr) 38px; }
    .ghb-carousel-slide { flex-basis: 100%; }
    .ghb-seo ul { columns: 1; }
    .ghb-cta-contact { grid-template-columns: 1fr; }
}

/* Zaufali nam — płynny pasek logotypów */
.ghb-trusted {
    padding: 10px 0 42px;
    background: #fff;
    overflow: hidden;
}
.ghb-trusted-head {
    text-align: center;
    margin: 0 auto 18px;
    max-width: 760px;
}
.ghb-trusted-head h2 {
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: .22em;
    font-weight: 700;
    color: rgba(37,37,43,.56);
}
.ghb-trusted-intro p {
    font-size: 15px;
    line-height: 1.55;
    color: var(--ghb-muted);
}
.ghb-logo-marquee {
    position: relative;
    display: grid;
    gap: 12px;
    padding: 4px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.ghb-logo-marquee-row {
    overflow: hidden;
    width: 100%;
}
.ghb-logo-marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 18px;
    animation: ghbLogoMarquee var(--ghb-marquee-speed, 42s) linear infinite;
    will-change: transform;
}
.ghb-logo-reverse .ghb-logo-marquee-track {
    animation-direction: reverse;
}
.ghb-logo-marquee:hover .ghb-logo-marquee-track {
    animation-play-state: paused;
}
.ghb-logo-card {
    flex: 0 0 auto;
    width: 176px;
    height: 74px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    border: 1px solid var(--ghb-border);
    border-radius: 14px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 8px 22px rgba(18,14,24,.035);
}
.ghb-logo-card img {
    max-width: 100%;
    max-height: 48px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    filter: grayscale(100%);
    opacity: .76;
    transition: .2s ease;
}
.ghb-logo-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}
@keyframes ghbLogoMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-50% - 9px)); }
}
@media (prefers-reduced-motion: reduce) {
    .ghb-logo-marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: 100%; }
    .ghb-logo-marquee-row { overflow: visible; }
}
@media (max-width: 700px) {
    .ghb-trusted { padding-bottom: 34px; }
    .ghb-logo-card { width: 148px; height: 64px; padding: 12px 14px; }
    .ghb-logo-card img { max-height: 40px; }
}

/* Sekcja wyróżników produktowych: produkcja, system plis, akcesoria dachowe */
.ghb-features {
    background: linear-gradient(135deg, #faf8fb 0%, #ffffff 52%, #f7f2f8 100%);
}
.ghb-feature-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}
.ghb-feature-card {
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    border: 1px solid var(--ghb-border);
    border-radius: var(--ghb-radius);
    background: #fff;
    box-shadow: 0 16px 38px rgba(18,14,24,.06);
}
.ghb-feature-card > a {
    display: block;
    overflow: hidden;
}
.ghb-feature-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    transition: transform .28s ease;
}
.ghb-feature-card:hover > a img {
    transform: scale(1.025);
}
.ghb-feature-body {
    padding: 24px 24px 26px;
}
.ghb-feature-body h3 {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
}
.ghb-feature-body p {
    font-size: 16px;
    line-height: 1.65;
    color: var(--ghb-muted);
}
.ghb-feature-wide {
    grid-column: 1 / -1;
    grid-template-columns: minmax(280px, .42fr) minmax(0, .58fr);
    grid-template-rows: auto;
    align-items: stretch;
}
.ghb-feature-wide > a,
.ghb-feature-wide > a img {
    height: 100%;
}
.ghb-feature-wide > a img {
    aspect-ratio: 1 / 1;
}
.ghb-brand-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin: 18px 0 4px;
}
.ghb-brand-logos img {
    width: auto;
    max-width: 132px;
    max-height: 44px;
    object-fit: contain;
    padding: 8px 12px;
    border: 1px solid var(--ghb-border);
    border-radius: 10px;
    background: #fff;
    box-shadow: none;
    transform: none !important;
}

/* Nowa podstrona Oferta */
.gamma-offer-bridge .bread-bg {
    margin-bottom: 0;
}
.ghb-offer-page-hero {
    padding-top: 48px;
    padding-bottom: 34px;
    background: #fff;
}
.ghb-offer-page-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.12;
    font-weight: 700;
}
.ghb-offer-grid-section {
    padding-top: 28px;
    background: #fff;
}
.ghb-offer-page-card {
    height: 100%;
}
.ghb-offer-page-card .ghb-card-body {
    min-height: 212px;
}
.ghb-offer-page-card h2 {
    margin: 0 0 10px;
    font-size: 21px;
    line-height: 1.25;
    font-weight: 700;
}
.ghb-offer-page-card h2 a,
.ghb-offer-page-card h2 {
    color: var(--ghb-text);
}

@media (max-width: 1024px) {
    .ghb-feature-wide {
        grid-template-columns: 1fr;
    }
    .ghb-feature-wide > a img {
        aspect-ratio: 16 / 9;
    }
}
@media (max-width: 768px) {
    .ghb-feature-layout {
        grid-template-columns: 1fr;
    }
    .ghb-feature-wide {
        grid-column: auto;
    }
    .ghb-feature-body {
        padding: 20px;
    }
}
