/* =====================================================================
   layout2025.css – wersja PREMIUM 2026
   Nowoczesny, profesjonalny layout. Bez zmian w HTML/PHP/JS –
   wyłącznie warstwa wizualna. Kolorystyka bez zmian (pomarańcz + granat).
   Bez zewnętrznych fontów – dopracowany stack systemowy (0 requestów).
   ===================================================================== */

/* =========================
   DESIGN TOKENS
   ========================= */
:root {
    /* marka */
    --brand:        #f37021;
    --brand-2:      #ff8a3d;
    --brand-dark:   #d9550f;
    --brand-action: #c24f0e;
    --brand-soft:   #fff4ec;
    --brand-border: #ffd9bd;

    /* neutralne */
    --ink:    #0f172a;
    --ink-2:  #1e293b;
    --text:   #334155;
    --muted:  #64748b;
    --faint:  #94a3b8;

    --border:      #e5e9f0;
    --border-soft: #eef1f6;

    --bg:   #f5f6f8;
    --card: #ffffff;
    --tint: #f8fafc;

    /* geometria */
    --radius-lg: 18px;
    --radius:    14px;
    --radius-sm: 10px;

    /* cienie – miękkie, warstwowe */
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05),
                 0 1px 3px rgba(15, 23, 42, .04);
    --shadow:    0 1px 2px rgba(15, 23, 42, .04),
                 0 10px 30px -6px rgba(15, 23, 42, .09);
    --shadow-lg: 0 2px 6px rgba(15, 23, 42, .05),
                 0 24px 48px -12px rgba(15, 23, 42, .16);
    --glow:      0 6px 20px -4px rgba(243, 112, 33, .45);

    /* typografia – nowoczesny stack systemowy (Win 11: Segoe UI Variable) */
    --font: ui-sans-serif, system-ui, "Segoe UI Variable Text", "Segoe UI",
            -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue",
            Arial, "Noto Sans", sans-serif;
    --font-display: ui-sans-serif, system-ui, "Segoe UI Variable Display",
            "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto,
            "Helvetica Neue", Arial, sans-serif;

    --topbar-h: 72px;
}

/* =========================
   RESET / GLOBAL
   ========================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* zaznaczanie tekstu w kolorze marki */
::selection {
    background: rgba(243, 112, 33, .22);
    color: var(--ink);
}

/* delikatniejszy scrollbar (WebKit + Firefox) */
* {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}
*::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
*::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
    border: 2px solid var(--bg);
}
*::-webkit-scrollbar-track {
    background: transparent;
}

/* czytelny focus z klawiatury */
:focus-visible {
    outline: 3px solid rgba(243, 112, 33, .45);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Linki */
a {
    text-decoration: none;
    color: var(--brand);
    transition: color .2s ease;
}

a:hover {
    color: var(--brand-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

img {
    border: 0;
    max-width: 100%;
    height: auto;
}

/* Pomocnicze */
.max-width {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* STRUKTURA GŁÓWNA */
.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* =========================
   TOPBAR / LOGO / MENU
   ========================= */

.topbar {
    background-color: rgba(255, 255, 255, .86);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    backdrop-filter: blur(14px) saturate(160%);
    color: var(--ink);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: box-shadow .25s ease, border-bottom-color .25s ease,
                background-color .25s ease;
}

/* Topbar po scrollu – wyraźniejsze odcięcie od treści */
.topbar--scrolled {
    background-color: rgba(255, 255, 255, .92);
    box-shadow: 0 4px 20px -4px rgba(15, 23, 42, .12);
    border-bottom-color: var(--border-soft);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--topbar-h);
    gap: 16px;
}

/* Logo */
.logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
}

/* fallback tekstowy */
.logo-text {
    font-family: var(--font-display);
    font-size: 23px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.logo-text span {
    color: var(--brand);
    font-weight: 800;
}

/* grafika logo */
.logo-img {
    display: block;
    max-height: 44px;
    width: auto;
}

/* MENU GŁÓWNE – desktop */
.main-nav {
    display: flex;
    align-items: center;
}

.main-nav .menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.menu li {
    margin: 0;
}

.menu-link {
    position: relative;
    display: inline-block;
    padding: 10px 10px;
    font-size: 14.5px;
    font-weight: 500;
    color: #4b5563;
    white-space: nowrap;
    border-radius: 8px;
    transition: color .2s ease, background-color .2s ease;
}

/* animowane podkreślenie */
.menu-link::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 4px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand-2), var(--brand));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .25s ease;
}

.menu-link:hover {
    color: var(--brand);
    text-decoration: none;
    background-color: var(--brand-soft);
}

.menu-link:hover::after {
    transform: scaleX(1);
}

.menu-link.active {
    color: var(--brand);
    font-weight: 600;
}

.menu-link.active::after {
    transform: scaleX(1);
}

/* Call-to-action w menu */
.menu-cta {
    margin-left: 8px;
}

.menu-cta .btn-small {
    font-size: 13.5px;
    padding: 9px 20px;
}

