/* =========================================================
   Softoin: main stylesheet
   1. Tokens & base      6. Services explorer   11. FAQ
   2. Utilities          7. Awards & stats      12. Industry we serve
   3. Buttons            8. Sliders             13. Offerings / partner
   4. Header & menus     9. Tech grid           14. Contact & forms
   5. Hero & trusted    10. Testimonials        15. Footer, modals
                                                16. Motion & responsive
   ========================================================= */

/* ---------- 1. Tokens & base ---------- */
:root {
  --bg: #000;
  --surface: #1c2331;
  --surface-2: #232a39;
  --card-grad: linear-gradient(160deg, #252c3a 0%, #151a23 100%);
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.24);
  --text: #fff;
  --muted: #b9c0cc;
  --muted-2: #8a93a3;
  --primary: #0b6cf5;
  --primary-hover: #2a82ff;
  --red: #e3262f;
  --indigo: #5b62e6;
  --yellow: #f6c21c;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 84px;
  --font: "Google Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

/* Soft brand glows, fixed behind the content (no filters: cheap to paint) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(40vw 50vh at 0% 40%, rgba(46, 70, 160, 0.28), transparent 70%),
    radial-gradient(38vw 45vh at 100% 70%, rgba(150, 10, 18, 0.26), transparent 70%);
}

img,
video,
canvas,
svg {
  max-width: 100%;
  display: block;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.2;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

figure,
blockquote {
  margin: 0;
}

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

::selection {
  background: var(--primary);
  color: #fff;
}

@media (min-width: 1200px) {
  .container {
    max-width: 1272px;
  }
}

/* Every section from "Trusted by" down has a fixed 1240px content width
   (+12px padding each side); the header spans the screen. */
@media (min-width: 1200px) {
  main .container,
  .site-footer .container,
  .services__container,
  .site-header .container {
    max-width: 1264px;
  }
}

@media (min-width: 1500px) {
  .site-header .container {
    max-width: 1264px;
  }
}

/* ---------- 2. Utilities & section scaffolding ---------- */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 2000;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--primary);
  transform: translateY(-150%);
  transition: transform 0.2s;
}

.skip-link:focus {
  transform: none;
}

.section {
  position: relative;
  padding: 72px 0;
}

.section--tight {
  padding: 32px 0;
}

.section-head {
  max-width: 1100px;
  margin: 0 auto 32px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem);
  letter-spacing: -0.01em;
}

.section-head p {
  margin-top: 10px;
  color: var(--muted);
  font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.1rem);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-hover);
  font-weight: 600;
  font-size: 0.875rem;
}

.text-link i {
  transition: transform 0.3s var(--ease);
}

.text-link:hover i {
  transform: translateX(4px);
}

/* ---------- 3. Buttons ---------- */
.cta {
  --cta-bg: transparent;
  --cta-bd: var(--border-strong);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  border: 1px solid var(--cta-bd);
  border-radius: 999px;
  background: var(--cta-bg);
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.2;
  white-space: nowrap;
  text-transform: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.3s var(--ease),
    background-color 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
}

/* light sweep on hover */
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}

.cta:hover::after {
  transform: translateX(120%);
}

.cta i {
  font-size: 0.75em;
  transition: transform 0.3s var(--ease);
}

.cta:hover i {
  transform: translateX(4px);
}

.cta:hover {
  transform: translateY(-2px);
}

.cta:active {
  transform: translateY(0) scale(0.98);
}

.cta--primary {
  --cta-bg: var(--primary);
  --cta-bd: var(--primary);
  box-shadow: 0 8px 24px rgba(11, 108, 245, 0.35);
}

.cta--primary:hover {
  --cta-bg: var(--primary-hover);
  --cta-bd: var(--primary-hover);
  box-shadow: 0 12px 30px rgba(11, 108, 245, 0.5);
}

.cta--ghost {
  --cta-bd: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(6px);
}

.cta--ghost:hover {
  --cta-bg: rgba(255, 255, 255, 0.1);
  --cta-bd: #fff;
}

.cta--light {
  --cta-bg: #fff;
  --cta-bd: #fff;
  color: #111;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 6px 20px rgba(120, 150, 255, 0.35);
}

.cta--sm {
  padding: 9px 18px;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.cta--lg {
  padding: 14px 34px;
  font-size: 1rem;
}

.cta .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #04d501;
  box-shadow: 0 0 0 4px rgba(4, 213, 1, 0.2);
}

.icon-btn,
.round-btn,
.close-btn,
.arrow-btn {
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition:
    background-color 0.3s,
    border-color 0.3s,
    transform 0.3s var(--ease);
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.icon-btn:hover,
.round-btn:hover,
.close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.round-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 18, 26, 0.85);
  border-color: rgba(255, 255, 255, 0.18);
}

.round-btn:hover {
  transform: scale(1.06);
}

.round-btn.swiper-button-disabled {
  opacity: 0.4;
  pointer-events: none;
}

.close-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.1rem;
}

.close-btn:hover {
  transform: rotate(90deg);
}

.arrow-btn {
  width: 44px;
  height: 44px;
  border: 0;
  font-size: 1.4rem;
}

.arrow-btn:hover {
  transform: scale(1.15);
  color: var(--primary-hover);
}

/* ---------- 4. Header & menus ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1030;
  height: var(--header-h);
  transition:
    background-color 0.4s,
    height 0.4s var(--ease),
    box-shadow 0.4s;
}

.site-header.is-scrolled {
  --header-h: 70px;
  box-shadow: 0 1px 0 var(--border);
}

/* The scrolled header's glass lives on a separate layer: a backdrop-filter on
   the header itself would trap the mega menu inside it and stop the menu's own
   blur from working after scrolling. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(5, 7, 12, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.site-header.is-scrolled::before {
  opacity: 1;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
}

.brand img {
  width: 120px;
}

@media (min-width: 1200px) {
  .brand {
    margin-left: 24px; /* nudged right, as in the design */
  }
}

.main-nav {
  margin: 0 auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.3s;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary-hover);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav-link:hover,
.nav-link.is-active {
  color: #fff;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-link .fa-chevron-down {
  font-size: 0.6rem;
  transition: transform 0.3s;
}

.has-mega {
  position: relative;
}

/* nav items fill the header height so the pointer can travel straight
   down into the panel without the menu closing */
.main-nav,
.nav-menu {
  height: 100%;
}

.nav-menu {
  align-items: stretch;
}

.nav-menu > li {
  display: flex;
  align-items: center;
}

.has-mega:hover .fa-chevron-down,
.has-mega:focus-within .fa-chevron-down {
  transform: rotate(180deg);
}

/* Full-width glass mega panel attached under the header (as on apptunix.com).
   Content is kept to the same 1240px column as the header. */
.mega {
  position: fixed;
  top: var(--header-h);
  left: 50%;
  display: flex;
  align-items: flex-start;
  gap: 34px;
  /* same box as apptunix.com: max 1360px wide, centred, rounded bottom */
  width: min(100vw, 1264px); /* same width as the header */
  padding: 22px 25px 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 0;
  border-radius: 0 0 20px 20px;
  background: rgba(1, 10, 22, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -8px);
  transition:
    opacity 0.3s,
    transform 0.35s var(--ease),
    visibility 0.3s;
}

.has-mega:hover > .mega,
.has-mega:focus-within > .mega {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* left sidebar card (e-guide / awards), like apptunix's category column */
.mega .mega-aside {
  order: -1;
  width: 250px;
  padding: 20px 18px;
  border: 0;
  border-radius: 14px;
  background: rgba(10, 14, 24, 0.65);
}

.mega-heading {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
}

.mega-sub {
  margin: 2px 0 20px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.mega-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 8px 8px 8px 22px;
  border-radius: 12px;
  background: #0b6cf5;
}

.mega-cta > i {
  color: #fff;
}

.mega-cta p {
  flex: 1;
  margin: 0;
  font-size: 0.9rem;
  color: #fff;
}

.mega-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  color: #0b1530;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.3s var(--ease);
}

.mega-cta__btn i {
  font-size: 0.7rem;
}

.mega-cta__btn:hover {
  transform: translateX(3px);
}
/* Services: clickable service list on the left, its sub-menu on the right */
.mega .mega-tabs {
  width: 290px;
  padding: 18px 12px;
}

.mega-tabs .mega-title {
  padding: 0 8px;
}

.mega-tabs__list {
  display: grid;
  gap: 2px;
}

.mega-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.25s, color 0.25s;
}

.mega-tab .mega-icon {
  width: 32px;
  height: 32px;
  font-size: 0.85rem;
}

.mega-tab__arrow {
  margin-left: auto;
  font-size: 0.65rem;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.25s, transform 0.25s;
}

.mega-tab:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.mega-tab.is-active {
  background: rgba(11, 108, 245, 0.18);
  color: #fff;
}

.mega-tab.is-active .mega-tab__arrow,
.mega-tab:hover .mega-tab__arrow {
  opacity: 1;
  transform: none;
}

.mega-pane {
  display: none;
}

.mega-pane.is-active {
  display: block;
  animation: pane-in 0.35s var(--ease);
}

@keyframes pane-in {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: none; }
}

.mega-pane .mega-sub {
  max-width: 640px;
}

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

.mega-sublist a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease);
}

.mega-sublist a:hover {
  border-color: rgba(90, 164, 255, 0.5);
  background: rgba(11, 108, 245, 0.12);
  color: #fff;
  transform: translateY(-2px);
}

.mega-sub-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(11, 108, 245, 0.18);
  color: #6aa8ff;
  font-size: 0.8rem;
}


/* the "Got a product idea?" bar always sits at the bottom of every panel,
   however few links the panel has */
.mega {
  align-items: stretch;
}

.mega-main {
  display: flex;
  flex-direction: column;
}

.mega-main > .mega-cta {
  margin-top: auto;
}

.mega-main > :nth-last-child(2),
.mega-main > .mega-pane {
  margin-bottom: 22px;
}

