/* =========================================================
   index.css — Hero section (Section 1)
   ========================================================= */

.hero{
  padding: 34px 0 26px;
}

.hero-head{
  text-align: center;
  padding: 10px 0 8px;
}

.hero-brand{
  margin: 0 0 10px;
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-weight: 400;
  letter-spacing: 0.5px;
  font-size: 52px;
  line-height: 1.05;
}




.hero-title{
  margin: 0;
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-weight: 400;
  letter-spacing: 0.2px;
  font-size: 40px;
  line-height: 1.08;
  color: rgba(255,255,255,0.92);
}

.hero-accent{
  color: #f2a300; /* orange from mock */
}

.hero-grid{
  display: grid;
  gap: 26px;
  padding-top: 18px;
}

.hero-left{
  max-width: 520px;
  margin: 0 auto;
}

.hero-text{
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.70);
}

.hero-btn-secondary{
  width: 100%;
  justify-content: center;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(3, 16, 44, 0.70);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 10px 22px rgba(0,0,0,0.28);
}

.hero-btn-secondary:hover{
  background: rgba(3, 16, 44, 0.85);
}

.hero-right{
  max-width: 560px;
  margin: 0 auto;
}

.kpi-caption{
  text-align: center;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: 0.2px;
  color: rgba(255,255,255,0.60);
  margin: 10px 0 14px;
}

.kpi-diagram{
  position: relative;
  padding: 36px 10px 18px;
  border-radius: 16px;
}

.kpi-lines{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 1;
  z-index: 1;          /* ЛИНИИ НИЖЕ */
}
@media (min-width: 1200px){
  .kpi-lines{
    transform: translateY(-40px);
  }
}

.kpi-lines line,
.kpi-lines path {
  stroke-linecap: butt;
  stroke-linejoin: miter;
}

.kpi-diagram > :not(.kpi-lines){
  position: relative;
  z-index: 2;
}

.kpi-box{
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  height: 58px;
  border-radius: 10px;

  background: rgba(255,255,255,0.06);
  border: 7px solid rgba(255,255,255,0.22);

  color: rgba(255,255,255,0.70);
  font-weight: 600;
  letter-spacing: 0.2px;
  z-index: 2;          /* КАРТОЧКИ ВЫШЕ */
}

.kpi-diagram{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto;
  gap: 18px 14px;
  overflow: hidden;
}

.kpi-throughput{ grid-column: 1 / 2; grid-row: 1 / 2; }
.kpi-downtime{ grid-column: 3 / 4; grid-row: 1 / 2; }

.kpi-cycle{ grid-column: 1 / 2; grid-row: 2 / 3; }
.kpi-sla{ grid-column: 2 / 3; grid-row: 2 / 3; }
.kpi-capacity{ grid-column: 3 / 4; grid-row: 2 / 3; }

.hero-cta-mobile{
  margin-top: 35px;
  width: 60%;
  display: flex;
  justify-self: center;
  padding: 16px 18px;
  border-radius: 10px;
}

/* Desktop layout */
@media (min-width: 1200px){
  .hero{ padding: 44px 0 30px; }

  .hero-brand{
    font-size: 84px;
    margin-bottom: 16px;
  }

  .hero-title{
    font-size: 78px;
    line-height: 1.02;
  }

  .hero-grid{
    grid-template-columns: 1.05fr 1fr;
    align-items: end;
    gap: 34px;
    padding-top: 26px;
  }

  .hero-left{
    max-width: 520px;
    margin: 0;
  }

  .hero-text{
    font-size: 22px;
    margin-bottom: 24px;
  }

  .hero-btn-secondary{
    width: 280px; /* как на десктоп-макете */
    justify-content: center;
  }

  .hero-right{
    max-width: 620px;
    margin: 0;
  }

  .kpi-caption{
    text-align: center;
    font-size: 16px;
    margin-top: 0;
  }

  .kpi-box{
    height: 62px;
    font-size: 20px;
  }
}  /* On desktop CTA button is in header; hide bottom one */

