:root{
  --accent:#C91313;
  --accent-dim:#e22c2c;
  --accent-light:#af0000;
  --bg:#0A0A0A;
  --bg-elev:#171717;
  --text:#FFE5E5;
  --text-muted:#ffe5e580;
  --heading:#FAEBEB;
  --link:#C91313;
  --link-hover:#ea2525;
}

html,body{
  height:100%;
}

body{
  margin:0;
  background:transparent;
  color:var(--text);
  font-family:'Inter','DM Sans',system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* размытие и затемнение фона */
body::before{
  content:"";
  position:fixed;
  inset:0;
  background:url('bg.avif') center/cover no-repeat fixed;
  filter:blur(12px);
  transform:scale(1.05);
  z-index:-2;
}
body::after{
  content:"";
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.5);
  z-index:-1;
}

/* фон и затемнение заданы слоями напрямую в body */

.container{
  max-width:1200px;
  margin:0 auto;
  padding:24px;
}

header{
  padding:16px 0;
}

header .brand{
  font-weight:600;
  color:#fff;
  letter-spacing:0.5px;
}

.hero{
  display:grid;
  grid-template-columns:1.1fr 0.9fr;
  gap:32px;
  align-items:center;
  padding:56px 0;
}

@media (max-width: 900px){
  .hero{ grid-template-columns:1fr; padding:32px 0; }
}

.eyebrow{ color:#F5F380; font-weight:600; margin-bottom:8px;}

h1{
  margin:0 0 16px 0;
  color:var(--heading);
  font-weight:600;
  line-height:1.15;
  font-size:40px;
}

p.lead{ color:var(--text); opacity:0.9; font-size:18px; margin:0 0 24px 0; }

.cta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.btn{
  appearance:none;
  border:1px solid var(--accent);
  background:var(--accent);
  color:#fff;
  padding:12px 18px;
  border-radius:8px;
  font-weight:600;
  text-decoration:none;
}
.btn:hover{ background:var(--accent-dim); border-color:var(--accent-dim); }
.btn.alt{ background:transparent; color:var(--text); }
.btn.alt:hover{ background:var(--bg-elev); }

.card{
  background:rgba(10,10,10,0.75);
  border:1px solid rgba(230,230,230,0.25);
  border-radius:10px;
  padding:20px;
  backdrop-filter: blur(20px) saturate(170%);
  box-shadow:0 0 0 1px rgba(230,230,230,0.15);
}

.media{
  /* background:var(--bg-elev); */
  border-radius:10px;
  overflow:hidden;
}
.media img{ display:block; width:100%; height:auto; }

footer{
  padding:24px 0 48px;
  color:var(--text-muted);
  font-size:14px;
}

/* типографика: заголовки — DM Sans как акцент */
.title{ font-family:'DM Sans','Inter',sans-serif; }

/* утилиты */
.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* секции лендинга */
.section{ padding:56px 24px 24px 24px; }
/* секции на полную ширину страницы, с внутренними отступами */
section.container{ max-width:none; margin:0;  }
.hero{ padding-left:24px; padding-right:24px; }
/* чередование фонов секций */
main > section:nth-of-type(2n+1){ background:transparent; }
main > section:nth-of-type(4n+2){ background:#c91313bf; }
main > section:nth-of-type(4n){ background:#510C04; }
.grid{ display:grid; gap:16px; }
.grid.cols-3{ grid-template-columns:repeat(3,1fr); }
.grid.cols-2{ grid-template-columns:repeat(2,1fr); }
@media (max-width: 900px){
  .grid.cols-3{ grid-template-columns:1fr; }
  .grid.cols-2{ grid-template-columns:1fr; }
}

.feature{
  display:flex; gap:12px; align-items:flex-start;
}
.feature h3{ margin:0 0 6px 0; font-weight:600; }
.feature p{ margin:0; opacity:0.9; }

.price-card h3{ margin:0 0 6px 0; font-weight:600; }
.price{ font-size:28px; font-weight:700; color:#fff; margin:8px 0 0; }
.muted{ color:var(--text-muted); font-size:14px; }

/* бейдж для скидки */
.badge{
  display:inline-block;
  background:var(--accent);
  color:#fff;
  border-radius:999px;
  padding:2px 8px;
  font-size:12px;
  font-weight:700;
  line-height:1.4;
  vertical-align:middle;
}

.badge--pulse{ position:relative; }
.badge--pulse::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:999px;
  box-shadow:0 0 0 0 rgba(201,19,19,0.6);
  animation:badge-pulse 1.8s ease-out infinite;
}

@keyframes badge-pulse{
  0%{ box-shadow:0 0 0 0 rgba(201,19,19,0.6); }
  70%{ box-shadow:0 0 0 10px rgba(201,19,19,0); }
  100%{ box-shadow:0 0 0 0 rgba(201,19,19,0); }
}

.steps{ counter-reset:step; }
.step{ position:relative; padding-left:44px; }
.step+ .step{ margin-top:16px; }
.step::before{
  counter-increment:step; content:counter(step);
  position:absolute; left:0; top:0;
  width:28px; height:28px; border-radius:50%;
  background:var(--accent); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700;
}

/* вариант с явными номерами 01..04 */
.steps .step{ padding-left:0; }
.steps .step::before{ display:none; }
.step .num{
  display:inline-flex; align-items:center; justify-content:center;
  width:36px; height:36px; border-radius:50%;
  background:var(--accent); color:#fff; font-weight:700; margin-bottom:6px;
}