/* Hamburger (mobile) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0;
    margin-left: 8px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background-color: #ffffff;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.menu-toggle:hover {
    border-color: var(--brand);
    box-shadow: var(--glow);
}

.menu-toggle span {
    display: block;
    height: 2px;
    width: 20px;
    background-color: var(--ink);
    border-radius: 999px;
    transition: transform .25s ease, opacity .2s ease, background-color .2s ease;
}

.menu-toggle:hover span {
    background-color: var(--brand);
}

/* hamburger zmienia się w "X", gdy menu otwarte (progressive enhancement) */
.site-wrapper:has(.main-nav.open) .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.site-wrapper:has(.main-nav.open) .menu-toggle span:nth-child(2) {
    opacity: 0;
}
.site-wrapper:has(.main-nav.open) .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================
   PRZYCISKI
   ========================= */

.btn-primary {
    display: inline-block;
    background-color: var(--brand-action);
    color: #ffffff;
    padding: 11px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14.5px;
    letter-spacing: .01em;
    border: none;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease,
                transform .18s ease;
}

.btn-primary:hover {
    background-color: #b8460c;
    color: #ffffff;
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    display: inline-block;
    background-color: #ffffff;
    color: var(--brand-action);
    padding: 11px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14.5px;
    letter-spacing: .01em;
    border: 1px solid var(--brand-border);
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease,
                transform .18s ease;
}

.btn-secondary:hover {
    background-color: var(--brand-action);
    border-color: var(--brand-action);
    color: #ffffff;
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-secondary:active {
    transform: translateY(0);
}

/* mniejszy wariant przycisków */
.btn-small {
    font-size: .9rem;
    padding: 9px 20px;
}

/* =========================
   PEŁNOEKRANOWY HERO – TŁO OTOTELEFON
   ========================= */

.hero-ototelefon {
    position: relative;
    width: 100%;
    min-height: 420px;
    color: #ffffff;
    background-image: url("../images/background-hero-ototelefon-640.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    margin-bottom: 32px;
}

/* Jednolite przyciemnienie zapewnia czytelność bez winiety i poświat. */
.hero-ototelefon::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(15, 23, 42, .68);
    pointer-events: none;
}

.hero-ototelefon-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 56px 0;
}

.hero-ototelefon-text {
    text-align: center;
    padding: 40px 24px;
}

.hero-ototelefon-text h1 {
    margin: 0 0 14px;
    font-family: var(--font-display);
    font-size: clamp(30px, 5vw, 46px);
    font-weight: 700;
    line-height: 1.12;
    color: #ffffff;
    letter-spacing: -.015em;
    text-wrap: balance;
}

.hero-ototelefon-text p {
    margin: 0 auto;
    max-width: 660px;
    font-size: clamp(17px, 2.2vw, 21px);
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255, 255, 255, .94);
    text-wrap: balance;
}

/* większe ekrany – wyższy hero */
@media (min-width: 768px) {
    .hero-ototelefon {
        min-height: 70vh;
    }
}

/* desktop – prawie pełne okno (jak dotychczas) */
@media (min-width: 992px) {
    .hero-ototelefon {
        min-height: calc(100vh - var(--topbar-h));
        background-image: url("../images/background-hero-ototelefon.jpg");
        background-position: bottom center;
    }

    .hero-ototelefon-text h1 {
        font-size: clamp(40px, 4.2vw, 54px);
    }

    .hero-ototelefon-text p {
        font-size: 22px;
    }
}

/* =========================
   GŁÓWNA ZAWARTOŚĆ
   ========================= */

.content {
    flex: 1;
    width: 100%;
    padding: 0 0 40px;
}

/* Pasek główny: lewa kolumna + prawa kolumna */
#pasek_glowny {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

/* Lewa kolumna – menu boczne */
#menu_boczne {
    background-color: var(--card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 20px 18px;
    box-shadow: var(--shadow);
    font-size: 14px;

    /* menu "płynie" razem z czytelnikiem */
    position: sticky;
    top: calc(var(--topbar-h) + 16px);
    max-height: calc(100vh - var(--topbar-h) - 32px);
    overflow-y: auto;
    overscroll-behavior: contain;
}

#menu_boczne p {
    margin-top: 0;
    text-align: left;
}

#menu_boczne .naglowek {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--brand);
    font-size: 15px;
    letter-spacing: -0.005em;
}

#menu_boczne .data {
    display: inline-block;
    margin-top: 10px;
    font-size: 10.5px;
    font-weight: 600;
    color: var(--faint);
    text-transform: uppercase;
    letter-spacing: .09em;
}

#menu_boczne hr {
    border: 0;
    border-top: 1px solid var(--border-soft);
    margin: 14px 0;
}

/* pozycje menu – bez gifowych punktorów, nowoczesne "pigułki" */
#menu_boczne li {
    list-style: none;
    list-style-image: none;
    margin: 2px 0;
    padding-left: 0;
}

#menu_boczne li a {
    display: block;
    padding: 7px 10px;
    border-radius: 8px;
    color: #46556a;
    line-height: 1.4;
    transition: background-color .18s ease, color .18s ease, padding-left .18s ease;
}

#menu_boczne li a:hover {
    background-color: var(--brand-soft);
    color: var(--brand);
    text-decoration: none;
    padding-left: 13px;
}

/* aktywna pozycja (w PHP: <b>) */
#menu_boczne li b {
    display: block;
    padding: 7px 10px 7px 13px;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--brand-soft), rgba(255, 244, 236, .35));
    color: var(--brand);
    font-weight: 600;
    box-shadow: inset 3px 0 0 var(--brand);
}

#menu_boczne a {
    color: #46556a;
}

#menu_boczne a:hover {
    color: var(--brand);
}

