:root {
  --bg: #f8f9fa;
  --surface: #ffffff;
  --text: #0f172a;
  --text-secondary: #52596b;
  --border: rgba(15, 23, 42, 0.1);
  --border-strong: rgba(15, 23, 42, 0.18);
  --accent: #1a56db;
  --accent-hover: #1447b8;
  --accent-soft: rgba(26, 86, 219, 0.06);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 4px 16px rgba(15, 23, 42, 0.07);
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

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

button,
input,
textarea {
  font: inherit;
}

ul {
  list-style: none;
}

/* ------------------------------------------------
   Layout
   ------------------------------------------------ */

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

/* ------------------------------------------------
   Header
   ------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 249, 250, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-strong);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.brand-icon {
  font-size: 1.25rem;
  line-height: 1;
  color: var(--text-muted);
  flex-shrink: 0;
filter: grayscale(1);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.desktop-nav a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color 150ms;
}

.desktop-nav a:hover {
  color: var(--text);
}

.desktop-nav .btn-primary,
.mobile-panel .btn-primary {
  color: #fff;
}

.desktop-nav .btn-primary:hover {
  color: #fff;
}

.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text);
}

.mobile-panel {
  display: none;
  padding-bottom: 0.75rem;
}

.mobile-panel nav {
  display: grid;
  gap: 0.15rem;
  padding: 0.4rem;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.mobile-panel a {
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text);
  transition: background 150ms;
}

.mobile-panel a:hover {
  background: var(--accent-soft);
}

/* ------------------------------------------------
   Buttons
   ------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.5rem;
  padding: 0 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.btn:active {
  opacity: 0.9;
}

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

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

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

.btn-secondary:hover {
  border-color: var(--text);
}

/* ------------------------------------------------
   Eyebrow
   ------------------------------------------------ */

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

/* ------------------------------------------------
   Hero
   ------------------------------------------------ */

.hero {
  padding: 3.5rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero-copy h1 {
  margin: 0.5rem 0 0.75rem;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.hero-copy .lead {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 32rem;
  margin-bottom: 1.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.hero-trust span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* Hero panel */

.hero-panel {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ---- 3-D monitor ---- */
.hero-monitor {
  width: min(420px, 100%);
  perspective: 900px;
}

.hero-monitor__bezel {
  background: #1a1a2e;
  border-radius: 6px;
  padding: 8px 8px 8px;
  box-shadow:
    0 4px 20px rgba(0,0,0,.2),
    0 0 0 1px rgba(255,255,255,.06) inset;
  transform: rotateY(-4deg) rotateX(2deg);
  transform-style: preserve-3d;
  transition: transform 400ms ease;
}
.hero-monitor:hover .hero-monitor__bezel {
  transform: rotateY(-1deg) rotateX(1deg);
}

.hero-monitor__screen {
  position: relative;
  border-radius: 4px;
  background: #0f172a;
  overflow: hidden;
  padding: 0;
}

.hero-monitor__shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  background: linear-gradient(
    115deg,
    rgba(255,255,255,.08) 0%,
    rgba(255,255,255,.02) 30%,
    transparent 55%
  );
  border-radius: 4px;
}

.hero-monitor__stand {
  width: 60px;
  height: 28px;
  margin: 0 auto;
  background: linear-gradient(180deg, #1a1a2e, #12122a);
  clip-path: polygon(15% 0, 85% 0, 100% 100%, 0 100%);
}
.hero-monitor__base {
  width: 110px;
  height: 6px;
  margin: 0 auto;
  border-radius: 0 0 4px 4px;
  background: #1a1a2e;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}

/* topbar */
.hm-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: #1e293b;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.hm-topbar__dots {
  display: flex;
  gap: 5px;
}
.hm-topbar__dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.hm-topbar__dots span:nth-child(1) { background: #ef4444; }
.hm-topbar__dots span:nth-child(2) { background: #eab308; }
.hm-topbar__dots span:nth-child(3) { background: #22c55e; }

.hm-topbar__tabs {
  display: flex;
  gap: 4px;
}
.hm-tab {
  width: 36px;
  height: 5px;
  border-radius: 3px;
  background: rgba(255,255,255,.08);
}
.hm-tab--active {
  background: rgba(99,102,241,.5);
  width: 48px;
}

/* body layout */
.hm-body {
  display: flex;
  min-height: 220px;
}

/* sidebar */
.hm-sidebar {
  width: 42px;
  background: #1e293b;
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-right: 1px solid rgba(255,255,255,.06);
}
.hm-sidebar__item {
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,.08);
}
.hm-sidebar__item--active {
  background: rgba(99,102,241,.45);
}

/* main content area */
.hm-content {
  flex: 1;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* KPI cards */
.hm-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.hm-kpi {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 3px;
  padding: 8px 7px 6px;
  text-align: center;
  animation: hmFadeUp 600ms ease both;
}
.hm-kpi:nth-child(2) { animation-delay: 150ms; }
.hm-kpi:nth-child(3) { animation-delay: 300ms; }

.hm-kpi__val {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 2px;
}
.hm-kpi__val--a { color: #818cf8; }
.hm-kpi__val--b { color: #38bdf8; }
.hm-kpi__val--c { color: #4ade80; }

.hm-kpi__label {
  font-size: 0.55rem;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hm-kpi__bar {
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,.08);
  margin-top: 5px;
  overflow: hidden;
}
.hm-kpi__bar span {
  display: block;
  height: 100%;
  border-radius: 2px;
  background: #818cf8;
  animation: hmBarGrow 1.2s ease both;
}
.hm-kpi__bar--blue span { background: #38bdf8; animation-delay: 150ms; }
.hm-kpi__bar--green span { background: #4ade80; animation-delay: 300ms; }

/* chart bars */
.hm-chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 62px;
  padding-top: 4px;
}
.hm-chart__bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: rgba(255,255,255,.07);
  height: var(--h);
  animation: hmBarRise 1s ease both;
}
.hm-chart__bar:nth-child(2) { animation-delay: 80ms; }
.hm-chart__bar:nth-child(3) { animation-delay: 160ms; }
.hm-chart__bar:nth-child(4) { animation-delay: 240ms; }
.hm-chart__bar:nth-child(5) { animation-delay: 320ms; }
.hm-chart__bar:nth-child(6) { animation-delay: 400ms; }
.hm-chart__bar:nth-child(7) { animation-delay: 480ms; }
.hm-chart__bar:nth-child(8) { animation-delay: 560ms; }
.hm-chart__bar--accent {
  background: rgba(99,102,241,.45);
}

/* activity rows */
.hm-rows {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.hm-row {
  display: flex;
  align-items: center;
  gap: 6px;
  animation: hmFadeUp 500ms ease both;
}
.hm-row:nth-child(2) { animation-delay: 120ms; }
.hm-row:nth-child(3) { animation-delay: 240ms; }

.hm-row__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.hm-row__dot--green { background: #4ade80; }
.hm-row__dot--blue  { background: #38bdf8; }
.hm-row__dot--amber { background: #fbbf24; }

.hm-row__line {
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,.08);
  flex: 1;
}
.hm-row__line--med  { flex: 0.65; }
.hm-row__line--short { flex: 0.4; }

.hm-row__tag {
  font-size: 0.55rem;
  color: rgba(255,255,255,.35);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* breathing pulse on the active sidebar dot */
.hm-sidebar__item--active {
  animation: hmPulse 3s ease-in-out infinite;
}

/* --- Animations --- */
@keyframes hmFadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes hmBarGrow {
  from { width: 0; }
}
@keyframes hmBarRise {
  from { height: 0; }
}
@keyframes hmPulse {
  0%, 100% { opacity: .45; }
  50%      { opacity: .8; }
}

/* ------------------------------------------------
   Logo banner
   ------------------------------------------------ */

.logo-banner {
  padding: 0 0 1.5rem;
}

.logo-banner-inner {
  display: grid;
  gap: 0.5rem;
  padding: 0.75rem 0;
  overflow: hidden;
}

.logo-banner-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-align: center;
}

.logo-banner-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
}

.logo-banner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.9rem;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease;
}
.logo-banner-btn:hover {
  border-color: var(--border-strong);
  background: var(--accent-soft);
}
.logo-banner-btn.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.logo-banner-btn img {
  height: 32px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) opacity(0.85);
  opacity: 0.4;
  transition: opacity 220ms ease, transform 220ms ease, filter 220ms ease;
}
.logo-banner-btn:hover img {
  opacity: 0.7;
}
.logo-banner-btn.is-active img {
  opacity: 0.85;
}

/* detail panel */
.logo-detail {
  margin-top: 0.85rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--surface);
  position: relative;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 200ms ease, transform 200ms ease;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  color: var(--text);
}
.logo-detail.is-active {
  opacity: 1;
  transform: translateY(0);
}

.logo-detail__close {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  z-index: 2;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 1.2rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: 0.2rem 0.45rem;
  border-radius: 8px;
  transition: background 180ms ease, color 180ms ease;
}
.logo-detail__close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.logo-detail__body {
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: stretch;
}

.logo-detail__img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f172a;
  padding: 1.5rem 1.75rem;
}

.logo-detail__img {
  width: 100%;
  max-height: 56px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.logo-detail__copy {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.5rem 1.75rem;
}

.logo-detail__img-wrap,
.logo-detail__copy {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 320ms ease, transform 320ms ease;
}
.logo-detail__copy {
  transition-delay: 60ms;
}
.logo-detail.is-open .logo-detail__img-wrap,
.logo-detail.is-open .logo-detail__copy {
  opacity: 1;
  transform: translateY(0);
}

.logo-detail__name {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  color: var(--text);
}

.logo-detail__desc {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

.logo-detail__link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.01em;
  margin-top: auto;
}
.logo-detail__link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}


/* ------------------------------------------------
   Section generic
   ------------------------------------------------ */

.section {
  padding: 3rem 0;
}

.section-header {
  margin-bottom: 1.75rem;
  max-width: 38rem;
}

.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0.35rem 0 0.35rem;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ------------------------------------------------
   Dark section variant
   ------------------------------------------------ */

.section--dark {
  background: #0f172a;
  color: #f1f5f9;
}

.section--dark .eyebrow {
  color: #94a3b8;
}

.section--dark .section-header p {
  color: #94a3b8;
}

.section--dark + .section--dark {
  padding-top: 0;
}

/* ------------------------------------------------
   Service cards
   ------------------------------------------------ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--border-strong);
}

.service-card {
  padding: 1.25rem 1.35rem;
  background: var(--surface);
  border: none;
  border-radius: 0;
  transition: background 150ms ease;
}

.service-card:hover {
  background: var(--bg);
}

.service-icon {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  margin-bottom: 0.65rem;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.72rem;
}

.service-card h3 {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.25rem;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.84rem;
  line-height: 1.55;
}

/* ------------------------------------------------
   Project cards
   ------------------------------------------------ */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.project-card {
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 150ms ease;
}

.project-card:hover {
  border-color: var(--accent);
}

.project-thumb {
  position: relative;
  overflow: hidden;
  background: #e2e8f0;
}

.project-thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  display: block;
}

.project-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.04));
  pointer-events: none;
}

.project-body {
  padding: 1rem 1.15rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.project-card h3 {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.project-card p {
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.6;
  flex: 1;
}

.project-tech {
  display: inline-block;
  padding: 0.2rem 0;
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-top: 1px solid var(--border);
  padding-top: 0.45rem;
  margin-top: auto;
}

.project-link {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.84rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.project-link::after {
  content: "\2192";
}

/* ------------------------------------------------
   Process
   ------------------------------------------------ */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.process-card {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 150ms ease;
}

.process-card:hover {
  border-color: var(--border-strong);
}

.process-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.8rem;
  margin-bottom: 0.85rem;
}

.process-card h3 {
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.process-card p {
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.6;
}

/* ------------------------------------------------
   Testimonials
   ------------------------------------------------ */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.testimonial-card {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.testimonial-card blockquote {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text);
  flex: 1;
  margin-bottom: 0.85rem;
}

.testimonial-meta {
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}

.testimonial-meta strong {
  display: block;
  font-size: 0.88rem;
}

.testimonial-meta span {
  color: var(--text-secondary);
  font-size: 0.82rem;
}

/* Dark testimonial overrides */
.section--dark .testimonial-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.section--dark .testimonial-card blockquote {
  color: #e2e8f0;
}

.section--dark .testimonial-meta {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.section--dark .testimonial-meta strong {
  color: #f1f5f9;
}

.section--dark .testimonial-meta span {
  color: #94a3b8;
}

/* ------------------------------------------------
   Pricing
   ------------------------------------------------ */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.pricing-card {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: border-color 150ms ease;
}

.pricing-card:hover {
  border-color: var(--border-strong);
}

.pricing-card--featured {
  border-color: var(--accent);
  position: relative;
}

.pricing-card--featured::before {
  content: "Most common";
  position: absolute;
  top: -0.55rem;
  left: 1.25rem;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.pricing-tier {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}

.pricing-range {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.pricing-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
}

.pricing-includes {
  list-style: none;
  display: grid;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.pricing-includes li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text);
}

.pricing-includes li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.pricing-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.response-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 0.78rem;
  font-weight: 600;
}

.response-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ------------------------------------------------
   Located
   ------------------------------------------------ */

.section--located {
  padding: 2.5rem 0;
}

.located-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  padding: 1.75rem 2rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border-strong);
}

.located-copy .eyebrow {
  margin-bottom: 0.75rem;
}

.located-copy h2 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.located-copy p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.located-image {
  display: flex;
  justify-content: center;
}

.located-image img {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: var(--radius);
  object-fit: contain;
}

/* ------------------------------------------------
   CTA
   ------------------------------------------------ */

.cta-card {
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border-strong);
}

.cta-card h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin-bottom: 0.5rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-card > p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
  max-width: 32rem;
  margin: 0 auto 1.25rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.cta-email {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.cta-email a {
  color: var(--accent);
  font-weight: 600;
}

/* Dark CTA overrides */
.section--dark .cta-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
}

.section--dark .cta-card > p {
  color: #94a3b8;
}

.section--dark .cta-email {
  color: #94a3b8;
}

.section--dark .cta-email a {
  color: #60a5fa;
}

.section--dark .btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  border-color: rgba(255, 255, 255, 0.12);
}

.section--dark .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ------------------------------------------------
   Footer
   ------------------------------------------------ */

.footer {
  padding: 1.75rem 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-secondary);
  font-size: 0.82rem;
}

/* ------------------------------------------------
   Reveal animation
   ------------------------------------------------ */

.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 350ms ease,
    transform 350ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

.page-hero {
  padding: 3.5rem 0 2rem;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 2rem;
  align-items: end;
}

.page-hero-copy h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0.5rem 0 0.65rem;
}

.page-hero-copy p {
  color: var(--text-secondary);
  font-size: 1.03rem;
  line-height: 1.72;
  max-width: 42rem;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.page-hero-aside {
  display: grid;
  gap: 0.85rem;
}

.aside-card,
.detail-card,
.metric-card,
.timeline-card,
.faq-card,
.summary-card {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
}

.aside-card strong,
.metric-card strong {
  display: block;
  font-size: 1.65rem;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.aside-card span,
.aside-card p,
.metric-card span,
.metric-card p,
.detail-card p,
.timeline-card p,
.faq-card p,
.summary-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
}

.content-section {
  padding: 0 0 5rem;
}

.detail-grid,
.metrics-grid,
.timeline-grid,
.faq-grid,
.summary-grid {
  display: grid;
  gap: 0.85rem;
}

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

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

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

.summary-grid {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
}

.detail-card h3,
.timeline-card h3,
.faq-card h3,
.summary-card h3 {
  font-size: 1rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
}

.detail-card ul,
.summary-card ul {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.detail-card li,
.summary-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
}

.detail-card li::before,
.summary-card li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 0.45rem;
}

.detail-card--accent {
  background: rgba(26, 86, 219, 0.04);
  border-color: rgba(26, 86, 219, 0.15);
}

.metric-card {
  display: grid;
  gap: 0.35rem;
}

.metric-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.timeline-card {
  position: relative;
}

.timeline-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  margin-bottom: 0.9rem;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
}

.timeline-card p + p,
.faq-card p + p,
.summary-card p + p {
  margin-top: 0.75rem;
}

.callout-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: 2rem;
}

