:root {
  --primary: #221f20;
  --txtWhite: #fff;
  --txtBlack: #221f20;
  --accent: #ff2445;
}

@font-face {
  font-family: SFPRO;
  src: url(../fonts/SFPRO.OTF);
}

html {
  scroll-behavior: smooth;
}

* {
  font-family: SFPRO;
  font-size: 16px;
  box-sizing: border-box;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
}

/* Header */
.header {
  background-color: var(--primary);
  height: 100px;
  position: fixed;
  top: 0;
  z-index: 1;
  width: 100%;
  transition: 0.4s;
}

.header.scrolled {
  height: 60px;
}

.headerInner {
  width: 100%;
  display: flex;
  justify-content: space-between;
  height: 100%;
  align-items: center;
}

.headerInner .logo {
  background: url(../img/logoOne.png) center / cover no-repeat;
  width: 180px;
  height: 100%;
}
  
.menu {
  display: flex;
  align-items: center;
}

.menu .contactUs {
  display: none;
}

.menuItem {
  margin-right: 12px;
  text-decoration: none;
  color: var(--txtWhite);
  font-size: 16px;
  font-weight: 500;
  transition: 0.23s;
  cursor: pointer;
}

.menuItem:hover,
.menuItem.active {
  color: var(--accent);
}

.headerInner .contactUs {
  background-color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  border-radius: 12px 12px 12px 12px;
  color: var(--txtBlack);
  padding: 12px 24px 12px 24px;
  text-decoration: none;
  transition: 0.23s;
  cursor: pointer;
}

.headerInner .contactUs:hover {
  color: var(--accent);
}

/* --------------------------- */

.heroBlock {
  background-color: var(--primary);
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
}

.heroBlock.first {
  padding-top: 200px;
}

.heroBlock.first .heroBlockWrapper > img {
  top: 160px;
}

.heroBlock.reverse {
  background-color: #fff2ee;
}

.heroBlock.reverse .heroBlockWrapper {
  flex-direction: row-reverse;
}

.heroBlock.reverse .heroBlockWrapper > img:nth-child(1) {
  left: 814px;
  animation: fadeInDown 1s;
}

.heroBlock.reverse .heroBlockInner {
  margin-left: auto;
  color: var(--txtBlack);
}

.heroBlock.reverse .heroBlockInner > h2 {
  font-size: 48px;
}

.heroBlock.advantages {
  background: url(../img/featuresBg.svg) center / contain no-repeat,
    var(--primary);
}

.heroBlock.advantages .heroBlockWrapper .heroBlockInner,
.heroBlock.advantages .heroBlockWrapper .heroBlockInner > span {
  max-width: 100%;
}

.heroBlock.advantages .heroBlockWrapper .heroBlockInner h2 {
  margin-bottom: 135px;
  text-align: center;
  font-size: 48px;
}
.heroBlock.reverse.features {
  padding-top: 10px;
  position: relative;
  overflow: hidden;
}

.heroBlock.reverse.features > h1 {
  margin-bottom: 90px;
  text-align: center;
  font-size: 48px;
}

.heroBlock.reverse.features .heroBlockWrapper .heroBlockInner > h2 {
  font-size: 36px;
  max-width: 500px;
  line-height: 1;
}

.heroBlock.reverse.features .heroBlockWrapper > img:nth-child(1) {
  top: 230px;
  left: 995px;
  width: 354px;
  animation: herBlockanim2 1s;
}

.heroBlock.finance {
  background-color: #ecf1ff;
  position: relative;
}

.heroBlock.finance .heroBlockWrapper > img:nth-child(1) {
  left: 0;
  top: 34px;
}
.heroBlock.finance .heroBlockWrapper .heroBlockInner {
  color: var(--txtBlack);
  margin-right: 150px;
}
.heroBlock.finance .heroBlockWrapper .heroBlockInner > h2 {
  font-size: 36px;
}