.kpi-box{ background: #0b1a37; }

/* ОБРЕЗАЕМ "хвосты" по краям */
.kpi-lines{
  clip-path: inset(0 26px 0 26px); /* справа/слева по 26px */
}

.header-inner::before,
.header-inner::after{
  content: none !important;
}

.header-inner{
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;

  /* чтобы не было скругленной "карточки" */
  border-radius: 0 !important;

  /* подстрой отступов под макет */
  padding: 18px 0 !important;
}

/* =========================================================
   Section 2 — Problem
   ========================================================= */

.problem{
  position: relative;
  background: #f6f8fc;
  color: #0c1630;
  padding: 0 0 26px;
}

.problem-title{
  margin: 0;
  padding: 36px 0 18px;
  text-align: center;

  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-weight: 500;
  letter-spacing: 0.2px;

  font-size: 34px;
  line-height: 1.12;
  color: #0c1630;
}

.problem-grid{
  display: grid;
  gap: 22px;
  padding-top: 10px;
}

.problem-lead{
  margin: 0 0 24px;
  font-size: 22px;
  line-height: 1.35;
  color: rgba(12,22,48,0.78);
}

.problem-p{
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(12,22,48,0.68);
  max-width: 560px;
}

.problem-p--spaced{
  margin-top: 10px;
}

.problem-list{
  list-style: none;
  padding: 0;
  margin: 10px 0 18px;
  display: grid;
  gap: 14px;
}

.problem-item{
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  color: rgba(12,22,48,0.72);
}

.problem-ico{
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: #2f7a3c; /* зеленые иконки как на макете */
}

.problem-ico svg{
  width: 26px;
  height: 26px;
}

.problem-strong{
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  color: rgba(12,22,48,0.74);
  max-width: 620px;
}

.problem-card{
  background: #ffffff;
  border-radius: 14px;
}

.problem-img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.problem-accentline{
  margin: 16px 0 0;
  font-size: 18px;
  line-height: 1.45;
  max-width: 560px;
}

.problem-accent{
  color: #f2a300; /* оранжевый акцент */
  font-weight: 700;
}

.problem-accentrest{
  color: #0c1630;
  font-weight: 600;
  font-size: 20px
}

.problem-bottom-dash{
  margin-top: 26px;
  border-bottom: 1px dashed rgba(12,22,48,0.20);
}

/* Desktop */
@media (min-width: 1200px){
  .problem{
    padding-bottom: 34px;
  }

  .problem-title{
    padding: 56px 0 48px;
    font-size: 64px;
    line-height: 1.05;
  }

  .problem-grid{
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 44px;
  }

  .problem-lead{
    font-size: 24px;
  }

  .problem-p{
    font-size: 18px;
  }

  .problem-item{
    font-size: 18px;
  }

  .problem-strong{
    font-size: 18px;
  }

  .problem-accentline{
    margin-top: 18px;
    font-size: 22px;
    max-width: 620px;
  }

  .problem-card{
    border-radius: 16px;
  }
}



/* =========================================================
   Section 3 — Deliver
   ========================================================= */

.deliver{
  background: #f6f8fc;
  color: #0c1630;
  padding: 0 0 40px;
}

.deliver-top-dash{
  border-top: 1px dashed rgba(12,22,48,0.20);
  padding-top: 28px;
}

.deliver-title{
  margin: 0;
  text-align: center;
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-weight: 500;
  letter-spacing: 0.2px;
  font-size: 34px;
  line-height: 1.15;
  color: #0c1630;
}

.deliver-subtitle{
  margin: 48px auto 0;
  text-align: center;
  max-width: 740px;
  font-size: 20px;
  line-height: 1.6;
  color: rgba(12,22,48,0.62);
}

.deliver-kicker{
  text-align: center;
  font-size: 32px;
  font-weight: 600;
  color: rgba(12,22,48,0.70);
}

.deliver-line{
  display: none; /* показываем на desktop */
  position: relative;
  height: 20px;
  margin: 0 auto 14px;
}

.deliver-line::before{
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 9px;
  border-top: 1px dashed rgba(12,22,48,0.18);
}

.deliver-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 8px;
}

/* Card */
.deliver-card{
  border-radius: 14px;
  background: rgba(76, 141, 255, 0.12); /* светло-голубой “рамкой” */
  padding: 10px;
  display: grid;
  min-width: 0;
}

