:root {
  --ink: #0b1e3d;
  --primary: #2563eb;
  --accent: #38bdf8;
  --white: #ffffff;
  --mist: #f1f5fb;
  --line: #e2e9f5;
  --slate: #5b6b85;
  --slate-dark: #33415c;
  --grad-brand: linear-gradient(135deg, var(--ink) 0%, var(--primary) 55%, var(--accent) 100%);
  --shadow-sm: 0 1px 2px rgba(11, 30, 61, .06), 0 1px 1px rgba(11, 30, 61, .04);
  --shadow-md: 0 12px 28px -8px rgba(11, 30, 61, .18);
  --shadow-lg: 0 24px 60px -12px rgba(11, 30, 61, .28);
  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--slate-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  color: var(--ink);
  margin: 0;
  letter-spacing: -.01em;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, .18);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: .95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  font-family: "Inter", sans-serif;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: #1d4ed8; transform: translateY(-2px); }
.btn-ghost-light { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }


.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-logo--desktop { height: 42px; width: auto; }
.brand-text { min-width: 0; }
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: "Space Grotesk", sans-serif; font-size: 1.08rem; color: var(--ink); font-weight: 700; }
.brand-text span { font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); font-weight: 600; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-logo--desktop {
  height: 38px;
  width: auto;
  object-fit: contain;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-text strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 700;
}
.brand-text span {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav ul {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.main-nav a {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--slate-dark);
  position: relative;
  padding: 6px 8px;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  width: 0;
  transition: width 0.2s ease;
}
.main-nav a:hover::after, .main-nav a.active::after {
  width: calc(100% - 16px);
}
.main-nav a:hover, .main-nav a.active {
  color: var(--primary);
}
.mobile-nav-arrow {
  display: none;
}
.mobile-menu-cta {
  display: none;
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.menu-toggle {
  display: none;
  background: #f1f5f9;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s ease;
}
.menu-toggle:hover, .menu-toggle[aria-expanded="true"] {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}
.lang-switcher {
  position: relative;
}
.lang-switcher-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-dark);
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.lang-switcher-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}
.lang-switcher-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 150px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  list-style: none;
  margin: 0;
  padding: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 1100;
}
.lang-switcher-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.lang-switcher-menu li a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--slate-dark);
  text-decoration: none;
}
.lang-switcher-menu li a:hover {
  background: var(--mist);
  color: var(--primary);
}
.lang-switcher-menu li a.active {
  color: var(--primary);
  font-weight: 700;
}

/* Laptop Screen Optimizations (921px to 1200px) */
@media (min-width: 921px) and (max-width: 1200px) {
  .site-header .wrap {
    height: 70px;
  }
  .main-nav {
    gap: 16px;
  }
  .main-nav ul {
    gap: 12px;
  }
  .main-nav a {
    font-size: 0.86rem;
    padding: 4px 6px;
  }
  .brand-logo--desktop {
    height: 34px;
  }
  .brand-text strong {
    font-size: 0.98rem;
  }
  .brand-text span {
    font-size: 0.6rem;
  }
  .desktop-only-btn {
    padding: 9px 18px;
    font-size: 0.88rem;
  }
}

.hero {
  position: relative;
  background: var(--grad-brand);
  color: #fff;
  padding: 168px 0 120px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 18% 22%, rgba(56, 189, 248, .35) 0, transparent 38%),
    radial-gradient(circle at 86% 14%, rgba(56, 189, 248, .22) 0, transparent 42%),
    radial-gradient(circle at 78% 88%, rgba(37, 99, 235, .4) 0, transparent 40%);
  z-index: -2;
}
.circuit-svg { position: absolute; inset: 0; z-index: -1; opacity: .35; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 4.4vw, 3.6rem); line-height: 1.08; font-weight: 700; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { color: rgba(255, 255, 255, .82); font-size: 1.08rem; max-width: 500px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.hero-microtrust { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: rgba(255, 255, 255, .78); margin-bottom: 40px; font-weight: 500; }
.hero-microtrust i { color: #34d399; }
.hero-stats { display: flex; gap: 38px; flex-wrap: wrap; }
.hero-stats div { border-left: 2px solid rgba(255, 255, 255, .25); padding-left: 14px; }
.hero-stats strong { display: block; font-family: "Space Grotesk", sans-serif; font-size: 1.6rem; color: #fff; }
.hero-stats span { font-size: .8rem; color: rgba(255, 255, 255, .65); }
.hero-card {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius-lg);
  padding: 30px;
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-lg);
}
.hero-card-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.hero-card-row:last-child { border-bottom: none; }
.hero-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
}
.hero-card-row h4 { color: #fff; font-size: .95rem; margin-bottom: 2px; }
.hero-card-row p { color: rgba(255, 255, 255, .62); font-size: .82rem; margin: 0; }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: #34d399; margin-left: auto; animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); }
  70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}
