/* =========================================================
   FacilityShop — estilos
   Dirección: ciudad cyberpunk de noche (como los banners de la
   marca) + serif de alto contraste (como el logo FS).
   ========================================================= */
:root {
  --bg: #120a22;
  --bg-2: #180e2c;
  --surface: #1e1337;
  --surface-2: #281a46;
  --line: #3d2c66;
  --line-soft: #2b1f4d;
  --text: #f6f2ff;
  --muted: #b6aad9;
  --magenta: #ff3ea5;
  --violet: #8b5cff;
  --gold: #f6be4f;
  --wa: #25d366;
  --wa-ink: #05200f;
  --danger: #ff7a90;

  --font-display: "Bodoni Moda", "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --header-h: 64px;
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(900px 520px at 88% -8%, rgba(255, 62, 165, .20), transparent 62%),
    radial-gradient(820px 620px at -8% 6%, rgba(139, 92, 255, .24), transparent 62%),
    var(--bg);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--gold); color: #1a1030; padding: 10px 14px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { top: 12px; }
.ic { width: 20px; height: 20px; flex: none; }
.empty { color: var(--muted); font-size: .95rem; padding: 18px 4px; }
.only-mobile { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(18, 10, 34, .82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.header-row { display: flex; align-items: center; gap: 28px; height: 100%; }
.brand img { height: 38px; width: auto; }
.nav { display: flex; gap: 4px; margin-right: auto; }
.nav a {
  text-decoration: none; color: var(--muted); font-weight: 600; font-size: .93rem;
  padding: 8px 12px; border-radius: 999px; transition: color .15s, background .15s;
}
.nav a:hover { color: var(--text); background: rgba(139, 92, 255, .16); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: transparent; padding: 0; position: relative; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 700; font-size: .96rem; text-decoration: none; line-height: 1;
  transition: transform .12s, filter .15s, background .15s, border-color .15s;
}
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled { opacity: .42; cursor: not-allowed; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-wa { background: var(--wa); color: var(--wa-ink); }
.btn-wa:hover:not(:disabled) { filter: brightness(1.07); }
.btn-primary { background: linear-gradient(135deg, var(--magenta), var(--violet)); color: #fff; }
.btn-primary:hover:not(:disabled) { filter: brightness(1.1); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover:not(:disabled) { border-color: var(--violet); background: rgba(139, 92, 255, .12); }
.btn-quiet { background: transparent; color: var(--muted); padding: 0 14px; }
.btn-quiet:hover:not(:disabled) { color: var(--text); }
.btn-link { background: none; border: 0; color: var(--muted); font-size: .86rem; text-decoration: underline; text-underline-offset: 3px; padding: 6px; }
.btn-link:hover { color: var(--text); }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; background: transparent; border: 1px solid var(--line); border-radius: 12px; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 34px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(3.1rem, 9vw, 6.4rem); line-height: .95; letter-spacing: -.02em;
}
.tagline { margin-top: 14px; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.25rem, 2.6vw, 1.8rem); color: var(--gold); line-height: 1.2; }
.hero .lead { margin-top: 16px; max-width: 56ch; color: var(--muted); font-size: 1.06rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-featured { display: grid; gap: 14px; }
.feat {
  position: relative; display: block; text-decoration: none; padding: 22px 24px; border-radius: 18px;
  background: linear-gradient(150deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); transition: transform .15s, border-color .15s, box-shadow .15s;
}
.feat:hover { transform: translateY(-2px); border-color: var(--magenta); box-shadow: 0 18px 50px -20px rgba(255, 62, 165, .6); }
.feat h3 { font-family: var(--font-display); font-size: 1.6rem; margin: 10px 0 4px; }
.feat p { color: var(--muted); font-size: .94rem; max-width: 40ch; }
.feat-price { display: block; margin-top: 12px; font-weight: 800; font-size: 1.25rem; color: var(--gold); }
.feat-price small { color: var(--muted); font-weight: 600; font-size: .85rem; }

.badge {
  display: inline-block; vertical-align: middle; padding: 4px 11px; border-radius: 999px;
  font-family: var(--font-body); font-size: .74rem; font-weight: 800; letter-spacing: 0; line-height: 1.3;
  background: var(--gold); color: #1a1030;
}
.badge-hot { background: linear-gradient(135deg, var(--magenta), #ff7a45); color: #fff; }
h2 .badge, h3 .badge { margin-left: 8px; transform: translateY(-2px); }

.trust { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: rgba(0, 0, 0, .16); }
.trust-list { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; padding: 18px 0; }
.trust-list li { display: inline-flex; align-items: center; gap: 10px; font-size: .95rem; }
.trust-list .ic { color: var(--gold); width: 22px; height: 22px; }
.trust-list b { font-weight: 700; }

.auth { display: flex; gap: 8px; }
.auth button { cursor: default; }
.auth-mobile { display: none; }

/* ---------- Calculadora ---------- */
.calc-section { padding: 18px 0 70px; }
.calc > * { min-width: 0; }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) 392px; gap: 30px; align-items: start; }

.toolbar {
  position: sticky; top: var(--header-h); z-index: 20;
  margin: 0 -10px 18px; padding: 12px 10px 10px;
  background: linear-gradient(var(--bg) 78%, rgba(18, 10, 34, 0));
}
.search { position: relative; }
.search .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search input {
  width: 100%; height: 48px; padding: 0 16px 0 44px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line-soft); outline: none;
}
.search input::placeholder { color: #8479ab; }
.search input:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(139, 92, 255, .25); }
.chips { max-width: 100%; display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--line-soft); background: var(--surface);
  color: var(--muted); font-weight: 600; font-size: .88rem; text-decoration: none; white-space: nowrap;
  transition: border-color .15s, color .15s, background .15s;
}
.chip .ic { width: 16px; height: 16px; }
.chip:hover { color: var(--text); border-color: var(--line); }
.chip.is-active { color: #fff; background: linear-gradient(135deg, rgba(255, 62, 165, .28), rgba(139, 92, 255, .32)); border-color: var(--violet); }
.chip .dot { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--gold); color: #1a1030; font-size: .74rem; font-weight: 800; display: none; align-items: center; justify-content: center; }
.chip.has-items .dot { display: inline-flex; }

.cat {
  scroll-margin-top: calc(var(--header-h) + 128px);
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: 18px;
  margin-bottom: 18px; overflow: hidden;
}
.cat-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line-soft); background: linear-gradient(90deg, rgba(139, 92, 255, .12), transparent 70%); }
.cat-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: linear-gradient(135deg, var(--magenta), var(--violet)); color: #fff; }
.cat-icon .ic { width: 20px; height: 20px; }
.cat-head h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; }
.cat-meta { margin-left: auto; color: var(--muted); font-size: .86rem; text-align: right; }
.cat-meta b { color: var(--gold); font-weight: 700; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 118px 142px; gap: 12px; padding: 10px 20px; color: #8e83b4; font-size: .82rem; font-weight: 600; border-bottom: 1px solid var(--line-soft); }
.cols span:nth-child(2) { text-align: right; }
.cols span:nth-child(3) { text-align: center; }

.row {
  display: grid; grid-template-columns: minmax(0, 1fr) 118px 142px; gap: 12px; align-items: center;
  padding: 11px 20px; border-bottom: 1px solid var(--line-soft); position: relative;
  transition: background .15s;
}
.row:last-child { border-bottom: 0; }
.row:hover { background: rgba(139, 92, 255, .07); }
.row.is-active { background: rgba(255, 62, 165, .09); }
.row.is-active::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(var(--magenta), var(--violet)); }
.row-name { font-weight: 600; overflow-wrap: anywhere; }
.row-gems { text-align: right; font-variant-numeric: tabular-nums; line-height: 1.25; }
.row-gems .g { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.row-gems .g svg { width: 15px; height: 15px; }
.row-usd { display: block; color: var(--muted); font-size: .78rem; font-weight: 500; }

.stepper { display: inline-flex; align-items: center; justify-content: center; justify-self: center; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; background: var(--bg-2); }
.stepper button { width: 38px; height: 40px; border: 0; background: transparent; font-size: 1.25rem; line-height: 1; color: var(--text); transition: background .12s; }
.stepper button:hover { background: rgba(139, 92, 255, .22); }
.stepper button:disabled { color: #5a4d82; cursor: default; background: transparent; }
.stepper input { width: 52px; height: 40px; text-align: center; border: 0; background: transparent; outline: none; font-weight: 700; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper:focus-within { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(139, 92, 255, .25); }

/* ---------- Ticket (Mi pedido) ---------- */
.ticket {
  position: sticky; top: calc(var(--header-h) + 18px);
  max-height: calc(100vh - var(--header-h) - 36px);
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 0 0 1px rgba(255, 62, 165, .10), 0 24px 70px -18px rgba(139, 92, 255, .55);
  overflow: hidden;
}
.ticket-head { display: flex; justify-content: space-between; align-items: flex-start; padding: 20px 22px 8px; }
.ticket-head h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; line-height: 1.1; }
.ticket-gems { color: var(--muted); font-size: .93rem; margin-top: 4px; }
.ticket-gems strong { color: var(--text); font-variant-numeric: tabular-nums; }
.ticket-lines { padding: 6px 22px 14px; overflow-y: auto; min-height: 70px; max-height: 240px; flex: 0 1 auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.ticket-lines .empty { padding: 8px 0; }
.line { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--line-soft); font-size: .92rem; }
.line:last-child { border-bottom: 0; }
.line-name { overflow-wrap: anywhere; font-weight: 600; }
.line-name small { color: var(--muted); font-weight: 500; margin-left: 4px; }
.line-gems { font-variant-numeric: tabular-nums; color: var(--muted); }
.line-x { width: 30px; height: 30px; display: grid; place-items: center; border: 0; background: transparent; color: #8e83b4; border-radius: 8px; }
.line-x:hover { color: var(--danger); background: rgba(255, 122, 144, .12); }
.line-x .ic { width: 15px; height: 15px; }

.tear { position: relative; height: 22px; flex: none; margin: 0; }
.tear::before { content: ""; position: absolute; left: 14px; right: 14px; top: 50%; border-top: 2px dashed var(--line); }
.tear::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 22px; background:
  radial-gradient(circle 11px at 0 50%, var(--bg) 98%, transparent 100%) left / 11px 22px no-repeat,
  radial-gradient(circle 11px at 100% 50%, var(--bg) 98%, transparent 100%) right / 11px 22px no-repeat; }

.quote { padding: 6px 22px 22px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.quote h4 { font-size: .95rem; font-weight: 700; margin-bottom: 12px; color: var(--muted); }
.power { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.power legend, .direct label, .agent label { display: block; font-size: .86rem; font-weight: 700; margin-bottom: 7px; padding: 0; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; }
.seg label { position: relative; margin: 0; }
.seg input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.seg span { display: block; padding: 10px 12px; text-align: center; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); font-weight: 700; font-size: .93rem; line-height: 1.25; transition: border-color .15s, background .15s; }
.seg small { display: block; color: var(--muted); font-size: .76rem; font-weight: 500; }
.seg input:checked + span { border-color: var(--magenta); background: rgba(255, 62, 165, .13); box-shadow: 0 0 0 1px var(--magenta) inset; }
.seg input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.direct { margin-bottom: 16px; }
.direct-input { display: flex; align-items: center; gap: 6px; }
.direct-input input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); outline: none; font-weight: 700; font-variant-numeric: tabular-nums; }
.direct-input input:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(139, 92, 255, .25); }
.direct-input input[aria-invalid="true"] { border-color: var(--danger); }
.presets { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.preset { height: 36px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font-weight: 700; font-size: .86rem; transition: background .12s, border-color .12s; }
.preset:hover { background: rgba(139, 92, 255, .2); border-color: var(--violet); }
.hint { margin-top: 8px; color: #8e83b4; font-size: .8rem; }
.hint.is-error { color: var(--danger); }

.total { padding: 14px 16px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line-soft); margin-bottom: 14px; }
.total-label { display: block; color: var(--muted); font-size: .86rem; font-weight: 600; }
.total-usd { display: block; font-family: var(--font-display); font-size: 2.7rem; font-weight: 700; line-height: 1.1; color: var(--gold); font-variant-numeric: lining-nums tabular-nums; margin: 2px 0; }
.total-note { display: block; color: var(--muted); font-size: .82rem; }

.agent { margin-bottom: 14px; }
.agent select { width: 100%; height: 46px; padding: 0 12px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); outline: none; font-weight: 600; }
.agent select:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(139, 92, 255, .25); }
.actions-row { display: flex; gap: 8px; margin-top: 8px; }
.actions-row .btn-ghost { flex: 1; }

