/* ══════════════════════════════════════════════════════════
   TOKENS & VARIABLES
══════════════════════════════════════════════════════════ */
:root {
  /* Brand gradients */
  --g1: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
  --g2: linear-gradient(135deg, #06B6D4 0%, #3B82F6 60%, #8B5CF6 100%);
  --g3: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
  --g-text: linear-gradient(135deg, #60A5FA 0%, #A78BFA 100%);

  /* Spacing */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-2xl: 48px;
}

[data-theme="dark"] {
  --bg: #060A12;
  --bg2: #0C1220;
  --bg3: #111827;
  --card: rgba(255, 255, 255, 0.03);
  --surface: rgba(255, 255, 255, 0.04);
  --surface-h: rgba(255, 255, 255, 0.07);
  --glass: rgba(12, 18, 32, 0.7);
  --border: rgba(255, 255, 255, 0.08);
  --border-acc: rgba(99, 102, 241, 0.35);
  --text: #F1F5FF;
  --text-2: #94A3B8;
  --text-3: #475569;
  --blue: #3B82F6;
  --violet: #8B5CF6;
  --cyan: #22D3EE;
  --pink: #EC4899;
  --green: #10B981;
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
  --nav-bg: rgba(6, 10, 18, 0.88);
}

[data-theme="light"] {
  --bg: #F8FAFF;
  --bg2: #EFF3FF;
  --bg3: #E8EEFF;
  --card: rgba(255, 255, 255, 0.5);
  --surface: rgba(99, 102, 241, 0.05);
  --surface-h: rgba(99, 102, 241, 0.09);
  --glass: rgba(248, 250, 255, 0.82);
  --border: rgba(99, 102, 241, 0.12);
  --border-acc: rgba(99, 102, 241, 0.3);
  --text: #0F172A;
  --text-2: #475569;
  --text-3: #94A3B8;
  --blue: #2563EB;
  --violet: #7C3AED;
  --cyan: #0891B2;
  --pink: #DB2777;
  --green: #059669;
  --shadow: 0 24px 64px rgba(99, 102, 241, 0.12);
  --nav-bg: rgba(248, 250, 255, 0.9);
}

/* ══════════════════════════════════════════════════════════
   RESET & BASE
══════════════════════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background .3s, color .3s;
}

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

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

/* ══════════════════════════════════════════════════════════
   TYPOGRAPHY
══════════════════════════════════════════════════════════ */
.display {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
}

.g-text {
  background: var(--g-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.2);
  margin-bottom: 18px;
}

.tag::before {
  display: none;
}

/* ══════════════════════════════════════════════════════════
   LAYOUT
══════════════════════════════════════════════════════════ */
.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

section {
  padding: 100px 0;
}

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

.section-head h2 {
  font-size: clamp(32px, 3.5vw, 48px);
  margin-bottom: 16px;
  font-weight: 800;
  line-height: 1.15;
}

.section-head p {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.75;
}

/* ══════════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 600;
  transition: all .2s;
}

.btn-primary {
  background: var(--g1);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(99, 102, 241, 0.45);
  opacity: .93;
}

.btn-outline {
  background: var(--surface);
  border: 1px solid var(--border-acc);
  color: var(--text);
}

.btn-outline:hover {
  background: var(--surface-h);
  border-color: rgba(139, 92, 246, 0.5);
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--blue);
  padding: 10px 0;
  font-size: 14px;
  font-weight: 600;
}

.btn-ghost:hover {
  color: var(--violet);
}

.btn-ghost svg {
  transition: transform .2s;
}

.btn-ghost:hover svg {
  transform: translateX(4px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-lg {
  padding: 17px 34px;
  font-size: 16px;
}

/* ══════════════════════════════════════════════════════════
   CARDS
══════════════════════════════════════════════════════════ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px;
  transition: all .25s;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--g1);
  opacity: 0;
  transition: opacity .25s;
  border-radius: inherit;
  pointer-events: none;
}

.card:hover {
  border-color: var(--border-acc);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.card:hover::before {
  opacity: 0.03;
}

.glass {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
}

/* ══════════════════════════════════════════════════════════
   PAGE ROUTER
══════════════════════════════════════════════════════════ */
.page {
  display: none;
}

.page.active {
  display: block;
}

/* ══════════════════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════════════════ */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5000;
  background: var(--nav-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: all .3s;
  isolation: isolate;
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 60px;
  width: auto;
  display: block;
}

/* Dual logo: theme-based switching */
.logo-light {
  display: none;
}

.logo-dark {
  display: block;
}

[data-theme="light"] .logo-dark {
  display: none;
}

[data-theme="light"] .logo-light {
  display: block;
}

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

.nav-item {
  position: relative;
}

.nav-link {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  transition: all .15s;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.dropdown-arrow {
  font-size: 0.7em;
  line-height: 1;
  transition: transform .2s ease;
}

.nav-item:hover .dropdown-arrow {
  transform: rotate(180deg);
}

/* Fixed + viewport-centered: anchoring to .nav-item left 50% clipped wide panels off-screen (e.g. Company). */
.mega-menu {
  position: fixed;
  left: 50%;
  right: auto;
  top: 68px;
  transform: translateX(-50%) translateY(6px);
  width: min(960px, calc(100vw - 24px));
  max-height: min(640px, calc(100vh - 80px));
  overflow-y: auto;
  overscroll-behavior: contain;
  /* Extra top padding bridges the gap under the nav link so hover isn’t lost (fixed menu). */
  padding: 34px 22px 22px;
  border-radius: 24px;
  background: #0a0f1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
  z-index: 5100;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  isolation: isolate;
}

[data-theme="light"] .mega-menu {
  background: #f8faff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.14);
}

.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-content {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 24px;
  align-items: start;
}

.mega-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mega-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 6px;
}

.mega-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}

.mega-subtitle {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 420px;
}

.mega-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-height: none;
  overflow: visible;
  padding-right: 4px;
}

.mega-link {
  display: block;
  padding: 14px 16px;
  border-radius: 16px;
  background: #121a2c;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  transition: background .2s ease, transform .2s ease;
}

[data-theme="light"] .mega-link {
  background: #eef2fb;
}

.mega-link:hover {
  background: #1a2438;
  transform: translateX(2px);
}

[data-theme="light"] .mega-link:hover {
  background: #e2e8f6;
}

.mega-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  border-radius: 20px;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .mega-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.mega-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.mega-card-text {
  color: var(--text-2);
  line-height: 1.7;
}

.mega-card-btn {
  width: fit-content;
}

.company-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 18px;
}

.company-card {
  position: relative;
  min-height: 220px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .company-card {
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.1);
}

.company-card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(51, 109, 255, 0.12);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.company-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.12);
}

.mega-menu.company-mega {
  width: min(960px, calc(100vw - 24px));
}

.company-mega-links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-height: none;
  overflow: visible;
}

.company-subnav {
  position: sticky;
  top: 68px;
  z-index: 997;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.company-subnav-inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 0 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.company-subnav-link {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--border);
  white-space: nowrap;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.company-subnav-link:hover {
  color: var(--text);
  border-color: var(--border-acc);
}

.company-subnav-link.active {
  color: #fff !important;
  background: var(--blue);
  border-color: transparent;
}

.mobile-group-title {
  display: block;
  font-weight: 700;
  color: var(--text);
  padding-top: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
}

[data-theme="light"] .mobile-group-title {
  border-bottom-color: rgba(15, 23, 42, 0.1);
}

@media (max-width: 1040px) {
  .company-menu-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .company-mega-links {
    grid-template-columns: 1fr;
  }
}

/* Tablet / small laptop: stack CTA under links so the panel fits when centered. */
@media (max-width: 1100px) and (min-width: 1025px) {
  .mega-content {
    grid-template-columns: 1fr;
  }

  .mega-card {
    max-width: 420px;
  }
}

@media (max-width: 1024px) {
  .mega-menu {
    display: none;
  }
}

.dropdown-link:hover {
  color: var(--text);
  background: var(--surface-h);
}

.nav-link:hover {
  color: var(--text);
  background: var(--surface);
}

.nav-link.active {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 18px 40px rgba(59, 130, 246, 0.18);
}

[data-theme="light"] .nav-link.active {
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.18);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  transition: all .2s;
}

.theme-toggle:hover {
  color: var(--text);
  border-color: var(--border-acc);
  background: var(--surface-h);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 8px;
  background: transparent;
  border-radius: 10px;
  flex-shrink: 0;
  z-index: 1;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
  transform-origin: center;
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

body.mobile-nav-open {
  overflow: hidden;
}

body.mobile-nav-open #nav {
  z-index: 8000;
}

