/* ==========================================================
   Ретрит «Возвращение к источнику» — Чиралы
   Палитра: рассвет над Средиземным морем + вечный огонь Химеры
   ========================================================== */

:root {
  --paper: #FBFAF8;
  /* тёплый белый — фон */
  --ink: #14323C;
  /* глубокая морская темнота — текст */
  --sea: #2A707F;
  /* бирюза моря — акцент */
  --sea-soft: #E7F0F1;
  /* светлая морская дымка — фон секций */
  --sand: #F3EEE5;
  /* песок — фон секций */
  --mist: #5F7E88;
  /* приглушённый текст */
  --flame: #DD5527;
  /* огонь Химеры — CTA */
  --flame-deep: #B8431C;
  /* огонь при наведении */
  --dawn: linear-gradient(180deg, #BFDDE4 0%, #F2D9AC 55%, #DD5527 100%);
  /* подпись: рассвет → огонь */

  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Lora', serif;
  --font-ui: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ----------------------------------------------------------
   Контейнеры и секции
   ---------------------------------------------------------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.container--narrow {
  max-width: 760px;
}

.section {
  padding: 72px 0;
}

.section--sand {
  background: var(--sand);
}

.section--sea {
  background: var(--sea-soft);
}

.section__eyebrow {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--flame);
  margin: 0 0 10px;
}

.section__eyebrow--light {
  color: #F2C5AE;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 28px;
  letter-spacing: -0.01em;
}

/* ----------------------------------------------------------
   Кнопки
   ---------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  border-radius: 999px;
  padding: 15px 32px;
  border: 0;
  cursor: pointer;
  transition: background-color .2s ease, transform .15s ease, box-shadow .2s ease;
}

.btn--primary {
  background: var(--flame);
  color: #fff;
  box-shadow: 0 8px 24px rgba(221, 85, 39, 0.28);
}

.btn--primary:hover {
  background: var(--flame-deep);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(20, 50, 60, 0.25);
}

.btn--ghost:hover {
  border-color: var(--ink);
}

.btn--telegram {
  background: var(--sea);
  color: #fff;
  box-shadow: 0 8px 24px rgba(42, 112, 127, 0.25);
}

.btn--telegram:hover {
  background: #235e6b;
}

.btn--big {
  padding: 18px 44px;
  font-size: 1.0625rem;
}

.btn:focus-visible {
  outline: 3px solid var(--sea);
  outline-offset: 3px;
}

/* ----------------------------------------------------------
   Header
   ---------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 248, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(20, 50, 60, 0.08);
}

.header__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
  text-decoration: none;
  color: var(--ink);
  margin: 0;
}

.logo__accent {
  color: var(--flame);
}

.header__cta {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
  background: var(--flame);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 999px;
  transition: background-color .2s ease;
}

.header__cta:hover {
  background: var(--flame-deep);
}

/* ----------------------------------------------------------
   1. Hero
   ---------------------------------------------------------- */
.hero {
  background: linear-gradient(180deg, #DCEBEF 0%, var(--paper) 90%);
  padding: 64px 0 72px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero__badge {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sea);
  margin: 0 0 18px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6.5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}

.hero__title-accent {
  color: var(--flame);
}

.hero__subtitle {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--mist);
  margin: 0 0 30px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
}

.hero__note {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  color: var(--mist);
  margin: 0;
}

.hero__photo {
  margin: 0;
}

.hero__photo img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(20, 50, 60, 0.22);
}

/* ----------------------------------------------------------
   2. Боль
   ---------------------------------------------------------- */
.pain__body p {
  margin: 0 0 18px;
}

.pain__body strong {
  font-family: var(--font-display);
  font-size: 1.15em;
}

/* ----------------------------------------------------------
   3. Место — Чиралы + Azur Hotel
   ---------------------------------------------------------- */
.place__feature {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: center;
}

.place__photo {
  margin: 0;
}

.place__photo img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(20, 50, 60, 0.18);
}

.place__body p {
  margin: 0 0 18px;
}

.place__body p:last-child {
  margin-bottom: 0;
}

