.footer-extra {
  color: #fff;
  font-family: "Cormorant", serif;
  font-size: 20px;
  text-align: center;
  margin-bottom: 2px;
  letter-spacing: 0.5px;
  opacity: 0.92;
  text-shadow: 0 2px 8px #0006;
  animation: epic-in 1.3s 0.2s both;
}
/* Эпичное появление крупных текстов */
.epic-appear {
  opacity: 0;
  transform: scale(0.85) translateY(60px);
  animation: epic-in 1.2s cubic-bezier(0.22, 1.2, 0.36, 1) forwards;
}
@keyframes epic-in {
  0% {
    opacity: 0;
    transform: scale(0.85) translateY(60px);
    letter-spacing: 0.1em;
  }
  60% {
    opacity: 1;
    transform: scale(1.08) translateY(-8px);
    letter-spacing: 0.04em;
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    letter-spacing: normal;
  }
}
.nav__lang-switcher--right {
  position: absolute;
  right: 32px;
  top: 18px;
  z-index: 10;
}
/* Кнопка "Вверх" */
#to-top-btn {
  position: fixed;
  left: 32px;
  bottom: 48px;
  z-index: 1000;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #223b3b;
  color: #bae249;
  border: 2px solid #bae249;
  font-size: 2rem;
  font-family: "Cormorant", serif;
  font-weight: 700;
  box-shadow: 0 4px 16px #0003;
  opacity: 0.85;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s,
    opacity 0.2s;
  display: none;
}
#to-top-btn:hover {
  background: #bae249;
  color: #223b3b;
  box-shadow: 0 8px 32px #bae24955;
  transform: scale(1.08);
  opacity: 1;
}
.nav__logo {
  animation: logo-float 3.5s ease-in-out infinite alternate;
}
@keyframes logo-float {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.04) rotate(-2deg);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

.hero__button {
  animation: pulse 1.8s infinite;
  position: relative;
  z-index: 2;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 #bae24955;
  }
  70% {
    box-shadow: 0 0 0 12px #bae24900;
  }
  100% {
    box-shadow: 0 0 0 0 #bae24900;
  }
}

.social-img {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  animation: social-fade-in 0.7s forwards;
}
.social-img:nth-child(1) {
  animation-delay: 0.2s;
}
.social-img:nth-child(2) {
  animation-delay: 0.4s;
}
.social-img:nth-child(3) {
  animation-delay: 0.6s;
}
.social-img:nth-child(4) {
  animation-delay: 0.8s;
}
@keyframes social-fade-in {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.fade-section h2,
.fade-section h3,
.artefakt h2,
.main-login h3 {
  opacity: 0;
  transform: translateY(30px);
  animation: title-fade-in 1s forwards;
  animation-delay: 0.3s;
}
.fade-section.fade-in h2,
.fade-section.fade-in h3,
.artefakt h2,
.main-login h3 {
  opacity: 1;
  transform: translateY(0);
}
@keyframes title-fade-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav__lang-switcher {
  display: inline-block;
  margin-left: 24px;
  background: #223b3b;
  border-radius: 18px;
  padding: 2px 10px;
  box-shadow: 0 2px 8px 0 #0002;
  transition: background 0.3s, box-shadow 0.3s;
}
.nav__lang-switcher:hover {
  background: #2c4a4a;
  box-shadow: 0 4px 16px 0 #bae24933;
}
#lang-switcher {
  background: linear-gradient(90deg, #bae249 0%, #83a440 100%);
  border: none;
  color: #223b3b;
  font-family: "Cormorant", serif;
  font-size: 18px;
  font-weight: 700;
  outline: none;
  padding: 2px 18px;
  cursor: pointer;
  border-radius: 12px;
  box-shadow: 0 2px 8px #bae24944;
  transition: background 0.3s, color 0.2s, box-shadow 0.2s;
}
#lang-switcher:focus,
#lang-switcher:hover {
  background: linear-gradient(90deg, #83a440 0%, #bae249 100%);
  color: #fff;
  box-shadow: 0 4px 16px #bae24977;
}
.nav__logo,
.nav__search,
.nav__log_in,
.social-img {
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
  position: relative;
}
.nav__logo:hover,
.nav__search:hover,
.nav__log_in:hover,
.social-img:hover {
  transform: scale(1.08) rotate(-2deg);
  box-shadow: 0 4px 16px 0 #bae24944;
}
.fade-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s, transform 0.7s;
}
.fade-section.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Ripple эффект для кнопок */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(186, 226, 73, 0.4);
  transform: scale(0);
  animation: ripple-anim 0.6s linear;
  pointer-events: none;
  width: 80px;
  height: 80px;
  left: 50%;
  top: 50%;
  margin-left: -40px;
  margin-top: -40px;
  z-index: 10;
}
@keyframes ripple-anim {
  to {
    transform: scale(2.5);
    opacity: 0;
  }
}

