/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white: #ffffff;
  --off-white: #f8f8f7;
  --border: #e8e8e5;
  --border-hover: #d0d0cc;
  --text-primary: #111110;
  --text-secondary: #3d3d3b;
  --text-muted: #9a9a97;
  --accent: #185FA5;
  --accent-hover: #0f4a85;
  --accent-light: #e8f0fb;
  --accent-violet: #6D4AFF;
  --accent-cyan: #03A9D9;
  --accent-lime: #7AD83A;
  --heading-gradient: linear-gradient(100deg, #0D1B2A 0%, #185FA5 38%, #6D4AFF 70%, #03A9D9 100%);
  --green: #166534;
  --green-light: #dcfce7;
  --purple: #534AB7;
  --purple-light: #EEEDFE;
  --amber: #854F0B;
  --amber-light: #FAEEDA;
  --coral: #993C1D;
  --coral-light: #FAECE7;
  --teal: #0F6E56;
  --teal-light: #E1F5EE;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* === LAYOUT === */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === HEADER / NAV === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 60px;
  gap: 32px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity 0.18s;
}

.logo:hover { opacity: 0.82; }

.logo-img {
  height: 30px;
  width: auto;
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 4px;
  margin-left: 0;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: var(--off-white);
}

.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-portal {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  white-space: nowrap;
  text-decoration: none;
}

.btn-portal:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
  white-space: nowrap;
  text-decoration: none;
}

.btn-nav-cta:hover { background: var(--accent-hover); color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  transition: transform 0.2s;
}

@media (min-width: 769px) {
  .nav-inner > nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* === BUTTONS === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  transition: background 0.15s;
  text-decoration: none;
}

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

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 4px;
  transition: color 0.15s;
}

.btn-ghost:hover { color: var(--text-primary); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  transition: border-color 0.15s, background 0.15s;
}

.btn-outline:hover {
  border-color: var(--border-hover);
  background: var(--off-white);
}

.btn-primary-lg {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  transition: background 0.15s;
  white-space: nowrap;
}

.btn-primary-lg:hover { background: #f0f0ef; }

/* === HERO === */
.hero {
  padding: 96px 0 80px;
  border-bottom: 1px solid var(--border);
}

/* .hero-inner { max-width: 680px; } */

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-display);
  color: var(--accent);
  background: linear-gradient(135deg, rgba(232,240,251,0.95) 0%, rgba(237,237,254,0.8) 100%);
  border: 1.5px solid rgba(24, 95, 165, 0.22);
  padding: 5px 16px 5px 12px;
  border-radius: 999px;
  margin-bottom: 26px;
  box-shadow: 0 2px 14px rgba(24, 95, 165, 0.1), inset 0 1px 0 rgba(255,255,255,0.6);
}

.hero-eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  background: linear-gradient(135deg, var(--accent), var(--accent-violet));
  border-radius: 50%;
  flex-shrink: 0;
  animation: dotPulse 2.6s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(24, 95, 165, 0.4); }
  50% { opacity: 0.55; transform: scale(0.7); box-shadow: 0 0 0 4px rgba(24, 95, 165, 0); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.06rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 32px;
  max-width: 540px;
  text-wrap: pretty;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.hero-stack span {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--off-white);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 999px;
}

/* === SECTIONS === */
.section-white { padding: 80px 0; background: var(--white); }
.section-alt { padding: 80px 0; background: var(--off-white); }

.section-header {
  margin-bottom: 48px;
  max-width: 600px;
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.08;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.85;
  text-wrap: pretty;
  max-width: 560px;
}

/* === PREMIUM HEADINGS === */
.hero h1,
.page-hero h1,
.section-header h2,
.split-text h2,
.about-text h2,
.service-detail-head h2,
.cta-band h2 {
  position: relative;
  max-width: 780px;
  text-wrap: balance;
}

.hero h1,
.page-hero h1,
.section-header h2,
.split-text h2,
.about-text h2,
.service-detail-head h2 {
  background: var(--heading-gradient);
  background-size: 180% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 18px 44px rgba(24, 95, 165, 0.14);
}

.hero-accent {
  background: linear-gradient(100deg, var(--accent), var(--accent-violet), var(--accent-cyan));
  background-size: 170% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-header h2::after,
.split-text h2::after,
.about-text h2::after,
.service-detail-head h2::after {
  content: '';
  display: block;
  width: 64px;
  height: 3px;
  margin-top: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-violet), var(--accent-cyan));
  box-shadow: 0 8px 22px rgba(3, 169, 217, 0.26);
}

/* hero-eyebrow border/shadow already set in its own rule above */

.heading-reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.985);
  filter: blur(8px);
}

