﻿:root {
    --tf-gold: #d4af37;
    --tf-gold-soft: #f5e7b9;
    --tf-bg: #0b0d10;
    --tf-bg-2: #0f1217;
    --tf-card: rgba(18,21,27,.86);
    --tf-line: rgba(255,255,255,.10);
    --tf-gold-line: rgba(212,175,55,.22);
    --tf-text: #e5e7eb;
    --tf-muted: #b6bcc7;
    --tf-shadow: 0 18px 60px rgba(0,0,0,.55);
    --tf-nav-h: 0px;
}

html,
body {
    height: 100%;
}

html {
    scroll-padding-top: var(--tf-nav-h);
}

section[id] {
    scroll-margin-top: var(--tf-nav-h);
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: var(--tf-nav-h) !important;
}

.tf-global-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(11,13,16,.70), rgba(15,18,23,.92)),
        radial-gradient(circle at 14% 8%, rgba(212,175,55,.08), transparent 38%),
        radial-gradient(circle at 86% 92%, rgba(212,175,55,.06), transparent 42%),
        url('/images/bg.jpg') center/cover no-repeat fixed;
}

main {
    flex: 1;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0; /* ✅ */
    width: 100%;
    z-index: 2147483000;
    backdrop-filter: none;
    background: var(--tf-bg);
}

.tf-nav {
    background: var(--tf-bg) !important; /* zamiast rgba */
    border-bottom: 1px solid var(--tf-line);
    position: relative;
    z-index: 2147483001;
    box-shadow: 0 12px 30px rgba(0,0,0,.45);
}

.tf-nav .navbar-brand {
    font-weight: 950;
    letter-spacing: .35px;
    color: var(--tf-gold) !important;
    text-transform: uppercase;
}

    .tf-nav .nav-link {
        color: var(--tf-text) !important;
        font-weight: 700;
        opacity: .92;
        border-radius: 12px;
        padding: .55rem .85rem;
        transition: .2s ease;
        border: 1px solid transparent; /* ✅ klucz */
        box-sizing: border-box; /* dodatkowo pewność */
    }

        .tf-nav .nav-link:hover {
            background: rgba(212,175,55,.12);
            border-color: rgba(212,175,55,.22);
            color: #fff !important;
        }

        .tf-nav .nav-link.active {
            background: rgba(212,175,55,.16);
            border: 1px solid rgba(212,175,55,.28);
            color: var(--tf-gold-soft) !important;
            opacity: 1;
            border-color: rgba(212,175,55,.28);
        }
    .tf-nav .navbar-nav .nav-link {
        line-height: 1;
        min-height: 42px;
        display: inline-flex;
        align-items: center;
    }

.tf-profile-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.10);
    color: var(--tf-gold-soft);
    transition: .2s ease;
}

.tf-profile-btn:hover {
    border-color: rgba(212,175,55,.35);
    background: rgba(212,175,55,.10);
    color: #fff;
}

.dropdown {
    position: relative; /* dropdown wrapper ok */
    z-index: 2147483002; /* ✅ wyżej niż nav */
}

.dropdown-menu {
    position: absolute; /* ✅ bootstrap default */
    z-index: 2147483003; /* ✅ nad wszystkim */
    background: rgba(18,21,27,.96);
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: var(--tf-shadow);
    border-radius: 16px;
}

.dropdown-item {
    color: var(--tf-text);
    font-weight: 700;
    border-radius: 12px;
    padding: .55rem .75rem;
}

.dropdown-item:hover {
    background: rgba(212,175,55,.14);
    color: #fff;
}

/* ===== HERO (rounded, premium) ===== */
.tf-hero {
    position: relative;
    padding: 18px 14px 0; /* oddech + boczne */
}

/* klucz: większa szerokość + wysokość zależna od ekranu */
.tf-hero-card {
    position: relative;
    display: flex; /* KLUCZ */
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    min-height: clamp(520px, 78vh, 820px);
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--tf-line);
    box-shadow: var(--tf-shadow);
    background: var(--tf-bg);
}

/* mobile: większy, bo tam treść potrzebuje miejsca */
@media (max-width: 992px) {
    .tf-hero-card {
        min-height: 72vh;
        border-radius: 22px;
    }
}