#menu_boczne .menu-underline {
    display: block;
    height: 3px;
    margin: 6px 0 10px;
    border-radius: 999px;
    background: linear-gradient(to right, var(--brand), rgba(243, 112, 33, 0));
}

/* Prawa kolumna – treść */
#tresc_strony {
    background-color: var(--card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 28px 32px 32px;
    box-shadow: var(--shadow);
    min-width: 0;
}

/* nowocześnie: tekst wyrównany do lewej zamiast justowania */
#tresc_strony p {
    text-align: left;
    margin-bottom: .8rem;
}

/* Standardowe listy w treści – pomarańczowe kwadraty */
#tresc_strony ul {
    margin: .5rem 0 1rem;
    padding-left: 1.15rem;
    list-style-type: square;
    list-style-position: outside;
}

#tresc_strony ul li {
    margin-bottom: .3rem;
    padding-left: .15rem;
}

/* kolor markera – pomarańczowy */
#tresc_strony ul li::marker {
    color: var(--brand);
}

/* Teksty na stronach "Jak możesz dzwonić" – bez justowania */
#tresc_strony .device-page p {
    text-align: left;
}

/* =========================
   Dział "Pomoc" – listy tematów i pytań
   ========================= */

.help-topics-list,
.help-questions-list {
    margin: .4rem 0 .9rem;
    padding-left: 1.15rem;
    list-style-type: square;
    list-style-position: outside;
}

.help-topics-list li,
.help-questions-list li {
    margin: .2rem 0;
}

/* Główne tematy – pomarańczowe kwadraty */
.help-topics-list li::marker {
    color: var(--brand);
}

/* Lista pytań – szare kwadraty, poziom niżej */
.help-questions-list li::marker {
    color: #9ca3af;
}

.help-topics-list a,
.help-questions-list a {
    text-decoration: none;
}

.help-topics-list a:hover,
.help-questions-list a:hover {
    text-decoration: underline;
    color: var(--brand);
}

/* Pomoc – nagłówki tematów w li, w jednej linii z kwadracikiem */
.help-topics-list h3 {
    display: inline;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

/* Pomoc – link „powrót na górę" */
.back-to-top {
    margin-top: .8rem;
}

/* =========================
   Formularz wyboru strefy numeracyjnej / lista numerów
   ========================= */

.device-form {
    margin: .75rem 0 1.6rem;
}

/* etykieta */
.device-form label {
    display: block;
    margin-bottom: .4rem;
    font-weight: 600;
    font-size: .92rem;
    color: var(--text);
}

/* rozwijana lista stref – nowoczesny select z własną strzałką */
.device-form select {
    display: block;
    width: 100%;
    max-width: 340px;
    padding: 10px 40px 10px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid #d6dde6;
    background-color: #ffffff;
    font: inherit;
    font-size: .95rem;
    color: #111827;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    box-shadow: var(--shadow-sm);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.device-form select:hover {
    border-color: #b9c4d2;
}

.device-form select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(243, 112, 33, .16);
}

/* przycisk "Pokaż dostępne numery" */
.numbers-form-submit {
    margin-top: .9rem;
}

/* przycisk "← Wybierz inną strefę" */
.numbers-form-back-btn {
    margin-top: .6rem;
}

/* Lista numerów + link "Zamów ten numer" */

.device-page ul.numbers-list,
.device-page ul.numbers-list li {
    list-style: none;
    list-style-image: none;
    margin: 0;
    padding: 0;
}

.numbers-list {
    margin-top: .8rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background-color: #ffffff;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.numbers-list-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--border-soft);
    font-size: .95rem;
    transition: background-color .15s ease;
}

.numbers-list-item:hover {
    background-color: #fff8f2;
}

.numbers-list-item:last-child {
    border-bottom: none;
}

.numbers-list-number {
    font-weight: 600;
    color: var(--ink-2);
    letter-spacing: .04em;
    font-variant-numeric: tabular-nums;
}

/* mini-przycisk przy numerze */
.numbers-list-order-link {
    display: inline-block;
    font-size: .82rem;
    font-weight: 500;
    padding: 5px 14px;
    border-radius: 999px;
    border: 1px solid var(--brand-border);
    color: var(--brand);
    background-color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease,
                box-shadow .2s ease, transform .15s ease;
}

.numbers-list-order-link:hover {
    background-color: var(--brand);
    border-color: var(--brand);
    color: #ffffff;
    box-shadow: var(--glow);
    transform: translateY(-1px);
    text-decoration: none;
}

