
/* =========================================================
   NUVORELIX V10.60 · CONVERSION + MOTION
   Home directo, catálogo ligero, intro premium y scroll reveal
   ========================================================= */

:root{
  --nx60-gold:#d5ae43;
  --nx60-gold-soft:rgba(213,174,67,.12);
  --nx60-ink:#16140f;
  --nx60-muted:#77736a;
  --nx60-line:rgba(32,28,18,.12);
  --nx60-surface:#fffefa;
  --nx60-surface-2:#f6f3ea;
  --nx60-dark:#0c0b09;
  --nx60-dark-2:#15130f;
}
html[data-theme="dark"]{
  --nx60-ink:#f7f3e8;
  --nx60-muted:#aaa394;
  --nx60-line:rgba(226,192,95,.14);
  --nx60-surface:#11100d;
  --nx60-surface-2:#181611;
}

/* Intro */
.nx60-intro{
  position:fixed; inset:0; z-index:99999;
  display:grid; place-items:center;
  background:#090806; color:#f6f0df;
  overflow:hidden;
}
.nx60-intro.skip{display:none}
.nx60-intro-lines{position:absolute;inset:0;display:grid;grid-template-columns:repeat(3,1fr);opacity:.25}
.nx60-intro-lines i{border-right:1px solid rgba(213,174,67,.16);transform:scaleY(0);transform-origin:top;transition:transform .7s cubic-bezier(.2,.8,.2,1)}
.nx60-intro.play .nx60-intro-lines i{transform:scaleY(1)}
.nx60-intro-lines i:nth-child(2){transition-delay:.08s}.nx60-intro-lines i:nth-child(3){transition-delay:.16s}
.nx60-intro-core{position:relative;display:flex;align-items:center;gap:18px;opacity:0;transform:translateY(18px) scale(.98);transition:opacity .55s ease .18s,transform .65s cubic-bezier(.2,.8,.2,1) .18s}
.nx60-intro.play .nx60-intro-core{opacity:1;transform:none}
.nx60-intro-core img{width:62px;height:62px;object-fit:contain;filter:drop-shadow(0 15px 35px rgba(213,174,67,.15))}
.nx60-intro-core div{display:grid;gap:2px}
.nx60-intro-core strong{font:800 clamp(1.65rem,4vw,3rem)/1 "Plus Jakarta Sans",sans-serif;letter-spacing:.12em}
.nx60-intro-core span{font:600 .66rem/1 "IBM Plex Mono",monospace;letter-spacing:.28em;color:#bda45f}
.nx60-intro-meta{position:absolute;bottom:34px;display:flex;gap:28px;font:600 .64rem/1 "IBM Plex Mono",monospace;letter-spacing:.16em;color:#786d51;opacity:0;transform:translateY(12px);transition:.5s ease .45s}
.nx60-intro.play .nx60-intro-meta{opacity:1;transform:none}
.nx60-intro.exit{opacity:0;transform:scale(1.015);transition:opacity .4s ease,transform .55s ease;pointer-events:none}
body.nx60-intro-lock{overflow:hidden}

/* Hero */
body.cm-home-reboot .nx60-hero{
  margin:18px auto 10px;
  max-width:1480px;
  min-height:min(560px,66vh);
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(340px,.88fr);
  border:1px solid var(--nx60-line);
  border-radius:30px;
  overflow:hidden;
  background:var(--nx60-surface);
}
.nx60-hero-copy{padding:clamp(34px,4.8vw,64px);display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.nx60-eyebrow,.nx60-section-title>span,.nx60-card-kicker{
  font:700 .7rem/1.2 "IBM Plex Mono",monospace;
  letter-spacing:.13em;
  color:var(--nx60-gold);
}
.nx60-hero h1{
  max-width:800px;
  margin:14px 0 18px;
  color:var(--nx60-ink);
  font:800 clamp(2.8rem,5.2vw,5.55rem)/.92 "Plus Jakarta Sans",sans-serif;
  letter-spacing:-.072em;
}
.nx60-hero h1 em{display:block;font-style:normal;color:var(--nx60-gold)}
.nx60-hero-copy>p{
  max-width:620px;
  margin:0;
  color:var(--nx60-muted);
  font-size:clamp(.98rem,1.15vw,1.12rem);
  line-height:1.6;
}
.nx60-hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:30px}
.nx60-btn{
  min-height:50px;
  display:inline-flex;align-items:center;justify-content:center;gap:18px;
  padding:0 20px;border:1px solid var(--nx60-line);border-radius:14px;
  color:var(--nx60-ink);text-decoration:none;font-weight:800;font-size:.92rem;
  transition:transform .2s ease,border-color .2s ease,background .2s ease;
}
.nx60-btn:hover{transform:translateY(-2px)}
.nx60-btn.primary{background:var(--nx60-gold);border-color:var(--nx60-gold);color:#161207}
.nx60-btn.secondary{background:transparent}
.nx60-trustline{display:flex;gap:18px;flex-wrap:wrap;margin-top:28px;color:var(--nx60-muted);font-size:.78rem}
.nx60-trustline span{white-space:nowrap}

.nx60-hero-visual{
  min-height:100%;
  max-width:560px;
  position:relative;
  display:grid;
  grid-template-rows:auto 1fr auto;
  padding:28px;
  background:
    radial-gradient(circle at 70% 42%,rgba(213,174,67,.16),transparent 30%),
    linear-gradient(145deg,#0c0b09,#15120c);
  color:#f5efdf;
  border-left:1px solid rgba(213,174,67,.15);
}
.nx60-visual-top{display:flex;justify-content:space-between;align-items:center;font:600 .62rem/1 "IBM Plex Mono",monospace;letter-spacing:.12em;color:#83765a}
.nx60-visual-top i{font-style:normal;color:#d5ae43}
.nx60-visual-brand{align-self:center;display:grid;place-items:center;gap:22px;text-align:center}
.nx60-visual-brand img{width:min(150px,28vw);filter:drop-shadow(0 22px 45px rgba(213,174,67,.15));transition:transform .7s cubic-bezier(.2,.8,.2,1)}
.nx60-hero:hover .nx60-visual-brand img{transform:translateY(-5px) rotate(-1.5deg) scale(1.02)}
.nx60-visual-brand strong{font-size:clamp(1.05rem,1.5vw,1.55rem);letter-spacing:-.04em}
.nx60-visual-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid rgba(213,174,67,.14)}
.nx60-visual-grid span{padding:17px 8px 0;text-align:center;font-size:.68rem;color:#9a907a;border-right:1px solid rgba(213,174,67,.1)}
.nx60-visual-grid span:last-child{border-right:0}

/* Sections */
.nx60-buy-model,.nx60-category-section,.nx60-how{margin:54px auto;max-width:1480px}
.nx60-section-title{max-width:800px;margin-bottom:24px}
.nx60-section-title.compact{margin-bottom:18px}
.nx60-section-title h2{margin:8px 0 8px;color:var(--nx60-ink);font-size:clamp(2rem,4.8vw,4.6rem);line-height:.98;letter-spacing:-.06em}
.nx60-section-title p{max-width:650px;margin:0;color:var(--nx60-muted);line-height:1.6}

.nx60-buy-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.nx60-buy-card{
  min-height:340px;
  padding:24px;
  display:grid;
  grid-template-rows:auto 1fr auto auto;
  gap:26px;
  border:1px solid var(--nx60-line);
  border-radius:24px;
  background:var(--nx60-surface);
  color:var(--nx60-ink);
  overflow:hidden;
  position:relative;
}
.nx60-buy-card.custom{background:linear-gradient(145deg,#17130d,#0f0d09);color:#f6f0df;border-color:rgba(213,174,67,.24);box-shadow:0 18px 50px rgba(0,0,0,.16)}
.nx60-buy-number{font:700 .74rem/1 "IBM Plex Mono",monospace;color:var(--nx60-gold)}
.nx60-buy-card h3{margin:8px 0 9px;font-size:clamp(1.55rem,2.2vw,2.4rem);letter-spacing:-.055em;color:var(--nx60-ink)}
.nx60-buy-card.custom h3,.nx60-buy-card.custom .nx60-card-kicker,.nx60-buy-card.custom>a{color:#f6f0df}
.nx60-buy-card p{max-width:540px;margin:0;color:var(--nx60-muted);line-height:1.6}
.nx60-buy-card.custom p{color:#a8a08f}
.nx60-buy-card ul{margin:0;padding:0;list-style:none;display:grid;gap:9px;color:var(--nx60-muted);font-size:.86rem}
.nx60-buy-card.custom ul{color:#b7ad98}
.nx60-buy-card li::before{content:"✓";color:var(--nx60-gold);margin-right:9px}
.nx60-buy-card>a{display:flex;justify-content:space-between;align-items:center;padding-top:18px;border-top:1px solid var(--nx60-line);color:inherit;text-decoration:none;font-weight:800}
.nx60-buy-card.custom>a{border-color:rgba(213,174,67,.16)}

.nx60-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.nx60-category-grid a{
  min-height:94px;padding:16px;display:flex;flex-direction:column;justify-content:space-between;
  border:1px solid var(--nx60-line);border-radius:16px;background:var(--nx60-surface);
  color:var(--nx60-ink);text-decoration:none;transition:.2s ease;
}
.nx60-category-grid a:hover,.nx60-category-grid a.active{border-color:rgba(213,174,67,.55);background:var(--nx60-gold-soft);transform:translateY(-2px)}
.nx60-category-grid strong{font-size:.95rem}.nx60-category-grid small{color:var(--nx60-muted);font-size:.72rem}

/* Catalog made simpler */
body.cm-home-reboot .cm-catalog{margin-top:82px}
body.cm-home-reboot .nx-catalog-toolbar{align-items:center}
body.cm-home-reboot .nx-mobile-filter-button{display:inline-flex!important;align-items:center;gap:7px}
body.cm-home-reboot .cm-catalog-layout{display:block!important;padding-top:20px}
body.cm-home-reboot .cm-filter-panel{
  position:fixed!important;
  z-index:520!important;
  top:0!important;bottom:0!important;left:0!important;
  width:min(390px,92vw)!important;max-height:none!important;
  padding:22px!important;
  background:var(--nx60-surface)!important;
  transform:translateX(-105%)!important;
  transition:transform .28s cubic-bezier(.2,.8,.2,1)!important;
  overflow:auto!important;
  box-shadow:25px 0 70px rgba(0,0,0,.28)!important;
}
body.cm-home-reboot.cm-filter-open .cm-filter-panel{transform:translateX(0)!important}
body.cm-home-reboot .cm-filter-panel-head button{display:block!important}
body.cm-home-reboot .cm-filter-backdrop{
  position:fixed!important;z-index:510!important;inset:0!important;
  background:rgba(0,0,0,.48)!important;backdrop-filter:blur(3px);
}
body.cm-home-reboot.cm-filter-open .cm-filter-backdrop{display:block!important}
body.cm-home-reboot .cm-apply-filter{display:block!important;position:sticky;bottom:0}

body.cm-home-reboot .cm-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:1480px;margin-inline:auto}
body.cm-home-reboot .nx-product-card{
  border-radius:20px!important;
  border:1px solid var(--nx60-line)!important;
  background:var(--nx60-surface)!important;
  box-shadow:none!important;
  transition:transform .28s cubic-bezier(.2,.8,.2,1),border-color .25s ease,box-shadow .25s ease!important;
}
body.cm-home-reboot .nx-product-card:hover{transform:translateY(-5px)!important;border-color:rgba(213,174,67,.44)!important;box-shadow:0 20px 55px rgba(0,0,0,.08)!important}
body.cm-home-reboot .nx-product-media{height:200px!important}
.nx60-product-body{padding:18px!important}
.nx60-card-topline{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:10px;color:var(--nx60-muted);font:650 .66rem/1.2 "IBM Plex Mono",monospace;text-transform:uppercase;letter-spacing:.06em}
.nx60-card-topline b{color:var(--nx60-gold);font-weight:700}
.nx60-product-body h3{font-size:1.28rem!important;line-height:1.15;margin:0 0 8px!important}
.nx60-product-body .nx-product-description{
  height:auto!important;min-height:42px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
  overflow:hidden;color:var(--nx60-muted)!important;font-size:.83rem!important;line-height:1.5!important;
}
.nx60-card-bottom{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-top:20px;padding-top:15px;border-top:1px solid var(--nx60-line)}
.nx60-card-price{display:grid;gap:2px}.nx60-card-price small{color:var(--nx60-muted);font-size:.65rem}.nx60-card-price strong{font-size:1.22rem}.nx60-card-price del{font-size:.7rem;color:var(--nx60-muted)}
.nx60-card-rating{font-size:.72rem;color:var(--nx60-muted)}
.nx60-card-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:14px}
.nx60-card-actions a{min-height:42px;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;border-radius:11px;text-decoration:none;font-size:.78rem;font-weight:800;width:auto;min-width:0}
.nx60-card-primary{justify-content:center!important;background:var(--nx60-gold);color:#171207!important;flex:0 0 auto}
.nx60-card-demo{border:1px solid var(--nx60-line);color:var(--nx60-ink)!important;background:transparent;flex:0 0 auto}
body.cm-home-reboot .nx-card-labels,
body.cm-home-reboot .nx-capabilities,
body.cm-home-reboot .nx-card-foot,
body.cm-home-reboot .nx-card-actions .cm-card-compare{display:none!important}

/* How it works */
.nx60-how{padding:42px;border:1px solid var(--nx60-line);border-radius:26px;background:var(--nx60-surface)}
.nx60-how-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--nx60-line);border-bottom:1px solid var(--nx60-line)}
.nx60-how-grid article{padding:28px 26px;border-right:1px solid var(--nx60-line)}
.nx60-how-grid article:last-child{border-right:0}
.nx60-how-grid b{color:var(--nx60-gold);font:700 .7rem/1 "IBM Plex Mono",monospace}
.nx60-how-grid strong{display:block;margin:13px 0 7px;font-size:1.25rem}
.nx60-how-grid p{margin:0;color:var(--nx60-muted);font-size:.85rem;line-height:1.5}
.nx60-how-cta{display:flex;justify-content:space-between;gap:20px;align-items:center;padding-top:24px;color:var(--nx60-muted)}
.nx60-how-cta a{color:var(--nx60-ink);text-decoration:none;font-weight:800}

/* Premium scroll reveal */
body.cm-nova-ux .cm-reveal{
  opacity:0!important;
  transform:translateY(26px) scale(.99)!important;
  transition:
    opacity .62s cubic-bezier(.2,.8,.2,1),
    transform .7s cubic-bezier(.2,.8,.2,1)!important;
}
body.cm-nova-ux .cm-product-card.cm-reveal{transition-delay:calc(var(--nx-reveal-index,0) * 55ms)!important}
body.cm-nova-ux .cm-reveal.is-visible{opacity:1!important;transform:none!important}
.nx60-reveal{opacity:0;transform:translateY(30px);transition:opacity .65s cubic-bezier(.2,.8,.2,1),transform .75s cubic-bezier(.2,.8,.2,1);transition-delay:calc(var(--nx60-order,0) * 45ms)}
.nx60-reveal.nx60-visible{opacity:1;transform:none}
html:not(.nx60-page-ready) body.cm-home-landing .nx60-hero-copy>*{opacity:0;transform:translateY(18px)}
html.nx60-page-ready body.cm-home-landing .nx60-hero-copy>*{opacity:1;transform:none;transition:opacity .6s ease,transform .7s cubic-bezier(.2,.8,.2,1)}
html.nx60-page-ready body.cm-home-landing .nx60-hero-copy>*:nth-child(2){transition-delay:.08s}
html.nx60-page-ready body.cm-home-landing .nx60-hero-copy>*:nth-child(3){transition-delay:.14s}
html.nx60-page-ready body.cm-home-landing .nx60-hero-copy>*:nth-child(4){transition-delay:.20s}
html.nx60-page-ready body.cm-home-landing .nx60-hero-copy>*:nth-child(5){transition-delay:.26s}

/* Navbar: fewer links, more breathing room */
.nx60-nav{gap:5px!important}
.nx60-nav a{padding-inline:13px!important}

/* Mobile */
@media(max-width:1050px){
  body.cm-home-reboot .nx60-hero{grid-template-columns:1fr;min-height:auto;max-width:none}
  .nx60-hero-visual{min-height:360px;max-width:none;border-left:0;border-top:1px solid rgba(213,174,67,.15)}
  .nx60-category-grid{grid-template-columns:repeat(3,1fr)}
  body.cm-home-reboot .cm-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:none}
}
@media(max-width:720px){
  body.cm-home-reboot main.container.cm-page{display:block!important}
  body.cm-home-reboot .nx60-hero{margin-top:12px;border-radius:22px}
  .nx60-hero-copy{padding:42px 22px}
  .nx60-hero h1{font-size:clamp(3.2rem,15vw,5rem)}
  .nx60-hero-copy>p{font-size:.98rem}
  .nx60-hero-actions{display:grid;width:100%}.nx60-btn{width:100%}
  .nx60-trustline{gap:9px 14px}
  .nx60-hero-visual{min-height:360px;padding:22px}
  .nx60-visual-brand img{width:130px}
  .nx60-visual-grid{grid-template-columns:1fr}.nx60-visual-grid span{border-right:0;border-bottom:1px solid rgba(213,174,67,.1);padding:12px 4px}
  .nx60-buy-model,.nx60-category-section,.nx60-how{margin:42px 0;max-width:none}
  .nx60-buy-grid,.nx60-how-grid{grid-template-columns:1fr}
  .nx60-buy-card{min-height:unset;padding:22px}
  .nx60-category-grid{grid-template-columns:1fr 1fr}
  body.cm-home-reboot .cm-product-grid{grid-template-columns:1fr!important;max-width:none}
  body.cm-home-reboot .nx-product-media{height:210px!important}
  .nx60-how{padding:24px 18px}.nx60-how-grid article{border-right:0;border-bottom:1px solid var(--nx60-line);padding:22px 4px}.nx60-how-grid article:last-child{border-bottom:0}
  .nx60-how-cta{align-items:flex-start;flex-direction:column}
  .nx60-intro-core{gap:12px}.nx60-intro-core img{width:48px;height:48px}.nx60-intro-meta{gap:12px;bottom:24px;font-size:.54rem}
  .nx60-card-actions{align-items:stretch}
  .nx60-card-actions a{width:100%}
  /* override old mobile rule that disabled reveals */
  body.cm-nova-ux .cm-reveal{opacity:0!important;transform:translateY(20px)!important}
  body.cm-nova-ux .cm-reveal.is-visible{opacity:1!important;transform:none!important}
}
@media(max-width:430px){
  .nx60-category-grid{grid-template-columns:1fr}
  .nx60-card-actions{grid-template-columns:1fr}
  .nx60-intro-meta span:nth-child(2){display:none}
}

@media(prefers-reduced-motion:reduce){
  .nx60-intro{display:none!important}
  .nx60-reveal,.cm-reveal,
  html:not(.nx60-page-ready) body.cm-home-landing .nx60-hero-copy>*{
    opacity:1!important;transform:none!important;transition:none!important;
  }
}


/* V10.61 polish */
body.cm-home-reboot .cm-page,
body.cm-home-reboot .cm-catalog,
body.cm-home-reboot .nx-catalog-toolbar{max-width:1480px;margin-inline:auto}
body.cm-home-reboot .cm-page{padding-inline:18px}
body.cm-home-reboot .cm-product-card{overflow:hidden}
body.cm-home-reboot .cm-product-card .nx-product-layout{align-items:stretch}
body.cm-home-reboot .cm-product-card .nx-product-media-wrap{max-width:38%}
body.cm-home-reboot .cm-product-card .nx-product-body-wrap{padding:10px 0}
body.cm-home-reboot .cm-product-card .nx-product-body{display:flex;flex-direction:column;justify-content:center}
.nx60-buy-card.standard{background:linear-gradient(180deg,#fffdfa,#fbf6ea)}
.nx60-buy-card.custom::before{content:'';position:absolute;inset:auto -50px -50px auto;width:200px;height:200px;border-radius:50%;background:radial-gradient(circle,rgba(213,174,67,.18),transparent 70%);pointer-events:none}
.nx60-buy-card.standard::before{content:'';position:absolute;inset:0 0 auto auto;width:140px;height:140px;background:radial-gradient(circle,rgba(213,174,67,.08),transparent 70%);pointer-events:none}
.nx60-buy-card > *{position:relative;z-index:1}
.nx60-buy-card.custom p,.nx60-buy-card.custom ul{color:#d2cab8}
.nx60-buy-card.custom li::before{color:#f1c859}
.nx60-buy-card a span{opacity:.75}
.nx60-card-topline{margin-bottom:8px}
.nx60-product-body h3 a{text-decoration:none;color:inherit}
.nx60-card-actions .nx60-card-primary span{display:none}
body.cm-home-reboot .nx-product-card .cm-product-link{text-decoration:none}
@media(min-width:1280px){
  body.cm-home-reboot .cm-product-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:980px){
  body.cm-home-reboot .cm-product-card .nx-product-layout{display:block}
  body.cm-home-reboot .cm-product-card .nx-product-media-wrap{max-width:none}
  .nx60-hero h1{max-width:14ch}
}
