/* ═══════════════════════════════════════════════════════════
   NFC AZIENDE — Catalogo B2B (pagina standalone, non in nav)
   Usa i design token definiti in style.css
═══════════════════════════════════════════════════════════ */

.nfc-topbar {
    position: relative;
    z-index: 10;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.nfc-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.nfc-topbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nfc-topbar-brand img {
    height: 34px;
    width: auto;
}

.nfc-topbar-brand span {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.nfc-topbar-back {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-base);
}

.nfc-topbar-back:hover {
    color: var(--primary-blue);
}

/* ── Hero ────────────────────────────────────────────────── */

.nfc-hero {
    position: relative;
    z-index: 1;
    padding: 0.5rem 0 var(--spacing-lg);
    text-align: center;
}

.nfc-hero-logo {
    height: 130px;
    width: auto;
    max-width: 90%;
    margin: 0 auto 1rem;
    display: block;
}

@media (max-width: 600px) {
    .nfc-hero-logo {
        height: 80px;
    }
}

.nfc-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--primary-blue);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    margin-bottom: 1.5rem;
}

.nfc-hero h1 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.1rem, 5vw, 3.4rem);
    line-height: 1.15;
    max-width: 850px;
    margin: 0 auto 1.25rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nfc-hero p {
    max-width: 620px;
    margin: 0 auto 2rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

.nfc-hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ── Catalog grid ────────────────────────────────────────── */

.nfc-catalog {
    position: relative;
    z-index: 1;
    padding: var(--spacing-lg) 0 var(--spacing-xl);
}

.nfc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.nfc-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(148, 163, 184, 0.12);
    padding: var(--spacing-lg) var(--spacing-md) var(--spacing-md);
    position: relative;
    overflow: hidden;
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
}

.nfc-card:hover {
    transform: translateY(-4px);
    border-color: rgba(148, 163, 184, 0.25);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.nfc-card--blue::before,
.nfc-card--orange::before,
.nfc-card--red::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

.nfc-card--blue::before { background: linear-gradient(90deg, var(--primary-blue), var(--accent-cyan)); }
.nfc-card--orange::before { background: linear-gradient(90deg, var(--primary-orange), var(--accent-yellow)); }
.nfc-card--red::before { background: linear-gradient(90deg, var(--primary-red), var(--accent-purple)); }

.nfc-card-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1.25rem;
}

.nfc-card--blue .nfc-card-icon { color: var(--primary-blue); }
.nfc-card--orange .nfc-card-icon { color: var(--primary-orange); }
.nfc-card--red .nfc-card-icon { color: var(--primary-red); }

.nfc-card-icon svg {
    width: 100%;
    height: 100%;
}

.nfc-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
}

.nfc-card-tagline {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-style: italic;
}

.nfc-card p.nfc-card-desc {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.nfc-card-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.nfc-card-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.nfc-card-features li {
    color: var(--text-secondary);
    font-size: 0.88rem;
    padding-left: 1.4rem;
    position: relative;
}

.nfc-card-features li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
}

.nfc-card--orange .nfc-card-features li::before { color: var(--primary-orange); }
.nfc-card--red .nfc-card-features li::before { color: var(--primary-red); }

.nfc-card-link {
    background: rgba(148, 163, 184, 0.08);
    border-radius: var(--radius-sm);
    padding: 0.7rem 0.9rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: auto;
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
}

.nfc-card-link svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.nfc-card--blue .nfc-card-link svg { color: var(--primary-blue); }
.nfc-card--orange .nfc-card-link svg { color: var(--primary-orange); }
.nfc-card--red .nfc-card-link svg { color: var(--primary-red); }

.nfc-card-note {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
}

/* ── Card cliccabile → apre la gallery filtrata ─────────────── */

.nfc-card--clickable {
    cursor: pointer;
}

.nfc-card--clickable:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

.nfc-card-examples {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition-base);
}

.nfc-card-examples svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.nfc-card--blue .nfc-card-examples { color: var(--primary-blue); }
.nfc-card--red .nfc-card-examples { color: var(--primary-red); }

.nfc-card--clickable:hover .nfc-card-examples {
    gap: 0.75rem;
}

.nfc-card-examples--soon {
    color: var(--text-muted) !important;
    font-weight: 500;
    font-style: italic;
}

/* ── How it works ────────────────────────────────────────── */

.nfc-how {
    position: relative;
    z-index: 1;
    padding: var(--spacing-lg) 0 var(--spacing-xl);
    background: rgba(6, 9, 18, 0.45);
}

.nfc-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    counter-reset: nfc-step;
}

.nfc-step {
    position: relative;
    padding: var(--spacing-md) var(--spacing-sm) var(--spacing-sm);
    text-align: center;
}

.nfc-step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin: 0 auto 1rem;
}