/* na węższych ekranach numer i przycisk pod sobą */
@media (max-width: 520px) {
    .numbers-list-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* CTA na stronie głównej – 2 przyciski */
.intro-cta {
    margin-top: 1.1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Telefon – przyciski jeden pod drugim z odstępem */
@media (max-width: 600px) {
    .intro-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .intro-cta .btn-primary,
    .intro-cta .btn-secondary {
        width: 100%;
        text-align: center;
    }
}

/* =========================
   NAGŁÓWKI W TREŚCI
   ========================= */

h1 {
    font-family: var(--font-display);
    font-size: 27px;
    line-height: 1.25;
    font-weight: 750;
    color: var(--brand);
    letter-spacing: -0.015em;
    margin-top: 0;
    margin-bottom: 14px;
    text-wrap: balance;
}

h2 {
    font-family: var(--font-display);
    font-size: 21px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--ink-2);
    letter-spacing: -0.01em;
    margin-top: 22px;
    margin-bottom: 10px;
}

h3 {
    font-family: var(--font-display);
    font-size: 16.5px;
    line-height: 1.3;
    font-weight: 650;
    color: var(--ink-2);
    margin-top: 16px;
    margin-bottom: 8px;
}

/* Dodatkowe klasy kolorów (zgodność wsteczna) */
.czerwony { color: #ef4444; }
.color1   { color: var(--brand); }
.color1_2 { color: var(--brand); font-weight: bold; font-size: 16px; }
.color1_3 { color: var(--brand); font-weight: bold; font-size: 20px; }
.color3_3 { color: var(--brand); font-weight: bold; font-size: 20px; }

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

#stopka {
    margin-top: 56px;
    background-color: var(--ink);
    background-image: linear-gradient(180deg, #16213b 0%, var(--ink) 55%);
    color: #e5e7eb;
}

/* pomarańczowa linia na górze stopki */
#stopka_pasek_pomaranczowy {
    height: 3px;
    background: linear-gradient(90deg, var(--brand-dark), var(--brand) 35%, var(--brand-2) 70%, var(--brand-dark));
}

/* główne tło pod treścią stopki */
#stopka_tresc {
    padding: 30px 20px 34px;
}

/* wewnętrzny kontener z max. szerokością jak reszta strony */
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px 32px;
    font-size: 13px;
}

/* kolumny */
.footer-col {
    flex: 1 1 220px;
}

.footer-col-brand {
    max-width: 340px;
}

.footer-brand {
    font-family: var(--font-display);
    font-weight: 650;
    font-size: 15px;
    color: #f8fafc;
    letter-spacing: .01em;
    margin-bottom: 6px;
}

.footer-copy {
    color: var(--faint);
    font-size: 12.5px;
    line-height: 1.6;
}

/* prawa kolumna z linkami */
.footer-col-links {
    text-align: right;
}

.footer-label {
    font-weight: 600;
    font-size: 11px;
    color: var(--faint);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    justify-content: flex-end;
}

/* „pigułki" z linkami */
.footer-links a {
    display: inline-block;
    padding: 5px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .12);
    color: #dbe1ea;
    text-decoration: none;
    font-size: 12.5px;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease,
                transform .15s ease, box-shadow .2s ease;
}

.footer-links a:hover {
    background-color: var(--brand);
    border-color: var(--brand);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(243, 112, 33, .35);
    transform: translateY(-1px);
    text-decoration: none;
}

/* mobile – wszystko pod sobą */
@media (max-width: 640px) {
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .footer-col-links {
        text-align: left;
    }

    .footer-links {
        justify-content: flex-start;
    }
}

/* =========================
   RESPONSYWNOŚĆ
   ========================= */

@media (max-width: 1024px) {
    .topbar-inner {
        gap: 10px;
    }

    .main-nav .menu {
        gap: 2px;
    }

    .menu-link {
        padding: 10px 7px;
    }

    #pasek_glowny {
        grid-template-columns: 260px minmax(0, 1fr);
        gap: 20px;
    }
}

@media (max-width: 900px) {
    /* Hamburger widoczny */
    .menu-toggle {
        display: flex;
    }

    /* MENU – panel wysuwany z LEWEJ strony */
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 300px;
        max-width: 86%;
        background-color: #ffffff;
        box-shadow: 12px 0 40px rgba(15, 23, 42, .22);
        border-right: 1px solid var(--border-soft);
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        transition: transform .28s cubic-bezier(.22, .8, .36, 1),
                    opacity .28s ease, visibility .28s ease;
        z-index: 1200;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .main-nav.open {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .main-nav .menu {
        flex-direction: column;
        align-items: flex-start;
        padding: 84px 20px 28px;
        gap: 2px;
        width: 100%;
    }

    .menu li {
        width: 100%;
    }

    .menu-link,
    .menu-cta .btn-small {
        display: block;
        width: 100%;
        text-align: left;
        font-size: 15px;
        padding: 12px 10px;
        border-bottom: 1px solid #f1f5f9;
        border-radius: 0;
        color: var(--ink-2);
        background: transparent;
    }

    /* na mobile bez animowanego podkreślenia */
    .menu-link::after {
        display: none;
    }

    .menu-link:hover {
        background-color: var(--brand-soft);
        color: var(--brand);
    }

    .menu-link.active {
        background-color: var(--brand-soft);
        color: var(--brand);
        border-left: 3px solid var(--brand);
        border-radius: 0 8px 8px 0;
        padding-left: 12px;
    }

    /* CTA na dole listy – szeroki przycisk */
    .menu-cta {
        margin-left: 0;
    }

    .menu-cta .btn-small {
        margin-top: 14px;
        border-radius: 999px;
        border: none;
        color: #ffffff;
        text-align: center;
        font-weight: 600;
        padding: 13px 14px;
    }

    .menu-cta .btn-small:hover {
        color: #ffffff;
    }

    .content {
        padding-top: 8px;
    }

    #pasek_glowny {
        grid-template-columns: minmax(0, 1fr);
    }

    /* na mobile menu boczne nie jest "sticky" */
    #menu_boczne {
        order: 1;
        margin-top: 12px;
        position: static;
        max-height: none;
        overflow-y: visible;
    }

    #tresc_strony {
        order: 2;
    }
}

