/* =========================================================
   NGOSL — NGO & INGO Support Portal of Sri Lanka
   ========================================================= */

:root {
  --navy-950: #050d24;
  --navy-900: #0a1633;
  --navy-800: #0f2150;
  --navy-700: #16307a;
  --blue-600: #0b4fd8;
  --blue-500: #1d63ff;
  --blue-400: #4f86ff;
  --blue-100: #e6eeff;
  --blue-50: #f3f7ff;
  --amber-400: #ffb547;
  --amber-100: #fff3df;
  --green-500: #16a36a;

  --ink: #0b1430;
  --ink-2: #3b4664;
  --ink-3: #6b7592;
  --line: #e3e8f2;
  --surface: #ffffff;
  --bg: #f6f8fc;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(10, 22, 51, .06), 0 2px 8px rgba(10, 22, 51, .04);
  --shadow: 0 10px 30px -12px rgba(10, 22, 51, .18), 0 2px 6px rgba(10, 22, 51, .05);
  --shadow-lg: 0 30px 60px -20px rgba(10, 22, 51, .35);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--blue-500); color: #fff; }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 1000; background: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .9em 1.5em; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: .95rem; line-height: 1; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--blue-500); color: #fff; box-shadow: 0 10px 24px -10px rgba(29, 99, 255, .7); }
