/* ═══════════════════════════════════════════════════════════
  Datamitra — Design System
  Canva Sans typography, logo-red brand system,
  deep navy hero, crisp card grids, mobile-first.
  ═══════════════════════════════════════════════════════════ */

/* ─── Design tokens ───────────────────────────────────────── */
:root {
  /* Surfaces */
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --panel: #ffffff;
  --line: #e4e7ec;

  /* Text */
  --text: #101828;
  --text-2: #344054;
  --muted: #667085;

  /* Brand — logo red */
  --brand: #a22828;
  --brand-dark: #7f1f1f;
  --brand-light: #fde8e8;
  --brand-glow: rgba(162, 40, 40, 0.22);

  /* Accent — tonal red */
  --accent: #c94a4a;
  --accent-dark: #962323;

  /* Hero */
  --hero-bg: #0f1629;
  --hero-mid: #0a2540;
  --hero-line: rgba(255, 255, 255, 0.10);

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(16, 24, 40, 0.06), 0 1px 2px rgba(16, 24, 40, 0.04);
  --shadow-sm: 0 4px 8px rgba(16, 24, 40, 0.06), 0 2px 4px rgba(16, 24, 40, 0.04);
  --shadow: 0 12px 24px rgba(16, 24, 40, 0.08), 0 4px 8px rgba(16, 24, 40, 0.04);
  --shadow-lg: 0 24px 48px rgba(16, 24, 40, 0.12), 0 8px 16px rgba(16, 24, 40, 0.06);

  /* Radii */
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 16px;

  /* Typography */
  --font-body: "Canva Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-heading: "Canva Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ─── Reset ───────────────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.15;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--text);
}

h1 {
  font-size: clamp(2.8rem, 6.5vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1rem; }

a {
  color: var(--brand-dark);
  transition: color 0.15s;
}

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

/* ─── Utilities ───────────────────────────────────────────── */
.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  padding: 0.5rem 0.9rem;
  background: var(--panel);
  border: 2px solid var(--brand);
  border-radius: var(--radius-sm);
  z-index: 999;
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Section alternating bg */
.section-alt {
  background: var(--bg-alt);
}

/* ─── Eyebrow pill ────────────────────────────────────────── */
/* Databricks-style: small ALL CAPS label with colored dot/line */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-dark);
  margin-bottom: 0.85rem;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.7);
}

.eyebrow-light::before {
  background: var(--accent);
}

/* ─── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
}

/* Nav "Get Started" */
.btn-nav {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  font-size: 0.85rem;
  padding: 0.52rem 1.05rem;
  border-radius: var(--radius-sm);
}

.btn-nav:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
}

/* Hero primary — logo red fill on dark */
.btn-hero-primary {
  background: var(--brand);
  color: #ffffff;
  border-color: var(--brand);
  font-size: 0.95rem;
  padding: 0.78rem 1.6rem;
}

.btn-hero-primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
  box-shadow: 0 4px 16px var(--brand-glow);
}

/* Hero ghost — logo red outline */
.btn-hero-ghost {
  background: transparent;
  color: rgba(255, 236, 236, 0.95);
  border-color: rgba(248, 190, 190, 0.6);
  font-size: 0.95rem;
  padding: 0.78rem 1.6rem;
}

.btn-hero-ghost:hover {
  background: var(--brand-glow);
  border-color: rgba(255, 224, 224, 0.95);
  color: #ffffff;
}

/* Section form submit */
.btn-primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.btn-primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  box-shadow: 0 4px 12px var(--brand-glow);
}

/* Focus ring — accessible */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* ─── Navigation ──────────────────────────────────────────── */
/* Databricks-style: solid white, no blur, crisp border */
.site-header {
  position: sticky;
  top: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  z-index: 200;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 64px;
}

/* Logo */
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 0.5rem;
}

.brand-logo {
  display: block;
  height: 32px;
  width: auto;
  object-fit: contain;
}

/* Nav items */
nav[aria-label="Main navigation"] {
  flex: 1;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: block;
  text-decoration: none;
  color: var(--text-2);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-sm);
  position: relative;
  transition: color 0.15s;
}

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

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0.8rem;
  right: 0.8rem;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s;
  border-radius: 2px;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

/* Right-side nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0.4rem;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--hero-bg);
  overflow: hidden;
}

/* Layered radial glows */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 80% at -10% 10%, rgba(162, 40, 40, 0.45) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(201, 74, 74, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 60% 80% at 50% 120%, rgba(127, 31, 31, 0.38) 0%, transparent 65%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* 2-column hero grid */
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 5.5rem 0 5rem;
  min-height: 520px;
}

.hero-text {
  max-width: 560px;
}

