/* =========================================================
   SSG Technologies — inner page styles (service template)
   Loaded after main.css on inner pages
   ========================================================= */
.page-hero { position: relative; padding: calc(var(--header-h) + 110px) 0 170px; background: radial-gradient(1000px 600px at 80% 30%, #0f3a7d 0%, transparent 60%), var(--grad-navy); color: #fff; overflow: hidden; isolation: isolate; }
.page-hero .hero-mesh { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.page-hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 50px; align-items: center; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,.6); margin-bottom: 22px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .4; }
.breadcrumb [aria-current] { color: var(--blue-300); }
.page-hero h1 { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.08; margin-top: 18px; }
.page-hero .hero-sub { max-width: 540px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; font-size: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.chips .ico { color: var(--green-500); font-size: 16px; }

/* ---------- CCTV scene ---------- */
.scene { position: relative; border-radius: 26px; background: rgba(2,12,31,.45); border: 1px solid rgba(140,200,255,.16); box-shadow: 0 40px 80px -40px rgba(0,0,0,.7), inset 0 0 80px rgba(30,123,255,.08); overflow: hidden; }
.scene svg { width: 100%; height: auto; display: block; }
.cam-pan { transform-origin: 74px 92px; animation: camPan 7s ease-in-out infinite; }
@keyframes camPan { 0%, 100% { transform: rotate(4deg); } 50% { transform: rotate(30deg); } }
.walker { animation: walk 7s linear infinite; }
@keyframes walk { 0% { transform: translateX(-60px); } 100% { transform: translateX(560px); } }
.walker .leg { transform-box: fill-box; transform-origin: top center; animation: legs .6s ease-in-out infinite alternate; }
.walker .leg.l2 { animation-direction: alternate-reverse; }
@keyframes legs { from { transform: rotate(-18deg); } to { transform: rotate(18deg); } }
.walker .det { animation: det 7s steps(1) infinite; }
@keyframes det { 0%, 24% { opacity: 0; } 25%, 72% { opacity: 1; } 73%, 100% { opacity: 0; } }
.scan-line { animation: scanline 3s linear infinite; }
@keyframes scanline { from { transform: translateY(0); } to { transform: translateY(92px); } }
.rec { animation: blink 1s steps(1) infinite; }
.scene-hud { position: absolute; left: 18px; top: 16px; display: flex; gap: 8px; font: 700 11px/1 var(--font-body); letter-spacing: .08em; }
.scene-hud span { padding: 7px 10px; border-radius: 8px; background: rgba(2,12,31,.7); border: 1px solid rgba(140,200,255,.2); color: #fff; display: inline-flex; align-items: center; gap: 6px; }
.scene-hud .live { color: #ff4d5e; }
.scene-hud .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: blink 1s steps(1) infinite; }

/* ---------- Intro ---------- */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.intro-grid h2 { font-size: clamp(30px, 3.6vw, 44px); margin-top: 16px; }
.intro-grid .lead { margin-top: 18px; font-size: 17.5px; color: var(--muted); }
.check-list { margin-top: 26px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.check-list .ico { color: var(--blue-500); font-size: 20px; margin-top: 2px; }
.use-title { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.use-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.use-card { padding: 26px 18px; border-radius: 20px; text-align: center; background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s, border-color .4s; }
.use-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(30,123,255,.3); }
.use-card .w-ico { width: 58px; height: 58px; margin: 0 auto; border-radius: 18px; display: grid; place-items: center; background: rgba(30,123,255,.1); color: var(--blue-500); transition: background .4s, color .4s; }
.use-card:hover .w-ico { background: var(--grad-blue); color: #fff; }
.use-card .ico { font-size: 26px; }
.use-card h3 { font-size: 16px; margin-top: 14px; }

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { position: relative; padding: 30px 26px; border-radius: 22px; background: #fff; border: 1px solid var(--line); overflow: hidden; isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s; }
.feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad-navy); opacity: 0; transition: opacity .5s; }
.feature:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.feature:hover::before { opacity: 1; }
.feature .w-ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(30,123,255,.1); color: var(--blue-500); transition: background .4s, color .4s; }
.feature .w-ico .ico { font-size: 25px; }
.feature h3 { font-size: 18px; margin-top: 20px; transition: color .4s; }
.feature p { margin-top: 10px; font-size: 15px; color: var(--muted); transition: color .4s; }
.feature:hover h3 { color: #fff; }
.feature:hover p { color: rgba(255,255,255,.7); }
.feature:hover .w-ico { background: var(--grad-blue); color: #fff; }

/* ---------- Tabs ---------- */
.tabs-center { text-align: center; }
.tabs-bar { position: relative; display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 30px -20px rgba(4,26,58,.3); margin-bottom: 40px; }
.tabs-bar [role="tab"] { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--muted); transition: color .3s; }
.tabs-bar [role="tab"].is-active { color: #fff; }
.tabs-bar .ico { font-size: 18px; }
.tab-ink { position: absolute; top: 6px; bottom: 6px; border-radius: 999px; background: var(--grad-blue); box-shadow: var(--shadow-blue); transition: left .5s var(--ease), width .5s var(--ease); }
.tab-panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 44px; border-radius: 28px; background: #fff; border: 1px solid var(--line); text-align: left; }
.tab-panel[hidden] { display: none; }
.tab-panel h3 { font-size: 28px; }
.tab-panel > div > p { margin-top: 12px; color: var(--muted); font-size: 16.5px; }
.tab-panel .check-list { margin-top: 22px; }
.setup-card { position: relative; border-radius: 22px; padding: 30px; background: var(--grad-navy); color: #fff; overflow: hidden; isolation: isolate; }
.setup-card::after { content: ""; position: absolute; z-index: -1; width: 240px; height: 240px; right: -90px; top: -90px; border-radius: 50%; border: 30px solid rgba(63,169,255,.14); }
.setup-card h4 { font-size: 13px; font-family: var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-300); margin-bottom: 6px; }
.setup-row { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 15px; }
.setup-row:last-of-type { border: 0; }
.setup-row span { color: rgba(255,255,255,.65); }
.setup-row b { font-weight: 600; text-align: right; }
.setup-card .btn { margin-top: 18px; }

/* ---------- 5-step process ---------- */
.process-track.steps-5 { grid-template-columns: repeat(5, 1fr); gap: 20px; }
.process-track.steps-5 .process-line { left: 10%; right: 10%; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.faq-grid .section-head { position: sticky; top: 120px; }
.faq-grid .section-head .btn { margin-top: 26px; }
.faq-list { display: grid; gap: 14px; }
.faq-item { border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.faq-item[open] { border-color: rgba(30,123,255,.35); box-shadow: 0 18px 40px -26px rgba(30,123,255,.6); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 26px; font-family: var(--font-head); font-weight: 600; font-size: 17px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .pm { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); color: var(--blue-500); transition: transform .4s var(--ease), background .3s, color .3s; }
.faq-item summary .pm .ico { font-size: 16px; }
.faq-item[open] summary .pm { transform: rotate(45deg); background: var(--grad-blue); color: #fff; }
.faq-body { overflow: hidden; }
.faq-body p { padding: 0 26px 24px; color: var(--muted); }

.services-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1200px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .process-track.steps-5 { grid-template-columns: repeat(3, 1fr); row-gap: 50px; }
  .process-track.steps-5 .process-line { display: none; }
  .services-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .page-hero-grid, .intro-grid, .tab-panel, .faq-grid { grid-template-columns: 1fr; }
  .faq-grid .section-head { position: static; }
  .page-hero { padding-top: calc(var(--header-h) + 60px); }
}
@media (max-width: 760px) {
  .page-hero { padding-bottom: 120px; }
  .use-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .tab-panel { padding: 24px; }
  .tabs-bar { display: flex; border-radius: 20px; }
  .tabs-bar [role="tab"] { flex: 1 1 40%; justify-content: center; padding: 11px 12px; }
  .tab-ink { display: none; }
  .tabs-bar [role="tab"].is-active { background: var(--grad-blue); }
  .process-track.steps-5 { grid-template-columns: 1fr; gap: 40px; }
  .process-track.steps-5 .process-line { display: block; left: 43px; right: auto; }
  .faq-item summary { padding: 18px; font-size: 16px; }
  .faq-body p { padding: 0 18px 20px; }
}

/* =========================================================
   SCENE ANIMATIONS (one per service hero), 6s master loop
   ========================================================= */
.typ { transform-box: fill-box; transform-origin: left center; animation: typ 6s steps(14) infinite; animation-delay: var(--d, 0s); }
@keyframes typ { 0% { transform: scaleX(0); } 20%, 90% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
.bld { transform-box: fill-box; transform-origin: left center; animation: bld 6s var(--ease) infinite; animation-delay: var(--d, 0s); }
@keyframes bld { 0% { transform: scaleX(0); opacity: 0; } 12%, 88% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.pop { transform-box: fill-box; transform-origin: center; animation: pop 6s var(--ease) infinite; animation-delay: var(--d, 0s); }
@keyframes pop { 0%, 4% { transform: scale(.4); opacity: 0; } 12%, 80% { transform: scale(1); opacity: 1; } 90%, 100% { transform: scale(1); opacity: 0; } }
.rise-up { animation: riseUp 3s ease-out infinite; animation-delay: var(--d, 0s); opacity: 0; }
@keyframes riseUp { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-130px); opacity: 0; } }
.cur-move { animation: curMove 6s var(--ease) infinite; }
@keyframes curMove { 0%, 100% { transform: translate(0, 0); } 30% { transform: translate(-120px, -60px); } 60% { transform: translate(-40px, 50px); } }
.climb { animation: climb 6s var(--ease) infinite; }
@keyframes climb { 0%, 25% { transform: translateY(0); } 55%, 90% { transform: translateY(-186px); } 100% { transform: translateY(0); } }
.shift { animation: shiftDown 6s var(--ease) infinite; }
@keyframes shiftDown { 0%, 25% { transform: translateY(0); } 55%, 90% { transform: translateY(62px); } 100% { transform: translateY(0); } }
.rank-badge { transform-box: fill-box; transform-origin: center; animation: rankBadge 6s var(--ease) infinite; }
@keyframes rankBadge { 0%, 52% { transform: scale(0); } 60%, 90% { transform: scale(1); } 100% { transform: scale(0); } }
.slide-big { animation: slideBig 7.5s var(--ease) infinite; }
@keyframes slideBig { 0%, 26% { transform: translateX(0); } 33%, 59% { transform: translateX(-120px); } 66%, 92% { transform: translateX(-240px); } 100% { transform: translateX(0); } }
.intruder { animation: intruder 6s ease-in-out infinite; }
@keyframes intruder { 0%, 30% { opacity: 0; transform: translateX(26px); } 38%, 85% { opacity: 1; transform: translateX(0); } 92%, 100% { opacity: 0; transform: translateX(26px); } }
.siren-on { animation: sirenOn 6s linear infinite; }
@keyframes sirenOn { 0%, 37% { opacity: 0; } 40%, 46%, 54%, 62%, 70%, 78%, 84% { opacity: 1; } 43%, 50%, 58%, 66%, 74%, 81% { opacity: .15; } 90%, 100% { opacity: 0; } }
.alert-in { animation: alertIn 6s var(--ease) infinite; }
@keyframes alertIn { 0%, 40% { transform: translateX(150px); opacity: 0; } 48%, 86% { transform: translateX(0); opacity: 1; } 94%, 100% { transform: translateX(150px); opacity: 0; } }
.armed-led { animation: armedLed 6s steps(1) infinite; }
@keyframes armedLed { 0%, 39% { fill: #22d39a; } 40%, 89% { fill: #ff4d5e; } 90%, 100% { fill: #22d39a; } }
.card-tap { animation: cardTap 6s var(--ease) infinite; }
@keyframes cardTap { 0% { transform: translateX(130px); opacity: 0; } 12% { opacity: 1; } 28%, 40% { transform: translateX(0); opacity: 1; } 50%, 100% { transform: translateX(130px); opacity: 0; } }
.door { transform-box: fill-box; transform-origin: left center; animation: doorOpen 6s var(--ease) infinite; }
@keyframes doorOpen { 0%, 42% { transform: scaleX(1); } 52%, 82% { transform: scaleX(.16); } 92%, 100% { transform: scaleX(1); } }
.led-sync { animation: ledSync 6s steps(1) infinite; }
@keyframes ledSync { 0%, 41% { fill: #ff4d5e; } 42%, 85% { fill: #22d39a; } 86%, 100% { fill: #ff4d5e; } }
.grant { animation: grant 6s steps(1) infinite; }
@keyframes grant { 0%, 41% { opacity: 0; } 42%, 85% { opacity: 1; } 86%, 100% { opacity: 0; } }
.scan-fp { animation: scanFp 6s ease-in-out infinite; }
@keyframes scanFp { 0%, 28% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 34% { transform: translateY(34px); } 38% { transform: translateY(0); } 41% { transform: translateY(34px); opacity: 1; } 43%, 100% { opacity: 0; } }
.kv { animation: blink 2s steps(1) infinite; }
.pulse-wire { filter: drop-shadow(0 0 5px #3fa9ff); }
.wire-glow { animation: wireGlow 1.4s ease-in-out infinite; }
@keyframes wireGlow { 50% { stroke: #8cc8ff; stroke-opacity: 1; } }

/* mobile refinements */
@media (max-width: 760px) {
  .scene-hud { display: none; }
  .feature-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .feature { padding: 18px 16px; border-radius: 18px; }
  .feature .w-ico { width: 44px; height: 44px; border-radius: 13px; }
  .feature .w-ico .ico { font-size: 21px; }
  .feature h3 { font-size: 15px; margin-top: 14px; }
  .feature p { font-size: 13px; line-height: 1.5; }
}

/* =========================================================
   SERVICES OVERVIEW
   ========================================================= */
.orbit-wrap { position: relative; max-width: 520px; margin-inline: auto; width: 100%; }
.orbit { width: 100%; height: auto; display: block; overflow: visible; }
.orb-track { fill: none; stroke: rgba(140,200,255,.22); stroke-width: 1.5; }
.orb-track.dashed { stroke-dasharray: 3 9; stroke: rgba(140,200,255,.3); }
.orb-pulse { fill: none; stroke: #3fa9ff; stroke-width: 2; transform-origin: 260px 260px; animation: orbPulse 3s ease-out infinite; }
.orb-pulse.p2 { animation-delay: 1.5s; }
@keyframes orbPulse { from { transform: scale(1); opacity: .8; } to { transform: scale(2.6); opacity: 0; } }
.orb-ring { transform-origin: 260px 260px; animation: orbSpin 40s linear infinite; }
.orb-ring.r-out { animation-duration: 60s; animation-direction: reverse; }
.orb-node { animation: orbSpin 40s linear infinite reverse; }
.r-out .orb-node { animation-duration: 60s; animation-direction: normal; }
@keyframes orbSpin { to { transform: rotate(360deg); } }
.orb-dot { fill: #0a2654; stroke: rgba(140,200,255,.45); stroke-width: 1.5; }
.r-out .orb-dot { fill: #041a3a; stroke: rgba(63,169,255,.6); }
.orb-ico { color: #8cc8ff; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.r-in .orb-ico { color: #fff; }
.orbit-label { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; font-size: 13px; font-weight: 600; background: rgba(2,12,31,.75); border: 1px solid rgba(140,200,255,.25); backdrop-filter: blur(8px); animation: floatY 5s ease-in-out infinite; }
.orbit-label .ico { color: var(--blue-400); font-size: 16px; }
.orbit-label.l1 { left: -4%; top: 12%; }
.orbit-label.l2 { right: -4%; bottom: 12%; animation-delay: -2.5s; }
@keyframes floatY { 50% { transform: translateY(-10px); } }

.division-block { scroll-margin-top: 60px; }
.svc-wide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.div-intro { position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; padding: 38px 34px; color: #fff; background: var(--grad-navy); display: flex; flex-direction: column; align-items: flex-start; }
.div-intro.alt { background: linear-gradient(160deg, #1366e8 0%, #0a2f78 55%, #041a3a 100%); }
.div-intro canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .7; }
.div-intro h2 { font-size: clamp(28px, 3vw, 38px); margin-top: 20px; line-height: 1.15; }
.div-intro .text-grad { background: linear-gradient(90deg, #8cc8ff, #3fa9ff); -webkit-background-clip: text; background-clip: text; }
.div-intro p { margin-top: 14px; color: rgba(255,255,255,.75); font-size: 15.5px; flex: 1; }
.div-intro .btn { margin-top: 26px; }
.svc-wide { display: flex; flex-direction: column; border-radius: 24px; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s, border-color .4s; }
.svc-wide:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(30,123,255,.35); }
.svc-wide-art { padding: 14px; background: var(--grad-navy); }
.svc-wide-art .svc-anim { margin: 0; height: 128px; background: rgba(2,12,31,.35); }
.svc-wide-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.svc-wide h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; }
.svc-wide h3 .ico { color: var(--blue-500); font-size: 22px; flex: none; }
.svc-wide p { margin-top: 10px; font-size: 14.5px; color: var(--muted); }
.svc-wide ul { margin-top: 16px; display: grid; gap: 8px; flex: 1; align-content: start; }
.svc-wide li { display: flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 500; }
.svc-wide li .ico { color: var(--green-500); font-size: 16px; flex: none; }
.svc-wide .svc-more { color: var(--blue-500); }
.svc-wide:hover .svc-more .ico { transform: translateX(5px); }

#packages { position: relative; overflow: hidden; }
#packages .mesh-bg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .45; pointer-events: none; }
#packages .container { position: relative; }
.bundle-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.bundle { position: relative; padding: 30px 26px; border-radius: 24px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; overflow: hidden; transition: transform .5s var(--ease), border-color .4s, background .4s; }
.bundle::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad-blue); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.bundle:hover { transform: translateY(-8px); border-color: rgba(63,169,255,.45); background: rgba(63,169,255,.08); }
.bundle:hover::after { transform: scaleX(1); }
.bundle-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--grad-blue); box-shadow: var(--shadow-blue); }
.bundle-ico .ico { font-size: 26px; }
.bundle h3 { font-size: 20px; margin-top: 22px; }
.bundle p { margin-top: 10px; font-size: 14.5px; color: rgba(255,255,255,.68); }
.bundle-items { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 26px; flex: 1; align-content: flex-start; }
.bundle-items li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: rgba(140,200,255,.1); border: 1px solid rgba(140,200,255,.2); color: #dcecff; }
.bundle-items .ico { color: var(--blue-400); font-size: 14px; }
.bundle .btn { align-self: flex-start; }

/* =========================================================
   CONTACT
   ========================================================= */
.chat-scene .pop { animation-duration: 7s; }
.typing-dots { animation: typingShow 7s steps(1) infinite; }
.typing-dots circle { transform-box: fill-box; animation: typingDot 1s ease-in-out infinite; }
.typing-dots circle:nth-of-type(2) { animation-delay: .15s; }
.typing-dots circle:nth-of-type(3) { animation-delay: .3s; }
@keyframes typingShow { 0%, 3% { opacity: 0; } 4%, 12% { opacity: 1; } 13%, 100% { opacity: 0; } }
@keyframes typingDot { 50% { transform: translateY(-3px); opacity: .5; } }
.float-ico { animation: floatY 5s ease-in-out infinite; }
.float-ico.f2 { animation-delay: -1.2s; }
.float-ico.f3 { animation-delay: -2.4s; }
.float-ico.f4 { animation-delay: -3.6s; }
.sc-ico { color: #8cc8ff; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sc-ico.fill { color: #22d39a; fill: currentColor; stroke: none; }

.contact-methods { position: relative; z-index: 2; margin-top: -90px; }
.c-method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.c-method { position: relative; display: flex; flex-direction: column; padding: 26px 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(4,26,58,.35); overflow: hidden; isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s, color .4s; }
.c-method::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad-navy); opacity: 0; transition: opacity .5s; }
.c-method:hover { transform: translateY(-8px); box-shadow: var(--shadow); color: #fff; }
.c-method:hover::before { opacity: 1; }
.c-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(30,123,255,.1); color: var(--blue-500); transition: background .4s, color .4s; }
.c-ico .ico { font-size: 24px; }
.m-whatsapp .c-ico { background: rgba(34,211,154,.14); color: #0e9f6e; }
.c-method:hover .c-ico { background: var(--grad-blue); color: #fff; }
.m-whatsapp:hover .c-ico { background: #22d39a; }
.c-label { margin-top: 18px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: color .4s; }
.c-method strong { margin-top: 6px; font-family: var(--font-head); font-size: 18px; word-break: break-word; }
.c-note { margin-top: 4px; font-size: 13.5px; color: var(--muted); transition: color .4s; }
.c-method:hover .c-label, .c-method:hover .c-note { color: rgba(255,255,255,.7); }
.c-go { position: absolute; right: 22px; top: 26px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--blue-500); transition: transform .5s var(--ease), border-color .4s, color .4s; }
.c-method:hover .c-go { transform: rotate(-45deg); border-color: rgba(255,255,255,.3); color: #fff; }

.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; align-items: start; }
.contact-form-card { padding: 44px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 70px -40px rgba(4,26,58,.35); }
.contact-form-card h2 { font-size: clamp(28px, 3.2vw, 40px); margin-top: 14px; }
.contact-form-card > p { margin-top: 12px; color: var(--muted); }
.contact-form-card .field label i { color: var(--red-500); font-style: normal; }
.contact-form-card .field textarea { min-height: 140px; }
.contact-form-card .form-note { display: flex; align-items: center; gap: 8px; }
.contact-form-card .form-note .ico { color: var(--green-500); }

.office-card { position: sticky; top: 110px; border-radius: 28px; overflow: hidden; background: var(--grad-navy); color: #fff; box-shadow: var(--shadow); scroll-margin-top: 110px; }
.office-map { position: relative; height: 280px; background: #0a2654; }
.office-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.office-body { padding: 30px 32px 34px; }
.office-body h3 { font-size: 24px; margin-top: 16px; }
.office-list { margin: 20px 0 26px; display: grid; gap: 14px; }
.office-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: rgba(255,255,255,.85); }
.office-list .ico { flex: none; width: 36px; height: 36px; padding: 9px; border-radius: 11px; background: rgba(140,200,255,.12); color: var(--blue-400); }
.office-list li > span, .office-list li > a { padding-top: 7px; }
.office-list a:hover { color: #fff; text-decoration: underline; }
.office-body .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.office-body .btn-outline:hover { background: #fff; color: var(--navy-900); }

@media (max-width: 1200px) {
  .bundle-grid { grid-template-columns: 1fr 1fr; }
  .c-method-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  .svc-wide-grid { grid-template-columns: 1fr 1fr; }
  .div-intro { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .office-card { position: static; }
  .orbit-wrap { max-width: 440px; }
}
@media (max-width: 760px) {
  .svc-wide-grid { grid-template-columns: 1fr; gap: 16px; }
  .div-intro { padding: 30px 24px; }
  .svc-wide-art .svc-anim { height: 104px; }
  .bundle-grid { grid-template-columns: 1fr; }
  .contact-methods { margin-top: -70px; }
  .c-method-grid { gap: 12px; }
  .c-method { padding: 18px 16px; }
  .c-go { display: none; }
  .c-method strong { font-size: 15px; }
  .c-ico { width: 44px; height: 44px; border-radius: 13px; }
  .c-label { margin-top: 12px; }
  .contact-form-card { padding: 28px 20px; border-radius: 22px; }
  .orbit-label { font-size: 12px; padding: 7px 11px; }
  .orbit-label.l1 { left: 0; top: 2%; }
  .orbit-label.l2 { right: 0; bottom: 2%; }
}
@media (max-width: 420px) {
  .c-note { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .orb-ring, .orb-node, .orb-pulse, .orbit-label, .float-ico, .typing-dots, .typing-dots circle { animation: none !important; }
}
.page-hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.page-hero h1 .line > span { display: inline-block; }
.office-map { background: linear-gradient(rgba(140,200,255,.07) 1px, transparent 1px) 0 0/28px 28px, linear-gradient(90deg, rgba(140,200,255,.07) 1px, transparent 1px) 0 0/28px 28px, #0a2654; }
@media (max-width: 760px) {
  .contact-form-card .form-actions .btn { flex: 1 1 100%; }
  .c-method strong { font-size: 14px; white-space: nowrap; }
}
@media (max-width: 480px) {
  .page-hero .hero-cta .btn { flex: 1 1 100%; justify-content: center; }
}

/* =========================================================
   ABOUT
   ========================================================= */
.motto-strip { display: inline-flex; align-items: center; gap: 14px; margin-top: 34px; padding: 12px 22px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); font: 700 14px/1 var(--font-head); letter-spacing: .14em; text-transform: uppercase; }
.motto-strip span:nth-of-type(2) { color: var(--blue-300); }
.motto-strip span:nth-of-type(3) { color: var(--blue-400); }
.motto-strip i { width: 1px; height: 16px; background: rgba(255,255,255,.3); }
.motto-scene .m-lab { fill: #fff; font: 700 14px var(--font-head); letter-spacing: .04em; }
.sc-ico.white { color: #fff; }
.grow-path { stroke-dasharray: 100; stroke-dashoffset: 100; animation: growPath 6s var(--ease) infinite; }
@keyframes growPath { 0% { stroke-dashoffset: 100; } 40%, 85% { stroke-dashoffset: 0; opacity: 1; } 95%, 100% { stroke-dashoffset: 0; opacity: 0; } }

.intro-grid .lead + .lead { margin-top: 14px; }
.brand-card { position: relative; overflow: hidden; isolation: isolate; border-radius: 30px; padding: 56px 44px 40px; text-align: center; color: #fff; background: radial-gradient(500px 300px at 80% 0%, #1366e8 0%, transparent 60%), var(--grad-navy); box-shadow: var(--shadow); }
.brand-card canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .8; }
.brand-card img { width: min(300px, 80%); height: auto; margin-inline: auto; animation: floatY 6s ease-in-out infinite; }
.brand-tag { margin-top: 26px; font: 600 18px/1.4 var(--font-head); color: var(--blue-300); }
.brand-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.brand-meta span { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); }
.brand-meta .ico { color: var(--blue-400); }

#approach { position: relative; overflow: hidden; }
#approach .mesh-bg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .45; pointer-events: none; }
#approach .container { position: relative; }
.motto-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: m; }
.motto-card { position: relative; padding: 40px 34px; border-radius: 26px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); overflow: hidden; transition: transform .5s var(--ease), border-color .4s, background .4s; }
.motto-card:hover { transform: translateY(-8px); border-color: rgba(63,169,255,.45); background: rgba(63,169,255,.08); }
.motto-num { position: absolute; right: 22px; top: 6px; font: 800 96px/1 var(--font-head); color: transparent; -webkit-text-stroke: 1.5px rgba(140,200,255,.18); transition: -webkit-text-stroke-color .4s, transform .6s var(--ease); }
.motto-card:hover .motto-num { -webkit-text-stroke-color: rgba(140,200,255,.5); transform: translateY(6px); }
.motto-card .w-ico { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--grad-blue); box-shadow: var(--shadow-blue); }
.motto-card .w-ico .ico { font-size: 28px; }
.motto-card h3 { font-size: 26px; margin-top: 26px; }
.motto-card p { margin-top: 12px; color: rgba(255,255,255,.7); font-size: 15.5px; }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card { position: relative; padding: 44px 42px; border-radius: 28px; background: var(--bg-soft); border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s; }
.mv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.mv-card.alt { background: var(--grad-navy); color: #fff; border-color: transparent; }
.mv-card.alt .eyebrow { color: var(--blue-400); }
.mv-card .w-ico { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: rgba(30,123,255,.12); color: var(--blue-500); margin-bottom: 26px; }
.mv-card.alt .w-ico { background: var(--grad-blue); color: #fff; }
.mv-card .w-ico .ico { font-size: 27px; }
.mv-card h3 { margin-top: 16px; font-size: clamp(20px, 2vw, 25px); line-height: 1.4; font-weight: 600; }
.values-head { margin-top: 110px; }
.feature-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.team-grid { grid-template-columns: repeat(6, 1fr); }

@media (max-width: 1200px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .motto-grid, .mv-grid { grid-template-columns: 1fr; }
  .feature-grid.cols-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .motto-strip { font-size: 12px; gap: 10px; padding: 10px 16px; }
  .brand-card { padding: 40px 22px 30px; }
  .mv-card { padding: 30px 24px; }
  .motto-card { padding: 30px 24px; }
  .motto-num { font-size: 72px; }
  .values-head { margin-top: 70px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .grow-path { animation: none; stroke-dashoffset: 0; }
  .brand-card img { animation: none; }
}
.m-node { animation: floatY 5s ease-in-out infinite; }
.m-node.n2 { animation-delay: -1.2s; }
.m-node.n3 { animation-delay: -2.4s; }
.m-node.n4 { animation-delay: -3.6s; }
@media (prefers-reduced-motion: reduce) { .m-node { animation: none; } }

/* =========================================================
   LEGAL PAGES (privacy, terms)
   ========================================================= */
.legal-hero { padding-bottom: 150px; text-align: center; }
.legal-hero-inner { max-width: 820px; display: flex; flex-direction: column; align-items: center; }
.legal-hero .breadcrumb { justify-content: center; }
.legal-hero .hero-sub { margin-inline: auto; }
.legal-badge { position: relative; width: 78px; height: 78px; border-radius: 24px; display: grid; place-items: center; background: var(--grad-blue); box-shadow: var(--shadow-blue); margin-bottom: 8px; animation: floatY 5s ease-in-out infinite; }
.legal-badge::after { content: ""; position: absolute; inset: -10px; border-radius: 30px; border: 1.5px solid rgba(140,200,255,.35); animation: badgeRing 3s ease-out infinite; }
@keyframes badgeRing { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.legal-badge .ico { font-size: 36px; color: #fff; }
.legal-date { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; padding: 9px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.8); }
.legal-date .ico { color: var(--blue-400); }

.legal-wrap { padding-top: 60px; }
.legal-grid { display: grid; grid-template-columns: 300px 1fr; gap: 70px; align-items: start; }
.legal-toc { position: sticky; top: 110px; }
.legal-toc ol { display: grid; gap: 2px; border-left: 2px solid var(--line); }
.legal-toc a { display: flex; gap: 12px; align-items: baseline; padding: 9px 14px; margin-left: -2px; border-left: 2px solid transparent; font-size: 14.5px; color: var(--muted); transition: color .3s, border-color .3s, background .3s; }
.legal-toc a span { font: 700 11px/1 var(--font-head); color: rgba(91,107,134,.6); transition: color .3s; }
.legal-toc a:hover { color: var(--ink); }
.legal-toc a.is-active { color: var(--blue-500); border-left-color: var(--blue-500); background: linear-gradient(90deg, rgba(30,123,255,.08), transparent); font-weight: 600; }
.legal-toc a.is-active span { color: var(--blue-500); }
.toc-help { margin-top: 28px; padding: 22px; border-radius: 20px; background: var(--bg-soft); border: 1px solid var(--line); }
.toc-help strong { font-family: var(--font-head); }
.toc-help p { margin: 6px 0 14px; font-size: 14px; color: var(--muted); }

.legal-body { max-width: 780px; }
.legal-sec { padding: 34px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.legal-sec:first-child { padding-top: 0; }
.legal-sec h2 { display: flex; align-items: center; gap: 14px; font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 16px; }
.legal-sec h2 span { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 13px; color: var(--blue-500); background: rgba(30,123,255,.1); }
.legal-sec p { color: #3b4a66; font-size: 16.5px; line-height: 1.75; }
.legal-sec p + p, .legal-sec ul + p, .legal-sec p + ul { margin-top: 14px; }
.legal-sec ul { display: grid; gap: 10px; }
.legal-sec li { position: relative; padding-left: 26px; color: #3b4a66; font-size: 16px; line-height: 1.6; }
.legal-sec li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--grad-blue); }
.legal-sec a { color: var(--blue-500); font-weight: 600; }
.legal-sec a:hover { text-decoration: underline; }
.legal-next { display: flex; align-items: center; gap: 14px; margin-top: 44px; padding: 24px 28px; border-radius: 22px; color: #fff; background: var(--grad-navy); transition: transform .5s var(--ease), box-shadow .5s; }
.legal-next span { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-300); }
.legal-next strong { font: 700 20px var(--font-head); flex: 1; }
.legal-next .ico { font-size: 22px; transition: transform .4s var(--ease); }
.legal-next:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.legal-next:hover .ico { transform: translateX(6px); }

@media (max-width: 1024px) {
  .legal-grid { grid-template-columns: 1fr; gap: 30px; }
  .legal-toc { position: static; }
  .legal-toc ol { grid-template-columns: 1fr 1fr; border-left: 0; gap: 4px 16px; }
  .legal-toc a { border-left: 0; margin: 0; padding: 7px 0; }
  .legal-toc a.is-active { background: none; }
  .toc-help { display: none; }
}
@media (max-width: 760px) {
  .legal-hero { padding-bottom: 120px; }
  .legal-toc ol { grid-template-columns: 1fr; }
  .legal-sec p, .legal-sec li { font-size: 15.5px; }
  .legal-next { flex-wrap: wrap; padding: 20px; }
  .legal-next span { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .legal-badge, .legal-badge::after { animation: none; }
}
.legal-toc ol { list-style: none; padding: 0; margin: 0; }

/* =========================================================
   404
   ========================================================= */
.nf-hero { min-height: 100vh; display: flex; align-items: center; padding: calc(var(--header-h) + 80px) 0 90px; text-align: center; }
.nf-inner { display: flex; flex-direction: column; align-items: center; max-width: 900px; }
.nf-code { display: flex; align-items: center; justify-content: center; gap: clamp(8px, 2vw, 22px); }
.nf-digit { font: 800 clamp(110px, 18vw, 220px)/.9 var(--font-head); background: linear-gradient(180deg, #fff 20%, #3fa9ff 120%); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 20px 60px rgba(30,123,255,.25); animation: nfGlitch 4s steps(1) infinite; }
.nf-digit:last-child { animation-delay: -2s; }
@keyframes nfGlitch { 0%, 92%, 100% { transform: none; opacity: 1; } 93% { transform: translate(4px, -2px) skewX(-8deg); opacity: .7; } 95% { transform: translate(-4px, 2px); opacity: .9; } 97% { transform: translate(2px, 0) skewX(6deg); } }
.nf-radar { width: clamp(100px, 16vw, 190px); height: auto; filter: drop-shadow(0 0 30px rgba(30,123,255,.45)); }
.nf-sweep { transform-origin: 100px 100px; animation: orbSpin 3s linear infinite; }
.nf-blip { animation: blink 1s steps(1) infinite; }
.nf-status { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; padding: 8px 14px; border-radius: 8px; font: 700 12px/1 var(--font-body); letter-spacing: .16em; color: #ff8a95; background: rgba(255,77,94,.1); border: 1px solid rgba(255,77,94,.3); }
.nf-status i { width: 8px; height: 8px; border-radius: 50%; background: #ff4d5e; animation: blink 1s steps(1) infinite; }
.nf-hero h1 { margin-top: 20px; }
.nf-hero .hero-sub { margin-inline: auto; }
.nf-hero .hero-cta { justify-content: center; }
.nf-quick { margin-top: 54px; width: 100%; }
.nf-quick > p { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.nf-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.nf-link { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; text-align: left; font-size: 14.5px; font-weight: 600; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: background .3s, border-color .3s, transform .4s var(--ease); }
.nf-link .ico:first-child { color: var(--blue-400); font-size: 20px; }
.nf-link span { flex: 1; }
.nf-link .ico:last-child { opacity: .4; transition: transform .3s, opacity .3s; }
.nf-link:hover { background: rgba(63,169,255,.1); border-color: rgba(63,169,255,.4); transform: translateY(-3px); }
.nf-link:hover .ico:last-child { opacity: 1; transform: translateX(4px); }
@media (max-width: 760px) {
  .nf-links { grid-template-columns: 1fr 1fr; }
  .nf-link { font-size: 13px; padding: 12px; }
  .nf-hero .hero-cta .btn { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .nf-digit, .nf-sweep, .nf-blip, .nf-status i { animation: none; }
}
