/* =====================================================
   NFC · Toca y conecta — página de servicio
   Reutiliza variables de base.css y clases de index.css
   ===================================================== */

/* ---- Hero ---- */
.nfc-hero {
    position: relative;
    padding: clamp(7rem, 14vh, 11rem) 0 clamp(3rem, 8vh, 5rem);
    overflow: hidden;
}
.nfc-hero .container { position: relative; z-index: 2; }
.nfc-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem 1rem;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--accent-color) 40%, transparent);
    color: var(--accent-color);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 1.4rem;
}
.nfc-hero h1 {
    font-size: clamp(2.2rem, 6vw, 4rem);
    line-height: 1.05;
    margin-bottom: 1.2rem;
    max-width: 16ch;
}
.nfc-hero h1 .accent { color: var(--accent-color); }
.nfc-hero p {
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 56ch;
    margin-bottom: 2rem;
}
.nfc-hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.nfc-tap-visual {
    position: absolute;
    right: -4%;
    top: 50%;
    transform: translateY(-50%);
    width: min(380px, 38vw);
    aspect-ratio: 1/1;
    z-index: 1;
    opacity: .9;
    pointer-events: none;
}
.nfc-tap-ring {
    position: absolute;
    inset: 0;
    margin: auto;
    border-radius: 50%;
    border: 2px solid color-mix(in srgb, var(--accent-color) 35%, transparent);
    animation: nfc-wave 3s ease-out infinite;
}
.nfc-tap-ring:nth-child(2) { animation-delay: 1s; }
.nfc-tap-ring:nth-child(3) { animation-delay: 2s; }
.nfc-tap-core {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 96px;
    height: 96px;
    border-radius: 26px;
    display: grid;
    place-items: center;
    font-size: 2.4rem;
    color: #fff;
    background: linear-gradient(135deg, var(--accent-color), #ff6b8a);
    box-shadow: 0 0 40px var(--accent-glow);
}
@keyframes nfc-wave {
    0%   { transform: scale(.35); opacity: .9; }
    100% { transform: scale(1.4); opacity: 0; }
}
@media (max-width: 860px) { .nfc-tap-visual { display: none; } }
@media (prefers-reduced-motion: reduce) { .nfc-tap-ring { animation: none; } }

/* ---- Cómo funciona: pasos ---- */
.nfc-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.nfc-step {
    position: relative;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 1.8rem 1.5rem;
    transition: border-color .25s, transform .25s;
}
.nfc-step:hover { border-color: var(--accent-color); transform: translateY(-4px); }
.nfc-step-num {
    font-size: .85rem;
    font-weight: 800;
    color: var(--accent-color);
    letter-spacing: .08em;
}
.nfc-step i {
    font-size: 1.6rem;
    color: var(--accent-color);
    margin: .8rem 0 .9rem;
    display: block;
}
.nfc-step h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.nfc-step p { color: var(--text-secondary); font-size: .92rem; line-height: 1.55; }

/* ---- Packs ---- */
.nfc-packs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.6rem;
    margin-top: 2.5rem;
}
.nfc-pack {
    display: flex;
    flex-direction: column;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem 1.8rem;
    transition: border-color .25s, transform .25s;
}
.nfc-pack:hover { transform: translateY(-4px); }
.nfc-pack-featured {
    border-color: var(--accent-color);
    box-shadow: 0 0 40px var(--accent-glow);
}
.nfc-pack-tag {
    align-self: flex-start;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--accent-color);
    border: 1px solid color-mix(in srgb, var(--accent-color) 40%, transparent);
    border-radius: 999px;
    padding: .25rem .7rem;
    margin-bottom: 1rem;
}
.nfc-pack h3 { font-size: 1.4rem; margin-bottom: .6rem; }
.nfc-pack > p { color: var(--text-secondary); margin-bottom: 1.4rem; font-size: .95rem; }
.nfc-pack ul { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: .7rem; }
.nfc-pack li { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; color: var(--text-light); }
.nfc-pack li i { color: var(--accent-secondary); margin-top: .2rem; }
.nfc-pack .btn { margin-top: auto; text-align: center; }

/* ---- Bloque "para qué sirve" reutiliza .sectors-grid de index.css ---- */
.nfc-section { padding: clamp(3rem, 8vh, 5rem) 0; }

/* ---- CTA final ---- */
.nfc-cta {
    text-align: center;
    padding: clamp(3.5rem, 9vh, 6rem) 0;
}
.nfc-cta h2 { font-size: clamp(1.8rem, 4.5vw, 3rem); margin-bottom: 1rem; }
.nfc-cta p { color: var(--text-secondary); max-width: 52ch; margin: 0 auto 2rem; }
