:root {
  --blue: #2377b6;
  --blue-deep: #155580;
  --blue-ink: #1c5f8f;
  --green: #2c9646;
  --red: #e62c38;
  --paper: #f4f7fb;
  --card: #ffffff;
  --text: #1e293b;
  --muted: #475569;
  --line: #d5e2ee;
  --shadow: 0 10px 30px rgba(21, 85, 128, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.5;
}
img { max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
:focus-visible {
  outline: 3px solid #f6c445;
  outline-offset: 2px;
}

.topline { height: 6px; background: linear-gradient(90deg, var(--red), #cc2530); }
.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: linear-gradient(90deg, var(--blue), var(--blue-ink));
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}
.header-bar {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  min-width: 0;
}
.brand img { height: 48px; width: auto; }
.brand span { display: block; }
.brand strong { font-family: Oswald, sans-serif; font-size: 1.05rem; letter-spacing: 0.01em; }
.brand small { display: block; opacity: 0.85; font-size: 0.78rem; }
.langs { display: flex; gap: 6px; flex-shrink: 0; }
.langs a {
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.langs a[aria-current="true"] { background: #fff; color: var(--blue-deep); }

.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 16px 8px;
}
.hero p.kicker {
  margin: 0;
  color: var(--blue);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.hero h1 {
  margin: 6px 0 8px;
  font-family: Oswald, sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.1;
  color: var(--blue-deep);
}
.hero .lead { margin: 0; max-width: 46rem; color: var(--muted); font-size: 1.02rem; }
.sponsor-note {
  margin: 14px 0 0;
  max-width: 46rem;
  background: #e7f6eb;
  border: 1px solid #b7dfc2;
  color: #14532d;
  border-radius: 16px;
  padding: 14px 16px;
}
.sponsor-note strong { font-family: Oswald, sans-serif; letter-spacing: 0.03em; }

.tools {
  position: sticky;
  top: 72px;
  z-index: 20;
  background: rgba(244, 247, 251, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.tools-inner { max-width: 1120px; margin: 0 auto; padding: 12px 16px 14px; }
.search {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 1rem;
  color: var(--text);
}
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.filters button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--blue-deep);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
  min-height: 44px;
}
.filters button[aria-pressed="true"] {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.status { margin: 10px 0 0; color: var(--muted); font-size: 0.92rem; }

.list {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 16px 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card .photo {
  width: calc(100% + 32px);
  height: 168px;
  margin: -16px -16px 2px;
  object-fit: cover;
  border-radius: 17px 17px 0 0;
  background: #e7eef5;
}
.card header { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.card h2 { margin: 0; font-size: 1.15rem; line-height: 1.25; color: var(--blue-deep); }
.card h2 a { color: inherit; text-decoration: none; }
.card h2 a:hover { text-decoration: underline; }
.badges { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.badge {
  flex-shrink: 0;
  background: #e7f3ea;
  color: #1d6b32;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 999px;
  padding: 6px 10px;
}
.badge.restaurant { background: #fff1e8; color: #9a3412; }
.badge.agency { background: #e8f2fb; color: #155580; }
.badge.transport { background: #f3e8ff; color: #6b21a8; }
.badge.benef { background: #fff7d6; color: #854d0e; }
.address { margin: 0; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.actions a {
  text-decoration: none;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  border-radius: 12px;
  padding: 10px 12px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.actions a.map,
.actions a.ficha {
  background: #fff;
  color: var(--blue);
  border: 1px solid var(--blue);
}
.actions a.ficha { background: var(--blue); color: #fff; border-color: var(--blue); }
.empty {
  grid-column: 1 / -1;
  background: #fff;
  border-radius: 16px;
  padding: 28px 18px;
  text-align: center;
  color: var(--muted);
}
.site-footer {
  background: var(--blue-deep);
  color: #fff;
  text-align: center;
  padding: 18px 16px 28px;
  font-size: 0.9rem;
}
.site-footer a { color: #fff; }

@media (max-width: 520px) {
  .card header { flex-wrap: wrap; }
  .badges { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .hero h1 { font-size: 1.7rem; }
}
@media (min-width: 720px) {
  .list { grid-template-columns: 1fr 1fr; }
  .brand img { height: 56px; }
}
@media (min-width: 1040px) {
  .list { grid-template-columns: 1fr 1fr 1fr; }
  .tools { top: 80px; }
}
