:root {
  --navy: #0b1a2e;
  --navy-2: #12243f;
  --blue: #1b3a66;
  --sky: #3f7fd4;
  --teal: #2dd4bf;
  --teal-dark: #148f80;
  --amber: #f7b733;
  --cream: #f6f8fb;
  --ink: #14202f;
  --muted: #5d6b7e;
  --line: #e2e8f0;
  --white: #ffffff;
  --shadow-sm: 0 2px 12px rgba(11, 26, 46, 0.08);
  --shadow-md: 0 14px 36px rgba(11, 26, 46, 0.14);
  --shadow-lg: 0 26px 60px rgba(11, 26, 46, 0.22);
  --radius: 18px;
  --radius-sm: 10px;
  --sans: "Inter", "Segoe UI", Arial, sans-serif;
  --display: "Space Grotesk", "Segoe UI", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--teal-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--amber);
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
}

h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

p {
  color: var(--muted);
}

.accent {
  color: var(--amber);
}

.accent-2 {
  color: var(--teal);
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--teal-dark);
  margin-bottom: 0.6rem;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 2.8rem;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.lead {
  font-size: 1.13rem;
  color: var(--muted);
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 1.6rem;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-teal {
  background: var(--teal);
  color: var(--navy);
}

.btn-teal:hover {
  background: var(--teal-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-amber {
  background: var(--amber);
  color: var(--navy);
}

.btn-amber:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-outline-dark {
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline-dark:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-2px);
}

.text-center {
  text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-2 { margin-bottom: 2rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 26, 46, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.95rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--teal);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
}

.brand-name {
  font-family: var(--display);
  font-size: 1.22rem;
  font-weight: 600;
  color: #fff;
}

.brand-name span {
  display: block;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--teal);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}

.nav-links a {
  color: #cdd9ea;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--amber);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s;
}

.hero {
  position: relative;
  background: radial-gradient(1000px 500px at 85% -5%, rgba(63, 127, 212, 0.35), transparent 60%),
    radial-gradient(700px 500px at 5% 110%, rgba(45, 212, 191, 0.25), transparent 60%),
    linear-gradient(180deg, #0b1a2e, #12243f);
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(800px 400px at 70% 30%, #000 30%, transparent 75%);
  pointer-events: none;
  animation: gridShift 36s linear infinite;
}
@keyframes gridShift {
  from { background-position: 0 0; }
  to { background-position: 56px 56px; }
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
  padding: clamp(3.6rem, 8vw, 6.5rem) 0;
}

.hero h1 {
  color: #fff;
  margin: 1.1rem 0 1.1rem;
  line-height: 1.08;
}
.grad-text {
  background: linear-gradient(92deg, #2dd4bf 0%, #67e8f9 55%, #f7b733 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-sub {
  color: #b9c9de;
  font-size: 1.12rem;
  line-height: 1.65;
  max-width: 34rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-top: 1.9rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin-top: 2.1rem;
}

.hstat {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.hstat .num {
  font-family: var(--display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--amber);
}

.hstat small {
  font-size: 0.79rem;
  color: #aebfd6;
  line-height: 1.4;
}

.hero-visual {
  position: relative;
}
.fx-stage {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fx-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.9;
  z-index: 0;
}
.fx-blob-1 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #2dd4bf, #3f7fd4);
  top: 0;
  left: 0;
}
.fx-blob-2 {
  width: 240px;
  height: 240px;
  background: linear-gradient(135deg, #f7b733, #f29b13);
  bottom: 10px;
  right: 5px;
}
.fx-blob-3 {
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, #67e8f9, #2dd4bf);
  top: 38%;
  right: 30%;
}
.fx-ring {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.22);
  z-index: 1;
  animation: ringSpin 32s linear infinite;
}
@keyframes ringSpin {
  to { transform: rotate(360deg); }
}
.fx-ring::after {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 14px rgba(45, 212, 191, 0.9);
}
.fx-ring2 {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 3px dashed rgba(247, 183, 51, 0.35);
  z-index: 1;
  animation: ringSpin 22s linear infinite reverse;
}
.fx-card {
  position: relative;
  z-index: 2;
  background: linear-gradient(160deg, rgba(18, 39, 63, 0.92), rgba(11, 26, 46, 0.9));
  border: 1px solid rgba(45, 212, 191, 0.35);
  border-radius: 30px;
  padding: 2.2rem 2.6rem;
  text-align: center;
  box-shadow: 0 30px 70px rgba(4, 12, 24, 0.55);
  backdrop-filter: blur(12px);
  max-width: 340px;
}
.fx-card-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 0.4rem;
}
.fx-count-row {
  font-family: var(--display);
  font-size: 4.3rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  display: flex;
  align-items: baseline;
  justify-content: center;
}
.fx-count {
  background: linear-gradient(92deg, #2dd4bf 0%, #67e8f9 55%, #f7b733 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.fx-count-pct { color: var(--amber); }
.fx-count-label {
  color: #b9c9de;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}
.fx-arrow {
  margin-top: 1.1rem;
  color: var(--teal);
  font-size: 1.4rem;
  letter-spacing: 0.15em;
  animation: fxArrow 1.6s ease-in-out infinite;
}
@keyframes fxArrow {
  0%, 100% { transform: translateY(3px); }
  50% { transform: translateY(-5px); }
}
.fx-chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  background: rgba(11, 26, 46, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 30px rgba(4, 12, 24, 0.4);
  backdrop-filter: blur(8px);
  animation: chipBob 3.4s ease-in-out infinite;
}
.fx-chip span { color: var(--amber); }
.fx-chip-1 { top: 6%; left: 4%; }
.fx-chip-2 { bottom: 14%; right: 2%; animation-delay: 0.5s; }
.fx-chip-3 { bottom: 2%; left: 8%; animation-delay: 1s; }
@keyframes chipBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.7;
}

.orb-1 {
  width: 320px;
  height: 320px;
  background: var(--teal);
  top: -40px;
  right: -40px;
}

.orb-2 {
  width: 260px;
  height: 260px;
  background: var(--blue);
  bottom: -60px;
  left: -40px;
}

.mockup {
  position: relative;
  border-radius: var(--radius);
  padding: 1.3rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lg);
}

.mockup-bar {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.mockup-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.mockup-bar span:first-child {
  background: var(--amber);
}

.mockup-body {
  border-radius: 12px;
  background: #0f2138;
  padding: 1.1rem;
}

.mock-row {
  height: 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 0.7rem;
}

.mock-row.short {
  width: 62%;
}

.mock-row.med {
  width: 80%;
}

.mock-chip {
  display: inline-block;
  background: var(--teal);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
}

.mock-chip.amber {
  background: var(--amber);
}

.mock-line {
  color: #dfe8f5;
  font-size: 0.85rem;
  margin-top: 0.9rem;
}

.mock-line strong {
  color: var(--teal);
}

.mock-arrow {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  font-size: 1.3rem;
  color: var(--teal);
  animation: floaty 3s ease-in-out infinite;
}

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

.page-hero {
  position: relative;
  background: radial-gradient(800px 400px at 20% -10%, rgba(63, 127, 212, 0.35), transparent 60%),
    linear-gradient(180deg, #0b1a2e, #12243f);
  color: #fff;
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.page-hero h1 {
  color: #fff;
  margin: 0.5rem 0 0.8rem;
}

.page-hero p {
  color: #b9c9de;
  max-width: 40rem;
}

.breadcrumb {
  font-size: 0.85rem;
  color: #a7b8cf;
}

.breadcrumb a {
  color: var(--teal);
}

.breadcrumb a:hover {
  color: var(--amber);
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.viz-card {
  border-radius: var(--radius);
  background: linear-gradient(150deg, #12243f, #1b3a66);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.viz-card::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--amber);
  opacity: 0.15;
  filter: blur(50px);
  right: -40px;
  bottom: -40px;
}

.viz-card ul {
  list-style: none;
}

.viz-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  color: #dbe6f5;
  padding: 0.55rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
}

.viz-card li:last-child {
  border-bottom: none;
}

.viz-card .li-mark {
  color: var(--teal);
  font-weight: 700;
}

.check-list {
  list-style: none;
  margin-top: 1.3rem;
}

.check-list li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.7rem;
  color: var(--ink);
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--teal-dark);
  font-weight: 700;
}

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

.service-card {
  position: relative;
  border-radius: var(--radius);
  padding: 1.8rem 1.7rem;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.service-card.tinted {
  background: linear-gradient(180deg, #eef6f5, #ffffff);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
  color: var(--navy);
}

.service-icon.teal { background: rgba(45, 212, 191, 0.16); }
.service-icon.amber { background: rgba(247, 183, 51, 0.2); }
.service-icon.blue { background: rgba(63, 127, 212, 0.16); }
.service-icon.sky { background: rgba(27, 58, 102, 0.12); }

.service-card h3 {
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.95rem;
}

.service-link {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  margin-top: 1.1rem;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--teal-dark);
}

.service-link:hover {
  color: var(--amber);
}

/* ========== Services directory ========== */
.svc-index {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  margin: -1rem 0 2.8rem;
}
.svc-index-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 0.3rem;
}
.svc-index a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.42rem 1rem;
  transition: all 0.2s ease;
}
.svc-index a:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
  box-shadow: var(--shadow-sm);
}

.svc-stack {
  display: grid;
  gap: 0;
}

.svc-row {
  position: relative;
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 2.2rem;
  align-items: center;
  padding: 2.6rem 1.4rem;
  border: 1px solid var(--line);
  border-bottom: none;
  background: #fff;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  scroll-margin-top: 100px;
}
.svc-row:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.svc-row:last-child { border-bottom: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); }
.svc-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  border-radius: 5px;
  background: var(--teal);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.svc-row:hover { box-shadow: var(--shadow-md); z-index: 1; }
.svc-row:hover::before { opacity: 1; }

.svc-row.tone-teal::before { background: var(--teal); }
.svc-row.tone-amber::before { background: var(--amber); }
.svc-row.tone-blue::before { background: var(--sky); }

.svc-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 3.4rem;
  line-height: 1;
  color: #e6edf7;
  text-align: center;
  -webkit-text-stroke: 1px rgba(20, 184, 166, 0.25);
  transition: color 0.25s ease;
  user-select: none;
}
.svc-row:hover .svc-num { color: var(--teal-dark); }

.svc-body { min-width: 0; }
.svc-icon {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.1rem;
}
.svc-icon .service-icon { margin-bottom: 0; }
.svc-tag {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 0.25rem;
}
.svc-body h3 { margin-bottom: 0.8rem; }
.svc-lead {
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.9rem;
}
.svc-body > p:not(.svc-lead) {
  font-size: 0.95rem;
  color: var(--muted);
}
.svc-cta { min-width: 200px; }

/* Row background tints per tone */
.svc-row.tone-teal { background: linear-gradient(90deg, rgba(45, 212, 191, 0.05), #fff 45%); }
.svc-row.tone-amber { background: linear-gradient(90deg, rgba(247, 183, 51, 0.06), #fff 45%); }
.svc-row.tone-blue { background: linear-gradient(90deg, rgba(63, 127, 212, 0.05), #fff 45%); }

@media (max-width: 1024px) {
  .svc-row {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding: 2rem 1.2rem;
  }
  .svc-num {
    font-size: 2.6rem;
    text-align: left;
  }
  .svc-cta { min-width: 0; }
}

/* ========== AI Business Consulting feature card ========== */
.svc-feature {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.8rem;
  align-items: center;
  padding: 2rem 2.2rem;
  margin-bottom: 1.6rem;
  border-radius: var(--radius);
  background: linear-gradient(120deg, #fff, #f2f7fb);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 100px;
}
.svc-feature-icon {
  width: 64px;
  height: 64px;
  font-size: 1.9rem;
  border-radius: 16px;
  margin-bottom: 0;
}
.svc-feature-body h3 { margin: 0.25rem 0 0.7rem; }
.svc-feature-body .check-list { margin-top: 1rem; }
.svc-feature-cta { min-width: 220px; }

@media (max-width: 1024px) {
  .svc-feature {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.6rem;
  }
  .svc-feature-cta { min-width: 0; }
}

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

.value-block {
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  background: var(--cream);
  border: 1px solid var(--line);
}

.value-block .v-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.value-block h3 {
  margin-bottom: 0.5rem;
}

.value-block p {
  font-size: 0.95rem;
}

.value-block.dark {
  background: linear-gradient(160deg, #12243f, #1b3a66);
  border-color: transparent;
}

.value-block.dark h3 {
  color: #fff;
}

.value-block.dark p {
  color: #b9c9de;
}

.stats-band {
  background: linear-gradient(120deg, #12243f, #1b3a66);
  padding: 2.6rem 0;
}

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

.stat-num {
  font-family: var(--display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--amber);
}

.stat-label {
  color: #b9c9de;
  font-size: 0.9rem;
}

.process {
  counter-reset: pstep;
}

.process .p-item {
  position: relative;
  padding-left: 4rem;
  padding-bottom: 2.2rem;
  border-left: 2px dashed var(--line);
}

.process .p-item:last-child {
  border-left-color: transparent;
}

.p-num {
  counter-increment: pstep;
  position: absolute;
  left: -1.3rem;
  top: 0;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--teal);
  color: var(--navy);
  font-family: var(--display);
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 1rem;
}

.p-num::after {
  content: counter(pstep);
}

.p-item h3 {
  margin-bottom: 0.4rem;
}

.p-item p {
  font-size: 0.95rem;
  max-width: 56ch;
}

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

.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
}

.testimonial .stars {
  color: var(--amber);
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
}

.testimonial blockquote {
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.6;
  margin-bottom: 1.1rem;
}

.testimonial .who strong {
  display: block;
  color: var(--navy);
  font-size: 0.98rem;
}

.testimonial .who span {
  color: var(--muted);
  font-size: 0.85rem;
}

.offer-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(120deg, #f29b13, var(--amber) 55%, #f7cf4d);
  color: var(--navy);
  padding: clamp(2rem, 5vw, 3rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.offer-band h2 {
  color: var(--navy);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.offer-band p {
  color: rgba(11, 26, 46, 0.78);
  margin-top: 0.4rem;
}

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.form-head {
  background: linear-gradient(150deg, #12243f, #1b3a66);
  color: #fff;
  padding: 1.6rem 2rem;
}

.form-head h3 {
  color: #fff;
}

.form-head p {
  color: #b9c9de;
  font-size: 0.9rem;
}

.form-body {
  padding: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.field input,
.field textarea {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.95rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
  background: #fbfcfe;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.2);
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.agree {
  font-size: 0.82rem;
  color: var(--muted);
}

.alert {
  display: none;
  margin-top: 1rem;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.2rem;
  font-size: 0.92rem;
}

.alert.ok {
  display: block;
  background: #e6f7f4;
  color: #0e7a67;
  border: 1px solid #b5e8dd;
}

.alert.err {
  display: block;
  background: #fdecec;
  color: #a03434;
  border: 1px solid #f2c4c4;
}

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

.contact-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.contact-card .cc-head {
  background: linear-gradient(150deg, #12243f, #1b3a66);
  color: #fff;
  padding: 1.5rem 1.8rem;
}

.contact-card .cc-head h3 {
  color: #fff;
}

.contact-card .cc-head small {
  color: #b9c9de;
}

.cc-body {
  padding: 1.4rem 1.8rem 1.8rem;
}

.info-line {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--line);
}

.info-line:last-child {
  border-bottom: none;
}

.info-line .il-icon {
  color: var(--teal-dark);
  font-size: 1.05rem;
  line-height: 1.5;
}

.info-line strong {
  display: block;
  color: var(--navy);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.info-line span,
.info-line a {
  color: var(--muted);
  font-size: 0.95rem;
}

.cta-band {
  background: linear-gradient(120deg, #12243f, #1b3a66);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3.5rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.cta-band p {
  color: #b9c9de;
  margin-top: 0.4rem;
}

.site-footer {
  background: var(--navy);
  color: #aebfd6;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
}

.footer-grid h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 1.1rem;
}

.footer-grid ul {
  list-style: none;
}

.footer-grid ul li {
  margin-bottom: 0.55rem;
}

.footer-grid ul a {
  color: #aebfd6;
  font-size: 0.92rem;
}

.footer-grid ul a:hover {
  color: var(--amber);
}

.footer-about p {
  color: #93a6c0;
  font-size: 0.93rem;
  margin: 0.9rem 0 1.2rem;
}

.footer-social {
  display: flex;
  gap: 0.7rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.9rem;
  transition: background 0.2s ease;
}

.footer-social a:hover {
  background: var(--amber);
  color: var(--navy);
}

.footer-contact p,
.footer-contact a {
  color: #93a6c0;
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
}

.footer-contact a:hover {
  color: var(--amber);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: #7f93ad;
}

.footer-bottom a {
  color: #aebfd6;
}

.back-top {
  position: fixed;
  right: 24px;
  bottom: 96px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 90;
}

.back-top.show {
  opacity: 1;
  pointer-events: auto;
}

.back-top:hover {
  transform: translateY(-3px);
  background: var(--blue);
}

.info-cards {
  display: grid;
  gap: 1.2rem;
}

@media (max-width: 1024px) {
  .services-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (max-width: 860px) {
  .hero-inner,
  .about-split,
  .contact-split {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .testimonials {
    grid-template-columns: 1fr;
  }

  .offer-band,
  .cta-band {
    flex-direction: column;
    text-align: center;
  }

  .nav-links,
  .nav-cta .btn {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 1.4rem 5%;
    box-shadow: var(--shadow-lg);
  }
}

@media (max-width: 560px) {
  .grid-2,
  .grid-3,
  .services-grid,
  .values-grid,
  .form-grid,
  .stats-band .container {
    grid-template-columns: 1fr;
  }

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

  .fx-stage { min-height: 460px; }
  .fx-ring { width: 400px; height: 400px; }
  .fx-ring2 { width: 300px; height: 300px; }
  .fx-card { padding: 1.7rem 1.9rem; }
  .fx-count-row { font-size: 3.4rem; }

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

/* ========== AI Tools ========== */

.ai-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}

.tool-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 2.2rem;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tool-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.tool-card.dark {
  background: linear-gradient(160deg, #12243f, #1b3a66);
  border-color: transparent;
}

.tool-card.dark h3 { color: #fff; }
.tool-card.dark p { color: #b9c9de; }

.tool-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: var(--navy);
  background: rgba(45, 212, 191, 0.16);
}

.tool-icon.amber { background: rgba(247, 183, 51, 0.22); }

.tool-cta { margin-top: auto; padding-top: 1rem; }

/* Audit widget */
.audit-card { max-width: 920px; margin: 0 auto; }
.scan { padding: 1.4rem 1.8rem 2rem; }
.scan-list { list-style: none; }
.scan-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.5rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.scan-list li::before {
  content: "";
  width: 20px;
  height: 20px;
  border: 2px solid var(--line);
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  color: #fff;
  transition: all 0.3s ease;
}
.scan-list li.done { color: var(--ink); }
.scan-list li.done::before {
  content: "\2713";
  background: var(--teal);
  border-color: var(--teal);
}
.scan-bar {
  height: 8px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
  margin: 1rem 0 0.4rem;
}
.scan-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--teal), var(--amber));
  border-radius: inherit;
  transition: width 0.5s ease;
}
.scan-status { font-size: 0.85rem; color: var(--muted); }

.report { padding: 0.6rem 1.8rem 2rem; }
.report-top {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  flex-wrap: wrap;
}
.score-ring {
  --val: 0;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--teal) calc(var(--val) * 1%), #e9eef5 0);
}
.score-ring span {
  width: 102px;
  height: 102px;
  background: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 2.1rem;
  color: var(--navy);
}
.report-verdict strong { display: block; color: var(--navy); font-size: 1.15rem; margin-bottom: 0.2rem; }
.report-verdict p { font-size: 0.9rem; max-width: 34rem; }

.score-group { margin-top: 1.3rem; }
.score-row { margin-bottom: 0.9rem; }
.score-row .row-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--ink);
  margin-bottom: 0.3rem;
}
.score-row .row-top span { font-weight: 600; }
.score-row .bar {
  height: 8px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}
.score-row .bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--sky));
  transition: width 1s ease;
}
.score-row.low .bar i { background: linear-gradient(90deg, #ef6c6c, #f7b733); }
.score-row.mid .bar i { background: linear-gradient(90deg, #f7b733, #f0c53e); }

.rec-list { margin-top: 1.4rem; }
.rec-list li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.55rem;
  color: var(--ink);
  font-size: 0.95rem;
}
.rec-list li::before {
  content: "\25B8";
  position: absolute;
  left: 0;
  color: var(--amber);
}
.audit-foot {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.audit-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 1.1rem;
  border-top: 1px dashed var(--line);
  padding-top: 0.9rem;
}

/* Quiz */
.quiz-box {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.quiz-head {
  background: linear-gradient(150deg, #12243f, #1b3a66);
  color: #fff;
  padding: 1.6rem 2rem;
}
.quiz-head h3 { color: #fff; }
.quiz-head p { color: #b9c9de; font-size: 0.9rem; }
.quiz-progress {
  height: 8px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  margin-top: 1rem;
  overflow: hidden;
}
.quiz-progress i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--teal), var(--amber));
  border-radius: inherit;
  transition: width 0.4s ease;
}
.quiz-body { padding: 2rem; }
.quiz-step { display: none; }
.quiz-step.active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.quiz-step h3.q { font-size: 1.5rem; margin-bottom: 1.3rem; }
.q-count { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 0.3rem; }
.q-option {
  display: block;
  width: 100%;
  text-align: left;
  background: #fbfcfe;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  margin-bottom: 0.8rem;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.98rem;
  color: var(--ink);
  transition: 0.2s;
}
.q-option:hover { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.15); transform: translateX(4px); }
.q-option.selected { border-color: var(--teal); background: #eefbf9; box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.2); }
.q-option .qi { font-weight: 600; color: var(--navy); }
.q-option small { display: block; color: var(--muted); margin-top: 0.15rem; }
.quiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 1.4rem; }
.quiz-nav .btn { min-width: 120px; }
.quiz-result { display: none; }
.quiz-result.show { display: block; animation: fadeIn 0.3s ease; }
.result-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.2rem;
  margin-top: 1.4rem;
}
.rec-card {
  background: #fbfcfe;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.rec-card .rec-icon { color: var(--teal-dark); font-size: 1.4rem; }
.rec-card h4 { color: var(--navy); font-size: 1.15rem; }
.rec-card p { font-size: 0.88rem; }
.rec-card .btn { margin-top: auto; align-self: flex-start; }
.quiz-meta { font-size: 0.8rem; color: var(--muted); margin-top: 1.2rem; }

/* AI Chat Assistant */
.chat-app {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 0.8rem;
}
.chat-fab {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--teal), var(--sky));
  color: var(--navy);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: var(--shadow-lg);
  display: grid;
  place-items: center;
  transition: transform 0.2s ease;
}
.chat-fab:hover { transform: translateY(-3px) scale(1.05); }
.chat-fab-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #fff;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.7; }
}
.chat-panel {
  width: min(370px, calc(100vw - 40px));
  height: min(520px, calc(100vh - 140px));
  display: none;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.chat-panel.open { display: flex; animation: slideUp 0.25s ease; }
@keyframes slideUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.chat-head {
  background: linear-gradient(135deg, #12243f, #1b3a66);
  color: #fff;
  padding: 0.9rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--navy);
  font-family: var(--display);
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.chat-ident { flex: 1; }
.chat-ident strong { color: #fff; font-size: 0.92rem; }
.chat-ident span { display: block; font-size: 0.74rem; color: #b9c9de; }
.chat-online {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  margin-right: 0.25rem;
}
.chat-close { background: none; border: none; color: #fff; font-size: 1.4rem; cursor: pointer; line-height: 1; }
.chat-msgs {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.1rem;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.msg {
  max-width: 86%;
  padding: 0.65rem 0.9rem;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.5;
  white-space: normal;
  word-wrap: break-word;
}
.msg.bot { background: #fff; border: 1px solid var(--line); border-top-left-radius: 4px; color: var(--ink); align-self: flex-start; }
.msg.user { background: var(--navy); color: #fff; border-top-right-radius: 4px; align-self: flex-end; }
.msg.typing { background: #fff; border: 1px solid var(--line); border-top-left-radius: 4px; align-self: flex-start; min-width: 56px; }
.msg.typing::after { content: "..."; animation: blink 1.2s steps(2) infinite; color: var(--muted); }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.msg b, .msg strong { font-weight: 600; }
.chat-link { color: var(--teal-dark); font-weight: 600; }
.chat-link:hover { color: var(--amber); }
.chat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.7rem 1.1rem 0;
  background: #f8fafc;
}
.chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  color: var(--navy);
  cursor: pointer;
  font-family: var(--sans);
  transition: 0.2s;
}
.chip:hover { border-color: var(--teal); color: var(--teal-dark); }
.chat-input {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #fff;
  border-top: 1px solid var(--line);
}
.chat-input input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.6rem 1rem;
  font-family: var(--sans);
  font-size: 0.9rem;
}
.chat-input input:focus { outline: none; border-color: var(--teal); }
.chat-input button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--teal);
  color: var(--navy);
  font-size: 1rem;
  cursor: pointer;
  transition: 0.2s;
}
.chat-input button:hover { background: var(--teal-dark); color: #fff; }

/* ========== Logo ========== */
.brand-logo { height: 42px; width: auto; display: block; }

/* Hide the AI assistant on phones and tablets (desktop only) */
@media (max-width: 1024px) {
  .chat-app { display: none !important; }
}

@media (max-width: 860px) {
  .ai-teaser { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .quiz-head, .quiz-body { padding: 1.4rem; }
}


/* ========== Motion effects ========== */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
.hero h1, .hero-sub, .hero-cta, .hero-stats {
  animation: riseIn 0.7s cubic-bezier(0.22, 0.68, 0.32, 1) backwards;
}
.hero h1 { animation-delay: 0.05s; }
.hero-sub { animation-delay: 0.18s; }
.hero-cta { animation-delay: 0.3s; }
.hero-stats { animation-delay: 0.42s; }

.fx-stage {
  animation: riseIn 0.9s cubic-bezier(0.22, 0.68, 0.32, 1) 0.25s backwards;
}
.fx-card {
  animation: paneFloat 6s ease-in-out infinite;
}
@keyframes paneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.orb-1 { animation: orbDrift 9s ease-in-out infinite; }
.orb-2 { animation: orbDrift 11s ease-in-out infinite reverse; }
@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(-18px, 14px); }
  66% { transform: translate(16px, -12px); }
}

.fx-blob-1 { animation: blobDrift 10s ease-in-out infinite; }
.fx-blob-2 { animation: blobDrift 13s ease-in-out infinite reverse; }
.fx-blob-3 { animation: blobDrift 8s ease-in-out infinite; }
@keyframes blobDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(24px, -18px) scale(1.12); }
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Floating service icons */
.service-icon {
  animation: iconFloat 4s ease-in-out infinite;
}
.service-card:nth-child(2) .service-icon,
.tool-card:nth-child(2) .tool-icon { animation-delay: 0.5s; }
.service-card:nth-child(3) .service-icon,
.tool-card:nth-child(3) .tool-icon { animation-delay: 1s; }
.service-card:nth-child(4) .service-icon,
.tool-card:nth-child(4) .tool-icon { animation-delay: 1.5s; }
@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* Hero stat counters */
.hstat {
  flex-wrap: wrap;
}
.hstat .num-suffix {
  font-family: var(--display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--amber);
  margin-left: 2px;
  padding-right: 0.9rem;
}
@media (max-width: 560px) {
  .hstat .num-suffix { font-size: 1.5rem; }
}

/* Glow pulse on primary CTA */
.btn-teal {
  animation: btnGlow 2.8s ease-in-out infinite;
}
@keyframes btnGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.55); }
  50% { box-shadow: 0 0 22px 4px rgba(45, 212, 191, 0.35); }
}

/* Rotating conic beam behind card */
.fx-beam {
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    transparent 0deg,
    rgba(45, 212, 191, 0.35) 40deg,
    transparent 90deg,
    transparent 180deg,
    rgba(247, 183, 51, 0.28) 230deg,
    transparent 290deg);
  filter: blur(40px);
  z-index: 0;
  animation: beamSpin 9s linear infinite;
  pointer-events: none;
}
@keyframes beamSpin {
  to { transform: rotate(360deg); }
}

/* Light sweep across the card */
.fx-sweep {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.14) 45%, rgba(255, 255, 255, 0.22) 50%, rgba(255, 255, 255, 0.14) 55%, transparent 100%);
  background-size: 250% 250%;
  animation: sweepGlide 5s ease-in-out infinite;
}
@keyframes sweepGlide {
  0%, 100% { background-position: 0% 50%; opacity: 0.5; }
  50% { background-position: 100% 50%; opacity: 1; }
}

/* Shimmering gradient headline */
.grad-text {
  background-size: 220% auto;
  animation: gradShimmer 5s linear infinite;
}
@keyframes gradShimmer {
  from { background-position: 0% center; }
  to { background-position: -220% center; }
}

/* Wave divider under hero */
.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  width: 200%;
  max-width: none;
  height: 70px;
  pointer-events: none;
  z-index: 5;
}
.hero-wave path.a { fill: #f6f8fb; animation: waveDrift 14s linear infinite; }
.hero-wave path.b { fill: rgba(45, 212, 191, 0.18); animation: waveDrift 20s linear infinite reverse; }
@keyframes waveDrift {
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero h1, .hero-sub, .hero-cta, .hero-stats,
  .fx-stage, .fx-card, .fx-ring, .fx-ring2, .fx-blob-1, .fx-blob-2, .fx-blob-3,
  .fx-count, .fx-arrow, .orb-1, .orb-2, .reveal, .fx-chip-1, .fx-chip-2, .fx-chip-3,
  .service-icon, .tool-icon, .btn-teal {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
  .hero::before { animation: none !important; }
}


/* ========== Blog article layout ========== */
.article-wrap {
  max-width: 760px;
  margin: 0 auto;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.post-cat {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
}
.article-body h2 {
  font-size: 1.7rem;
  margin: 2.4rem 0 0.9rem;
  color: var(--navy);
}
.article-body h3 {
  font-size: 1.25rem;
  margin: 1.9rem 0 0.7rem;
  color: var(--navy);
}
.article-body p {
  font-size: 1.06rem;
  line-height: 1.78;
  color: var(--ink);
  margin-bottom: 1.15rem;
}
.article-body ul,
.article-body ol {
  margin: 0 0 1.4rem 1.1rem;
  font-size: 1.04rem;
  line-height: 1.72;
  color: var(--ink);
}
.article-body li {
  margin-bottom: 0.6rem;
}
.article-body strong {
  color: var(--navy);
}
.post-cta {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
}
.post-cta h3 {
  margin: 0 0 0.6rem;
  font-size: 1.3rem;
  color: var(--navy);
}
.post-cta p {
  margin: 0 0 1.1rem;
  font-size: 1rem;
  line-height: 1.65;
}
.related-posts {
  margin-top: 3.2rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--line);
}
.related-posts h2 {
  font-size: 1.5rem;
  margin-bottom: 1.3rem;
  color: var(--navy);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.cta-actions .btn-outline-dark {
  background: transparent;
}

@media (max-width: 560px) {
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-actions .btn {
    width: 100%;
  }
}
.section-foot {
  margin-top: 2.4rem;
  display: flex;
  justify-content: center;
}

.section-foot.center {
  justify-content: center;
}

/* seo-heading-fix: alias styles for headings promoted from H3 to H2 */
.viz-card h2,
.quiz-head h2,
.form-head h2,
.contact-card .cc-head h2,
.p-item h2 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  letter-spacing: normal;
}

.p-item h2 {
  margin-bottom: 0.4rem;
}