/*
	Theme Name: ASARI Template 2023 - Glass Spider
	Theme URI: https://strona19968.asari.pl
	Description: Child theme dla Glass Spider Nieruchomosci (glassspider.pl) - monochromatyczny dark skin (#0a0a0a), Poppins, uppercase naglowki, przyciski outline.
	Author: ASARI
	Author URI: https://asaricrm.com/
	Template: asaritemplate2023
	Version: 2.12.4
*/

/* ============================================================
   GLASS SPIDER - dark monochrom (wzorzec: glassspider.pl live)
   [1] Zmienne / baza          [7] Formularze
   [2] Typografia              [8] Oferty (asariplug)
   [3] Przyciski               [9] Blog / wpisy
   [4] Header / menu           [10] Zespol
   [5] Hero                    [11] Footer + pajak
   [6] Sekcje home / strony    [12] Animacje / drobiazgi
   ============================================================ */

/* ─── [1] Zmienne / baza ─── */
body {
    --gs-bg: #0a0a0a;
    --gs-bg-2: #111213;
    --gs-bg-3: #191a1b;
    --gs-line: rgba(255, 255, 255, .14);
    --gs-line-strong: rgba(255, 255, 255, .64);
    --gs-text: #e6eaec;
    --gs-muted: #9aa0a6;
    --gs-star: #f5b301;

    background: var(--gs-bg);
    color: var(--gs-text);
    font-family: 'Poppins', sans-serif;
    font-weight: 200;
}

#main {
    background: var(--gs-bg);
}

hr {
    border-color: var(--gs-line);
}

::selection {
    background: #ffffff;
    color: #0a0a0a;
}

/* ─── [2] Typografia ─── */
h1, h2, h3 {
    text-transform: uppercase;
    letter-spacing: normal;
    color: #ffffff;
    font-weight: 200;
}

h4, h5, h6 {
    color: #ffffff;
    font-weight: 400;
}

strong {
    font-weight: 500;
    color: #ffffff;
}

/* menu: grubosc 200 jak oryginal (parent wymusza 400 -> !important) */
#header .menu a,
#header .main-part .menu > li > a,
#header .sliding-part .menu > li > a,
#header .mobile-part .menu a,
.main-part .menu > li > a,
.sliding-part .menu > li > a,
.mobile-part .menu > li > a {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 16px !important;
    font-weight: 200 !important;
}

/* ─── [3] Przyciski (outline + delikatne biale tlo, jak na starej) ─── */
button,
.button,
a.button,
input[type="submit"],
input[type="button"],
.wp-block-button > a {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, .64) !important;
    color: #ffffff !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 15px;
    font-weight: 200;
    padding: 12px 24px;
    transition: background .3s, color .3s, border-color .3s;
}

button:hover,
.button:hover,
a.button:hover,
input[type="submit"]:hover,
.wp-block-button > a:hover {
    background: #ffffff !important;
    border-color: #ffffff !important;
    color: #0a0a0a !important;
}

/* ─── [4] Header / menu ─── */
#header .top-part {
    background: var(--gs-bg);
}

#header .main-part {
    background: rgba(10, 10, 10, .86);
    backdrop-filter: blur(4px);
}

#header .sliding-part {
    background: rgba(10, 10, 10, .96);
}

#header .brand img {
    max-height: 38px;
    width: auto;
}

/* pajeczyna w headerze usunieta calkowicie (na zyczenie klienta) */
#header .main-part::before {
    display: none !important;
}

/* ─── [5] Hero ─── */
#slider ul._slider li {
    position: relative;
}

.gs-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#slider::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, .78);
    pointer-events: none;
    z-index: 1;
}

/* paski tytulowe podstron JASNIEJSZE (jak oryginal - widoczna szara tekstura betonu) */
body:not(.home) #slider::after {
    background: linear-gradient(90deg, rgba(10, 10, 10, .55) 0%, rgba(10, 10, 10, .32) 55%, rgba(10, 10, 10, .2) 100%);
}

#slider .widgets {
    z-index: 2;
}

.gs-hero {
    text-align: center;
}

.gs-hero .gs-hero-cta {
    animation: gsHeroIn 1.4s cubic-bezier(.2, .7, .3, 1) .5s both;
}

@keyframes gsHeroIn {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: none; }
}

.gs-hero h1,
#slider .widgets .gs-hero h1 {
    font-size: 34px !important;
    line-height: 1 !important;
    margin-bottom: 10px;
    font-weight: 200 !important;
    letter-spacing: normal !important;
}

.gs-hero-sub {
    text-transform: uppercase;
    letter-spacing: .7px;
    font-size: 30px;
    line-height: 1;
    font-weight: 100;
    color: #ffffff;
    margin-bottom: 32px;
}

.gs-hero-cta {
    display: flex;
    gap: 26px;
    justify-content: center;
    flex-wrap: wrap;
}

.gs-hero-cta .button {
    padding: 12px 0;
    width: 295px;
    max-width: 80vw;
    text-align: center;
}

#slider .theres-more-button {
    color: #ffffff;
    z-index: 2;
    animation: gsBounce 2.4s ease-in-out infinite;
}

@keyframes gsBounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(8px); }
}

/* hero na podstronach - nizszy pas */
body:not(.home) .slider > ul._slider li {
    height: 34vh !important;
    min-height: 240px;
}

/* ─── [6] Sekcje home / strony ─── */
.the-content {
    color: var(--gs-text);
}

.the-content a:not(.button) {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.gs-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.gs-center {
    text-align: center;
}

.gs-section {
    padding: 90px 0;
}

.gs-photo-section.gs-section {
    padding: 160px 0;
}

.gs-section.gs-tight {
    padding: 90px 0 12px;
}

.gs-section h2,
.the-content .gs-section h2,
#content .gs-section h2 {
    font-size: 34px !important;
    margin: 0 0 34px;
    font-weight: 200;
    line-height: 1.2 !important;
}

.gs-sub {
    color: #ffffff;
    margin: -18px 0 46px;
    font-size: 18px;
    font-weight: 200;
}