.heroBlock.reverse.support {
  background-color: #fff2ee;
}
.heroBlock.reverse.support .heroBlockWrapper .heroBlockInner > h2 {
  font-size: 36px;
  line-height: 1.1;
  max-width: 500px;
}
.heroBlock.finControl {
  position: relative;
  padding-top: 140px;
}

.heroBlock.finControl .heroBlockWrapper > img:nth-child(1) {
  top: 91px;
  left: 220px;
}

.heroBlock.finControl .heroBlockWrapper .heroBlockInner {
  margin-right: auto;
}

.heroBlock.finControl .heroBlockWrapper .heroBlockInner > h2 {
  font-size: 48px;
}

.heroBlock.security {
  background-color: #ebfcfc;
  position: relative;
}

.heroBlock.security .heroBlockWrapper .heroBlockInner {
  max-width: 100%;
}

.heroBlock.security .heroBlockWrapper .heroBlockInner a {
  margin: 30px auto 0;
}

.heroBlock.security .heroBlockWrapper .heroBlockInner h2 {
  color: var(--txtBlack);
  font-size: 36px;
  text-align: center;
  margin-bottom: 16px;
}

.heroBlock.security .heroBlockWrapper .heroBlockInner > span {
  color: var(--txtBlack);
  text-align: center;
  max-width: 582px;
  margin: 0 auto 90px;
}

.heroBlock.security .heroBlockWrapper > img:nth-child(1) {
  right: 40px;
  top: 40px;
  left: initial;
}

.heroBlock.security .heroBlockWrapper > img:nth-child(2) {
  top: initial;
  bottom: 30px;
  left: 0;
}

.heroBlock.security
  .heroBlockWrapper
  .heroBlockInner
  .heroBlockAdvantages
  .heroBlockAdvantagesItem {
  background-color: var(--primary);
  color: var(--txtWhite);
  width: 332px;
  height: 380px;
  border-radius: 20px 20px 20px 20px;
  padding-top: 44px;
  padding-bottom: 44px;
  padding-left: 36px;
  padding-right: 36px;
}

.heroBlock.security
  .heroBlockWrapper
  .heroBlockInner
  .heroBlockAdvantages
  .heroBlockAdvantagesItem
  span {
  color: var(--txtWhite);
}

.heroBlock.security
  .heroBlockWrapper
  .heroBlockInner
  .heroBlockAdvantages
  .heroBlockAdvantagesItem
  a {
  color: var(--txtWhite);
  transition: 0.23s;
  text-decoration: none;
  cursor: pointer;
}

.heroBlock.security
  .heroBlockWrapper
  .heroBlockInner
  .heroBlockAdvantages
  .heroBlockAdvantagesItem
  a:hover {
  color: var(--accent);
}

.fincControlItems {
  display: flex;
  flex-wrap: wrap;
  width: 60%;
}
.fincControlItem {
  width: 286px;
  height: 238px;
  padding: 40px 36px;
  background-color: #fff8ec;
  border-radius: 20px 20px 20px 20px;
  margin-right: 20px;
  margin-bottom: 30px;
}

.fincControlItem h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

.fincControlItem:nth-child(2) {
  background-color: #edfffb;
  margin-bottom: 0;
  margin-right: 0;
  margin-top: -60px;
}

.fincControlItem:nth-child(3) {
  background-color: #ecf1ff;
  margin-bottom: 0;
  margin-right: 20px;
}

.fincControlItem:nth-child(4) {
  background-color: #fff2ee;
  margin-right: 0;
  margin-top: -60px;
  margin-bottom: 0;
}