.callout-chip {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
}

.pricing-guide {
  display: grid;
  gap: 1.5rem;
}

.pricing-guide-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
  padding: 1.35rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
}

.pricing-guide-copy h3 {
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
}

.pricing-guide-copy p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
}

.pricing-guide-copy ul {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
}

.pricing-guide-copy li {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
}

.pricing-guide-price {
  white-space: nowrap;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.project-showcase {
  display: grid;
  gap: 1rem;
}

.project-showcase .project-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
}

.project-showcase .project-thumb img {
  height: 100%;
  min-height: 100%;
}

.project-showcase .project-body {
  padding: 1.6rem;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.2rem;
}

.project-meta span {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 600;
}

.summary-card .response-chip {
  margin-top: 1rem;
}

/* ------------------------------------------------
   Responsive
   ------------------------------------------------ */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

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

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

  .page-hero-grid,
  .summary-grid,
  .project-showcase .project-card {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 640px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .mobile-panel[data-open="true"] {
    display: block;
  }

  .hero {
    padding: 2rem 0 1.5rem;
  }

  .logo-banner {
    padding-bottom: 1rem;
  }

  .logo-banner-inner {
    padding: 0.5rem 0;
  }

  .logo-banner-grid {
    gap: 0.5rem;
  }

  .logo-banner-btn {
    padding: 0.35rem 0.65rem;
  }

  .logo-banner-btn img {
    height: 22px;
  }

  .logo-detail__body {
    grid-template-columns: 1fr;
  }

  .logo-detail__img-wrap {
    padding: 1rem;
  }

  .logo-detail__img {
    max-height: 36px;
  }

  .logo-detail__copy {
    padding: 1rem;
  }

  .section {
    padding: 2rem 0;
  }

  .section--dark + .section--dark {
    padding-top: 0;
  }

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

  .projects-grid,
  .testimonial-grid,
  .process-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero-trust {
    flex-direction: column;
    gap: 0.6rem;
  }

  .located-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 1.25rem;
    gap: 1.5rem;
  }

  .pricing-footer {
    justify-content: center;
  }

  .cta-card {
    padding: 1.75rem 1rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

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

  .contact-hero h1 {
    font-size: 2rem;
  }

  .page-hero {
    padding: 2rem 0 1.5rem;
  }

  .detail-grid,
  .metrics-grid,
  .timeline-grid,
  .faq-grid,
  .callout-strip {
    grid-template-columns: 1fr;
  }

  .pricing-guide-row {
    grid-template-columns: 1fr;
  }

  .pricing-guide-price {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
}

/* ------------------------------------------------
   Contact page
   ------------------------------------------------ */

.contact-hero {
  padding: 3rem 0 1.5rem;
}

.contact-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0.4rem 0 0.4rem;
}

