/* Vision BI — Medical Professional Design System */
:root {
  --primary-dark: #0a3a5e;
  --primary-blue: #1e88e5;
  --primary-light: #e3f2fd;
  --accent: #00b4a0;
  --bg: #f8fafc;
  --white: #ffffff;
  --text: #1e293b;
  --muted: #64748b;
  --border: #e2e8f0;
  --footer: #0a1e2e;
  --shadow-sm: 0 4px 12px rgba(10, 58, 94, 0.06);
  --shadow-md: 0 12px 30px rgba(10, 58, 94, 0.1);
  --font: "Noto Sans SC", "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: "Noto Sans SC", "Inter", sans-serif;
  --wrap: min(1120px, calc(100% - 3rem));
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--primary-dark);
}

:focus-visible {
  outline: 2px solid var(--primary-blue);
  outline-offset: 3px;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(10, 58, 94, 0.06);
}

.nav-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  width: var(--wrap);
  margin-inline: auto;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--primary-dark);
  min-width: max-content;
}

.brand:hover {
  color: var(--primary-dark);
}

.brand-logo {
  height: 30px;
  width: auto;
}

.brand-sub {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  border-left: 1px solid var(--border);
  padding-left: 0.65rem;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
}

.nav-links a {
  padding: 0.5rem 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--primary-blue);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: flex-end;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.lang-switch a {
  color: var(--muted);
}

.lang-switch a[aria-current="true"],
.lang-switch a:hover {
  color: var(--primary-blue);
}