.heroBlockAdvantages {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.heroBlockAdvantagesItem {
  width: 380px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 44px 36px;
  background-color: #edfffb;
  color: var(--txtBlack);
  margin-right: 32px;
  border-radius: 20px 20px 20px 20px;
}

.heroBlockAdvantages h3 {
  margin: 24px 0;
  font-size: 24px;
}

.heroBlockAdvantagesItem:nth-child(2) {
  background-color: #ecf1ff;
}

.heroBlockAdvantagesItem:nth-child(3) {
  background-color: #fff2ee;
  margin-right: 0;
}

.heroBlockWrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.heroBlockInner {
  display: flex;
  flex-direction: column;
  color: var(--txtWhite);
  max-width: 544px;
}

.heroBlockInner > h2 {
  font-size: 64px;
  font-weight: 600;
  line-height: 76px;
  margin-bottom: 28px;
}

.button {
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  border-radius: 12px 12px 12px 12px;
  background-color: var(--accent);
  color: var(--txtWhite);
  width: max-content;
  padding: 10px 20px;
  text-decoration: none;
  cursor: pointer;
  transition: 0.23s;
}

.heroBlockInner > .button:hover {
  transform: scale(1.2);
}

.heroBlockInner > span {
  max-width: 394px;
  line-height: 24px;
  margin-bottom: 60px;
}

.heroBlockWrapper > img {
  position: absolute;
  top: 60px;
}

.heroBlockWrapper > img:nth-child(1) {
  left: 273px;
  animation: herBlockanim1 1s;
}

.heroBlockWrapper > img:nth-child(2) {
  animation: herBlockanim2 1s;
  right: 458px;
}

.heroImage1 {
  background: url(../img/heroImage1.png) center / cover no-repeat;
  width: 100%;
  max-width: 458px;
  height: 558px;
}

.heroImage2 {
  background: url(../img/heroImage2.png) center / cover no-repeat;
  width: 100%;
  max-width: 468px;
  height: 390px;
}

.heroImage3 {
  background: url(../img/heroImage3.png) center / cover no-repeat;
  width: 100%;
  max-width: 532px;
  height: 520px;
}

.heroImage4 {
  background: url(../img/4.png) center / contain no-repeat;
  width: 100%;
  max-width: 369px;
  height: 439px;
}

.heroImage5 {
  background: url(../img/heroImage4.png) center / contain no-repeat;
  width: 100%;
  max-width: 369px;
  height: 439px;
}


.heroImageRisk {
  background: url(../img/heroImageRisk.webp) center / cover no-repeat;
  width: 100%;
  max-width: 369px;
  height: 439px;
}


.contactForm {
  padding-top: 120px;
  padding-bottom: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: url(../img/contactsBg.jpg) center / cover no-repeat;
}

.contactForm .contactFormWrapper h2 {
  text-align: center;
  font-size: 48px;
  font-weight: 700;
  line-height: 60px;
  color: var(--txtBlack);
  margin-bottom: 24px;
}

.contactForm .contactFormWrapper span {
  font-size: 16px;
  color: var(--txtBlack);
  text-align: center;
  width: 100%;
  display: block;
  margin-bottom: 60px;
}
.contactFormInner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 545px;
  width: 100%;
}

.contactFormInner label {
  display: flex;
  flex-direction: column;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  max-width: 545px;
  width: 100%;
}

.contactFormInner label input {
  height: 42px;
  padding: 8px 16px;
}

.contactFormInner label textarea {
  padding: 8px 16px;
  height: 108px;
  resize: none;
}
.contactFormInner label input,
.contactFormInner label textarea {
  background-color: #ffffff;
  border-color: #c8c8c8;
  border-width: 1px;
  border-style: solid;
  border-radius: 12px 12px 12px 12px;
  outline: none;
  max-width: 545px;
  width: 100%;
}

.contactFormInner > button {
  width: 100%;
  height: 40px;
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  border-radius: 12px 12px 12px 12px;
  color: var(--txtWhite);
  background-color: var(--accent);
  cursor: pointer;
  transition: 0.23s;
  margin-top: 16px;
  border: none;
  outline: none;
}

.contactFormInner > button:hover {
  opacity: 0.8;
}

/* Footer */

.footer {
  background-color: var(--primary);
  min-height: 324px;
}