/* services/products panel keeps one height when switching tabs */
.mega--services .mega-main {
  min-height: 406px;
}

.mega--services .mega-tabs {
  width: 290px;
}

.mega--services .mega-tab {
  white-space: nowrap;
}

.soon-badge {
  display: table;
  margin: 5px 0 3px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(246, 194, 28, 0.15);
  border: 1px solid rgba(246, 194, 28, 0.45);
  color: #f6c21c;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.03em;
  vertical-align: 2px;
  white-space: nowrap;
}

/* About Us: small 320px dropdown centred under its link (as on apptunix.com) */
.mega.mega--portfolio {
  position: absolute;
  top: 100%;
  width: 320px;
  padding: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
}

.mega--portfolio .mega-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
}

.mega--portfolio .mega-row .mega-item {
  padding: 8px 6px;
  border: 0;
  background: none;
}

.mega--portfolio .mega-row .mega-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.mega--portfolio .mega-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #006eef;
}

.mega--portfolio .mega-icon img {
  width: 17px;
  height: 17px;
}

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

.mega-row .mega-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.mega-main {
  flex: 1;
}

.mega-title {
  display: block;
  margin-bottom: 14px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

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

.mega-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.25s;
}

.mega-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.mega-item strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
}

.mega-item small {
  display: block;
  font-size: 0.78rem;
  color: var(--muted-2);
}

.mega-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.06);
  transition: transform 0.3s var(--ease);
}

.mega-item:hover .mega-icon {
  transform: scale(1.08) rotate(-4deg);
}

.c-blue { color: #4d9bff; background: rgba(77, 155, 255, 0.14); }
.c-teal { color: #2dd4bf; background: rgba(45, 212, 191, 0.14); }
.c-purple { color: #a78bfa; background: rgba(167, 139, 250, 0.14); }
.c-orange { color: #fb923c; background: rgba(251, 146, 60, 0.14); }
.c-green { color: #4ade80; background: rgba(74, 222, 128, 0.14); }
.c-pink { color: #f472b6; background: rgba(244, 114, 182, 0.14); }
.c-cyan { color: #22d3ee; background: rgba(34, 211, 238, 0.14); }
.c-indigo { color: #818cf8; background: rgba(129, 140, 248, 0.14); }

.mega-aside {
  width: 230px;
  flex: none;
  padding-left: 24px;
  border-left: 1px solid var(--border);
}

.eguide {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.eguide img {
  width: 110px;
  border-radius: 8px;
}

.eguide strong {
  font-size: 0.8rem;
  color: var(--primary-hover);
}

.eguide p {
  margin: 4px 0;
  font-size: 0.9rem;
}

.eguide small {
  display: block;
  margin-bottom: 8px;
  color: var(--muted-2);
}

.mega-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px 12px;
  margin-bottom: 18px;
}

.mega-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.85);
  transition:
    background-color 0.25s,
    color 0.25s;
}

.mega-list li:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.mega-list i {
  width: 16px;
  color: var(--primary-hover);
  text-align: center;
}

.mega-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mega-badges figure {
  text-align: center;
}

.mega-badges img {
  width: 76px;
  margin: 0 auto 6px;
}

.mega-badges figcaption {
  font-size: 0.72rem;
  color: var(--muted-2);
  line-height: 1.3;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-actions .cta--sm {
  padding: 12px 22px;
  font-size: 0.85rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 11px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.3s;
}

.menu-toggle span:nth-child(2) {
  width: 70%;
}

/* Offcanvas panels */
.offcanvas.info-panel,
.offcanvas.mobile-menu {
  --bs-offcanvas-width: min(420px, 100vw);
  --bs-offcanvas-bg: #0d1118;
  --bs-offcanvas-color: #fff;
  border-left: 1px solid var(--border) !important;
}

.offcanvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between; /* logo left, close button right */
  gap: 16px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--border);
}

.offcanvas-header img {
  width: 120px;
  height: auto;
  flex: none;
}

.offcanvas-header .close-btn {
  flex: none;
  margin: 0;
}

.offcanvas-body {
  padding: 8px 28px 32px;
}

.info-panel__intro {
  margin: 24px 0 32px;
  color: var(--muted);
  font-size: 1.05rem;
}

.info-panel__list li {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
  color: var(--muted);
}

.info-panel__list a:hover {
  color: #fff;
}

.info-panel__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--primary);
  border-radius: 50%;
  color: var(--primary-hover);
}

.info-panel__heading {
  margin-top: 40px;
  font-size: 1.25rem;
}

.info-panel__sub {
  margin: 4px 0 16px;
  color: var(--muted-2);
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-row a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  font-size: 0.9rem;
  transition:
    transform 0.3s var(--ease),
    background-color 0.3s;
}

.social-row a:hover {
  transform: translateY(-3px);
  background: var(--primary-hover);
}

.mobile-nav > li {
  border-bottom: 1px solid var(--border);
}

.mobile-nav > li > a,
.mobile-acc__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 0;
  border: 0;
  background: none;
  font-size: 1.1rem;
  text-align: left;
  cursor: pointer;
}

.mobile-acc__toggle i {
  font-size: 0.85rem;
  transition: transform 0.3s;
}

.mobile-acc.is-open .mobile-acc__toggle i {
  transform: rotate(45deg);
}

.mobile-acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}

.mobile-acc.is-open .mobile-acc__panel {
  grid-template-rows: 1fr;
}

.mobile-acc__panel > * {
  min-height: 0;
  overflow: hidden;
}

.mobile-acc__panel .mega-grid,
.mobile-acc__panel .mega-list {
  grid-template-columns: minmax(0, 1fr);
}

/* cloned desktop menus: undo the floating dropdown styles */
.mobile-acc__panel .mega {
  position: static;
  display: grid;
  width: auto;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mobile-acc__panel .mega-heading,
.mobile-acc__panel .mega-sub,
.mobile-acc__panel .mega-cta {
  display: none;
}

.mobile-acc__panel .mega-row {
  grid-template-columns: minmax(0, 1fr);
}

.mobile-acc__panel .mega-tab__arrow {
  display: none;
}

.mobile-acc__panel .mega-tab.is-active {
  background: none;
}

.mobile-acc__panel .mega-main,
.mobile-acc__panel.mega--portfolio {
  padding-bottom: 12px;
}

.mobile-menu__actions {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

/* ---------- 5. Hero & trusted ---------- */
.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(540px, 64vh, 600px);
  padding: calc(var(--header-h) + 16px) 0 40px;
  overflow: hidden;
  text-align: center;
  isolation: isolate;
}

.hero__video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.35) 60%, #000 100%),
    radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.35) 100%);
}

.hero__eyebrow {
  font-size: clamp(2rem, 1.1rem + 3.4vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
}

.hero__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25em;
  margin: 0.35em 0;
  min-height: 1.3em;
  font-size: clamp(2.1rem, 1.1rem + 4.2vw, 4.6rem);
  font-weight: 700;
}

.brace {
  font-weight: 500;
}

.brace--l {
  color: var(--red);
}

.brace--r {
  color: var(--indigo);
}

.typed::after {
  content: "";
  display: inline-block;
  width: 3px;
  height: 0.9em;
  margin-left: 4px;
  vertical-align: -0.08em;
  background: currentColor;
  animation: caret 1s steps(1) infinite;
}

.hero__sub {
  margin-bottom: 32px;
  font-size: clamp(1.25rem, 0.8rem + 2vw, 2.8rem);
  font-weight: 600;
}

.hero__tiles {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.tech-tile {
  position: absolute;
  display: grid;
  place-items: center;
  width: 77.66px;
  height: 77.66px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  /* frosted grey glass with a soft light rim */
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.55) 30%, transparent 75%),
    linear-gradient(145deg, rgba(150, 150, 156, 0.7), rgba(70, 70, 76, 0.75) 55%, rgba(40, 40, 44, 0.85));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.45),
    inset 0 0 10px rgba(255, 255, 255, 0.12),
    0 0 16px rgba(255, 255, 255, 0.1),
    0 18px 40px rgba(0, 0, 0, 0.5);
  translate: var(--px, 0) var(--py, 0);
  transition: translate 0.6s var(--ease);
  /* the whole tile floats so the logo stays centred inside it */
  animation: float 6s ease-in-out infinite;
}

.tech-tile img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.tile-1 { top: 18%; left: 16%; rotate: -12deg; }
.tile-2 { top: 18%; right: 15%; rotate: 10deg; }
.tile-3 { top: 52%; right: 6%; rotate: -14deg; }
.tile-4 { top: 66%; left: 11%; rotate: 8deg; }
.tile-5 { bottom: 4%; right: 18%; rotate: 12deg; }
.tile-2 { animation-delay: -1.5s; }
.tile-3 { animation-delay: -3s; }
.tile-4 { animation-delay: -4.5s; }
.tile-5 { animation-delay: -2s; }

.trusted {
  padding: 18px 0 8px;
}

