/* KANCELARIA GLOBAL
   SPADKI I ZACHOWKI
   Projekt granatowo-zloty
   04.11.2026
*/

#global-spadki {
    --gs-navy: #092238;
    --gs-navy2: #092238;
    --gs-gold: #d5a046;
    --gs-goldlight: #f0c976;
    --gs-text: #15283a;
    --gs-muted: #556270;
    --gs-line: #e5e7eb;
    --gs-cream: #f8f5f0;

    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0;
    background: #fff;
    color: var(--gs-text);
    font: 15px/1.6 Arial, Helvetica, sans-serif;
    overflow: hidden;
}

#global-spadki *,
#global-spadki *:before,
#global-spadki *:after {
    box-sizing: border-box;
}

#global-spadki h1,
#global-spadki h2,
#global-spadki h3,
#global-spadki p {
    margin-top: 0;
}

#global-spadki h1,
#global-spadki h2,
#global-spadki h3 {
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.13;
    letter-spacing: -.025em;
}

#global-spadki a {
    text-decoration: none;
}

#global-spadki button,
#global-spadki input,
#global-spadki textarea,
#global-spadki select {
    font: inherit;
}

#global-spadki a:focus-visible,
#global-spadki button:focus-visible,
#global-spadki summary:focus-visible,
#global-spadki input:focus-visible,
#global-spadki textarea:focus-visible {
    outline: 3px solid var(--gs-gold);
    outline-offset: 3px;
}

/* KONTAJNERY I PRZYCISKI */

#global-spadki .gs-wrap {
    width: min(1160px, calc(100% - 64px));
    margin-inline: auto;
}

#global-spadki .gs-section {
    padding: 50px 0;
}

#global-spadki .gs-section-title {
    font-size: clamp(27px, 3.2vw, 39px);
    text-align: center;
    margin: 0 0 32px;
    color: #0a2037;
}

#global-spadki .gs-section-title:after {
    content: "";
    display: block;
    width: 54px;
    height: 3px;
    margin: 15px auto 0;
    background: var(--gs-gold);
}

#global-spadki .gs-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 46px;
    padding: 12px 22px;
    border: 1px solid var(--gs-gold);
    border-radius: 5px;
    background: linear-gradient(180deg, #f4d18c, #dca74d);
    color: #10253a !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: filter .15s;
}

#global-spadki .gs-button:hover {
    filter: brightness(.95);
}

#global-spadki .gs-button-outline {
    color: #fff !important;
    background: transparent;
    border-color: #fff;
}

/* ==================================
   NAGLOWEK I NAWIGACJA
================================== */

#global-spadki .gs-header {
    background: #081d30;
    color: #fff;
}

#global-spadki .gs-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 67px;
}

#global-spadki .gs-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: #fff !important;
}

#global-spadki .gs-logo img {
    display: block;
    max-width: 186px;
    max-height: 52px;
    width: auto;
    height: auto;
    object-fit: contain;
}

#global-spadki .gs-logo-text {
    font: 700 19px/1.05 Georgia, serif;
    letter-spacing: .075em;
    color: white;
}

#global-spadki .gs-logo-text small {
    display: block;
    font: 400 9px/1.6 Arial, sans-serif;
    letter-spacing: .12em;
}

#global-spadki .gs-nav {
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.6vw, 24px);
    flex-wrap: wrap;
}

#global-spadki .gs-nav a {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

#global-spadki .gs-nav a[aria-current="page"] {
    color: var(--gs-goldlight);
    border-bottom: 2px solid var(--gs-gold);
    padding: 12px 0 10px;
}

#global-spadki .gs-call {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--gs-gold);
    border-radius: 5px;
    padding: 9px 12px;
    color: var(--gs-goldlight) !important;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

/* ==================================
   SEKCJA GLOWNA – HERO
================================== */

#global-spadki .gs-hero {
    background: var(--gs-navy);
    color: #fff;
}

#global-spadki .gs-hero-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr) minmax(0, 1.07fr);
    min-height: 330px;
}

#global-spadki .gs-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 42px 25px 42px
        max(32px, calc((100vw - 1160px)/2));
    position: relative;
    z-index: 1;
}

#global-spadki .gs-kicker {
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: 12px;
    font-weight: 800;
    color: var(--gs-goldlight);
    margin: 0 0 13px;
}

#global-spadki .gs-hero h1 {
    font-size: clamp(35px, 3.7vw, 50px);
    color: #fff;
    margin: 0 0 14px;
}

#global-spadki .gs-hero p.gs-intro {
    max-width: 580px;
    font-size: 16px;
    line-height: 1.5;
    margin: 0 0 22px;
    color: #e8eef3;
}

#global-spadki .gs-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

#global-spadki .gs-hero-photo {
    min-height: 310px;
    background-color: #1c2930;
    background-image:
        url('/assets/images-global/spadki-hero.jpg');
    background-size: cover;
    background-position: center;
}

/* ==================================
   ZAKRES POMOCY PRAWNEJ
================================== */

#global-spadki .gs-services {
    background: #fff;
}

#global-spadki .gs-service-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 0 26px;
}

#global-spadki .gs-service {
    display: flex;
    align-items: flex-start;
    gap: 17px;
    padding: 17px 0;
    min-height: 106px;
    border-bottom: 1px solid var(--gs-line);
}

#global-spadki .gs-service:nth-last-child(-n+3) {
    border-bottom: none;
}

#global-spadki .gs-service-icon {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    flex: none;
    border-radius: 10px;
    background: #f5f1ea;
    color: #a97c2d;
    font-size: 30px;
}

#global-spadki .gs-service h3 {
    font-size: 17px;
    margin: 4px 0 5px;
    color: #0d2033;
}

#global-spadki .gs-service p {
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

/* ==================================
   DLACZEGO KANCELARIA GLOBAL
================================== */

#global-spadki .gs-trust {
    background: linear-gradient(105deg, #102f48, #071a2d);
    color: #ffffff;
    padding: 46px 0;
}

#global-spadki .gs-trust-new-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: center;
    gap: 50px;
}

#global-spadki .gs-trust-new-copy,
#global-spadki .gs-trust-lawyers {
    min-width: 0;
}

#global-spadki .gs-eyebrow {
    display: block;
    margin-bottom: 18px;
    color: #f0c976;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .19em;
    text-transform: uppercase;
}

#global-spadki .gs-trust-new-copy h2 {
    color: #ffffff;
    font-size: clamp(25px, 2.5vw, 34px);
    line-height: 1.16;
    margin: 0 0 30px;
}

#global-spadki .gs-trust-checks {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

#global-spadki .gs-trust-check {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    color: #ffffff;
    line-height: 1.6;
}

#global-spadki .gs-trust-check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    min-width: 25px;
    border: 1.5px solid var(--gs-goldlight);
    border-radius: 50%;
    color: var(--gs-goldlight);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    margin-top: 2px;
}

#global-spadki .gs-trust-lawyers img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
    object-fit: cover;
}

/* ==================================
   ETAPY WSPOLPRACY
================================== */

#global-spadki .gs-process {
    background: #fff;
}

#global-spadki .gs-process-grid {
    display: grid;
    grid-template-columns:
        22% repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
}

#global-spadki .gs-process-title {
    font-size: clamp(26px, 2.7vw, 36px);
    color: #0d2238;
    margin: 25px 0 0;
}

#global-spadki .gs-process-title:after {
    content: "";
    display: block;
    width: 52px;
    height: 3px;
    background: var(--gs-gold);
    margin-top: 16px;
}

