/*
Theme Name: RevAIsor
Author: RevAIsor
Author URI: revaisor.com
Description: Responsive Bare Bones framework based on Dave Gamache's getskeleton.com 
Version: 1.9
License: http://www.opensource.org/licenses/mit-license.php.
Tags: Responsive, grid, mobile, framework, bare-bones, white, minimal

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500&display=swap');

body {
  --bg:#0B0A18; --panel:#100E24; --violet:#5B3CF0; --violet-lt:#9B87F5;
  --green:#2FBF64; --text:#fff; --muted:#A9A6C4; --dim:#6E6A8C;
  --line:rgba(255,255,255,.09);
  /* used by the blog cards (assets/blog.css) when they render outside .rvb */
  --panel-2:#15122E; --line-2:rgba(255,255,255,.14);
  --font:'Poppins',system-ui,sans-serif; --mono:'IBM Plex Mono',monospace;
  --max:1240px; --pad:clamp(20px,5vw,64px); --gap:clamp(90px,11vw,150px);
  margin:0; /* the UA default 8px used to be masked by a width:100vw full-bleed hack */
  background:var(--bg); color:var(--text); font-family:var(--font);
  font-size:16px; line-height:1.7; overflow-x:clip; -webkit-font-smoothing:antialiased;
}
/* Nothing may scroll the page sideways. `clip` (not `hidden`) so overflow-y stays
   visible and no scroll container is created — the sticky nav keeps sticking. */
.rev-landing{overflow-x:clip}
.rev-landing *,.rev-landing *::before,.rev-landing *::after{box-sizing:border-box;margin:0;padding:0}
.rev-landing img{max-width:100%;display:block}
.rev-landing button{font:inherit;color:inherit;background:none;border:none;cursor:pointer}
.rev-landing a{color:inherit;text-decoration:none}
.rev-landing ul{list-style:none}
.rev-landing :focus-visible{outline:2px solid var(--violet-lt);outline-offset:3px;border-radius:4px}
.rev-landing .wrap{max-width:var(--max);margin:0 auto;padding:0 var(--pad)}

.rev-landing .eyebrow{font-family:var(--mono);font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);display:flex;align-items:center;gap:16px}
.rev-landing .eyebrow .n{color:var(--dim)}
.rev-landing .eyebrow::before{content:'';width:0;height:1px;background:var(--line);transition:width .9s cubic-bezier(.22,1,.36,1) .15s;order:1}
.rev-landing .eyebrow.in::before{width:52px}
.rev-landing .eyebrow span:last-child{order:2}
.rev-landing .h2{font-size:clamp(36px,5vw,58px);font-weight:800;line-height:1.14;letter-spacing:-.02em;padding-bottom:.06em}
.rev-landing .lead{color:var(--muted);max-width:46ch}
.rev-landing .lead+.lead{margin-top:20px}

.rev-landing .reveal{opacity:0;transform:translateY(26px);transition:opacity .8s cubic-bezier(.22,1,.36,1),transform .8s cubic-bezier(.22,1,.36,1)}
.rev-landing .reveal.in{opacity:1;transform:none}
.rev-landing .reveal[data-d="1"]{transition-delay:.09s}
.rev-landing .reveal[data-d="2"]{transition-delay:.18s}
.rev-landing .reveal[data-d="3"]{transition-delay:.27s}