.trusted__inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.trusted__label {
  flex: none;
  padding: 8px 16px;
  border-radius: 4px;
  background: linear-gradient(90deg, #0c2a5c, #08142b);
  font-size: 0.95rem;
}

.marquee {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee img {
  width: auto;
  height: 46px;
  object-fit: contain;
  opacity: 1;
  filter: grayscale(1) brightness(2.4) contrast(1.1);
  transition:
    opacity 0.3s,
    filter 0.3s;
}

.marquee img:hover {
  opacity: 1;
  filter: none;
}

/* ---------- 6. Services explorer ("More Than Tech") ---------- */
.services {
  /* clip sideways only, so the rings can fade out below the section */
  overflow-x: clip;
  overflow-y: visible;
  padding: 56px 0 32px;
}

/* nav arc hugs the left edge; number + card follow it (matches design) */
.svc {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.6fr);
  align-items: center;
  gap: 0;
  padding-right: 6%;
}

.svc__nav-wrap {
  position: relative;
  padding: 20px 0;
}

.svc__rings {
  position: absolute;
  top: 50%;
  left: -420px;
  width: 760px;
  max-width: none;
  opacity: 1;
  aspect-ratio: 1;
  transform: translateY(-50%);
  pointer-events: none;
  /* right half only, soft flat edge, and a radial fade so the image's square
     background melts into the page instead of showing a box */
  -webkit-mask-image:
    linear-gradient(90deg, transparent 50%, #000 60%),
    radial-gradient(circle closest-side, #000 72%, transparent 98%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 50%, #000 60%),
    radial-gradient(circle closest-side, #000 72%, transparent 98%);
  mask-composite: intersect;
}

/* the mask stays on the wrapper, so only the dots/rings turn */
.svc__rings img {
  width: 100%;
  height: 100%;
  animation: ring-spin 60s linear infinite;
}

@keyframes ring-spin {
  to { transform: rotate(360deg); }
}

.svc__path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.svc__path path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.45);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 0 11;
}

.svc__nav {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}

.svc__tab {
  --x: 0px;
  position: relative;
  padding: 9px 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: linear-gradient(180deg, #2a2d36, #1b1d24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 18px rgba(0, 0, 0, 0.4);
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  transform: translateX(var(--x));
  transition:
    transform 0.5s var(--ease),
    padding 0.4s var(--ease),
    font-size 0.4s var(--ease),
    color 0.3s,
    background 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
}

.svc__tab:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateX(calc(var(--x) + 6px));
}

.svc__tab.is-active {
  padding: 13px 22px;
  font-size: 1.1rem;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  background: linear-gradient(180deg, #4a4e5a, #2b2e37);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 0 4px rgba(255, 255, 255, 0.04),
    0 14px 30px rgba(0, 0, 0, 0.55);
}

.svc__stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 190px) minmax(0, 1fr);
  align-items: center;
}

/* the numeral sits behind the card's left edge, nearly card height */
.svc__numbers {
  position: relative;
  grid-area: 1 / 1;
  justify-self: end;
  align-self: stretch;
  width: 290px;
  margin: 6% -56px 6% 0;
  pointer-events: none;
}

.svc__numbers img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  opacity: 0;
  filter: drop-shadow(0 0 30px rgba(246, 194, 28, 0.45));
  transform: translateX(-30px) scale(0.85);
  transition:
    opacity 0.5s,
    transform 0.7s var(--ease);
}

.svc__numbers img.is-active {
  opacity: 1;
  transform: none;
}

.svc__card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-area: 1 / 2;
  padding: 28px 30px;
  border-radius: 14px;
  background: #fff;
  color: #2c2f36;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2),
    0 30px 60px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(246, 194, 28, 0.08);
}

.svc__panel {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* JS swaps [hidden] for an animated state so all panels share one grid cell */
.svc.is-ready .svc__panel {
  display: flex;
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 0.45s,
    visibility 0s 0.45s;
}

.svc.is-ready .svc__panel.is-active {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}

.svc__panel h3 {
  font-size: clamp(1.4rem, 1.1rem + 0.8vw, 1.85rem);
  color: #3a3d44;
}

.svc__panel > p {
  margin: 10px 0 18px;
  font-size: 0.98rem;
  line-height: 1.55;
  color: #3f434b;
}

.svc__panel h3,
.svc__panel > p {
  transform: translateY(14px);
  opacity: 0;
  transition:
    transform 0.6s var(--ease),
    opacity 0.5s;
}

.svc__panel.is-active h3,
.svc__panel.is-active > p {
  transform: none;
  opacity: 1;
}

.svc__panel.is-active > p {
  transition-delay: 0.08s;
}

.svc__visual {
  position: relative;
  height: 290px;
  margin-top: auto;
  border-radius: 12px;
  overflow: hidden;
  clip-path: inset(0 100% 0 0 round 12px);
  transition: clip-path 0.9s var(--ease) 0.1s;
}

.svc__panel.is-active .svc__visual {
  clip-path: inset(0 0 0 0 round 12px);
}

.svc__visual img {
  transition: transform 1.2s var(--ease);
}

.svc__panel:not(.is-active) .svc__visual img {
  transform: scale(1.08);
}

/* AI */
.svc__visual--ai .v-robot {
  position: absolute;
  bottom: -10px;
  left: 4%;
  width: 46%;
}

.svc__visual--ai .v-chip {
  position: absolute;
  right: 0;
  top: 50%;
  width: 50%;
  translate: 0 -50%;
}

.svc__panel.is-active .v-chip {
  animation: float 5s ease-in-out infinite 1s;
}

/* Phones */
.svc__visual--phones {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4%;
  padding-top: 24px;
  background: linear-gradient(180deg, #eef2fb, #dfe6f5);
}

.svc__visual--phones img {
  width: 26%;
  border-radius: 18px;
  filter: drop-shadow(0 18px 24px rgba(20, 30, 60, 0.3));
}

.svc__visual--phones img:nth-child(1) { translate: 0 30px; rotate: -6deg; }
.svc__visual--phones img:nth-child(2) { translate: 0 6px; z-index: 1; }
.svc__visual--phones img:nth-child(3) { translate: 0 30px; rotate: 6deg; }

.svc__visual--duo img {
  width: 30%;
}

.svc__visual--duo img:nth-child(2) {
  translate: 0 30px;
  rotate: 5deg;
}

/* Photo */
.svc__visual--photo img,
.svc__visual--dark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.svc__visual--dark {
  background: radial-gradient(circle at 30% 40%, #3b2a8a, #0b1530 70%);
}

.svc__visual--code {
  background: #0b1222;
}

.svc__visual--code img:first-child {
  opacity: 0.9;
}

.v-chip-label {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  font-size: 0.82rem;
  font-weight: 600;
  color: #1e2230;
}

.v-chip-label i {
  color: var(--primary);
}

.v-chip-label--float {
  left: auto;
  right: 16px;
  bottom: auto;
  top: 18px;
  animation: float 5s ease-in-out infinite;
}

/* Design / tools */
.svc__visual--design,
.svc__visual--iot {
  background: linear-gradient(135deg, #f3f0ff, #e6efff);
}

.svc__visual--design .v-phone,
.svc__visual--iot .v-phone {
  position: absolute;
  left: 50%;
  bottom: -60px;
  width: 30%;
  translate: -50% 0;
  border-radius: 18px;
  filter: drop-shadow(0 20px 30px rgba(20, 30, 60, 0.3));
}

.v-tool {
  position: absolute;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  padding: 12px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(20, 30, 60, 0.18);
  animation: float 6s ease-in-out infinite;
}

.v-tool img {
  max-height: 100%;
  width: auto;
}

.v-tool--1 { top: 16%; left: 12%; }
.v-tool--2 { top: 12%; right: 14%; animation-delay: -2s; }
.v-tool--3 { bottom: 14%; right: 22%; animation-delay: -4s; }

.svc__visual--code .v-tool {
  background: rgba(255, 255, 255, 0.95);
}

.svc__visual--iot .v-phone {
  left: 30%;
}

.iot-stats {
  position: absolute;
  top: 50%;
  right: 8%;
  display: grid;
  gap: 10px;
  translate: 0 -50%;
}

.iot-stats li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-width: 190px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(20, 30, 60, 0.14);
  font-size: 0.85rem;
  color: #4a4f5c;
}

.iot-stats i {
  color: var(--primary);
  text-align: center;
}

.iot-stats strong {
  color: #1e2230;
}

.svc__panel.is-active .iot-stats li {
  animation: slide-in-right 0.6s var(--ease) both;
}

.svc__panel.is-active .iot-stats li:nth-child(2) { animation-delay: 0.15s; }
.svc__panel.is-active .iot-stats li:nth-child(3) { animation-delay: 0.3s; }

/* Chat */
.svc__visual--chat {
  display: flex;
  align-items: center;
  padding: 18px 22px;
  background: linear-gradient(135deg, #0f1a33, #1f2f63);
}

.chat {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  width: min(62%, 320px);
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  font-size: 0.8rem;
}

.chat__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eef0f4;
}

.chat__head img {
  width: 30px;
  border-radius: 8px;
}

.chat__head strong {
  display: block;
  font-size: 0.82rem;
  color: #1e2230;
}

.chat__head small {
  color: #16a34a;
}

.chat__msg {
  max-width: 88%;
  padding: 7px 11px;
  border-radius: 12px;
  line-height: 1.4;
}

.chat__msg--bot {
  border-bottom-left-radius: 4px;
  background: #f0f3f9;
  color: #2c2f36;
}

.chat__msg--user {
  justify-self: end;
  border-bottom-right-radius: 4px;
  background: var(--primary);
  color: #fff;
}

.svc__panel.is-active .chat__msg {
  animation: pop-in 0.5s var(--ease) both;
}

.svc__panel.is-active .chat__msg:nth-of-type(2) { animation-delay: 0.5s; }
.svc__panel.is-active .chat__msg:nth-of-type(3) { animation-delay: 1s; }

.chat__typing {
  display: flex;
  gap: 4px;
  padding: 8px 11px;
  width: max-content;
  border-radius: 12px;
  background: #f0f3f9;
}

.chat__typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9aa3b5;
  animation: typing 1.2s infinite;
}

.chat__typing span:nth-child(2) { animation-delay: 0.15s; }
.chat__typing span:nth-child(3) { animation-delay: 0.3s; }

.v-robot-mini {
  position: absolute;
  right: -10px;
  bottom: -20px;
  width: 42%;
}

/* ---------- 7. Awards & stats ---------- */
.awards {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  height: 503px; /* fixed card height from the design */
  padding: 24px 28px 24px 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: url(/images/awards/awards-bg.webp) center/cover, var(--card-grad);
  overflow: hidden;
}

.awards__intro h2 {
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.25rem);
}

.awards__intro > p {
  margin: 14px 0 22px;
  max-width: 470px;
  color: var(--muted);
  font-size: 1.05rem;
}

.rating {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  font-size: 0.9rem;
  color: var(--muted);
}

.rating img {
  width: 96px;
}

.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 4px;
  color: #f5a524;
}

