/* Dr Vets V4 - mobile readable line balancing and a clearly visible, lightweight paw trail.
   Existing brand colors, desktop composition and site functionality are preserved. */

/* SVG paw glyphs remain recognizable on the detailed photographic background. */
.hero-photo-wrap .v3-paw-trail {
  position:absolute; top:24px; right:17px; width:132px; height:136px;
  z-index:4; overflow:visible; pointer-events:none;
}
.hero-photo-wrap .v3-paw {
  position:absolute; width:32px; height:32px;
  color:#087F7C; fill:currentColor; stroke:none;
  opacity:0; filter:drop-shadow(0 2px 5px rgba(255,255,255,.8));
  transform-origin:center;
}
.hero-photo-wrap .v3-paw-1 {left:4px;top:87px;transform:rotate(-24deg)}
.hero-photo-wrap .v3-paw-2 {left:39px;top:63px;transform:rotate(14deg)}
.hero-photo-wrap .v3-paw-3 {left:65px;top:32px;transform:rotate(-15deg)}
.hero-photo-wrap .v3-paw-4 {left:97px;top:7px;transform:rotate(19deg)}
/* One gentle, non-looping entrance when the photograph actually appears. */
@media (prefers-reduced-motion:no-preference) {
  .hero-photo-wrap.v3-paws-active .v3-paw-1 {animation:v4-paw-enter .62s cubic-bezier(.2,.72,.21,1.3) .1s 1 forwards}
  .hero-photo-wrap.v3-paws-active .v3-paw-2 {animation:v4-paw-enter .62s cubic-bezier(.2,.72,.21,1.3) .34s 1 forwards}
  .hero-photo-wrap.v3-paws-active .v3-paw-3 {animation:v4-paw-enter .62s cubic-bezier(.2,.72,.21,1.3) .58s 1 forwards}
  .hero-photo-wrap.v3-paws-active .v3-paw-4 {animation:v4-paw-enter .62s cubic-bezier(.2,.72,.21,1.3) .82s 1 forwards}
  @keyframes v4-paw-enter {
    0% {opacity:0;translate:-8px 10px;scale:.58}
    65% {opacity:.94;translate:0 0;scale:1.14}
    100% {opacity:.88;translate:0 0;scale:1}
  }
}
@media (prefers-reduced-motion:reduce) {
  .hero-photo-wrap .v3-paw {opacity:.85;animation:none!important;translate:0 0;scale:1}
}

/* Make the one FAQ question responsive without leaving “mi?” on its own. */
.v4-faq-label {min-width:0;flex:1;display:inline-block;text-wrap:balance}
.v4-faq-line + .v4-faq-line::before {content:' ';white-space:pre}

@media(max-width:700px) {
  .hero-photo-wrap .v3-paw-trail {
    top:37px;right:10px; width:132px;height:136px;
    transform:scale(.93);transform-origin:top right;
  }
  /* Short text blocks use the available screen width but rebalance lines.
     Supported by recent mobile browsers; normal wrapping is the fallback. */
  .blog-card p, .blog-content p, .service-card p,
  .faq-list summary, .faq-answer, .faq-aside>p,
  .home-why .reason-list p, .instagram-band p,
  .section-head>p, .info-alert p, .service-catalog-intro p,
  .contact-top p, .contact-details p,
  .emergency-copy p, .page-hero p,
  .service-detail-copy p, .footer-brand p {
    text-wrap:balance;
    overflow-wrap:break-word;
  }
  .faq-list summary {align-items:center;}
  .v4-faq-label .v4-faq-line {display:block;}
  .v4-faq-line + .v4-faq-line::before {content:none;}
  /* Same card design and readable line-height on compact and large phones. */
  .blog-content p {font-size:clamp(11px,2.7vw,12px);line-height:1.6;}
  .blog-content {min-width:0;}
  .blog-card h2, .blog-card h3 {text-wrap:balance;}
}
@media(max-width:370px) {
  .hero-photo-wrap .v3-paw-trail {transform:scale(.8);right:8px;}
  .blog-content {padding:14px 12px;}
  .blog-content p {font-size:11px;}
  .faq-list summary {gap:10px;}
}
@media(min-width:701px) {
  .hero-photo-wrap .v3-paw-trail {right:2px;top:22px}
}
