/* База */
body{
  font-family: Arial, sans-serif;
  margin: 0;
  background: white;
  color: black;
}

/* Контейнер страницы (чтобы сохранялся знакомый отступ как раньше) */
.page{
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* ===== ШАПКА как на фото 2 ===== */
.topbar{
  background: #eeeeee;
  border-bottom: 1px solid #dcdcdc;
}

.topbar__inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;

  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.topbar__brand{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.topbar__logo{
  height: 46px;
  width: auto;
  display: block;
}

/* Меню по центру */
.topbar__nav{
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.topbar__nav a{
  text-decoration: none;
  color: black;
  padding: 8px 10px;
  border-radius: 10px;
}

.topbar__nav a:hover{
  background: #e3e3e3;
}

/* Правая часть (email + кнопка) */
.topbar__right{
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.topbar__email{
  text-decoration: none;
  color: black;
  font-weight: 600;
}

/* ===== Кнопки (общий стиль для <a> и <button>) ===== */
.btn{
  display: inline-block;
  padding: 12px 18px;
  border: 1px solid black;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  text-decoration: none;
}

.btn--solid{
  background: black;
  color: white;
}

.btn--outline{
  background: transparent;
  color: black;
}

/* Стили, которые уже были и нужны для контента */
.main-photo{
  width: 100%;
  max-width: 900px;
  display: block;
  margin: 0 auto 25px auto;
}

h1{
  font-size: 32px;
  text-align: center;
  margin: 0 0 20px;
}

h2{
  margin-top: 40px;
}

p, ul{
  font-size: 18px;
  line-height: 1.6;
}

/* Если у вас остались где-то обычные <button> без класса btn — подстрахуемся */
button{
  font-family: inherit;
}