.btn-primary:hover { background: var(--blue-600); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(29, 99, 255, .8); }
.btn-ghost { border-color: rgba(255, 255, 255, .28); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .5); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--blue-500); color: var(--blue-600); }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-lg { padding: 1.05em 1.8em; font-size: 1rem; }
.btn-block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--blue-600); }
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-950); color: rgba(255, 255, 255, .72); font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar-list { display: flex; gap: 24px; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: #fff; }
.topbar .icon { width: 15px; height: 15px; color: var(--blue-400); }
@media (max-width: 860px) { .topbar { display: none; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -18px rgba(10, 22, 51, .35); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark { width: 46px; height: 46px; overflow: visible; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.brand-text b span { color: var(--blue-500); }
.brand-text small { margin-top: 5px; font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }

/* logo animation: hands rise, arms lift, head pops — and a happy jump on hover */
.lm-hands, .lm-arms, .lm-body, .lm-head { transform-box: fill-box; }
.lm-hands { transform-origin: 50% 100%; animation: lm-rise .8s var(--ease) both; }
.lm-hand-r { animation-delay: .08s; }
.lm-arms { stroke-dasharray: 50; stroke-dashoffset: 50; animation: lm-draw .7s .35s var(--ease) forwards; }
.lm-body { transform-origin: 50% 100%; animation: lm-grow .5s .2s var(--ease) both; }
.lm-head { transform-origin: 50% 50%; animation: lm-pop .55s .75s cubic-bezier(.3, 1.6, .5, 1) both; }
.brand:hover .lm-head { animation: lm-jump .7s cubic-bezier(.3, 1.4, .5, 1); }
.brand:hover .lm-arms { animation: lm-wave .7s ease; stroke-dashoffset: 0; }
@keyframes lm-rise { from { transform: translateY(30%) scale(.8); opacity: 0; } }
@keyframes lm-draw { to { stroke-dashoffset: 0; } }
@keyframes lm-grow { from { transform: scaleY(0); } }
@keyframes lm-pop { from { transform: scale(0); } }
@keyframes lm-jump { 0%, 100% { transform: none; } 40% { transform: translateY(-28%); } 70% { transform: translateY(4%); } }
@keyframes lm-wave { 0%, 100% { transform: none; } 40% { transform: translateY(-6%); } }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu a {
  position: relative; padding: 10px 14px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; color: var(--ink-2); transition: color .2s, background .2s;
}
.nav-menu a:hover { color: var(--ink); background: var(--blue-50); }
.nav-menu a[aria-current="page"] { color: var(--blue-600); background: var(--blue-100); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; align-items: center; justify-content: center; cursor: pointer; color: var(--ink);
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-open { display: none; }
.nav-open .nav-toggle .i-close { display: block; }
.nav-mobile-cta { display: none; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav-actions .btn { display: none; }
  .nav-menu {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 16px var(--gutter) 24px; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform .3s var(--ease), opacity .3s, visibility .3s;
  }
  .nav-open .nav-menu { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-menu a { padding: 14px 16px; font-size: 1.05rem; border-radius: 12px; }
  .nav-mobile-cta { display: block; margin-top: 8px; }
  .nav-mobile-cta .btn { width: 100%; }
  .nav-menu .nav-mobile-cta a { color: #fff; background: var(--blue-500); justify-content: center; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-text b { font-size: 1.4rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 120px); position: relative; }
.section-tight { padding-block: clamp(56px, 7vw, 88px); }
.section-white { background: var(--surface); }
.section-dark { background: var(--navy-900); color: rgba(255, 255, 255, .72); }
.section-dark h2, .section-dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--blue-400); }

.section-head { max-width: 680px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head.split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head.split > div { max-width: 640px; }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
.section-head p { font-size: 1.08rem; color: var(--ink-3); margin: 0; }
.section-dark .section-head p { color: rgba(255, 255, 255, .65); }
.text-gradient {
  background: linear-gradient(100deg, var(--blue-400), #8fb3ff 60%, var(--amber-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy-950); color: rgba(255, 255, 255, .74);
  padding-block: clamp(64px, 9vw, 120px) clamp(80px, 10vw, 140px);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 85% 10%, rgba(29, 99, 255, .45), transparent 60%),
    radial-gradient(45% 55% at 0% 100%, rgba(29, 99, 255, .28), transparent 60%),
    radial-gradient(30% 30% at 60% 90%, rgba(255, 181, 71, .14), transparent 70%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  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% 70% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000 30%, transparent 80%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 6vw, 4.4rem); line-height: 1.04; letter-spacing: -.035em; margin-bottom: 24px; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 560px; margin-bottom: 36px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; margin-bottom: 28px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .06);
  font-size: .85rem; font-weight: 600; color: rgba(255, 255, 255, .85);
}
.pill-dot { display: inline-flex; align-items: center; justify-content: center; padding: 3px 10px; border-radius: 999px; background: var(--blue-500); color: #fff; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }

.hero-contacts { display: flex; flex-wrap: wrap; gap: 14px 32px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1); }
.hero-contact { display: flex; align-items: center; gap: 12px; }
.hero-contact .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: var(--blue-400); }
.hero-contact small { display: block; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.hero-contact strong { color: #fff; font-weight: 600; font-size: .95rem; }
.hero-contact a:hover strong { color: var(--blue-400); }

/* hero visual: status panel */
.hero-visual { position: relative; }
.panel {
  position: relative; border-radius: var(--radius-lg); padding: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(16px);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
}
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.panel-head .brandmark { display: flex; align-items: center; gap: 12px; }
.panel-head img { width: 44px; height: 44px; border-radius: 12px; background: #fff; padding: 4px; }
.panel-head strong { display: block; color: #fff; font-size: 1rem; }
.panel-head span { font-size: .8rem; color: rgba(255, 255, 255, .55); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; }
.badge-green { background: rgba(22, 163, 106, .16); color: #4ade9b; }
.badge-green::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(74, 222, 155, .2); }
.steps-mini { display: grid; gap: 10px; }
.step-mini {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .85); font-size: .92rem;
}
.step-mini .num { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; flex-shrink: 0; background: rgba(255, 255, 255, .1); color: #fff; }
.step-mini.done .num { background: var(--green-500); }
.step-mini.active { border-color: rgba(79, 134, 255, .6); background: rgba(29, 99, 255, .16); }
.step-mini.active .num { background: var(--blue-500); }
.step-mini .num .icon { width: 15px; height: 15px; stroke-width: 3; }
.progress { margin-top: 22px; }
.progress-top { display: flex; justify-content: space-between; font-size: .8rem; color: rgba(255, 255, 255, .6); margin-bottom: 8px; }
.progress-bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.progress-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--blue-500), var(--blue-400)); transition: width 1.6s var(--ease) .4s; }
.is-visible .progress-bar span { width: 72%; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px;
  background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); font-size: .85rem; font-weight: 600;
  animation: float 6s ease-in-out infinite;
}
.float-card .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; }
.float-card small { display: block; font-weight: 500; color: var(--ink-3); font-size: .75rem; }
.float-card.fc-1 { top: -26px; right: -18px; }
.float-card.fc-1 .ic { background: var(--amber-100); color: #c07600; }
.float-card.fc-2 { bottom: -30px; left: -28px; animation-delay: -3s; }
.float-card.fc-2 .ic { background: var(--blue-100); color: var(--blue-600); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin: 24px auto 0; width: 100%; }
}
@media (max-width: 560px) {
  .hero-visual { margin-top: 64px; }
  .hero .float-card.fc-1 { right: -4px; top: -56px; }
  .float-card.fc-2 { left: -4px; }
  .panel { padding: 20px; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy-950); color: rgba(255, 255, 255, .72);
  padding-block: clamp(64px, 9vw, 112px);
}
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 5.5vw, 3.8rem); letter-spacing: -.035em; max-width: 820px; }
.page-hero p { font-size: 1.12rem; max-width: 640px; margin: 0; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .85rem; margin-bottom: 20px; color: rgba(255, 255, 255, .55); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span[aria-current] { color: var(--blue-400); }

/* ---------- Intro / values ---------- */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.intro-grid .lead { font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.45; color: var(--ink); font-weight: 600; letter-spacing: -.01em; margin: 0; }
.values { display: grid; gap: 16px; }
.value {
  display: flex; gap: 18px; padding: 24px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.value:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.value h3 { font-size: 1.12rem; margin-bottom: 6px; }
.value p { margin: 0; font-size: .96rem; }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; } }

.ic-box {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0;
  background: var(--blue-100); color: var(--blue-600);
}
.ic-box .icon { width: 24px; height: 24px; }
.ic-box.amber { background: var(--amber-100); color: #c07600; }
.ic-box.green { background: #e2f7ee; color: var(--green-500); }
.ic-box.dark { background: var(--navy-900); color: #fff; }

/* ---------- Cards / services ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { font-size: 1.3rem; margin: 22px 0 10px; }
.card p { margin: 0 0 18px; }
.card .link-arrow { margin-top: auto; }
.card-num { position: absolute; top: 26px; right: 28px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; color: var(--ink-3); }

.card.featured { background: var(--navy-900); border-color: var(--navy-900); color: rgba(255, 255, 255, .7); }
.card.featured::after {
  content: ""; position: absolute; width: 260px; height: 260px; right: -80px; bottom: -100px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(29, 99, 255, .55), transparent); pointer-events: none;
}
.card.featured h3 { color: #fff; }
.card.featured .ic-box { background: var(--blue-500); color: #fff; }
.card.featured .link-arrow { color: var(--blue-400); }
.card.featured .card-num { color: rgba(255, 255, 255, .45); }

.check-list { display: grid; gap: 10px; margin: 4px 0 0; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--ink-2); }
.check-list .icon { width: 20px; height: 20px; padding: 3px; margin-top: 2px; border-radius: 50%; background: var(--blue-100); color: var(--blue-600); stroke-width: 3; }
.card.featured .check-list li { color: rgba(255, 255, 255, .82); }
.card.featured .check-list .icon { background: rgba(255, 255, 255, .12); color: #fff; }

/* service cards (services page) */
.service-card .check-list { margin-top: auto; padding-top: 20px; border-top: 1px dashed var(--line); }
.card.featured.service-card .check-list { border-color: rgba(255, 255, 255, .14); }

/* ---------- Categories ---------- */
.cat-card { padding: 36px 32px; }
.cat-card .cat-top { display: flex; align-items: center; justify-content: space-between; }
.cat-card .cat-label { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.cat-card h3 { font-size: 1.5rem; }
.cat-card .check-list { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); }
.card.featured.cat-card .cat-label { color: rgba(255, 255, 255, .5); }
.card.featured.cat-card .check-list { border-color: rgba(255, 255, 255, .14); }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.mv-stack { display: grid; gap: 18px; }
.mv-card { display: flex; gap: 20px; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.mv-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.mv-card p { margin: 0; }
.mv-card.dark { background: var(--navy-900); border-color: var(--navy-900); color: rgba(255, 255, 255, .72); }
.mv-card.dark h3 { color: #fff; }

.about-visual {
  position: relative; aspect-ratio: 1 / 1; max-width: 520px; width: 100%; margin-inline: auto; border-radius: var(--radius-lg);
  background:
    radial-gradient(60% 60% at 30% 20%, rgba(79, 134, 255, .5), transparent 70%),
    radial-gradient(50% 50% at 90% 90%, rgba(255, 181, 71, .3), transparent 70%),
    var(--navy-900);
  overflow: hidden; display: grid; place-items: center;
}
.about-visual::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px); background-size: 22px 22px;
}
.about-visual .logo-orb {
  position: relative; width: 46%; aspect-ratio: 1; border-radius: 50%; background: #fff; display: grid; place-items: center;
  box-shadow: 0 0 0 18px rgba(255, 255, 255, .06), 0 0 0 40px rgba(255, 255, 255, .04), 0 30px 60px -10px rgba(0, 0, 0, .5);
}
.about-visual .logo-orb img { width: 70%; }
.about-visual .float-card.fc-1 { top: 10%; right: 6%; }
.about-visual .float-card.fc-2 { bottom: 10%; left: 6%; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); }
.stat { padding: clamp(28px, 4vw, 44px) 28px; border-right: 1px solid rgba(255, 255, 255, .1); }
.stat:last-child { border-right: 0; }
.stat-value { display: flex; align-items: baseline; font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 800; color: #fff; letter-spacing: -.04em; line-height: 1; margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.stat-value .plus { color: var(--blue-400); margin-left: 2px; }
.stat p { margin: 0; font-size: .95rem; color: rgba(255, 255, 255, .65); }
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .1); }
}
@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .stat:last-child { border-bottom: 0; }
}

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; position: relative; }
.process-step { position: relative; padding: 32px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.process-step .step-no {
  display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 16px;
  background: var(--blue-500); color: #fff; font-weight: 800; font-size: 1.2rem; margin-bottom: 22px;
  box-shadow: 0 12px 24px -10px rgba(29, 99, 255, .8);
}
.process-step small { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 6px; }
.process-step h3 { font-size: 1.2rem; margin: 0; }
.process-step:not(:last-child)::after {
  content: ""; position: absolute; top: 60px; right: -21px; width: 22px; height: 2px; background: var(--line); z-index: 1;
}
@media (max-width: 860px) { .process { grid-template-columns: 1fr; } .process-step::after { display: none; } }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-item { padding: 30px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); transition: background .3s, border-color .3s, transform .3s var(--ease); }
.why-item:hover { background: rgba(255, 255, 255, .07); border-color: rgba(79, 134, 255, .5); transform: translateY(-4px); }
.why-item .ic-box { background: rgba(29, 99, 255, .2); color: var(--blue-400); margin-bottom: 20px; }
.why-item h3 { font-size: 1.15rem; margin-bottom: 8px; }
.why-item p { margin: 0; font-size: .96rem; }
.why-item.wide { grid-column: span 2; display: flex; gap: 24px; align-items: center; background: linear-gradient(120deg, var(--blue-600), var(--navy-700)); border-color: transparent; color: rgba(255, 255, 255, .85); }
.why-item.wide .ic-box { background: rgba(255, 255, 255, .15); color: #fff; margin: 0; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .why-grid { grid-template-columns: 1fr; } .why-item.wide { grid-column: auto; flex-direction: column; align-items: flex-start; } }

/* ---------- Consultancy feature list ---------- */
.feature { display: flex; gap: 18px; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feature h3 { font-size: 1.12rem; margin-bottom: 6px; }
.feature p { margin: 0; font-size: .96rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px;
  padding: clamp(36px, 6vw, 64px); border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--blue-600), var(--navy-800)); color: rgba(255, 255, 255, .8);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(40% 80% at 100% 0%, rgba(255, 181, 71, .3), transparent 70%),
              radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px) 0 0 / 20px 20px;
}
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 10px; }
.cta-band p { margin: 0; font-size: 1.05rem; max-width: 560px; }
.cta-band .btns { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info h2 { font-size: clamp(2rem, 4vw, 2.6rem); }
.info-list { display: grid; gap: 14px; margin: 32px 0; }
.info-item { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, transform .25s var(--ease); }
a.info-item:hover { border-color: var(--blue-400); transform: translateX(4px); }
.info-item small { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.info-item strong { color: var(--ink); font-weight: 700; }
.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface); color: var(--ink); transition: background .25s, color .25s, border-color .25s; }
.socials a:hover { background: var(--blue-500); border-color: var(--blue-500); color: #fff; }
.map-embed { margin-top: 24px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: var(--blue-50); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Forms ---------- */
.form-card { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card h3 { font-size: 1.4rem; margin-bottom: 6px; }
.form-card > p { color: var(--ink-3); margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.form-section-title { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; margin: 14px 0 0; font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-600); }
.form-section-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.form-section-title:first-child { margin-top: 0; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.field label .req { color: #e5484d; }
.field label .opt { color: var(--ink-3); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg);
  font-size: .97rem; color: var(--ink); transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7592' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field input::placeholder, .field textarea::placeholder { color: #9aa3ba; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #c9d2e4; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px rgba(29, 99, 255, .12); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #e5484d; background: #fff7f7; }
.field .error-msg { display: none; font-size: .8rem; color: #e5484d; }
.field.has-error .error-msg { display: block; }
.field-meta { display: flex; justify-content: flex-end; font-size: .78rem; color: var(--ink-3); }
.field-meta.over { color: #e5484d; }

.dropzone {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center;
  padding: 32px 20px; border-radius: 16px; border: 2px dashed #c9d2e4; background: var(--bg); color: var(--ink-3); cursor: pointer;
  transition: border-color .2s, background .2s;
}
.dropzone:hover, .dropzone.is-drag { border-color: var(--blue-500); background: var(--blue-50); }
.dropzone .ic-box { margin-bottom: 4px; }
.dropzone strong { color: var(--ink); }
.dropzone strong span { color: var(--blue-600); text-decoration: underline; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-list { display: grid; gap: 8px; margin-top: 10px; }
.file-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 10px; background: var(--blue-50); font-size: .88rem; color: var(--ink); }
.file-list li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list li small { color: var(--ink-3); flex-shrink: 0; }

.form-status { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-size: .92rem; font-weight: 600; }
.form-status.is-success { display: block; background: #e2f7ee; color: #0d7a4e; }
.form-status.is-error { display: block; background: #fdecec; color: #b42318; }
.form-note { font-size: .82rem; color: var(--ink-3); margin: 14px 0 0; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .62); padding-top: clamp(64px, 8vw, 96px); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 56px; }
.footer-brand .brand { margin-bottom: 20px; }
.footer-brand .brand-text b { color: #fff; }
.footer-brand .brand-text b span { color: #7aa5ff; }
.footer-brand .brand-text small { color: rgba(255, 255, 255, .5); }
.footer-brand p { max-width: 320px; }
.site-footer h4 { color: #fff; font-size: .95rem; letter-spacing: 0; margin-bottom: 18px; font-weight: 700; }
.footer-links { display: grid; gap: 10px; }
.footer-links a:hover { color: #fff; }
.footer-contact { display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { color: var(--blue-400); margin-top: 3px; width: 18px; height: 18px; }
.footer-contact a:hover { color: #fff; }
.site-footer .socials a { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .1); color: #fff; }
.site-footer .socials a:hover { background: var(--blue-500); border-color: var(--blue-500); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* floating WhatsApp button */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 91; display: flex; align-items: center; gap: 12px; text-decoration: none; }
.wa-btn {
  position: relative; isolation: isolate; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; flex-shrink: 0;
  background: radial-gradient(circle at 30% 25%, var(--blue-400), var(--blue-600) 45%, var(--navy-800));
  color: #fff; box-shadow: 0 16px 34px -10px rgba(29, 99, 255, .8), 0 2px 6px rgba(10, 22, 51, .2);
  transition: transform .4s var(--ease), box-shadow .3s;
}
.wa-btn svg { width: 28px; height: 28px; fill: currentColor; filter: drop-shadow(0 2px 3px rgba(5, 13, 36, .35)); transition: transform .4s var(--ease); }
/* spinning blue → gold → green halo */
.wa-btn::before {
  content: ""; position: absolute; inset: -4px; z-index: -1; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--blue-400), var(--amber-400), #25d366, var(--blue-400));
  animation: spin 4s linear infinite;
}
/* "online" status dot */
.wa-btn::after {
  content: ""; position: absolute; top: 1px; right: 1px; width: 14px; height: 14px; border-radius: 50%;
  background: #25d366; border: 3px solid var(--navy-900); animation: wa-online 2s ease-out infinite;
}
@keyframes wa-online { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .7); } 100% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); } }
.wa-float:hover .wa-btn, .wa-float:focus-visible .wa-btn { transform: translateY(-3px) scale(1.06); box-shadow: 0 22px 40px -10px rgba(255, 181, 71, .7), 0 2px 6px rgba(10, 22, 51, .2); }
.wa-float:hover .wa-btn::before { animation-duration: 1.2s; }
.wa-float:hover .wa-btn svg { animation: wa-wiggle .6s var(--ease); }
@keyframes wa-wiggle { 25% { transform: rotate(-14deg); } 50% { transform: rotate(10deg); } 75% { transform: rotate(-6deg); } }
.wa-label {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 11px 16px 11px 12px; border-radius: 16px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: #fff;
  border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 20px 40px -14px rgba(5, 13, 36, .6);
  font-size: .9rem; font-weight: 700; line-height: 1.3; white-space: nowrap;
  opacity: 0; transform: translateX(10px) scale(.96); transform-origin: right center; pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease); animation: wa-peek 7s 2.5s both;
}
.wa-label small { display: block; font-size: .76rem; font-weight: 500; color: var(--amber-400); }
.wa-label::after { content: ""; position: absolute; right: -5px; top: 50%; width: 10px; height: 10px; margin-top: -5px; background: var(--navy-700); border: solid rgba(255, 255, 255, .1); border-width: 1px 1px 0 0; transform: rotate(45deg); border-radius: 2px; }
/* typing indicator */
.wa-typing { display: inline-flex; gap: 3px; padding: 9px 8px; border-radius: 12px 12px 12px 4px; background: rgba(255, 255, 255, .1); }
.wa-typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--blue-400); animation: wa-dot 1.2s ease-in-out infinite; }
.wa-typing i:nth-child(2) { animation-delay: .15s; background: #8fb3ff; }
.wa-typing i:nth-child(3) { animation-delay: .3s; background: var(--amber-400); }
@keyframes wa-dot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.wa-float:hover .wa-label, .wa-float:focus-visible .wa-label { opacity: 1; transform: none; animation: none; }
@keyframes wa-peek { 0%, 100% { opacity: 0; transform: translateX(10px) scale(.96); } 8%, 88% { opacity: 1; transform: none; } }
@media (max-width: 560px) {
  .wa-float { right: 14px; bottom: 14px; }
  .wa-btn { width: 56px; height: 56px; }
  .wa-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-btn::before, .wa-btn::after, .wa-typing i, .wa-float:hover .wa-btn svg { animation: none; }
  .wa-label { animation: none; }
}
@media print { .wa-float { display: none; } }

.to-top {
  position: fixed; right: 25px; bottom: 92px; z-index: 90; width: 48px; height: 48px; border-radius: 14px; border: 0;
  background: var(--blue-500); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease), background .2s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--blue-600); }
.to-top .icon { transform: rotate(-90deg); }
@media (max-width: 560px) { .to-top { right: 17px; bottom: 80px; } }

/* =========================================================
   Interactive & photographic layer
   ========================================================= */

/* scroll progress */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 200; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--blue-500), var(--amber-400)); }

/* to-top with progress ring */
.to-top svg.ring { position: absolute; inset: -4px; width: calc(100% + 8px); height: calc(100% + 8px); transform: rotate(-90deg); }
.to-top .ring circle { fill: none; stroke: var(--amber-400); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 163; stroke-dashoffset: calc(163 - 163 * var(--p, 0)); }
.to-top { border-radius: 50%; }

/* hero rotator */
.rotator-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4em; margin: -8px 0 28px; font-size: clamp(1.05rem, 1.8vw, 1.3rem); font-weight: 600; color: rgba(255, 255, 255, .85); }
.rotator { position: relative; display: inline-grid; height: 1.4em; overflow: hidden; vertical-align: bottom; }
.rotator span {
  grid-area: 1 / 1; color: var(--amber-400); white-space: nowrap;
  transform: translateY(110%); opacity: 0; transition: transform .6s var(--ease), opacity .6s;
}
.rotator span.is-active { transform: none; opacity: 1; }
.rotator span.is-leaving { transform: translateY(-110%); opacity: 0; }
.rotator::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; color: rgba(255, 181, 71, .35); }

