/* ============================================================
   Krthika Madhav — Dark Analytics Theme
   ============================================================
   Palette:  Charcoal navy + coral + gold + teal data accents
   Type:     Fraunces (display) + DM Sans (body)
   Mode:     Dark — data-driven analytics aesthetic
   ============================================================ */

:root {
  --navy: #eef2f7;
  --navy-soft: #b8c4d4;
  --charcoal: #94a3b8;
  --cream: #0c1018;
  --paper: #161e2a;
  --bg-deep: #080b10;
  --warm-gray: #7d8fa8;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);

  --coral: #e0705f;
  --coral-dark: #c75b4a;
  --coral-light: rgba(224, 112, 95, 0.14);
  --gold: #d4ad78;
  --gold-light: rgba(212, 173, 120, 0.12);
  --teal: #3dbfb8;
  --teal-light: rgba(61, 191, 184, 0.12);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --max: 1140px;
  --header-h: 72px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.45);

  --header-scrolled-bg: rgba(12, 16, 24, 0.9);
  --nav-hover-bg: rgba(255, 255, 255, 0.06);
  --tools-gradient-end: rgba(12, 16, 24, 0.95);
  --dot-grid-color: rgba(255, 255, 255, 0.06);
  --section-band-bg: #080b10;
  --section-band-text: rgba(255, 255, 255, 0.85);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--navy-soft);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2.25rem, 5.5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
strong { font-weight: 600; color: var(--navy); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.container {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Background */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.dot-grid {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image: radial-gradient(circle, var(--dot-grid-color) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, black 0%, transparent 80%);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
  pointer-events: none;
}

.glow-1 {
  width: 480px;
  height: 480px;
  background: var(--teal);
  top: -5%;
  right: -5%;
}

.glow-2 {
  width: 400px;
  height: 400px;
  background: var(--coral);
  bottom: 20%;
  left: -8%;
  opacity: 0.2;
}

.skip-link {
  position: absolute;
  top: -4rem;
  left: 1rem;
  z-index: 999;
  background: var(--coral);
  color: var(--bg-deep);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* ============================================================
   Components: Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--coral);
  color: var(--paper);
  border-color: var(--coral);
}
.btn-primary:hover {
  background: var(--coral-dark);
  border-color: var(--coral-dark);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--paper);
  color: var(--navy);
  border-color: var(--line-strong);
}
.btn-secondary:hover {
  background: #1e2838;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-sm {
  min-height: 2.5rem;
  padding: 0.5rem 1.1rem;
  font-size: 0.88rem;
}

.btn-block { width: 100%; }

/* ============================================================
   Components: Typography helpers
   ============================================================ */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: var(--space-sm);
}

.section-lede {
  color: var(--warm-gray);
  font-size: 1.05rem;
  max-width: 36rem;
  margin-bottom: 0;
}

.section-head.centered {
  text-align: center;
  max-width: 38rem;
  margin-inline: auto;
}
.section-head.centered .section-lede {
  margin-inline: auto;
}

.text-link {
  font-weight: 600;
  color: var(--coral);
  border-bottom: 1px solid var(--coral-light);
  padding-bottom: 0.1rem;
  transition: color 0.2s;
}
.text-link:hover { color: var(--coral-dark); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: var(--header-scrolled-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.brand:hover {
  opacity: 0.92;
}

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

.brand-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--navy);
  white-space: nowrap;
}

.brand-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  white-space: nowrap;
}

@media (max-width: 480px) {
  .brand-tag {
    display: none;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .brand-mark {
    width: 2.15rem;
    height: 2.15rem;
  }
}

.nav {
  display: none;
  align-items: center;
  gap: 0.15rem;
}

.nav a:not(.nav-cta) {
  padding: 0.45rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal);
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.nav a:not(.nav-cta):hover {
  color: var(--navy);
  background: var(--nav-hover-bg);
}

.nav-cta { margin-left: 0.5rem; }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-inline: 0.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--charcoal);
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s var(--ease);
}