.contact-hero p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.65;
}

.contact-body {
  padding: 0 0 5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1.1rem;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border-strong);
}

.form-group {
  display: grid;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--text);
  font-size: 0.88rem;
  transition: border-color 150ms;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-group textarea {
  resize: vertical;
  min-height: 7rem;
}

.btn-full {
  width: 100%;
}

.form-status {
  font-size: 0.88rem;
  font-weight: 500;
  min-height: 1.4em;
}

.form-status--success {
  color: #059669;
}

.form-status--error {
  color: #dc2626;
}

.contact-sidebar {
  display: grid;
  gap: 1.25rem;
}

.contact-info-card {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  gap: 1.1rem;
}

.contact-info-card h2 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.info-row {
  display: grid;
  gap: 0.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.info-row:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

.info-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}

.info-row a,
.info-row address,
.info-row p,
.info-row span:not(.info-label) {
  font-style: normal;
  font-weight: 500;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text);
}

.info-row p {
  margin: 0;
}

.info-row a:hover {
  color: var(--accent);
}

.contact-map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

.contact-map-wrap iframe {
  display: block;
}
/* Healthcare funnel components */
.funnel-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.funnel-intent {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .funnel-intent {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: stretch;
  }
}

.intent-copy {
  color: var(--text-secondary);
}

