:root {
  color-scheme: light;
  --bg-0: #f6f8fc;
  --bg-1: #eef2ff;
  --surface: #ffffff;
  --surface-muted: #f1f5f9;
  --border: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.14);
  --text: #0f172a;
  --muted: #5b6478;
  --accent-blue: #2563eb;
  --accent-blue-strong: #1d4ed8;
  --accent-violet: #7c3aed;
  --accent-cyan: #0891b2;
  --gradient-main: linear-gradient(135deg, #2563eb, #7c3aed 65%, #0891b2);
  --shadow-sm: 0 8px 20px rgba(15, 23, 42, 0.06);
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  --radius-lg: 28px;
  --radius-md: 20px;
  --font-heading: "Manrope", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --sector: 37, 99, 235;
  --sector-2: 8, 145, 178;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-0);
  overflow-x: hidden;
}

.icon-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

/* ---------- ambient background ---------- */

.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-0), var(--bg-1) 55%, var(--bg-0));
}

.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  animation: drift 26s ease-in-out infinite alternate;
}

.bg-blob-a {
  width: 480px;
  height: 480px;
  top: -160px;
  right: -100px;
  background: radial-gradient(circle, #93c5fd, transparent 70%);
}

.bg-blob-b {
  width: 460px;
  height: 460px;
  top: 40%;
  left: -160px;
  background: radial-gradient(circle, #c4b5fd, transparent 70%);
  animation-delay: -12s;
}

@keyframes drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(30px, 40px) scale(1.1);
  }
}

/* ---------- shell ---------- */

.app-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 0;
}

.js-reveal-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.js-reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- header ---------- */

.topbar {
  position: sticky;
  top: 12px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 26px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  margin-right: auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
}

.brand-tag {
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.topnav a,
.nav-dropdown-toggle,
.nav-plain-link {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 14px;
  border-radius: 999px;
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font-body);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 180ms ease, background 180ms ease;
}

.topnav a:hover,
.nav-dropdown-toggle:hover,
.nav-plain-link:hover {
  color: var(--text);
  background: var(--surface-muted);
}

.topnav a.is-active {
  color: var(--accent-blue-strong);
  background: rgba(37, 99, 235, 0.1);
}

.icon-chevron {
  width: 14px;
  height: 14px;
  transition: transform 180ms ease;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 320px;
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown.is-open .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown:hover .icon-chevron,
.nav-dropdown.is-open .icon-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-panel a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.88rem;
}

.nav-dropdown-panel a:hover {
  background: var(--surface-muted);
}

.nav-dropdown-panel strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.92rem;
}

.nav-dropdown-panel span span {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.82rem;
}

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

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-muted);
  color: var(--text);
  cursor: pointer;
}

/* ---------- buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: none;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button .icon {
  width: 18px;
  height: 18px;
}

.button.primary {
  background: var(--gradient-main);
  color: white;
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.28);
}

.button.secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.button.secondary:hover {
  background: var(--surface-muted);
}

.button.small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.85rem;
}

/* ---------- pages ---------- */

.page {
  display: none;
}

.page.is-active {
  display: block;
  animation: pageFade 480ms ease both;
}

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

.page[data-accent="blue"] {
  --sector: 37, 99, 235;
  --sector-2: 8, 145, 178;
}

.page[data-accent="teal"] {
  --sector: 13, 148, 136;
  --sector-2: 5, 150, 105;
}

.page[data-accent="violet"] {
  --sector: 124, 58, 237;
  --sector-2: 219, 39, 119;
}

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 20px;
  padding: 20px 4px 10px;
}

.hero-copy {
  padding: 12px 0;
}

.eyebrow {
  margin: 0 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgb(var(--sector));
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 800;
}

.hero h2,
.section-heading h3 {
  margin: 0;
  line-height: 1.1;
  font-family: var(--font-heading);
}

.hero h2 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  max-width: 16ch;
  color: var(--text);
}

.lede {
  max-width: 58ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}

.hero-highlights li {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

/* ---------- hero visual (home) ---------- */

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 380px;
}