.nfc-step h4 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.nfc-step p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (min-width: 769px) {
    .nfc-steps {
        position: relative;
    }
    .nfc-steps::before {
        content: '';
        position: absolute;
        top: 22px;
        left: 12%;
        right: 12%;
        height: 2px;
        background: linear-gradient(90deg, var(--primary-blue), var(--primary-orange), var(--primary-red));
        opacity: 0.25;
        z-index: 0;
    }
    .nfc-step { z-index: 1; }
}

/* ── Why NFC strip ───────────────────────────────────────── */

.nfc-why {
    position: relative;
    z-index: 1;
    padding: var(--spacing-lg) 0;
}

.nfc-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.nfc-why-item {
    background: var(--bg-card);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.4rem;
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
}

.nfc-why-item svg {
    width: 22px;
    height: 22px;
    color: var(--accent-cyan);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.nfc-why-item h5 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.nfc-why-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* ── CTA banner ──────────────────────────────────────────── */

.nfc-cta-banner {
    position: relative;
    z-index: 1;
    margin: 0 auto var(--spacing-xl);
    max-width: 1400px;
    padding: 0 var(--spacing-md);
}

.nfc-cta-inner {
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg) var(--spacing-md);
    text-align: center;
}

.nfc-cta-inner h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
}

.nfc-cta-inner p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 520px;
    margin: 0 auto 1.75rem;
    font-size: 0.98rem;
}

.nfc-cta-inner .btn {
    background: #fff;
    color: var(--bg-darker);
}

.nfc-cta-inner .btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* ── Footer (minimal) ────────────────────────────────────── */

.nfc-footer {
    position: relative;
    z-index: 1;
    padding: var(--spacing-md) 0 2.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.nfc-footer a {
    color: var(--text-secondary);
    text-decoration: none;
    white-space: nowrap;
}

.nfc-footer a:hover {
    color: var(--primary-blue);
}

@media (max-width: 768px) {
    .nfc-hero-cta { flex-direction: column; align-items: stretch; }
    .nfc-hero-cta .btn { width: 100%; text-align: center; }
}

/* ── Titoli lightbox più lunghi (nome cliente + categoria) ──── */
.lightbox-title-bar {
    right: 4rem;
    max-width: calc(100% - 6rem);
}
.lightbox-title {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════
   NFC IN AZIONE — video demo + potenziale
═══════════════════════════════════════════════════════════ */

.nfc-showcase {
    position: relative;
    z-index: 1;
    padding: var(--spacing-md) 0 var(--spacing-xl);
}

.nfc-showcase-grid {
    display: grid;
    grid-template-columns: minmax(250px, 340px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4.5rem);
    margin-top: var(--spacing-lg);
}

.nfc-reel {
    position: relative;
    display: block;
    width: 100%;
    max-width: 340px;
    aspect-ratio: 9 / 16;
    justify-self: center;
    border-radius: 26px;
    overflow: hidden;
    background: #0b1020;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 8px rgba(255, 255, 255, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.nfc-reel:hover,
.nfc-reel:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.55);
    box-shadow: 0 36px 90px rgba(0, 0, 0, 0.6), 0 0 0 8px rgba(59, 130, 246, 0.08);
    outline: none;
}

.nfc-reel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.nfc-reel:hover img,
.nfc-reel:focus-visible img {
    transform: scale(1.04);
}

.nfc-reel-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(5, 8, 18, 0.35) 0%,
        rgba(5, 8, 18, 0) 38%,
        rgba(5, 8, 18, 0.15) 62%,
        rgba(5, 8, 18, 0.9) 100%);
}

.nfc-reel-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.38rem 0.7rem;
    border-radius: 999px;
    background: rgba(5, 8, 18, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.nfc-reel-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-red);
    box-shadow: 0 0 8px var(--primary-red);
}

.nfc-reel-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 74px;
    height: 74px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.94);
    color: #0b1020;
    box-shadow: 0 14px 45px rgba(0, 0, 0, 0.45);
    transition: transform 0.25s ease, background 0.25s ease;
}

.nfc-reel-play svg {
    width: 30px;
    height: 30px;
    margin-left: 4px;
}

.nfc-reel:hover .nfc-reel-play,
.nfc-reel:focus-visible .nfc-reel-play {
    transform: translate(-50%, -50%) scale(1.08);
    background: #fff;
}

.nfc-reel-caption {
    position: absolute;
    left: 1.1rem;
    right: 1.1rem;
    bottom: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.35;
}

.nfc-reel-caption svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--primary-orange);
}

.nfc-kicker {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 0.8rem;
}

.nfc-showcase-copy h3 {
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 2.6vw, 2.05rem);
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.nfc-showcase-copy > p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 58ch;
    margin-bottom: 1.4rem;
}

