:root {
  --red: #c62828;
  --red-dark: #8e1b1b;
  --saffron: #f5a623;
  --green: #247a3b;
  --ink: #231f20;
  --muted: #6f625d;
  --cream: #fff8e1;
  --surface: #ffffff;
  --line: #eadfcf;
  --shadow: 0 10px 28px rgba(88, 42, 17, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
}

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.topbar {
  background: #3a2018;
  color: #fff8e1;
  font-size: 14px;
  padding: 9px 20px;
  text-align: center;
}

.site-header {
  background: linear-gradient(90deg, var(--saffron), var(--red));
  color: white;
  padding: 26px 20px 24px;
  text-align: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand:hover {
  text-decoration: none;
}

.tagline {
  margin-top: 8px;
  font-size: 18px;
  font-weight: 500;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  background: #fffdf3;
  border-bottom: 1px solid var(--line);
  padding: 10px;
}

.nav a {
  color: var(--red);
  font-weight: 700;
  padding: 9px 12px;
  border-radius: 8px;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: #ffe9c2;
  text-decoration: none;
}

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

.hero {
  padding: 38px 0 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: stretch;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 30px;
}

h1,
h2,
h3 {
  color: var(--red-dark);
  letter-spacing: 0;
}

h1 {
  margin: 0 0 14px;
  font-size: 42px;
  line-height: 1.08;
}

h2 {
  margin: 0 0 18px;
  font-size: 28px;
}

h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

p {
  line-height: 1.65;
}

.lead {
  color: #463731;
  font-size: 18px;
  margin: 0 0 22px;
}

.search-panel {
  padding: 24px;
}

.search-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-bottom: 14px;
}

input,
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #d6c5af;
  border-radius: 8px;
  color: var(--ink);
  background: white;
  font-size: 16px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--red);
  outline: 3px solid rgba(198, 40, 40, 0.14);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: white;
  font-weight: 800;
  cursor: pointer;
}

.button:hover {
  background: #145c28;
  text-decoration: none;
}

.button.secondary {
  background: #fff;
  color: var(--red);
  border: 1px solid #e5c1a3;
}

.button.secondary:hover {
  background: #fff3dc;
}

.quick-searches,
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 12px 0;
}

.chip {
  border: 1px solid #e0c8a8;
  background: #fff7e8;
  color: #6b301e;
  border-radius: 999px;
  padding: 8px 11px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.chip:hover {
  background: #ffe7ba;
  text-decoration: none;
}

.section {
  padding: 32px 0;
}

.section.alt {
  background: #fff3d6;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 18px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(88, 42, 17, 0.08);
}

.metric {
  display: block;
  color: var(--red);
  font-size: 30px;
  font-weight: 800;
}

.muted {
  color: var(--muted);
}

.result {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 18px;
  margin: 16px 0;
  padding: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 7px 20px rgba(88, 42, 17, 0.08);
}

.place-image {
  width: 128px;
  height: 128px;
  object-fit: cover;
  border-radius: 8px;
  background: #f0e6da;
}

.place-title {
  color: var(--red-dark);
  font-size: 19px;
  font-weight: 800;
}

.place-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 8px 0;
  color: var(--muted);
  font-size: 14px;
}

.place-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.notice,
.error {
  margin: 12px 0;
  padding: 12px 14px;
  border-radius: 8px;
}

.notice {
  background: #eef8ef;
  color: #19592b;
}

.error {
  background: #ffebee;
  color: #a11d1d;
  font-weight: 700;
}

.article {
  padding: 34px 0;
}

.article .container {
  max-width: 900px;
}

.list {
  padding-left: 20px;
  line-height: 1.75;
}

.site-footer {
  background: #2b1b17;
  color: #f8e8c8;
  margin-top: 40px;
  padding: 32px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 20px;
}

.site-footer a {
  color: #ffd98e;
}

.footer-links {
  display: grid;
  gap: 8px;
}

@media (max-width: 800px) {
  .hero-grid,
  .grid-3,
  .grid-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 34px;
  }

  .search-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 28px;
  }

  .hero-copy,
  .search-panel {
    padding: 20px;
  }

  .result {
    grid-template-columns: 1fr;
  }

  .place-image {
    width: 100%;
    height: 190px;
  }
}