.wave-divider { display: block; width: 100%; height: 64px; margin-bottom: -1px; }

.offer-banner { background: #fff; }
.offer-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(37, 99, 235, .06), rgba(56, 189, 248, .1));
  border: 1px solid rgba(37, 99, 235, .18);
  border-radius: var(--radius-lg);
  padding: 34px 38px;
  margin-top: -46px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-md);
}
.offer-banner-text { display: flex; align-items: flex-start; gap: 20px; max-width: 680px; }
.offer-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  flex-shrink: 0;
  background: var(--grad-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  animation: float-y 3.2s ease-in-out infinite;
}
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
.offer-banner-text h3 { font-size: 1.15rem; margin-bottom: 6px; }
.offer-banner-text p { color: var(--slate); font-size: .92rem; margin: 0; }
.offer-banner-cta { flex-shrink: 0; }

.logo-strip { padding: 46px 0; background: #fff; border-bottom: 1px solid var(--line); }
.logo-strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.logo-strip p { font-size: .82rem; color: var(--slate); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; white-space: nowrap; }
.logo-strip .tags { display: flex; gap: 26px; flex-wrap: wrap; }
.logo-strip .tags span { font-family: "Space Grotesk", sans-serif; font-weight: 600; color: var(--slate); opacity: .55; font-size: 1.02rem; }

section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 16px; }
.section-head p { color: var(--slate); font-size: 1.02rem; }
.bg-mist { background: var(--mist); }