.place__hotel {
  margin-top: 56px;
  text-align: center;
}

.place__hotel-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-weight: 700;
  margin: 0 0 12px;
}

.place__hotel-text {
  max-width: 620px;
  margin: 0 auto 32px;
  color: var(--mist);
}

.place__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.place__gallery figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(20, 50, 60, 0.12);
}

.place__gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.place__gallery figure:hover img {
  transform: scale(1.05);
}

/* ----------------------------------------------------------
   4. Что получишь
   ---------------------------------------------------------- */
.gain__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gain__card {
  background: #fff;
  border: 1px solid rgba(20, 50, 60, 0.08);
  border-radius: 16px;
  padding: 28px 26px;
  box-shadow: 0 6px 24px rgba(20, 50, 60, 0.06);
}

.gain__time {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--flame);
  margin: 0 0 8px;
}

.gain__card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.35;
}

.gain__card p {
  font-size: 0.975rem;
  margin: 0;
  color: var(--mist);
}

/* ----------------------------------------------------------
   5. Три выезда
   ---------------------------------------------------------- */
.trips__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.trip {
  background: #fff;
  border-radius: 16px;
  padding: 28px 26px;
  border-top: 4px solid var(--sea);
  box-shadow: 0 6px 24px rgba(20, 50, 60, 0.07);
}

.trip:last-child {
  border-top-color: var(--flame);
}

.trip__label {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist);
  margin: 0 0 10px;
}

.trip h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 12px;
}

.trip p {
  font-size: 0.975rem;
  color: var(--mist);
  margin: 0;
}

/* ----------------------------------------------------------
   6. Программа — аккордеоны с таймлайном «рассвет → огонь»
   ---------------------------------------------------------- */
.day {
  background: #fff;
  border: 1px solid rgba(20, 50, 60, 0.1);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
}

.day summary {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  transition: background-color .15s ease;
}

.day summary::-webkit-details-marker {
  display: none;
}

.day summary:hover {
  background: var(--sea-soft);
}

.day summary::after {
  content: '+';
  margin-left: auto;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--flame);
  transition: transform .2s ease;
}

.day[open] summary::after {
  transform: rotate(45deg);
}

.day__num {
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--flame);
  white-space: nowrap;
}

.day__name {
  font-weight: 700;
  font-size: 1.05rem;
}

.day__body {
  padding: 4px 24px 24px;
}

/* таймлайн дня: линия-градиент от рассвета к огню */
.timeline {
  list-style: none;
  margin: 0 0 18px;
  padding: 0 0 0 22px;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 3px;
  background: var(--dawn);
}

.timeline li {
  position: relative;
  padding: 7px 0;
  font-size: 0.975rem;
}

.timeline__time {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--sea);
  display: inline-block;
  min-width: 105px;
}

.day__meaning {
  font-style: italic;
  color: var(--mist);
  border-left: 3px solid var(--flame);
  padding-left: 14px;
  margin: 0;
}

/* ----------------------------------------------------------
   7. Ведущие
   ---------------------------------------------------------- */
.leaders__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.leader {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(20, 50, 60, 0.08);
}

.leader__photo {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.leader__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leader h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 22px 26px 4px;
}

.leader__tag {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--flame);
  margin: 0 26px 12px;
}

.leader p:last-child {
  font-size: 0.975rem;
  color: var(--mist);
  margin: 0 26px 26px;
}

/* ----------------------------------------------------------
   8. Почему работает
   ---------------------------------------------------------- */
.why__body p {
  margin: 0 0 18px;
}

/* ----------------------------------------------------------
   9. Кому подходит
   ---------------------------------------------------------- */
.fit__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.fit__col {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
}

.fit__col h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 16px;
}

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

.fit__col li {
  position: relative;
  padding: 6px 0 6px 30px;
  font-size: 0.975rem;
}

.fit__col li::before {
  position: absolute;
  left: 0;
  font-family: var(--font-ui);
  font-weight: 600;
}

.fit__col--yes li::before {
  content: '✓';
  color: var(--sea);
}