#global-spadki .gs-step {
    position: relative;
    text-align: center;
    padding: 12px 0 0;
}

#global-spadki .gs-step-number {
    position: absolute;
    top: 0;
    left: 5px;
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--gs-gold);
    color: #101f2f;
    font-size: 13px;
    font-weight: 700;
}

#global-spadki .gs-step-icon {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin: 0 auto 12px;
    background: #f7f3ec;
    border-radius: 50%;
    font-size: 28px;
    color: #10263a;
}

#global-spadki .gs-step h3 {
    font-size: 16px;
    margin: 0 0 7px;
}

#global-spadki .gs-step p {
    font-size: 13px;
    line-height: 1.48;
    margin: 0;
}

/* ==================================
   CENNIK – CHUNK GLOBAL_Koszty_Spadki
================================== */

#global-spadki .gs-pricing {
    background: #f7f4ef;
}

#global-spadki .gs-pricing h2 {
    font-size: clamp(27px, 3.2vw, 39px);
    margin: 0 0 32px;
}

#global-spadki .gs-pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    margin: 32px 0 26px;
}

#global-spadki .gs-pricing-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #ffffff;
    border: 1px solid #e7dfd2;
    border-radius: 6px;
    padding: 28px 24px;
}

#global-spadki .gs-pricing-card-value {
    display: block;
    margin-bottom: 16px;
    color: #b88742;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 34px;
    font-weight: 500;
    line-height: 1.2;
}

#global-spadki .gs-pricing-card h3 {
    color: #102d43;
    font-size: 21px;
    line-height: 1.3;
    margin: 0 0 14px;
}

#global-spadki .gs-pricing-card p {
    color: #526170;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* Możliwość pokrycia kosztów sądowych */

#global-spadki .gs-pricing-court {
    width: 100%;
    background: rgba(255, 255, 255, .4);
    border: 1px solid #c9a66e;
    border-radius: 6px;
    padding: 26px 28px;
    margin: 0 0 22px;
}

#global-spadki .gs-pricing-court h3 {
    color: #102d43;
    font-size: 23px;
    line-height: 1.35;
    margin: 0 0 12px;
}

#global-spadki .gs-pricing-court p,
#global-spadki .gs-pricing-note {
    color: #465765;
    font-size: 15px;
    line-height: 1.7;
}

#global-spadki .gs-pricing-court p {
    margin: 0;
}

#global-spadki .gs-pricing-note {
    margin: 0 0 24px;
}

#global-spadki .gs-pricing-action {
    margin-top: 24px;
}

/* ==================================
   FORMULARZ KONTAKTOWY
================================== */

#global-spadki .gs-contact {
    padding: 28px 0 35px;
    background: #081f33;
    color: #fff;
}

#global-spadki .gs-contact-grid {
    display: grid;
    grid-template-columns:
        25% minmax(0, 1fr) 19%;
    gap: 22px;
    align-items: start;
}

#global-spadki .gs-contact h2 {
    font-size: 32px;
    line-height: 1.08;
    margin: 2px 0 15px;
    color: #fff;
}

#global-spadki .gs-contact-intro p {
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
    color: #ecf2f7;
}

#global-spadki .gs-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
}

#global-spadki .gs-form .gs-full {
    grid-column: 1/-1;
}

#global-spadki .gs-form label {
    display: block;
    font-size: 12px;
}

#global-spadki .gs-form input:not([type="checkbox"]),
#global-spadki .gs-form textarea {
    display: block;
    width: 100%;
    min-width: 0;
    background: transparent;
    color: #fff;
    border: 1px solid #b7ccd9;
    border-radius: 4px;
    padding: 10px 12px;
    font-size: 13px;
}

#global-spadki .gs-form input::placeholder,
#global-spadki .gs-form textarea::placeholder {
    color: #d7e4ef;
    opacity: 1;
}

#global-spadki .gs-form textarea {
    min-height: 93px;
    resize: vertical;
}

#global-spadki .gs-form input[type="checkbox"] {
    accent-color: var(--gs-gold);
    margin-right: 7px;
}

#global-spadki .gs-form a {
    color: var(--gs-goldlight);
    text-decoration: underline;
}

#global-spadki .gs-form .gs-privacy {
    font-size: 12px;
    color: #e8eef2;
}

#global-spadki .gs-form .gs-message {
    font-size: 13px;
    grid-column: 1/-1;
}

#global-spadki .gs-contact-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    padding-top: 8px;
}

#global-spadki .gs-security {
    font-size: 12px;
    line-height: 1.45;
    color: #e8eef2;
}

#global-spadki .gs-contact-side .gs-button {
    width: 100%;
}

/* ==================================
   FAQ – ROZWIJANE PYTANIA I ODPOWIEDZI
   Wykorzystuje <details> i <summary>
================================== */

#global-spadki .gs-faq {
    background:
        linear-gradient(105deg, #081e30, #0b2941);
    padding: 44px 0 56px;
    color: #fff;
}

#global-spadki .gs-faq .gs-section-title {
    text-align: left;
    color: #fff;
}

#global-spadki .gs-faq .gs-section-title:after {
    margin-left: 0;
}

#global-spadki .gs-faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
}

#global-spadki .gs-faq-list {
    display: grid;
    gap: 7px;
    align-content: start;
}

#global-spadki .gs-faq details {
    border: 1px solid #a6b7c5;
    border-radius: 6px;
    overflow: hidden;
}

#global-spadki .gs-faq summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 11px 18px;
    font: 700 16px/1.3 Georgia, serif;
}

#global-spadki .gs-faq summary::-webkit-details-marker {
    display: none;
}

#global-spadki .gs-faq summary:after {
    content: "+";
    font: 700 23px/1 Arial, sans-serif;
    color: var(--gs-goldlight);
}

#global-spadki .gs-faq details[open] {
    background: #f8f7f4;
    color: #0b2238;
    border-color: #f8f7f4;
}

#global-spadki .gs-faq details[open] summary:after {
    content: "−";
    color: #10283a;
}

#global-spadki .gs-faq .gs-faq-answer {
    padding: 0 18px 16px;
    font-size: 14px;
    line-height: 1.55;
}

#global-spadki .gs-faq .gs-faq-answer p {
    margin: 0;
}

/* ==================================
   STOPKA
================================== */

#global-spadki .gs-footer {
    background: #061827;
    color: #c9d4dd;
    padding: 20px 0;
    text-align: center;
    font-size: 12px;
}

#global-spadki .gs-footer a {
    color: #fff;
    text-decoration: underline;
}

/* ==================================
   TABLETY I MNIEJSZE KOMPUTERY
================================== */

@media (max-width: 1100px) {

    #global-spadki .gs-nav {
        gap: 12px;
    }

    #global-spadki .gs-nav a {
        font-size: 11px;
    }

    #global-spadki .gs-logo img {
        max-width: 145px;
    }


}

@media (max-width: 850px) {

    #global-spadki .gs-wrap {
        width: min(100% - 40px, 1160px);
    }

    #global-spadki .gs-header-inner {
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 12px 0;
    }

    #global-spadki .gs-nav {
        order: 3;
        width: 100%;
        justify-content: center;
    }

    #global-spadki .gs-hero-grid {
        grid-template-columns: 1fr;
    }

    #global-spadki .gs-hero-copy {
        padding: 38px 25px;
    }

    #global-spadki .gs-hero-photo {
        min-height: 260px;
    }



    #global-spadki .gs-service-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    #global-spadki .gs-service:nth-last-child(-n+3) {
        border-bottom: 1px solid var(--gs-line);
    }

    #global-spadki .gs-service:nth-last-child(-n+2) {
        border-bottom: none;
    }



    #global-spadki .gs-process-grid {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }

    #global-spadki .gs-process-title {
        grid-column: 1/-1;
        margin-top: 0;
    }

    #global-spadki .gs-contact-grid {
        grid-template-columns: 1fr 2fr;
    }

    #global-spadki .gs-contact-side {
        grid-column: 2;
        flex-direction: row;
        align-items: center;
    }

    #global-spadki .gs-contact-side .gs-button {
        width: auto;
    }
}