.nfc-showcase-list {
    list-style: none;
    display: grid;
    gap: 0.7rem;
    margin-bottom: 1.7rem;
}

.nfc-showcase-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.55;
}

.nfc-showcase-list li svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 0.12rem;
    color: var(--primary-blue);
}

.nfc-showcase-list strong {
    color: var(--text-primary);
    font-weight: 600;
}

.nfc-showcase-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

/* ── Cosa puoi collegare ─────────────────────────────────── */

.nfc-uses {
    position: relative;
    z-index: 1;
    padding: var(--spacing-lg) 0;
    background: rgba(6, 9, 18, 0.45);
}

.nfc-uses-intro {
    max-width: 700px;
    margin: 0 auto var(--spacing-md);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.nfc-uses-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--spacing-sm);
}

.nfc-use {
    background: var(--bg-card);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: var(--radius-md);
    padding: 1.4rem 1.35rem;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.nfc-use:hover {
    transform: translateY(-3px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.nfc-use-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.9rem;
    background: rgba(59, 130, 246, 0.12);
    color: var(--primary-blue);
}

.nfc-use:nth-child(3n + 2) .nfc-use-icon {
    background: rgba(249, 115, 22, 0.12);
    color: var(--primary-orange);
}

.nfc-use:nth-child(3n) .nfc-use-icon {
    background: rgba(239, 68, 68, 0.12);
    color: var(--primary-red);
}

.nfc-use-icon svg {
    width: 21px;
    height: 21px;
}

.nfc-use h4 {
    font-family: var(--font-body);
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.nfc-use p {
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.nfc-uses-note {
    margin-top: var(--spacing-md);
    text-align: center;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.nfc-uses-note a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

.nfc-uses-note a:hover {
    color: var(--primary-orange);
}

@media (max-width: 860px) {
    .nfc-showcase-grid {
        grid-template-columns: 1fr;
        gap: 2.2rem;
    }

    .nfc-reel {
        max-width: 300px;
    }

    .nfc-showcase-copy {
        text-align: left;
    }

    .nfc-showcase-actions .btn {
        flex: 1 1 200px;
        text-align: center;
    }
}

@media (max-width: 900px) {
    .nfc-uses-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .nfc-uses-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Mini FAQ ─────────────────────────────────────────────── */

.nfc-faq-section {
    position: relative;
    z-index: 1;
    padding: var(--spacing-lg) 0;
}

.nfc-faq {
    max-width: 860px;
    margin: 0 auto;
    display: grid;
    gap: 0.6rem;
}

.nfc-faq-item {
    background: var(--bg-card);
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.nfc-faq-item[open] {
    border-color: rgba(59, 130, 246, 0.42);
    background: rgba(15, 23, 42, 0.92);
}

.nfc-faq-item summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.05rem 1.3rem;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.2s ease;
}

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

.nfc-faq-item summary:hover {
    color: var(--primary-blue);
}

.nfc-faq-item summary:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: -2px;
}

.nfc-faq-item summary svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--primary-blue);
    transition: transform 0.25s ease;
}

.nfc-faq-item[open] summary svg {
    transform: rotate(45deg);
}

.nfc-faq-item p {
    padding: 0 1.3rem 1.15rem;
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.68;
}

.nfc-faq-more {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.nfc-faq-more a {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
}

.nfc-faq-more a:hover {
    color: var(--primary-orange);
}

/* ── Rifiniture mobile ───────────────────────────────────── */

@media (max-width: 600px) {
    .nfc-showcase {
        padding-top: var(--spacing-sm);
    }

    .nfc-showcase-grid {
        gap: 1.8rem;
        margin-top: var(--spacing-md);
    }

    .nfc-showcase-copy h3 {
        font-size: 1.55rem;
    }

    .nfc-showcase-copy > p {
        font-size: 0.9rem;
        line-height: 1.65;
    }

    .nfc-showcase-list li {
        font-size: 0.86rem;
    }

    .nfc-card {
        padding: var(--spacing-md) var(--spacing-sm) var(--spacing-sm);
    }

    .nfc-faq-item summary {
        padding: 0.95rem 1rem;
        font-size: 0.9rem;
    }

    .nfc-faq-item p {
        padding: 0 1rem 1rem;
        font-size: 0.86rem;
    }

    .nfc-cta-inner {
        padding: var(--spacing-md) 1.1rem;
    }

    .nfc-cta-inner h2 {
        font-size: 1.5rem;
    }

    .nfc-cta-inner p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .nfc-reel {
        max-width: 270px;
        border-radius: 22px;
    }

    .nfc-reel-play {
        width: 62px;
        height: 62px;
    }

    .nfc-reel-play svg {
        width: 26px;
        height: 26px;
    }
}