.rev-landing .btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;font-weight:700;font-size:15px;padding:14px 28px;border-radius:10px;transition:transform .22s cubic-bezier(.22,1,.36,1),background .2s,border-color .2s,box-shadow .3s;white-space:nowrap}
.rev-landing .btn--primary{background:var(--violet);color:#fff}
.rev-landing .btn--primary:hover{background:#6d51f5;box-shadow:0 10px 34px -10px rgba(91,60,240,.85);transform:translateY(-1px)}
.rev-landing .btn--ghost{border:1px solid rgba(255,255,255,.22);color:#fff}
.rev-landing .btn--ghost:hover{border-color:rgba(255,255,255,.55);background:rgba(255,255,255,.06);transform:translateY(-1px)}
.rev-landing .btn__arrow{transition:transform .25s cubic-bezier(.22,1,.36,1)}
.rev-landing .btn:hover .btn__arrow{transform:translateX(4px)}

/* ---------- NAV ---------- */
.rev-landing .nav{position:sticky;top:0;z-index:60;background:rgba(11,10,24,.7);backdrop-filter:blur(16px) saturate(140%);-webkit-backdrop-filter:blur(16px) saturate(140%);border-bottom:1px solid transparent;transition:border-color .3s,background .3s}
.rev-landing .nav.scrolled{border-bottom-color:var(--line);background:rgba(11,10,24,.93)}
.rev-landing .nav__prog{position:absolute;left:0;bottom:-1px;height:2px;width:0;background:linear-gradient(90deg,var(--violet),var(--violet-lt),var(--green));transition:width .12s linear}
.rev-landing .nav__in{max-width:var(--max);margin:0 auto;padding:12px var(--pad);display:flex;align-items:center;justify-content:space-between;gap:24px}
.rev-landing .nav__logo{display:flex;align-items:center;gap:10px}
/* Logo drives nav height (64 > 52px button), so nav = 64+24 = 88px.
   Keep [id]{scroll-margin-top} below in sync with that. */
.rev-landing .nav__logo img{height:64px;width:auto}
.rev-landing .rev-wordmark{font-weight:800;font-size:26px;letter-spacing:-.5px;color:#fff;line-height:1}
.rev-landing .rev-wordmark i{font-style:normal;color:var(--violet)}
.rev-landing .nav__links{display:flex;align-items:center;gap:34px}
.rev-landing .nav__links a:not(.btn){color:var(--muted);font-size:15px;font-weight:500;position:relative;padding:4px 0;transition:color .2s}
.rev-landing .nav__links a:not(.btn)::after{content:'';position:absolute;left:0;bottom:-2px;width:0;height:1.5px;background:var(--violet-lt);transition:width .28s cubic-bezier(.22,1,.36,1)}
.rev-landing .nav__links a:not(.btn):hover,.rev-landing .nav__links a.active{color:#fff}
.rev-landing .nav__links a:not(.btn):hover::after,.rev-landing .nav__links a.active::after{width:100%}
.rev-landing .burger{display:none;padding:8px}
.rev-landing .burger span{display:block;width:22px;height:2px;background:#fff;margin:5px 0;transition:transform .3s,opacity .3s}
.rev-landing .nav.open .burger span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.rev-landing .nav.open .burger span:nth-child(2){opacity:0}
.rev-landing .nav.open .burger span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* ---------- HERO (C: esfera a la derecha) ---------- */
.rev-landing--hero-right .hero__bg{background:radial-gradient(70% 100% at 80% 50%,#33257F 0%,#201862 34%,#0B0A18 68%)}
.rev-landing--hero-right .hero__grid{mask-image:linear-gradient(90deg,#000 0%,transparent 50%);-webkit-mask-image:linear-gradient(90deg,#000 0%,transparent 50%)}

/* ---------- HERO ASIMÉTRICO (A) ---------- */
.rev-landing .hero{position:relative;overflow:hidden;min-height:min(92vh,880px);display:flex;align-items:center}
.rev-landing .hero__bg{position:absolute;inset:0;z-index:0;background:radial-gradient(90% 120% at 82% 50%,#3B2AAC 0%,#241A6E 34%,#0B0A18 68%)}
.rev-landing .hero__canvas{position:absolute;inset:0;z-index:1;pointer-events:none}
.rev-landing .hero__canvas canvas{width:100%;height:100%;display:block}
.rev-landing .hero__grid{position:absolute;inset:0;z-index:1;background-image:linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px);background-size:70px 70px;mask-image:linear-gradient(90deg,#000 0%,transparent 55%);-webkit-mask-image:linear-gradient(90deg,#000 0%,transparent 55%)}
.rev-landing .hero__wrap{position:relative;z-index:2;max-width:var(--max);margin:0 auto;padding:0 var(--pad);width:100%}
.rev-landing .hero__inner{max-width:600px}
.rev-landing .hero__badge{display:inline-flex;align-items:center;gap:10px;padding:9px 20px;border:1px solid rgba(255,255,255,.24);border-radius:999px;background:rgba(255,255,255,.08);backdrop-filter:blur(8px);font-size:14px;font-weight:500;margin-bottom:clamp(24px,3vw,34px)}
.rev-landing .dot{width:8px;height:8px;border-radius:50%;background:var(--green);flex:none}
.rev-landing .dot--pulse{animation:rev-pulse 2.2s ease-in-out infinite}
@keyframes rev-pulse{0%,100%{box-shadow:0 0 0 0 rgba(47,191,100,.6)}70%{box-shadow:0 0 0 7px rgba(47,191,100,0)}}
.rev-landing .hero__title{font-size:clamp(44px,6vw,82px);font-weight:800;line-height:1.08;letter-spacing:-.025em;margin-bottom:clamp(22px,3vw,30px);padding-bottom:.04em}
.rev-landing .hero__title em{font-style:normal;background:linear-gradient(100deg,#DCD4FF,var(--violet-lt) 45%,#6E52FF);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent}
.rev-landing .hero__sub{font-size:clamp(17px,1.5vw,20px);color:rgba(255,255,255,.8);max-width:40ch;margin-bottom:clamp(30px,4vw,42px)}
.rev-landing .hero__ctas{display:flex;gap:14px;flex-wrap:wrap}
.rev-landing .hero__trust{display:flex;flex-wrap:wrap;gap:14px 28px;margin-top:clamp(38px,5vw,56px)}
.rev-landing .hero__trust li{display:flex;align-items:center;gap:8px;font-size:13.5px;color:rgba(255,255,255,.8)}
.rev-landing .hero__trust svg{color:var(--green);flex:none}

/* ---------- STRIP DE LOGOS/CLAIMS ---------- */
.rev-landing .strip{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--panel)}
.rev-landing .strip__in{max-width:var(--max);margin:0 auto;padding:26px var(--pad);display:flex;flex-wrap:wrap;justify-content:space-between;gap:20px 40px;align-items:center}
.rev-landing .strip__item{font-family:var(--mono);font-size:12.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);display:flex;align-items:center;gap:10px}
.rev-landing .strip__item svg{color:var(--violet-lt);flex:none}

/* ---------- STATS (banda horizontal) ---------- */
.rev-landing .stats{padding:var(--gap) 0}
.rev-landing .stats__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);border:1px solid var(--line);border-radius:16px;overflow:hidden}
.rev-landing .stat{background:var(--bg);padding:clamp(30px,3.4vw,46px) clamp(22px,2.4vw,34px);transition:background .35s}
.rev-landing .stat:hover{background:#0f0d22}
.rev-landing .stat__label{font-family:var(--mono);font-size:11.5px;letter-spacing:.15em;text-transform:uppercase;margin-bottom:16px}
.rev-landing .stat__num{font-size:clamp(40px,4.4vw,58px);font-weight:800;line-height:1.05;letter-spacing:-.03em;margin-bottom:14px;font-variant-numeric:tabular-nums}
.rev-landing .stat__desc{font-weight:600;font-size:15px;line-height:1.5;margin-bottom:8px}
.rev-landing .stat__src{font-family:var(--mono);font-size:11.5px;color:var(--dim)}
.rev-landing .stat--v .stat__label,.rev-landing .stat--v .stat__num{color:var(--violet-lt)}
.rev-landing .stat--g .stat__label,.rev-landing .stat--g .stat__num{color:var(--green)}

/* ---------- WHO ---------- */
.rev-landing .who{padding:var(--gap) 0}
.rev-landing .who__grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(48px,6vw,96px);margin-top:clamp(38px,5vw,60px);align-items:start}
.rev-landing .who__title{margin-bottom:28px}
.rev-landing .who__title b{font-weight:800;color:var(--violet-lt)}
.rev-landing .who__title i{font-style:normal;color:var(--violet)}
.rev-landing .who__socials{display:flex;gap:12px;margin-top:34px}
.rev-landing .who__socials a{width:44px;height:44px;border-radius:10px;border:1px solid var(--line);display:grid;place-items:center;color:var(--muted);transition:background .22s,color .22s,border-color .22s,transform .22s}
.rev-landing .who__socials a:hover{background:var(--violet);color:#fff;border-color:var(--violet);transform:translateY(-2px)}
.rev-landing .feat{border-left:2px solid var(--violet)}
.rev-landing .feat+.rev-landing .feat,.rev-landing .feat + .feat{margin-top:14px}
.rev-landing .feat:last-child{border-left-color:var(--green)}
.rev-landing .feat__in{display:flex;gap:16px;align-items:flex-start;padding:16px 18px;border-radius:0 10px 10px 0;transition:background .22s,transform .22s cubic-bezier(.22,1,.36,1)}
.rev-landing .feat:hover .feat__in{background:rgba(255,255,255,.045);transform:translateX(4px)}
.rev-landing .feat__ico{width:34px;height:34px;border-radius:9px;flex:none;display:grid;place-items:center;background:rgba(91,60,240,.2);color:var(--violet-lt)}
.rev-landing .feat:last-child .feat__ico{background:rgba(47,191,100,.16);color:var(--green)}
.rev-landing .feat__t{font-weight:700;font-size:16px;line-height:1.35}
.rev-landing .feat__d{color:var(--muted);font-size:14px;line-height:1.55;margin-top:3px}
.rev-landing .metrics{border:1px solid var(--line);border-radius:16px;background:linear-gradient(160deg,rgba(32,27,72,.7),rgba(17,15,40,.5));padding:clamp(26px,3vw,36px);margin-bottom:26px}
.rev-landing .metrics__head{display:flex;align-items:center;gap:10px;font-family:var(--mono);font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);margin-bottom:24px}
.rev-landing .metrics__val{font-size:clamp(48px,5.6vw,72px);font-weight:800;line-height:1.05;color:var(--violet-lt);letter-spacing:-.03em;transition:opacity .35s,transform .35s}
.rev-landing .metrics__cap{color:var(--muted);margin-top:10px;font-size:15px;transition:opacity .35s,transform .35s}
.rev-landing .metrics.fading .metrics__val,.rev-landing .metrics.fading .metrics__cap{opacity:0;transform:translateY(8px)}
.rev-landing .metrics__dots{display:flex;gap:8px;margin-top:28px}
.rev-landing .metrics__dots button{width:7px;height:7px;border-radius:999px;background:rgba(255,255,255,.2);transition:width .35s cubic-bezier(.22,1,.36,1),background .3s}
.rev-landing .metrics__dots button[aria-current="true"]{width:26px;background:var(--violet-lt)}

/* ---------- SOLUTION (accordion) ---------- */
.rev-landing .sol{padding:var(--gap) 0;position:relative;overflow:hidden}
.rev-landing .sol__aura{position:absolute;left:-6%;top:8%;width:560px;height:560px;z-index:0;pointer-events:none;background:radial-gradient(circle,rgba(91,60,240,.2),transparent 66%)}
.rev-landing .sol>.wrap{position:relative;z-index:1}
.rev-landing .sol__title{margin:22px 0 16px}
.rev-landing .acc{margin-top:clamp(44px,6vw,72px);border-top:1px solid var(--line)}
.rev-landing .acc__item{border-bottom:1px solid var(--line);position:relative}
.rev-landing .acc__item::before{content:'';position:absolute;left:0;top:0;bottom:0;width:0;background:linear-gradient(90deg,rgba(91,60,240,.1),transparent 70%);transition:width .45s cubic-bezier(.22,1,.36,1);pointer-events:none}
.rev-landing .acc__item:hover::before,.rev-landing .acc__item.open::before{width:100%}
.rev-landing .acc__btn{width:100%;text-align:left;position:relative;display:grid;grid-template-columns:60px 1fr auto 28px;align-items:center;gap:18px;padding:clamp(22px,3vw,32px) 0}
.rev-landing .acc__n{font-family:var(--mono);font-size:14px;color:var(--violet-lt)}
.rev-landing .acc__item:last-child .acc__n{color:var(--green)}
.rev-landing .acc__t{font-size:clamp(21px,2.3vw,30px);font-weight:700;letter-spacing:-.01em;line-height:1.25;transition:color .22s,transform .3s cubic-bezier(.22,1,.36,1)}
.rev-landing .acc__btn:hover .acc__t{color:var(--violet-lt);transform:translateX(5px)}
.rev-landing .acc__s{color:var(--muted);font-size:15px;text-align:right}
.rev-landing .acc__chev{color:var(--muted);transition:transform .38s cubic-bezier(.22,1,.36,1),color .2s;justify-self:end}
.rev-landing .acc__btn[aria-expanded="true"] .acc__chev{transform:rotate(180deg);color:#fff}
.rev-landing .acc__panel{overflow:hidden;height:0;transition:height .42s cubic-bezier(.22,1,.36,1)}
.rev-landing .acc__body{display:grid;grid-template-columns:1fr 1fr;gap:clamp(32px,5vw,72px);padding:4px 0 clamp(30px,4vw,44px) 78px;opacity:0;transform:translateY(10px);transition:opacity .45s ease .12s,transform .45s ease .12s}
.rev-landing .acc__item.open .acc__body{opacity:1;transform:none}
.rev-landing .acc__body p{color:var(--muted)}
.rev-landing .acc__list{border-bottom:2px solid var(--violet)}
.rev-landing .acc__list li{display:flex;align-items:center;gap:14px;padding:15px 0;border-bottom:1px solid var(--line);font-weight:600;font-size:16px}
.rev-landing .acc__list li::before{content:'';width:7px;height:7px;border-radius:50%;background:var(--violet);flex:none}
.rev-landing .acc__item:last-child .acc__list{border-bottom-color:var(--green)}
.rev-landing .acc__item:last-child .acc__list li::before{background:var(--green)}

/* ---------- CASES ---------- */
.rev-landing .cases{padding:var(--gap) 0;background:var(--panel)}
.rev-landing .cases__head{margin-bottom:clamp(52px,7vw,84px)}
.rev-landing .cases__note{font-family:var(--mono);font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--dim);margin-top:14px}
.rev-landing .case{display:grid;grid-template-columns:1fr 1fr;gap:clamp(40px,6vw,84px);align-items:center}
.rev-landing .case+.case{margin-top:clamp(76px,9vw,120px);padding-top:clamp(76px,9vw,120px);border-top:1px solid var(--line)}
.rev-landing .case__label{font-family:var(--mono);font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--dim);margin-bottom:30px;grid-column:1/-1}
.rev-landing .case__hero{font-size:clamp(52px,7vw,92px);font-weight:800;line-height:1.05;letter-spacing:-.04em;font-variant-numeric:tabular-nums}
.rev-landing .case__hero--g{color:var(--green)}
.rev-landing .case__hero--v{color:var(--violet-lt)}
.rev-landing .case__cap{color:var(--muted);font-size:15px;margin-top:10px}
.rev-landing .case__figs>div+div{margin-top:clamp(36px,5vw,56px)}
.rev-landing .case__txt p{color:var(--muted)}
.rev-landing .case__txt p+p{margin-top:18px}
.rev-landing .chart{margin-top:34px}
.rev-landing .chart svg{width:100%;height:auto;overflow:visible}
.rev-landing .chart__line{fill:none;stroke:var(--green);stroke-width:2.5;stroke-linecap:round}
.rev-landing .chart__end{filter:drop-shadow(0 0 7px rgba(47,191,100,.9))}
.rev-landing .chart__yrs{display:flex;justify-content:space-between;font-family:var(--mono);font-size:12px;color:var(--dim);margin-top:10px}
.rev-landing .bars{margin-top:38px}
.rev-landing .bar+.bar{margin-top:24px}
.rev-landing .bar__top{display:flex;justify-content:space-between;font-family:var(--mono);font-size:12px;margin-bottom:10px}
.rev-landing .bar__name{color:var(--muted);letter-spacing:.06em}
.rev-landing .bar__after{color:var(--violet-lt)}
.rev-landing .bar:last-child .bar__after{color:var(--green)}
.rev-landing .bar__track{height:4px;border-radius:999px;background:rgba(255,255,255,.09);overflow:hidden}
.rev-landing .bar__fill{height:100%;width:0;border-radius:999px;background:var(--violet);transition:width 1.3s cubic-bezier(.22,1,.36,1)}
.rev-landing .bar:nth-child(2) .bar__fill{transition-delay:.12s}
.rev-landing .bar:last-child .bar__fill{background:var(--green);transition-delay:.24s}
.rev-landing .tags{display:flex;flex-wrap:wrap;gap:12px;margin-top:38px}
.rev-landing .tags li{display:flex;align-items:center;gap:9px;padding:10px 20px;border-radius:999px;border:1px solid rgba(91,60,240,.55);font-size:14px;font-weight:600;transition:background .22s,transform .22s}
.rev-landing .tags li:hover{background:rgba(91,60,240,.16);transform:translateY(-2px)}
.rev-landing .tags svg{color:var(--violet-lt);flex:none}

/* ---------- CONTACT — typeform-style flow (assets/contact.js) ---------- */
.rev-landing .contact{padding:var(--gap) 0;position:relative;overflow:hidden}
.rev-landing .contact__aura{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(1000px,120vw);height:min(1000px,120vw);z-index:0;pointer-events:none;background:radial-gradient(circle,rgba(91,60,240,.24),transparent 66%)}
.rev-landing .contact>.wrap{position:relative;z-index:1}
.rev-landing .contact--tf{padding:clamp(46px,6vw,76px) 0 var(--gap)}
.rev-landing .tf__head{max-width:760px;margin:0 auto clamp(26px,3vw,38px)}
.rev-landing .tf__head .lead{max-width:60ch}
.rev-landing .contact__pts{max-width:760px;margin:clamp(24px,3vw,34px) auto 0;display:grid;grid-template-columns:repeat(2,1fr);gap:6px 26px}
.rev-landing .contact__pts li{display:flex;align-items:center;gap:14px;padding:10px 0;font-weight:600;font-size:14px;line-height:1.5}
.rev-landing .contact__pts .ico{width:34px;height:34px;border-radius:9px;flex:none;display:grid;place-items:center;border:1px solid rgba(47,191,100,.32);background:rgba(47,191,100,.1);color:var(--green)}

/* the box */
.rev-landing .tf{max-width:760px;margin:0 auto;border:1px solid var(--line);border-radius:20px;background:linear-gradient(165deg,rgba(30,26,66,.82),rgba(16,14,36,.7));overflow:hidden;backdrop-filter:blur(6px)}
.rev-landing .tf__prog{height:3px;background:rgba(255,255,255,.07)}
.rev-landing .tf__prog i{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--violet),var(--violet-lt),var(--green));transition:width .45s cubic-bezier(.22,1,.36,1)}
.rev-landing .tf__body{padding:clamp(28px,4vw,46px);min-height:clamp(330px,44vh,430px);display:grid;align-content:center}
.rev-landing .tf__title{font-size:clamp(30px,4vw,48px);font-weight:800;line-height:1.12;letter-spacing:-.02em;margin:0 0 18px;padding-bottom:.05em}
.rev-landing .tf__nav{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:0 clamp(28px,4vw,46px) clamp(24px,3vw,34px)}
.rev-landing .tf__nav .btn{padding:13px 26px}
.rev-landing .tf__nav [hidden]{display:none}
.rev-landing .tf__tick{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;margin:0 auto 20px;color:var(--green);border:1px solid rgba(47,191,100,.35);background:rgba(47,191,100,.12)}

/* one step at a time, soft slide in the direction of travel */
.rev-landing .step{display:none}
.rev-landing .step.on{display:block;animation:rev-tf-in .5s cubic-bezier(.22,1,.36,1)}
.rev-landing .step.on.back{animation-name:rev-tf-back}
@keyframes rev-tf-in{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
@keyframes rev-tf-back{from{opacity:0;transform:translateY(-24px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.rev-landing .step.on{animation:none}.rev-landing .tf__prog i{transition:none}}

/* the question is the protagonist */
.rev-landing .q{font-size:clamp(21px,2.7vw,31px);font-weight:700;line-height:1.25;letter-spacing:-.015em;margin-bottom:24px}
.rev-landing .field{min-width:0}
.rev-landing .field :is(input:not([type=checkbox]):not([type=radio]),textarea){width:100%;padding:15px 18px;border-radius:12px;border:1px solid var(--line);background:rgba(255,255,255,.04);color:#fff;font:inherit;font-size:17px;transition:border-color .2s,box-shadow .25s,background .2s}
.rev-landing .field textarea{resize:vertical;min-height:104px}
.rev-landing .field ::placeholder{color:var(--dim)}
.rev-landing .field :is(input,textarea):focus{outline:none;border-color:var(--violet);background:rgba(255,255,255,.07);box-shadow:0 0 0 3px rgba(91,60,240,.24)}
.rev-landing .field.err :is(input:not([type=checkbox]):not([type=radio]),textarea){border-color:#F0576B}
.rev-landing .hint{font-size:12.5px;color:var(--dim);margin-top:9px}
.rev-landing .q+.field .hint:first-child{margin:-14px 0 14px}
.rev-landing .hint b{color:var(--muted);font-weight:600}
.rev-landing .disc{max-height:180px;overflow:auto;padding:14px 16px;margin-bottom:16px;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.03);font-size:13px;color:var(--muted);line-height:1.65}

/* option chips — the letter badge doubles as the keyboard shortcut */
.rev-landing .opts{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px}
.rev-landing .opt{position:relative;display:flex;align-items:center;gap:12px;margin:0;padding:14px 16px;border-radius:12px;border:1px solid var(--line);background:rgba(255,255,255,.04);font-size:15px;font-weight:500;color:#fff;cursor:pointer;transition:border-color .2s,background .2s}
.rev-landing .opt:hover{background:rgba(255,255,255,.07)}
.rev-landing .opt:has(:checked){border-color:var(--violet);background:rgba(91,60,240,.18)}
.rev-landing .opt:has(:focus-visible){outline:2px solid var(--violet-lt);outline-offset:3px}
.rev-landing .opt input{position:absolute;opacity:0;pointer-events:none}
.rev-landing .opt .key{font-family:var(--mono);font-size:12px;font-weight:600;width:25px;height:25px;border-radius:7px;display:grid;place-items:center;flex:none;color:var(--violet-lt);border:1px solid rgba(155,135,245,.28);background:rgba(155,135,245,.14)}
.rev-landing .opt:has(:checked) .key{color:#fff;background:var(--violet);border-color:var(--violet)}
.rev-landing .field.err .opt{border-color:#F0576B}
.rev-landing .field .msg{font-size:12.5px;color:#F0576B;margin-top:9px;display:none}
.rev-landing .field.err .msg{display:block}
.rev-landing .form__legal{font-size:12.5px;color:var(--dim);margin-right:auto;max-width:32ch;line-height:1.6}
.rev-landing .form__ok{font-size:16px;text-align:center;color:#B6F0CC;max-width:38ch;margin:0 auto}

/* ---------- LATEST POSTS (homepage) ---------- */
/* Cards themselves are .rvb-* from assets/blog.css — only the header lives here. */
.rev-landing .latest{padding:var(--gap) 0;border-top:1px solid var(--line)}
.rev-landing .latest__head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;flex-wrap:wrap;margin-bottom:10px}

/* ---------- CLOSING CTA (homepage) ---------- */
.rev-landing .cta{padding:0 0 var(--gap)}
.rev-landing .cta__box{display:flex;align-items:center;justify-content:space-between;gap:30px;flex-wrap:wrap;padding:clamp(32px,4.5vw,56px);border:1px solid var(--line);border-radius:20px;background:linear-gradient(165deg,rgba(30,26,66,.78),rgba(16,14,36,.62))}
.rev-landing .cta__box .h2{font-size:clamp(28px,3.4vw,42px);max-width:16ch}
.rev-landing .cta__copy{display:flex;flex-direction:column;gap:12px}
.rev-landing .cta__sub{color:var(--muted);font-size:16.5px;line-height:1.5}

/* ---------- FOOTER ---------- */
.rev-landing .foot{border-top:1px solid var(--line);padding:clamp(54px,6vw,78px) 0 32px}
.rev-landing .foot__grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:44px}
.rev-landing .foot__brand{display:flex;align-items:center;gap:10px;margin-bottom:18px}
.rev-landing .foot__logo img{height:64px;width:auto}
.rev-landing .foot__grid p{color:var(--muted);font-size:14.5px;max-width:32ch}
.rev-landing .foot h4{font-family:var(--mono);font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--dim);margin-bottom:18px;font-weight:500}
.rev-landing .foot li+li{margin-top:11px}
.rev-landing .foot li a{color:var(--muted);font-size:14.5px;transition:color .2s,padding-left .2s}
.rev-landing .foot li a:hover{color:#fff;padding-left:4px}
.rev-landing .foot__bar{margin-top:clamp(46px,5vw,64px);padding-top:26px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;font-size:13.5px;color:var(--dim)}
.rev-landing .foot__bar span{display:flex;align-items:center;gap:9px}

/* ---------- RESPONSIVE ---------- */
@media(max-width:960px){
  .rev-landing .nav__links{position:fixed;inset:66px 0 auto;flex-direction:column;align-items:stretch;gap:0;padding:20px var(--pad) 32px;background:#0B0A18;border-bottom:1px solid var(--line);transform:translateY(-130%);transition:transform .38s cubic-bezier(.22,1,.36,1)}
  .rev-landing .nav.open .nav__links{transform:none}
  .rev-landing .nav__links a:not(.btn){padding:15px 0;font-size:17px;border-bottom:1px solid var(--line)}
  .rev-landing .nav__links .btn{margin-top:18px}
  .rev-landing .burger{display:block}

  /* Mobile HERO: the sphere becomes a background again, large and bleeding off the
     bordes, envolviendo el mensaje. Un velo radial protege la lectura. */
  .rev-landing .hero{min-height:min(88vh,760px);padding:clamp(70px,14vw,100px) 0 clamp(40px,8vw,60px)}
  .rev-landing .hero__bg{background:radial-gradient(120% 80% at 50% 46%,#33257F 0%,#201862 40%,#0B0A18 76%)}
  .rev-landing .hero__grid{mask-image:none;-webkit-mask-image:none;opacity:.25}
  .rev-landing .hero__canvas{opacity:.85}
  /* velo entre la esfera y el texto */
  .rev-landing .hero::after{
    content:'';position:absolute;inset:0;z-index:1;pointer-events:none;
    background:radial-gradient(78% 52% at 50% 50%,rgba(11,10,24,.86) 0%,rgba(11,10,24,.62) 42%,rgba(11,10,24,0) 76%);
  }
  .rev-landing .hero__inner{max-width:100%;text-align:left}

  .rev-landing .stats__grid{grid-template-columns:1fr 1fr}
  .rev-landing .who__grid,.rev-landing .contact__grid,.rev-landing .case{grid-template-columns:1fr}
  .rev-landing .case--flip .case__figs{order:-1}
  .rev-landing .acc__body{grid-template-columns:1fr;padding-left:0}
  .rev-landing .acc__btn{grid-template-columns:40px 1fr 24px}
  .rev-landing .acc__s{display:none}
}
@media(max-width:620px){
  .rev-landing .stats__grid{grid-template-columns:1fr}
  .rev-landing .opts{grid-template-columns:1fr}
  .rev-landing .tf__nav{flex-wrap:wrap}
  .rev-landing .tf__nav .form__legal{order:3;max-width:none;margin:4px 0 0;text-align:center;width:100%}
  .rev-landing .foot__grid{grid-template-columns:1fr 1fr}
  .rev-landing .foot__logo{grid-column:1/-1}
  .rev-landing .hero__ctas{flex-direction:column;align-items:stretch}
  .rev-landing .hero__ctas .btn{width:100%}
  .rev-landing .strip__in{justify-content:flex-start;gap:14px 24px}
  .rev-landing .strip__item{font-size:11.5px}
  /* typographic breathing room on small screens */
  .rev-landing .hero__title{font-size:clamp(34px,9vw,46px);line-height:1.12}
  .rev-landing .hero__sub{font-size:16.5px}
  .rev-landing .hero__trust{gap:10px 18px}
  .rev-landing .hero__trust li{font-size:13px}
  .rev-landing .h2{font-size:clamp(28px,7.4vw,38px)}
  .rev-landing .case__hero{font-size:clamp(44px,13vw,62px)}
  .rev-landing .stat__num{font-size:clamp(38px,11vw,52px)}
  .rev-landing .acc__t{font-size:clamp(18px,5vw,23px)}
  .rev-landing .metrics__val{font-size:clamp(42px,12vw,58px)}
}
@media(max-width:400px){
  .rev-landing .foot__grid{grid-template-columns:1fr}
  .rev-landing .nav__logo img{height:48px}
  .rev-landing .nav__logo .rev-wordmark{font-size:22px}
}

/* ---------- BOTÓN VOLVER ARRIBA ---------- */
.rev-landing .totop{
  position:fixed;right:clamp(16px,3vw,28px);bottom:clamp(16px,3vw,28px);z-index:70;
  width:48px;height:48px;border-radius:50%;
  display:grid;place-items:center;
  background:rgba(91,60,240,.9);color:#fff;
  border:1px solid rgba(155,135,245,.5);
  backdrop-filter:blur(8px);
  box-shadow:0 10px 30px -8px rgba(0,0,0,.6);
  opacity:0;visibility:hidden;transform:translateY(14px) scale(.9);
  transition:opacity .3s,transform .3s cubic-bezier(.22,1,.36,1),visibility .3s,background .2s;
}
.rev-landing .totop.show{opacity:1;visibility:visible;transform:none}
.rev-landing .totop:hover{background:#6d51f5;transform:translateY(-3px)}
.rev-landing .totop svg{transition:transform .25s cubic-bezier(.22,1,.36,1)}
.rev-landing .totop:hover svg{transform:translateY(-2px)}
@media(max-width:620px){
  .rev-landing .totop{width:44px;height:44px}
}

@media(prefers-reduced-motion:reduce){
  .rev-landing *,.rev-landing *::before,.rev-landing *::after{animation:none!important;transition-duration:.01ms!important}
  .rev-landing .reveal{opacity:1!important;transform:none!important}
  .rev-landing .eyebrow::before{width:52px!important}
  .rev-landing .acc__body{opacity:1!important;transform:none!important}
}

/* Smooth anchor scrolling + offset so sections don't hide under the sticky nav */
html{scroll-behavior:smooth}
@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto}}
.rev-landing [id],.rvp [id],.rvb [id]{scroll-margin-top:94px}
.rvb-grid{scroll-margin-top:100px}
