/* =====================================================================
   Aristo Coders — public design system
   Layers: bootstrap reboot + grid + utilities (vendor) -> this file
   ===================================================================== */

/* ---------------------------------------------------------------- fonts */
@font-face { font-family: Poppins; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/poppins-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/poppins-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/poppins-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/poppins-latin-700-normal.woff2) format("woff2"); }

/* --------------------------------------------------------------- tokens */
:root {
  --c-primary: #3B2389;
  --c-primary-600: #4a2fa6;
  --c-primary-400: #7a5fe0;
  --c-primary-200: #cfc4f5;
  --c-dark: #21134F;
  --c-ink: #120A2E;
  --c-tint: #F2EFFB;
  --c-gray: #F5F5F7;
  --c-text: #14111f;
  --c-muted: #666666;
  --c-line: #e7e3f3;
  --c-white: #FFFFFF;
  --c-black: #000000;
  --c-success: #16a34a;
  --c-whatsapp: #25D366;

  --grad-primary: linear-gradient(135deg, #3B2389 0%, #5b3fc4 100%);
  --grad-dark: radial-gradient(1200px 600px at 85% -10%, rgba(122, 95, 224, .35), transparent 60%),
               radial-gradient(800px 500px at -10% 110%, rgba(59, 35, 137, .55), transparent 60%),
               #1a0f40;

  --font: Poppins, "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-display: clamp(2.35rem, 1.4rem + 4vw, 4.25rem);
  --fs-h2: clamp(1.85rem, 1.3rem + 2.2vw, 3rem);
  --fs-h3: clamp(1.15rem, 1rem + .5vw, 1.35rem);
  --fs-lead: clamp(1.02rem, .95rem + .35vw, 1.2rem);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(18, 10, 46, .06), 0 2px 8px rgba(18, 10, 46, .04);
  --shadow-md: 0 10px 30px -10px rgba(33, 19, 79, .18);
  --shadow-lg: 0 30px 60px -20px rgba(33, 19, 79, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

/* ----------------------------------------------------------------- base */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-white);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.15; letter-spacing: -.025em; color: var(--c-ink); margin: 0 0 .6em; }
h3, h4 { letter-spacing: -.015em; }
p { margin: 0 0 1rem; }
a { color: var(--c-primary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--c-primary-600); }
img { max-width: 100%; height: auto; }
::selection { background: var(--c-primary); color: #fff; }
:focus-visible { outline: 3px solid var(--c-primary-400); outline-offset: 3px; border-radius: 6px; }
.icon { flex-shrink: 0; vertical-align: middle; }
.container { max-width: 1272px; --bs-gutter-x: 3rem; }
html, body { overflow-x: clip; }
.visually-hidden-focusable:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 2000; background: #fff; padding: 10px 16px; border-radius: 8px; box-shadow: var(--shadow-md); }

/* ----------------------------------------------------------- typography */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-primary); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.display { font-size: var(--fs-display); letter-spacing: -.035em; }
.h2 { font-size: var(--fs-h2); }
.lead { font-size: var(--fs-lead); color: var(--c-muted); font-weight: 400; }
.text-muted-2 { color: var(--c-muted); }
.text-gradient { background: linear-gradient(90deg, #fff 0%, #cfc4f5 60%, #a993ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sec-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow::after { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.prose { font-size: 1.05rem; color: #2c2840; }
.prose h2 { font-size: 1.75rem; margin-top: 2rem; }
.prose h3 { font-size: 1.3rem; margin-top: 1.6rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: .4rem; }
.prose img { border-radius: var(--r-md); }
.prose blockquote { border-left: 4px solid var(--c-primary); padding: .5rem 1.25rem; background: var(--c-tint); border-radius: 0 var(--r-sm) var(--r-sm) 0; }

/* -------------------------------------------------------------- buttons */
.btn-ac {
  --bg: var(--c-primary); --fg: #fff; --bd: var(--c-primary);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: .8rem 1.6rem; border-radius: 999px;
  font-weight: 600; font-size: .98rem; line-height: 1; letter-spacing: -.005em;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  cursor: pointer; white-space: nowrap;
}
.btn-ac:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(59, 35, 137, .6); }
.btn-ac .icon { transition: transform .25s var(--ease); }
.btn-ac:hover .icon-arrow { transform: translateX(3px); }
.btn-ac--primary { background: var(--grad-primary); border-color: transparent; }
.btn-ac--light { --bg: #fff; --fg: var(--c-primary); --bd: #fff; }
.btn-ac--ghost { --bg: transparent; --fg: var(--c-primary); --bd: var(--c-primary-200); }
.btn-ac--ghost:hover { --bg: var(--c-tint); }
.btn-ac--ghost-light { --bg: rgba(255, 255, 255, .06); --fg: #fff; --bd: rgba(255, 255, 255, .25); backdrop-filter: blur(8px); }
.btn-ac--ghost-light:hover { --bg: rgba(255, 255, 255, .14); box-shadow: none; }
.btn-ac--sm { min-height: 42px; padding: .6rem 1.15rem; font-size: .9rem; }
.btn-ac--whatsapp { --bg: var(--c-whatsapp); --bd: var(--c-whatsapp); --fg: #06371a; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .95rem; }
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* --------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 1000; height: var(--header-h);
  background: rgba(255, 255, 255, .82); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--c-line); box-shadow: 0 6px 24px -18px rgba(33, 19, 79, .35); background: rgba(255, 255, 255, .92); }
.page-home .site-header:not(.is-scrolled) { background: rgba(26, 15, 64, .55); }
.page-home .site-header:not(.is-scrolled) .brand-text,
.page-home .site-header:not(.is-scrolled) .nav-link-ac { color: #fff; }
.page-home .site-header:not(.is-scrolled) .nav-link-ac:hover,
.page-home .site-header:not(.is-scrolled) .nav-link-ac.is-active { color: #fff; background: rgba(255, 255, 255, .1); }
.page-home .site-header:not(.is-scrolled) .nav-toggle { color: #fff; border-color: rgba(255, 255, 255, .25); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; flex-shrink: 0; }
.brand img { height: 40px; width: auto; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad-primary); color: #fff; font-weight: 700; font-size: .95rem; letter-spacing: -.02em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15), 0 6px 16px -6px rgba(59, 35, 137, .7);
}
.brand-text { font-weight: 700; font-size: 1.15rem; letter-spacing: -.03em; color: var(--c-ink); line-height: 1; }
.brand-text small { display: block; font-size: .62rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; opacity: .6; margin-top: 4px; }

.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link-ac {
  display: inline-flex; align-items: center; gap: .3rem; padding: .55rem .85rem; border-radius: 999px;
  font-size: .93rem; font-weight: 500; color: var(--c-text); background: none; border: 0; transition: background .2s, color .2s;
}
.nav-link-ac:hover, .nav-link-ac.is-active { color: var(--c-primary); background: var(--c-tint); }
.nav-link-ac .icon { transition: transform .25s var(--ease); }
.has-mega:hover .nav-link-ac .icon, .has-mega.is-open .nav-link-ac .icon { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 8px);
  width: min(760px, 92vw); padding: 1.25rem; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--c-line); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.mega::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.has-mega:hover .mega, .has-mega.is-open .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .25rem; }
.mega-link { display: flex; gap: .85rem; padding: .8rem; border-radius: var(--r-md); color: var(--c-text); transition: background .2s; }
.mega-link:hover { background: var(--c-tint); color: var(--c-text); }
.mega-link .mi-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--c-tint); color: var(--c-primary); flex-shrink: 0; transition: background .2s, color .2s; }
.mega-link:hover .mi-icon { background: var(--c-primary); color: #fff; }
.mega-link strong { display: block; font-size: .93rem; font-weight: 600; line-height: 1.3; }
.mega-link span { display: block; font-size: .8rem; color: var(--c-muted); line-height: 1.45; margin-top: 2px; }
.header-cta { display: flex; align-items: center; gap: .75rem; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--c-line); background: transparent;
  align-items: center; justify-content: center; color: var(--c-ink);
}

/* mobile drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 1100; background: rgba(18, 10, 46, .5); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; overflow: hidden;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; }
.mobile-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff;
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .4s var(--ease);
}
.mobile-nav.is-open .mobile-panel { transform: none; }
.mobile-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid var(--c-line); }
.mobile-body { flex: 1; overflow-y: auto; padding: .75rem 1.25rem 1.5rem; }
.mobile-body ul { list-style: none; padding: 0; margin: 0; }
.m-link { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: .95rem 0; font-size: 1.05rem; font-weight: 600; color: var(--c-ink); border: 0; border-bottom: 1px solid var(--c-line); background: none; text-align: left; }
.m-sub { display: none; padding: .35rem 0 .75rem; }
.m-sub.is-open { display: block; }
.m-sub a { display: flex; align-items: center; gap: .65rem; padding: .55rem .25rem; font-size: .95rem; color: var(--c-text); }
.m-sub a .icon { color: var(--c-primary); }
.mobile-foot { padding: 1.25rem; border-top: 1px solid var(--c-line); display: grid; gap: .65rem; }
body.nav-open { overflow: hidden; }

/* -------------------------------------------------------------- sections */
.sec { position: relative; padding-block: clamp(4rem, 8vw, 7rem); }
.sec--tint { background: var(--c-tint); }
.sec--gray { background: var(--c-gray); }
.sec--dark { background: var(--grad-dark); color: #d9d3f5; }
.sec--dark h2, .sec--dark h3 { color: #fff; }
.sec--dark .eyebrow { color: #b9a8ff; }
.sec--dark .lead { color: #c5bce8; }
.sec--gradient { background: var(--grad-primary); color: #fff; }
.sec--hero, .sec--client-logos { padding-block: 0; }
.sec--client-logos { padding-block: 2.5rem; border-bottom: 1px solid var(--c-line); }
.pattern-grid {
  position: absolute; inset: 0; pointer-events: none;
  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(ellipse at 70% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%);
}

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative; overflow: hidden; color: #d9d3f5; background: var(--grad-dark);
  margin-top: calc(var(--header-h) * -1); padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 5.5rem)); padding-bottom: clamp(4rem, 8vw, 6.5rem);
}
.hero .eyebrow { color: #c4b5ff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); padding: .45rem .9rem; border-radius: 999px; letter-spacing: .1em; }
.hero .eyebrow::before { width: 8px; height: 8px; border-radius: 50%; background: #8f7bff; box-shadow: 0 0 0 4px rgba(143, 123, 255, .25); }
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero-sub { font-size: clamp(1.15rem, 1rem + .8vw, 1.55rem); font-weight: 500; color: #fff; letter-spacing: -.015em; line-height: 1.35; margin-bottom: 1.1rem; }
.hero-intro { color: #bfb6e3; font-size: 1.04rem; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 2rem; padding: 0; list-style: none; font-size: .9rem; color: #d4ccf4; }
.hero-points li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-points .icon { color: #8ef0b3; }
.hero-visual { position: relative; padding: 1rem 0 2.5rem 1rem; }
.hero-image { border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }

/* device mockups (pure CSS, used when no hero image is uploaded) */
.mock-browser {
  position: relative; border-radius: 18px; background: #fff; overflow: hidden;
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .1);
  transform: perspective(1600px) rotateY(-8deg) rotateX(3deg); transform-origin: left center;
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #f3f1fa; border-bottom: 1px solid #e8e4f5; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e2dcf3; }
.mock-bar i:first-child { background: #ff7b7b; } .mock-bar i:nth-child(2) { background: #ffcc5c; } .mock-bar i:nth-child(3) { background: #5fd38d; }
.mock-url { margin-left: 12px; flex: 1; height: 22px; border-radius: 6px; background: #fff; border: 1px solid #e8e4f5; font-size: 10px; color: #8b84a8; display: flex; align-items: center; padding-left: 10px; }
.mock-page { padding: 20px 22px 24px; }
.mock-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.mock-logo { width: 74px; height: 12px; border-radius: 4px; background: var(--c-primary); }
.mock-links { display: flex; gap: 8px; } .mock-links i { width: 30px; height: 7px; border-radius: 4px; background: #e6e1f5; }
.mock-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; align-items: center; margin-bottom: 22px; }
.mock-lines i { display: block; height: 12px; border-radius: 4px; background: #1d1440; margin-bottom: 8px; }
.mock-lines i:nth-child(1) { width: 92%; } .mock-lines i:nth-child(2) { width: 70%; }
.mock-lines i:nth-child(3) { width: 85%; height: 6px; background: #ddd8ee; margin-top: 12px; } .mock-lines i:nth-child(4) { width: 60%; height: 6px; background: #ddd8ee; }
.mock-btns { display: flex; gap: 8px; margin-top: 14px; } .mock-btns i { width: 64px; height: 20px; border-radius: 999px; background: var(--c-primary); } .mock-btns i + i { background: #ece8f8; }
.mock-art { aspect-ratio: 1.1; border-radius: 14px; background: radial-gradient(circle at 30% 30%, #8f7bff, transparent 55%), linear-gradient(135deg, #3B2389, #6a4fe0); position: relative; overflow: hidden; }
.mock-art::after { content: ""; position: absolute; inset: 22% 18%; border-radius: 10px; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .35); }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-cards span { height: 64px; border-radius: 10px; background: #f5f3fc; border: 1px solid #ece8f8; position: relative; }
.mock-cards span::before { content: ""; position: absolute; left: 10px; top: 10px; width: 18px; height: 18px; border-radius: 6px; background: var(--c-tint); box-shadow: inset 0 0 0 5px #d9d0fb; }
.mock-cards span::after { content: ""; position: absolute; left: 10px; bottom: 12px; width: 60%; height: 6px; border-radius: 3px; background: #ddd8ee; }
.mock-phone {
  position: absolute; right: 0; bottom: 0; width: 34%; aspect-ratio: 9 / 18.5; border-radius: 26px; background: #120a2e; padding: 8px;
  box-shadow: 0 40px 70px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .15); transform: rotate(4deg);
}
.mock-phone-screen { height: 100%; border-radius: 19px; background: #fff; overflow: hidden; padding: 16px 10px; }
.mock-phone-screen i { display: block; height: 8px; border-radius: 4px; background: #e6e1f5; margin-bottom: 7px; }
.mock-phone-screen i.t { height: 10px; background: #1d1440; width: 80%; }
.mock-phone-screen i.img { height: 72px; border-radius: 10px; background: linear-gradient(135deg, #3B2389, #7a5fe0); margin: 10px 0; }
.mock-phone-screen i.b { height: 22px; border-radius: 999px; background: var(--c-primary); width: 70%; margin-top: 10px; }
.glass-chip {
  position: absolute; display: flex; align-items: center; gap: .6rem; padding: .7rem 1rem; border-radius: 16px;
  background: rgba(26, 15, 64, .72); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: #fff; font-size: .82rem; font-weight: 500; line-height: 1.25; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5);
  animation: float 6s ease-in-out infinite;
}
.glass-chip .icon-wrap { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .16); }
.glass-chip small { display: block; font-size: .7rem; opacity: .7; font-weight: 400; }
.glass-chip.c1 { left: -18px; bottom: 30%; } .glass-chip.c2 { left: 8%; bottom: -4px; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* --------------------------------------------------------- client logos */
.logo-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logo-track { display: flex; gap: 3.5rem; width: max-content; animation: marquee 40s linear infinite; align-items: center; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-track img { height: 44px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .6; transition: filter .3s, opacity .3s; }
.logo-track a:hover img, .logo-track img:hover { filter: none; opacity: 1; }
.logos-title { text-align: center; font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 1.5rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------- image + text */
.it-media { position: relative; }
.it-media img, .it-placeholder { border-radius: var(--r-xl); width: 100%; }
.it-placeholder {
  aspect-ratio: 4 / 3.4; background: var(--grad-dark); position: relative; overflow: hidden; display: grid; place-items: center;
}
.it-placeholder .big-mark { font-size: clamp(4rem, 10vw, 7.5rem); font-weight: 700; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .35); }
.it-badge {
  position: absolute; right: -10px; bottom: 28px; background: #fff; border-radius: var(--r-md); padding: 1rem 1.25rem; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: .85rem; max-width: 260px;
}
.it-badge .num { font-size: 2rem; font-weight: 700; color: var(--c-primary); line-height: 1; letter-spacing: -.04em; }
.it-badge span { font-size: .82rem; line-height: 1.35; color: var(--c-muted); }
.mv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 1.75rem 0 2rem; }
.mv-card { padding: 1.25rem; border-radius: var(--r-md); background: var(--c-tint); border: 1px solid var(--c-line); }
.mv-card h3 { font-size: 1rem; margin-bottom: .35rem; display: flex; align-items: center; gap: .5rem; color: var(--c-primary); }
.mv-card p { font-size: .92rem; color: #4a4560; margin: 0; line-height: 1.6; }

/* -------------------------------------------------------------- services */
.svc-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.25rem; }
.svc-card {
  grid-column: span 4; position: relative; display: flex; flex-direction: column; padding: 1.75rem; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--c-line); color: var(--c-text); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--c-primary-200); color: var(--c-text); }
.svc-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--c-tint); color: var(--c-primary); margin-bottom: 1.25rem; transition: background .35s, color .35s, transform .35s var(--ease); }
.svc-card:hover .svc-icon { background: var(--c-primary); color: #fff; transform: rotate(-6deg); }
.svc-card h3 { font-size: var(--fs-h3); margin-bottom: .5rem; }
.svc-card p { font-size: .93rem; color: var(--c-muted); line-height: 1.65; flex: 1; }
.svc-card .link-arrow { margin-top: .5rem; color: var(--c-primary); }
.svc-card--primary {
  grid-column: span 6; background: var(--grad-dark); border: 0; color: #d4ccf4; padding: 2.25rem; min-height: 300px;
}
.svc-card--primary::after { content: ""; position: absolute; width: 260px; height: 260px; right: -80px; top: -80px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 0 0 40px rgba(255, 255, 255, .025), 0 0 0 80px rgba(255, 255, 255, .02); }
.svc-card--primary:hover { color: #d4ccf4; box-shadow: var(--shadow-lg); }
.svc-card--primary h3 { color: #fff; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.svc-card--primary p { color: #c5bce8; font-size: 1rem; }
.svc-card--primary .svc-icon { background: rgba(255, 255, 255, .1); color: #fff; width: 64px; height: 64px; }
.svc-card--primary:hover .svc-icon { background: #fff; color: var(--c-primary); }
.svc-card--primary .link-arrow { color: #fff; }
.svc-tag { position: absolute; top: 1.5rem; right: 1.5rem; font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: .35rem .7rem; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; z-index: 1; }

/* --------------------------------------------------------- content cards */
.cards-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(var(--cols, 4), 1fr); }
.f-card { padding: 1.6rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--c-line); transition: transform .35s var(--ease), box-shadow .35s; height: 100%; }
.f-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.f-card .f-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: var(--c-primary); background: linear-gradient(135deg, #ece6ff, #f7f4ff); border: 1px solid #e1d9fb; margin-bottom: 1.1rem; }
.f-card h3 { font-size: 1.06rem; margin-bottom: .45rem; }
.f-card p { font-size: .91rem; color: var(--c-muted); margin: 0; line-height: 1.6; }

/* -------------------------------------------------------------- projects */
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.proj-card { display: block; color: var(--c-text); border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--c-line); transition: transform .35s var(--ease), box-shadow .35s; }
.proj-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--c-text); }
.proj-thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-tint); }
.proj-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.proj-card:hover .proj-thumb img { transform: scale(1.05); }
.proj-industry { position: absolute; left: 1rem; top: 1rem; font-size: .72rem; font-weight: 600; padding: .35rem .75rem; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--c-primary); backdrop-filter: blur(6px); }
.proj-body { padding: 1.35rem 1.5rem 1.6rem; }
.proj-body h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.proj-body p { font-size: .9rem; color: var(--c-muted); margin-bottom: .9rem; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.chips li { font-size: .74rem; padding: .3rem .65rem; border-radius: 999px; background: var(--c-gray); color: #4a4560; }

/* ------------------------------------------------------------ industries */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.ind-card { display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem; border-radius: var(--r-md); background: #fff; border: 1px solid var(--c-line); color: var(--c-text); transition: border-color .3s, transform .3s var(--ease), box-shadow .3s; }
.ind-card:hover { border-color: var(--c-primary-200); transform: translateY(-3px); box-shadow: var(--shadow-sm); color: var(--c-text); }
.ind-card .ind-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--c-tint); color: var(--c-primary); flex-shrink: 0; }
.ind-card strong { display: block; font-size: .96rem; font-weight: 600; line-height: 1.3; margin-bottom: .2rem; }
.ind-card span { display: block; font-size: .82rem; color: var(--c-muted); line-height: 1.5; }

/* --------------------------------------------------------------- process */
.process { display: grid; grid-template-columns: repeat(var(--cols, 6), 1fr); gap: 1.25rem; counter-reset: step; position: relative; }
.process::before { content: ""; position: absolute; left: 4%; right: 4%; top: 28px; height: 2px; background: repeating-linear-gradient(90deg, var(--c-primary-200) 0 8px, transparent 8px 14px); }
.step { position: relative; text-align: center; }
.step-num { position: relative; width: 56px; height: 56px; margin: 0 auto 1.1rem; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--c-primary); color: var(--c-primary); transition: background .3s, color .3s, transform .3s var(--ease); }
.step:hover .step-num { background: var(--c-primary); color: #fff; transform: scale(1.06); }
.step-num::after { counter-increment: step; content: "0" counter(step); position: absolute; top: -8px; right: -10px; font-size: .68rem; font-weight: 700; background: var(--c-dark); color: #fff; border-radius: 999px; padding: .15rem .4rem; }
.step h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.step p { font-size: .86rem; color: var(--c-muted); margin: 0; line-height: 1.55; }

/* ----------------------------------------------------------------- stats */
.stats-grid { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 1px; background: rgba(255, 255, 255, .12); border-radius: var(--r-lg); overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); }
.stat { padding: 2.25rem 1.5rem; text-align: center; background: rgba(26, 15, 64, .65); backdrop-filter: blur(8px); }
.stat-num { font-size: clamp(2.4rem, 1.8rem + 2.5vw, 3.6rem); font-weight: 700; letter-spacing: -.04em; color: #fff; line-height: 1; }
.stat-num em { font-style: normal; color: #a993ff; }
.stat-label { margin-top: .6rem; font-size: .92rem; color: #c5bce8; }

/* ---------------------------------------------------------- testimonials */
.t-card { height: 100%; padding: 2rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--c-line); display: flex; flex-direction: column; }
.t-quote { color: var(--c-primary-200); margin-bottom: 1rem; }
.t-text { font-size: 1rem; color: #2c2840; flex: 1; }
.t-stars { display: flex; gap: 2px; color: #f5b301; margin-bottom: .75rem; }
.t-person { display: flex; align-items: center; gap: .85rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--c-line); }
.t-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--c-tint); display: grid; place-items: center; font-weight: 700; color: var(--c-primary); flex-shrink: 0; }
.t-person strong { display: block; font-size: .95rem; line-height: 1.3; }
.t-person span { font-size: .82rem; color: var(--c-muted); }
.swiper-nav { display: flex; gap: .6rem; }
.swiper-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--c-line); background: #fff; color: var(--c-ink); display: grid; place-items: center; transition: background .2s, color .2s; }
.swiper-nav button:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.swiper-slide { height: auto; }

/* ----------------------------------------------------------- blog cards */
.post-card { display: flex; flex-direction: column; height: 100%; color: var(--c-text); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--c-line); background: #fff; transition: transform .35s var(--ease), box-shadow .35s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); color: var(--c-text); }
.post-thumb { aspect-ratio: 16 / 9; background: var(--c-tint); overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem; font-size: .78rem; color: var(--c-muted); margin-bottom: .6rem; }
.post-meta .cat { color: var(--c-primary); font-weight: 600; }
.post-body h3 { font-size: 1.12rem; line-height: 1.4; margin-bottom: .6rem; }
.post-body p { font-size: .9rem; color: var(--c-muted); flex: 1; }

/* -------------------------------------------------------------------- faq */
.faq-list { display: grid; gap: .75rem; }
.faq-item { border-radius: var(--r-md); background: #fff; border: 1px solid var(--c-line); transition: border-color .25s, box-shadow .25s; }
.faq-item[open] { border-color: var(--c-primary-200); box-shadow: var(--shadow-sm); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.4rem; cursor: pointer; font-weight: 600; font-size: 1rem; color: var(--c-ink); list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-ico { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--c-tint); color: var(--c-primary); flex-shrink: 0; transition: transform .3s var(--ease), background .3s, color .3s; }
.faq-item[open] summary .faq-ico { transform: rotate(45deg); background: var(--c-primary); color: #fff; }
.faq-answer { padding: 0 1.4rem 1.3rem; color: #4a4560; font-size: .96rem; }
.faq-answer p:last-child { margin: 0; }

/* -------------------------------------------------------------------- cta */
.cta-box {
  position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(2.5rem, 6vw, 4.5rem); text-align: center;
  background: var(--grad-dark); color: #d4ccf4;
}
.cta-box::before, .cta-box::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .1); }
.cta-box::before { width: 420px; height: 420px; left: -140px; bottom: -220px; box-shadow: 0 0 0 60px rgba(255, 255, 255, .02); }
.cta-box::after { width: 300px; height: 300px; right: -90px; top: -140px; box-shadow: 0 0 0 50px rgba(255, 255, 255, .025); }
.cta-box h2 { color: #fff; font-size: var(--fs-h2); max-width: 760px; margin-inline: auto; }
.cta-box p { max-width: 560px; margin: 0 auto 2rem; color: #c5bce8; font-size: var(--fs-lead); }
.cta-box .hero-actions { justify-content: center; position: relative; z-index: 1; }

/* ------------------------------------------------------------- page head */
.page-head { position: relative; overflow: hidden; background: var(--grad-dark); color: #c5bce8; padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 6vw, 4rem); }
.page-head h1 { color: #fff; font-size: clamp(2rem, 1.4rem + 2.8vw, 3.4rem); max-width: 860px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; font-size: .85rem; margin-bottom: 1rem; padding: 0; list-style: none; }
.breadcrumbs a { color: #c5bce8; } .breadcrumbs a:hover { color: #fff; }
.breadcrumbs li + li::before { content: "/"; margin-right: .35rem; opacity: .4; }
.breadcrumbs [aria-current] { color: #fff; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: #120a2e; color: #a9a1c8; font-size: .93rem; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(169, 147, 255, .5), transparent); }
.footer-main { padding-top: clamp(3.5rem, 7vw, 5rem); padding-bottom: 2.5rem; }
.site-footer h3 { color: #fff; font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.25rem; }
.site-footer a { color: #a9a1c8; } .site-footer a:hover { color: #fff; }
.site-footer .brand-text { color: #fff; }
.f-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.f-contact { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .85rem; }
.f-contact li { display: flex; gap: .7rem; align-items: flex-start; line-height: 1.5; }
.f-contact .icon { color: #a993ff; margin-top: 3px; }
.socials { display: flex; gap: .5rem; margin-top: 1.5rem; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); color: #d4ccf4; transition: background .25s, transform .25s var(--ease); }
.socials a:hover { background: var(--c-primary); color: #fff; transform: translateY(-2px); }
.newsletter { display: flex; gap: .4rem; padding: .35rem; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.newsletter input { flex: 1; min-width: 0; background: none; border: 0; color: #fff; padding: 0 .9rem; font-size: .9rem; }
.newsletter input::placeholder { color: #8a82ab; } .newsletter input:focus { outline: none; }
.newsletter button { min-height: 42px; padding-inline: 1rem; }
.form-msg { font-size: .85rem; margin-top: .6rem; min-height: 1.2em; }
.form-msg.ok { color: #8ef0b3; } .form-msg.err { color: #ffb4b4; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 1.4rem 0; font-size: .85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ------------------------------------------------------ floating actions */
.fab-stack { position: fixed; right: 18px; bottom: 18px; z-index: 900; display: flex; flex-direction: column; gap: .65rem; align-items: flex-end; }
.fab { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45); transition: transform .25s var(--ease), opacity .3s, visibility .3s; }
.fab:hover { transform: scale(1.07); color: #fff; }
.fab--wa { background: var(--c-whatsapp); color: #063a1b; } .fab--wa:hover { color: #063a1b; }
.fab--wa::after { content: ""; position: absolute; width: 56px; height: 56px; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); animation: pulse 2.4s infinite; pointer-events: none; }
.fab--call { background: var(--c-primary); display: none; }
.fab--top { width: 46px; height: 46px; background: #fff; color: var(--c-ink); border: 1px solid var(--c-line); opacity: 0; visibility: hidden; }
.fab--top:hover { color: var(--c-primary); }
.fab--top.is-visible { opacity: 1; visibility: visible; }
@keyframes pulse { 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

.cookie-bar {
  position: fixed; left: 18px; bottom: 18px; z-index: 950; max-width: 420px; padding: 1.1rem 1.25rem; border-radius: var(--r-md);
  background: #fff; border: 1px solid var(--c-line); box-shadow: var(--shadow-lg); font-size: .86rem; color: #4a4560; display: none;
}
.cookie-bar.is-visible { display: block; }
.cookie-bar p { margin-bottom: .8rem; }

/* ------------------------------------------------------------ 404 / misc */
.err-code { font-size: clamp(6rem, 18vw, 11rem); font-weight: 700; letter-spacing: -.06em; line-height: 1; background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }
.video-wrap { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ----------------------------------------------------------- reveal fx */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------- responsive */
@media (max-width: 1199.98px) {
  .main-nav, .header-cta .btn-ac--desktop { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .process { --cols: 3 !important; row-gap: 2.5rem; }
  .process::before { display: none; }
  .ind-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991.98px) {
  :root { --header-h: 68px; }
  .svc-card, .svc-card--primary { grid-column: span 6; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .proj-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { --cols: 2 !important; }
  .hero-visual { margin-top: 3rem; padding-left: 0; }
  .mock-browser { transform: none; }
  .it-badge { right: 12px; }
}
@media (max-width: 767.98px) {
  .fab--call { display: grid; }
  .svc-card, .svc-card--primary { grid-column: span 12; }
  .svc-card--primary { min-height: 0; }
  .proj-grid, .cards-grid { grid-template-columns: 1fr; }
  .mv-grid { grid-template-columns: 1fr; }
  .process { --cols: 2 !important; }
  .glass-chip.c1 { left: 0; bottom: -10px; } .glass-chip.c2 { display: none; }
  .hero-actions .btn-ac { flex: 1 1 100%; }
  .cookie-bar { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .fab-stack { right: 12px; bottom: 12px; }
}
@media (max-width: 479.98px) {
  .ind-grid { grid-template-columns: 1fr; }
  .stat { padding: 1.6rem 1rem; }
}

/* =====================================================================
   Phase 2 — inner pages, forms, blog, portfolio
   ===================================================================== */
.page-head { padding: clamp(2.75rem, 6vw, 4.5rem) 0 clamp(2.75rem, 6vw, 4.5rem); }
.page-head--split { padding-bottom: clamp(3rem, 6vw, 5rem); }
.page-lead { font-size: var(--fs-lead); color: #c5bce8; max-width: 680px; margin: 0; }
.eyebrow--light { color: #c4b5ff; }
.page-head .hero-actions { margin-top: 1.75rem; }
.page-head .hero-points { margin-top: 1.5rem; }

/* problem / why boxes */
.problem-box, .why-box { padding: 1.75rem; border-radius: var(--r-lg); background: var(--c-gray); border: 1px solid var(--c-line); }
.problem-box h3, .why-box h3 { font-size: 1.1rem; display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.problem-box h3 .icon { color: #d9480f; }
.problem-box ul, .cs-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.problem-box li, .cs-col li { display: grid; gap: .15rem; padding-left: 1rem; border-left: 3px solid #f3c7b0; }
.problem-box li strong, .cs-col li strong { font-size: .95rem; color: var(--c-ink); }
.problem-box li span, .cs-col li span { font-size: .88rem; color: var(--c-muted); line-height: 1.55; }
.why-box { background: var(--grad-dark); border: 0; color: #c5bce8; }
.why-box h3 { color: #fff; }
.why-box .prose { color: #c5bce8; font-size: .97rem; }
.cs-col { height: 100%; padding: 1.75rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--c-line); }
.cs-col h3 { font-size: 1.1rem; display: flex; gap: .5rem; align-items: center; margin-bottom: 1.25rem; }
.cs-col--bad h3 .icon { color: #d9480f; }
.cs-col--good h3 .icon { color: var(--c-success); }
.cs-col--good li { border-left-color: #b7e4c7; }

/* pills */
.pill-links { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 0; }
.sec-head.center + .pill-links { justify-content: center; }
.pill-links a, .pill-links span { display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1rem; border-radius: 999px; border: 1px solid var(--c-line); background: #fff; color: var(--c-text); font-size: .9rem; font-weight: 500; transition: border-color .2s, color .2s, background .2s; }
.pill-links a:hover { border-color: var(--c-primary); color: var(--c-primary); background: var(--c-tint); }
.pill-links .icon { color: var(--c-primary); }
.pill-links span { color: var(--c-muted); }

/* timeline */
.timeline { list-style: none; padding: 0; margin: 0 auto; max-width: 820px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 88px; top: 6px; bottom: 6px; width: 2px; background: var(--c-primary-200); }
.timeline li { display: grid; grid-template-columns: 76px 1fr; gap: 2.25rem; padding-bottom: 2rem; position: relative; }
.timeline li::after { content: ""; position: absolute; left: 82px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--c-primary); box-shadow: 0 0 0 4px var(--c-tint); }
.tl-year { font-weight: 700; color: var(--c-primary); text-align: right; }
.tl-body h3 { font-size: 1.08rem; margin-bottom: .25rem; }
.tl-body p { color: var(--c-muted); margin: 0; font-size: .93rem; }

/* enquiry form */
.enquiry-card { background: #fff; border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2rem); border: 1px solid var(--c-line); box-shadow: var(--shadow-md); color: var(--c-text); }
.page-head .enquiry-card { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); border: 0; }
.ef-title { font-size: 1.3rem; margin-bottom: .3rem; }
.ef-sub { font-size: .88rem; color: var(--c-muted); margin-bottom: 1.1rem; }
.f-label { display: block; font-size: .82rem; font-weight: 600; color: #3a3552; margin-bottom: .35rem; }
.f-label span { color: #d9480f; }
.f-input {
  display: block; width: 100%; min-height: 48px; padding: .7rem .95rem; border-radius: 12px; border: 1.5px solid #e2ddf0; background: #fbfaff;
  font: inherit; font-size: .95rem; color: var(--c-ink); transition: border-color .2s, box-shadow .2s, background .2s; appearance: none;
}
select.f-input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233B2389' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.4rem; }
textarea.f-input { min-height: 90px; resize: vertical; }
.f-input:focus { outline: none; border-color: var(--c-primary-400); background: #fff; box-shadow: 0 0 0 4px rgba(122, 95, 224, .15); }
.f-input.is-invalid { border-color: #e03131; background: #fff5f5; }
.f-error { font-size: .78rem; color: #c92a2a; margin-top: .3rem; min-height: 0; }
.ef-divider { display: flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--c-primary); padding-top: .5rem; border-top: 1px dashed var(--c-line); }
.chk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.chk { display: flex; align-items: center; gap: .5rem; padding: .55rem .75rem; border-radius: 10px; border: 1.5px solid #e2ddf0; font-size: .85rem; cursor: pointer; transition: border-color .2s, background .2s; }
.chk:has(input:checked) { border-color: var(--c-primary); background: var(--c-tint); }
.chk input { accent-color: var(--c-primary); width: 16px; height: 16px; }
.ef-note { display: flex; align-items: center; gap: .35rem; font-size: .76rem; color: var(--c-muted); margin: .75rem 0 0; }
.enquiry-card .form-msg.ok { color: var(--c-success); font-weight: 500; }
.enquiry-card .form-msg.err { color: #c92a2a; }

/* filters, empty state */
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter-bar a, .filter-bar button { padding: .55rem 1.05rem; border-radius: 999px; border: 1px solid var(--c-line); background: #fff; color: var(--c-text); font-size: .88rem; font-weight: 500; transition: all .2s; }
.filter-bar a small { opacity: .6; margin-left: .2rem; }
.filter-bar a:hover, .filter-bar button:hover { border-color: var(--c-primary-200); color: var(--c-primary); }
.filter-bar .is-active { background: var(--c-primary); border-color: var(--c-primary); color: #fff !important; }
[data-filter-grid] > .is-hidden { display: none !important; }
.empty-state { text-align: center; max-width: 560px; margin: 0 auto; padding: 3rem 1.5rem; border-radius: var(--r-lg); border: 1px dashed var(--c-primary-200); background: var(--c-tint); }
.empty-state .svc-icon { margin-bottom: 1rem; }
.thumb-fallback { width: 100%; height: 100%; display: grid; place-items: center; color: var(--c-primary-200); background: linear-gradient(135deg, var(--c-tint), #fff); }

/* industries listing */
.ind-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.ind-tile { display: flex; flex-direction: column; padding: 1.75rem; border-radius: var(--r-lg); border: 1px solid var(--c-line); background: #fff; color: var(--c-text); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.ind-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--c-primary-200); color: var(--c-text); }
.ind-tile:hover .svc-icon { background: var(--c-primary); color: #fff; }
.ind-tile h2 { font-size: 1.2rem; margin-bottom: .45rem; }
.ind-tile p { color: var(--c-muted); font-size: .92rem; flex: 1; }

/* case study / article */
.case-cover { margin: 0 0 2rem; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--c-line); box-shadow: var(--shadow-md); }
.case-cover img { width: 100%; display: block; }
.case-block { margin-top: 2.25rem; }
.case-block h2 { font-size: 1.35rem; display: flex; align-items: center; gap: .65rem; }
.case-block .f-icon { width: 40px; height: 40px; margin: 0; }
.side-card { padding: 1.5rem; border-radius: var(--r-lg); border: 1px solid var(--c-line); background: #fff; }
.sticky-side { position: sticky; top: calc(var(--header-h) + 24px); }
.facts { margin: 0 0 1.25rem; display: grid; grid-template-columns: 1fr; gap: .2rem; }
.facts dt { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--c-muted); margin-top: .75rem; }
.facts dd { margin: 0; font-weight: 500; }
.chips a { color: inherit; }
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.gal-item { display: block; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 3; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gal-item:hover img { transform: scale(1.05); }
.masonry { columns: 3 280px; column-gap: 1rem; }
.m-item { display: block; position: relative; margin-bottom: 1rem; border-radius: var(--r-md); overflow: hidden; break-inside: avoid; }
.m-item img { width: 100%; display: block; transition: transform .6s var(--ease); }
.m-item:hover img { transform: scale(1.04); }
.m-cap { position: absolute; left: .75rem; bottom: .75rem; font-size: .75rem; font-weight: 600; padding: .3rem .65rem; border-radius: 999px; background: rgba(18, 10, 46, .7); color: #fff; backdrop-filter: blur(6px); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(10, 6, 26, .92); display: none; align-items: center; justify-content: center; padding: 4rem 1rem; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 80vh; border-radius: 12px; box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.lightbox figure { margin: 0; text-align: center; }
.lightbox figcaption { color: #d4ccf4; font-size: .9rem; margin-top: 1rem; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255, 255, 255, .2); }
.lb-close { top: 1rem; right: 1rem; } .lb-prev { left: 1rem; top: 50%; } .lb-next { right: 1rem; top: 50%; }

/* blog */
.blog-search { display: flex; align-items: center; gap: .6rem; padding: .4rem .4rem .4rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--c-line); background: #fff; max-width: 560px; margin-bottom: 1.5rem; color: var(--c-muted); }
.blog-search input { flex: 1; border: 0; min-width: 0; padding: .55rem 0; font: inherit; color: var(--c-ink); background: none; }
.blog-search input:focus { outline: none; }
.blog-search:focus-within { border-color: var(--c-primary-400); box-shadow: 0 0 0 4px rgba(122, 95, 224, .12); }
.pager { display: flex; justify-content: center; gap: .4rem; margin-top: 3rem; }
.pager a, .pager span { min-width: 44px; height: 44px; padding: 0 .75rem; display: inline-grid; place-items: center; border-radius: 12px; border: 1px solid var(--c-line); font-weight: 600; color: var(--c-text); }
.pager a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.pager .current { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.pager .gap { border: 0; }
.page-head--article h1 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem); }
.article-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .88rem; color: #c5bce8; margin-top: 1rem; }
.article-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.article-body { font-size: 1.08rem; line-height: 1.85; }
.article-body h2 { margin-top: 2.5rem; scroll-margin-top: calc(var(--header-h) + 20px); }
.article-body h3 { scroll-margin-top: calc(var(--header-h) + 20px); }
.article-body a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--c-primary-200); }
.toc { padding: 1.4rem; border-radius: var(--r-lg); background: var(--c-tint); border: 1px solid var(--c-line); margin-bottom: 1.5rem; }
.toc-title, .toc summary { display: flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .9rem; color: var(--c-ink); margin-bottom: .75rem; cursor: pointer; }
.toc--mobile summary { margin: 0; list-style: none; }
.toc--mobile[open] summary { margin-bottom: .75rem; }
.toc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; counter-reset: toc; }
.toc-list a { display: block; padding: .35rem .6rem; border-radius: 8px; font-size: .88rem; color: #4a4560; line-height: 1.45; border-left: 2px solid transparent; }
.toc-list a:hover, .toc-list a.is-active { color: var(--c-primary); background: #fff; border-left-color: var(--c-primary); }
.toc-list .lvl-3 a { padding-left: 1.4rem; font-size: .83rem; }
.side-cta { padding: 1.5rem; border-radius: var(--r-lg); background: var(--grad-dark); color: #c5bce8; }
.side-cta h3 { color: #fff; font-size: 1.1rem; }
.side-cta p { font-size: .88rem; }
.article-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--c-line); }
.share { display: flex; align-items: center; gap: .4rem; }
.share-label { font-size: .82rem; font-weight: 600; color: var(--c-muted); margin-right: .25rem; }
.share a, .share button { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--c-line); background: #fff; color: var(--c-ink); transition: all .2s; }
.share a:hover, .share button:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.share button.is-copied { background: var(--c-success); color: #fff; border-color: var(--c-success); }
.author-box { display: flex; gap: 1rem; padding: 1.5rem; margin-top: 2rem; border-radius: var(--r-lg); background: var(--c-gray); }
.author-box .brand-mark { flex-shrink: 0; }
.author-box p { font-size: .9rem; color: var(--c-muted); margin: .2rem 0 0; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.post-nav a { display: block; padding: 1.1rem 1.25rem; border-radius: var(--r-md); border: 1px solid var(--c-line); color: var(--c-ink); font-weight: 600; font-size: .95rem; line-height: 1.4; transition: border-color .2s; }
.post-nav a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.post-nav small { display: flex; align-items: center; gap: .3rem; font-size: .75rem; font-weight: 500; color: var(--c-muted); margin-bottom: .3rem; }
.post-nav .text-end small { justify-content: flex-end; }

/* contact */
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .75rem; }
.contact-list li { display: flex; align-items: center; gap: .9rem; padding: .9rem 1rem; border-radius: var(--r-md); background: #fff; border: 1px solid var(--c-line); }
.contact-list .ci { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--c-tint); color: var(--c-primary); flex-shrink: 0; }
.contact-list .ci--wa { background: #dcfce7; color: #128c4b; }
.contact-list small { display: block; font-size: .75rem; color: var(--c-muted); }
.contact-list a { font-weight: 600; color: var(--c-ink); }
.contact-list span:last-child { font-weight: 500; line-height: 1.4; }
.map-wrap { line-height: 0; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; filter: grayscale(.2); }
.steps-mini { list-style: none; counter-reset: s; padding: 0; margin: 1rem 0 0; display: grid; gap: 1rem; }
.steps-mini li { counter-increment: s; display: grid; grid-template-columns: 32px 1fr; column-gap: .75rem; }
.steps-mini li::before { content: counter(s); grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--c-tint); color: var(--c-primary); font-weight: 700; font-size: .85rem; }
.steps-mini strong { font-size: .92rem; } .steps-mini span { font-size: .85rem; color: var(--c-muted); }
.thanks-icon { width: 88px; height: 88px; border-radius: 50%; display: inline-grid; place-items: center; background: #dcfce7; color: var(--c-success); }
.search-results { display: grid; gap: .6rem; }
.sr-item { display: block; padding: 1rem 1.25rem; border-radius: var(--r-md); border: 1px solid var(--c-line); color: var(--c-text); transition: border-color .2s; }
.sr-item:hover { border-color: var(--c-primary); color: var(--c-text); }
.sr-item strong { display: block; color: var(--c-primary); }
.sr-item span { font-size: .88rem; color: var(--c-muted); }
.t-masonry { columns: 3 300px; column-gap: 1.25rem; }
.t-masonry .t-card { break-inside: avoid; margin-bottom: 1.25rem; height: auto; }

@media (max-width: 991.98px) {
  .ind-list { grid-template-columns: repeat(2, 1fr); }
  .chk-grid { grid-template-columns: repeat(2, 1fr); }
  .sticky-side { position: static; }
}
@media (max-width: 767.98px) {
  .ind-list, .gal-grid { grid-template-columns: 1fr 1fr; }
  .post-nav { grid-template-columns: 1fr; }
  .timeline::before { left: 8px; } .timeline li { grid-template-columns: 1fr; gap: .25rem; padding-left: 2rem; } .timeline li::after { left: 2px; } .tl-year { text-align: left; }
}
@media (max-width: 479.98px) {
  .ind-list { grid-template-columns: 1fr; }
  .chk-grid { grid-template-columns: 1fr; }
}