/* hero photo collage */
.hero-media { position: relative; perspective: 1200px; }
.hero-photo {
  position: relative; margin: 0; border-radius: 32px; overflow: hidden; aspect-ratio: 4 / 4.2;
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .12);
  transform-style: preserve-3d; transition: transform .4s var(--ease);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform: scale(1.08); transition: transform .4s var(--ease); }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(5, 13, 36, .85)); }
.hero-media .panel.mini { position: absolute; left: -56px; bottom: -64px; width: min(310px, 78%); padding: 16px; background: rgba(10, 22, 51, .82); }
.hero-media .panel.mini .panel-head img { width: 38px; height: 38px; }
.hero-media .panel.mini .panel-head strong { font-size: .92rem; white-space: nowrap; }
.hero-media .panel.mini .panel-head span:not(.badge) { display: none; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.1rem); }
.hero h1 .text-gradient { white-space: nowrap; }
.badge { white-space: nowrap; }
.hero-media .panel.mini .panel-head { margin-bottom: 14px; }
.hero-media .panel.mini .step-mini { padding: 10px 12px; font-size: .82rem; }
.hero-media .float-card.fc-1 { top: 28px; right: -30px; left: auto; }
.hero-media .layer { position: absolute; inset: 0; pointer-events: none; transition: transform .25s ease-out; }
.hero-media .layer > * { pointer-events: auto; }
.hero-media [data-depth] { will-change: transform; }
.hero-badge {
  position: absolute; top: -34px; left: -34px; width: 118px; height: 118px; border-radius: 50%; z-index: 2;
  display: grid; place-items: center; background: var(--amber-400); color: var(--navy-950); box-shadow: var(--shadow-lg);
}
.hero-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.hero-badge text { font-size: 9.6px; font-weight: 800; letter-spacing: 2.1px; fill: var(--navy-950); text-transform: uppercase; }
.hero-badge strong { font-size: 1.5rem; font-weight: 800; line-height: 1; text-align: center; }
.hero-badge strong small { display: block; font-size: .55rem; letter-spacing: .1em; margin-top: 2px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 960px) {
  .hero-media { max-width: 520px; margin: 40px auto 40px; width: 100%; }
}
@media (max-width: 560px) {
  .hero-media { margin-bottom: 0; }
  .hero-media .layer:has(.panel.mini) { position: relative; inset: auto; margin-top: -48px; transform: none !important; }
  .hero-media .panel.mini { position: relative; left: auto; bottom: auto; width: 88%; margin-left: auto; }
  .hero-media .float-card.fc-1 { right: -6px; top: 18px; }
  .hero-badge { width: 92px; height: 92px; top: -26px; left: -6px; }
  .hero-badge strong { font-size: 1.15rem; }
  .hero-badge text { font-size: 7.6px; letter-spacing: 1.6px; }
}

