/* ===================================================================
   Nura — estilos compartidos
   Cargar después de Tailwind CDN.
=================================================================== */

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: #3A1810; background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}
.font-display { font-family: 'Outfit', system-ui, sans-serif; letter-spacing: -0.035em; }
.font-script  { font-family: 'Caveat', cursive; }
.font-mono    { font-family: 'JetBrains Mono', ui-monospace, monospace; }

/* ---- Fondos ---- */
.hero-orange {
  background-color: #F45A1F;
  background-image:
    radial-gradient(ellipse 70% 50% at 90% 10%, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0) 60%),
    radial-gradient(ellipse 60% 50% at 10% 110%, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0) 60%);
}
.hero-noise {
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.012) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(-45deg, rgba(0,0,0,0.012) 0 1px, transparent 1px 4px);
}
.deco-circle {
  position: absolute; border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.18);
  pointer-events: none;
}
.deco-net {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(135deg, rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(45deg,  rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 60px 60px, 60px 60px;
  pointer-events: none; opacity: .35;
}

/* ---- Botones ---- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: #FFFFFF; color: #F45A1F;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 700; font-size: 14px;
  transition: background .2s ease, color .2s ease;
}
.btn-primary:hover { background:#3A1810; color:#FFFFFF; }

.btn-ghost-light {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: #FFFFFF;
  padding: 14px 26px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.4);
  font-weight: 600; font-size: 14px;
  transition: all .2s ease;
}
.btn-ghost-light:hover { background:#FFFFFF; color:#F45A1F; border-color:#FFFFFF; }

.btn-dark {
  display: inline-flex; align-items: center; gap: 8px;
  background: #F45A1F; color: #FFFFFF;
  padding: 13px 24px; border-radius: 999px;
  font-weight: 700; font-size: 14px;
  transition: all .2s ease;
}
.btn-dark:hover { background:#3A1810; }

.btn-yellow {
  display: inline-flex; align-items: center; gap: 8px;
  background: #FFC93C; color: #3A1810;
  padding: 13px 24px; border-radius: 999px;
  font-weight: 700; font-size: 14px;
  transition: all .2s ease;
}
.btn-yellow:hover { background:#F45A1F; color:#FFFFFF; }

.btn-outline-warm {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: #3A1810;
  padding: 12px 24px; border-radius: 999px;
  border: 1.5px solid #3A1810;
  font-weight: 600; font-size: 14px;
  transition: all .2s ease;
}
.btn-outline-warm:hover { background:#3A1810; color:#FFFFFF; }

.arrow { transition: transform .25s ease; }
.btn:hover .arrow, a:hover .arrow { transform: translateX(4px); }

/* ---- Enlaces y pills ---- */
.ed-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: #F45A1F; font-weight: 600; font-size: 14px;
  border-bottom: 1.5px solid #F45A1F; padding-bottom: 2px;
  transition: color .2s ease, border-color .2s ease;
}
.ed-link:hover { color:#3A1810; border-bottom-color:#3A1810; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.14); color: #FFFFFF;
  border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 14px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase;
}
.pill-warm {
  display: inline-flex; align-items: center; gap: 8px;
  background: #FFEDDB; color: #F45A1F;
  padding: 6px 14px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pill-yellow {
  display: inline-flex; align-items: center; gap: 8px;
  background: #FFC93C; color: #3A1810;
  padding: 6px 14px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase;
}
.chip-yellow {
  display: inline-flex; align-items: center; gap: 8px;
  background: #FFC93C; color: #3A1810;
  padding: 10px 18px; border-radius: 6px;
  font-size: 14px; font-weight: 700;
}
.chip-orange {
  display: inline-flex; align-items: center; gap: 8px;
  background: #FFFFFF; color: #F45A1F;
  padding: 10px 18px; border-radius: 6px;
  font-size: 14px; font-weight: 700;
}

/* ---- Tarjetas ---- */
.warm-card {
  background:#FFFFFF; border:1px solid #F5E0D2; border-radius: 18px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.warm-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px -25px rgba(244,90,31,0.22);
  border-color: #F45A1F;
}
.cream-card {
  background:#FFF8F1; border-radius: 18px;
  transition: background .3s ease;
}
.cream-card:hover { background:#FFEDDB; }
.module-card {
  background: #FFFFFF; border: 1px solid #F5E0D2;
  border-radius: 18px; padding: 24px;
  transition: all .3s ease;
}
.module-card:hover {
  transform: translateY(-3px);
  border-color: #F45A1F;
  box-shadow: 0 20px 40px -20px rgba(244,90,31,0.25);
}
.module-icon {
  width: 56px; height: 56px;
  background: #FFC93C; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #FFFFFF;
}

/* ---- Marquee ---- */
.marquee { overflow:hidden; mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); }
.marquee-track { display:flex; gap:64px; width:max-content; animation:scroll 40s linear infinite; }
@keyframes scroll { from { transform:translateX(0); } to { transform:translateX(-50%); } }

/* ---- Indicador live ---- */
.live-dot {
  width:8px; height:8px; border-radius:9999px; background:#10B981;
  box-shadow: 0 0 0 0 rgba(16,185,129,0.6);
  animation: livePulse 1.6s ease-out infinite;
}
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(16,185,129,0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}

/* ---- Form fields ---- */
.field {
  background:#FFFFFF; border:1.5px solid #F5E0D2; border-radius: 10px;
  padding: 12px 14px; font-size: 14px; color: #3A1810;
  transition: border-color .2s ease;
  width: 100%;
}
.field:focus { outline:none; border-color:#F45A1F; }
.field::placeholder { color:#9A7268; }

/* ---- Rueda módulos ---- */
.wheel { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; margin: 0 auto; }
.wheel-center {
  position: absolute; inset: 28%; border-radius: 9999px; background:#FFFFFF;
  border: 2px solid #F45A1F;
  display: flex; align-items: center; justify-content: center;
}
.wheel-ring { position: absolute; inset: 0; border: 1.5px dashed #F5C7AA; border-radius: 9999px; }
.wheel-dot {
  position: absolute; transform: translate(-50%, -50%);
  background:#FFFFFF; border: 1.5px solid #F5E0D2; border-radius: 9999px;
  padding: 10px 14px; font-weight: 700; font-size: 13px; color:#3A1810;
  white-space: nowrap; box-shadow: 0 8px 22px -10px rgba(244,90,31,0.25);
}
.wheel-dot.is-orange { background:#F45A1F; color:#FFFFFF; border-color:#F45A1F; }
.wheel-dot.is-yellow { background:#FFC93C; color:#3A1810; border-color:#FFC93C; }

/* ---- Mobile module pills (sustituyen a la rueda en lg:hidden) ---- */
.mod-pill {
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 14px 12px; min-height: 56px;
  border-radius: 14px; font-weight: 700; font-size: 14px;
  color:#3A1810; background:#FFFFFF; border: 1.5px solid #F5E0D2;
  text-decoration: none; line-height: 1.15;
  box-shadow: 0 6px 14px -10px rgba(244,90,31,0.25);
  transition: transform .15s ease, box-shadow .15s ease;
}
.mod-pill:active { transform: scale(0.98); }
.mod-pill.is-orange { background:#F45A1F; color:#FFFFFF; border-color:#F45A1F; }
.mod-pill.is-yellow { background:#FFC93C; color:#3A1810; border-color:#FFC93C; }

/* ---- TPV mock ---- */
.tpv-key { background:#FFF8F1; border:1px solid #F5E0D2; border-radius: 10px; padding: 10px 12px; font-weight:600; font-size:12px; color:#3A1810; text-align:center; }
.tpv-key.action { background:#F45A1F; color:#FFFFFF; border-color:#F45A1F; }
.tpv-key.yellow { background:#FFC93C; color:#3A1810; border-color:#FFC93C; }

/* ---- Navbar active link ---- */
.nav-link-active { color: #F45A1F !important; }

/* ---- FAQ accordion ---- */
details.faq-item { border-bottom: 1px solid #F5E0D2; }
details.faq-item > summary {
  cursor: pointer; padding: 22px 0;
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 700; font-size: 18px; color: #3A1810;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
}
details.faq-item > summary::-webkit-details-marker { display: none; }
details.faq-item > summary::after {
  content: '+'; font-size: 28px; color: #F45A1F; font-weight: 300;
  transition: transform .2s ease;
}
details.faq-item[open] > summary::after { transform: rotate(45deg); }
details.faq-item > div { padding: 0 0 22px; color: #5A3328; font-size: 15px; line-height: 1.65; max-width: 800px; }
