.top { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding-block: 24px 27px; }
.brand { display: inline-flex; align-items: center; gap: 15px; min-height: 60px; color: var(--ink); text-decoration: none; font-size: 26px; font-weight: 650; line-height: 1.16; }
.brand .sub { display: block; padding-top: 4px; color: var(--muted); font-size: 16px; font-weight: 500; }
.mark { display: flex; gap: 3px; width: 50px; height: 50px; align-items: center; justify-content: center; background: var(--yellow); border-radius: 50%; transform: rotate(-12deg); }
.mark i { display: block; width: 6px; height: 23px; border-radius: 5px; background: var(--violet); }
.mark i:nth-child(2) { height: 32px; }
.mark i:nth-child(3) { height: 16px; }
.place { color: var(--muted); font-size: 16px; }
.tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 7px; padding: 8px; border-radius: 28px; background: #e4deed; }
.tab { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 52px; padding: 11px 9px; border-radius: 22px; color: #453857; font-size: 16px; line-height: 1.4; font-weight: 600; text-decoration: none; text-align: center; }
.tab:hover { background: #f4f0fa; }
.tab.on { background: var(--white); color: var(--violet); box-shadow: 0 3px 0 #c5bad9; }
.tab[aria-current='page'] { text-decoration: underline; text-underline-offset: 5px; }
.back { display: inline-flex; align-items: center; min-height: 44px; padding-block: 8px; margin-bottom: 16px; font-size: 16px; }
.foot { margin-top: 80px; padding-block: 48px; background: var(--blue); }
.foot-title { font-size: 34px; line-height: 1.25; margin-bottom: 20px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 20px; }
.ft { display: inline-flex; align-items: center; min-height: 48px; padding-block: 10px; font-size: 16px; }
@media (max-width: 1000px) {
  .tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .top { padding-block: 18px; gap: 14px; }
  .brand { font-size: 23px; gap: 10px; }
  .mark { width: 44px; height: 44px; flex-shrink: 0; }
  .place { display: none; }
  .tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; border-radius: 25px; padding: 7px; }
  .tab { min-height: 48px; padding: 10px 7px; font-size: 16px; }
  .foot { padding-block: 35px; margin-top: 56px; }
  .foot nav { display: grid; grid-template-columns: 1fr; gap: 4px; }
  .ft { min-height: 48px; width: 100%; }
}
