*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  min-height: 100vh;
  background: #111;
  color: #eee;
  font-family: 'Josefin Sans', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

/* LOGO */
.logo-wrap {
  margin-bottom: 2.5rem;
  text-align: center;
}

.logo-wrap img {
  width: clamp(160px, 30vw, 260px);
}

/* SUBTÍTULO */
.subtitle {
  font-size: 1rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #888;
  font-weight: 300;
  margin-bottom: 2.5rem;
  text-align: center;
}

/* CARDS */
.units {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
  max-width: 700px;
}

.unit-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: #eee;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color .2s, transform .2s;
}

.unit-card:hover {
  border-color: #b89a5e;
  transform: translateY(-3px);
}

/* FOTO */
.card-photo {
  width: 100%;
  height: 160px;
  overflow: hidden;
  background: #222;
  flex-shrink: 0;
}

.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
  opacity: .85;
}

.unit-card:hover .card-photo img {
  transform: scale(1.04);
  opacity: 1;
}

/* placeholder quando sem imagem */
.card-photo:not(:has(img[src])),
.card-photo img[src=""],
.card-photo img:not([src]) {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #444;
  font-size: .7rem;
  letter-spacing: .1em;
}

.card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1.5rem 2rem;
  width: 100%;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #222;
  border: 1px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
  color: #b89a5e;
}

.card-name {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}

.card-address {
  font-size: .88rem;
  color: #777;
  letter-spacing: .05em;
  margin-bottom: 1.2rem;
  line-height: 1.5;
  font-weight: 300;
}

.card-hours {
  width: 100%;
  border-top: 1px solid #252525;
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.hours-row {
  font-size: .82rem;
  color: #999;
  letter-spacing: .05em;
  font-weight: 300;
}

.hours-row strong {
  color: #ccc;
  font-weight: 600;
}

.card-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.4rem;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #b89a5e;
  border: 1px solid rgba(184, 154, 94, .2);
  padding: .55rem 1.2rem;
  border-radius: 4px;
  transition: background .2s, color .2s;
}

.unit-card:hover .card-btn {
  background: #b89a5e;
  color: #111;
}

/* RODAPÉ */
.bottom {
  margin-top: 2rem;
  font-size: .82rem;
  color: #555;
  letter-spacing: .15em;
  text-align: center;
}

.bottom a {
  color: #777;
  text-decoration: none;
}

.bottom a:hover { color: #b89a5e; }

/* MOBILE */
@media (max-width: 520px) {
  .units {
    grid-template-columns: 1fr;
    max-width: 360px;
  }
}