@media (max-width: 600px) {
    .logo-text {
        font-size: 19px;
    }

    .logo-img {
        max-height: 38px;
    }

    #tresc_strony {
        padding: 20px 16px;
        border-radius: 12px;
    }

    #menu_boczne {
        padding: 14px 14px;
        border-radius: 12px;
    }
}

/* =========================
   CENNIK – ogólne
   ========================= */

.pricing-page {
    font-size: .95rem;
    line-height: 1.65;
}

.pricing-page h1,
.pricing-page h2,
.pricing-page h3 {
    margin-bottom: .6em;
}

/* Nagłówek cennika */
.pricing-header {
    margin-bottom: 1.4rem;
}

.pricing-header p {
    margin: .3em 0;
}

.pricing-header-link a {
    font-weight: 600;
    text-decoration: none;
}

.pricing-header-link a:hover {
    text-decoration: underline;
}

/* Subnawigacja w treści (linki pomocnicze) */
.pricing-subnav {
    margin-bottom: 1.6rem;
    font-size: .9rem;
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.pricing-subnav strong {
    margin-right: .35rem;
    color: var(--text);
}

.pricing-subnav a {
    font-weight: 500;
    display: inline-block;
    padding: 4px 13px;
    border-radius: 999px;
    border: 1px solid var(--brand-border);
    background-color: var(--brand-soft);
    transition: background-color .2s ease, color .2s ease,
                border-color .2s ease, box-shadow .2s ease;
}

.pricing-subnav a:hover {
    background-color: var(--brand);
    color: #ffffff;
    text-decoration: none;
    border-color: var(--brand);
    box-shadow: var(--glow);
}

/* =========================
   KARTY PAKIETÓW
   ========================= */

.pricing-packages {
    margin-bottom: 3rem;
}

.pricing-packages h2 {
    margin-bottom: .6rem;
}

.pricing-grid {
    display: grid;
    gap: 1.4rem;
    margin-top: 1rem;
}

@media (min-width: 900px) {
    .pricing-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.pricing-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem 1.4rem 1.6rem;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: #d9e0ea;
}

.pricing-card-highlight {
    border-color: rgba(243, 112, 33, .55);
    box-shadow: 0 0 0 1px rgba(243, 112, 33, .55),
                0 18px 40px -10px rgba(243, 112, 33, .28);
    position: relative;
    padding-top: 2.2rem;
    background:
        linear-gradient(180deg, #fffaf6 0%, #ffffff 34%);
}

.pricing-card-highlight:hover {
    transform: translateY(-4px);
    border-color: var(--brand);
    box-shadow: 0 0 0 1px var(--brand),
                0 24px 48px -12px rgba(243, 112, 33, .38);
}

.pricing-badge {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    font-size: .68rem;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: .1em;
    background: linear-gradient(135deg, var(--brand-2), var(--brand));
    color: #fff;
    padding: 4px 13px;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(243, 112, 33, .4);
}

/* Nagłówek karty */
.pricing-card-header {
    margin-bottom: .5rem;
}

.pricing-card-title {
    margin: 0;
    font-size: 1.05rem;
    letter-spacing: -0.005em;
}

.pricing-card-subtitle {
    margin: .25rem 0 .6rem;
    font-size: .88rem;
    line-height: 1.5;
    color: var(--muted);
    min-height: 2.8em;
}

.pricing-card-price {
    margin: 0;
}

.pricing-card-price-main {
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-right: 4px;
    font-variant-numeric: tabular-nums;
}

.pricing-card-price-meta {
    display: block;
    font-size: .84rem;
    color: var(--muted);
}

/* Lista cech pakietu */
.pricing-card-features {
    margin: .9rem 0 .8rem;
    padding-left: 1.15rem;
}

.pricing-card-features li {
    margin-bottom: .32rem;
}

/* pomarańczowe markery na listach w kartach */
.pricing-card-features li::marker {
    color: var(--brand);
    font-weight: 700;
}

.pricing-card-addons {
    font-size: .85rem;
    color: var(--muted);
    margin-bottom: 1rem;
}

/* CTA zawsze na dole karty */
.pricing-card-cta {
    margin-top: auto;
    padding-top: 1rem;
}

.pricing-card-cta .btn-primary {
    text-decoration: none;
}

/* Notka pod kartami */
.pricing-note {
    font-size: .85rem;
    color: var(--muted);
    margin-top: .8rem;
}

/* Tekst „dodatki" i „co wybrać" pod kartami */
.pricing-addons,
.pricing-which {
    font-size: .9rem;
    color: #4b5563;
}

.pricing-addons {
    margin-top: 1.2rem;
}

.pricing-which {
    margin-top: .8rem;
}

/* =========================
   TABELE PORÓWNAWCZE
   ========================= */

.pricing-compare {
    margin-bottom: 3rem;
}

.pricing-compare-scroll {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.pricing-compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 650px;
    font-size: .9rem;
    font-variant-numeric: tabular-nums;
}

.pricing-compare-table th,
.pricing-compare-table td {
    border: none;
    border-bottom: 1px solid var(--border-soft);
    border-left: 1px solid var(--border-soft);
    padding: .55rem .75rem;
    text-align: center;
}

.pricing-compare-table th:first-child,
.pricing-compare-table td:first-child {
    text-align: left;
    font-weight: 600;
    border-left: none;
}

.pricing-compare-table tr:last-child td {
    border-bottom: none;
}

/* nagłówki */
.pricing-compare-table thead th {
    background-color: var(--tint);
    color: var(--ink-2);
    font-weight: 650;
    font-size: .84rem;
    letter-spacing: .02em;
    border-bottom: 1px solid var(--border);
}

/* delikatna zebra + podświetlanie wiersza */
.pricing-compare-table tbody tr:nth-child(even) {
    background-color: #fbfcfe;
}

.pricing-compare-table tbody tr:hover {
    background-color: #fff8f2;
}

/* =========================
   SEKCJE TEKSTOWE CENNIKA
   ========================= */

.pricing-included,
.pricing-activation,
.pricing-calls,
.pricing-faq {
    margin-bottom: 2.5rem;
}

.pricing-included-list {
    padding-left: 1.15rem;
}

.pricing-included-list li {
    margin-bottom: .3rem;
}

.pricing-final-cta {
    margin-top: 2.5rem;
    padding: 2rem 1.6rem;
    border-radius: var(--radius);
    background:
        radial-gradient(ellipse at 50% 0%, rgba(255, 138, 61, .12) 0%, rgba(255, 138, 61, 0) 60%),
        linear-gradient(180deg, #fff7f1, #fffdfb);
    border: 1px solid var(--brand-border);
    text-align: center;
}

.pricing-final-cta h2 {
    margin-top: 0;
    margin-bottom: .5rem;
}

.pricing-final-cta p {
    margin: .3rem 0;
}

.pricing-final-cta .btn-primary,
.pricing-final-cta .btn-secondary {
    margin: .55rem .4rem 0;
}

/* =========================
   "Dopalony" wygląd stron bez menu bocznego
   ========================= */

.page-no-sidebar {
    padding: 32px 0 48px;
}

.page-no-sidebar #tresc_strony {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

/* Dostosowanie #tresc_strony, gdy samo ma klasę .page-no-sidebar */
#tresc_strony.page-no-sidebar {
    padding: 32px 0 48px;
    background: transparent;
    border: none;
    box-shadow: none;
}

.pricing-page {
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 0 36px 44px;
    position: relative;
    overflow: hidden;
}

.pricing-page::before {
    content: "";
    display: block;
    height: 3px;
    width: 84px;
    background: linear-gradient(90deg, var(--brand-2), var(--brand));
    border-radius: 999px;
    margin-bottom: 24px;
}

.pricing-header {
    background:
        radial-gradient(ellipse at 12% 0%, rgba(255, 138, 61, .12) 0%, rgba(255, 138, 61, 0) 55%),
        linear-gradient(180deg, #fff8f2 0%, #ffffff 100%);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 1.6rem 1.6rem 1.3rem;
    margin: -36px -36px 1.3rem;
}

.pricing-header h1 {
    margin-top: 0;
}

.pricing-page h2 {
    color: var(--brand);
    font-size: 22px;
    margin-top: 26px;
    margin-bottom: 12px;
}

.pricing-activation-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    margin-top: 16px;
}

.pricing-activation-columns > div {
    background: var(--tint);
    border-radius: 12px;
    padding: 22px 24px;
    border: 1px solid var(--border-soft);
}

/* Mobile – kolumny jedna pod drugą */
@media (max-width: 768px) {
    .pricing-activation-columns {
        grid-template-columns: 1fr;
    }
}

/* FAQ – akordeony jak w nowoczesnych serwisach */
.pricing-faq details {
    margin-bottom: .55rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #ffffff;
    padding: .8rem 1.1rem;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.pricing-faq details:hover {
    border-color: #d9e0ea;
    box-shadow: var(--shadow-sm);
}

.pricing-faq details[open] {
    border-color: var(--brand-border);
    background: #fffdfb;
    box-shadow: var(--shadow-sm);
}

.pricing-faq summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--ink-2);
    list-style: none;
    position: relative;
    padding-right: 30px;
    outline: none;
}

.pricing-faq summary::-webkit-details-marker {
    display: none;
}

/* własny znak +/− po prawej */
.pricing-faq summary::after {
    content: "+";
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    line-height: 20px;
    text-align: center;
    border-radius: 999px;
    border: 1px solid var(--brand-border);
    color: var(--brand);
    font-weight: 600;
    background: var(--brand-soft);
    transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

.pricing-faq details[open] summary::after {
    content: "−";
    background: var(--brand);
    border-color: var(--brand);
    color: #ffffff;
}

.pricing-faq details[open] summary {
    margin-bottom: .4rem;
}

.pricing-faq ul {
    list-style-type: disc;
    list-style-image: none;
    padding-left: 1.2rem;
    margin: .3rem 0 .6rem;
}

.pricing-faq li {
    margin-bottom: .15rem;
}

/* =========================
   Strony "Jak możesz dzwonić"
   ========================= */

.breadcrumbs {
    font-size: .84rem;
    color: var(--muted);
    margin-bottom: 1.1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px;
}

.breadcrumbs a {
    color: inherit;
    text-decoration: none;
    padding: 2px 4px;
    border-radius: 6px;
    transition: color .18s ease, background-color .18s ease;
}

.breadcrumbs a:hover {
    color: var(--brand);
    background: var(--brand-soft);
    text-decoration: none;
}

.breadcrumbs span {
    font-weight: 500;
    color: var(--text);
    padding: 2px 4px;
}

/* Ogólne opakowanie strony urządzenia */
.device-page {
    font-size: .96rem;
    line-height: 1.65;
}

.device-header {
    margin-bottom: 1.8rem;
}

.device-header p {
    margin-top: .4rem;
    max-width: 640px;
}

/* Sekcje na stronie */
.device-section {
    margin-bottom: 2.2rem;
}

/* Siatki 2-kolumnowe */
.device-layout-grid,
.device-grid-2 {
    display: grid;
    gap: 1.6rem;
}

@media (min-width: 768px) {
    .device-layout-grid,
    .device-grid-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Ramki ze schematami */
.device-diagram {
    background-color: var(--tint);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.device-diagram img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.device-diagram figcaption {
    margin-top: .6rem;
    font-size: .84rem;
    color: var(--muted);
}

/* Box z ceną i bonusami */
.device-card {
    background:
        linear-gradient(180deg, #fbfcff 0%, #f8fafc 100%);
    border-radius: var(--radius);
    padding: 1.4rem 1.6rem;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-sm);
}

/* Listy punktowane w treści */
.device-list {
    margin: .4rem 0 .8rem;
    padding-left: 1.15rem;
}

.device-list li {
    margin-bottom: .3rem;
}

/* Kroki zamawiania */
.device-steps {
    margin: .6rem 0 1rem 1.2rem;
    padding-left: 0;
}

.device-steps li {
    margin-bottom: .35rem;
}

.device-steps li::marker {
    color: var(--brand);
    font-weight: 700;
}

.device-section .device-list {
    margin-top: .5rem;
    margin-bottom: .5rem;
}

/* Aplikacja mobilna – dodatkowe style */
.app-screenshot {
    text-align: center;
}

.app-screenshot img {
    max-width: 190px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
}

.device-section-cta {
    margin-top: 2.5rem;
    padding: 2rem 2rem;
    border-radius: var(--radius);
    background:
        radial-gradient(ellipse at 50% 0%, rgba(255, 138, 61, .12) 0%, rgba(255, 138, 61, 0) 60%),
        linear-gradient(180deg, #fff7f1, #fffdfb);
    border: 1px solid var(--brand-border);
    text-align: center;
}

.device-section-cta .btn-primary {
    margin-top: .8rem;
}

.device-page p {
    text-align: left;
}

/* =========================
   Strona „Jak możesz dzwonić?" – kafelki
   ========================= */

.device-tiles {
    display: grid;
    gap: 1.4rem;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .device-tiles {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.device-tile {
    background-color: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.4rem 1.3rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.device-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-border);
}

.device-tile a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.device-tile img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    margin-bottom: .7rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    transition: transform .25s ease;
}

.device-tile:hover img {
    transform: scale(1.06);
}

.device-tile h3 {
    margin-top: 0;
    margin-bottom: .35rem;
    font-size: 16px;
    color: var(--ink-2);
    transition: color .2s ease;
}

.device-tile p {
    margin: 0;
    font-size: .89rem;
    color: var(--muted);
}

.device-tile a:hover h3 {
    color: var(--brand);
}

/* Linki w sekcji "Więcej informacji" – nie łam tekstu w środku linku */
.info-links a {
    white-space: nowrap;
}

.info-links p {
    margin-bottom: .35rem;
}

.info-links p strong {
    margin-right: .35rem;
}

/* „Kropka" między linkami, z równym odstępem */
.info-links p a + a::before {
    content: "·";
    margin: 0 .35rem;
    color: #9ca3af;
}

/* =========================
   Jak możesz dzwonić – sekcja "Więcej informacji"
   ========================= */

.more-links-grid {
    display: grid;
    gap: .6rem;
    margin-top: .6rem;
}

.more-links-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    column-gap: .75rem;
    row-gap: .15rem;
}

.more-links-label {
    flex: 0 0 auto;
    width: 210px;
    font-weight: 600;
    color: var(--ink-2);
}

.more-links-items {
    flex: 1 1 0;
    font-size: .95rem;
}

.more-links-items a {
    margin-right: .35rem;
}

/* Na większych ekranach linki nie łamią się w środku */
@media (min-width: 768px) {
    .more-links-items a {
        white-space: nowrap;
    }
}

/* Na bardzo wąskich ekranach etykieta nad linkami */
@media (max-width: 600px) {
    .more-links-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .more-links-label {
        width: auto;
    }
}

/* Numery wewnętrzne – delikatne podciągnięcie karty "W skrócie" */
.grid-numery-intro .device-card {
    padding-top: 1.1rem;
}

/* =========================
   Strona Kontakt
   ========================= */

.contact-page {
    font-size: .95rem;
    line-height: 1.65;
}

.contact-page p {
    text-align: left;
}

.contact-page h1 {
    margin-bottom: .8rem;
}

.contact-layout-top {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 1.8rem;
}

@media (min-width: 768px) {
    .contact-layout-top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
    }
}

.contact-main-box,
.contact-before-form,
.contact-offices,
.contact-form-wrapper {
    background-color: var(--card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 1.5rem 1.7rem;
    box-shadow: var(--shadow);
}

.contact-main-box {
    position: relative;
}

.contact-main-box .data {
    font-size: .82rem;
    color: var(--muted);
    margin-bottom: .4rem;
}

/* Numery kontaktowe – tabela w kartce z poziomym scrollem na mobile */

.contact-offices {
    margin-top: 2rem;
}

.contact-offices h2 {
    margin-top: 0;
    margin-bottom: .4rem;
}

.contact-offices p {
    margin-top: 0;
    margin-bottom: .8rem;
}

/* wrapper – poziomy scroll na wąskich ekranach */
.contact-numbers-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--border-soft);
    border-radius: 12px;
}

.contact-numbers-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .86rem;
    min-width: 560px;
    font-variant-numeric: tabular-nums;
}

.contact-numbers-table th,
.contact-numbers-table td {
    padding: 7px 12px;
    border-bottom: 1px solid var(--border-soft);
}

.contact-numbers-table tr:last-child td {
    border-bottom: none;
}

.contact-numbers-table thead th {
    background-color: var(--tint);
    color: var(--ink-2);
    font-weight: 650;
    text-align: left;
}

.contact-numbers-table tbody tr:nth-child(even) {
    background-color: #fbfcfe;
}

.contact-numbers-table tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

.contact-numbers-table tbody tr:hover {
    background-color: #fff8f2;
}

.contact-numbers-table td:nth-child(2),
.contact-numbers-table td:nth-child(3) {
    text-align: center;
}

/* =========================
   Formularz kontaktowy
   ========================= */

.contact-form-wrapper {
    margin-top: 2rem;
}

.contact-form-wrapper h2 {
    margin-top: 0;
    margin-bottom: .8rem;
}

.contact-form {
    max-width: 720px;
}

/* jeden wiersz: etykieta po lewej, pole po prawej */
.contact-form-row {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    margin-bottom: .9rem;
}

/* lewa kolumna – etykieta */
.contact-form label {
    display: block;
    font-weight: 600;
    font-size: .9rem;
    color: var(--text);
    margin: 8px 0 0;
    flex: 0 0 170px;
}

/* gwiazdka wymaganych pól */
.contact-form .required {
    color: #ef4444;
}

/* prawa kolumna – pole formularza */
.contact-form-field {
    flex: 1 1 0;
}

/* tekst pod captcha itd. */
.contact-form-note {
    font-size: .8rem;
    color: var(--muted);
}

/* wiersz z captcha */
.contact-form-row-captcha .contact-form-inline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
}