/* ---------- Secciones de servicios ---------- */
.band { padding: 84px 0; border-top: 1px solid var(--line-soft); }
.band-alt { background: linear-gradient(180deg, rgba(40, 26, 70, .45), rgba(40, 26, 70, .18)); }
.sec-head { max-width: 62ch; margin-bottom: 34px; }
.sec-head h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.1; }
.sec-head p { color: var(--muted); margin-top: 10px; }

.kvk {
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  padding: 28px 32px; margin-bottom: 36px; border-radius: 20px;
  background: linear-gradient(120deg, rgba(246, 190, 79, .16), rgba(255, 62, 165, .12) 60%, rgba(139, 92, 255, .14));
  border: 1px solid rgba(246, 190, 79, .55);
}
.kvk h3 { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.15; }
.kvk ul { margin-top: 10px; color: var(--muted); display: grid; gap: 4px; }
.kvk li { display: flex; gap: 8px; align-items: center; }
.kvk li .ic { color: var(--gold); width: 16px; height: 16px; }
.kvk-price { text-align: right; }
.kvk-price b { display: block; font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--gold); line-height: 1; }
.kvk-price span { display: block; color: var(--muted); font-size: .86rem; margin: 4px 0 12px; }

.lists { display: grid; gap: 22px; }
.lists.three { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.plist-box { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 18px; padding: 22px 22px 14px; }
.plist-box.is-featured { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(246, 190, 79, .3), 0 22px 60px -30px rgba(246, 190, 79, .5); background: linear-gradient(170deg, rgba(246, 190, 79, .09), var(--surface) 55%); }
.plist-box h3 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 4px; }
.plist-box .sub { color: var(--muted); font-size: .86rem; margin-bottom: 10px; }
.plist li { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; }
.plist .nm { font-weight: 600; }
.plist .nm small { color: var(--muted); font-weight: 500; margin-left: 4px; }
.plist .dots { flex: 1; min-width: 14px; border-bottom: 2px dotted var(--line); transform: translateY(-4px); }
.plist .pr { font-weight: 800; color: var(--gold); font-variant-numeric: tabular-nums; white-space: nowrap; }
.plist .pr.ask { color: var(--muted); font-weight: 600; }
.plist .bonus { color: var(--muted); font-size: .82rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.plist li.rowlink { cursor: pointer; border-radius: 8px; margin: 0 -8px; padding: 9px 8px; transition: background .12s; }
.plist li.rowlink:hover { background: rgba(139, 92, 255, .13); }
.box-cta { margin: 10px 0 8px; }

.bots { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: start; }
.bots h3 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 14px; }
.bot-features ul { display: grid; gap: 4px; }
.bot-features li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-weight: 600; }
.bot-features li .ic { color: var(--magenta); margin-top: 2px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: 18px; background: var(--surface); }
.plans { width: 100%; border-collapse: collapse; min-width: 440px; }
.plans th, .plans td { padding: 0; text-align: center; border-bottom: 1px solid var(--line-soft); }
.plans thead th { padding: 14px 8px; font-size: .92rem; color: var(--muted); font-weight: 700; }
.plans tbody th { padding: 0 16px; text-align: left; font-weight: 700; white-space: nowrap; }
.plans tr:last-child > * { border-bottom: 0; }
.plan-btn { width: 100%; height: 58px; border: 0; background: transparent; font-weight: 800; font-size: 1.05rem; font-variant-numeric: tabular-nums; color: var(--text); transition: background .12s; }
.plan-btn:hover { background: rgba(139, 92, 255, .18); }
.plan-btn[aria-pressed="true"] { background: linear-gradient(135deg, rgba(255, 62, 165, .3), rgba(139, 92, 255, .34)); color: #fff; box-shadow: inset 0 0 0 2px var(--magenta); }
.plan-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; padding: 16px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-soft); }
.plan-summary p { font-weight: 600; }
.plan-summary b { color: var(--gold); font-family: var(--font-display); font-size: 1.5rem; margin-left: 6px; }