.deliver-card-inner{
  background: #ffffff;
  border-radius: 12px;
  padding: 16px 14px 18px;
  border: 1px solid rgba(12,22,48,0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.deliver-ico{
  width: 36px;
  height: 36px;
  color: #2f7a3c; /* зелёные иконки */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.deliver-ico svg{
  width: 26px;
  height: 26px;
}

.deliver-card-title{
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.15;
  color: #0c1630;
  overflow-wrap: anywhere;   /* разрешает перенос длинных слов */
  word-break: break-word;    /* запасной вариант */
  hyphens: auto;
}

.deliver-grid{ min-width: 0; }
.deliver-card{ min-width: 0; }
.deliver-card-inner{ min-width: 0; }


.deliver-card-text{
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(12,22,48,0.64);
}

/* Mobile “vertical connector” vibe */
@media (max-width: 1199px){
  .deliver-grid{
    position: relative;
    padding-left: 8px;
  }
  .deliver-grid::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    border-left: 1px dashed rgba(12,22,48,0.16);
  }
}

/* Desktop layout */
/* Desktop layout */
@media (min-width: 1200px){
  .deliver{
    padding-bottom: 64px;
  }

  .deliver-top-dash{
    padding-top: 34px;
  }

  .deliver-title{
    font-size: 64px;
    line-height: 1.05;
  }

  .deliver-subtitle{
    font-size: 18px;
    margin-top: 16px;
  }

  .deliver-kicker{
    font-size: 32px;
    margin: 24px 0 48px;
  }

  .deliver-line{
    display: block;
  }

  .deliver-card-inner{
    padding: 18px 16px 22px;
    min-height: 260px;
    border: 1px solid rgba(12,22,48,0.12);
    overflow: hidden;
    min-width: 0;
  }



  .deliver-card-text{
    font-size: 16px;
  }
}

/* адаптив сетки — отдельными media (НЕ внутри других media) */
/* MOBILE (по умолчанию) — 1 колонка, порядок как в HTML */
.deliver-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 8px;
}

/* TABLET+ — 3 колонки */
@media (min-width: 768px){
  .deliver-grid{
    grid-template-columns: repeat(3, minmax(220px, 1fr));
  }
}

/* DESKTOP — 4 колонки */
@media (min-width: 1201px) and (max-width: 1400px){
  .deliver-grid{
    grid-template-columns: repeat(4, minmax(220px, 1fr));
  }
}

/* WIDE — 5 колонок */
@media (min-width: 1401px){
  .deliver-grid{
    grid-template-columns: repeat(5, minmax(255px, 1fr));
  }
}

@media (min-width: 1201px) and (max-width: 1400px){
  .deliver-grid{
    grid-template-columns: repeat(4, minmax(220px, 1fr));
  }
}
@media (min-width: 1401px){
  .deliver-grid{
    grid-template-columns: repeat(5, minmax(255px, 1fr));
  }
}


/* =========================================================
   Section 4 — Process (How it works)
   ========================================================= */

.process{
  background: #f6f8fc;
  color: #0c1630;
  padding: 54px 0 70px;
}

.process-title{
  margin: 0;
  text-align: center;
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-weight: 500;
  letter-spacing: 0.2px;
  font-size: 44px;
  line-height: 1.08;
}

.process-accent{
  display: inline-block;
  margin-top: 6px;
  color: #f2a300;
  font-weight: 500;
}

.process-title{
  font-weight: 500; /* как в all.css для Desktop/H2 */
}

.process-accent{
  color: #f2a300;
  font-weight: 400; /* убрать жирность у второй строки */
}

.process-subtitle{
  margin: 18px auto 0;
  text-align: center;
  max-width: 720px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(12,22,48,0.62);
}

.process-kicker{
  margin: 26px 0 22px;
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  color: rgba(12,22,48,0.72);
}

.process-wrap{
  position: relative;
  max-width: 1200px;
  margin-top: 10px;
}

.process-curves{
  display: none; /* показываем только на desktop */
  position: absolute;
  inset: 0;
  width: 100%;
  height: 560px;
  pointer-events: none;
}

.process-grid{
  display: grid;
  gap: 22px;
  position: relative;
}

/* Step */
.step{
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: start;
  min-width: 0;
}

.step-num{
  font-size: 44px;
  line-height: 1;
  font-weight: 700;
  color: #0c1630;
}

.step-title{
  margin: 2px 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: rgba(12,22,48,0.74);
}

.step-text{
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(12,22,48,0.98);

  max-width: 360px;
}

/* Mobile vertical dashed spine */
@media (max-width: 1199px){
  .process-grid{
    padding-left: 18px;
  }
  .process-grid::before{
    content: "";
    position: absolute;
    left: 10px;
    top: -8px;
    bottom: -8px;
    border-left: 2px dashed rgba(12,22,48,0.16);
  }

  .step-num{
    position: relative;
    left: -18px;
  }

  .process-note{
    margin-left: 0;
  }
}

