/* ============================================================
   Simulador de Perfumes — Decants Club
   Estética: negro elegante + dorado · premium · mobile-first
   ============================================================ */

:root {
  --bg: #0d0b09;
  --bg-2: #141019;
  --bg-soft: #171310;
  --card: #1b1610;
  --card-2: #221c14;
  --ink: #f4ead6;
  --ink-soft: #b7a887;
  --ink-dim: #8a7d64;
  --gold: #cba14e;
  --gold-2: #e2c477;
  --gold-soft: #eBd6a3;
  --gold-line: rgba(203, 161, 78, 0.28);
  --gold-glow: rgba(203, 161, 78, 0.16);
  --rose: #d6a9a0;
  --ok: #6fbf95;
  --danger: #d9776f;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
  --shadow-sm: 0 8px 22px rgba(0, 0, 0, 0.35);
  --font-title: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(800px 480px at 78% -8%, rgba(203, 161, 78, 0.16), transparent 68%),
    radial-gradient(560px 420px at -8% 8%, rgba(203, 161, 78, 0.08), transparent 70%),
    radial-gradient(700px 600px at 50% 120%, rgba(120, 84, 30, 0.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

a { color: inherit; }

/* ============================================================
   MODO INCRUSTADO (dentro de un iframe en Jumpseller)
   Oculta el header/barra/footer para no duplicar la web de la tienda.
   ============================================================ */
.embed .topbar,
.embed .site-header,
.embed .mobile-menu,
.embed .trust,
.embed .footer-note { display: none !important; }
.embed body,
html.embed { background: transparent; }
.embed .app { padding-top: 10px; }

/* ============================================================
   CHROME: barra superior, header, nav
   ============================================================ */
.topbar {
  position: relative;
  z-index: 3;
  background: linear-gradient(90deg, #0a0806, #171009, #0a0806);
  border-bottom: 1px solid var(--gold-line);
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing: 0.5px;
}

.topbar .inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 7px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.topbar .ship { display: flex; align-items: center; gap: 8px; }
.topbar .ship b { color: var(--gold-2); font-weight: 600; letter-spacing: 1px; }
.topbar .ship .sep { color: var(--ink-dim); }
.topbar .links { display: flex; gap: 16px; }
.topbar .links a { text-decoration: none; transition: color 0.2s; white-space: nowrap; }
.topbar .links a:hover { color: var(--gold-2); }

.site-header {
  position: relative;
  z-index: 3;
  border-bottom: 1px solid var(--gold-line);
  background: rgba(10, 8, 6, 0.6);
  backdrop-filter: blur(6px);
}

.site-header .inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo svg { width: 44px; height: 44px; display: block; }

.brand-logo .txt .l1 {
  font-family: var(--font-title);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 4px;
  line-height: 1;
  color: var(--ink);
}
.brand-logo .txt .l2 {
  font-size: 9.5px;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 3px;
}

.main-nav {
  display: flex;
  gap: 22px;
  margin: 0 auto;
}

.main-nav a {
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.6px;
  color: var(--ink-soft);
  padding: 6px 0;
  position: relative;
  transition: color 0.2s;
  white-space: nowrap;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width 0.25s;
}
.main-nav a:hover { color: var(--gold-2); }
.main-nav a:hover::after { width: 100%; }

.header-icons { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header-icons .hi {
  color: var(--ink-soft);
  font-size: 17px;
  text-decoration: none;
  position: relative;
  transition: color 0.2s;
}
.header-icons .hi:hover { color: var(--gold-2); }
.header-icons .hi .dot {
  position: absolute;
  top: -6px; right: -8px;
  background: var(--gold);
  color: #1a1206;
  font-size: 9px;
  font-weight: 700;
  border-radius: 99px;
  min-width: 15px;
  height: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

.burger {
  display: none;
  background: transparent;
  border: 1px solid var(--gold-line);
  color: var(--gold-2);
  border-radius: 9px;
  width: 40px; height: 38px;
  font-size: 18px;
  cursor: pointer;
}

/* ============================================================
   CONTENEDOR PRINCIPAL
   ============================================================ */
.app {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto;
  padding: 20px 18px 40px;
}

.app.wide { max-width: 1120px; }

/* ---------- Progreso ---------- */
.progress-wrap { margin: 8px 0 4px; display: none; }
.progress-wrap.visible { display: block; }

.progress-track {
  height: 5px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 99px;
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  width: 0%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  box-shadow: 0 0 12px var(--gold-glow);
  transition: width 0.45s ease;
}
.progress-label {
  font-size: 12px;
  color: var(--ink-dim);
  text-align: right;
  margin-top: 6px;
  letter-spacing: 0.5px;
}

/* ---------- Pantallas ---------- */
.screen { display: none; animation: fadeUp 0.5s ease; }
.screen.active { display: block; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   HERO / BIENVENIDA
   ============================================================ */
.hero {
  text-align: center;
  padding: 20px 6px 10px;
}

.hero-figure {
  width: 100%;
  max-width: 520px;
  height: auto;
  margin: 0 auto 6px;
  display: block;
  border-radius: 16px;
  /* Difumina los bordes de la foto hacia el fondo oscuro del hero */
  -webkit-mask-image: radial-gradient(120% 120% at 50% 45%, #000 62%, transparent 100%);
  mask-image: radial-gradient(120% 120% at 50% 45%, #000 62%, transparent 100%);
}

.hero h1 {
  font-family: var(--font-title);
  font-size: 52px;
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.hero h1 em {
  display: block;
  font-style: italic;
  color: var(--gold-2);
}

.hero .sub {
  color: var(--ink-soft);
  font-size: 17px;
  max-width: 430px;
  margin: 16px auto 26px;
}

.hero .hint {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--gold-soft);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(203, 161, 78, 0.08);
  border: 1px solid var(--gold-line);
  padding: 9px 18px;
  border-radius: 99px;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.hero-badges .badge {
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-soft);
  width: 108px;
}
.hero-badges .badge .ico {
  font-size: 24px;
  display: block;
  margin-bottom: 5px;
}

/* ============================================================
   PREGUNTAS
   ============================================================ */
.q-head { text-align: center; margin: 20px 0 22px; }
.q-head .q-num {
  font-size: 11.5px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.q-head h2 {
  font-family: var(--font-title);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.12;
  margin-top: 8px;
}
.q-head .q-sub { color: var(--ink-soft); font-size: 14.5px; margin-top: 9px; }

.options { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.options.single { grid-template-columns: 1fr; }

.opt {
  background: linear-gradient(160deg, var(--card), var(--card-2));
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  padding: 15px 12px;
  text-align: center;
  cursor: pointer;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--ink);
  transition: all 0.18s ease;
  user-select: none;
}
.opt .emoji { display: block; font-size: 23px; margin-bottom: 6px; }
.opt .desc { display: block; font-size: 12.5px; color: var(--ink-dim); margin-top: 4px; }
.opt:hover { border-color: var(--gold-line); transform: translateY(-2px); }
.opt.selected {
  border-color: var(--gold);
  background: linear-gradient(160deg, rgba(203, 161, 78, 0.16), rgba(203, 161, 78, 0.06));
  box-shadow: 0 8px 22px rgba(203, 161, 78, 0.16);
}
.opt.selected .desc { color: var(--gold-soft); }

textarea.free-text {
  width: 100%;
  min-height: 120px;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-sm);
  padding: 15px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--card);
  resize: vertical;
}
textarea.free-text::placeholder { color: var(--ink-dim); }
textarea.free-text:focus { outline: none; border-color: var(--gold); }

/* ---------- Aromas seleccionables (Pregunta 2) ---------- */
.aroma-pick-title { text-align: center; margin: 30px 0 4px; }
.aroma-pick-title h3 {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
}

.aroma-pick-group { margin-bottom: 16px; }
.aroma-pick-group h4 {
  font-size: 12.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 9px 2px;
}
.aroma-pick-row { display: flex; flex-wrap: wrap; gap: 8px; }

.aroma-pick {
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(160deg, var(--card), var(--card-2));
  color: var(--ink-soft);
  border-radius: 99px;
  padding: 8px 15px;
  cursor: pointer;
  user-select: none;
  transition: all 0.16s ease;
}
.aroma-pick:hover { border-color: var(--gold-line); transform: translateY(-1px); }
.aroma-pick.on {
  background: linear-gradient(160deg, rgba(203, 161, 78, 0.2), rgba(203, 161, 78, 0.08));
  border-color: var(--gold);
  color: var(--gold-2);
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(203, 161, 78, 0.18);
}
.aroma-pick.on::before { content: "✓ "; }

/* ---------- Sliders de aromas ---------- */
.aroma-group { margin-bottom: 26px; }
.aroma-group h3 {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}
.aroma-row {
  background: linear-gradient(160deg, var(--card), var(--card-2));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 12px 14px 15px;
  margin-bottom: 9px;
}
.aroma-row .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 15px;
}
.aroma-row .val {
  font-weight: 600;
  min-width: 36px;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink-soft);
  border-radius: 8px;
  padding: 2px 9px;
  font-size: 14px;
  transition: all 0.15s;
}
.aroma-row .val.high { background: var(--gold); color: #1a1206; box-shadow: 0 0 12px var(--gold-glow); }
.aroma-row .val.low { background: rgba(255, 255, 255, 0.04); color: var(--ink-dim); }

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold-2), var(--gold));
  border: 2px solid #2a2114;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid #2a2114;
  cursor: pointer;
}

/* ============================================================
   BOTONES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.5px;
  border-radius: 99px;
  padding: 15px 34px;
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn-primary,
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #1c1406;
  font-weight: 600;
  box-shadow: 0 10px 26px rgba(203, 161, 78, 0.3);
}
.btn-primary:hover,
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(203, 161, 78, 0.42); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
  color: var(--ink-soft);
  border: 1px solid var(--gold-line);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }

.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

.nav-buttons { display: flex; gap: 10px; margin-top: 28px; }
.nav-buttons .btn { flex: 1; }

/* ============================================================
   RESULTADOS
   ============================================================ */
.perfil-card {
  background:
    radial-gradient(400px 200px at 85% 0%, rgba(203, 161, 78, 0.22), transparent 70%),
    linear-gradient(150deg, #201a12, #12100c);
  border: 1px solid var(--gold-line);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  margin-bottom: 26px;
  position: relative;
  overflow: hidden;
}
.perfil-card .tag {
  font-size: 11.5px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
}
.perfil-card h2 {
  font-family: var(--font-title);
  font-size: 38px;
  font-weight: 600;
  margin: 8px 0 4px;
  color: var(--gold-2);
}
.perfil-card .emoji { font-size: 40px; display: block; margin-bottom: 6px; }
.perfil-card p { font-size: 15px; color: var(--ink-soft); max-width: 440px; margin: 12px auto 0; }

.section-title {
  font-family: var(--font-title);
  font-size: 27px;
  font-weight: 600;
  margin: 32px 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}
.section-title small {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-dim);
  font-weight: 400;
}

.perfume-card {
  background: linear-gradient(165deg, var(--card), var(--card-2));
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 18px;
  margin-bottom: 16px;
  position: relative;
}
.perfume-card .rank-badge {
  position: absolute;
  top: -11px; left: 16px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #1c1406;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 99px;
  padding: 4px 14px;
  box-shadow: 0 4px 12px rgba(203, 161, 78, 0.4);
}
.perfume-card .head { display: flex; gap: 14px; align-items: flex-start; margin-top: 6px; }

.perfume-thumb {
  width: 76px; height: 96px;
  border-radius: 12px;
  flex-shrink: 0;
  background: linear-gradient(160deg, #2a2115, #17120c);
  border: 1px solid var(--gold-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  overflow: hidden;
}
.perfume-thumb img { width: 100%; height: 100%; object-fit: cover; }

.perfume-card .info { flex: 1; min-width: 0; }
.perfume-card .marca {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.perfume-card h3 {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.12;
  margin: 3px 0 5px;
  color: var(--ink);
}
.match-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(203, 161, 78, 0.12);
  border: 1px solid var(--gold-line);
  color: var(--gold-2);
  font-size: 13px;
  font-weight: 600;
  border-radius: 99px;
  padding: 3px 12px;
}
.match-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 99px;
  overflow: hidden;
  margin: 10px 0 4px;
}
.match-bar > div {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transition: width 0.8s ease;
}

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.chip {
  font-size: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink-soft);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 99px;
  padding: 3px 11px;
}
.chip.rose { background: rgba(214, 169, 160, 0.1); color: var(--rose); border-color: transparent; }
.chip.navy { background: rgba(203, 161, 78, 0.08); color: var(--gold-soft); border-color: transparent; }

.perfume-card .desc { font-size: 14px; color: var(--ink-soft); margin: 6px 0; }

.reco-box {
  background: rgba(203, 161, 78, 0.08);
  border-left: 3px solid var(--gold);
  border-radius: 0 10px 10px 0;
  padding: 10px 12px;
  font-size: 13.5px;
  color: var(--gold-soft);
  margin: 10px 0;
}
.precio { font-size: 14px; color: var(--ink-soft); margin: 4px 0 10px; }
.precio b { color: var(--ink); font-size: 16px; }

.card-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.card-actions .btn { flex: 1; min-width: 130px; }

.btn-fav {
  flex: 0 0 auto !important;
  min-width: 0 !important;
  width: 46px; height: 46px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--gold-line);
  background: rgba(255, 255, 255, 0.02);
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-fav.active { border-color: var(--rose); background: rgba(214, 169, 160, 0.12); }

.btn-wsp {
  background: rgba(111, 191, 149, 0.14);
  color: #8fd8b0;
  border: 1px solid rgba(111, 191, 149, 0.35);
}
.btn-wsp:hover { background: rgba(111, 191, 149, 0.24); color: #a9e6c6; }

.btn-email {
  background: rgba(203, 161, 78, 0.12);
  color: var(--gold-2);
  border: 1px solid var(--gold-line);
}
.btn-email:hover { background: rgba(203, 161, 78, 0.2); color: var(--gold-soft); }

/* Alternativas — carrusel */
.alt-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.alt-scroll::-webkit-scrollbar { height: 6px; }
.alt-scroll::-webkit-scrollbar-thumb { background: var(--gold-line); border-radius: 99px; }

.alt-card {
  scroll-snap-align: start;
  flex: 0 0 232px;
  background: linear-gradient(165deg, var(--card), var(--card-2));
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 14px;
}
.alt-card .alt-tag {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 9px;
  display: block;
}
.alt-card .thumb-row { display: flex; gap: 10px; align-items: center; margin-bottom: 9px; }
.alt-card .perfume-thumb { width: 48px; height: 60px; font-size: 22px; border-radius: 9px; }
.alt-card h4 { font-family: var(--font-title); font-size: 18px; line-height: 1.12; color: var(--ink); }
.alt-card .marca { font-size: 10.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-dim); }
.alt-card .match { font-size: 12.5px; color: var(--gold-2); font-weight: 600; margin-bottom: 9px; }

/* ---------- Lead form ---------- */
.lead-card {
  background:
    radial-gradient(300px 160px at 80% 0%, rgba(203, 161, 78, 0.14), transparent 70%),
    linear-gradient(160deg, var(--card-2), #14100b);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  padding: 26px 20px;
  margin-top: 34px;
  box-shadow: var(--shadow);
  text-align: center;
}
.lead-card h3 { font-family: var(--font-title); font-size: 25px; font-weight: 600; margin-bottom: 4px; color: var(--ink); }
.lead-card p { color: var(--ink-soft); font-size: 14px; margin-bottom: 18px; }
.lead-card input {
  width: 100%;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  margin-bottom: 10px;
  background: rgba(0, 0, 0, 0.25);
  color: var(--ink);
}
.lead-card input::placeholder { color: var(--ink-dim); }
.lead-card input:focus { outline: none; border-color: var(--gold); }

.lead-check {
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left;
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 4px 2px 14px;
  cursor: pointer;
}
.lead-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--gold);
  cursor: pointer;
}
.lead-ok {
  background: rgba(111, 191, 149, 0.12);
  border: 1px solid rgba(111, 191, 149, 0.3);
  color: #a9e6c6;
  border-radius: var(--radius-sm);
  padding: 15px;
  font-size: 14.5px;
}

/* ============================================================
   FRANJA DE GARANTÍAS (trust)
   ============================================================ */
.trust {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--gold-line);
  background: linear-gradient(180deg, rgba(20, 15, 9, 0.5), rgba(10, 8, 6, 0.8));
  margin-top: 30px;
}
.trust .inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 26px 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.trust .t-item { display: flex; align-items: center; gap: 12px; }
.trust .t-item .t-ico {
  font-size: 24px;
  width: 44px; height: 44px;
  flex-shrink: 0;
  border: 1px solid var(--gold-line);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-2);
}
.trust .t-item .t-tit { font-family: var(--font-title); font-size: 18px; color: var(--ink); line-height: 1.1; }
.trust .t-item .t-sub { font-size: 12px; color: var(--ink-dim); margin-top: 2px; }

.footer-note {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-dim);
  padding: 22px 18px 34px;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%) translateY(90px);
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #1c1406;
  font-weight: 600;
  border-radius: 99px;
  padding: 11px 22px;
  font-size: 14px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
  z-index: 999;
  white-space: nowrap;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ============================================================
   PANEL ADMIN
   ============================================================ */
