:root {
  --burgundy: #531234;
  --burgundy-deep: #250812;
  --gold: #cdb66e;
  --cream: #f8f1df;
  --white: #fffaf2;
  --muted: rgba(255, 250, 242, 0.74);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--white);
  font-family: Inter, Arial, sans-serif;
  background:
    radial-gradient(circle at 78% 12%, rgba(205, 182, 110, 0.16), transparent 34%),
    linear-gradient(135deg, var(--burgundy-deep), var(--burgundy) 52%, #2a0614);
}

a {
  color: inherit;
}

.category-header,
.category-hero,
.category-content,
.category-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.category-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.category-header img {
  width: min(230px, 48vw);
  height: auto;
}

.category-header nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.category-header a:not(.brand) {
  padding: 11px 16px;
  border: 1px solid rgba(205, 182, 110, 0.42);
  border-radius: 4px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.category-header a:not(.brand):hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  background: rgba(205, 182, 110, 0.12);
}

.category-hero {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(34px, 6vw, 78px) 0;
}

.category-copy p:first-child {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.83rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.92;
}

.category-copy p:last-of-type {
  max-width: 670px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.75;
}

.category-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.category-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  text-decoration: none;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.category-actions a:first-child {
  color: #2b0b19;
  background: var(--gold);
}

.category-actions a:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24), 0 0 22px rgba(205, 182, 110, 0.24);
}

.category-visual {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border: 1px solid rgba(205, 182, 110, 0.34);
  border-radius: 8px;
  background: rgba(18, 6, 11, 0.42);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.3);
}

.category-visual img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  display: block;
  object-fit: cover;
  filter: saturate(0.98) contrast(1.05);
  transform: scale(1.02);
}

.category-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.44), transparent 55%);
}

.category-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-bottom: clamp(56px, 7vw, 96px);
}

.category-content article {
  min-height: 170px;
  padding: 24px;
  border: 1px solid rgba(205, 182, 110, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(14px);
}

.category-content strong {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.category-content h2 {
  margin: 12px 0 8px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.6rem;
}

.category-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.category-footer {
  padding: 28px 0 44px;
  border-top: 1px solid rgba(205, 182, 110, 0.28);
  color: rgba(255, 250, 242, 0.7);
}

@media (max-width: 820px) {
  .category-header,
  .category-hero,
  .category-content,
  .category-footer {
    width: min(100% - 24px, 1180px);
  }

  .category-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .category-hero,
  .category-content {
    grid-template-columns: 1fr;
  }

  .category-hero {
    min-height: auto;
    padding-top: 24px;
  }

  .category-visual,
  .category-visual img {
    min-height: 340px;
  }
}