div.gs-morebtn {
    margin: 44px 0 100px;
    text-align: center;
}

div.gs-morebtn .button {
    padding: 12px 0;
    width: 295px;
    display: inline-block;
    text-align: center;
}

/* uklad 2 kolumny: naglowek lewo / tresc prawo */
.gs-2col {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 56px;
    align-items: start;
}

.gs-2col h2 {
    margin: 0;
}

.gs-2col-body p {
    margin-bottom: .8em;
    line-height: 1.45;
    font-size: 18px;
    font-weight: 200;
    color: #ffffff;
}

.gs-2col-body .gs-btn-wide {
    display: block;
    width: 100%;
    text-align: center;
    padding: 13px 0;
    margin-top: 30px;
}

@media (max-width: 820px) {
    .gs-2col {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* dlaczego my - linie z prawej */
.gs-whylines {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.gs-whylines .gs-whyline,
.the-content .gs-whylines p {
    margin: 0;
}

.gs-why .gs-2col {
    grid-template-columns: .62fr 1.38fr;
}

.gs-whyline {
    display: grid;
    grid-template-columns: 150px 480px;
    justify-content: end;
    align-items: center;
    column-gap: 40px;
    text-transform: uppercase;
    font-size: 26px;
    font-weight: 100;
    color: #ffffff;
    letter-spacing: .7px;
    line-height: 1;
    margin: 0;
    text-align: right;
    white-space: nowrap;
}

/* kreski przy naglowkach - rownej dlugosci i w jednej kolumnie (wspolny lewy+prawy brzeg) */
.gs-wl {
    height: 1px;
    background: #ffffff;
    width: 150px;
}

@media (max-width: 900px) {
    .gs-why .gs-2col { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .gs-wl { display: none; }
    .gs-whyline { grid-template-columns: 1fr; text-align: left; white-space: normal; }
}

/* sekcje z fotograficznym tlem (uslugi, CTA) */
.gs-photo-section {
    background-size: cover;
    background-position: center;
    position: relative;
    isolation: isolate;
}

.gs-photo-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, .72);
    z-index: -1;
    backdrop-filter: grayscale(1);
}

/* karty-szklo uslug */
.gs-glasscards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 46px;
}

.gs-glass {
    background: rgba(255, 255, 255, .04);
    backdrop-filter: blur(10px);
    padding: 48px 20px;
    text-transform: uppercase;
    font-size: 17px;
    font-weight: 300;
    letter-spacing: .04em;
    color: rgba(255, 255, 255, .88);
    line-height: 1.5;
    transition: background .4s;
}

.gs-glass:hover {
    background: rgba(255, 255, 255, .12);
}

/* pas partnerow */
.gs-partners {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 46px;
}

.gs-partners > * {
    background: #ffffff;
    padding: 22px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .35s;
}

.gs-partners > *:hover {
    transform: translateY(-4px);
}

.gs-partners img {
    max-height: 52px;
    width: auto;
    display: block;
}

/* opinie */
.gs-reviews {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.gs-review {
    background: rgba(255, 255, 255, .025);
    padding: 44px;
    font-size: 16px;
    line-height: 1.75;
    transition: background .4s;
}

.gs-review:hover {
    background: rgba(255, 255, 255, .05);
}

.gs-review p {
    font-style: italic;
    color: var(--gs-text);
}

.gs-stars {
    color: var(--gs-star);
    font-size: 21px;
    letter-spacing: 5px;
    margin-bottom: 22px;
}

.gs-review footer {
    margin-top: 26px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-size: 16px;
    line-height: 1;
    font-weight: 200;
    display: flex;
    align-items: center;
    gap: 14px;
}

.gs-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #6b21a8;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 400;
    flex: none;
}

.gs-review:nth-child(2) .gs-avatar { background: #1d4ed8; }
.gs-review:nth-child(3) .gs-avatar { background: #b45309; }

/* CTA koncowe */
.gs-cta-final .gs-2col {
    align-items: center;
}

.gs-cta-final .gs-center h2 {
    max-width: 940px;
    margin-left: auto !important;
    margin-right: auto !important;
    line-height: 1.45 !important;
    font-size: 30px !important;
}

.gs-cta-left {
    justify-content: flex-start;
}

.gs-cta-left .button {
    width: 46%;
    min-width: 200px;
}

/* strony tresciowe */
.gs-ptitle {
    font-size: clamp(30px, 3.2vw, 44px);
    font-weight: 300;
    margin: 10px 0 40px;
    text-align: center;
}

.gs-split > div:empty {
    display: none;
}

.gs-split:has(> div:empty) {
    grid-template-columns: 1fr;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.gs-page {
    padding: 64px 24px 84px;
    line-height: 1.8;
    font-size: 17px;
    font-weight: 200;
    color: #f2f4f5;
}

.gs-narrow {
    max-width: 840px;
}

.gs-page h2 {
    margin: 2.3em 0 .8em;
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 200;
}



.gs-page h3 {
    margin: 1.8em 0 .7em;
    font-size: 19px;
    font-weight: 400;
}

.gs-page ul,
.gs-page ol {
    padding-left: 1.3em;
}

.gs-page li {
    margin-bottom: .5em;
}

.gs-page li::marker {
    color: var(--gs-muted);
}

.gs-page blockquote {
    border-left: 2px solid var(--gs-line-strong);
    padding: 10px 0 10px 26px;
    margin: 30px 0;
}

.gs-page figure {
    margin: 34px 0;
}

.gs-page img {
    max-width: 100%;
    height: auto;
}

/* rzad zdjec w tresci */
.gs-figrow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.gs-figrow img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform .5s;
}

.gs-figrow img:hover {
    transform: scale(1.03);
}

/* dwukolumnowa sekcja tekst+zdjecie */
.gs-split {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 48px;
    align-items: center;
    margin: 44px 0;
}

.gs-split img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 820px) {
    .gs-split {
        grid-template-columns: 1fr;
    }
}

.gs-motto {
    text-align: center;
    font-style: italic;
    color: var(--gs-muted);
    max-width: 720px;
    margin: 48px auto 8px;
    font-size: 18px;
}

/* tytul podstrony w hero (przenoszony JS-em do #slider) */
.gs-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-content: center;
    align-items: center;
    column-gap: 40px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    pointer-events: none;
}

.gs-hero-overlay .gs-pimg {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin: 0;
}

.gs-hero-overlay .gs-pimg img {
    max-height: 72px;
    width: auto;
    background: #ffffff;
    padding: 12px 20px;
    display: block;
}

@media (max-width: 700px) {
    .gs-hero-overlay .gs-pimg { display: none; }
}

.gs-hero-overlay .gs-ptitle {
    grid-column: 1;
    grid-row: 1;
    font-size: 38px !important;
    font-weight: 200;
    margin: 0 0 14px !important;
    text-align: left;
    line-height: 1.15 !important;
    animation: gsFadeIn 2s both .2s;
}

.gs-hero-overlay .gs-psub {
    grid-column: 1;
    grid-row: 2;
    text-transform: uppercase;
    font-size: 19px;
    font-weight: 100;
    letter-spacing: .5px;
    color: rgba(255, 255, 255, .85);
    margin: 0;
    animation: gsFadeIn 1s both .4s;
}

/* gdy tytul strony przeniesiony do hero - ukryj duplikat z szablonu */
body.gs-hero-titled #content .post > h1.title,
body.gs-hero-titled #content h1.title {
    display: none;
}

