/* === Microsoft fuckup system in all=== */
body {
  font-family: "Segoe UI", Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-image: url("banio_seaV1.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #0a2756dc;
  text-align: center;
}
body.no-sea {
  background-image: none;
  background: #f3e9d7; /* кофе с молоком */
  text-align: center;/* ISO left */
}
header {
  color: #1d3377dc;
  padding: 22px 18px;
  box-shadow: none;
}

header h1 {
  margin: 0;
  margin-bottom: 6px; /*-ISO-8*/
   /*margin-left: 20px;    ← сдвиг вправо iso 15px */
  font-size: 1.6em;
}
.content {
  padding: 10px;
  max-width: 860px;
  margin: 10px auto;
  line-height: 1.2;
  font-weight: bold;
  font-size: 1.2em;
  color: #0a2756dc; 
  text-align: center;
  padding-bottom: 60px; /*ISO 70 */
}
.hero {
  position: relative;
  padding: 40px;
  border-radius: 12px;
  overflow: hidden;
  margin: 20px auto;
  max-width: 900px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('foneMer.jpg') center/cover no-repeat;
  filter: brightness(2.1);
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  color: #0a2756dc; 
  font-size: 1.4em;
  font-weight: bold;
  line-height: 1.45;
  padding: 20px;
}
/* === ЕДИНЫЙ СТИЛЬ КНОПОК ДЛЯ ВСЕХ СТРАНИЦ === */
.buttons {
  position: static;
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 12px;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;   /* ← ГАРАНТИРОВАННО ПО ЦЕНТРУ */
  align-items: center;

  gap: 12px;
  width: 100%;               /* ← чтобы центрирование работало всегда */
  background: transparent;

  text-align: center;        /* ← защита от родительского text-align */
}

.buttons a,
.buttons .btn {
  margin-left: auto;         /* ← центрирование независимо от контейнера */
  margin-right: auto;
  text-align: center !important;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;

  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.25);
  color: #1d3377dc;
  border: none;
  border-radius: 20px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;

  backdrop-filter: blur(4px);
  box-shadow: 4px 4px 10px #0c89e4e8;
  transition: 0.3s ease;

  flex: 1 1 auto;
  min-width: 140px;
  max-width: 200px;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 6px 6px 14px #0c89e4e8;
}
/* === ФОН ТОЛЬКО У ФОРМЫ (кофе с молоком) === */
/* === ЧИСТЫЙ СТИЛЬ ФОРМЫ === */

.form-container {
  max-width: 420px;
  margin: 40px auto;
  background: #f3e9d7;
  padding: 5px;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0,0,0,0.08);
  text-align: left; /* ← ключевой момент */
}

/* Подписи */
.form-container label {
  margin: 0 0 5px 0;
  font-weight: normal; /* ← убираем жирность */
  color: #444;
}

/* Поля ввода */
.form-container input,
.form-container textarea,
.form-container select {
  width: 100%;
  padding: 10px;
  border: 1px solid #d8d2c8;
  border-radius: 6px;
  background: #f7f1e3;
  font-size: 15px;
  box-sizing: border-box;
}

/* Маленькие поля */
.form-container .input-small {
  width: 60px;
  min-width: 60px;
  max-width: 60px;
  padding: 8px;
  text-align: center;
  border: 1px solid #b8b0a3;
}
/* === weight height waist === */
.triple-row {
  display: flex;
  gap: 10px;
}

.triple-row div {
  flex: 0 0 auto;
}

/* === ЧЕКБОКСЫ — ЧИСТЫЙ ВАРИАНТ === */

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  font-size: 15px;
  font-weight: normal;
  color: #444;
  cursor: pointer;
  text-align: left; /* ← фиксирует выравнивание */
}

.checkbox-group input[type="checkbox"] {
  width: auto; /* ← убирает растягивание */
  margin: 0;
  padding: 0;
}
.form-container {
  text-align: left;
}
.checkbox-group input[type="checkbox"] {
  accent-color: green;
}
/* ---адаптация--- */
  @media (max-width: 600px) {
  header h1 {
    font-size: 1.1em;
    line-height: 1.25;
  }
  .content {
    padding-bottom: 150px;
    font-size: 1.0em;
    line-height: 1.35;
    padding: 12px;
    margin: 20px auto;
  }
  .hero-content {
    font-size: 1.0em;
    line-height: 1.35;
    padding: 12px;
  }
  
  /* Планшеты и десктопы — уменьшаем на 30% */
@media (min-width: 768px) {
  .bot-scale {
    transform: scale(0.7);
    transform-origin: top center;
    width: 142%; /* компенсирует уменьшение */
    margin: 0 auto;
  }
}
/* Мобильные — оставляем как есть */
@media (max-width: 767px) {
  .bot-scale {
    transform: none;
    width: 100%;
  }
}

