.trackers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tracker { display: flex; flex-direction: column; padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line-soft); position: relative; overflow: hidden; }
.tracker::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--t, var(--violet)); }
.tracker h3 { font-family: var(--font-display); font-size: 1.5rem; }
.tracker .price { font-family: var(--font-display); font-size: 2.5rem; color: var(--gold); line-height: 1.1; margin: 6px 0 2px; }
.tracker .scan { color: var(--muted); font-size: .9rem; }
.tracker .scan b { color: var(--text); }
.tracker .kvk-opt { display: flex; align-items: center; gap: 10px; margin: 16px 0; padding: 12px 0; border-top: 1px solid var(--line-soft); font-size: .9rem; font-weight: 600; cursor: pointer; }
.tracker .kvk-opt input { width: 20px; height: 20px; accent-color: var(--magenta); flex: none; }
.tracker .sum { margin-top: auto; }
.tracker .sum small { display: block; color: var(--muted); margin-bottom: 8px; font-size: .85rem; }
.fine { color: #8e83b4; font-size: .88rem; margin-top: 22px; }

.agents { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sub-head { font-family: var(--font-display); font-size: 1.35rem; margin: 0 0 14px; }
.agents + .sub-head { margin-top: 38px; }
.send-hint { margin: 10px 0 0; line-height: 1.4; }


/* ---------- Equipo: avatares, asesores y dueño ---------- */
.avatar { position: relative; display: inline-block; flex: none; }
.avatar .ring {
  display: block; padding: 4px; border-radius: 50%;
  background: conic-gradient(from 210deg, var(--magenta), var(--violet), var(--magenta));
  box-shadow: 0 10px 34px -10px rgba(255, 62, 165, .65);
}
.avatar img { display: block; border-radius: 50%; object-fit: cover; background: var(--surface-2); border: 3px solid var(--bg); }
.avatar-md img { width: 112px; height: 112px; }
.avatar-lg img { width: 160px; height: 160px; }
.avatar .badge-ic {
  position: absolute; right: 2px; bottom: 4px; width: 32px; height: 32px; display: grid; place-items: center;
  border-radius: 50%; background: linear-gradient(135deg, #ffd978, var(--gold)); color: #3a2400; border: 3px solid var(--bg);
}
.avatar .badge-ic svg { width: 16px; height: 16px; }
.avatar-lg .badge-ic { width: 42px; height: 42px; right: 6px; bottom: 8px; }
.avatar-lg .badge-ic svg { width: 21px; height: 21px; }
.avatar.is-owner .ring { background: conic-gradient(from 200deg, #ffe39a, var(--gold), #b07a1c, var(--gold), #ffe39a); box-shadow: 0 14px 50px -12px rgba(246, 190, 79, .8); }

.place { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .9rem; font-weight: 600; }
.flag { width: 24px; height: 16px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); flex: none; }
.role { font-size: .84rem; font-weight: 700; color: var(--muted); }

.agent-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 28px 22px 22px; border-radius: 20px; background: linear-gradient(170deg, var(--surface-2), var(--surface)); border: 1px solid var(--line-soft); transition: transform .15s, border-color .15s; }
.agent-card:hover { transform: translateY(-3px); border-color: var(--violet); }
.agent-card .avatar { margin-bottom: 6px; }
.agent-card h3 { font-family: var(--font-display); font-size: 1.55rem; line-height: 1.1; }
.agent-card .role { color: var(--gold); }
.agent-card p { color: var(--muted); font-variant-numeric: tabular-nums; }
.agent-card .btn { margin-top: 10px; }

.owner-card {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 22px 36px;
  padding: 34px 40px; border-radius: 26px; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, rgba(246, 190, 79, .16), rgba(255, 62, 165, .08) 45%, var(--surface) 80%);
  border: 1px solid rgba(246, 190, 79, .6);
  box-shadow: 0 0 0 1px rgba(246, 190, 79, .18), 0 34px 90px -40px rgba(246, 190, 79, .55);
}
.owner-card::before { content: ""; position: absolute; z-index: -1; right: -120px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(246, 190, 79, .22), transparent 65%); }
.owner-body { display: grid; gap: 6px; justify-items: start; }
.owner-body .role { color: var(--gold); font-size: .9rem; }
.owner-body h3 { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; }
.owner-num { font-size: 1.15rem; font-weight: 700; font-variant-numeric: tabular-nums; margin-top: 4px; }
.owner-note { color: var(--muted); max-width: 52ch; margin-top: 6px; font-size: .95rem; }
.owner-btn { min-height: 54px; padding: 0 28px; font-size: 1.02rem; }

@media (max-width: 860px) {
  .owner-card { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 30px 22px; }
  .owner-body { justify-items: center; }
  .owner-btn { width: 100%; }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line-soft); padding: 34px 0 40px; background: rgba(0, 0, 0, .18); }
