/* ============================================================
   BLX3D — Custom Stylesheet
   Paleta: czarny #0A0A0A | biały #F9FAFB | niebieski #1C3FA0
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
    --bg:            #0A0A0A;
    --bg-alt:        #111827;
    --bg-card:       #0F172A;
    --blue:          #1C3FA0;
    --blue-hover:    #2B50C8;
    --blue-glow:     rgba(28, 63, 160, 0.28);
    --blue-subtle:   rgba(28, 63, 160, 0.12);
    --blue-border:   rgba(28, 63, 160, 0.45);
    --text:          #F9FAFB;
    --text-muted:    #9CA3AF;
    --text-dim:      #6B7280;
    --border:        #1F2937;
    --radius:        4px;
    --transition:    0.3s ease;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html  { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', system-ui, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Czcionka nagłówków — Rajdhani */
.brand-blx, .brand-3d,
.hero-title,
.section-title,
.service-title,
.featured-card-title,
.footer-brand .brand-blx,
.footer-brand .brand-3d {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
}

/* Logo PNG — navbar i stopka */
.navbar-logo {
    height: 38px;
    width: auto;
    display: block;
}

.footer-logo {
    height: 44px;
    width: auto;
    display: block;
    margin-bottom: 1rem;
}

/* ============================================================
   Shared brand typography (navbar + footer)
   ============================================================ */
.brand-blx {
    font-weight: 700;
    font-size: 1.5rem;
    color: #FFFFFF;
    letter-spacing: 0.04em;
}
.brand-3d {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--blue-hover);
    letter-spacing: 0.04em;
}

/* ============================================================
   NAVBAR
   ============================================================ */
#mainNav {
    padding: 1rem 0;
    background: transparent;
    transition: background var(--transition), padding var(--transition),
                border-color var(--transition), box-shadow var(--transition);
    border-bottom: 1px solid transparent;
}

#mainNav.scrolled {
    background: rgba(10, 10, 10, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 0.55rem 0;
    border-bottom-color: var(--border);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.navbar-brand { text-decoration: none; }

/* Nav links */
.nav-link {
    color: var(--text-muted) !important;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.45rem 0.8rem !important;
    position: relative;
    transition: color 0.2s;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 0.8rem; right: 0.8rem;
    height: 1px;
    background: var(--blue-hover);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s;
}
.nav-link:hover               { color: var(--text) !important; }
.nav-link:hover::after        { transform: scaleX(1); }

/* Language switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}
.lang-switcher a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.2s;
    padding: 0.15rem 0.1rem;
}
.lang-switcher a:hover,
.lang-switcher a.active  { color: var(--blue-hover); }
.lang-switcher .separator { color: var(--border); user-select: none; }

/* Mobile nav panel */
.navbar-toggler {
    border-color: var(--blue-border);
    padding: 0.35rem 0.6rem;
    margin-right: 1rem;
}

/* Animacja hamburger → X */
.toggler-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.2rem;
    height: 1.2rem;
}

.toggler-bars,
.toggler-x {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: opacity 0.2s ease, transform 0.25s ease;
    line-height: 1;
}

.toggler-bars { opacity: 1; transform: rotate(0deg)   scale(1);   }
.toggler-x    { opacity: 0; transform: rotate(-90deg) scale(0.6); }

.navbar-toggler[aria-expanded="true"] .toggler-bars { opacity: 0; transform: rotate(90deg) scale(0.6); }
.navbar-toggler[aria-expanded="true"] .toggler-x    { opacity: 1; transform: rotate(0deg)  scale(1);   }
@media (max-width: 991.98px) {
    #navMenu {
        background: rgba(10, 10, 10, 0.98);
        padding: 1rem 0.5rem;
        margin-top: 0.5rem;
        border-top: 1px solid var(--border);
        border-radius: 0 0 var(--radius) var(--radius);
    }
    .lang-switcher { padding-top: 0.5rem; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--bg);
}

/* Subtelna siatka CSS w tle */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--blue-subtle) 1px, transparent 1px),
        linear-gradient(90deg, var(--blue-subtle) 1px, transparent 1px);
    background-size: 56px 56px;
    pointer-events: none;
}

/* Winietowanie — siatka zanika przy krawędziach */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 75% 75% at 50% 50%, transparent 25%, var(--bg) 78%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 7rem;
    padding-bottom: 6rem;
}

.hero-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--blue-hover);
    margin-bottom: 1.1rem;
}

.hero-logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.hero-logo {
    height: 56px;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 20px rgba(21, 53, 192, 0.5));
}