/* Hide sticky company strip so it doesn’t show through the drawer */
body.mobile-nav-open .company-subnav {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Dim page behind drawer (mobile / tablet only) */
.mobile-nav-backdrop {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 8400;
  background: rgba(6, 10, 18, 0.72);
  -webkit-tap-highlight-color: transparent;
}

[data-theme="light"] .mobile-nav-backdrop {
  background: rgba(15, 23, 42, 0.45);
}

body.mobile-nav-open .mobile-nav-backdrop {
  display: block;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 8500;
  flex-direction: column;
  width: 100%;
  max-width: 100vw;
  padding: 0;
  border-top: 1px solid var(--border);
  background: #0a0f1a;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.25);
}

[data-theme="light"] .mobile-menu {
  background: #f8faff;
}

.mobile-menu-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 8px 18px 20px;
}

.mobile-menu .nav-link {
  display: block;
  padding: 12px 0;
  border-radius: 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
  font-size: 15px;
  font-weight: 500;
}

.mobile-menu .nav-link:hover,
.mobile-menu .nav-link:focus-visible {
  background: transparent;
  color: var(--text);
}

.mobile-menu-single {
  display: block;
  padding: 16px 0 !important;
  font-weight: 700 !important;
  color: var(--text) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.mobile-menu-priority {
  border-bottom: 1px solid var(--border) !important;
}

.mobile-menu-scroll > a.mobile-menu-priority:first-child {
  padding-top: 12px !important;
}

[data-theme="light"] .mobile-menu-single {
  border-bottom-color: rgba(15, 23, 42, 0.1) !important;
}

.mobile-accordion {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .mobile-accordion {
  border-bottom-color: rgba(15, 23, 42, 0.1);
}

.mobile-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.mobile-accordion-trigger:hover,
.mobile-accordion-trigger:focus-visible {
  color: var(--blue);
}

.mobile-accordion-icon {
  font-size: 9px;
  opacity: 0.65;
  transition: transform .2s ease;
  flex-shrink: 0;
}

.mobile-accordion.open .mobile-accordion-icon {
  transform: rotate(180deg);
}

.mobile-accordion-panel {
  display: none;
  flex-direction: column;
  padding: 0 0 12px 14px;
  margin-left: 4px;
  border-left: 2px solid var(--border);
  gap: 0;
}

.mobile-accordion.open .mobile-accordion-panel {
  display: flex;
}

.mobile-accordion-panel .nav-link {
  padding: 10px 0;
  border-bottom: none;
  font-size: 14px;
  color: var(--text-2);
}

.mobile-accordion-panel .nav-link:last-child {
  padding-bottom: 4px;
}

.mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
  padding: 16px 18px calc(24px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--border);
  background: inherit;
}

.mobile-actions .mobile-menu-cta {
  width: 100%;
}

.mobile-menu.open {
  display: flex;
  min-height: calc(100vh - 68px);
  min-height: calc(100dvh - 68px);
}

@media (min-width: 1025px) {
  .mobile-nav-backdrop {
    display: none !important;
  }

  .mobile-menu {
    display: none !important;
  }

  body.mobile-nav-open {
    overflow: auto;
  }
}

/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 40px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--bg);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
  pointer-events: none;
}

.orb1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, #3B82F6, transparent);
  top: -200px;
  right: -100px;
  animation: drift1 12s ease-in-out infinite;
}

.orb2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #8B5CF6, transparent);
  bottom: -100px;
  left: -100px;
  animation: drift2 15s ease-in-out infinite;
}

.orb3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #22D3EE, transparent);
  top: 40%;
  left: 35%;
  animation: drift3 10s ease-in-out infinite;
}

[data-theme="light"] .orb {
  opacity: 0.1;
}

@keyframes drift1 {

  0%,
  100% {
    transform: translate(0, 0) scale(1)
  }

  50% {
    transform: translate(-40px, 30px) scale(1.08)
  }
}

@keyframes drift2 {

  0%,
  100% {
    transform: translate(0, 0) scale(1)
  }

  50% {
    transform: translate(30px, -40px) scale(1.06)
  }
}

@keyframes drift3 {

  0%,
  100% {
    transform: translate(0, 0)
  }

  50% {
    transform: translate(-20px, 20px)
  }
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 80%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border-acc);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 28px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  animation: blink 2s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0.4
  }
}

.hero h1 {
  font-size: clamp(44px, 5.5vw, 72px);
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: italic;
  font-family: 'Fraunces', serif;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-2);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 40px;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 20px;
}

.avatars {
  display: flex;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2.5px solid var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: white;
  margin-left: -10px;
}

.avatars .avatar:first-child {
  margin-left: 0;
}

.av1 {
  background: linear-gradient(135deg, #3B82F6, #8B5CF6);
}

.av2 {
  background: linear-gradient(135deg, #EC4899, #EF4444);
}

.av3 {
  background: linear-gradient(135deg, #10B981, #06B6D4);
}

.av4 {
  background: linear-gradient(135deg, #F59E0B, #EF4444);
}

.proof-text {
  font-size: 13px;
  color: var(--text-2);
}

.proof-text strong {
  color: var(--text);
  font-weight: 700;
}

.stars {
  color: #F59E0B;
  font-size: 13px;
  letter-spacing: 1px;
}

/* Hero visual */
.hero-visual {
  position: relative;
}

.hero-main-card {
  background: var(--glass);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 36px;
  position: relative;
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.hc-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--g1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hc-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
}

.hc-title {
  font-weight: 700;
  font-size: 16px;
}

.hc-sub {
  font-size: 12.5px;
  color: var(--text-2);
}

.hero-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}

.metric-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 16px;
  text-align: center;
}

.metric-val {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}

.metric-val.blue {
  color: var(--blue);
}

.metric-val.violet {
  color: var(--violet);
}

.metric-val.green {
  color: var(--green);
}

.metric-val.cyan {
  color: var(--cyan);
}

.metric-label {
  font-size: 11.5px;
  color: var(--text-2);
  font-weight: 500;
}

.prog-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 7px;
}

.prog-label span:last-child {
  color: var(--green);
  font-weight: 600;
}

.prog-track {
  height: 6px;
  background: var(--surface);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 14px;
}

.prog-fill {
  height: 100%;
  border-radius: 100px;
  background: var(--g1);
}

/* Floating badges */
.float-badge {
  position: absolute;
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 16px;
  font-size: 13px;
  white-space: nowrap;
}

.fb1 {
  top: -24px;
  left: -40px;
  animation: float1 5s ease-in-out infinite;
  z-index: 9;
}

.fb2 {
  bottom: 10px;
  right: -40px;
  animation: float2 6s ease-in-out infinite 1s;
}

@keyframes float1 {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-10px)
  }
}

@keyframes float2 {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-12px)
  }
}

.fb-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 7px;
}

.fb-blue {
  background: var(--blue);
}

.fb-green {
  background: var(--green);
}

/* ══════════════════════════════════════════════════════════
   LOGOS / CLIENTS
══════════════════════════════════════════════════════════ */
.logos-section {
  padding: 64px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
  overflow: hidden;
}

.logos-label {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 32px;
}

.marquee-track {
  display: flex;
  gap: 44px;
  align-items: center;
  animation: marquee 36s linear infinite;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.marquee-wrap {
  -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
  /* Keep shadows visible on hover; outer .logos-section already clips horizontally */
  overflow: visible;
  padding: 14px 0 18px;
}

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

@keyframes marquee {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(calc(-1 * var(--marquee-distance, 0px)), 0, 0);
  }
}

.logo-chip {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-3);
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition: color .2s;
  cursor: default;
  padding: 8px 20px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: #fff;
}

.logo-chip:hover {
  color: var(--text);
  border-color: var(--border-acc);
}

.logo-chip--img {
  padding: 12px 30px;
  min-height: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background-color .25s ease;
}

.logo-chip--img img {
  display: block;
  height: 58px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  /* filter: grayscale(1) contrast(1.02); */
  opacity: 0.9;
  transition: transform .25s ease, filter .25s ease, opacity .25s ease;
}

.logo-chip--img:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}

.logo-chip--img:hover img {
  transform: scale(1.03);
  filter: grayscale(0) contrast(1.04);
  opacity: 1;
}

/* Home marquee logo readability in dark mode */
html[data-theme="dark"] .logo-chip--img {
  background: #fff;
  border-color: rgba(255, 255, 255, 0.14);
}

html[data-theme="dark"] .logo-chip--img:hover {
  border-color: rgba(99, 102, 241, 0.45);
  background: #fff;
}

