* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: #f5efe8;
  color: #202020;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid #e8dfd6;
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

h1 {
  margin: 0;
  font-size: 42px;
  letter-spacing: -1px;
}

.subtitle {
  margin: 5px 0 0;
  color: #666;
}

.tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.tab {
  border: 0;
  padding: 13px 22px;
  border-radius: 999px;
  background: #eee8e0;
  cursor: pointer;
  font-weight: 800;
  font-size: 15px;
}

.tab.active {
  background: #202020;
  color: white;
}

.layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 24px;
  padding: 24px;
}

.sidebar {
  background: white;
  border-radius: 28px;
  padding: 20px;
  height: calc(100vh - 145px);
  overflow: auto;
  border: 1px solid #eadfd4;
}

.sidebar h2 {
  font-size: 18px;
  margin: 6px 0 14px;
}

.category-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.category-button {
  border: 0;
  border-radius: 999px;
  padding: 9px 13px;
  background: #f3eee8;
  cursor: pointer;
  font-weight: 700;
}

.category-button.active {
  background: #202020;
  color: white;
}

.card {
  padding: 15px;
  border: 1px solid #eee6df;
  border-radius: 20px;
  margin-bottom: 12px;
  cursor: pointer;
  background: #fff;
  transition: 0.18s;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.06);
}

.card.active {
  border: 2px solid #202020;
}

.card strong {
  display: block;
  margin-bottom: 5px;
}

.card small {
  color: #777;
}

.content {
  background: white;
  border-radius: 28px;
  overflow: hidden;
  min-height: calc(100vh - 145px);
  border: 1px solid #eadfd4;
}

.hero {
  min-height: 360px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 34px;
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.68), rgba(0,0,0,0.10));
}

.hero-text {
  position: relative;
  z-index: 1;
  max-width: 750px;
}

.hero h2 {
  font-size: clamp(34px, 6vw, 64px);
  margin: 0 0 12px;
  letter-spacing: -1.5px;
}

.hero p {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
}

.detail {
  padding: 26px;
}

.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.box {
  background: #faf7f3;
  border: 1px solid #eee2d8;
  border-radius: 22px;
  padding: 22px;
}

.box h3 {
  margin-top: 0;
}

li {
  margin-bottom: 9px;
  line-height: 1.45;
}

.meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.pill {
  display: inline-flex;
  background: rgba(255,255,255,0.86);
  color: #222;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.gallery img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 18px;
}

.empty {
  padding: 30px;
  color: #666;
}

.hidden {
  display: none;
}

.footer {
  color: #777;
  padding: 10px 26px 28px;
  font-size: 13px;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .layout {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .sidebar {
    height: auto;
  }

  .content {
    min-height: 0;
  }

  .two-columns {
    grid-template-columns: 1fr;
  }
}