.fit__col--no li::before {
  content: '✕';
  color: var(--flame);
}

/* ----------------------------------------------------------
   10. Стоимость
   ---------------------------------------------------------- */
.price__card {
  background: var(--ink);
  color: #F4F6F6;
  border-radius: 22px;
  padding: 48px 44px;
  text-align: center;
}

.price__amount {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  font-weight: 800;
  margin: 0 0 30px;
  color: #fff;
}

.price__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  text-align: left;
  max-width: 560px;
  margin: 0 auto 26px;
}

.price__cols h3 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9FC1C9;
  margin: 0 0 12px;
}

.price__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.price__list li {
  position: relative;
  padding: 5px 0 5px 26px;
  font-size: 0.95rem;
}

.price__list li::before {
  position: absolute;
  left: 0;
  font-family: var(--font-ui);
  font-weight: 600;
}

.price__list--yes li::before {
  content: '✓';
  color: #7FC8A9;
}

.price__list--no li::before {
  content: '—';
  color: #E89B7B;
}

.price__note {
  font-size: 0.9rem;
  color: #9FC1C9;
  margin: 0 0 28px;
}

/* ----------------------------------------------------------
   11. Контакты и форма
   ---------------------------------------------------------- */
.contact {
  text-align: center;
}

.contact__lead {
  color: var(--mist);
  max-width: 520px;
  margin: 0 auto 26px;
}

.form {
  max-width: 560px;
  margin: 36px auto 0;
  text-align: left;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form__field {
  display: block;
  margin-bottom: 16px;
}

.form__field span {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.form__field em {
  font-weight: 400;
  color: var(--mist);
}

.form__field input,
.form__field textarea {
  width: 100%;
  font-family: var(--font-ui);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid rgba(20, 50, 60, 0.18);
  border-radius: 12px;
  padding: 13px 16px;
  transition: border-color .15s ease;
}

.form__field input:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--sea);
}

.form button {
  width: 100%;
  margin-top: 6px;
}

.form__status {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  text-align: center;
  min-height: 1.4em;
  margin: 14px 0 0;
}

.form__status--ok {
  color: var(--sea);
}

.form__status--error {
  color: var(--flame-deep);
}

.contact__quote {
  font-style: italic;
  color: var(--mist);
  max-width: 480px;
  margin: 44px auto 0;
}

/* ----------------------------------------------------------
   Footer
   ---------------------------------------------------------- */
.footer {
  background: var(--ink);
  color: #9FC1C9;
  padding: 36px 0;
  font-family: var(--font-ui);
  font-size: 0.9rem;
}

.footer__inner {
  text-align: center;
}

.footer .logo {
  color: #fff;
  font-size: 1rem;
}

.footer p {
  margin: 6px 0;
}

.footer a {
  color: #C9DCE1;
}

/* ----------------------------------------------------------
   Sticky CTA (mobile)
   ---------------------------------------------------------- */
.sticky-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(251, 250, 248, 0.95);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(20, 50, 60, 0.1);
}

.sticky-cta .btn {
  display: block;
  width: 100%;
}

/* ----------------------------------------------------------
   Анимация появления секций
   ---------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal--visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ----------------------------------------------------------
   Адаптив
   ---------------------------------------------------------- */
@media (max-width: 900px) {

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero__photo {
    max-width: 420px;
    margin: 0 auto;
  }

  .place__feature {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .place__photo {
    max-width: 440px;
    margin: 0 auto;
  }

  .gain__grid,
  .trips__grid {
    grid-template-columns: 1fr;
  }

  .leaders__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .fit__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {

  .section {
    padding: 52px 0;
  }

  .header__cta {
    font-size: 0.8rem;
    padding: 9px 14px;
  }

  .hero {
    padding: 40px 0 52px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .price__card {
    padding: 36px 22px;
  }

  .price__cols {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .place__gallery {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .place__gallery figure:first-child {
    grid-column: 1 / -1;
  }

  .timeline__time {
    display: block;
    min-width: 0;
  }

  .sticky-cta {
    display: block;
  }

  body {
    padding-bottom: 76px;
  }
}