.funnel-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  background: var(--bg);
  display: grid;
  gap: 0.85rem;
}

.funnel-panel ul {
  list-style: disc;
  padding-left: 1.25rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.funnel-note {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.option-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.option-pill {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  background: var(--surface);
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease;
}

.option-pill input {
  margin-top: 0.35rem;
  accent-color: var(--accent);
}

.option-pill span {
  line-height: 1.4;
}

.option-pill--stacked span {
  display: grid;
  gap: 0.2rem;
}

.option-pill--stacked strong {
  font-size: 0.95rem;
}

.option-pill--stacked small {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.option-pill.is-selected {
  border-color: var(--accent);
  background: rgba(26, 86, 219, 0.03);
}

.funnel-message {
  margin-top: 1rem;
  border-left: 3px solid var(--border-strong);
  padding: 0.85rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--bg);
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.funnel-message--alert {
  border-left-color: #dc2626;
  background: rgba(220, 38, 38, 0.06);
  color: #7f1d1d;
}

.scope-grid,
.timeline-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 992px) {
  .scope-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.option-card {
  display: block;
  position: relative;
}

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

.option-card-body {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  background: var(--surface);
  display: grid;
  gap: 0.4rem;
  transition: border-color 150ms ease;
}

.option-card input:checked + .option-card-body {
  border-color: var(--accent);
}

.option-eyebrow {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}

.option-detail {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

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

.funnel-form-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 992px) {
  .funnel-form-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }
}

.funnel-form .form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .funnel-form .form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.next-steps ul {
  list-style: disc;
  padding-left: 1.25rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  display: grid;
  gap: 0.35rem;
}

.next-step-title {
  font-weight: 600;
}
.funnel-progress {
  max-width: var(--container);
  margin: 2rem auto 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
}

.funnel-step {
  display: none;
  opacity: 0;
  transition: opacity 250ms ease;
}

.funnel-step.is-active {
  display: block;
  opacity: 1;
}

.funnel-nav {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.funnel-nav--top {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

@media (max-width: 640px) {
  .funnel-nav {
    flex-direction: column;
  }
  .funnel-nav .btn {
    width: 100%;
    text-align: center;
  }
}
.wizard-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.wizard-card {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 2rem;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.wizard-card .section {
  padding: 0;
  border-top: 0;
}

.wizard-card .funnel-section + .funnel-section {
  margin-top: 2rem;
}

.wizard-progress {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.wizard-progress-track {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.wizard-progress-fill {
  height: 100%;
  width: 0;
  background: var(--accent);
  border-radius: inherit;
  transition: width 250ms ease;
}

.wizard-progress-label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .wizard-card {
    padding: 1.25rem;
    border-radius: var(--radius-md);
  }
}
.hero-layout {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.hero-visual {
  position: relative;
  min-height: 340px;
}

.hero-dashboard {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  background: radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.2), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.2);
  color: #e2e8f0;
  overflow: hidden;
}

.hero-dashboard::after {
  content: '';
  position: absolute;
  inset: 10%;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.hero-dashboard__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.8);
}

.hero-dashboard__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.hero-dashboard__card {
  background: rgba(15, 23, 42, 0.5);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.15);
}

.hero-dashboard__card .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
  color: rgba(226, 232, 240, 0.8);
}

.hero-dashboard__card .value {
  font-size: 1.6rem;
  font-weight: 700;
}

.metric-bar {
  margin-top: 0.6rem;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.metric-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, #2563eb);
  border-radius: inherit;
}

.metric-bar--blue span {
  background: linear-gradient(90deg, #a855f7, #6366f1);
}

.hero-dashboard__chart {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 1.5rem 0 1rem;
}

.chart-bar {
  height: 60px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.3);
  box-shadow: inset 0 0 10px rgba(15, 23, 42, 0.4);
}

.chart-bar--1 { height: 50px; }
.chart-bar--2 { height: 80px; background: rgba(37, 99, 235, 0.6); }
.chart-bar--3 { height: 65px; }
.chart-bar--4 { height: 90px; background: rgba(34, 197, 94, 0.5); }

.hero-dashboard__tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  font-size: 0.75rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.tag--green {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.35);
}

.tag--purple {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.4);
}

