:root {
  --bg: #fdf6ee;
  --ink: #34303a;
  --muted: #6d6675;
  --card: #ffffff;
  --accent: #f4a259;
  --accent-deep: #d9762f;
  --lilac: #8e7cc3;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Shantell Sans", "Comic Sans MS", system-ui, sans-serif;
  line-height: 1.65;
}

/* ---------- Шапка ---------- */
.hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background: #2b2430;
}

.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  animation: slowZoom 18s ease-in-out infinite alternate;
}

@keyframes slowZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 14, 26, .15) 0%, rgba(20, 14, 26, .35) 45%, rgba(20, 14, 26, .85) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 48px 20px 54px;
  max-width: 820px;
}

.hero__badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.hero__title {
  margin: 14px 0 8px;
  font-family: "Shantell Sans", "Comfortaa", sans-serif;
  font-size: clamp(38px, 7vw, 76px);
  color: #fff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .55);
}

.hero__subtitle {
  margin: 0 auto;
  max-width: 620px;
  color: #fdeede;
  font-size: clamp(16px, 2.4vw, 21px);
}

/* ---------- Контент ---------- */
.page {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 20px 20px;
}

.section-title {
  font-family: "Shantell Sans", "Comfortaa", sans-serif;
  font-size: clamp(26px, 4vw, 38px);
  text-align: center;
  margin: 28px 0 22px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 74px;
  height: 5px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--lilac));
}

.about__text {
  background: var(--card);
  border-radius: 18px;
  padding: 22px 26px;
  margin: 0 0 18px;
  font-size: 17.5px;
  box-shadow: 0 8px 24px rgba(80, 60, 40, .08);
  border-left: 5px solid var(--accent);
}

/* ---------- Факты ---------- */
.facts { margin-top: 46px; }

.facts__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.fact {
  background: var(--card);
  border-radius: 20px;
  padding: 26px 22px;
  text-align: center;
  box-shadow: 0 10px 26px rgba(80, 60, 40, .1);
  transition: transform .25s ease, box-shadow .25s ease;
  border-top: 6px solid var(--lilac);
}

.fact:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 36px rgba(80, 60, 40, .18);
}

.fact__emoji {
  font-size: 46px;
  animation: bob 2.6s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.fact__title {
  margin: 12px 0 8px;
  font-family: "Shantell Sans", "Comfortaa", sans-serif;
  font-size: 21px;
  color: var(--accent-deep);
}

.fact__text {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

/* ---------- Появление ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .6s ease, transform .6s ease;
}

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

/* ---------- Подвал ---------- */
.footer {
  text-align: center;
  padding: 30px 16px 40px;
  color: var(--muted);
  font-size: 15px;
}

@media (max-width: 560px) {
  .hero { min-height: 52vh; }
  .about__text { padding: 18px 18px; font-size: 16.5px; }
}