html[data-theme="dark"] .logo-chip--img img {
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

@media (max-width: 720px) {
  .logo-chip--img {
    padding: 12px 22px;
    min-height: 60px;
  }

  .logo-chip--img img {
    height: 48px;
    max-width: 220px;
  }
}

@media (max-width: 420px) {
  .marquee-track {
    gap: 28px;
  }

  .logo-chip--img {
    padding: 10px 18px;
    min-height: 54px;
  }

  .logo-chip--img img {
    height: 38px;
    max-width: 190px;
  }
}

/* ══════════════════════════════════════════════════════════
   SERVICES GRID
══════════════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.srv-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px;
  transition: all .25s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.srv-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--g1);
  opacity: 0;
  transition: opacity .3s;
}

.srv-card:hover {
  border-color: var(--border-acc);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.srv-card:hover::after {
  opacity: 0.04;
}

.srv-card.featured {
  background: var(--g1);
  border-color: transparent;
  color: white;
}

.srv-card.featured .srv-desc,
.srv-card.featured .srv-num {
  color: rgba(255, 255, 255, 0.75);
}

.srv-card.featured .srv-link {
  color: rgba(255, 255, 255, 0.9);
}

.srv-card.featured:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 30px 64px rgba(99, 102, 241, 0.5);
}

.srv-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 20px;
}

.srv-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  background: var(--bg2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: all .2s;
}

.srv-card.featured .srv-icon {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.srv-card:hover .srv-icon {
  background: var(--g1);
  border-color: transparent;
}

.srv-card:hover .srv-icon svg {
  stroke: white;
}

.srv-card.featured:hover .srv-icon {
  background: rgba(255, 255, 255, 0.3);
}

.srv-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.8;
  transition: stroke .2s;
}

.srv-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
}

.srv-desc {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 22px;
}

.srv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.srv-tag {
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--text-2);
  transition: all .2s;
}

.srv-card.featured .srv-tag {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.9);
}

.srv-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s;
}

.srv-link:hover {
  gap: 10px;
}

/* ══════════════════════════════════════════════════════════
   CASE STUDIES
══════════════════════════════════════════════════════════ */
.cases-bg {
  background: var(--bg2);
}

.cases-slider {
  position: relative;
  overflow: hidden;
  padding: 24px 0 10px;
}

.cases-carousel {
  margin: 0 -20px;
}

.case-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  overflow: hidden;
  transition: all .25s;
  display: flex;
  flex-direction: column;
  min-height: 560px;
}

.slick-slide {
  padding: 0 20px;
  display: flex;
}

.cases-carousel .slick-track {
  display: flex;
  align-items: stretch;
}

.slick-list {
  margin: 0 -20px;
}

.case-card:hover {
  border-color: var(--border-acc);
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.cases-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .2s, background .2s, border-color .2s;
  z-index: 1;
}

.cases-nav:hover {
  transform: translateY(-50%) scale(1.03);
  background: var(--bg3);
}

.cases-prev {
  left: 4px;
}

.cases-next {
  right: 4px;
}

.cases-prev,
.cases-next {
  display: none;
}

.cases-carousel .slick-dots {
  display: flex !important;
  justify-content: center;
  gap: 12px;
  padding: 0;
  bottom: -35px;
}

.slick-dots li {
  width: auto;
  height: auto;
}

.cases-carousel .slick-dots li button:before {
  font-size: 14px;
  /* width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: var(--border);
  opacity: 0.35;
  padding: 0; */
}

.cases-carousel .slick-dots li.slick-active button:before {
  /* width: 28px;
  height: 10px;
  border-radius: 999px; */
  /* background: var(--blue); */
  color: var(--blue);
  opacity: 1;
}

.slick-dots li button:before {
  content: none;
}

.cases-footer {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.cases-footer .btn {
  min-width: 230px;
}

.case-top {
  padding: 40px 40px 0;
  min-height: 200px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.case-top-bg {
  position: absolute;
  inset: 0;
  opacity: 0.07;
}

.case-kpi-row {
  display: flex;
  gap: 32px;
  z-index: 1;
  padding-top: 16px;
}

.kpi-val {
  font-family: 'Fraunces', serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
}

.kpi-label {
  font-size: 12px;
  color: var(--text-2);
  margin-top: 4px;
  font-weight: 500;
}

.kpi-val.blue {
  color: var(--blue);
}

.kpi-val.violet {
  color: var(--violet);
}

.kpi-val.green {
  color: var(--green);
}

.kpi-val.pink {
  color: var(--pink);
}

.case-industry {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 12px;
}

.case-industry-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.case-body {
  padding: 32px 40px 36px;
}

.case-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
}

.case-desc {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 24px;
}

.case-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.case-meta-chip {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text-2);
}

.case-cta {
  display: flex;
  justify-content: flex-end;
  padding: 0 40px 32px;
}

/* ══════════════════════════════════════════════════════════
   PROCESS TIMELINE
══════════════════════════════════════════════════════════ */
.process-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
  gap: 0;
  margin-top: 64px;
}

.process-track::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border);
}

.process-fill {
  position: absolute;
  top: 32px;
  left: 10%;
  height: 2px;
  background: var(--g1);
  width: 0;
  transition: width 1.5s ease;
}

.process-step {
  text-align: center;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}

.step-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg2);
  border: 2px solid var(--border);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-3);
  transition: all .4s;
  position: relative;
}

.process-step.done .step-circle {
  background: var(--g1);
  border-color: transparent;
  color: white;
  box-shadow: 0 0 0 6px rgba(99, 102, 241, 0.15);
}

.process-step.active .step-circle {
  background: var(--g1);
  border-color: transparent;
  color: white;
  box-shadow: 0 0 0 10px rgba(99, 102, 241, 0.12), 0 0 0 20px rgba(99, 102, 241, 0.06);
}

.step-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-desc {
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════
   TECH STACK
══════════════════════════════════════════════════════════ */
.tech-bg {
  background: var(--bg2);
}

.tech-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.tech-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tech-tab {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-2);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: all .25s ease;
  cursor: pointer;
}

.tech-tab.active {
  background: var(--blue);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 18px 40px rgba(59, 130, 246, 0.18);
}

.tech-tab.active:hover {
  background: var(--blue);
}

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

.tech-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px 24px;
  text-align: center;
  transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
  cursor: default;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 190px;
}

.tech-card:hover {
  border-color: var(--border-acc);
  background: var(--surface-h);
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

.tech-icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border: 1px solid var(--border);
}

.tech-icon svg {
  width: 34px;
  height: 34px;
}

.tech-icon img {
  width: 34px;
  height: 34px;
  display: block;
  object-fit: contain;
}

/* Some vendor SVG logos ship with black fills (e.g., Next.js, Django).
   In dark mode, invert ONLY those logos inside the home technology section. */
   html[data-theme="dark"] #technology .tech-icon img[src$="aws.svg"],
   html[data-theme="dark"] #technology .tech-icon img[src$="expressjs.svg"],
   html[data-theme="dark"] #technology .tech-icon img[src$="tailwind.svg"],
html[data-theme="dark"] #technology .tech-icon img[src$="nextjs-logo.svg"],
html[data-theme="dark"] #technology .tech-icon img[src$="django-logo.svg"]
 {
  filter: invert(0.5);
}

.tech-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

a.tech-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

/* Technology detail — engagement models */
.tech-hire-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.tech-hire-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 28px 26px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.tech-hire-card:hover {
  border-color: var(--border-acc);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.tech-hire-card h4 {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 16px;
  color: var(--text);
}

.tech-hire-meta {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.75;
}

@media (max-width: 900px) {
  .tech-hire-grid {
    grid-template-columns: 1fr;
  }

  .tech-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

@media (max-width: 640px) {
  .tech-actions {
    margin-bottom: 16px;
  }

  .tech-tab {
    padding: 10px 14px;
    font-size: 12px;
  }
}

/* ══════════════════════════════════════════════════════════
  TESTIMONIALS
══════════════════════════════════════════════════════════ */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.testi {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 36px;
  position: relative;
  transition: all .2s;
}

.testi:hover {
  border-color: var(--border-acc);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.testi-quote-mark {
  font-family: 'Fraunces', serif;
  font-size: 80px;
  line-height: 1;
  background: var(--g-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.25;
  position: absolute;
  top: 20px;
  left: 30px;
}

.testi-body {
  font-size: 15.5px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 28px;
  padding-top: 30px;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.testi-av {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}

.testi-name {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 3px;
}

.testi-role {
  font-size: 12.5px;
  color: var(--text-2);
}

.testi-stars {
  color: #F59E0B;
  font-size: 13px;
  margin-top: 3px;
  letter-spacing: 1px;
}

/* ══════════════════════════════════════════════════════════
   FAQ
══════════════════════════════════════════════════════════ */
.faq-bg {
  background: var(--bg2);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color .2s;
}

.faq-item.open {
  border-color: var(--border-acc);
}

.faq-q {
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 12px;
  transition: color .2s;
}

.faq-item.open .faq-q {
  color: var(--blue);
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  transition: all .25s;
}

.faq-item.open .faq-icon {
  background: var(--g1);
  border-color: transparent;
  color: white;
  transform: rotate(45deg);
}

.faq-a {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.75;
  transition: all .3s ease;
}

.faq-a.open {
  max-height: 200px;
  padding: 0 24px 20px;
}

/* ══════════════════════════════════════════════════════════
   CTA BANNER
══════════════════════════════════════════════════════════ */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: var(--g1);
  border-radius: var(--r-2xl);
  padding: 40px 30px;
  text-align: center;
  max-width: 900px;
  margin: 40px auto 100px auto;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-banner h2 {
  font-size: clamp(24px, 3.5vw, 38px);
  color: white;
  font-weight: 800;
  margin-bottom: 8px;
}

.cta-banner p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  /* max-width: 520px; */
  margin: 0 auto 26px;
  line-height: 1.7;
}

.cta-banner-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-white {
  background: white;
  color: #4F46E5;
  font-weight: 700;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.25);
}

.btn-white-outline {
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: white;
}

.btn-white-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 72px 40px 32px;
}

.footer-top {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-logo {
  display: block;
  margin-bottom: 14px;
}

.footer-logo-img {
  height: 90px;
  width: auto;
  /* display: block; */
}

.footer-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 24px;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact-item {
  font-size: 13.5px;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color .2s;
}

.footer-contact-item:hover {
  color: var(--text);
}

.footer-heading {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-3);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 14px;
  color: var(--text-2);
  transition: all .15s;
  cursor: pointer;
}

.footer-link:hover {
  color: var(--text);
  padding-left: 4px;
}

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.footer-copy {
  font-size: 13px;
  color: var(--text-3);
}

.footer-certs {
  display: flex;
  gap: 10px;
}

.cert-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-3);
}

