:root {
  --paper: #f4efe6;
  --ink: #241910;
  --muted: #6d5c4d;
  --line: #e2d5c4;
  --card: #fffaf3;
  --clay: #c2512c;
  --clay-dark: #8d3418;
  --leaf: #3f6b4a;
  --shadow: 0 16px 40px rgba(60, 32, 12, 0.08);
}

* { box-sizing: border-box; }

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(194, 81, 44, 0.12), transparent 32%),
    linear-gradient(180deg, #fbf7f1 0%, var(--paper) 40%, #efe4d4 100%);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}

a { color: inherit; }

.wrap {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

body > .wrap { flex: 1; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 15;
  background: rgba(251, 247, 241, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 78px;
  padding: 12px 0;
}

.brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.seal {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--clay);
  color: #fff8f2;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.12);
}

.brand-text strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.86rem;
}

.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
  overflow-x: auto;
}

.nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  white-space: nowrap;
}

.nav-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.nav a.active,
.nav a:hover {
  background: #f3e4d4;
  color: var(--ink);
}

.wa-nav { flex: 0 0 auto; }

.hero {
  padding: 28px 0 8px;
}

.hero h1 {
  margin: 0 0 8px;
  max-width: 14ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.hero p {
  max-width: 46ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 26px 0 18px;
}

.search {
  display: flex;
  flex: 1 1 240px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.search input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 12px 16px;
  font: inherit;
  color: inherit;
  outline: none;
}

.search button,
.chip {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.search button {
  margin: 4px;
  background: var(--ink);
  color: #fff8f2;
  border-color: var(--ink);
}

.chip.active {
  background: var(--clay);
  border-color: var(--clay);
  color: #fff8f2;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  padding-bottom: 48px;
}

.card {
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.card:hover { transform: translateY(-2px); }

.card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
}

.mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 16px;
  background: #f3e4d4;
  font-size: 1.6rem;
}

.card h2,
.recipe h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.card h2 {
  margin: 0 0 8px;
  font-size: 1.45rem;
}

.card p { margin: 0; color: var(--muted); }

.meta {
  color: var(--leaf);
  font-size: 0.9rem;
}

.wa,
.wa-float {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 999px;
  background: #1fa855;
  color: #fff;
  text-decoration: none;
  font-weight: 650;
  line-height: 1;
}

.wa { padding: 8px 10px; font-size: 0.82rem; }
.wa-lg { margin-top: 18px; padding: 12px 16px; font-size: 0.95rem; }

.wa svg,
.wa-float svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  padding: 14px 16px;
  font-size: 0.95rem;
  box-shadow: 0 10px 24px rgba(20, 90, 45, 0.28);
}

.wa-float svg { width: 20px; height: 20px; }

.empty {
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: 22px;
  background: rgba(255, 250, 243, 0.7);
}

.crumb {
  margin: 18px 0 0;
  color: var(--muted);
}

.crumb a { color: var(--clay-dark); }

.recipe {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  padding: 18px 0 56px;
}

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--clay-dark);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.recipe h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.95;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 18px 0 0;
  color: var(--muted);
}

.panel ol,
.panel ul {
  margin: 0;
  padding-left: 1.2rem;
}

.panel li + li { margin-top: 8px; }

.related {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.related a {
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f7efe4;
}

.site-footer {
  margin-top: 28px;
  background: #241910;
  color: #f6efe6;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  padding: 36px 0 22px;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  text-decoration: none;
}

.site-footer p {
  margin: 0;
  max-width: 36ch;
  color: #d9cbbd;
}

.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.site-footer strong {
  margin-bottom: 4px;
}

.site-footer nav a,
.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f6efe6;
  text-decoration: none;
}

.site-footer nav a:hover,
.footer-phone:hover { color: #f0b79a; }

.footer-phone {
  margin-top: 10px;
  font-size: 1.05rem;
}

.footer-note {
  padding: 14px 0 22px;
  border-top: 1px solid rgba(246, 239, 230, 0.14);
  color: #d9cbbd;
  font-size: 0.88rem;
}

@media (max-width: 780px) {
  .recipe { grid-template-columns: 1fr; }
  .header-bar { flex-wrap: wrap; min-height: 0; }
  .nav { order: 3; width: 100%; margin-left: 0; padding-bottom: 4px; }
  .wa-nav { margin-left: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
}
