/* Homepage services. Independent of the template's service page styles. */
.home-services { padding: 92px 0 72px; background: #fff; scroll-margin-top: 100px; }
.services-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 38px; }
.services-eyebrow { color: #746035; font-size: 10px; font-weight: 600; letter-spacing: 1.8px; line-height: 1.6; text-transform: uppercase; margin-bottom: 16px; }
.services-intro h2 { color: #123c30; font-size: clamp(32px, 3.5vw, 46px); font-weight: 600; line-height: 1.18; letter-spacing: -1.5px; }
.services-intro h2 span { color: #5c7364; font-weight: 400; }
.services-intro-copy { max-width: 365px; padding-bottom: 3px; }
.services-intro-copy p { color: #59645b; font-size: 13px; line-height: 1.9; }
.services-overview { display: inline-flex; align-items: center; gap: 22px; margin-top: 19px; padding-bottom: 6px; border-bottom: 1px solid #c4cdbf; color: #123c30; font-size: 12px; font-weight: 600; }
.services-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.livestock-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #e2e6dd; border-radius: 18px; background: #fcfcf8; transition: transform .25s, box-shadow .25s, border-color .25s; }
.livestock-card-photo { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: #e8ebdf; }
.livestock-card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.livestock-card-photo-feed img { object-position: 80% center; transform: scale(1.2); }
.livestock-category { position: absolute; left: 14px; bottom: 14px; padding: 6px 11px; border-radius: 20px; background: #f7f4eb; color: #123c30; font-size: 9px; font-weight: 600; letter-spacing: .3px; }
.livestock-card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 20px; }
.livestock-number { color: #81714a; font-size: 10px; letter-spacing: 1px; margin-bottom: 12px; }
.livestock-card h3 { color: #123c30; font-size: 18px; font-weight: 600; letter-spacing: -.4px; line-height: 1.4; margin-bottom: 12px; }
.livestock-card p { color: #59645b; font-size: 12px; line-height: 1.85; margin-bottom: 24px; }
.livestock-card a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; margin-top: auto; padding-top: 14px; border-top: 1px solid #e2e6dd; color: #123c30; font-size: 10px; font-weight: 600; line-height: 1.7; }
.livestock-card a span { font-size: 20px; flex-shrink: 0; transition: transform .2s; }
.livestock-card:focus-within { border-color: #8a7548; }
.home-services a:focus-visible { outline: 3px solid #92722c; outline-offset: 4px; border-radius: 3px; }
.services-overview:hover, .services-guidance a:hover, .livestock-card a:hover { color: #746035; }
.services-guidance { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.services-guidance p { color: #687268; font-size: 12px; line-height: 1.7; }
.services-guidance a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: #123c30; font-size: 12px; font-weight: 500; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .livestock-card:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(18,60,48,.08); border-color: #bcc9b8; }
  .livestock-card:hover img { transform: scale(1.05); }
  .livestock-card:hover .livestock-card-photo-feed img { transform: scale(1.25); }
  .livestock-card a:hover span { transform: translate(2px,-2px); }
}
@media (max-width: 991px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
  .services-intro { gap: 28px; }
  .services-intro-copy { max-width: 290px; }
}
@media (max-width: 575px) {
  .home-services { padding: 60px 0 40px; }
  .services-intro { align-items: flex-start; flex-direction: column; gap: 20px; margin-bottom: 28px; }
  .services-intro-copy { max-width: none; }
  .services-grid { grid-template-columns: minmax(0,1fr); gap: 22px; }
  .livestock-card-photo { aspect-ratio: 16 / 10; }
  .livestock-card-body { padding: 24px; }
  .livestock-card h3 { font-size: 22px; }
  .livestock-card a { font-size: 12px; }
  .services-guidance { flex-direction: column; gap: 0; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .livestock-card, .livestock-card img, .livestock-card a span { transition: none; }
}