/* journey (scroll-driven milestone path) */
.journey { position: relative; background: var(--surface); padding-block: clamp(64px, 8vw, 96px) 0; }
.journey-head { text-align: center; margin-bottom: clamp(36px, 5vw, 56px); }
.journey-head .eyebrow::before { display: none; }
.journey-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 0; }
.journey-path { --jp: 0; --dot: 60px; position: relative; }
.journey-line { position: absolute; top: calc(var(--dot) / 2 - 2px); left: 10%; right: 10%; height: 4px; border-radius: 4px; background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px); }
.journey-fill { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--blue-500), var(--blue-400) 70%, var(--amber-400)); transform: scaleX(var(--jp)); transform-origin: left; }
.journey-spark {
  position: absolute; top: 50%; left: calc(var(--jp) * 100%); width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%;
  background: var(--amber-400); box-shadow: 0 0 0 6px rgba(255, 181, 71, .25), 0 0 24px 6px rgba(255, 181, 71, .55);
  opacity: calc(var(--jp) * 20); animation: spark 1.6s ease-in-out infinite;
}
@keyframes spark { 50% { box-shadow: 0 0 0 10px rgba(255, 181, 71, .12), 0 0 32px 10px rgba(255, 181, 71, .4); } }
.journey-steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; list-style: none; margin: 0; padding: 0; }
.journey-steps a { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 6px 8px; color: var(--ink); text-decoration: none; }
.j-dot {
  position: relative; display: grid; place-items: center; width: var(--dot); height: var(--dot); border-radius: 50%; margin-bottom: 18px;
  background: var(--surface); color: var(--ink-3); border: 2px solid var(--line);
  transition: background .5s var(--ease), color .5s, border-color .5s, transform .5s var(--ease), box-shadow .5s;
}
.j-dot .icon { width: 24px; height: 24px; }
.j-num { font-size: .72rem; font-weight: 800; letter-spacing: .14em; color: var(--ink-3); margin-bottom: 4px; transition: color .5s; }
.journey-steps strong { font-size: 1.02rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: 4px; }
.journey-steps small { font-size: .86rem; color: var(--ink-3); line-height: 1.45; max-width: 190px; }
.journey-steps li.is-lit .j-dot { background: linear-gradient(135deg, var(--blue-500), var(--navy-700)); color: #fff; border-color: transparent; transform: scale(1.08); box-shadow: 0 14px 30px -10px rgba(29, 99, 255, .7); }
.journey-steps li:last-child.is-lit .j-dot { background: linear-gradient(135deg, var(--amber-400), #ff9d2e); color: var(--navy-950); box-shadow: 0 14px 30px -10px rgba(255, 157, 46, .8); }
.journey-steps li.is-lit .j-num { color: var(--blue-600); }
.journey-steps a:hover .j-dot, .journey-steps a:focus-visible .j-dot { transform: scale(1.14) rotate(-6deg); }
.journey-steps a:hover strong { color: var(--blue-600); }
@media (max-width: 760px) {
  .journey-path { --dot: 52px; }
  .journey-line { top: calc(var(--dot) / 2); bottom: calc(var(--dot) / 2 + 24px); left: calc(var(--dot) / 2 - 2px); right: auto; width: 4px; height: auto; background: repeating-linear-gradient(180deg, var(--line) 0 10px, transparent 10px 18px); }
  .journey-fill { background: linear-gradient(180deg, var(--blue-500), var(--blue-400) 70%, var(--amber-400)); transform: scaleY(var(--jp)); transform-origin: top; }
  .journey-spark { top: calc(var(--jp) * 100%); left: 50%; }
  .journey-steps { grid-template-columns: 1fr; gap: 24px; }
  .journey-steps a { display: grid; grid-template-columns: var(--dot) 1fr; column-gap: 18px; align-items: start; text-align: left; padding: 0; }
  .j-dot { grid-row: 1 / 4; margin: 0; }
  .j-num { margin-top: 4px; }
  .journey-steps small { max-width: none; }
}

/* photo frames with reveal */
.photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--blue-100); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.photo:hover img { transform: scale(1.05); }
.reveal .photo, .photo.reveal { clip-path: inset(12% 12% 12% 12% round var(--radius-lg)); transition: clip-path 1.1s var(--ease), opacity .8s, transform .8s var(--ease); }
.reveal.is-visible .photo, .photo.reveal.is-visible { clip-path: inset(0 0 0 0 round var(--radius-lg)); }

.intro-media { position: relative; margin-top: 32px; }
.intro-media .photo { aspect-ratio: 3 / 2; }
.intro-media .float-card { bottom: -22px; right: 22px; top: auto; left: auto; }
.intro-media .float-card .ic { background: var(--amber-100); color: #c07600; }

/* about photo stack */
.photo-stack { position: relative; min-height: 520px; }
.photo-stack .photo.main { position: absolute; inset: 0 18% 14% 0; }
.photo-stack .photo.second { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 2 / 3; border: 6px solid var(--bg); box-shadow: var(--shadow-lg); background: #fff; }
.photo-stack .photo.second img { object-position: 50% 20%; }
.photo-stack .float-card { top: 24px; right: 10%; left: auto; }
.photo-stack .float-card .ic { background: var(--blue-100); color: var(--blue-600); }
@media (max-width: 560px) { .photo-stack { min-height: 420px; } }

/* spotlight hover (cursor-following glow) */
.spot { position: relative; isolation: isolate; }
.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(29, 99, 255, .12), transparent 45%);
}
.spot:hover::before { opacity: 1; }
.card.featured.spot::before, .section-dark .spot::before { background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(122, 165, 255, .22), transparent 45%); }
[data-tilt] { transform-style: preserve-3d; will-change: transform; }
.card[data-tilt]:hover { transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)) translateY(-6px); }