.badge-swiper {
  display: flex;
  align-items: center;
  width: 620px;
  max-width: 100%;
  height: 155px;
  margin: 0 !important;
  padding-bottom: 0 !important;
}

.badge-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 140px;
}

/* continuous glide: constant speed, no easing */
.badge-swiper .swiper-wrapper {
  align-items: center;
  transition-timing-function: linear !important;
}

.badge-swiper .swiper-pagination {
  display: none;
}

.badge-swiper img {
  width: 140px;
  height: 140px;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto;
  transition: transform 0.4s var(--ease);
}

.badge-swiper img:hover {
  transform: scale(1.06) rotate(-3deg);
}

/* Two columns of badges at their natural proportions (wide: Clutch, GoodFirm,
   Google; narrow: FindBestFirms, Upwork, AppFirmsReview, IoT), as in the design */
.awards__grid {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.awards__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 152px;
}

.awards__col--wide {
  width: 297px;
}

.award-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #1b1e26;
  overflow: hidden;
  transition:
    transform 0.4s var(--ease),
    border-color 0.4s,
    box-shadow 0.4s;
}

.award-card img {
  width: 100%;
}

.award-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.45);
}

.stats {
  padding: 40px 32px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: url(/images/stats/stats-bg.webp) center/cover, linear-gradient(180deg, #1e2533, #141922);
  overflow: hidden;
}

.stats .section-head {
  margin-bottom: 28px;
}

.stats__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stats__list li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.stats__list li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  height: 56%;
  width: 2px;
  background: linear-gradient(180deg, #fff 0 4px, rgba(255, 255, 255, 0.4) 4px calc(100% - 4px), #fff calc(100% - 4px));
  border-radius: 2px;
}

.stats__list img {
  width: 48px;
  transition: transform 0.4s var(--ease);
}

.stats__list li:hover img {
  transform: translateY(-4px) scale(1.08);
}

.stats__list strong {
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.stats__list span:last-child {
  color: var(--muted);
}

/* ---------- 8. Sliders (phones, case study) ---------- */
.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  transition:
    width 0.3s var(--ease),
    background-color 0.3s;
}

.swiper-pagination-bullet-active {
  width: 24px;
  border-radius: 4px;
  background: #fff;
}

.phones-swiper {
  padding-bottom: 44px !important;
}

.phone-card {
  text-align: center;
}

.phone-card img {
  width: 100%;
  max-width: 200px;
  margin: 0 auto;
  border-radius: 24px;
  transition: transform 0.5s var(--ease);
}

.phone-card:hover img {
  transform: translateY(-8px);
}

.phone-card figcaption {
  margin-top: 14px;
  font-size: 0.95rem;
  font-weight: 500;
}

/* the slider peeks past the container, so the section clips it */
.case {
  overflow: hidden;
}

.case-swiper {
  overflow: visible !important;
  padding-bottom: 44px !important;
  /* peek only to the right, like the design */
  clip-path: inset(-30px -100vw -30px 0);
}

.case-swiper .swiper-slide {
  height: auto;
  opacity: 0.45;
  transition: opacity 0.5s;
}

.case-swiper .swiper-slide-active {
  opacity: 1;
}

.case-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 36px;
  height: 100%;
  padding: 36px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: url(/images/case-study/case-study-bg.webp) center/cover, var(--card-grad);
}

.case-card__brand {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 22px;
}

.case-card__brand img {
  width: 54px;
  border-radius: 10px;
}

.case-card__brand h3 {
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem);
  letter-spacing: 0.02em;
}

.case-card__body > p {
  color: var(--muted);
  line-height: 1.7;
}

.case-card__label {
  display: block;
  margin: 24px 0 14px;
  color: var(--muted);
}

.case-card__tech {
  display: flex;
  gap: 18px;
}

.case-card__tech li {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 13px;
  border-radius: 14px;
  background: linear-gradient(145deg, #2c313c, #1a1d24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 8px 18px rgba(0, 0, 0, 0.45);
  transition: transform 0.35s var(--ease);
}

.case-card__tech li:hover {
  transform: translateY(-4px) rotate(-4deg);
}

.case-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 30px;
}

.store-link {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  transition: transform 0.3s var(--ease);
}

.store-link img {
  width: 28px;
}

.store-link--apple {
  background: #1aa4f5;
}

.store-link--apple img {
  width: 26px;
}

.store-link:hover {
  transform: translateY(-3px) scale(1.06);
}

.case-card__media {
  overflow: hidden;
  border-radius: 18px;
}

.case-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.case-card:hover .case-card__media img {
  transform: scale(1.05);
}

/* ---------- 9. Tech grid ---------- */
.tech__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 32px;
  max-width: 1235px; /* 7 x 149px cards + gaps */
  margin: 0 auto;
}

.tech__col {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
  align-content: start;
}

.tech__col:nth-child(odd) {
  padding-top: 72px;
}

.tech__col:nth-child(4) {
  padding-top: 0;
}

.tech-card {
  display: grid;
  place-items: center;
  aspect-ratio: 149 / 150;
  padding: 17%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  background: linear-gradient(145deg, #262a33, #15171c);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 24px rgba(0, 0, 0, 0.45);
}

/* reveal uses `transform`; hover uses `translate`/`scale` so they don't fight */
.tech-card,
.js .tech-card[data-reveal] {
  transition:
    opacity 0.8s var(--ease) var(--d, 0s),
    transform 0.9s var(--ease) var(--d, 0s),
    translate 0.4s var(--ease),
    scale 0.4s var(--ease),
    border-color 0.4s,
    box-shadow 0.4s;
}

/* logo sits inside the card's padding without ever stretching the card */
.tech-card {
  position: relative;
}

.tech-card img {
  position: absolute;
  inset: 17%;
  width: 66%;
  height: 66%;
  object-fit: contain;
}

.tech-card:hover {
  translate: 0 -6px;
  scale: 1.04;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 18px 34px rgba(0, 0, 0, 0.55),
    0 0 30px rgba(11, 108, 245, 0.18);
}

/* ---------- 10. Testimonials ---------- */
.testimonials__wrap {
  position: relative;
}

.testimonial-swiper {
  padding: 0 0 8px !important;
}

.testimonial-swiper .swiper-slide {
  width: min(786px, 86vw);
  opacity: 0.4;
  transition: opacity 0.5s;
}

.testimonial-swiper .swiper-slide-active {
  opacity: 1;
  transform: none;
}

.t-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  height: 490px; /* every card 786 x 490 */
  border-radius: 14px;
  background: linear-gradient(160deg, #232c3d, #1a2130);
  overflow: hidden;
}

.t-card__body {
  display: flex;
  flex-direction: column;
  padding: 32px 30px 40px 36px;
}

/* photo column: soft fade into the card and a play button */
.t-card__media {
  position: relative;
  min-width: 0;
}

/* fade the photo itself so the card colour shows through: no seam */
.t-card__photo {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
}

.t-card__play {
  position: absolute;
  right: 48px;
  bottom: 26px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #1c2433;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s var(--ease);
}

.t-card__play:hover {
  transform: scale(1.1);
}

.t-card__logo {
  width: 72px;
  border-radius: 14px;
}

.t-card blockquote {
  margin: 28px 0 26px; /* quote follows the logo directly, name right after */
  font-size: 1.05rem;
  line-height: 1.65;
  color: #e9ecf1;
}

.t-card figcaption {
  margin-top: 0;
}

.t-card figcaption strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 500;
}

.t-card figcaption span {
  color: var(--muted);
  font-size: 0.9rem;
}

.t-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 100% 20%;
}

.testimonial-prev,
.testimonial-next {
  position: absolute;
  top: 50%;
  z-index: 5;
  translate: 0 -50%;
}

.testimonial-prev {
  left: calc(50% - min(393px, 43vw) - 82px); /* over the previous card */
}

.testimonial-next {
  right: calc(50% - min(393px, 43vw) - 82px); /* over the next card */
}

/* ---------- 11. FAQ ---------- */
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.faq__list {
  display: grid;
  gap: 18px;
}

.faq-item,
.js .faq-item[data-reveal] {
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: #232b3b;
  transition:
    opacity 0.8s var(--ease) var(--d, 0s),
    transform 0.9s var(--ease) var(--d, 0s),
    border-color 0.3s,
    background-color 0.3s;
}

.faq-item:hover,
.faq-item.is-open {
  border-color: var(--border-strong);
}

.faq-item h3 {
  font-size: inherit;
}

.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 22px 24px;
  border: 0;
  background: none;
  font-size: 1.02rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.faq-item__icon {
  position: relative;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.4s var(--ease);
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 2px;
  border-radius: 2px;
  background: #1c2433;
  translate: -50% -50%;
  transition: rotate 0.4s var(--ease);
}

.faq-item__icon::after {
  rotate: 90deg;
}

.faq-item.is-open .faq-item__icon {
  transform: rotate(180deg);
}

.faq-item.is-open .faq-item__icon::after {
  rotate: 0deg;
}

.faq-item__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}

.faq-item.is-open .faq-item__a {
  grid-template-rows: 1fr;
}

.faq-item__a > div {
  min-height: 0;
  overflow: hidden;
}

.faq-item__a p {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq__mockups {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  height: 640px;
  overflow: hidden;
  mask-image: linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent);
}

.mock-col__track {
  display: grid;
  gap: 14px;
  animation: scroll-up 28s linear infinite;
}

.mock-col--down .mock-col__track {
  animation-direction: reverse;
  animation-duration: 32s;
}

.faq__mockups:hover .mock-col__track {
  animation-play-state: paused;
}

.mock-col img {
  width: 100%;
  border-radius: 18px;
}