.theme-toggle:hover {
  color: var(--navy);
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.theme-toggle svg {
  display: block;
}

[data-theme="dark"] .theme-toggle .icon-moon,
[data-theme="light"] .theme-toggle .icon-sun {
  display: none;
}

.theme-toggle-mobile {
  width: 100%;
  height: auto;
  min-height: 2.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.theme-toggle-label {
  pointer-events: none;
}

.nav-toggle {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  display: grid;
  place-content: center;
  gap: 6px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-nav {
  position: absolute;
  inset: calc(var(--header-h) + 0.5rem) 1.25rem auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.75rem;
  display: grid;
  gap: 0.25rem;
  box-shadow: var(--shadow-lg);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--charcoal);
}
.mobile-nav a:hover { background: var(--coral-light); color: var(--coral-dark); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding: calc(var(--header-h) + var(--space-xl)) 0 var(--space-xl);
}

.hero-grid {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--charcoal);
  max-width: 32rem;
}

.hero-trust {
  font-size: 0.92rem;
  color: var(--warm-gray);
  font-style: italic;
  border-left: 3px solid var(--gold);
  padding-left: 1rem;
  margin: 1.25rem 0 1.75rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-aside {
  position: relative;
}

.hero-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

.hero-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
}

.hero-card-caption {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  border-top: 1px solid var(--line);
}
.hero-card-caption strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.hero-card-caption span {
  font-size: 0.85rem;
  color: var(--warm-gray);
}

.hero-stat-card {
  position: absolute;
  bottom: -1.25rem;
  left: -1rem;
  background: var(--paper);
  color: var(--navy);
  border: 1px solid var(--line);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.hero-stat-card strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--coral);
}
.stat-label, .stat-note {
  font-size: 0.78rem;
  opacity: 0.75;
}

/* ============================================================
   Sections (shared)
   ============================================================ */
.section {
  padding: var(--space-2xl) 0;
}

.section-head {
  margin-bottom: var(--space-lg);
}

/* ============================================================
   Results / Case studies
   ============================================================ */
.results {
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.case-grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: var(--space-lg);
}

.case-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.case-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.case-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.case-card h3 {
  margin-bottom: 1rem;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 0 0 1rem;
}
.metrics div {
  text-align: center;
  padding: 0.75rem 0.5rem;
  background: var(--paper);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}
.metrics dt {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--warm-gray);
  margin-bottom: 0.25rem;
}
.metrics dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--coral);
}

.case-note {
  font-size: 0.9rem;
  color: var(--warm-gray);
  margin: 0;
}

.industries {
  padding-top: var(--space-md);
  border-top: 1px solid var(--line);
}
.industries-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-bottom: 0.75rem;
}

.industry-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.industry-list li {
  padding: 0.45rem 1rem;
  background: var(--gold-light);
  border: 1px solid rgba(184, 149, 106, 0.25);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy-soft);
}

/* ============================================================
   Services
   ============================================================ */
.service-grid {
  display: grid;
  gap: 1.25rem;
}

.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--coral-light);
}

.service-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-sm);
  background: var(--teal-light);
  color: var(--teal);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--warm-gray);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.service-card ul {
  list-style: none;
  display: grid;
  gap: 0.4rem;
}
.service-card li {
  font-size: 0.9rem;
  color: var(--charcoal);
  padding-left: 1.25rem;
  position: relative;
}
.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
}

/* ============================================================
   Process
   ============================================================ */
.process {
  background: var(--section-band-bg);
  color: var(--section-band-text);
}
.process h2, .process h3 { color: var(--navy); }
.process .eyebrow { color: var(--gold); }
.process .section-lede { color: rgba(255, 255, 255, 0.65); }

.process-list {
  list-style: none;
  display: grid;
  gap: 1rem;
  counter-reset: steps;
}

.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  transition: background 0.3s;
}
.process-step:hover {
  background: rgba(255, 255, 255, 0.08);
}

.step-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.9;
}

.process-step p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================================
   Why / Tools
   ============================================================ */
.why-grid {
  display: grid;
  gap: var(--space-lg);
}

.why-list {
  list-style: none;
  display: grid;
  gap: 1.25rem;
}
.why-list li {
  padding-left: 1.5rem;
  border-left: 3px solid var(--coral);
}
.why-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
.why-list span {
  font-size: 0.95rem;
  color: var(--warm-gray);
}