.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: center; }
.about-visual { position: relative; }
.about-panel { background: var(--grad-brand); border-radius: var(--radius-lg); padding: 42px; color: #fff; box-shadow: var(--shadow-md); }
.about-panel h3 { color: #fff; font-size: 1.3rem; margin-bottom: 12px; }
.about-panel p { color: rgba(255, 255, 255, .78); font-size: .94rem; }
.badge-float {
  position: absolute;
  bottom: -26px;
  right: -18px;
  background: #fff;
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
}
.badge-float .num { font-family: "Space Grotesk", sans-serif; font-size: 1.5rem; color: var(--primary); font-weight: 700; }
.badge-float .lbl { font-size: .78rem; color: var(--slate); max-width: 110px; }
.about-points { list-style: none; margin: 28px 0 32px; padding: 0; display: grid; gap: 16px; }
.about-points li { display: flex; gap: 14px; align-items: flex-start; font-size: .96rem; color: var(--slate-dark); }
.about-points i {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  flex-shrink: 0;
  background: rgba(37, 99, 235, .1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  margin-top: 2px;
}

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card, .team-card, .testi-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card { padding: 32px 28px; position: relative; overflow: hidden; }
.service-card:hover, .team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(37, 99, 235, .12), rgba(56, 189, 248, .16));
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.service-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.service-card p { color: var(--slate); font-size: .92rem; margin-bottom: 18px; }
.service-card .more { font-size: .86rem; font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: 6px; }
.service-card:hover .more i { transform: translateX(3px); }

.team-highlight {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px 44px;
  margin-bottom: 48px;
}
.team-highlight-num { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 3.4rem; color: var(--primary); flex-shrink: 0; min-width: 120px; }
.team-highlight-text h3 { font-size: 1.15rem; margin-bottom: 8px; }
.team-highlight-text p { color: var(--slate); font-size: .94rem; margin: 0; max-width: 520px; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 40px; }
.team-card { padding: 28px 22px; text-align: center; }
.team-avatar, .testi-avatar {
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}
.team-avatar { width: 54px; height: 54px; margin: 0 auto 18px; font-size: .95rem; }
.team-card h4 { font-size: 1rem; margin-bottom: 8px; }
.team-card p { font-size: .86rem; color: var(--slate); margin: 0; }
.team-trust-line { text-align: center; max-width: 640px; margin: 0 auto; font-size: 1rem; color: var(--ink); font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 10px; }
.team-trust-line i { color: var(--primary); font-size: 1.2rem; }

.process-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process-row::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px);
}
.process-step { position: relative; padding: 0 16px; text-align: left; }
.step-num {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.process-step h4 { font-size: 1.02rem; margin-bottom: 8px; }
.process-step p { font-size: .88rem; color: var(--slate); margin: 0; }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: var(--ink);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
}
.work-visual {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .86);
  font-size: 3rem;
  background:
    radial-gradient(circle at 16% 18%, rgba(56, 189, 248, .35), transparent 26%),
    linear-gradient(135deg, #0b1e3d 0%, #2563eb 60%, #38bdf8 100%);
  transition: transform .4s ease;
}
.work-card:hover .work-visual { transform: scale(1.06); }
.work-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  background: linear-gradient(180deg, transparent 35%, rgba(11, 30, 61, .92) 100%);
}
.work-overlay span { color: var(--accent); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.work-overlay h4 { color: #fff; font-size: 1.05rem; margin-top: 4px; }

.stats-band {
  background: var(--grad-brand);
  border-radius: var(--radius-lg);
  padding: 54px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  color: #fff;
}
.stats-band .stat { text-align: center; border-right: 1px solid rgba(255, 255, 255, .18); }
.stats-band .stat:last-child { border-right: none; }
.stats-band strong { display: block; font-family: "Space Grotesk", sans-serif; font-size: 2.2rem; margin-bottom: 6px; }
.stats-band span { font-size: .85rem; color: rgba(255, 255, 255, .75); }

.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testi-card { padding: 30px; position: relative; background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.quote-mark { color: var(--accent); font-size: 2.4rem; font-family: "Space Grotesk", sans-serif; line-height: .6; display: block; margin-bottom: 10px; }
.testi-video-wrap { width: 100%; border-radius: 12px; overflow: hidden; margin-bottom: 16px; background: #0f172a; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12); aspect-ratio: 16 / 9; }
.testi-video-wrap video { width: 100%; height: 100%; object-fit: cover; display: block; }
.testi-card p { color: var(--slate-dark); font-size: .95rem; margin-bottom: 22px; flex-grow: 1; }
.testi-person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi-avatar { width: 42px; height: 42px; font-size: .9rem; flex-shrink: 0; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.testi-person strong { display: block; font-size: .9rem; color: var(--ink); }
.testi-person span { font-size: .78rem; color: var(--slate); }

.cta-band {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band::before { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(56, 189, 248, .35), transparent 70%); }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.1rem); max-width: 480px; }
.cta-band p { color: rgba(255, 255, 255, .65); margin-top: 10px; font-size: .95rem; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.contact-card input, .contact-card textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
}
.contact-card textarea { margin-bottom: 18px; resize: vertical; }
.alert {
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 20px;
  font-weight: 600;
}
.alert-success { color: #065f46; background: #d1fae5; border: 1px solid #a7f3d0; }
.alert-error { color: #991b1b; background: #fee2e2; border: 1px solid #fecaca; }

footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 46px; padding-bottom: 50px; }
.footer-brand .brand-mark { margin-bottom: 18px; }
.footer-brand p { font-size: .9rem; color: rgba(255, 255, 255, .55); max-width: 280px; }
.footer-col h5 { color: #fff; font-size: .92rem; margin-bottom: 18px; font-family: "Space Grotesk", sans-serif; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer-col a { font-size: .88rem; color: rgba(255, 255, 255, .6); transition: color .15s ease; }
.footer-col a:hover { color: var(--accent); }
.footer-contact li { display: flex; gap: 10px; font-size: .88rem; color: rgba(255, 255, 255, .6); align-items: flex-start; }
.footer-contact i { color: var(--accent); margin-top: 3px; }
.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-row a {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .95rem;
  transition: background .15s ease;
}
.social-row a:hover { background: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; display: flex; justify-content: space-between; font-size: .82rem; color: rgba(255, 255, 255, .45); flex-wrap: wrap; gap: 10px; }

@media (max-width: 980px) {
  .hero-grid, .about-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .services-grid, .team-grid, .work-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .process-row { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
  .process-row::before { display: none; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .stats-band .stat { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, .18); padding-bottom: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  .site-header .wrap {
    height: 64px;
  }
  .brand-text {
    display: none;
  }
  .brand-logo--desktop {
    height: 36px;
  }
  .desktop-only-btn {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .main-nav ul {
    position: fixed;
    top: 68px;
    left: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 16px 40px -10px rgba(11, 30, 61, 0.25);
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 1050;
  }
  .main-nav ul.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .main-nav ul li {
    width: 100%;
    border-bottom: none;
  }
  .main-nav ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--slate-dark);
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
  }
  .main-nav ul li a::after {
    display: none;
  }
  .main-nav ul li a:hover, .main-nav ul li a.active {
    background: #eff6ff;
    color: var(--primary);
    font-weight: 700;
  }
  .mobile-nav-arrow {
    display: inline-block;
    font-size: 0.8rem;
    opacity: 0.5;
  }
  .mobile-menu-cta {
    display: block;
  }
}

@media (max-width: 640px) {
  .services-grid, .work-grid, .team-grid, .stats-band, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 42px 28px; }
  section { padding: 70px 0; }
  .logo-strip .wrap { justify-content: center; text-align: center; }
  .team-highlight { flex-direction: column; text-align: center; padding: 30px; }
  .offer-banner-inner { margin-top: -30px; padding: 26px; }
  .offer-banner-cta { width: 100%; }
}

.inner-hero { padding-bottom: 90px; }
.inner-hero .wrap { padding-top: 20px; }
.inner-hero h1 { max-width: 780px; }
.inner-hero .lead { max-width: 720px; }
.pagination { display: flex; gap: 8px; list-style: none; padding: 28px 0 0; flex-wrap: wrap; }
.pagination a, .pagination span { display: inline-flex; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); }

.admin-body {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px 1fr;
  background: var(--mist);
}
.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: var(--ink);
  color: #fff;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.admin-brand { color: #fff; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.2rem; }
.admin-sidebar nav { display: grid; gap: 8px; }
.admin-sidebar nav a, .admin-sidebar button {
  width: 100%;
  text-align: left;
  color: rgba(255, 255, 255, .78);
  background: rgba(255, 255, 255, .06);
  border: 0;
  border-radius: 8px;
  padding: 11px 12px;
  cursor: pointer;
  font: inherit;
}
.admin-sidebar nav a:hover, .admin-sidebar button:hover { color: #fff; background: var(--primary); }
.admin-main { padding: 34px; min-width: 0; }
.admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.admin-head h1 { font-size: 2rem; }
.admin-head p { color: var(--slate); margin: 6px 0 0; }
.admin-panel, .admin-card, .admin-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.admin-panel { padding: 24px; overflow-x: auto; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 24px; }
.admin-tile { padding: 22px; }
.admin-tile strong { display: block; font-size: 2rem; color: var(--primary); }
.admin-tile span { color: var(--slate); }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table td, .admin-table th { padding: 14px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.admin-table span { color: var(--slate); font-size: .85rem; }
.admin-table a { color: var(--primary); font-weight: 700; }
.admin-table button { border: 0; background: #fee2e2; color: #991b1b; border-radius: 8px; padding: 8px 10px; cursor: pointer; }
.admin-form { display: grid; gap: 16px; max-width: 920px; }
.admin-form label, .admin-card label { display: grid; gap: 7px; color: var(--ink); font-weight: 700; }
.admin-form input, .admin-form textarea, .admin-card input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  color: var(--ink);
}
.check-row { display: flex !important; align-items: center; gap: 10px !important; }
.check-row input { width: auto !important; }
.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-brand);
  padding: 24px;
}
.admin-card { width: min(440px, 100%); padding: 32px; display: grid; gap: 16px; }
.admin-card h1 { font-size: 2rem; }
.admin-card p { color: var(--slate); margin: 0; }

@media (max-width: 900px) {
  .admin-body { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; height: auto; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .admin-main { padding: 20px; }
  .admin-head { align-items: flex-start; flex-direction: column; }
  .admin-stats { grid-template-columns: 1fr; }
}

.project-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #0284c7 100%);
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.project-btn i {
    font-size: 1rem;
    line-height: 1;
    transition: transform 0.25s ease;
}

.project-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.project-btn:hover::before {
    left: 100%;
}

.project-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #0369a1 100%);
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

.project-btn:hover i {
    transform: translateX(3px);
}

.project-btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.3);
}

/* Tablet */
@media (max-width: 992px) {
    .project-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .project-btn {
        width: 100%;
        max-width: 300px;
        padding: 11px 22px;
        font-size: 0.9rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .project-btn {
        width: 100%;
        max-width: 100%;
        padding: 10px 18px;
        font-size: 0.88rem;
        border-radius: 40px;
    }
}



/* career */
.career-section {
    padding: 100px 0;
    background: #f8fbff;
}

.career-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.career-tag {
    display: inline-block;
    background: #eaf2ff;
    color: #0056ff;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.career-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #111;
}

.career-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
}

.career-content ul {
    list-style: none;
    padding: 0;
}

.career-content ul li {
    margin-bottom: 15px;
    color: #333;
    font-weight: 500;
}

.career-form-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,.08);
}

.career-form-card h3 {
    font-size: 28px;
    margin-bottom: 25px;
    color: #111;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-row input {
    flex: 1;
}

.career-form-card input,
.career-form-card textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    margin-bottom: 15px;
    transition: .3s;
}