/* Video */
.tf-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    filter: saturate(1.05) contrast(1.05);
}

/* Overlay: gradient + delikatny “film look” */
.tf-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 22%, rgba(212,175,55,.20), transparent 42%), radial-gradient(circle at 70% 35%, rgba(255,255,255,.06), transparent 52%), linear-gradient(180deg, rgba(11,13,16,.35), rgba(11,13,16,.92));
    pointer-events: none;
}

/* Content */

.tf-hero-kicker {
    margin-bottom: 12px;
}

.tf-hero-title {
    margin: 0;
    font-weight: 950;
    letter-spacing: .2px;
    color: #fff;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.05;
}

.tf-hero-subtitle {
    margin: 6px 0 0 0;
    font-weight: 950;
    color: var(--tf-gold);
    text-transform: uppercase;
    letter-spacing: .5px;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.05;
}

/* Buttons row */
.tf-hero-meta {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Button variants */
.tf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    padding: 0 16px;
    border-radius: 16px;
    font-weight: 850;
    text-decoration: none;
    border: 1px solid transparent;
    transition: .18s ease;
}

.tf-btn-primary {
    color: #0b0d10;
    background: linear-gradient(180deg, rgba(212,175,55,.95), rgba(212,175,55,.78));
    box-shadow: 0 14px 35px rgba(0,0,0,.45);
    border-color: rgba(212,175,55,.30);
}

    .tf-btn-primary:hover {
        transform: translateY(-1px);
        filter: brightness(1.03);
    }

.tf-btn-ghost {
    background: rgba(18,21,27,.40);
    border-color: rgba(255,255,255,.10);
    color: var(--tf-text);
}

    .tf-btn-ghost:hover {
        background: rgba(212,175,55,.12);
        border-color: rgba(212,175,55,.22);
        color: #fff;
    }

/* Stats */
.tf-hero-stats {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 820px;
}
/* Staty na dole hero */
.tf-hero-stats-bottom {
    margin-top: auto; /* TERAZ zadziała */
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    background: rgba(11,13,16,.35);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;
    padding: 12px;
    backdrop-filter: blur(10px);
    max-width: 980px;
    align-self: flex-start; /* lub center */
    width: 100%;
}


/* lekko „przyklejone” do dołu hero */
.tf-hero-inner {
    position: relative;
    z-index: 2;
    flex: 1; /* KLUCZ */
    min-height: 100%; /* KLUCZ */
    display: flex;
    flex-direction: column;
    padding: 64px 0 44px; /* mniejszy dół, bo i tak jest stat box */
}

    .tf-hero-inner > .container {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        min-height: 100%;
    }



.tf-stat {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px 12px;
    border-radius: 18px;
    background: rgba(18,21,27,.65);
    border: 1px solid rgba(255,255,255,.08);
}

    .tf-stat i {
        font-size: 18px;
        color: var(--tf-gold-soft);
        margin-top: 2px;
    }

.tf-stat-title {
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
}

.tf-stat-sub {
    font-size: 12px;
    color: rgba(229,231,235,.72);
    font-weight: 650;
    margin-top: 2px;
}

/* Scroll cue */
.tf-hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(18,21,27,.55);
    border: 1px solid rgba(255,255,255,.10);
    color: var(--tf-gold-soft);
    text-decoration: none;
    animation: tf-float 1.4s ease-in-out infinite;
}

@keyframes tf-float {
    0%,100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(6px);
    }
}

/* Mobile */
@media (max-width: 992px) {
    .tf-hero-inner {
        padding: 54px 0 40px;
    }

    .tf-hero-stats {
        grid-template-columns: 1fr;
        max-width: 520px;
    }
    .tf-hero-card {
        min-height: 72vh;
        border-radius: 22px;
    }

    .tf-hero-stats-bottom {
        grid-template-columns: 1fr;
    }
}

.tf-main {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 22px 14px 40px;
}

.tf-fb-float {
    position: fixed;
    right: 16px;
    bottom: 50px;
    z-index: 9999;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(18,21,27,.85);
    border: 1px solid rgba(212,175,55,.22);
    box-shadow: 0 16px 40px rgba(0,0,0,.5);
    color: var(--tf-gold-soft);
    text-decoration: none;
    transition: .2s ease;
}