/* lista benefitow: linia z lewej + wersaliki (finansowanie) */
.gs-benefits {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 34px 0;
}

.gs-benefit {
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 20px;
    align-items: start;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 200;
    letter-spacing: .5px;
    line-height: 1.4;
    color: rgba(255, 255, 255, .9);
    margin: 0;
}

.gs-benefit::before {
    content: '';
    height: 1px;
    background: rgba(255, 255, 255, .8);
    margin-top: .75em;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 1s cubic-bezier(.25, .6, .3, 1) .1s;
}

.gs-benefit.gs-in::before {
    transform: scaleX(1);
}

/* naglowek zdaniowy (bez wersalikow) */
.gs-h2-normal {
    text-transform: none !important;
    letter-spacing: normal !important;
}

/* naglowki tresciowe bez wlasnego rozmiaru (Napisz do nas) - 34px/200 jak oryginal (nie 41px parenta) */
.gs-contact-cols h2,
.the-content .gs-2col > div > h2:not([class]) {
    font-size: 34px !important;
    font-weight: 200 !important;
    line-height: 1.2 !important;
}

/* dane kontaktowe z ikonami */
.gs-contact-data p {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 17px;
    font-weight: 200;
    color: #ffffff;
    margin-bottom: 9px;
}

.gs-contact-data i {
    width: 20px;
    text-align: center;
    color: rgba(255, 255, 255, .75);
}

.gs-contact-data .gs-nip {
    display: block;
    margin-top: 16px;
    color: var(--gs-muted);
}

/* finansowanie - drugie zdjecie: logo mFinanse w lewym dolnym rogu (jak oryginal, bez rozciagania) */
.gs-fin-img {
    position: relative;
    line-height: 0;
}

.gs-fin-img > img:first-child {
    width: 100%;
    height: auto;
    display: block;
}

.gs-fin-img .gs-fin-logo {
    position: absolute;
    left: 0;
    bottom: 0;
    width: auto !important;
    max-height: 56px;
    background: #ffffff;
    padding: 12px 20px;
}

.gs-contact-data .gs-nip strong {
    color: var(--gs-muted);
    font-weight: 300;
}

/* mapa kontakt - pelna szerokosc, szara */
.gs-map {
    margin-top: 70px;
}

.gs-map iframe {
    display: block;
    width: 100%;
    height: 500px;
    border: 0;
    filter: grayscale(1) contrast(.95);
}

/* wiersz-sekcja 2-kolumnowa na stronach tresciowych (o-nas itd.) */
.gs-secrow {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 56px;
    padding: 72px 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    align-items: start;
}

.gs-secrow:first-of-type {
    border-top: none;
}

.gs-secrow h2 {
    margin: 0 !important;
    font-size: 34px !important;
    font-weight: 200;
    line-height: 1.2 !important;
}

.gs-secrow h2::after {
    display: none;
}

.gs-secrow-body p {
    font-size: 18px;
    font-weight: 200;
    color: #ffffff;
    line-height: 1.45;
    margin-bottom: .9em;
}

.gs-secrow-body ul,
.gs-secrow-body ol {
    padding-left: 1.2em;
}

.gs-secrow-body li {
    font-size: 18px;
    font-weight: 200;
    color: #ffffff;
    margin-bottom: .5em;
}

@media (max-width: 820px) {
    .gs-secrow {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 48px 0;
    }
}

/* naglowek kroku: linia + tekst wyrownane do prawej (jak oryginal /zglos/) */
.gs-steph,
.gs-secrow-body .gs-steph,
.gs-secrow-body p.gs-steph {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
    text-transform: uppercase;
    font-size: 28px !important;
    font-weight: 100;
    letter-spacing: .6px;
    color: rgba(255, 255, 255, .85) !important;
    margin: 44px 0 16px !important;
    text-align: right;
}

.gs-steph::before {
    content: '';
    height: 1px;
    background: rgba(255, 255, 255, .7);
    flex: 1 1 auto;
    min-width: 40px;
}

.gs-steph::after {
    display: none !important;
}

/* baner partnerski w lewej kolumnie (finansowanie) */
.gs-banner-left {
    max-width: 560px;
    margin: 20px 0 40px;
}

.gs-banner-left img {
    width: 100%;
    height: auto;
    display: block;
}

/* galeria pod hero: nachodzi na baner, naprzemienne przesuniecia */
.gs-gallery-overlap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 22px;
    margin: -70px 0 30px;
    position: relative;
    z-index: 3;
}

.gs-gallery-overlap img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
}

