/* Service listing: isolated from homepage and service detail layouts. */
.az-services-page-main {
    background: #fff;
    color: #111;
}

.az-services-page-section { padding: 48px 0 72px; }
.az-services-page-shell { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.az-services-page-heading { margin-bottom: 44px; text-align: center; }
.az-services-page-heading h1 { margin: 0; font-size: clamp(24px, 3vw, 36px); font-weight: 800; line-height: 1.3; text-transform: uppercase; }
.az-services-page-heading h1 strong { color: #ff7a00; font-weight: inherit; }
.az-services-page-heading h1::after { content: ""; display: block; width: 54px; height: 3px; margin: 16px auto 0; background: #ff7a00; }
.az-services-page-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 28px; }
.az-services-page-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #e8e8e8; border-radius: 8px; background: #fff; }
.az-services-page-image { display: flex; align-items: center; justify-content: center; aspect-ratio: 1.56; overflow: hidden; background: #fff3e7; text-decoration: none; }
.az-services-page-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.az-services-page-card:hover .az-services-page-image img { transform: scale(1.03); }
.az-services-page-placeholder { color: #ff7a00; font-size: 48px; font-weight: 800; }
.az-services-page-body { display: flex; flex: 1; flex-direction: column; padding: 20px; }
.az-services-page-card h2 { height: 3em; flex-shrink: 0; overflow: hidden; margin: 0 0 12px; font-size: 24px !important; font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }
.az-services-page-card h2 a { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: #ff7a00; text-decoration: none; }
.az-services-page-card p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; margin: 0 0 20px; color: #444; font-size: 15px; line-height: 1.75; }
.az-services-page-more { align-self: flex-start; margin-top: auto; color: #b34e00; font-size: 14px; font-weight: 600; text-decoration: none; }
.az-services-page-more:hover, .az-services-page-card h2 a:hover { text-decoration: underline; }
.az-services-page-main a:focus-visible { outline: 2px solid #b34e00; outline-offset: -2px; }
.az-services-page-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; }
.az-services-page-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-width: 42px; min-height: 42px; padding: 6px 14px; border: 1px solid #e4e7ec; border-radius: 4px; color: #111; text-decoration: none; }
.az-services-page-pagination .current, .az-services-page-pagination a:hover { background: #ff7a00; border-color: #ff7a00; color: #111; }
.az-services-page-pagination .dots { border-color: transparent; }
.az-services-page-empty { padding: 40px 16px; text-align: center; color: #555; }

@media (max-width: 849px) {
    .az-services-page-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
    .az-services-page-section { padding: 36px 0 56px; }
}

@media (max-width: 549px) {
    .az-services-page-grid { grid-template-columns: 1fr; }
    .az-services-page-shell { padding: 0 16px; }
    .az-services-page-heading { margin-bottom: 32px; }
}

@media (prefers-reduced-motion: reduce) {
    .az-services-page-image img { transition: none; }
    .az-services-page-card:hover .az-services-page-image img { transform: none; }
}