/* Bottom note box */
.process-note{
  margin: 30px auto 0;
  max-width: 760px;

  background: #1a2742;
  color: rgba(255,255,255,0.78);

  border-radius: 12px;
  padding: 18px 18px;

  border: 2px solid rgba(255,255,255,0.18);
  box-shadow: 0 18px 40px rgba(12,22,48,0.12);
}

/* Desktop layout */
@media (min-width: 1200px){
  .process{
    padding: 70px 0 84px;
  }

  .process-title{
    font-size: 56px;
  }

  .process-subtitle{
    font-size: 20px;
  }

  .process-kicker{
    font-size: 34px;
    margin: 38px 0 0px;
  }

  .process-curves{
    display: block;
  }

  /* absolute positioning like in mock */
  .process-grid{
    height: 560px;
  }

  .step{
    position: absolute;
    width: 420px;
    grid-template-columns: 70px 1fr;
    gap: 16px;
  }

  .step-num{
    font-size: 52px;
  }

  .step-title{
    font-size: 18px;
  }

  .step-text{
    font-size: 16px;
    max-width: 340px;
  }

  /* positions tuned to match screenshot */
  .step-1{ left: 70px; top: 120px; }
  .step-2{ left: 70px; top: 360px; }
  .step-3{ left: 520px; top: 240px; }
  .step-4{ left: 840px; top: 390px; width: 420px; }

  .process-note{
    margin-top: 18px;
    max-width: 780px;
  }
}

/* УБРАТЬ пунктирные вертикальные "хвосты" в блоке Our process (desktop) */
@media (min-width: 1200px){

  /* 1) на всякий случай: если где-то есть пунктирный ::before */
  .process-grid::before{
    content: none !important;
  }

  /* 2) если кривые — это INLINE <svg class="process-curves"> ... </svg>
        (обычно эти палочки — отдельные <line>) */
  .process-curves line{
    display: none !important;
  }

  /* чтобы слои всегда были правильные */
  .process-curves{ z-index: 1; }
  .process-grid{ position: relative; z-index: 2; }
}

@media (min-width: 1200px){
  .process-curves path:first-of-type{
    display: none !important;
  }
}

/* =========================================================
   Section 5 — Core Packages (Tabs)
   ========================================================= */

.packages{
  background: #f6f8fc;
  color: #0c1630;
  padding: 62px 0 70px;
}

.packages-title{
  margin: 0;
  text-align: center;
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-weight: 500;
  letter-spacing: 0.2px;
  font-size: 48px;
  line-height: 1.15;
}

.packages-tabs{
  margin: 22px auto 18px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  max-width: 980px;
}

.packages-tab{
  height: auto;          /* важно: убрать фикс */
  min-height: 40px;
  padding: 8px 8px;      /* вместо 0 по вертикали */
  font-size: 11px;       /* чуть меньше, чтобы “Simulation Pilot” влез в 1 строку */
  line-height: 1.15;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: normal;
}

.packages-tab.is-active{
  background: #9fc4ff; /* как на макете (светло-синий) */
  border-color: rgba(12,22,48,0.08);
}

.packages-panels{
  margin-top: 6px;
}

/* Panel background themes (как в макете: warm / green) */
.package-panel.is-warm .package-card{
  background: #fff6e8;
}
.package-panel.is-green .package-card{
  background: #eaf7ef;
}

.package-card{
  border-radius: 16px;
  padding: 22px;
}

/* Desktop: 2 колонки: слева иллюстрация, справа текст */
.package-card{
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 26px;
  align-items: center;
}

.package-figure{
  background: rgba(255,255,255,0.55);
  border-radius: 12px;
  border: 1px solid rgba(12,22,48,0.06);
}

.package-figure img{
  width: 100%;
  height: auto;
  display: block;
}

.package-body{
  padding-right: 8px;
}

.package-name{
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 600;
  color: #0c1630;
}

.package-lead{
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(12,22,48,0.62);
  max-width: 520px;
}

.package-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.package-item{
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  color: rgba(12,22,48,0.78);
  font-size: 15px;
  line-height: 1.55;
}

.package-ico{
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2f7a3c;
}

.package-ico svg{
  width: 22px;
  height: 22px;
}