.tools {
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.tools-grid {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}
.tools-grid li {
  padding: 0.55rem 1.1rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-soft);
}

/* ============================================================
   Testimonials
   ============================================================ */
.testimonial-grid {
  display: grid;
  gap: 1.25rem;
}

.testimonial {
  margin: 0;
  padding: 1.75rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.testimonial p {
  font-size: 1rem;
  font-style: italic;
  color: var(--charcoal);
  margin-bottom: 1.25rem;
}
.testimonial footer strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
}
.testimonial footer span {
  font-size: 0.82rem;
  color: var(--warm-gray);
}

/* ============================================================
   Pricing
   ============================================================ */
.pricing-grid {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

.price-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.price-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.price-card.featured {
  border-color: var(--coral);
  box-shadow: var(--shadow-md);
}

.price-badge {
  position: absolute;
  top: -0.65rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--coral);
  color: var(--paper);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
}

.price-desc {
  color: var(--warm-gray);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.price-card ul {
  list-style: none;
  flex: 1;
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.price-card li {
  font-size: 0.9rem;
  padding-left: 1.25rem;
  position: relative;
  color: var(--charcoal);
}
.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
  font-size: 0.85rem;
}

.price-note {
  font-size: 0.9rem;
  color: var(--warm-gray);
  margin-bottom: 1rem;
}

/* ============================================================
   Blog
   ============================================================ */
.blog-grid {
  display: grid;
  gap: 1.25rem;
}

.blog-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.blog-card time {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--warm-gray);
  letter-spacing: 0.04em;
}

.blog-card h3 {
  margin: 0.5rem 0 0.75rem;
  font-size: 1.15rem;
}
.blog-card h3 a {
  color: var(--navy);
  transition: color 0.2s;
}
.blog-card h3 a:hover { color: var(--coral); }

.blog-card p {
  font-size: 0.92rem;
  color: var(--warm-gray);
  margin-bottom: 1rem;
}

/* ============================================================
   About
   ============================================================ */
.about {
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.about-grid {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}

.about-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
}

.about-copy p {
  color: var(--charcoal);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid {
  display: grid;
  gap: var(--space-lg);
}

.faq-list {
  display: grid;
  gap: 0.5rem;
}

.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 1.25rem;
  transition: border-color 0.25s;
}
.faq-item[open] {
  border-color: var(--coral-light);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--navy);
  padding: 1.1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--coral);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; }

.faq-item p {
  color: var(--warm-gray);
  font-size: 0.95rem;
  padding-bottom: 1.1rem;
  margin: 0;
}

/* ============================================================
   Contact
   ============================================================ */
.contact-grid {
  display: grid;
  gap: var(--space-lg);
}

.contact-links {
  list-style: none;
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
.contact-links strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-bottom: 0.15rem;
}
.contact-links a {
  color: var(--coral);
  font-weight: 600;
}
.contact-links a:hover { text-decoration: underline; }

.contact-form {
  display: grid;
  gap: 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font: inherit;
  color: var(--navy);
  background: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px var(--coral-light);
}

.contact-form .full,
.btn.full { grid-column: 1 / -1; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--section-band-bg);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-xl) 0;
}

.footer-grid {
  display: grid;
  gap: var(--space-md);
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}
.footer-nav a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--gold); }

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-contact a {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
}

.footer-copy {
  margin: 0;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ============================================================
   Responsive
   ============================================================ */
@media (min-width: 640px) {
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .nav { display: flex; }
  .nav-toggle { display: none; }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--space-xl);
  }

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

  .why-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }

  .about-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: var(--space-xl);
  }

  .faq-grid {
    grid-template-columns: 0.75fr 1.25fr;
    gap: var(--space-xl);
  }

  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }

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

  .footer-grid {
    grid-template-columns: 1fr auto auto;
    align-items: start;
  }
  .footer-copy { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); }

  .process-list {
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
  }
  .process-step {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

@media (max-width: 479px) {
  .metrics { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================================
   Dark theme — Analytics visuals
   ============================================================ */

.hero-visual-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  align-items: start;
}

.hero-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

.hero-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
}

.analytics-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 2rem;
}

