/* =========================================================
   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-brand::before{
  content: "";
  position: absolute;
  inset: 0;

  background-image: url("../images/figma/хедер/header.png");
  background-repeat: repeat;
  background-size: 900px 900px;
  background-position: center;

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

.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: 2px solid rgba(255,255,255,0.22);

  color: rgba(255,255,255,0.70);
  font-weight: 600;
  letter-spacing: 0.2px;
  box-shadow: 0 10px 18px rgba(0,0,0,0.25);
  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: 18px;
  width: 100%;
  justify-content: 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 */
}

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

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

.problem-top-line{
  height: 4px;
  background: #0c1630;
}

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

  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-weight: 600;
  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 14px;
  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: 8px 0 0;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 700;
  color: rgba(12,22,48,0.74);
  max-width: 620px;
}

.problem-card{
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(12,22,48,0.10);
  padding: 18px;
}

.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: 800;
}

.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 26px;
    font-size: 64px;
    line-height: 1.05;
  }

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

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

  .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{
    padding: 26px;
    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: 600;
  letter-spacing: 0.2px;
  font-size: 34px;
  line-height: 1.15;
  color: #0c1630;
}

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

.deliver-kicker{
  margin: 18px 0 16px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  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: 800;
  line-height: 1.25;
  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: 34px;
    margin: 24px 0 18px;
  }

  .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-title{
    font-size: 22px;
    overflow-wrap: normal;
    word-break: normal;
  }

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

/* адаптив сетки — отдельными media (НЕ внутри других media) */
@media (max-width: 1200px){
  .deliver-grid{
    grid-template-columns: repeat(3, minmax(220px, 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: 600;
  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: 800;
  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: 800;
  color: #0c1630;
}

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

.step-text{
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(12,22,48,0.58);
  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: 28px 0 26px;
  }

  .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: 400;
  letter-spacing: 0.2px;
  font-size: 34px;
  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: 48px;
  border-radius: 4px;
  border: 1px solid rgba(12,22,48,0.14);
  background: rgba(255,255,255,0.35);
  color: rgba(12,22,48,0.92);
  font-weight: 700;
  cursor: pointer;
  padding: 0 14px;
  text-align: center;
}

.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;
  padding: 18px;
  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: 24px;
  font-weight: 800;
  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;
  }

  .packages-tab{
    height: 40px;
    font-size: 12px;
    padding: 0 10px;
  }

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

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

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

  .package-figure{
    padding: 14px;
  }
}

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

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

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

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

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

.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: 14px auto 0;
  text-align: center;
  font-size: 22px;
  line-height: 1.45;
  color: rgba(12,22,48,0.62);
}

.proof-lead{
  margin: 10px auto 0;
  text-align: center;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(12,22,48,0.62);
}

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

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

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

.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,0.74);
}

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

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

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

/* Desktop layout */
@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; }

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

  .proof-card{ align-self: start; }

  .proof-card--span2{
    grid-column: 1 / span 2;
    grid-row: 2;
  }
}




/* =========================================================
   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: 800;
  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;
}

/* background image overlay (optional, for exact макет) */
.site-footer::after{
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("./assets/images/figma/футер/footer-stars.png");
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  pointer-events: none;
}


/* 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: 800;
  letter-spacing: 0.8px;
  font-size: 30px;
  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;
    }

}