.footerInner {
  display: flex;
  justify-content: space-between;
  padding: 40px 0 50px 0;
  box-sizing: border-box;
}
.footerSide .logo {
  background: url(../img/logoOne.png) center / cover no-repeat;
  width: 170px;
  height: 25%;
  margin-bottom: 40px;
}

.footerInner .footerSide:nth-child(2) {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footerInfo {
  display: flex;
  flex-direction: column;
  color: var(--txtWhite);
  font-size: 16px;
  margin-bottom: 40px;
}

.footerInfo > a {
  color: var(--txtWhite);
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: 0.23s;
}

.footerInfo > a:hover {
  color: var(--accent);
}
.footerInfo > span {
  margin-bottom: 4px;
}
.footerInfo > span:first-child {
  font-weight: bold;
}

.footerSidePci {
  background: url(../img/pci.svg) center / cover no-repeat;
  width: 78px;
  height: 29px;
}

.footerLinks {
  display: flex;
  flex-direction: column;
}

.footerLinks > a {
  color: var(--txtWhite);
  cursor: pointer;
  text-decoration: none;
  margin-bottom: 4px;
  transition: 0.23s;
  text-align: end;
}

.footerLinks > a:last-child {
  margin-bottom: 0;
}

.footerLinks > a:hover {
  color: var(--accent);
}
.footerSideVisa {
  background: url(../img/viza.svg) center / cover no-repeat;
  width: 111px;
  height: 38px;
  margin-left: auto;
}

/* ------------------------ */

/* Адаптивность: планшеты */
@media screen and (max-width: 992px) {
  .container {
    padding: 0 20px;
  }

  .headerInner .logo {
    width: 150px;
    height: 46px;
  }

  .menuItem {
    margin-right: 8px;
    font-size: 14px;
  }

  .heroBlockInner > h2 {
    font-size: 48px;
    line-height: 60px;
  }

  .heroBlock.reverse.features .heroBlockWrapper .heroBlockInner > h2,
  .heroBlock.finance .heroBlockWrapper .heroBlockInner > h2,
  .heroBlock.security .heroBlockWrapper .heroBlockInner h2 {
    font-size: 28px;
  }

  .fincControlItems {
    width: 100%;
    justify-content: center;
  }

  .fincControlItem {
    margin-right: 10px;
    width: 100%;
    max-width: 300px;
  }

  .heroBlockAdvantages {
    flex-direction: column;
    align-items: center;
  }

  .heroBlockAdvantagesItem {
    margin-bottom: 20px;
    margin-right: 0;
    width: 100%;
    max-width: 380px;
  }

  .footerInner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footerSidePci,
  .footerSideVisa {
    margin: 20px auto 0;
  }
}

/* Адаптивность: мобильные устройства */
@media screen and (max-width: 768px) {
  .headerInner {
    padding: 10px 0;
    height: auto;
  }

  .menu {
    flex-direction: column;
    align-items: center;
  }

  .menuItem {
    margin: 4px 0;
  }

  .heroBlockWrapper {
    flex-direction: column !important;
    text-align: center;
    padding: 0 10px;
  }

  .heroBlockWrapper > img {
    display: none;
  }

  .heroBlockInner {
    align-items: center;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  .heroBlockInner > h2 {
    font-size: 36px;
    line-height: 48px;
  }

  .fincControlItem{
    margin-bottom: 30px !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
  }

  .contactFormInner {
    max-width: 100%;
    padding: 0 10px;
  }
  .heroImage1{
    margin-top: 20px;
  }
  .heroImage1,
  .heroImage2,
  .heroImage3,
  .heroImage4,
  .heroImage5 {
    max-width: 100%;
    height: 50%;
    min-height: 300px;
    background-size: contain;
  }

  .footerInner {
    padding: 20px 10px;
  }

  .footerLinks > a {
    text-align: center;
  }
}

/* Адаптивность: маленькие мобильные (до 480px) */
@media screen and (max-width: 480px) {
  * {
    font-size: 14px;
  }

  .button,
  .headerInner .contactUs {
    padding: 8px 16px;
    font-size: 14px;
  }

  .contactForm .contactFormWrapper h2 {
    font-size: 32px;
    line-height: 40px;
  }

  .contactFormInner label {
    font-size: 16px;
    line-height: 24px;
  }

  .contactFormInner > button {
    font-size: 16px;
    height: 36px;
  }
}

/* Бургер-иконка */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  z-index: 10;
}
.burger span {
  display: block;
  height: 3px;
  background: var(--txtWhite);
  border-radius: 2px;
  transition: 0.3s;
}

/* Бургер активен */
.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Мобильное меню */
@media screen and (max-width: 768px) {
  .burger {
    display: flex;
  }
  .headerInner .contactUs {
    display: none;
  }

  .menu .contactUs {
    display: block;
    background-color: #fff;
    color: var(--txtBlack);
    border-radius: 12px;
    padding: 12px 20px;
    margin-top: 20px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    width: 100%;
  }

  .menu .contactUs:hover {
    color: var(--accent);
  }
  .menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--primary);
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    display: none;
  }

  .menuItem {
    margin: 10px 0;
    font-size: 18px;
  }

  .menu.active {
    display: flex;
  }
}