.lang-switch .sep {
  color: #cbd5e1;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.15rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff !important;
  background: var(--primary-blue);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover {
  background: #1565c0;
  color: #fff !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 8px;
  cursor: pointer;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background: var(--primary-dark);
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle span {
  top: 50%;
  transform: translateY(-50%);
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
}

.nav-toggle span::before {
  top: -7px;
}

.nav-toggle span::after {
  top: 7px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.4rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn-primary {
  color: #fff;
  background: var(--primary-blue);
}

.btn-primary:hover {
  color: #fff;
  background: #1565c0;
  transform: translateY(-1px);
}

.btn-outline {
  color: var(--primary-blue);
  background: transparent;
  border-color: var(--primary-blue);
}

.btn-outline:hover {
  color: #fff;
  background: var(--primary-blue);
}

.btn-dark {
  color: var(--primary-dark);
  background: #fff;
}

.btn-dark:hover {
  color: var(--primary-dark);
  background: var(--primary-light);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* —— Typography —— */
.section-label {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-blue);
}

.section-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.section-lede {
  margin: 0 0 2rem;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-title--center,
.section-lede--center {
  text-align: center;
}

.section-lede--center {
  margin-inline: auto;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

/* —— Hero —— */
.hero {
  padding: 4.5rem 0 5rem;
  background: linear-gradient(165deg, #f0f7ff 0%, #fff 72%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  margin-bottom: 1.15rem;
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-blue);
  background: var(--primary-light);
  border-radius: 999px;
}

.hero-title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.2vw, 2.85rem);
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: -0.03em;
}

.hero-title .hl {
  color: var(--primary-blue);
}

.hero-lede {
  margin: 0 0 1.75rem;
  max-width: 34rem;
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.8;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(10, 58, 94, 0.08);
}

.hero-stats strong {
  display: block;
  font-size: 1.5rem;
  color: var(--primary-dark);
  font-weight: 700;
}

.hero-stats span {
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-panel {
  background: var(--white);
  border: 1px solid rgba(30, 136, 229, 0.12);
  border-radius: 20px;
  padding: 1.15rem;
  box-shadow: var(--shadow-md);
  animation: hero-panel-in 0.9s var(--ease) both;
}

.bi-cockpit {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  padding: 1rem 1rem 1.1rem;
  border-radius: 14px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(0, 180, 160, 0.12), transparent 45%),
    linear-gradient(160deg, #eef6ff 0%, #e3f2fd 48%, #dceefc 100%);
  border: 1px solid rgba(30, 136, 229, 0.14);
}

.bi-cockpit__chrome {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.bi-live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #047857;
  background: rgba(0, 180, 160, 0.16);
}

.bi-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00b4a0;
  box-shadow: 0 0 0 0 rgba(0, 180, 160, 0.55);
  animation: bi-pulse 1.8s ease-out infinite;
}

.bi-cockpit__title {
  flex: 1;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.bi-sync {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary-blue);
  opacity: 0.85;
  animation: bi-blink 2.4s ease-in-out infinite;
}

.bi-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.bi-kpi {
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 12px rgba(10, 58, 94, 0.05);
  animation: bi-kpi-in 0.7s var(--ease) both;
}

.bi-kpi:nth-child(2) { animation-delay: 0.08s; }
.bi-kpi:nth-child(3) { animation-delay: 0.16s; }

.bi-kpi em {
  display: block;
  font-style: normal;
  font-size: 0.68rem;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.bi-kpi__num {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.bi-kpi__trend {
  display: inline-block;
  margin-top: 0.2rem;
  font-size: 0.68rem;
  font-weight: 600;
}

.bi-kpi__trend.up { color: #059669; }
.bi-kpi__trend.flat { color: var(--muted); }

.bi-body {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  gap: 0.7rem;
  align-items: stretch;
}

.bi-chart-area,
.bi-side {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 14px rgba(10, 58, 94, 0.05);
}

.bi-chart-area {
  padding: 0.65rem 0.7rem 0.4rem;
}

.bi-chart-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.bi-chart {
  display: block;
  width: 100%;
  height: auto;
}

.bi-bar {
  transform-box: fill-box;
  transform-origin: bottom;
  transform: scaleY(0);
  animation: bi-bar-grow 0.85s var(--ease) forwards;
}

.bi-bar:nth-child(1) { animation-delay: 0.15s; }
.bi-bar:nth-child(2) { animation-delay: 0.25s; }
.bi-bar:nth-child(3) { animation-delay: 0.35s; }
.bi-bar:nth-child(4) { animation-delay: 0.45s; }
.bi-bar:nth-child(5) { animation-delay: 0.55s; }
.bi-bar:nth-child(6) { animation-delay: 0.65s; }

.bi-line {
  stroke-dasharray: 280;
  stroke-dashoffset: 280;
  animation: bi-draw 1.4s var(--ease) 0.55s forwards;
}

.bi-area {
  opacity: 0;
  animation: bi-fade 0.8s ease 1.1s forwards;
}

.bi-dot {
  opacity: 0;
  animation: bi-fade 0.35s ease 1.35s forwards, bi-dot-breathe 2.2s ease-in-out 1.6s infinite;
}

.bi-dot-ring {
  opacity: 0;
  transform-origin: 245px 42px;
  animation: bi-ring-pulse 2.2s ease-out 1.6s infinite;
}

.bi-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.7rem 0.65rem;
}

.bi-ring-wrap {
  position: relative;
  width: 72px;
  height: 72px;
}

.bi-ring {
  width: 72px;
  height: 72px;
}

.bi-ring__progress {
  stroke-dasharray: 176;
  stroke-dashoffset: 176;
  animation: bi-ring-fill 1.3s var(--ease) 0.4s forwards;
}

.bi-ring__label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.15;
}

.bi-ring__label strong {
  font-size: 0.95rem;
  color: var(--primary-dark);
}

.bi-ring__label span {
  font-size: 0.62rem;
  color: var(--muted);
  font-weight: 600;
}

.bi-feed {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: grid;
  gap: 0.35rem;
}

.bi-feed li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--primary-dark);
  opacity: 0;
  transform: translateX(8px);
  animation: bi-feed-in 0.55s var(--ease) forwards;
}

.bi-feed li:nth-child(1) { animation-delay: 0.9s; }
.bi-feed li:nth-child(2) { animation-delay: 1.1s; }
.bi-feed li:nth-child(3) { animation-delay: 1.3s; }

.bi-feed i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-blue);
  flex-shrink: 0;
}

.bi-scan {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.28) 48%,
    transparent 62%
  );
  transform: translateX(-120%);
  animation: bi-scan 4.5s ease-in-out 1.8s infinite;
}

.hero-clients {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.hero-clients span {
  padding: 0.3rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  background: #f1f5f9;
  border-radius: 999px;
}

@keyframes hero-panel-in {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

@keyframes bi-pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 180, 160, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(0, 180, 160, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 180, 160, 0); }
}

