/* ---------- Component: services-four ---------- */
/* Moved from TemplateAiConsultingServices.php (#ai-services); classes renamed to the component's BEM root. */
.iphtech-services-four{position:relative;isolation:isolate;overflow:hidden;padding:var(--iphtech-section-y,80px) 24px;background:radial-gradient(ellipse at 8% 15%,rgba(40,116,252,.09),transparent 35%),radial-gradient(ellipse at 95% 95%,rgba(40,116,252,.13),transparent 45%),linear-gradient(180deg,#f8fbff,#eef6ff);font-family:var(--iphtech-font-body);color:var(--iphtech-ink)}
.iphtech-services-four:before,.iphtech-services-four:after{content:"";position:absolute;width:500px;height:230px;border:1px solid rgba(40,116,252,.12);border-radius:50%;transform:rotate(-25deg);pointer-events:none;z-index:-1}
.iphtech-services-four:before{top:-155px;left:-160px;box-shadow:0 12px 0 rgba(40,116,252,.05),0 24px 0 rgba(40,116,252,.04),0 36px 0 rgba(40,116,252,.03)}
.iphtech-services-four:after{top:-140px;right:-180px;transform:rotate(-35deg);box-shadow:0 12px 0 rgba(40,116,252,.05),0 24px 0 rgba(40,116,252,.04)}
.iphtech-services-four .iphtech-section-container{width:100%;max-width:1320px;margin:auto}
.iphtech-services-four__head{text-align:center;max-width:950px;margin:0 auto 34px}
.iphtech-services-four__eyebrow{display:inline-flex;align-items:center;gap:10px;padding:8px 20px;margin-bottom:20px;border:1.5px solid var(--iphtech-blue);border-radius:var(--iphtech-radius-pill);background:rgba(255,255,255,.8);box-shadow:var(--iphtech-shadow-sm);font-size:14px;font-weight:800;color:var(--iphtech-ink)}
.iphtech-services-four__eyebrow i{color:var(--iphtech-blue);font-size:17px}
.iphtech-services-four h2,.iphtech-services-four h3{font-family:var(--iphtech-font-heading);letter-spacing:-.025em;font-weight:800}
.iphtech-services-four h2{font-size:clamp(30px,3.8vw,49px);line-height:1.15;margin:0 0 14px;color:var(--iphtech-ink)}
.iphtech-services-four h2 span{color:var(--iphtech-blue)}.iphtech-services-four h2 em{font-style:normal;color:var(--iphtech-orange)}
.iphtech-services-four__head p{font-size:clamp(14px,1.35vw,17px);line-height:1.6;color:var(--iphtech-ink-2);margin:0}
.iphtech-services-four__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}
.iphtech-services-four__card{position:relative;isolation:isolate;overflow:hidden;padding:clamp(16px, 1.4vw, 20px);border:1px solid rgba(40,116,252,.22);border-radius:var(--iphtech-radius-lg);background:linear-gradient(135deg,rgba(255,255,255,.97),rgba(241,248,255,.92));box-shadow:0 12px 28px rgba(40,116,252,.10),inset 0 1px 0 #fff;transition:transform .35s var(--iphtech-ease),box-shadow .35s,border-color .35s}
.iphtech-services-four__card:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 85% 30%,rgba(40,116,252,.12),transparent 45%);z-index:-1;pointer-events:none}
.iphtech-services-four__card:hover{transform:translateY(-7px);border-color:var(--iphtech-blue);box-shadow:0 18px 38px rgba(40,116,252,.20)}
.iphtech-services-four__ico{display:block;width:max-content;margin-bottom:13px;font-size:34px;line-height:1;color:var(--iphtech-blue)}
.iphtech-services-four__card h3{position:relative;z-index:2;max-width:82%;font-size:clamp(17px,1.45vw,20px);line-height:1.2;margin:0 0 24px;color:var(--iphtech-ink)}
.iphtech-services-four__card h3:after{content:"";position:absolute;left:0;bottom:-12px;width:47px;height:3px;border-radius:5px;background:var(--iphtech-orange)}
.iphtech-services-four__card p{position:relative;z-index:2;font-size:clamp(13px, .98vw, 15px);line-height:1.45;color:var(--iphtech-ink-2);margin:0;max-width:94%}
.iphtech-services-four__card.iphtech-services-four__card--featured{background:radial-gradient(circle at 88% 85%,rgba(255,89,0,.2),transparent 35%),linear-gradient(135deg,#174caa,#091d4a 70%);border:2px solid var(--iphtech-blue-light);box-shadow:0 12px 28px rgba(40,116,252,.28),inset 0 0 20px rgba(40,116,252,.25)}
.iphtech-services-four__card.iphtech-services-four__card--featured:after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;box-shadow:inset -3px -3px 0 rgba(255,89,0,.75)}
.iphtech-services-four__card.iphtech-services-four__card--featured h3,.iphtech-services-four__card.iphtech-services-four__card--featured p{color:#fff}
.iphtech-services-four__card.iphtech-services-four__card--featured .iphtech-services-four__ico{color:#fff}
.iphtech-services-four__card.iphtech-services-four__card--featured .iphtech-services-four__arrow{color:#fff;border-color:rgba(255,255,255,.45)}
.iphtech-services-four__card.iphtech-services-four__card--featured:hover .iphtech-services-four__arrow{background:var(--iphtech-orange);border-color:var(--iphtech-orange)}
.iphtech-services-four__image{grid-column:span 2;position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:center;align-items:center;overflow:hidden;border-radius:var(--iphtech-radius-lg);border:2px solid var(--iphtech-blue);background:radial-gradient(ellipse at 95% 100%,rgba(255,89,0,.28),transparent 38%),radial-gradient(ellipse at 10% 80%,rgba(40,116,252,.45),transparent 45%),linear-gradient(115deg,#07183d,#15275c 65%,#081a45);box-shadow:0 12px 30px rgba(40,116,252,.25),inset 0 -2px 0 var(--iphtech-orange)}
.iphtech-services-four__image:before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent 0 38px,rgba(40,116,252,.08) 39px 40px);pointer-events:none;z-index:-1}
.iphtech-services-four__image h3{color:#fff;font-size:clamp(20px,2.1vw,28px);margin:0;text-align:center}
.iphtech-services-four__image img{border-radius:20px;display:block;width:100%;object-fit:contain;filter:drop-shadow(0 0 16px rgba(40,116,252,.35))}
.iphtech-services-four.rv-ready [data-rv]{opacity:0;translate:0 24px;transition:opacity .7s ease,translate .7s ease,transform .35s,box-shadow .35s}
.iphtech-services-four.rv-ready [data-rv].rv-in{opacity:1;translate:0 0}
@media(max-width:1100px){.iphtech-services-four__card h3{max-width:80%}}
@media(max-width:991px){.iphtech-services-four__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.iphtech-services-four__card{min-height:250px}.iphtech-services-four__image{grid-column:span 2}.iphtech-services-four__card h3{max-width:72%}}
@media(max-width:600px){.iphtech-services-four{padding:55px 15px}.iphtech-services-four__grid{grid-template-columns:1fr;gap:15px}.iphtech-services-four__card h3{max-width:92%;font-size:19px}.iphtech-services-four__card p{font-size:13px}.iphtech-services-four__image{grid-column:auto;padding:24px 12px;min-height:260px}.iphtech-services-four__image img{max-height:90px}.iphtech-services-four__head{margin-bottom:25px}}
@media(prefers-reduced-motion:reduce){.iphtech-services-four *,.iphtech-services-four.rv-ready [data-rv]{animation:none!important;transition:none!important;opacity:1!important;translate:none!important}}