.hero-title {
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}
.hero-title .accent { color: var(--blue-hover); }

.hero-sub {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 2.25rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-dim);
    font-size: 1rem;
    text-decoration: none;
    z-index: 2;
    animation: heroScrollBounce 2s ease-in-out infinite;
    transition: color 0.2s;
}
.hero-scroll:hover { color: var(--blue-hover); }

@keyframes heroScrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0);   }
    50%       { transform: translateX(-50%) translateY(7px); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary-custom,
.btn-outline-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.04em;
    padding: 0.75rem 2rem;
    border-radius: var(--radius);
    text-decoration: none;
    transition: all var(--transition);
    border: 2px solid;
    cursor: pointer;
}

.btn-primary-custom {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}
.btn-primary-custom:hover {
    background: var(--blue-hover);
    border-color: var(--blue-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px var(--blue-glow);
}

.btn-outline-custom {
    background: transparent;
    border-color: var(--blue-border);
    color: var(--text-muted);
}
.btn-outline-custom:hover {
    border-color: var(--blue-hover);
    color: var(--text);
    background: var(--blue-subtle);
    transform: translateY(-2px);
}

/* btn used as block (contact form submit) */
.btn-primary-custom.w-100 { width: 100%; }

/* ============================================================
   SECTIONS — bases
   ============================================================ */
.section-base { background-color: var(--bg);     }
.section-alt  { background-color: var(--bg-alt); }

section { padding: 6rem 0; }

.section-header { margin-bottom: 3.5rem; }

.section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--blue-hover);
}

.section-title {
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
}

/* Linia dekoracyjna pod tytułem (tylko w .section-header) */
.section-header .section-title::after {
    content: '';
    display: block;
    width: 2.75rem;
    height: 2px;
    background: var(--blue);
    margin: 0.65rem auto 0;
}

.section-sub {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 520px;
    margin: 0 auto;
}

/* ============================================================
   SERVICES
   ============================================================ */
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-top: 3px solid transparent;
    border-radius: var(--radius);
    padding: 2.25rem 2rem;
    height: 100%;
    transition: transform var(--transition), border-top-color var(--transition),
                box-shadow var(--transition);
}
.service-card:hover {
    border-top-color: var(--blue);
    transform: translateY(-6px);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--blue-border);
}

.service-icon {
    width: 54px;
    height: 54px;
    background: var(--blue-subtle);
    border: 1px solid var(--blue-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    color: var(--blue-hover);
    transition: background var(--transition), box-shadow var(--transition);
}
.service-card:hover .service-icon {
    background: rgba(28, 63, 160, 0.22);
    box-shadow: 0 0 22px var(--blue-glow);
}

.service-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.7rem;
}
.service-text {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.75;
    margin: 0;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.9rem;
}

.about-feature {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--blue);
    border-radius: var(--radius);
    padding: 1.1rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    transition: border-left-color var(--transition), transform var(--transition),
                box-shadow var(--transition);
}
.about-feature:hover {
    border-left-color: var(--blue-hover);
    transform: translateX(4px);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}