/* category finder */
.finder { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: stretch; }
@media (max-width: 960px) { .finder { grid-template-columns: 1fr; } }
.finder-quiz { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--navy-900); color: rgba(255, 255, 255, .72); position: relative; overflow: hidden; }
.finder-quiz::after { content: ""; position: absolute; width: 320px; height: 320px; right: -120px; top: -120px; border-radius: 50%; background: radial-gradient(closest-side, rgba(29, 99, 255, .5), transparent); pointer-events: none; }
.finder-quiz h3 { color: #fff; font-size: 1.5rem; margin-bottom: 6px; }
.finder-q { margin-top: 26px; transition: opacity .4s, transform .4s var(--ease); }
.finder-q.is-disabled { opacity: .35; pointer-events: none; transform: translateY(6px); }
.finder-q p { margin: 0 0 12px; font-weight: 700; color: #fff; display: flex; gap: 10px; align-items: center; }
.finder-q p .n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; background: rgba(255, 255, 255, .12); }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice {
  flex: 1 1 160px; display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 14px; cursor: pointer; text-align: left;
  border: 1.5px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); color: #fff; font-weight: 600; font-size: .92rem;
  transition: border-color .2s, background .2s, transform .2s var(--ease);
}
.choice:hover { border-color: rgba(122, 165, 255, .7); transform: translateY(-2px); }
.choice[aria-pressed="true"] { border-color: var(--blue-400); background: rgba(29, 99, 255, .25); }
.choice .icon { color: var(--blue-400); }
.finder-reset { margin-top: 24px; background: none; border: 0; padding: 0; color: rgba(255, 255, 255, .6); font-weight: 600; font-size: .85rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.finder-reset:hover { color: #fff; }
.finder-note { margin: 18px 0 0; font-size: .8rem; color: rgba(255, 255, 255, .45); }

.tabs { display: flex; flex-direction: column; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.tab-list { display: grid; grid-template-columns: repeat(3, 1fr); padding: 6px; gap: 6px; background: var(--bg); border-bottom: 1px solid var(--line); position: relative; }
.tab-btn { position: relative; z-index: 1; padding: 12px 10px; border: 0; border-radius: 12px; background: none; cursor: pointer; font-weight: 700; font-size: .9rem; color: var(--ink-3); transition: color .25s; }
.tab-btn[aria-selected="true"] { color: var(--ink); }
.tab-pill { position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc((100% - 24px) / 3); border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); transition: transform .45s var(--ease); }
.tab-panel { padding: clamp(24px, 4vw, 40px); flex: 1; display: flex; flex-direction: column; }
.tab-panel[hidden] { display: none; }
.tab-panel.is-entering > * { animation: fade-up .5s var(--ease) both; }
.tab-panel.is-entering > *:nth-child(2) { animation-delay: .05s; }
.tab-panel.is-entering > *:nth-child(3) { animation-delay: .1s; }
.tab-panel.is-entering > *:nth-child(4) { animation-delay: .15s; }
.tab-panel h3 { font-size: 1.7rem; margin: 18px 0 10px; }
.tab-panel .check-list { margin: 8px 0 28px; }
.tab-panel .btn { align-self: flex-start; margin-top: auto; }
.tab-panel .match { display: none; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #e2f7ee; color: #0d7a4e; font-size: .78rem; font-weight: 700; }
.tabs.is-matched .tab-panel .match { display: inline-flex; animation: fade-up .5s var(--ease) both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } }
@media (max-width: 480px) { .tab-btn { font-size: .78rem; padding: 10px 4px; } }

/* stats with photo */
.stats-photo { position: relative; overflow: hidden; isolation: isolate; }
.stats-photo .bg { position: absolute; inset: -10% 0; z-index: -2; }
.stats-photo .bg img { width: 100%; height: 100%; object-fit: cover; }
.stats-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(5, 13, 36, .96) 30%, rgba(10, 22, 51, .82)); }
.stats-photo .stats { background: rgba(255, 255, 255, .03); backdrop-filter: blur(6px); }
.stat { transition: background .3s; }
.stat:hover { background: rgba(255, 255, 255, .04); }

