/* =========================================================
   VisioNex Tech Services — main stylesheet
   Colours and fonts are defined once below in :root.
   ========================================================= */
:root {
  --navy: #0B1F46;
  --navy-2: #0F2A5C;
  --navy-3: #16367A;
  --royal: #075BC5;
  --royal-d: #0549A0;
  --cyan: #12C8F5;
  --white: #FFFFFF;
  --paper: #F3F8FF;
  --ink: #14233D;
  --ink-2: #44546F;
  --ink-3: #6B7A93;
  --line: #D9E4F4;
  --line-d: rgba(255,255,255,.12);
  --wa: #1FA855;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 24px;
  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 40px);
  --shadow: 0 1px 2px rgba(11,31,70,.06), 0 12px 32px -12px rgba(11,31,70,.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--royal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--royal-d); }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 999; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; color: #fff; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: var(--navy); line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 1.8vw, 1.55rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--ink-3); }
.small { font-size: .9rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--paper { background: var(--paper); }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head p { color: var(--ink-2); font-size: 1.08rem; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .95rem; font-weight: 600; color: var(--royal); margin-bottom: 14px; }
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--cyan); border-radius: 2px; }
.dark .kicker { color: var(--cyan); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: .98rem; text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--royal); color: #fff; }
.btn--primary:hover { background: var(--royal-d); color: #fff; }
.btn--ghost { border-color: var(--line); color: var(--navy); background: #fff; }
.btn--ghost:hover { border-color: var(--royal); color: var(--royal); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--paper); color: var(--royal); }
.btn--outline-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--outline-light:hover { border-color: var(--cyan); color: #fff; background: rgba(18,200,245,.08); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #178c46; color: #fff; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .9rem; }
.btn:active { transform: translateY(1px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Announcement ---------- */
.announce { background: var(--navy); color: #DCE8FF; font-size: .9rem; text-align: center; padding: 8px var(--gut); }
.announce a { color: var(--cyan); font-weight: 700; }
.announce[hidden] { display: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(11,31,70,.4); }
.nav-bar { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 44px; width: auto; }
.nav { margin-left: auto; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav a, .nav .dd-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 11px; white-space: nowrap; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; background: none; border: 0; cursor: pointer; }
.nav a:hover, .nav .dd-btn:hover, .nav a[aria-current="page"] { color: var(--royal); background: var(--paper); }
.dd { position: relative; }
.dd-btn svg { width: 14px; height: 14px; transition: transform .2s; }
.dd-menu { position: absolute; top: calc(100% + 8px); left: -8px; min-width: 300px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 8px; list-style: none; margin: 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.dd-menu a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; width: 100%; white-space: normal; }
.dd-menu a small { display: block; font-weight: 500; color: var(--ink-3); font-size: .82rem; line-height: 1.4; }
.dd-menu .ico { width: 34px; height: 34px; border-radius: 10px; background: var(--paper); color: var(--royal); display: grid; place-items: center; flex: none; }
.dd-menu .ico svg { width: 18px; height: 18px; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu, .dd.open .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd.open .dd-btn svg { transform: rotate(180deg); }
.dd-menu--wide { min-width: 0; width: 600px; display: grid; grid-template-columns: 1fr 1fr; }
.nav-cta { display: flex; gap: 8px; align-items: center; flex: none; }
.nav-cta .btn { white-space: nowrap; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center; cursor: pointer; color: var(--navy); }
.menu-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1320px) {
  .nav-cta .btn--wa { display: none; }
}
@media (max-width: 1120px) and (min-width: 981px) {
  .nav a, .nav .dd-btn { padding: 10px 8px; font-size: .9rem; }
  .brand img { height: 38px; }
}
@media (max-width: 980px) {
  .site-header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .nav-cta { display: none; }
  .nav { position: fixed; inset: 76px 0 0 0; background: #fff; overflow-y: auto; padding: 16px var(--gut) 40px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .22s ease, transform .22s ease, visibility .22s; margin: 0; border-top: 1px solid var(--line); }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li { border-bottom: 1px solid var(--line); }
  .nav a, .nav .dd-btn { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.05rem; border-radius: 0; }
  .nav a:hover, .nav .dd-btn:hover { background: none; }
  .dd-menu, .dd-menu--wide { width: auto; position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px; min-width: 0; display: none; grid-template-columns: 1fr; }
  .dd:hover .dd-menu { display: none; }
  .dd.open .dd-menu, .dd.open:hover .dd-menu { display: grid; }
  .nav .dd-menu a { padding: 10px 4px; justify-content: flex-start; }
  .nav .mobile-cta { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border: 0; }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 981px) { .nav .mobile-cta { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: #DCE6F7; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 78% 40%, rgba(7,91,197,.55), transparent 70%),
    radial-gradient(40% 40% at 90% 90%, rgba(18,200,245,.18), transparent 70%),
    linear-gradient(180deg, #0B1F46 0%, #0A1A3C 100%);
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(70% 80% at 70% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(70% 80% at 70% 40%, #000 30%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-top: clamp(56px, 8vw, 110px); padding-bottom: clamp(64px, 8vw, 110px); }
.hero h1 { color: #fff; max-width: 13ch; }
.hero h1 .soft { color: #9FC3FF; font-style: italic; }
.hero .lead { color: #BFD0EE; }
.hero .btn-row { margin-top: 32px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 40px; padding: 0; list-style: none; font-size: .92rem; color: #A9BCDD; }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 18px; height: 18px; color: var(--cyan); }

/* the lens */
.lens { position: relative; width: min(100%, 520px); aspect-ratio: 1; margin-left: auto; }
.lens svg.rings { width: 100%; height: 100%; overflow: visible; }
.lens .ring { fill: none; stroke: rgba(159,195,255,.22); stroke-width: 1; }
.lens .ring--dash { stroke: rgba(18,200,245,.45); stroke-dasharray: 2 10; stroke-linecap: round; transform-origin: 260px 260px; animation: spin 80s linear infinite; }
.lens .sweep { fill: none; stroke: url(#sweepGrad); stroke-width: 3; stroke-linecap: round; transform-origin: 260px 260px; animation: sweep 2.4s cubic-bezier(.6,.05,.25,1) .3s both, spin 26s linear 2.7s infinite; }
.lens .iris { fill: url(#irisGrad); }
.lens .pupil { fill: #071735; }
.lens .glint { fill: #fff; opacity: .9; }
.lens .trace { fill: none; stroke: rgba(18,200,245,.7); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 1.4s ease .6s forwards; }
.lens .node { fill: #0B1F46; stroke: var(--cyan); stroke-width: 2; }
.orbit { position: absolute; inset: 0; list-style: none; margin: 0; padding: 0; }
.orbit li { position: absolute; transform: translate(-50%, -50%); }
.orbit a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 8px 14px 8px 10px; border-radius: 999px; background: rgba(11,31,70,.78); border: 1px solid rgba(159,195,255,.25); color: #E6EEFF; font-size: .86rem; font-weight: 600; text-decoration: none; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; animation: pop .5s ease forwards; transition: border-color .2s, background-color .2s; }
.orbit a:hover { border-color: var(--cyan); background: rgba(7,91,197,.6); color: #fff; }
.orbit a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(18,200,245,.18); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes sweep { from { transform: rotate(-200deg); opacity: 0; } to { transform: rotate(0); opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .lens { margin: 8px auto 0; width: min(100%, 420px); }
  .orbit a { font-size: .78rem; padding: 6px 10px 6px 8px; }
}
@media (max-width: 480px) { .orbit { display: none; } .lens { width: 78%; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--navy); color: #C9D7F0; position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 90% at 90% 0%, rgba(7,91,197,.6), transparent 70%), radial-gradient(30% 50% at 100% 100%, rgba(18,200,245,.16), transparent 70%); }
.page-hero .wrap { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 88px); }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 20ch; }
.page-hero .lead { color: #BFD0EE; }
.crumbs { font-size: .88rem; margin-bottom: 18px; color: #93A8CC; }
.crumbs a { color: #C9D7F0; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs span[aria-hidden] { margin: 0 8px; opacity: .6; }
.page-hero .btn-row { margin-top: 28px; }

/* ---------- Service index (home + services) ---------- */
.svc-index { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.svc-row { display: grid; grid-template-columns: 52px 1fr auto; gap: 18px; align-items: start; padding: 26px 24px 26px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; position: relative; }
.svc-row:nth-child(odd) { border-right: 1px solid var(--line); }
.svc-row:nth-child(even) { padding-left: 24px; }
.svc-row .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--paper); color: var(--royal); display: grid; place-items: center; transition: background-color .2s, color .2s; }
.svc-row .ico svg { width: 24px; height: 24px; }
.svc-row h3 { margin: 2px 0 6px; font-size: 1.35rem; }
.svc-row p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.svc-row .go { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--navy); margin-top: 6px; transition: all .2s; }
.svc-row .go svg { width: 16px; height: 16px; }
.svc-row:hover .ico { background: var(--royal); color: #fff; }
.svc-row:hover .go { background: var(--navy); color: #fff; border-color: var(--navy); }
.svc-row:hover h3 { color: var(--royal); }
@media (max-width: 760px) {
  .svc-index { grid-template-columns: 1fr; }
  .svc-row, .svc-row:nth-child(even) { padding: 22px 0; border-right: 0 !important; grid-template-columns: 46px 1fr auto; }
  .svc-row .ico { width: 46px; height: 46px; }
}

/* ---------- Dark band ---------- */
.dark { background: var(--navy); color: #C9D7F0; position: relative; isolation: isolate; overflow: hidden; }
.dark h2, .dark h3, .dark h4 { color: #fff; }
.dark .section-head p, .dark .lead { color: #B5C7E6; }
.dark a:not(.btn) { color: var(--cyan); }

/* Hospitality tabs */
.hosp { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.tabs { display: flex; flex-direction: column; gap: 6px; margin: 28px 0; }
.tab { text-align: left; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--r); border: 1px solid transparent; background: transparent; color: #C9D7F0; cursor: pointer; transition: background-color .2s, border-color .2s; }
.tab .ico { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.06); display: grid; place-items: center; color: #9FC3FF; }
.tab .ico svg { width: 20px; height: 20px; }
.tab strong { display: block; color: #fff; font-size: 1.02rem; }
.tab span.d { display: block; font-size: .9rem; color: #93A8CC; }
.tab:hover { background: rgba(255,255,255,.04); }
.tab[aria-selected="true"] { background: rgba(7,91,197,.28); border-color: rgba(18,200,245,.35); }
.tab[aria-selected="true"] .ico { background: var(--cyan); color: var(--navy); }

.screen { background: #F7FAFF; border-radius: 18px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08); overflow: hidden; color: var(--ink); }
.screen-top { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--line); font-size: .82rem; color: var(--ink-3); }
.screen-top i { width: 10px; height: 10px; border-radius: 50%; background: #E3EAF5; display: inline-block; }
.screen-top b { margin-left: 8px; color: var(--navy); font-weight: 700; }
.screen-body { padding: 18px; min-height: 340px; }
.panel { display: none; animation: pop .35s ease; }
.panel.is-active { display: block; }
.screen-cap { font-size: .8rem; color: #93A8CC; margin-top: 12px; }
.mini-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.mini-kpis div { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.mini-kpis small { display: block; color: var(--ink-3); font-size: .74rem; }
.mini-kpis b { font-size: 1.05rem; color: var(--navy); }
.roomgrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.roomgrid span { aspect-ratio: 1.3; border-radius: 6px; font-size: .72rem; display: grid; place-items: center; font-weight: 700; }
.r-free { background: #E7F7EE; color: #1A7A45; }
.r-occ { background: #DCE9FF; color: var(--royal); }
.r-dirty { background: #FFF1D9; color: #A0620B; }
.r-out { background: #EEF1F5; color: #8A97AB; }
.legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; font-size: .74rem; color: var(--ink-3); }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; background: currentColor; opacity: .5; }
.cm-table { width: 100%; border-collapse: collapse; font-size: .8rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.cm-table th, .cm-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.cm-table th { background: #F0F5FD; color: var(--ink-3); font-weight: 600; font-size: .74rem; }
.cm-table td.ok { color: #1A7A45; font-weight: 700; }
.sync { display: inline-flex; gap: 6px; align-items: center; }
.sync::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2BB673; }
.be { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.be-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; font-size: .82rem; }
.be-card .ph { height: 64px; border-radius: 8px; background: linear-gradient(135deg, #CFE0FA, #EAF2FF); margin-bottom: 8px; }
.be-card b { display: block; color: var(--navy); }
.be-bar { grid-column: 1 / -1; display: flex; gap: 8px; }
.be-bar span { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font-size: .78rem; color: var(--ink-3); }
.be-bar em { font-style: normal; background: var(--royal); color: #fff; border-radius: 8px; padding: 8px 14px; font-size: .78rem; font-weight: 700; }
.pos { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.pos-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pos-items span { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 8px; font-size: .74rem; font-weight: 600; color: var(--navy); text-align: center; }
.pos-bill { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px; font-size: .78rem; }
.pos-bill div { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px dashed var(--line); }
.pos-bill .tot { border: 0; font-weight: 800; color: var(--navy); padding-top: 8px; }
.ota-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ota-steps li { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: .84rem; }
.ota-steps li b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #E7F7EE; color: #1A7A45; font-size: .74rem; flex: none; }
.ota-steps li.now b { background: var(--royal); color: #fff; }
.ota-steps li.todo b { background: #EEF1F5; color: #8A97AB; }
@media (max-width: 900px) { .hosp { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .roomgrid { grid-template-columns: repeat(4, 1fr); } .pos { grid-template-columns: 1fr; } .mini-kpis { grid-template-columns: 1fr 1fr; } .mini-kpis div:last-child { display: none; } }

.resort-strip { margin-top: 28px; display: grid; grid-template-columns: 220px 1fr; gap: 18px; align-items: center; background: rgba(255,255,255,.04); border: 1px solid var(--line-d); border-radius: var(--r); padding: 12px; }
.resort-strip img { border-radius: 10px; width: 100%; height: 100px; object-fit: cover; }
.resort-strip p { margin: 0; font-size: .95rem; }
@media (max-width: 520px) { .resort-strip { grid-template-columns: 1fr; } }

/* ---------- Why list ---------- */
.why { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 80px); }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.why-list li { padding: 20px 0; border-top: 1px solid var(--line); }
.why-list h3 { font-family: var(--sans); font-weight: 700; font-size: 1.05rem; margin: 0 0 6px; display: flex; gap: 10px; align-items: center; }
.why-list h3 svg { width: 20px; height: 20px; color: var(--royal); flex: none; }
.why-list p { margin: 0; color: var(--ink-2); font-size: .96rem; }
@media (max-width: 860px) { .why { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .why-list { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.steps li { position: relative; padding: 28px 24px 0 0; border-top: 2px solid var(--line); counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; top: -17px; left: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .88rem; }
.steps li:first-child { border-top-color: var(--cyan); }
.steps h3 { font-size: 1.25rem; margin-top: 8px; }
.steps p { color: var(--ink-2); font-size: .96rem; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; gap: 40px 24px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: 420px 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.portrait { position: relative; }
.portrait img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.portrait::after { content: ""; position: absolute; inset: auto -14px -14px auto; width: 60%; height: 60%; border: 2px solid var(--cyan); border-radius: var(--r-lg); z-index: -1; }
.portrait figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; background: rgba(11,31,70,.88); color: #fff; padding: 14px 18px; border-radius: var(--r); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.portrait figcaption strong { display: block; font-family: var(--serif); font-size: 1.35rem; font-weight: 500; }
.portrait figcaption span { color: #9FC3FF; font-size: .92rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 20px 0 28px; }
.tags li { padding: 7px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: .9rem; font-weight: 600; color: var(--navy); }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } .portrait { max-width: 420px; } }

/* ---------- Pricing ---------- */
.price-group { margin-bottom: clamp(48px, 6vw, 80px); }
.price-group > header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 32px; margin-bottom: 24px; }
.price-group > header p { margin: 0; color: var(--ink-2); max-width: 60ch; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.plan { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 26px; position: relative; }
.plan--featured { border: 2px solid var(--royal); box-shadow: var(--shadow); }
.plan .badge { position: absolute; top: -13px; left: 24px; background: var(--royal); color: #fff; font-size: .78rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-family: var(--sans); font-weight: 700; font-size: 1.15rem; margin: 0 0 4px; }
.plan .for { color: var(--ink-3); font-size: .92rem; margin: 0 0 18px; }
.plan .price { font-family: var(--serif); font-size: 2.5rem; color: var(--navy); line-height: 1; }
.plan .price small { font-family: var(--sans); font-size: .9rem; color: var(--ink-3); margin-left: 4px; }
.plan .from { font-size: .82rem; color: var(--ink-3); display: block; margin-bottom: 6px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; font-size: .95rem; color: var(--ink-2); }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.plan li svg { width: 18px; height: 18px; color: var(--royal); margin-top: 3px; }
.plan .btn { margin-top: auto; }
.price-note { background: var(--paper); border-left: 3px solid var(--cyan); padding: 18px 22px; border-radius: 0 var(--r) var(--r) 0; color: var(--ink-2); font-size: .95rem; }
.loading { color: var(--ink-3); padding: 24px 0; }

/* ---------- Generic cards & content ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.feature { padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.feature .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--paper); color: var(--royal); display: grid; place-items: center; margin-bottom: 14px; }
.feature .ico svg { width: 22px; height: 22px; }
.feature h3 { font-family: var(--sans); font-weight: 700; font-size: 1.08rem; margin-bottom: 6px; }
.feature p { color: var(--ink-2); font-size: .95rem; margin: 0; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--ink-2); }
.checks svg { width: 20px; height: 20px; color: var(--royal); margin-top: 3px; }
.dark .checks li { color: #C9D7F0; }
.dark .checks svg { color: var(--cyan); }
.offer-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; list-style: none; margin: 0; padding: 0; }
.offer-list li { padding: 18px 0; border-top: 1px solid var(--line); }
.offer-list strong { display: block; color: var(--navy); font-size: 1.04rem; margin-bottom: 2px; }
.offer-list span { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 680px) { .offer-list { grid-template-columns: 1fr; } }
.aside-box { background: var(--paper); border-radius: var(--r-lg); padding: 30px; position: sticky; top: 100px; }
.aside-box h3 { font-size: 1.4rem; }

.module { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 56px); padding: clamp(36px, 5vw, 56px) 0; border-top: 1px solid var(--line); }
.module:first-of-type { border-top: 0; padding-top: 0; }
.module .ico { width: 56px; height: 56px; border-radius: 16px; background: var(--navy); color: var(--cyan); display: grid; place-items: center; margin-bottom: 16px; }
.module .ico svg { width: 26px; height: 26px; }
.module h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.module .who { font-size: .95rem; color: var(--ink-3); }
@media (max-width: 860px) { .module { grid-template-columns: 1fr; } }

.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 700; color: var(--navy); position: relative; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--royal); border-bottom: 2px solid var(--royal); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--ink-2); margin: 0 0 18px; max-width: 70ch; }

.note { font-size: .9rem; color: var(--ink-3); border-left: 3px solid var(--line); padding-left: 14px; }
.dark .note { color: #93A8CC; border-color: var(--line-d); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--royal) 0%, #0A3E97 55%, var(--navy) 100%); color: #DCE8FF; border-radius: var(--r-lg); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1.3fr auto; gap: 28px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 1px solid rgba(18,200,245,.35); box-shadow: 0 0 0 40px rgba(18,200,245,.05), 0 0 0 80px rgba(18,200,245,.03); }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; max-width: 56ch; }
.cta-band .btn-row { position: relative; z-index: 1; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.post-card:hover { border-color: var(--royal); color: inherit; }
.post-card .cover { aspect-ratio: 16 / 9; background: var(--navy); position: relative; overflow: hidden; }
.post-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.cover-art { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(60% 80% at 80% 20%, rgba(7,91,197,.9), transparent 70%), var(--navy); }
.cover-art svg { width: 64px; height: 64px; color: var(--cyan); opacity: .9; }
.cover-art::after { content: ""; position: absolute; width: 170px; height: 170px; border-radius: 50%; border: 1px dashed rgba(18,200,245,.4); }
.post-card .body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: .84rem; color: var(--ink-3); margin-bottom: 8px; display: flex; gap: 14px; flex-wrap: wrap; }
.post-meta .cat { color: var(--royal); font-weight: 700; }
.post-card h3 { font-size: 1.32rem; margin-bottom: 10px; }
.post-card p { color: var(--ink-2); font-size: .95rem; margin: 0; }
.post-card:hover h3 { color: var(--royal); }
@media (max-width: 960px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .posts { grid-template-columns: 1fr; } }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy); font-weight: 600; font-size: .9rem; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.blog-search { width: 100%; max-width: 380px; }

.article { max-width: 740px; margin: 0 auto; }
.article .prose { font-size: 1.1rem; line-height: 1.8; }
.prose h2 { font-size: 1.85rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.4rem; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--cyan); font-family: var(--serif); font-size: 1.3rem; color: var(--navy); }
.prose img { border-radius: var(--r); margin: 1.5em 0; }
.prose code { background: var(--paper); padding: 2px 6px; border-radius: 6px; font-size: .92em; }
.prose pre { background: var(--navy); color: #E6EEFF; padding: 18px; border-radius: var(--r); overflow-x: auto; }
.prose pre code { background: none; padding: 0; }
.article-cover { border-radius: var(--r-lg); overflow: hidden; margin: -40px 0 40px; aspect-ratio: 16/8; background: var(--navy); position: relative; box-shadow: var(--shadow); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.share { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- Portfolio ---------- */
.work { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.work-card { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.work-card .shot { aspect-ratio: 16/10; background: var(--paper); }
.work-card .shot img { width: 100%; height: 100%; object-fit: cover; }
.work-card .body { padding: 22px; }
.empty { border: 2px dashed var(--line); border-radius: var(--r-lg); padding: clamp(28px, 5vw, 56px); background: var(--paper); }
.empty h3 { margin-bottom: 8px; }
.demo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 24px; }
.demo-grid div { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 14px; font-weight: 700; color: var(--navy); font-size: .95rem; }
.demo-grid svg { width: 22px; height: 22px; color: var(--royal); margin-bottom: 10px; }
@media (max-width: 860px) { .work { grid-template-columns: 1fr; } .demo-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .92rem; color: var(--navy); }
.field label .opt { font-weight: 500; color: var(--ink-3); }
input, select, textarea { font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%; min-height: 48px; transition: border-color .2s, box-shadow .2s; }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--royal); box-shadow: 0 0 0 4px rgba(7,91,197,.12); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #C53030; }
.field .err { color: #C53030; font-size: .84rem; display: none; }
.field.invalid .err { display: block; }
.form-foot { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 22px; }
.form-status { font-size: .92rem; color: var(--ink-2); }
.form-status.ok { color: #1A7A45; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 600px) { .fields { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 4px; }
.contact-list li { display: grid; grid-template-columns: 46px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--paper); color: var(--royal); display: grid; place-items: center; }
.contact-list .ico svg { width: 20px; height: 20px; }
.contact-list small { display: block; color: var(--ink-3); font-size: .84rem; }
.contact-list a, .contact-list span.v { color: var(--navy); font-weight: 700; text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--royal); }
.map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; background: var(--paper); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Legal ---------- */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.6rem; margin-top: 1.8em; }

/* ---------- Footer ---------- */
.site-footer { background: #081734; color: #A9BCDD; padding: clamp(56px, 7vw, 88px) 0 28px; font-size: .95rem; }
.site-footer a { color: #DCE6F7; text-decoration: none; }
.site-footer a:hover { color: var(--cyan); text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.foot-brand img { height: 46px; width: auto; margin-bottom: 18px; }
.foot-brand p { max-width: 36ch; }
.site-footer h2 { font-family: var(--sans); font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: 14px; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: .86rem; color: #7F93B7; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; }
.social a:hover { border-color: var(--cyan); }
.social svg { width: 18px; height: 18px; }
.social a[hidden] { display: none; }
.udyam { display: inline-flex; gap: 8px; align-items: center; margin-top: 16px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; font-size: .84rem; }
.udyam svg { width: 16px; height: 16px; color: var(--cyan); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(31,168,85,.7); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }
.to-top { position: fixed; right: 26px; bottom: 88px; z-index: 89; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); display: grid; place-items: center; cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; box-shadow: var(--shadow); }
.to-top.show { opacity: 1; visibility: visible; }
.to-top svg { width: 18px; height: 18px; }

/* Reveal (only one gentle effect, used on key blocks) */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .lens .trace { stroke-dashoffset: 0; }
  .orbit a { opacity: 1; }
}

@media print {
  .site-header, .wa-float, .to-top, .site-footer, .announce { display: none; }
}

/* ---------- Hero: VisioNex logo eye ---------- */
.lens .vx-eye { filter: drop-shadow(0 0 28px rgba(18,200,245,.35)) drop-shadow(0 18px 30px rgba(0,0,0,.35)); }
.lens .vx-in { transform-box: fill-box; transform-origin: center; animation: vx-in 1s cubic-bezier(.2,.8,.2,1) .15s both; }
.lens .vx-trace { stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 1.3s ease .6s forwards; }
.lens .vx-node { transform-box: fill-box; transform-origin: center; animation: vx-pop .5s cubic-bezier(.3,1.5,.5,1) 1.4s both; }
.lens .vx-ring { transform-origin: 0 0; animation: vx-sway 7s ease-in-out 1s infinite alternate; }
.lens .vx-chev { animation: vx-nudge 3.4s ease-in-out 1.6s infinite; }
.lens .vx-pupil { transition: transform .45s cubic-bezier(.25,1.2,.4,1); }
@keyframes vx-in { from { opacity: 0; transform: scale(.88); } to { opacity: 1; transform: none; } }
@keyframes vx-pop { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: none; } }
@keyframes vx-sway { from { transform: rotate(-14deg); } to { transform: rotate(12deg); } }
@keyframes vx-nudge { 0%, 60%, 100% { transform: translateX(0); } 30% { transform: translateX(16px); } }
@media (prefers-reduced-motion: reduce) {
  .lens .vx-trace { stroke-dashoffset: 0; }
  .lens .vx-node, .lens .vx-in { opacity: 1; }
}
