/* Andiamo V8.8 – Image-led service cards. Loaded LAST only on homepages. */
.v88-services{background:#f8fbfe; padding:94px 0 105px; border-top:1px solid #e9f0f6}
.v88-services .v86-section-heading{margin-bottom:40px;max-width:780px}
.v88-services .v86-section-heading h2{margin-bottom:16px}
.v88-services .v86-section-heading p{max-width:640px}
.v88-services .v88-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.v88-services .v88-card{position:relative;display:block;min-width:0;height:390px;border-radius:24px;overflow:hidden;color:#fff!important;text-decoration:none;isolation:isolate;border:1px solid rgba(14,64,105,.12);background:#0b3354;box-shadow:0 20px 48px rgba(18,60,93,.15);transition:box-shadow .4s ease,transform .4s cubic-bezier(.2,.8,.25,1),border-color .4s ease}
.v88-services .v88-card:focus-visible{outline:3px solid #40aaff;outline-offset:5px}
.v88-services .v88-card-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;z-index:0;transform:scale(1.003);transition:transform .85s cubic-bezier(.2,.8,.25,1),filter .5s ease;filter:saturate(.93) contrast(1.04)}
.v88-services .v88-card:nth-child(1) .v88-card-photo{object-position:50% 30%}
.v88-services .v88-card:nth-child(2) .v88-card-photo{object-position:50% 37%}
.v88-services .v88-card:nth-child(3) .v88-card-photo{object-position:50% 45%}
.v88-services .v88-card:nth-child(4) .v88-card-photo{object-position:70% 50%;transform:scale(1.08)}
.v88-services .v88-card-shade{position:absolute;inset:0;display:block;width:100%;height:100%;z-index:1;background:linear-gradient(180deg,rgba(3,32,52,.17) 0%,rgba(4,24,45,.05) 31%,rgba(3,24,47,.62) 58%,rgba(5,25,48,.96) 100%);transition:background-color .4s ease}
.v88-services .v88-card-number{position:absolute;top:24px;left:25px;z-index:2;display:inline-flex;justify-content:center;align-items:center;width:auto;height:auto;padding:9px 13px;border:1px solid rgba(255,255,255,.45);border-radius:999px;background:rgba(7,32,55,.28);backdrop-filter:blur(9px);color:#fff;font:800 11px Manrope,Arial,sans-serif;letter-spacing:.06em}
.v88-services .v88-card-content{position:absolute;left:30px;right:30px;bottom:28px;z-index:3;display:flex;flex-direction:column;align-items:flex-start;gap:0;min-width:0}
.v88-services .v88-card-kicker{display:block;margin:0 0 12px;font-size:10px;color:#b6e1ff;font-weight:800;letter-spacing:.18em;text-transform:uppercase;line-height:1.3}
.v88-services .v88-card h3{font-family:Manrope,Arial,sans-serif;font-size:clamp(23px,2.5vw,31px);line-height:1.15;letter-spacing:-.035em;font-weight:800;margin:0 0 12px;color:#fff!important;max-width:480px;text-wrap:balance}
.v88-services .v88-card-description{display:block;font-size:13px;line-height:1.65;color:#dfebf5;max-width:440px;margin:0 0 18px;font-weight:500}
.v88-services .v88-card-action{display:inline-flex;align-items:center;gap:15px;font-size:13px;line-height:1.3;color:#fff;font-weight:800;text-decoration:none}
.v88-services .v88-arrow{display:inline-flex;align-items:center;justify-content:center;width:35px;height:35px;border:1px solid rgba(255,255,255,.7);border-radius:50%;font-size:17px;color:#fff;transition:transform .35s ease,color .35s ease,background-color .35s ease}
@media(hover:hover){
.v88-services .v88-card:hover{transform:translateY(-8px);box-shadow:0 32px 55px rgba(16,53,85,.25);border-color:rgba(23,108,178,.25)}
.v88-services .v88-card:hover .v88-card-photo{transform:scale(1.09);filter:saturate(1.08) contrast(1.045)}
.v88-services .v88-card:nth-child(4):hover .v88-card-photo{transform:scale(1.17)}
.v88-services .v88-card:hover .v88-arrow{transform:translate(3px,-3px);background:#fff;color:#0c67ad}}
/* Scroll animation runs only when JS applies .is-active; without JS cards remain visible. */
.v88-services .v88-card.is-active{animation:v88-enter .85s cubic-bezier(.18,.8,.23,1)}
.v88-services .v88-card:nth-child(2).is-active{animation-delay:.11s}
.v88-services .v88-card:nth-child(3).is-active{animation-delay:.08s}
.v88-services .v88-card:nth-child(4).is-active{animation-delay:.19s}
@keyframes v88-enter{from{opacity:0;transform:translate3d(0,28px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
[dir="rtl"] .v88-services .v88-card-number{right:25px;left:auto}
[dir="rtl"] .v88-services .v88-card-content{right:30px;left:30px;align-items:flex-start;text-align:right}
[dir="rtl"] .v88-services .v88-card-kicker{letter-spacing:0;font-size:12px}
[dir="rtl"] .v88-services .v88-card h3{font-family:Tajawal,Arial,sans-serif;letter-spacing:0;font-size:clamp(25px,2.6vw,34px);line-height:1.3}
[dir="rtl"] .v88-services .v88-card-action{direction:rtl}
[dir="rtl"] .v88-services .v88-arrow{transform:scaleX(-1)}
@media(min-width:1250px){.v88-services .v88-card{height:415px}}
@media(max-width:820px){.v88-services{padding:65px 0 74px}.v88-services .v88-cards{grid-template-columns:1fr;gap:17px}.v88-services .v88-card{height:365px}.v88-services .v88-card h3{font-size:27px}}
@media(max-width:480px){.v88-services .v88-card{height:345px;border-radius:19px}.v88-services .v88-card-content{left:20px;right:20px;bottom:21px}[dir="rtl"] .v88-services .v88-card-content{right:20px;left:20px}.v88-services .v88-card-number{top:16px;left:18px}[dir="rtl"] .v88-services .v88-card-number{right:18px}.v88-services .v88-card h3{font-size:25px}.v88-services .v88-card-description{font-size:12px;margin-bottom:13px}.v88-services .v88-card-action{font-size:12px}.v88-services .v88-arrow{width:32px;height:32px}}
@media(prefers-reduced-motion:reduce){.v88-services .v88-card,.v88-services .v88-card-photo,.v88-services .v88-arrow{transition:none!important;animation:none!important}.v88-services .v88-card.is-active{animation:none!important}}