.tf-fb-float:hover {
    background: rgba(212,175,55,.14);
    color: #fff;
    transform: translateY(-2px);
}

.tf-footer {
    border-top: 1px solid rgba(255,255,255,.08);
    background: rgba(10,12,16,.55);
    padding: 18px 0;
}

.tf-footer-card {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 14px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.tf-footer-box {
    background: rgba(18,21,27,.75);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    padding: 14px;
}

.tf-footer-title {
    margin: 0 0 6px 0;
    font-weight: 950;
    color: var(--tf-gold);
    font-size: 14px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.tf-footer-box p {
    margin: 0;
    color: var(--tf-muted);
    font-size: 13px;
    line-height: 1.5;
}

.tf-footer-link {
    color: var(--tf-text);
    text-decoration: none;
    font-weight: 800;
}

.tf-footer-link:hover {
    color: var(--tf-gold-soft);
    text-decoration: underline;
}

.tf-footer-copy {
    text-align: center;
    margin-top: 12px;
    color: rgba(229,231,235,.65);
    font-size: 12px;
}


.grecaptcha-badge {
    transform: scale(.62) !important;
    transform-origin: bottom right !important;
    right: 82px !important;
    bottom: 12px !important;
    z-index: 2147482000 !important;
    opacity: .55 !important;
    filter: grayscale(100%) !important;
}

.grecaptcha-badge:hover {
    opacity: 1 !important;
    filter: none !important;
}

.navbar-toggler {
    border: 1px solid rgba(255,255,255,.18);
}

.navbar-toggler-icon {
    filter: invert(1);
}

.tf-account-number {
    color: var(--tf-gold-soft);
    font-weight: 900;
}

@media (max-width: 992px) {
    .tf-footer-card {
        grid-template-columns: 1fr;
    }
}

.tf-section-wide {
    width: 100%;
    padding: 0 32px;
}

.tf-section-inner {
    max-width: 1600px;
    margin: 0 auto;
}

/* ===== NAV UPGRADE: brand + CTA + mikro layout ===== */

.tf-nav .container {
    gap: 12px;
}

/* Brand */
.tf-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.tf-brand-badge {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(212,175,55,.10);
    border: 1px solid rgba(212,175,55,.22);
    box-shadow: 0 14px 40px rgba(0,0,0,.35);
    color: var(--tf-gold-soft);
}

.tf-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.tf-brand-name {
    font-weight: 950;
    letter-spacing: .35px;
    text-transform: uppercase;
    color: var(--tf-gold);
}

.tf-brand-sub {
    font-size: 12px;
    color: rgba(229,231,235,.70);
    font-weight: 650;
    margin-top: 3px;
}

/* Actions right side */
.tf-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* CTA buttons */
.tf-nav-cta {
    height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 14px;
    padding: 0 14px;
    font-weight: 850;
    letter-spacing: .2px;
    color: #0b0d10;
    background: linear-gradient(180deg, rgba(212,175,55,.95), rgba(212,175,55,.78));
    border: 1px solid rgba(212,175,55,.30);
    box-shadow: 0 16px 40px rgba(0,0,0,.45);
    transition: .18s ease;
}

    .tf-nav-cta:hover {
        transform: translateY(-1px);
        filter: brightness(1.03);
    }

.tf-nav-cta--ghost {
    color: var(--tf-gold-soft);
    background: rgba(18,21,27,.55);
    border: 1px solid rgba(212,175,55,.22);
}

    .tf-nav-cta--ghost:hover {
        background: rgba(212,175,55,.12);
        color: #fff;
    }

/* Optional: lekki separator między linkami a akcjami */
@media (min-width: 992px) {
    .tf-nav-actions {
        padding-left: 10px;
        border-left: 1px solid rgba(255,255,255,.08);
    }
}

/* Mobile: claim schowaj, bo robi ścisk */
@media (max-width: 992px) {
    .tf-brand-sub {
        display: none;
    }

    .tf-nav-actions {
        width: 100%;
        justify-content: flex-end;
        margin-top: 10px;
    }
}

/* ===== MOBILE NAV FIX ===== */
@media (max-width: 992px) {

    /* header fixed + menu musi mieć gdzie się rozwinąć */
    header {
        background: var(--tf-bg);
    }

    /* container w navie niech układa się ładnie */
    .tf-nav .container {
        align-items: center;
    }

    /* po rozwinięciu collapse ma mieć tło i padding (żeby nie było “ucięte”) */
    .tf-nav .navbar-collapse {
        margin-top: 10px;
        padding: 10px;
        border-radius: 18px;
        background: rgba(18,21,27,.96);
        border: 1px solid var(--tf-line);
        box-shadow: var(--tf-shadow);
    }

    /* linki w kolumnie, full width */
    .tf-nav .navbar-nav {
        gap: 6px !important;
    }

    .tf-nav .nav-link {
        width: 100%;
        justify-content: flex-start;
    }

    /* CTA + profil niech nie wylatują w kosmos */
    .tf-nav-actions {
        width: 100%;
        justify-content: space-between;
        gap: 8px;
        margin-top: 10px;
    }

    /* jak masz 2 CTA to na małym ekranie niech będą pół na pół */
    .tf-nav-cta {
        flex: 1;
        justify-content: center;
    }

    /* dropdown menu na mobile: full width, żeby nie było poza ekranem */
    .dropdown-menu {
        width: 100%;
        min-width: 0;
    }
}
/* NAV zawsze nad hero */
header {
    z-index: 9999999;
}

.tf-hero-card {
    position: relative;
}
/* żeby video/overlay siedziały w środku */
.tf-hero-video, .tf-hero-overlay {
    z-index: 0;
    position: absolute;
    inset: 0;
}




/* ===== TF UI KIT (z wywalonego inline <style>) ===== */

/* sections */
.tf-section {
    padding: 44px 0;
}

/* cards */
/* karta główna (ten wrapper co już masz) */
.tf-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: radial-gradient(circle at 18% 18%, rgba(212,175,55,.10), transparent 48%), radial-gradient(circle at 82% 20%, rgba(255,255,255,.06), transparent 52%), rgba(18,21,27,.82);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 18px 60px rgba(0,0,0,.55);
}

    /* delikatny “sheen” po skosie */
    .tf-card::before {
        content: "";
        position: absolute;
        inset: -2px;
        background: linear-gradient(120deg, rgba(212,175,55,.10), transparent 40%, transparent 60%, rgba(255,255,255,.06));
        opacity: .55;
        pointer-events: none;
    }


/* tytuły bardziej jak brand */
.tf-title {
    color: var(--tf-gold);
    text-transform: uppercase;
    letter-spacing: .55px;
    font-weight: 950;
}

.tf-sub {
    color: rgba(229,231,235,.72);
    font-size: 14px;
    line-height: 1.55;
}

/* badge */
.tf-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    border: 1px solid rgba(212,175,55,.35);
    background: rgba(212,175,55,.12);
    color: var(--tf-gold-soft);
    white-space: nowrap;
}

