@import url('https://fonts.googleapis.com/css2?family=Chewy&family=Quicksand:wght@500;600;700&family=Space+Mono&display=swap');

:root{
  --navy: #1A2472;
  --navy-deep: #12194F;
  --orange: #E2621C;
  --orange-soft: #F3A46B;
  --cream: #FFFBF3;
  --card: #FFFFFF;
  --ink: #2A2A3B;
  --ink-soft: #6B6B7D;
  --line: #F0E4D3;
  --shadow: 0 10px 26px -14px rgba(26,36,114,0.35);
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:'Quicksand', sans-serif;
  -webkit-font-smoothing:antialiased;
}

/* ---------- HERO ---------- */
.hero{
  position:relative;
  overflow:hidden;
  background: var(--navy-deep);
  color:#fff;
  text-align:center;
  padding: 0 0 40px;
}
.hero-media{
  position:relative;
  width:100%;
  aspect-ratio:16/10;
  max-height:340px;
  overflow:hidden;
}
.hero-media video{
  width:100%;height:100%;
  object-fit:cover;
  display:block;
  opacity:0.85;
}
.hero-media::after{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(18,25,79,0.15) 0%, var(--navy-deep) 92%);
}
.hero-logo{
  position:relative;
  width:118px;height:118px;
  margin:-64px auto 14px;
  z-index:2;
  border-radius:50%;
  background:#fff;
  padding:6px;
  box-shadow:var(--shadow);
}
.hero-logo img{width:100%;height:100%;object-fit:contain;border-radius:50%;}
.hero h1{
  font-family:'Chewy', cursive;
  font-weight:400;
  font-size:clamp(30px,7vw,46px);
  margin:0 0 6px;
  color:#fff;
  letter-spacing:0.5px;
}
.hero .sub{
  font-family:'Chewy', cursive;
  font-size:15px;
  color:var(--orange-soft);
  letter-spacing:2px;
  text-transform:uppercase;
  margin-bottom:14px;
}
.hero p.tag{
  margin:0 auto 18px;
  max-width:480px;
  padding:0 20px;
  color:#D9DAF0;
  font-size:15px;
  line-height:1.55;
}
.hero .badge-since{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.25);
  padding:8px 18px;
  border-radius:999px;
  font-size:13px;
  color:#fff;
}
.hero .badge-since b{color:var(--orange-soft);}

/* ---------- SEARCH + FILTER BAR ---------- */
.toolbar{
  position:sticky;
  top:0;
  z-index:30;
  background:rgba(255,251,243,0.94);
  backdrop-filter: blur(8px);
  border-bottom:1px solid var(--line);
  padding:14px 0 14px 16px;
}
.toolbar .search-wrap{padding-right:16px;}
.chips-wrap{
  position:relative;
  max-width:960px;
  margin:0 auto;
  padding-right:16px;
}
.chips{
  max-width:960px;
  margin:0 auto;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.search-wrap{
  max-width:640px;
  margin:0 auto 12px;
  position:relative;
}
.search-wrap input{
  width:100%;
  padding:13px 18px 13px 42px;
  border-radius:999px;
  border:1.5px solid var(--line);
  background:var(--card);
  font-size:15px;
  color:var(--ink);
  font-family:inherit;
  outline:none;
  transition:border-color .15s ease;
}
.search-wrap input:focus{border-color:var(--orange);}
.search-wrap svg{
  position:absolute;
  left:15px;
  top:50%;
  transform:translateY(-50%);
  width:18px;height:18px;
  color:var(--ink-soft);
}
.chip{
  flex:0 0 auto;
  padding:8px 16px;
  border-radius:999px;
  border:1.5px solid var(--line);
  background:var(--card);
  font-family:'Quicksand';
  font-weight:700;
  font-size:13.5px;
  color:var(--ink-soft);
  cursor:pointer;
  white-space:nowrap;
  transition:all .15s ease;
}
.chip:hover{border-color:var(--orange);color:var(--orange);}
.chip.active{
  background:var(--navy);
  border-color:var(--navy);
  color:#fff;
}

/* ---------- LAYOUT ---------- */
main{max-width:1120px;margin:0 auto;padding:28px 16px 20px;}

.section{margin-bottom:46px;scroll-margin-top:130px;}
.section-head{
  display:flex;
  align-items:baseline;
  gap:12px;
  margin-bottom:16px;
  padding-bottom:10px;
  border-bottom:3px solid var(--orange-soft);
}
.section-head h2{
  font-family:'Chewy', cursive;
  font-weight:400;
  font-size:26px;
  margin:0;
  color:var(--navy);
}
.section-head .count{
  font-family:'Space Mono', monospace;
  font-size:11.5px;
  color:#fff;
  background:var(--orange);
  padding:3px 9px;
  border-radius:6px;
}

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(170px,1fr));
  gap:16px;
}

