/* Redesign 2.0 — 2026-11-23 (hero, about, examples, cta)
   откат: удалить файл и строку <link> в header.php (бэкап header.php.bak.redesign2-2026-11-23) */

/* ---------- HERO ---------- */
.header__main{
  background: radial-gradient(1200px 600px at 15% 20%, #1b4c6e 0%, transparent 60%),
              linear-gradient(135deg, #0d1f33 0%, #10314a 55%, #14506f 100%) !important;
  padding: 76px 0 84px !important;
  position: relative;
  overflow: hidden;
}
.header__main::after{
  content:"";
  position:absolute; inset:auto -10% -55% -10%; height:420px;
  background: radial-gradient(closest-side, rgba(25,144,198,.35), transparent 70%);
  pointer-events:none;
}
.header-row{ display:flex; align-items:center; }
.header__front h1{
  color:#fff !important;
  font-size:52px !important;
  line-height:1.08 !important;
  letter-spacing:-.025em !important;
  font-weight:700 !important;
  margin:0 0 18px !important;
  max-width:620px;
}
.header__front-description{
  display:block;
  color:rgba(226,240,250,.78) !important;
  font-size:18px !important;
  line-height:1.6 !important;
  max-width:520px;
}

/* форма в герое — стеклянная карточка */
.header__main .standart-form{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  border-radius:20px;
  padding:22px;
  backdrop-filter: blur(6px);
  box-shadow:0 24px 60px -30px rgba(0,0,0,.55);
}
.header__main .standart-form__label{
  color:rgba(226,240,250,.85) !important;
  font-size:13px !important;
  letter-spacing:.04em;
  text-transform:uppercase;
  margin-bottom:8px !important;
}
.header__main .standart-form__general-input{
  background:#fff !important;
  border:1px solid rgba(255,255,255,.5) !important;
  border-radius:12px !important;
  height:52px !important;
  font-size:16px !important;
  padding:0 16px !important;
  color:#14202e !important;
}
.header__main .standart-form__front-submit{
  width:100% !important;
  height:52px !important;
  border-radius:12px !important;
  background:linear-gradient(135deg,#2fbf71,#1f9f5c) !important;
  color:#fff !important;
  font-weight:700 !important;
  font-size:16px !important;
  border:0 !important;
  margin-top:12px !important;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease;
  box-shadow:0 12px 24px -12px rgba(47,191,113,.8);
}
.header__main .standart-form__front-submit:hover{ transform:translateY(-2px); }
.header__main .standart-form__error{
  display:block; margin-top:8px; color:#ffd7d7 !important; font-size:13px;
}

/* ---------- ABOUT ---------- */
#about.description__main{
  background:#fff !important;
  padding:84px 0 !important;
}
#about h2{
  font-size:40px !important;
  letter-spacing:-.02em;
  color:#14202e;
  margin-bottom:16px !important;
}
#about .article{
  color:#5b6b7d;
  font-size:16px;
  line-height:1.75;
}
#about .article p{ margin:0 0 14px; }
#about img{ max-width:180px; }

