/* Подключение шрифта */
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500&display=swap');

/* Общие стили */
body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: #333;
  font-family: 'Rubik', sans-serif;
  font-weight: 400;
  font-size: 16px;
}
.vegos-container {
  width: 100%;
  max-width: 1410px;
  margin: 0 auto;
}

/* Текст в баннере */
.vegos-banner-text {
  padding-bottom: 30px;
  color: black;
}

/* Основной баннер */
.vegos-banner {
  margin-bottom: 120px;
}

.banner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;     /* выравнивание по вертикали */
  align-items: flex-start;     /* прижать содержимое к левому краю */
  text-align: left;            /* перенос строк слева */
  padding: 0 20px;             /* горизонтальные отступы внутри */
  background-image: url('img1/banner-one.png');
  background-size: cover;
  background-position: center;
  height: 300px;
  color: white;
  margin-bottom: 40px;
}

/* Если нужно отдельное название баннера */
.banner-title {
  position: absolute;
  top: -40px;
  left: 0;
  font-size: 2em;
  color: black;
}

/* Текст внутри .banner */
.banner p {
  font-size: 1.6em;
  max-width: 600px;
  line-height:1.5;
  margin: 10px 0 20px 0;
  color: black;
}

/* Кнопки */
.vegos-banner-btns {
	margin: 0 100px;
}

.vegos-btn {
  display: inline-block;
  padding: 10px 45px;
  border: none;
  border-radius: 30px;
  color: #fff;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
}
.vegos-btn-green {
  background-color: #28a745;
  float: left;
}
.vegos-btn-orange {
  background-color: #ff9800;
  float: right;
}

/* Секции */
.vegos-section {
  margin-bottom: 40px;
}
.vegos-section-title {
  margin-bottom: 20px;
}

/* Преимущества */
.vegos-advantages .vegos-features {
  display: flex;
  justify-content: space-between;
  gap: 5%;
}
.vegos-feature {
  position: relative;
  width: 30%;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  color: white;
  text-align: center;
  font-size: 1.5em;
  line-height: 1.5;
  padding: 10px;
  margin-bottom: 20px;
}
.vegos-feature-1 { background-image: url('img1/advantages-01.jpg'); }
.vegos-feature-2 { background-image: url('img1/advantages-02.jpg'); }
.vegos-feature-3 { background-image: url('img1/advantages-03.jpg'); }
.vegos-highlight {
  font-weight: bold;
  font-size: 30px;
}

/* Раздел "Как получить карту" */
.vegos-card-section {
  position: relative;
  background-image: url('img1/banner.jpg');
  background-size: cover;
  background-position: center;
  padding: 40px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.vegos-card-text {
  max-width: 350px;
  padding-left: 45px;
  color: white;
}
.vegos-card-text h2 {
  margin-top: 0;
}

/* Информация о бонусах */
.vegos-bonus-info {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.vegos-bonus-block {
  border-radius: 6px;
  flex: 1 1 100%;
}
.vegos-bonus-title {
  background-color: #FF8800;
  color: #FFFFFF;
  padding: 5px 25px;
  border-radius: 25px;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 10px;
}
.vegos-bonus-text {
  margin-bottom: 10px;
}
.vegos-bonus-list {
  padding-left: 20px;
  margin-bottom: 10px;
}

/* Полноширинный блок */
.vegos-full-width-block {
  margin: 20px 0;
}
.vegos-highlight-title {
  background-color: #FF8800;
  color: #FFFFFF;
  padding: 5px 25px;
  border-radius: 28px;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 10px;
}
.vegos-balance-text a {
  color: #0066cc;
  text-decoration: none;
}

/* Фото-заглушка */
.vegos-photo-placeholder {
  width: 100%;
  height: 400px;
  background-image: url('img1/pers-account.png');
  background-size: cover;
  background-position: center;
  margin-bottom: 40px;
}

/* FAQ */
.vegos-faq-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.vegos-faq-item {
  background: #ffffff;
  border-radius: 8px;
  padding: 15px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.vegos-faq-item h4 {
  position: relative;
  margin: 0;
  font-weight: bold;
}
.vegos-faq-item h4::after {
  content: '\25BC';
  position: absolute;
  right: 0;
  top: 0;
  transition: transform 0.3s;
}
.vegos-faq-item.open h4::after {
  transform: rotate(180deg);
}
.vegos-faq-item-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s ease, padding 0.3s ease;
  padding-top: 0;
}
.vegos-faq-item.open .vegos-faq-item-content {
  max-height: 1000px;
  padding-top: 10px;
}

/* Ссылки */
a {
  color: #0066cc;
  text-decoration: none;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
  body {
    font-size: 14px;
    line-height: 1.4;
  }
	.banner {
	height: 150px;
}

  .vegos-btn-green,
  .vegos-btn-orange {
    float: none;
    display: block;
    width: 100%;
    max-width: 160px;
    margin: 10px auto;
    text-align: center;
    padding: 12px 12px !important;
    font-size: 14px !important;
    border-radius: 20px !important;
    line-height: 1.2;
    position: static !important;
  }

  .vegos-banner {
    margin-bottom: 60px;
  }

  .banner-title {
    position: static;
    font-size: 1.5em;
    margin-bottom: 8px;
  }
  .banner p {
    font-size: 1em;
    padding: 0 12px;
    text-align: left;
  }

  .vegos-advantages .vegos-features {
    display: flex;
    gap: 4px;
  }
  .vegos-feature {
    flex: 1 1 33%;
    aspect-ratio: auto !important;
    min-height: 100px;
    font-size: 12px;
    border-radius: 24px;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    margin: 0;
  }
  .vegos-highlight {
    font-size: 17px;
    line-height: 1.2;
  }

  .vegos-card-section {
    height: 270px;
    padding: 0 !important;
    background-image: url('img1/banner-mobile.png') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }
  .vegos-card-text h2,
  .vegos-card-text p {
    display: none !important;
  }
  .vegos-card-text {
    position: absolute;
    bottom: 15px;
    left: 0;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
    text-align: center;
    background: transparent;
  }
  .vegos-card-text .vegos-btn {
    margin: 0 auto;
  }

  .vegos-bonus-info {
    flex-direction: column;
  }
  .vegos-bonus-block {
    margin-bottom: 12px;
    flex: 1 1 100%;
  }
  .vegos-bonus-title {
    padding: 4px 12px;
    font-size: 14px;
  }

  .vegos-photo-placeholder {
    min-height: 150px;
	height: 150px;
    background-image: url('img1/pers-acc-mob.png');
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }

  .vegos-section-title {
    font-size: 18px;
    font-weight: 500;
  }
  .vegos-faq-item {
    padding: 18px 12px;
  }
  .vegos-faq-item h4 {
    font-size: 14px;
  }
  .vegos-faq-item.open .vegos-faq-item-content {
    padding-top: 8px;
  }
}