/* ==================================
   TELEFONY
================================== */

@media (max-width: 600px) {

    #global-spadki .gs-wrap {
        width: calc(100% - 32px);
    }

    #global-spadki .gs-section {
        padding: 34px 0;
    }

    #global-spadki .gs-header-inner {
        gap: 8px;
    }

    #global-spadki .gs-logo img {
        max-width: 145px;
    }

    #global-spadki .gs-call {
        font-size: 12px;
        padding: 8px;
    }

    #global-spadki .gs-nav {
        justify-content: flex-start;
        gap: 12px;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding: 9px 0;
    }

    #global-spadki .gs-nav a {
        font-size: 12px;
    }

    #global-spadki .gs-hero-copy {
        padding: 32px 16px 34px;
    }

    #global-spadki .gs-hero h1 {
        font-size: 35px;
    }

    #global-spadki .gs-hero-photo {
        min-height: 220px;
    }

    #global-spadki .gs-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }



    #global-spadki .gs-service-grid {
        grid-template-columns: 1fr;
    }

    #global-spadki .gs-service:nth-last-child(-n+2) {
        border-bottom: 1px solid var(--gs-line);
    }

    #global-spadki .gs-service:last-child {
        border-bottom: none;
    }





    #global-spadki .gs-process-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 22px 16px;
    }




    #global-spadki .gs-contact-grid {
        grid-template-columns: 1fr;
    }

    #global-spadki .gs-contact-side {
        grid-column: 1;
        flex-direction: column;
        align-items: stretch;
    }

    #global-spadki .gs-form {
        grid-template-columns: 1fr;
    }

    #global-spadki .gs-faq-grid {
        grid-template-columns: 1fr;
    }

}


/* ==================================
   STATYSTYKI – TŁO IDENTYCZNE Z HERO
================================== */

#global-spadki .gs-stats {
    background: var(--gs-navy);
    color: #ffffff;
    padding: 25px 0;
}

#global-spadki .gs-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

#global-spadki .gs-stats-grid .gs-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 6px 24px;
    text-align: center;
}

#global-spadki .gs-stats-grid .gs-stat:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, .22);
}

#global-spadki .gs-stats-grid .gs-stat strong {
    display: block;
    margin: 0 0 10px;
    color: #f0c487;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(32.4px, 3.04vw, 45px);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: .01em;
}

/* Celowo wyższa szczegółowość niż ogólne reguły span w motywie */

#global-spadki .gs-stats .gs-stats-grid .gs-stat > span {
    display: block;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    opacity: 1;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.45;
    text-align: center;
}

/* ==================================
   RESPONSYWNOŚĆ NOWYCH SEKCJI
================================== */

@media (max-width: 850px) {
    #global-spadki .gs-trust-new-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    #global-spadki .gs-pricing-cards {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    #global-spadki .gs-pricing-card {
        padding: 24px 20px;
    }

    #global-spadki .gs-pricing-court {
        padding: 22px 20px;
    }
}

@media (max-width: 700px) {
    #global-spadki .gs-stats {
        padding: 28px 0;
    }

    #global-spadki .gs-stats-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    #global-spadki .gs-stats-grid .gs-stat {
        padding: 20px 16px;
    }

    #global-spadki .gs-stats-grid .gs-stat:not(:last-child) {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .22);
    }

    #global-spadki .gs-stats-grid .gs-stat strong {
        font-size: 32.4px;
    }

    #global-spadki .gs-stats .gs-stats-grid .gs-stat > span {
        font-size: 16px;
    }
}


/* GÓRNY PASEK – pełna szerokość, logo i telefon */

#global-spadki .gs-header {
    width: 100%;
    background: var(--gs-navy);
    color: #ffffff;
}

#global-spadki .gs-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    min-height: 75px;
    gap: 20px;
}

#global-spadki .gs-logo {
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 0 1 auto;
}

#global-spadki .gs-logo-text {
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.15;
}

#global-spadki .gs-logo-text small {
    display: block;
    margin-top: 5px;
    font-family: Arial, sans-serif;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.12em;
}

#global-spadki .gs-call {
    flex-shrink: 0;
    color: var(--gs-goldlight) !important;
    border: 1px solid var(--gs-gold);
    padding: 10px 14px;
    border-radius: 5px;
    white-space: nowrap;
}

/* TELEFON – logo po lewej, numer po prawej */

@media (max-width: 760px) {

    #global-spadki .gs-header-inner {
        min-height: 85px;
        flex-wrap: nowrap;
        gap: 10px;
    }

    #global-spadki .gs-logo-text {
        font-size: clamp(12px, 3.3vw, 17px);
        letter-spacing: 0.02em;
    }

    #global-spadki .gs-logo-text small {
        font-size: 8px;
        letter-spacing: 0.03em;
    }

    #global-spadki .gs-call {
        font-size: clamp(10px, 2.6vw, 12px);
        padding: 8px 7px;
    }

}


/* Górny pasek – duże białe logo */

#global-spadki .gs-header-inner {
    min-height: 125px;
    padding-top: 12px;
    padding-bottom: 12px;
}

#global-spadki .gs-logo img.gs-header-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 400px;
    max-height: 130px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Telefon – logo i numer obok siebie */

@media (max-width: 760px) {
    #global-spadki .gs-header-inner {
        min-height: 95px;
        gap: 10px;
        flex-wrap: nowrap;
    }

    #global-spadki .gs-logo img.gs-header-logo {
        max-width: min(220px, 48vw);
        max-height: 75px;
    }

    #global-spadki .gs-call {
        font-size: 12px;
        padding: 8px;
    }
}

/* Bardzo małe ekrany */

@media (max-width: 380px) {
    #global-spadki .gs-logo img.gs-header-logo {
        max-width: 150px;
        max-height: 65px;
    }

    #global-spadki .gs-call {
        font-size: 11px;
        padding: 7px 5px;
    }
}


/* Statystyki – beżowe tło jak w cenniku */

#global-spadki .gs-advantages.gs-stats {
    background: #f7f4ef !important;
    background-image: none !important;
    color: #092238 !important;
}

/* Duże wartości – złote */

#global-spadki .gs-stats .gs-stat strong {
    color: #b88742 !important;
    -webkit-text-fill-color: #b88742 !important;
    font-size: clamp(32.4px, 3.04vw, 45px) !important;
    font-weight: 400 !important;
}

/* Podpisy – ciemny granat */

#global-spadki .gs-stats .gs-stat span {
    color: #092238 !important;
    -webkit-text-fill-color: #092238 !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    opacity: 1 !important;
}

/* Linie oddzielające kolumny */

#global-spadki .gs-stats .gs-stat:not(:last-child) {
    border-right: 1px solid #d7cbb8;
}

/* Układ na telefonach */

@media (max-width: 700px) {
    #global-spadki .gs-stats .gs-stat span {
        font-size: 16px !important;
    }

    #global-spadki .gs-stats .gs-stat:not(:last-child) {
        border-right: 0;
        border-bottom: 1px solid #d7cbb8;
    }
}


/* GÓRNY PASEK – prawa część zachodzi na zdjęcie */