/* gallery + lightbox */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.gallery button { all: unset; cursor: zoom-in; position: relative; border-radius: var(--radius); overflow: hidden; display: block; }
.gallery button:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 3px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery button:hover img { transform: scale(1.07); }
.gallery button::after { content: attr(data-caption); position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px; color: #fff; font-size: .85rem; font-weight: 600; background: linear-gradient(transparent, rgba(5, 13, 36, .8)); opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s var(--ease); }
.gallery button:hover::after, .gallery button:focus-visible::after { opacity: 1; transform: none; }
.gallery .g-wide { grid-column: span 2; }
.gallery .g-tall { grid-row: span 2; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; } }

.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 24px; background: rgba(5, 13, 36, .92); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); transform: scale(.94); transition: transform .4s var(--ease); }
.lightbox.is-open figure { transform: none; }
.lightbox img { max-height: 78vh; width: auto; max-width: 100%; margin-inline: auto; border-radius: 18px; }
.lightbox figcaption { text-align: center; color: rgba(255, 255, 255, .8); margin-top: 14px; font-weight: 600; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.lb-btn:hover { background: rgba(255, 255, 255, .2); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%) scaleX(-1); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; } .lb-prev { transform: scaleX(-1); } }

/* page hero with photo */
.page-hero .ph-photo { position: absolute; inset: -15% 0; z-index: -2; will-change: transform; }
.page-hero .ph-photo img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.page-hero.has-photo .hero-bg::before { background: linear-gradient(90deg, rgba(5, 13, 36, .95) 25%, rgba(5, 13, 36, .55)), radial-gradient(60% 80% at 90% 0%, rgba(29, 99, 255, .4), transparent 60%); }
.page-hero { padding-block: clamp(80px, 11vw, 140px); }