/* ══════════════════════════════════════════════════════════
   ABOUT PAGE
══════════════════════════════════════════════════════════ */
.about-hero {
  padding: 160px 40px 80px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.about-hero h1 {
  font-size: clamp(40px, 5vw, 68px);
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.about-hero p {
  font-size: 18px;
  color: var(--text-2);
  max-width: 580px;
  margin: 0 auto 56px;
  line-height: 1.75;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.about-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px;
  text-align: center;
}

.about-stat-val {
  font-family: 'Fraunces', serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}

.about-stat-label {
  font-size: 14px;
  color: var(--text-2);
  font-weight: 500;
}

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

.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px;
  transition: all .2s;
}

.value-card:hover {
  border-color: var(--border-acc);
  transform: translateY(-4px);
}

.value-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.value-title {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 12px;
}

.value-text {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.7;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  overflow: hidden;
  transition: all .2s;
  text-align: center;
}

.team-card:hover {
  border-color: var(--border-acc);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.team-avatar {
  height: 320px;
  background: var(--g1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 44px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.team-avatar--img {
  padding: 12px;
  background: var(--bg2);
}

.team-avatar--img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--border);
}

.team-body {
  padding: 24px;
}

.team-name {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 4px;
}

.team-role {
  font-size: 13px;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 10px;
}

.team-bio {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.6;
}

/* Our Team — founder + accountable team */
.team-founder {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  overflow: hidden;
}

.team-founder-media {
  padding: 34px;
  background: radial-gradient(ellipse 90% 70% at 20% 0%, rgba(99, 102, 241, 0.16), transparent 55%),
    radial-gradient(ellipse 70% 60% at 90% 90%, rgba(34, 211, 238, 0.12), transparent 50%),
    var(--bg2);
  border-right: 1px solid var(--border);
  display: grid;
  place-items: center;
  min-height: 260px;
}

.team-founder-photo {
  width: 160px;
  height: 160px;
  border-radius: 999px;
  border: 10px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  background: var(--g1);
  display: grid;
  place-items: center;
  font-family: 'Fraunces', serif;
  font-size: 44px;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  overflow: hidden;
}

[data-theme="light"] .team-founder-photo {
  border-color: rgba(15, 23, 42, 0.06);
}

.team-founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

[data-theme="light"] .team-founder-photo {
  border-color: rgba(15, 23, 42, 0.06);
}

.team-founder-body {
  padding: 34px;
}

.team-founder-body h3 {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 900;
  line-height: 1.15;
  margin: 12px 0 12px;
}

.team-founder-body p {
  color: var(--text-2);
  line-height: 1.75;
  margin: 0 0 18px;
}

.team-founder-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.team-founder-chip {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px 12px;
}

.team-founder-chip-k {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 6px;
}

.team-founder-chip-v {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text);
}

.team-accountable {
  margin-top: 26px;
  padding: 28px;
  border-radius: var(--r-2xl);
  background: radial-gradient(ellipse 80% 120% at 10% 0%, rgba(99, 102, 241, 0.10), transparent 55%),
    radial-gradient(ellipse 80% 120% at 90% 60%, rgba(34, 211, 238, 0.08), transparent 55%),
    var(--surface);
  border: 1px solid var(--border);
}

.team-accountable-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 20px;
}

.team-accountable-head h3 {
  font-size: 26px;
  font-weight: 900;
  margin: 0 0 8px;
}

.team-accountable-head p {
  margin: 0;
  color: var(--text-2);
  line-height: 1.7;
}

.team-circle-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}

.team-circle-card {
  text-align: center;
  padding: 10px 10px 14px;
  border-radius: 18px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  border: 1px solid transparent;
}

.team-circle-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}

.team-circle-avatar {
  width: 112px;
  height: 112px;
  border-radius: 999px;
  margin: 0 auto 12px;
  background: var(--bg2);
  border: 10px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 18px 44px rgba(0,0,0,0.12);
  display: grid;
  place-items: center;
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  overflow: hidden;
}

[data-theme="light"] .team-circle-avatar {
  border-color: rgba(15, 23, 42, 0.06);
}

.team-circle-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-circle-name {
  font-weight: 900;
  color: var(--text);
  font-size: 14.5px;
}

.team-circle-role {
  margin-top: 4px;
  color: var(--text-2);
  font-weight: 700;
  font-size: 12.5px;
}

.team-accountable-foot {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.team-accountable-stat {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px 14px;
  text-align: center;
}

.team-accountable-stat .tas-val {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}

.team-accountable-stat .tas-label {
  color: var(--text-2);
  font-weight: 700;
  font-size: 12.5px;
}

@media (max-width: 1024px) {
  .team-founder { grid-template-columns: 1fr; }
  .team-founder-media { border-right: none; border-bottom: 1px solid var(--border); }
  .team-founder-meta { grid-template-columns: 1fr; }
  .team-circle-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .team-accountable { padding: 22px 16px; }
  .team-circle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .team-circle-avatar { width: 96px; height: 96px; }
  .team-accountable-foot { grid-template-columns: 1fr; }
}

.milestones {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
}

.milestone {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.milestone:last-child {
  border-bottom: none;
}

.ms-year {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--blue);
}

.ms-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.ms-text {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════
   SERVICES PAGE
══════════════════════════════════════════════════════════ */
.services-page-hero {
  padding: 160px 40px 80px;
  background: var(--bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.srv-detail {
  padding: 80px 0;
}

.srv-detail:nth-child(even) {
  background: var(--bg2);
}

.srv-detail-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.srv-detail:nth-child(even) .srv-detail-inner {
  direction: rtl;
}

.srv-detail:nth-child(even) .srv-detail-inner>* {
  direction: ltr;
}

.srv-d-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border-acc);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.srv-d-h {
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.srv-d-p {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 28px;
}

.srv-d-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.srv-d-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--g1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.check-icon svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: white;
  stroke-width: 2.5;
}

.srv-d-item-text {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.6;
}

.srv-d-visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 36px;
  position: relative;
  overflow: hidden;
}

.srv-d-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--g1);
  opacity: 0.04;
}

.srv-mini-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.srv-mini-stat {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
}

.sms-val {
  font-family: 'Fraunces', serif;
  font-size: 36px;
  font-weight: 700;
}

.sms-label {
  font-size: 12.5px;
  color: var(--text-2);
  margin-top: 4px;
}

.srv-tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.srv-tech-chip {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--text-2);
}

/* ══════════════════════════════════════════════════════════
   PORTFOLIO PAGE
══════════════════════════════════════════════════════════ */
.portfolio-hero {
  padding: 160px 40px 80px;
  text-align: center;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.port-filters {
  max-width: 1040px;
  margin: 0 auto 28px;
}

.port-search {
  display: flex;
  justify-content: center;
  margin: 0 auto 18px;
}

.port-search-input {
  width: min(720px, 100%);
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.port-search-input::placeholder {
  color: var(--text-3);
}

.port-search-input:focus {
  border-color: var(--border-acc);
  box-shadow: 0 0 0 6px rgba(99, 102, 241, 0.10);
}

.port-filter-block {
  margin: 16px 0 0;
  padding: 18px 18px 14px;
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
}

[data-theme="light"] .port-filter-block {
  background: rgba(99, 102, 241, 0.04);
}

.port-filter-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 12px;
}

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

.port-chip-row--more {
  margin-top: 12px;
}

.port-chip {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-2);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  transition: all .2s;
}

.port-chip:hover,
.port-chip.active {
  background: var(--g1);
  border-color: transparent;
  color: #fff;
}

.port-chip--more {
  background: transparent;
}

.port-selected {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--border);
}

.port-selected-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 10px;
}

.port-selected-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.port-selected-chip {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.port-selected-chip button {
  border: 0;
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  font-weight: 900;
  line-height: 1;
}

.port-clear {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-2);
  padding: 9px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}

.port-clear:hover {
  border-color: var(--border-acc);
  color: var(--text);
}