.gs-gallery-overlap > *:nth-child(2),
.gs-gallery-overlap > *:nth-child(3) {
    transform: translateY(-26px);
}

@media (max-width: 820px) {
    .gs-gallery-overlap { margin-top: 20px; }
    .gs-gallery-overlap > * { transform: none !important; }
}

/* nota cenowa regionu - mniejszy blok dosuniety w prawo */
.gs-pricenote {
    font-size: 14px !important;
    color: var(--gs-muted) !important;
    text-align: right;
    max-width: 70%;
    margin-left: auto !important;
    margin-top: 18px !important;
}

/* dopisek przy naglowku regionu */
.gs-hsub {
    display: block;
    font-size: 17px;
    color: var(--gs-muted);
    letter-spacing: 1px;
    margin-top: 10px;
}

/* siatka krokow 01.-06. (3x2, duze szare numery, pionowe dividery) */
.gs-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 54px 44px;
    margin: 50px 0 20px;
}

@media (max-width: 900px) {
    .gs-steps-grid { grid-template-columns: 1fr; }
}

.gs-step {
    border-left: 1px solid rgba(255, 255, 255, .35);
    padding-left: 26px;
}

.gs-step-num {
    display: block;
    font-size: 46px;
    font-weight: 200;
    color: #6d7278;
    line-height: 1;
    margin-bottom: 16px;
}

.gs-step p {
    font-size: 16px;
    font-weight: 200;
    color: #ffffff;
    line-height: 1.6;
    margin: 0;
}

/* split 50/50: polowa = przyciemnione zdjecie-tlo, polowa = tekst */
.gs-halfbg {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 430px;
    margin: 70px 0 0;
}

.gs-halfbg .gs-halfbg-img {
    background-size: cover;
    background-position: center;
    position: relative;
}

.gs-halfbg .gs-halfbg-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, .45);
}

.gs-halfbg .gs-halfbg-txt {
    padding: 70px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--gs-bg);
}

.gs-halfbg .gs-halfbg-txt h2 {
    font-size: 30px !important;
    font-weight: 200;
    margin: 0 0 26px !important;
    line-height: 1.3 !important;
}

.gs-halfbg .gs-halfbg-txt p {
    font-size: 16px;
    font-weight: 200;
    color: #f2f4f5;
    line-height: 1.7;
}

@media (max-width: 820px) {
    .gs-halfbg { grid-template-columns: 1fr; margin-left: 0; margin-right: 0; }
    .gs-halfbg .gs-halfbg-img { min-height: 260px; }
}

/* szary akcent w naglowku */
.gs-accent {
    color: #8a8f94;
    font-style: normal !important;
}

.gs-hsub {
    font-style: normal !important;
}

h2 .gs-accent,
h2 .gs-hsub,
h1 span,
h2 span {
    font-style: normal;
}

/* sekcja agentki (Hiszpania/Cypr): centrowana na tle foto, okragle zdjecie, pola tel/mail */
.gs-agentka {
    text-align: center;
}

.gs-agentka h2 {
    max-width: 900px;
    margin-left: auto !important;
    margin-right: auto !important;
}

.gs-agentka img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, .65);
    margin: 26px auto 18px;
    display: block;
}

.gs-agentka .gs-agentka-name {
    font-size: 22px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #ffffff;
    margin-bottom: 26px;
}

.gs-agentka .gs-agentka-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.gs-agentka .gs-agentka-links a {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, .6);
    background: rgba(255, 255, 255, .07);
    color: #ffffff;
    text-decoration: none;
    padding: 13px 34px;
    font-size: 15px;
    font-weight: 200;
    letter-spacing: .5px;
    transition: background .3s, color .3s;
}

.gs-agentka .gs-agentka-links a:hover {
    background: #ffffff;
    color: #0a0a0a;
}

/* topbar: dwa telefony + mail (jak oryginal) */
.gs-topbar-contact {
    display: flex !important;
    gap: 28px !important;
    justify-content: flex-end;
    font-size: 14px;
    font-weight: 200;
}

.gs-topbar-contact a {
    color: #ffffff;
    text-decoration: none;
}

/* pasek dolny stopki: polityki inline */
#footer [class*='bottom'] .menu li,
#footer [class*='bottom'] ul li {
    display: inline-block;
    margin-left: 22px;
}

/* ─── [7] Formularze ─── */

.the-content form.widget-submit-form,
.the-content form.asariwww_zglosform {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* formularz: etykiety "na ramce" inputa (styl oryginalu) - stackujemy kolumny label/input */
.the-content form .form-row {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap !important;
    height: auto !important;
    align-items: stretch !important;
}

.the-content form .form-row > [class*='offset-'] {
    margin-left: 0 !important;
}

.the-content form .form-row > [class*='col-'] {
    width: 100% !important;
    max-width: 100% !important;
    flex: none;
}

.the-content form label {
    position: relative;
    top: 13px;
    left: 14px;
    display: inline-block;
    background: var(--gs-bg);
    padding: 0 10px;
    font-size: 15px;
    font-weight: 200;
    color: rgba(255, 255, 255, .85);
    z-index: 2;
}

.the-content form input[type="text"],
.the-content form input[type="email"],
.the-content form input[type="tel"],
.the-content form input[type="number"],
.the-content form select,
.the-content form textarea {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, .45) !important;
    min-height: 52px;
}

/* submit + klauzula RODO formularza */
.the-content form input[type="submit"] {
    display: inline-block;
    width: auto !important;
    min-width: 295px;
    margin: 30px auto 16px;
    position: relative;
    z-index: 3;
}

.the-content form [class*='col-']:has(> input[type="submit"]) {
    text-align: center;
}

.the-content form .clausule {
    flex: 0 0 100%;
    width: 100%;
    font-size: 12px;
    color: var(--gs-muted);
    line-height: 1.6;
    margin-top: 26px;
    padding: 0 24px;
    clear: both;
}