.hero-badge {
  position: absolute;
  right: 4%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md);
  min-width: 170px;
}

.hero-badge--green {
  top: 10%;
}

.hero-badge--red {
  bottom: 5%;
  right: 10%;
}

.hero-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(37, 99, 235, 0.08), transparent);
  z-index: -1;
}

.hero-badge strong {
  display: block;
  font-size: 1.3rem;
  margin-top: 0.2rem;
}

.hero-badge p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .hero-visual {
    order: -1;
  }
  .hero-badge {
    position: static;
    margin-top: 1rem;
  }
}
.hero-badge--green {
  border-color: rgba(34, 197, 94, 0.4);
}

.hero-badge--red {
  border-color: rgba(248, 113, 113, 0.4);
}
/* ------------------------------------------------
   Medicine hero – tilted 3D dashboard
   ------------------------------------------------ */

.med-dashboard {
  position: relative;
  width: min(440px, 100%);
  margin: 0 auto;
  perspective: 900px;
}

.med-dashboard__inner {
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow:
    0 2px 4px rgba(15, 23, 42, 0.04),
    0 8px 24px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  transform: rotateY(-6deg) rotateX(3deg);
  transform-style: preserve-3d;
  transition: transform 400ms ease;
}

.med-dashboard:hover .med-dashboard__inner {
  transform: rotateY(-3deg) rotateX(1deg);
}