/* Mobile: табы компактнее, контент колонкой (как на моб. макете) */
@media (max-width: 991px){
  .packages{
    padding: 56px 0 64px;
  }

  .packages-tabs{
    gap: 10px;
    max-width: 520px;
  }



  .package-card{
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }

  .package-name{
    font-size: 20px;
  }

  .package-lead{
    font-size: 16px;
  }
}

/* Desktop typography closer to макету */
@media (min-width: 992px){
  .packages-title{
    font-size: 64px;
    line-height: 1.05;
  }

  .packages-tabs{
    margin-top: 28px;
  }

  .packages-tab{
    font-size: 16px;
  }

  .package-name{
    font-size: 28px;
  }
}

/* =========================================================
   Section 7 — Proof of Value
   ========================================================= */

/* =========================
   PROOF OF VALUE (clean)
   ========================= */

.proof{
  background:#f6f8fc;
  color:#0c1630;
  padding:64px 0 70px;
}

.proof-title{
  margin:0;
  text-align:center;
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-weight:500;
  font-size:44px;
  line-height:1.08;
}

.proof-subtitle{
  margin: 35px auto 0;
  text-align:center;
  font-size:24px;
  line-height:1;
  font-weight: 400;
  color:rgba(12,22,48,.62);
}

.proof-lead{
  margin: 24px auto 0;
  text-align:center;
  font-size: 20px;
  line-height:1;
  color:rgba(12,22,48,.62);
  font-weight: 400;
}

.proof-footer{
  margin:20px 0 0;
  text-align:center;
  font-size:20px;
  color:rgba(12,22,48,.82);
}

/* grid (mobile first) */
.proof-grid{
  margin-top:22px;
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
}

/* card shell */
.proof-card{
  background:rgba(76,141,255,.12);
  border-radius:14px;
  padding:10px;
}

/* inner white card */
.proof-card-inner{
  background:#fff;
  border-radius:12px;
  border:1px solid rgba(12,22,48,.06);
  padding:14px;
}

/* header inside card */
.proof-head{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:10px;
}

.proof-card-title{
  margin:0;
  font-size:16px;
  line-height:1.25;
  font-weight:800;
  color:rgba(12,22,48,.74);
}

.proof-rule{
  flex:1;
  height:10px;
  background:rgba(12,22,48,.08);
  border-radius:999px;
}

/* image */
.proof-img{
  width:100%;
  display:block;
  border-radius:10px;
}

/* =========================
   DESKTOP
   ========================= */
@media (min-width: 992px){
  .only-mobile{ display:none; }

  .proof-title{ font-size:56px; }
  .proof-subtitle{ font-size:26px; }
  .proof-footer{ margin-top:22px; font-size:22px; }

  /* outer grid: 3 columns */
  .proof-grid{
    margin-top:26px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap:18px;
    align-items:start;
    grid-auto-rows: min-content;
  }

  /* wide card on second row spans 2 cols */
  .proof-card--span2{
    grid-column: 1 / span 2;
    grid-row: 2;
  }

  /* inner layout: text left + preview right */
  .proof-card-inner{
    display:grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    column-gap:18px;
    align-items:start;
    padding:18px 20px;
  }

  /* header stays only in left column (like Figma) */
  .proof-head{
    grid-column:1;
    margin-bottom:10px;
  }

  /* put image into right column */
  .proof-img{
    grid-column:2;
    align-self:start;

    /* key: stable "frame" like figma preview */
    height: 168px;
    object-fit: contain;
    background: rgba(12,22,48,.02); /* мягкий фон чтобы пустоты не резали глаз */
    border: 1px solid rgba(12,22,48,.06);
  }

  /* wide card has bigger preview */
  .proof-card--span2 .proof-card-inner{
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.7fr);
  }
  .proof-card--span2 .proof-img{
    height: 210px;
  }

  /* risk card: чуть меньше рамка (чтобы не выглядело "пусто") */
  .proof-grid > .proof-card:last-child .proof-img{
    height: 190px;
  }
}

/* =========================
   TABLET (optional, nicer)
   ========================= */
@media (min-width: 720px) and (max-width: 991px){
  .proof-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap:16px;
  }
  .proof-card--span2{
    grid-column: 1 / -1; /* wide на всю ширину */
  }
}



/* =========================================================
   Section 7 — Why Simulares
   ========================================================= */

.why{
  background: #f6f8fc;
  color: #0c1630;
  padding: 0 0 70px;
}

