/* =========================
   RESET
========================= */

*,
*::before,
*::after{
  box-sizing:border-box;
}

html,
body{
  margin:0;
  padding:0;
}

body{
  font-family:"Montserrat", Arial, sans-serif;
  background:#ffffff;
  color:#0f172a;
  line-height:1.5;
}

/* =========================
   FORM ELEMENTS
========================= */

button,
input,
textarea,
select{
  font-family:inherit;
  font-size:inherit;
}

/* =========================
   LAYOUT
========================= */
.container{
  max-width:1240px;
  margin:0 auto;
  padding:0 20px;
}

/* Оставляем .section для остальных блоков, но НЕ используем её для header */
.section{
  padding:60px 0;
}

/* =========================
   BUTTONS (base)
========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  cursor:pointer;
  border:1px solid transparent;
  font-family:inherit;
}
/* =========================
   THEME TOKENS (Templates)
========================= */

/* ========================================
   TEMPLATE 1
======================================== */
.tpl-template_1{

  /* HEADER */
  --header-cta-bg: #09382C;
  --header-cta-color: #ffffff;

  /* HERO */
  --hero-title-accent: #039757;
  --hero-cta-bg: #039757;
  --hero-cta-color: #ffffff;

/* ================= WHY US ================= */
/* Карточки */
--whyus-card-blue: #E4FAFF;
--whyus-card-mint: #EFFFFC;

/* Bullet */
--whyus-bullet: rgba(15,23,42,0.35);

/* CTA */
--whyus-cta-bg: #005B68;
--whyus-cta-color: #ffffff;

/* ============== INVESTMENT TOKENS ================= */
  /* Фоны карточек (4 цвета) */
  --inv-card-bg-1: #F9F9F9;
  --inv-card-bg-2: #F8EEFF;
  --inv-card-bg-3: #FCF5EF;
  --inv-card-bg-4: #FFE9E7;

  /* ============= ADVANTAGES TOKENS ================ */
  --adv-card-bg: #EEF3FD;

  /* ============= CONTACT FORM TOKENS =============== */
  --contact-panel-bg: #267898;
  --contact-circle-bg: #035271;

  /* =============== FOOTER TOKENS ================= */
  --footer-bg: #182536;
}

/* ========================================
   TEMPLATE 2
======================================== */
.tpl-template_2{

  /* HEADER */
  --header-cta-bg: #5A6593;
  --header-cta-color: #ffffff;

  /* HERO */
  --hero-title-accent: #2054B3;
  --hero-cta-bg: #0082ED;
  --hero-cta-color: #ffffff;
/* ================= WHY US ================= */
/* Карточки */
--whyus-card-blue: #EFFFE4;
--whyus-card-mint: #EFFFFD;

/* Bullet */
--whyus-bullet: rgba(15,23,42,0.35);

/* CTA */
--whyus-cta-bg: #537B12;
--whyus-cta-color: #ffffff;

/* ============== INVESTMENT TOKENS ================= */
  /* Фоны карточек (4 цвета) */
  --inv-card-bg-1: #F9F9F9;
  --inv-card-bg-2: #F9F9F9;
  --inv-card-bg-3: #F9F9F9;
  --inv-card-bg-4: #F9F9F9;

    /* ============= ADVANTAGES TOKENS ================ */
  --adv-card-bg: #EEF3FD;

  /* ============= CONTACT FORM TOKENS =============== */
  --contact-panel-bg: #83A44F;
  --contact-circle-bg: #64890F;

  /* =============== FOOTER TOKENS ================= */
  --footer-bg: #2C2520;
}

/* ========================================
   TEMPLATE 3
======================================== */
.tpl-template_3{

  /* HEADER */
  --header-cta-bg: #3E776A;
  --header-cta-color: #ffffff;

  /* HERO */
  --hero-title-accent: #00A874;
  --hero-cta-bg: #00A874;
  --hero-cta-color: #ffffff;

/* ================= WHY US ================= */
/* Карточки */
--whyus-card-blue: #FFFBE4;
--whyus-card-mint: #EFFFF3;

/* Bullet */
--whyus-bullet: rgba(15,23,42,0.35);

/* CTA */
--whyus-cta-bg: #3E776A;
--whyus-cta-color: #ffffff;

/* ============== INVESTMENT TOKENS ================= */
  /* Фоны карточек (4 цвета) */
  --inv-card-bg-1: #F9F9F9;
  --inv-card-bg-2: #EEF4FF;
  --inv-card-bg-3: #F0FCEF;
  --inv-card-bg-4: #FFF4D2;

  /* ============= ADVANTAGES TOKENS ================ */
  --adv-card-bg: #EEF3FD;

  /* ============= CONTACT FORM TOKENS =============== */
  --contact-panel-bg: #14896D;
  --contact-circle-bg: #0A6B54;

  /* =============== FOOTER TOKENS ================= */
  --footer-bg: #11231D;
}