.hero-visual-svg {
  width: 100%;
  max-width: 420px;
}

.hero-visual-photo img {
  width: 100%;
  max-width: 460px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  font-weight: 700;
  font-size: 0.82rem;
  animation: floatCard 6s ease-in-out infinite;
}

.hero-float-1 {
  top: 6%;
  left: -4%;
  animation-delay: -1s;
}

.hero-float-2 {
  top: 42%;
  right: -8%;
  animation-delay: -3s;
}

.hero-float-3 {
  bottom: 4%;
  left: 6%;
  animation-delay: -5s;
}

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

/* ---------- hero panel (sector pages) ---------- */

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

.panel-card {
  padding: 26px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.panel-card.accent {
  background: linear-gradient(160deg, rgba(var(--sector), 0.95), rgba(var(--sector-2), 0.85));
  color: #f5f7ff;
  border: none;
}

.panel-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.panel-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1.28;
}

.panel-card p,
.section-text,
.feature-card p,
.contact-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.panel-card p {
  color: rgba(245, 247, 255, 0.92);
}

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

.stat-card {
  padding: 20px 14px;
  text-align: center;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.stat-card .feature-icon,
.stat-card .feature-icon-img {
  margin: 0 auto 10px;
}

.stat-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.85rem;
}

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

/* ---------- sections ---------- */

.content-section {
  margin-top: 20px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-lg);
}

.section-heading h3 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  max-width: 24ch;
}

.section-heading.centered {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 6px;
}

.section-heading.centered h3 {
  max-width: none;
}

.section-text {
  max-width: 72ch;
}

.section-text.centered {
  max-width: 640px;
  margin: 14px auto 0;
  text-align: center;
}

/* ---------- trust bar ---------- */

.trust-bar {
  margin-top: 8px;
  padding: 22px 0;
  text-align: center;
}

.trust-label {
  margin: 0 0 16px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 700;
}

.trust-strip span {
  min-height: 56px;
  font-size: 0.82rem;
  background: transparent;
  border: 1px dashed var(--border-strong);
  color: var(--muted);
  box-shadow: none;
}

.stat-band {
  background: var(--surface);
}

/* ---------- sector cards (home) ---------- */

.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.sector-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 26px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--text);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.sector-card[data-accent="blue"] {
  --sector: 37, 99, 235;
}

.sector-card[data-accent="teal"] {
  --sector: 13, 148, 136;
}

.sector-card[data-accent="violet"] {
  --sector: 124, 58, 237;
}

.sector-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--sector), 0.5);
  box-shadow: 0 20px 45px rgba(var(--sector), 0.16);
}

.sector-card h4 {
  margin: 6px 0 0;
  font-family: var(--font-heading);
  font-size: 1.15rem;
}

.sector-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.sector-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: rgb(var(--sector));
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
}

.sector-card-cta .icon {
  width: 16px;
  height: 16px;
  transition: transform 220ms ease;
}

.sector-card:hover .sector-card-cta .icon,
.project-card:hover .sector-card-cta .icon {
  transform: translateX(4px);
}

/* ---------- feature / card grid ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.feature-card {
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 220ms ease, border-color 220ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--sector), 0.4);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(var(--sector), 0.16), rgba(var(--sector-2), 0.1));
  color: rgb(var(--sector));
}

.feature-icon.small {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  margin-bottom: 0;
}

.feature-icon-img {
  display: inline-flex;
  width: 56px;
  height: 56px;
  margin-bottom: 14px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--surface);
}

.feature-icon-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-icon-img.small {
  width: 38px;
  height: 38px;
  margin-bottom: 0;
  border-radius: 11px;
}

.section-heading-icon {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 2px;
}

.section-heading-icon .eyebrow {
  margin: 0;
}

.feature-card h4 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

/* ---------- product split ---------- */

.product-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.product-visual {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.product-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 28px;
  display: grid;
  gap: 12px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--text);
}

.check-list .icon {
  width: 18px;
  height: 18px;
  padding: 4px;
  border-radius: 50%;
  background: rgba(var(--sector), 0.14);
  color: rgb(var(--sector));
  transform: rotate(45deg) scale(0.7);
}

