
:root{
  --bg:#0b1020;
  --bg2:#0e1630;
  --card: rgba(255,255,255,.06);
  --card2: rgba(255,255,255,.10);
  --text:#EAF0FF;
  --muted: rgba(234,240,255,.72);
  --line: rgba(255,255,255,.14);
  --accent1:#1F6FEB;
  --accent2:#E02D3C;
  --shadow: 0 18px 50px rgba(0,0,0,.35);
  --radius: 18px;
  --radius2: 28px;
  --container: 1180px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 15% 10%, rgba(31,111,235,.35), transparent 60%),
    radial-gradient(900px 500px at 85% 15%, rgba(224,45,60,.25), transparent 55%),
    radial-gradient(700px 400px at 50% 90%, rgba(31,111,235,.18), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  overflow-x:hidden;
}

a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}
.container{width:min(var(--container), calc(100% - 40px)); margin:0 auto}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:12px 16px; border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.06);
  color:var(--text);
  transition:transform .2s ease, background .2s ease, border-color .2s ease;
  cursor:pointer;
}
.btn:hover{transform:translateY(-1px); background:rgba(255,255,255,.10); border-color:rgba(255,255,255,.24)}
.btn.primary{
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  box-shadow: 0 12px 30px rgba(31,111,235,.18);
}
.btn.primary:hover{filter:brightness(1.06)}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 12px; border-radius:999px;
  background:rgba(255,255,255,.07);
  border:1px solid var(--line);
  color:var(--muted);
  font-size:13px;
}
.navbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(14px);
  background: rgba(11,16,32,.55);
  border-bottom:1px solid rgba(255,255,255,.10);
}
.navbar .inner{
  height:78px; display:flex; align-items:center; justify-content:space-between;
  gap:18px;
}
.lang{
  display:flex; gap:10px; align-items:center;
}
.lang button{
  all:unset;
  padding:8px 10px; border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.06);
  color:var(--muted);
  cursor:pointer;
  font-size:13px;
}
.lang button.active{color:var(--text); border-color:rgba(255,255,255,.28); background:rgba(255,255,255,.10)}
.menu{
  display:flex; gap:14px; align-items:center; justify-content:center;
}
.menu a{
  padding:10px 12px;
  border-radius:999px;
  color:var(--muted);
  border:1px solid transparent;
  transition:background .2s ease, color .2s ease, border-color .2s ease;
  font-size:14px;
}
.menu a:hover{background:rgba(255,255,255,.08); color:var(--text)}
.menu a.active{border-color:rgba(255,255,255,.18); background:rgba(255,255,255,.08); color:var(--text)}
.brand{
  display:flex; align-items:center; gap:10px;
}
.brand img{width:38px; height:38px}
.brand .name{display:flex; flex-direction:column; line-height:1.1}
.brand .name strong{font-size:14px}
.brand .name span{font-size:12px; color:var(--muted)}
.mobile-toggle{display:none}
@media (max-width: 960px){
  .menu{display:none}
  .mobile-toggle{display:inline-flex}
}

.hero{
  position:relative;
  min-height:72vh;
  display:grid;
  place-items:center;
  overflow:hidden;
}
.hero .bg{
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(11,16,32,.25), rgba(11,16,32,.82)),
    url("./img/coface.webp") center/cover no-repeat;
  transform: scale(1.04);
  filter:saturate(1.05) contrast(1.02);
}
.hero .content{
  position:relative;
  padding:70px 0;
}
.hero h1{
  font-size: clamp(30px, 4vw, 56px);
  margin: 14px 0 12px;
  letter-spacing:-.02em;
}
.hero p{
  color: rgba(234,240,255,.82);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height:1.6;
  max-width: 64ch;
  margin:0 0 18px;
}
.hero .cta{display:flex; gap:12px; flex-wrap:wrap; align-items:center}

