/* ==========================================================================
   CTV Software Solutions — main stylesheet
   Navy / white / light blue · Plus Jakarta Sans · Bootstrap 5 grid
   ========================================================================== */

:root {
  --navy-950: #06122e;
  --navy-900: #0a1b3f;
  --navy-800: #12285a;
  --navy-700: #1c3a7a;
  --blue-600: #1f5bd6;
  --blue-700: #1849b0;
  --blue-500: #3a73ea;
  --blue-200: #bcd4fb;
  --blue-100: #dce9fc;
  --blue-50: #eef4fd;
  --sky: #8dbbff;
  --white: #ffffff;
  --ink: #0a1b3f;
  --text: #43506b;
  --muted: #687591;
  --line: #dde5f2;
  --wa: #128c4b;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(10, 27, 63, .05), 0 4px 14px rgba(10, 27, 63, .05);
  --shadow-md: 0 18px 40px -18px rgba(10, 27, 63, .28);
  --shadow-lg: 0 30px 70px -30px rgba(6, 18, 46, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 92px;
  --section-y: clamp(72px, 9vw, 120px);
}

/* ---------- Base ---------- */
/* Elements animating in from the side never cause sideways scrolling (clip keeps sticky elements working) */
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
p { margin-bottom: 1rem; }
a { color: var(--blue-600); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--blue-700); }
img { max-width: 100%; height: auto; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 6px; }
.container { max-width: 1240px; padding-left: 24px; padding-right: 24px; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 2000;
  background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
}
.skip-link:focus { top: 12px; color: #fff; }

.section-head { max-width: 660px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head--split > div { max-width: 640px; }
.section-title { font-size: clamp(2rem, 3.4vw, 2.85rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 16px; }
.section-lead { font-size: 1.15rem; color: var(--text); margin-bottom: 0; }
.section-head--light .section-title { color: #fff; }
.section-head--light .section-lead { color: rgba(255, 255, 255, .72); }

.text-link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; text-decoration-color: var(--blue-200); }
.text-link:hover { text-decoration-color: currentColor; }
.text-link--light { color: var(--sky); text-decoration-color: rgba(141, 187, 255, .4); }
.text-link--light:hover { color: #fff; }

/* ---------- Buttons ---------- */
.c-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 650; font-size: 1rem; line-height: 1.2;
  padding: 14px 22px; border-radius: 12px; border: 1.5px solid transparent;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap; cursor: pointer;
}
.c-btn:active { transform: translateY(1px); }
.c-btn--lg { padding: 17px 28px; font-size: 1.05rem; }
.c-btn--primary { background: var(--blue-600); color: #fff; box-shadow: 0 8px 20px -10px rgba(31, 91, 214, .8); }
.c-btn--primary:hover { background: var(--blue-700); color: #fff; box-shadow: 0 12px 24px -10px rgba(31, 91, 214, .9); }
.c-btn--ghost { background: transparent; color: var(--navy-900); border-color: #c7d4ea; }
.c-btn--ghost:hover { border-color: var(--navy-900); color: var(--navy-900); background: #fff; }
.c-btn--light { background: #fff; color: var(--navy-900); }
.c-btn--light:hover { background: var(--blue-50); color: var(--navy-900); }
.c-btn--outline-light { color: #fff; border-color: rgba(255, 255, 255, .35); }
.c-btn--outline-light:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .06); }
.c-btn--whatsapp { background: var(--wa); color: #fff; }
.c-btn--whatsapp:hover { background: #0e743d; color: #fff; }
.c-btn--whatsapp-outline { color: var(--wa); border-color: rgba(18, 140, 75, .4); background: #fff; }
.c-btn--whatsapp-outline:hover { color: #fff; background: var(--wa); border-color: var(--wa); }
.round-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid #c7d4ea; background: #fff; color: var(--navy-900);
  display: inline-grid; place-items: center; transition: all .2s var(--ease);
}
.round-btn:hover { border-color: var(--navy-900); background: var(--navy-900); color: #fff; }
.round-btn:disabled { opacity: .35; pointer-events: none; }

/* ---------- Header: floating glass bar ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1030;
  padding: 14px 0; pointer-events: none;
  transition: padding .35s var(--ease);
}
.header-shell { max-width: 1320px; margin: 0 auto; padding: 0 16px; }
.header-inner {
  pointer-events: auto; position: relative;
  height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 10px 0 10px; border-radius: 999px;
  border: 1px solid transparent; background: transparent;
  transition: background-color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s var(--ease);
}
.site-header.is-scrolled { padding: 10px 0; }
.site-header.is-scrolled .header-inner {
  background: rgba(238, 242, 249, .62);
  border-color: rgba(255, 255, 255, .75);
  box-shadow: 0 10px 40px -14px rgba(6, 18, 46, .35), inset 0 1px 0 rgba(255, 255, 255, .6);
  -webkit-backdrop-filter: saturate(1.8) blur(18px); backdrop-filter: saturate(1.8) blur(18px);
}

.header-left { display: flex; align-items: center; gap: 12px; flex: 1 1 0; min-width: 0; }
.nav-burger {
  width: 44px; height: 44px; flex: none; border-radius: 50%; border: 0;
  background: #fff; color: var(--navy-900); display: grid; place-items: center;
  box-shadow: 0 2px 10px -2px rgba(6, 18, 46, .18); transition: transform .2s var(--ease), box-shadow .2s;
}
.nav-burger:hover { transform: scale(1.05); box-shadow: 0 4px 16px -4px rgba(6, 18, 46, .3); }
.nav-burger .icon { width: 20px; height: 20px; }
.brand { position: relative; display: block; line-height: 0; }
.brand img { height: 44px; width: auto; display: block; transition: opacity .3s var(--ease); }
.brand__white { position: absolute; inset: 0; opacity: 0; }
/* Over the navy page heroes the header starts with the white logo */
.has-dark-hero .site-header:not(.is-scrolled) .brand__color { opacity: 0; }
.has-dark-hero .site-header:not(.is-scrolled) .brand__white { opacity: 1; }

/* Centre pill */
.main-nav { display: none; flex: none; }
.main-nav__list {
  display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 5px 8px;
  border-radius: 999px; background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 2px 12px -4px rgba(6, 18, 46, .12);
  transition: background-color .35s var(--ease);
}
.site-header.is-scrolled .main-nav__list { background: #fff; }
.main-nav__list > li { position: relative; display: flex; align-items: center; }
.main-nav__list > li > a {
  position: relative; display: block; padding: 8px 14px; color: var(--navy-900);
  font-weight: 550; font-size: .95rem; border-radius: 999px; transition: color .2s var(--ease);
}
.main-nav__list > li > a::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 0; height: 2px; border-radius: 2px;
  background: var(--blue-600); transform: translateX(-50%); transition: width .25s var(--ease);
}
.main-nav__list > li > a:hover,
.main-nav__list > li > a[aria-current="page"] { color: var(--blue-600); }
.main-nav__list > li > a:hover::after { width: 22px; }
.main-nav__list > li > a[aria-current="page"]::after { width: 22px; }
.has-menu > a { padding-right: 2px !important; }
.menu-toggle { border: 0; background: none; color: var(--navy-900); padding: 8px 8px 8px 4px; border-radius: 999px; display: grid; place-items: center; }
.menu-toggle .icon { width: 15px; height: 15px; transition: transform .2s; }
.mega {
  position: absolute; top: calc(100% + 18px); left: 50%; width: min(720px, 92vw);
  transform: translate(-50%, 8px); opacity: 0; visibility: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
  padding: 14px; transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.mega::before { content: ""; position: absolute; top: -20px; left: 0; right: 0; height: 20px; }
.has-menu:hover .mega, .has-menu:focus-within .mega, .has-menu.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-menu:hover .menu-toggle .icon, .has-menu.is-open .menu-toggle .icon { transform: rotate(180deg); }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega__item { display: flex; gap: 14px; padding: 14px; border-radius: var(--r-md); color: var(--text); }
.mega__item:hover { background: var(--blue-50); color: var(--text); }
.mega__item strong { display: block; color: var(--navy-900); font-weight: 650; font-size: .95rem; margin-bottom: 2px; }
.mega__item small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .82rem; line-height: 1.45; color: var(--muted); }
.mega__icon { width: 40px; height: 40px; border-radius: 11px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; flex: none; }
.mega__item:hover .mega__icon { background: var(--blue-600); color: #fff; }
.mega__foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; padding: 14px 16px; background: var(--blue-50); border-radius: var(--r-md); font-size: .9rem; }
.mega__foot a { font-weight: 650; }

/* Dark pill CTA */
.header-actions { display: flex; justify-content: flex-end; flex: 1 1 0; }
.header-cta {
  display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 22px 0 18px; border-radius: 999px;
  background: var(--navy-950); color: #fff; font-weight: 600; font-size: .95rem; white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .35), 0 10px 24px -10px rgba(6, 18, 46, .6);
  transition: background-color .2s var(--ease), box-shadow .25s var(--ease), transform .2s var(--ease);
}
.header-cta .icon { width: 18px; height: 18px; color: var(--sky); transition: transform .4s var(--ease); }
.header-cta:hover { color: #fff; background: var(--navy-800); box-shadow: 0 0 0 3px rgba(141, 187, 255, .45), 0 12px 28px -10px rgba(6, 18, 46, .7); }
.header-cta:hover .icon { transform: rotate(18deg) scale(1.1); }

@media (min-width: 1140px) { .main-nav { display: block; } }
@media (max-width: 575.98px) {
  .site-header { padding: 10px 0; }
  .header-shell { padding: 0 10px; }
  .header-inner { height: 58px; padding: 0 6px; gap: 8px; }
  .nav-burger { width: 40px; height: 40px; }
  .brand img { height: 36px; }
  .header-cta { height: 42px; padding: 0 16px 0 14px; font-size: .9rem; gap: 7px; }
  .header-cta .icon { width: 16px; height: 16px; }
}
@media (max-width: 359.98px) { .header-cta span { display: none; } .header-cta { padding: 0 12px; } }

/* Header is fixed, so the first section makes room for it */
.hero { padding-top: calc(var(--header-h) + clamp(40px, 6vw, 72px)) !important; }
.page-hero { padding-top: calc(var(--header-h) + clamp(44px, 6vw, 80px)) !important; }
.notfound { padding-top: calc(var(--header-h) + clamp(60px, 10vw, 120px)) !important; }
/* Mobile offcanvas */
.mobile-nav { --bs-offcanvas-width: min(380px, 88vw); }
.mobile-nav .offcanvas-header { padding: 18px 22px; border-bottom: 1px solid var(--line); }
.mobile-nav__logo { height: 40px; width: auto; }
.mobile-nav__close { border: 0; background: var(--blue-50); color: var(--navy-900); width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-left: auto; }
.mobile-nav .offcanvas-body { padding: 12px 22px 28px; display: flex; flex-direction: column; }
.mobile-nav__list { list-style: none; padding: 0; margin: 0; }
.mobile-nav__list > li { border-bottom: 1px solid var(--line); }
.mobile-nav__list a, .mobile-nav__group {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 15px 2px; font-weight: 650; font-size: 1.05rem; color: var(--navy-900); background: none; border: 0; text-align: left;
}
.mobile-nav__group .icon { transition: transform .2s; }
.mobile-nav__group[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mobile-nav__sub { list-style: none; padding: 0 0 10px 12px; margin: 0; }
.mobile-nav__sub a { padding: 9px 2px; font-weight: 500; font-size: .98rem; color: var(--text); }
.mobile-nav__actions { margin-top: auto; padding-top: 24px; display: grid; gap: 10px; }
.mobile-nav__contact { display: flex; align-items: center; gap: 10px; color: var(--navy-900); font-weight: 600; padding: 6px 0; }
.mobile-nav__contact .icon { color: var(--blue-600); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1100px 520px at 85% -10%, #dbe8fd 0%, rgba(219, 232, 253, 0) 60%), linear-gradient(180deg, #f5f8fe 0%, #eef4fd 100%);
  padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 7vw, 96px);
}
.hero__grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(10, 27, 63, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(10, 27, 63, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 30% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 30% 40%, #000 20%, transparent 75%);
}
.hero .container { position: relative; }
.hero__title {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.02;
  margin-bottom: 24px; max-width: 13ch;
}
.hero__lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; max-width: 34em; margin-bottom: 36px; color: #3b4863; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__proof { margin: 36px 0 0; padding-top: 24px; border-top: 1px solid #d3deef; max-width: 30em; font-size: .98rem; color: var(--muted); }
.hero__proof strong { color: var(--navy-900); }

/* Wall of real project screenshots */
.hero-wall {
  height: 600px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.hero-wall__col { overflow: hidden; }
.hero-wall__col--reverse { margin-top: -90px; }
.hero-wall__track { display: flex; flex-direction: column; gap: 18px; animation: wall-up 60s linear infinite; }
.hero-wall__col--reverse .hero-wall__track { animation-direction: reverse; animation-duration: 68s; }
.hero-wall:hover .hero-wall__track { animation-play-state: paused; }
@keyframes wall-up { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 9px)); } }
.wall-card {
  position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden;
  background: #fff; box-shadow: var(--shadow-md); border: 1px solid rgba(221, 229, 242, .9);
}
.wall-card img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transform: scale(1.08); }
.wall-card figcaption {
  position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px;
  background: rgba(10, 27, 63, .82); color: #fff; font-size: .78rem; font-weight: 600; backdrop-filter: blur(6px);
}
@media (max-width: 991.98px) {
  .hero__title { max-width: none; }
  .hero-wall { height: 360px; }
  .hero-wall__col--reverse { margin-top: -60px; }
}
@media (max-width: 575.98px) {
  .hero-wall { height: 300px; gap: 12px; }
  .hero-wall__track { gap: 12px; }
  .hero__actions .c-btn { width: 100%; }
  .wall-card figcaption { display: none; }
  .service-card { padding: 24px 22px; }
  .service-card__shot { display: none; }
}

/* ---------- About intro ---------- */
.about-intro { padding: var(--section-y) 0; }
.about-intro .section-lead { margin-bottom: 20px; color: var(--ink); font-weight: 500; }
.about-intro p + .c-btn { margin-top: 12px; }
.fact-panel {
  list-style: none; margin: 0; padding: 12px; border-radius: var(--r-xl);
  background: linear-gradient(160deg, var(--blue-50), #f8fbff); border: 1px solid var(--line);
}
.fact-panel li { display: flex; gap: 18px; padding: 22px 20px; }
.fact-panel li + li { border-top: 1px solid var(--line); }
.fact-panel strong { display: block; color: var(--navy-900); font-size: 1.08rem; margin-bottom: 4px; }
.fact-panel p { margin: 0; font-size: .97rem; color: var(--muted); }
.fact-panel__icon { width: 48px; height: 48px; flex: none; border-radius: 14px; background: #fff; color: var(--blue-600); display: grid; place-items: center; box-shadow: var(--shadow-sm); }

/* ---------- Services (dark) ---------- */
.services {
  padding: var(--section-y) 0; color: rgba(255, 255, 255, .78);
  background: radial-gradient(900px 500px at 100% 0%, rgba(58, 115, 234, .22), transparent 60%), var(--navy-900);
}
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  position: relative; display: flex; flex-direction: column; padding: 30px 28px 28px;
  border-radius: var(--r-lg); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1);
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.service-card:hover { background: rgba(255, 255, 255, .07); border-color: rgba(141, 187, 255, .5); transform: translateY(-3px); }
.service-card--feature { grid-row: span 2; overflow: hidden; }
.service-card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(141, 187, 255, .14); color: var(--sky); margin-bottom: 22px; }
.service-card__icon .icon { width: 24px; height: 24px; }
.service-card__title { font-size: 1.2rem; margin-bottom: 10px; }
.service-card__title a { color: #fff; }
.service-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.service-card__text { font-size: .98rem; color: rgba(255, 255, 255, .7); margin-bottom: 20px; }
.service-card__more { margin-top: auto; color: var(--sky); font-weight: 650; font-size: .95rem; display: inline-flex; align-items: center; gap: 8px; }
.service-card__more::after { content: ""; width: 18px; height: 1.5px; background: currentColor; transition: width .25s var(--ease); }
.service-card:hover .service-card__more::after { width: 30px; }
.service-card--feature .service-card__title { font-size: 1.5rem; }
.service-card__shot { margin: 28px -28px -28px; padding: 0 28px; flex: 1; min-height: 220px; display: flex; align-items: flex-end; }
.service-card__shot img { width: 100%; border-radius: 16px 16px 0 0; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 40%; box-shadow: 0 -20px 50px -20px rgba(0, 0, 0, .5); }
.service-cta {
  padding: 30px 28px; border-radius: var(--r-lg); background: linear-gradient(150deg, var(--blue-600), var(--navy-700));
  display: flex; flex-direction: column; align-items: flex-start;
}
.service-cta h3 { color: #fff; font-size: 1.25rem; margin-bottom: 8px; }
.service-cta p { color: rgba(255, 255, 255, .82); font-size: .98rem; }
.service-cta .c-btn { margin-top: auto; }
.sadvis-strip {
  margin-top: 28px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  padding: 20px 26px; border-radius: var(--r-lg); border: 1px dashed rgba(255, 255, 255, .2);
}
.sadvis-strip img { width: 150px; height: auto; background: #fff; border-radius: 12px; padding: 8px 14px; }
.sadvis-strip p { margin: 0; flex: 1 1 320px; color: rgba(255, 255, 255, .75); }
.sadvis-strip strong { color: #fff; }
@media (max-width: 991.98px) { .service-grid { grid-template-columns: 1fr 1fr; } .service-card--feature { grid-row: auto; grid-column: span 2; } .service-card__shot { min-height: 0; } .service-card__shot img { aspect-ratio: 16 / 9; } }
@media (max-width: 639.98px) { .service-grid { grid-template-columns: 1fr; } .service-card--feature { grid-column: auto; } }

/* ---------- Why choose ---------- */
.why { padding: var(--section-y) 0; }
.why__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.why__intro .section-lead { margin-bottom: 28px; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.why-list__item { padding: 28px 0; border-top: 1px solid var(--line); }
.why-list__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue-50); color: var(--blue-600); margin-bottom: 16px; }
.why-list__item h3 { font-size: 1.12rem; margin-bottom: 8px; }
.why-list__item p { margin: 0; font-size: .98rem; }
@media (max-width: 575.98px) { .why-list { grid-template-columns: 1fr; } }

/* ---------- Portfolio ---------- */
.portfolio { padding: var(--section-y) 0; background: var(--blue-50); }
.portfolio--compact { background: #fff; }
.portfolio--page { background: #fff; padding-top: 48px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-btn {
  border: 1.5px solid #c9d6ec; background: #fff; color: var(--navy-900); font-weight: 600; font-size: .95rem;
  padding: 10px 18px; border-radius: 999px; transition: all .2s var(--ease); display: inline-flex; align-items: center; gap: 8px;
}
.filter-btn:hover { border-color: var(--navy-900); }
.filter-btn[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.filter-btn__count { font-size: .78rem; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: var(--blue-50); color: var(--blue-600); }
.filter-btn[aria-pressed="true"] .filter-btn__count { background: rgba(255, 255, 255, .15); color: #fff; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-grid--two { grid-template-columns: repeat(2, 1fr); }
.project-card {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.project-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.project-card__media { display: block; overflow: hidden; background: #f1f3f7; aspect-ratio: 4 / 3; }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform .6s var(--ease); }
.project-card:hover .project-card__media img { transform: scale(1.12); }
.project-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.project-card__cat { font-size: .82rem; font-weight: 650; color: var(--blue-600); margin-bottom: 6px; }
.project-card__title { font-size: 1.18rem; margin-bottom: 6px; }
.project-card__desc { font-size: .95rem; color: var(--muted); margin-bottom: 18px; }
.project-card__link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 650; font-size: .95rem; color: var(--navy-900); }
.project-card__link .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.project-card__link:hover .icon { transform: translate(2px, -2px); }
.project-card__link:hover { color: var(--blue-600); }
.is-hidden, .is-paged { display: none !important; }
.load-more { display: flex; justify-content: center; margin-top: 40px; }

.gallery-card { border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.gallery-card__btn { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #f1f3f7; cursor: zoom-in; }
.gallery-card__btn img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-card__btn:hover img { transform: scale(1.05); }
.gallery-card__label { position: absolute; left: 14px; bottom: 14px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--navy-900); font-size: .8rem; font-weight: 650; }
.project-grid .gallery-card { align-self: start; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gallery-grid--page { margin-top: 24px; }
.gallery-grid--page:not(:has(.gallery-card:not(.is-hidden))) { display: none; }
@media (max-width: 991.98px) { .project-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .project-grid, .project-grid--two { grid-template-columns: 1fr; } .gallery-grid { grid-template-columns: 1fr 1fr; gap: 12px; } }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1000px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(6, 18, 46, .85); backdrop-filter: blur(4px); }
.lightbox img { display: block; max-width: 100%; max-height: 82vh; border-radius: var(--r-md); margin: 0 auto; }
.lightbox__caption { color: #fff; text-align: center; margin: 12px 0 0; font-weight: 500; }
.lightbox__close { position: absolute; top: -52px; right: 0; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--navy-900); display: grid; place-items: center; }

/* ---------- Industries ---------- */
.industries { padding: var(--section-y) 0; }
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.industry-tile {
  display: flex; flex-direction: column; padding: 26px 24px; border-radius: var(--r-lg); border: 1px solid var(--line);
  color: var(--text); background: #fff; transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.industry-tile:hover { border-color: var(--blue-200); box-shadow: var(--shadow-md); transform: translateY(-3px); color: var(--text); }
.industry-tile__icon { width: 50px; height: 50px; border-radius: 14px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; margin-bottom: 18px; }
.industry-tile__icon .icon { width: 24px; height: 24px; }
.industry-tile h3 { font-size: 1.1rem; margin-bottom: 8px; }
.industry-tile p { font-size: .94rem; margin: 0; color: var(--muted); }
.industry-tile--feature {
  grid-column: span 2; grid-row: span 2; justify-content: flex-end; min-height: 300px; position: relative; overflow: hidden;
  background: linear-gradient(0deg, rgba(10, 27, 63, .96) 30%, rgba(10, 27, 63, .55)), url("../img/projects/la-closerie.webp") center / cover;
  border-color: transparent;
}
.industry-tile--feature h3 { color: #fff; font-size: 1.6rem; }
.industry-tile--feature p { color: rgba(255, 255, 255, .78); font-size: 1rem; max-width: 34em; }
.industry-tile--feature .industry-tile__icon { background: rgba(255, 255, 255, .12); color: #fff; }
.industry-tile--feature:hover { color: #fff; }
.industry-tile--ask { grid-column: span 2; background: var(--blue-50); border-style: dashed; border-color: #c4d4ee; justify-content: center; }
.industry-tile--ask:hover { transform: none; box-shadow: none; }
.industry-tile--ask p { margin-bottom: 14px; max-width: 36em; }
.industry-tile--ask .text-link { align-self: flex-start; }
.industry-tile__note { margin-top: 18px; align-self: flex-start; padding: 6px 14px; border-radius: 999px; background: rgba(141, 187, 255, .16); color: var(--sky); font-size: .85rem; font-weight: 650; }
@media (max-width: 991.98px) { .industry-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .industry-grid { grid-template-columns: 1fr; } .industry-tile--feature, .industry-tile--ask { grid-column: auto; grid-row: auto; } .industry-tile--feature { min-height: 280px; } }

/* ---------- Process timeline ---------- */
.process { padding: var(--section-y) 0; background: var(--navy-950); color: rgba(255, 255, 255, .75); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; position: relative; }
.timeline__step { position: relative; }
.timeline__step:not(:last-child)::after { content: ""; position: absolute; top: 27px; left: 64px; right: -12px; height: 2px; background: linear-gradient(90deg, var(--blue-500), rgba(141, 187, 255, .3)); }
.timeline__num {
  position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy-950); border: 2px solid var(--blue-500); color: #fff; font-weight: 700; font-size: 1rem; margin-bottom: 22px;
}
.timeline__step:last-child .timeline__num { background: var(--blue-600); }
.timeline__title { color: #fff; font-size: 1.05rem; margin-bottom: 8px; }
.timeline__text { font-size: .93rem; margin: 0; color: rgba(255, 255, 255, .66); }
@media (max-width: 991.98px) {
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline__step:not(:last-child)::after { top: 62px; bottom: 6px; left: 27px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--blue-500), rgba(141, 187, 255, .25)); }
  .timeline__step { display: grid; grid-template-columns: 56px 1fr; column-gap: 22px; padding-bottom: 30px; }
  .timeline__num { grid-row: span 2; margin: 0; }
  .timeline__title { margin-top: 14px; }
}

/* ---------- Stats ---------- */
.stats { padding: clamp(56px, 7vw, 88px) 0; border-bottom: 1px solid var(--line); }
.stats__inner { display: grid; grid-template-columns: 1fr 1fr; max-width: 900px; margin: 0 auto; }
.stat { text-align: center; padding: 8px 24px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat__num { font-size: clamp(3.4rem, 8vw, 5.6rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--navy-900); margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.stat__num span { color: var(--navy-900); }
.stat__label { margin: 0; font-weight: 600; color: var(--muted); }

/* ---------- Testimonials ---------- */
.testimonials { padding: var(--section-y) 0; background: var(--blue-50); overflow: hidden; }
.carousel-controls { display: flex; gap: 10px; }
.testimonial-track {
  --edge: max(24px, calc((100vw - 1240px) / 2 + 24px));
  scroll-padding-inline: var(--edge);
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 6px var(--edge) 24px; scrollbar-width: none;
}
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial {
  flex: 0 0 min(400px, 84vw); scroll-snap-align: start; margin: 0; display: flex; flex-direction: column;
  background: #fff; border-radius: var(--r-lg); padding: 30px; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.testimonial__mark { width: 34px; height: 34px; color: var(--blue-200); margin-bottom: 14px; }
.testimonial__text { margin: 0 0 24px; }
.testimonial__text p { margin: 0; font-size: 1.04rem; line-height: 1.65; color: var(--ink); }
.testimonial__who { margin-top: auto; display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.testimonial__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--navy-900); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .95rem; flex: none; }
.testimonial__who strong { display: block; color: var(--navy-900); font-size: 1rem; }
.testimonial__who small { color: var(--muted); font-size: .88rem; }

/* ---------- FAQ ---------- */
.faq { padding: var(--section-y) 0; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__contact { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.accordion-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; font-weight: 650; font-size: 1.1rem; color: var(--navy-900);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--blue-600); }
.qa__icon { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--blue-50); color: var(--blue-600); transition: transform .25s var(--ease), background-color .25s; }
.qa[open] .qa__icon { transform: rotate(45deg); background: var(--navy-900); color: #fff; }
.qa__answer { padding: 0 56px 24px 0; }
.qa__answer p { margin: 0; }

/* ---------- Contact ---------- */
.contact { padding: var(--section-y) 0; background: linear-gradient(180deg, var(--blue-50), #fff); }
.contact__card { display: grid; grid-template-columns: 5fr 7fr; border-radius: var(--r-xl); overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.contact__info {
  padding: clamp(32px, 4vw, 52px); color: rgba(255, 255, 255, .78);
  background: radial-gradient(600px 400px at 0% 100%, rgba(58, 115, 234, .35), transparent 60%), var(--navy-900);
  display: flex; flex-direction: column; align-items: flex-start;
}
.contact__title { color: #fff; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: 14px; }
.contact__lead { margin-bottom: 32px; }
.contact__list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 22px; }
.contact__list li { display: flex; gap: 16px; align-items: center; }
.contact__list small { display: block; font-size: .82rem; color: rgba(255, 255, 255, .6); }
.contact__list a { color: #fff; font-weight: 600; word-break: break-word; }
.contact__list a:hover { color: var(--sky); }
.contact__icon { width: 46px; height: 46px; border-radius: 13px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); display: grid; place-items: center; color: var(--sky); flex: none; }
.contact__info .social-list { margin-top: auto; padding-top: 32px; }
.contact__form { padding: clamp(28px, 4vw, 52px); }
.contact__form-title { font-size: 1.35rem; margin-bottom: 22px; }
.map-panel { position: relative; margin-top: 28px; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); background: var(--blue-50); }
.map-panel iframe { display: block; width: 100%; height: 400px; border: 0; }
.map-panel__open {
  position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: 999px; background: var(--navy-950); color: #fff; font-weight: 600; font-size: .92rem;
  box-shadow: 0 10px 24px -10px rgba(6, 18, 46, .6);
}
.map-panel__open:hover { color: #fff; background: var(--blue-600); }
.map-panel__open .icon { width: 18px; height: 18px; }
@media (max-width: 575.98px) { .map-panel iframe { height: 320px; } }
.map-panel__fallback { display: flex; align-items: center; gap: 22px; padding: 26px 30px; flex-wrap: wrap; }
.map-panel__fallback h3 { font-size: 1.1rem; margin: 0 0 2px; }
.map-panel__fallback p { margin: 0; color: var(--muted); }
.map-panel__fallback .c-btn { margin-left: auto; }
.map-panel__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; }
@media (max-width: 991.98px) { .contact__card { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.enquiry-form .form-label { font-weight: 600; font-size: .92rem; color: var(--navy-900); margin-bottom: 6px; }
.enquiry-form .form-control, .enquiry-form .form-select {
  border: 1.5px solid #cfdbee; border-radius: 12px; padding: 12px 14px; font-size: 1rem; color: var(--ink); background-color: #fbfcff;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.enquiry-form .form-control:focus, .enquiry-form .form-select:focus { border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(31, 91, 214, .14); background-color: #fff; }
.enquiry-form .is-invalid { border-color: #c62828 !important; }
.field-error { margin: 6px 0 0; font-size: .85rem; color: #b42318; min-height: 0; }
.field-error:empty { display: none; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.enquiry-form__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.enquiry-form__note { margin: 14px 0 0; font-size: .85rem; color: var(--muted); }
.form-status:empty { display: none; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-weight: 500; font-size: .95rem; }
.form-status.is-success { background: #e8f6ee; color: #0f5c34; }
.form-status.is-error { background: #fdecea; color: #8a1c13; }
.c-btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.notice { margin-top: 32px; padding: 16px 20px; border-radius: 14px; font-weight: 500; }
.notice--success { background: #e8f6ee; color: #0f5c34; }
.notice--error { background: #fdecea; color: #8a1c13; }

/* Quote modal */
.quote-modal .modal-content { display: grid; grid-template-columns: 5fr 8fr; border: 0; border-radius: var(--r-xl); overflow: hidden; }
.quote-modal__aside { padding: 40px 32px; background: var(--navy-900); color: rgba(255, 255, 255, .78); display: flex; flex-direction: column; }
.quote-modal__aside h2 { color: #fff; font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; }
.quote-modal__aside ul { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 12px; }
.quote-modal__aside li { display: flex; gap: 10px; align-items: center; color: #fff; font-weight: 500; }
.quote-modal__aside li .icon { color: var(--sky); }
.quote-modal__phone { margin-top: auto; display: inline-flex; gap: 10px; align-items: center; color: #fff; font-weight: 650; }
.quote-modal__phone:hover { color: var(--sky); }
.quote-modal__form { position: relative; padding: 40px 36px 32px; }
.quote-modal__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--blue-50); color: var(--navy-900); display: grid; place-items: center; }
@media (max-width: 767.98px) {
  .quote-modal .modal-content { grid-template-columns: 1fr; }
  .quote-modal__aside { padding: 28px 24px; }
  .quote-modal__aside ul, .quote-modal__phone { display: none; }
  .quote-modal__aside p { margin: 0; }
  .quote-modal__form { padding: 28px 22px; }
  .quote-modal__close { background: rgba(255, 255, 255, .14); color: #fff; top: -66px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .66); padding-top: clamp(64px, 8vw, 96px); font-size: .97rem; }
.site-footer__brand img { height: 56px; width: auto; }
.site-footer__about { margin: 22px 0 26px; max-width: 30em; }
.site-footer__title { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 20px; letter-spacing: 0; }
.site-footer__links, .site-footer__contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: #fff; }
.site-footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.site-footer__contact .icon { color: var(--sky); margin-top: 3px; }
.site-footer__contact a { overflow-wrap: anywhere; }
.site-footer__sadvis { margin: 22px 0 0; font-size: .92rem; }
.site-footer__sadvis a { color: var(--sky); font-weight: 600; }
.site-footer__bottom { margin-top: 56px; padding: 26px 0; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: .9rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 22px; padding: 0; margin: 0; }
.social-list { list-style: none; padding: 0; margin: 0; display: flex; gap: 10px; }
.social-list a {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #fff; transition: all .2s var(--ease);
}
.social-list a:hover { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.social-list .icon { width: 17px; height: 17px; }

/* Floating quick-contact buttons: Get a Quote, Call, WhatsApp */
.float-actions { position: fixed; left: 20px; bottom: 20px; z-index: 1020; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.float-btn {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 12px; border-radius: 999px;
  color: #fff; font-weight: 650; font-size: .95rem; white-space: nowrap;
  box-shadow: 0 12px 28px -12px rgba(6, 18, 46, .55);
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s;
}
.float-btn .icon { width: 26px; height: 26px; flex: none; }
.float-btn span { display: none; padding-right: 6px; }
.float-btn:hover { color: #fff; transform: translateY(-2px); }
.float-btn--quote { background: var(--blue-600); }
.float-btn--quote:hover { background: var(--blue-700); }
.float-btn--quote .icon { width: 22px; height: 22px; margin: 0 2px; }
.float-btn--call { background: var(--navy-900); }
.float-btn--call:hover { background: var(--navy-700); }
.float-btn--call .icon { width: 22px; height: 22px; margin: 0 2px; }
.float-btn--wa { background: var(--wa); box-shadow: 0 12px 28px -10px rgba(18, 140, 75, .7); }
.float-btn--wa:hover { background: #0e743d; }
/* Labels stay tucked away (icon-only, so nothing overlaps page content) and slide out on hover or keyboard focus */
.float-btn span { display: inline-block; max-width: 0; padding-right: 0; overflow: hidden; opacity: 0; transition: max-width .4s cubic-bezier(.16, 1, .3, 1), opacity .3s, padding-right .3s; }
.float-btn:hover span, .float-btn:focus-visible span { max-width: 140px; padding-right: 6px; opacity: 1; }
.float-btn { padding: 0 13px; }
/* Laptops and desktops: no Call button (calling is a phone action) */
@media (min-width: 992px) { .float-btn--call { display: none; } }
@media (max-width: 575.98px) { .float-actions { left: 14px; bottom: 14px; gap: 8px; } .float-btn { height: 48px; padding: 0 11px; } }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; padding: clamp(56px, 7vw, 96px) 0 clamp(52px, 6vw, 80px); color: rgba(255, 255, 255, .78);
  background: radial-gradient(800px 400px at 90% 0%, rgba(58, 115, 234, .35), transparent 60%), var(--navy-900); overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.page-hero .container { position: relative; z-index: 1; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 26px; font-size: .9rem; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: rgba(255, 255, 255, .35); }
.crumbs a { color: rgba(255, 255, 255, .7); }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: var(--sky); }
.page-hero__title { color: #fff; font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.06; max-width: 18ch; margin-bottom: 18px; }
.page-hero__lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); max-width: 40em; margin: 0; }
.page-hero__icon { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: rgba(141, 187, 255, .15); color: var(--sky); margin-bottom: 22px; }
.page-hero__icon .icon { width: 28px; height: 28px; }
.page-hero__actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
@media (min-width: 992px) { .page-hero__actions { align-items: flex-end; } .page-hero__actions .c-btn { min-width: 260px; } }

/* ---------- About page ---------- */
.about-story, .tech, .career { padding: var(--section-y) 0; }
.about-story .section-lead { color: var(--ink); font-weight: 500; margin-bottom: 20px; }
.stat-pair { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; margin-bottom: 24px; }
.stat-pair__item { padding: 34px 26px; text-align: center; background: var(--blue-50); }
.stat-pair__item + .stat-pair__item { border-left: 1px solid var(--line); }
.stat-pair .stat__num { font-size: clamp(2.8rem, 5vw, 3.8rem); }
.values { padding: 30px; border-radius: var(--r-xl); border: 1px solid var(--line); }
.values h3 { font-size: 1.15rem; margin-bottom: 16px; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { color: var(--blue-600); margin-top: 3px; }
.journey { padding: var(--section-y) 0; background: var(--blue-50); }
.journey-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--navy-900); }
.journey-list__item { padding: 28px 28px 30px 0; position: relative; }
.journey-list__item::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--blue-600); box-shadow: 0 0 0 4px var(--blue-50); }
.journey-list__year { display: block; font-size: 2rem; font-weight: 800; letter-spacing: -.03em; color: var(--blue-600); margin-bottom: 6px; }
.journey-list__item h3 { font-size: 1.15rem; margin-bottom: 8px; }
.journey-list__item p { margin: 0; font-size: .97rem; max-width: 30em; }
@media (min-width: 992px) { .journey-list__item:nth-child(n+4) { border-top: 1px solid var(--line); } }
@media (max-width: 991.98px) { .journey-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .journey-list { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--navy-900); } .journey-list__item { padding: 0 0 30px 26px; } .journey-list__item::before { top: 6px; left: -8px; } }
.sadvis-feature { padding: var(--section-y) 0 0; }
.sadvis-feature + .portfolio, .sadvis-feature + .faq { padding-top: var(--section-y); }
.sadvis-feature__card { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: var(--r-xl); border: 1px solid var(--line); background: linear-gradient(135deg, #fff, var(--blue-50)); }
.sadvis-feature__card img { width: 100%; max-width: 360px; height: auto; margin: 0 auto; border-radius: var(--r-md); }
.sadvis-feature__card h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; letter-spacing: -.03em; }
.sadvis-feature__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 8px; }
@media (max-width: 767.98px) { .sadvis-feature__card { grid-template-columns: 1fr; } }
.tech { background: #fff; }
.chip-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chip-list li { padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--navy-900); font-weight: 600; font-size: .95rem; }

/* ---------- Services page ---------- */
.service-list { padding: var(--section-y) 0 calc(var(--section-y) / 2); }
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); padding: 48px 0; border-top: 1px solid var(--line); }
.service-row:first-child { border-top: 0; padding-top: 0; }
.service-row__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--blue-50); color: var(--blue-600); margin-bottom: 20px; }
.service-row__icon .icon { width: 26px; height: 26px; }
.service-row__title { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: 14px; }
.service-row__text { margin-bottom: 24px; }
.service-row__offers { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; align-content: start; }
.service-row__offers li { display: flex; gap: 14px; padding: 14px 18px; border-radius: var(--r-md); background: var(--blue-50); }
.service-row__offers .icon { color: var(--blue-600); margin-top: 3px; }
.service-row__offers strong { color: var(--navy-900); display: block; }
.service-row__offers span { font-size: .96rem; }
@media (max-width: 991.98px) { .service-row { grid-template-columns: 1fr; } }

/* ---------- Service detail ---------- */
.service-detail { padding: var(--section-y) 0; }
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.offer { padding: 26px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; transition: border-color .25s, box-shadow .25s; }
.offer:hover { border-color: var(--blue-200); box-shadow: var(--shadow-sm); }
.offer__icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--blue-50); color: var(--blue-600); margin-bottom: 16px; }
.offer h3 { font-size: 1.08rem; margin-bottom: 6px; }
.offer p { margin: 0; font-size: .95rem; color: var(--muted); }
@media (max-width: 575.98px) { .offer-grid { grid-template-columns: 1fr; } }
.steps { padding: clamp(56px, 7vw, 88px) 0; background: var(--blue-50); }
.steps .section-title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 32px; }
.step-row { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; counter-reset: step; }
.step-row li { padding: 20px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); font-weight: 650; color: var(--navy-900); line-height: 1.35; }
.step-row span { display: block; font-size: .85rem; color: var(--blue-600); font-weight: 700; margin-bottom: 8px; }
@media (max-width: 991.98px) { .step-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575.98px) { .step-row { grid-template-columns: 1fr 1fr; } }

/* ---------- Industries page ---------- */
.jump-nav { position: sticky; top: var(--header-h); z-index: 1010; background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.jump-nav ul { list-style: none; display: flex; gap: 6px; overflow-x: auto; padding: 12px 0; margin: 0; scrollbar-width: none; }
.jump-nav ul::-webkit-scrollbar { display: none; }
.jump-nav a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 9px 14px; border-radius: 999px; color: var(--navy-900); font-weight: 600; font-size: .92rem; }
.jump-nav a:hover { background: var(--blue-50); }
.jump-nav .icon { color: var(--blue-600); width: 18px; height: 18px; }
.industry-block { padding: clamp(56px, 7vw, 96px) 0; scroll-margin-top: calc(var(--header-h) + 60px); }
.industry-block:nth-of-type(even) { background: var(--blue-50); }
.industry-block__intro { position: sticky; top: calc(var(--header-h) + 90px); }
.industry-block__intro p { margin-bottom: 24px; }
.industry-block__more { margin: 24px 0 0; }
.empty-note { height: 100%; min-height: 200px; display: grid; place-items: center; border: 1.5px dashed #c9d6ec; border-radius: var(--r-lg); padding: 32px; text-align: center; }
.empty-note p { margin: 0; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { padding: clamp(56px, 7vw, 88px) 0; background: radial-gradient(700px 300px at 10% 100%, rgba(58, 115, 234, .45), transparent 60%), var(--navy-900); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band__title { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: 8px; }
.cta-band__text { color: rgba(255, 255, 255, .75); margin: 0; max-width: 36em; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Legal / misc ---------- */
.legal { padding: clamp(56px, 7vw, 88px) 0; }
.legal__body { max-width: 760px; }
.legal__body h2 { font-size: 1.35rem; margin: 40px 0 12px; }
.legal__body ul { padding-left: 1.2rem; }
.legal__body li { margin-bottom: 8px; }
.legal__updated { color: var(--muted); font-size: .92rem; }
.career__card { padding: 36px; border-radius: var(--r-xl); background: var(--blue-50); border: 1px solid var(--line); }
.career__card h3 { font-size: 1.2rem; margin-bottom: 18px; }
.career__card .chip-list { margin-bottom: 24px; }
.career-teaser { padding: 0 0 var(--section-y); text-align: center; }
.notfound { padding: clamp(80px, 12vw, 160px) 0; }
.notfound .page-hero__title { color: var(--ink); }
.notfound .section-lead { margin-bottom: 32px; max-width: 36em; }
.notfound__code { font-size: 1rem; font-weight: 700; color: var(--blue-600); margin-bottom: 12px; }

/* ---------- Reveal (one subtle entrance, only when JS runs) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-wall__track { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}
@media (max-width: 575.98px) { :root { --header-h: 78px; } }

/* ==========================================================================
   Premium polish (v1.3)
   ========================================================================== */
:root { --r-card: 22px; --section-y: clamp(64px, 8.5vw, 112px); }

/* ---------- Hero: trust pill, headline, floating tech mockups ---------- */
.hero__pill {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 7px 14px 7px 10px;
  border-radius: 999px; background: rgba(255, 255, 255, .75); border: 1px solid rgba(31, 91, 214, .18);
  color: var(--navy-900); font-weight: 600; font-size: .9rem; box-shadow: 0 6px 18px -10px rgba(10, 27, 63, .3);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hero__pulse { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #22c55e; }
.hero__pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(34, 197, 94, .45); animation: pulse-ring 2s ease-out infinite; }
@keyframes pulse-ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.hero__title { color: var(--navy-950); text-wrap: balance; }
.hero__lead { text-wrap: pretty; }

.mock-code {
  position: absolute; z-index: 4; left: -56px; bottom: 36px; width: 290px; border-radius: 16px; overflow: hidden;
  background: rgba(10, 27, 63, .94); border: 1px solid rgba(141, 187, 255, .18);
  box-shadow: 0 30px 60px -24px rgba(6, 18, 46, .7), 0 0 0 1px rgba(255, 255, 255, .04) inset;
  font: 500 12.5px/1.75 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; color: #c9d7f2;
  transform: translate3d(calc(var(--px, 0) * 14px), calc(var(--py, 0) * 14px), 0);
}
.mock-code__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: rgba(255, 255, 255, .04); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.mock-code__bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.mock-code__bar i:nth-child(2) { background: #febc2e; }
.mock-code__bar i:nth-child(3) { background: #28c840; }
.mock-code__bar em { margin-left: 8px; font-style: normal; font-size: 11px; color: #8ea3c7; }
.mock-code__body { padding: 12px 16px 14px; }
.mock-code .ln { display: block; white-space: nowrap; }
.mock-code b { font-weight: 500; }
.mock-code .k { color: #8db8ff; } .mock-code .f { color: #7ee0c3; } .mock-code .s { color: #ffd38a; } .mock-code .n { color: #ff9db0; }
.caret { display: inline-block; width: 7px; height: 14px; margin-left: 3px; vertical-align: -2px; background: var(--sky); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.mock-phone {
  position: absolute; z-index: 4; right: -34px; top: 26%; width: 178px; padding: 12px 10px 14px; border-radius: 30px;
  background: #fff; border: 6px solid var(--navy-950); box-shadow: 0 30px 60px -22px rgba(6, 18, 46, .6);
  transform: translate3d(calc(var(--px, 0) * 26px), calc(var(--py, 0) * 26px), 0);
}
.mock-phone__notch { width: 54px; height: 6px; border-radius: 6px; background: var(--navy-950); margin: -4px auto 10px; }
.mock-phone__head { display: flex; align-items: center; gap: 8px; padding: 0 2px 10px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: .78rem; color: var(--navy-900); }
.mock-phone__head .icon { width: 26px; height: 26px; padding: 5px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--blue-500), var(--navy-700)); }
.mock-phone__head small { display: block; font-weight: 500; font-size: .66rem; color: #16a34a; }
.mock-phone__chat { display: grid; gap: 7px; padding-top: 10px; }
.bub { margin: 0; max-width: 88%; padding: 7px 10px; border-radius: 12px; font-size: .7rem; line-height: 1.35; }
.bub--bot { background: var(--blue-50); color: var(--navy-900); border-bottom-left-radius: 4px; }
.bub--me { justify-self: end; background: var(--blue-600); color: #fff; border-bottom-right-radius: 4px; }
.bub--typing { display: inline-flex; gap: 3px; width: max-content; background: var(--blue-50); border-bottom-left-radius: 4px; }
.bub--typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); animation: typing 1.2s infinite; }
.bub--typing i:nth-child(2) { animation-delay: .15s; } .bub--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: none; opacity: .4; } 30% { transform: translateY(-3px); opacity: 1; } }
@media (max-width: 1199.98px) { .mock-code { left: -16px; width: 260px; } .mock-phone { right: -10px; width: 160px; } }
@media (max-width: 767.98px) { .mock-code, .mock-phone { display: none; } }

/* ---------- About: company visual ---------- */
.about-visual { position: relative; padding: 40px 30px 70px; }
.about-visual__glow { position: absolute; inset: 10% 6% 14%; border-radius: 40px; background: radial-gradient(closest-side, rgba(58, 115, 234, .28), transparent); filter: blur(30px); }
.about-visual__laptop { position: relative; margin: 0; }
.about-visual__screen { position: relative; border: 10px solid var(--navy-950); border-bottom-width: 14px; border-radius: 18px 18px 6px 6px; overflow: hidden; background: #000; box-shadow: 0 40px 70px -30px rgba(6, 18, 46, .6); }
.about-visual__screen img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; }
.about-visual__base { height: 14px; margin: 0 -7%; border-radius: 0 0 16px 16px; background: linear-gradient(180deg, #d5dce8, #a9b4c7); box-shadow: 0 14px 24px -12px rgba(6, 18, 46, .5); position: relative; }
.about-visual__base::before { content: ""; position: absolute; left: 50%; top: 0; width: 18%; height: 5px; transform: translateX(-50%); border-radius: 0 0 8px 8px; background: #9aa6bb; }
.about-badge {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px;
  background: rgba(255, 255, 255, .9); border: 1px solid rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px -18px rgba(6, 18, 46, .4); font-size: .82rem; color: var(--muted); line-height: 1.35; max-width: 250px;
}
.about-badge strong { display: block; color: var(--navy-900); font-size: 1.05rem; }
.about-badge__icon { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--blue-500), var(--navy-700)); }
.about-badge--a { left: 0; top: 4px; }
.about-badge--b { right: 0; bottom: 18px; }
.about-badge--c { left: 6%; bottom: -6px; }
@media (max-width: 575.98px) {
  .about-visual { padding: 24px 0 90px; }
  .about-badge { padding: 10px 12px 10px 10px; font-size: .75rem; max-width: 210px; }
  .about-badge--a { top: -6px; } .about-badge--b { bottom: 32px; } .about-badge--c { left: 0; bottom: -10px; }
}

/* ---------- Services: spacing and depth ---------- */
.service-grid { gap: 22px; }
.service-card { padding: 32px 30px 30px; border-radius: var(--r-card); box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 20px 40px -30px rgba(0, 0, 0, .6); }
.service-card__text { line-height: 1.6; }

/* ---------- Portfolio cards ---------- */
.project-card { border-radius: var(--r-card); }
.project-card__media img { transform: scale(1.03); }
.project-card__body { padding: 22px 24px 24px; }
.project-card__title { font-size: 1.22rem; letter-spacing: -.02em; }
.project-card__link {
  align-self: flex-start; gap: 8px; padding: 10px 16px 10px 18px; border-radius: 999px; border: 1.5px solid #cad7ed; color: var(--navy-900);
  transition: background-color .25s, border-color .25s, color .25s, box-shadow .3s, transform .3s;
}
.project-card__link:hover { background: var(--navy-900); border-color: var(--navy-900); color: #fff; box-shadow: 0 10px 22px -12px rgba(10, 27, 63, .8); }
.project-card__link .icon { width: 17px; height: 17px; }

/* ---------- Industries: image cards ---------- */
.industry-tile { position: relative; overflow: hidden; padding: 0 24px 24px; border-radius: var(--r-card); }
.industry-tile__media { display: block; margin: 0 -24px; height: 120px; overflow: hidden; background: #eef2f8; }
.industry-tile__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform .8s cubic-bezier(.16, 1, .3, 1); }
.industry-tile:hover .industry-tile__media img { transform: scale(1.2); }
.industry-tile__media + .industry-tile__icon { margin-top: -25px; position: relative; background: #fff; box-shadow: 0 10px 22px -10px rgba(10, 27, 63, .35); }
.industry-tile--feature { padding: 28px; }
.industry-tile--ask { padding: 26px 24px; }
.jump-nav a[aria-current="true"] { background: var(--navy-900); color: #fff; }
.jump-nav a[aria-current="true"] .icon { color: var(--sky); }

/* ---------- FAQ ---------- */
.qa summary { padding: 22px 0; }
.qa[open] summary { color: var(--blue-600); }
.qa__answer { padding-right: 56px; color: var(--text); }

/* ---------- Contact form and map ---------- */
.contact__card { border-radius: 28px; }
.enquiry-form .form-control, .enquiry-form .form-select { border-radius: 14px; padding: 13px 15px; }
.enquiry-form .form-control::placeholder { color: #98a4ba; }
.enquiry-form .form-control:hover, .enquiry-form .form-select:hover { border-color: #b3c4e2; }
.map-panel { border-radius: 28px; }
.map-panel iframe { height: 420px; filter: saturate(.9); }
.map-card {
  position: absolute; left: 22px; top: 22px; width: min(300px, calc(100% - 44px)); padding: 20px; border-radius: 20px;
  background: rgba(255, 255, 255, .94); border: 1px solid rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 24px 50px -22px rgba(6, 18, 46, .45);
}
.map-card__logo { height: 34px; width: auto; margin-bottom: 10px; }
.map-card__name { margin: 0 0 8px; font-weight: 700; color: var(--navy-900); }
.map-card__line { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: .92rem; }
.map-card__line .icon { width: 17px; height: 17px; color: var(--blue-600); }
.map-card__line a { color: var(--navy-900); font-weight: 600; }
.map-card__btn { margin-top: 10px; width: 100%; padding: 12px 18px; }
@media (max-width: 575.98px) {
  .map-panel iframe { height: 460px; }
  .map-card { left: 12px; right: 12px; top: auto; bottom: 12px; width: auto; }
}

/* ---------- CTA: inset panel (keeps it distinct from the navy footer) ---------- */
.cta-band { padding: clamp(56px, 7vw, 96px) 0; background: #fff; animation: none; overflow: visible; }
.cta-band::after { display: none; }
.cta-band__inner {
  position: relative; overflow: hidden; isolation: isolate; padding: clamp(32px, 5vw, 60px); border-radius: 30px;
  background: radial-gradient(600px 300px at 0% 100%, rgba(58, 115, 234, .55), transparent 60%), radial-gradient(500px 260px at 100% 0%, rgba(141, 187, 255, .25), transparent 60%), var(--navy-900);
  box-shadow: 0 40px 80px -40px rgba(6, 18, 46, .7);
}
.cta-band__inner::before {
  content: ""; position: absolute; inset: 0; z-index: -1; 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: 44px 44px; -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); mask-image: linear-gradient(90deg, transparent 30%, #000);
}
.cta-band__points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 18px 0 0; }
.cta-band__points li { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 500; font-size: .95rem; }
.cta-band__points .icon { width: 18px; height: 18px; color: var(--sky); }

/* ---------- Global spacing and consistency ---------- */
.section-head { margin-bottom: clamp(32px, 4.5vw, 52px); }
.gallery-card, .offer, .testimonial, .values, .career__card { border-radius: var(--r-card); }
@media (max-width: 575.98px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .row.g-5, .row.g-4 { --bs-gutter-x: 2.5rem; }
  .about-visual__base { margin: 0 -3%; }
  .career__card .c-btn { white-space: normal; overflow-wrap: anywhere; text-align: left; } /* matches the 20px side padding, so rows never overflow */
  .section-title { font-size: 1.9rem; }
  .hero__title { font-size: 2.45rem; }
  .why-list__item { padding: 22px 0; }
  .contact__form, .contact__info { padding: 26px 22px; }
}

/* ==========================================================================
   Final upgrade (v1.4): new sections
   ========================================================================== */

/* Hero: AI dashboard mockup + scroll cue */
.mock-dash {
  position: absolute; z-index: 4; top: -10px; right: 6%; width: 200px; padding: 14px; border-radius: 18px;
  background: rgba(255, 255, 255, .85); border: 1px solid rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 24px 50px -22px rgba(6, 18, 46, .45);
  transform: translate3d(calc(var(--px, 0) * 20px), calc(var(--py, 0) * 20px), 0);
}
.mock-dash__head { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .8rem; color: var(--navy-900); margin-bottom: 12px; }
.mock-dash__head .icon { width: 26px; height: 26px; padding: 5px; border-radius: 8px; color: #fff; background: linear-gradient(135deg, var(--blue-500), var(--navy-700)); }
.mock-dash__head i { margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .2); }
.mock-dash__bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; padding: 0 2px 6px; border-bottom: 1px solid var(--line); }
.mock-dash__bars b { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--blue-500), var(--blue-200)); transform-origin: bottom; }
.mock-dash__rows { display: grid; gap: 6px; margin-top: 10px; }
.mock-dash__rows span { height: 7px; border-radius: 4px; background: var(--blue-50); }
.mock-dash__rows span:first-child { width: 80%; background: linear-gradient(90deg, var(--blue-100), var(--blue-50)); }
.mock-dash__rows span:last-child { width: 55%; }
@media (max-width: 767.98px) { .mock-dash { display: none; } }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: none; flex-direction: column; align-items: center; gap: 6px; color: var(--muted); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.scroll-cue__mouse { width: 24px; height: 38px; border: 2px solid #b6c4dd; border-radius: 14px; display: flex; justify-content: center; padding-top: 7px; }
.scroll-cue__mouse i { width: 4px; height: 8px; border-radius: 2px; background: var(--blue-600); }
.scroll-cue:hover { color: var(--blue-600); }
@media (min-width: 992px) and (min-height: 760px) { .scroll-cue { display: flex; } }

/* Services: AI Chatbot Solutions highlighted */
.service-card--ai { background: linear-gradient(160deg, rgba(58, 115, 234, .22), rgba(255, 255, 255, .04) 60%); border-color: rgba(141, 187, 255, .45); }
.service-card--ai .service-card__icon { background: linear-gradient(135deg, var(--blue-500), #7c5cff); color: #fff; }
.service-card__badge {
  position: absolute !important; top: 18px; right: 18px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px;
  background: rgba(141, 187, 255, .16); border: 1px solid rgba(141, 187, 255, .35); color: #dbe8ff; font-size: .74rem; font-weight: 650;
}
.service-card__badge .icon { width: 13px; height: 13px; color: var(--sky); }

/* SadVis AI showcase */
.sadvis-show { padding: var(--section-y) 0; position: relative; overflow: hidden; background: radial-gradient(700px 400px at 100% 50%, rgba(58, 115, 234, .12), transparent 60%), linear-gradient(180deg, #fff, var(--blue-50)); }
.sadvis-show__logo { width: 190px; height: auto; margin-bottom: 22px; }
.sadvis-show .section-lead { margin-bottom: 26px; }
.sadvis-show__points { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 16px; }
.sadvis-show__points li { display: flex; gap: 14px; align-items: flex-start; }
.sadvis-show__points .icon { width: 42px; height: 42px; flex: none; padding: 10px; border-radius: 12px; color: var(--blue-600); background: #fff; box-shadow: var(--shadow-sm); }
.sadvis-show__points strong { display: block; color: var(--navy-900); }
.sadvis-show__points span { font-size: .97rem; }
.sadvis-show__tabs { display: inline-flex; gap: 6px; padding: 5px; border-radius: 999px; background: #fff; border: 1px solid var(--line); margin-bottom: 26px; }
.usecase-tab { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 9px 16px; border-radius: 999px; font-weight: 650; font-size: .93rem; color: var(--navy-900); transition: background-color .25s, color .25s; }
.usecase-tab .icon { width: 17px; height: 17px; }
.usecase-tab[aria-selected="true"] { background: var(--navy-900); color: #fff; }
.sadvis-show__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.chat-ui { max-width: 480px; margin: 0 auto; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.chat-ui__head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; color: #fff; background: linear-gradient(120deg, var(--navy-900), var(--blue-600)); }
.chat-ui__head img { width: 42px; height: 42px; object-fit: contain; border-radius: 12px; background: #fff; padding: 4px; }
.chat-ui__head strong { display: block; font-size: 1rem; }
.chat-ui__head small { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: rgba(255, 255, 255, .8); }
.chat-ui__head small i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
.chat-ui__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 20px; min-height: 370px; background: linear-gradient(180deg, #f7faff, #fff); }
.msg { margin: 0; max-width: 82%; padding: 11px 14px; border-radius: 16px; font-size: .94rem; line-height: 1.45; }
.msg--bot { background: #fff; border: 1px solid var(--line); color: var(--ink); border-bottom-left-radius: 5px; box-shadow: var(--shadow-sm); }
.msg--me { align-self: flex-end; background: var(--blue-600); color: #fff; border-bottom-right-radius: 5px; }
.chat-ui__input { display: flex; align-items: center; justify-content: space-between; margin: 0 16px 16px; padding: 10px 10px 10px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.chat-ui__input i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-600); color: #fff; }
.chat-ui__input .icon { width: 16px; height: 16px; }

/* Featured case studies */
.cases { padding: var(--section-y) 0; }
.case-list { display: grid; gap: clamp(28px, 4vw, 48px); }
.case { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(18px, 2.5vw, 28px); border-radius: 28px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.case--flip .case__media { order: 2; }
.case__media { display: block; border-radius: 20px; overflow: hidden; background: #eef2f8; aspect-ratio: 4 / 3; }
.case__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1s cubic-bezier(.16, 1, .3, 1); }
.case:hover .case__media img { transform: scale(1.1); }
.case__industry { font-size: .85rem; font-weight: 650; color: var(--blue-600); margin-bottom: 6px; }
.case__title { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: 18px; }
.case__block { padding-left: 16px; border-left: 2px solid var(--blue-100); margin-bottom: 16px; }
.case__block h4 { font-size: .82rem; font-weight: 700; letter-spacing: .04em; color: var(--muted); margin-bottom: 4px; }
.case__block p { margin: 0; font-size: .98rem; }
.case__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 4px 0 22px; }
.case__tags li { padding: 5px 12px; border-radius: 999px; background: var(--blue-50); color: var(--navy-900); font-size: .82rem; font-weight: 600; }
@media (max-width: 991.98px) { .case { grid-template-columns: 1fr; } .case--flip .case__media { order: 0; } }

/* Client logo carousel */
.clients { padding: clamp(48px, 6vw, 72px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.clients__title { text-align: center; font-size: 1rem; font-weight: 650; color: var(--muted); letter-spacing: 0; margin-bottom: 28px; }
.logo-marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-marquee__track { list-style: none; display: flex; align-items: center; gap: clamp(36px, 5vw, 64px); width: max-content; padding: 0; margin: 0; }
.logo-marquee__track li { flex: none; }
.logo-marquee__track img { display: block; height: 52px; width: auto; max-width: 210px; object-fit: contain; filter: grayscale(1); opacity: .62; transition: filter .4s, opacity .4s, transform .4s; }
.logo-marquee__track img:hover { filter: none; opacity: 1; transform: scale(1.06); }
@media (max-width: 575.98px) { .logo-marquee__track img { height: 40px; max-width: 160px; } }

/* Technology expertise */
.techs { padding: var(--section-y) 0; background: var(--blue-50); }
.tech-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tech-card { position: relative; padding: 26px 24px; border-radius: var(--r-card); background: #fff; border: 1px solid var(--line); transition: transform .45s cubic-bezier(.16, 1, .3, 1), box-shadow .45s, border-color .3s; }
.tech-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--brand, #1f5bd6) 35%, transparent); box-shadow: 0 24px 46px -26px color-mix(in srgb, var(--brand, #1f5bd6) 60%, transparent); }
.tech-card__logo { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 15px; margin-bottom: 16px; color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, #fff); transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
.tech-card:hover .tech-card__logo { transform: rotate(-6deg) scale(1.06); }
.tech-card__logo .icon { width: 32px; height: 32px; }
.tech-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.tech-card p { margin: 0; font-size: .94rem; color: var(--muted); }
.tech-card--more { background: var(--navy-900); border-color: var(--navy-900); color: rgba(255, 255, 255, .75); display: flex; flex-direction: column; justify-content: center; }
.tech-card--more h3 { color: #fff; }
.tech-card--more p { color: rgba(255, 255, 255, .72); margin-bottom: 12px; }
.tech-card--more .text-link { color: var(--sky); text-decoration-color: rgba(141, 187, 255, .4); }
@media (max-width: 991.98px) { .tech-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .tech-grid { gap: 12px; } .tech-card { padding: 20px 16px; } .tech-card__logo { width: 46px; height: 46px; margin-bottom: 12px; } .tech-card h3 { font-size: 1rem; } .tech-card p { font-size: .86rem; } .tech-card--more { grid-column: span 2; } }
@media (max-width: 359.98px) { .tech-grid { grid-template-columns: 1fr; } .tech-card--more { grid-column: auto; } }

/* Testimonials: typography and spacing */
.testimonial { padding: 32px 30px 26px; }
.testimonial__text p { font-size: 1.05rem; line-height: 1.7; }
.testimonial__who strong { font-size: 1.02rem; letter-spacing: -.01em; }

/* Contact: premium focus */
.enquiry-form .form-control:focus, .enquiry-form .form-select:focus {
  border-color: var(--blue-600); background-color: #fff;
  box-shadow: 0 0 0 4px rgba(31, 91, 214, .12), 0 10px 24px -14px rgba(31, 91, 214, .55);
}
.enquiry-form .form-label { transition: color .25s; }
.enquiry-form .col-sm-6:focus-within .form-label, .enquiry-form .col-12:focus-within .form-label { color: var(--blue-600); }
.enquiry-form .c-btn--whatsapp { padding: 15px 26px; font-size: 1.02rem; box-shadow: 0 12px 26px -12px rgba(18, 140, 75, .75); }