/* tables */
.tf-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 14px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(0,0,0,.18);
}

    .tf-table thead th {
        background: rgba(212,175,55,.10);
        color: var(--tf-gold-soft);
        font-weight: 900;
        font-size: 13px;
        padding: 12px;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }

    .tf-table tbody td {
        padding: 12px;
        border-bottom: 1px solid rgba(255,255,255,.06);
        color: rgba(229,231,235,.82);
        font-size: 13px;
        background: rgba(18,21,27,.35);
    }

    .tf-table tbody tr:hover td {
        background: rgba(212,175,55,.08);
    }

    /* (po wcześniejszym kontakcie) – niech będzie mniej “szarego błota” */
    .tf-table em {
        color: rgba(229,231,235,.60) !important;
        font-style: normal;
        font-weight: 650;
    }

/* telefon – jako CTA */
.tf-card p.tf-sub b {
    color: rgba(245,231,185,.98);
    letter-spacing: .2px;
}

/* =========================
   Responsive: prawa kolumna jako full width + oddech
========================= */
@media (max-width: 992px) {
    .tf-card {
        padding: 22px;
    }

        .tf-card > .d-flex {
            gap: 18px !important;
        }

            .tf-card > .d-flex > div[style*="min-width: min(420px"] {
                width: 100%;
            }
}