.analytics-shot {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-md);
}

.analytics-shot img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.analytics-shot figcaption {
  padding: 0.55rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--teal);
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid var(--line);
}

.analytics-shot-secondary {
  transform: translateX(0.5rem);
  opacity: 0.92;
}

.hero-live-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.hero-live-metrics div {
  text-align: center;
  padding: 0.75rem 0.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.hero-live-metrics strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--teal);
  margin-bottom: 0.15rem;
}

.hero-live-metrics span {
  font-size: 0.68rem;
  color: var(--warm-gray);
  line-height: 1.3;
}

/* Analytics gallery section */
.analytics {
  background: var(--section-band-bg);
  border-block: 1px solid var(--line);
}

.analytics-gallery {
  display: grid;
  gap: 1.25rem;
  margin-bottom: var(--space-lg);
}

.analytics-panel {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.analytics-panel:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.analytics-panel img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.analytics-panel figcaption {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  border-top: 1px solid var(--line);
}

.analytics-panel figcaption strong {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--navy);
}

.analytics-panel figcaption span {
  font-size: 0.85rem;
  color: var(--warm-gray);
}

.metrics-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.metric-pill {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--navy-soft);
  background: var(--paper);
  border: 1px solid var(--line);
}

.metric-pill strong {
  color: var(--teal);
  margin-right: 0.35rem;
}

/* Case study thumbnails */
.case-thumb {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
}

.sample-badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 1;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cream);
  background: rgba(12, 16, 24, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
}

.coming-soon-badge {
  display: inline-flex;
  margin-top: 0.75rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--coral-dark);
  background: var(--coral-light);
  border: 1px solid rgba(224, 112, 95, 0.25);
}

.section-note {
  font-size: 0.95rem;
  color: var(--warm-gray);
}

.text-link.is-disabled {
  color: var(--warm-gray);
  cursor: default;
  pointer-events: none;
}

.blog-card.is-soon {
  opacity: 0.92;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.form-actions .btn {
  flex: 1 1 12rem;
}

.whatsapp-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.35);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.whatsapp-fab:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45);
  color: #fff;
}

@media (max-width: 640px) {
  .whatsapp-fab {
    right: 1rem;
    bottom: 1rem;
    width: 3.25rem;
    height: 3.25rem;
  }
}

.case-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: 0.9;
}

.case-card {
  background: var(--paper);
}

.metrics div {
  background: var(--cream);
}

/* Tools with analytics background */
.tools-analytics {
  position: relative;
  overflow: hidden;
}

.tools-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.tools-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  filter: saturate(0.6);
}

.tools-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--cream) 0%, var(--tools-gradient-end) 100%);
}

.tools-inner {
  position: relative;
  z-index: 1;
}

.contact-form input,
.contact-form textarea {
  background: var(--cream);
  color: var(--navy);
  border-color: var(--line);
}

.nav-cta {
  background: var(--coral);
  color: var(--bg-deep);
}

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

  .hero-aside {
    position: relative;
  }
}

@media (min-width: 1024px) {
  .analytics-gallery {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-visual-stack {
    grid-template-columns: 0.95fr 1.05fr;
  }
}

@media (max-width: 767px) {
  .hero-aside {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
  }

  .hero-visual-stack {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .analytics-stack {
    padding-top: 0;
    flex-direction: column;
    gap: 0.75rem;
  }

  .analytics-shot,
  .analytics-shot-secondary {
    transform: none;
    flex: none;
    width: 100%;
  }

  .hero-stat-card {
    position: static;
    left: auto;
    bottom: auto;
    width: 100%;
    margin: 0;
  }

  .hero-live-metrics {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }

  .hero-live-metrics div {
    padding: 0.65rem 0.35rem;
  }

  .hero-live-metrics strong {
    font-size: 0.95rem;
  }

  .hero-live-metrics span {
    font-size: 0.62rem;
  }

  .has-motion .hero-stat-card,
  .has-motion .analytics-shot-secondary {
    animation: none;
  }
}

@media (max-width: 380px) {
  .hero-live-metrics {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Motion layer — animations & interactive features
   ============================================================ */

.has-motion {
  cursor: default;
}

.has-motion:not(.is-loaded) {
  opacity: 0;
}

.has-motion.is-loaded {
  opacity: 1;
  transition: opacity 0.6s var(--ease);
}

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 200;
  background: linear-gradient(90deg, var(--coral), var(--gold), var(--teal));
  transform-origin: left center;
  transform: scaleX(0);
  pointer-events: none;
}

/* Cursor glow */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 191, 184, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  will-change: transform;
}

/* Enhanced ambient animation */
.has-motion .glow-1 {
  animation: driftA 18s ease-in-out infinite alternate;
}

.has-motion .glow-2 {
  animation: driftB 22s ease-in-out infinite alternate;
}

@keyframes driftA {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(60px, -40px) scale(1.1); }
}

@keyframes driftB {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-50px, 30px) scale(1.08); }
}

