/* =========================================================
   Notariusz Jakub Sołtys — style.css
   Własne style (BEM) doprecyzowujące layout na Bootstrap 5.
   ========================================================= */

/* ---------- Zmienne / paleta ---------- */
:root {
    --navy:         #18243d;   /* głęboki granat — top bar, hero, stopka */
    --navy-700:     #1e2c48;   /* granat jaśniejszy — karta / przyciski */
    --navy-900:     #121b2e;   /* najciemniejszy granat */
    --gold:         #c7a052;   /* złoto / mosiądz — akcenty, CTA */
    --gold-600:     #b88f3f;   /* złoto hover */
    --accent:       #c7a052;   /* alias akcentu (preloader, akcenty UI) */
    --cream:        #f4f1ea;   /* kremowe tło sekcji */
    --cream-card:   #f6f3ec;   /* tło kart usług */
    --ink:          #2b2f36;   /* ciemny tekst */
    --muted:        #6c7079;   /* tekst pomocniczy */
    --muted-light:  #c7ccd6;   /* tekst na ciemnym tle */
    --line:         #e3ddd0;   /* delikatne linie / obramowania */

    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans:  'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --ease: cubic-bezier(.4, 0, .2, 1);   /* wspólne wygładzenie animacji */
}

/* ---------- Reset bazowy ---------- */
/* zabezpieczenie przed resztkowym poziomym naddatkiem;
   clip (nie hidden) nie tworzy kontekstu przewijania i nie psuje sticky navbara */
html { overflow-x: clip; }

body {
    font-family: var(--font-sans);
    color: var(--ink);
    background-color: #ffffff;
    font-size: 1rem;
    line-height: 1.6;
}

a { text-decoration: none; }

img { max-width: 100%; }

/* =========================================================
   PRELOADER
   ========================================================= */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    background: var(--ink);
    transition: opacity .5s var(--ease), visibility .5s var(--ease);
}
.preloader--hidden {
    opacity: 0;
    visibility: hidden;
}
.preloader__spinner {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    border: 5px solid color-mix(in srgb, var(--accent) 25%, transparent);
    border-top-color: var(--accent);
    animation: preloader-spin .8s linear infinite;
}
@keyframes preloader-spin {
    to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
    .preloader__spinner { animation: none; }
}

/* =========================================================
   PLACEHOLDERY GRAFIK
   ========================================================= */
.image-placeholder {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: repeating-linear-gradient(
        45deg,
        #d9dde4,
        #d9dde4 14px,
        #cdd2db 14px,
        #cdd2db 28px
    );
    color: #5b616b;
    overflow: hidden;
}

.image-placeholder__label {
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 600;
    background: rgba(255, 255, 255, .65);
    padding: .35rem .7rem;
    border-radius: 2px;
}

/* =========================================================
   PRZYCISKI (warianty)
   ========================================================= */
.btn {
    --bs-btn-border-radius: 2px;
    font-family: var(--font-sans);
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-size: .8rem;
    padding: .8rem 1.6rem;
    border: 1px solid transparent;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.btn--lg {
    padding: 1rem 2rem;
}

.btn--gold {
    background-color: var(--gold);
    color: #fff;
}
.btn--gold:hover,
.btn--gold:focus {
    background-color: var(--gold-600);
    color: #fff;
}

.btn--navy {
    background-color: var(--navy);
    color: #fff;
}
.btn--navy:hover,
.btn--navy:focus {
    background-color: var(--navy-700);
    color: #fff;
}

.btn--outline-light {
    background-color: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .5);
}
.btn--outline-light:hover,
.btn--outline-light:focus {
    background-color: rgba(255, 255, 255, .12);
    color: #fff;
    border-color: #fff;
}

.btn--outline-navy {
    background-color: transparent;
    color: var(--navy);
    border-color: var(--navy);
}
.btn--outline-navy:hover,
.btn--outline-navy:focus {
    background-color: var(--navy);
    color: #fff;
}

/* =========================================================
   ELEMENTY SEKCJI (eyebrow / tytuł / podtytuł)
   ========================================================= */
.section__eyebrow {
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
    position: relative;
    padding-left: 3.2rem;
}
.section__eyebrow::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 2.4rem;
    height: 2px;
    background-color: var(--gold);
    transform: translateY(-50%);
}