/* CTA with photo */
.cta-band.has-photo { background: var(--navy-900); }
.cta-band.has-photo::before { background: linear-gradient(100deg, rgba(11, 79, 216, .96) 35%, rgba(10, 22, 51, .7)), var(--cta-img) center / cover no-repeat; }

/* service filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-btn { padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: .9rem; color: var(--ink-2); cursor: pointer; transition: all .25s var(--ease); }
.filter-btn:hover { border-color: var(--blue-400); color: var(--blue-600); }
.filter-btn[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.filter-btn .count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: 6px; padding: 0 6px; border-radius: 99px; font-size: .72rem; background: var(--blue-100); color: var(--blue-600); }
.filter-btn[aria-pressed="true"] .count { background: rgba(255, 255, 255, .15); color: #fff; }
.filter-grid > * { transition: opacity .35s, transform .35s var(--ease); }
.filter-grid > .is-hiding { opacity: 0; transform: scale(.96); }
.filter-grid > .is-hidden { display: none; }

/* registration wizard */
.wizard-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 28px; counter-reset: ws; }
.wizard-steps li { position: relative; display: flex; flex-direction: column; gap: 8px; font-size: .78rem; font-weight: 700; color: var(--ink-3); }
.wizard-steps li::before { content: ""; height: 5px; border-radius: 5px; background: var(--line); transition: background .4s; }
.wizard-steps li.is-done::before, .wizard-steps li.is-current::before { background: var(--blue-500); }
.wizard-steps li.is-current { color: var(--ink); }
.wizard-page { display: none; }
.wizard-page.is-current { display: grid; animation: fade-up .45s var(--ease) both; }
.wizard-nav { display: flex; gap: 12px; justify-content: space-between; margin-top: 24px; }
.wizard-nav .btn { flex: 1; }
.wizard-nav [data-prev] .icon { transform: scaleX(-1); }
.wizard-nav [data-prev]:hover .icon { transform: scaleX(-1) translateX(3px); }
.review { display: grid; gap: 0; border-radius: 14px; border: 1px solid var(--line); overflow: hidden; }
.review div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 11px 16px; font-size: .9rem; border-bottom: 1px solid var(--line); }
.review div:last-child { border-bottom: 0; }
.review dt { color: var(--ink-3); font-weight: 600; }
.review dd { margin: 0; color: var(--ink); font-weight: 600; word-break: break-word; }
@media (max-width: 480px) { .review div { grid-template-columns: 1fr; gap: 2px; } }