#global-spadki {
    position: relative;
}

#global-spadki .gs-header {
    position: relative;
    z-index: 5;
    background: linear-gradient(
        to right,
        var(--gs-navy) 0%,
        var(--gs-navy) 43%,
        transparent 65%,
        transparent 100%
    );
}

#global-spadki .gs-header-inner {
    position: relative;
    z-index: 6;
    min-height: 125px;
}

#global-spadki .gs-hero {
    position: relative;
    margin-top: -125px;
    padding-top: 125px;
    background: var(--gs-navy);
}

/* Zdjęcie sięga pod prawą część górnego paska */

#global-spadki .gs-hero-photo {
    position: absolute;
    top: -125px;
    right: 0;
    bottom: 0;
    width: 56%;
    min-height: 0;
    background-image: url('/assets/images-global/spadki-hero.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* Treść hero pozostaje nad tłem */

#global-spadki .gs-hero-grid {
    position: relative;
    z-index: 2;
    grid-template-columns: minmax(0, 44%) minmax(0, 56%);
}

#global-spadki .gs-hero-copy {
    position: relative;
    z-index: 3;
}

/* Telefon wyświetlany nad zdjęciem */

#global-spadki .gs-call {
    position: relative;
    z-index: 10;
}

/* TELEFON – przywrócenie klasycznego układu */

@media (max-width: 850px) {

    #global-spadki .gs-header {
        background: var(--gs-navy);
    }

    #global-spadki .gs-hero {
        margin-top: 0;
        padding-top: 0;
    }

    #global-spadki .gs-hero-grid {
        grid-template-columns: 1fr;
    }

    #global-spadki .gs-hero-photo {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        min-height: 260px;
    }
}

@media (max-width: 600px) {
    #global-spadki .gs-hero-photo {
        min-height: 220px;
    }
}



/* Nagłówek – jednolite granatowe tło */

#global-spadki .gs-header {
    position: relative;
    z-index: auto;
    background: var(--gs-navy) !important;
    background-image: none !important;
}

#global-spadki .gs-header-inner {
    position: relative;
    z-index: 5;
    min-height: 125px;
}

/* Hero bez przesuwania całej sekcji */

#global-spadki .gs-hero {
    position: relative;
    z-index: auto;
    margin-top: 0;
    padding-top: 0;
    overflow: visible;
    background: var(--gs-navy);
}

#global-spadki .gs-hero-grid {
    position: relative;
    z-index: auto;
    display: grid;
    grid-template-columns: 44% 56%;
}

/* Zdjęcie zachodzi na prawą część nagłówka */

#global-spadki .gs-hero-photo {
    position: absolute;
    z-index: 2;
    top: -125px;
    right: 0;
    bottom: 0;
    width: 56%;
    min-height: 0;
    background-image: url('/assets/images-global/spadki-hero.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Tekst pozostaje na granatowym tle */

#global-spadki .gs-hero-copy {
    position: relative;
    z-index: 3;
    min-width: 0;
}

/* Numer telefonu nad fotografią */

#global-spadki .gs-call {
    position: relative;
    z-index: 6;
}

/* Telefon i tablet – klasyczny układ */

@media (max-width: 850px) {

    #global-spadki .gs-header {
        background: var(--gs-navy) !important;
    }

    #global-spadki .gs-hero-grid {
        grid-template-columns: 1fr;
    }

    #global-spadki .gs-hero-photo {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        min-height: 260px;
    }
}

@media (max-width: 600px) {

    #global-spadki .gs-hero-photo {
        min-height: 220px;
    }
}


/* Telefon jako drugi przycisk w sekcji głównej */

#global-spadki .gs-hero-actions .gs-phone-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #ffffff !important;
    border: 1px solid var(--gs-gold);
    background: transparent;
    font-weight: 700;
    white-space: nowrap;
}

#global-spadki .gs-hero-actions .gs-phone-button:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* Telefon – przyciski jeden pod drugim */

@media (max-width: 600px) {
    #global-spadki .gs-hero-actions .gs-phone-button {
        width: 100%;
    }
}

/* Zdjęcie hero od samej góry, bez granatowego paska */

@media (min-width: 851px) {

    #global-spadki .gs-header {
        position: relative;
        z-index: 1;
        background: var(--gs-navy) !important;
    }

    #global-spadki .gs-hero {
        position: relative;
        margin-top: 0 !important;
        padding-top: 0 !important;
        background: var(--gs-navy);
    }

    #global-spadki .gs-hero-grid {
        position: relative;
        display: grid;
        grid-template-columns: 44% 56%;
        min-height: 380px;
    }

    #global-spadki .gs-hero-photo {
        position: absolute;
        top: -155px;
        right: 0;
        bottom: 0;
        width: 56%;
        height: auto;
        min-height: 0;
        background-image: url('/assets/images-global/spadki-hero.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        z-index: 3;
    }

    #global-spadki .gs-hero-copy {
        position: relative;
        z-index: 4;
    }
}

/* Na telefonach zdjęcie pozostaje pod tekstem */

@media (max-width: 850px) {

    #global-spadki .gs-hero-photo {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        min-height: 260px;
    }
}

@media (max-width: 600px) {

    #global-spadki .gs-hero-photo {
        min-height: 220px;
    }
}

/* Sekcja Dlaczego Kancelaria GLOBAL – jasne tło */

#global-spadki .gs-trust {
    background: #f8f5f0 !important;
    background-image: none !important;
    color: #092238 !important;
    padding: 50px 0;
}

/* Nagłówek – ciemny granat */

#global-spadki .gs-trust h2 {
    color: #092238 !important;
}

/* Złoty napis nad nagłówkiem */

#global-spadki .gs-trust .gs-eyebrow {
    color: #b88742 !important;
}

/* Cztery punkty – ciemnogranatowy tekst */

#global-spadki .gs-trust-new-copy .gs-trust-check {
    color: #092238 !important;
    font-size: 16px;
    line-height: 1.6;
}

/* Złote kółeczka z ptaszkiem */

#global-spadki .gs-trust-check-icon {
    color: #b88742 !important;
    border-color: #b88742 !important;
}

/* Zdjęcie prawników */

#global-spadki .gs-trust-lawyers img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Telefony */

@media (max-width: 800px) {
    #global-spadki .gs-trust {
        padding: 35px 0;
    }
}

/* Większe zdjęcie prawników – szersza prawa kolumna */

#global-spadki .gs-trust-new-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 35px;
    align-items: center;
}

/* Zdjęcie wypełniające prawą kolumnę */

#global-spadki .gs-trust-lawyers img {
    display: block;
    width: 100%;
    height: 340px;
    object-fit: cover;
    object-position: center;
    border-radius: 4px;
}

/* Telefon – zdjęcie pod tekstem */

@media (max-width: 800px) {
    #global-spadki .gs-trust-new-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    #global-spadki .gs-trust-lawyers img {
        width: 100%;
        height: auto;
    }
}

/* Sekcja Dlaczego Kancelaria GLOBAL – wysokość zależna od zdjęcia */

#global-spadki .gs-trust-new-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 35px;
    align-items: center;
    min-height: 0;
}

/* Zdjęcie prawników w całości, bez przycinania */

#global-spadki .gs-trust-lawyers {
    width: 100%;
    height: auto;
    min-height: 0;
}

#global-spadki .gs-trust-lawyers img {
    display: block;
    width: 100%;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center;
    border-radius: 4px;
}

/* Wersja mobilna */

@media (max-width: 800px) {
    #global-spadki .gs-trust-new-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    #global-spadki .gs-trust-lawyers img {
        width: 100%;
        height: auto !important;
    }
}

