/* MediaHub — light theme to match the rest of the Mueva site.
   Loaded after style.css. Remove the <link> (THEME = "dark" in build_mediahub.py) to go back. */
:root{
  --ink:#fff; --card:#efefef; --card-2:#f5f5f6; --alt:#efefef; --line:rgba(0,0,0,.09);
  --txt:#21202a; --muted:#4a4a52; --soft:#77777f; --hero-a:#1e1f27; --hero-b:#1e1f27;
  --ok:#12a36b; --warn:#a87b00;
}
body{background:#fff;color:var(--muted)}

/* Dark islands keep the original light-on-dark palette */
.hero,.sub-hero,.wa,footer,.card.dark,.plan.pop,.cta-dark{
  --txt:#fff; --muted:rgba(255,255,255,.72); --soft:rgba(255,255,255,.46); --line:rgba(255,255,255,.1);
  --card:#38373F; --card-2:#2B2A34; --ink:#21202a; --ok:#3ddc97; --warn:#ffd666;
  color:var(--muted)
}

/* Header: white, like the rest of the site */
nav.top{background:#fff;backdrop-filter:none;border-bottom:0}
nav.top .wrap{height:104px}
.logo span{color:#38373f}
.menu{font-size:13px;text-transform:uppercase;letter-spacing:.02em}
.menu>li>a{color:#38373f;font-weight:600}
.menu>li>a:hover,.menu>li.on>a{color:var(--red)}
.menu>li.on>a{background:transparent}
.drop{background:#fff;border:1px solid #ececef;box-shadow:0 24px 48px rgba(0,0,0,.12)}
.drop a{text-transform:none}
.drop a b{color:#21202a}
.drop a span{color:#77777f}
.drop a:hover{background:#f5f5f6}
nav.top .cta-nav{background:#fff;color:#38373f;border:1px solid #969ea3;text-transform:none;font-size:14px;letter-spacing:0}
nav.top .cta-nav:hover{border-color:var(--red);color:var(--red);background:#fff}
.burger{color:#38373f;border-color:#dcdce0;background:#fff}
.menu-extra{border-top-color:#eee}
.menu-extra .lang-switch a,.menu-extra .lang-switch span{color:#38373f;border-color:#d7d7d7}
.menu-extra .lang-switch .on{background:#38373f;color:#fff;border-color:#38373f}
.menu-extra .socials a{background:#efefef;color:#38373f}
@media (max-width:1200px){
  .menu{background:#fff;border-bottom:1px solid #eee;box-shadow:0 18px 24px rgba(0,0,0,.08)}
  .menu>li>a{font-size:18px}
  .drop,.drop.wide,.dd:hover .drop,.dd:hover .drop.wide{background:none;border:0;box-shadow:none}
}
@media (max-width:900px){nav.top .wrap{height:80px}}
@media (max-width:620px){nav.top .wrap{height:64px}}

/* Hero: dark rounded panel, like the Mueva pages */
.hero,.sub-hero{background:#1e1f27}
.hero::after{display:none}
@media (min-width:900px){
  .hero,.sub-hero{width:min(1384px,calc(100% - 56px));margin:0 auto;border-radius:32px}
  .hero{padding-bottom:20px}
}
.hero + section,.sub-hero + section{margin-top:0}

/* Light surfaces */
.sec-alt{background:#efefef;--card:#fff;--card-2:#fff}
a.card:hover{background:#e6e6e9}
.sec-alt a.card:hover{background:#fafafa}
.card.hl{background:#fff0f2;outline:1px solid rgba(255,37,66,.35)}
.card.dark{background:#21202a}
.pill{color:#38373f}
.price,.stat b,.int b,.quote p,.facts b,.cmp td:first-child,.pain s{color:var(--txt)}
.article p{color:var(--muted)}
.btn-ghost{background:#efefef;color:#21202a}
.plan.pop{background:#21202a;color:var(--muted)}
.plan.pop h3,.plan.pop .price{color:#fff}
.plan.pop .btn-ghost{background:#fff;color:#21202a}
.form{background:#efefef}
.form input,.form select,.form textarea{background:#fff;border:1px solid #dcdce0;color:#21202a}
.todo{color:#8a6500!important;background:#fff6d6;outline-color:#e0a800}
.badge-road{color:#8a6500;background:#fff6d6}
.chip.plan{color:#8a6500;background:#fff6d6}
.chip.live{color:#0d7a4c;background:#dcf7ea}
.filters button{background:#efefef;color:#38373f}

/* Client logos on light sections: grey, not white */
section:not(.hero) .logo-row img,body > section .logo-row img{filter:grayscale(1);opacity:.7;mix-blend-mode:normal}
.hero .logo-row img{filter:brightness(0) invert(1);opacity:.78}
.hero .logo-row img.raw{filter:grayscale(1) brightness(1.25);mix-blend-mode:screen}
section:not(.hero) .wm{color:#38373f;opacity:.75}

/* Final CTA: red band, like the rest of the site */
.cta{background:var(--red);--txt:#fff;--muted:rgba(255,255,255,.9);color:#fff}
.cta .btn-red{background:#fff;color:#21202a}
.cta .btn-dark{background:#21202a}

/* Footer: dark, like the rest of the site */
footer{background:#21202a;margin-top:0;border-top:0}
.foot-grid a:hover{color:#fff}
.cmp th,summary,.form label{color:var(--txt)}
/* Client logos on light sections and cards */
section:not(.hero) .logo-row img.rx,section:not(.hero) .logo-row img.mono{filter:brightness(0);opacity:.6}
.card .case-logo img{filter:grayscale(1);mix-blend-mode:normal;opacity:.85}
.card .case-logo img.rx,.card .case-logo img.mono{filter:brightness(0);opacity:.7}
.form select{background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5l6 6 6-6' fill='none' stroke='%2338373f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 20px center/14px 9px}
/* Header container and logo: same as the Mueva pages (.wrap + .brand-section) */
nav.top .wrap{max-width:none;width:min(1328px,calc(100% - 112px));padding:0}
nav.top .logo{gap:10px}
nav.top .logo img{height:36px}
nav.top .logo span{line-height:1}
@media (max-width:1200px){nav.top .wrap{width:calc(100% - 80px)}}
@media (max-width:900px){nav.top .wrap{width:calc(100% - 64px)}}
@media (max-width:620px){nav.top .wrap{width:calc(100% - 40px)}nav.top .logo img{height:32px}nav.top .logo span{font-size:16px;letter-spacing:1.5px}}
/* Header: links centred in the free space, gap tightened; subtle language switch on the right (as on the Mueva pages) */
nav.top .menu{flex:1;justify-content:center;gap:0}
@media (min-width:1201px){.menu>li>a{padding:10px 11px;white-space:nowrap}}
nav.top .lang-desktop{display:flex;gap:2px;margin-right:0;font-size:12px;font-weight:600;letter-spacing:.02em}
nav.top .lang-desktop a{min-width:0;height:26px;padding:0 8px;border:0;border-radius:6px;color:#38373f}
nav.top .lang-desktop a.on{background:#f1f1f2;color:#38373f}
nav.top .lang-desktop a:not(.on){opacity:.45}
nav.top .lang-desktop a:hover{opacity:1}
@media (max-width:1200px){nav.top .lang-desktop{display:none}}
/* hero: subtle staggered fade-up on load (same as the Mueva pages) */
@keyframes hero-rise{from{opacity:0;transform:translateY(16px)}}
:is(.hero,.sub-hero) .hero-grid>div:first-child>*,:is(.hero,.sub-hero) .hero-grid>:nth-child(2){animation:hero-rise .8s cubic-bezier(.22,.61,.36,1) both}
:is(.hero,.sub-hero) .hero-grid>div:first-child>:nth-child(2){animation-delay:.12s}
:is(.hero,.sub-hero) .hero-grid>div:first-child>:nth-child(3){animation-delay:.24s}
:is(.hero,.sub-hero) .hero-grid>div:first-child>:nth-child(4){animation-delay:.36s}
:is(.hero,.sub-hero) .hero-grid>div:first-child>:nth-child(5){animation-delay:.48s}
:is(.hero,.sub-hero) .hero-grid>div:first-child>:nth-child(n+6){animation-delay:.6s}
:is(.hero,.sub-hero) .hero-grid>:nth-child(2){animation-delay:.36s}
@media (prefers-reduced-motion:reduce){:is(.hero,.sub-hero) .hero-grid>div:first-child>*,:is(.hero,.sub-hero) .hero-grid>:nth-child(2){animation:none}}
@media (max-width:1200px){nav.top .menu{top:100%;max-height:calc(100vh - 64px)}}
/* anchors land below the sticky header */
html{scroll-padding-top:104px}
@media (max-width:900px){html{scroll-padding-top:80px}}
@media (max-width:620px){html{scroll-padding-top:64px}}
/* stat cards: same treatment as the Mueva pages */
body .stats .stat{position:relative;display:flex;flex-direction:column;padding:28px;border-radius:20px;background:color-mix(in srgb,var(--txt) 5%,transparent);border:1px solid color-mix(in srgb,var(--txt) 9%,transparent)}
body .stats .stat::before{content:"";width:28px;height:3px;border-radius:2px;background:var(--red);margin-bottom:22px}
body .stats .stat b{font-size:clamp(40px,3.6vw,56px);font-weight:700;line-height:1;letter-spacing:-.03em}
body .stats .stat span{display:block;margin-top:12px;font-size:16px;font-weight:500;line-height:1.4;color:var(--txt);opacity:.72}
@media (max-width:620px){body .stats .stat{padding:22px}body .stats .stat b{font-size:36px}}
/* Wide container: same width as the header (logo to "Book a demo") */
.wrap.wide{max-width:none;width:min(1328px,calc(100% - 112px));padding:0}
@media (max-width:1200px){.wrap.wide{width:calc(100% - 80px)}}
@media (max-width:900px){.wrap.wide{width:calc(100% - 64px)}}
@media (max-width:620px){.wrap.wide{width:calc(100% - 40px)}}
.card .case-logo img.rx{max-height:58px}
.card .case-logo img.syc{filter:grayscale(1) brightness(.55) contrast(1.4);opacity:1;max-height:72px}
/* burger menu: submenus collapsed until their item is tapped */
@media (max-width:1200px){
  nav.top .menu .dd:not(.open) .drop{display:none}
  nav.top .menu .dd>a{display:flex;align-items:center;justify-content:space-between}
  nav.top .menu .dd>a::after{width:7px;height:7px;transition:background .2s,opacity .2s}
  nav.top .menu .dd.open>a{color:var(--red)}
  nav.top .menu .dd.open>a::after{opacity:1}
}
/* burger icon and mobile menu: same as the Mueva pages (.menu-toggle / .mobile-nav) */
nav.top .burger{background:transparent;border:0;border-radius:0;padding:9px;width:43px;height:40px;color:inherit}
nav.top .burger span{display:block;width:100%;height:2px;background:#38373f;border-radius:2px;margin:5px 0}
nav.top .burger span:first-child{width:65%}
nav.top .burger span:last-child{width:45%;margin-left:auto}
@media (max-width:1200px){
  nav.top .menu{padding:12px 32px 24px;justify-content:flex-start}
  nav.top .menu>li{flex:none}
  nav.top .menu>li:not(.menu-extra){border-bottom:1px solid #e8e8e8}
  nav.top .menu>li>a{padding:13px 0;font-size:18px;font-weight:600;border-radius:0}
  nav.top .menu .dd .drop,nav.top .menu .dd:hover .drop.wide{padding:0 0 14px 0;gap:0}
  nav.top .menu .drop .grp{padding:14px 0 6px;font-size:12px;font-weight:700}
  nav.top .menu .drop a{padding:9px 12px;margin-inline:-12px;border-radius:10px}
  nav.top .menu-extra{border-top:0;margin-top:8px;padding:20px 0 0}
}
@media (max-width:900px){
  nav.top .menu{padding:16px 32px 32px;min-height:calc(100vh - 64px)}
  nav.top .menu>li>a{padding:20px 0;font-size:20px}
}
/* language switch inside the burger menu: same subtle style as in the header */
nav.top .menu-extra .lang-switch{gap:2px;font-size:12px;font-weight:600;letter-spacing:.02em}
nav.top .menu-extra .lang-switch a{min-width:0;height:26px;padding:0 8px;border:0;border-radius:6px;color:#38373f;background:none}
nav.top .menu-extra .lang-switch a.on{background:#f1f1f2;color:#38373f}
nav.top .menu-extra .lang-switch a:not(.on){opacity:.45}
nav.top .menu-extra .lang-switch a:hover{opacity:1}
/* "What we hear from…" (solutions): complaints shown as quotes, not struck-through items */
.pains.heard{gap:16px}
.pains.heard .pain{position:relative;flex-direction:column;gap:8px;padding:26px 28px 26px 76px;background:#fff;border:1px solid #ececef;border-radius:20px}
.pains.heard .pain::before{content:"\201C";position:absolute;left:24px;top:14px;font-size:64px;line-height:1;font-weight:700;color:var(--red)}
.pains.heard .pain b{font-size:19px;font-weight:700;line-height:1.3;color:var(--txt)}
.pains.heard .pain p{font-size:16px;line-height:1.5;color:var(--muted)}
@media (max-width:620px){.pains.heard .pain{padding:22px 22px 22px 60px}.pains.heard .pain::before{left:18px;font-size:52px}}
/* solutions: recommended plan as a small card next to the section title */
.sec-head .plan-rec{display:flex;flex-direction:column;gap:6px;min-width:300px;max-width:400px;padding:22px 26px;border-radius:20px;background:#fff;border:1px solid #ececef;transition:border-color .2s,box-shadow .2s}
.sec-head .plan-rec:hover{border-color:var(--red);box-shadow:0 12px 28px rgba(0,0,0,.06)}
.plan-rec-label{font-size:12px;font-weight:700;letter-spacing:1.2px;text-transform:uppercase;color:var(--red)}
.plan-rec-name{font-size:24px;font-weight:700;letter-spacing:-.02em;color:var(--txt)}
.sec-head .plan-rec p{max-width:none;font-size:15px;line-height:1.45;color:var(--muted)}
.plan-rec-more{margin-top:8px;font-size:14px;font-weight:700;color:var(--red)}
@media (max-width:1000px){.sec-head .plan-rec{min-width:0;max-width:none;width:100%}}
/* solutions "What you get": modules left, recommended plan in its own column on the right */
.get-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:40px;align-items:start}
.get-main,.get-side{min-width:0}
.get-head{margin-bottom:40px}
.get-grid .cards.c3{grid-template-columns:repeat(3,minmax(0,1fr))}
.get-side{position:sticky;top:128px}
.get-side .plan-rec{display:flex;flex-direction:column;gap:6px;padding:26px 26px;border-radius:20px;background:#fff;border:1px solid #ececef;transition:border-color .2s,box-shadow .2s}
.get-side .plan-rec:hover{border-color:var(--red);box-shadow:0 12px 28px rgba(0,0,0,.06)}
.get-side .plan-rec p{font-size:15px;line-height:1.45;color:var(--muted)}
@media (max-width:1200px){.get-grid{grid-template-columns:minmax(0,1fr) 260px;gap:28px}}
@media (max-width:1000px){.get-grid{grid-template-columns:1fr;gap:24px}.get-side{position:static}.get-head{margin-bottom:24px}.get-grid .cards.c3:not(.swipe){grid-template-columns:1fr}}
/* recommended plan: full height of the section, dark so it stands out */
.get-grid{align-items:stretch}
.get-side{position:static;display:flex}
.get-side .plan-rec{flex:1;justify-content:flex-start;padding:32px 30px;background:#1e1f27;border-color:#1e1f27;color:#fff}
.get-side .plan-rec:hover{border-color:var(--red);box-shadow:0 18px 40px rgba(0,0,0,.18)}
.get-side .plan-rec-name{color:#fff;font-size:30px;margin-top:6px}
.get-side .plan-rec p{color:rgba(255,255,255,.72);font-size:16px}
.get-side .plan-rec-more{margin-top:auto;padding-top:28px;font-size:15px}
@media (max-width:1000px){.get-side .plan-rec{padding:26px 24px}.get-side .plan-rec-name{font-size:26px}}