/* Nav active state */
.nav a.is-active:not(.nav-cta) {
  color: var(--teal);
  background: var(--teal-light);
}

/* Enhanced reveals */
.has-motion .reveal {
  opacity: 0;
  transform: translateY(32px) scale(0.98);
  filter: blur(4px);
  transition:
    opacity 0.85s var(--ease),
    transform 0.85s var(--ease),
    filter 0.85s var(--ease);
}

.has-motion .reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Hero entrance */
.has-motion .hero-copy .reveal:nth-child(1) { transition-delay: 0.05s; }
.has-motion .hero-copy .reveal:nth-child(2) { transition-delay: 0.15s; }
.has-motion .hero-copy .reveal:nth-child(3) { transition-delay: 0.25s; }
.has-motion .hero-copy .reveal:nth-child(4) { transition-delay: 0.35s; }
.has-motion .hero-copy .reveal:nth-child(5) { transition-delay: 0.45s; }

/* Floating elements */
.has-motion .hero-stat-card {
  animation: floatY 5s ease-in-out infinite;
}

.has-motion .analytics-shot-secondary {
  animation: floatY 6s ease-in-out infinite reverse;
}

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

/* Brand mark pulse */
.has-motion .brand-mark svg rect[y="22"] {
  animation: barGrow 1.2s var(--ease) 0.2s forwards;
  transform-origin: bottom center;
  transform: scaleY(0);
}

.has-motion .brand-mark svg rect[y="16"] {
  animation: barGrow 1.2s var(--ease) 0.35s forwards;
  transform-origin: bottom center;
  transform: scaleY(0);
}

.has-motion .brand-mark svg rect[y="10"] {
  animation: barGrow 1.2s var(--ease) 0.5s forwards;
  transform-origin: bottom center;
  transform: scaleY(0);
}

@keyframes barGrow {
  to { transform: scaleY(1); }
}

/* 3D tilt cards */
.tilt-card {
  transform: perspective(800px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) scale(var(--tilt-scale, 1));
  transition: transform 0.15s ease-out, box-shadow 0.3s ease;
  will-change: transform;
}

.tilt-card:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(61, 191, 184, 0.15);
}

/* Shimmer on featured pricing */
.has-motion .price-card.featured::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(61, 191, 184, 0.08) 50%,
    transparent 60%
  );
  background-size: 200% 100%;
  animation: shimmer 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Button hover glow */
.has-motion .btn-primary {
  position: relative;
  overflow: hidden;
}

.has-motion .btn-primary::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--coral), var(--teal), var(--coral));
  background-size: 200% 100%;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s;
  animation: gradientSlide 3s linear infinite;
}

.has-motion .btn-primary:hover::after {
  opacity: 0.35;
}

@keyframes gradientSlide {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* Analytics panel scan line */
.has-motion .analytics-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(61, 191, 184, 0.06) 50%, transparent 100%);
  background-size: 100% 200%;
  animation: scanLine 6s ease-in-out infinite;
  pointer-events: none;
  border-radius: inherit;
}

.has-motion .analytics-panel {
  position: relative;
  overflow: hidden;
}

@keyframes scanLine {
  0% { background-position: 0 -100%; }
  100% { background-position: 0 200%; }
}