/* klauzule NIE dostaja stylu floating-label */
.the-content form .clausule label {
    position: static !important;
    top: auto;
    left: auto;
    background: transparent !important;
    padding: 0;
    display: inline;
    font-size: 12px;
    font-weight: 300;
    color: var(--gs-muted);
    z-index: auto;
}

.the-content form .clausule a {
    color: #ffffff;
}

/* ── KONTAKT: formularz asariplug 1:1 z oryginalem (jedna kolumna, etykiety-notch na krawedzi pola) ── */
.gs-contact-cols form .row {
    display: block !important;
    margin: 0 !important;
}

.gs-contact-cols form .row > [class*="col"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding: 0 !important;
    margin: 0 0 26px !important;
}

.gs-contact-cols form .form-group {
    position: relative;
}

/* etykieta na gornej krawedzi pola (notch) - nadpisuje globalny floating-label */
.gs-contact-cols form .form-group > label {
    position: absolute !important;
    top: -8px !important;
    left: 18px !important;
    background: var(--gs-bg) !important;
    padding: 0 8px !important;
    font-size: 13px !important;
    font-weight: 200 !important;
    letter-spacing: .3px;
    color: rgba(255, 255, 255, .78) !important;
    z-index: 2;
}

.gs-contact-cols form .form-group > input:not([type="checkbox"]):not([type="radio"]),
.gs-contact-cols form .form-group > textarea,
.gs-contact-cols form .form-group > select {
    width: 100% !important;
    min-height: 56px;
    padding: 12px 18px !important;
}

.gs-contact-cols form .form-group > textarea {
    min-height: 120px;
}

/* RODO: maly checkbox po lewej, tekst obok (jak oryginal) */
.gs-contact-cols form .clausule {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 8px 0 20px !important;
    padding: 0 !important;
}

.gs-contact-cols form .clausule input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    min-height: 0 !important;
    flex: 0 0 20px;
    margin: 2px 0 0 !important;
    padding: 0 !important;
    accent-color: #ffffff;
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, .5) !important;
}

.gs-contact-cols form .clausule label {
    position: static !important;
    top: auto !important;
    left: auto !important;
    background: transparent !important;
    padding: 0 !important;
    font-size: 12px !important;
    line-height: 1.6;
    color: var(--gs-muted) !important;
}

.gs-contact-cols form input[type="submit"] {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 6px 0 0 !important;
    padding: 15px 0 !important;
}

/* formularze bootstrapowe (zglos/zlec): ujemne marginesy gutterow .row
   wylewaja sie poza pelnoszerokosciowy kontener - absorbujemy paddingiem
   i domykamy clipem */
body {
    overflow-x: clip;
}

/* sekcje full-bleed (CTA, agentka, halfbg) */
.gs-bleed {
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}

.the-content > .row,
.the-content form > .row,
.the-content .row.gx-5 {
    max-width: 1180px;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 24px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="search"],
select,
textarea {
    background: var(--gs-bg-2) !important;
    border: 1px solid var(--gs-line) !important;
    color: var(--gs-text) !important;
    border-radius: 0 !important;
    transition: border-color .3s;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--gs-line-strong) !important;
    outline: none;
}

input::placeholder,
textarea::placeholder {
    color: var(--gs-muted);
}

label {
    color: var(--gs-text);
}

/* ─── [8] Oferty (asariplug) ─── */
.asariplug_common_box {
    background: var(--gs-bg-2);
    color: var(--gs-text);
}

#slider + .widgets .inner,
#slider + .widgets .widget,
.asariplug_sengine,
.asariplug_sengine form {
    background: transparent !important;
    border-radius: 0 !important;
}

#slider + .widgets {
    background: var(--gs-bg-2) !important;
    border-top: 1px solid var(--gs-line);
    border-bottom: 1px solid var(--gs-line);
}

.asariplug_sengine .asariplug_sengine_checkselect_label,
.asariplug_sengine input[type='search'],
.asariplug_sengine .form-control,
.asariplug_sengine .btn,
.asariplug_sengine .selectpicker {
    background: var(--gs-bg-2) !important;
    border: 1px solid var(--gs-line) !important;
    color: var(--gs-text) !important;
    border-radius: 0 !important;
}

.asariplug_sengine .dropdown-menu {
    background: var(--gs-bg-3) !important;
    color: var(--gs-text) !important;
}

.asariplug_sengine .dropdown-menu li a {
    color: var(--gs-text) !important;
}

.offers.boxes .offer-box,
.offer-box {
    background: var(--gs-bg-2);
    border: none;
    transition: background .4s, transform .4s;
    overflow: hidden;
}

.offer-box:hover {
    background: var(--gs-bg-3);
    transform: translateY(-6px);
}

.offer-box img {
    transition: transform .6s;
}

.offer-box:hover img {
    transform: scale(1.05);
}

.offer-box .title,
.offer-box a {
    color: #ffffff;
}

.offer-box .price {
    color: #ffffff;
    letter-spacing: .04em;
    font-style: italic;
}

.infobox-inner {
    background: var(--gs-bg-2) !important;
    color: var(--gs-text) !important;
}

.pagination a,
.pagination span {
    background: var(--gs-bg-2);
    border: 1px solid var(--gs-line);
    color: #ffffff;
    border-radius: 0;
}

.pagination .current {
    background: #ffffff;
    color: #0a0a0a;
}

/* ── Oferta: strona szczegolowa (offerdetails) - dark skin ──
   parent daje jasne tlo (#f8f8f8) na #title / #params-main / #params-lateral,
   a nasz skin robi tekst bialy -> bialy na bialym. Nadpisujemy na ciemno. */

/* panel tytul + cena nad galeria: ciemna szyba */
#title.container {
    background: rgba(12, 12, 12, .82) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--gs-line);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}

#title h1,
#title h2,
#title .title,
#title .price,
#title .the-price,
#title strong {
    color: #ffffff !important;
}

#title .subtitle,
#title .location,
#title .address,
#title .type {
    color: rgba(255, 255, 255, .72) !important;
}