@keyframes bi-blink {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

@keyframes bi-kpi-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@keyframes bi-bar-grow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

@keyframes bi-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes bi-fade {
  to { opacity: 1; }
}

@keyframes bi-dot-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

@keyframes bi-ring-pulse {
  0% { opacity: 0.7; transform: scale(0.85); }
  100% { opacity: 0; transform: scale(1.55); }
}

@keyframes bi-ring-fill {
  to { stroke-dashoffset: 25; }
}

@keyframes bi-feed-in {
  to { opacity: 1; transform: none; }
}

@keyframes bi-scan {
  0%, 55% { transform: translateX(-120%); }
  85%, 100% { transform: translateX(120%); }
}

/* —— Sections —— */
.section {
  padding: 5rem 0;
}

.section--tight {
  padding: 3rem 0;
}

.section--white {
  background: var(--white);
}

.section--muted {
  background: var(--bg);
}

.page-hero {
  padding: 3.5rem 0 2.5rem;
  background: linear-gradient(165deg, #f0f7ff 0%, #fff 100%);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
}

.page-hero p {
  margin: 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.05rem;
}

/* —— Intro —— */
.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.intro-year {
  font-size: clamp(3.5rem, 8vw, 5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--primary-blue);
  opacity: 0.15;
  margin-bottom: -0.5rem;
}

.intro-grid h2 {
  margin: 0 0 1rem;
  font-size: 1.75rem;
}

.intro-grid p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.8;
}

.stat-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.stat-card {
  padding: 1.35rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--primary-blue);
}

.stat-card--accent {
  border-left-color: var(--accent);
}

.stat-card strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
  color: var(--primary-dark);
}

.stat-card span {
  font-size: 0.88rem;
  color: var(--muted);
}

/* —— Service cards —— */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.service-card {
  padding: 1.85rem 1.5rem;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.03);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.2s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(30, 136, 229, 0.25);
}

.service-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1.15rem;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary-blue);
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* —— Clients —— */
.clients-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2.5rem;
  align-items: center;
}

.clients-strip .item {
  font-size: 0.95rem;
  font-weight: 500;
  color: #94a3b8;
  transition: color 0.2s;
  cursor: default;
}

.clients-strip .item:hover {
  color: var(--primary-dark);
}

.clients-eyebrow {
  margin: 0 0 1.25rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #94a3b8;
}

/* —— Feature rail / service detail —— */
.feature-rail {
  display: grid;
  gap: 0;
}

.feature-item {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
}

.feature-item:first-child {
  border-top: 1px solid var(--border);
}

.feature-axis {
  margin: 0;
  padding-top: 0.2rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-blue);
}

.feature-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.feature-item p,
.feature-item li {
  color: var(--muted);
}

.feature-item ul {
  margin: 0.75rem 0 0;
  padding-left: 1.15rem;
}

.feature-item li + li {
  margin-top: 0.35rem;
}

/* —— Process —— */
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}

.process-step {
  padding: 1.15rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.process-step strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
  color: var(--primary-dark);
}

