/* DR VETS V3 — Mobile typography refinements, compact service cards, soft pet motion.
   The approved navy / white / teal palette and desktop layouts remain intact. */

/* Keep headings on intentional lines while preserving the existing color, typography and weight. */
.v3-service-heading em { display:inline-block; }
.v3-balanced { text-wrap: balance; }

@media (max-width:700px) {
  /* More compact 2-column service cards; leave footer CTAs aligned across each row. */
  .service-grid { gap:9px; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .service-grid .service-card {
    min-height:177px;
    padding:13px 12px 14px!important;
    border-radius:14px;
    overflow:hidden;
  }
  .service-grid .service-card .service-icon {
    width:37px;height:37px;border-radius:11px;
    margin-bottom:10px;
  }
  .service-grid .service-card .service-icon .icon { width:20px;height:20px; }
  .service-grid .service-card h3 {
    font-size:13px;line-height:1.28;margin:0 0 7px;
  }
  .service-grid .service-card p {
    font-size:11.75px;line-height:1.48;
    margin:0 0 11px;text-wrap:balance;
  }
  .service-grid .service-card .small-link {
    font-size:10.5px;line-height:1.3;margin-top:auto;padding-top:3px;
  }
  .service-grid .service-card .small-link .icon { width:12px;height:12px; }
  /* Text balance in small explanatory blocks without stretching individual words. */
  .home-why .reason-list p,
  .faq-aside>p,
  .instagram-band p,
  .service-catalog-intro p,
  .service-detail-copy p,
  .info-alert p,
  .contact-top p,
  .service-grid .service-body p,
  .page-hero .container>p,
  .contact-info-card p,
  .section-head.centered>p { text-wrap:balance; }

  .home-why .reason-list p { max-width:35ch; }
  .faq-aside>p { max-width:37ch; }
  .instagram-band p { max-width:35ch; }
  .service-catalog-intro p { max-width:40ch; }
  .info-alert p { max-width:40ch; }
  .contact-top p { max-width:38ch; }

  .service-catalog-intro .v3-service-heading { line-height:1.25; }
  .service-catalog-intro .v3-service-heading em { white-space:nowrap; }

  /* CTA line break at the requested semantic boundary, not after “Sorunuz”. */
  .cta-simple .v3-cta-heading { font-size:clamp(19px,5.25vw,23px);line-height:1.32;letter-spacing:-.035em; }

  /* Prevent floating incomplete text behind sticky bottom contact shortcuts. */
  main { padding-bottom:28px; }
}
@media (max-width:375px) {
  .service-grid .service-card { min-height:184px;padding:12px 10px 13px!important; }
  .service-grid .service-card p { font-size:11.5px;line-height:1.48; }
  .service-grid .service-card h3 { font-size:12.5px; }
  .service-catalog-intro .v3-service-heading { font-size:clamp(24px,7.5vw,27px); }
  .cta-simple .v3-cta-heading { font-size:18px; }
}

/* Paw prints start when the hero image enters the viewport. They settle as a subtle decorative trace. */
.hero-photo-wrap { position:relative; }
.v3-paw-trail { position:absolute; right:4px; top:7px; width:128px; height:126px; z-index:3; pointer-events:none; user-select:none; }
.v3-paw { position:absolute; width:30px; height:30px; fill:none; color:#118f8c; opacity:0; stroke:currentColor;stroke-width:2px; transform-origin:center; }
.v3-paw-1 { right:6px; top:76px; transform:rotate(-22deg); }
.v3-paw-2 { right:48px; top:51px; transform:rotate(20deg); }
.v3-paw-3 { right:23px; top:25px; transform:rotate(-15deg); }
.v3-paw-4 { right:73px; top:2px; transform:rotate(18deg); }
@media (prefers-reduced-motion:no-preference) {
  .v3-paws-active .v3-paw-1 { animation:v3-paw-pop 1.65s ease-out .08s 1 forwards; }
  .v3-paws-active .v3-paw-2 { animation:v3-paw-pop 1.65s ease-out .38s 1 forwards; }
  .v3-paws-active .v3-paw-3 { animation:v3-paw-pop 1.65s ease-out .68s 1 forwards; }
  .v3-paws-active .v3-paw-4 { animation:v3-paw-pop 1.65s ease-out .98s 1 forwards; }
  .service-card .service-icon .icon { transition:transform .26s ease; }
  .service-card:hover .service-icon .icon { transform:rotate(-10deg) scale(1.08); }
  @keyframes v3-paw-pop {
    0% {opacity:0; translate:0 13px; scale:.75;}
    38% {opacity:.92; translate:0 0; scale:1.08;}
    72% {opacity:.67; translate:0 -3px; scale:1;}
    100% {opacity:.36; translate:0 0; scale:.98;}
  }
}
@media (prefers-reduced-motion:reduce) { .v3-paw {opacity:.35;} }
@media (max-width:700px) {
  .v3-paw-trail { top:12px;right:5px;transform:scale(.86); transform-origin:top right; }
}
