/* ============================================
   Riley's Roofing — Services Index Page CSS
   Load AFTER riley-roofing.css and inner-pages.css.
   ============================================ */

.rr-services-index-section { padding-top: 50px; }
.rr-services-group-heading { margin-top: 0; }
.rr-services-group-kicker { margin-top: 44px; }

.rr-services-index-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 10px; }
.rr-service-index-card {
  display: block; background: #fff; border: 1px solid #eaeaea; border-radius: 10px;
  overflow: hidden; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease;
}
.rr-service-index-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0,0,0,.08); border-color: var(--rr-green); }
.rr-service-index-img-wrap { display: block; width: 100%; height: 140px; background: var(--rr-gray); overflow: hidden; }
.rr-service-index-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rr-service-index-body { display: block; padding: 22px 20px; }
.rr-service-index-icon {
  width: 46px; height: 46px; border-radius: 999px; background: rgba(147,201,18,.12);
  border: 2px solid var(--rr-green); color: var(--rr-green-dark); display: flex;
  align-items: center; justify-content: center; font-size: 18px; margin-bottom: 14px;
}
.rr-service-index-card h3 { font-family: var(--rr-font-head); text-transform: uppercase; font-size: 15px; color: #111; margin: 0 0 8px; }
.rr-service-index-card p { font-size: 12.5px; line-height: 1.55; color: #666; margin: 0 0 12px; }
.rr-service-index-link { font-size: 12px; font-weight: 900; color: var(--rr-green-dark); text-transform: uppercase; letter-spacing: .3px; }

@media (max-width: 1024px) {
  .rr-services-index-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .rr-services-index-grid { grid-template-columns: 1fr; }
}