/* Home page sections (builds on the palette in sections.css) */

.hp-container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* At a glance: interactive key-fact cards under the slider */
.hp-glance { position: relative; padding: 90px 0 100px; background: #081a33; overflow: hidden; isolation: isolate; }
.hp-glance::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(156, 203, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(156, 203, 255, 0.06) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
}
.hp-glance-glow {
    position: absolute;
    z-index: -1;
    top: -220px;
    left: 50%;
    width: 900px;
    height: 520px;
    margin-left: -450px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(30, 127, 228, 0.45), rgba(30, 127, 228, 0));
    animation: hp-glow 8s ease-in-out infinite alternate;
}
@keyframes hp-glow {
    from { transform: translateX(-120px) scale(1); opacity: 0.8; }
    to { transform: translateX(120px) scale(1.15); opacity: 1; }
}
.hp-glance-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 44px; }
.hp-glance-head .ms-eyebrow { color: #9ccbff; }
.hp-glance-head .ms-title { margin: 0; color: #fff; }
.hp-glance-head p { max-width: 420px; margin: 0; color: rgba(255, 255, 255, 0.65); line-height: 1.7; }

.hp-glance-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hp-glance-card {
    --mx: 50%;
    --my: 0%;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 26px 24px 24px;
    border: 1px solid transparent;
    border-radius: 18px;
    background:
        linear-gradient(160deg, #0f2a4d, #0b2141) padding-box,
        linear-gradient(160deg, rgba(156, 203, 255, 0.35), rgba(156, 203, 255, 0.06) 40%, rgba(30, 127, 228, 0.5)) border-box;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(.2, .8, .2, 1), box-shadow 0.35s ease;
}
/* Spotlight that follows the pointer (position set by home.js) */
.hp-glance-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(360px circle at var(--mx) var(--my), rgba(77, 163, 255, 0.22), transparent 45%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.hp-glance-card:hover { transform: translateY(-6px); box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(77, 163, 255, 0.4); }
.hp-glance-card:hover::before { opacity: 1; }
.hp-glance-card > * { position: relative; }
.hp-glance-card.is-featured {
    background:
        linear-gradient(160deg, #1e7fe4, #0d4c99) padding-box,
        linear-gradient(160deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.1)) border-box;
}

.hp-glance-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.hp-glance-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(30, 127, 228, 0.18);
    border: 1px solid rgba(156, 203, 255, 0.25);
    color: #9ccbff;
    font-size: 20px;
    line-height: 46px;
    text-align: center;
    transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease;
}
.hp-glance-card:hover .hp-glance-icon { transform: rotate(-8deg) scale(1.08); background: #1e7fe4; color: #fff; }
.hp-glance-card.is-featured .hp-glance-icon { background: rgba(255, 255, 255, 0.18); border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.hp-glance-tag {
    padding: 5px 11px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.75);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hp-glance-num {
    display: block;
    font-family: 'Raleway', sans-serif;
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    color: #fff;
    font-variant-numeric: tabular-nums;
}
.hp-glance-num sup { top: -0.75em; margin-left: 2px; font-size: 26px; color: #4da3ff; }
.hp-glance-card.is-featured .hp-glance-num sup { color: #fff; }
.hp-glance-num small { font-size: 22px; font-weight: 700; letter-spacing: 0; color: #9ccbff; }
.hp-glance-card.is-featured .hp-glance-num small { color: rgba(255, 255, 255, 0.85); }
.hp-glance-card h3 { margin: 12px 0 6px; font-family: 'Raleway', sans-serif; font-size: 17px; font-weight: 700; color: #fff; }
.hp-glance-card p { margin: 0 0 22px; font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, 0.62); }
.hp-glance-card.is-featured p { color: rgba(255, 255, 255, 0.85); }

/* Per-card visuals */
.hp-years, .hp-codes, .hp-iso, .hp-award-row { margin-top: auto; }
.hp-years { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; color: rgba(255, 255, 255, 0.6); }
.hp-years-bar { position: relative; flex: 1; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.hp-years-bar i {
    position: absolute;
    inset: 0;
    border-radius: 6px;
    background: linear-gradient(90deg, #1e7fe4, #4da3ff, #9ccbff);
    transform: scaleX(1);
    transform-origin: left;
    transition: transform 1.6s cubic-bezier(.2, .8, .2, 1);
}
.hp-codes { display: flex; gap: 6px; margin-bottom: 0; padding: 0; list-style: none; }
.hp-codes li {
    flex: 1;
    padding: 7px 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(156, 203, 255, 0.18);
    color: #cfe5ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-align: center;
    transition: opacity 0.4s ease, transform 0.4s ease, background 0.2s ease;
}
.hp-codes li:first-child { background: #1e7fe4; border-color: #1e7fe4; color: #fff; }
.hp-glance-card:hover .hp-codes li:not(:first-child) { background: rgba(30, 127, 228, 0.25); }
.hp-iso { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 0; padding: 0; list-style: none; }
.hp-iso li {
    padding: 8px 4px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(156, 203, 255, 0.18);
    text-align: center;
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.hp-iso b { display: block; font-size: 13px; color: #fff; }
.hp-iso small { display: block; margin-top: 2px; font-size: 9px; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.hp-award-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.14); font-size: 12px; color: rgba(255, 255, 255, 0.85); }
.hp-award-row i { color: #ffd166; font-size: 16px; }
.hp-award-row b { color: #fff; }

/* Service metrics strip under the cards */
.hp-glance-strip { display: flex; align-items: center; justify-content: space-between; gap: 20px 30px; margin-top: 24px; padding: 18px 22px; border-radius: 16px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1); }
.hp-glance-strip ul { display: flex; flex-wrap: wrap; gap: 14px 34px; margin: 0; padding: 0; list-style: none; }
.hp-glance-strip li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(255, 255, 255, 0.65); }
.hp-glance-strip li i { width: 34px; height: 34px; border-radius: 10px; background: rgba(30, 127, 228, 0.18); color: #4da3ff; font-size: 15px; line-height: 34px; text-align: center; }
.hp-glance-strip b { margin-right: 4px; font-family: 'Raleway', sans-serif; font-size: 16px; color: #fff; }
.hp-glance-cta { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 30px; background: #1e7fe4; color: #fff; font-size: 14px; font-weight: 700; transition: background 0.25s ease, transform 0.25s ease; }
.hp-glance-cta:hover, .hp-glance-cta:focus { background: #fff; color: #0b2e57; transform: translateX(3px); }

/* Entrance animation, enabled by home.js */
.hp-glance-grid.is-animated .hp-glance-card { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2, .8, .2, 1), box-shadow 0.35s ease; }
.hp-glance-grid.is-animated .hp-glance-card:nth-child(2) { transition-delay: 0.1s; }
.hp-glance-grid.is-animated .hp-glance-card:nth-child(3) { transition-delay: 0.2s; }
.hp-glance-grid.is-animated .hp-glance-card:nth-child(4) { transition-delay: 0.3s; }
.hp-glance-grid.is-animated.is-visible .hp-glance-card { opacity: 1; transform: none; }
.hp-glance-grid.is-animated.is-visible .hp-glance-card:hover { transform: translateY(-6px); transition-delay: 0s; }
.hp-glance-grid.is-animated:not(.is-visible) .hp-years-bar i { transform: scaleX(0); }
.hp-glance-grid.is-animated:not(.is-visible) .hp-codes li,
.hp-glance-grid.is-animated:not(.is-visible) .hp-iso li { opacity: 0; transform: translateY(8px); }
.hp-glance-grid.is-animated .hp-codes li:nth-child(2), .hp-glance-grid.is-animated .hp-iso li:nth-child(2) { transition-delay: 0.5s; }
.hp-glance-grid.is-animated .hp-codes li:nth-child(3), .hp-glance-grid.is-animated .hp-iso li:nth-child(3) { transition-delay: 0.6s; }
.hp-glance-grid.is-animated .hp-codes li:nth-child(4) { transition-delay: 0.7s; }
.hp-glance-grid.is-animated .hp-codes li:nth-child(5) { transition-delay: 0.8s; }
.hp-glance-grid.is-animated .hp-codes li:first-child, .hp-glance-grid.is-animated .hp-iso li:first-child { transition-delay: 0.4s; }

/* Global reach: hub map with interactive markets */
.hp-reach { position: relative; padding: 100px 0; background: #0b1f3a; color: rgba(255, 255, 255, 0.8); overflow: hidden; }
.hp-reach::before {
    content: "";
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30, 127, 228, 0.35) 0%, rgba(30, 127, 228, 0) 70%);
}
.hp-reach .hp-container { position: relative; }
.hp-reach .ms-eyebrow { color: #9ccbff; }
.hp-reach .ms-title { color: #fff; }
.hp-reach-lead { margin: 0 0 28px; font-size: 16px; line-height: 1.7; color: rgba(255, 255, 255, 0.75); }

.hp-markets { margin: 0; padding: 0; list-style: none; }
.hp-market {
    display: flex;
    gap: 16px;
    padding: 14px 16px;
    border: 1px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.hp-market + .hp-market { margin-top: 4px; }
.hp-market:hover, .hp-market:focus, .hp-market.is-active { background: rgba(255, 255, 255, 0.06); border-color: rgba(156, 203, 255, 0.25); outline: none; }
.hp-market-code {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #9ccbff;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 800;
    line-height: 42px;
    text-align: center;
    transition: background 0.2s ease, color 0.2s ease;
}
.hp-market.is-active .hp-market-code { background: #1e7fe4; color: #fff; }
.hp-market h3 { margin: 0 0 4px; font-family: 'Raleway', sans-serif; font-size: 16px; font-weight: 700; color: #fff; }
.hp-market h3 small { margin-left: 6px; padding: 2px 8px; border-radius: 20px; background: rgba(30, 127, 228, 0.3); color: #cfe5ff; font-size: 11px; font-weight: 600; vertical-align: middle; }
.hp-market p { margin: 0; font-size: 13px; line-height: 1.55; color: rgba(255, 255, 255, 0.65); }

.hp-map {
    position: relative;
    padding: 20px;
    border-radius: 20px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.hp-map svg { display: block; width: 100%; height: auto; overflow: visible; }
.hp-map-grid line { stroke: rgba(156, 203, 255, 0.08); stroke-width: 1; stroke-dasharray: 4 8; }
.hp-arc {
    fill: none;
    stroke: rgba(156, 203, 255, 0.35);
    stroke-width: 2;
    stroke-dasharray: 6 10;
    animation: hp-flow 1.6s linear infinite;
    transition: stroke 0.25s ease, stroke-width 0.25s ease;
}
.hp-arc.is-active { stroke: #4da3ff; stroke-width: 3.5; }
@keyframes hp-flow { to { stroke-dashoffset: -32; } }

.hp-node { cursor: pointer; }
.hp-node-core { fill: #9ccbff; stroke: #0b1f3a; stroke-width: 3; transition: fill 0.25s ease; }
.hp-node-pulse { fill: rgba(77, 163, 255, 0.18); transform-box: fill-box; transform-origin: center; animation: hp-node-pulse 2.4s ease-out infinite; }
.hp-node text { fill: rgba(255, 255, 255, 0.8); font-family: 'Raleway', sans-serif; font-size: 18px; font-weight: 800; letter-spacing: 0.08em; }
.hp-node .hp-node-sub { fill: #9ccbff; font-size: 13px; letter-spacing: 0.14em; }
.hp-node.is-active .hp-node-core { fill: #1e7fe4; stroke: #fff; }
.hp-node.is-active text { fill: #fff; }
.hp-node.is-hub .hp-node-core { fill: #1e7fe4; stroke: #fff; stroke-width: 4; }
@keyframes hp-node-pulse {
    0% { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}

.hp-reach-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.hp-reach-chips li { padding: 7px 14px; border-radius: 30px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); color: #fff; font-size: 13px; font-weight: 600; }
.hp-reach-chips i { margin-right: 6px; color: #9ccbff; }

@media (prefers-reduced-motion: reduce) {
    .hp-arc, .hp-node-pulse, .hp-glance-glow, .hp-who-float, .hp-who-badge svg { animation: none; }
}

/* Shared heading */
.hp-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 44px; }
.hp-head .ms-title { margin-bottom: 0; max-width: 640px; }
.hp-head p { max-width: 460px; margin: 0; }

/* Who we are: content with philosophy chain, photo collage with floating cards */
.hp-who { position: relative; padding: 110px 0; background: #fff; overflow: hidden; }
.hp-who-shape { position: absolute; border-radius: 50%; pointer-events: none; }
.hp-who-shape-a { top: -160px; left: -160px; width: 420px; height: 420px; background: radial-gradient(closest-side, rgba(30, 127, 228, 0.1), rgba(30, 127, 228, 0)); }
.hp-who-shape-b { bottom: -200px; right: -120px; width: 520px; height: 520px; background: radial-gradient(closest-side, rgba(30, 127, 228, 0.08), rgba(30, 127, 228, 0)); }
.hp-who-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: center; }

.hp-who-title { font-size: 40px; letter-spacing: -0.01em; }
.hp-gradient-text {
    background: linear-gradient(90deg, #1e7fe4, #0b2e57);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Operating philosophy as a connected chain */
.hp-chain { margin: 30px 0 30px; padding: 20px 22px; border-radius: 16px; background: var(--ms-alt); border: 1px solid var(--ms-line); }
.hp-chain-label { display: block; margin-bottom: 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ms-text); }
.hp-chain ol { position: relative; display: flex; justify-content: space-between; margin: 0; padding: 0; list-style: none; }
.hp-chain ol::before {
    content: "";
    position: absolute;
    top: 21px;
    left: 22px;
    right: 22px;
    height: 2px;
    background: repeating-linear-gradient(90deg, rgba(30, 127, 228, 0.35) 0 6px, transparent 6px 12px);
}
.hp-chain li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: default; }
.hp-chain li i {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--ms-line);
    color: var(--ms-green);
    font-size: 17px;
    line-height: 40px;
    text-align: center;
    transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}
.hp-chain li span { font-size: 13px; font-weight: 700; color: var(--ms-ink); transition: color 0.35s ease; }
.hp-chain li.is-active i, .hp-chain li:hover i {
    background: var(--ms-green);
    border-color: var(--ms-green);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(30, 127, 228, 0.35);
}
.hp-chain li.is-active span, .hp-chain li:hover span { color: var(--ms-green); }

.hp-who-points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 34px; }
.hp-who-point {
    position: relative;
    padding: 18px 18px 18px 66px;
    border-radius: 14px;
    border: 1px solid var(--ms-line);
    background: #fff;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.hp-who-point:hover { border-color: rgba(30, 127, 228, 0.4); box-shadow: 0 14px 30px rgba(13, 38, 76, 0.08); transform: translateY(-2px); }
.hp-who-point i {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--ms-green-soft);
    color: var(--ms-green);
    font-size: 16px;
    line-height: 36px;
    text-align: center;
    transition: background 0.25s ease, color 0.25s ease;
}
.hp-who-point:hover i { background: var(--ms-green); color: #fff; }
.hp-who-point h4 { margin: 0 0 3px; font-family: 'Raleway', sans-serif; font-size: 15px; font-weight: 700; color: var(--ms-ink); }
.hp-who-point p { margin: 0; font-size: 13px; line-height: 1.5; }

.hp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.hp-link { font-weight: 700; color: var(--ms-green); }
.hp-link i { margin-left: 6px; transition: transform 0.2s ease; }
.hp-link:hover i { transform: translateX(4px); }

/* Building photo with a dot grid and floating badge/card */
.hp-who-media { position: relative; padding: 30px 30px 30px 50px; transition: transform 0.2s ease-out; transform-style: preserve-3d; }
.hp-who-media::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(rgba(30, 127, 228, 0.45) 2px, transparent 2px);
    background-size: 16px 16px;
}
.hp-who-photo { position: relative; z-index: 1; margin: 0; width: 100%; aspect-ratio: 1 / 1; border: 8px solid #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px rgba(13, 38, 76, 0.22); }
.hp-who-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transition: transform 0.8s ease; }
.hp-who-photo:hover img { transform: scale(1.05); }

.hp-who-float {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 44px rgba(13, 38, 76, 0.18);
    animation: hp-float 6s ease-in-out infinite;
}
.hp-who-float i { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; background: var(--ms-green); color: #fff; font-size: 17px; line-height: 40px; text-align: center; }
.hp-who-float strong { display: block; font-family: 'Raleway', sans-serif; font-size: 14px; color: var(--ms-ink); }
.hp-who-float span { font-size: 12px; color: var(--ms-text); }
.hp-who-float-top { top: 0; left: 0; max-width: 320px; }
.hp-who-float-top span { display: block; line-height: 1.45; }
.hp-who-float-top i { background: #f5b400; }
.hp-who-float-bottom { right: -10px; bottom: 60px; animation-delay: -3s; }
@keyframes hp-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hp-who-badge { position: absolute; z-index: 3; top: 0; left: 0; width: 120px; height: 120px; border-radius: 50%; background: #fff; box-shadow: 0 16px 36px rgba(13, 38, 76, 0.2); }
.hp-who-badge svg { width: 100%; height: 100%; animation: hp-spin 18s linear infinite; }
.hp-who-badge text { font-family: 'Raleway', sans-serif; font-size: 10.5px; font-weight: 800; letter-spacing: 0.18em; fill: var(--ms-ink); }
.hp-who-badge span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 46px;
    height: 46px;
    margin: -23px 0 0 -23px;
    border-radius: 50%;
    background: var(--ms-green);
    color: #fff;
    font-size: 18px;
    line-height: 46px;
    text-align: center;
}
@keyframes hp-spin { to { transform: rotate(360deg); } }

/* What we do: tabbed service lines with an intro card and service cards */
.hp-svc { position: relative; padding: 100px 0; background: linear-gradient(180deg, var(--ms-alt) 0%, #fff 100%); }
.hp-svc-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.hp-svc-head p { margin: 0; color: var(--ms-text); }

.hp-svc-tabs {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    max-width: 900px;
    margin: 0 auto 44px;
    padding: 6px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--ms-line);
    box-shadow: 0 12px 30px rgba(13, 38, 76, 0.06);
}
.hp-svc-indicator {
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 0;
    width: 0;
    border-radius: 13px;
    background: linear-gradient(135deg, #1e7fe4, #0b2e57);
    box-shadow: 0 10px 24px rgba(30, 127, 228, 0.35);
    transition: transform 0.45s cubic-bezier(.2, .8, .2, 1), width 0.45s cubic-bezier(.2, .8, .2, 1);
}
.hp-tab {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border: 0;
    border-radius: 13px;
    background: transparent;
    text-align: left;
    color: var(--ms-ink);
    cursor: pointer;
    transition: color 0.3s ease;
}
.hp-tab > i {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: var(--ms-green-soft);
    color: var(--ms-green);
    font-size: 17px;
    line-height: 40px;
    text-align: center;
    transition: background 0.3s ease, color 0.3s ease;
}
.hp-tab strong { display: block; font-family: 'Raleway', sans-serif; font-size: 15px; font-weight: 700; line-height: 1.25; }
.hp-tab small { display: block; margin-top: 2px; font-size: 12px; color: var(--ms-text); transition: color 0.3s ease; }
.hp-tab:hover strong { color: var(--ms-green); }
.hp-tab[aria-selected="true"] { color: #fff; }
.hp-tab[aria-selected="true"] strong { color: #fff; }
.hp-tab[aria-selected="true"] small { color: rgba(255, 255, 255, 0.75); }
.hp-tab[aria-selected="true"] > i { background: rgba(255, 255, 255, 0.18); color: #fff; }
.hp-tab:focus-visible { outline: 2px solid var(--ms-green); outline-offset: 2px; }
/* Without JS the indicator cannot move, so colour the selected tab itself */
.hp-svc-tabs:not(.is-ready) .hp-tab[aria-selected="true"] { background: var(--ms-green); }

.hp-panel { display: grid; grid-template-columns: 340px 1fr; gap: 28px; align-items: start; }
.hp-panel[hidden] { display: none; }
.hp-panel:not([hidden]) { animation: hp-panel-in 0.5s cubic-bezier(.2, .8, .2, 1); }
@keyframes hp-panel-in {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}

.hp-svc-aside {
    position: sticky;
    top: 120px;
    overflow: hidden;
    padding: 34px 30px;
    border-radius: 20px;
    background: linear-gradient(160deg, #0b2e57 0%, #1565c0 100%);
    color: rgba(255, 255, 255, 0.82);
}
.hp-svc-aside::before {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -80px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 40px rgba(255, 255, 255, 0.04);
}
.hp-svc-aside > * { position: relative; }
.hp-svc-num { position: absolute; top: 22px; right: 26px; font-family: 'Raleway', sans-serif; font-size: 54px; font-weight: 800; line-height: 1; color: rgba(255, 255, 255, 0.1); }
.hp-svc-aside-icon {
    display: inline-block;
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 24px;
    line-height: 54px;
    text-align: center;
}
.hp-svc-aside h3 { margin: 0 0 12px; font-family: 'Raleway', sans-serif; font-size: 24px; font-weight: 800; color: #fff; }
.hp-svc-aside p { margin: 0 0 20px; font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, 0.8); }
.hp-svc-aside ul { margin: 0 0 22px; padding: 0; list-style: none; }
.hp-svc-aside li { position: relative; padding: 6px 0 6px 26px; font-size: 14px; color: #fff; }
.hp-svc-aside li::before {
    content: "\f00c";
    position: absolute;
    left: 0;
    top: 8px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(156, 203, 255, 0.25);
    color: #9ccbff;
    font-family: 'FontAwesome';
    font-size: 9px;
    line-height: 18px;
    text-align: center;
}
.hp-svc-proof { margin-bottom: 24px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.15); font-size: 13px; font-weight: 600; color: #fff; }
.hp-svc-proof i { margin-right: 8px; color: #ffd166; }

.hp-svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.hp-svc-card {
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--ms-line);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.hp-svc-card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 26px 50px rgba(13, 38, 76, 0.14); }
/* The first service in each line is featured across the full width */
.hp-svc-card:first-child { grid-column: 1 / -1; flex-direction: row; }
.hp-svc-card:first-child .hp-svc-media { flex: 0 0 48%; aspect-ratio: auto; min-height: 240px; }
.hp-svc-card:first-child .hp-svc-body { justify-content: center; padding: 34px 32px; }
.hp-svc-card:first-child h4 { font-size: 23px; }
.hp-svc-card:first-child p { font-size: 15px; }

.hp-svc-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ms-alt); }
.hp-svc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 26, 51, 0) 40%, rgba(8, 26, 51, 0.45) 100%); }
.hp-svc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.hp-svc-card:hover .hp-svc-media img { transform: scale(1.06); }
.hp-svc-badge {
    position: absolute;
    z-index: 1;
    left: 18px;
    bottom: 18px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--ms-green);
    font-size: 18px;
    line-height: 44px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: background 0.3s ease, color 0.3s ease;
}
.hp-svc-card:hover .hp-svc-badge { background: var(--ms-green); color: #fff; }
.hp-svc-body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 22px; }
.hp-svc-body h4 { margin: 0 0 8px; font-family: 'Raleway', sans-serif; font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--ms-ink); transition: color 0.2s ease; }
.hp-svc-card:hover h4 { color: var(--ms-green); }
.hp-svc-body p { margin: 0 0 18px; font-size: 14px; line-height: 1.65; color: var(--ms-text); }
.hp-svc-more { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; font-size: 14px; font-weight: 700; color: var(--ms-green); }
.hp-svc-more i {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--ms-green-soft);
    font-size: 12px;
    line-height: 30px;
    text-align: center;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.hp-svc-card:hover .hp-svc-more i { background: var(--ms-green); color: #fff; transform: translateX(4px); }

/* Recognition */
.hp-badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 44px; }
.hp-badge { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--ms-line); }
.hp-badge i { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 10px; background: var(--ms-green-soft); color: var(--ms-green); line-height: 38px; text-align: center; }
.hp-badge strong { display: block; font-family: 'Raleway', sans-serif; font-size: 14px; color: var(--ms-ink); }
.hp-badge span { display: block; font-size: 12px; line-height: 1.4; color: var(--ms-text); }

/* Dual CTA */
.hp-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.hp-duo-card { position: relative; overflow: hidden; padding: 44px 40px; border-radius: 16px; color: rgba(255, 255, 255, 0.85); }
.hp-duo-card.is-primary { background: linear-gradient(135deg, var(--ms-green) 0%, var(--ms-green-dark) 100%); }
.hp-duo-card.is-dark { background: linear-gradient(135deg, #16202c 0%, #0b2e57 100%); }
.hp-duo-card > i { position: absolute; right: -10px; bottom: -30px; font-size: 170px; color: rgba(255, 255, 255, 0.07); }
.hp-duo-card small { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #9ccbff; }
.hp-duo-card h3 { margin: 0 0 12px; font-family: 'Raleway', sans-serif; font-size: 26px; font-weight: 800; line-height: 1.3; color: #fff; }
.hp-duo-card p { position: relative; max-width: 420px; margin: 0 0 26px; color: rgba(255, 255, 255, 0.82); }
.hp-duo-card .ms-button { position: relative; }

@media (max-width: 1199px) {
    .hp-panel { grid-template-columns: 300px 1fr; }
    .hp-badges { grid-template-columns: repeat(2, 1fr); }
    .hp-glance-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
    .hp-glance { padding: 70px 0 80px; }
    .hp-glance-head { flex-direction: column; align-items: flex-start; }
    .hp-glance-strip { flex-direction: column; align-items: flex-start; }
    .hp-head { flex-direction: column; align-items: flex-start; }
    .hp-svc { padding: 70px 0; }
    .hp-panel { grid-template-columns: 1fr; }
    .hp-svc-aside { position: relative; top: 0; }
    .hp-who { padding: 80px 0; }
    .hp-who-grid { grid-template-columns: 1fr; gap: 50px; }
    .hp-who-title { font-size: 32px; }
    .hp-duo { grid-template-columns: 1fr; }

    .hp-reach { padding: 70px 0; }
    .hp-map { margin-top: 40px; }
}

@media (max-width: 575px) {
    .hp-glance-grid { grid-template-columns: 1fr; }
    .hp-glance-num { font-size: 48px; }
    .hp-glance-strip ul { display: grid; grid-template-columns: 1fr; }
    .hp-who-points { grid-template-columns: 1fr; }
    .hp-chain { padding: 16px 12px; }
    .hp-chain li i { width: 38px; height: 38px; line-height: 34px; font-size: 15px; }
    .hp-chain li span { font-size: 11px; }
    .hp-chain ol::before { top: 18px; }
    .hp-badges { grid-template-columns: 1fr; }
    .hp-svc-tabs { grid-template-columns: 1fr; }
    .hp-svc-grid { grid-template-columns: 1fr; }
    .hp-svc-card:first-child { flex-direction: column; }
    .hp-svc-card:first-child .hp-svc-media { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
    .hp-svc-card:first-child .hp-svc-body { padding: 24px; }
    .hp-svc-card:first-child h4 { font-size: 19px; }
    .hp-who-media { min-height: 400px; }
    .hp-who-media { padding: 16px 16px 16px 0; }
    .hp-who-photo { border-width: 6px; }
    .hp-who-badge { display: none; }
    .hp-who-float { padding: 10px 12px; }
    .hp-who-float-bottom { right: 0; bottom: 20px; }
    .hp-duo-card { padding: 34px 26px; }
    .hp-map { padding: 10px; }
    .hp-node text { font-size: 24px; }
}