.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px 0 14px;
}
.admin-header h1 { font-family: var(--font-title); font-size: 30px; font-weight: 600; color: var(--ink); }
.admin-header .brand-logo { padding: 0; }

.tabs {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--gold-line);
  margin-bottom: 22px;
  overflow-x: auto;
}
.tab-btn {
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 14.5px;
  padding: 11px 16px;
  cursor: pointer;
  color: var(--ink-soft);
  border-bottom: 2.5px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
}
.tab-btn.active { color: var(--gold-2); border-color: var(--gold); font-weight: 600; }

.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp 0.3s ease; }

.admin-card {
  background: linear-gradient(165deg, var(--card), var(--card-2));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 18px;
  margin-bottom: 16px;
}
.admin-card h2 { color: var(--ink); }

.admin-toolbar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }

table.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; color: var(--ink); }
.admin-table th {
  text-align: left;
  font-size: 11.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-dim);
  padding: 8px 10px;
  border-bottom: 1px solid var(--gold-line);
}
.admin-table td { padding: 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); vertical-align: middle; }
.admin-table tr:hover td { background: rgba(203, 161, 78, 0.04); }

.pill { display: inline-block; font-size: 11.5px; border-radius: 99px; padding: 2px 10px; font-weight: 600; }
.pill.ok { background: rgba(111, 191, 149, 0.14); color: #8fd8b0; }
.pill.off { background: rgba(217, 119, 111, 0.14); color: var(--danger); }

.icon-btn {
  border: 1px solid var(--gold-line);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  width: 32px; height: 32px;
  cursor: pointer;
  font-size: 14px;
  margin-right: 4px;
}
.icon-btn:hover { border-color: var(--gold); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.form-grid .full { grid-column: 1 / -1; }

.field label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 5px;
  font-weight: 600;
}
.field input[type="text"], .field input[type="number"], .field input[type="url"],
.field select, .field textarea {
  width: 100%;
  border: 1px solid var(--gold-line);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: 14px;
  background: rgba(0, 0, 0, 0.25);
  color: var(--ink);
}
.field select option { background: #1b1610; }
.field textarea { min-height: 64px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }

.check-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.check-chip {
  font-size: 12.5px;
  border: 1px solid var(--gold-line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--ink-soft);
  border-radius: 99px;
  padding: 5px 12px;
  cursor: pointer;
  user-select: none;
  transition: all 0.15s;
}
.check-chip.on { background: rgba(203, 161, 78, 0.16); border-color: var(--gold); color: var(--gold-2); font-weight: 600; }

.slider-field { display: flex; align-items: center; gap: 10px; }
.slider-field input[type="range"] { flex: 1; }
.slider-field .num { min-width: 26px; text-align: center; font-weight: 600; font-size: 14px; color: var(--gold-2); }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 20px; }
.stat-box {
  background: linear-gradient(165deg, var(--card), var(--card-2));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat-box .num { font-family: var(--font-title); font-size: 34px; font-weight: 700; color: var(--gold-2); }
.stat-box .lbl { font-size: 12px; color: var(--ink-dim); letter-spacing: 0.5px; }

.bar-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 13.5px; }
.bar-row .lbl { width: 150px; flex-shrink: 0; text-align: right; color: var(--ink-soft); }
.bar-row .track { flex: 1; height: 16px; background: rgba(255, 255, 255, 0.06); border-radius: 99px; overflow: hidden; }
.bar-row .fill { height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-2)); border-radius: 99px; }
.bar-row .n { width: 42px; font-weight: 600; font-size: 13px; color: var(--ink); }