.career-form-card input:focus,
.career-form-card textarea:focus {
    border-color: #0056ff;
    box-shadow: 0 0 0 4px rgba(0,86,255,.1);
}

.file-upload label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.apply-btn {
    width: 100%;
    border: none;
    background: linear-gradient(135deg,#0056ff,#00a2ff);
    color: #fff;
    padding: 15px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
}

.apply-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,86,255,.3);
}

/* Tablet */
@media (max-width: 992px) {

    .career-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .career-content h2 {
        font-size: 34px;
    }

    .career-form-card {
        padding: 30px;
    }
}

/* Mobile */
@media (max-width: 768px) {

    .career-section {
        padding: 70px 0;
    }

    .career-content h2 {
        font-size: 28px;
    }

    .career-form-card {
        padding: 25px;
        border-radius: 15px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .career-form-card input,
    .career-form-card textarea {
        padding: 12px 15px;
        font-size: 14px;
    }

    .apply-btn {
        padding: 14px;
        font-size: 15px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {

    .career-content h2 {
        font-size: 24px;
    }

    .career-form-card {
        padding: 20px;
    }

    .career-tag {
        font-size: 12px;
    }
}

/* ===== Legal pages (Privacy Policy, Terms & Conditions) ===== */
.legal-body { line-height: 1.8; color: var(--slate-dark); }
.legal-body h2 {
  font-size: 1.25rem; margin-top: 42px; margin-bottom: 12px;
  color: var(--ink); padding-bottom: 8px;
  border-bottom: 2px solid var(--line);
}
.legal-body p { margin-bottom: 14px; color: var(--slate); }
.legal-body ul { margin: 0 0 14px 20px; color: var(--slate); }
.legal-body ul li { margin-bottom: 6px; }
.legal-body a { color: var(--primary); text-decoration: underline; }
.legal-body address { font-style: normal; line-height: 1.9; color: var(--slate); margin-top: 10px; }

@media (max-width: 640px) {
  .services-grid, .work-grid, .team-grid, .stats-band, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 42px 28px; }
  section { padding: 70px 0; }
  .logo-strip .wrap { justify-content: center; text-align: center; }
  .team-highlight { flex-direction: column; text-align: center; padding: 30px; }
  .offer-banner-inner { margin-top: -30px; padding: 26px; }
  .offer-banner-cta { width: 100%; }

  /* ↓ ADD THESE TWO LINES */
  .badge-float { display: none; }
  .about-visual { overflow: hidden; }
}
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--slate-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;   /* ← ADD THIS LINE */
}

/* ===== Pagination ===== */
.pagination {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 36px 0 0;
  list-style: none;
  margin: 0;
}
.pagination-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--slate-dark);
  font-weight: 600;
  font-size: .88rem;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
  text-decoration: none;
}
.pagination-item:hover:not(.disabled):not(.active) {
  border-color: var(--primary);
  color: var(--primary);
}
.pagination-item.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.pagination-item.disabled {
  opacity: .35;
  cursor: default;
}