/* ========================================
   TEMPLATE 4
======================================== */
.tpl-template_4{

  /* HEADER */
  --header-cta-bg: #013A50;
  --header-cta-color: #ffffff;

  /* HERO */
  --hero-title-accent: #018BAE;
  --hero-cta-bg: #018BAE;
  --hero-cta-color: #ffffff;

/* ================= WHY US ================= */
/* Карточки */
--whyus-card-blue: #F9F9F9;
--whyus-card-mint: #F9F9F9;

/* Bullet */
--whyus-bullet: rgba(15,23,42,0.35);

/* CTA */
--whyus-cta-bg: #018BAE;
--whyus-cta-color: #ffffff;

/* ============== INVESTMENT TOKENS ================= */
  /* Фоны карточек (4 цвета) */
  --inv-card-bg-1: #F0FFFA;
  --inv-card-bg-2: #EEF7FF;
  --inv-card-bg-3: #F0FFFA;
  --inv-card-bg-4: #EEF7FF;

  /* ============= ADVANTAGES TOKENS ================ */
  --adv-card-bg: #F1F4F4;

  /* ============= CONTACT FORM TOKENS =============== */
  --contact-panel-bg: #545454;
  --contact-circle-bg: #2B2B2B;

  /* =============== FOOTER TOKENS ================= */
  --footer-bg: #182028;
}

/* ========================================
   TEMPLATE 5
======================================== */
.tpl-template_5{

  /* HEADER */
  --header-cta-bg: #0B46A4;
  --header-cta-color: #ffffff;

  /* HERO */
  --hero-title-accent: #000000;
  --hero-cta-bg: #0B46A4;
  --hero-cta-color: #ffffff;

/* ================= WHY US ================= */
/* Карточки */
--whyus-card-blue: #F6F6F6;
--whyus-card-mint: #F6F6F6;

/* Bullet */
--whyus-bullet: rgba(15,23,42,0.35);

/* CTA */
--whyus-cta-bg: #0B46A4;
--whyus-cta-color: #ffffff;

/* ============== INVESTMENT TOKENS ================= */
  /* Фоны карточек (4 цвета) */
  --inv-card-bg-1: #F6F6F6;
  --inv-card-bg-2: #F6F6F6;
  --inv-card-bg-3: #F6F6F6;
  --inv-card-bg-4: #DEF7EE;

  /* ============= ADVANTAGES TOKENS ================ */
  --adv-card-bg: #F0F9F9;

  /* ============= CONTACT FORM TOKENS =============== */
  --contact-panel-bg: #10563B;
  --contact-circle-bg: #00784B;

  /* =============== FOOTER TOKENS ================= */
  --footer-bg: #25302C;
}


/* ========================================
   TEMPLATE 6
======================================== */
.tpl-template_6{

  /* HEADER */
  --header-cta-bg: #2B2F56;
  --header-cta-color: #ffffff;

  /* HERO */
  --hero-title-accent: #2372BA;
  --hero-cta-bg: #2372BA;
  --hero-cta-color: #ffffff;

/* ================= WHY US ================= */
/* Карточки */
--whyus-card-blue: #EDFFF4;
--whyus-card-mint: #EDFFF4;

/* Bullet */
--whyus-bullet: rgba(15,23,42,0.35);

/* CTA */
--whyus-cta-bg: #2372BA;
--whyus-cta-color: #ffffff;

/* ============== INVESTMENT TOKENS ================= */
  /* Фоны карточек (4 цвета) */
  --inv-card-bg-1: #EDF6FF;
  --inv-card-bg-2: #EDFFF4;
  --inv-card-bg-3: #EDF6FF;
  --inv-card-bg-4: #EDFFF4;

  /* ============= ADVANTAGES TOKENS ================ */
  --adv-card-bg: #F3F4FF;

  /* ============= CONTACT FORM TOKENS =============== */
  --contact-panel-bg: #2372BA;
  --contact-circle-bg: #015099;

  /* =============== FOOTER TOKENS ================= */
  --footer-bg: #29292F;
}

/* =========================
   HEADER — CENTER LOGO + MENUS + RESERVED CTA SPACE
========================= */

.section--header{
  position:relative;
  z-index:10;
  background:#fff;
}

/* ВАЖНО: 4 колонки, последняя — под CTA */
.header__row{
  padding:50px 0 30px;
  height:110px;

  display:grid;
  grid-template-columns: 1fr auto 1fr auto; /* left nav | logo | right nav | CTA */
  align-items:start;
  column-gap:30px;

  /* те самые 120px от краёв */
  padding-left:120px;
  padding-right:120px;
}