/* --------------------------- */

@keyframes herBlockanim1 {
  from {
    opacity: 0;
    transform: translate3d(-100%, 0, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes herBlockanim2 {
  from {
    opacity: 0;
    transform: translate3d(100%, 0, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}


/*UM*/



/* Основные кнопки */
.um-button, .um-button.um-disabled {
  background-color: var(--accent);
  color: var(--txtWhite);
  border-radius: 6px;
  font-weight: 600;
  transition: 0.3s ease;
}

.um-button:hover {
  background-color: darken(var(--accent), 10%);
  color: var(--txtWhite);
}

/* Ссылки */
.um a.um-link,
.um-account-link {
  color: var(--accent);
}

.um-account-link.current {
  background-color: rgba(255, 36, 69, 0.1);
  border-left: 4px solid var(--accent);
}


/* Сайдбар профиля */
.um-account-side {
  background-color: var(--primary);
  color: var(--txtWhite);
  border-radius: 12px;
  padding: 20px;
}

/* Имя пользователя */
.um-account-name a {
  color: var(--txtWhite);
  font-weight: bold;
  font-size: 1.1rem;
}

/* Иконки */
.um-account-icon i,
.um-account-icontip i {
  color: var(--accent);
}

/* Заголовки табов */
.um-account-title {
  color: var(--txtWhite);
}

/* Активный таб */
.um-account-link.current {
  background-color: rgba(255, 36, 69, 0.2);
  color: var(--accent);
}



.um-form input[type="text"],
.um-form input[type="email"],
.um-form input[type="password"],
.um-form textarea,
.um-form select {
  border: 1px solid var(--accent);
  border-radius: 6px;
  padding: 10px;
  background-color: #f7f7f7;
  color: var(--txtBlack);
}

.um-form label {
  color: var(--txtBlack);
  font-weight: 500;
}


@media (max-width: 768px) {
  .um-account-side {
    padding: 15px;
  }

  .um-account-link {
    font-size: 14px;
    padding: 10px 8px;
  }

  .um-account-title {
    display: inline-block;
  }
}


.entry-content{
    padding: 150px 0;
}




.responsive-payments-table {
  overflow-x: auto;
  width: 100%;
  margin-bottom: 20px;
}

.responsive-payments-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 1000px; /* для горизонтального скролла */
}

.responsive-payments-table th,
.responsive-payments-table td {
  border: 1px solid #ccc;
  padding: 8px 10px;
  text-align: left;
  white-space: nowrap;
}

.responsive-payments-table thead {
  background-color: #f5f5f5;
}

.responsive-payments-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

@media (max-width: 768px) {
  .responsive-payments-table table {
    font-size: 13px;
  }
}
