@charset "utf-8";
/* Modern, responsive styles for the new index page */
:root {
  --bg: #f7f7f9;
  --text: #222;
  --muted: #666;
  --brand: #0a7cc7;
  --card-bg: #fff;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

/* A11y helper */
.sr-only { position: absolute !important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,1px,1px)!important; white-space:nowrap!important; border:0!important; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.7);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
}
.logo { display: flex; align-items:center; gap: 10px; }
.logo img { height: 42px; width: auto; }
.nav { display: flex; align-items: center; gap: 16px; }
.nav a { color: var(--text); font-weight: 600; }

/* Hero / Search */
.hero {
  padding: 32px 16px 8px;
  background: linear-gradient(180deg, rgba(10,124,199,0.04), transparent 60%);
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.hero h1 { font-size: clamp(24px, 4vw, 40px); margin: 8px 0 16px; }
.hero p { color: var(--muted); margin: 0 0 24px; font-size: clamp(14px, 2vw, 16px); }

.search {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
}
.search select, .search button {
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.12);
  background: #fff;
  padding: 0 12px;
  font-size: 14px;
}
.search button {
  background: var(--brand);
  color: #fff;
  border: none;
  font-weight: 600;
  cursor: pointer;
}
.search-aux { margin-top: 8px; }

@media (max-width: 900px) {
  .search { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 560px) {
  .search { grid-template-columns: 1fr; }
}

/* Grid of cards */
.container { max-width: 1200px; margin: 0 auto; padding: 16px; }
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
}
@media (max-width: 1200px) {.grid { grid-template-columns: repeat(3, minmax(0,1fr)); }}
@media (max-width: 900px) {.grid { grid-template-columns: repeat(2, minmax(0,1fr)); }}
@media (max-width: 560px) {.grid { grid-template-columns: 1fr; }}

@media (max-width: 560px) {
  .card-img { height: 240px; object-position: center 20%; }
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .15s ease;
}
.card:hover { transform: translateY(-2px); }
.card-img {
  width: 100%;
  height: clamp(220px, 28vw, 360px);
  object-fit: cover;
  object-position: center 25%; /* bias to show more of the top area (logos) */
  background: #eee;
}
.badge {
  position: absolute;
  transform: rotate(-12deg);
  top: 12px; left: 12px;
  background: #ef4444; color: #fff;
  padding: 6px 10px; border-radius: 8px;
  font-weight: 700; box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.badge.reservado { background: #f59e0b; }
.card-body { padding: 12px 14px 16px; display: grid; gap: 6px; }
.card-title { font-weight: 700; }
.card-meta { color: var(--muted); font-size: 13px; }
.card-price { font-size: 18px; font-weight: 800; }
.card-actions { margin-top: 4px; }

/* Buttons */
.btn { display: inline-flex; align-items:center; justify-content:center; gap:8px; padding: 10px 14px; border-radius: 10px; font-weight: 700; text-decoration: none; transition: box-shadow .15s ease, transform .05s ease; }
.btn:focus { outline: none; box-shadow: 0 0 0 3px rgba(10,124,199,0.3); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { box-shadow: 0 6px 18px rgba(10,124,199,0.35); text-decoration: none; }

/* Footer */
.footer { border-top: 1px solid rgba(0,0,0,0.06); margin-top: 12px; }
.footer-inner { max-width: 1200px; margin:0 auto; padding: 20px 16px; text-align: center; color: var(--muted); }

/* Floating WhatsApp */
.whatsapp { position: fixed; right: 16px; bottom: 16px; z-index: 20; }
.whatsapp img { height: 56px; width: 56px; }
