/*  БАЗОВЫЕ СТИЛИ */
html, body {
  margin: 0;
  padding: 0;
  background: #F7F5F2;
  color: #003366;
  font-family: inherit;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.author {
  font-weight: 600;
  color: #003366;
  text-decoration: none;
}
.author:hover {
  text-decoration: underline;
}

/*   ГЕРОЙ-БЛОК */
.home-header {
  text-align: center;
  padding: 10px;
}

.home-header img.hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.home-header h1 {
  margin: 10px 0 5px;
  color: #003366;
  text-shadow: 1px 1px 0 #e9ebcb;
  font-size: clamp(1.6em, 4vw, 2.5em);
}

/*    КОНТЕНТ */
.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.page-content p {
  font-size: clamp(1.2em, 2.2vw, 1.6em);
  line-height: 1.45;
  margin: 10px auto 40px;
  padding: 0 20px;
}

/* Фото */
.excursion-photo {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
}

/*    НАВИГАЦИЯ= */
nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
  gap: 10px;
}

nav ul li a {
  display: inline-block;
  padding: 8px 16px;
  font-weight: bold;
  font-size: clamp(0.9em, 2vw, 1.6em);
  color: #0b021d;
  text-shadow: 1px 1px 0 #cbdaeb;
  border: 1.5px solid rgb(32, 168, 236);
  background: #bcd9ff;
  border-radius: 6px;
  transition: 0.3s;
  text-decoration: none;
}

nav ul li a:hover {
  background: #97b4ee;
  color: #003366;
  box-shadow: 0 0 8px rgba(38, 255, 0, 0.7);
}

/*    СЕКЦИИ ==== */
section {
  max-width: 900px;
  margin: 40px auto;
  padding: 40px 20px;
  background: #F7F5F2;
  border-left: 6px solid #006699;
  border-radius: 8px;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.03), 0 4px 10px rgba(0,0,0,0.1);
  line-height: 1.55;
}

section h2 {
  margin-top: 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #eee;
  color: #006699;
  font-size: clamp(1.4em, 3vw, 1.9em);
}

/* Индивидуальные секции */
#opus, #healing, #hotels, #therapy, #excursions, #contacts {
  font-size: clamp(1.1em, 2vw, 1.3em);
}

/*   УЗКАЯ КОЛОНКА === */
.header-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  text-align: left;
}

/* =========================
   ФУТЕР
========================= */
footer {
  background: #87CEEB;
  color: #003366;
  text-align: center;
  padding: 20px;
}

.star {
  color: gold;
  font-size: 1.5em;
}

/* =========================
   АККОРДЕОН
========================= */
.accordion {
  width: 100%;
  background: #e6f2ff;
  border: 2px solid #bcd9ff;
  border-radius: 8px;
  padding: 18px 24px;
  font-size: 22px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  position: relative;
  transition: 0.25s;
}

.accordion:hover {
  background: #d4e9ff;
  border-color: #a8ccff;
}

.accordion::after {
  content: "📃";
  font-size: 24px;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  transition: 0.25s;
}

.accordion.active::after {
  transform: translateY(-50%) rotate(180deg);
}

.panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease;
  padding: 0 10px;
  font-size: 18px;
  line-height: 1.2;
}

.panel.open {
  padding: 10px 10px;
}

/*   БЛОКИ МАЙЕР / ЗАЛМАНОВ / БУТЕЙКО */
.method-mini .short {
  display: block;
  width: 100%;
  white-space: normal;
  overflow: visible;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
}

/* Общий стиль блока */
.method-mini {
  font-size: 1.2em;      /* основной размер — крупный, ровный */
  line-height: 1.6;
  color: #003366;
  max-width: 700px;
  margin: 0 auto;
}

/* Заголовок */
.method-mini strong {
  display: block;
  font-size: 1.35em;     /* чуть крупнее, но не кричит */
  font-weight: 600;
  margin-bottom: 12px;
}

/* Подзаголовки */
.mini-title {
  font-size: 1.2em;      /* тот же размер, что и текст */
  font-weight: 600;
  margin: 18px 0 8px;
  color: #003366;
}

/* Абзацы */
.method-mini p {
  font-size: 1.2em;      /* тот же размер, что и списки */
  line-height: 1.6;
  margin: 12px 0;
}

/* Списки */
.method-mini ul {
  margin: 10px 0 20px;
  padding-left: 20px;
  list-style: disc;
}

.method-mini ul li {
  font-size: 1.2em;      /* тот же размер, что и абзацы */
  line-height: 1.6;
  margin-bottom: 6px;
}

/* Ограничение ширины коротких абзацев на больших экранах */
@media (min-width: 600px) {
  .method-mini .short {
    max-width: 300px;
  }
}

/* =========================
   АДАПТИВНОСТЬ
========================= */
/* Базовый стиль навигации */
nav ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;        /* разрешаем перенос */
  justify-content: center;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

nav ul li a {
  display: inline-block;
  padding: 12px 20px;
  font-size: 1.1em;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  flex: 1 1 auto;         /* кнопки сжимаются пропорционально */
  white-space: nowrap;    /* не ломаем слова */
}

/* =========================
   АДАПТИВНОСТЬ
========================= */

/* Средние экраны */
@media (max-width: 768px) {

  nav ul {
    flex-direction: row;   /* оставляем в строку */
    flex-wrap: wrap;       /* перенос разрешён */
    justify-content: center;
    gap: 10px;
  }

  nav ul li a {
    font-size: 0.9em;      /* уменьшаем текст */
    padding: 10px 14px;    /* уменьшаем кнопки */
    flex: 1 1 45%;         /* две кнопки в строку */
  }
}
/* Маленькие экраны */
@media (max-width: 480px) {
  nav ul li a {
    font-size: 0.8em;
    padding: 8px 10px;
    flex: 1 1 100%;        /* одна кнопка в строку, но аккуратно */
  }
}
