/* Página /nfc/: solo lo propio de esta página. La identidad (asfalto, papel, verde de señal, carril) viene de /assets/styles.css. */

/* ---------- Portada ---------- */
.nfc-hero .wrap { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }
.nfc-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 40px; padding-top: 26px; border-top: 1px solid #333833; }
.nfc-facts li, .nfc-facts li > div { display: grid; gap: 2px; }
.nfc-facts b { font-family: var(--display); font-weight: 800; font-size: 40px; line-height: .9; color: var(--lane); }
.nfc-facts span { font-size: 15px; color: #b6bab2; max-width: 13em; }

.nfc-visual { display: grid; justify-items: center; gap: 0; position: relative; padding: 24px 0 12px; }
.nfc-sticker { position: relative; width: min(320px, 72vw); aspect-ratio: 1; border-radius: 50%; background: #0a0b0a; color: #fff; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; padding: 34px;
  box-shadow: 0 34px 70px rgba(0,0,0,.5), inset 0 0 0 6px #0a0b0a, inset 0 0 0 9px #f4f2ec, inset 0 0 0 12px #0a0b0a; transform: rotate(-7deg); z-index: 2; }
.nfc-sticker-mark { width: 62px; height: 62px; border-radius: 16px; background: var(--sign); box-shadow: inset 0 0 0 3px var(--sign), inset 0 0 0 6px #fff; display: grid; place-items: center; }
.nfc-sticker-mark svg { width: 36px; height: 36px; }
.nfc-sticker-title { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 30px; line-height: .95; max-width: 7em; }
.nfc-sticker-sub { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: 13px; color: var(--lane); }
.nfc-waves { position: absolute; top: 18%; right: 12%; width: 54px; height: 54px; }
.nfc-waves i { position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--sign-bright); border-color: var(--sign-bright) transparent transparent transparent; transform: rotate(45deg); opacity: .9; }
.nfc-waves i:nth-child(2) { inset: 10px; opacity: .7; }
.nfc-waves i:nth-child(3) { inset: 20px; opacity: .5; }
.nfc-card { width: min(340px, 86vw); margin-top: -46px; transform: rotate(3deg); display: grid; gap: 12px; z-index: 1; }
.nfc-card .display { font-size: 26px; line-height: .95; }
.nfc-card small { font-size: 14px; color: #dcefe6; }
.nfc-stamps { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.nfc-stamps span { aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.18); box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }
.nfc-stamps span.on { background: var(--lane); box-shadow: inset 0 0 0 2px var(--lane); }
@media (max-width: 960px) { .nfc-visual { padding-top: 10px; } .nfc-card { margin-top: -30px; } }

/* ---------- Qué incluye ---------- */
.nfc-two { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.nfc-note { background: var(--asphalt-2); border-radius: 18px; padding: 28px; display: grid; gap: 14px; border: 1px solid #333833; margin-top: 64px; }
.nfc-note .muted { font-size: 16px; }
@media (max-width: 960px) { .nfc-two { grid-template-columns: 1fr; } .nfc-note { margin-top: 0; } }

/* ---------- Solicitud ---------- */
.nfc-request { max-width: 980px; }
.nfc-status { margin-top: 18px; font-size: 17px; color: var(--ink-2); min-height: 1.5em; }
.nfc-status.error { color: var(--stop); font-weight: 600; }
#login { margin-top: 18px; }
.nfc-form { display: grid; gap: 24px; margin-top: 30px; }
.nfc-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; background: var(--card); border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.nfc-form legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; padding: 22px 26px 0; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 22px; }
.nfc-form legend .exit-tag { background: var(--sign); color: #fff; }
.nfc-grid { clear: both; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; padding: 18px 26px 26px; }
.nfc-span { grid-column: 1 / -1; }
.nfc-form label { display: grid; gap: 8px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.nfc-form input, .nfc-form select, .nfc-form textarea { width: 100%; font: inherit; font-size: 17px; font-weight: 500; color: var(--ink); background: #fff; border: 2px solid var(--line); border-radius: 12px; padding: 13px 14px; }
.nfc-form input:focus, .nfc-form select:focus, .nfc-form textarea:focus { outline: none; border-color: var(--sign); box-shadow: 0 0 0 4px rgba(0,112,74,.14); }
.nfc-form textarea { min-height: 112px; resize: vertical; }
.nfc-form select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23474c45' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.nfc-consent { display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start; font-size: 15px; line-height: 1.55; color: var(--ink-2); padding: 0 6px; }
.nfc-consent input { width: 24px; height: 24px; margin-top: 2px; accent-color: var(--sign); }
.nfc-consent a { color: var(--sign); font-weight: 600; }
.nfc-submit { display: grid; gap: 12px; justify-items: start; }
.nfc-submit button:disabled { opacity: .55; cursor: wait; transform: none; }
.nfc-orders-wrap { margin-top: 64px; padding-top: 32px; border-top: 2px solid var(--ink); }
.nfc-orders { display: grid; gap: 14px; margin-top: 18px; }
.nfc-orders .muted { font-size: 16px; }
.nfc-order { background: var(--card); border-radius: 16px; padding: 20px 22px; display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: center; box-shadow: inset 0 0 0 1px var(--line); }
.nfc-order strong { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 24px; line-height: 1; }
.nfc-order small { grid-column: 1 / -1; color: var(--ink-3); font-size: 13px; }
.nfc-pill { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); white-space: nowrap; }
.nfc-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.nfc-pill.is-paid::before, .nfc-pill.is-programming::before { background: var(--warn); }
.nfc-pill.is-shipped::before { background: var(--go); }
.nfc-pill.is-cancelled::before { background: var(--stop); }
[hidden] { display: none !important; }
@media (max-width: 720px) { .nfc-grid { grid-template-columns: 1fr; padding: 16px 18px 22px; } .nfc-form legend { padding: 20px 18px 0; font-size: 20px; } .nfc-order { grid-template-columns: 1fr; } }