/* Agentic AI hub and detail pages */
.ai-hero {
  padding: 156px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 40%, rgba(56, 189, 248, .18), transparent 28%),
    radial-gradient(circle at 15% 25%, rgba(37, 99, 235, .10), transparent 25%),
    linear-gradient(180deg, #f8fbff 0%, #fff 100%);
}
.ai-hero-grid, .ai-detail-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 72px; align-items: center; }
.ai-hero h1, .ai-detail-hero h1 { font-size: clamp(2.6rem, 5.5vw, 5rem); line-height: 1.03; letter-spacing: -.045em; max-width: 800px; }
.ai-hero p, .ai-detail-hero p { color: var(--slate); font-size: 1.12rem; max-width: 680px; margin: 24px 0 30px; }
.ai-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ai-trust-row { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 32px; color: var(--slate); font-size: .82rem; font-weight: 600; }
.ai-trust-row i { color: var(--primary); margin-right: 5px; }
.ai-orbit { width: min(410px, 90vw); aspect-ratio: 1; margin: auto; position: relative; border: 1px solid rgba(37, 99, 235, .18); border-radius: 50%; }
.ai-orbit::before, .ai-orbit::after { content: ""; position: absolute; border: 1px dashed rgba(37, 99, 235, .2); border-radius: 50%; inset: 14%; }
.ai-orbit::after { inset: -10%; border-style: solid; opacity: .35; }
.ai-orbit-core { position: absolute; inset: 32%; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 32%; color: #fff; background: var(--grad-brand); box-shadow: 0 24px 60px rgba(37, 99, 235, .32); transform: rotate(8deg); }
.ai-orbit-core i { font-size: 2rem; }
.ai-orbit-core strong { font: 700 1.6rem "Space Grotesk", sans-serif; transform: rotate(-8deg); }
.orbit-node { position: absolute; width: 64px; height: 64px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.92); box-shadow: var(--shadow-md); color: var(--primary); font-size: 1.4rem; }
.node-call { left: -3%; top: 42%; }.node-chat { right: 4%; top: 5%; }.node-doc { right: -3%; bottom: 22%; }.node-data { left: 21%; bottom: -4%; }