.heading-reveal.is-visible {
  animation: premiumHeadingIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards,
             headingGradientDrift 5.5s ease-in-out 0.35s infinite alternate;
}

@keyframes premiumHeadingIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes headingGradientDrift {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

/* === FEATURE CARDS === */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

.feat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.feat-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-sm);
}

.feat-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.feat-blue { background: var(--accent-light); color: var(--accent); }
.feat-green { background: var(--green-light); color: var(--green); }
.feat-purple { background: var(--purple-light); color: var(--purple); }
.feat-amber { background: var(--amber-light); color: var(--amber); }
.feat-coral { background: var(--coral-light); color: var(--coral); }
.feat-teal { background: var(--teal-light); color: var(--teal); }

.feat-card h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.feat-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.section-cta { margin-top: 32px; text-align: center; }

/* === SPLIT LAYOUT === */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.split-text h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.12;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.split-text p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}

.check-list {
  list-style: none;
  margin: 20px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-list li {
  font-size: 14px;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
  font-size: 12px;
  top: 2px;
}

.split-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.stat-block {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* === STACK GRID === */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stack-item {
  background: var(--white);
  padding: 20px 24px;
}

.stack-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.stack-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* === CTA BAND === */
.cta-band {
  background: var(--text-primary);
  padding: 56px 0;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.cta-band p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
}

/* === PAGE HERO === */
.page-hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: 2.7rem;
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: 0;
  color: var(--text-primary);
  margin-bottom: 16px;
  margin-top: 10px;
}

.page-hero-sub {
  font-size: 1.04rem;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.85;
  text-wrap: pretty;
}

/* === SERVICE DETAIL === */
.service-detail { margin-bottom: 16px; }

.service-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.service-badge-blue { background: var(--accent-light); color: var(--accent); }
.service-badge-green { background: var(--green-light); color: var(--green); }
.service-badge-purple { background: var(--purple-light); color: var(--purple); }
.service-badge-amber { background: var(--amber-light); color: var(--amber); }
.service-badge-coral { background: var(--coral-light); color: var(--coral); }
.service-badge-teal { background: var(--teal-light); color: var(--teal); }

.service-detail-head h2 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.service-detail-head p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 32px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.service-item {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.service-item h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.service-item p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* === PROCESS STEPS === */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.process-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--border-hover);
}

.step-content h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.step-content p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* === ABOUT PAGE === */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.about-text p {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.value-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.value-icon {
  width: 36px;
  height: 36px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.value-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* === EXPERTISE BARS === */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

.expertise-item { display: flex; flex-direction: column; gap: 6px; }

.expertise-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.expertise-bar {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.expertise-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
}

/* === CLIENT CARDS === */
.client-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.client-icon {
  width: 40px;
  height: 40px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.client-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.client-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* === CONTACT PAGE === */
.contact-section { padding: 64px 0 80px; }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-alert {
  border-radius: var(--radius-md);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 18px;
  padding: 12px 14px;
}

.form-alert-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.form-alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.hp-field {
  left: -9999px;
  position: absolute;
  top: auto;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-primary);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(24,95,165,0.1);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-group select { appearance: none; cursor: pointer; }

.btn-submit {
  align-self: flex-start;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 11px 24px;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.15s;
}

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

.form-note {
  font-size: 12px;
  color: var(--text-muted);
}

.form-note a {
  color: var(--accent);
  text-decoration: underline;
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 80px;
}

.contact-info-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.contact-info-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.next-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.next-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.next-num {
  width: 24px;
  height: 24px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.next-step strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
  margin-bottom: 2px;
}

.next-step p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-direct {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.contact-direct h3 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.direct-email {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  transition: opacity 0.15s;
}

.direct-email:hover { opacity: 0.75; }

.contact-frameworks {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.contact-frameworks h3 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.fw-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.fw-tags span {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--off-white);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 999px;
}

/* === FAQ === */
.faq-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
}

.faq-item h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.4;
}

.faq-item p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* === FOOTER === */
.site-footer {
  background: var(--off-white);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  padding: 48px 24px 40px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.65;
}

.footer-links {
  display: flex;
  gap: 48px;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col ul a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 0.15s;
}

.footer-col ul a:hover { color: var(--text-primary); }

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

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom span {
  font-size: 12px;
  color: var(--text-muted);
}

/* === FRAMEWORK LOGOS === */
.hero-stack span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.hero-stack span img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  flex-shrink: 0;
}

.stack-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
  margin-bottom: 12px;
}

.service-fw-icon {
  width: 56px;
  height: 56px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

.service-fw-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

/* === UTILITY === */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* === MOBILE NAV OPEN === */
body.nav-open .nav-links {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 60px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  gap: 4px;
  z-index: 99;
}

body.nav-open .nav-actions { display: none; }

/* === INDUSTRIES === */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.industry-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.industry-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.industry-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.industry-card h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.industry-card > p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.68;
  margin-bottom: 14px;
  flex: 1;
}

.industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: auto;
}

.industry-tags span {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Industry list (services page — compact horizontal rows) */
.industry-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.industry-row {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
  transition: background 0.15s;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 20px 28px;
  align-items: start;
}

.industry-row:last-child { border-bottom: none; }

.industry-row:hover { background: var(--off-white); }

.industry-row-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 2px;
}

.industry-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.industry-dot.feat-blue   { background: var(--accent); }
.industry-dot.feat-green  { background: var(--green); }
.industry-dot.feat-coral  { background: var(--coral); }
.industry-dot.feat-purple { background: var(--purple); }
.industry-dot.feat-amber  { background: var(--amber); }
.industry-dot.feat-teal   { background: var(--teal); }

.industry-row-label strong {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}

.industry-row > p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

.industry-row .industry-tags {
  justify-content: flex-end;
  max-width: 280px;
}

@media (max-width: 900px) {
  .industry-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .industry-row .industry-tags { justify-content: flex-start; max-width: none; }
}

/* === HERO GRID (2-col with orbital visual) === */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: center;
}

.hero-content { max-width: 530px; }

/* === ORBIT VISUAL === */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-scene {
  position: relative;
  width: 400px;
  height: 400px;
  flex-shrink: 0;
}

/* Ambient glow behind orbit */
.orbit-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center,
    rgba(24, 95, 165, 0.2) 0%,
    rgba(109, 74, 255, 0.12) 40%,
    transparent 70%);
  border-radius: 50%;
  animation: glowPulse 4.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glowPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.9; }
  50% { transform: translate(-50%, -50%) scale(1.5); opacity: 0.35; }
}

/* Center hub */
.orbit-center-node {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.orbit-center-content {
  width: 72px;
  height: 72px;
  background: linear-gradient(140deg, #185FA5 0%, #4f3fd4 55%, #6D4AFF 100%);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 10px 32px rgba(24, 95, 165, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  position: relative;
  z-index: 2;
  animation: centerFloat 5.5s ease-in-out infinite;
}

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

.orbit-pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 22px;
  border: 2px solid rgba(24, 95, 165, 0.5);
  animation: hubPulse 2.8s ease-out infinite;
  pointer-events: none;
}

@keyframes hubPulse {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(2.4); opacity: 0; }
}

/* Orbit rings (the circular track) */
.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px dashed rgba(24, 95, 165, 0.14);
}

.orbit-ring--inner {
  width: 224px;
  height: 224px;
  margin: -112px 0 0 -112px;
  animation: spinCW 20s linear infinite;
}

.orbit-ring--outer {
  width: 340px;
  height: 340px;
  margin: -170px 0 0 -170px;
  animation: spinCCW 32s linear infinite;
}

@keyframes spinCW  { to { transform: rotate(360deg); } }
@keyframes spinCCW { to { transform: rotate(-360deg); } }

/* Individual orbit items */
.orbit-dot {
  position: absolute;
  top: 50%;
  left: 50%;
}

.orbit-ring--inner .orbit-dot {
  width: 54px;
  height: 54px;
  margin: -27px 0 0 -27px;
  transform: rotate(var(--angle)) translateX(112px);
}

.orbit-ring--outer .orbit-dot {
  width: 60px;
  height: 60px;
  margin: -30px 0 0 -30px;
  transform: rotate(var(--angle)) translateX(170px);
}

/* Orbit cards (logo badge floating in space) */
.orbit-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 16px;
  box-shadow:
    0 4px 18px rgba(0, 0, 0, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  padding: 6px 4px 5px;
}

/* Counter-rotate the cards so they stay upright while the ring spins */
.orbit-card--inner { animation: counterCCW 20s linear infinite; }
.orbit-card--outer { animation: counterCW  32s linear infinite; }

@keyframes counterCCW { to { transform: rotate(-360deg); } }
@keyframes counterCW  { to { transform: rotate(360deg);  } }

.orbit-card img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

.orbit-card span {
  font-size: 8.5px;
  font-weight: 600;
  color: #4a4a48;
  white-space: nowrap;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  line-height: 1;
}

.orbit-ring--outer .orbit-card img  { width: 24px; height: 24px; }
.orbit-ring--outer .orbit-card span { font-size: 9px; }

/* === RESPONSIVE === */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}

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

  .hero { padding: 56px 0 48px; }

  .hero h1 { font-size: 2.45rem; }
  .page-hero h1 { font-size: 2.15rem; }
  .section-header h2 { font-size: 1.75rem; }
  .split-text h2,
  .about-text h2,
  .service-detail-head h2,
  .cta-band h2 { font-size: 1.55rem; }

  .split-layout,
  .about-split { grid-template-columns: 1fr; gap: 40px; }

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

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

  .contact-sidebar { position: static; }

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

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-links {
    gap: 32px;
    flex-wrap: wrap;
  }

  .footer-bottom .container {
    flex-direction: column;
    align-items: flex-start;
  }

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

