/* ========================================================================== 
   Services Page - Enterprise Services Hub
   Alzehary Law Firm | Direct Legal Services | Strategic B2B Support
   Compatible with main.css variables and service-card component
   ========================================================================== */

/* --------------------------------------------------------------------------
   Page Base
   -------------------------------------------------------------------------- */

.azl-services-page {
    position: relative;
    overflow: hidden;
    background: var(--azl-bg-2, #eef3f0);
    color: var(--azl-ink, #0a1220);
}

.azl-services-page section {
    position: relative;
}

.azl-services-page .azl-eyebrow {
    color: var(--azl-sage-dark, #254d49);
}

.azl-services-page .azl-eyebrow::before {
    background: currentColor;
}

.azl-section-head-center {
    max-width: 860px;
    margin-inline: auto;
    text-align: center;
}

.azl-section-head-center p {
    max-width: 760px;
    margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Intro Section
   -------------------------------------------------------------------------- */

.azl-services-intro {
    padding-top: clamp(64px, 7vw, 96px);
    padding-bottom: clamp(56px, 6vw, 82px);
    background:
        radial-gradient(circle at 12% 12%, rgba(212, 175, 55, 0.08), transparent 34%),
        linear-gradient(180deg, rgba(255, 253, 249, 0.96), rgba(238, 243, 240, 0.94));
    border-bottom: 1px solid var(--azl-line, rgba(10, 18, 32, .1));
}

.azl-services-intro-head {
    max-width: 930px;
    margin-bottom: clamp(28px, 5vw, 46px);
}

.azl-services-intro-head h2 {
    max-width: 900px;
    margin: 0 0 18px;
    color: var(--azl-ink, #0a1220);
    font-size: clamp(1.75rem, 3.4vw, 2.65rem);
    line-height: 1.34;
    font-weight: 900;
    text-wrap: balance;
}

.azl-services-intro-head p {
    max-width: 860px;
    margin: 0;
    color: var(--azl-muted, #5a6a7e);
    font-size: 1.03rem;
    line-height: 1.95;
}

/* --------------------------------------------------------------------------
   Two Service Paths
   -------------------------------------------------------------------------- */

.azl-services-path-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 22px;
    align-items: stretch;
}

.azl-services-path-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 330px;
    padding: clamp(26px, 3vw, 34px);
    border: 1px solid var(--azl-line, rgba(10, 18, 32, .1));
    border-radius: var(--azl-radius-lg, 16px);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--azl-shadow-soft, 0 12px 36px rgba(10, 18, 32, .07));
    overflow: hidden;
    transition: transform var(--azl-transition, .35s ease), box-shadow var(--azl-transition, .35s ease), border-color var(--azl-transition, .35s ease);
}

.azl-services-path-card::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    inset-block-start: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--azl-sage, #3d6b66), var(--azl-copper, #b77946));
}

.azl-services-path-card:hover {
    transform: translateY(-4px);
    border-color: rgba(61, 107, 102, 0.22);
    box-shadow: var(--azl-shadow-hover, 0 20px 45px rgba(10, 18, 32, .12));
}

.azl-services-path-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 30px;
    margin-bottom: 18px;
    padding: 5px 10px;
    border: 1px solid rgba(61, 107, 102, 0.16);
    border-radius: 999px;
    background: rgba(61, 107, 102, 0.08);
    color: var(--azl-sage-dark, #254d49);
    font-size: 0.78rem;
    font-weight: 900;
}

.azl-services-path-card h3 {
    margin: 0 0 14px;
    color: var(--azl-ink, #0a1220);
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    line-height: 1.42;
    font-weight: 900;
    text-wrap: balance;
}

.azl-services-path-card p {
    margin: 0;
    color: var(--azl-muted, #5a6a7e);
    font-size: 0.98rem;
    line-height: 1.88;
}

.azl-services-path-link {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: auto;
    padding-top: 22px;
    color: var(--azl-sage-dark, #254d49);
    font-size: 0.92rem;
    font-weight: 900;
    text-decoration: none;
}

.azl-services-path-link::after {
    content: "←";
    margin-inline-start: 8px;
    color: var(--azl-copper, #b77946);
    transition: transform var(--azl-transition, .35s ease);
}

html[dir="ltr"] .azl-services-path-link::after {
    content: "→";
}

.azl-services-path-link:hover {
    color: var(--azl-copper, #b77946);
}

.azl-services-path-link:hover::after {
    transform: translateX(-3px);
}

html[dir="ltr"] .azl-services-path-link:hover::after {
    transform: translateX(3px);
}

/* B2B Path - VIP Treatment */
.azl-services-path-card.is-b2b-path {
    background:
        radial-gradient(circle at 15% 10%, rgba(212, 175, 55, 0.13), transparent 35%),
        linear-gradient(145deg, rgba(10, 18, 32, 0.98), rgba(37, 77, 73, 0.96));
    border-color: rgba(212, 175, 55, 0.34);
    color: #fff;
    box-shadow: 0 24px 58px rgba(10, 18, 32, 0.18), var(--azl-shadow-gold, 0 8px 24px rgba(212, 175, 55, 0.2));
}

.azl-services-path-card.is-b2b-path::before {
    height: 5px;
    background: linear-gradient(90deg, var(--azl-copper, #b77946), var(--azl-gold-vip, #d4af37), var(--azl-sage, #3d6b66));
}

.azl-services-path-card.is-b2b-path .azl-services-path-label {
    border-color: rgba(212, 175, 55, 0.3);
    background: rgba(212, 175, 55, 0.12);
    color: var(--azl-gold-vip, #d4af37);
}

.azl-services-path-card.is-b2b-path h3 {
    color: #fff;
}

.azl-services-path-card.is-b2b-path p {
    color: rgba(255, 255, 255, 0.78);
}

.azl-services-path-card.is-b2b-path .azl-services-path-link.azl-btn-gold {
    margin-top: auto;
    padding-top: 12px;
    border-bottom: 0;
}

.azl-services-path-card.is-b2b-path .azl-services-path-link.azl-btn-gold::after {
    content: none;
}

/* --------------------------------------------------------------------------
   Services Directory
   -------------------------------------------------------------------------- */

.azl-services-page .azl-service-navigation {
    padding-top: clamp(68px, 7vw, 96px);
    padding-bottom: clamp(72px, 8vw, 112px);
    background:
        linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(248, 246, 241, 0.96));
    border-bottom: 1px solid var(--azl-line, rgba(10, 18, 32, .1));
}

.azl-services-page .azl-home-service-filters {
    margin: 0 auto 28px;
    justify-content: center;
}

.azl-services-page .azl-home-service-filter {
    min-width: 112px;
}

.azl-services-page .azl-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.azl-services-page .azl-service-grid-item {
    display: flex;
    min-width: 0;
}

.azl-services-page .azl-service-card {
    width: 100%;
    min-height: 300px;
    background: var(--azl-surface, #fffdf9);
    border: 1px solid var(--azl-line, rgba(10, 18, 32, .1));
    border-radius: var(--azl-radius-lg, 16px);
    box-shadow: var(--azl-shadow-soft, 0 12px 36px rgba(10, 18, 32, .07));
}

.azl-services-page .azl-service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(61, 107, 102, 0.22);
    box-shadow: var(--azl-shadow-hover, 0 20px 45px rgba(10, 18, 32, .12));
}

.azl-services-page .azl-muted-section .azl-service-card,
.azl-muted-section .azl-service-card {
    background: #fff;
}

.azl-services-page .azl-card-footer,
.azl-services-page .azl-home-service-card-footer {
    margin-top: auto;
}

.azl-services-directory-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 34px;
}

/* --------------------------------------------------------------------------
   Strategic B2B Hub
   -------------------------------------------------------------------------- */

.azl-service-b2b-hub {
    position: relative;
    overflow: hidden;
    padding-top: clamp(76px, 8vw, 112px);
    padding-bottom: clamp(76px, 8vw, 112px);
    background:
        linear-gradient(90deg, rgba(212, 175, 55, 0.10), transparent 24%, rgba(61, 107, 102, 0.10) 76%, transparent),
        radial-gradient(circle at 14% 18%, rgba(212, 175, 55, 0.13), transparent 34%),
        radial-gradient(circle at 86% 76%, rgba(49, 102, 95, 0.24), transparent 42%),
        linear-gradient(118deg, #07111f 0%, #102832 48%, #17262e 100%);
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.azl-service-b2b-hub::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
    opacity: .34;
    pointer-events: none;
}

.azl-service-b2b-hub::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    inset-block-start: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--azl-copper, #b77946), var(--azl-gold-vip, #d4af37), var(--azl-sage, #3d6b66));
}

.azl-service-b2b-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(310px, 0.9fr);
    gap: clamp(28px, 5vw, 54px);
    align-items: stretch;
}

.azl-service-b2b-copy {
    position: relative;
    z-index: 1;
    display: grid;
    align-content: center;
}

.azl-service-b2b-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 32px;
    margin-bottom: 18px;
    padding: 6px 12px;
    border: 1px solid rgba(212, 175, 55, 0.34);
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.12);
    color: var(--azl-gold-vip, #d4af37);
    font-size: 0.78rem;
    font-weight: 900;
}

.azl-service-b2b-copy h2 {
    max-width: 850px;
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(1.85rem, 3.3vw, 2.65rem);
    line-height: 1.34;
    font-weight: 900;
    text-wrap: balance;
}

.azl-service-b2b-copy p {
    max-width: 880px;
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1rem;
    line-height: 1.95;
}

.azl-service-b2b-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.azl-service-b2b-actions .azl-btn {
    min-height: 50px;
}

.azl-service-b2b-actions .azl-btn-gold {
    border-color: rgba(255, 232, 170, 0.42);
    background: linear-gradient(135deg, #b77946 0%, #d9b347 58%, #f0cc62 100%);
    color: #09131f;
    box-shadow: 0 16px 34px rgba(212, 175, 55, 0.24);
}

.azl-service-b2b-actions .azl-btn-gold:hover,
.azl-service-b2b-actions .azl-btn-gold:focus-visible {
    filter: none;
    box-shadow: 0 20px 42px rgba(212, 175, 55, 0.34);
}

.azl-service-b2b-actions .azl-service-b2b-whatsapp {
    position: relative;
    isolation: isolate;
    border-color: rgba(57, 219, 132, 0.48);
    background: linear-gradient(135deg, #f3fff8 0%, #dffbeb 100%);
    color: #063f2a;
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.18);
}

.azl-service-b2b-actions .azl-service-b2b-whatsapp::before {
    content: "";
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #25d366;
    box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.18);
}

.azl-service-b2b-actions .azl-service-b2b-whatsapp:hover,
.azl-service-b2b-actions .azl-service-b2b-whatsapp:focus-visible {
    border-color: rgba(57, 219, 132, 0.76);
    background: linear-gradient(135deg, #25d366 0%, #14a86c 100%);
    color: #062516;
    box-shadow: 0 18px 38px rgba(37, 211, 102, 0.28);
}

.azl-service-b2b-actions .azl-service-b2b-whatsapp:hover::before,
.azl-service-b2b-actions .azl-service-b2b-whatsapp:focus-visible::before {
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.22);
}

.azl-service-b2b-model {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 14px;
    align-content: stretch;
}

.azl-service-b2b-model div {
    position: relative;
    display: grid;
    align-content: center;
    gap: 8px;
    min-height: 126px;
    padding: 22px;
    border: 1px solid rgba(234, 213, 151, 0.26);
    border-radius: var(--azl-radius-lg, 16px);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.045));
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
    overflow: hidden;
    transition: transform var(--azl-transition, .35s ease), border-color var(--azl-transition, .35s ease), background var(--azl-transition, .35s ease);
}

.azl-service-b2b-model div::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    inset-block: 22px;
    width: 4px;
    border-radius: 999px;
    background: var(--azl-gold-vip, #d4af37);
}

.azl-service-b2b-model div:hover {
    transform: translateY(-3px);
    border-color: rgba(240, 204, 98, 0.52);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
}

.azl-service-b2b-model span {
    color: var(--azl-gold-vip, #d4af37);
    font-size: 0.82rem;
    font-weight: 900;
}

.azl-service-b2b-model strong {
    color: #fff;
    font-family: var(--azl-heading, "Cairo", Arial, sans-serif);
    font-size: 1.18rem;
    line-height: 1.55;
    font-weight: 900;
}

/* --------------------------------------------------------------------------
   How to Choose
   -------------------------------------------------------------------------- */

.azl-services-choose {
    padding-top: clamp(68px, 7vw, 96px);
    padding-bottom: clamp(72px, 8vw, 112px);
    background:
        radial-gradient(circle at 12% 18%, rgba(212, 175, 55, 0.08), transparent 31%),
        linear-gradient(180deg, rgba(238, 243, 240, 0.94), rgba(255, 253, 249, 0.98));
}

.azl-services-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.azl-services-choose-card {
    position: relative;
    isolation: isolate;
    --azl-choice-mark-color: var(--azl-sage-dark, #254d49);
    --azl-choice-mark-opacity: .085;
    --azl-choice-mark-rotate: -8deg;
    --azl-choice-mark-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M32 55s-22-13.4-28.2-26.7C-.6 18.8 4.8 9 14.6 9c5.7 0 9.6 3 11.8 6.1C28.6 12 32.5 9 38.2 9 48 9 53.4 18.8 49 28.3 42.7 41.6 32 55 32 55Z'/%3E%3C/svg%3E");
    min-height: 255px;
    padding: 30px 24px 28px;
    border: 1px solid var(--azl-line, rgba(10, 18, 32, .1));
    border-radius: var(--azl-radius-lg, 16px);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 253, 249, 0.98));
    box-shadow: var(--azl-shadow-soft, 0 12px 36px rgba(10, 18, 32, .07));
    cursor: pointer;
    overflow: hidden;
    transition: transform var(--azl-transition, .35s ease), box-shadow var(--azl-transition, .35s ease), border-color var(--azl-transition, .35s ease), background var(--azl-transition, .35s ease);
}

.azl-services-choose-card::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    inset-block: 24px;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--azl-copper, #b77946), var(--azl-sage-dark, #254d49));
    opacity: 0;
    transform: scaleY(.4);
    transform-origin: center;
    transition: opacity .28s ease, transform .28s ease;
}

.azl-services-choose-card::after {
    content: "";
    position: absolute;
    inset-inline-end: -34px;
    inset-block-start: -30px;
    width: 152px;
    height: 152px;
    background: var(--azl-choice-mark-color);
    opacity: var(--azl-choice-mark-opacity);
    z-index: 0;
    pointer-events: none;
    -webkit-mask: var(--azl-choice-mark-mask) center / contain no-repeat;
    mask: var(--azl-choice-mark-mask) center / contain no-repeat;
    transform: rotate(var(--azl-choice-mark-rotate)) scale(1);
    transition: transform .35s ease, opacity .35s ease, background .35s ease;
}

.azl-services-choose-card[data-choice-filter="individuals"] {
    --azl-choice-mark-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M32 55s-22-13.4-28.2-26.7C-.6 18.8 4.8 9 14.6 9c5.7 0 9.6 3 11.8 6.1C28.6 12 32.5 9 38.2 9 48 9 53.4 18.8 49 28.3 42.7 41.6 32 55 32 55Z'/%3E%3C/svg%3E");
    --azl-choice-mark-rotate: -4deg;
}

.azl-services-choose-card[data-choice-filter="business"] {
    --azl-choice-mark-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 57V20L32 7l23 13v37H39V42H25v15H9Zm8-8h8V34h14v15h8V24.6L32 16.1l-15 8.5V49Zm8-25h7v7h-7v-7Zm14 0h7v7h-7v-7Z'/%3E%3C/svg%3E");
    --azl-choice-mark-rotate: 3deg;
}

.azl-services-choose-card[data-choice-filter="outsourcing"] {
    --azl-choice-mark-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 8h19v19H8V8Zm7 7v5h5v-5h-5Zm22-7h19v19H37V8Zm7 7v5h5v-5h-5ZM8 37h19v19H8V37Zm7 7v5h5v-5h-5Zm31-4h10v6H46v10h-6V46H30v-6h10V30h6v10Z'/%3E%3C/svg%3E");
    --azl-choice-mark-rotate: -6deg;
}

.azl-services-choose-card:hover,
.azl-services-choose-card:focus-visible,
.azl-services-choose-card.is-active {
    transform: translateY(-4px);
    border-color: rgba(61, 107, 102, 0.30);
    box-shadow: var(--azl-shadow-hover, 0 20px 45px rgba(10, 18, 32, .12));
}

.azl-services-choose-card:hover::before,
.azl-services-choose-card:focus-visible::before,
.azl-services-choose-card.is-active::before {
    opacity: 1;
    transform: scaleY(1);
}

.azl-services-choose-card:hover::after,
.azl-services-choose-card:focus-visible::after,
.azl-services-choose-card.is-active::after {
    transform: rotate(calc(var(--azl-choice-mark-rotate) + 5deg)) scale(1.10);
    opacity: .16;
    background: var(--azl-choice-mark-color);
}

.azl-services-choose-card:focus-visible {
    outline: 3px solid rgba(212, 175, 55, .34);
    outline-offset: 4px;
}

.azl-services-choose-icon {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 20px;
    border-radius: 14px;
    background: rgba(61, 107, 102, 0.09);
    border: 1px solid rgba(61, 107, 102, 0.12);
    color: var(--azl-sage-dark, #254d49);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .78);
    transition: transform .28s ease, background .28s ease, border-color .28s ease, color .28s ease, box-shadow .28s ease;
}

.azl-services-choose-icon svg {
    display: block;
    width: 29px;
    height: 29px;
    fill: currentColor;
}

.azl-services-choose-card:hover .azl-services-choose-icon,
.azl-services-choose-card:focus-visible .azl-services-choose-icon,
.azl-services-choose-card.is-active .azl-services-choose-icon {
    transform: translateY(-2px) scale(1.04);
    background: var(--azl-sage-dark, #254d49);
    border-color: rgba(61, 107, 102, 0.28);
    color: #fff;
    box-shadow: 0 14px 26px rgba(37, 77, 73, .22);
}

.azl-services-choose-card h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 12px;
    color: var(--azl-ink, #0a1220);
    font-size: 1.16rem;
    line-height: 1.45;
    font-weight: 900;
}

.azl-services-choose-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--azl-muted, #5a6a7e);
    font-size: 0.96rem;
    line-height: 1.85;
}

.azl-services-choose-card.is-b2b-choice {
    --azl-choice-mark-color: var(--azl-gold-vip, #d4af37);
    --azl-choice-mark-opacity: .16;
    background:
        radial-gradient(circle at 14% 10%, rgba(212, 175, 55, 0.12), transparent 34%),
        linear-gradient(145deg, rgba(10, 18, 32, 0.98), rgba(37, 77, 73, 0.96));
    border-color: rgba(212, 175, 55, 0.32);
    color: #fff;
}

.azl-services-choose-card.is-b2b-choice::before {
    background: var(--azl-gold-vip, #d4af37);
    opacity: .88;
    transform: scaleY(1);
}

.azl-services-choose-card.is-b2b-choice::after {
    opacity: var(--azl-choice-mark-opacity);
}

.azl-services-choose-card.is-b2b-choice .azl-services-choose-icon {
    background: rgba(212, 175, 55, 0.13);
    color: var(--azl-gold-vip, #d4af37);
    border: 1px solid rgba(212, 175, 55, 0.25);
}

.azl-services-choose-card.is-b2b-choice:hover .azl-services-choose-icon,
.azl-services-choose-card.is-b2b-choice:focus-visible .azl-services-choose-icon,
.azl-services-choose-card.is-b2b-choice.is-active .azl-services-choose-icon {
    background: linear-gradient(135deg, #b77946, #d4af37);
    color: #09131f;
    box-shadow: 0 14px 28px rgba(212, 175, 55, .24);
}

.azl-services-choose-card.is-b2b-choice h3 {
    color: #fff;
}

.azl-services-choose-card.is-b2b-choice p {
    color: rgba(255, 255, 255, 0.82);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
    .azl-services-page .azl-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .azl-services-path-grid,
    .azl-service-b2b-shell {
        grid-template-columns: 1fr;
    }

    .azl-services-path-card.is-b2b-path {
        order: -1;
    }
}

@media (max-width: 980px) {
    .azl-services-choose-grid {
        grid-template-columns: 1fr;
    }

    .azl-section-head-center {
        text-align: start;
        margin-inline: 0;
    }

    .azl-section-head-center p {
        margin-inline: 0;
    }
}

@media (max-width: 680px) {
    .azl-services-intro,
    .azl-services-page .azl-service-navigation,
    .azl-service-b2b-hub,
    .azl-services-choose {
        padding-top: 56px;
        padding-bottom: 58px;
    }

    .azl-services-intro-head {
        margin-bottom: 24px;
    }

    .azl-services-path-card,
    .azl-services-choose-card,
    .azl-services-page .azl-service-card {
        border-radius: 14px;
    }

    .azl-services-page .azl-home-service-filters {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        margin-bottom: 22px;
    }

    .azl-services-page .azl-home-service-filter {
        min-width: 0;
        width: 100%;
        white-space: normal;
        line-height: 1.35;
    }

    .azl-services-page .azl-service-grid {
        grid-template-columns: 1fr;
    }

    .azl-services-directory-actions,
    .azl-service-b2b-actions {
        width: 100%;
    }

    .azl-services-directory-actions .azl-btn,
    .azl-service-b2b-actions .azl-btn {
        width: 100%;
    }

    .azl-service-b2b-model div {
        min-height: 0;
        padding: 20px;
    }
}

/* --------------------------------------------------------------------------
   Reduced Motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    .azl-services-path-card,
    .azl-services-choose-card,
    .azl-service-b2b-model div,
    .azl-services-page .azl-service-card {
        transition: none;
    }

    .azl-services-path-card:hover,
    .azl-services-choose-card:hover,
    .azl-service-b2b-model div:hover,
    .azl-services-page .azl-service-card:hover {
        transform: none;
    }
}


/* ==========================================================================
   Services Directory Grid Fix
   Prevent nested grid compression from service-grid.php
   ========================================================================== */

.azl-services-grid-shell {
    width: 100%;
    max-width: 100%;
}

.azl-services-grid-shell > .azl-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
}

.azl-services-grid-shell .azl-service-grid-item {
    display: flex;
    min-width: 0;
}

.azl-services-grid-shell .azl-service-card {
    width: 100%;
    min-height: 330px;
    padding: 28px 24px;
    border-radius: var(--azl-radius-lg);
    background: var(--azl-surface);
    box-shadow: var(--azl-shadow-soft);
}

.azl-services-grid-shell .azl-service-card h3 {
    font-size: 1.18rem;
    line-height: 1.55;
    font-weight: 900;
    text-wrap: balance;
}

.azl-services-grid-shell .azl-service-card p {
    font-size: 0.95rem;
    line-height: 1.85;
    color: var(--azl-muted);
}

.azl-services-grid-shell .azl-card-icon,
.azl-services-grid-shell .azl-home-service-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 14px;
}

.azl-services-grid-shell .azl-card-footer,
.azl-services-grid-shell .azl-home-service-card-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(10, 18, 32, 0.08);
}

@media (max-width: 1180px) {
    .azl-services-grid-shell > .azl-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .azl-services-grid-shell > .azl-service-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .azl-services-grid-shell .azl-service-card {
        min-height: 0;
        padding: 22px 20px;
    }
}


.azl-service-grid-item[hidden] {
    display: none !important;
}

.azl-service-grid-item.azl-filter-in {
    opacity: 1;
    transform: scale(1);
}

.azl-service-grid-item.azl-filter-out {
    opacity: 0;
    transform: scale(0.96);
    pointer-events: none;
}

/* ==========================================================================
   Services Directory Refinement - icons, filters, card rhythm
   ========================================================================== */

.azl-services-page .azl-section-head-center {
    max-width: 920px;
}

.azl-services-page .azl-service-navigation .azl-section-head-center p {
    color: #526176;
    font-size: clamp(.98rem, 1.3vw, 1.08rem);
    line-height: 1.9;
}

.azl-services-page .azl-home-service-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: fit-content;
    max-width: 100%;
    padding: 8px;
    border: 1px solid rgba(10, 18, 32, .1);
    border-radius: 8px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 16px 34px rgba(10, 18, 32, .06);
}

.azl-services-page .azl-home-service-filter {
    min-width: 128px;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: #334155;
    font-family: var(--azl-heading, "Cairo", Arial, sans-serif);
    font-size: .92rem;
    font-weight: 900;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.azl-services-page .azl-home-service-filter:hover {
    border-color: rgba(61, 107, 102, .18);
    background: rgba(61, 107, 102, .07);
    color: var(--azl-sage-dark, #254d49);
}

.azl-services-page .azl-home-service-filter.is-active {
    background: var(--azl-sage-dark, #254d49);
    color: #fff;
    box-shadow: 0 10px 22px rgba(37, 77, 73, .18);
}

.azl-services-grid-shell > .azl-service-grid {
    align-items: stretch;
    gap: 20px;
}

.azl-services-grid-shell .azl-service-grid-item {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .22s ease, transform .22s ease;
}

.azl-services-grid-shell .azl-service-card {
    min-height: 342px;
    padding: 24px;
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(255, 253, 249, .98));
    border-color: rgba(10, 18, 32, .1);
    box-shadow: 0 14px 32px rgba(10, 18, 32, .07);
}

.azl-services-grid-shell .azl-service-card::before {
    height: 5px;
    background: linear-gradient(90deg, var(--azl-copper, #b77946), var(--azl-sage-dark, #254d49));
}

.azl-services-grid-shell .azl-service-card:hover {
    border-color: rgba(37, 77, 73, .24);
    box-shadow: 0 22px 46px rgba(10, 18, 32, .12);
}

.azl-services-grid-shell .azl-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.azl-services-grid-shell .azl-card-icon {
    flex: 0 0 auto;
    width: 54px;
    height: 54px;
    margin: 0;
    border-radius: 8px;
    background: rgba(37, 77, 73, .08);
    border: 1px solid rgba(37, 77, 73, .12);
    color: var(--azl-sage-dark, #254d49);
}

.azl-services-grid-shell .azl-card-icon svg {
    width: 28px;
    height: 28px;
    display: block;
    fill: currentColor;
}

.azl-services-grid-shell .azl-card-category {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    max-width: 170px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(183, 121, 70, .08);
    color: #7a4a2b;
    font-size: .76rem;
    font-weight: 900;
    line-height: 1.35;
    text-align: center;
}

.azl-services-grid-shell .azl-service-card h3 {
    min-height: 0;
    margin: 0 0 12px;
    color: var(--azl-ink, #0a1220);
    font-size: clamp(1.1rem, 1.25vw, 1.26rem);
    line-height: 1.55;
}

.azl-services-grid-shell .azl-service-card p {
    margin: 0;
    color: #5b6b80;
    font-size: .95rem;
    line-height: 1.85;
}

.azl-services-grid-shell .azl-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(10, 18, 32, .08);
}

.azl-services-grid-shell .azl-card-details-cta,
.azl-services-grid-shell .azl-card-whatsapp-cta {
    min-height: 36px;
    margin: 0;
    padding-top: 0;
    text-decoration: none;
}

.azl-services-grid-shell .azl-service-card a::after {
    content: none;
}

html[dir="rtl"] .azl-services-grid-shell .azl-service-card a::after,
html[dir="ltr"] .azl-services-grid-shell .azl-service-card a::after {
    content: none !important;
    display: none !important;
}

.azl-services-grid-shell .azl-card-details-cta svg,
.azl-services-grid-shell .azl-card-whatsapp-cta svg {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    fill: currentColor;
}

.azl-filter-empty {
    margin-top: 18px;
    padding: 22px;
    border: 1px dashed rgba(37, 77, 73, .28);
    border-radius: 8px;
    background: rgba(237, 244, 242, .7);
    color: var(--azl-sage-dark, #254d49);
    text-align: center;
}

.azl-filter-empty strong,
.azl-filter-empty span {
    display: block;
}

.azl-filter-empty strong {
    margin-bottom: 6px;
    font-family: var(--azl-heading, "Cairo", Arial, sans-serif);
    font-size: 1rem;
}

.azl-filter-empty span {
    color: #5b6b80;
    font-size: .92rem;
}

@media (max-width: 1180px) {
    .azl-services-grid-shell > .azl-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .azl-services-page .azl-home-service-filters {
        grid-template-columns: 1fr 1fr;
        gap: 7px;
        padding: 7px;
    }

    .azl-services-page .azl-home-service-filter {
        min-height: 42px;
        padding: 9px 10px;
        font-size: .84rem;
    }

    .azl-services-grid-shell > .azl-service-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .azl-services-grid-shell .azl-service-card {
        min-height: 0;
        padding: 20px;
    }

    .azl-services-grid-shell .azl-card-head {
        align-items: flex-start;
    }

    .azl-services-grid-shell .azl-card-category {
        max-width: 150px;
    }

    .azl-services-grid-shell .azl-card-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .azl-services-grid-shell .azl-card-details-cta,
    .azl-services-grid-shell .azl-card-whatsapp-cta {
        justify-content: center;
        width: 100%;
    }
}