.about-feature i {
    color: var(--blue-hover);
    font-size: 0.95rem;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio-item {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.portfolio-item:hover {
    border-color: var(--blue-border);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

/* Gradient placeholders — różne odcienie niebieskiego */
.portfolio-v1 { background: linear-gradient(135deg, #0d1b40 0%, #1a3580 100%); }
.portfolio-v2 { background: linear-gradient(135deg, #0a1020 0%, #0f1e4a 100%); }
.portfolio-v3 { background: linear-gradient(135deg, #0e1520 0%, #192440 100%); }
.portfolio-v4 { background: linear-gradient(135deg, #121a35 0%, #1c2e72 100%); }
.portfolio-v5 { background: linear-gradient(135deg, #080e1e 0%, #0e1a48 100%); }
.portfolio-v6 { background: linear-gradient(135deg, #0c1225 0%, #152054 100%); }

/* Placeholder (widoczny bez zdjęcia) */
.portfolio-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.1);
    font-size: 2.25rem;
    transition: opacity var(--transition);
}
.portfolio-soon-badge {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.18);
}
.portfolio-item:hover .portfolio-placeholder { opacity: 0; }

/* Hover overlay */
.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.75);
    backdrop-filter: blur(2px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    opacity: 0;
    transition: opacity var(--transition);
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.portfolio-cat {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--blue-hover);
}
.portfolio-title-item {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
}

/* ============================================================
   CONTACT
   ============================================================ */
/* Alert (po wysłaniu formularza) */
.contact-alert {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 500;
}
.contact-alert--success {
    background: rgba(16, 90, 50, 0.18);
    border: 1px solid rgba(34, 160, 90, 0.3);
    color: #6ee7b7;
}
.contact-alert--danger {
    background: rgba(120, 20, 20, 0.18);
    border: 1px solid rgba(200, 50, 50, 0.3);
    color: #fca5a5;
}

/* Form labels */
.contact-form .form-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 0.4rem;
}

/* Form controls */
.contact-form .form-control {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: var(--radius);
    padding: 0.7rem 1rem;
    font-size: 0.875rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-form .form-control:focus {
    background: var(--bg-card);
    border-color: var(--blue);
    box-shadow: 0 0 0 3px var(--blue-glow);
    color: var(--text);
    outline: none;
}
.contact-form .form-control::placeholder { color: var(--text-dim); }

/* Contact info column */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    padding-top: 0.25rem;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.contact-icon {
    width: 44px;
    height: 44px;
    background: var(--blue-subtle);
    border: 1px solid var(--blue-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-hover);
    font-size: 0.95rem;
    flex-shrink: 0;
}
.contact-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 0.2rem;
}
.contact-value {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s;
}
.contact-value:hover { color: var(--blue-hover); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { border-top: 1px solid var(--border); }

.footer-top {
    background: #060606;
    padding: 4.5rem 0 3rem;
}

.footer-desc {
    color: var(--text-dim);
    font-size: 0.875rem;
    line-height: 1.65;
    margin-bottom: 1.6rem;
    max-width: 280px;
}

.footer-heading {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.3rem;
}

/* Nav links in footer */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s, padding-left 0.2s;
}
.footer-links a:hover {
    color: var(--blue-hover);
    padding-left: 3px;
}

/* Contact list in footer */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.875rem;
    color: var(--text-dim);
}
.footer-contact-list i {
    color: var(--blue-hover);
    width: 14px;
    text-align: center;
    flex-shrink: 0;
}
.footer-contact-list a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-contact-list a:hover { color: var(--blue-hover); }

/* Social icons */
.social-links {
    display: flex;
    gap: 0.55rem;
}
.social-link {
    width: 40px;
    height: 40px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background var(--transition), border-color var(--transition),
                color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.social-link:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px var(--blue-glow);
}

/* Footer bottom bar */
.footer-bottom {
    background: #040404;
    padding: 1.1rem 0;
    border-top: 1px solid rgba(31, 41, 55, 0.45);
}
.footer-bottom p {
    font-size: 0.775rem;
    color: var(--text-dim);
    margin: 0;
    text-align: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 767.98px) {
    section         { padding: 4rem 0; }
    .hero-content   { padding-top: 5.5rem; }
    .hero-title     { font-size: 2.1rem; }
    .hero-sub       { font-size: 0.85rem; }
    .hero-actions   { flex-direction: column; align-items: center; }
    .hero-actions a { width: 100%; max-width: 280px; }

    .section-header { margin-bottom: 2.5rem; }

    .contact-info   { padding-top: 1.5rem; }
}

@media (max-width: 575.98px) {
    .portfolio-item { aspect-ratio: 1 / 1; }
    .footer-top     { padding: 3rem 0 2rem; }
}

/* ============================================================
   FEATURED — Odtwarzanie + Produkcja małoseryjna
   ============================================================ */

/* Subtelny gradient sekcji */
.section-featured {
    background: linear-gradient(160deg, #111827 0%, #0d1520 100%);
}

.featured-card {
    background: #121d30;
    border: 1px solid rgba(31, 41, 55, 0.9);
    border-top: 3px solid var(--blue);
    border-radius: var(--radius);
    padding: 2.5rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: border-top-color var(--transition), box-shadow var(--transition),
                transform var(--transition);
}

/* Karta 2 — szaro-stalowy odcień */
.featured-card--ser {
    background: #141b27;
    border-top-color: #4a6898;
}

/* Narożnik dekoracyjny — zawsze widoczny */
.featured-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 130px; height: 130px;
    background: linear-gradient(225deg, rgba(28, 63, 160, 0.2) 0%, transparent 65%);
    pointer-events: none;
    transition: width 0.4s ease, height 0.4s ease;
}

.featured-card--ser::before {
    background: linear-gradient(225deg, rgba(74, 104, 152, 0.15) 0%, transparent 65%);
}

.featured-card:hover {
    border-top-color: var(--blue-hover);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
    transform: translateY(-5px);
}

.featured-card--ser:hover { border-top-color: #6a8ab8; }

.featured-card:hover::before { width: 220px; height: 220px; }

.featured-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue-hover);
    background: var(--blue-subtle);
    border: 1px solid var(--blue-border);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 1.25rem;
}

.featured-card--ser .featured-badge {
    color: #8aaad4;
    background: rgba(74, 104, 152, 0.12);
    border-color: rgba(74, 104, 152, 0.38);
}

.featured-icon-wrap {
    width: 54px;
    height: 54px;
    background: var(--blue-subtle);
    border: 1px solid var(--blue-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.35rem;
    color: var(--blue-hover);
    transition: background var(--transition), box-shadow var(--transition);
}

.featured-card--ser .featured-icon-wrap {
    background: rgba(74, 104, 152, 0.12);
    border-color: rgba(74, 104, 152, 0.38);
    color: #8aaad4;
}

.featured-card:hover .featured-icon-wrap {
    background: rgba(28, 63, 160, 0.22);
    box-shadow: 0 0 22px var(--blue-glow);
}

.featured-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.featured-card-text {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.75;
    margin-bottom: 0;
}

.featured-list {
    list-style: none;
    padding: 0;
    margin: 1.35rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.featured-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.featured-list li::before {
    content: '';
    width: 7px;
    height: 7px;
    background: var(--blue-hover);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 7px rgba(43, 80, 200, 0.5);
}

/* ============================================================
   NFC — Breloki reklamowe 3D z chipem NFC
   ============================================================ */
.nfc-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

@media (max-width: 991.98px) {
    .nfc-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .nfc-visual { order: -1; }
}

/* Linia pod tytułem NFC (wyrównana do lewej, nie wyśrodkowana) */
.nfc-title::after {
    content: '';
    display: block;
    width: 2.75rem;
    height: 2px;
    background: var(--blue);
    margin: 0.65rem 0 0;
}

.nfc-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.85rem;
}

.nfc-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin: 1.75rem 0 2rem;
}

.nfc-feature-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.65rem 0.9rem;
    transition: border-color var(--transition), color var(--transition);
}

.nfc-feature-item:hover {
    border-color: var(--blue-border);
    color: var(--text);
}

.nfc-feature-item i {
    color: var(--blue-hover);
    width: 14px;
    text-align: center;
    flex-shrink: 0;
}

/* Animowane pierścienie NFC */
.nfc-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    position: relative;
}

.nfc-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--blue-border);
}

.nfc-ring-sm { width: 110px; height: 110px; animation: nfcPulse 3s ease-in-out infinite;        opacity: 0.65; }
.nfc-ring-md { width: 190px; height: 190px; animation: nfcPulse 3s ease-in-out infinite 0.75s;  opacity: 0.35; }
.nfc-ring-lg { width: 270px; height: 270px; animation: nfcPulse 3s ease-in-out infinite 1.5s;   opacity: 0.18; }

@keyframes nfcPulse {
    0%, 100% { transform: scale(1);    }
    50%       { transform: scale(1.07); }
}

.nfc-center {
    position: relative;
    z-index: 2;
    width: 86px;
    height: 86px;
    background: var(--blue-subtle);
    border: 2px solid var(--blue-border);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    box-shadow: 0 0 40px var(--blue-glow);
}

.nfc-center i {
    font-size: 1.6rem;
    color: var(--blue-hover);
}

.nfc-center-label {
    font-size: 0.5rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--blue-hover);
}

/* ============================================================
   CONTACT — Social media cards (grid 2×2)
   ============================================================ */
.scc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.scc {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.4rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    overflow: hidden;
    min-height: 160px;
    transition: transform var(--transition), border-color var(--transition),
                box-shadow var(--transition);
}

/* Gradient w narożniku — kolor platformy */
.scc::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 90px; height: 90px;
    pointer-events: none;
    transition: width 0.4s ease, height 0.4s ease;
    border-radius: 0 8px 0 0;
}
.scc:hover::before { width: 180px; height: 180px; }

.scc--facebook::before  { background: radial-gradient(circle at 100% 0%, rgba(24,119,242,0.22) 0%, transparent 65%); }
.scc--instagram::before { background: radial-gradient(circle at 100% 0%, rgba(228,64,95,0.22) 0%, transparent 65%); }
.scc--tiktok::before    { background: radial-gradient(circle at 100% 0%, rgba(210,210,210,0.1) 0%, transparent 65%); }
.scc--whatsapp::before  { background: radial-gradient(circle at 100% 0%, rgba(37,211,102,0.2) 0%, transparent 65%); }

.scc:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.45);
}