.why-top-dash{
  border-top: 1px dashed rgba(12,22,48,0.18);
  padding-top: 34px;
}

.why-title{
  margin: 0;
  padding: 22px 0 26px;
  text-align: center;
  font-weight: 500;
  font-size: 32px;
  line-height: 1.1;
  color: #0c1630;
}

.why-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.why-card{
  background: rgba(255,255,255,0.82);
  border-radius: 12px;
  padding: 22px 22px 24px;
  box-shadow: 0 10px 26px rgba(12,22,48,0.06);
}

.why-ico{
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2f7a3c;
}

.why-ico svg{
  width: 26px;
  height: 26px;
}

.why-text{
  margin: 14px 0 0;
  font-size: 20px;
  line-height: 1.35;
  color: rgba(12,22,48,0.92);
}

/* Desktop как на макете: 2 колонки */
@media (min-width: 992px){
  .why{
    padding-bottom: 84px;
  }

  .why-title{
    padding: 30px 0 44px;
    font-size: 44px;
  }

  .why-grid{
    grid-template-columns: 1fr 1fr;
    gap: 28px 34px;
  }

  .why-card{
    padding: 26px 28px 28px;
    min-height: 140px;
  }

  .why-text{
    font-size: 26px;
    line-height: 1.3;
    max-width: 520px;
  }
}



/* =========================================================
   Section 8 — CTA form
   ========================================================= */

.cta-form{
  position: relative;
  padding: 86px 0 96px;
  color: rgba(255,255,255,0.92);

  /* темный фон как на макете */
  /* однотонный темно-синий фон как на макете */
  background: #050a16;
  background-image: none;
}

.cta-title{
  margin: 0;
  text-align: center;
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-weight: 500;
  letter-spacing: 0.2px;
  font-size: 56px;
  line-height: 1.08;
  color: rgba(255,255,255,0.92);
}

.cta-subtitle{
  margin: 18px auto 0;
  text-align: center;
  max-width: 920px;
  font-size: 30px;
  line-height: 1.35;
  color: rgba(255,255,255,0.62);
}

/* form wrapper */
.cta-form__form{
  margin: 34px auto 0;
  max-width: 920px;
}

.cta-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 28px;
  align-items: start;
}