/* ---------- 12. Industry we serve ---------- */
.serve {
  position: relative;
  padding: 64px 32px 72px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  /* network background (4 7.png), dimmed like the design */
  background:
    linear-gradient(180deg, rgba(30, 38, 54, 0.74), rgba(13, 17, 26, 0.84)),
    url(/images/backgrounds/industries-bg.webp) center/cover;
  overflow: hidden;
}

.serve__title {
  font-size: 1.15rem !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.serve .section-head {
  margin-bottom: 36px;
}

.serve__dots {
  position: absolute;
  top: 90px;
  left: 16%;
  width: 90px;
  height: 64px;
  background-image: radial-gradient(circle, rgba(255, 196, 0, 0.8) 1.4px, transparent 1.6px);
  background-size: 12px 12px;
  opacity: 0.7;
}

.serve__grid {
  display: flex;
  justify-content: center;
  gap: 22px;
}

.serve__col {
  display: grid;
  gap: 16px;
  align-content: start;
}

.serve__col:nth-child(odd) {
  padding-top: 50px;
}

.serve-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 92px;
  height: 100px;
  padding: 8px;
  border-radius: 6px;
  background: #fff;
  color: #2c2f36;
  font-size: 0.75rem;
  text-align: center;
  line-height: 1.2;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s;
}

.serve-card img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  transition: transform 0.4s var(--ease);
}

.serve-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.45);
}

.serve-card:hover img {
  transform: scale(1.12);
}

/* ---------- 13. Offerings & partner ---------- */
.offerings {
  overflow: hidden;
}

.offerings__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.offerings__head h2 {
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
}

.offerings__nav {
  display: flex;
  gap: 14px;
}

.offerings-swiper {
  overflow: visible !important;
  padding-bottom: 40px !important;
  /* next banner peeks in but is cut at the container's right edge */
  clip-path: inset(-30px 0 -30px 0);
}

.offerings-swiper .swiper-slide {
  height: auto;
}

.offer-card {
  height: 100%;
  padding: 36px 40px;
  border: 1px solid var(--border-strong);
  border-radius: 28px;
  background: linear-gradient(180deg, #232a37, #11141a);
}

.offer-card h3 {
  font-size: clamp(1.25rem, 1rem + 0.7vw, 1.6rem);
}

.offer-card > p {
  margin: 10px 0 24px;
  max-width: 860px;
  color: var(--muted);
}

.offer-card__agile {
  width: min(680px, 100%);
}

.clocks {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.clocks li {
  display: grid;
  justify-items: center;
  gap: 4px;
}

.clocks canvas {
  width: 110px;
  height: 110px;
  margin-bottom: 8px;
}

.clocks strong {
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.clocks time {
  font-size: 0.85rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px;
  counter-reset: step;
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  aspect-ratio: 1;
  max-width: 190px;
  padding: 18px;
  border: 8px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: #fff;
  color: #111;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.3;
  transition: transform 0.4s var(--ease);
}

.step:hover {
  transform: translateY(-6px);
}

.step strong {
  font-size: 0.9rem;
}

.step span:last-child {
  color: #555;
}

.step--blue {
  border-color: rgba(11, 108, 245, 0.35);
  background: var(--primary);
  color: #fff;
}

.step--blue span:last-child {
  color: rgba(255, 255, 255, 0.85);
}

.step__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(11, 108, 245, 0.12);
  color: var(--primary);
}

/* Staff Augmentation banner: circles as in the design */
.offer-card--banner,
.offer-card--agile {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  /* dark navy gradient (Gradient.png) with the phones barely showing */
  border-color: transparent !important;
  background:
    linear-gradient(180deg, #282f3e 0%, #1f2530 50%, #12151c 100%), /* colours sampled from the design */
    #1b212c url(/images/backgrounds/offer-banner-gradient.webp) center/100% 100% no-repeat;
}

/* service-bg phones show faintly through, as in the design */
.offer-card--banner::before,
.offer-card--agile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url(/images/backgrounds/offer-banner-bg.webp) center/cover;
  opacity: 0.03; /* phones at 3% */
  pointer-events: none;
}

.offer-card--banner h3 {
  font-size: clamp(1.4rem, 1rem + 1vw, 2rem);
  font-weight: 700;
}

.offer-card--banner > p {
  max-width: none;
  color: #e6e9ee;
  font-size: clamp(0.95rem, 0.85rem + 0.4vw, 1.2rem);
  line-height: 1.45;
}

.offer-card--banner .step {
  border: 0;
  padding: 26px;
  font-weight: 600;
}

.offer-card--banner .step span:last-child {
  font-weight: 500;
}

.offer-card--banner .step__icon {
  width: auto;
  height: auto;
  margin-bottom: 6px;
  background: none;
  color: inherit;
  font-size: 1.5rem;
}

.step--dark {
  background: #000;
  color: #fff;
}

.step--dark span:last-child {
  color: #fff;
}

.step--light {
  background: #fff;
  color: #111;
}

.step--grey {
  background: #d9d9d9;
  color: #111;
}

.step--light span:last-child,
.step--grey span:last-child {
  color: #222;
}

.offer-card--banner .step:not(:last-child)::after {
  content: "\f178";
  font-size: 1.9rem;
  color: #fff;
}

.step--blue .step__icon {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.step:not(:last-child)::after {
  content: "\f061";
  position: absolute;
  right: -30px;
  top: 50%;
  translate: 0 -50%;
  font: var(--fa-font-solid);
  color: rgba(255, 255, 255, 0.7);
}

.partner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 550px;
  padding: 56px 64px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
}

/* taller than the banner so the parallax shift never exposes an edge */
.partner__bg {
  position: absolute;
  top: -12%;
  left: 0;
  z-index: -2;
  width: 100%;
  height: 124%;
  object-fit: cover;
  object-position: 70% center;
  will-change: transform;
}

.partner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(30, 38, 52, 0.92) 0%, rgba(30, 38, 52, 0.7) 45%, rgba(30, 38, 52, 0.35) 100%);
}

.partner h2 {
  font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem);
  color: #dfe3ea;
}

.partner__lines {
  margin: 16px 0 26px;
}

.partner__lines li {
  font-size: clamp(1.05rem, 0.9rem + 0.7vw, 1.6rem);
  line-height: 1.7;
  color: #d6dae2;
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateX(-24px);
  transition:
    opacity 0.6s,
    transform 0.8s var(--ease);
  transition-delay: calc(var(--i) * 0.15s + 0.2s);
}

.partner.is-visible .partner__lines li {
  opacity: 1;
  transform: none;
}

/* ---------- 14. Contact & forms ---------- */
.contact {
  overflow: hidden;
}

.contact__grid {
  position: relative; /* offset parent for the map maths */
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 60px;
}

.contact__info {
  position: relative;
  isolation: isolate;
}

.contact__mapbox {
  position: absolute;
  top: 50%;
  left: -6%;
  z-index: -1;
  width: 150%;
  translate: 0 -50%;
  pointer-events: none;
  /* JS slides the map so the selected office sits between text and form */
  transform: translateX(var(--map-shift, 0px));
  transition: transform 0.8s ease-in-out;
}

.contact__map {
  width: 100%;
  opacity: 0.55;
  filter: brightness(2.2) saturate(1.4) hue-rotate(10deg);
}


.contact h2 {
  max-width: 480px;
  font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem);
  line-height: 1.3;
}

.contact__lead {
  margin: 22px 0 10px;
  font-size: 1.2rem;
  color: var(--muted);
}

.contact__talk {
  font-size: clamp(3rem, 2rem + 4vw, 4.6rem);
  font-weight: 700;
  line-height: 1.1;
  background: linear-gradient(180deg, #fff 10%, #9fd3f5 55%, #4f8fbf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}



.contact__form-card {
  position: relative;
  padding: 36px 30px 30px;
  /* see-through glass card, values from apptunix.com */
  border: 1px solid #006eef;
  border-radius: 20px;
  background:
    radial-gradient(ellipse 70% 75% at 62% 52%, rgba(0, 105, 245, 0.7), rgba(0, 70, 190, 0.32) 50%, transparent 85%),
    rgba(0, 10, 22, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
}

.contact__form-card h3 {
  margin-bottom: 18px;
  font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.75rem);
}

.form {
  display: grid;
  gap: 6px;
}

.form__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}

.field {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-top: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.75);
  transition: border-color 0.3s;
}

.field::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, #39c0ff, var(--primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.field:focus-within::after {
  transform: scaleX(1);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 8px 0 9px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  resize: vertical;
}

.field textarea {
  min-height: 64px;
}

.field select {
  appearance: none;
  cursor: pointer;
}

.field select option {
  color: #111;
}

.field--select::before {
  content: "";
  position: absolute;
  right: 6px;
  bottom: 16px;
  border: 6px solid transparent;
  border-top-color: #fff;
  pointer-events: none;
}

.field label {
  position: absolute;
  left: 0;
  top: 30px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  pointer-events: none;
  transform-origin: left top;
  transition:
    transform 0.3s var(--ease),
    color 0.3s;
}

.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field select:focus + label,
.field select:valid + label {
  transform: translateY(-24px) scale(0.85);
  color: #9ad8ff;
}

.field--phone .field__prefix {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 6px;
  margin-right: 10px;
  padding-bottom: 9px;
  font-size: 0.9rem;
}

.field--phone .field__prefix img {
  width: 18px;
}

.field--phone label {
  left: 72px;
}

.field.is-invalid {
  border-color: #ff6b6b;
}

.field.is-invalid label {
  color: #ff9b9b;
}

.form .cta {
  justify-self: start;
  margin-top: 24px;
  min-width: 140px;
}

.form__status {
  min-height: 1.4em;
  font-size: 0.9rem;
}

.form__status.is-success {
  color: #4ade80;
}

.form__status.is-error {
  color: #ff9b9b;
}

.form__note {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--muted);
}

.form__note a {
  font-weight: 600;
  color: #fff;
}

.budget {
  margin: 14px 0 4px;
  padding: 0;
  border: 0;
}

.budget legend {
  margin-bottom: 10px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
}

