/* =========================================================
   Nipatane Siddha — Website v3 (multi-page)
   Palette: sky #b3e1f4 on white, deep blue ink
   Type:    Plus Jakarta Sans (Latin) + Hind Siliguri (Bangla)
   ========================================================= */

/* ---------- Fonts (bundled, no CDN) ---------- */
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../assets/fonts/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2');
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../assets/fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2') format('woff2');
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face { font-family: 'Hind Siliguri'; src: url('../assets/fonts/hind-siliguri-bengali-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CF7, U+200C-200D, U+20B9, U+25CC; }
@font-face { font-family: 'Hind Siliguri'; src: url('../assets/fonts/hind-siliguri-bengali-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CF7, U+200C-200D, U+20B9, U+25CC; }
@font-face { font-family: 'Hind Siliguri'; src: url('../assets/fonts/hind-siliguri-bengali-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CF7, U+200C-200D, U+20B9, U+25CC; }
@font-face { font-family: 'Hind Siliguri'; src: url('../assets/fonts/hind-siliguri-bengali-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CF7, U+200C-200D, U+20B9, U+25CC; }

:root {
  --bg:       #ffffff;
  --ink:      #0d2b3e;     /* text, buttons */
  --ink-2:    #133a52;     /* raised surface on dark */
  --ink-soft: #2f4b5c;     /* secondary text on sky */
  --muted:    #5a7483;     /* secondary text on white */
  --sky:      #b3e1f4;     /* brand */
  --sky-deep: #7cc8e8;
  --sky-mid:  #d4edf8;
  --sky-soft: #eef8fd;
  --line:     #dce9f0;

  --h: 76px;
  --maxw: 1200px;
  --gutter: 48px;
  --r-lg: clamp(24px, 3vw, 36px);
  --shadow: 0 40px 80px -40px rgba(13, 43, 62, .45);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font: 'Plus Jakarta Sans', 'Hind Siliguri', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.container { width: min(100% - var(--gutter), var(--maxw)); margin-inline: auto; }
.muted { color: var(--muted); }
[id] { scroll-margin-top: calc(var(--h) + 20px); }
body.no-scroll { overflow: hidden; }
.bn { font-family: 'Hind Siliguri', var(--font); letter-spacing: 0 !important; }

.ph-light { line-height: 1; }


/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-size: .95rem; font-weight: 600; line-height: 1.2; text-align: center;
  white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn i { font-size: 1.1rem; transition: transform .3s var(--ease); }
.btn:hover i { transform: translateX(3px); }
.btn-sm    { padding: 11px 22px; font-size: .9rem; }
.btn-block { width: 100%; }

.btn-dark          { background: var(--ink); color: #fff; }
.btn-dark:hover    { background: var(--sky); color: var(--ink); border-color: var(--sky); }
.btn-outline       { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light         { background: var(--sky); border-color: var(--sky); color: var(--ink); }
.btn-light:hover   { background: #fff; border-color: #fff; }

/* on sky / peach backgrounds the default sky hover would make the button vanish */
.cta .btn-dark:hover, .band .btn-dark:hover, .sector .btn-dark:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn:hover i.ph-arrow-down { transform: translateY(3px); }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1.5px no-repeat;
  transition: background-size .4s var(--ease);
}
.text-link:hover { background-size: 100% 1.5px; }
.text-link i { transition: transform .3s var(--ease); }
.text-link:hover i { transform: translateX(4px); }


/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  height: var(--h);
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
          backdrop-filter: saturate(180%) blur(18px);
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(13, 43, 62, .35); }

/* ---------- page loading screen ---------- */
.page-loader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: #fff;
  /* Hidden by default. It only fades in if the page is still loading after
     0.6s (slow connection); on a normal load the script removes it first.
     Safety net: it hides itself after 10s even if the script never runs. */
  opacity: 0; visibility: hidden;
  animation:
    loaderIn .3s var(--ease) .6s forwards,
    loaderOut .45s var(--ease) 10s forwards;
  transition: opacity .45s var(--ease), visibility 0s linear .45s;
}
.page-loader.done { animation: loaderOut .4s var(--ease) forwards; }
@keyframes loaderIn  { from { opacity: 0; visibility: visible; } to { opacity: 1; visibility: visible; } }
@keyframes loaderOut { from { opacity: 1; visibility: visible; } to { opacity: 0; visibility: hidden; } }

.loader {
  --color-1: var(--ink);
  --color-2: var(--sky-deep);
  --size: 1.25px;

  box-sizing: border-box;
  position: relative;
  width: calc(48 * var(--size));
  height: calc(48 * var(--size));
  animation: loaderSpin 1s linear infinite;
}
.loader::after,
.loader::before {
  content: '';
  width: calc(24 * var(--size));
  height: calc(24 * var(--size));
  position: absolute;
  border-radius: 50%;
  background: var(--color-1);
  animation: loaderSpin 1s linear infinite;
  transform-origin: 0 100%;
}
.loader::before {
  transform-origin: 0 50%;
  background: var(--color-2);
}
@keyframes loaderSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .page-loader { display: none; }
}

/* skip link (keyboard users) */
.skip {
  position: fixed; top: 12px; left: 12px; z-index: 400;
  padding: 10px 18px; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 600; font-size: .9rem;
  transform: translateY(-160%); transition: transform .25s var(--ease);
}
.skip:focus { transform: none; }

.header-inner {
  height: 100%;
  width: min(100% - var(--gutter), 1320px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.brand { justify-self: start; }
.brand img { height: 44px; width: auto; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 8px; }

.nav { height: 100%; }
.nav-list { height: 100%; display: flex; align-items: stretch; }
.nav-item { display: flex; align-items: center; }

.nav-link {
  display: flex; align-items: center; height: 100%;
  padding: 0 4px 0 18px;
  font-size: .95rem; font-weight: 500;
}
.sub-toggle {
  display: grid; place-items: center;
  width: 28px; height: 28px; margin-right: 10px;
  border-radius: 50%;
  font-size: .85rem; color: var(--muted);
  transition: transform .35s var(--ease), background-color .25s, color .25s;
}
.sub-toggle:hover { background: var(--sky-soft); color: var(--ink); }
.nav-item.open .sub-toggle { transform: rotate(180deg); color: var(--ink); }

.label { position: relative; padding: 4px 0; }
.label::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav-link:hover .label::after,
.nav-link:focus-visible .label::after,
.nav-item.open .label::after,
.nav-link[aria-current="page"] .label::after { transform: scaleX(1); transform-origin: left; }
.nav-link[aria-current="page"] { font-weight: 700; }

.nav-cta { display: none; }

/* hamburger */
.burger { display: none; position: relative; width: 44px; height: 44px; border-radius: 50%; }
.burger span {
  position: absolute; left: 11px;
  width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .4s var(--ease), opacity .25s, top .4s var(--ease);
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 28px; }
.burger.active span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.active span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* mega popup content */
.mega-inner { width: min(100% - var(--gutter), var(--maxw)); margin-inline: auto; }
.mega-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.mega-col  { display: flex; flex-direction: column; }
.mega-title {
  margin-bottom: 10px; padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-size: .95rem; font-weight: 700;
}
.mega-link {
  display: block;
  margin-inline: -14px; padding: 12px 14px;
  border-radius: 14px;
  transition: background-color .25s;
}
.mega-link:hover, .mega-link:focus-visible { background: var(--sky-soft); }
.mega-link strong {
  display: inline; font-size: 1.1rem; font-weight: 600; line-height: 1.35; letter-spacing: -.01em;
  background: linear-gradient(var(--ink), var(--ink)) left bottom / 0 1.5px no-repeat;
  transition: background-size .4s var(--ease);
}
.mega-link:hover strong, .mega-link:focus-visible strong { background-size: 100% 1.5px; }
.mega-link small { display: block; margin-top: 3px; font-size: .86rem; line-height: 1.45; color: var(--muted); }

@media (min-width: 992px) {
  .mega {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 40px 70px -40px rgba(13, 43, 62, .28);
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(10px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
  }
  .nav-item.open .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
  .mega-inner { padding: 36px 0 44px; }

  .backdrop {
    position: fixed; inset: var(--h) 0 0 0; z-index: 90;
    background: rgba(13, 43, 62, .28);
    opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease), visibility 0s linear .3s;
  }
  body.mega-open .backdrop { opacity: 1; visibility: visible; transition-delay: 0s; }
}
@media (min-width: 992px) and (max-width: 1100px) {
  .nav-link { padding-left: 12px; }
  .sub-toggle { margin-right: 4px; }
  .mega-cols { gap: 28px; }
}


/* =========================================================
   Shared section styles
   ========================================================= */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section.tight-top { padding-top: clamp(24px, 4vw, 48px); }
.bg-soft { background: var(--sky-soft); }

h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); line-height: 1.06; letter-spacing: -.04em; font-weight: 700; text-wrap: balance; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
  font-size: .85rem; font-weight: 600; letter-spacing: .02em;
  color: var(--ink-soft);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.on-dark .eyebrow { color: var(--sky); }
.on-dark .eyebrow::before { background: var(--sky); }

.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head > p:not(.eyebrow) { margin-top: 16px; font-size: 1.15rem; line-height: 1.5; color: var(--muted); }
.section-head.center { margin-inline: auto; text-align: center; }

.head-row {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.head-row .section-head { margin-bottom: 0; }

/* scroll reveal (only when JS runs)
   Uses `translate` (not `transform`) so it never overrides the cards'
   own hover `transform`, and the stagger delay only applies to the reveal. */
.js .reveal {
  opacity: 0; translate: 0 28px;
  transition:
    opacity .8s var(--ease) var(--d, 0s),
    translate .8s var(--ease) var(--d, 0s),
    transform .45s var(--ease),
    background-color .4s var(--ease),
    border-color .4s var(--ease),
    box-shadow .45s var(--ease);
}
.js .reveal.in { opacity: 1; translate: none; }


/* =========================================================
   Framed images (posters keep their full proportions)
   ========================================================= */
.frame {
  position: relative; isolation: isolate;
  width: 100%;
}
.frame-img {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: 0 0 0 1px rgba(13, 43, 62, .06), var(--shadow);
}
.frame-img img { width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.frame:hover .frame-img img { transform: scale(1.03); }

/* sky slab offset behind the image */
.frame::before {
  content: ""; position: absolute; z-index: -1;
  inset: 9% -5% -5% 12%;
  border-radius: calc(var(--r-lg) + 8px);
  background: var(--sky);
}
.frame.slab-left::before { inset: 9% 12% -5% -5%; }
/* halftone dots in the slab corner */
.frame::after {
  content: ""; position: absolute; z-index: -1;
  right: -5%; bottom: -5%; width: 46%; height: 34%;
  border-radius: 0 0 calc(var(--r-lg) + 8px) 0;
  background: radial-gradient(circle, rgba(13, 43, 62, .22) 1.5px, transparent 2px) 0 0 / 14px 14px;
}
.frame.slab-left::after { right: auto; left: -5%; border-radius: 0 0 0 calc(var(--r-lg) + 8px); }
.frame.no-slab::after { display: none; }

.float-badge {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px 14px 14px;
  background: #fff; border-radius: 18px;
  box-shadow: 0 24px 48px -20px rgba(13, 43, 62, .4), 0 0 0 1px rgba(13, 43, 62, .05);
  font-size: .92rem; font-weight: 600; line-height: 1.3;
}
.float-badge i {
  display: grid; place-items: center; flex: none;
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--ink); color: #fff; font-size: 1.3rem;
}
.float-badge small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }
.fb-tr { right: -28px; top: 10%; }


/* =========================================================
   Home: hero
   ========================================================= */
.hero {
  position: relative; isolation: isolate;
  padding-top: calc(var(--h) + clamp(56px, 9vw, 112px));
}
.hero::before {
  content: ""; position: absolute; z-index: -1; inset: 0 0 -10% 0;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(179, 225, 244, .55), transparent 70%),
    radial-gradient(circle, rgba(13, 43, 62, .08) 1.2px, transparent 1.7px) 0 0 / 22px 22px;
  -webkit-mask-image: linear-gradient(#000 40%, transparent);
          mask-image: linear-gradient(#000 40%, transparent);
}
.hero-text { text-align: center; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 26px; padding: 7px 16px 7px 8px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  font-size: .88rem; font-weight: 600; color: var(--ink-soft);
}
.hero-tag b { padding: 3px 10px; border-radius: 999px; background: var(--sky); color: var(--ink); font-size: .78rem; }
.hero h1 {
  max-width: 13ch; margin-inline: auto;
  font-size: clamp(2.6rem, 7.6vw, 5.8rem);
  line-height: 1.02; letter-spacing: -.045em; font-weight: 700;
}
.hero-text > p {
  max-width: 52ch; margin: 26px auto 0;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.5; color: var(--muted);
}
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }


/* =========================================================
   Banner: Build. Grow. Serve.
   ========================================================= */
.motto {
  margin-top: clamp(48px, 7vw, 88px);
  padding: clamp(64px, 12vw, 168px) 0;
  background: #f7f7f4;
  overflow: clip;
}
.motto-text {
  display: flex; justify-content: center; flex-wrap: nowrap;
  gap: .3em;
  font-family: 'Helvetica Neue', Helvetica, Arial, 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.7rem, 8.4vw, 8rem);
  font-weight: 700; line-height: 1.1; letter-spacing: -.045em;
  color: #141414; white-space: nowrap;
}
.word { position: relative; display: inline-block; }
.mk { position: absolute; pointer-events: none; overflow: visible; }
.mk path { fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.mk-build { left: -6%; width: 116%; bottom: -8%; height: .22em; }
.mk-build path { stroke: #6a3fc9; }
.mk-grow  { left: -16%; width: 134%; top: -26%; height: 150%; }
.mk-grow path  { stroke: #5f7ff0; stroke-width: 2; }
.mk-serve { left: -6%; width: 118%; bottom: -2%; height: .26em; }
.mk-serve path { stroke: #f2a583; }
.js .mk path { stroke-dasharray: 4000; stroke-dashoffset: 4000; transition: stroke-dashoffset 1.3s var(--ease); }
.js .motto-text.in .mk path { stroke-dashoffset: 0; }
.js .motto-text.in .mk-build path:nth-child(1) { transition-delay: .5s; }
.js .motto-text.in .mk-build path:nth-child(2) { transition-delay: .75s; }
.js .motto-text.in .mk-grow  path { transition-delay: 1.1s; transition-duration: 1.8s; }
.js .motto-text.in .mk-serve path { transition-delay: 1.7s; }


/* =========================================================
   Home: approach (image + before/after list)
   ========================================================= */
.split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 8vw, 120px); align-items: center;
}
.split .frame { max-width: 560px; }
.split-text h2 { max-width: 14ch; }
.split-text > p:not(.eyebrow) { margin-top: 20px; max-width: 46ch; font-size: 1.15rem; line-height: 1.55; color: var(--muted); }
.split-text .btn, .split-text .text-link { margin-top: 32px; }

.shift { display: grid; gap: 12px; margin-top: 36px; }
.shift li {
  display: grid; grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1.15fr); align-items: center; gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line); border-radius: 18px;
  background: #fff;
  transition: border-color .3s, box-shadow .3s var(--ease), transform .3s var(--ease);
}
.shift li:hover { border-color: var(--sky-deep); box-shadow: 0 20px 40px -24px rgba(13, 43, 62, .35); transform: translateY(-2px); }
.shift .from { font-size: .95rem; color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(90, 116, 131, .45); }
.shift .arrow {
  display: grid; place-items: center; width: 36px; height: 36px;
  border-radius: 50%; background: var(--sky); font-size: 1rem;
}
.shift .to { font-weight: 700; line-height: 1.35; }


/* =========================================================
   Home: products (dark panel)
   ========================================================= */
.dark-panel {
  position: relative; isolation: isolate; overflow: hidden;
  margin-inline: clamp(8px, 1.6vw, 24px);
  padding: clamp(72px, 9vw, 120px) 0;
  border-radius: clamp(28px, 4vw, 48px);
  background: var(--ink); color: #fff;
}
.dark-panel::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background:
    radial-gradient(50% 60% at 100% 0%, rgba(124, 200, 232, .22), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(124, 200, 232, .12), transparent 70%);
}
.dark-panel h2 { color: #fff; }
.dark-panel .section-head > p:not(.eyebrow) { color: rgba(255, 255, 255, .68); }

.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

.pcard {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column;
  min-height: 340px; padding: clamp(26px, 2.6vw, 34px);
  border-radius: 28px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  color: #fff;
  transition: background-color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}
a.pcard:hover, a.pcard:focus-visible { background: rgba(179, 225, 244, .1); border-color: rgba(179, 225, 244, .45); transform: translateY(-6px); }
.pcard :focus-visible, a.pcard:focus-visible { outline-color: var(--sky); }

.p-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.p-ico {
  display: grid; place-items: center; flex: none;
  width: 56px; height: 56px; border-radius: 18px;
  background: var(--sky); color: var(--ink); font-size: 1.7rem;
}
.p-go {
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2); font-size: 1.15rem;
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .4s var(--ease), border-color .3s;
}
a.pcard:hover .p-go { background: var(--sky); border-color: var(--sky); color: var(--ink); transform: rotate(45deg); }

.p-cat { margin-top: auto; padding-top: 40px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sky); }
.pcard h3 { margin-top: 8px; font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }
.pcard h3.en { font-size: clamp(1.5rem, 2.2vw, 1.9rem); letter-spacing: -.03em; }
.p-en { margin-top: 2px; font-weight: 600; color: rgba(255, 255, 255, .86); }
.pcard p.p-desc { margin-top: 12px; max-width: 40ch; line-height: 1.55; color: rgba(255, 255, 255, .64); font-size: .98rem; }

/* featured card with app preview */
.pcard-feature {
  grid-column: span 2;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px;
  padding-bottom: 0; min-height: 440px;
  background: linear-gradient(140deg, rgba(179, 225, 244, .16), rgba(255, 255, 255, .04) 60%);
}
.pcard-feature .p-body { display: flex; flex-direction: column; padding-bottom: clamp(26px, 2.6vw, 34px); }
.pcard-feature .tile-visual { min-height: 300px; margin-top: 12px; }


/* =========================================================
   App preview mockups (shared by home + products page)
   ========================================================= */
.tile-visual { position: relative; flex: 1; min-height: 300px; }
.win {
  position: absolute; inset: 0 0 -14px 0;
  background: #fff; color: var(--ink);
  border-radius: 18px 18px 0 0;
  box-shadow: 0 0 0 1px rgba(13, 43, 62, .06), 0 28px 60px -28px rgba(13, 43, 62, .4);
  overflow: hidden;
  transition: transform .6s var(--ease);
}
a:hover .win, .pv:hover .win { transform: translateY(-10px); }

.win-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.win-bar b { width: 9px; height: 9px; border-radius: 50%; background: var(--sky-mid); }
.win-bar span { height: 8px; width: 92px; margin-left: 10px; border-radius: 99px; background: var(--sky-soft); }

.sk { display: block; height: 8px; border-radius: 99px; background: #e2edf3; }
.w40 { width: 40%; } .w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; }

.dash { display: grid; grid-template-columns: 56px 1fr; height: calc(100% - 34px); }
.dash-side { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 16px 0; background: var(--sky-soft); border-right: 1px solid var(--line); }
.dash-side b    { width: 26px; height: 26px; border-radius: 8px; background: var(--ink); }
.dash-side span { width: 22px; height: 22px; border-radius: 7px; background: var(--sky); }
.dash-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 18px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpis div { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.kpis small { font-size: .7rem; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpis .sk { height: 12px; background: var(--ink); }
.chart { flex: 1; min-height: 90px; display: flex; align-items: flex-end; gap: 8px; padding: 14px 14px 0; border: 1px solid var(--line); border-radius: 12px; }
.chart b { flex: 1; height: var(--hh); border-radius: 6px 6px 0 0; background: var(--sky); }
.chart b:nth-child(4n) { background: var(--ink); }

.res { display: flex; flex-direction: column; gap: 12px; padding: 20px; }
.res-head, .batch-head, .jobs-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .88rem; }
.pill { padding: 4px 10px; border-radius: 99px; background: var(--sky); font-size: .7rem; font-weight: 700; white-space: nowrap; }
.res-row { display: grid; grid-template-columns: 28px 1fr 38px; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.av { width: 28px; height: 28px; border-radius: 50%; background: var(--sky-mid); }
.res-row em { padding: 4px 0; border-radius: 8px; background: var(--ink); color: #fff; font-size: .78rem; font-style: normal; font-weight: 700; text-align: center; }

.flow { display: flex; align-items: center; padding: 22px 20px 10px; }
.flow-step { display: flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; color: var(--muted); }
.flow-step i { display: grid; place-items: center; width: 26px; height: 26px; border: 1.5px solid var(--line); border-radius: 50%; font-size: .85rem; }
.flow-step.done i { background: var(--ink); border-color: var(--ink); color: #fff; }
.flow-step.now { color: var(--ink); }
.flow-step.now i { background: var(--sky); border-color: var(--ink); color: var(--ink); }
.flow-line { flex: 1; height: 1.5px; min-width: 12px; margin: 0 10px; background: var(--line); }
.mfields { display: flex; flex-direction: column; gap: 12px; padding: 14px 20px 20px; }
.mfield { display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.mfield small { font-size: .7rem; font-weight: 600; color: var(--muted); }

.batch { display: flex; flex-direction: column; gap: 14px; padding: 20px; }
.week, .att { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.week span { text-align: center; font-size: .72rem; font-weight: 600; color: var(--muted); }
.att b { justify-self: center; width: 100%; max-width: 26px; aspect-ratio: 1; border: 1.5px solid var(--line); border-radius: 50%; }
.att b.on   { background: var(--ink); border-color: var(--ink); }
.att b.late { background: var(--sky); border-color: var(--sky); }

.jobs { display: flex; flex-direction: column; gap: 12px; padding: 20px; }
.job { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 14px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.job > div { display: flex; flex-direction: column; gap: 8px; }
.job-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--sky); font-size: 1.3rem; }
.job em { padding: 4px 10px; border-radius: 8px; background: var(--ink); color: #fff; font-size: .74rem; font-style: normal; font-weight: 700; }
.job em.wait { background: var(--sky); color: var(--ink); }


/* =========================================================
   Home: services (What we do)
   ========================================================= */
.svc-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 100px); align-items: start; }
.svc-aside { position: sticky; top: calc(var(--h) + 40px); }
.svc-aside h2 { max-width: 11ch; }
.svc-aside > p:not(.eyebrow) { max-width: 36ch; margin-top: 18px; font-size: 1.15rem; line-height: 1.5; color: var(--muted); }
.svc-aside .btn { margin-top: 28px; }
.svc-aside .frame { max-width: 440px; margin-top: 56px; }

.scards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.scard {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 280px; padding: 30px;
  background: #fff; border: 1px solid var(--line); border-radius: 26px;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.scard::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--ink), var(--sky-deep));
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.scard:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 34px 60px -30px rgba(13, 43, 62, .4); }
.scard:hover::after { transform: scaleX(1); }
.scard:nth-child(even) { transform: translateY(40px); }
.scard:nth-child(even):hover { transform: translateY(34px); }
.s-top { display: flex; align-items: flex-start; justify-content: space-between; }
.s-ico {
  display: grid; place-items: center;
  width: 60px; height: 60px; border-radius: 18px;
  background: var(--sky-soft); font-size: 1.8rem;
  transition: background-color .35s var(--ease);
}
.scard:hover .s-ico { background: var(--sky); }
.s-num { font-size: .85rem; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.scard h3 { margin-top: auto; padding-top: 40px; font-size: 1.4rem; line-height: 1.2; letter-spacing: -.025em; font-weight: 700; }
.scard p { margin-top: 8px; line-height: 1.5; color: var(--muted); }
.scard .checks { margin-top: 18px; }


/* =========================================================
   Who we serve cards
   ========================================================= */
.who { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.who-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 56px;
  min-height: 300px; padding: 32px 28px;
  background: var(--sky-soft); border-radius: 28px;
  transition: background-color .4s var(--ease), transform .4s var(--ease);
}
.who-card:hover { background: var(--sky); transform: translateY(-4px); }
.who-card > i { font-size: 2.8rem; }
.who-card h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; }
.who-card p  { margin-top: 6px; line-height: 1.5; color: var(--muted); }
.who-card:hover p { color: var(--ink-soft); }


/* =========================================================
   CTA
   ========================================================= */
.cta-wrap { padding: 0 0 clamp(72px, 9vw, 120px); }
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(28px, 5.5vw, 72px);
  background: var(--sky); color: var(--ink);
  border-radius: 36px;
}
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle, rgba(13, 43, 62, .22) 1.6px, transparent 2.1px) 0 0 / 16px 16px;
  -webkit-mask-image: linear-gradient(100deg, transparent 25%, #000 100%);
          mask-image: linear-gradient(100deg, transparent 25%, #000 100%);
}
.cta h2 { max-width: 11ch; font-size: clamp(2.1rem, 5.2vw, 4rem); line-height: 1.04; letter-spacing: -.045em; }
.cta p  { margin-top: 16px; max-width: 42ch; font-size: 1.1rem; line-height: 1.5; color: var(--ink-soft); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cta-contact { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 28px; font-weight: 600; font-size: .95rem; }
.cta-contact a { display: inline-flex; align-items: center; gap: 8px; }
.cta-contact i { font-size: 1.2rem; }
.poster-cta { border-radius: 24px; overflow: hidden; background: #edf2f8; box-shadow: 0 30px 60px -30px rgba(13, 43, 62, .45); transform: rotate(2deg); transition: transform .6s var(--ease); }
.poster-cta:hover { transform: rotate(0) scale(1.02); }
.poster-cta img { width: 100%; height: auto; }


/* =========================================================
   Inner pages: page hero
   ========================================================= */
.page-hero {
  position: relative; isolation: isolate;
  padding: calc(var(--h) + clamp(40px, 6vw, 80px)) 0 clamp(64px, 8vw, 112px);
}
.page-hero::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background:
    radial-gradient(55% 60% at 85% 20%, rgba(179, 225, 244, .6), transparent 70%),
    radial-gradient(circle, rgba(13, 43, 62, .07) 1.2px, transparent 1.7px) 0 0 / 22px 22px;
  -webkit-mask-image: linear-gradient(#000 50%, transparent);
          mask-image: linear-gradient(#000 50%, transparent);
}
.crumbs { display: flex; align-items: center; gap: 8px; margin-bottom: 28px; font-size: .88rem; font-weight: 500; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs i { font-size: .8rem; }
.page-hero h1 {
  max-width: 14ch;
  font-size: clamp(2.5rem, 6.4vw, 5rem);
  line-height: 1.03; letter-spacing: -.045em; font-weight: 700;
}
.page-hero .lede { margin-top: 24px; max-width: 48ch; font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.55; color: var(--muted); }
.page-hero .hero-cta { justify-content: flex-start; }
.ph-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(48px, 7vw, 100px); align-items: center; }
.ph-grid .frame { max-width: 500px; justify-self: center; }
.page-hero.center { text-align: center; }
.page-hero.center h1, .page-hero.center .lede { margin-inline: auto; }
.page-hero.center .crumbs, .page-hero.center .hero-cta { justify-content: center; }

.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 40px; }
.jump a {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px 10px 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-weight: 600; font-size: .95rem;
  transition: background-color .25s, border-color .25s, transform .25s var(--ease);
}
.jump a:hover { background: var(--sky); border-color: var(--sky); transform: translateY(-2px); }
.jump i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sky-soft); font-size: 1rem; }
.jump a:hover i { background: #fff; }


/* =========================================================
   Products page: alternating showcase rows
   ========================================================= */
.prows { display: grid; gap: clamp(72px, 10vw, 140px); }
.prow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.prow:nth-child(even) .pv { order: -1; }

.p-tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--sky-soft); font-size: .82rem; font-weight: 700; color: var(--ink-soft); }
.p-tag i { font-size: 1.05rem; }
.prow h2 { margin-top: 18px; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1.1; }
.prow .p-sub { margin-top: 4px; font-size: 1.2rem; font-weight: 600; }
.prow .p-text { margin-top: 18px; max-width: 46ch; font-size: 1.08rem; line-height: 1.6; color: var(--muted); }
.prow .hero-cta { justify-content: flex-start; margin-top: 32px; }

.checks { display: grid; gap: 12px; margin-top: 26px; }
.checks li { display: flex; align-items: flex-start; gap: 12px; line-height: 1.45; }
.checks i {
  display: grid; place-items: center; flex: none;
  width: 24px; height: 24px; margin-top: 1px; border-radius: 50%;
  background: var(--sky); font-size: .8rem;
}
.checks.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }

.pv {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column;
  min-height: 480px; padding: clamp(28px, 4vw, 52px) clamp(28px, 4vw, 52px) 0;
  border-radius: var(--r-lg);
  background: var(--sky);
}
.pv.soft { background: var(--sky-mid); }
.pv::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: radial-gradient(circle, rgba(13, 43, 62, .16) 1.5px, transparent 2px) 0 0 / 16px 16px;
  -webkit-mask-image: linear-gradient(160deg, #000, transparent 55%);
          mask-image: linear-gradient(160deg, #000, transparent 55%);
}
.pv .tile-visual { min-height: 380px; }

.biz-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bcard {
  display: flex; flex-direction: column;
  padding: 32px; border-radius: 28px;
  background: #fff; border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.bcard:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -30px rgba(13, 43, 62, .35); }
.bcard .s-ico { background: var(--sky); }
.bcard h3 { margin-top: 28px; font-size: 1.5rem; letter-spacing: -.02em; }
.bcard p { margin-top: 8px; color: var(--muted); line-height: 1.5; }


/* =========================================================
   Services page
   ========================================================= */
.sgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sgrid .scard:nth-child(even) { transform: none; }
.sgrid .scard:nth-child(even):hover { transform: translateY(-6px); }
.sgrid .scard { min-height: 0; }
.sgrid .scard h3 { padding-top: 32px; margin-top: 0; }

.models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.model {
  position: relative; overflow: hidden;
  padding: 36px 32px; border-radius: 28px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
}
.model.hl { background: var(--sky); color: var(--ink); border-color: var(--sky); }
.model .m-n { font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sky); }
.model.hl .m-n { color: var(--ink-soft); }
.model h3 { margin-top: 48px; font-size: 1.6rem; letter-spacing: -.03em; line-height: 1.2; }
.model p { margin-top: 10px; line-height: 1.55; color: rgba(255, 255, 255, .66); }
.model.hl p { color: var(--ink-soft); }
.model i.m-ico { position: absolute; right: 28px; top: 28px; font-size: 2.4rem; color: var(--sky); }
.model.hl i.m-ico { color: var(--ink); }


/* =========================================================
   About page
   ========================================================= */
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 100px); }
.story .lead { font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.4; letter-spacing: -.02em; font-weight: 500; }
.story .body { margin-top: 24px; display: grid; gap: 16px; color: var(--muted); font-size: 1.08rem; line-height: 1.65; }
.mission { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.mission > div { padding: 28px; border-radius: 24px; background: var(--sky-soft); }
.mission h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; }
.mission h3 i { font-size: 1.5rem; }
.mission p { margin-top: 10px; color: var(--muted); line-height: 1.55; }

.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.value {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column;
  min-height: 320px; padding: 30px;
  border-radius: 28px; background: #fff; border: 1px solid var(--line);
  transition: transform .4s var(--ease), background-color .4s var(--ease);
}
.value:hover { transform: translateY(-6px); background: var(--sky); border-color: var(--sky); }
.value .s-ico { background: var(--sky-soft); }
.value:hover .s-ico { background: #fff; }
.value h3 { margin-top: auto; padding-top: 40px; font-size: 1.35rem; letter-spacing: -.02em; }
.value p { margin-top: 8px; color: var(--muted); line-height: 1.5; }
.value:hover p { color: var(--ink-soft); }
.value .glyph {
  position: absolute; z-index: -1; right: 18px; top: 4px;
  font-family: 'Hind Siliguri', var(--font); font-size: 7rem; line-height: 1; font-weight: 700;
  color: var(--sky-soft);
  transition: color .4s;
}
.value:hover .glyph { color: rgba(255, 255, 255, .55); }

.band { background: var(--sky); }
.band .section-head > p:not(.eyebrow) { color: var(--ink-soft); }
.process-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: clamp(32px, 6vw, 88px); align-items: center; margin-bottom: clamp(40px, 5vw, 72px); }
.process-top .section-head { margin-bottom: 0; }
.process-img { border-radius: var(--r-lg); overflow: hidden; background: #f2efea; box-shadow: var(--shadow); }
.process-img img { width: 100%; height: auto; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.step { position: relative; display: flex; flex-direction: column; min-height: 280px; padding: 28px; background: #fff; border-radius: 28px; }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: auto; padding-bottom: 48px; }
.step-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .9rem; font-weight: 700; }
.step-top i { font-size: 2.2rem; }
.step h3 { font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; }
.step p  { margin-top: 8px; line-height: 1.5; color: var(--muted); }
@media (min-width: 992px) {
  .step:not(:last-child)::after {
    content: "\e06c";
    position: absolute; z-index: 2; top: 32px; right: -26px;
    display: grid; place-items: center;
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--sky-deep); color: var(--ink);
    font-family: "Phosphor-Light"; font-size: 1rem; line-height: 1;
  }
}


/* =========================================================
   Clients page
   ========================================================= */
.aud { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.aud-card {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px;
  padding: clamp(28px, 3vw, 40px); border-radius: 28px;
  background: var(--sky-soft);
  transition: background-color .4s var(--ease);
}
.aud-card:hover { background: var(--sky); }
.aud-card > i {
  display: grid; place-items: center;
  width: 72px; height: 72px; border-radius: 22px;
  background: #fff; font-size: 2.2rem;
}
.aud-card h3 { font-size: 1.5rem; letter-spacing: -.02em; }
.aud-card > div > p { margin-top: 6px; color: var(--muted); line-height: 1.5; }
.aud-card:hover > div > p { color: var(--ink-soft); }
.aud-card .checks { margin-top: 18px; gap: 10px; }
.aud-card .checks i { background: #fff; }

.moments { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.moment {
  position: relative; display: flex; flex-direction: column;
  padding: 32px; border-radius: 28px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
}
.moment .when { display: inline-flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sky); }
.moment .when i { font-size: 1.3rem; }
.moment h3 { margin-top: 36px; font-size: 1.5rem; letter-spacing: -.02em; line-height: 1.25; }
.moment p { margin-top: 10px; color: rgba(255, 255, 255, .66); line-height: 1.55; }
.moment .uses { margin-top: auto; padding-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.moment .uses a {
  padding: 7px 14px; border-radius: 999px;
  background: rgba(179, 225, 244, .14); color: var(--sky);
  font-weight: 600; font-size: .92rem;
  transition: background-color .25s, color .25s;
}
.moment .uses a:hover { background: var(--sky); color: var(--ink); }

.reasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; border-top: 1.5px solid var(--ink); }
.reason { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.reason i { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--sky-soft); font-size: 1.6rem; }
.reason h3 { font-size: 1.3rem; letter-spacing: -.02em; }
.reason p { margin-top: 6px; color: var(--muted); line-height: 1.5; }


/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--ink); color: #fff; padding: 80px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 40px; width: auto; filter: brightness(0) invert(1); }
.footer-brand p { margin-top: 18px; max-width: 30ch; color: rgba(255, 255, 255, .62); font-size: .98rem; }
.footer-contact { display: grid; gap: 10px; margin-top: 24px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .8); font-size: .95rem; transition: color .25s; }
.footer-contact a:hover { color: #fff; }
.footer-contact i { font-size: 1.2rem; color: var(--sky); }
.footer h3 { margin-bottom: 18px; font-size: .9rem; font-weight: 700; letter-spacing: .02em; color: var(--sky); }
.footer li + li { margin-top: 11px; }
.footer-grid ul a {
  color: rgba(255, 255, 255, .72); font-size: .98rem;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
  transition: color .25s, background-size .35s var(--ease);
}
.footer-grid ul a:hover { color: #fff; background-size: 100% 1px; }
.footer :focus-visible { outline-color: var(--sky); }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: 64px; padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .6); font-size: .9rem;
}
.social { display: flex; gap: 10px; }
.social a {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1.5px solid rgba(255, 255, 255, .22); border-radius: 50%;
  color: #fff; font-size: 1.15rem;
  transition: background-color .25s, color .25s, border-color .25s;
}
.social a:hover { background: var(--sky); color: var(--ink); border-color: var(--sky); }


/* =========================================================
   Welcome popup
   ========================================================= */
.promo {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center; padding: 20px;
  background: rgba(13, 43, 62, .55);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; transition: opacity .35s var(--ease);
}
.promo[hidden] { display: none; }
.promo.show { opacity: 1; }
.promo-card {
  position: relative; width: min(100%, 440px); padding: 12px;
  background: #fff; border-radius: 26px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .5);
  transform: translateY(18px) scale(.97); transition: transform .45s var(--ease);
}
.promo.show .promo-card { transform: none; }
.promo-card img { display: block; width: 100%; height: auto; max-height: calc(100vh - 170px); max-height: calc(100dvh - 170px); object-fit: contain; margin-bottom: 12px; border-radius: 16px; background: #f4f4f2; }
.promo-close {
  position: absolute; top: -14px; right: -14px; z-index: 1;
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; background: var(--ink); color: #fff; font-size: 1.2rem;
  transition: background-color .25s, color .25s;
}
.promo-close:hover { background: var(--sky); color: var(--ink); }


/* =========================================================
   Laptop (992–1199)
   ========================================================= */
@media (max-width: 1199.98px) {
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value { min-height: 260px; }
  .who { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .who-card { min-height: 240px; }
  .fb-tr { right: -12px; }
}


/* =========================================================
   Tablet (≤ 991)
   ========================================================= */
@media (max-width: 991.98px) {
  :root { --h: 68px; --gutter: 40px; }

  .split, .svc-layout, .ph-grid, .prow, .story, .process-top, .cta { grid-template-columns: minmax(0, 1fr); }
  .split .frame, .ph-grid .frame { max-width: 520px; justify-self: center; margin-inline: auto; }
  .split-media { order: -1; }
  .split-text h2, .svc-aside h2 { max-width: none; }

  .svc-aside { position: static; }
  .svc-aside .frame { max-width: 420px; margin: 48px auto 8px; }
  .scard:nth-child(even), .scard:nth-child(even):hover { transform: none; }
  .scard:hover { transform: translateY(-4px); }

  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pcard-feature { grid-column: 1 / -1; }

  .prow:nth-child(even) .pv { order: 0; }
  .pv { min-height: 440px; }

  .sgrid, .biz-grid, .models, .moments { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step { min-height: 240px; }
  .aud { grid-template-columns: minmax(0, 1fr); }
  .reasons { grid-template-columns: minmax(0, 1fr); }

  .process-img { max-width: 620px; }
  .poster-cta { max-width: 340px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  /* ---- mobile menu ---- */
  .header-inner { display: flex; justify-content: space-between; }
  .brand img { height: 38px; }
  .header-actions .btn { display: none; }
  .burger { display: block; margin-right: -10px; }

  .nav {
    position: fixed; top: var(--h); left: 0; right: 0; bottom: 0;
    height: auto;
    padding: 4px 24px 48px;
    background: #fff;
    overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden;
    transform: translateY(-12px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-list { height: auto; flex-direction: column; }
  .nav-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; border-bottom: 1px solid var(--line); }
  .nav-item, .nav-cta { opacity: 0; transform: translateY(14px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
  .nav.open .nav-item, .nav.open .nav-cta { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 60ms + 120ms); }

  .nav-link { height: auto; padding: 20px 0; font-size: 1.3rem; font-weight: 600; letter-spacing: -.01em; }
  .nav-link[aria-current="page"] { font-weight: 700; }
  .label::after { display: none; }
  .nav-link[aria-current="page"] .label { background: linear-gradient(transparent 62%, var(--sky) 62%); }
  .sub-toggle { width: 44px; height: 44px; margin-right: -8px; font-size: 1.1rem; color: var(--ink); background: var(--sky-soft); }

  .mega { grid-column: 1 / -1; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
  .nav-item.open .mega { grid-template-rows: 1fr; }
  .mega-clip { overflow: hidden; min-height: 0; }
  .mega-inner { width: 100%; padding: 0 0 16px; }
  .mega-cols { display: block; }
  .mega-col + .mega-col { margin-top: 18px; }
  .mega-title { border-bottom: 0; padding-bottom: 4px; margin-bottom: 4px; font-size: .85rem; color: var(--muted); }
  .mega-link { margin-inline: -14px; padding: 10px 14px; }
  .mega-link strong { font-size: 1.05rem; }

  .nav-home { display: grid; }
  .nav-cta { display: block; padding-top: 28px; }
}
@media (min-width: 992px) { .nav-home { display: none !important; } }


/* =========================================================
   Phone (≤ 640)
   ========================================================= */
@media (max-width: 640px) {
  :root { --gutter: 32px; }
  body { font-size: 1rem; }
  .nav { padding-inline: 16px; }

  .btn { white-space: normal; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-points { justify-content: flex-start; gap: 10px 18px; max-width: 340px; margin-inline: auto; font-size: .9rem; }
  .hero-points li { flex: 1 1 40%; }

  .section-head > p:not(.eyebrow) { font-size: 1.05rem; }

  .frame::before { inset: 7% -3% -3% 10%; }
  .frame.slab-left::before { inset: 7% 10% -3% -3%; }
  .frame::after { right: -3%; bottom: -3%; }
  .frame.slab-left::after { left: -3%; }
  .float-badge { padding: 10px 14px 10px 10px; font-size: .82rem; border-radius: 14px; }
  .float-badge i { width: 34px; height: 34px; font-size: 1.1rem; border-radius: 10px; }
  .fb-tr { right: -6px; }

  .shift li { grid-template-columns: minmax(0, 1fr) 32px; grid-template-areas: "from arrow" "to to"; gap: 8px 12px; padding: 14px 16px; }
  .shift .from { grid-area: from; }
  .shift .arrow { grid-area: arrow; width: 32px; height: 32px; transform: rotate(90deg); }
  .shift .to { grid-area: to; }

  .dark-panel { margin-inline: 8px; border-radius: 28px; }
  .pgrid, .sgrid, .biz-grid, .models, .moments, .scards, .steps, .who, .values, .mission { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .pcard { min-height: 0; border-radius: 24px; }
  .p-cat { padding-top: 32px; }
  .pcard-feature { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .pcard-feature .p-body { padding-bottom: 8px; }
  .pcard-feature .tile-visual { min-height: 270px; }
  .pcard-wide { flex-direction: column; align-items: flex-start; }

  .scard, .value, .bcard, .model, .moment, .step, .who-card { border-radius: 24px; padding: 26px; min-height: 0; }
  .scard h3, .value h3 { padding-top: 28px; }
  .value .glyph { font-size: 5.5rem; }
  .step-top { padding-bottom: 32px; }
  .who-card { gap: 36px; }
  .model h3 { margin-top: 32px; }

  .pv { min-height: 0; padding: 24px 20px 0; border-radius: 24px; }
  .pv .tile-visual { min-height: 300px; }
  .checks.two { grid-template-columns: minmax(0, 1fr); }
  .prow .hero-cta { flex-direction: column; align-items: stretch; }

  .flow { padding: 20px 14px 8px; }
  .flow-step { gap: 6px; font-size: .7rem; }
  .flow-step i { width: 22px; height: 22px; font-size: .75rem; }
  .flow-line { margin: 0 6px; min-width: 6px; }
  .dash { grid-template-columns: 40px 1fr; }
  .dash-side b { width: 20px; height: 20px; }
  .dash-side span { width: 16px; height: 16px; }
  .dash-main { padding: 12px; gap: 10px; }
  .kpis { gap: 8px; }
  .kpis div { padding: 10px; }
  .chart { gap: 5px; padding: 10px 10px 0; }

  .aud-card { grid-template-columns: minmax(0, 1fr); gap: 18px; border-radius: 24px; }
  .aud-card > i { width: 60px; height: 60px; font-size: 1.9rem; }
  .reason { grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 26px 0; }
  .reason i { width: 48px; height: 48px; font-size: 1.35rem; }

  .cta { border-radius: 26px; padding: 28px 22px; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; }
  .poster-cta { max-width: 280px; margin-inline: auto; }

  .jump { gap: 8px; }
  .jump a { font-size: .88rem; padding: 8px 14px 8px 8px; }

  .footer { padding-top: 56px; }
  .footer-grid { gap: 36px 24px; }
  .footer-bottom { margin-top: 48px; }
  .mk path { stroke-width: 1.6; }
}

@media (max-width: 380px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .float-badge small { display: none; }
}


/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}

/* ---- phone refinements ---- */
@media (max-width: 640px) {
  .hero-tag { white-space: nowrap; font-size: .76rem; padding: 6px 12px 6px 6px; gap: 8px; margin-bottom: 20px; }
  .hero-tag b { font-size: .7rem; padding: 3px 8px; }
  .page-hero.center { padding-bottom: 40px; }
}
.page-hero.center { padding-bottom: clamp(40px, 6vw, 80px); }
@media (max-width: 640px) { .hide-xs { display: none; } }


/* =========================================================
   v4 — Education + Business, side by side
   Education = sky blue, Business = warm peach
   ========================================================= */
:root {
  --edu:      var(--sky);
  --edu-ink:  #1572a3;
  --biz:      #ffd6bf;
  --biz-mid:  #ffe6d7;
  --biz-soft: #fff4ed;
  --biz-deep: #f2a583;
  --biz-ink:  #b9561f;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* sector tags */
.sec-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  font-size: .76rem; font-weight: 700; letter-spacing: .02em; line-height: 1.2;
  background: var(--sky-soft); color: var(--edu-ink); white-space: nowrap;
}
.sec-tag i { font-size: .95rem; }
.sec-tag.biz { background: var(--biz-soft); color: var(--biz-ink); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- hero: rotating word ---------- */
.hero::before {
  background:
    radial-gradient(45% 55% at 20% 0%, rgba(179, 225, 244, .6), transparent 70%),
    radial-gradient(45% 55% at 80% 0%, rgba(255, 214, 191, .55), transparent 70%),
    radial-gradient(circle, rgba(13, 43, 62, .08) 1.2px, transparent 1.7px) 0 0 / 22px 22px;
}
.hero h1 { max-width: 14ch; }
.rot { display: inline-grid; justify-items: center; vertical-align: top; }
.rot > span {
  grid-area: 1 / 1;
  padding: 0 .06em;
  transition: opacity .55s var(--ease), transform .7s var(--ease), filter .55s var(--ease);
}
.rot > .w-edu { color: var(--edu-ink); }
.rot > .w-biz { color: var(--biz-ink); }
.js .rot > span:not(.on) { opacity: 0; transform: translateY(.45em); filter: blur(6px); }
.js .rot > span.out { opacity: 0; transform: translateY(-.45em); filter: blur(6px); }
.rot > span::after {
  content: ""; display: block; height: .09em; margin-top: -.06em;
  border-radius: 99px; background: currentColor; opacity: .25;
  transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease) .15s;
}
.rot > span.on::after { transform: scaleX(1); }

.hero-sectors { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(40px, 6vw, 60px); }
.hero-sectors a {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 20px 10px 10px; border-radius: 999px;
  background: #fff; border: 1.5px solid var(--line);
  font-weight: 600; text-align: left; line-height: 1.25;
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}
.hero-sectors a i {
  display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%;
  font-size: 1.3rem; background: var(--sky-soft); transition: background-color .4s var(--ease);
}
.hero-sectors a.biz i { background: var(--biz-soft); }
.hero-sectors small { display: block; font-weight: 500; font-size: .8rem; color: var(--muted); }
.hero-sectors a:hover, .hero-sectors a.is-on { transform: translateY(-2px); box-shadow: 0 18px 36px -22px rgba(13, 43, 62, .45); }
.hero-sectors a.edu.is-on { border-color: var(--sky-deep); }
.hero-sectors a.edu.is-on i { background: var(--sky); }
.hero-sectors a.biz.is-on { border-color: var(--biz-deep); }
.hero-sectors a.biz.is-on i { background: var(--biz); }

/* ---------- two sectors ---------- */
.sectors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.sector {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column;
  padding: clamp(28px, 4vw, 48px);
  border-radius: clamp(28px, 3.5vw, 40px);
  background: var(--sky);
}
.sector.biz { background: var(--biz); }
.sector::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: radial-gradient(circle, rgba(13, 43, 62, .14) 1.5px, transparent 2px) 0 0 / 16px 16px;
  -webkit-mask-image: linear-gradient(200deg, #000, transparent 45%);
          mask-image: linear-gradient(200deg, #000, transparent 45%);
}
.sec-label { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: .95rem; }
.sec-label i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: #fff; font-size: 1.5rem; }
.sector h3 { margin-top: 28px; max-width: 16ch; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.1; letter-spacing: -.035em; }
.sector > p { margin-top: 14px; max-width: 44ch; line-height: 1.55; color: var(--ink-soft); }
.sector .chips-light { margin-top: 24px; }
.chips-light { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-light li { display: flex; }
.chips-light a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px; border-radius: 999px; background: rgba(255, 255, 255, .75);
  font-weight: 600; font-size: .92rem;
  transition: background-color .25s, transform .25s var(--ease);
}
.chips-light a:hover { background: #fff; transform: translateY(-2px); }
.chips-light i { font-size: 1.1rem; }
.sector .btn { align-self: flex-start; margin-top: 28px; }
.sector .tile-visual { min-height: 300px; margin-top: 40px; }
.sector:hover .win { transform: translateY(-10px); }

/* ---------- approach rows: sector accent ---------- */
.shift li { position: relative; overflow: hidden; }
.shift li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--sky-deep); }
.shift li.biz::before { background: var(--biz-deep); }
.shift li.biz .arrow { background: var(--biz); }

/* ---------- products panel tabs ---------- */
.ptabs {
  display: inline-flex; gap: 4px; padding: 6px; margin-bottom: 28px;
  border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1);
}
.ptabs button {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px;
  color: rgba(255, 255, 255, .75); font-weight: 600;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.ptabs button i { font-size: 1.2rem; }
.ptabs button:hover { color: #fff; }
.ptabs button[aria-selected="true"] { background: var(--sky); color: var(--ink); }
.ptabs button.biz[aria-selected="true"] { background: var(--biz); }
.ptabs button:focus-visible { outline-color: var(--sky); }
.tabpanel[hidden] { display: none; }
.js .tabpanel:not([hidden]) { animation: panelIn .5s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.no-js-label { display: none; }
html:not(.js) .no-js-label { display: block; margin: 8px 0 18px; font-weight: 700; color: var(--sky); }
html:not(.js) .ptabs { display: none; }
html:not(.js) .tabpanel + .tabpanel { margin-top: 40px; }

.pcard.biz .p-ico { background: var(--biz); }
.pcard.biz .p-cat { color: #ffc4a3; }
a.pcard.biz:hover { background: rgba(255, 214, 191, .1); border-color: rgba(255, 214, 191, .45); }
a.pcard.biz:hover .p-go { background: var(--biz); border-color: var(--biz); }
.pcard-feature.biz { background: linear-gradient(140deg, rgba(255, 214, 191, .16), rgba(255, 255, 255, .04) 60%); }

/* ---------- business mockups ---------- */
.pos { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); height: calc(100% - 34px); }
.pos-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: start; gap: 10px; padding: 16px; }
.pt { display: flex; flex-direction: column; gap: 6px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; }
.pt b { display: block; aspect-ratio: 4 / 3; border-radius: 8px; background: var(--biz-mid); }
.pt:nth-child(3n+2) b { background: var(--sky-mid); }
.pt .sk { height: 6px; }
.pos-ticket { display: flex; flex-direction: column; gap: 10px; padding: 16px; background: var(--biz-soft); border-left: 1px solid var(--line); }
.pos-ticket strong { font-size: .82rem; }
.tl { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tl .sk { height: 7px; }
.tl .sk.r { width: 22%; background: #f0d7c8; }
.pos-total { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 10px; border-top: 1px dashed #e9cdbd; font-size: .8rem; font-weight: 700; }
.pos-total .sk { width: 34%; height: 11px; background: var(--ink); }
.pos-pay { display: grid; place-items: center; height: 34px; border-radius: 10px; background: var(--ink); color: #fff; font-size: .78rem; font-weight: 700; }

.crm { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 16px; height: calc(100% - 34px); }
.crm-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 10px; border-radius: 14px; background: #f6f9fb; }
.crm-col > header { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: .72rem; font-weight: 700; color: var(--muted); }
.crm-col > header em { font-style: normal; padding: 2px 8px; border-radius: 99px; background: #fff; color: var(--ink); }
.crm-col.won > header em { background: var(--biz); }
.cc { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.cc .row { display: flex; align-items: center; gap: 8px; }
.cc .dot { flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--biz-mid); }
.crm-col:first-child .cc .dot { background: var(--sky-mid); }
.cc .sk { height: 6px; }

.shop { display: flex; flex-direction: column; gap: 14px; padding: 18px; }
.shop-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .88rem; }
.shop-head .pill { display: inline-flex; align-items: center; gap: 6px; background: var(--biz); }
.shop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.prod { display: flex; flex-direction: column; gap: 8px; }
.prod b { display: block; aspect-ratio: 1; border-radius: 12px; background: var(--biz-mid); }
.prod:nth-child(even) b { background: var(--sky-mid); }
.prod em { align-self: flex-start; padding: 3px 8px; border-radius: 6px; background: var(--ink); color: #fff; font-size: .68rem; font-style: normal; font-weight: 700; }

.pv.biz { background: var(--biz); }
.pv.biz.soft { background: var(--biz-mid); }

/* ---------- products page: sector headers ---------- */
.sector-head {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px 32px;
  margin-bottom: clamp(56px, 7vw, 96px); padding: clamp(24px, 3vw, 36px);
  border-radius: 28px; background: var(--sky-soft);
}
.sector-head.biz { background: var(--biz-soft); }
.sector-head > i { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 22px; background: var(--sky); font-size: 2.2rem; }
.sector-head.biz > i { background: var(--biz); }
.sector-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.sector-head p { margin-top: 8px; color: var(--muted); max-width: 52ch; line-height: 1.5; }
.sector-head .count { font-weight: 700; font-size: .9rem; color: var(--ink-soft); white-space: nowrap; }
.jump-groups { display: grid; gap: 14px; justify-items: center; margin-top: 40px; }
.jump-groups .jump { margin-top: 0; align-items: center; }
.jump-groups .jlabel { font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--edu-ink); margin-right: 4px; }
.jump-groups .biz .jlabel { color: var(--biz-ink); }
.jump .biz-chip i { background: var(--biz-soft); }
.jump .biz-chip:hover { background: var(--biz); border-color: var(--biz); }
.prow .p-tag.biz { background: var(--biz-soft); color: var(--biz-ink); }
.prow.biz .checks i { background: var(--biz); }
.biz-extra { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(72px, 9vw, 120px); }
.biz-extra .bcard .s-ico { background: var(--biz); }
.biz-extra a.bcard:hover { border-color: var(--biz-deep); }

/* services: sector tags in cards */
.scard .tags { margin-top: 16px; }
.scard .tags + .checks { margin-top: 16px; }

/* who-cards with sector colour */
.who-card.biz { background: var(--biz-soft); }
.who-card.biz:hover { background: var(--biz); }
.who-card .sec-tag { align-self: flex-start; margin-bottom: 14px; background: #fff; }
.aud-card.biz { background: var(--biz-soft); }
.aud-card.biz:hover { background: var(--biz); }
.aud-card .sec-tag { margin-bottom: 12px; background: #fff; }
.aud-card.biz .checks i { background: #fff; }

/* dark moments: business accent */
.moment.biz .when { color: #ffc4a3; }
.moment.biz .uses a { background: rgba(255, 214, 191, .14); color: #ffc4a3; }
.moment.biz .uses a:hover { background: var(--biz); color: var(--ink); }
.moments.six { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* values: business tint on alternate */
.value.biz-tint .s-ico { background: var(--biz-soft); }
.value.biz-tint:hover { background: var(--biz); border-color: var(--biz); }

@media (max-width: 991.98px) {
  .sectors { grid-template-columns: minmax(0, 1fr); }
  .sector-head { grid-template-columns: auto minmax(0, 1fr); }
  .sector-head .count { grid-column: 1 / -1; }
  .biz-extra { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .moments.six { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .hero-sectors { flex-direction: column; align-items: stretch; max-width: 340px; margin-inline: auto; }
  .sector { border-radius: 26px; padding: 26px 22px; }
  .sector h3 { margin-top: 22px; }
  .sector .btn { align-self: stretch; }
  .sector .tile-visual { min-height: 260px; margin-top: 32px; }
  .ptabs { display: flex; width: 100%; }
  .ptabs button { flex: 1; justify-content: center; padding: 12px 10px; }
  .sector-head { grid-template-columns: minmax(0, 1fr); padding: 24px; }
  .sector-head > i { width: 60px; height: 60px; font-size: 1.8rem; }
  .biz-extra, .moments.six { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .pos-items { gap: 6px; padding: 10px; }
  .pt { padding: 5px; border-radius: 8px; }
  .pos-ticket { padding: 10px; gap: 8px; }
  .crm { gap: 6px; padding: 10px; }
  .crm-col { padding: 6px; gap: 6px; }
  .crm-col > header { font-size: .62rem; }
  .crm-col > header em { padding: 1px 5px; }
  .cc { padding: 7px; }
  .shop { padding: 14px; }
  .shop-grid { gap: 8px; }
}
.hero-tag b.biz { background: var(--biz); }

/* ---------- sector buttons straddling the bottom edge of the motto banner ---------- */
.pills-bridge { position: relative; z-index: 2; margin-top: -34px; }
.pills-bridge .hero-sectors { margin-top: 0; }
.pills-bridge .hero-sectors a { box-shadow: 0 14px 30px -20px rgba(13, 43, 62, .35); }

/* ---------- compact, minimal product cards (home) ---------- */
.pgrid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.pcard {
  min-height: 0; padding: 22px 20px 24px;
  border-radius: 20px;
}
a.pcard:hover, a.pcard:focus-visible { transform: translateY(-4px); }
.p-ico { width: 44px; height: 44px; border-radius: 14px; font-size: 1.35rem; }
.p-go { width: 34px; height: 34px; font-size: .95rem; }
.p-cat { margin-top: 0; padding-top: 22px; font-size: .68rem; letter-spacing: .1em; }
.pcard h3 { margin-top: 6px; font-size: 1.65rem; line-height: 1.2; }
.pcard h3.en { font-size: 1.2rem; line-height: 1.25; letter-spacing: -.02em; }
.p-en { margin-top: 2px; font-size: .85rem; line-height: 1.4; color: rgba(255, 255, 255, .8); }
.pcard p.p-desc { margin-top: 10px; font-size: .86rem; line-height: 1.5; }
@media (max-width: 1199.98px) {
  .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .pills-bridge { margin-top: -30px; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pcard { padding: 18px 16px 20px; border-radius: 18px; }
  .p-ico { width: 38px; height: 38px; font-size: 1.15rem; border-radius: 12px; }
  .p-go { display: none; }
  .p-cat { padding-top: 16px; }
  .pcard h3 { font-size: 1.35rem; }
  .pcard h3.en { font-size: 1.05rem; }
  .p-en { font-size: .8rem; }
  .pcard p.p-desc { display: none; }
}

/* ---------- client logos: continuous left-to-right scroll ---------- */
.logo-strip { padding: clamp(56px, 7vw, 88px) 0 0; }
.logo-strip-title {
  margin-bottom: clamp(28px, 4vw, 44px); text-align: center;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem); line-height: 1.35; letter-spacing: -.02em; font-weight: 700;
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group {
  display: flex; align-items: center; justify-content: space-around; flex: none;
  gap: clamp(48px, 6vw, 96px); min-width: 100vw; padding-right: clamp(48px, 6vw, 96px);
}
.marquee-group li { flex: none; display: grid; place-items: center; height: 84px; }
.marquee-group img { height: 76px; width: auto; transition: transform .35s var(--ease); }
.marquee-group img.zoom { transform: scale(1.35); }      /* CORD-E file has wide empty margins */
.marquee-group li:hover img { transform: scale(1.08); }
.marquee-group li:hover img.zoom { transform: scale(1.45); }
/* track = two identical groups; sliding from 0 to -50% moves the logos right to left seamlessly */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.logo-strip + .section { padding-top: clamp(72px, 9vw, 112px); }
@media (max-width: 640px) {
  .marquee-group li { height: 64px; }
  .marquee-group img { height: 58px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; width: auto; }
  .marquee-group { min-width: 0; width: 100%; flex-wrap: wrap; justify-content: center; gap: 28px 40px; padding: 0 16px; }
  .marquee-group[aria-hidden] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
}

/* ---------- products page: full feature list for a product ---------- */
.feature-panel {
  grid-column: 1 / -1;
  padding: clamp(24px, 3.5vw, 40px);
  border-radius: var(--r-lg);
  background: var(--sky-soft); border: 1px solid var(--line);
}
.fp-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.fp-head h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); letter-spacing: -.02em; line-height: 1.25; }
.fp-count { padding: 6px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .85rem; font-weight: 700; }
.fgroups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.fgroup { padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.fgroup h4 { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 1.02rem; letter-spacing: -.01em; }
.fg-ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--sky); font-size: 1.3rem; }
.fgroup ul { display: grid; gap: 9px; }
.fgroup li { position: relative; padding-left: 20px; font-size: .94rem; line-height: 1.4; }
.fgroup li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 7px; height: 7px; border-radius: 50%; background: var(--sky-deep); }
.fgroup li small { display: block; margin-top: 1px; color: var(--muted); font-size: .82rem; }
@media (max-width: 991.98px) { .fgroups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .fgroups { grid-template-columns: minmax(0, 1fr); }
  .feature-panel { border-radius: 24px; }
}

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 100px); align-items: start; }
.faq-layout .section-head { position: sticky; top: calc(var(--h) + 40px); }
.faq-layout .section-head .text-link { margin-top: 24px; }
.faq { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font-size: clamp(1.08rem, 1.6vw, 1.25rem); font-weight: 700; letter-spacing: -.015em; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--sky-soft); font-size: 1.1rem;
  transition: transform .35s var(--ease), background-color .25s;
}
.faq summary:hover i { background: var(--sky); }
.faq details[open] summary i { transform: rotate(45deg); background: var(--sky); }
.faq details p { max-width: 60ch; padding: 0 56px 26px 0; color: var(--muted); line-height: 1.6; }
.faq details a { font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- floating WhatsApp button ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 250;
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 20px 0 16px; border-radius: 999px;
  background: #1f9d55; color: #fff; font-weight: 600; font-size: .95rem;
  box-shadow: 0 18px 40px -16px rgba(13, 43, 62, .55);
  opacity: 0; translate: 0 16px; pointer-events: none;
  transition: opacity .35s var(--ease), translate .35s var(--ease), background-color .25s;
}
.wa-float.show { opacity: 1; translate: none; pointer-events: auto; }
.wa-float:hover { background: #168246; }
.wa-float i { font-size: 1.6rem; }
.wa-float:focus-visible { outline-color: #1f9d55; }
body.no-scroll .wa-float { opacity: 0; pointer-events: none; }

@media (max-width: 991.98px) {
  .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .faq-layout .section-head { position: static; }
}
@media (max-width: 640px) {
  .faq details p { padding-right: 0; }
  .wa-float { right: 14px; bottom: 14px; width: 56px; padding: 0; justify-content: center; }
  .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* =========================================================
   Phone polish (≤ 640px): tighter cards, smaller posters,
   bigger tap targets, two-column footer
   ========================================================= */
@media (max-width: 640px) {
  /* readable small text and comfortable tap targets */
  .p-cat { font-size: .72rem; }
  .text-link { padding: 8px 0; }
  .cta-contact a { min-height: 40px; }
  .footer-grid ul a { display: inline-block; padding: 4px 0; }
  .footer li + li { margin-top: 4px; }

  /* posters: no longer fill the whole screen */
  .split .frame, .ph-grid .frame, .svc-aside .frame { max-width: 290px; }
  .ph-grid { gap: 40px; }
  .process-img { max-width: 340px; margin-inline: auto; }
  .poster-cta { max-width: 220px; }

  /* compact cards */
  .scard { padding: 22px; }
  .s-ico { width: 48px; height: 48px; border-radius: 14px; font-size: 1.5rem; }
  .scard h3, .value h3 { padding-top: 18px; font-size: 1.25rem; }
  .sgrid .scard h3 { padding-top: 18px; }
  .scard .checks { margin-top: 14px; gap: 8px; }
  .value { padding: 22px; }
  .value .glyph { font-size: 4.5rem; }
  .bcard { padding: 22px; }
  .bcard h3 { margin-top: 16px; font-size: 1.3rem; }
  .step { padding: 22px; }
  .step-top { padding-bottom: 20px; }
  .moment { padding: 22px; }
  .moment h3 { margin-top: 20px; font-size: 1.3rem; }
  .moment .uses { padding-top: 20px; }
  .model { padding: 24px 22px; }
  .model h3 { margin-top: 22px; font-size: 1.35rem; }
  .aud-card { padding: 22px; }
  .reason { padding: 20px 0; }
  .mission > div { padding: 22px; }

  /* "Who we build for": two small cards per row */
  .who { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .who-card { gap: 18px; padding: 18px 16px; border-radius: 20px; }
  .who-card > i { font-size: 2rem; }
  .who-card h3 { font-size: 1.02rem; }
  .who-card p { font-size: .86rem; }
  .who-card .sec-tag { margin-bottom: 10px; font-size: .72rem; padding: 4px 9px; }

  /* product page mockups: shorter */
  .pv { padding: 18px 14px 0; }
  .pv .tile-visual { min-height: 230px; }
  .prows { gap: 64px; }

  /* sections breathe a little less */
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
}
@media (max-width: 380px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 339.98px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .who { grid-template-columns: minmax(0, 1fr); }
}

/* rotating word: slot animates to the current word's width */
.rot { justify-items: start; transition: width .6s var(--ease); }
.rot > span { white-space: nowrap; }