.ai-solution-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ai-solution-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ai-card { position: relative; display: flex; flex-direction: column; min-height: 390px; padding: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease; }
.ai-card::before { content: ""; position: absolute; width: 180px; height: 180px; right: -80px; top: -90px; border-radius: 50%; background: var(--ai-accent); opacity: .08; }
.ai-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.ai-card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.ai-card-icon, .ai-detail-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 16px; color: var(--ai-accent); font-size: 1.5rem; background: color-mix(in srgb, var(--ai-accent) 12%, white); }
.ai-badge { border-radius: 99px; padding: 5px 10px; background: #eff6ff; color: var(--primary); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.ai-category { display: block; color: var(--ai-accent, var(--primary)); margin: 20px 0 7px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.ai-card h3 { font-size: 1.35rem; }
.ai-card > p { color: var(--slate); margin: 10px 0 18px; font-size: .92rem; }
.ai-card ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 7px; color: var(--slate-dark); font-size: .84rem; }
.ai-card li { display: flex; gap: 8px; }.ai-card li i { color: var(--ai-accent); }
.ai-card-link { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; color: var(--ai-accent); font-size: .87rem; font-weight: 700; }
.ai-card-link:hover i { transform: translate(2px, -2px); }

.ai-cta-section { padding: 30px 0 96px; }
.ai-cta { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 46px 52px; border-radius: 24px; color: #fff; background: var(--grad-brand); box-shadow: var(--shadow-lg); }
.ai-cta h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.5rem); }.ai-cta p { max-width: 700px; margin: 8px 0 0; color: rgba(255,255,255,.75); }