/* key-value grid */
.tf-kv {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 14px;
    gap: 12px 12px;
}

@media (max-width: 768px) {
    .tf-kv {
        grid-template-columns: 1fr;
    }
}

.tf-kv > div {
    position: relative;
    background: rgba(11,13,16,.42);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 18px;
    padding: 14px 14px 14px 14px;
    color: rgba(229,231,235,.78);
    transition: .18s ease;
}

    /* złoty akcent po lewej */
    .tf-kv > div::before {
        content: "";
        position: absolute;
        left: 12px;
        top: 12px;
        bottom: 12px;
        width: 3px;
        border-radius: 999px;
        background: linear-gradient(180deg, rgba(212,175,55,.75), rgba(212,175,55,.18));
        opacity: .9;
    }

    .tf-kv > div b {
        display: inline-block;
        padding-left: 12px; /* żeby nie wchodziło na pasek */
        color: rgba(245,231,185,.92);
        letter-spacing: .2px;
        font-weight: 950;
    }

    /* hover “premium” */
    .tf-kv > div:hover {
        transform: translateY(-2px);
        border-color: rgba(212,175,55,.22);
        background: rgba(18,21,27,.55);
    }

/* =========================
   GODZINY – zróbmy z tego panel premium
   (celujemy w ten prawy div: ma style="min-width: min(420px, 100%);")
========================= */

/* łapiemy go selektorem bez dotykania HTML */
.tf-card > .d-flex > div[style*="min-width: min(420px"] {
    position: relative;
    border-radius: 22px;
    padding: 18px 18px 16px;
    background: radial-gradient(circle at 18% 18%, rgba(212,175,55,.18), transparent 52%), rgba(11,13,16,.45);
    border: 1px solid rgba(212,175,55,.18);
    box-shadow: 0 18px 50px rgba(0,0,0,.45);
    overflow: hidden;
}

    /* mały “header stripe” */
    .tf-card > .d-flex > div[style*="min-width: min(420px"]::before {
        content: "";
        position: absolute;
        left: 14px;
        right: 14px;
        top: 12px;
        height: 2px;
        border-radius: 999px;
        background: linear-gradient(90deg, rgba(212,175,55,.65), rgba(255,255,255,.08), rgba(212,175,55,.25));
        opacity: .9;
    }

    .tf-card > .d-flex > div[style*="min-width: min(420px"] .tf-title {
        margin-bottom: 12px;
    }


/* alert (jeśli używasz) */
.tf-alert {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 9999;
    max-width: 420px;
    border-radius: 14px;
    padding: 12px 14px;
    background: rgba(31,143,74,.22);
    border: 1px solid rgba(31,143,74,.42);
    color: #bdf7d0;
    box-shadow: 0 16px 40px rgba(0,0,0,.45);
}

    .tf-alert.fade-out {
        opacity: 0;
        transform: translateY(-10px);
        transition: .25s ease;
    }

/* reviews wrapper (jeśli używasz) */
.tf-reviews {
    display: flex;
    justify-content: center;
    margin-top: 18px;
}


/* =========================================================
   TF REFACTOR PATCH (NIE USUWA STARYCH STYLI)
   Wklej na sam koniec pliku, żeby nadpisało to co trzeba.
========================================================= */

/* --- 1) HERO: pewny stacking dla video/overlay/content --- */
.tf-hero-card {
    display: flex; /* już masz, ale zostawiamy jako pewniak */
    position: relative;
}

.tf-hero-video,
.tf-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 0; /* zawsze pod treścią */
}