/* process line that draws on scroll */
.process-line { position: absolute; left: 32px; right: 32px; top: 60px; height: 2px; background: var(--line); z-index: 0; }
.process-line span { display: block; height: 100%; background: var(--blue-500); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.6s var(--ease) .3s; }
.process.is-visible .process-line span { transform: scaleX(1); }
.process-step { z-index: 1; }
.process-step:not(:last-child)::after { display: none; }
@media (max-width: 860px) { .process-line { display: none; } }

/* magnetic buttons */
.btn[data-magnetic] { transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Footer credit: ZyntaX.lk ---------- */
.footer-bottom .credit { display: inline-flex; align-items: center; gap: 6px; }
.zyntax {
  position: relative;
  font-weight: 800;
  letter-spacing: .02em;
  color: #ff3b3b;
  background: linear-gradient(100deg, #ff2d2d 0%, #ff2d2d 35%, #ffd1d1 50%, #ff2d2d 65%, #ff2d2d 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: zx-shine 3s linear infinite, zx-glow 2.4s ease-in-out infinite;
  transition: transform .25s ease;
}
.zyntax::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 2px;
  border-radius: 2px;
  background: #ff3b3b;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.zyntax:hover, .zyntax:focus-visible { transform: translateY(-2px); }
.zyntax:hover::after, .zyntax:focus-visible::after { transform: scaleX(1); }
@keyframes zx-shine { from { background-position: 100% 0; } to { background-position: -150% 0; } }
@keyframes zx-glow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(255, 45, 45, 0)); }
  50% { filter: drop-shadow(0 0 6px rgba(255, 45, 45, .65)); }
}
@media (prefers-reduced-motion: reduce) {
  .zyntax { animation: none; -webkit-text-fill-color: #ff3b3b; }
}
/* ---------- Home: community mosaic ---------- */
.mosaic { grid-auto-rows: 210px; grid-auto-flow: dense; }
.mosaic .g-tag {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  padding: 6px 12px; border-radius: 999px;
  font-size: .75rem; font-weight: 700; color: #fff;
  background: rgba(5, 13, 36, .55); backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .25);
  transition: background .3s, transform .3s var(--ease);
}
.mosaic button:hover .g-tag, .mosaic button:focus-visible .g-tag { background: var(--blue-600, #1d63ff); transform: translateY(-2px); }
.g-cta {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  padding: 22px; border-radius: var(--radius); color: #fff; text-decoration: none;
  background: linear-gradient(140deg, #1d63ff, #0a1f63);
}
.g-cta::before {
  content: ""; position: absolute; width: 180px; height: 180px; right: -60px; top: -60px;
  border-radius: 50%; background: radial-gradient(circle, rgba(255, 181, 71, .55), transparent 70%);
  transition: transform .6s var(--ease);
}
.g-cta:hover::before { transform: scale(1.5); }
.g-cta > .icon { width: 28px; height: 28px; color: #ffb547; margin-bottom: auto; }
.g-cta strong { font-size: 1.1rem; line-height: 1.3; }
.g-cta span { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: #ffc861; }
.g-cta span .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.g-cta:hover span .icon { transform: translateX(4px); }
@media (max-width: 860px) { .mosaic { grid-auto-rows: 170px; } }
@media (max-width: 560px) {
  .mosaic .g-tag { font-size: .68rem; padding: 5px 10px; top: 10px; left: 10px; }
  .g-cta { padding: 16px; gap: 6px; }
  .g-cta > .icon { width: 22px; height: 22px; }
  .g-cta strong { font-size: .95rem; }
  .g-cta span { font-size: .8rem; }
}