.process-step span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* —— SLA table —— */
.sla-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.sla-table th,
.sla-table td {
  padding: 1rem 1.15rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.sla-table th {
  background: var(--primary-dark);
  color: #fff;
  font-weight: 600;
}

.sla-table tr:last-child td {
  border-bottom: none;
}

.sla-table td:first-child {
  font-weight: 600;
  color: var(--primary-dark);
  white-space: nowrap;
}

/* —— Team —— */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.team-unit {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.team-unit:hover {
  border-color: rgba(30, 136, 229, 0.35);
  box-shadow: var(--shadow-sm);
}

.team-unit h3 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
}

.team-unit p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* —— Timeline —— */
.timeline {
  display: grid;
  gap: 0;
  position: relative;
}

.timeline-item {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.timeline-item:first-child {
  border-top: 1px solid var(--border);
}

.timeline-item .year {
  font-weight: 700;
  color: var(--primary-blue);
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
}

/* —— Cases —— */
.case-list {
  display: grid;
  gap: 1.15rem;
}

.case-item {
  display: grid;
  grid-template-columns: 11.5rem 1fr;
  gap: 2rem;
  align-items: center;
  padding: 1.6rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.case-item:hover {
  border-color: rgba(30, 136, 229, 0.3);
  box-shadow: var(--shadow-md);
}

.case-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

.case-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 6.75rem;
  height: 6.75rem;
  padding: 1.1rem;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.case-logo {
  width: 100%;
  height: auto;
  max-height: 70%;
  object-fit: contain;
  object-position: center;
}

.case-meta .client {
  margin: 0;
  font-weight: 700;
  color: var(--primary-dark);
}

.stack {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
}

.stack span {
  padding: 0.22rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary-blue);
  background: var(--primary-light);
  border-radius: 6px;
}

.case-item h2 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.case-item > div:last-child {
  border-left: 1px solid var(--border);
  padding-left: 1.75rem;
}

.case-item > div > p,
.case-item .points {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.case-item .points {
  margin-top: 0.75rem;
  padding-left: 1.1rem;
}

.case-item .points li + li {
  margin-top: 0.3rem;
}

/* —— Contact —— */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-list span {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-blue);
}

.contact-list a,
.contact-list strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  font-style: normal;
  line-height: 1.55;
}

.contact-list a:hover {
  color: var(--primary-blue);
}

.form {
  display: grid;
  gap: 1rem;
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form input::placeholder,
.form textarea::placeholder {
  color: #94a3b8;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.15);
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.prose {
  max-width: 44rem;
}

.prose .lead {
  font-size: 1.15rem;
  color: var(--text);
}

.prose p {
  color: var(--muted);
  line-height: 1.85;
}

.prose p + p {
  margin-top: 1rem;
}

.value-list {
  display: grid;
  gap: 1rem;
}

.value-item {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.value-item .num {
  font-weight: 700;
  color: var(--primary-blue);
}

.value-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.value-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* —— CTA band —— */
.cta-band {
  padding: 4.5rem 0;
  background: var(--primary-dark);
  color: #fff;
  text-align: center;
}

.cta-band .section-label {
  color: #7ec8ff;
}

.cta-band .section-title,
.cta-band h2 {
  color: #fff;
  max-width: 20ch;
  margin-inline: auto;
}

.cta-band .section-lede {
  color: rgba(255, 255, 255, 0.78);
  margin-inline: auto;
}

.cta-band .cta-group {
  justify-content: center;
}

/* —— Footer —— */
.site-footer {
  padding: 3rem 0 1.5rem;
  background: var(--footer);
  color: #94a3b8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand .brand-logo {
  height: 28px;
  margin-bottom: 0.75rem;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.75;
  max-width: 18rem;
}

.footer-col h4 {
  margin: 0 0 0.85rem;
  color: #fff;
  font-size: 0.95rem;
}

.footer-col a,
.footer-links a {
  display: block;
  margin-bottom: 0.55rem;
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-col a:hover,
.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: #64748b;
  text-align: center;
}

/* —— Reveal —— */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.case-item.reveal {
  opacity: 1;
  transform: none;
}

/* —— Responsive —— */
@media (max-width: 1024px) {
  .hero-grid,
  .intro-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .brand-sub {
    display: none;
  }
}

@media (max-width: 900px) {
  .case-item {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .case-item > div:last-child {
    border-left: none;
    padding-left: 0;
  }

  .case-item .points {
    display: inline-block;
    text-align: left;
  }

  .feature-item {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .team-grid,
  .stat-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --wrap: min(100% - 2rem, 1120px);
  }

  .nav-bar {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 0.85rem 1rem;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .services-grid,
  .process,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .sla-table {
    display: block;
    overflow-x: auto;
  }
}

@media (max-width: 720px) {
  .bi-body {
    grid-template-columns: 1fr;
  }

  .bi-kpis {
    grid-template-columns: 1fr;
  }

  .bi-side {
    flex-direction: row;
    justify-content: flex-start;
    gap: 1rem;
  }

  .bi-feed {
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-panel,
  .bi-kpi,
  .bi-bar,
  .bi-line,
  .bi-area,
  .bi-dot,
  .bi-dot-ring,
  .bi-ring__progress,
  .bi-feed li,
  .bi-live i,
  .bi-sync,
  .bi-scan {
    animation: none !important;
  }

  .bi-bar {
    transform: none;
  }

  .bi-line {
    stroke-dashoffset: 0;
  }

  .bi-area,
  .bi-dot,
  .bi-feed li {
    opacity: 1;
    transform: none;
  }

  .bi-ring__progress {
    stroke-dashoffset: 25;
  }
}