/* Zakres pomocy – cztery kafelki w układzie 2 × 2 */

#global-spadki .gs-service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 30px;
}

/* Przywrócenie dolnych obramowań dla czterech kafelków */

#global-spadki .gs-service {
    border-bottom: 1px solid var(--gs-line);
}

#global-spadki .gs-service:nth-last-child(-n+2) {
    border-bottom: none;
}

/* Telefon – jedna kolumna, zgodnie z kolejnością HTML */

@media (max-width: 600px) {
    #global-spadki .gs-service-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    #global-spadki .gs-service:nth-last-child(-n+2) {
        border-bottom: 1px solid var(--gs-line);
    }

    #global-spadki .gs-service:last-child {
        border-bottom: none;
    }
}

/* Zakres pomocy – większa czcionka w czterech kafelkach */

#global-spadki .gs-service h3 {
    font-size: 21px;
    line-height: 1.35;
    margin: 4px 0 9px;
}

#global-spadki .gs-service p {
    font-size: 16px;
    line-height: 1.6;
}

/* Telefon – dopasowanie wielkości czcionki */

@media (max-width: 600px) {
    #global-spadki .gs-service h3 {
        font-size: 19px;
    }

    #global-spadki .gs-service p {
        font-size: 15px;
    }
}

/* Logo wyśrodkowane w widocznej granatowej części paska */

@media (min-width: 851px) {

    #global-spadki .gs-header-inner {
        display: flex;
        justify-content: flex-start !important;
        align-items: center;
    }

    #global-spadki .gs-header .gs-logo {
        position: absolute;
        left: -110px;
        top: 50%;
        transform: translateY(-50%);
        width: 44vw;
        max-width: none;
        margin: 0 !important;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #global-spadki .gs-header .gs-logo img.gs-header-logo {
        display: block;
        width: auto;
        height: auto;
        max-width: min(500px, 90%);
        max-height: 140px;
        margin: 0 auto;
        object-fit: contain;
        filter: brightness(0) invert(1);
    }
}

/* Telefon – logo wyśrodkowane w całym pasku */

@media (max-width: 850px) {

    #global-spadki .gs-header-inner {
        justify-content: center !important;
    }

    #global-spadki .gs-header .gs-logo {
        position: static;
        transform: none;
        width: auto;
        margin: 0 auto !important;
    }
}

/* ==========================================
   JAK DZIAŁAMY – STYL STRONY WYWŁASZCZEŃ
   ========================================== */

#global-spadki .gs-process.gs-process-premium {
    position: relative;
    isolation: isolate;
    padding: 64px 0 70px;
    background-color: var(--gs-navy);
    background-image:
        linear-gradient(
            90deg,
            rgba(9, 34, 56, 0.94),
            rgba(9, 34, 56, 0.84)
        ),
        url('/assets/images-global/spadki-hero.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #ffffff;
}

/* Mały złoty nagłówek */

#global-spadki .gs-process-eyebrow {
    display: block;
    margin-bottom: 25px;
    color: #d5a046;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

/* Duży biały nagłówek */

#global-spadki .gs-process-premium .gs-process-heading {
    margin: 0 0 50px;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 3.5vw, 56px);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

/* Cztery kolumny */

#global-spadki .gs-process-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
}

#global-spadki .gs-process-item {
    min-width: 0;
    padding: 5px 28px 0;
    border-left: 1px solid rgba(255, 255, 255, 0.24);
}

#global-spadki .gs-process-item:first-child {
    padding-left: 0;
    border-left: 0;
}

/* Złote numery 01–04 */

#global-spadki .gs-process-num {
    display: block;
    margin-bottom: 18px;
    color: #f0c487;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 1;
}

/* Tytuły etapów */

#global-spadki .gs-process-item h3 {
    margin: 0 0 15px;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.25;
}

/* Opisy etapów */

#global-spadki .gs-process-item p {
    margin: 0;
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
}

/* Tablety – dwie kolumny */

@media (max-width: 900px) {
    #global-spadki .gs-process-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 20px;
    }

    #global-spadki .gs-process-item:nth-child(odd) {
        padding-left: 0;
        border-left: 0;
    }
}

/* Telefony – etapy jeden pod drugim */

@media (max-width: 600px) {
    #global-spadki .gs-process.gs-process-premium {
        padding: 44px 0 48px;
    }

    #global-spadki .gs-process-premium .gs-process-heading {
        font-size: 34px;
        margin-bottom: 34px;
    }

    #global-spadki .gs-process-steps {
        grid-template-columns: 1fr;
        gap: 0;
    }

    #global-spadki .gs-process-item,
    #global-spadki .gs-process-item:nth-child(odd) {
        padding: 20px 0;
        border-left: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.24);
    }

    #global-spadki .gs-process-item:last-child {
        border-bottom: 0;
    }

    #global-spadki .gs-process-num {
        font-size: 40px;
        margin-bottom: 12px;
    }

    #global-spadki .gs-process-item h3 {
        font-size: 23px;
    }

    #global-spadki .gs-process-item p {
        font-size: 15px;
    }
}

/* Jak działamy – zmniejszenie czcionek o 20% */

/* Duży nagłówek sekcji */
#global-spadki .gs-process-premium .gs-process-heading {
    font-size: clamp(27px, 2.8vw, 45px);
}

/* Złote numery 01–04 */
#global-spadki .gs-process-num {
    font-size: 38px;
}

/* Nagłówki czterech etapów */
#global-spadki .gs-process-item h3 {
    font-size: 20px;
}

/* Opisy pod nagłówkami */
#global-spadki .gs-process-item p {
    font-size: 13px;
}

/* Złoty napis JAK DZIAŁAMY */
#global-spadki .gs-process-eyebrow {
    font-size: 11px;
}

/* Wersja mobilna */
@media (max-width: 600px) {
    #global-spadki .gs-process-premium .gs-process-heading {
        font-size: 27px;
    }

    #global-spadki .gs-process-num {
        font-size: 32px;
    }

    #global-spadki .gs-process-item h3 {
        font-size: 18px;
    }

    #global-spadki .gs-process-item p {
        font-size: 12px;
    }
}
/* Jak działamy – wielkość i styl jak w pozostałych sekcjach */

#global-spadki .gs-process-eyebrow {
    display: block;
    margin-bottom: 18px;
    color: #b88742;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.19em;
    text-transform: uppercase;
}

/* HERO – ukośne przejście między tekstem a zdjęciem */

@media (min-width: 851px) {

    #global-spadki .gs-hero-grid {
        position: relative;
        display: block;
        overflow: visible;
        background: #092238;
    }

    /* Zdjęcie po prawej, również pod nagłówkiem strony */

    #global-spadki .gs-hero-photo {
        position: absolute;
        top: -155px;
        right: 0;
        left: auto;
        bottom: 0;
        width: 55%;
        height: auto;
        z-index: 0;
        background-size: cover;
        background-position: center;
        clip-path: none;
    }

    /* Granatowa część z ukośną krawędzią */

    #global-spadki .gs-hero-copy {
        position: relative;
        z-index: 1;
        width: 64%;
        max-width: none;
        box-sizing: border-box;
        background: #092238;
        clip-path: polygon(
            0 0,
            100% 0,
            86% 100%,
            0 100%
        );
        padding-right: 12%;
    }

    /* Logo pozostaje w granatowym obszarze */

    #global-spadki .gs-header .gs-logo {
        width: 50vw;
        left: -40px;
    }
}

/* HERO – węższy granatowy panel i zdjęcie od samej góry */