/* ikonki narzedzi (mapa/ulubione/druk/fb) - biale, widoczne */
#title .tools a,
#title .tools i,
#title .tools svg {
    color: rgba(255, 255, 255, .8) !important;
    fill: rgba(255, 255, 255, .8) !important;
    filter: invert(1) brightness(1.6);
    opacity: .85;
    transition: opacity .3s;
}

#title .tools a:hover {
    opacity: 1;
}

#title hr,
#title .divider {
    border-color: var(--gs-line) !important;
    background: var(--gs-line) !important;
}

/* parametry glowne: Cena / Powierzchnia / Liczba pokoi / Pietro / Nr oferty */
#params-main.parameters {
    background: rgba(12, 12, 12, .82) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--gs-line);
    border-top: none;
}

#params-main dt {
    color: var(--gs-muted) !important;
    font-weight: 200;
    letter-spacing: .5px;
    text-transform: uppercase;
    font-size: 12px;
}

#params-main dd {
    color: #ffffff !important;
    font-weight: 300;
}

/* dodatkowe informacje (winda/internet/ochrona/...) - pelna szerokosc na ciemno */
#params-lateral.parameters {
    background: var(--gs-bg-2) !important;
    border-top: 1px solid var(--gs-line);
    border-bottom: 1px solid var(--gs-line);
    color: var(--gs-text) !important;
    padding: 48px 0;
}

#params-lateral h3 {
    color: #ffffff !important;
}

#params-lateral dt {
    color: var(--gs-muted) !important;
    font-weight: 200;
    letter-spacing: .5px;
    text-transform: uppercase;
    font-size: 12px;
}

#params-lateral dd {
    color: #ffffff !important;
    font-weight: 300;
}

/* naglowki sekcji na karcie oferty (Opis / Galeria / Lokalizacja / Zapytaj o oferte) */
#description h3,
#gallery-grid h3,
#map h3,
#contact h3 {
    color: #ffffff !important;
    text-transform: uppercase;
    font-weight: 200;
    letter-spacing: .4px;
}

/* karta agenta po prawej: sticky - podaza za dlugim opisem */
#description .row {
    align-items: flex-start;
}

#description .col-md-4 {
    position: sticky;
    top: 100px;
    align-self: flex-start;
}

.agent-card {
    background: var(--gs-bg-2);
    border: 1px solid var(--gs-line);
    padding: 0 0 22px;
    overflow: hidden;
    max-width: 340px;
    margin-left: auto;
}

.agent-card .image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.agent-card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 18%;
    display: block;
}

.agent-card .info {
    padding: 18px 22px 0;
}

.agent-card .info .title h3 {
    font-size: 20px;
    margin: 0 0 2px;
}

.agent-card .info .position {
    font-size: 13px;
    color: var(--gs-muted);
    margin: 0 0 14px;
}

@media (max-width: 767px) {
    #description .col-md-4 {
        position: static;
        top: auto;
        margin-top: 32px;
    }

    .agent-card {
        margin-left: auto;
        margin-right: auto;
    }
}

/* sekcja formularza: parent daje bg-dark (komputuje sie na bialo) -> wymus ciemne;
   sam formularz zamkniety w karcie dla lepszego tla */
#contact.wp-block-group.bg-dark,
#contact {
    background: var(--gs-bg) !important;
    padding-top: 70px;
    padding-bottom: 90px;
}

#contact .width-4 {
    background: var(--gs-bg-2);
    border: 1px solid var(--gs-line);
    padding: 48px 46px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

#contact > h3,
#contact .width-4 > h3,
#contact h3 {
    text-align: center;
    margin-bottom: 34px;
}

/* ── Formularz "Zapytaj o oferte / Umow spotkanie" (type-agent-offer) ── */
.widget-contact-form.type-agent-offer {
    color: var(--gs-text) !important;
}

.widget-contact-form.type-agent-offer .form > .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 26px;
    margin: 0 0 30px;
}

.widget-contact-form.type-agent-offer .form-group {
    position: relative;
    margin: 0;
    min-width: 0;
}

/* etykieta na gornej krawedzi pola (notch) */
.widget-contact-form.type-agent-offer .form-group > label {
    position: absolute;
    top: -8px;
    left: 18px;
    background: var(--gs-bg-2);
    padding: 0 8px;
    font-size: 13px;
    font-weight: 200;
    letter-spacing: .3px;
    color: rgba(255, 255, 255, .78);
    z-index: 2;
}

.widget-contact-form.type-agent-offer .form-control {
    width: 100% !important;
    min-height: 56px;
    padding: 12px 18px !important;
    background: var(--gs-bg) !important;
    border: 1px solid var(--gs-line-strong) !important;
    color: var(--gs-text) !important;
    border-radius: 0 !important;
}

.widget-contact-form.type-agent-offer textarea.form-control {
    min-height: 148px;
    resize: vertical;
}

/* pole "Zaproponuj date spotkania": naglowek zwykly + 2 pola pod soba */
.widget-contact-form.type-agent-offer .form-group.meeting {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.widget-contact-form.type-agent-offer .form-group.meeting > label {
    position: static;
    top: auto;
    left: auto;
    background: transparent;
    padding: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, .78);
}

.widget-contact-form.type-agent-offer .form-group.meeting > span {
    display: none;
}

/* RODO: maly checkbox po lewej, tekst obok - pelna szerokosc */
.widget-contact-form.type-agent-offer .form-group.clausule {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
}

.widget-contact-form.type-agent-offer .form-group.clausule > label {
    position: static;
    top: auto;
    left: auto;
    background: transparent;
    padding: 0;
    font-size: 12px;
    line-height: 1.6;
    color: var(--gs-muted);
}

.widget-contact-form.type-agent-offer .form-group.clausule input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    min-height: 0 !important;
    flex: 0 0 20px;
    margin: 2px 0 0 !important;
    padding: 0 !important;
    accent-color: #ffffff;
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, .5) !important;
}

/* captcha: pole rownania widoczne */
.widget-contact-form.type-agent-offer .form-group.captcha .form-control {
    max-width: 220px;
}