.med-dashboard__shadow {
  width: 88%;
  height: 24px;
  margin: 0 auto;
  background: radial-gradient(ellipse, rgba(15, 23, 42, 0.12), transparent 70%);
  transform: rotateY(-8deg);
  margin-top: -4px;
}

.med-dash__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
  background: #fafbfe;
}

.med-dash__logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.med-cross {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #ef4444;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.med-dash__brand {
  font-size: 0.78rem;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: -0.02em;
}

.med-dash__topbar-pills {
  display: flex;
  gap: 5px;
}

.med-pill {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
}

.med-pill--active {
  background: #22c55e;
}

.med-dash__body {
  display: grid;
  grid-template-columns: 48px 1fr;
  min-height: 260px;
}

.med-dash__sidebar {
  background: #f8fafc;
  border-right: 1px solid rgba(15, 23, 42, 0.06);
  padding: 0.75rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}

.med-sidebar__item {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #e2e8f0;
}

.med-sidebar__item--active {
  background: #dbeafe;
  border: 1.5px solid #93c5fd;
}

.med-dash__content {
  padding: 1rem;
  display: grid;
  gap: 0.85rem;
}

.med-dash__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.med-stat-card {
  padding: 0.6rem;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  display: grid;
  gap: 0.45rem;
}

.med-stat__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}