.tf-hero-inner {
    position: relative;
    z-index: 1; /* treść nad video/overlay */
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

    /* --- 2) KLUCZ: container ma wypełnić wysokość, żeby auto-margin działał --- */
    .tf-hero-inner > .container {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        min-height: 100%;
    }

/* --- 3) STATS: dół + środek + sensowna szerokość --- */
.tf-hero-stats-bottom {
    margin-top: auto !important; /* spycha na dół */
    align-self: center !important; /* centruje w poziomie */
    width: min(980px, 100%) !important;
    max-width: none !important; /* bo masz max-width i width:100% – robiło rozjazd */
}

/* --- 4) opcjonalnie: jak masz też .tf-hero-stats u góry i miesza, wyciszamy --- */
/* Jeśli NIE używasz .tf-hero-stats (górnych) – możesz to odkomentować
.tf-hero-stats { display:none; }
*/

/* --- 5) Mobile: staty w kolumnie + nic nie wychodzi poza ekran --- */
@media (max-width: 992px) {
    .tf-hero-stats-bottom {
        grid-template-columns: 1fr !important;
        width: 100% !important;
    }
}

/* --- 6) FIX: u Ciebie jest literówka w media query (brak kropki) - naprawiamy defensywnie --- */
/* Miałeś gdzieś: tf-hero-card { ... } bez kropki, więc to się nie stosowało */
@media (max-width: 992px) {
    .tf-hero-card {
        min-height: 72vh;
        border-radius: 22px;
    }
}

/* =========================
   ROLLBACK GLOBALI (żeby nie psuć innych sekcji)
   Wklej na sam koniec pliku.
========================= */

.tf-section {
    padding: 56px 0; /* wracamy do starego */
}

.tf-card {
    background: var(--tf-card);
    border: 1px solid var(--tf-gold-line);
    border-radius: 22px;
    box-shadow: var(--tf-shadow);
    padding: 26px;
    position: relative;
    overflow: visible; /* ważne: nie tnij pseudo-elementów w innych kartach */
}

    /* usuń mój globalny "sheen" */
    .tf-card::before {
        content: none !important;
    }

.tf-title {
    color: var(--tf-gold);
    font-weight: 900;
    letter-spacing: .4px;
    text-transform: none; /* bo uppercase też Ci rozjeżdża vibe w innych miejscach */
}

.tf-sub {
    color: var(--tf-muted);
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

/* tabela wraca do starego wyglądu globalnie */
.tf-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 14px;
    margin-top: 14px;
    border: none;
    background: transparent;
}

    .tf-table thead th {
        background: rgba(212,175,55,.10);
        color: var(--tf-gold-soft);
        font-weight: 900;
        font-size: 13px;
        padding: 12px;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }

    .tf-table tbody td {
        padding: 12px;
        border-bottom: 1px solid rgba(255,255,255,.06);
        color: var(--tf-text);
        font-size: 13px;
        background: rgba(255,255,255,.02);
    }
/* =========================
   ABOUT + HOURS (SCOPED)
   działa TYLKO w <section class="tf-section tf-about">
========================= */

.tf-about {
    padding: 44px 0; /* tylko tu ciaśniej */
}

    .tf-about .tf-card {
        position: relative;
        overflow: hidden;
        border-radius: 24px;
        background: radial-gradient(circle at 18% 18%, rgba(212,175,55,.10), transparent 48%), radial-gradient(circle at 82% 20%, rgba(255,255,255,.06), transparent 52%), rgba(18,21,27,.82);
        border: 1px solid rgba(255,255,255,.08);
        box-shadow: 0 18px 60px rgba(0,0,0,.55);
    }

        /* “sheen” tylko tu */
        .tf-about .tf-card::before {
            content: "";
            position: absolute;
            inset: -2px;
            background: linear-gradient(120deg, rgba(212,175,55,.10), transparent 40%, transparent 60%, rgba(255,255,255,.06));
            opacity: .55;
            pointer-events: none;
        }

    /* tytuły bardziej “brandowe”, ale TYLKO w about */
    .tf-about .tf-title {
        text-transform: uppercase;
        letter-spacing: .55px;
        font-weight: 950;
    }

    /* osie */
    .tf-about .tf-kv {
        margin-top: 14px;
        gap: 12px 12px;
    }

        .tf-about .tf-kv > div {
            position: relative;
            background: rgba(11,13,16,.42);
            border: 1px solid rgba(255,255,255,.07);
            border-radius: 18px;
            padding: 14px;
            color: rgba(229,231,235,.78);
            transition: .18s ease;
        }

            .tf-about .tf-kv > div::before {
                content: "";
                position: absolute;
                left: 12px;
                top: 12px;
                bottom: 12px;
                width: 3px;
                border-radius: 999px;
                background: linear-gradient(180deg, rgba(212,175,55,.75), rgba(212,175,55,.18));
                opacity: .9;
            }

            .tf-about .tf-kv > div b {
                display: inline-block;
                padding-left: 12px;
                color: rgba(245,231,185,.92);
                font-weight: 950;
            }

            .tf-about .tf-kv > div:hover {
                transform: translateY(-2px);
                border-color: rgba(212,175,55,.22);
                background: rgba(18,21,27,.55);
            }

    /* panel “Godziny” – tylko w about */
    .tf-about .tf-card > .d-flex > div[style*="min-width: min(420px"] {
        position: relative;
        border-radius: 22px;
        padding: 18px;
        background: radial-gradient(circle at 18% 18%, rgba(212,175,55,.18), transparent 52%), rgba(11,13,16,.45);
        border: 1px solid rgba(212,175,55,.18);
        box-shadow: 0 18px 50px rgba(0,0,0,.45);
        overflow: hidden;
    }

        .tf-about .tf-card > .d-flex > div[style*="min-width: min(420px"]::before {
            content: "";
            position: absolute;
            left: 14px;
            right: 14px;
            top: 12px;
            height: 2px;
            border-radius: 999px;
            background: linear-gradient(90deg, rgba(212,175,55,.65), rgba(255,255,255,.08), rgba(212,175,55,.25));
            opacity: .9;
        }

    /* tabela tylko w about */
    .tf-about .tf-table {
        border-radius: 16px;
        overflow: hidden;
        border: 1px solid rgba(255,255,255,.08);
        background: rgba(0,0,0,.18);
    }

        .tf-about .tf-table tbody td {
            background: rgba(18,21,27,.35);
            color: rgba(229,231,235,.82);
        }

        .tf-about .tf-table tbody tr:hover td {
            background: rgba(212,175,55,.08);
        }

        .tf-about .tf-table em {
            color: rgba(229,231,235,.60) !important;
            font-style: normal;
            font-weight: 650;
        }

/* mobile */
@media (max-width: 992px) {
    .tf-about .tf-card {
        padding: 22px;
    }

        .tf-about .tf-card > .d-flex {
            gap: 18px !important;
        }

            .tf-about .tf-card > .d-flex > div[style*="min-width: min(420px"] {
                width: 100%;
            }
}

/* modal zawsze nad navem + ma oddech od góry */
.modal {
    z-index: 2147483646 !important;
}

.modal-dialog {
    margin-top: calc(var(--tf-nav-h, 74px) + 14px) !important;
}

.modal-backdrop {
    z-index: 2147483645 !important;
}

.tf-tooltip-wrapper {
    position: relative;
    display: inline-block;
}

.tf-disabled {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
}

.tf-tooltip {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: #222;
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.tf-tooltip-wrapper:hover .tf-tooltip {
    opacity: 1;
}

input[readonly].form-control {
    background: linear-gradient(180deg, #151715, #0f100f);
    border: 1px dashed rgba(133, 173, 118, 0.35);
    color: #dff0d8;
    font-weight: 700;
    text-align: center;
}

.tf-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 992px) {
    .tf-reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .tf-reviews-grid {
        grid-template-columns: 1fr;
    }
}

.tf-review-card {
    background: rgba(20, 22, 26, 0.85); /* MOCNIEJSZE tło */
    border: 1px solid rgba(255, 204, 0, 0.15); /* złoty akcent */
    box-shadow: 0 10px 30px rgba(0,0,0,0.45);
    backdrop-filter: blur(2px);
}


.tf-review-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid rgba(255,204,0,0.35);
    box-shadow: 0 0 0 3px rgba(255,204,0,0.12);
    object-fit: cover;
}

.tf-review-author {
    color: #ffffff;
    font-weight: 700;
}

.tf-review-meta {
    color: rgba(255,255,255,0.75);
    font-size: .85rem;
    opacity: .85;
}

.tf-review-text {
    color: #e8e8e8; /* jasny, czytelny */
    opacity: 1;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tf-review-stars {
    color: #ffcc00; /* TF gold */
    letter-spacing: 1px;
    text-shadow: 0 0 6px rgba(255,204,0,0.35);
}

/* =========================
   ADMIN – kontrola tabeli
========================= */

.tf-admin-table-wrap {
    max-height: 420px; /* 🔥 klucz */
    overflow-y: auto;
    overflow-x: auto;
    border-radius: 12px;
}

    /* sticky header – UX premium */
    .tf-admin-table-wrap thead th {
        position: sticky;
        top: 0;
        z-index: 5;
        background: #111; /* dopasuj pod theme */
    }

    /* scrollbar – żeby nie raził */
    .tf-admin-table-wrap::-webkit-scrollbar {
        width: 8px;
    }

    .tf-admin-table-wrap::-webkit-scrollbar-thumb {
        background: rgba(255, 204, 0, 0.35);
        border-radius: 6px;
    }

    .tf-admin-table-wrap::-webkit-scrollbar-track {
        background: transparent;
    }

/* =========================
   ADMIN – TABLE SCROLL (hard fix)
   działa zawsze, nawet przy flex body
========================= */

/* tylko na Admin dashboard, żeby nie rozwalić innych tabel */
body .tf-admin-table-wrap {
    display: block !important;
    max-height: min(520px, calc(100vh - 360px)) !important; /* 🔥 */
    overflow-y: auto !important;
    overflow-x: auto !important;
    border-radius: 12px;
    overscroll-behavior: contain; /* żeby scroll nie “przenosił” się na stronę */
}

/* jeśli bootstrap .table-responsive robi swoje, to też go dociskamy */
body .table-responsive.tf-admin-table-wrap {
    max-height: min(520px, calc(100vh - 360px)) !important;
}

/* sticky header */
body .tf-admin-table-wrap thead th {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    background: rgba(15,18,23,.96) !important;
    backdrop-filter: blur(8px);
}

body .tf-admin-table-wrap table {
    margin-bottom: 0 !important;
}


/* =========================
   ADMIN – TABLE SCROLL (Nuclear, działa na 100%)
========================= */

/* wrapper tabeli na dashboardzie admina */
.table-responsive.tf-admin-table-wrap {
    /* zamiast max-height -> height (box ma być realnie zamknięty) */
    height: clamp(260px, 42vh, 520px) !important;
    min-height: 0 !important;
    overflow: auto !important; /* oba kierunki */
    -webkit-overflow-scrolling: touch;
    display: block !important; /* bootstrap-safe */
    border-radius: 12px;
}

    /* tabela niech nie dokłada "swojego" marginesu na dole */
    .table-responsive.tf-admin-table-wrap > table {
        margin-bottom: 0 !important;
    }

    /* sticky header */
    .table-responsive.tf-admin-table-wrap thead th {
        position: sticky !important;
        top: 0 !important;
        z-index: 10 !important;
        background: rgba(15,18,23,.98) !important;
    }

    /* (opcjonalnie) jakby bootstrap table-hover robił dziwne tła w sticky */
    .table-responsive.tf-admin-table-wrap thead {
        position: sticky;
        top: 0;
        z-index: 9;
    }


.tf-admin-table-wrap {
    height: 420px !important; /* zamiast max-height */
    overflow-y: auto !important;
    overflow-x: auto !important;
    display: block !important;
    border-radius: 12px;
}

    /* ważne: bootstrap table domyślnie niech nie robi dziwnych wysokości */
    .tf-admin-table-wrap table {
        margin: 0 !important;
    }


/* ADMIN TABLE – HARD OVERRIDE */
.table-responsive.tf-admin-table-wrap,
.tf-admin-table-wrap {
    height: 420px !important;
    max-height: 420px !important;
    overflow: auto !important; /* <- ważniejsze niż overflow-x/y */
    overflow-x: auto !important;
    overflow-y: auto !important;
    display: block !important;
}

    /* żeby tabela nie dodawała sobie marginesów i nie “pchała” wrappera */
    .table-responsive.tf-admin-table-wrap > table,
    .tf-admin-table-wrap > table {
        margin: 0 !important;
    }