.empty-note { color: var(--ink-dim); font-size: 14px; text-align: center; padding: 24px; }

.modal-back {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 14px;
  z-index: 100;
  overflow-y: auto;
}
.modal-back.open { display: flex; }
.modal {
  background: linear-gradient(165deg, #1c1710, #14100b);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  max-width: 760px;
  width: 100%;
  padding: 24px;
  box-shadow: var(--shadow);
  animation: fadeUp 0.3s ease;
}
.modal h2 { font-family: var(--font-title); font-size: 25px; margin-bottom: 16px; color: var(--ink); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 641px) {
  .options { grid-template-columns: 1fr 1fr 1fr; }
  .options.cols-2 { grid-template-columns: 1fr 1fr; }
  .options.single { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .burger { display: block; }
  .header-icons { margin-left: auto; }
  .trust .inner { grid-template-columns: 1fr 1fr; gap: 16px; }
}

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 40px; }
  .topbar .links { display: none; }
  .topbar .inner { justify-content: center; }
  .admin-table .hide-sm { display: none; }
}

@media (max-width: 460px) {
  .trust .inner { grid-template-columns: 1fr; }
}

/* Menú móvil desplegable */
.mobile-menu {
  display: none;
  position: relative;
  z-index: 3;
  border-bottom: 1px solid var(--gold-line);
  background: rgba(10, 8, 6, 0.96);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 13px 20px;
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.mobile-menu a:hover { color: var(--gold-2); }