.footer-row { display: flex; gap: 28px; align-items: center; }
.footer-row img { height: 40px; width: auto; flex: none; }
.footer-row p { color: #8e83b4; font-size: .85rem; max-width: 84ch; }
.footer-row p:first-line { color: var(--text); font-weight: 600; }
.noscript { padding: 16px 24px; background: var(--gold); color: #1a1030; font-weight: 700; text-align: center; }

/* ---------- Móvil: barra inferior + hoja ---------- */
.sheet-bar { display: none; }
.backdrop { position: fixed; inset: 0; background: rgba(5, 2, 14, .72); z-index: 60; }
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 24px); opacity: 0; pointer-events: none;
  z-index: 90; background: #f6f2ff; color: #1a1030; padding: 12px 18px; border-radius: 12px; font-weight: 700; font-size: .92rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .45); transition: opacity .2s, transform .2s; max-width: calc(100vw - 32px);
  display: flex; align-items: center; gap: 14px;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast button { background: none; border: 0; color: #6a3fe0; font-weight: 800; text-decoration: underline; padding: 4px; }

@media (max-width: 1060px) {
  .auth-desktop .btn-ghost { display: none; }
}

@media (max-width: 1100px) {
  .trackers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lists.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 979px) {
  .calc { grid-template-columns: minmax(0, 1fr); }
  .only-mobile { display: grid; }
  .ticket {
    position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 70;
    max-height: 90vh; border-radius: 22px 22px 0 0; border-bottom: 0;
    transform: translateY(105%); visibility: hidden;
    transition: transform .28s cubic-bezier(.2, .8, .2, 1), visibility 0s .28s;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  body.sheet-open .ticket { transform: translateY(0); visibility: visible; transition: transform .28s cubic-bezier(.2, .8, .2, 1), visibility 0s; }
  body.sheet-open { overflow: hidden; }
  .tear::after { background:
    radial-gradient(circle 11px at 0 50%, #1e1337 98%, transparent 100%) left / 11px 22px no-repeat,
    radial-gradient(circle 11px at 100% 50%, #1e1337 98%, transparent 100%) right / 11px 22px no-repeat; }
  .ticket-lines { max-height: 180px; }
  .sheet-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px));
    background: rgba(24, 14, 44, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
  }
  .sheet-bar .sb-gems { display: block; font-size: .82rem; color: var(--muted); }
  .sheet-bar .sb-gems strong { color: var(--text); }
  .sheet-bar .sb-usd { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--gold); line-height: 1.1; }
  body { padding-bottom: 76px; }
  .toast { bottom: 96px; }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .wrap { padding: 0 18px; }
  .auth-desktop { display: none; }
  .auth-mobile { display: flex; flex-direction: column; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
  .menu-toggle { display: block; margin-left: auto; }
  .nav {
    position: absolute; left: 0; right: 0; top: var(--header-h); flex-direction: column; gap: 0; margin: 0;
    padding: 8px 18px 16px; background: rgba(18, 10, 34, .98); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 8px; border-radius: 10px; font-size: 1rem; }
  .hero { padding: 36px 0 18px; }
  .band { padding: 60px 0; }
  .bots { grid-template-columns: 1fr; gap: 32px; }
  .kvk { grid-template-columns: 1fr; padding: 24px; }
  .kvk-price { text-align: left; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .lists.three, .trackers, .agents { grid-template-columns: 1fr; }
  .hero-featured { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1 1 100%; }
  .trust-list { justify-content: flex-start; }
  .cols { display: none; }
  .row { grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 3px; padding: 12px 14px; }
  .row-name { grid-column: 1; grid-row: 1; font-size: .95rem; }
  .row-gems { grid-column: 1; grid-row: 2; text-align: left; display: flex; align-items: center; gap: 8px; }
  .row-gems .g { font-size: .9rem; }
  .row-usd { display: inline; }
  .stepper { grid-column: 2; grid-row: 1 / span 2; align-self: center; justify-self: end; }
  .stepper button { width: 40px; height: 42px; }
  .stepper input { width: 46px; height: 42px; }
  .cat-head { padding: 14px 16px; }
  .toolbar { margin: 0 -6px 14px; padding: 10px 6px 8px; }
}

@media (max-width: 400px) {
  .wrap { padding: 0 14px; }
  .hero h1 { font-size: 2.7rem; }
  .total-usd { font-size: 2.3rem; }
  .ticket-head, .ticket-lines, .quote { padding-left: 16px; padding-right: 16px; }
  .plan-summary { padding: 14px; }
  .kvk { padding: 20px; }
  .toast { font-size: .86rem; }
}

@media (min-width: 1500px) {
  :root { --wrap: 1360px; }
  .calc { grid-template-columns: minmax(0, 1fr) 420px; }
}

@media (max-height: 640px) and (min-width: 980px) {
  .ticket-lines { max-height: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