.card {
  /* ...существующие стили... */
  transition: box-shadow 0.3s, transform 0.3s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 #00000033;
  transform: translateY(-8px) scale(1.03);
}
.body {
  /* legacy class kept for compatibility; real page background uses the body element below */
  background-color: #1d2f30;
}

/* Ensure the actual <body> element has the dark background so no white gaps appear */
body {
  background-color: #1d2f30;
}
.navigation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 70px;
  background: #1d2f30cc;
  box-shadow: 0 0 0 transparent;
  z-index: 1002;
  transition: box-shadow 0.3s, background 0.3s;
}
.navigation.sticky {
  background: #1d2f30ee;
  box-shadow: 0 4px 24px #0005;
}
body {
  padding-top: 70px;
}
.nav__logo {
  /* logo */
  position: absolute;
  background: #1d2f30;
  left: 110px;
  top: 30px;
}
.nav__list {
  position: absolute;
  list-style: none;
  width: 512px;
  height: 24px;
  left: 450px;
  top: 17px;
  gap: 64px;
  display: flex;
  justify-content: space-evenly;
}
/* Link navigation color */
.nav__list li a {
  text-decoration: none;
  color: #ffffff;
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
  font-size: 15px;
}
.nav__list li a:hover {
  color: #bae249;
}
.nav__list li a:active {
  color: #688b05;
}
.nav__list li a:focus {
  color: #83a440;
}
.nav__search {
  /* search */

  position: absolute;
  width: 24px;
  height: 24px;
  left: 1185px;
  top: 30px;
}
.nav__search:hover {
  cursor: pointer;
  color: #91ac46;
}
.nav__search:focus {
  color: #83a440;
}
.nav__log_in {
  /* log-in */

  position: absolute;
  width: 24px;
  height: 24px;
  left: 1280px;
  top: 30px;
}
.nav__log_in:hover {
  cursor: pointer;
  color: #91ac46;
}
.nav__search:focus {
  color: #83a440;
}
.hero__image {
  width: 100%;
  height: 100vh; /* или нужная высота */
  object-fit: cover;
  display: block;
  filter: brightness(0.45); /* затемнение фото */
}
.info_hero {
  /* Крупнейшая коллекция природных артефактов */

  position: absolute;
  width: 688px;
  height: 125px;
  left: 165px;
  top: 175px;

  /* h1 */
  font-style: normal;
  font-weight: 700;
  font-size: 60px;
  line-height: 100%;
  /* or 60px */

  /* white */
  color: #ffffff;
  font-family: "Cormorant", serif;
  font-weight: 700; /* Bold */
}
.info_hero_p {
  /* Являясь всего лишь частью общей картины, интерактивные прототипы, которые представляют собой яркий пример европейского типа политической и социальной культуры. */

  position: absolute;
  width: 635px;
  height: 72px;
  left: 165px;
  top: 316px;

  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  /* or 24px */
  display: flex;
  align-items: center;

  /* white */
  color: #ffffff;
}
.hero__button {
  /* Frame 6 */

  /* Auto layout */
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0px;
  gap: 8px;
  font-size: 20px;

  position: absolute;
  width: 160px;
  height: 23px;
  left: 165px;
  top: 412px;
  /* color */
  color: #bae249;
  background: none;
  border: none;
}
.hero__button:hover {
  color: #91ac46;
  cursor: pointer;
}
.hero__button:active {
  color: #688b05;
}
.hero__button:disabled {
  color: #899d9d;
}
.images_section {
  background-color: #1d2f30;
  padding: 60px 20px;
}