/* rownanie captcha jest w placeholderze - plugin/motyw daje mu opacity:0 i ciemny
   kolor (niewidoczne). Wymuszamy jasny, widoczny placeholder */
.widget-contact-form.type-agent-offer .form-group.captcha .form-control::placeholder {
    color: rgba(255, 255, 255, .88) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, .88) !important;
    opacity: 1 !important;
    font-size: 16px;
    letter-spacing: 1px;
}

.widget-contact-form.type-agent-offer .form-group.captcha .form-control::-webkit-input-placeholder {
    color: rgba(255, 255, 255, .88) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, .88) !important;
    opacity: 1 !important;
}

/* przycisk wyslij: pelnej szerokosci, outline (jak reszta) */
.widget-contact-form.type-agent-offer .form-group.submit {
    display: flex;
    align-items: center;
}

.widget-contact-form.type-agent-offer .form-group.submit input[type="submit"] {
    width: 100% !important;
    padding: 15px 0 !important;
}

/* komunikaty walidacji/statusu formularza */
.widget-contact-form.type-agent-offer .form-status,
.widget-contact-form.type-agent-offer .alert {
    color: #ffffff;
    grid-column: 1 / -1;
}

@media (max-width: 720px) {
    .widget-contact-form.type-agent-offer .form > .row {
        grid-template-columns: 1fr;
    }
}

/* mobile: bootstrapowe ujemne guttery rzedow (.row.gx-md-0 itd.) wylewaja sie
   poza pelnoszerokosciowa tresc oferty -> zerujemy gutter na malych ekranach */
@media (max-width: 767px) {
    #description .row,
    #params-main .row,
    #params-lateral .row,
    #gallery-grid .row {
        --bs-gutter-x: 0;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    #description .row > [class*="col"] {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* ── Animacje reveal przy przewijaniu (dwukierunkowe: w dol i w gore) ── */
.gs-reveal {
    opacity: 0;
    transform: translateY(38px);
    transition: opacity .8s cubic-bezier(.2, .7, .3, 1), transform .8s cubic-bezier(.2, .7, .3, 1);
    will-change: opacity, transform;
}

.gs-reveal.gs-rin {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .gs-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ─── [9] Blog / wpisy ─── */
.wp-block-latest-posts.is-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    padding: 0 24px;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 900px) {
    .wp-block-latest-posts.is-grid {
        grid-template-columns: 1fr;
    }
}

.wp-block-latest-posts.is-grid li {
    width: auto !important;
    max-width: none !important;
}

.wp-block-latest-posts.is-grid li {
    background: var(--gs-bg-2);
    padding: 0 0 28px;
    margin: 0;
    transition: background .4s, transform .4s;
    overflow: hidden;
}

.wp-block-latest-posts.is-grid li:hover {
    background: var(--gs-bg-3);
    transform: translateY(-6px);
}

.wp-block-latest-posts__featured-image img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
    transition: transform .6s;
}

.wp-block-latest-posts.is-grid li:hover .wp-block-latest-posts__featured-image img {
    transform: scale(1.05);
}

.wp-block-latest-posts li > a {
    color: #ffffff;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.5;
    text-decoration: none;
    display: block;
    padding: 18px 26px 0;
}

.wp-block-latest-posts__post-date {
    color: var(--gs-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .18em;
    padding: 10px 26px 0;
}

body.blog #content,
body.archive #content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1180px;
    margin: 40px auto 60px;
    padding: 0 24px;
}

body.blog #content > *:not(.post),
body.archive #content > *:not(.post) {
    grid-column: 1 / -1;
}

body.blog .post,
body.archive .post {
    display: flex;
    flex-direction: column;
}

body.blog .post .thumbnail,
body.blog .post img,
body.archive .post img {
    width: 100% !important;
    max-width: 100% !important;
    height: 300px;
    object-fit: cover;
}

body.blog .post .title,
body.archive .post .title {
    text-transform: none;
    font-weight: 300;
    font-size: 24px;
}

body.blog .post .meta.category,
body.blog .post .meta.tags,
body.blog .post .the-content,
body.archive .post .meta.category,
body.archive .post .meta.tags,
body.archive .post .the-content {
    display: none;
}

body.blog .post .more-link,
body.archive .post .more-link {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
}

@media (max-width: 820px) {
    body.blog #content,
    body.archive #content { grid-template-columns: 1fr; }
}

body.blog .post-OLD,
body.archive .post-OLD {
    background: var(--gs-bg-2);
    border: none;
    transition: background .4s, transform .4s;
}

body.blog .post:hover,
body.archive .post:hover {
    background: var(--gs-bg-3);
    transform: translateY(-4px);
}

body.single-post .slider > ul._slider li img {
    display: none;
}

body.single-post .slider > ul._slider li {
    background: url('/wp-content/uploads/2026/08/grey-spacious.webp') center / cover;
}

body.single-post .the-content {
    line-height: 1.9;
    font-size: 17px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 200;
    color: #f2f4f5;
}

body.single-post #content h1.title {
    text-transform: none;
    font-weight: 200;
    text-align: left;
    max-width: 800px;
    margin: 30px auto 20px;
}

body.single-post .the-content h2 {
    text-transform: none;
    font-weight: 200;
    font-size: 28px;
}

body.single-post .the-content ul {
    list-style: disc;
    padding-left: 1.4em;
}

body.single-post .the-content ul li {
    display: list-item;
}

/* sekcje nadmiarowe pod wpisem (podobne artykuly + formularz) - oryginal ich nie ma */
body.single-post .related,
body.single-post .similar-posts,
body.single-post #content .widget-contact-form,
body.single-post #content form,
body.single-post .others {
    display: none !important;
}

body.single-post .the-content h2 {
    margin: 2.2em 0 .8em;
    font-weight: 300;
}

body.single-post .the-content h3 {
    margin: 1.7em 0 .6em;
    font-weight: 400;
}

