/* AIS V34 — homepage product coverage only. Does not modify other pages. */
.homepage-3d-products{padding-top:34px;padding-bottom:52px;perspective:1200px}
.homepage-3d-products .title{position:relative;z-index:2}
.home-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;perspective:1400px}
.home-product-card{position:relative;min-width:0;background:#fff;border:1px solid #dce5ed;border-radius:12px;overflow:hidden;box-shadow:0 12px 30px rgba(8,28,48,.08);transform-style:preserve-3d;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;will-change:transform}
.home-product-card::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(120deg,transparent 25%,rgba(255,255,255,.38) 45%,transparent 62%);transform:translateX(-130%);transition:transform .7s ease}
.home-product-card:hover{box-shadow:0 22px 50px rgba(8,70,120,.16);border-color:#b9d7eb}
.home-product-card:hover::after{transform:translateX(130%)}
.home-product-visual{position:relative;min-height:190px;background:linear-gradient(145deg,#f6fbfe,#e7f2f8);overflow:hidden;transform:translateZ(18px)}
.home-product-visual>img:first-child:not(.brand-led-logo){display:block;width:100%;height:210px;object-fit:cover}
.home-product-copy{padding:18px 18px 20px;transform:translateZ(24px)}
.home-product-kicker{margin:0 0 6px;color:#087ed5;font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.home-product-copy h3{margin:0 0 8px;font-size:19px;line-height:1.2;letter-spacing:-.02em;color:#081c30}
.home-product-copy>p:not(.home-product-kicker){margin:0 0 17px;min-height:44px;font-size:13px;line-height:1.55;color:#4a5a68}
.home-product-copy>a{display:inline-flex;align-items:center;gap:8px;min-height:40px;color:#086fae;font-size:13px;font-weight:700}
.home-product-copy>a span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#087ed5;color:#fff;box-shadow:0 8px 18px rgba(8,126,213,.22);transition:transform .2s ease}
.home-product-copy>a:hover span{transform:translateX(3px)}
.home-brand-badge{position:absolute!important;left:14px;bottom:14px!important;width:auto!important;max-width:92px!important;height:34px!important;object-fit:contain!important;padding:6px 9px;background:rgba(255,255,255,.94);border:1px solid rgba(220,229,237,.95);border-radius:7px;box-shadow:0 8px 22px rgba(8,28,48,.12)}
.home-brand-pair{position:absolute;left:14px;bottom:14px;display:flex;gap:7px;align-items:center}
.home-brand-pair img{width:auto;height:34px;max-width:86px;object-fit:contain;padding:6px 8px;background:rgba(255,255,255,.94);border:1px solid rgba(220,229,237,.95);border-radius:7px;box-shadow:0 8px 22px rgba(8,28,48,.12)}
.brand-led{display:flex;min-height:210px;flex-direction:column;align-items:center;justify-content:center;gap:15px;padding:28px;background:radial-gradient(circle at 50% 35%,#fff 0 24%,#eef7fb 65%,#e3f0f7 100%)}
.brand-led-logo{display:block;max-width:170px;max-height:86px;object-fit:contain;filter:drop-shadow(0 12px 20px rgba(8,28,48,.12))}
.brand-led-label{font-size:16px;font-weight:800;letter-spacing:.03em;color:#165889;text-transform:uppercase}
.skf-service{background:radial-gradient(circle at 50% 35%,#fff 0 24%,#eef6ff 64%,#e4effb 100%)}
.ais-service-badge{position:absolute;left:14px;bottom:14px;padding:7px 10px;border-radius:7px;background:#081c30;color:#fff;font-size:10px;font-weight:800;letter-spacing:.13em;box-shadow:0 8px 22px rgba(8,28,48,.16)}
@media(max-width:1100px){.home-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.home-product-visual>img:first-child:not(.brand-led-logo){height:180px}.brand-led{min-height:180px}.home-product-copy h3{font-size:17px}}
@media(max-width:800px){.home-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-product-card{transform:none!important}.home-product-copy>p:not(.home-product-kicker){min-height:0}}
@media(max-width:520px){.home-product-grid{grid-template-columns:1fr}.home-product-visual>img:first-child:not(.brand-led-logo){height:210px}.brand-led{min-height:210px}}
@media(prefers-reduced-motion:reduce){.home-product-card,.home-product-card::after,.home-product-copy>a span{transition:none!important}.home-product-card{transform:none!important}}



/* V36 fixes: clickable Industries stat keeps exact grid alignment */
.stats>*{text-align:center;border-right:1px solid #d7e0e7;padding:0 8px;min-width:0}
.stats>*:last-child{border-right:0}
.stats>.stat-link{display:flex;flex-direction:column;align-items:center;justify-content:center;text-decoration:none;color:inherit;cursor:pointer;transition:transform .2s ease,background .2s ease}
.stats>*:nth-child(2) strong{color:#b88808}
.stats>*:nth-child(3) strong{color:#198644}
.stats>*:nth-child(4) strong{color:#087ed5}
.stats>.stat-link:hover{transform:translateY(-2px);background:rgba(8,126,213,.025)}
.stats>.stat-link:hover strong{color:#198644}
/* Guarantee the two service images render visibly */
.home-product-visual img[src*="petronas-lubricants-v36"],
.home-product-visual img[src*="ais-condition-monitoring-v36"]{display:block!important;width:100%!important;height:210px!important;object-fit:cover!important;object-position:center!important;opacity:1!important;visibility:visible!important}
@media(max-width:1100px){.home-product-visual img[src*="petronas-lubricants-v36"],.home-product-visual img[src*="ais-condition-monitoring-v36"]{height:180px!important}}
@media(max-width:520px){.stats>*:nth-child(2){border-right:0}.home-product-visual img[src*="petronas-lubricants-v36"],.home-product-visual img[src*="ais-condition-monitoring-v36"]{height:210px!important}}