/* ---------- EXAMPLES ---------- */
.description__main.background-gray{
  background:#f6f9fc !important;
  padding:76px 0 !important;
}
.description__main.background-gray h2{
  font-size:40px !important;
  letter-spacing:-.02em;
  margin-bottom:34px !important;
}
.owl-carousel .image-fix-block{
  border-radius:16px !important;
  overflow:hidden;
  box-shadow:0 20px 40px -24px rgba(20,32,46,.35);
  border:1px solid #e3eaf2;
  background:#fff;
  transition:transform .25s ease, box-shadow .25s ease;
}
.owl-carousel .image-fix-block:hover{
  transform:translateY(-4px);
  box-shadow:0 26px 50px -24px rgba(20,32,46,.42);
}
.owl-theme .owl-dots .owl-dot span{
  background:#c7d5e5 !important;
  width:9px !important; height:9px !important;
}
.owl-theme .owl-dots .owl-dot.active span{ background:#1990C6 !important; }

/* ---------- CTA ---------- */
.rw-how .rw-cta{ text-decoration:none !important; }
.rw-how .rw-cta:hover{ text-decoration:none !important; }

@media (max-width:900px){
  .header__front h1{ font-size:36px !important; }
  .header-row{ display:block; }
  .header__main .standart-form{ margin-top:28px; }
}

/* ---------- HEADER 2.0 ---------- */
.header__overhead{
  position:sticky; top:0; z-index:60;
  background:#fff !important;
  border-bottom:1px solid #eef2f7;
  box-shadow:0 8px 24px -20px rgba(20,32,46,.35);
  padding:10px 0 !important;
}
.header__logo-text{
  font-weight:800 !important; font-size:19px !important;
  letter-spacing:.01em; color:#0d1a2b !important;
}
.header__menu-wrapper{ margin-left:8px; }
.header__overhead-menu-list-link{
  color:#42556b !important; font-weight:500 !important; font-size:15px !important;
  padding:9px 13px !important; border-radius:9px;
  transition:background .18s ease, color .18s ease;
}
.header__overhead-menu-list-link:hover{ background:#f2f7fb; color:#0d1a2b !important; }
.header__user-list{ white-space:nowrap; }
.header__user-link{ border:0 !important; text-decoration:none !important; }
.header__user-login .header__user-link{
  color:#33465c !important; background:transparent !important;
  padding:10px 14px !important; font-weight:600; font-size:15px; border-radius:9px;
}
.header__user-login .header__user-link:hover{ background:#f2f7fb; }
.header__user-register .header__user-link{
  background:#1990C6 !important; color:#fff !important;
  padding:11px 22px !important; border-radius:11px !important;
  font-weight:700; font-size:15px;
  box-shadow:0 12px 22px -14px rgba(25,144,198,.9);
  transition:transform .15s ease, background .15s ease;
}
.header__user-register .header__user-link:hover{ background:#0f6f9c !important; transform:translateY(-1px); }

/* ---------- ABOUT — компактнее ---------- */
#about.description__main{ padding:52px 0 !important; }
#about .row{ align-items:center; }
#about img{ max-width:120px !important; }
#about h2{ font-size:32px !important; margin-bottom:10px !important; }
#about .article{ font-size:15px !important; line-height:1.6 !important; color:#5b6b7d; }
#about .article p{ margin:0 0 8px; }

@media (max-width:767px){
  .header__overhead{ padding:8px 0 !important; }
  #about.description__main{ padding:36px 0 !important; }
  #about img{ max-width:84px !important; margin-bottom:16px; }
}

/* метка в форме героя: скрываем плашку, placeholders достаточно */
.header__main .standart-form .standart-form__input-container label{ display:none !important; }
.header__main .standart-form .standart-form__input-container .standart-form__input-wrapper{ margin-left:0 !important; }

/* выравнивание шапки */
.header__overhead{ padding:9px 0 !important; }
.header__overhead .row{ display:flex; align-items:center; flex-wrap:nowrap; }
.header__overhead .header__user-wrapper{ margin-left:auto; }
.header__user-register .header__user-link{ padding:9px 18px !important; font-size:14px !important; line-height:1.25 !important; border-radius:10px !important; }
.header__user-login .header__user-link{ padding:9px 12px !important; font-size:14px !important; }
.header__overhead-menu-list-link{ padding:8px 11px !important; font-size:14px !important; }
.header__logo-text{ font-size:17px !important; }
@media (max-width:767px){ .header__overhead .row{ flex-wrap:wrap; } }

/* финальная подгонка шапки */
.header__overhead{ padding:12px 0 !important; }
.header__user-list{ margin:0 !important; }
.header__user-list li{ margin:0 !important; vertical-align:middle; }
.header__user-register .header__user-link{ padding:8px 16px !important; font-size:13.5px !important; box-shadow:0 8px 18px -12px rgba(25,144,198,.8) !important; }

#about.description__main{ padding:36px 0 !important; }
#about .row{ min-height:0 !important; }
#about h2{ font-size:28px !important; margin-bottom:6px !important; }
#about .article{ max-width:640px; margin:0 auto; }

/* ---- кабинет: панель поддержки и кнопки ---- */
.standart-panel.border{
  background:#fff; border:1px solid #e3eaf2; border-radius:16px; padding:22px;
  box-shadow:0 14px 34px -26px rgba(20,32,46,.4);
}
.standart-panel__rack-title h4{ margin:0 0 14px; font-size:16px; color:#14202e; font-weight:700; }
.standart-panel .button{
  display:flex; align-items:center; justify-content:center;
  width:100%; background:#1990C6 !important; color:#fff !important;
  border-radius:11px !important; padding:12px 16px !important;
  font-weight:600; text-decoration:none !important; border:0 !important;
  transition:background .18s ease;
}
.standart-panel .button:hover{ background:#0f6f9c !important; }

/* ---- шапка в кабинете (Profile / Log Out) ---- */
.header__user-list li a.button{
  border-radius:10px !important; padding:9px 16px !important;
  font-size:14px !important; font-weight:600 !important;
  border:0 !important; text-decoration:none !important;
}
.header__user-login a.button{ background:transparent !important; color:#33465c !important; }
.header__user-login a.button:hover{ background:#f2f7fb !important; }
.header__user-register a.button{ background:#1990C6 !important; color:#fff !important; }
.header__user-register a.button:hover{ background:#0f6f9c !important; }

/* ---- убираем белое поле под футером (только внутренние страницы) ---- */
body:not(.body__home){ background:#0a1524 !important; }
#my-content{ background:#fff; }

/* шапка: увеличиваем нижний отступ, чтобы кнопка не выходила за белую полосу */
.header__overhead{ padding:14px 0 20px !important; }

/* --- шапка: выравниваем всё в фиксированные 60px --- */
.header__overhead{ height:60px !important; padding:0 !important; }
.header__overhead .header__user-wrapper{ height:60px !important; float:right; }
.header__user-list{ display:flex !important; align-items:center; height:60px; margin:0 !important; padding:0 !important; }
.header__overhead .header__menu-wrapper .header__overhead-menu-list{ display:flex; align-items:center; height:60px !important; padding:0 !important; margin:0 !important; }
.header__overhead-menu-list li{ margin-right:16px !important; margin-bottom:0 !important; }
.header__user-list li{ margin:0 0 0 6px !important; }

/* галочка подтверждения на регистрации */
.standart-form__checkbox-row{ margin:6px 0 18px; }
.standart-form__checkbox-label{
  display:flex; gap:10px; align-items:flex-start;
  font-size:14px; line-height:1.45; color:#42556b; cursor:pointer; font-weight:400;
}
.standart-form__checkbox-label input{
  width:18px; height:18px; margin:2px 0 0; flex:0 0 18px; accent-color:#1990C6; cursor:pointer;
}
.standart-form__checkbox-label a{ color:#1990C6; text-decoration:underline; }

/* галочка: перебиваем стили темы для label внутри формы */
.standart-form .standart-form__checkbox-row .standart-form__checkbox-label{
  background:transparent !important; color:#42556b !important;
  width:auto !important; float:none !important; height:auto !important;
  line-height:1.45 !important; padding:0 !important; margin:0 !important;
  display:flex !important; align-items:flex-start !important; text-align:left !important;
  font-size:14px !important; font-weight:400 !important; border-radius:0 !important;
}
.standart-form .standart-form__checkbox-row input[type="checkbox"]{
  width:18px !important; height:18px !important; margin:2px 10px 0 0 !important;
  flex:0 0 18px; accent-color:#1990C6; cursor:pointer;
}
.standart-form .standart-form__checkbox-row a{ color:#1990C6 !important; text-decoration:underline !important; }