.port-feedback {
  display: flex;
  justify-content: center;
  margin: 14px 0 10px;
}

.port-count {
  font-size: 13px;
  color: var(--text-2);
}

.portfolio-grid.is-filtering .port-card {
  transition: opacity .18s ease, transform .18s ease;
  opacity: .65;
  transform: translateY(2px);
}

.filter-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.portfolio-industries {
  margin: -24px auto 42px;
  max-width: 980px;
  text-align: center;
}

.portfolio-industries-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 14px;
}

.industry-tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0;
}

.industry-tab {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-2);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  transition: all .2s;
}

.industry-tab:hover,
.industry-tab.active {
  background: var(--g1);
  border-color: transparent;
  color: #fff;
}

.filter-tab {
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-2);
  cursor: pointer;
  transition: all .2s;
}

.filter-tab.active,
.filter-tab:hover {
  background: var(--g1);
  border-color: transparent;
  color: white;
}

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

.port-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  overflow: hidden;
  transition: all .25s;
  cursor: pointer;
}

.port-card:hover {
  border-color: var(--border-acc);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.port-thumb {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.port-thumb.has-img {
  background: var(--bg3);
}

.port-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(1.03) contrast(1.03);
}

.port-thumb.has-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.15), rgba(2, 6, 23, 0.55));
  pointer-events: none;
}

.port-thumb.has-img .port-thumb-inner {
  opacity: 0;
}

.port-thumb-inner {
  font-family: 'Fraunces', serif;
  font-size: 56px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
  z-index: 1;
}

.port-overlay {
  position: absolute;
  inset: 0;
  background: var(--g1);
  opacity: 0;
  transition: opacity .25s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.port-card:hover .port-overlay {
  opacity: 0.85;
}

.port-overlay-text {
  color: white;
  font-size: 14px;
  font-weight: 700;
  z-index: 2;
}

.port-body {
  padding: 26px;
}

.port-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}

.port-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
}

.port-desc {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.port-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  row-gap: 12px;
}

.pm-val {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--blue);
}

.pm-label {
  font-size: 11px;
  color: var(--text-3);
  margin-top: 2px;
}

/* ══════════════════════════════════════════════════════════
   CONTACT PAGE
══════════════════════════════════════════════════════════ */
.contact-hero {
  padding: 160px 40px 80px;
  text-align: center;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.contact-layout {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px 100px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.contact-info-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 36px;
  margin-bottom: 20px;
}

.contact-info-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 20px;
}

.ci-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.ci-row:last-child {
  border-bottom: none;
}

.ci-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ci-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
}

.ci-label {
  font-size: 11.5px;
  color: var(--text-3);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 3px;
}

.ci-val {
  font-size: 14.5px;
  font-weight: 600;
}

.ci-val a {
  transition: color .2s;
}

.ci-val a:hover {
  color: var(--blue);
}

.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 44px;
}

.form-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
}

.form-sub {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 32px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 18px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: all .2s;
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--border-acc);
  background: var(--surface-h);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-3);
}

.form-textarea {
  min-height: 130px;
  resize: vertical;
}

.form-select option {
  background: var(--bg2);
}

.submit-btn {
  width: 100%;
  background: var(--g1);
  color: white;
  border: none;
  border-radius: var(--r-md);
  padding: 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(99, 102, 241, 0.45);
  opacity: .92;
}

/* ══════════════════════════════════════════════════════════
   UTILITY & ANIMATIONS
══════════════════════════════════════════════════════════ */
.gradient-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-acc) 30%, var(--border-acc) 70%, transparent);
  margin: 0;
}

.divider {
  height: 1px;
  background: var(--border);
}

.animate-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: .08s;
}

.delay-2 {
  transition-delay: .16s;
}

.delay-3 {
  transition-delay: .24s;
}

.delay-4 {
  transition-delay: .32s;
}

.delay-5 {
  transition-delay: .40s;
}

.delay-6 {
  transition-delay: .48s;
}

/* Page transition */
.page {
  animation: pageFade .4s ease;
}

@keyframes pageFade {
  from {
    opacity: 0;
    transform: translateY(10px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

/* WA float */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 998;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.6);
}

.wa-float svg {
  width: 27px;
  height: 27px;
  fill: white;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

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

  .cases-slider {
    grid-template-columns: 1fr;
  }

  .process-track {
    grid-template-columns: repeat(3, 1fr);
  }

  .tech-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .testi-grid {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .srv-detail-inner {
    grid-template-columns: 1fr;
  }

  .srv-detail:nth-child(even) .srv-detail-inner {
    direction: ltr;
  }

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

  .contact-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .industry-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 0 4px 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .industry-tabs::-webkit-scrollbar { display: none; }
}

@media (max-width: 1024px) {
  .wrap {
    padding: 0 20px;
  }

  section {
    padding: 72px 0;
  }

  .nav-inner {
    padding: 0 20px;
  }

  .hero {
    padding: 120px 20px 60px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

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

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

  .process-track {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-banner {
    padding: 48px 32px;
    margin: 0 20px 72px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

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

  .form-grid-2 {
    grid-template-columns: 1fr;
  }

  .mobile-menu-scroll {
    padding: 8px 16px 12px;
  }

  .mobile-actions {
    padding: 14px 16px 22px;
  }

  .nav-right .btn-primary {
    display: none;
  }

  .nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
  }

  .nav-inner {
    justify-content: space-between;
    gap: 12px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  /* Process timeline: make it vertical on responsive screens */
  .process-track {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 44px;
    padding-left: 6px;
    max-width: 550px;
    margin: 0 auto;
  }

  .process-track::before,
  .process-fill {
    display: none;
  }

  .process-step {
    text-align: left;
    padding: 0;
    display: grid;
    grid-template-columns: 64px 1fr;
    grid-template-rows: auto auto;
    column-gap: 14px;
    row-gap: 6px;
    align-items: start;
  }

  .step-circle {
    margin: 0;
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: start;
    position: relative;
    z-index: 1;
  }

  .step-title {
    margin: 0;
    grid-column: 2;
    grid-row: 1;
  }

  .step-desc {
    font-size: 13px;
    grid-column: 2;
    grid-row: 2;
    max-width: none;
  }

  .process-step::before {
    content: '';
    position: absolute;
    left: 32px;
    top: 64px;
    bottom: -22px;
    width: 2px;
    background: var(--border);
    transform: translateX(-1px);
    z-index: 0;
  }

  .process-step:last-child::before {
    display: none;
  }

  .process-step.done::before,
  .process-step.active::before {
    background: linear-gradient(to bottom, rgba(99, 102, 241, 0.55), rgba(99, 102, 241, 0.08));
  }
}

/* ══════════════════════════════════════════════════════════
   PAGE BANNER (Inner Pages)
══════════════════════════════════════════════════════════ */
.page-banner {
  position: relative;
  overflow: hidden;
  padding: 140px 40px 60px;
  text-align: center;
  background: var(--bg);
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-banner .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.page-banner .orb1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #3B82F6, transparent);
  top: -180px;
  right: -80px;
  opacity: .15;
  animation: drift1 12s ease-in-out infinite;
}

.page-banner .orb2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #8B5CF6, transparent);
  bottom: -80px;
  left: -80px;
  opacity: .10;
  animation: drift2 15s ease-in-out infinite;
}

.page-banner .orb3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, #22D3EE, transparent);
  top: 40%;
  left: 35%;
  opacity: .10;
  animation: drift3 10s ease-in-out infinite;
}

[data-theme="light"] .page-banner .orb {
  opacity: .07;
}

.page-banner .hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at center, #000 20%, transparent 75%);
  pointer-events: none;
}

.page-banner-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.page-banner h1 {
  font-size: clamp(40px, 5vw, 68px);
  margin-bottom: 20px;
}

.page-banner p {
  font-size: 18px;
  color: var(--text-2);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.75;
}

.page-banner .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-3);
}

.page-banner .breadcrumb a {
  color: var(--text-2);
  transition: color .2s;
}

.page-banner .breadcrumb a:hover {
  color: var(--blue);
}

.page-banner .breadcrumb svg {
  width: 14px;
  height: 14px;
  stroke: var(--text-3);
  fill: none;
  stroke-width: 2;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Process timeline: switch to vertical layout */
  .process-track {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 44px;
    padding-left: 6px;
  }

  .process-track::before,
  .process-fill {
    display: none;
  }

  .process-step {
    text-align: left;
    padding: 0;
    display: grid;
    grid-template-columns: 64px 1fr;
    grid-template-rows: auto auto;
    column-gap: 14px;
    row-gap: 6px;
    align-items: start;
  }

  .step-circle {
    margin: 0;
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: start;
    position: relative;
    z-index: 1;
  }

  .step-title {
    margin: 0;
    grid-column: 2;
    grid-row: 1;
  }

  .step-desc {
    font-size: 13px;
    grid-column: 2;
    grid-row: 2;
    max-width: none;
  }

  /* vertical connector */
  .process-step::before {
    content: '';
    position: absolute;
    left: 32px;
    top: 64px;
    bottom: -22px;
    width: 2px;
    background: var(--border);
    transform: translateX(-1px);
    z-index: 0;
  }

  .process-step:last-child::before {
    display: none;
  }

  .process-step.done::before,
  .process-step.active::before {
    background: linear-gradient(to bottom, rgba(99, 102, 241, 0.55), rgba(99, 102, 241, 0.08));
  }

  .page-banner {
    padding: 120px 20px 48px;
    min-height: 35vh;
  }
}