.header__nav{
  display:flex;
  align-items:flex-start;
  gap:17px;
}

/* левое меню тянем к лого */
.header__nav:first-of-type{
  justify-content:flex-end;
}

/* правое меню тянем к лого */
.header__nav:last-of-type{
  justify-content:flex-start;
}

.nav__link{
  font-family:"Montserrat", Arial, sans-serif;
  font-size:14px;
  font-weight:400;
  color:#0f172a;
  text-decoration:none;
  white-space:nowrap;

  height:40px;
  line-height:40px;
  display:inline-flex;
  align-items:center;
}

.nav__link:hover{
  text-decoration:underline;
  text-underline-offset:4px;
}

.brand{
  display:inline-flex;
  align-items:flex-start;
  text-decoration:none;

  margin:-20px 0 0 0;
  transform:none;
}

.brand__logo-img{
  height:80px;
  width:auto;
  display:block;
}

/* CTA теперь в своей колонке, а не absolute */
.header__cta{
  position:absolute;
  right:120px;
  top:50px;

  height:40px;
  line-height:40px;
  padding:0 20px;

  background: var(--header-cta-bg, #09382C);
  color: var(--header-cta-color, #ffffff);
  font-family:"Montserrat", Arial, sans-serif;
  font-size:14px;
  font-weight:400;
  border-radius:15px;

  white-space:nowrap;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
    
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.header__cta:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.18);
  filter: brightness(1.07);
}

.header__cta:active{
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* Mobile: header = ONLY logo */
@media (max-width: 980px){

  /* контейнер шапки */
  .header__row{
    padding: 18px 16px;     /* компактно */
    height: auto;

    display:flex;
    align-items:center;
    justify-content:center;

    gap:0;
    padding-left:16px;      /* на всякий, если где-то остались 120px */
    padding-right:16px;
  }

  /* оставляем только logo */
  .header__nav,
  .header__cta{
    display:none !important;
  }

  /* логотип */
  .brand{
    margin:0;
    transform:none;
  }

  .brand__logo-img{
    height: 64px;           /* можно 56/60/64 — выбери по вкусу */
    width:auto;
  }
}
/* =========================
   HERO
========================= */

.hero{
  position: relative;
  padding: 60px 0 80px;
  background:#fff;
  overflow:hidden; /* чтобы блоб красиво обрезался */
}

.hero__inner{
  position: relative;
  z-index: 1; /* весь контент поверх блоба */

  display:grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
}

/* LEFT — ВСЁ ПО ЦЕНТРУ */
.hero__left{
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
}

/* Typography */
.hero__title{
  margin: 0 0 16px;
  line-height: 1.3;
}

.hero__title-main{
  font-size: 44px;
  font-weight: 600;
  color:#0f172a;

  white-space: normal; /* разрешаем перенос */
}

.hero__title-accent{
  font-size: 44px;
  font-weight: 600; /* semibold */
  color: var(--hero-title-accent, #039757);
}

.hero__subtitle{
  font-size: 22px;
  font-weight: 500; /* medium */
  color:#0f172a;
  margin: 0 0 12px;
}

.hero__desc{
  font-size: 14px;
  font-weight: 400; /* regular */
  color:#0f172a;
  opacity: .75;
  margin: 0 0 28px;
  max-width: 520px;
}

.hero__cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  background: var(--hero-cta-bg, #039757);
  color: var(--hero-cta-color, #ffffff);
  text-decoration:none;

  border-radius:22px;
  font-size:20px;
  font-weight:500;
  padding: 18px 32px;
  line-height: 1;

  /* эффект */
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;

  box-shadow: 0 6px 18px rgba(15,23,42,0.14);
}

.hero__cta:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(15,23,42,0.22);
  filter: brightness(1.06);
}

.hero__cta:active{
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(15,23,42,0.18);
}

/* RIGHT */
.hero__right{
  position: relative;
}

.hero__media{
  width:100%;
  max-width:520px;
  aspect-ratio:1 / 1;
}

/* % как фон через ::before */
.hero__percent-bg{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-40%,-55%);
  font-size:520px;
  font-weight:700;
  color:rgba(230,242,251,0.70);
  z-index:0;
  pointer-events:none;
}

/* картинка всегда выше */
.hero__image{
  position:absolute;
  inset:0;
  margin:auto;

  max-width:100%;
  max-height:100%;

  object-fit:contain;
}

/* Fact card */
.hero__fact{
  position:absolute;
  left: 80px;
  top: 200px;
  z-index: 3;

  display:flex;
  align-items:center;
  gap: 10px;

  background:#FFFDFD;
  border-radius:30px;
  padding: 12px 16px;

  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.10);
}

.hero__fact-icon{
  width: 24px;
  height: 24px;
  display:block;
}

.hero__fact-value{
  font-size:18px;
  font-weight:600; /* semibold */
  color:#0f172a;
  line-height: 1.1;
}

.hero__fact-label{
  font-size:12px;
  font-weight:400; /* regular */
  color:#0f172a;
  opacity: .72;
  line-height: 1.2;
}

/* =========================
   HERO MOBILE — swap blocks
========================= */
@media (max-width: 980px){

  .hero{
    padding: 36px 0 50px;
  }

  .hero__inner{
    display:flex;                 /* чтобы order работал предсказуемо */
    flex-direction:column;
    gap: 24px;
  }

  /* 1) СНАЧАЛА картинка */
  .hero__right{
    order: 1;
    display:flex;
    justify-content:center;
    position: relative;           /* нужно для .hero__fact absolute */
  }

  /* 2) ПОТОМ весь текстовый блок (включая CTA внутри него) */
  .hero__left{
    order: 2;
    text-align:center;
    align-items:center;
    display:flex;
    flex-direction:column;
  }

  .hero__title-main,
  .hero__title-accent{
    font-size: 30px;
    line-height: 1.15;
    white-space: normal;
  }

  .hero__subtitle{ font-size:18px; }
  .hero__desc{ font-size:14px; }

  /* CTA */
  .hero__cta{
    max-width:340px;
    width:100%;
    margin-top: 18px;
    margin-bottom: 18px;

    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;

    transition:
      transform 0.12s ease,
      box-shadow 0.12s ease,
      filter 0.12s ease;
    will-change: transform;
  }

  /* более заметный tap-эффект */
  .hero__cta:active{
    transform: translateY(2px) scale(0.985);
    box-shadow: 0 16px 40px rgba(15,23,42,0.25);
    filter: brightness(0.97);
  }

  /* на мобилках часто срабатывает focus после тапа */
  .hero__cta:focus,
  .hero__cta:focus-visible{
    outline:none;
    transform: translateY(-1px);
    box-shadow: 0 18px 44px rgba(15,23,42,0.22);
  }

  /* Медиа размеры */
  .hero__media{
    min-height: 280px;
    max-width: 340px;
    width:100%;
  }

  .hero__image{
    transform: scale(1.60);
    transform-origin: center;
    pointer-events:none;          /* чтобы не мешала тапу по CTA */
  }

  /* Фоновые проценты */
  .hero__percent-bg{
    font-size: 260px;
    transform: translate(-50%, -55%);
    pointer-events:none;          /* чтобы не мешал тапу */
  }

  /* "Более 6 млрд" поверх картинки */
  .hero__fact{
    position:absolute;
    top: 35%;
    left:30%;
    transform: translateX(-50%);
    z-index:5;

    max-width: 240px;
    padding:14px 18px;
    border-radius:22px;

    box-shadow: 0 12px 30px rgba(15,23,42,0.12);
    text-align:center;
  }

  .hero__fact-value{
    font-size:14px;
    font-weight:600;
    white-space: nowrap;
    line-height: 1.2;
  }

  .hero__fact-label{
    font-size:10px;
    opacity:0.75;
    white-space: nowrap;
    line-height: 1.2;
  }
}
/* =========================
   WHY US
========================= */

.whyus{
  background: var(--whyus-bg, #fff);
  padding: 60px 0 100px; /* чуть больше воздуха */
}

.whyus__container{
  max-width: 1400px;
  padding: 0 120px; /* от краев экрана */
}

.whyus__title{
  margin: 0 0 48px;
  text-align:center;

  font-size:30px;
  font-weight:600;
  color:#0f172a;
}

/* GRID */
.whyus__grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px; /* между карточками */
}

/* CARD */
.whyus-card{
  position:relative;
  border-radius:30px;
  padding: 48px 48px 48px;
  min-height: 460px;
  overflow:hidden;
}
.whyus-card{
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
    
  box-shadow: 0 6px 22px rgba(0,0,0,0.05);
  cursor: pointer;
}

.whyus-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 22px 60px rgba(0,0,0,0.14);
}

