:root {
  --cream: #f4ead8;
  --ink: #1c1610;
  --panel: rgba(18, 14, 11, 0.82);
  --line: rgba(255, 255, 255, 0.22);
  --orange: #e07a32;
  --gold: #f0b429;
  --whatsapp: #25d366;
  --muted: rgba(244, 234, 216, 0.78);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: "Source Sans 3", sans-serif;
  color: var(--cream);
  background: #110e0b;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: #110e0b;
}
.bg::before {
  content: "";
  position: absolute;
  inset: -28px;
  background: url("img/catas-octubre.jpg") center / cover no-repeat;
  filter: blur(14px) brightness(0.52) saturate(0.85);
  transform: scale(1.06);
}

.site-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 20px 8px;
  text-align: center;
}
.brand img {
  width: min(280px, 78vw);
  height: auto;
  display: block;
}
.header-tag {
  margin: 6px 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 18px auto 40px;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 22px;
  align-items: start;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px 26px 24px;
  backdrop-filter: blur(8px);
}
.eyebrow {
  margin: 0 0 8px;
  font-family: Montserrat, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
}
.eyebrow.gold { color: var(--gold); }

h1, h2 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 12px;
}
h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
h3 {
  font-family: Montserrat, sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 6px;
}
.lead { margin: 0 0 18px; font-size: 1.05rem; line-height: 1.5; }
.lead.italic { font-family: "Playfair Display", serif; font-style: italic; font-weight: 500; }
.note, .bizum { color: var(--muted); font-size: 0.95rem; line-height: 1.45; }
.phone {
  margin: 10px 0 14px;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 4px;
  padding: 13px 18px;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn-whatsapp {
  background: var(--whatsapp);
  color: #083216;
}
.btn-cata {
  width: 100%;
  margin-top: 10px;
  background: var(--orange);
  color: #fff;
  text-align: center;
}
.wa-icon {
  width: 18px;
  height: 18px;
  background: currentColor;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M20.5 3.5A11 11 0 0 0 2.1 17.8L1 23l5.3-1.1A11 11 0 0 0 20.5 3.5zm-8.5 17a9 9 0 0 1-4.6-1.3l-.3-.2-3.1.6.6-3-.2-.3A9 9 0 1 1 12 20.5zm5-6.7c-.3-.1-1.6-.8-1.9-.9s-.4-.1-.6.1-.7.9-.8 1-.3.2-.6.1a7.4 7.4 0 0 1-2.2-1.3 8 8 0 0 1-1.5-1.9c-.2-.3 0-.4.1-.6l.4-.5.1-.3a.5.5 0 0 0 0-.5c0-.1-.6-1.5-.8-2s-.4-.5-.6-.5h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.8 11.8 11.8 0 0 0 4.5 4 15 15 0 0 0 1.5.5 3.6 3.6 0 0 0 1.6.1 2.7 2.7 0 0 0 1.8-1.2 2.2 2.2 0 0 0 .2-1.2c-.1-.1-.3-.2-.6-.3z'/></svg>") center / contain no-repeat;
}

.catas { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.cata {
  position: relative;
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 14px;
  border: 1px solid var(--line);
  padding: 14px;
}
.cata.is-done {
  min-height: 118px;
  align-items: center;
  filter: grayscale(0.35) brightness(0.88);
}
.cata.is-done .cata-body p,
.cata.is-done .cata-meta time,
.cata.is-done .price,
.cata.is-done h3 {
  opacity: 0.72;
}
.sello {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%) rotate(-18deg);
  padding: 7px 16px 6px;
  border: 3px solid #c44528;
  border-radius: 6px;
  color: #c44528;
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: rgba(196, 69, 40, 0.08);
  box-shadow: 0 0 0 1px rgba(196, 69, 40, 0.25) inset;
  pointer-events: none;
  white-space: nowrap;
}
.cata-meta {
  border-right: 1px solid var(--line);
  padding-right: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.cata-meta time {
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
}
.price {
  font-family: "Playfair Display", serif;
  font-size: 1.55rem;
  color: var(--gold);
  font-weight: 700;
}
.cata-body p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.catas-anteriores {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.catas-anteriores summary {
  cursor: pointer;
  list-style: none;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.catas-anteriores summary::-webkit-details-marker { display: none; }
.catas-anteriores summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}
.catas-anteriores[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 6px;
}
.catas-anteriores .catas { margin-top: 10px; }

.site-footer {
  text-align: center;
  padding: 8px 16px 28px;
  color: var(--muted);
  font-size: 0.88rem;
}
.site-footer p { margin: 4px 0; }

@media (max-width: 860px) {
  .grid { grid-template-columns: 1fr; }
  .cata { grid-template-columns: 1fr; }
  .cata-meta {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 10px;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
  }
  .btn-whatsapp { width: 100%; }
  .sello { font-size: 0.7rem; padding: 6px 12px 5px; }
}