/* ══════════════════════════════════════════════════════════
   SERVICES LISTING GRID (12 services)
══════════════════════════════════════════════════════════ */
.srv-listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.srv-listing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px;
  transition: all .25s;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  display: block;
}

.srv-listing-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--g1);
  opacity: 0;
  transition: opacity .3s;
}

.srv-listing-card:hover {
  border-color: var(--border-acc);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.srv-listing-card:hover::after {
  opacity: .04;
}

.srv-listing-card .srv-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.srv-listing-card .srv-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  background: var(--bg2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: all .2s;
  position: relative;
  z-index: 1;
}

.srv-listing-card:hover .srv-icon {
  background: var(--g1);
  border-color: transparent;
}

.srv-listing-card:hover .srv-icon svg {
  stroke: white;
}

.srv-listing-card .srv-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.8;
  transition: stroke .2s;
}

.srv-listing-card .srv-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.srv-listing-card .srv-desc {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.srv-listing-card .srv-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s;
  position: relative;
  z-index: 1;
}

.srv-listing-card:hover .srv-link {
  gap: 10px;
}

@media (max-width: 1024px) {
  .srv-listing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .srv-listing-grid {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════════════════════
   SERVICE INNER PAGE
══════════════════════════════════════════════════════════ */
.srv-inner-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.srv-inner-overview-text h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.srv-inner-overview-text p {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 28px;
}

.srv-inner-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.srv-inner-feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px;
  transition: all .2s;
}

.srv-inner-feature:hover {
  border-color: var(--border-acc);
  transform: translateY(-4px);
}

.srv-inner-feature .feat-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--g1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.srv-inner-feature .feat-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: white;
  stroke-width: 2;
}

.srv-inner-feature .feat-icon img {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
}

.srv-inner-feature h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.srv-inner-feature p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
}

.srv-inner-features--two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 1000px;
  margin: 0 auto;
}

.mobile-portfolio-samples {
  grid-template-columns: repeat(2, 1fr);
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

a.port-card.port-card--link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.srv-inner-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.srv-inner-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px;
  text-align: center;
  transition: all .2s;
}

.srv-inner-stat:hover {
  border-color: var(--border-acc);
  transform: translateY(-3px);
}

.srv-inner-stat .stat-val {
  font-family: 'Fraunces', serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}

.srv-inner-stat .stat-label {
  font-size: 14px;
  color: var(--text-2);
  font-weight: 500;
}

.srv-inner-why {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.srv-inner-why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all .2s;
}

.srv-inner-why-card:hover {
  border-color: var(--border-acc);
  transform: translateY(-3px);
}

.srv-inner-why-card .why-num {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  flex-shrink: 0;
}

.srv-inner-why-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.srv-inner-why-card p {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .srv-inner-overview {
    grid-template-columns: 1fr;
  }

  .srv-inner-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .srv-inner-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .srv-inner-why {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .srv-inner-features {
    grid-template-columns: 1fr;
  }

  .srv-inner-features--two {
    grid-template-columns: 1fr;
  }

  .mobile-portfolio-samples {
    grid-template-columns: 1fr;
  }

  .srv-inner-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ══════════════════════════════════════════════════════════
  ABOUT PAGE (shineinfosoft.in/about content)
══════════════════════════════════════════════════════════ */
.page-banner-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 28px;
}

.about-who-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}

.about-who-text p {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.85;
  margin-bottom: 20px;
}

.about-who-text p:last-child {
  margin-bottom: 0;
}

.about-who-visual {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-who-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.about-who-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--g1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
}

.about-who-badge-icon svg {
  width: 22px;
  height: 22px;
}

.about-approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.about-approach-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px 24px;
  transition: border-color .2s, transform .2s;
}

.about-approach-card:hover {
  border-color: var(--border-acc);
  transform: translateY(-3px);
}

.about-approach-step {
  font-family: 'Fraunces', serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 12px;
}

.about-approach-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 12px;
}

.about-approach-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
}

.about-vision-mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.about-vm-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px 28px;
}

.about-vm-card .tag {
  margin-bottom: 14px;
}

.about-vm-card h3 {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
}

.about-vm-card p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.8;
}

.about-skills-panel {
  max-width: 640px;
  margin: 0 auto;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
}

.about-skills-panel .prog-track:last-child {
  margin-bottom: 0;
}

.about-life-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.about-life-cell {
  aspect-ratio: 1;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.15), var(--bg3));
  min-height: 100px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  outline: none;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, filter .25s ease;
}

.about-life-cell::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.22));
  opacity: 0.2;
  transition: opacity .25s ease;
}

.about-life-cell:hover::after {
  opacity: 0.55;
}

.about-life-cell:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
  filter: saturate(1.05);
}

.about-life-cell:focus-visible {
  border-color: rgba(99, 102, 241, 0.55);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.18);
}

button.about-life-cell {
  appearance: none;
  background-color: transparent;
  font: inherit;
}

.about-life-cell--2 {
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.2), var(--bg3));
}

.about-life-cell--3 {
  background: linear-gradient(145deg, rgba(34, 211, 238, 0.15), var(--bg3));
}

@media (max-width: 1024px) {
  .about-who-grid {
    grid-template-columns: 1fr;
  }

  .about-approach-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-vision-mission {
    grid-template-columns: 1fr;
  }

  .about-life-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .about-approach-grid {
    grid-template-columns: 1fr;
  }

  .about-life-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-skills-panel {
    padding: 22px;
  }
}

/* ══════════════════════════════════════════════════════════
  LIFE @ SHINE (culture page — layout inspired by life-at-careers patterns)
══════════════════════════════════════════════════════════ */
.life-hero .life-hero-lead {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.life-brand-strip {
  padding: 48px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.life-brand-card {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 32px;
  border-radius: var(--r-2xl);
  background: var(--surface);
  border: 1px solid var(--border);
}

.life-brand-logo {
  height: 72px;
  width: auto;
  margin: 0 auto 20px;
  display: block;
}

.life-brand-card .logo-light {
  display: none;
}

[data-theme="light"] .life-brand-card .logo-dark {
  display: none;
}

[data-theme="light"] .life-brand-card .logo-light {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.life-brand-tagline {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.65;
  margin: 0;
}

.life-values-layout {
  display: grid;
  grid-template-columns: minmax(200px, 0.9fr) 1.1fr;
  gap: 56px;
  align-items: start;
}

.life-values-visual {
  position: relative;
  min-height: 280px;
  border-radius: var(--r-2xl);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.15));
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-end;
  padding: 18px;
  overflow: hidden;
}

.life-values-img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 18px;
}

.life-values-visual .logo-light {
  display: none;
}

[data-theme="light"] .life-values-visual .logo-dark {
  display: none;
}

[data-theme="light"] .life-values-visual .logo-light {
  display: block;
}

.life-values-accent {
  position: absolute;
  inset: 20px;
  border-radius: var(--r-xl);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

[data-theme="light"] .life-values-accent {
  border-color: rgba(15, 23, 42, 0.12);
}

.life-values-label {
  position: relative;
  z-index: 1;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
}

.life-values-copy h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.life-values-copy > p {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 24px;
}

.life-values-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.life-values-list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.55;
}

.life-values-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--g1);
}

.life-benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.life-benefit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 24px 20px;
  text-align: center;
  transition: border-color .2s, transform .2s;
}

.life-benefit-card:hover {
  border-color: var(--border-acc);
  transform: translateY(-3px);
}

.life-benefit-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 16px;
  background: var(--g1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.life-benefit-icon svg {
  width: 24px;
  height: 24px;
}

.life-benefit-card h4 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.3;
}

.life-benefit-card p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.55;
  margin: 0;
}

.life-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 140px;
  gap: 14px;
  grid-auto-flow: dense;
}

.life-gallery-item {
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.18), var(--bg3));
  display: flex;
  align-items: flex-end;
  padding: 0;
  min-height: 140px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  width: 100%;
  outline: none;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.life-gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.10);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.life-gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 70% at 20% 0%, rgba(99, 102, 241, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 60% at 90% 90%, rgba(34, 211, 238, 0.16), transparent 50%);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}

.life-gallery-item:hover::after {
  opacity: 1;
}

.life-gallery-item:hover::before {
  opacity: 1;
}

.life-gallery-item:hover {
  transform: translateY(-3px) scale(1.01);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.life-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1) contrast(1.02);
  opacity: 0.92;
  transition: filter .25s ease, opacity .25s ease, transform .35s ease;
  transform: scale(1.02);
}

