/* Services page: brand blue #014088 + orange #ed5f00 */
.sv-eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; margin: 0 0 0.9rem !important; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #014088 !important; }
.sv-eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: #ed5f00; }
.sv-title { max-width: none; margin: 0 0 1rem; font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; color: #0a0e1a; }
.sv-title .accent { color: #ed5f00; }
.sv-head { max-width: 760px; margin: 0 0 clamp(2rem, 4vw, 3.5rem); }
.sv-head p:not(.sv-eyebrow) { font-size: 1.05rem; line-height: 1.7; color: #475569; margin: 0; }
.sv-head--center { max-width: none; text-align: center; }
.sv-head--center .sv-title { text-align: center; }

/* ---------- Hero ---------- */
.sv-hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: clamp(4rem, 8vw, 7rem) 0 clamp(4.5rem, 8vw, 7.5rem); background: linear-gradient(135deg, #01173a 0%, #012a5c 45%, #014088 100%); }
.sv-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.5; background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(80% 90% at 70% 50%, #000, transparent 80%); mask-image: radial-gradient(80% 90% at 70% 50%, #000, transparent 80%); }
.sv-orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.sv-orb--1 { width: 440px; height: 440px; right: -100px; top: -140px; background: rgba(237, 95, 0, 0.4); animation: sv-drift 12s ease-in-out infinite alternate; }
.sv-orb--2 { width: 380px; height: 380px; left: -140px; bottom: -180px; background: rgba(56, 130, 255, 0.4); animation: sv-drift 15s ease-in-out infinite alternate-reverse; }
.sv-hero-grid { display: block; text-align: center; }
.sv-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.45rem 1.1rem; border-radius: 999px; margin-bottom: 1.4rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.28); animation: sv-rise 0.8s both; }
.sv-badge i { width: 7px; height: 7px; border-radius: 50%; background: #ed5f00; box-shadow: 0 0 0 4px rgba(237, 95, 0, 0.3); }
.sv-hero h1 { max-width: 980px; margin: 0 auto 1.25rem; font-size: clamp(2.1rem, 4.3vw, 3.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: #fff; animation: sv-rise 0.8s 0.1s both; }
.sv-hero h1 .accent { display: block; color: #ed5f00; }
.sv-hero h1::after { content: ""; display: block; width: 76px; height: 4px; margin: 1.1rem auto 0; border-radius: 4px; background: #ed5f00; }
.sv-hero-copy p { max-width: 760px; margin: 0 auto; font-size: 1.08rem; line-height: 1.7; color: rgba(255, 255, 255, 0.86); animation: sv-rise 0.8s 0.2s both; }
.sv-hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 1.9rem; animation: sv-rise 0.8s 0.35s both; }
.sv-hero-cta .btn { padding: 1rem 1.7rem; }
/* Interactive background: ripple rings that follow the cursor (canvas, see services.js) */
.sv-orb--1 { translate: calc(var(--px, 0) * -14px) calc(var(--py, 0) * -10px); }
.sv-orb--2 { translate: calc(var(--px, 0) * 16px) calc(var(--py, 0) * 12px); }
@keyframes sv-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes sv-drift { to { transform: translate(60px, 40px); } }

/* ---------- Services list ---------- */
.sv-services { isolation: isolate; padding: clamp(3.5rem, 6vw, 5.5rem) 0 clamp(4rem, 7vw, 6rem); background: #fff; }
.sv-list { list-style: none; margin: 0; padding: 0; }
.sv-row { position: relative; display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 1.15fr); gap: 2rem; align-items: start; padding: clamp(1.6rem, 3vw, 2.4rem) 0; border-top: 1px solid #e4e9f2; transition: padding-left 0.4s cubic-bezier(.22,.61,.36,1), background 0.4s ease; }
.sv-row:last-child { border-bottom: 1px solid #e4e9f2; }
.sv-row::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: linear-gradient(90deg, #014088, #ed5f00); transform: scaleX(0); transform-origin: left; transition: transform 0.6s cubic-bezier(.22,.61,.36,1); }
.sv-row::after { content: ""; position: absolute; inset: 0 -1.2rem; z-index: -1; border-radius: 18px; background: linear-gradient(90deg, rgba(1, 64, 136, 0.06), rgba(237, 95, 0, 0.05)); opacity: 0; transition: opacity 0.4s ease; }
.sv-row:hover { padding-left: 1.2rem; }
.sv-row:hover::before { transform: scaleX(1); }
.sv-row:hover::after { opacity: 1; }
.sv-num { font-size: 0.95rem; font-weight: 700; letter-spacing: 0.08em; color: #94a3b8; transition: color 0.3s ease, transform 0.4s ease; }
.sv-row:hover .sv-num { color: #ed5f00; transform: translateX(4px); }
.sv-row h3 { margin: 0; font-size: clamp(1.15rem, 1.8vw, 1.45rem); font-weight: 800; line-height: 1.3; color: #0a0e1a; transition: color 0.3s ease; }
.sv-row:hover h3 { color: #ed5f00; }
.sv-row-link { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 0.6rem; }
.sv-row-link::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* whole row is clickable */
.sv-row-link:focus-visible { outline: none; }
.sv-row:has(.sv-row-link:focus-visible)::after { opacity: 1; }
.sv-row-arrow { display: inline-flex; color: #ed5f00; opacity: 0; transform: translate(-6px, 6px); transition: opacity 0.3s ease, transform 0.4s cubic-bezier(.22,.61,.36,1); }
.sv-row:hover .sv-row-arrow, .sv-row-link:focus-visible .sv-row-arrow { opacity: 1; transform: none; }
.sv-row p { margin: 0; font-size: 1.02rem; line-height: 1.75; color: #475569; }

/* ---------- Lead form ---------- */
.sv-lead { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: clamp(4rem, 7vw, 6.5rem) 0; background: linear-gradient(120deg, #014088 0%, #0a58b8 100%); }
.sv-lead::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.5; background-image: radial-gradient(rgba(255,255,255,0.16) 1.5px, transparent 1.5px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(90deg, #000, transparent 70%); mask-image: linear-gradient(90deg, #000, transparent 70%); }
.sv-lead-glow { position: absolute; z-index: -1; right: -120px; bottom: -160px; width: 440px; height: 440px; border-radius: 50%; background: rgba(237, 95, 0, 0.45); filter: blur(80px); }
.sv-lead-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.sv-lead-eyebrow { margin: 0 0 1rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #ffb97f; }
.sv-lead-copy h2 { margin: 0 0 1.1rem; max-width: 560px; font-size: clamp(1.9rem, 3.8vw, 3rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; color: #fff; }
.sv-lead-copy h2 span { color: #ffa24d; }
.sv-lead-points { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.7rem; }
.sv-lead-points li { position: relative; padding-left: 2rem; font-weight: 600; color: #fff; }
.sv-lead-points li::before { content: ""; position: absolute; left: 0; top: 0.15rem; width: 20px; height: 20px; border-radius: 50%; background: #ed5f00 url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23fff%27 stroke-width=%273.2%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27m5 12.5 4.5 4.5L19 7.5%27/%3E%3C/svg%3E") center / 12px no-repeat; }
.sv-lead-copy > p:not(.sv-lead-eyebrow):not(.sv-lead-platforms) { max-width: 520px; font-size: 1.05rem; line-height: 1.7; color: rgba(255, 255, 255, 0.86); }
.sv-lead-platforms { margin-top: 1.6rem; max-width: 520px; font-size: 0.95rem; line-height: 1.6; color: rgba(255, 255, 255, 0.8); }
.sv-lead-platforms span { display: block; margin-bottom: 0.3rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #ffb97f; }
.sv-lead-card { padding: clamp(1.6rem, 3vw, 2.4rem); border-radius: 24px; background: #fff; box-shadow: 0 40px 70px -34px rgba(0, 10, 40, 0.7); }
.sv-lead-card h3 { margin: 0; font-size: 1.4rem; font-weight: 800; color: #0a0e1a; }
.sv-lead-sub { margin: 0.5rem 0 0; font-size: 0.95rem; color: #475569; }
.sv-form { margin-top: 1.3rem; gap: 1rem; }
.sv-form .cp-field label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: #334155; }
.sv-form input, .sv-form textarea { background: #fff; border: 1px solid #cfd4db; border-radius: 8px; padding: 0.72rem 0.8rem; }
.sv-form textarea { min-height: 96px; resize: vertical; }
.sv-form .cp-phone .iti { width: 100%; }
/* the form sits in a section with white text: keep the phone field and country list dark-on-light */
.sv-form .iti { color: #0a0e1a; }
.sv-form .iti__selected-dial-code, .sv-form .iti__country-name { color: #0a0e1a; }
.sv-form .iti__dial-code { color: #64748b; }
.sv-form .iti__country-list { color: #0a0e1a; background: #fff; }
.sv-form .iti__country.iti__highlight { background: #eef3fb; }
.sv-form .cp-submit { margin-top: 0.3rem; }
.sd-form-status { margin: 0; font-size: 13px; }
.sd-form-status[data-error="true"], #sd-captcha-error { color: #c0392b; font-size: 13px; }
.sd-form-status:empty, #sd-captcha-error:empty { display: none; }

/* ---------- Tech stack ---------- */
.sv-stack { padding: clamp(4rem, 7vw, 6.5rem) 0; background: linear-gradient(180deg, #f4f8fe, #fff); }
.sv-stack .sv-title { display: inline-block; margin-bottom: 2rem; }
.sv-stack .sv-title::after { content: ""; display: block; width: 64px; height: 3px; margin: 0.9rem auto 0; border-radius: 3px; background: #014088; }
.sv-filters { display: flex; flex-wrap: nowrap; justify-content: center; gap: 0.7rem; margin: 0 auto 2.2rem; overflow-x: auto; padding: 0.5rem 0.4rem 0.9rem; scrollbar-width: thin; }
.sv-pill { flex: none; white-space: nowrap; padding: 0.8rem 1.6rem; font: inherit; font-size: 0.92rem; font-weight: 700; color: #334155; background: #fff; border: 1px solid #e4e9f2; border-radius: 999px; cursor: pointer; transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease; }
.sv-pill:hover { border-color: #014088; color: #014088; transform: translateY(-2px); }
.sv-pill.is-active { background: #014088; border-color: #014088; color: #fff; box-shadow: 0 12px 22px -12px rgba(1, 64, 136, 0.8); }
.sv-pill:focus-visible { outline: 3px solid #ed5f00; outline-offset: 2px; }
.sv-panel { padding: clamp(1rem, 2.4vw, 2.2rem); border-radius: 28px; background: #fff; box-shadow: 0 30px 60px -44px rgba(1, 64, 136, 0.45); }
.sv-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.1rem; }
.sv-tech { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.8rem; min-height: 150px; padding: 1.2rem 0.6rem; text-align: center; background: #fff; border: 1px solid #e4e9f2; border-radius: 16px; box-shadow: 0 14px 28px -24px rgba(1, 64, 136, 0.55); transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; animation: sv-in 0.45s ease both; }
.sv-tech[hidden] { display: none; }
.sv-tech:hover { transform: translateY(-6px); border-color: rgba(237, 95, 0, 0.45); box-shadow: 0 22px 34px -22px rgba(1, 64, 136, 0.6); }
.sv-tech-logo { display: grid; place-items: center; width: 60px; height: 60px; }
.sv-tech-logo img { display: block; max-width: 60px; max-height: 60px; width: auto; height: auto; object-fit: contain; }
.sv-tech-name { font-size: 0.88rem; font-weight: 700; line-height: 1.3; color: #1e293b; }
@keyframes sv-in { from { opacity: 0; transform: translateY(14px) scale(0.96); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .sv-lead-grid { grid-template-columns: 1fr; }
  .sv-grid { grid-template-columns: repeat(4, 1fr); }
  .sv-filters { justify-content: flex-start; }
  .sv-row { grid-template-columns: 3rem minmax(0, 1fr); gap: 0.4rem 1rem; }
  .sv-row p { grid-column: 2; }
}
@media (max-width: 560px) {
  .sv-hero-cta .btn { flex: 1 1 100%; justify-content: center; }
  .sv-lead-card .cp-row { grid-template-columns: 1fr; }
  .sv-grid { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
}
@media (min-width: 1200px) { .sv-filters { overflow-x: visible; } }
@media (prefers-reduced-motion: reduce) {
  .sv-hero *, .sv-orb, .sv-tech { animation: none !important; }
  .sv-row, .sv-row::before, .sv-row::after, .sv-pill, .sv-tech { transition: none; }
}
.sv-stack-cta { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; flex-wrap: wrap; margin-top: clamp(1.2rem, 2.4vw, 2rem); padding: clamp(1.1rem, 2vw, 1.6rem) clamp(1.2rem, 2.4vw, 2rem); border-radius: 20px; background: linear-gradient(120deg, #f4f8ff 0%, #fff3ea 100%); border: 1px solid #e4e9f2; }
.sv-stack-cta[hidden] { display: none; }
.sv-stack-cta h3 { margin: 0; font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: #0a0e1a; }
.sv-stack-cta p { margin: 0.3rem 0 0; font-size: 0.92rem; color: rgba(10, 14, 26, 0.68); }
.sv-stack-cta .btn { flex: none; }
@media (max-width: 640px) { .sv-stack-cta { flex-direction: column; align-items: flex-start; } }