/* wyśrodkowany wariant (kreska nad tekstem) */
.section__eyebrow--center {
    padding-left: 0;
    padding-top: 1.6rem;
    display: inline-block;
}
.section__eyebrow--center::before {
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 2.4rem;
}

.section__eyebrow--light { color: var(--gold); }

.section__title {
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--navy);
    font-size: clamp(2rem, 4vw, 2.6rem);
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.section__subtitle {
    color: var(--muted);
    max-width: 680px;
    margin: 0 auto;
    font-size: 1rem;
}

.section__header {
    max-width: 760px;
    margin: 0 auto 3.5rem;
}

/* =========================================================
   TOP BAR
   ========================================================= */
.topbar {
    background-color: var(--navy);
    color: var(--muted-light);
    font-size: .82rem;
    padding: .6rem 0;
}
.topbar__item {
    white-space: nowrap;
}
.topbar__item i {
    color: var(--gold);
    margin-right: .4rem;
}

/* =========================================================
   HEADER / NAVBAR
   ========================================================= */
.header__navbar {
    background-color: #fbfaf7;
    border-bottom: 1px solid var(--line);
    padding: .85rem 0;
    /* sticky navbar — przykleja się do góry po przewinięciu (wzorzec designio) */
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: padding .3s var(--ease), box-shadow .3s var(--ease),
                background-color .3s var(--ease);
}
/* stan po przewinięciu (już o 1px): mniejszy padding + delikatny cień */
.header__navbar--scrolled {
    padding: .35rem 0;
    background-color: #ffffff;
    box-shadow: 0 6px 20px rgba(24, 36, 61, .12);
}

.header__brand {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.header__emblem {
    width: 44px;
    height: 44px;
    background: #b32630;            /* czerwone tło godła (placeholder) */
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .05em;
    border-radius: 2px;
    flex: 0 0 auto;
    transition: width .3s var(--ease), height .3s var(--ease);
}
/* logo zwęża się razem z paskiem */
.header__navbar--scrolled .header__emblem {
    width: 38px;
    height: 38px;
}

/* logo jako plik SVG (img) — w miejscu dawnego godła + wordmarku */
.header__logo {
    display: block;
    height: 54px;
    width: auto;
    transition: height .3s var(--ease);
}
.header__navbar--scrolled .header__logo { height: 38px; }

.header__brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.header__brand-name {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--navy);
    transition: font-size .3s var(--ease);
}
.header__navbar--scrolled .header__brand-name {
    font-size: 1.2rem;
}
.header__brand-sub {
    font-size: .62rem;
    letter-spacing: .32em;
    color: var(--gold);
    margin-top: .25rem;
    font-weight: 600;
}

.header__link {
    color: var(--navy) !important;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .5rem .9rem !important;
}
.header__link:hover,
.header__link--active {
    color: var(--gold) !important;
}

/* ---------- Hamburger: 3 kreski animowane w "X" (wzorzec designio) ---------- */
.header__toggler {
    border: 0;
    background: transparent;
    box-shadow: none !important;   /* usuwa obwódkę/cień Bootstrapa wokół menu */
    cursor: pointer;
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
    width: 42px;
    height: 32px;
    padding: 7px 5px;
}
.header__toggler:focus { outline: none; box-shadow: none !important; }
.header__toggler:focus-visible {           /* dyskretny focus tylko dla klawiatury */
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 4px;
}
.header__toggler-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transform-origin: center;
    transition: transform .3s var(--ease), opacity .2s var(--ease),
                background-color .2s var(--ease);
}
/* hover / stan otwarty: hamburger -> złoty "X" */
.header__toggler:hover .header__toggler-bar,
.header__toggler[aria-expanded="true"] .header__toggler-bar { background: var(--gold); }
.header__toggler[aria-expanded="true"] .header__toggler-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.header__toggler[aria-expanded="true"] .header__toggler-bar:nth-child(2) { opacity: 0; }
.header__toggler[aria-expanded="true"] .header__toggler-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.header__cta {
    color: #fff;
    transition: background-color .2s ease, padding .3s var(--ease);
}
.header__navbar--scrolled .header__cta {
    padding: .6rem 1.3rem;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
    position: relative;
    background-color: var(--navy);
    overflow: hidden;
    color: #fff;
}