.contact-form-row-captcha input[type="text"] {
    max-width: 120px;
}

/* wiersz z przyciskiem – label puste miejsce po lewej */
.contact-form-label-spacer {
    flex: 0 0 170px;
}

.contact-form-submit {
    margin-top: .2rem;
    font-size: .95rem !important;
    padding: 10px 26px !important;
}

/* na wąskich ekranach – etykiety nad polami */
@media (max-width: 520px) {
    .contact-form-row {
        flex-direction: column;
        gap: .3rem;
    }

    .contact-form label,
    .contact-form-label-spacer {
        flex: 0 0 auto;
        margin: 0 0 .1rem;
    }
}

.contact-form-row-half {
    display: grid;
    gap: .8rem;
}

.contact-form-message {
    margin-bottom: 1rem;
    padding: .9rem 1.05rem;
    border-radius: var(--radius-sm);
    font-size: .9rem;
}

.contact-form-message--error {
    border: 1px solid #fecaca;
    background-color: #fef2f2;
    color: #b91c1c;
}

.contact-form-message--success {
    border: 1px solid #bbf7d0;
    background-color: #ecfdf5;
    color: #166534;
}

@media (min-width: 640px) {
    .contact-form-row-half {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.contact-form input[type="text"],
.contact-form textarea {
    display: block;
    width: 100%;
    padding: 10px 13px;
    border-radius: var(--radius-sm);
    border: 1px solid #d6dde6;
    background-color: #ffffff;
    font: inherit;
    font-size: .95rem;
    color: var(--ink-2);
    outline: none;
    box-shadow: var(--shadow-sm);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-form input[type="text"]:hover,
.contact-form textarea:hover {
    border-color: #b9c4d2;
}

.contact-form input[type="text"]:focus,
.contact-form textarea:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(243, 112, 33, .16);
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form-row-submit {
    margin-top: 1.1rem;
}

/* Komunikaty po rejestracji (zamow.php) – czytelne akapity */
#tresc_strony .registration-info p {
    margin: 0 0 .75rem;
    text-align: left;
}

#tresc_strony .registration-info p:last-child {
    margin-bottom: 0;
}

/* Strona rejestracji – węższa kolumna */
.registration-page {
    max-width: 760px;
    margin: 0 auto 32px;
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 32px 36px 40px;
    position: relative;
}

.contact-form-page {
    max-width: 840px;
    margin: 0 auto 32px;
}

.contact-form-header {
    padding: 0 32px 0;
    position: relative;
}

/* Karta strony głównej */
.main-page {
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 36px 36px 42px;
    position: relative;
}

/* pomarańczowy akcent u góry karty strony głównej */
.main-page::before {
    content: "";
    display: block;
    height: 3px;
    width: 84px;
    background: linear-gradient(90deg, var(--brand-2), var(--brand));
    border-radius: 999px;
    margin-bottom: 26px;
}

/* na telefonach mniejsze wcięcia kart pełnej szerokości */
@media (max-width: 600px) {
    .main-page,
    .registration-page {
        padding: 24px 18px 30px;
        border-radius: var(--radius);
    }

    .pricing-page {
        padding: 0 18px 30px;
    }

    .pricing-header {
        margin: -24px -18px 1.2rem;
        padding: 1.3rem 1.2rem 1.1rem;
    }

    .main-page::before {
        margin-bottom: 18px;
    }
}

/* =========================
   DOSTĘPNOŚĆ – mniej animacji
   ========================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* koniec pliku – layout2025 premium */