@media (min-width: 851px) {

    #global-spadki .gs-header {
        position: relative;
        z-index: 2;
        background: transparent;
    }

    #global-spadki .gs-hero-grid {
        position: relative;
        display: block;
        overflow: visible;
        background: #092238;
    }

    /* Zdjęcie rozszerzone do górnej krawędzi strony */

    #global-spadki .gs-hero-photo {
        position: absolute;
        top: -155px;
        right: 0;
        bottom: 0;
        left: auto;
        width: 60%;
        height: auto;
        z-index: 0;
        background-size: cover;
        background-position: center;
        clip-path: none;
    }

    /* Węższy granatowy panel ze skosem */

    #global-spadki .gs-hero-copy {
        position: relative;
        z-index: 1;
        width: 56%;
        max-width: none;
        box-sizing: border-box;
        background: #092238;
        clip-path: polygon(
            0 0,
            100% 0,
            88% 100%,
            0 100%
        );
        padding-right: 10%;
    }

    /* Logo dopasowane do granatowego obszaru */

    #global-spadki .gs-header .gs-logo {
        width: 46vw;
        left: -20px;
    }
}

/* HERO – zdjęcie przykrywa prawą część górnego paska */

@media (min-width: 851px) {

    #global-spadki .gs-header {
        position: relative;
        z-index: auto;
        background: #092238;
    }

    #global-spadki .gs-header-inner {
        position: relative;
        z-index: 3;
    }

    #global-spadki .gs-hero,
    #global-spadki .gs-hero-grid {
        position: relative;
        z-index: auto;
        overflow: visible;
    }

    #global-spadki .gs-hero-photo {
        position: absolute;
        top: -155px;
        right: 0;
        bottom: 0;
        left: auto;
        width: 60%;
        height: auto;
        z-index: 2;
        background-size: cover;
        background-position: center;
    }

    #global-spadki .gs-hero-copy {
        position: relative;
        z-index: 3;
        width: 56%;
        background: #092238;
        clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
    }
}

/* HERO – jeden panel z logo i ukośnym przejściem */

#global-spadki .gs-header {
    display: none;
}

#global-spadki .gs-hero {
    position: relative;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #092238;
}

#global-spadki .gs-hero-grid {
    position: relative;
    display: block;
    min-height: 620px;
    overflow: hidden;
    background: #092238;
}

/* Zdjęcie od samej górnej krawędzi */

#global-spadki .gs-hero-photo {
    position: absolute;
    inset: 0 0 0 auto;
    width: 60%;
    height: 100%;
    z-index: 0;
    background-image: url('/assets/images-global/spadki-hero.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    clip-path: none;
}

/* Granatowy panel ze skosem */

#global-spadki .gs-hero-copy {
    position: relative;
    z-index: 1;
    width: 58%;
    max-width: none;
    min-height: 620px;
    box-sizing: border-box;
    padding: 34px 13% 65px max(40px, calc((100vw - 1200px) / 2));
    background: #092238;
    clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}

/* Logo wewnątrz granatowego panelu */

#global-spadki .gs-hero-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: fit-content;
    max-width: 100%;
    margin-bottom: 55px;
    text-decoration: none;
}

#global-spadki .gs-hero-logo img {
    display: block;
    width: min(360px, 100%);
    max-height: 125px;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Zachowanie szerokości tekstu */

#global-spadki .gs-hero-copy h1,
#global-spadki .gs-hero-copy .gs-intro {
    max-width: 540px;
}

/* Telefon i tablet */

@media (max-width: 850px) {

    #global-spadki .gs-hero-grid {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    #global-spadki .gs-hero-copy {
        width: 100%;
        min-height: 0;
        padding: 30px 24px 45px;
        clip-path: none;
    }

    #global-spadki .gs-hero-logo {
        margin-bottom: 38px;
    }

    #global-spadki .gs-hero-logo img {
        width: min(300px, 100%);
        max-height: 105px;
    }

    #global-spadki .gs-hero-photo {
        position: relative;
        inset: auto;
        width: 100%;
        height: 300px;
        min-height: 300px;
    }
}

/* HERO – węższy panel granatowy i wyśrodkowane logo */

@media (min-width: 851px) {

    #global-spadki .gs-hero-copy {
        width: 52.2%;
        padding-right: 10%;
        clip-path: polygon(
            0 0,
            100% 0,
            88% 100%,
            0 100%
        );
    }

    #global-spadki .gs-hero-logo {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin: 0 0 45px;
    }

    #global-spadki .gs-hero-logo img {
        display: block;
        width: 360px;
        max-width: 100%;
        height: auto;
        margin: 0 auto;
    }
}

/* Telefon – logo na środku */

@media (max-width: 850px) {

    #global-spadki .gs-hero-logo {
        display: flex;
        justify-content: center;
        width: 100%;
        margin: 0 0 30px;
    }
}

/* HERO – białe ptaszki w złotych kółkach */

#global-spadki .gs-hero-benefits {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 25px 0 32px;
}

#global-spadki .gs-hero-benefits p {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    color: #ffffff;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.4;
}

#global-spadki .gs-hero-benefits p span {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #b88742;
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
}

/* Telefon */

@media (max-width: 850px) {
    #global-spadki .gs-hero-benefits p {
        font-size: 17px;
    }
}

/* HERO – opis pomiędzy nagłówkiem a trzema korzyściami */

#global-spadki .gs-hero-description {
    max-width: 520px;
    margin: 22px 0 26px;
    color: #e5eaf0;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.65;
}

/* Odstęp między opisem a listą korzyści */

#global-spadki .gs-hero-benefits {
    margin-top: 0;
    margin-bottom: 32px;
}

/* Telefon */

@media (max-width: 850px) {
    #global-spadki .gs-hero-description {
        font-size: 16px;
        line-height: 1.6;
        margin: 18px 0 24px;
    }
}
#global-spadki .gs-hero-copy {
    padding: 44px 30px 36px 60px;
}

#global-spadki .gs-kicker {
    margin: 0 0 14px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #d5a046;
}

#global-spadki .gs-hero-title {
    margin: 0 0 18px;
    max-width: 620px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 4.4vw, 68px);
    line-height: 1.04;
    letter-spacing: -0.03em;
    font-weight: 400;
}

#global-spadki .gs-hero-title-main {
    display: block;
    color: #f7f1ea;
}

#global-spadki .gs-hero-title-accent {
    display: block;
    color: #d5a046;
}

#global-spadki .gs-hero-lead {
    margin: 0 0 22px;
    max-width: 560px;
    font-size: 18px;
    line-height: 1.55;
    color: rgba(255,255,255,0.92);
}

#global-spadki .gs-hero-points {
    display: grid;
    gap: 12px;
    margin: 0 0 26px;
}

#global-spadki .gs-hero-point {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
    color: #ffffff;
}

#global-spadki .gs-hero-point-icon {
    width: 34px;
    height: 34px;
    border: 2px solid #d5a046;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #d5a046;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

#global-spadki .gs-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 0;
}

@media (max-width: 980px) {
    #global-spadki .gs-hero-copy {
        padding: 34px 0 28px;
    }

    #global-spadki .gs-hero-title {
        max-width: 100%;
        font-size: clamp(36px, 8vw, 54px);
    }

    #global-spadki .gs-hero-lead {
        font-size: 17px;
        margin-bottom: 20px;
    }

    #global-spadki .gs-hero-points {
        gap: 10px;
        margin-bottom: 22px;
    }

    #global-spadki .gs-hero-point {
        font-size: 16px;
    }

    #global-spadki .gs-hero-point-icon {
        width: 32px;
        height: 32px;
        font-size: 17px;
    }
}