.life-gallery-item:hover .life-gallery-img {
  filter: grayscale(0) contrast(1.04);
  opacity: 1;
  transform: scale(1.06);
}

.life-gallery-item:focus-visible {
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.18);
  border-color: rgba(99, 102, 241, 0.55);
}

.life-gallery-item:nth-child(3n) {
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.2), var(--bg3));
}

.life-gallery-item:nth-child(3n+2) {
  background: linear-gradient(145deg, rgba(34, 211, 238, 0.15), var(--bg3));
}

.life-gallery-item--tall {
  grid-row: span 2;
}

.life-gallery-item--wide {
  grid-column: span 2;
}

.life-gallery-item--extra {
  display: none;
}

/* buttons reset (gallery items are <button>) */
button.life-gallery-item {
  appearance: none;
  border: 1px solid var(--border);
  background-color: transparent;
  font: inherit;
}

@media (max-width: 960px) {
  .life-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 130px;
  }
  .life-gallery-item { min-height: 130px; }
}

@media (max-width: 720px) {
  .life-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 120px;
    gap: 12px;
  }
  .life-gallery-item { min-height: 120px; }
}

.life-gallery-cap {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
  position: relative;
  z-index: 1;
}

[data-theme="light"] .life-gallery-cap {
  text-shadow: none;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.lightbox.is-open {
  display: block;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(10px);
}

.lightbox-dialog {
  position: relative;
  max-width: min(980px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  margin: 14px auto;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(17, 24, 39, 0.86);
  box-shadow: 0 40px 120px rgba(0,0,0,0.55);
  overflow: hidden;
  padding: 16px;
}

[data-theme="light"] .lightbox-dialog {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.12);
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(15, 23, 42, 0.55);
  color: #fff;
  font-size: 22px;
  line-height: 29px;
  cursor: pointer;
  display: inline-flex;
  align-items: stretch;
  justify-content: space-around;
  flex-wrap: nowrap;
  flex-direction: row;
}

[data-theme="light"] .lightbox-close {
  background: rgba(15, 23, 42, 0.06);
  color: var(--text);
  border: 1px solid rgba(15, 23, 42, 0.12);
}

.lightbox-img {
  width: 100%;
  height: auto;
  max-height: calc(100vh - 140px);
  object-fit: contain;
  border-radius: 18px;
  display: block;
  background: rgba(0,0,0,0.22);
}

.lightbox-cap {
  margin-top: 10px;
  color: var(--text-2);
  font-size: 13.5px;
  font-weight: 600;
  text-align: center;
}

.life-gallery-actions {
  text-align: center;
  margin-top: 28px;
}

.life-connect {
  padding: 80px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}

.life-connect-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.life-connect-inner h2 {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 800;
  margin-bottom: 32px;
  line-height: 1.25;
}

.life-connect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

.life-connect-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 24px 20px;
  text-align: center;
}

.life-connect-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 10px;
}

.life-connect-email {
  font-size: 15px;
  font-weight: 700;
  color: var(--blue);
  word-break: break-word;
}

.life-connect-email:hover {
  text-decoration: underline;
}

@media (max-width: 1100px) {
  .life-benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .life-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .life-values-layout {
    grid-template-columns: 1fr;
  }

  .life-values-visual {
    min-height: 200px;
  }

  .life-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .life-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 90px;
  }

  .life-gallery-item--wide {
    grid-column: span 2;
  }
}

@media (max-width: 520px) {
  .life-benefits-grid {
    grid-template-columns: 1fr;
  }

  .life-connect-grid {
    grid-template-columns: 1fr;
  }

  .life-gallery-item--tall {
    grid-row: span 1;
  }
}

/* ══════════════════════════════════════════════════════════
  COMPANY INTRO
══════════════════════════════════════════════════════════ */
.intro-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.intro-text .tag {
  margin-bottom: 16px;
}

.intro-text h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.25;
}

.intro-text p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.intro-text .btn {
  margin-top: 12px;
}

.intro-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.intro-stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  transition: all .3s;
}

.intro-stat:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(99, 102, 241, .12);
}

.intro-stat-val {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.intro-stat-val.blue {
  color: var(--blue);
}

.intro-stat-val.violet {
  color: var(--violet);
}

.intro-stat-val.green {
  color: var(--green);
}

.intro-stat-val.cyan {
  color: var(--cyan);
}

.intro-stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

@media (max-width: 900px) {
  .intro-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .intro-stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .intro-stat {
    padding: 20px 16px;
  }

  .intro-stat-val {
    font-size: 1.5rem;
  }

  .intro-text h2 {
    font-size: 1.6rem;
  }
}

/* ══════════════════════════════════════════════════════════
   ASP.NET — .NET Framework features (round discs, theme-neutral)
══════════════════════════════════════════════════════════ */
.dotnet-circle-features {
  position: relative;
  padding: 88px 0 100px;
  overflow: hidden;
  background: var(--bg2);
}

.dotnet-circle-features__bg {
  position: absolute;
  inset: -15% -20% auto;
  height: 55%;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(59, 130, 246, 0.1), transparent 60%),
    radial-gradient(ellipse 40% 35% at 75% 30%, rgba(167, 139, 250, 0.07), transparent 55%);
  opacity: 1;
}

[data-theme="light"] .dotnet-circle-features__bg {
  background: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(59, 130, 246, 0.06), transparent 60%),
    radial-gradient(ellipse 40% 35% at 75% 30%, rgba(167, 139, 250, 0.05), transparent 55%);
}

.dotnet-circle-features__inner {
  position: relative;
  z-index: 1;
}

.dotnet-circle-features .section-head {
  max-width: 720px;
  margin-bottom: 52px;
}

.dotnet-circle-features__title {
  font-size: clamp(1rem, 2.2vw, 1.35rem) !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.35 !important;
  margin-bottom: 20px !important;
}

.dotnet-circle-features__title::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  margin: 18px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.9), rgba(167, 139, 250, 0.9));
}

.dotnet-circle-features__lead {
  font-size: 16px !important;
  line-height: 1.75 !important;
  color: var(--text-2) !important;
  margin-top: 8px;
}

.dotnet-circle-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: clamp(16px, 3vw, 24px);
  max-width: 1080px;
  margin: 0 auto;
}

.dotnet-circle {
  width: 152px;
  height: 152px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 14px;
  text-align: center;
  flex: 0 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.dotnet-circle:hover {
  transform: translateY(-5px);
  border-color: var(--border-acc);
  background: var(--surface-h);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .dotnet-circle {
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .dotnet-circle:hover {
  box-shadow: 0 18px 44px rgba(99, 102, 241, 0.12);
}

.dotnet-circle__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
  color: var(--text-2);
  transition: color 0.25s ease, transform 0.25s ease;
}

.dotnet-circle:hover .dotnet-circle__icon {
  color: #60a5fa;
  transform: scale(1.06);
}

[data-theme="light"] .dotnet-circle:hover .dotnet-circle__icon {
  color: #6366f1;
}

.dotnet-circle__icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dotnet-circle__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.25;
  color: var(--text);
  max-width: 118px;
}

@media (max-width: 640px) {
  .dotnet-circle {
    width: 132px;
    height: 132px;
    padding: 16px 10px;
  }

  .dotnet-circle__icon {
    width: 38px;
    height: 38px;
  }

  .dotnet-circle__label {
    font-size: 10px;
    max-width: 104px;
  }
}

/* ══════════════════════════════════════════════════════════
   TECH PAGES — “Where we deliver” industries grid
══════════════════════════════════════════════════════════ */
.tech-industries-served {
  background: var(--bg);
  padding: 88px 0 100px;
}

.tech-industries-served .section-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.tech-industries-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  max-width: 1120px;
  margin: 0 auto;
}

.tech-industries-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  padding: 32px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 172px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  cursor: default;
}

.tech-industries-card:hover {
  border-color: rgba(59, 130, 246, 0.45);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25);
}

[data-theme="light"] .tech-industries-card {
  background: var(--surface);
  border-color: var(--border);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .tech-industries-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
}

.tech-industries-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--text);
}

[data-theme="dark"] .tech-industries-icon {
  color: #f8fafc;
}

.tech-industries-icon svg {
  width: 40px;
  height: 40px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tech-industries-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}

@media (max-width: 900px) {
  .tech-industries-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 560px) {
  .tech-industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .tech-industries-card {
    min-height: 148px;
    padding: 24px 12px;
  }

  .tech-industries-icon svg {
    width: 34px;
    height: 34px;
  }
}

/* ══════════════════════════════════════════════════════════
   INDUSTRIES SERVED
══════════════════════════════════════════════════════════ */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
}

.industry-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 34px 22px;
  text-align: center;
  transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
  cursor: default;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.industry-card:hover {
  border-color: rgba(59, 130, 246, 0.55);
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
}

.industry-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.industry-icon svg {
  width: 28px;
  height: 28px;
}

.industry-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

@media (max-width: 900px) {
  .industry-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .industry-card {
    padding: 24px 16px;
  }
}