.scc--facebook:hover  { border-color: rgba(24, 119, 242, 0.45); }
.scc--instagram:hover { border-color: rgba(228,  64,  95, 0.45); }
.scc--tiktok:hover    { border-color: rgba(200, 200, 200, 0.22); }
.scc--whatsapp:hover  { border-color: rgba( 37, 211, 102, 0.45); }

/* Ikona — góra karty */
.scc-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: box-shadow var(--transition);
}

.scc-icon--facebook  { background: rgba(24, 119, 242, 0.15); color: #4F9CF9; }
.scc-icon--instagram { background: rgba(228,  64,  95, 0.15); color: #E4405F; }
.scc-icon--tiktok    { background: rgba(255, 255, 255, 0.07); color: #c8c8c8; }
.scc-icon--whatsapp  { background: rgba( 37, 211, 102, 0.15); color: #4ACE7A; }

.scc:hover .scc-icon--facebook  { box-shadow: 0 0 20px rgba(24,119,242,0.3); }
.scc:hover .scc-icon--instagram { box-shadow: 0 0 20px rgba(228,64,95,0.3); }
.scc:hover .scc-icon--tiktok    { box-shadow: 0 0 20px rgba(200,200,200,0.12); }
.scc:hover .scc-icon--whatsapp  { box-shadow: 0 0 20px rgba(37,211,102,0.3); }

/* Tekst — doł karty */
.scc-body {
    margin-top: auto;
    padding-top: 1.1rem;
    position: relative;
    z-index: 1;
}

.scc-name {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.03em;
    display: block;
    line-height: 1.2;
}

.scc-cta {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-dim);
    display: block;
    margin-top: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================================
   CONTACT — Contact info card (.cinfo-*)
   ============================================================ */
.cinfo-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.cinfo-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.4rem;
    background: rgba(28, 63, 160, 0.08);
    border-bottom: 1px solid var(--border);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--blue-hover);
}

.cinfo-header i { font-size: 0.75rem; }

.cinfo-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem 1.4rem;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    transition: background var(--transition);
    cursor: pointer;
}
.cinfo-item:last-child  { border-bottom: none; }
.cinfo-item--static     { cursor: default; }

.cinfo-item:not(.cinfo-item--static):hover {
    background: rgba(255, 255, 255, 0.025);
}
.cinfo-item:not(.cinfo-item--static):hover .cinfo-value {
    color: var(--blue-hover);
}
.cinfo-item:not(.cinfo-item--static):hover .cinfo-arrow {
    color: var(--blue-hover);
    transform: translateX(2px);
}

.cinfo-icon {
    width: 38px;
    height: 38px;
    background: var(--blue-subtle);
    border: 1px solid var(--blue-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-hover);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.cinfo-text {
    flex: 1;
    min-width: 0;
}

.cinfo-label {
    display: block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 0.18rem;
}

.cinfo-value {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cinfo-arrow {
    color: var(--text-dim);
    font-size: 0.7rem;
    flex-shrink: 0;
    transition: color 0.2s, transform 0.2s;
}

/* ============================================================
   SITE INTRO — Animacja startowa
   ============================================================ */
.si-overlay {
    position: fixed;
    inset: 0;
    background: #000000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: siOverlayOut 0.55s cubic-bezier(0.76, 0, 0.24, 1) forwards 1.95s;
}

@keyframes siOverlayOut {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-100%); }
}

.si-logo {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    /* wycentrowanie względem samego logo */
    transform: translateY(-4%);
}

.si-text-wrap {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(5rem, 16vw, 9.5rem);
    line-height: 0.88;
    letter-spacing: 0.025em;
    display: flex;
    align-items: baseline;
}

/* BLX — wyłania się od dołu */
.si-blx {
    color: #FFFFFF;
    display: inline-block;
    opacity: 0;
    transform: translateY(18px);
    animation: siBuildUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.45s;
}

/* 3D — lekko opóźnione */
.si-3d {
    color: #1535C0;
    display: inline-block;
    opacity: 0;
    transform: translateY(18px);
    animation: siBuildUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.72s;
}

@keyframes siBuildUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Linia — rysuje się jak ścieżka lasera */
.si-underline {
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, #1535C0 0%, #2B52D8 100%);
    margin-top: 0.14em;
    box-shadow: 0 0 10px rgba(21, 53, 192, 0.7);
    animation: siLineDraw 0.42s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.12s;
}

@keyframes siLineDraw {
    to { width: 100%; }
}