@media (max-width: 760px) {
    #global-spadki .gs-hero-copy {
        padding: 26px 24px 18px;
    }

    #global-spadki .gs-kicker {
        margin-bottom: 10px;
        font-size: 13px;
    }

    #global-spadki .gs-hero-title {
        margin-bottom: 16px;
        font-size: clamp(32px, 9vw, 44px);
        line-height: 1.08;
    }

    #global-spadki .gs-hero-lead {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 18px;
    }

    #global-spadki .gs-hero-points {
        gap: 9px;
        margin-bottom: 20px;
    }

    #global-spadki .gs-hero-point {
        gap: 12px;
        font-size: 15px;
    }

    #global-spadki .gs-hero-point-icon {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
}

/* HERO – zmniejszenie nagłówka i opisu o 10% */

@media (min-width: 981px) {

    #global-spadki .gs-hero .gs-hero-title {
        font-size: clamp(34px, 3.56vw, 55px);
    }

    #global-spadki .gs-hero .gs-hero-lead {
        font-size: 16.2px;
    }
}

/* HERO – przesunięcie logo w górę bez zmiany odstępów poniżej */

@media (min-width: 851px) {
    #global-spadki .gs-hero-logo {
        transform: translateY(-25px);
    }
}

/* HERO – przesunięcie całej treści o 25 px w górę */

@media (min-width: 851px) {

    #global-spadki .gs-hero-copy > .gs-kicker,
    #global-spadki .gs-hero-copy > .gs-hero-title,
    #global-spadki .gs-hero-copy > .gs-hero-lead,
    #global-spadki .gs-hero-copy > .gs-hero-points,
    #global-spadki .gs-hero-copy > .gs-hero-actions {
        position: relative;
        top: -25px;
    }
}

/* ==========================================
   KONTAKT – DWIE KOLUMNY, ORYGINALNE KOLORY
   ========================================== */

#global-spadki .gs-contact {
    background: #081f33;
    color: #ffffff;
}

/* Komputery */

@media (min-width: 851px) {

    #global-spadki .gs-contact-grid {
        display: grid;
        grid-template-columns:
            minmax(0, 29fr) minmax(0, 71fr);
        grid-template-rows: auto 1fr;
        column-gap: 28px;
        row-gap: 0;
        align-items: start;
    }

    /* Nagłówek i opis po lewej */

    #global-spadki .gs-contact-intro {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
    }

    /* Formularz zajmuje całą prawą kolumnę */

    #global-spadki .gs-contact-grid > .gs-form {
        grid-column: 2;
        grid-row: 1 / span 2;
        width: 100%;
        min-width: 0;
    }

    /* Przycisk telefoniczny pod opisem */

    #global-spadki .gs-contact-side {
        grid-column: 1;
        grid-row: 2;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding-top: 24px;
    }

    #global-spadki .gs-contact-side .gs-button {
        display: inline-flex;
        width: 100%;
        max-width: 100%;
        background: transparent;
        color: #ffffff !important;
        border: 1px solid #ffffff;
        text-align: center;
    }
}

/* Usunięcie niepotrzebnego bloku informacyjnego */

#global-spadki .gs-contact-side .gs-security {
    display: none;
}

/* Tablety i telefony */

@media (max-width: 850px) {

    #global-spadki .gs-contact-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    #global-spadki .gs-contact-intro {
        grid-column: 1;
        grid-row: 1;
    }

    #global-spadki .gs-contact-side {
        grid-column: 1;
        grid-row: 2;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding-top: 0;
    }

    #global-spadki .gs-contact-grid > .gs-form {
        grid-column: 1;
        grid-row: 3;
        width: 100%;
        min-width: 0;
    }

    #global-spadki .gs-contact-side .gs-button {
        width: auto;
        max-width: 100%;
        background: transparent;
        color: #ffffff !important;
        border: 1px solid #ffffff;
    }
}


/* KONTAKT – przycisk bezpośrednio pod opisem */

@media (min-width: 851px) {

    #global-spadki .gs-contact-grid {
        display: grid;
        grid-template-columns: minmax(0, 29fr) minmax(0, 71fr);
        grid-template-rows: auto;
        column-gap: 28px;
        align-items: start;
    }

    #global-spadki .gs-contact-intro {
        grid-column: 1;
        grid-row: 1;
        align-self: start;
    }

    #global-spadki .gs-contact-grid > .gs-form {
        grid-column: 2;
        grid-row: 1;
        width: 100%;
        min-width: 0;
    }

    #global-spadki .gs-contact-side {
        grid-column: 1;
        grid-row: 1;
        align-self: start;
        justify-self: stretch;
        margin-top: 175px;
        padding-top: 0;
    }

    #global-spadki .gs-contact-side .gs-button {
        width: 100%;
    }

    #global-spadki .gs-contact-side .gs-security {
        display: none;
    }
}


/* ==========================================
   DANE KANCELARII – SEKCJA PRZED STOPKĄ
   ========================================== */

#global-spadki .gs-company-details {
    padding: 48px 0 52px;
    background: #f8f5f0;
    color: #092238;
}

#global-spadki .gs-company-eyebrow {
    display: block;
    margin-bottom: 12px;
    color: #b88742;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.19em;
}

#global-spadki .gs-company-details h2 {
    margin: 0 0 8px;
    color: #092238;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 400;
}

#global-spadki .gs-company-name {
    margin: 0 0 28px;
    color: #526170;
    font-size: 16px;
}

#global-spadki .gs-company-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
    padding-top: 25px;
    border-top: 1px solid #d7cbb8;
}

#global-spadki .gs-company-item h3 {
    margin: 0 0 12px;
    color: #092238;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    font-weight: 400;
}

#global-spadki .gs-company-item p {
    margin: 0;
    color: #526170;
    font-size: 14px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

#global-spadki .gs-company-item a {
    color: #092238;
    text-decoration: none;
}

#global-spadki .gs-company-item a:hover {
    text-decoration: underline;
}

/* Tablety */

@media (max-width: 900px) {
    #global-spadki .gs-company-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px;
    }
}

/* Telefony */

@media (max-width: 600px) {
    #global-spadki .gs-company-details {
        padding: 36px 0;
    }

    #global-spadki .gs-company-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}


/* ==========================================
   DANE KANCELARII – JASNA SEKCJA
   ========================================== */

#global-spadki .gs-company-details {
    display: block;
    width: 100%;
    padding: 45px 0 50px;
    background: #f8f5f0;
    color: #092238;
}

#global-spadki .gs-company-eyebrow {
    display: block;
    margin-bottom: 12px;
    color: #b88742;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.19em;
}

#global-spadki .gs-company-details h2 {
    margin: 0 0 30px;
    color: #092238;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 36px;
    font-weight: 400;
}

/* Trzy kolumny */

#global-spadki .gs-company-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    padding-top: 25px;
    border-top: 1px solid #d7cbb8;
}

#global-spadki .gs-company-item h3 {
    margin: 0 0 15px;
    color: #092238;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    font-weight: 400;
}

#global-spadki .gs-company-item p {
    margin: 0;
    color: #526170;
    font-family: Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
}

#global-spadki .gs-company-item a {
    color: #092238;
    text-decoration: none;
}

#global-spadki .gs-company-item a:hover {
    text-decoration: underline;
}

/* Tablety */