.cta-field{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cta-field--full{
  grid-column: 1 / -1;
}

.cta-label{
  font-size: 16px;
  color: rgba(255,255,255,0.62);
}

.cta-label--right{
  text-align: right; /* как на макете: Questions справа */
}

.cta-req{
  color: #ff4b4b;
  font-weight: 700;
  margin-right: 6px;
}

.cta-input,
.cta-textarea{
  width: 100%;
  background: #E5EDFF;                 /* светло-голубое поле */
  border: 1px solid rgba(12,22,48,0.22);
  border-radius: 4px;
  padding: 12px 14px;
  color: rgba(12,22,48,0.86);
  outline: none;
}

.cta-input{
  height: 44px;
}

.cta-textarea{
  resize: vertical;
  min-height: 92px;
}

.cta-input::placeholder,
.cta-textarea::placeholder{
  color: rgba(12,22,48,0.28);
}

.cta-input:focus,
.cta-textarea:focus{
  border-color: rgba(0,101,255,0.65);
  box-shadow: 0 0 0 3px rgba(0,101,255,0.18);
}

.cta-counter{
  margin-top: 8px;
  text-align: right;
  font-size: 14px;
  color: rgba(255,255,255,0.60);
}

.cta-actions{
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

.cta-submit{
  width: 100%;
  height: 56px;

  border: 0;
  border-radius: 4px;
  cursor: pointer;

  background: #0065FF;
  color: rgba(255,255,255,0.96);
  font-weight: 700;
}

.cta-submit:hover{
  filter: brightness(1.05);
}

/* Mobile (как на макете) */
@media (max-width: 768px){
  .cta-form{
    padding: 74px 0 80px;
  }

  .cta-title{
    font-size: 34px;
    line-height: 1.18;
    padding: 0 10px;
  }

  .cta-subtitle{
    font-size: 22px;
    margin-top: 16px;
    padding: 0 10px;
  }

  .cta-form__form{
    margin-top: 26px;
    max-width: 520px;
  }

  .cta-grid{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .cta-label--right{
    text-align: left; /* на мобилке label как обычно */
  }

  .cta-submit{
    max-width: 520px;
  }
}

/* =========================================================
   Section 9 — Footer
   ========================================================= */

.site-footer{
  position: relative;
  color: rgba(255,255,255,0.92);
  background: #050a16;
  padding: 76px 0 34px;
  overflow: hidden;
  border-top: 1px dashed rgba(255,255,255,0.18);
  isolation: isolate;
}


.site-footer::before{
  content: "";
  position: absolute;
  inset: 0;

  /* правильный путь для assets/css/index.css */
  background: url("../images/figma/футер/footer-stars.png") center/cover no-repeat;

  opacity: 0.35;          /* если нужно темнее — поставь 0.20–0.28 */
  pointer-events: none;
  z-index: 1;
}

.site-footer > .container{
  position: relative;
  z-index: 2;
}


/* keep content above bg */
.site-footer > .container{
  position: relative;
  z-index: 2; /* выше ::before и ::after */
}

.footer-top{
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: start;
}

.footer-title{
  margin: 0;
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-weight: 400;
  letter-spacing: 0.2px;
  font-size: 56px;
  line-height: 1.08;
  color: rgba(255,255,255,0.92);
  max-width: 520px;
}

.footer-cols{
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 46px;
}

.footer-h{
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
}

.footer-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.footer-link{
  color: rgba(255,255,255,0.62);
  text-decoration: none; /* чтобы не было underline */
  font-size: 16px;
  line-height: 1.55;
}

.footer-link:hover{
  color: rgba(255,255,255,0.86);
  text-decoration: none;
}

/* Bottom row */
.footer-bottom{
  margin-top: 78px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}

.footer-brand{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.footer-brand-text{
  font-weight: 700;
  letter-spacing: 0.8px;
  font-size: 32px;
  color: rgba(255,255,255,0.96);
}

.footer-brand-accent{
  color: #0065FF;
}

.footer-mid{
  display: inline-flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
  white-space: nowrap;
}

.footer-social{
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.site-footer::before{
  content: "";
  position: absolute;
  inset: 0;

  background-image: url("../images/figma/футер/footer-stars.png");
  background-repeat: repeat;
  background-size: 900px 900px;
  background-position: center;

  opacity: 0.35;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
}

.footer-social-link{
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.92);
  text-decoration: none;
}

.footer-social-link svg{
  width: 22px;
  height: 22px;
}

.footer-loc{
  color: rgba(255,255,255,0.70);
  font-size: 16px;
}

.footer-copy{
  text-align: right;
  color: rgba(255,255,255,0.70);
  font-size: 14px;
  white-space: nowrap;
}

/* Mobile */
@media (max-width: 768px){
  .site-footer{
    padding: 64px 0 28px;
  }

  .footer-top{
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-title{
    font-size: 34px;
    line-height: 1.18;
    max-width: 320px;
  }

  .footer-cols{
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-h{
    font-size: 18px;
    margin-bottom: 12px;
  }

  .footer-link{
    font-size: 16px;
  }

  .footer-bottom{
    margin-top: 34px;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
  }

  .footer-mid{
    justify-content: flex-start;
  }

  .footer-copy{
    text-align: left;
  }

  .site-footer::before{
  background-size: 700px 700px;
  opacity: 0.28;
    }

}

main.page{
  padding-bottom: 0 !important;
}

.hero{
  position: relative;
  background: url("../images/figma/хедер/header.png") center/cover no-repeat;
  background-color: #0c1630; /* запасной цвет */
}

.hero > .container{
  position: relative;
  z-index: 1;
}

.site-header{
    background: url("../images/figma/хедер/header.png") center/cover no-repeat;

}

/* Center the deliver cards grid */
.deliver-grid{
  padding-left: 0 !important;
  padding-right: 0 !important;

  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;

  /* вместо “слишком широких” колонок */
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)) !important;
  justify-content: center;
}

/* =========================
   Designer review — MAIN MOBILE header
   ========================= */
@media (max-width: 767px){
  /* чтобы хедер/бургер всегда были кликабельны */
  .site-header{ position: relative; z-index: 50; }
  .site-header.is-fixed{ z-index: 200; } /* если используешь scroll-up header */

  /* убрать заливку/blur у плашки хедера на мобиле */
  .header-inner{
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
  }

  /* бургер без квадратной “кнопки”, но с нормальной зоной тапа */
  .burger{
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    width: 44px;
    height: 44px;
    border-radius: 0;
  }

  /* чуть ближе к иконке из макета */
  .burger-lines{ width: 20px; }
  .burger-lines::before,
  .burger-lines::after{ width: 20px; }
  .burger-lines::before{ top: -6px; }
  .burger-lines::after{ top:  6px; }
}

@media (max-width: 767px){
  .hero-cta-mobile{
    border-radius: 8px !important; /* “заострить” */
    font-weight: 700 !important;   /* bold */
    margin-top: 24px !important;   /* расстояние между блоками */
  }
}

/* Designer review: center dashed line under "What you get" on mobile */
@media (max-width: 767px){
  .deliver-grid{
    padding-left: 0 !important;
  }
  .deliver-grid::before{
    content: none !important; /* убираем левую “ось” */
  }

  .deliver-kicker{ position: relative; }
  .deliver-kicker::after{
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: calc(100% + 8px);
    height: 18px;
    border-left: 1px dashed rgba(12,22,48,0.16);
  }
}

/* Designer review: process spine alignment + smaller gap */
@media (max-width: 767px){
  .process-grid{
    padding-left: 0 !important;
  }

  /* ставим пунктир между номером и текстом */
  .process-grid::before{
    display:none;
  }

  .step{
    grid-template-columns: 34px 1fr;
    gap: 10px; /* уменьшили расстояние между цифрой и контентом */
  }

  .step-num{
    left: 0 !important;   /* убираем сдвиг влево */
    font-size: 34px;      /* ближе к макету на мобиле */
  }
}

@media (max-width: 420px){
  .packages-tabs{ gap: 8px; }
  .packages-tab{
    font-size: 10px;
    padding: 6px 6px;
    overflow-wrap: anywhere;
  }
}

/* Designer review: remove image frame */
.package-figure{
  border: 0 !important;
}

/* Buttons row */
.hero-cta{ display:flex; flex-direction:column; gap:12px; }
@media (min-width: 1200px){
  .hero-cta{ flex-direction:row; gap:24px; align-items:center; }
}

/* Sharper radius (как просили) */
.page-home .hero-cta .btn{ border-radius:4px; }

/* KPI pills: чтобы текст не “прилипал” + не толстая рамка */
.kpi-box{
  padding:10px 14px;
  border-radius: 10px;
}

.problem{ padding:120px 0 80px; }
@media (max-width: 767px){ .problem{ padding:72px 0 64px; } }

/* nicer line breaks for long H2 */
@supports (text-wrap: balance){
  .problem-title{ text-wrap: balance; }
}

/* image radius + no shadow */
.problem-card{ box-shadow:none; }
.problem-img{ border-radius:6px; box-shadow:none; }

/* Mobile vertical dashed connector */
@media (max-width: 767px){
  .deliver{ position:relative; }
  .deliver-line{
    display:block;
    position:absolute;
    left:50%;
    transform:translateX(-0.5px);
    top: 240px;     /* под “What you get” */
    bottom: 40px;
    width:1px;
    background: repeating-linear-gradient(
      to bottom,
      rgba(12,22,48,0.22) 0 7px,
      transparent 7px 14px
    );
    opacity:.9;
    pointer-events:none;
  }
}

/* background should be lighter (как в замечании) */
.process{ background:#fff; }

/* Mobile: number/content closer */
@media (max-width: 767px){
  .process-step{
    grid-template-columns: 34px 1fr;
    column-gap: 12px;
  }
}

.packages-tabs{ gap:24px; }

.packages-tab{
  padding:12px 20px;        /* выравниваем top/bottom */
  border: 1px solid rgba(12,22,48,0.12);
  background: rgba(255,255,255,0.55);
}

/* active = light blue fill, NO stroke */
.packages-tab.is-active{
  border-color: transparent;
  box-shadow:none;
  background:#A9C4FF;
  color:#0C1630;
}

/* Desktop: keep labels in one line; Mobile can wrap if needed */
@media (min-width: 1200px){
  .packages-tab{ white-space:nowrap; }
}

/* No frame around image */
.packages-media{ border:0; box-shadow:none; }
.packages-media img{ border-radius:6px; }

.proof-sub{ margin:48px 0 24px; }   /* было слишком близко */
.proof-grid{ gap:24px; }

/* Button should be “fit content” (но не меньше дизайна) */
.cta-submit{
  width: min(520px, 100%);
  margin: 0 auto;
  display:block;
  border-radius:4px;
}

input, textarea, select, button{ font: inherit; }
