:root{
  --gold:#000000;
  --bg:#ffffff;
  --text:#000000;
  --brand: #2d7d32;
  --on-brand: #ffffff;

}

html,body{ background:var(--bg); color:var(--text); }
body { min-height: 100vh; display: flex; flex-direction: column; }
.page { flex: 1; }
.topbar{
  position: sticky; top: 0; z-index: 100;
  background-color: var(--brand);
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
}

.topbar .nav{
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}

.nav__link{
  color: #111;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: .2px;
  transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
}

.nav__link:hover,
.nav__link:focus-visible{
  background: rgba(217, 222, 214, 0.399);
  transform: translateY(-1px);
  outline: none;
}

.nav__btn{
  margin-left: auto;
  padding: 8px 14px;
  border-radius: 999px;
  border: 0;
  background: #effaf2;
  color: var(--gold);
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
}

.nav__btn:hover,
.nav__btn:focus-visible{
  background: #01752a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,.35);
  outline: none;
}


main.container{
  max-width: 1100px;
  margin: 22px auto;
  padding: 0 20px;
}

/* --- Home --- */
.hero {
  max-width: 1100px;
  margin: 1.2rem auto 0;
  padding: 0 1rem;
  text-align: center;
}
.hero__img {
  max-width: 800px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 1rem;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  object-fit: cover;
}
.hero__content h1 {
  margin: .2rem 0 .6rem;
}
.lead {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 1rem;
  opacity: .95;
}

.stats {
  max-width: 1100px;
  margin: 1rem auto 1.5rem;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1rem;
}
.stat {
  background: var(--card-bg, #fff);
  color: var(--text, #111);
  border: 1px solid var(--border, #e6e6e6);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
}
.stat__num { font-size: 1.6rem; font-weight: 800; display: block; }
.stat__label { opacity: .8; }

.gallery {
  max-width: 1100px;
  margin: 0 auto 2rem;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1rem;
}
.card {
  background: var(--card-bg, #fff);
  border: 1px solid var(--border, #e6e6e6);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
}
.card img { width: 100%; height: 260px; object-fit: cover; display: block; }
.card figcaption { padding: .7rem .9rem; opacity: .9; }

/* Responsivo */
@media (max-width: 900px){
  .stats, .gallery { grid-template-columns: 1fr; }
}
.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav__logo img {
  display: block;
  border-radius: 50%;
}
.pet__img { object-fit: cover; border-radius: 8px; }
.petItem { display: flex; gap: .75rem; align-items: center; }
.petDetail__media{
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}
.petDetail__media img{
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  background: #f3f7f4;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0,0,0,.12);
}
.petDetail__desc{ margin-top:.5rem; line-height:1.6; }

.siteFooter{
  background: var(--brand);
  color: var(--on-brand);
}
.siteFooter__inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.siteFooter a{ color: var(--on-brand); text-decoration: none; }
.siteFooter__icons a{
  display:inline-flex; align-items:center; justify-content:center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.12);
  transition: transform .15s ease, background .15s ease;
  margin-left: 8px;
}
.siteFooter__icons a:hover{ background: rgba(255,255,255,.2); transform: translateY(-1px); }