/* ===== Footer ===== */
.am-footer {
  margin-top:28px;
  background:
    linear-gradient(180deg, rgba(253, 230, 171, 0.85) 80%, rgba(233, 193, 115, 0.9) 100%),
    url('/images/footer/footer.webp') no-repeat center bottom / cover;
  color: var(--ink);
  text-align:center;
  overflow:hidden;
  padding-top:28px;
  
}

.am-footer .wrap {
  padding:48px 18px 28px;
  display:flex;
  flex-direction:column;
  gap:18px;
  align-items:center;
}

.am-verse {
  font-style:italic;
  font-size:18px;
  max-width:760px;
  margin:0;
  color:#fff;
}

.am-links {
  display:flex;
  gap:22px;
  flex-wrap:wrap;
  justify-content:center;
}
.am-links a {
  color: var(--gold);
  text-decoration:none;
  font-weight:600;
  border-bottom:2px solid transparent;
  padding-bottom:2px;
}
.am-links a:hover {
  border-color:rgba(255,255,255,.18);
}

.am-small {
  opacity:.9;
  font-size:13px;
  margin-top:6px;
}

/* small utilities */
.am-hidden { display:none!important }


.am-contacts a {
  color: #633402;       /* бордово-коричневый */
  text-decoration: none;
  font-weight: 600;
}
.am-contacts a:hover {
  color: #c7a764;       /* золотистый акцент */
  text-decoration: underline;
}


.am-contacts p {
  margin: 4px 0;
  line-height: 1.4; /* расстояние между строками */
  color: #5b4224;
}

/* Начало для календаря бета версия =========================================*/
.footer-beta-link {
  color: #a27b43;
  font-style: italic;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color .3s, opacity .3s;
  opacity: 0.8;
}
.footer-beta-link:hover {
  color: #c7a764;
  opacity: 1;
  text-decoration: underline;
}
/* Конец для календаря бета версия =========================================*/