.hero-text h1 {
  font-size: clamp(2.35rem, 5vw, 4.1rem);
  color: #ffffff;
  margin-bottom: 1.2rem;
  line-height: 1.08;
}

/* Brand gradient on "full potential." */
.hero-text h1 em {
  font-style: normal;
  background: linear-gradient(92deg, #f9d2d2 0%, var(--accent) 55%, var(--brand-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 52ch;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 1.8rem;
}

/* Trust signals row below CTAs */
.hero-trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  padding-top: 0.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.trust-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
}

/* ─── Dashboard visual card (hero right) ─────────────────── */
.hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.dash-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  width: 100%;
  max-width: 500px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255,255,255,0.06);
  overflow: hidden;
}

.dash-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 1rem 1.3rem;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dash-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dash-dot--green { background: #34d399; }
.dash-dot--amber { background: var(--accent); }
.dash-dot--red   { background: #f87171; }

.dash-title {
  margin-left: 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dash-body {
  padding: 1.45rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dash-metric {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.dash-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.84);
  width: 130px;
  flex-shrink: 0;
}

.dash-bar-wrap {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
}

.dash-bar {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--brand-dark), var(--brand));
  transition: width 1s ease;
}

.dash-bar--amber {
  background: linear-gradient(90deg, var(--brand-dark), var(--accent));
}

.dash-val {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  width: 38px;
  text-align: right;
  flex-shrink: 0;
}

.dash-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 0.4rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.dash-kpi {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 0.7rem 0.4rem;
}

.dash-kpi-num {
  font-size: 1.15rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.96);
  letter-spacing: -0.03em;
}

.dash-kpi-label {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  line-height: 1.35;
}

/* Outcomes bar inside hero bottom */
.hero-outcomes {
  position: relative;
  border-top: 1px solid var(--hero-line);
  background: rgba(255, 255, 255, 0.03);
  padding: 1.6rem 0;
}

.outcomes-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.outcomes-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  line-height: 1.45;
  font-weight: 400;
}

.outcome-icon {
  font-size: 1.15rem;
  flex-shrink: 0;
  line-height: 1.45;
}

/* ─── Stats strip ─────────────────────────────────────────── */
/* Dark, high-contrast numbers */
.stats-strip {
  background: #0d1117;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2.75rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1rem 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.4;
}

/* ─── Section defaults ────────────────────────────────────── */
.section {
  padding: 5rem 0;
  background: var(--bg);
}

.section-alt {
  background: var(--bg-alt);
}

.section-intro {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
  margin-top: 0.4rem;
  margin-bottom: 0;
  max-width: 60ch;
}

.section-note {
  margin-top: 0.8rem;
  margin-bottom: 0;
  color: var(--brand-dark);
  font-size: 0.95rem;
  font-weight: 600;
  max-width: 60ch;
}

/* ─── Why now ─────────────────────────────────────────────── */
.why-now-section {
  padding-top: 4.25rem;
  padding-bottom: 4.25rem;
}

.why-now-wrap {
  display: grid;
  gap: 2rem;
}

.why-now-copy {
  max-width: 70ch;
}

.why-now-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.why-now-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.22s, transform 0.22s, border-color 0.22s;
  overflow: hidden;
  position: relative;
}

.why-now-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}

.why-now-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--brand);
}

.why-now-item:hover::before {
  transform: scaleX(1);
}

.why-now-icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--brand-light);
  border-radius: 12px;
  transition: background 0.2s, transform 0.2s;
}

.why-now-item:hover .why-now-icon {
  background: var(--brand-glow);
  transform: scale(1.08);
}

.why-now-item h3 {
  margin-bottom: 0.55rem;
}

.why-now-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ─── Service cards ───────────────────────────────────────── */
.service-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.service-icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--brand-light);
  border-radius: 12px;
  transition: background 0.2s, transform 0.2s;
}

.service-item:hover .service-icon {
  background: var(--brand-glow);
  transform: scale(1.08);
}

.service-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.22s, transform 0.22s, border-color 0.22s;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.service-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--brand);
}

/* Colored top accent line on hover */
.service-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}

.service-item:hover::before {
  transform: scaleX(1);
}

.service-item h3 {
  color: var(--text);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.service-item > p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.service-checks {
  list-style: none;
  margin: auto 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.service-checks li {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.4;
}

.service-checks li::before {
  content: "✓";
  color: var(--brand);
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* ─── Why Datamitra ───────────────────────────────────────── */
.why-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.why-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.22s, transform 0.22s, border-color 0.22s;
  overflow: hidden;
  position: relative;
}

.why-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}

.why-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--brand);
}

.why-item:hover::before {
  transform: scaleX(1);
}

.why-icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--brand-light);
  border-radius: 12px;
  transition: background 0.2s, transform 0.2s;
}

