/* Сброс стилей */
* {
 margin: 0;
 padding: 0;
 box-sizing: border-box;
}

body {
 font-family: "PT Sans", serif;
 line-height: 1.15;
 color: #333;
 background-color: #fff;
}

/* Контейнер */
.container {
 width: 100%;
 max-width: 1000px;
 margin: 0 auto 0 15rem;
 padding: 0 20px;
}

/* Header */
.header {
 background-color: #1755de;
 padding: 24px 16px;
 position: sticky;
 top: 0;
 z-index: 1000;
}

.header-content {
 display: flex;
 align-items: center;
 gap: 15px;
}

/* Бургер меню */
.burger-menu {
 background: none;
 border: none;
 cursor: pointer;
 padding: 5px;
 display: flex;
 flex-direction: column;
 gap: 4px;
}

.burger-menu span {
 width: 25px;
 height: 3px;
 background-color: white;
 transition: all 0.3s ease;
 border-radius: 2px;
}

.burger-menu:hover span {
 background-color: #f0f0f0;
}

.burger-menu.active span:nth-child(1) {
 transform: rotate(45deg) translate(6px, 6px);
}

.burger-menu.active span:nth-child(2) {
 opacity: 0;
}

.burger-menu.active span:nth-child(3) {
 transform: rotate(-45deg) translate(6px, -6px);
}

/* Логотип */
.logo img {
 height: 40px;
 width: auto;
 display: block;
}

/* Основной контент */
.main {
 padding: 20px 0;
}

.main-title {
 font-size: 2.175rem;
 font-weight: bold;
 margin-bottom: 15px;
 line-height: 1;
 color: #1755de;
}

/* Изображения */
.image-container {
 margin: 15px 0;
}

.image-container.full-width {
 width: 100%;
}

.image-container.centered {
 display: flex;
 justify-content: center;
 width: 100%;
}

.main-image {
 width: 100%;
 height: auto;
 border-radius: 8px;
}

.centered-image {
 width: 60%;
 height: auto;
 border-radius: 8px;
}

/* Текстовый контент */
.text-content {
 margin: 20px 0;
 text-align: left;
}

.text-content h1 {
 font-size: 2.875rem;
 font-weight: bold;
 margin-bottom: 15px;
 line-height: 1.2;
}

.red-text {
 color: red;
}

.text-content p {
 font-size: 1.38rem;
 margin-bottom: 10px;
 max-width: 800px;
}

/* Ссылки */
.link {
 color: #1755de;
 text-decoration: none;
 font-weight: bold;
 border-bottom: 2px solid transparent;
 transition: all 0.3s ease;
}

.link:hover {
 color: #0d47a1;
 border-bottom-color: #0d47a1;
}

/* Адаптивность */
@media (max-width: 768px) {
 .container {
  width: 100%;
  margin: 0 auto;
  padding: 0 10px;
 }

 .text-content h1 {
  font-size: 2.3rem;
 }

 .text-content p {
  font-size: 1.265rem;
 }

 .centered-image {
  width: 80%;
 }

 .header {
  padding: 12px 10px;
 }

 .logo img {
  height: 35px;
 }
}

@media (max-width: 480px) {
 .text-content h1 {
  font-size: 2.07rem;
 }

 .text-content p {
  font-size: 1.15rem;
 }

 .centered-image {
  width: 90%;
 }

 .main {
  padding: 10px 0;
 }

 .text-content {
  margin: 15px 0;
 }
}

/* Анимации */
/* @keyframes fadeInUp {
 from {
  opacity: 0;
  transform: translateY(30px);
 }
 to {
  opacity: 1;
  transform: translateY(0);
 }
}

.text-content {
 animation: fadeInUp 0.6s ease-out;
}

.image-container {
 animation: fadeInUp 0.8s ease-out;
} */

/* Плавная прокрутка */
html {
 scroll-behavior: smooth;
}