/* ---------- projects ---------- */

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

.project-card {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

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

.project-card img {
  display: block;
  width: 100%;
  height: auto;
}

.project-body {
  padding: 20px 22px 24px;
}

.project-body h4 {
  margin: 4px 0 0;
  font-family: var(--font-heading);
  font-size: 1.08rem;
}

.project-body p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.project-metrics {
  display: flex;
  gap: 18px;
  margin: 16px 0 4px;
}

.project-metrics strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: rgb(var(--sector));
}

.project-metrics span {
  color: var(--muted);
  font-size: 0.78rem;
}

/* ---------- process ---------- */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
  position: relative;
}

.process-step {
  position: relative;
  padding: 24px 20px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.process-step-number {
  display: block;
  margin-bottom: 10px;
  color: var(--border-strong);
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
}

.process-step .feature-icon,
.process-step .feature-icon-img {
  margin: 0 auto 14px;
}

.process-step h4 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.05rem;
}

.process-step p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ---------- about page ---------- */

.who-we-are-split {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 36px;
  align-items: start;
}

.who-we-are-highlights {
  margin-top: 4px;
  align-self: start;
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--surface-muted);
  border: 1px solid var(--border);
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.timeline-step {
  padding: 24px 20px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.timeline-step .feature-icon {
  margin-bottom: 14px;
}

.timeline-step h4 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.05rem;
}

.timeline-step p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

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

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

.focus-card {
  padding: 26px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 220ms ease, border-color 220ms ease;
}

.focus-card[data-accent="blue"] {
  --sector: 37, 99, 235;
}

.focus-card[data-accent="teal"] {
  --sector: 13, 148, 136;
}

.focus-card[data-accent="amber"] {
  --sector: 217, 119, 6;
}

.focus-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--sector), 0.5);
}

.focus-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.focus-number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--border-strong);
}

.focus-card h4 {
  margin: 16px 0 0;
  font-family: var(--font-heading);
  font-size: 1.2rem;
}

.focus-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.focus-illustration {
  margin: 16px 0 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.focus-illustration img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.focus-points {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 8px;
}

.focus-points li {
  padding-left: 18px;
  position: relative;
  color: var(--text);
  font-size: 0.9rem;
}

.focus-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgb(var(--sector));
}

.focus-card blockquote {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(var(--sector), 0.08);
  color: var(--text);
  font-size: 0.88rem;
  font-style: italic;
  line-height: 1.6;
}

.vision-social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.vision-block h3 {
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
}

.vision-illustration {
  margin: 0 0 18px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

.vision-illustration img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.team-split .product-visual img {
  height: 100%;
  object-fit: cover;
}

.check-list-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 26px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- tech capability chips ---------- */

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

.tech-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 12px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  text-align: center;
  font-weight: 700;
  font-size: 0.86rem;
}

/* ---------- carousel ---------- */

.carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-top: 26px;
}

.carousel-viewport {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-card {
  flex: 0 0 min(100%, 500px);
  scroll-snap-align: start;
}

.carousel-button {
  width: 52px;
  height: 52px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease;
}

.carousel-button:hover {
  transform: translateY(-1px);
  border-color: rgba(var(--sector), 0.4);
}

.carousel-button .icon {
  transform: rotate(180deg);
}

.carousel-button-next .icon {
  transform: none;
}

.gallery-card {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.gallery-card img {
  display: block;
  width: 100%;
  height: auto;
}

.gallery-card figcaption {
  padding: 18px 20px 20px;
}

.gallery-card strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
}

.gallery-card span {
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- testimonials ---------- */

.testimonial-card {
  margin: 0;
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.icon-quote {
  width: 30px;
  height: 30px;
  color: rgba(var(--sector), 0.35);
}

.testimonial-card blockquote {
  margin: 14px 0 0;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.7;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-top: 16px;
  color: #f59e0b;
}

.testimonial-stars .icon {
  width: 16px;
  height: 16px;
}

.testimonial-card figcaption {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.testimonial-card figcaption strong {
  display: block;
  font-family: var(--font-heading);
}

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

/* ---------- chip strip ---------- */

.chip-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.chip-strip span {
  display: grid;
  place-items: center;
  min-height: 84px;
  padding: 0 14px;
  text-align: center;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  color: var(--text);
  font-weight: 700;
  font-size: 0.92rem;
}

/* ---------- cta banner ---------- */

.cta-banner {
  margin-top: 20px;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.92), rgba(124, 58, 237, 0.88)),
    url("/static/img/illustrations/cta-banner-background.webp") center / cover no-repeat;
  color: white;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cta-banner h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
}

.cta-banner p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.85);
}

