:root{
  --brand-gold:#bb9b49;
  --brand-gold-dark:#a1813f;
  --brand-dark:#222;
  --brand-light:#f8f9fa;
  --text-color:#333;
  --card-shadow:0 6px 20px rgba(0,0,0,.08);
  --radius:12px;
}

body{
  color:var(--text-color);
  background-color:var(--brand-light);
  overflow-x:hidden;
}

/* ── Skip link ──────────────────────────────── */
.sk9-skip-link,
.sr-only.sk9-skip-link{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}
.sk9-skip-link:focus{
  left:16px;
  top:16px;
  width:auto;
  height:auto;
  padding:10px 14px;
  background:#000;
  color:#fff;
  z-index:10000;
  text-decoration:none;
  border-radius:8px;
}

/* ── Hero banner ────────────────────────────── */
.page_title.our-heroes-hero{
  background:linear-gradient(135deg,#000 0%,#333 100%);
  padding:40px 0;
}
.our-heroes-hero h1{
  color:#fff;
  font-size:2.4rem;
  margin-bottom:10px;
}
.our-heroes-hero .lead{
  color:var(--brand-gold);
  font-weight:600;
  margin-bottom:0;
}
.our-heroes-hero .breadcrumb{
  background:transparent;
  margin-bottom:0;
}
.our-heroes-hero .breadcrumb-item a{
  color:var(--brand-gold);
  text-decoration:none;
}
.our-heroes-hero .breadcrumb-item a:hover{
  color:var(--brand-gold-dark);
  text-decoration:underline;
}
.our-heroes-hero .breadcrumb-item.active{
  color:rgba(255,255,255,.75);
}
.hero-cta-row{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:12px;
  margin-top:22px;
}

/* ── Page wrapper ───────────────────────────── */
.our-heroes-page{
  padding:40px 0 60px;
}

/* ── Shared card base ───────────────────────── */
.heroes-intro-card,
.heroes-key-topics,
.heroes-grid-wrap,
.heroes-final-cta{
  background:#fff;
  border-radius:var(--radius);
  box-shadow:var(--card-shadow);
  padding:28px;
  margin-bottom:28px;
}

/* ── Intro card ─────────────────────────────── */
.heroes-intro-card h2{
  margin-bottom:14px;
}
.hero-proof-links{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:18px;
}

/* ── Topic pills ────────────────────────────── */
.heroes-key-topics h2{
  margin-bottom:14px;
}
.topic-pills{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.topic-pills li{
  background:var(--brand-gold);
  color:#000;
  font-weight:700;
  border-radius:999px;
  padding:6px 16px;
  font-size:.9rem;
}

/* ── Local links panels ─────────────────────── */
.heroes-local-links{
  margin-bottom:28px;
}
.heroes-panel{
  background:#fff;
  border-radius:var(--radius);
  box-shadow:var(--card-shadow);
  padding:22px;
  height:100%;
}
.heroes-panel h2{
  font-size:1.15rem;
  margin-bottom:14px;
}
.heroes-link-list{
  list-style:none;
  padding:0;
  margin:0;
}
.heroes-link-list li{
  border-bottom:1px solid #f0f0f0;
}
.heroes-link-list li:last-child{
  border-bottom:none;
}
.heroes-link-list a{
  display:block;
  padding:8px 0;
  color:var(--brand-gold);
  font-weight:700;
  text-decoration:none;
  font-size:.95rem;
}
.heroes-link-list a:hover{
  color:var(--brand-gold-dark);
  text-decoration:underline;
}

/* ── Case study grid ────────────────────────── */
.heroes-grid-wrap h2{
  margin-bottom:20px;
}
.heroes-grid{
  margin-top:0;
}

/* ── Hero card ──────────────────────────────── */
.hero-card{
  background:#fff;
  border-radius:var(--radius);
  box-shadow:var(--card-shadow);
  overflow:hidden;
  margin-bottom:24px;
  display:flex;
  flex-direction:column;
  height:calc(100% - 24px);
}
.hero-card__image-link{
  display:block;
  overflow:hidden;
  flex:0 0 auto;
}
.hero-card__image{
  width:100%;
  height:220px;
  object-fit:cover;
  display:block;
  transition:transform .3s ease;
}
.hero-card__image-link:hover .hero-card__image{
  transform:scale(1.03);
}
.hero-card__body{
  padding:18px;
  display:flex;
  flex-direction:column;
  flex:1;
}
.hero-card__title{
  font-size:1.1rem;
  font-weight:700;
  margin-bottom:8px;
}
.hero-card__title a{
  color:var(--brand-dark);
  text-decoration:none;
}
.hero-card__title a:hover{
  color:var(--brand-gold);
  text-decoration:underline;
}
.hero-card__category{
  font-size:.875rem;
  color:var(--brand-gold);
  font-weight:700;
  margin-bottom:8px;
}
.hero-card__excerpt{
  font-size:.95rem;
  color:#555;
  flex:1;
  margin-bottom:14px;
  line-height:1.55;
}
.hero-card__actions{
  margin-top:auto;
}

/* ── Empty state ────────────────────────────── */
.heroes-empty-state{
  background:#fff;
  border-radius:var(--radius);
  box-shadow:var(--card-shadow);
  padding:40px;
  text-align:center;
  color:#555;
}

/* ── Final CTA ──────────────────────────────── */
.heroes-final-cta{
  text-align:center;
}
.heroes-final-cta h2{
  margin-bottom:12px;
}
.heroes-final-cta p{
  margin-bottom:20px;
}
.heroes-final-cta .hero-proof-links{
  justify-content:center;
}

/* ── btn-outline-maincolor ──────────────────── */
.btn-outline-maincolor{
  background:transparent;
  color:var(--brand-gold);
  border:2px solid var(--brand-gold);
  border-radius:10px;
  padding:10px 14px;
  font-weight:800;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:1.1;
}
.btn-outline-maincolor:hover{
  background:rgba(187,155,73,.08);
  color:var(--brand-gold-dark);
  text-decoration:none;
}

/* ── Sticky CTA mobile ──────────────────────── */
.sticky-cta{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  display:none;
  gap:8px;
  padding:10px;
  background:rgba(0,0,0,.92);
  z-index:9999;
}
.sticky-cta__btn{
  flex:1;
  text-align:center;
  padding:12px 10px;
  border-radius:12px;
  font-weight:800;
  text-decoration:none;
  line-height:1;
  color:#fff;
  background:var(--brand-gold);
  border:0;
}
.sticky-cta__btn:nth-child(2),
.sticky-cta__btn:nth-child(3){
  background:transparent;
  border:2px solid var(--brand-gold);
  color:var(--brand-gold);
}
.sticky-cta__btn:hover{
  filter:brightness(1.05);
  text-decoration:none;
}
.sticky-cta__btn:focus-visible{
  outline:3px solid #fff;
  outline-offset:2px;
}

/* ── Sticky CTA desktop ─────────────────────── */
.sticky-cta-desktop{
  position:fixed;
  right:18px;
  bottom:18px;
  display:none;
  gap:10px;
  padding:10px;
  background:rgba(0,0,0,.88);
  border-radius:14px;
  z-index:9999;
  box-shadow:0 10px 30px rgba(0,0,0,.25);
}
.sticky-cta-desktop .sticky-cta__btn{
  flex:0 0 auto;
  min-width:120px;
  padding:12px 14px;
  border-radius:12px;
}
.sticky-cta-desktop .sticky-cta__btn:nth-child(2),
.sticky-cta-desktop .sticky-cta__btn:nth-child(3){
  background:transparent;
  border:2px solid var(--brand-gold);
  color:var(--brand-gold);
}

/* ── Responsive ─────────────────────────────── */
@media (min-width:769px){
  .sticky-cta-desktop{display:flex;}
}

@media (max-width:991px){
  .our-heroes-hero h1{font-size:2rem;}
  .heroes-intro-card,
  .heroes-panel,
  .heroes-key-topics,
  .heroes-final-cta{padding:22px;}
}

@media (max-width:768px){
  .sticky-cta{display:flex;}
  body{padding-bottom:70px;}
  .our-heroes-hero h1{font-size:1.8rem;}
  .hero-cta-row .btn,
  .hero-proof-links .btn{width:100%;}
  .hero-card__image{height:180px;}
  .heroes-local-links .col-lg-6 + .col-lg-6{margin-top:20px;}
}

@media (max-width:575px){
  .heroes-intro-card,
  .heroes-key-topics,
  .heroes-final-cta{padding:18px;}
  .heroes-panel{padding:16px;}
}

/* ===== Footer visibility fix =====
   animations.css sets opacity:0 on .animate as initial state.
   IntersectionObserver does not fire reliably on this page.
   Reset here — scoped to footer only, no other page affected.
   =================================== */
.page_footer .animate,
.page_footer .animate[data-animation],
.page_copyright .animate{
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
  animation:none!important;
  transition:none!important;
}

/* Step B image visibility correction - show full dog image without cropping */
.hero-card__image-link{
  display:block;
  width:100%;
  background:#f7f7f7;
  overflow:hidden;
}

.hero-card__image{
  display:block;
  width:100%;
  height:auto;
  max-height:none;
  aspect-ratio:auto;
  object-fit:contain;
}