.hero__media {
    position: absolute;
    inset: -25% 0;          /* zapas na ruch parallax — brak luk przy krawędziach */
    z-index: 0;
    will-change: transform;
}

/* przyciemnienie + gradient z lewej (czytelność tekstu) */
.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        100deg,
        var(--navy) 0%,
        rgba(24, 36, 61, .96) 38%,
        rgba(24, 36, 61, .65) 68%,
        rgba(24, 36, 61, .35) 100%
    );
}

.hero__container {
    position: relative;
    z-index: 2;
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.hero__content { max-width: 640px; }

.hero__title {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: clamp(2.6rem, 6vw, 4.4rem);
    line-height: 1.05;
    margin-bottom: 1.5rem;
}
.hero__title-accent { color: var(--gold); }

.hero__lead {
    color: rgba(255, 255, 255, .82);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2.2rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.hero__social {
    display: flex;
    gap: 1.25rem;
    font-size: 1.1rem;
}
.hero__social a {
    color: rgba(255, 255, 255, .75);
    transition: color .2s ease;
}
.hero__social a:hover { color: var(--gold); }

/* =========================================================
   ABOUT
   ========================================================= */
.about {
    background-color: var(--cream);
    padding: 6rem 0;
}

.about__title { max-width: 460px; }

.about__text {
    color: var(--muted);
    margin-bottom: 1.25rem;
}

/* ciemna karta po prawej */
.about__card {
    position: relative;
    background-color: var(--navy);
    color: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(24, 36, 61, .18);
}
.about__card-media {
    background-color: #ffffff;
    position: absolute;
    inset: -35% 0;          /* zapas na ruch parallax — brak luk przy krawędziach */
    opacity: 1;
    will-change: transform;
}
.about__card-media--photo {
    background: url('../images/acm.jpg') center / cover no-repeat;
}
.about__card-body {
    position: relative;
    z-index: 1;
    padding: 3rem 2.75rem;
}
.about__card-title {
    font-family: var(--font-serif);
    color: var(--gold);
    font-size: 1.9rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}
.about__card-text {
    color: rgba(255, 255, 255, .78);
    font-size: .95rem;
    margin-bottom: 1.75rem;
}
.about__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.about__list-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .55rem 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: .95rem;
    color: rgba(255, 255, 255, .9);
}
.about__list-item:first-child { border-top: none; }
.about__list-item i { color: var(--gold); }

/* =========================================================
   SERVICES
   ========================================================= */
.services {
    background-color: #ffffff;
    padding: 6rem 0;
}

.services__card {
    background-color: var(--cream-card);
    border-top: 3px solid var(--gold);
    padding: 3rem 2rem 2.5rem;
    height: 100%;
    transition: transform .2s ease, box-shadow .2s ease;
}
.services__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(24, 36, 61, .1);
}
/* ikona karty jako plik SVG (img) */
.services__icon {
    display: block;
    width: 52px;
    height: 52px;
    margin-bottom: 1.5rem;
}
.services__card-title {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 1.4rem;
    color: var(--navy);
    margin-bottom: 1.1rem;
}
.services__card-text, .catalog__card-text {
    color: var(--muted);
    font-size: .95rem;
    margin: 0;
}

.services__card-title a, .catalog__card-title a {
    color: var(--muted);
    transition: opacity .2s ease;
}
.services__card-title a:hover, .catalog__card-title a:hover { color: var(--gold); }

.services__footer { margin-top: 3.5rem; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
    background-color: var(--cream);
    padding: 6rem 0;
}
.contact .section__header { margin-bottom: 2.5rem; }

.contact__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
    background-color: var(--navy-900);
    color: var(--muted-light);
    padding-top: 4.5rem;
}

.footer__top { padding-bottom: 3rem; }

