:root{
  --bg:#050608;
  --panel:#0b0d10;
  --panel2:#090a0c;
  --text:#e9e9ee;
  --muted:#a7a8b3;
  --red:#cf0a2c;
  --red2:#9d061f;
  --border:rgba(207,10,44,.24);
  --shadow: 0 24px 80px rgba(0,0,0,.55);
  --radius:18px;
  --max: 1160px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background: linear-gradient(180deg, #050507 0%, #060607 55%, #050507 100%);
  overflow-x:hidden;
}

a{ color:inherit; text-decoration:none; }
a:hover{ color:#fff; }

img{ max-width:100%; height:auto; display:block; }

.container{
  width:min(var(--max), 92vw);
  margin:0 auto;
}

.topbar{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(5,6,8,.72);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 220px;
}
.brand img{
  width:42px;
  height:42px;
  object-fit:contain;
  filter: drop-shadow(0 10px 26px rgba(207,10,44,.25));
}
.brand .title{
  line-height:1.05;
}
.brand .title strong{
  display:block;
  font-size:14px;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.brand .title span{
  display:block;
  font-size:12px;
  color:var(--muted);
}

.menu{
  display:flex;
  align-items:center;
  gap: 14px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.menu a{
  font-size:13px;
  color:var(--muted);
  padding:8px 10px;
  border-radius:12px;
  border:1px solid transparent;
}
.menu a:hover{
  color:#fff;
  border-color: rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
}
.menu a.active{
  color:#fff;
  border-color: var(--border);
  background: linear-gradient(180deg, rgba(207,10,44,.12), rgba(0,0,0,.2));
}

.nav-actions{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:220px;
  justify-content:flex-end;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color:#fff;
  cursor:pointer;
  font-weight:700;
  letter-spacing:.02em;
}
.btn:hover{ border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.06); }
.btn.primary{
  border-color: rgba(207,10,44,.45);
  background: linear-gradient(180deg, rgba(207,10,44,.22), rgba(0,0,0,.30));
  box-shadow: 0 18px 50px rgba(207,10,44,.14);
}
.btn.primary:hover{ border-color: rgba(207,10,44,.70); }

.hamb{
  display:none;
  width:44px;
  height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color:#fff;
  cursor:pointer;
}
.hamb:focus, .btn:focus, .menu a:focus, input:focus, textarea:focus{
  outline: 2px solid rgba(207,10,44,.55);
  outline-offset: 2px;
}

.hero{
  position:relative;
  padding: 52px 0 24px;
}
.hero-inner{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 26px;
  align-items:stretch;
}
.hero-card{
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow);
  padding: 28px;
  position:relative;
  overflow:hidden;
}
.hero-card::after{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(420px 220px at 78% 25%, rgba(207,10,44,.18), transparent 55%);
  pointer-events:none;
}
.hero h1{
  margin:0;
  font-size: 42px;
  letter-spacing: .01em;
}
.hero p{
  color: var(--muted);
  line-height: 1.55;
  margin: 10px 0 18px;
  font-size: 15px;
}
.hero .cta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.hero-right{
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(0,0,0,.52)),
    url('../img/hero_archer.jpg') center/cover no-repeat;
  box-shadow: var(--shadow);
  overflow:hidden;
  min-height: 260px;
  position:relative;
}
.hero-right::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.75));
}
.hero-right .badge{
  position:absolute;
  left:16px;
  top:16px;
  padding:10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(207,10,44,.35);
  background: rgba(0,0,0,.38);
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
  font-size:12px;
}
.hero-right .vanya{
  position:absolute;
  left:16px;
  bottom:18px;
  right:16px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
}
.hero-right .vanya img{
  width: 170px;
  filter: drop-shadow(0 14px 36px rgba(0,0,0,.6));
}
.hero-right .vanya .meta{
  text-align:right;
}
.hero-right .vanya .meta span{
  display:block;
  color:var(--muted);
  font-size:12px;
}
.hero-right .vanya .meta a{
  display:block;
  font-size:10px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#fff;
  font-weight:900;

}
.hero-right .vanya .meta a:hover{ text-decoration: underline; }

.section{
  padding: 26px 0;
}