.section{padding:72px 0}
.section.small{padding:44px 0}
.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:18px;
}
.card{
  background: var(--card);
  border:1px solid var(--line);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.card.pad{padding:22px}
.card h3{margin:10px 0 8px}
.card p{margin:0; color:var(--muted); line-height:1.6}
.kpi{
  display:flex; gap:14px; align-items:center;
  padding:18px;
}
.kpi strong{font-size:22px}
.kpi span{color:var(--muted); font-size:13px}
.icon{
  width:44px; height:44px; border-radius:14px;
  display:grid; place-items:center;
  background: linear-gradient(135deg, rgba(31,111,235,.25), rgba(224,45,60,.18));
  border:1px solid rgba(255,255,255,.16);
}
.icon svg{width:22px; height:22px; opacity:.9}

.reveal{opacity:0; transform:translateY(10px); transition: opacity .65s ease, transform .65s ease}
.reveal.on{opacity:1; transform:none}
.marquee{
  display:flex; gap:18px; overflow:hidden; position:relative;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.marquee .track{
  display:flex; gap:18px; align-items:center;
  animation: scroll 18s linear infinite;
}
@keyframes scroll{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}
.pill{
  padding:10px 14px; border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(234,240,255,.82);
  font-size:13px;
  white-space:nowrap;
}
.split{
  display:grid; grid-template-columns: 1.1fr .9fr; gap:18px;
  align-items:stretch;
}
/* Prevent grid children from forcing horizontal overflow (fixes "shifted" left text card on some browsers/zooms) */
.split > *{min-width:0}
.split .card{min-width:0}
@media (max-width: 900px){
  .split{grid-template-columns:1fr}
}

/* Home split media: keep the right column stable so it doesn't "slide" or overlap */
.split > .reveal{
  display:flex;
  flex-direction:column;
}
.media.media-tall{height:360px}
@media (min-width: 1100px){
  .media.media-tall{height:420px}
}

.footer{
  padding:48px 0;
  border-top:1px solid rgba(255,255,255,.10);
  background: rgba(11,16,32,.35);
}
.footer .cols{
  display:grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap:22px;
}
.footer a{color:var(--muted)}
.footer a:hover{color:var(--text)}
.footer small{color:rgba(234,240,255,.58)}
@media (max-width: 900px){
  .footer .cols{grid-template-columns:1fr 1fr}
}

.page-hero{
  padding:54px 0 26px;
}
.page-hero h1{margin:10px 0 8px; font-size: clamp(26px, 3vw, 42px)}
.page-hero p{margin:0; color:var(--muted); line-height:1.7; max-width:75ch}

.media{
  border-radius: var(--radius2);
  border:1px solid rgba(255,255,255,.12);
  overflow:hidden;
}
.media img{width:100%; height:100%; object-fit:cover}
.list{
  display:grid; gap:12px;
}
.list a.item{
  display:flex; gap:14px; align-items:flex-start;
  padding:16px;
  border-radius: var(--radius2);
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  transition:transform .2s ease, background .2s ease, border-color .2s ease;
}
.list a.item:hover{transform:translateY(-1px); background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.20)}
.item .thumb{
  width:92px; height:72px; border-radius:16px; overflow:hidden; flex:0 0 auto;
  border:1px solid rgba(255,255,255,.10);
}
.item h4{margin:0 0 6px}
.item p{margin:0; color:var(--muted); line-height:1.55; font-size:14px}

.cookie{
  position:fixed; left:18px; right:18px; bottom:18px; z-index:80;
  display:none;
}
.cookie .box{
  max-width: 980px; margin:0 auto;
  background: rgba(10,14,24,.86);
  border:1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  padding:16px 16px;
  box-shadow: 0 18px 60px rgba(0,0,0,.40);
  backdrop-filter: blur(14px);
}
.cookie .row{
  display:flex; gap:14px; align-items:center; justify-content:space-between; flex-wrap:wrap;
}
.cookie p{margin:0; color:rgba(234,240,255,.80); line-height:1.45; font-size:14px; max-width:72ch}

.preloader{
  position:fixed; inset:0; z-index:100;
  display:grid; place-items:center;
  background:#fff;
  color:#111;
}
.preloader .inner{
  display:grid; gap:12px; place-items:center;
}
.preloader img{width:72px; height:72px}
.spinner{
  width:34px; height:34px; border-radius:999px;
  border:3px solid rgba(0,0,0,.14);
  border-top-color: rgba(0,0,0,.58);
  animation: spin .9s linear infinite;
}
@keyframes spin{to{transform:rotate(360deg)}}

.mobile-drawer{
  position:fixed; inset:0; z-index:70;
  display:none;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
}
.mobile-drawer .panel{
  position:absolute; top:0; right:0; height:100%;
  width:min(420px, 88vw);
  background: rgba(11,16,32,.96);
  border-left:1px solid rgba(255,255,255,.10);
  padding:18px;
}
.mobile-drawer .panel a{
  display:block; padding:14px 12px; border-radius:14px;
  color:rgba(234,240,255,.86);
  border:1px solid transparent;
}
.mobile-drawer .panel a:hover{background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.10)}
.mobile-drawer .panel .top{display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:10px}