.whyus-card--blue{ background: var(--whyus-card-blue, #E4FAFF); }
.whyus-card--mint{ background: var(--whyus-card-mint, #EFFFFC); }

/* MINI ICON */
.whyus-card__mini{
  position:absolute;
  left: 48px;
  top: 46px;
  width: 34px;
  height: 34px;
  object-fit:contain;
}

/* TITLE */
.whyus-card__title{
  margin: 0 0 28px;
  padding-left: 60px;

  font-size:26px;
  font-weight:600;
  color:#0f172a;
  line-height:1.2;
}

/* BULLET LIST */
.whyus-card__list{
  margin: 0 0 36px;
  padding: 0;
  list-style: none;

  font-size:18px;
  font-weight:400;
  color:#0f172a;
  line-height:1.7;
  max-width:520px;
}

.whyus-card__list li{
  position: relative;
  padding-left: 22px;
  margin-bottom: 18px;  /* расстояние между строками */
}

.whyus-card__list li:last-child{
  margin-bottom: 0;
}

/* аккуратная круглая точка */
.whyus-card__list li::before{
  content:"";
  position:absolute;
  left:0;
  top:11px;

  width:6px;
  height:6px;
  border-radius:50%;

  background: var(--whyus-bullet, rgba(15,23,42,0.35));
}

/* CTA */
.whyus-card__cta{
  position:absolute;
  left: 48px;
  bottom: 48px;

  display:inline-flex;
  align-items:center;
  justify-content:center;

  background: var(--whyus-cta-bg, #005B68);
  color: var(--whyus-cta-color, #fff);
  text-decoration:none;

  border-radius:18px;
  font-size:17px;
  font-weight:500;

  padding: 16px 28px;
  line-height:1;
  white-space:nowrap;
}

.whyus-card__cta:hover{
  filter:brightness(1.05);
}

/* BIG COIN */
.whyus-card__coin{
  position:absolute;
  right:-10px;
  bottom:-40px;

  width:300px;
  height:auto;

  pointer-events:none;
  user-select:none;
}

/* =========================
   WHY US — Mobile fixes + CTA effect (same as desktop)
   (ничего больше не трогаем)
========================= */
@media (max-width: 980px){

  .whyus{
    padding: 50px 0 80px;
  }

  /* Заголовок секции меньше */
  .whyus__title{
    font-size:24px;     /* было 30 */
    margin: 0 0 32px;   /* компактнее */
    line-height: 1.2;
  }

  .whyus__container{
    padding: 0 20px;
  }

  .whyus__grid{
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .whyus-card{
    padding: 36px 28px 36px;
    min-height: 420px;

    overflow:hidden;          /* чтобы монетка красиво обрезалась */
    padding-bottom: 140px;    /* резерв места снизу под CTA + монетку */
  }

  .whyus-card__mini{
    left:28px;
    top:30px;
  }

  .whyus-card__title{
    padding-left:52px;
    font-size:20px;           /* было 22 */
    line-height:1.2;
  }

  .whyus-card__list{
    font-size:16px;
    line-height:1.9;
  }

  /* CTA держим выше, чтобы ничего не наезжало */
  .whyus-card__cta{
    left:28px;
    bottom: 50px;             /* было 28 — поднимаем кнопку */
    z-index: 3;

    /* эффект как на десктопе */
    transition:
      transform 0.25s ease,
      box-shadow 0.25s ease,
      filter 0.25s ease;
    box-shadow: 0 6px 18px rgba(15,23,42,0.14);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .whyus-card__cta:hover{
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(15,23,42,0.22);
    filter: brightness(1.06);
  }

  .whyus-card__cta:active{
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(15,23,42,0.18);
  }

  /* Монетку уводим ниже кнопки */
  .whyus-card__coin{
    width:240px;
    right:-20px;

    bottom:-80px;             /* уводим ниже CTA */
    z-index: 1;               /* чтобы была под CTA */
    opacity: 0.95;
  }
}
/* =========================
   INVESTMENT
========================= */

.investment{
  background:#fff;
  padding: 50px 0 80px;
}

.investment__container{
  width: 100%;
  max-width: 1400px;     /* 120 + (4*290 + 3*15) + 120 */
  margin: 0 auto;        /* <-- ОБЯЗАТЕЛЬНО */
  padding: 0 120px;      /* 120px слева/справа */
  box-sizing: border-box;
}

.investment__title{
  margin: 0 0 40px;
  text-align:center;

  font-size:30px;
  font-weight:600; /* semibold */
  color:#0f172a;
}

.investment__grid{
  display: grid;
  grid-template-columns: repeat(4, 280px);
  column-gap: 13px;
  justify-content: space-between; /* можно оставить */
}

/* БАЗА карточки */
.inv-card{
  width:280px;
  height:420px;

  background: var(--inv-card-bg-1, #F9F9F9);
  border-radius:20px;

  padding: 34px 28px 28px;
  position:relative;
  overflow:hidden;

  transition: 
    transform 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
}

/* мягкое начальное состояние */
.inv-card{
  box-shadow: 0 4px 18px rgba(0,0,0,0.04);
}

/* hover */
.inv-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.12);
}

/* 4 варианта фона (если захочешь разные) */
.inv-card--1{ background: var(--inv-card-bg-1, #F9F9F9); }
.inv-card--2{ background: var(--inv-card-bg-2, #F9F9F9); }
.inv-card--3{ background: var(--inv-card-bg-3, #F9F9F9); }
.inv-card--4{ background: var(--inv-card-bg-4, #F9F9F9); }

.inv-card__icon{
  width:44px;
  height:44px;
  object-fit:contain;
  display:block;
  margin: 0 0 18px;
}

.inv-card__title{
  margin: 0 0 16px;
  font-size:16px;
  font-weight:600; /* semibold */
  color:#0f172a;
  line-height:1.25;
  max-width: 230px;
}

.inv-card__line{
  height:1px;
  background: var(--inv-line, #A0A0A0);
  opacity:.6;
  margin: 0 0 18px;
}

.inv-card__row{
  margin: 0 0 13px;
}

.inv-card__label{
  font-size:13px;
  font-weight:400; /* regular */
  color:#0f172a;
  margin: 0 0 10px;
}

.inv-card__value{
  font-size:18px;
  font-weight:500; /* medium */
  color:#0f172a;
  margin: 0;
}

.inv-card__value--green{
  color: var(--inv-green, #007F58);
}

.inv-card__value--orange{
  color: var(--inv-orange, #CA8308);
}

/* Responsive */
@media (max-width: 1400px){
  .investment__container{
    padding: 0 40px;
  }

  .investment__grid{
    grid-template-columns: repeat(2, 290px);
    justify-content:center;
    gap: 18px;
  }
}

@media (max-width: 720px){
  .investment__container{
    padding: 0 20px;
  }

  /* главный заголовок секции */
  .investment__title{
    font-size:24px;
    line-height:1.2;
  }

  .investment__grid{
    grid-template-columns: 1fr;
    justify-items:center;
  }

  .inv-card{
    width: 100%;
    max-width: 360px;
    height: auto;
    min-height: 420px;

    /* эффект как на других карточках */
    transition:
      transform 0.35s ease,
      box-shadow 0.35s ease;

    box-shadow: 0 6px 22px rgba(0,0,0,0.05);
    cursor:pointer;
  }

  .inv-card:hover{
    transform: translateY(-8px);
    box-shadow: 0 22px 60px rgba(0,0,0,0.14);
  }

  .inv-card:active{
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  }
}
/* =========================
   ADVANTAGES
========================= */

.advantages{
  background:#fff;
  padding: 50px 0 80px; /* 50px сверху как ты просил */
}

.advantages__container{
  max-width: 1400px;   /* как у whyus: шире общего контейнера */
  padding: 0 120px;    /* “до краев 120px” */
}

.advantages__title{
  margin: 0 0 44px;
  text-align:center;

  font-size:30px;
  font-weight:600; /* semibold */
  color:#0f172a;

  /* если заголовок из JSON с переносами */
  white-space: pre-line;
  line-height: 1.25;
}

.advantages__grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px; /* между карточками 18px */
}

.adv-card{
  position:relative;
  background: var(--adv-card-bg, #ECF6E7);
  border-radius:40px;

  min-height: 250px;       /* “примерно 250px” */
  padding: 40px 44px;      /* приятный воздух внутри */
  overflow:hidden;

  display:flex;
  flex-direction:column;
  justify-content:flex-end;
}

.adv-card{
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;

  box-shadow: 0 6px 22px rgba(0,0,0,0.05);
  cursor: pointer;
}

.adv-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 20px 55px rgba(0,0,0,0.14);
}

/* маленький белый квадратик 58x58, radius 14 */
.adv-card__iconbox{
  position:absolute;
  left: 44px;
  top: 40px;

  width:58px;
  height:58px;
  border-radius:14px;
  background:#fff;

  display:flex;
  align-items:center;
  justify-content:center;
}

.adv-card__iconbox img{
  width: 34px;     /* можно поджать если иконки крупные */
  height: 34px;
  object-fit:contain;
  display:block;
}

/* текстовая часть снизу */
.adv-card__body{
  display:flex;
  flex-direction:column;
  gap: 10px;
}

.adv-card__label{
  font-size:18px;
  font-weight:400; /* regular */
  color:#0f172a;
  line-height:1.25;
}

.adv-card__value{
  font-size:35px;
  font-weight:600; /* semibold */
  color:#0f172a;
  line-height:1.05;
}

/* Responsive */
@media (max-width: 1200px){
  .advantages__container{
    padding: 0 40px;
  }
}

@media (max-width: 980px){
  .advantages{
    padding: 36px 0 60px;
  }

  .advantages__container{
    padding: 0 20px;
  }

  /* главный заголовок секции */
  .advantages__title{
    font-size:24px;
    line-height:1.2;
  }

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

  .adv-card{
    min-height: 220px;
    padding: 32px 26px;
  }

  .adv-card__iconbox{
    left: 26px;
    top: 26px;
  }

  .adv-card__value{
    font-size: 32px;
  }
}
/* =========================
   CONTACT FORM (CTA PANEL)
========================= */

.contact-form{
  background:#fff;
  padding: 50px 0 120px;
}

.contact-form__container{
  max-width: 1400px;
  padding: 0 120px; /* 120 по краям как ты сказал */
}

.contact-form__panel{
  position: relative;
  height: 400px;          /* высота панели */
  border-radius: 30px;     /* радиус панели */
  background: var(--contact-panel-bg, #267898); /* ← переменная */
  overflow: visible;       /* важно: картинка должна “вылезать” вниз */
  display: grid;
  grid-template-columns: 520px 1fr; /* левый арт-блок + правый текст */
  align-items: center;
}

/* LEFT side */
.contact-form__left{
  position: relative;
  height: 100%;
}

/* круг 395x395, чуть ниже */
.contact-form__circle{
  position: absolute;
  width: 395px;
  height: 395px;
  border-radius: 50%;
  background: var(--contact-circle-bg, #035271); /* ← переменная */

  left: 80px;     
  top: 50px;      
}

/* дом поверх круга и вылезает вниз за панель */
.contact-form__img{
  position: absolute;
  width: 360px;   
  height: auto;

  left: 70px;
  top: 10px;
  transform: translateY(90px);

  pointer-events: none;
  user-select: none;
}

/* RIGHT side: всё по центру */
.contact-form__right{
  text-align: center;
  padding: 0 70px 0 20px; 
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* title */
.contact-form__title{
  margin: 0 0 14px;
  font-size: 24px;
  font-weight: 500; 
  color: #ffffff;
  line-height: 1.2;
  max-width: 520px;
}

/* text */
.contact-form__text{
  margin: 0;
  font-size: 15px;
  font-weight: 400; 
  color: rgba(255,255,255,0.92);
  line-height: 1.6;
  max-width: 560px;
}

/* button */
.contact-form__btn{
  margin-top: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: #ffffff;
  color: #0f172a;

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

  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;

  box-shadow: 0 6px 18px rgba(15,23,42,0.15);
}

.contact-form__btn:hover{
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(15,23,42,0.28);
  background: #f4f6f8; /* лёгкое затемнение вместо filter */
}

.contact-form__btn:active{
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(15,23,42,0.22);
}

@media (max-width: 980px){
  .contact-form{
    padding: 36px 0 60px;
  }

  .contact-form__container{
    padding: 0 20px;
  }

  .contact-form__title{
    font-size:22px;     /* было 24 — делаем чуть меньше */
    line-height:1.2;
    margin-top: 14px;   /* опускаем ниже картинки */
  }

  .contact-form__panel{
    height: auto;
    padding: 28px 18px 36px;
    grid-template-columns: 1fr;
    gap: 18px;
    overflow: hidden;
  }

  .contact-form__left{
    height: 220px;   /* было 260 — уменьшаем зону арта */
  }

  /* круг меньше и выше */
  .contact-form__circle{
    width: 240px;    /* было 300 */
    height: 240px;
    left: 50%;
    top: -10px;      /* поднимаем выше */
    transform: translateX(-50%);
  }

  /* картинка меньше и аккуратнее */
  .contact-form__img{
    width: 220px;    /* было 300 */
    left: 50%;
    top: -10px;
    transform: translateX(-50%) translateY(20px);
  }

  .contact-form__right{
    padding: 0 10px;
  }
}
/* =========================
   FOOTER
========================= */

.site-footer{
  background: var(--footer-bg, #182536);
  color:#ffffff;
  padding: 46px 0 40px; /* чуть больше воздуха */
}

.site-footer__container{
  max-width: 1600px;
  padding: 0 140px;
  margin: 0 auto;
}

/* --- top row --- */
.site-footer__top{
  display:grid;
  grid-template-columns: 1.2fr 1.6fr 1fr;
  align-items:start;
  column-gap: 64px;
}

/* logo */
.site-footer__logo{
  width: 200px;
  height: auto;
  display:block;

  margin-top: -10px; /* регулируй */
}

/* address */
.site-footer__address{
  font-size:18px;
  font-weight:400;
  line-height:1.3;
  opacity:0.95;
  max-width: 620px;
}

/* phone + email */
.site-footer__contacts{
  justify-self:end;
  text-align:right;
}

.site-footer__phone,
.site-footer__email{
  font-size:18px;
  font-weight:400;
  line-height:1.3;
  opacity:0.95;
}

.site-footer__email{
  margin-top: 6px;
}

/* slogan */
.site-footer__slogan{
  margin-top: 22px;
  text-align:left;
  max-width: 900px;
  font-size:10px;
  font-weight:500;
  letter-spacing:0.06em;
  text-transform:uppercase;
  opacity:0.9;
}

/* license */
.site-footer__license{
  margin-top: 18px;
  font-size:10px;
  font-weight:300;
  line-height:1.6;
  opacity:0.75;
  max-width: 900px;
}

/* disclaimer */
.site-footer__disclaimer{
  margin-top: 22px;
  font-size:10px;
  font-weight:300;
  line-height:1.7;
  opacity:0.72;
  white-space: pre-line;
  max-width: 1300px;
}

/* =========================
   Responsive
========================= */

@media (max-width: 1400px){
  .site-footer__container{
    padding: 0 60px;
  }
}

@media (max-width: 1100px){
  .site-footer__top{
    grid-template-columns: 1fr;
    row-gap: 20px;
  }

  .site-footer__contacts{
    justify-self:start;
    text-align:left;
  }
}

@media (max-width: 768px){
  .site-footer{
    padding: 32px 0 28px;
  }

  .site-footer__container{
    padding: 0 20px;
  }
}
/* =========================
   LEAD MODAL (GLOBAL)
========================= */

.is-modal-open { overflow: hidden; }

.lead-modal{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 120px;
}

.lead-modal[aria-hidden="true"]{
  display: none;
}

.lead-modal__overlay{
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lead-modal__dialog{
  position: relative;
  width: 100%;
  max-width: 1400px;
  border-radius: 28px;

  background: rgba(255,255,255,0.80);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  border: 1px solid rgba(255,255,255,0.45);

  box-shadow:
    0 0 0 1px rgba(255,255,255,0.30) inset,
    0 40px 80px rgba(0,0,0,0.08),
    0 10px 30px rgba(0,0,0,0.06);

  overflow: hidden;
}

.lead-modal__inner{
  padding: 38px 44px 40px;
}

.lead-modal__close{
  position: absolute;
  top: 14px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;

  font-size: 28px;
  line-height: 1;
  color: rgba(15,23,42,0.75);

  box-shadow: 0 10px 24px rgba(15,23,42,0.08);
}

.lead-modal__title{
  margin: 0 0 22px;
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.25;
  color: #0f172a;
}

.lead-form{ width: 100%; }

.lead-form__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 0 auto 18px;
  max-width: 980px;
}

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

.lead-input{
  width: 100%;
  height: 64px;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,0.08);
  background: rgba(255,255,255,0.92);
  padding: 0 22px;

  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #0f172a;

  box-shadow: 0 10px 22px rgba(15,23,42,0.05);
  outline: none;
}

.lead-input:focus{
  border-color: rgba(3,151,87,0.35);
  box-shadow: 0 0 0 4px rgba(3,151,87,0.14);
}

.lead-form__bottom{
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 20px;
  align-items: center;
}

.lead-consents{
  display: grid;
  gap: 14px;
}

.lead-check{
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(15,23,42,0.80);
  line-height: 1.35;
}

.lead-check input{
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.lead-check a{
  color: rgba(15,23,42,0.85);
  text-decoration: underline;
}

.lead-submit{
  height: 64px;
  border-radius: 18px;
  border: 0;

  background: #267898; /* дефолт (если CTA цвет не передали) */
  color: #ffffff;

  font-size: 18px;
  font-weight: 500;
  cursor: pointer;

  box-shadow: 0 18px 44px rgba(15,23,42,0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.lead-submit:hover{
  transform: translateY(-3px);
  box-shadow: 0 26px 60px rgba(15,23,42,0.22);
  filter: brightness(1.05);
}

.lead-submit:active{
  transform: translateY(-1px);
  box-shadow: 0 18px 44px rgba(15,23,42,0.18);
}

/* Mobile */
@media (max-width: 980px){
  .lead-modal{
    padding: 14px;
  }

  .lead-modal__dialog{
    border-radius: 24px;
  }

  .lead-modal__inner{
    padding: 78px 18px 22px;
  }

  .lead-modal__close{
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
  }

  .lead-modal__title{
    font-size: 20px;
    line-height: 1.3;
    margin: 0 0 16px;
  }

  .lead-form__grid{
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 520px;
  }

  .lead-form__bottom{
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 520px;
  }
}