.med-stat__icon--red {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  font-size: 0.9rem;
}

.med-stat__icon--blue {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

.med-stat__icon--green {
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
}

.med-stat__bar {
  height: 5px;
  border-radius: 999px;
  background: #f1f5f9;
  overflow: hidden;
}

.med-stat__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f87171, #ef4444);
}

.med-stat__bar--blue span {
  background: linear-gradient(90deg, #60a5fa, #2563eb);
}

.med-stat__bar--green span {
  background: linear-gradient(90deg, #4ade80, #16a34a);
}

.med-dash__chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
  padding: 0.5rem 0.4rem;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.med-chart__bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: #e2e8f0;
  min-height: 8px;
}

.med-chart__bar--accent {
  background: linear-gradient(180deg, #60a5fa, #2563eb);
}

.med-chart__bar--red {
  background: linear-gradient(180deg, #fca5a5, #ef4444);
}

.med-dash__rows {
  display: grid;
  gap: 0.45rem;
}

.med-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.55rem;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.med-row__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.med-row__dot--red { background: #ef4444; }
.med-row__dot--green { background: #22c55e; }
.med-row__dot--blue { background: #3b82f6; }

.med-row__line {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: #e2e8f0;
}

.med-row__line--short { max-width: 55%; }
.med-row__line--med { max-width: 72%; }

.med-row__tag {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ef4444;
  flex-shrink: 0;
}

.med-row__tag--muted {
  color: #22c55e;
}

@media (max-width: 768px) {
  .med-dashboard__inner {
    transform: rotateY(-4deg) rotateX(2deg);
  }
  .med-dashboard:hover .med-dashboard__inner {
    transform: rotateY(-2deg) rotateX(1deg);
  }
}

/* ------------------------------------------------
   Starting Point (interactive tabs)
   ------------------------------------------------ */

.sp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--border-strong);
}

.sp-card {
  padding: 1.15rem 1.25rem;
  background: var(--surface);
  border: none;
  border-radius: 0;
  text-align: left;
  cursor: pointer;
  transition: background 150ms ease;
}

.sp-card:hover {
  background: var(--bg);
}

.sp-card.is-active {
  background: var(--accent-soft);
  box-shadow: inset 0 -2px 0 var(--accent);
}

.sp-card h3 {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.2rem;
  color: var(--text);
}

.sp-card p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.sp-card--wide {
  grid-column: span 4;
}

.sp-panels {
  margin-top: 1rem;
}

.sp-panel {
  animation: spFadeIn 200ms ease;
}

@keyframes spFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sp-panel__inner {
  padding: 1.5rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--surface);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}

.sp-panel__copy h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.sp-panel__copy > p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.sp-panel__copy ul {
  display: grid;
  gap: 0.3rem;
  list-style: none;
}

.sp-panel__copy li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.sp-panel__copy li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.sp-panel__action {
  display: flex;
  align-items: flex-start;
  padding-top: 0.15rem;
}

@media (max-width: 1024px) {
  .sp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sp-card--wide {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .sp-grid {
    grid-template-columns: 1fr;
  }
  .sp-card--wide {
    grid-column: span 1;
  }
  .sp-panel__inner {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ------------------------------------------------
   System Preview block
   ------------------------------------------------ */

.section--preview {
  padding: 2rem 0;
}

.preview-block {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.preview-block h2 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0.25rem 0 0.3rem;
}

.preview-block p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .preview-block {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.25rem;
  }
}

/* ------------------------------------------------
   Case studies (Before / System / Result)
   ------------------------------------------------ */

.case-studies {
  display: grid;
  gap: 0.75rem;
}

.case-study {
  display: grid;
  grid-template-columns: 280px 1fr;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 150ms ease;
}

.case-study:hover {
  border-color: var(--accent);
}

.case-study__thumb {
  overflow: hidden;
  background: #e2e8f0;
}

.case-study__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
}

.case-study__body {
  padding: 1.25rem 1.5rem;
}

.case-study__body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}

.case-study__details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.case-study__details div {
  display: grid;
  gap: 0.15rem;
}

.case-study__details dt {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-secondary);
}

.case-study__details dd {
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--text);
  margin: 0;
}

.section-action {
  margin-top: 1.25rem;
}

@media (max-width: 768px) {
  .case-study {
    grid-template-columns: 1fr;
  }
  .case-study__thumb img {
    aspect-ratio: 16 / 9;
  }
  .case-study__details {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
}

/* ------------------------------------------------
   Capabilities + Fit layout
   ------------------------------------------------ */

.capabilities-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.capabilities-col h2 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0.3rem 0 0.85rem;
}

.cap-list {
  display: grid;
  gap: 0.35rem;
  list-style: none;
}

.cap-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.5;
}

.cap-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.fit-cols {
  display: grid;
  gap: 1rem;
}

.fit-col {
  padding: 1.15rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.fit-col h3 {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.fit-col ul {
  display: grid;
  gap: 0.25rem;
  list-style: none;
}

.fit-col li {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.fit-col--yes li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: #16a34a;
  flex-shrink: 0;
  margin-top: 0.35rem;
}

.fit-col--no li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: #94a3b8;
  flex-shrink: 0;
  margin-top: 0.35rem;
}

@media (max-width: 768px) {
  .capabilities-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ------------------------------------------------
   Pricing tiers
   ------------------------------------------------ */

.pricing-tiers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.pricing-tier-card {
  padding: 1.5rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--surface);
  display: grid;
  gap: 0.35rem;
}

.pricing-tier-card--alt {
  background: var(--bg);
}

.pricing-tier-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-secondary);
}

.pricing-tier-range {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.pricing-tier-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.55;
}

@media (max-width: 640px) {
  .pricing-tiers {
    grid-template-columns: 1fr;
  }
}