.footer__brand {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1.5rem;
}
.footer__brand-name { color: #fff; }
.footer__brand .header__brand-name { color: #fff; }

/* logo w stopce jako plik SVG (img), wariant na ciemne tło */
.footer__logo {
    display: block;
    height: 96px;
    width: auto;
}

.footer__about {
    color: var(--muted-light);
    font-size: .9rem;
    max-width: 360px;
    margin-bottom: 1.5rem;
}

.footer__social {
    display: flex;
    gap: 1.1rem;
    font-size: 1.05rem;
}
.footer__social a {
    color: var(--gold);
    transition: opacity .2s ease;
}
.footer__social a:hover { opacity: .7; }

.footer__heading {
    color: var(--gold);
    font-size: .8rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 1.4rem;
}

.footer__links,
.footer__contact {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer__links li,
.footer__contact li {
    margin-bottom: .8rem;
    font-size: .92rem;
}
.footer__links a,
.footer__contact a {
    color: var(--muted-light);
    transition: color .2s ease;
}
.footer__links a:hover,
.footer__contact a:hover { color: var(--gold); }

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 1.6rem 0;
    font-size: .82rem;
    color: #7c828e;
}
.footer__legal a, .footer__copy a, .footer__realization a {
    color: #7c828e;
    margin-left: 0.5rem;
    transition: color .2s ease;
}
.footer__legal a:first-child { margin-left: 0; }
.footer__legal a:hover, .footer__copy a:hover, .footer__realization a:hover { color: var(--gold); }

/* =========================================================
   PODSTRONA — hero, okruszki, katalog, notka
   (nowe klasy; strona główna pozostaje bez zmian)
   ========================================================= */

/* niższy hero podstrony */
.page-hero {
    position: relative;
    background-color: var(--navy);
    color: #fff;
    overflow: hidden;
}
.page-hero__media {
    position: absolute;
    inset: -30% 0;          /* zapas na ruch parallax */
    z-index: 0;
    opacity: .16;
    will-change: transform;
}
.hero__media--photo {
    background: url('../images/home.jpg') center right / cover no-repeat;
}
.page-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(24, 36, 61, .82), rgba(24, 36, 61, .95));
}
.page-hero__inner {
    position: relative;
    z-index: 2;
    padding: 4.5rem 0;
    text-align: center;
}
.page-hero__title {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}
.page-hero__lead {
    color: rgba(255, 255, 255, .82);
    max-width: 680px;
    margin: 0 auto;
}

/* okruszki */
.breadcrumbs {
    /* inline-flex + vertical-align: element kurczy się do treści i jest
       pozycjonowany przez text-align rodzica (.page-hero__inner),
       więc Bootstrapowe text-center / text-md-start sterują jego położeniem */
    display: inline-flex;
    vertical-align: middle;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    font-size: .76rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 600;
    color: rgba(255, 255, 255, .7);
    margin-bottom: 1.5rem;
    text-align: left;   /* po zawinięciu okruszki czytane od lewej, niezależnie od wyrównania bloku */
}
.breadcrumbs a { color: var(--gold); transition: color .2s ease; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs__sep { opacity: .5; }

/* katalog czynności */
.catalog {
    background-color: #ffffff;
    padding: 6rem 0;
}
.catalog__card {
    background-color: var(--cream-card);
    border-top: 3px solid var(--gold);
    padding: 2.5rem 2rem;
    height: 100%;
    transition: transform .2s ease, box-shadow .2s ease;
}
.catalog__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(24, 36, 61, .1);
}
.catalog__icon {
    display: block;
    width: 48px;
    height: 48px;
    margin-bottom: 1.1rem;
}
.catalog__card-title {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 1.4rem;
    color: var(--navy);
    margin-bottom: 1.1rem;
}
.catalog__list, .services__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.catalog__list-item, .services__list-item {
    display: flex;
    gap: .6rem;
    padding: .5rem 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .92rem;
}
.catalog__list-item:first-child, .services__list-item:first-child { border-top: none; }
.catalog__list-item i, .services__list-item i {
    color: var(--gold);
    margin-top: .15rem;
    flex: 0 0 auto;
}


/* notka o dokumentach */
.page-note__box {
    margin-top: 3rem;
    background: var(--cream);
    border-left: 3px solid var(--gold);
    border-radius: 4px;
    padding: 2rem 2.25rem;
}
.page-note__title {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: .6rem;
}
.page-note__text {
    color: var(--muted);
    margin: 0;
}

/* =========================================================
   STRONA TEKSTOWA — sekcja treści (the_content, bez klas)
   Stylowanie czystych tagów wewnątrz .content__body, dzięki
   czemu edytowalna treść WordPress nie wymaga żadnych klas.
   ========================================================= */
.content {
    background-color: #ffffff;
    padding: 6rem 0;
}
.content__body {
    color: var(--ink);
    font-size: 1.05rem;
    line-height: 1.8;
}
.content__body > *:first-child { margin-top: 0; }
.content__body > *:last-child  { margin-bottom: 0; }