/* ─── [10] Zespol ─── */
/* asariplug-team (CRM): kontener do szerokosci tresci + absorpcja ujemnych gutterow .holder (-20px) */
.the-content .widget-team {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.gs-team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 46px;
}

@media (max-width: 980px) {
    .gs-team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .gs-team-grid { grid-template-columns: 1fr; }
}

.gs-agent {
    border: 1px solid rgba(255, 255, 255, .14);
    padding: 0 0 30px;
    text-align: center;
    transition: border-color .4s;
}

.gs-agent:hover {
    border-color: rgba(255, 255, 255, .35);
}

.gs-agent-photo {
    aspect-ratio: 10 / 13;
    overflow: hidden;
    margin: 0 0 26px;
}

.gs-agent-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform .6s;
}

.gs-agent:hover .gs-agent-photo img {
    transform: scale(1.04);
}

.gs-agent h2 {
    font-size: 22px !important;
    font-weight: 300;
    margin: 0 12px 10px !important;
    line-height: 1.25 !important;
}

.gs-agent h2::after {
    display: none;
}

.gs-agent-pos {
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: .5px;
    color: var(--gs-muted);
    margin: 0 14px 18px;
}

.gs-agent-mail,
.gs-agent-tel {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 200;
}

.gs-agent a,
.the-content .gs-agent a:not(.button) {
    color: #ffffff;
    text-decoration: none;
}

.team .member,
.team-box,
.the-team article {
    background: var(--gs-bg-2);
    border: none;
    transition: background .4s, transform .4s;
}

.team .member:hover,
.team-box:hover {
    background: var(--gs-bg-3);
    transform: translateY(-6px);
}

/* ─── [11] Footer + pajak ─── */
#footer {
    background: var(--gs-bg);
    border-top: 1px solid var(--gs-line);
    position: relative;
    overflow: hidden;
}

/* pajak-watermark z lewej - 1:1 ze strona oryginalna (292x295, subtelny, lekko obrocony) */
#footer::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 28px;
    width: 292px;
    height: 295px;
    background: url('assets/spider.svg') no-repeat center / contain;
    opacity: .07;
    transform: translateY(-58%) rotate(12deg);
    pointer-events: none;
}

@media (max-width: 1100px) {
    #footer::before {
        display: none;
    }
}

#footer a {
    color: var(--gs-text);
    text-decoration: none;
}

#footer a:hover {
    color: #ffffff;
}

#footer .widget-title,
#footer .widget h3 {
    text-transform: uppercase;
    letter-spacing: normal;
    font-size: 24px !important;
    font-weight: 200;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 22px;
}

#footer .widget {
    font-size: 15px;
    line-height: 2;
    font-weight: 200;
}

.gs-socials {
    display: flex;
    gap: 14px;
}

.gs-socials a {
    font-size: 22px;
    display: inline-block;
}

.gs-loc-btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gs-loc-btns .button {
    padding: 10px 0;
    text-align: center;
    font-size: 12px;
    letter-spacing: .1em;
    background: transparent !important;
}

.gs-loc-btns .button:hover {
    background: #ffffff !important;
}

#footer .theme_footer-bottom-right .widget-title,
#footer [id*='bottom'] .widget-title {
    display: none;
}

.gs-copy {
    color: var(--gs-muted);
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: 14px;
}

/* ─── [12] Animacje 1:1 (Elementor/animate.css: fadeIn, fadeInUp, slideInLeft; slow=2s) ─── */
.gs-a {
    opacity: 0;
}

.gs-a.gs-in {
    opacity: 1;
}

.gs-in.gs-a-fadeIn {
    animation: gsFadeIn 1s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.gs-in.gs-a-fadeInUp {
    animation: gsFadeInUp 1s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.gs-in.gs-a-slideInLeft {
    animation: gsSlideInLeft 1s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.gs-in.gs-a-gs-slow {
    animation-duration: 2s;
}

@keyframes gsFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes gsFadeInUp {
    from { opacity: 0; transform: translate3d(0, 40px, 0); }
    to   { opacity: 1; transform: none; }
}

@keyframes gsSlideInLeft {
    from { opacity: 0; transform: translate3d(-60px, 0, 0); }
    to   { opacity: 1; transform: none; }
}

/* linia w "dlaczego my" wjezdza z lewej gdy wiersz jest widoczny */
.gs-whyline .gs-wl {
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 1s cubic-bezier(.25, .6, .3, 1) .1s;
}

.gs-whyline.gs-in .gs-wl {
    transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
    .gs-a {
        opacity: 1;
        animation: none !important;
    }

    .gs-whyline .gs-wl,
    .gs-benefit::before {
        transform: none;
        transition: none;
    }

    .gs-hero .gs-hero-cta,
    #slider .theres-more-button,
    .gs-hero-overlay .gs-ptitle,
    .gs-hero-overlay .gs-psub {
        animation: none !important;
    }
}

/* na urzadzeniach dotykowych nie zostawiaj kart "przyklejonych" w stanie hover (tap = falszywy hover) */
@media (hover: none) {
    .offer-box:hover,
    .offers.boxes .offer-box:hover,
    .wp-block-latest-posts.is-grid li:hover,
    .gs-agent:hover,
    .team .member:hover,
    .team-box:hover,
    .gs-partners > *:hover,
    .gs-review:hover,
    .gs-figrow img:hover,
    body.blog .post:hover,
    body.archive .post:hover,
    .offer-box:hover img,
    .gs-agent:hover .gs-agent-photo img,
    .wp-block-latest-posts.is-grid li:hover .wp-block-latest-posts__featured-image img {
        transform: none;
    }
}

#cookie-bar {
    background: var(--gs-bg-2);
    color: var(--gs-text);
    border-top: 1px solid var(--gs-line);
    max-height: 32vh;
    overflow: auto;
}

#cookie-bar a {
    color: #ffffff;
}

#scroll-up,
.scroll-up {
    background: var(--gs-bg-2);
    color: #ffffff;
    border: 1px solid var(--gs-line);
}

.lg-backdrop {
    background: #0a0a0a !important;
}