@media (max-width: 900px) {
    #global-spadki .gs-company-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Telefony */

@media (max-width: 600px) {
    #global-spadki .gs-company-details {
        padding: 35px 0;
    }

    #global-spadki .gs-company-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    #global-spadki .gs-company-details h2 {
        font-size: 30px;
    }
}


/* DANE KANCELARII – trzy kolumny i jasne tło */

#global-spadki .gs-company-details {
    display: block;
    background: #f8f5f0;
    color: #092238;
    padding: 45px 0 50px;
}

#global-spadki .gs-company-details .gs-company-eyebrow {
    display: block;
    color: #b88742;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.19em;
    margin-bottom: 12px;
}

#global-spadki .gs-company-details h2 {
    color: #092238;
    font-size: 36px;
    font-weight: 400;
    margin: 0 0 28px;
}

#global-spadki .gs-company-details .gs-company-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    border-top: 1px solid #d7cbb8;
    padding-top: 25px;
}

#global-spadki .gs-company-details .gs-company-item h3 {
    color: #092238;
    font-size: 21px;
    font-weight: 400;
    margin: 0 0 12px;
}

#global-spadki .gs-company-details .gs-company-item p {
    color: #526170;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

#global-spadki .gs-company-details .gs-company-item a {
    color: #092238;
    text-decoration: none;
}

#global-spadki .gs-company-details .gs-company-item a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    #global-spadki .gs-company-details .gs-company-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    #global-spadki .gs-company-details .gs-company-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    #global-spadki .gs-company-details h2 {
        font-size: 30px;
    }
}

/* Dane kancelarii – jednolity kolor wszystkich danych */

#global-spadki .gs-company-details .gs-company-item p,
#global-spadki .gs-company-details .gs-company-item a {
    color: #092238 !important;
    -webkit-text-fill-color: #092238 !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
}

/* Linki kontaktowe */

#global-spadki .gs-company-details .gs-company-item a {
    text-decoration: none;
}

#global-spadki .gs-company-details .gs-company-item a:hover {
    text-decoration: underline;
}
/* STATYSTYKI – trzy kolumny również na telefonach */

@media (max-width: 700px) {

    #global-spadki .gs-stats-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
    }

    #global-spadki .gs-stats-grid .gs-stat {
        min-width: 0;
        padding: 12px 5px;
        border-bottom: none !important;
    }

    #global-spadki .gs-stats-grid .gs-stat:not(:last-child) {
        border-right: 1px solid #d7cbb8 !important;
    }

    #global-spadki .gs-stats-grid .gs-stat strong {
        font-size: clamp(23px, 5.5vw, 32px) !important;
        white-space: nowrap;
        margin-bottom: 8px;
    }

    #global-spadki .gs-stats-grid .gs-stat span {
        font-size: 12px !important;
        line-height: 1.4;
        text-align: center;
    }

    #global-spadki .gs-stats {
        padding: 18px 0;
    }

    #global-spadki .gn-stat-note {
        font-size: 11px;
        line-height: 1.5;
        text-align: center;
        margin-top: 12px;
    }
}
/* STATYSTYKI MOBILE – większe liczby i równe ustawienie */

@media (max-width: 700px) {

    #global-spadki .gs-stats-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: stretch;
    }

    #global-spadki .gs-stats-grid .gs-stat {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 12px 3px;
        min-width: 0;
        border-bottom: 0 !important;
    }

    #global-spadki .gs-stats-grid .gs-stat:not(:last-child) {
        border-right: 1px solid #d7cbb8 !important;
    }

    #global-spadki .gs-stats-grid .gs-stat strong {
        display: block;
        width: 100%;
        font-size: clamp(28px, 7vw, 38px) !important;
        line-height: 1.15;
        text-align: center;
        white-space: nowrap;
        margin: 0 0 10px;
        flex-shrink: 0;
    }

    #global-spadki .gs-stats-grid .gs-stat span {
        display: block;
        font-size: 11px !important;
        line-height: 1.35;
        text-align: center;
    }
}
/* JAK DZIAŁAMY – 2 kolumny na telefonach */

@media (max-width: 600px) {

    #global-spadki .gs-process-steps {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 0;
    }

    #global-spadki .gs-process-item,
    #global-spadki .gs-process-item:nth-child(odd) {
        min-width: 0;
        padding: 12px 10px;
        border-bottom: none;
        border-left: none;
    }

    #global-spadki .gs-process-item:nth-child(even) {
        border-left: 1px solid rgba(255, 255, 255, 0.24);
    }

    #global-spadki .gs-process-item:nth-child(odd) {
        padding-left: 0;
    }

    #global-spadki .gs-process-num {
        font-size: 36px;
        margin-bottom: 12px;
    }

    #global-spadki .gs-process-item h3 {
        font-size: 19px;
        line-height: 1.25;
    }

    #global-spadki .gs-process-item p {
        font-size: 13px;
        line-height: 1.55;
    }
}
/* CENNIK – bordowe nagłówki i wartości */

#global-spadki .gs-pricing .gs-section-title {
    color: #B22222#B22222#B22222 !important;
}

#global-spadki .gs-pricing .gs-pricing-card-value {
    color: #B22222#B22222 !important;
    -webkit-text-fill-color: #B22222 !important;
}

/* Czerwony nagłówek sekcji cennika */

#global-spadki .gs-pricing h2.gs-section-title {
    color: #B22222 !important;
    -webkit-text-fill-color: #B22222 !important;
}
/* PŁYNNE PRZEWIJANIE STRONY */

html {
    scroll-behavior: smooth;
}

/* Odstęp po przewinięciu do formularza */

#global-spadki #gs-kontakt {
    scroll-margin-top: 20px;
}

/* Odstęp po przewinięciu do cennika */

#global-spadki #gs-cennik {
    scroll-margin-top: 20px;
}

/* Uwzględnienie preferencji użytkownika */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
/* FAQ – czytelność odpowiedzi */

#global-spadki .gs-faq .gs-faq-answer {
    font-size: 16px;
    line-height: 1.7;
}

#global-spadki .gs-faq .gs-faq-answer p {
    margin: 0 0 14px;
}

#global-spadki .gs-faq .gs-faq-answer p:last-child {
    margin-bottom: 0;
}

/* FAQ – wyróżnienie najważniejszych informacji */

#global-spadki .gs-faq .gs-faq-answer strong {
    color: #B22222 !important;
    -webkit-text-fill-color: #B22222 !important;
    font-weight: 700;
}

/* FAQ – zestawienie kosztów */

#global-spadki .gn-faq-costs {
    list-style: none;
    padding: 18px 22px;
    margin: 18px 0;
    background: #ffffff;
    border: 1px solid #e5dcd0;
    border-left: 4px solid #B22222;
    border-radius: 4px;
}

#global-spadki .gn-faq-costs li {
    padding: 10px 0;
    border-bottom: 1px solid #e5dcd0;
}

#global-spadki .gn-faq-costs li:last-child {
    border-bottom: none;
}

#global-spadki .gn-faq-costs strong {
    font-size: 19px;
}

/* FAQ – wersja mobilna */

@media (max-width: 600px) {

    #global-spadki .gs-faq .gs-faq-answer {
        font-size: 14px;
        line-height: 1.65;
    }

    #global-spadki .gn-faq-costs {
        padding: 12px 15px;
    }

    #global-spadki .gn-faq-costs strong {
        font-size: 17px;
    }
}
#global-spadki .gs-button-pricing {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #c6a365;
  color: #142b48;
  border: 1px solid #c6a365;
  font-weight: 700;
  text-decoration: none;
}

#global-spadki .gs-button-pricing:hover {
  background: #e0c18b;
  border-color: #e0c18b;
  color: #142b48;
}