.photo-card{
  cursor:pointer;
  background:var(--card);
  border-radius:16px;
  padding:8px;
  border:3px solid var(--orange-soft);
  box-shadow:0 4px 14px -8px rgba(26,36,114,0.3);
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.photo-card:hover{
  transform:translateY(-4px) rotate(-0.5deg);
  box-shadow:var(--shadow);
  border-color:var(--orange);
}
.photo-card .photo{
  width:100%;
  aspect-ratio:1/1;
  border-radius:10px;
  overflow:hidden;
  background:#F3EAE2;
  display:flex;
  align-items:center;
  justify-content:center;
}
.photo-card .photo img{width:100%;height:100%;object-fit:contain;display:block;}

.empty{
  text-align:center;
  padding:70px 20px;
  color:var(--ink-soft);
}
.empty .paw{font-size:34px;display:block;margin-bottom:10px;}

/* ---------- CONTACT / CTA ---------- */
.cta{
  background:var(--navy);
  color:#fff;
  text-align:center;
  padding:44px 20px 50px;
  margin-top:10px;
}
.cta h2{
  font-family:'Chewy', cursive;
  font-weight:400;
  font-size:26px;
  margin:0 0 10px;
}
.cta p{
  max-width:480px;
  margin:0 auto 20px;
  color:#D9DAF0;
  font-size:14.5px;
  line-height:1.6;
}
.cta-links{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:12px;
}
.cta a.phone{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:var(--orange);
  color:#fff;
  text-decoration:none;
  font-family:'Quicksand';
  font-weight:700;
  font-size:15px;
  padding:13px 24px;
  border-radius:999px;
  box-shadow:0 8px 20px -8px rgba(226,98,28,0.6);
  transition:transform .15s ease;
}
.cta a.phone.whatsapp{background:#25D366;box-shadow:0 8px 20px -8px rgba(37,211,102,0.6);}
.cta a.phone.email{background:rgba(255,255,255,0.12);border:1.5px solid rgba(255,255,255,0.35);box-shadow:none;}
.cta a.phone:hover{transform:translateY(-2px);}
.cta .note{margin-top:14px;font-size:12.5px;color:#A9ADD4;}

footer{
  text-align:center;
  padding:22px 20px 36px;
  background:var(--navy-deep);
  color:#8C90BC;
  font-size:12px;
}

/* ---------- LIGHTBOX ---------- */
.lightbox{
  position:fixed;inset:0;
  background:rgba(18,25,79,0.78);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:100;
  padding:24px;
}
.lightbox.open{display:flex;}
.lightbox-inner{
  background:var(--card);
  border-radius:20px;
  max-width:420px;
  width:100%;
  overflow:hidden;
  box-shadow:0 24px 60px -20px rgba(0,0,0,0.5);
}
.lightbox-inner img{width:100%;display:block;background:#F3EAE2;}
.lightbox-meta{padding:14px 20px 18px;text-align:center;}
.lightbox-meta .cat{font-family:'Chewy', cursive;font-size:18px;color:var(--navy);}
.lightbox-close{
  position:absolute;
  top:14px;right:14px;
  width:34px;height:34px;
  border-radius:50%;
  border:none;
  background:rgba(255,255,255,0.9);
  font-size:18px;
  cursor:pointer;
  color:var(--ink);
}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  .photo-card, .chip, .cta a.phone{transition:none;}
}