.why-item:hover .why-icon {
  background: var(--brand-glow);
  transform: scale(1.08);
}

.why-item h3 {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.why-item p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}

/* ─── Pre-footer CTA band ─────────────────────────────────── */
/* Databricks-style dark band before footer */
.prefooter-cta {
  background: linear-gradient(135deg, #0a2540 0%, var(--hero-bg) 100%);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle grid texture */
.prefooter-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}

.prefooter-inner {
  max-width: 640px;
  position: relative;
}

.prefooter-inner h2 {
  color: #ffffff;
  margin-bottom: 0.9rem;
}

.prefooter-inner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.prefooter-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}

/* ─── Contact ─────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-grid > div {
  padding-top: 0.25rem;
}

.small-note {
  color: var(--muted);
  font-size: 0.875rem;
  margin-top: 0.75rem;
}

.schedule-button-slot {
  margin: 0.55rem 0 0.95rem;
}

.hero-cta .schedule-button-slot,
.prefooter-btns .schedule-button-slot {
  margin: 0;
  display: inline-flex;
}

#lead-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2rem;
}

.field {
  margin-bottom: 1.15rem;
}

label {
  display: block;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--text-2);
  margin-bottom: 0.4rem;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  font: inherit;
  font-size: 0.9rem;
  padding: 0.72rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
}

input[type="text"]:hover,
input[type="email"]:hover,
textarea:hover {
  border-color: #b0bec5;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-glow);
  outline: none;
  background: #fff;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.checkbox-field input {
  appearance: auto;
  -webkit-appearance: checkbox;
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: var(--brand);
  border-radius: 4px;
  cursor: pointer;
}

.checkbox-field label {
  margin-bottom: 0;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
  cursor: pointer;
}

#lead-form .btn {
  width: 100%;
  padding: 0.82rem;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  margin-top: 0.25rem;
}

.form-status {
  min-height: 1.4rem;
  margin-top: 0.75rem;
  font-weight: 600;
  font-size: 0.875rem;
}

.form-status.success { color: #065f46; }
.form-status.error   { color: #991b1b; }

/* ─── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: #0d1117;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr auto auto;
  gap: 3rem;
  align-items: start;
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .brand {
  margin-bottom: 0.85rem;
  display: inline-flex;
}

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  max-width: 32ch;
  line-height: 1.55;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-heading {
  margin: 0 0 0.4rem;
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.15s;
}

.footer-links a:hover { color: #ffffff; }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-contact a,
.footer-contact p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.875rem;
  line-height: 1.55;
}

.footer-contact a:hover {
  color: #ffffff;
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.15s;
}

.footer-social a:hover { color: #ffffff; }

.footer-bottom {
  padding: 1.2rem 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.62);
  margin: 0;
}

.footer-bottom a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-bottom a:hover { color: var(--accent); }

.legal-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ─── Footer logo keeps original brand colors ─────────────── */
.brand-logo-footer {
  height: 30px;
  width: auto;
  object-fit: contain;
  filter: none;
  opacity: 1;
}

.brand-logo-footer:hover { opacity: 1; }

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .outcomes-list {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .stat-item:nth-child(2) {
    border-right: none;
  }
}

@media (max-width: 900px) {
  .service-grid,
  .why-grid,
  .why-now-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  /* Show hamburger, hide desktop nav */
  .nav-toggle {
    display: flex;
  }

  nav[aria-label="Main navigation"] {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    z-index: 190;
    padding: 0.75rem 0;
    display: none;
  }

  nav[aria-label="Main navigation"].is-open {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 calc((100vw - min(1140px, 92vw)) / 2);
  }

  .nav-links a {
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    border-radius: 0;
  }

  .nav-links a::after {
    display: none;
  }

  /* Hero: stack on mobile */
  .hero-grid {
    grid-template-columns: 1fr;
    padding: 4rem 0 3rem;
    gap: 2.5rem;
    min-height: unset;
  }

  .hero-visual {
    justify-content: center;
  }

  .dash-card {
    max-width: 100%;
  }

  h1 {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }
}

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

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

  .service-grid,
  .why-grid,
  .why-now-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .prefooter-inner {
    padding: 0 1rem;
  }

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

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

@media (max-width: 480px) {
  .hero-copy {
    color: rgba(255, 255, 255, 0.86);
  }

  .hero-trust li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.84rem;
  }

  .dash-label {
    color: rgba(255, 255, 255, 0.88);
  }

  .dash-kpi-label {
    color: rgba(255, 255, 255, 0.94);
    font-size: 0.7rem;
  }

  .footer-tagline,
  .footer-links a,
  .footer-social a,
  .footer-bottom p,
  .footer-bottom a {
    color: rgba(255, 255, 255, 0.84);
  }
}