/* Process steps sequential glow */
.has-motion .process-step {
  transition: border-color 0.4s, box-shadow 0.4s, transform 0.4s var(--ease);
}

.has-motion .process-step:hover {
  border-color: rgba(61, 191, 184, 0.35);
  box-shadow: 0 0 24px rgba(61, 191, 184, 0.1);
  transform: translateY(-3px);
}

/* Metric pills marquee feel */
.has-motion .metrics-strip {
  animation: fadeInUp 0.8s var(--ease) both;
}

.has-motion .metric-pill {
  transition: transform 0.25s var(--ease), border-color 0.25s;
}

.has-motion .metric-pill:hover {
  transform: translateY(-2px) scale(1.03);
  border-color: var(--teal);
}

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

/* FAQ smooth open */
.has-motion .faq-item summary {
  transition: color 0.2s;
}

.has-motion .faq-item[open] summary {
  color: var(--teal);
}

.has-motion .faq-item p {
  animation: faqOpen 0.35s var(--ease);
}

@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* Industry pills stagger pop */
.has-motion .industry-list li {
  transition: transform 0.25s var(--ease), background 0.25s;
}

.has-motion .industry-list li:hover {
  transform: scale(1.05);
  background: var(--teal-light);
}

/* Contact form focus glow */
.has-motion .contact-form input:focus,
.has-motion .contact-form textarea:focus {
  box-shadow: 0 0 0 3px var(--coral-light), 0 0 20px rgba(61, 191, 184, 0.15);
}

/* ============================================================
   Light theme
   ============================================================ */
[data-theme="light"] {
  --navy: #1a2332;
  --navy-soft: #2d3a4d;
  --charcoal: #3d4f63;
  --cream: #faf8f5;
  --paper: #ffffff;
  --bg-deep: #1a2332;
  --warm-gray: #6b7280;
  --line: rgba(26, 35, 50, 0.1);
  --line-strong: rgba(26, 35, 50, 0.18);

  --coral: #c75b4a;
  --coral-dark: #a8483a;
  --coral-light: rgba(199, 91, 74, 0.1);
  --gold: #b8956a;
  --gold-light: rgba(184, 149, 106, 0.12);
  --teal: #2a7d7d;
  --teal-light: rgba(42, 125, 125, 0.08);

  --shadow-sm: 0 2px 8px rgba(26, 35, 50, 0.06);
  --shadow-md: 0 8px 32px rgba(26, 35, 50, 0.08);
  --shadow-lg: 0 20px 60px rgba(26, 35, 50, 0.1);

  --header-scrolled-bg: rgba(255, 255, 255, 0.92);
  --nav-hover-bg: rgba(26, 35, 50, 0.05);
  --tools-gradient-end: rgba(250, 248, 245, 0.98);
  --dot-grid-color: rgba(26, 35, 50, 0.08);
  --section-band-bg: #1a2332;
  --section-band-text: rgba(255, 255, 255, 0.85);
}

[data-theme="light"] .glow {
  opacity: 0.18;
}

[data-theme="light"] .dot-grid {
  opacity: 0.35;
}

[data-theme="light"] .cursor-glow {
  background: radial-gradient(circle, rgba(199, 91, 74, 0.12) 0%, transparent 70%);
}

[data-theme="light"] .process h2,
[data-theme="light"] .process h3,
[data-theme="light"] .site-footer .footer-name {
  color: #ffffff;
}

[data-theme="light"] .sample-badge {
  color: #fff;
  background: rgba(26, 35, 50, 0.78);
  border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="light"] .btn-primary,
[data-theme="light"] .nav-cta,
[data-theme="light"] .skip-link {
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .has-motion .reveal,
  .has-motion .glow-1,
  .has-motion .glow-2,
  .has-motion .hero-stat-card,
  .has-motion .analytics-shot-secondary,
  .has-motion .price-card.featured::before,
  .has-motion .analytics-panel::after,
  .has-motion .brand-mark svg rect {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }

  .cursor-glow,
  .scroll-progress {
    display: none;
  }

  .has-motion body,
  .has-motion.is-loaded {
    opacity: 1;
  }

  .tilt-card {
    transform: none !important;
  }
}
