/* Home expertise sections (2026-11-08). Premium and short: generous space, one card style, one accent (teal). Orange is NOT used here (it belongs to the hero search).
   Palette: navy #0b1e2d, teal #005B63, mint tint #E3F3F1, soft page #F5F7F8, edge #7a8c8c, hairline #d6dede, muted #566666, white. Contrast checked: navy and teal on white
   and on the tint pass 4.5:1; muted on white 6.0:1; white on teal 7:1; control edges 3.5:1. */
.hp { background: #fff; color: #0b1e2d; }
.hp-sec { padding: 36px 0; }
.hp-alt { background: #F5F7F8; }
.hp-head { margin: 0 0 18px; max-width: 640px; }
.hp-ey { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #005B63; }
[dir="rtl"] .hp-ey { letter-spacing: 0; text-transform: none; font-size: 13px; }
.hp-h { font-size: 26px; line-height: 1.25; font-weight: 600; margin: 6px 0 6px; color: #0b1e2d; }
.hp-sub { margin: 0; color: #566666; font-size: 15px; }
.hp-services { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp-svc { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid #d6dede; border-radius: 16px; padding: 16px; text-decoration: none; color: #0b1e2d; min-height: 104px; }
.hp-ic { width: 40px; height: 40px; border-radius: 12px; background: #E3F3F1; color: #005B63; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.hp-svt { font-weight: 600; font-size: 15px; line-height: 1.35; }
.hp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hp-step { display: flex; gap: 14px; align-items: flex-start; }
.hp-n { flex: none; width: 36px; height: 36px; border-radius: 50%; background: #005B63; color: #fff; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.hp-stb { display: flex; flex-direction: column; }
.hp-stb strong { font-weight: 600; font-size: 16px; }
.hp-stb span { font-size: 14px; color: #566666; }
.hp-know { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp-kc { display: flex; flex-direction: column; gap: 8px; border: 1px solid #7a8c8c; border-radius: 16px; padding: 16px; background: #fff; color: #0b1e2d; text-decoration: none; font-weight: 600; font-size: 15px; min-height: 92px; }
.hp-kc i { color: #005B63; font-size: 20px; }
.hp a:focus-visible, .hp button:focus-visible { outline: 3px solid #005B63; outline-offset: 2px; }
@media (min-width: 900px) {
  .hp-sec { padding: 64px 0; }
  .hp-h { font-size: 36px; }
  .hp-services { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .hp-steps { grid-template-columns: repeat(5, 1fr); gap: 20px; }
  .hp-step { flex-direction: column; }
  .hp-know { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}

/* dark "Why MEILS" band: navy, a quiet moving sea lane, glass tiles, numbers that count up once */
.hp-dark { background: #0b1e2d; color: #fff; position: relative; overflow: hidden; }
.hp-dark .hp-h { color: #fff; }
.hp-dark .hp-ey { color: #5FD4C6; }
.hp-dark-in { position: relative; z-index: 1; }
.hp-route { position: absolute; inset: 0; opacity: .9; pointer-events: none; }
.hp-route svg { width: 100%; height: 100%; }
.hp-lane { fill: none; stroke: #5FD4C6; stroke-opacity: .35; stroke-width: 2; stroke-dasharray: 3 9; stroke-linecap: round; }
.hp-port { fill: #5FD4C6; fill-opacity: .55; }
.hp-ship { fill: #5FD4C6; filter: drop-shadow(0 0 6px rgba(95,212,198,.9)); }
.hp-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 4px; }
.hp-tile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px; min-height: 132px; padding: 18px 10px; color: #fff; text-decoration: none;
  background: rgba(255,255,255,.06); border: 1px solid rgba(95,212,198,.28); border-radius: 20px; }
.hp-gla { grid-column: 1 / -1; }
.hp-tic { width: 38px; height: 38px; border-radius: 50%; background: rgba(95,212,198,.16); color: #5FD4C6; display: flex; align-items: center; justify-content: center; font-size: 17px; }
.hp-big { display: block; font-size: 34px; font-weight: 600; line-height: 1.1; color: #fff; }
.hp-lab { font-size: 13px; line-height: 1.4; color: #C9D8DA; }
.hp-verify { font-size: 12px; color: #5FD4C6; text-decoration: underline; margin-top: 2px; }
@media (min-width: 900px) {
  .hp-trust { grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 12px; }
  .hp-gla { grid-column: auto; }
  .hp-tile { min-height: 168px; }
  .hp-big { font-size: 44px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hp-tile { transition: transform .2s ease, border-color .2s ease, background .2s ease; }
  .hp-tile:hover { transform: translateY(-4px); border-color: rgba(95,212,198,.7); background: rgba(255,255,255,.09); }
  .hp-lane { animation: hpFlow 24s linear infinite; }
}
@keyframes hpFlow { to { stroke-dashoffset: -240; } }

/* rolling digits and the small entrance sequence (transforms and opacity only; nothing here runs for visitors who reduced motion, because the script then adds no reels and no .hp-arm) */
.hp-num { display: inline-flex; align-items: flex-start; justify-content: center; font-variant-numeric: tabular-nums; }
.hp-vis { display: inline-flex; align-items: flex-start; }
.hp-d { display: inline-block; height: 1.1em; overflow: hidden; line-height: 1.1em; }
.hp-dr { display: flex; flex-direction: column; transform: translateY(0); will-change: transform; }
.hp-dr > span { display: block; height: 1.1em; line-height: 1.1em; }
.hp-sep { display: inline-block; line-height: 1.1em; }
.hp-plus { display: inline-block; line-height: 1.1em; color: #5FD4C6; }
.hp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp-arm .hp-tile { opacity: 0; transform: translateY(24px); }
.hp-arm .hp-plus { opacity: 0; transform: scale(.4); }
.hp-arm.go .hp-tile { opacity: 1; transform: none; transition: opacity .6s cubic-bezier(.22,1,.36,1) calc(var(--t) * 120ms), transform .6s cubic-bezier(.22,1,.36,1) calc(var(--t) * 120ms); animation: hpGlow .9s ease-out calc(1.5s + var(--t) * 120ms) 1 both; }
.hp-arm.go .hp-dr { transform: translateY(calc(var(--end) * 1.1em)); transition: transform 1.7s cubic-bezier(.2,1.12,.3,1) calc(200ms + var(--i) * 140ms); }
.hp-arm.go .hp-plus { opacity: 1; transform: none; transition: opacity .4s ease 1.5s, transform .55s cubic-bezier(.34,1.56,.64,1) 1.5s; }
.hp-arm.go .hp-tile:hover { transform: translateY(-4px); border-color: rgba(95,212,198,.7); background: rgba(255,255,255,.09); transition-delay: 0s; }
@keyframes hpGlow { 0% { box-shadow: 0 0 0 0 rgba(95,212,198,.45); } 100% { box-shadow: 0 0 0 16px rgba(95,212,198,0); } }

/* premium polish (UI skill: Trust and Authority pattern; 150-300 ms hover; visible focus; 44 px targets; reduced motion respected) */
.hp-h { text-wrap: balance; letter-spacing: -0.01em; }
.hp-sub, .hp-stb span { max-width: 60ch; }
.hp-svc, .hp-kc { position: relative; cursor: pointer; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.hp-svc:hover, .hp-kc:hover { transform: translateY(-3px); border-color: #005B63; box-shadow: 0 12px 28px rgba(11,30,45,.10); }
.hp-ic { transition: background .2s ease, color .2s ease; }
.hp-svc:hover .hp-ic { background: #005B63; color: #fff; }
.hp-kc i:first-child { transition: color .2s ease; }
.hp-go { margin-top: auto; color: #005B63; font-size: 13px; line-height: 1; }
[dir="rtl"] .hp-go i { display: inline-block; transform: scaleX(-1); }
.hp-svc, .hp-kc { align-items: flex-start; }
/* the five steps are joined by a line that draws itself once */
.hp-step { position: relative; }
.hp-step:not(:last-child)::before, .hp-step:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 17px; top: 38px; bottom: -12px; width: 2px; border-radius: 2px; }
.hp-step:not(:last-child)::before { background: #d6dede; }
.hp-step:not(:last-child)::after { background: #005B63; transform: scaleY(0); transform-origin: top; }
.hp-n { box-shadow: 0 0 0 4px #E3F3F1; }
@media (min-width: 900px) {
  .hp-step:not(:last-child)::before, .hp-step:not(:last-child)::after { inset-inline-start: 46px; inset-inline-end: -20px; top: 17px; bottom: auto; width: auto; height: 2px; }
  .hp-step:not(:last-child)::after { transform: scaleX(0); transform-origin: left; }
  [dir="rtl"] .hp-step:not(:last-child)::after { transform-origin: right; }
}
/* reveal: rise and fade, one after another (only when the script armed the section) */
.hp-arm .hp-item { opacity: 0; transform: translateY(24px); }
.hp-arm.go .hp-item { opacity: 1; transform: none; transition: opacity .5s cubic-bezier(.22,1,.36,1) calc(var(--i) * 80ms), transform .5s cubic-bezier(.22,1,.36,1) calc(var(--i) * 80ms), border-color .2s ease 0s, box-shadow .2s ease 0s; }
.hp-arm.go .hp-svc:hover, .hp-arm.go .hp-kc:hover { transform: translateY(-3px); transition-delay: 0s; }
.hp-arm.go .hp-step:not(:last-child)::after { transform: scale(1); transition: transform .5s ease calc(var(--i) * 160ms + 350ms); }

/* the real GLA certificate beside the membership facts */
.hp-gla { flex-direction: row; align-items: center; justify-content: flex-start; text-align: start; gap: 18px; padding: 16px 18px; }
.hp-cert { flex: none; width: 104px; height: auto; border-radius: 6px; border: 3px solid #fff; box-shadow: 0 8px 22px rgba(0,0,0,.35); background: #fff; }
.hp-gtxt { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.hp-gtxt .hp-big { font-size: 30px; }
@media (min-width: 900px) { .hp-cert { width: 112px; } }
@media (prefers-reduced-motion: no-preference) { .hp-cert { transition: transform .25s ease; } .hp-gla:hover .hp-cert { transform: scale(1.04) rotate(-1deg); } }

/* W160 brand strip on the first screen (palette only: white, mint #5FD4C6, navy at .78 so white text stays above 8 : 1 even over a bright photo) */
.hp-brand { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 14px auto 0; padding: 0 16px; max-width: 100%; position: relative; z-index: 2; }
.hp-brand-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 6px 12px; border-radius: 999px; background: rgba(11,30,45,.78); border: 1px solid rgba(95,212,198,.35); color: #fff; font-size: 13px; line-height: 1.3; font-weight: 600; text-decoration: none; }
.hp-brand-chip i { color: #5FD4C6; }