.cta-banner .button.primary {
  background: white;
  color: var(--accent-blue-strong);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}

/* ---------- contact ---------- */

.contact-card {
  background: linear-gradient(150deg, rgba(var(--sector), 0.08), rgba(var(--sector-2), 0.05));
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.contact-grid > div {
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
}

.contact-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 1rem;
  line-height: 1.5;
}

/* ---------- footer ---------- */

.site-footer {
  margin-top: 28px;
  padding: 32px clamp(20px, 4vw, 40px) 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 24px;
}

.footer-brand p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 32ch;
}

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

.footer-col strong {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.footer-col a,
.footer-link-button {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
}

.footer-col a:hover,
.footer-link-button:hover {
  color: var(--accent-blue-strong);
}

.footer-col span {
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-copy {
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}

/* ---------- floating Zalo button ---------- */

.zalo-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #0068ff;
  box-shadow: 0 14px 30px rgba(0, 104, 255, 0.4);
  text-decoration: none;
  animation: zaloPulse 2.6s ease-in-out infinite;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.zalo-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 18px 36px rgba(0, 104, 255, 0.5);
}

.zalo-float-badge {
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

.zalo-float-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--text);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.zalo-float:hover .zalo-float-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@keyframes zaloPulse {
  0%,
  100% {
    box-shadow: 0 14px 30px rgba(0, 104, 255, 0.4), 0 0 0 0 rgba(0, 104, 255, 0.35);
  }
  50% {
    box-shadow: 0 14px 30px rgba(0, 104, 255, 0.4), 0 0 0 10px rgba(0, 104, 255, 0);
  }
}

@media (max-width: 640px) {
  .zalo-float {
    right: 16px;
    bottom: 16px;
    width: 50px;
    height: 50px;
  }

  .zalo-float-badge {
    font-size: 0.82rem;
  }

  .zalo-float-tooltip {
    display: none;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .timeline-grid,
  .focus-grid,
  .card-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .hero,
  .sector-grid,
  .carousel,
  .chip-strip,
  .contact-grid,
  .stats-grid,
  .stats-grid-4,
  .product-split,
  .project-grid,
  .process-grid,
  .who-we-are-split,
  .timeline-grid,
  .focus-grid,
  .card-grid-3,
  .vision-social-grid,
  .platform-grid,
  .check-list-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    min-height: 300px;
  }

  .hero-float-card {
    font-size: 0.76rem;
    padding: 10px 12px;
  }

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

  .carousel-button {
    display: none;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: grid;
  }

  .topnav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .topnav.is-open {
    display: flex;
  }

  .topnav a,
  .nav-dropdown-toggle,
  .nav-plain-link {
    width: 100%;
    justify-content: space-between;
  }

  .nav-dropdown-panel {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--surface-muted);
    margin-top: 4px;
    display: none;
  }

  .nav-dropdown.is-open .nav-dropdown-panel {
    display: grid;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

@media (max-width: 640px) {
  .app-shell {
    width: min(100% - 20px, 1180px);
  }

  .topbar {
    border-radius: 24px;
  }

  .brand-tag {
    display: none;
  }

  .topbar-actions .button.primary.small {
    padding: 0 12px;
    font-size: 0.78rem;
  }

  .content-section,
  .site-footer {
    border-radius: 22px;
    padding: 22px;
  }

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

  .carousel-card {
    flex-basis: 88vw;
  }

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

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
