:root {
  --sun: #ba7f00;
  --berry: #5e1747;
  --forest: #0f3e2f;
  --lake: #0a3a55;
  --lake-purple: #3b1f4a;
  --mist: #d6f3ea;
  --gray: #858585;
  --content-max-width: 1200px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", Arial, sans-serif;
  background: linear-gradient(160deg, var(--forest), var(--lake), var(--lake-purple));
  color: #ecfff8;
}

.heading-font {
  font-family: "Jost", Arial, sans-serif;
}

/*.glass {*/
/*  background: rgba(6, 16, 18, 0.55);*/
/*  border: 1px solid rgba(255, 255, 255, 0.08);*/
/*  backdrop-filter: blur(10px);*/
/*}*/

.glass {
  background: rgba(167, 243, 208, 0.08); /* Очень слабый оттенок изумруда */
  border: 1px solid rgb(10 58 85 / 25%);
  backdrop-filter: blur(10px);
}

.glass-1 {
  background: rgb(85 10 10 / 0%); /* Очень слабый оттенок изумруда */
  border-width: 0;
  backdrop-filter: blur(7px) !important;
}

.text-shadow-sm {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.text-shadow-md {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.text-shadow-lg {
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
}

.hero-overlay {
  background: linear-gradient(
          180deg,
          rgba(175, 0, 30, 0.2)   0%,
          rgba(175, 0, 30, 0.2) 58%,
          rgba(10, 58, 85, 0.95) 88%,
          rgba(10, 58, 85) 99%
  );
}

@media (max-width: 640px) and (orientation: portrait) {
  .hero-overlay {
    background: linear-gradient(180deg, rgba(5, 24, 24, 0.55), rgba(5, 24, 24, 0.92));
  }
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.6;
  mix-blend-mode: screen;
}

.section-border {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.container-max-width {
  max-width: var(--content-max-width);
}

.gradient-band-0 {
  background: linear-gradient(
          160deg,
          var(--lake-purple) 10%,
          var(--lake) 71%,
          var(--forest) 80%,
          var(--lake) 89%,
          var(--lake-purple) 95%
  );
}

.gradient-band-1 {
  background: linear-gradient(
    165deg,
    var(--lake) 0%,
    var(--lake) 15%,
    var(--lake-purple) 35%,
    var(--lake-purple) 50%,
    var(--forest) 72%,
    var(--lake) 98%
  );
}

.gradient-band-2 {
  background: linear-gradient(
          165deg,
            /*var(--gray) 0%,*/
          var(--lake) 0%,
          var(--lake)10%,
          var(--forest)20%,
          var(--forest) 40%,
          var(--lake-purple) 65%,
          var(--lake-purple) 100%
  );
}

.gradient-band-3 {
  background: linear-gradient(
          165deg,
            /*var(--gray) 0%,*/
          var(--lake-purple) 0%,
          var(--lake-purple) 12%,
          var(--berry) 17%,
          var(--berry) 27%,
          var(--forest) 37%,
          var(--forest) 55%,
          var(--lake) 62%,
          var(--lake) 70%,
          var(--lake-purple) 77%,
          var(--lake-purple) 100%
  );
}

.section-label {
  font-size: 0.875rem;
  line-height: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-weight: 600;
}

/* Мятный/Циановый для лесных и водных градиентов */
.label-band-1 { color: rgba(167, 243, 208, 0.85); }

/* Светло-голубой для расписания и локации */
.label-band-2 { color: rgba(186, 230, 253, 0.9); }

.label-band-yellow { color: rgba(255, 210, 108, 0.8); }
.section-label-purple { color: rgb(220 156 77); }

.label-food { color: rgba(253, 226, 236, 0.9); }
/* Золотистый/Солнечный для детского пространства на бордовом */

.label-kids { color: rgba(254, 240, 138, 0.9); }
/* Чистый белый для галереи и условий */
.label-light { color: rgba(255, 255, 255, 0.8); }

.site-header {
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.site-header.is-hidden {
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.ticker {
  animation: ticker 18s linear infinite;
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.edit-mode [contenteditable="true"] {
  outline: 1px dashed rgba(255, 255, 255, 0.35);
  outline-offset: 4px;
}

.edit-mode [contenteditable="true"]:focus {
  outline-color: rgba(110, 231, 183, 0.9);
}

.edit-toolbar {
  position: fixed;
  top: 65px;
  right: 16px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(6, 16, 18, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  color: #ecfff8;
}

.edit-toolbar__title {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(110, 231, 183, 0.9);
}

.edit-toolbar__actions {
  display: flex;
  gap: 8px;
}

.edit-toolbar__button {
  border: none;
  border-radius: 999px;
  background: rgba(110, 231, 183, 0.9);
  color: #0f172a;
  padding: 6px 14px;
  font-weight: 600;
  cursor: pointer;
}

.edit-toolbar__button:disabled {
  opacity: 0.7;
  cursor: default;
}

.edit-toolbar__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ecfff8;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
}

.edit-toolbar__hint {
  color: rgba(255, 255, 255, 0.6);
}

.edit-login-hint {
  position: fixed;
  top: 66px;
  right: 16px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(6, 16, 18, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ecfff8;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  opacity: 0.55;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.edit-login-hint:hover,
.edit-login-hint:focus,
.edit-login-hint:active {
  opacity: 1;
  background: rgba(6, 16, 18, 0.9);
}

.section-fon-bg {
  position: relative;
  background: transparent;
  overflow: hidden;
}

.section-fon-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('media/loc1.jpeg');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  z-index: 1;
}