/* === AI Chat Widget === */
.ai-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.ai-trigger {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-violet) 100%);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 20px rgba(24, 95, 165, 0.45), 0 0 0 0 rgba(109, 74, 255, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: aiWidgetPulse 3.2s ease-in-out infinite;
}

@keyframes aiWidgetPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(24, 95, 165, 0.45), 0 0 0 0 rgba(109, 74, 255, 0.25); }
  55%       { box-shadow: 0 4px 20px rgba(24, 95, 165, 0.45), 0 0 0 10px rgba(109, 74, 255, 0); }
}

.ai-trigger:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(24, 95, 165, 0.6);
  animation: none;
}

.ai-trigger svg {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ai-trigger.is-open svg {
  transform: rotate(45deg) scale(0.9);
}

.ai-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 8px 48px rgba(0,0,0,0.14), 0 2px 12px rgba(0,0,0,0.06);
  padding: 18px 16px 16px;
  min-width: 312px;
  display: none;
  transform-origin: bottom right;
}

.ai-panel.is-open {
  display: block;
  animation: aiPanelIn 0.24s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes aiPanelIn {
  from { opacity: 0; transform: scale(0.88) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.ai-panel-hdr {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--border);
}

.ai-panel-hdr svg {
  color: var(--accent-violet);
  flex-shrink: 0;
}

.ai-panel-hdr span {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.ai-apps-row {
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.ai-app-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  transition: transform 0.16s;
  flex: 1;
}

.ai-app-btn:hover {
  transform: translateY(-3px);
}

.ai-app-ico {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
  transition: box-shadow 0.16s;
}

.ai-app-btn:hover .ai-app-ico {
  box-shadow: 0 4px 18px rgba(0,0,0,0.22);
}

.ai-app-lbl {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
  font-family: var(--font-display);
  letter-spacing: 0.01em;
}

.ai-panel-note {
  margin-top: 13px;
  padding-top: 11px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

@media (max-width: 520px) {
  .ai-widget { bottom: 16px; right: 16px; }
  .ai-panel  { min-width: calc(100vw - 48px); }
  .ai-apps-row { gap: 6px; }
  .ai-app-ico { width: 44px; height: 44px; border-radius: 12px; }
  .ai-trigger { width: 46px; height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  .heading-reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }

  /* Without animation, counter-rotate the orbit cards to keep them upright */
  .orbit-card--inner,
  .orbit-card--outer {
    transform: rotate(calc(-1 * var(--angle))) !important;
  }
}

/* ============================================================
   HOMEPAGE V2 — Proof cards, Process, Trust bar
   ============================================================ */

/* Trust bar below hero CTA */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 20px;
  margin-top: 24px;
}
.trust-bar-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--text-muted);
}
.trust-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Proof cards — replaces boring stat boxes */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.proof-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.proof-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-violet) 100%);
}
.proof-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(0,0,0,.09);
}
.proof-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.proof-card h3 {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 7px;
  line-height: 1.2;
}
.proof-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Improved feat-card hover */
.feat-card {
  transition: transform .2s ease, box-shadow .2s ease;
}
.feat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,.07);
}

/* Process section */
.process-section { padding: 88px 0; background: var(--off-white); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 52px;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 21px;
  left: calc(12.5% + 0px);
  right: calc(12.5% + 0px);
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-violet) 60%, var(--accent-cyan) 100%);
  opacity: .35;
  pointer-events: none;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 18px;
  position: relative;
}
.process-num {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-violet) 100%);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 20px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 14px rgba(24,95,165,.3);
}
.process-step h3 {
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.process-step p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
}
.process-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  border-radius: 20px;
  padding: 2px 9px;
  margin-bottom: 10px;
  letter-spacing: .02em;
  text-transform: uppercase;
}

/* Why section redesign wrapper */
.why-section { padding: 88px 0; background: var(--white); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* Gradient headline accent */
.gradient-text {
  background: var(--heading-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Bold eyebrow with gradient dot */
.eyebrow-dot::before {
  background: linear-gradient(135deg, var(--accent), var(--accent-violet));
}

/* Responsive */
@media (max-width: 768px) {
  .proof-grid   { grid-template-columns: 1fr; }
  .why-grid     { grid-template-columns: 1fr; gap: 40px; }
  .process-steps {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .process-steps::before { display: none; }
}
@media (max-width: 520px) {
  .process-steps { grid-template-columns: 1fr; }
}