.budget label {
  display: inline-block;
  margin: 0 6px 8px 0;
  cursor: pointer;
}

.budget input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.budget span {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 0.82rem;
  transition:
    background-color 0.3s,
    border-color 0.3s;
}

.budget input:checked + span {
  background: var(--primary);
  border-color: var(--primary);
}

.budget input:focus-visible + span {
  outline: 2px solid var(--primary-hover);
  outline-offset: 2px;
}

/* map location dots: the active office rises into a light beam (as on apptunix.com) */
.map-dot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 8px;
  height: 8px;
  border-radius: 20px;
  background: #006eef;
  box-shadow: 0 0 8px rgba(0, 110, 239, 0.8);
  transform: translate(-50%, -100%);
  transition: height 0.4s ease-in-out, background 0.3s, box-shadow 0.3s;
}

.map-dot.is-active {
  height: 80px;
  background: linear-gradient(0deg, #318af3 0, #fff 90%);
  box-shadow: 0 0 18px rgba(90, 164, 255, 0.9);
  transition-delay: 0.15s;
}

.office-card {
  cursor: pointer;
}

.office-card {
  transition:
    transform 0.4s var(--ease),
    border-color 0.4s,
    background 0.4s,
    color 0.4s;
}

/* hovered office: blue-to-white fill with dark text, only while the pointer
   is over the card (the map beam stays on the last one hovered) */
.office-card:hover,
.office-card:focus-visible {
  border-color: transparent;
  background: linear-gradient(0deg, #318af3 0, #fff 90%);
  color: #000;
  outline: none;
}

.office-card:hover p,
.office-card:hover a,
.office-card:focus-visible p,
.office-card:focus-visible a {
  color: #111;
}

.office-card:hover img,
.office-card:focus-visible img {
  filter: brightness(0);
}

/* office cards: all four locations side by side (as on apptunix.com) */
.offices {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.office-card {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(28, 40, 66, 0.55), rgba(10, 14, 24, 0.6));
  transition:
    transform 0.4s var(--ease),
    border-color 0.4s;
}

.office-card:hover {
  transform: translateY(-4px);
  border-color: rgba(90, 164, 255, 0.5);
}

.office-card img {
  flex: none;
  width: 28px;
  height: 75px;
  object-fit: contain;
}

.office-card h3 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.office-card p {
  margin: 6px 0 8px;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
}

.office-card a {
  font-size: 0.8rem;
  font-weight: 600;
}

.office-card a:hover {
  color: var(--primary-hover);
}

/* ---------- 15. Footer & modals ---------- */
.site-footer {
  position: relative;
  padding: 64px 0 28px;
  overflow: hidden;
  isolation: isolate;
}

/* perspective grid floor */
.site-footer::before {
  content: "";
  position: absolute;
  left: -50%;
  right: -50%;
  bottom: -10%;
  z-index: -1;
  height: 70%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.24) 1px, transparent 1px);
  background-size: 56px 56px;
  transform: perspective(500px) rotateX(62deg);
  transform-origin: bottom;
  mask-image: linear-gradient(0deg, #000 30%, transparent 95%);
  -webkit-mask-image: linear-gradient(0deg, #000 30%, transparent 95%);
}

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

.soon-badge--inline {
  display: inline-block;
  margin: 0 0 0 6px;
  vertical-align: 1px;
}

.footer__brand > img:first-child {
  width: 140px;
}

.footer__brand p {
  margin: 10px 0 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer__brand .social-row {
  margin: 22px 0;
}

.footer__sales {
  font-size: 1rem;
}

.footer__sales a {
  color: var(--muted);
  font-size: 0.88rem;
}

.footer__sales a:hover {
  color: #fff;
}

.footer__dmca {
  width: 84px;
  margin-top: 12px;
  padding: 4px 6px;
  border-radius: 3px;
  background: #fff;
}

.footer__col h3 {
  margin-bottom: 16px;
  font-size: 1.15rem;
  font-weight: 500;
}

.footer__col li + li {
  margin-top: 10px;
}

.footer__col a {
  position: relative;
  color: var(--muted);
  font-size: 0.9rem;
  transition:
    color 0.3s,
    padding-left 0.3s var(--ease);
}

.footer__col a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1px;
  background: var(--primary-hover);
  transition: width 0.3s var(--ease);
}

.footer__col a:hover {
  color: #fff;
  padding-left: 16px;
}

.footer__col a:hover::before {
  width: 10px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  color: var(--muted);
}

.footer__bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer__bottom a:hover {
  color: #fff;
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1020;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 10px 24px rgba(11, 108, 245, 0.45);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition:
    opacity 0.3s,
    transform 0.4s var(--ease),
    visibility 0.3s;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  background: var(--primary-hover);
}

/* Bootstrap modal overrides */
.modal-content {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #0c0f16;
  color: #fff;
  overflow: hidden;
}

.modal-backdrop.show {
  opacity: 0.75;
}

.contact-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
}

.contact-modal__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  min-height: 560px;
}

.contact-modal__left {
  display: flex;
  flex-direction: column;
  padding: 48px 40px;
  background:
    linear-gradient(180deg, rgba(8, 12, 22, 0.55), rgba(8, 12, 22, 0.9)),
    url(/images/backgrounds/contact-modal.webp) center/cover;
}

.contact-modal__left h2 {
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem);
}

.contact-modal__left > p {
  margin: 12px 0 28px;
  color: var(--muted);
}

.modal-swiper {
  width: 100%;
  margin-top: auto;
  padding-bottom: 30px !important;
}

.quote {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.quote > i {
  font-size: 1.6rem;
  color: var(--primary-hover);
}

.quote blockquote {
  margin: 10px 0 16px;
  font-size: 0.92rem;
  line-height: 1.65;
  color: #dfe3ea;
}

.quote figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quote__avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  font-weight: 700;
}

.quote small {
  display: block;
  color: var(--muted);
}

.contact-modal__right {
  padding: 56px 40px 36px;
  background: radial-gradient(circle at 70% 30%, rgba(18, 40, 220, 0.35), transparent 60%);
}

/* ---------- Lead popup: modern glass design ---------- */
.lead-popup.modal {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lead-popup .modal-dialog {
  max-width: 920px;
  transform: translateY(24px) scale(0.96);
  transition: transform 0.5s var(--ease) !important;
}

.lead-popup.show .modal-dialog {
  transform: none;
}

/* glass card with a glowing gradient border */
.lead-popup .modal-content {
  position: relative;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 28px;
  background:
    linear-gradient(160deg, rgba(14, 20, 36, 0.96), rgba(8, 11, 20, 0.97)) padding-box,
    linear-gradient(135deg, rgba(64, 140, 255, 0.9), rgba(140, 90, 255, 0.5) 45%, rgba(255, 255, 255, 0.08) 75%) border-box;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.7),
    0 0 60px rgba(11, 108, 245, 0.18);
  overflow: hidden;
  isolation: isolate;
}

.lead-popup__orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}

.lead-popup__orb--1 {
  top: -120px;
  left: -80px;
  width: 340px;
  height: 340px;
  background: rgba(11, 108, 245, 0.45);
}

.lead-popup__orb--2 {
  right: -100px;
  bottom: -140px;
  width: 320px;
  height: 320px;
  background: rgba(140, 80, 255, 0.3);
}

.lead-popup__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s;
}

.lead-popup__close:hover {
  transform: rotate(90deg);
  background: rgba(255, 255, 255, 0.14);
}

.lead-popup__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 0;
  padding: 0;
}

.lead-popup__left {
  display: flex;
  flex-direction: column;
  padding: 48px 40px 40px 44px;
}

.lead-popup__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 6px 14px 6px 8px;
  border: 1px solid rgba(90, 164, 255, 0.35);
  border-radius: 999px;
  background: rgba(11, 108, 245, 0.12);
  color: #9ccaff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lead-popup__wave {
  display: inline-block;
  font-size: 1.1rem;
  animation: wave 2s ease-in-out infinite;
  transform-origin: 70% 70%;
}

.lead-popup h2 {
  margin: 18px 0 10px;
  font-size: clamp(1.9rem, 1.4rem + 1.5vw, 2.7rem);
  font-weight: 700;
  line-height: 1.12;
}

.lead-popup h2 span {
  background: linear-gradient(90deg, #4d9bff, #9b7bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead-popup__left > p {
  color: var(--muted);
}

.lead-popup__perks {
  display: grid;
  gap: 10px;
  margin: 22px 0 24px;
}

.lead-popup__perks li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  font-weight: 500;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.lead-popup__perks li:hover {
  border-color: rgba(90, 164, 255, 0.4);
  transform: translateX(4px);
}

.lead-popup__perk-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0b6cf5, #6a5cff);
  font-size: 0.85rem;
}

.lead-popup__trust {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--muted-2);
  font-size: 0.82rem;
}

.lead-popup__trust i {
  color: #4ade80;
}

/* form side */
.lead-popup__form {
  gap: 14px !important;
  align-content: center;
  padding: 48px 40px 36px;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.025);
}

