/* === ОБЩИЕ НАСТРОЙКИ === */
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 !important;
  background: #f3e9d7 !important; /* кофе с молоком */
  text-align: left;
}
header {
  color: #1d3377dc;
  padding: 22px 18px;
  box-shadow: none;
}

header h1 {
  margin: 0;
  margin-bottom: 8px;
  font-size: 1.6em;
}
.content {
  padding: 10px;
  max-width: 600px;
  margin: 10px auto;
  line-height: 1.4;
  font-weight: bold;
  font-size: 1.4em;
  color: #0a2756dc; 
  text-align: center;
  padding-bottom: 80px; /*ISO 140 место под кнопки */
}
.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: 25px;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0,0,0,0.08);
}


/* === ЗАГОЛОВОК === */
h2 {
  margin-bottom: 20px;
  color: #333;
  font-weight: 600;
}


/* === ПОДПИСИ === */
label {
  display: block;
  margin-top: 15px;
  margin-bottom: 5px;
  font-weight: 600;
  color: #444;
}
/* === ПОЛЯ ВВОДА (молочный фон, НЕ белый) === */
input, textarea, select {
  width: 100%;
  padding: 10px;
  border: 1px solid #d8d2c8;
  border-radius: 6px;
  background: #f7f1e3; /* мягкий молочный */
  font-size: 15px;
  box-sizing: border-box; /* ← ключевой момент */
}
/* === МАЛЕНЬКИЕ ПОЛЯ (возраст, вес, рост, талия) === */
input.input-small {
  width: 50px !important;
  min-width: 50px !important;
  max-width: 50px !important;
  padding: 8px;
  text-align: center;
  border: 1px solid #b8b0a3 !important; /* вернуть границу */
  box-sizing: border-box; /* чтобы рамка не исчезала */
}
/* === ТРИ ПОЛЯ В РЯД === */
.triple-row {
  display: flex;
  gap: 10px;
}
.triple-row div {
  flex: 0 0 auto;
}

/* === ДАТЫ === */
.date-range {
  display: flex;
  gap: 10px;
}
/* === КНОПКА === */
.btn-submit {
  margin-top: 25px;
  width: 100%;
  padding: 12px;
  background: #c9a97a;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.2s;
}
.btn-submit:hover {
  background: #b89263;
}
.form-message {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(60, 60, 60, 0.9);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 15px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

.form-message.visible {
  opacity: 1;
}
  @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;
  }
  