.images_section_container {
  display: flex;
  flex-direction: row;
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
  justify-content: center;
  flex-wrap: wrap;
}
.images_section {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.card {
  background-color: #1d2f30; /* фон карточки */
  padding: 20px;
  border-radius: 1px; /* скругление */
  width: 250px;
  text-align: center;
  box-shadow: none; /* убираем тень */
  color: #fff; /* текст виден на темном фоне */
  border: 2px solid #000000b6; /* маленькая прозрачная рамка */
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s, transform 0.7s;
}

.card_img {
  width: 50px; /* фото меньше карточки */
  height: auto;
  border-radius: 8px;
}

.card h2,
.card p {
  margin: 10px 0;
}

.card button {
  margin-top: 10px;
  padding: 7px 18px;
  border: #bae249 1px solid;
  background-color: #bae249;
  color: #bae249;
  border-radius: 5px;
  cursor: pointer;
  background: none;
  transition: background 0.3s, color 0.3s, border 0.3s;
}
.card button:hover {
  background-color: #bae249;
  color: #cccccc;
}
.card button:focus {
  background-color: #1d2f30;
  border: #cccccc 1px solid;
  color: #cccccc;
}
.card button:disabled {
  background-color: #1d2f30;
  border: #899d9d 1px solid;
  color: #899d9d;
}
.card button:active {
  background-color: #688b05;
  border: #688b05 1px solid;
  color: #0b1919;
}
.images_section_like {
  background-color: #0b1919;
  width: 255px;
  height: 180px;
}
.cards-pager {
  display: flex;
  justify-content: center;
  background-color: #1d2f30;
  margin-top: -220px;
}
.pager__arrow pager__arrow--left {
  background-color: #688b05;
}
.cards-pager {
  position: relative;
  align-items: center;
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 12px 0 18px;
  /* Заполнить фон под стрелками однотонным тёмным цветом, чтобы убрать разрыв */
  background-color: #1d2f30; /* был transparent, заменено по просьбе пользователя */
  color: #d8e1df;
}

.pager__counter {
  position: relative; /* чтобы располагаться над линией */
  z-index: 2;
  color: #f7f7f7;
  font-family: "Cormorant", serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
  padding: 0 8px;
}

.pager__arrow {
  position: relative;
  z-index: 2;
  background: transparent;
  border: none;
  color: #bfbfbf; /* светло-серый, как на фото */
  font-size: 20px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.15s ease, transform 0.12s ease;
}

.pager__arrow:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.pager__arrow[disabled] {
  opacity: 0.45;
  cursor: default;
}

/* линия под переключателем */
.arty {
  background-color: #1d2f30;
  margin-top: 200px;
}
.images_section {
  background-color: #1d2f30;
}
.artefakt h2 {
  font-family: "Cormorant", serif; /* укажи свой шрифт */
  font-weight: bold; /* жирный */
  font-style: italic; /* курсив */
  font-size: 30px; /* размер текста */
  color: #ffffff; /* цвет текста */
  width: 355px;
  height: 48px;
  margin-left: 165px;
}
.life_img {
  width: 825px;
  height: 493px;
  margin-left: 165px;
}
.artefakt_line2 {
  position: absolute;
  width: 255px;
  height: 493px;
  left: 1020px;
  top: 1300px;
  margin-top: 189px;

  background-color: #bae249;
}
.Kurische_Nehrung_24 {
  margin-left: 16px;
  margin-right: 39px;
}
.artefakt_line2 p {
  margin-top: 25px;
  margin-left: 16px;
  font-family: "Open Sans", "Lucida Sans", "Lucida Sans Regular",
    "Lucida Grande", "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
  font-style: normal;
}
.artefakt_line2 button {
  margin-left: 16px;
  margin-top: 45px;
  color: #0b1919;
}
.artefakt_button {
  color: #0b1919;
  background: none;
  border: none;
  font-size: 16px;
  font-family: "Open Sans", "Lucida Sans", "Lucida Sans Regular",
    "Lucida Grande", "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
  font-style: normal;
}
.login_image {
  width: 1500px;
  height: 463px;
  filter: brightness(65%);
}
.main-login h3 {
  /* Помочь проекту */

  position: absolute;
  width: 400px;
  height: 48px;
  left: 165px;
  top: 1913px;
  margin-top: 120px;

  /* h2 */
  font-family: "Cormorant";
  font-style: italic;
  font-weight: 700;
  font-size: 48px;
  line-height: 100%;
  /* identical to box height, or 48px */

  /* white */
  color: #ffffff;
}
.main-login p {
  /* Равным образом, экономическая повестка сегодняшнего дня не даёт нам иного выбора, кроме определения прогресса профессионального сообщества. Как принято считать, элементы политического процесса рассмотрены исключительно в разрезе маркетинговых и финансовых предпосылок. */

  position: absolute;
  width: 825px;
  height: 72px;
  left: 165px;
  top: 1977px;
  margin-top: 130px;

  /* p1_regular */
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  /* or 24px */

  /* white */
  color: #ffffff;
}
.registration-form {
  display: flex;
  flex-direction: column; /* поля идут сверху вниз */
  width: 300px; /* ширина формы */
  gap: 10px; /* расстояние между элементами */
  margin: 0 auto; /* центр формы по горизонтали */
}

.registration-form input {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 1px;
}

.registration-form button {
  padding: 10px;
  background-color: #bae249;
  color: #0b1919;
  border: none;
  cursor: pointer;
  border-radius: 1px;
  width: 145px;
  height: 40px;
}
/* Group 212 */
.login {
  position: absolute;
  width: 350px;
  height: 183px;
  left: 137px;
  top: 2020px;
  margin-top: 200px;
}
.name:hover {
  background-color: #899d9d;
  color: #0b1919;
}
.email:hover {
  background-color: #899d9d;
  color: #0b1919;
}
.registration-form button:hover {
  background-color: #91ac46;
  color: #0b1919;
  cursor: pointer;
}
.registration-form button:focus {
  background-color: #83a440;
  border: #0b1919 1px solid;
  color: #cccccc;
}
.registration-form button:active {
  background-color: #688b05;
}
.registration-form button:disabled {
  background-color: #899d9d;
  border: #899d9d 1px solid;
  color: #899d9d;
}
.social-link {
  background-color: #0b1919;
  width: 1500px;
  height: 110px;
}
.social-img {
  width: 28px; /* чтобы не растягивались */
  height: 35px;
  object-fit: contain;
  margin-top: 16px;
  cursor: pointer;
  margin-top: 28px;
}
.social-container {
  display: flex;
  justify-content: center; /* по центру */
  align-items: center;
  gap: 20px; /* расстояние между иконками */
}
.license {
  color: #899d9d;
  display: flex;
  justify-content: center;
}
.footer {
  width: 100%;
  min-height: 90px;
  background: linear-gradient(90deg, #1d2f30 80%, #223b3b 100%);
  box-shadow: 0 -4px 32px #0005;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 0 8px 0;
  position: relative;
  margin-top: 48px;
  animation: footer-fade-in 1.2s;
}
@keyframes footer-fade-in {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.social-link {
  background: none;
  width: auto;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.social-container {
  gap: 32px;
  margin-bottom: 8px;
  animation: social-fade-in 1.2s 0.3s both;
}
.license {
  color: #bae249;
  font-family: "Cormorant", serif;
  font-size: 18px;
  letter-spacing: 1px;
  margin-top: 8px;
  text-shadow: 0 2px 8px #0008;
  opacity: 0.85;
  animation: footer-fade-in 1.2s 0.5s both;
}