/* Контейнер-карточка */
.gpb-card {
 max-width: 320px; /* ширина как в макете */
 margin: 16px auto;
 padding: 6px;
 background: #0e3b9b; /* синий кант */
 border-radius: 18px;
 box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.gpb-card.has-bg {
 background: url(img/bg_form.png) no-repeat;
 background-size: cover;
}
.gpb-card__inner {
 color: #fff;
 border-radius: 14px;
 padding: 16px 14px 18px;
 box-shadow: inset 0 0 0 1px rgba(14, 59, 155, 0.06);
 font-family: "PT Sans", serif;
}

/* Шапка: логотип слева, слово справа — как на скрине */
.gpb-header {
 text-align: left;
 margin-bottom: 10px;
 width: 100%;
 background: white;
 color: black;
 padding: 6px;
 font-weight: bold;
}
.gpb-logo {
 width: 100%;
 height: auto;
 object-fit: contain;
 flex: 0 0 auto;
}
.gpb-wordmark {
 height: 26px;
 width: auto;
 object-fit: contain;
}

/* Алёрт (красный) */
.gpb-alert {
 margin: 6px 0 12px;
 font-size: 18px;
 font-weight: 700;
 line-height: 1.35;
 text-align: left;
}
.gpb-alert strong {
 color: #d32f2f;
}

/* Заголовок */
.gpb-title {
 margin: 4px 0 10px;
 font-size: 20px;
 font-weight: 800;
 text-align: left;
}

/* Кнопки возраста — «пилюли» с тенью */
.gpb-ages {
 display: flex;
 gap: 12px;
 justify-content: center;
 flex-direction: column;
 align-items: center;
 background: white;
 padding: 15px;
 border-radius: 8px 8px 0 0;
}
.age-btn,
.age-btn2 {
 width: 70%;
 padding: 20px 8px !important;
 border: 0;
 border-radius: 16px;
 color: #fff;
 font-size: 18px;
 font-weight: 700;
 letter-spacing: 0.2px;
 cursor: pointer;
 background: linear-gradient(270deg, #3f78ff, #00297a, #3f78ff);
 background-size: 200% 200%;
 box-shadow: 0 8px 16px rgba(35, 86, 204, 0.35),
  inset 0 -2px 0 rgba(255, 255, 255, 0.15);
 transition: transform 0.06s ease, filter 0.15s ease;
 animation: gradientFlow 8s ease infinite;
}

.age-btn:active,
.age-btn2:active {
 transform: translateY(1px);
}

.age-btn:hover,
.age-btn2:hover {
 filter: brightness(1.05);
}

@keyframes gradientFlow {
 0% {
  background-position: 0% 50%;
 }
 50% {
  background-position: 100% 0%;
 }
 100% {
  background-position: 0% 50%;
 }
}

/* Форма */
.gpb-form {
 display: none;
 animation: gpbFade 0.2s ease;
}
.gpb-form__title {
 margin: 4px 0 10px;
 color: #234a97;
 font-size: 18px;
 font-weight: 800;
 text-align: left;
 margin-top: 10px;
}
.gpb-field {
 margin-bottom: 10px;
}
.gpb-field label {
 display: block;
 font-size: 12px;
 color: #6b7280;
 margin-bottom: 4px;
}
.gpb-field input {
 color: white;
 border: none;
 width: 100%;
 border-bottom: 1px solid white;
 padding: 12px 12px;
 font-size: 16px;
 outline: none;
 background: transparent;
 transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
::placeholder {
 color: white;
}
.gpb-submit {
 width: 100%;
 margin-top: 4px;
 padding: 20px;
 border: 0;
 border-radius: 14px;
 color: #fff;
 font-size: 19px;
 font-weight: 800;
 cursor: pointer;
 box-shadow: 0 8px 16px rgba(13, 91, 225, 0.28);
 background: linear-gradient(270deg, #59ff3f, #179c01, #45ff3f);
 background-size: 200% 200%;
 animation: gradientFlow 8s ease infinite;
}
.gpb-back {
 text-align: left;
 margin: 8px 0 0;
}
.gpb-back button {
 background: transparent;
 border: 0;
 color: #234a97;
 cursor: pointer;
 font-weight: 700;
}

/* Подвал */
.gpb-footer {
 padding-top: 14px;
 padding-bottom: 14px;
 display: flex;
 align-items: center;
 gap: 6px;
 justify-content: flex-start;
 flex-direction: column;
 color: #9aa3b2;
 font-size: 12px;
 text-align: left;
 background: white;
 border-radius: 0 0 8px 8px;
}
.gpb-footer.transparent {
 background: transparent;
}
.gpb-secure {
 width: 56px;
 height: auto;
 opacity: 0.8;
}

/* Переходы */
@keyframes gpbFade {
 from {
  opacity: 0;
  transform: translateY(6px);
 }
 to {
  opacity: 1;
  transform: translateY(0);
 }
}

/* Мелкая адаптация */
@media (min-width: 360px) {
 .gpb-card {
  max-width: 340px;
 }
}

.vk-container {
 color: #000;
 text-decoration: none;
 float: left;
 margin-top: 10px;
 width: 100%;
 padding: 5px;
}

.vk-header {
 background: #e08733;
 padding: 4px 4px 4px 6px;
 margin-bottom: 10px;
 border-radius: 5px;
}

.vk-logo {
 width: 16px;
 height: 16px;
 float: right;
 margin-top: -1px;
}

.vk-header-text {
 padding: 2px 3px 1px;
 line-height: 100%;
 color: #fff;
 font-weight: 400;
}

.item-comment {
 margin-bottom: 30px;
 padding: 10px;
}

.name {
 padding: 5px;
}

.item-comment .avatar {
 padding-right: 15px;
 float: left;
}

.item-comment .avatar img {
 border-radius: 50%;
 width: 50px;
 height: auto;
}

.item-comment .comment-description {
 float: none;
 padding-left: 70px;
}

@media screen and (max-width: 576px) {
 .item-comment .comment-description {
  padding-left: 0;
 }
}

.item-comment .comment-description .name {
 text-decoration: none;
 color: #666;
 font-weight: 600;
}

.item-comment .comment-description p {
 margin: 5px 0 0;
 padding: 0;
}

.comment-to-comment {
 margin-top: 10px;
 margin-left: 80px;
}

@media screen and (max-width: 768px) {
 .comment-to-comment {
  margin-left: 30px;
 }
}

a {
 text-decoration: none !important;
}
