﻿/* Separate raised cards overlap the hero without covering its actions. */
.hero.hero-with-service-menu .hero-copy{padding-bottom:140px}
.hero-service-menu{position:relative;z-index:4;margin-top:-76px;padding-bottom:10px}
.hero-service-menu-inner{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px;width:calc(100% - 64px);max-width:1216px;margin:0 auto;perspective:1200px}
.hero-service-item{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px;min-width:0;min-height:182px;padding:26px 12px 22px;border:1px solid #e5eef7;border-radius:20px;background:linear-gradient(150deg,#fff 28%,#edf5fd 100%);color:var(--navy);text-decoration:none;box-shadow:inset 0 2px 0 #fff,0 5px 0 #cad9e8,0 17px 30px rgba(7,27,51,.16);transform:rotateX(3deg);transform-origin:center bottom;transition:transform .25s,box-shadow .25s,border-color .25s,color .25s}
.hero-service-number{position:absolute;top:14px;right:15px;color:#7890a9;font:600 10px/1.4 Inter,sans-serif;letter-spacing:.08em}
.hero-service-icon{display:grid;place-items:center;flex:0 0 60px;width:60px;height:60px;border:1px solid rgba(255,255,255,.48);border-radius:17px;background:linear-gradient(135deg,#38c5ed,#146cda 52%,#0a3e9d);color:#fff;box-shadow:inset 0 2px 1px rgba(255,255,255,.4),0 5px 0 #073989,0 10px 17px rgba(11,70,173,.23);transform:rotate(-5deg);transition:transform .25s,box-shadow .25s}
.hero-service-icon svg{display:block;width:31px;height:31px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.hero-service-name{display:flex;align-items:center;justify-content:center;min-height:2.8em;width:100%;font:600 14px/1.4 Manrope,sans-serif;letter-spacing:-.025em;text-align:center;overflow-wrap:anywhere;hyphens:auto}
.hero-service-item:focus-visible{outline:3px solid #37c5f3;outline-offset:5px;color:var(--blue);transform:translateY(-6px);box-shadow:inset 0 2px 0 #fff,0 8px 0 #bed3e9,0 24px 35px rgba(7,27,51,.2)}
@media(hover:hover){
 .hero-service-item:hover{color:var(--blue);border-color:#a8d5f6;transform:translateY(-7px) rotateX(0);box-shadow:inset 0 2px 0 #fff,0 8px 0 #bed3e9,0 24px 35px rgba(7,27,51,.2)}
 .hero-service-item:hover .hero-service-icon{transform:translateY(-2px) rotate(0)}
}
@media(max-width:1100px){
 .hero-service-menu-inner{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
 .hero-service-item{min-height:170px}
}
@media(max-width:700px){
 .hero.hero-with-service-menu .hero-copy{padding-bottom:120px}
 .hero-service-menu{margin-top:-54px}
 .hero-service-menu-inner{width:calc(100% - 40px);grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
 .hero-service-item{min-height:166px;padding:24px 12px 18px;border-radius:18px;gap:20px}
 .hero-service-icon{width:54px;height:54px;flex-basis:54px;border-radius:15px}
 .hero-service-icon svg{width:28px;height:28px}
 .hero-service-name{font-size:13px}
}
@media(prefers-reduced-motion:reduce){
 .hero-service-item,.hero-service-icon{transition:none}
 .hero-service-item:hover,.hero-service-item:focus-visible,.hero-service-item:hover .hero-service-icon{transform:none}
}