.section h2{
  margin:0 0 12px;
  font-size: 18px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#fff;
}
.section .sub{
  margin: 0 0 18px;
  color: var(--muted);
  line-height:1.55;
}

.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.card{
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(0,0,0,.45));
  box-shadow: 0 16px 60px rgba(0,0,0,.45);
  overflow:hidden;
  position:relative;
}
.card .thumb{
  height: 170px;
  background: #0a0a0d;
  position:relative;
  overflow:hidden;
}
.card .thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  filter:saturate(1.1) contrast(1.05);
}
.card .thumb::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, transparent 10%, rgba(0,0,0,.78));
}
.card .body{
  padding: 16px;
}
.kicker{
  font-size: 12px;
  color: var(--muted);
  letter-spacing:.10em;
  text-transform:uppercase;
}
.card h3{
  margin: 8px 0 10px;
  font-size: 18px;
}
.card p{
  margin:0;
  color: var(--muted);
  line-height:1.55;
  font-size: 14px;
}
.card .row{
  margin-top: 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(207,10,44,.28);
  background: rgba(0,0,0,.26);
  color:#fff;
  font-weight:700;
  font-size:12px;
}
.pill.muted{
  border-color: rgba(255,255,255,.12);
  color: var(--muted);
  font-weight:600;
}
.link{
  color:#fff;
  font-weight:800;
  font-size: 13px;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.link:hover{ color: #fff; text-decoration: underline; }

.two-col{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.panel{
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow);
  padding: 18px;
}

.panel h3{ margin:0 0 8px; font-size: 16px; }
.panel p{ margin:0; color:var(--muted); line-height:1.6; font-size: 14px; }

.footer{
  margin-top: 30px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.25);
}
.footer .inner{
  padding: 22px 0;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 18px;
  flex-wrap:wrap;
}
.footer small{ color: var(--muted); }
.footer a{ color: var(--muted); }
.footer a:hover{ color:#fff; }

.form{
  display:grid;
  gap: 10px;
}
.input, textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.30);
  color:#fff;
  font-size: 14px;
}
textarea{ min-height: 140px; resize: vertical; }

.notice{
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(207,10,44,.22);
  background: rgba(207,10,44,.10);
  color:#fff;
}

.list{
  display:grid;
  gap: 12px;
}
.item{
  display:flex;
  gap: 14px;
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(0,0,0,.45));
  overflow:hidden;
}
.item .pic{
  width: 220px;
  flex: 0 0 220px;
  background: #0a0a0d;
}
.item .pic img{
  width:100%; height:100%; object-fit:cover;
}
.item .content{
  padding: 14px;
  flex:1;
}
.item h3{ margin: 6px 0 10px; font-size: 18px; }
.item .meta{ color: var(--muted); font-size: 12px; letter-spacing:.08em; text-transform: uppercase; }
.item p{ margin:0; color: var(--muted); line-height:1.55; font-size: 14px; }

.pager{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top: 14px;
}
.pager a{
  padding: 8px 12px;
  border-radius: 12px;
  border:1px solid rgba(255,255,255,.10);
  color: var(--muted);
  background: rgba(255,255,255,.03);
}
.pager a.active{ border-color: rgba(207,10,44,.35); color:#fff; background: rgba(207,10,44,.10); }
.pager a:hover{ color:#fff; border-color: rgba(255,255,255,.16); }

@media (max-width: 980px){
  .hero-inner{ grid-template-columns: 1fr; }
  .nav-actions{ min-width:auto; }
  .brand{ min-width:auto; }
}

@media (max-width: 820px){
  .menu{
    display:none;
    width:100%;
    padding: 8px 0 0;
    gap:8px;
  }
  .menu.open{ display:flex; }
  .menu a{ width:100%; text-align:left; }
  .hamb{ display:inline-flex; align-items:center; justify-content:center; }
  .nav{
    flex-wrap:wrap;
  }
  .nav-actions{
    order:3;
    width:100%;
    justify-content:space-between;
  }
  .btn.primary{ flex:1; }
  .two-col{ grid-template-columns: 1fr; }
  .item{ flex-direction:column; }
  .item .pic{ width:100%; flex:0 0 auto; height:170px; }
}

@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior:auto !important; transition:none !important; animation:none !important; }
}
