
body {
  margin: 0;
  font-family: "Georgia", serif;
  background-color: #f4efe6;
  color: #3b2f2f;
  overflow-x: hidden;
}

/* --- боковое меню --- */
nav.side-echo {
  position: fixed;
  top: 0;
  left: 0;
  width: 240px;
  height: 100vh;
  background: #e4d7c5;
  border-right: 2px solid #c0b09a;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* верхняя часть меню */
nav.side-echo h1 {
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #4a3b2c;
  margin-bottom: 30px;
}
nav.side-echo ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
nav.side-echo li {
  margin: 18px 0;
}
nav.side-echo a {
  text-decoration: none;
  color: #4a3b2c;
  opacity: 0.85;
  font-size: 15px;
  transition: all 0.3s ease;
}
nav.side-echo a:hover {
  opacity: 1;
  letter-spacing: 0.6px;
}

/* нижняя часть меню */
.nav-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
nav.side-echo small {
  display: block;
  text-align: center;
  color: #7a6b5a;
  font-size: 13px;
}

/* --- кнопки --- */
.lang-info-box {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.lang-switch,
.site-info {
  flex: 1;
  text-align: center;
  background: #d8c8b3;
  border: none;
  border-radius: 8px;
  font-family: "Georgia", serif;
  font-size: 14px;
  color: #3b2f2f;
  padding: 7px 0;
  cursor: pointer;
  transition: all 0.25s ease;
}
.lang-switch:hover,
.site-info:hover {
  background: #e2d3bf;
  transform: translateY(-1px);
}

/* --- контент --- */
main.memory-flow {
  margin-left: 260px;
  padding: 60px 8%;
  max-width: 1200px;
}
header.intro-fragment {
  background: #e9dfcf;
  padding: 40px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 0 20px rgba(60, 50, 40, 0.1);
}
header.intro-fragment h2 {
  font-size: 30px;
  color: #3b2f2f;
}
header.intro-fragment p {
  font-size: 17px;
  margin-top: 14px;
  line-height: 1.7;
  color: #5b4b4b;
}

/* --- секции контента --- */
section.old-block {
  margin-top: 70px;
  background: #f2e8da;
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}
section.old-block:hover {
  transform: translateY(-3px);
}
section.old-block h3 {
  font-size: 23px;
  margin-bottom: 18px;
  color: #4a3b2c;
}
section.old-block p {
  font-size: 16px;
  line-height: 1.8;
  color: #5e4e4e;
}

/* --- новый контент --- */
.vintage-line {
  border: none;
  border-top: 1px dashed #b8a792;
  margin: 40px 0;
}

.intro-article, .memory-article {
  background: #efe5d5;
  border-left: 4px solid #c1b09d;
  padding: 25px;
  border-radius: 12px;
  margin-top: 40px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.retro-note {
  background: #f9f3e8;
  border: 1px solid #d5c8b4;
  padding: 20px;
  margin: 30px 0;
  border-radius: 10px;
  font-size: 15px;
}

.retro-note h4 {
  margin-top: 0;
  color: #4a3b2c;
}

.retro-figure {
  margin: 40px 0;
  padding: 20px;
  border-left: 4px solid #c0b09a;
  background: #f5ecdc;
  border-radius: 10px;
}

.retro-figure figcaption {
  font-style: italic;
  color: #5e4e4e;
  text-align: center;
}

.quote-band {
  margin: 50px 0;
  text-align: center;
}

.quote-band blockquote {
  font-size: 18px;
  font-style: italic;
  color: #4a3b2c;
  margin: 0;
  padding: 20px;
  border-top: 1px dashed #bda888;
  border-bottom: 1px dashed #bda888;
}

.retro-columns {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 40px 0;
}

.retro-columns div {
  flex: 1;
  background: #f2e8da;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.retro-columns h4 {
  margin-top: 0;
  color: #3b2f2f;
}
/* --- футер --- */
footer.vintage-footer {
  margin-top: 90px;
  padding: 50px 0;
  text-align: center;
  font-size: 14px;
  color: #7a6b5a;
  border-top: 1px dashed #b8a792;
}
footer.vintage-footer p {
  margin: 0;
  letter-spacing: 0.5px;
}

/* --- адаптив --- */
.modal-policy {
  display: none; 
  position: fixed; 
  z-index: 1001; 
  left: 0; top: 0; width: 100vw; height: 100vh;
  overflow: auto; 
  background-color: rgba(60, 52, 42, 0.30);
}

.modal-content {
  background: #f2e8da;
  margin: 60px auto;
  padding: 36px 24px 24px 24px;
  border-radius: 18px;
  max-width: 440px;
  box-shadow: 0 4px 32px rgba(60,50,40,0.19);
  font-family: "Georgia", serif;
  color: #3b2f2f;
  position: relative;
  animation: fadeInPolicy 0.3s;
}
@keyframes fadeInPolicy {
  from { opacity: 0; transform: translateY(40px);}
  to   { opacity: 1; transform: translateY(0);}
}
.modal-content h2, .modal-content h3, .modal-content h4 {
  margin-top: 0;
  color: #4a3b2c;
}
.modal-content ul {
  padding-left: 22px;
  margin: 14px 0;
}
.modal-content li {
  margin-bottom: 8px;
  font-size: 15px;
}
.modal-content a { color: #7E57C2; text-decoration: underline; }
.close {
  position: absolute; top: 18px; right: 18px;
  font-size: 28px; font-weight: bold; color: #aa9987;
  cursor: pointer; transition: color 0.2s;
}
.close:hover { color: #d1741a; }
@media (max-width: 900px) {
  nav.side-echo {
    position: relative;
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 2px solid #c0b09a;
    flex-direction: column;
    align-items: center;
    padding: 15px 10px;
  }

  .lang-info-box {
    justify-content: center;
    width: 100%;
    margin-top: 10px;
  }

  main.memory-flow {
    margin-left: 0;
    padding: 30px 5%;
  }

  header.intro-fragment h2 {
    font-size: 24px;
  }

  section.old-block {
    padding: 25px;
  }

  .retro-columns {
    flex-direction: column;
  }
  .modal-content { max-width: 95vw; padding: 15px 5vw 15px 5vw; }
  }
}