:root {
  --ink: #211b18;
  --muted: #776d67;
  --paper: #f8f4ef;
  --card: #fffdf9;
  --line: #dfd7cf;
  --current-accent: #e9653b;
  --green: #128c5b;
  --shadow: 0 18px 50px rgba(46, 34, 25, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(233, 101, 59, 0.09), transparent 30rem),
    radial-gradient(circle at 95% 15%, rgba(143, 36, 53, 0.06), transparent 28rem),
    var(--paper);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, a { -webkit-tap-highlight-color: transparent; }

.page-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  padding: 64px 0 38px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: #8a3d2c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 38px;
  height: 2px;
  background: #e9653b;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 7vw, 82px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero-copy {
  max-width: 630px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.65;
}

.catalog-area { padding: 34px 0 72px; }

.brand-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.72);
  box-shadow: 0 8px 32px rgba(46, 34, 25, 0.04);
}

.brand-tab {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border: 0;
  border-radius: 12px;
  color: #625852;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.brand-tab:hover { background: #fff; transform: translateY(-1px); }
.brand-tab[aria-selected="true"] { color: var(--ink); background: #fff; box-shadow: 0 6px 22px rgba(38, 29, 24, 0.08); }
.brand-tab:focus-visible, .action:focus-visible { outline: 3px solid color-mix(in srgb, var(--current-accent) 45%, white); outline-offset: 3px; }

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-accent) 15%, transparent);
}

.section-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 34px 2px 16px;
}

.section-label {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

#catalog-count { margin: 0; color: var(--muted); font-size: 14px; }

.catalog-list { display: grid; gap: 15px; }

.catalog-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 260px;
  gap: 24px;
  align-items: stretch;
  min-height: 214px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow);
  animation: card-in 420ms ease both;
  animation-delay: var(--delay);
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.card-number {
  color: color-mix(in srgb, var(--current-accent) 55%, #b9afa8);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1;
}

.card-main { min-width: 0; padding-top: 2px; }

.badges { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  padding: 6px 10px;
  border: 1px solid;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.badge.ready { color: #237451; border-color: #b9dcca; background: #eff8f3; }
.badge.scheduled { color: #3f5f9a; border-color: #c7d3e9; background: #f2f5fb; }
.badge.fixed { color: #a44324; border-color: #ebc7ba; background: #fff3ee; }
.badge.promo { color: #9a275a; border-color: #e8bfd1; background: #fff1f7; }

.catalog-card h2 {
  max-width: 570px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 3.2vw, 35px);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.025em;
}

.link-preview {
  margin: 20px 0 0;
  overflow: hidden;
  color: #9a8f88;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-actions { display: grid; align-content: center; gap: 9px; }

.action {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.075em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.action:hover { transform: translateY(-1px); box-shadow: 0 7px 18px rgba(41, 31, 25, 0.08); }
.action.primary { color: #fff; border-color: var(--current-accent); background: var(--current-accent); }
.action.whatsapp { color: #116b46; border-color: #b9daca; background: #f1faf5; }
.action.copy.copied { color: #116b46; border-color: #9bcab3; background: #edf8f2; }
.whatsapp-icon { font-size: 16px; }

.footer {
  padding: 25px 0 35px;
  border-top: 1px solid var(--line);
  color: #897e77;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.toast {
  position: fixed;
  z-index: 20;
  right: 24px;
  bottom: 24px;
  max-width: calc(100% - 32px);
  padding: 14px 18px;
  border-radius: 10px;
  color: #fff;
  background: #241e1b;
  box-shadow: 0 12px 35px rgba(20, 15, 13, 0.23);
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 820px) {
  .page-shell { width: min(100% - 28px, 680px); }
  .hero { padding: 46px 0 30px; }
  .catalog-area { padding-top: 24px; }
  .catalog-card { grid-template-columns: 42px minmax(0, 1fr); gap: 14px; padding: 22px 18px; }
  .card-actions { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; margin-top: 6px; }
  .action.whatsapp { grid-column: 1 / -1; }
}

@media (max-width: 540px) {
  .page-shell { width: min(100% - 22px, 500px); }
  .hero { padding-top: 34px; }
  .eyebrow { margin-bottom: 18px; }
  h1 { font-size: clamp(42px, 14vw, 60px); }
  .hero-copy { margin-top: 20px; font-size: 15px; }
  .brand-tabs { gap: 5px; padding: 6px; border-radius: 15px; }
  .brand-tab { min-height: 58px; flex-direction: column; gap: 7px; padding: 9px 5px; font-size: 10px; letter-spacing: 0.06em; }
  .section-meta { align-items: flex-start; margin-top: 25px; }
  #catalog-count { max-width: 130px; text-align: right; }
  .catalog-card { grid-template-columns: 31px minmax(0, 1fr); min-height: 0; padding: 20px 16px; border-radius: 15px; }
  .card-number { font-size: 18px; }
  .badges { margin-bottom: 13px; }
  .catalog-card h2 { font-size: 25px; }
  .link-preview { margin-top: 14px; }
  .card-actions { grid-template-columns: 1fr; gap: 8px; }
  .action, .action.whatsapp { grid-column: auto; min-height: 52px; }
  .toast { right: 11px; bottom: 11px; left: 11px; max-width: none; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