.content__body h2,
.content__body h3,
.content__body h4 {
    font-family: var(--font-serif);
    color: var(--navy);
    font-weight: 600;
    line-height: 1.2;
}
.content__body h2 { font-size: clamp(1.7rem, 3vw, 2.1rem); margin: 2.75rem 0 1rem; }
.content__body h3 { font-size: 1.5rem; margin: 2.25rem 0 .85rem; }
.content__body h4 { font-size: 1.2rem; margin: 1.75rem 0 .6rem; }

.content__body p { margin: 0 0 1.25rem; }

.content__body a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.content__body a:hover { color: var(--gold-600); }

.content__body strong { color: var(--navy); font-weight: 700; }

.content__body ul,
.content__body ol {
    margin: 0 0 1.25rem;
    padding-left: 1.4rem;
}
.content__body li { margin-bottom: .5rem; }
.content__body ul li::marker { color: var(--gold); }
.content__body ol li::marker { color: var(--gold); font-weight: 700; }

.content__body blockquote {
    margin: 1.75rem 0;
    padding: 1rem 1.5rem;
    border-left: 3px solid var(--gold);
    background: var(--cream);
    border-radius: 0 4px 4px 0;
    color: var(--navy);
    font-style: italic;
}
.content__body img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 1.5rem 0;
}
.content__body hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 2.5rem 0;
}
.content__body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}
.content__body th,
.content__body td {
    border: 1px solid var(--line);
    padding: .6rem .8rem;
    text-align: left;
}
.content__body th { background: var(--cream); color: var(--navy); }

.gmap {
    height: 400px;
    width: 100%;
    border: 0;
}
/* =========================================================
   RESPONSYWNOŚĆ
   ========================================================= */

/* Tablet */
@media (max-width: 991.98px) {
    /* Wiersze z dużym gutterem (np. g-5 = --bs-gutter-x: 3rem) dostają ujemny
       margines -24px z każdej strony; przy pełnej szerokości kontenera (padding
       12px) nie mieści się to i powstaje poziome przewijanie + biały pasek z prawej.
       Na mobile/tablecie kolumny i tak układają się w pionie, więc ograniczamy
       poziomy gutter — pionowy odstęp i wygląd desktopu zostają bez zmian. */
    .row { --bs-gutter-x: 1.5rem; }

    .header__menu {
        padding-top: 1rem;
        gap: .25rem;
    }
    .header__cta {
        display: inline-block;
        width: 100%;
        text-align: center;
    }
    .hero__container {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }
    .about,
    .services,
    .contact { padding: 4.5rem 0; }
    .about__card-body { padding: 2.5rem 2rem; }
    .catalog,
    .content { padding: 4.5rem 0; }
    .page-hero__inner { padding: 3.5rem 0; }
}

/* Mobile */
@media (max-width: 575.98px) {
    .topbar { font-size: .76rem; }
    .hero__actions .btn { width: 100%; }
    .hero__container {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }
    .section__header { margin-bottom: 2.5rem; }
    .contact__actions .btn { width: 100%; }
    .services__card-title, .catalog__cart-title { min-height: auto; }
    .footer { padding-top: 3.5rem; }
    .page-hero__inner { padding: 2.75rem 0; }
    .page-note__box { padding: 1.75rem 1.5rem; }
    .content__body { font-size: 1rem; }
}

/* Dostępność: focus + reduced motion */
.btn:focus-visible,
a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}
/* =========================================================
   SCROLL REVEAL — delikatne odsłanianie przy scrollu
   (wzorzec z designio: powtarza się przy każdym wejściu w kadr,
    reset poza ekranem realizuje JS)
   ========================================================= */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    will-change: opacity, transform;
}
.reveal.is-visible {
    opacity: 1;
    transform: none;
}
/* reset poza ekranem — bez animacji wyjścia (klasę zdejmuje JS po reflow) */
.reveal--instant {
    transition: none !important;
}
/* delikatny kaskadowy stagger kart usług (lewa → prawa) */
.services__row > div:nth-child(2) .services__card.reveal { transition-delay: .1s; }
.services__row > div:nth-child(3) .services__card.reveal { transition-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; }
}
