:root {
  --sand: #f6efe4;
  --paper: #fffaf3;
  --ink: #12302c;
  --muted: #5d6f6a;
  --teal: #0e5c52;
  --coral: #e2603f;
  --line: #e4d8c5;
  --wa: #128c52;
  --radius-lg: 22px;
  --radius-sm: 10px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --space: clamp(1rem, 0.6rem + 2vw, 2rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
}
a { color: inherit; }

.top, main, .foot { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.top { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; }
.brand { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; text-decoration: none; letter-spacing: -0.01em; }
.brand span { color: var(--coral); }
.lang { font-size: 0.9rem; color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); }
.lang:hover { color: var(--ink); border-color: var(--ink); }

.hero { padding: clamp(2.5rem, 2rem + 5vw, 6rem) 0 var(--space); max-width: 760px; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.3rem, 1.4rem + 4.6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 1rem;
}
.lead { font-size: clamp(1.02rem, 0.95rem + 0.4vw, 1.2rem); color: var(--muted); margin: 0; max-width: 620px; }

.cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 var(--space); }
.cats a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: background 150ms var(--ease), color 150ms var(--ease);
}
.cats a:hover { border-color: var(--teal); }
.cats a[aria-current="page"] { background: var(--teal); border-color: var(--teal); color: #fff; }

.grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(18, 48, 44, 0.45); }
.card h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; line-height: 1.15; margin: 0 0 4px; }
.card-meta { margin: 0; color: var(--muted); font-size: 0.92rem; }
.card-links { margin: 8px 0 0; font-size: 0.88rem; }
.card-links a { color: var(--teal); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.verified { font-size: 0.78rem; color: var(--muted); }
.verified::before { content: "✓ "; color: var(--teal); }
.empty { color: var(--muted); }

.wa {
  display: inline-block;
  background: var(--wa);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: transform 150ms var(--ease), background 150ms var(--ease);
}
.wa:hover { background: #0d7342; transform: translateY(-1px); }
.wa:active { transform: translateY(0); }
.wa:focus-visible, .cats a:focus-visible, .lang:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }

.own {
  margin: clamp(2.5rem, 2rem + 4vw, 5rem) 0 0;
  background: var(--teal);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1rem + 3vw, 3rem);
  position: relative;
  overflow: hidden;
}
.own::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--coral);
  opacity: 0.85;
}
.own h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 2vw, 2.4rem); margin: 0 0 8px; position: relative; z-index: 1; max-width: 70%; }
.own p { position: relative; z-index: 1; max-width: 560px; }
.wa-dark { background: #fff; color: var(--teal); position: relative; z-index: 1; }
.wa-dark:hover { background: var(--sand); }
.small { font-size: 0.85rem; opacity: 0.85; }

.foot { padding: 40px 16px 50px; color: var(--muted); font-size: 0.85rem; }

@media (prefers-reduced-motion: reduce) {
  .card, .wa, .cats a { transition: none; }
  .card:hover, .wa:hover { transform: none; }
}