.lead-popup__form .field {
  padding: 22px 16px 8px 46px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

.lead-popup__form .field::after {
  display: none;
}

.lead-popup__form .field:focus-within {
  border-color: #3d8bff;
  background: rgba(11, 108, 245, 0.08);
  box-shadow: 0 0 0 4px rgba(11, 108, 245, 0.18);
}

.lead-popup__form .field.is-invalid {
  border-color: #ff6b6b;
}

.field__icon {
  position: absolute;
  left: 17px;
  top: 22px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.9rem;
  transition: color 0.3s;
}

.lead-popup__form .field:focus-within .field__icon {
  color: #6aa8ff;
}

.lead-popup__form .field label {
  left: 46px;
  top: 19px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
}

.lead-popup__form .field input:focus + label,
.lead-popup__form .field input:not(:placeholder-shown) + label,
.lead-popup__form .field textarea:focus + label,
.lead-popup__form .field textarea:not(:placeholder-shown) + label {
  transform: translateY(-11px) scale(0.78);
  color: #8fbfff;
}

.lead-popup__form .field input,
.lead-popup__form .field textarea {
  padding: 4px 0 2px;
}

.lead-popup__form textarea {
  min-height: 72px;
  resize: none;
}

.lead-popup__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 6px;
  padding: 15px 20px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(90deg, #0b6cf5, #5b5cf6);
  box-shadow: 0 12px 30px rgba(11, 108, 245, 0.4);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.lead-popup__submit i {
  transition: transform 0.3s var(--ease);
}

.lead-popup__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(11, 108, 245, 0.55);
}

.lead-popup__submit:hover i {
  transform: translateX(4px);
}

.lead-popup__submit:disabled {
  opacity: 0.7;
}

.lead-popup .form__status {
  text-align: center;
}

/* ---------- 16. Motion & responsive ---------- */

/* Scroll reveal: only hidden once JS confirms it can reveal them */
.js [data-reveal] {
  opacity: 0;
  transition:
    opacity 0.8s var(--ease),
    transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}

.js [data-reveal="up"] { transform: translateY(40px); }
.js [data-reveal="left"] { transform: translateX(50px); }
.js [data-reveal="right"] { transform: translateX(-50px); }
.js [data-reveal="zoom"] { transform: scale(0.94); }

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.anim-in {
  animation: rise 0.9s var(--ease) both;
  animation-delay: var(--d, 0s);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes caret {
  50% { opacity: 0; }
}

@keyframes marquee {
  to { transform: translateX(calc(-50% - 32px)); }
}

@keyframes spin {
  to { transform: translateY(-50%) rotate(360deg); }
}

@keyframes progress {
  to { transform: scaleX(1); }
}

@keyframes scroll-up {
  to { transform: translateY(calc(-50% - 7px)); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(90, 164, 255, 0.7); }
  100% { box-shadow: 0 0 0 14px rgba(90, 164, 255, 0); }
}

@keyframes pop-in {
  from { opacity: 0; transform: translateY(10px) scale(0.95); }
  to { opacity: 1; transform: none; }
}

@keyframes slide-in-right {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: none; }
}

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

@keyframes wave {
  0%, 60%, 100% { transform: rotate(0); }
  10%, 30% { transform: rotate(16deg); }
  20%, 40% { transform: rotate(-8deg); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js [data-reveal],
  .partner__lines li {
    opacity: 1;
    transform: none;
  }
}

/* Space between sections (heights stay exact; the gap is added outside them) */
main > section + section:not(.trusted) {
  margin-top: 32px;
}

@media (min-width: 1200px) {
  main > section + section:not(.trusted) {
    margin-top: 48px;
  }

  .site-footer {
    margin-top: 48px;
  }
}

/* Desktop: exact section heights from the design */
@media (min-width: 1200px) {
  .sec-awards,
  .sec-stats,
  .case,
  .testimonials,
  .faq,
  .sec-serve,
  .offerings,
  .sec-partner {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 0;
    padding-bottom: 0;
  }

  .sec-awards { height: 535.9px; }

  .sec-stats { height: 317px; }
  .sec-stats .stats { padding: 30px 32px; }
  .sec-stats .section-head { margin-bottom: 18px; }

  .case { height: 761px; }

  .testimonials { height: 647.76px; }
  .testimonials .section-head { margin-bottom: 16px; }
  .testimonials .eyebrow { margin-bottom: 8px; }

  .faq { height: 737px; }
  .faq .section-head { margin-bottom: 20px; }
  .faq__mockups { height: 600px; }

  .sec-serve { height: 584px; }
  .sec-serve .serve { padding: 44px 32px 52px; }

  .offerings { height: 589px; }
  .offerings__head { margin-bottom: 16px; }
  .offerings-swiper { padding-bottom: 30px !important; }

  /* each slide 1071 x 401 */
  .offerings-swiper .swiper-slide {
    width: 1071px;
  }

  .offer-card {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: 401px;
    padding: 30px 40px;
  }

  .offer-card > p { margin-bottom: 20px; }

  /* content sits centred in the space under the heading */
  .offer-card > :last-child {
    margin-top: auto;
    margin-bottom: auto;
  }

  /* world clocks 150 x 150, spread across the banner */
  .clocks {
    justify-content: space-between;
    gap: 16px;
    padding: 0 6px;
  }

  .clocks li {
    gap: 6px;
  }

  .clocks strong {
    font-size: 1.2rem;
    letter-spacing: 0.02em;
  }

  .clocks time {
    font-size: 0.95rem;
    font-weight: 600;
    color: #cfd4dc;
  }

  .clocks canvas {
    width: 150px;
    height: 150px;
  }

  /* step circles 200 x 200 */
  .steps {
    grid-template-columns: repeat(4, 200px);
    justify-content: space-between;
    gap: 40px;
    max-width: 920px;
  }

  .step {
    width: 200px;
    height: 200px;
    max-width: none;
    padding: 22px;
    font-size: 0.8rem;
  }

  .steps {
    gap: 60px;
    max-width: 980px;
  }

  .step:not(:last-child)::after {
    right: -47px;
  }

  /* agile banner as in the design: compact heading, large left-aligned diagram */
  .offer-card--agile {
    padding: 36px 56px 30px;
  }

  .offer-card--agile h3 {
    font-size: 1.35rem;
    font-weight: 700;
  }

  .offer-card--agile > p {
    max-width: none;
    margin: 12px 0 0;
    font-size: 0.92rem;
    color: #e6e9ee;
  }

  .offer-card__agile {
    align-self: flex-start;
    width: 620px;
    max-width: 100%;
    height: auto;
  }

  .sec-partner { height: 556px; }
  .partner { min-height: 540px; }
}

/* Desktop: technology cards at the design's exact size */
@media (min-width: 1200px) {
  .tech__grid {
    grid-template-columns: repeat(7, 149px);
    justify-content: center;
  }

  .tech-card {
    width: 149px;
    height: 150px;
  }

  /* section is exactly 729px tall */
  .tech {
    box-sizing: border-box;
    height: 729px;
    padding: 16px 0;
  }

  .tech .section-head {
    margin-bottom: 24px;
  }

  .tech__col {
    gap: 22px;
  }

  .tech__col:nth-child(odd) {
    padding-top: 60px;
  }
}

/* Desktop: service card at the design's exact size (610 x 476) */
@media (min-width: 1200px) {
  /* card + number take their fixed sizes; the button arc gets the rest */
  .svc {
    grid-template-columns: minmax(0, 1fr) auto;
    padding-right: 0;
  }

  .svc__stage {
    grid-template-columns: 170px 610px;
  }

  .svc__card {
    justify-self: start;
    grid-template-rows: minmax(0, 1fr);
    width: 610px;
    height: 476px;
  }

  /* each number: 251 x 590 box, tucked behind the card's left edge */
  .svc__numbers {
    align-self: center;
    width: 251px;
    height: 590px;
    margin: 0 -40px 0 0;
  }

  .svc__panel {
    min-height: 0;
  }

  /* image area takes exactly the space left under the title + text */
  .svc__visual {
    flex: 1 1 0;
    height: auto;
    min-height: 0;
  }
}

/* ≤ 1199px: collapse desktop navigation */
@media (max-width: 1199.98px) {
  .main-nav,
  .header-actions .cta--ghost {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .menu-toggle {
    display: flex;
  }

  .svc {
    grid-template-columns: minmax(0, 370px) minmax(0, 1fr);
    padding-right: 0;
  }

  .svc__stage {
    grid-template-columns: minmax(0, 130px) minmax(0, 1fr);
  }

  .svc__numbers {
    width: 165px;
    margin-right: -36px;
  }

  .svc__nav {
    gap: 24px;
  }

  .tech__grid {
    gap: 14px;
  }

  .tech__col {
    gap: 14px;
  }
}

/* ≤ 991px: tablets */
@media (max-width: 991.98px) {
  .section {
    padding: 72px 0;
  }

  .section--tight {
    padding: 44px 0;
  }

  /* services: chips row above the card */
  .svc {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .svc__nav-wrap {
    padding: 0;
    margin: 0 -12px;
  }

  .svc__rings,
  .svc__path {
    display: none;
  }

  .svc__nav {
    flex-direction: row;
    gap: 10px;
    padding: 6px 12px 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .svc__nav::-webkit-scrollbar {
    display: none;
  }

  .svc__tab {
    flex: none;
    scroll-snap-align: center;
    transform: none !important;
    white-space: nowrap;
  }

  .svc__tab.is-active {
    padding: 9px 22px;
    font-size: 0.88rem;
    background: linear-gradient(180deg, #5a5f6d, #3a3e49);
  }

  .svc__stage {
    grid-template-columns: 90px minmax(0, 1fr);
    min-height: 0;
    padding-top: 12px;
  }

  .svc__numbers {
    justify-self: start;
    align-self: start;
    width: 160px;
    height: 230px;
    margin: 0 0 0 -10px;
  }

  .svc__numbers img {
    object-position: left center;
  }

  .awards {
    grid-template-columns: minmax(0, 1fr);
    height: auto;
    padding: 32px 24px;
  }

  .awards__col {
    flex: 1 1 0;
    width: auto;
  }

  .awards__col--wide {
    flex: 1.95 1 0;
  }

  .stats__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 32px;
  }

  .stats__list li:nth-child(3)::before {
    display: none;
  }

  .case-card {
    grid-template-columns: minmax(0, 1fr);
    padding: 26px;
  }

  .case-card__media {
    order: -1;
    aspect-ratio: 16 / 10;
  }

  .tech__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 560px;
  }

  .tech__col {
    display: contents;
  }

  .tech__col:nth-child(odd) {
    padding-top: 0;
  }

  .faq__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq__mockups {
    height: 420px;
  }

  .serve__grid {
    flex-wrap: wrap;
    gap: 14px;
  }

  .serve__col {
    display: contents;
  }

  .serve__dots {
    display: none;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: center;
  }

  .step:nth-child(2)::after {
    display: none;
  }

  .partner {
    padding: 40px 32px;
  }

  .contact__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }



  .offices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact__mapbox {
    width: 120%;
    left: -10%;
    opacity: 0.6;
  }


  .footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .contact-modal__grid,
  .lead-popup__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .lead-popup__form {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .contact-modal__left {
    padding: 40px 28px 28px;
  }

  .contact-modal__left .modal-swiper {
    display: none;
  }

  .contact-modal__right {
    padding: 8px 28px 32px;
  }
}

/* ≤ 767px: large phones */
@media (max-width: 767.98px) {
  :root {
    --header-h: 70px;
  }

  .header-actions .cta--primary {
    display: none;
  }

  .hero {
    min-height: 560px;
  }

  /* reserve two lines so the typewriter doesn't shift the layout */
  .hero__title {
    min-height: 2.5em;
    align-content: center;
  }

  .tech-tile {
    width: 58px;
    height: 58px;
    border-radius: 14px;
  }

  .tech-tile img {
    width: 46px;
    height: 46px;
  }

  .tile-1 { top: 14%; left: 4%; }
  .tile-2 { top: 13%; right: 4%; }
  .tile-3 { top: auto; bottom: 20%; right: 3%; }
  .tile-4 { top: auto; bottom: 14%; left: 4%; }
  .tile-5 { display: none; }

  .trusted__inner {
    flex-direction: column;
    gap: 16px;
  }

  .marquee {
    width: 100%;
  }

  .marquee__track {
    gap: 40px;
  }

  .marquee img {
    height: 36px;
  }

  .svc__card {
    padding: 22px;
  }

  .svc__visual {
    height: 240px;
  }

  .svc__stage {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .svc__numbers {
    width: 110px;
    height: 160px;
  }

  .iot-stats li {
    min-width: 0;
    padding: 8px 10px;
    font-size: 0.78rem;
  }

  .svc__visual--iot .v-phone {
    left: 24%;
    width: 36%;
  }

  /* stacked on phones: all cards stretch to the tallest one */
  .testimonial-swiper .swiper-slide {
    display: flex;
    height: auto;
  }

  .t-card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 220px 1fr;
    width: 100%;
    height: auto;
  }

  .t-card__media {
    order: -1;
    height: 220px;
  }

  .t-card__photo {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .t-card__play {
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
  }

  .t-card__body {
    padding: 24px;
  }

  .testimonial-prev,
  .testimonial-next {
    top: 110px;
  }

  .testimonial-prev {
    left: 12px;
  }

  .testimonial-next {
    right: 12px;
  }

  .faq__mockups {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    height: 360px;
  }

  .faq__mockups .mock-col:nth-child(4) {
    display: none;
  }

  .offerings__head {
    align-items: center;
  }

  .offer-card {
    padding: 28px 24px;
  }

  .clocks {
    gap: 18px;
    justify-content: center;
  }

  .clocks canvas {
    width: 84px;
    height: 84px;
  }

  .partner {
    min-height: 400px;
  }

  .form__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
}

/* ≤ 575px: small phones */
@media (max-width: 575.98px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .brand img {
    width: 104px;
  }

  .hero__title {
    gap: 0.15em;
  }

  .svc__stage {
    display: block;
  }

  .svc__numbers {
    position: absolute;
    top: -6px;
    right: -4px;
    z-index: 2;
    width: 64px;
    height: 90px;
    margin: 0;
  }

  .svc__numbers img {
    object-position: right top;
  }

  .svc__panel h3 {
    padding-right: 56px;
  }

  .svc__visual {
    height: 220px;
  }

  .v-tool {
    width: 48px;
    height: 48px;
    padding: 9px;
    border-radius: 12px;
  }

  .chat {
    width: 78%;
  }

  .v-robot-mini {
    width: 36%;
  }

  .rating {
    flex-direction: column;
    align-items: flex-start;
  }

  .stats {
    padding: 32px 16px;
  }

  .case-card {
    padding: 20px;
  }

  .case-card__brand {
    gap: 14px;
  }

  .case-card__actions {
    gap: 14px;
  }

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

  .serve {
    padding: 44px 16px 48px;
  }

  .serve-card {
    width: calc(33.333% - 10px);
    min-width: 88px;
  }

  .steps {
    gap: 20px;
  }

  .step {
    border-width: 5px;
    padding: 10px;
    font-size: 0.68rem;
  }

  .step strong {
    font-size: 0.75rem;
  }

  .step span:last-child {
    display: none;
  }

  .step::after {
    display: none;
  }

  .partner {
    padding: 32px 22px;
  }

  .contact__form-card {
    padding: 28px 20px 24px;
  }


  .footer__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .offices {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .lead-popup__left {
    padding: 52px 22px 6px;
  }

  .lead-popup__trust {
    margin-top: 0;
  }

  .lead-popup__form {
    padding: 20px 22px 26px;
  }

  .to-top {
    right: 14px;
    bottom: 14px;
  }
}


/* ===== Angular port additions (not in the original HTML) ===== */
/* Solutions mega-menu entries are links to the real solution pages. */
.mega-list li { padding: 0; }
.mega-list li > a { display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px 8px; color: inherit; border-radius: 8px; }
/* Privacy notice added under the lead forms (consent requirement). */
.form__privacy { margin-top: 10px; font-size: 0.78rem; color: var(--muted-2); }
.form__privacy a { color: var(--muted); text-decoration: underline; }
/* Country-code dropdown in phone fields (app-legacy-phone); the label starts after it, whatever its width. */
.field--phone label { left: calc(var(--prefix-w, 62px) + 10px); }
.lead-popup__form .field--phone { padding-left: 16px; }
.lead-popup__form .field--phone label { left: calc(16px + var(--prefix-w, 62px) + 10px); }
.legacy-phone { position: relative; align-self: flex-end; padding-bottom: 0 !important; margin: 0 10px 0 0 !important; }
.legacy-phone .ss, .legacy-phone .ss__trigger { height: 100%; }
.legacy-phone__error { position: absolute; left: 0; top: calc(100% + 12px); width: max-content; max-width: 320px; color: #ff9b9b; font-size: 0.75rem; line-height: 1.3; white-space: normal; z-index: 1; }
.field--phone:has(.legacy-phone__error) { margin-bottom: 18px; }
/* Square badges (e.g. a round logo saved on a white square) are shown as circles. */
.marquee img.is-round { border-radius: 50%; }
/* Round badge logos (white background): slightly larger and readable in black and white (no brightening, which washed
   them out); full colour and a small lift on hover. */
.marquee img.is-round { height: 64px; filter: grayscale(1) contrast(1.05); opacity: 0.85; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18); transition: filter 0.3s, opacity 0.3s, transform 0.3s, box-shadow 0.3s; }
.marquee img.is-round:hover { filter: none; opacity: 1; transform: scale(1.08); box-shadow: 0 0 0 2px rgba(53, 143, 252, 0.7), 0 6px 18px rgba(53, 143, 252, 0.35); }
/* Exit popup: the close button sits in the corner, clear of the first form field. */
.lead-popup__close { top: 12px; right: 12px; width: 34px; height: 34px; }
@media (min-width: 992px) { .lead-popup__form { padding-top: 64px; } }
/* Office cards: the phone link covers the whole card, so a click or tap anywhere on it starts the call. */
.office-card { position: relative; }
.office-card__call::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
/* The link now spans the card, so its own hover colour would turn the number blue on the blue hover fill. Keep the
   card's text colours instead: as designed when idle, dark like the address while the card is hovered or focused. */
.office-card .office-card__call:hover { color: inherit; }
.office-card:hover .office-card__call, .office-card:focus-visible .office-card__call, .office-card:focus-within .office-card__call { color: #111; }
/* Too few logos to fill the strip: no scrolling or repeats, logos sit next to the label. */
.marquee--static { mask-image: none; -webkit-mask-image: none; }
/* Room around the logos so the hover zoom and glow are not clipped by the strip (it hides overflow for the scroll). */
.marquee:has(img.is-round) { padding: 12px 10px; margin-block: -12px; }
.marquee--static .marquee__track { animation: none; width: auto; flex-wrap: wrap; gap: 40px; }
@media (max-width: 767px) { .marquee img.is-round { height: 52px; } }
/* Testimonial without a photo: initials on a brand gradient instead of a portrait. */
.t-card__initials { display: grid; place-items: center; width: 100%; height: 100%; min-height: 260px; background: radial-gradient(circle at 30% 20%, #2f7cf6, #0b1d4a 70%); color: #fff; font-size: clamp(3rem, 2rem + 4vw, 5.5rem); font-weight: 700; letter-spacing: 0.04em; }
/* Searchable "When do you want to launch" dropdown (app-legacy-select) over the hidden native select. */
.legacy-select__native { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0; pointer-events: none; }
.field--select:has(.legacy-select) > label { display: none; }
.legacy-select { position: relative; flex: 1; min-width: 0; }
.legacy-select .ss__trigger { min-height: 0; padding: 8px 0 9px; border: 0; border-radius: 0; background: transparent; color: #fff; font: inherit; }
.legacy-select .ss__value.is-placeholder { color: rgba(255, 255, 255, 0.75); font-size: 0.88rem; }
.legacy-select .ss__caret { display: none; } /* the original design draws its own triangle (.field--select::before) */
.legacy-select__label { position: absolute; left: 0; top: -16px; color: #9ad8ff; font-size: 0.75rem; pointer-events: none; }
.lead-popup__form .legacy-select .ss__trigger, .contact-modal .legacy-select .ss__trigger { color: #fff; }
/* Contact Us page: same section as the home page, but it is the last thing before the footer. */
.contact--page { padding-bottom: clamp(48px, 6vw, 80px); }
/* It is rendered after <main> there, so it needs the same 1240px content width that main's sections get. */
@media (min-width: 1200px) { .contact--page .container { max-width: 1264px; } }