.ai-detail-hero { --ai-accent: var(--primary); padding: 160px 0 94px; background: linear-gradient(135deg, color-mix(in srgb, var(--ai-accent) 8%, white), #fff 62%); }
.ai-detail-hero .ai-category { margin-top: 20px; }
.ai-back { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 34px; color: var(--slate); font-size: .82rem; font-weight: 600; }
.ai-detail-visual { min-height: 360px; padding: 45px; display: flex; flex-direction: column; justify-content: flex-end; border: 1px solid color-mix(in srgb, var(--ai-accent) 20%, white); border-radius: 30px; background: linear-gradient(145deg, #fff, color-mix(in srgb, var(--ai-accent) 13%, white)); box-shadow: var(--shadow-lg); }
.ai-detail-visual .ai-detail-icon { width: 82px; height: 82px; font-size: 2rem; margin-bottom: auto; }
.ai-detail-visual small { color: var(--ai-accent); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.ai-detail-visual strong { margin-top: 8px; color: var(--ink); font: 700 1.8rem "Space Grotesk", sans-serif; }
.ai-signal { display: flex; align-items: center; gap: 5px; height: 50px; margin: 18px 0; }
.ai-signal span { width: 6px; border-radius: 5px; background: var(--ai-accent); opacity: .65; animation: ai-wave 1.2s ease-in-out infinite; }
.ai-signal span:nth-child(1), .ai-signal span:nth-child(5) { height: 18px; }.ai-signal span:nth-child(2), .ai-signal span:nth-child(4) { height: 38px; animation-delay: .15s; }.ai-signal span:nth-child(3) { height: 50px; animation-delay: .3s; }
@keyframes ai-wave { 50% { transform: scaleY(.45); opacity: 1; } }
.ai-content-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: start; }
.ai-copy h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); }.ai-rich-text { margin-top: 20px; color: var(--slate); font-size: 1.02rem; }
.ai-feature-panel { padding: 32px; border: 1px solid var(--line); border-radius: 20px; background: var(--mist); }
.ai-feature-panel h3 { margin-bottom: 20px; }.ai-feature-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ai-feature-panel li { display: flex; align-items: flex-start; gap: 11px; }.ai-feature-panel li i { color: var(--ai-accent, var(--primary)); margin-top: 2px; }
.ai-two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.ai-list-block ul { list-style: none; margin: 5px 0 0; padding: 0; display: grid; gap: 12px; }
.ai-list-block li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.ai-list-block li span { color: var(--primary); font: 700 .75rem "Space Grotesk", sans-serif; }
.admin-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 18px; }
.admin-checks { display: flex; gap: 24px; margin-bottom: 20px; }

@media (max-width: 920px) {
  .ai-hero-grid, .ai-detail-grid, .ai-content-grid { grid-template-columns: 1fr; }
  .ai-orbit { width: min(340px, 78vw); }
  .ai-solution-grid--three { grid-template-columns: 1fr 1fr; }
  .ai-detail-grid { gap: 45px; }
}
@media (max-width: 680px) {
  .ai-hero, .ai-detail-hero { padding-top: 126px; }
  .ai-solution-grid, .ai-solution-grid--three, .ai-two-columns { grid-template-columns: 1fr; }
  .ai-cta { align-items: flex-start; flex-direction: column; padding: 34px 26px; }
  .ai-card { min-height: 0; }
  .ai-detail-visual { min-height: 300px; padding: 30px; }
  .admin-form-grid { grid-template-columns: 1fr; }
}

/* Team Members Section */
.team-section {
  padding: 90px 0;
  background: var(--mist);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin-top: 50px;
}

.team-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  box-shadow: var(--shadow-sm);
}

.team-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.25);
}

.team-avatar-wrap {
  position: relative;
  width: 110px;
  height: 110px;
  margin: 0 auto 20px;
}

.team-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.28s ease;
}

.team-card:hover .team-avatar-img {
  transform: scale(1.05);
}

.team-avatar-initials {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.22);
}

.team-position-badge {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  background: #eff6ff;
  color: var(--primary);
  border: 1px solid rgba(37, 99, 235, 0.18);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.03em;
  box-shadow: var(--shadow-sm);
}

.team-info {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.team-name {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}

.team-bio {
  font-size: 0.86rem;
  color: var(--slate);
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.team-socials {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

.team-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  color: var(--slate);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.team-socials a:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
}

@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
  .team-section {
    padding: 60px 0;
  }
}

/* Portfolio Page Styling */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.pf-btn {
  padding: 10px 22px;
  border-radius: 30px;
  background: #ffffff;
  border: 1.5px solid var(--line);
  color: var(--slate);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}
.pf-btn:hover, .pf-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.portfolio-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.portfolio-card__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  position: relative;
  background: linear-gradient(135deg, #0b1e3d 0%, #2563eb 60%, #38bdf8 100%);
  overflow: hidden;
}
.portfolio-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.portfolio-card:hover .portfolio-card__img img {
  transform: scale(1.05);
}
.portfolio-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 3rem;
}
.portfolio-card__cat {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(11, 30, 61, 0.85);
  backdrop-filter: blur(6px);
  color: #38bdf8;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.portfolio-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.portfolio-card__body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.portfolio-card__body p {
  font-size: 0.9rem;
  color: var(--slate);
  margin: 0;
  line-height: 1.55;
}
@media (max-width: 991px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