/* ══════════════════════════════════════════════════════════
   BLOG / INSIGHTS
══════════════════════════════════════════════════════════ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all .3s;
}

.blog-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(99, 102, 241, .12);
}

.blog-card-accent {
  height: 6px;
  background: var(--g1);
}

.blog-card:nth-child(2) .blog-card-accent {
  background: var(--g3);
}

.blog-card-body {
  padding: 28px 28px 24px;
}

.blog-card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--blue);
  background: rgba(99, 102, 241, .1);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.blog-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
  color: var(--text);
}

.blog-card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 18px;
}

.blog-card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s;
}

.blog-card-link:hover {
  gap: 10px;
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════════════════════
   BUSINESS PARTNERS
══════════════════════════════════════════════════════════ */
.partners-row {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.partner-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 40px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all .3s;
  text-decoration: none;
  color: var(--text);
}

.partner-card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, .1);
}

.partner-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.partner-name {
  font-weight: 700;
  font-size: 16px;
}

.partner-url {
  font-size: 12px;
  color: var(--text-secondary);
}

/* ══════════════════════════════════════════════════════════
   CAREER PAGE
══════════════════════════════════════════════════════════ */
.career-hero-note {
  max-width: 560px;
  margin: 0 auto 24px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, .88);
}

.career-intro-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}

.career-intro-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 32px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .04);
}

.career-intro-card p {
  margin: 0 0 14px;
  color: var(--text-secondary);
  line-height: 1.75;
  font-size: 15px;
}

.career-intro-card p:last-child {
  margin-bottom: 0;
}

.career-intro-aside {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.career-stat-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
}

.career-stat-num {
  font-weight: 800;
  font-size: 15px;
  color: var(--blue);
  min-width: 72px;
}

.career-stat-txt {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.career-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.career-role-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 22px 20px;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}

.career-role-card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(99, 102, 241, .1);
}

.career-role-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--g1), var(--g3));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  margin-bottom: 14px;
}

.career-role-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--text);
  line-height: 1.35;
}

.career-role-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.career-role-more {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
}

.career-details {
  max-width: 900px;
  margin: 0 auto 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.career-details summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  user-select: none;
}

.career-details summary::-webkit-details-marker {
  display: none;
}

.career-details[open] summary {
  border-bottom: 1px solid var(--border);
}

.career-details-apply a {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(99, 102, 241, .1);
  transition: background .2s;
}

.career-details-apply a:hover {
  background: rgba(99, 102, 241, .18);
}

.career-details-body {
  padding: 22px 24px 26px;
}

.career-details-body h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--blue);
  margin: 20px 0 10px;
}

.career-details-body h4:first-child {
  margin-top: 0;
}

.career-details-body p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.career-list {
  margin: 0 0 8px;
  padding-left: 20px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.65;
}

.career-list li {
  margin-bottom: 6px;
}

.career-apply-hint {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0 0 18px;
  line-height: 1.55;
}

.career-induction {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
  padding: 8px 0 0;
}

.career-induction p {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0 0 18px;
  line-height: 1.65;
}

.career-induction-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

@media (max-width: 992px) {
  .career-intro-grid {
    grid-template-columns: 1fr;
  }

  .career-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .career-card-grid {
    grid-template-columns: 1fr;
  }

  .career-details summary {
    flex-wrap: wrap;
  }
}

/* ══════════════════════════════════════════════════════════
   OUR CLIENTS PAGE (Pirotan-style layout, Shine branding)
══════════════════════════════════════════════════════════ */
.clients-hero-lead {
  max-width: 520px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, .88);
}

.clients-quote-section {
  padding: 48px 0 24px;
}

.clients-pullquote {
  margin: 0;
  padding: 0;
  border: none;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.clients-pullquote p {
  margin: 0;
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.75;
  color: var(--text-secondary);
}

/* Client logo grid (static <img> list, bento-style) */
.clients-logo-showcase {
  margin-top: 12px;
  padding-bottom: 8px;
}

.clients-logo-bento {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(104px, auto);
}

.clients-logo-item {
  margin: 0;
}

.clients-logo-item--wide {
  grid-column: span 2;
}

.clients-logo-item--tall {
  grid-row: span 2;
}

.clients-logo-card {
  margin: 0;
  height: 100%;
}

.clients-logo-frame {
  height: 100%;
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 24px;
  background: var(--card);
  border-radius: 20px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), box-shadow .28s ease, border-color .25s ease;
}

.clients-logo-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 70% at 15% -10%, rgba(99, 102, 241, .14), transparent 52%),
    radial-gradient(ellipse 60% 50% at 100% 100%, rgba(34, 211, 238, .08), transparent 45%);
  pointer-events: none;
  opacity: .9;
}

.clients-logo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(99, 102, 241, .35), transparent 40%, rgba(34, 211, 238, .2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s ease;
}

.clients-logo-item:hover .clients-logo-frame::after {
  opacity: 1;
}

.clients-logo-item:hover .clients-logo-frame {
  transform: translateY(-8px);
  box-shadow: 0 22px 48px rgba(99, 102, 241, .14);
  border-color: rgba(99, 102, 241, .35);
}

.clients-logo-frame img {
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 52px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: grayscale(0.15) contrast(1.02);
  opacity: .94;
  transition: filter .25s ease, opacity .25s ease, transform .28s ease;
}

.clients-logo-item--wide .clients-logo-frame {
  min-height: 120px;
}

.clients-logo-item--wide .clients-logo-frame img {
  max-height: 64px;
}

.clients-logo-item--tall .clients-logo-frame {
  min-height: 0;
}

.clients-logo-item--tall .clients-logo-frame img {
  max-height: 72px;
}

.clients-logo-item:hover .clients-logo-frame img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.05);
}

@media (max-width: 1100px) {
  .clients-logo-bento {
    grid-template-columns: repeat(3, 1fr);
  }

  .clients-logo-item--wide {
    grid-column: span 3;
  }

  .clients-logo-item--tall {
    grid-row: span 1;
  }
}

@media (max-width: 720px) {
  .clients-logo-bento {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .clients-logo-item--wide {
    grid-column: span 2;
  }
}

@media (max-width: 420px) {
  .clients-logo-bento {
    grid-template-columns: 1fr;
  }

  .clients-logo-item--wide {
    grid-column: span 1;
  }
}

.clients-connect-section {
  padding: 72px 0 80px;
}

.clients-connect-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.clients-connect-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 14px;
  color: var(--text);
}

.clients-connect-head p {
  margin: 0;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.clients-connect-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.clients-connect-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 26px;
  text-align: center;
  transition: border-color .2s, box-shadow .2s;
}

.clients-connect-card:hover {
  border-color: rgba(99, 102, 241, .35);
  box-shadow: 0 12px 36px rgba(99, 102, 241, .08);
}

.clients-connect-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--blue);
  margin-bottom: 10px;
}

.clients-connect-email {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  margin-bottom: 18px;
  word-break: break-all;
}

.clients-connect-email:hover {
  color: var(--blue);
}

.clients-connect-btn {
  margin: 0 auto;
}

@media (max-width: 640px) {
  .clients-connect-grid {
    grid-template-columns: 1fr;
  }

  .clients-quote-section {
    padding: 32px 0 16px;
  }
}

/* ══════════════════════════════════════════════════════════
   GLOBAL RESPONSIVE — all pages (mobile / small tablets)
══════════════════════════════════════════════════════════ */

.page-banner .breadcrumb {
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 6px;
  max-width: 100%;
  padding-left: 4px;
  padding-right: 4px;
}

.page-banner .breadcrumb svg {
  flex-shrink: 0;
}

.contact-layout .contact-form-wrap,
.contact-layout input,
.contact-layout textarea,
.contact-layout select,
.form-grid-2 > * {
  min-width: 0;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .footer-certs {
    flex-wrap: wrap;
    justify-content: center;
  }

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

@media (max-width: 1024px) {
  footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .contact-layout {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 520px) {
  .prog-label {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .prog-label span:last-child {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .display {
    letter-spacing: -1px;
  }

  .hero h1 {
    font-size: clamp(34px, 9vw, 52px);
  }

  .hero-badge {
    font-size: 11px;
    padding: 8px 14px;
    max-width: 100%;
    line-height: 1.45;
  }

  section {
    padding: 56px 0;
  }

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

  .wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .nav-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .page-banner h1 {
    font-size: clamp(30px, 9vw, 48px);
  }

  .cta-banner {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 72px;
    width: calc(100% - 24px);
    max-width: 900px;
    padding: 32px 18px 36px;
    border-radius: var(--r-xl);
  }

  .cta-banner p {
    font-size: 16px;
  }

  footer {
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 56px;
  }

  .contact-layout {
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 72px;
  }

  .tech-grid {
    grid-template-columns: 1fr;
  }

  .nav-logo-img {
    height: 48px;
  }

  .srv-d-visual {
    padding: 24px 20px;
  }

  .srv-inner-feature {
    padding: 24px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}