/* Thrive Digital Marketing — Final Expense lead brokerage */

:root {
  --blue: #0057d9;
  --blue-dark: #0046b0;
  --blue-deep: #00398f;
  --blue-soft: #e8f1ff;
  --blue-line: #c5dafb;
  --navy: #0e1c36;
  --navy-2: #173055;
  --ink: #142033;
  --muted: #5c6b7c;
  --line: #e3eaf2;
  --bg: #f4f7fb;
  --white: #ffffff;
  --success: #0d6b40;
  --success-bg: #e8f7ef;
  --danger: #9f2218;
  --shadow: 0 14px 36px rgba(14, 28, 54, 0.08);
  --shadow-sm: 0 8px 20px rgba(14, 28, 54, 0.06);
  --radius: 16px;
  --radius-sm: 12px;
  --max: 1120px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --topbar: 38px;
  --header: 74px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar) + var(--header) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 1.0625rem;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--blue-dark);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}

p + p {
  margin-top: 0.85rem;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button,
[role="button"],
.btn {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  background: var(--navy);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 8px;
  z-index: 100;
}

.skip-link:focus {
  top: 12px;
  color: var(--white);
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section {
  padding: 88px 0;
}

.section-head {
  max-width: 680px;
  margin-bottom: 36px;
}

.section-head h2,
.page-hero h1,
.hero h1 {
  font-weight: 800;
}

.section-head p,
.lede {
  color: var(--muted);
  font-size: 1.08rem;
}

.center {
  text-align: center;
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(14, 28, 54, 0.05);
}

.topbar {
  background: var(--navy);
  color: #d5deea;
  font-size: 0.84rem;
}

.topbar-inner {
  min-height: var(--topbar);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.topbar a:hover {
  color: #d6e6ff;
}

.header-inner {
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
  min-height: 44px;
}

.logo-name {
  display: block;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
  line-height: 1.1;
}

.logo-sub {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.logo-light .logo-name,
.logo-light .logo-sub {
  color: #fff;
}

.logo-light .logo-sub {
  color: #b7c4d6;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 12px;
  border-radius: 8px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--blue);
  background: var(--blue-soft);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 87, 217, 0.22);
}

.btn-primary:hover {
  background: var(--blue-dark);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--blue-deep);
  border-color: var(--blue-line);
}

.btn-secondary:hover {
  background: var(--blue-soft);
  color: var(--blue-deep);
}

.btn-light {
  background: #fff;
  color: var(--navy);
}

.btn-light:hover {
  background: var(--blue-soft);
  color: var(--navy);
}

.btn-block {
  width: 100%;
}

.header-cta {
  margin-left: 8px;
  min-height: 44px;
}

/* Hero */

.hero {
  padding: 56px 0 32px;
  background:
    radial-gradient(900px 420px at 88% 0%, rgba(0, 87, 217, 0.08), transparent 60%),
    linear-gradient(#fff, #fff);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.15rem, 4.4vw, 3.55rem);
  letter-spacing: -0.035em;
  color: var(--navy);
  max-width: 14ch;
}

.hero .subhead {
  margin-top: 16px;
  font-size: 1.18rem;
  color: var(--ink);
  font-weight: 600;
  max-width: 38ch;
}

.hero .intro {
  margin-top: 14px;
  color: var(--muted);
  max-width: 48ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-phone {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-phone a {
  font-weight: 700;
  text-decoration: none;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.float-card {
  position: absolute;
  left: -28px;
  bottom: 28px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 16px 18px;
  width: min(260px, 70%);
  border: 1px solid var(--line);
}

.float-card strong {
  display: block;
  color: var(--navy);
  font-size: 0.98rem;
}

.float-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.86rem;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 40px;
}

.trust-row li {
  background: var(--bg);
  border-radius: 12px;
  padding: 14px 16px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
}

.trust-row span {
  display: block;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 2px;
}

/* Cards */

.bg-soft {
  background: var(--bg);
}

.card-grid {
  display: grid;
  gap: 18px;
}

.cards-4 {
  grid-template-columns: repeat(4, 1fr);
}

.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

.cards-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--blue-line);
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 1.12rem;
  margin: 12px 0 8px;
  color: var(--navy);
}

.card p,
.card li {
  color: var(--muted);
  font-size: 0.96rem;
}

.icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
}

.icon-badge svg {
  width: 22px;
  height: 22px;
}

.card a.more {
  display: inline-flex;
  margin-top: 14px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px 24px;
  box-shadow: var(--shadow-sm);
}

.step-num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  font-size: 0.92rem;
  margin-bottom: 14px;
}

.step h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--navy);
}

.step p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Split */

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.split img,
.frame img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.split.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split.reverse .split-copy {
  order: 2;
}

.checklist {
  margin-top: 16px;
}

.checklist li {
  position: relative;
  padding: 8px 0 8px 30px;
  color: var(--ink);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.2 6.4 11l6.1-6.2' fill='none' stroke='%230057D9' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* Page hero */

.page-hero {
  padding: 64px 0 28px;
  background:
    linear-gradient(180deg, var(--blue-soft), rgba(232, 241, 255, 0) 100%);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  color: var(--navy);
  max-width: 16ch;
}

.page-hero .lede {
  margin-top: 14px;
  max-width: 62ch;
}

/* Service details */

.service-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 28px 0;
}

.service-block + .service-block {
  border-top: 1px solid var(--line);
}

.service-block:nth-child(even) .service-copy {
  order: 2;
}

.service-block img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 18px;
}

.service-block h2 {
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  color: var(--navy);
  margin-bottom: 10px;
}

.service-kicker {
  color: var(--blue);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Table */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

th,
td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

th {
  background: var(--navy);
  color: #fff;
  font-weight: 700;
}

tr:last-child td {
  border-bottom: 0;
}

td:first-child {
  font-weight: 700;
  color: var(--navy);
  background: #f8fbff;
}

/* CTA band */

.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  border-radius: 22px;
  padding: 48px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  max-width: 18ch;
}

.cta-band p {
  margin-top: 8px;
  color: #c9d4e4;
  max-width: 46ch;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}

.form-card,
.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.field label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #d5dee8;
  background: #fff;
  border-radius: 10px;
  padding: 12px 12px;
  min-height: 48px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 87, 217, 0.12);
  outline: none;
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

.field-error {
  min-height: 1.1em;
  color: var(--danger);
  font-size: 0.82rem;
  font-weight: 600;
}

.form-note {
  color: var(--muted);
  font-size: 0.86rem;
  margin: 8px 0 14px;
}

.form-success {
  background: var(--success-bg);
  border: 1px solid #b7e4cb;
  border-radius: 14px;
  padding: 22px;
}

.form-success h3 {
  color: var(--success);
  margin-bottom: 8px;
}

.info-card h2 {
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.info-list {
  margin-top: 18px;
}

.info-list li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.info-list span {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.info-list a,
.info-list strong {
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
}

.reply-note {
  margin-top: 16px;
  background: var(--blue-soft);
  color: var(--navy);
  border-radius: 12px;
  padding: 14px;
  font-size: 0.92rem;
}

/* Footer */

.site-footer {
  background: var(--navy);
  color: #c9d4e4;
  padding-top: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 0.8fr;
  gap: 32px;
  padding-bottom: 36px;
}

.site-footer p,
.site-footer li {
  font-size: 0.94rem;
}

.footer-brand p {
  margin-top: 14px;
  max-width: 36ch;
}

.footer-title {
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
}

.site-footer a {
  color: #d5deea;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer li + li {
  margin-top: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0 22px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: #9aabc0;
}

/* Model panels */

.model {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.model article {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.model h3 {
  color: var(--navy);
  margin-bottom: 8px;
}

.model p {
  color: var(--muted);
}

/* Reveal */

.js .reveal {
  opacity: 0;
  transform: translateY(12px);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .split.reverse,
  .service-block,
  .service-block:nth-child(even),
  .contact-grid,
  .footer-grid,
  .cards-4,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .service-block,
  .service-block:nth-child(even),
  .split,
  .split.reverse,
  .hero-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-copy,
  .service-block:nth-child(even) .service-copy {
    order: 0;
  }

  .cards-4,
  .steps,
  .cards-3 {
    grid-template-columns: 1fr 1fr;
  }

  .hero-visual img,
  .split img,
  .frame img,
  .service-block img {
    height: 320px;
  }

  .float-card {
    left: 16px;
    bottom: 16px;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
  }
}

@media (max-width: 760px) {
  :root {
    --topbar: 34px;
    --header: 66px;
  }

  .container {
    width: min(var(--max), calc(100% - 32px));
  }

  .section {
    padding: 64px 0;
  }

  .topbar-tag {
    display: none;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    gap: 0;
  }

  .site-nav ul {
    display: none;
  }

  .site-nav.is-open {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 16px 18px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav a {
    display: block;
  }

  .header-cta {
    margin: 0;
    padding: 0 12px;
    font-size: 0.9rem;
  }

  .header-inner {
    position: static;
  }

  .site-header {
    position: sticky;
  }

  .trust-row,
  .cards-4,
  .cards-3,
  .cards-2,
  .steps,
  .model,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 28px;
  }

  .hero h1 {
    max-width: none;
  }

  .page-hero h1 {
    max-width: none;
  }

  .hero-visual img {
    height: 220px;
  }

  .float-card {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .btn,
  .card,
  .js .reveal.is-in {
    transition: none;
  }
}

/* ========== Specialist campaigns section ========== */

.specialist-section {
  background: #0b0f1a;
  color: #e8ecf4;
  padding: 88px 0 96px;
}

.section-head-light .eyebrow {
  color: #0057d9;
}

.section-head-light h2 {
  color: #fff;
}

.section-head-light p {
  color: #94a3b8;
  max-width: 640px;
}

.gradient-text {
  background: linear-gradient(90deg, #c084fc, #f472b6, #fb923c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.campaign-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 36px 0 28px;
}

.campaign-pill {
  appearance: none;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(30, 41, 59, 0.6);
  color: #cbd5e1;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}

.campaign-pill:hover {
  border-color: rgba(167, 139, 250, 0.6);
  color: #fff;
  background: rgba(51, 65, 85, 0.7);
}

.campaign-pill.is-active {
  background: linear-gradient(135deg, #0057d9, #0046b0);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 24px rgba(168, 85, 247, 0.35);
}

.campaign-panel {
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.85), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 24px;
  padding: 36px 40px;
  min-height: 280px;
}

.campaign-content {
  display: none;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.campaign-content.is-active {
  display: grid;
}

.campaign-content[hidden] {
  display: none !important;
}

.campaign-copy h3 {
  font-size: 1.55rem;
  color: #fff;
  margin-bottom: 12px;
}

.campaign-copy p {
  color: #94a3b8;
  margin-bottom: 20px;
  max-width: 480px;
}

.campaign-checks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.campaign-checks li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #e2e8f0;
  font-weight: 500;
}

.campaign-checks li::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0057d9, #0046b0);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 14px no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 14px no-repeat;
  background-color: transparent;
  background-image: linear-gradient(135deg, #0057d9, #0046b0);
  box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.4);
  display: grid;
  place-items: center;
  position: relative;
}

.campaign-checks li::before {
  content: "✓";
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  background: linear-gradient(135deg, #0057d9, #0046b0);
  box-shadow: none;
  mask: none;
  -webkit-mask: none;
}

.campaign-visual {
  display: flex;
  justify-content: flex-end;
}

.campaign-icon-card {
  width: 200px;
  height: 200px;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  color: #fff;
}

.campaign-icon-card svg {
  stroke: #fff;
}

.campaign-num {
  position: absolute;
  top: 14px;
  left: 16px;
  font-size: 0.85rem;
  font-weight: 700;
  opacity: 0.9;
  letter-spacing: 0.04em;
}

@media (max-width: 820px) {
  .campaign-content.is-active {
    grid-template-columns: 1fr;
  }

  .campaign-visual {
    justify-content: flex-start;
  }

  .campaign-icon-card {
    width: 160px;
    height: 160px;
  }

  .campaign-panel {
    padding: 28px 22px;
  }
}

/* Services grid icon polish */
.services-grid .icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #e8f1ff;
  color: #0057d9;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.services-grid .icon-badge svg {
  width: 22px;
  height: 22px;
}

/* ========== Fully animated enhancements (blue theme only) ========== */

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 87, 217, 0.35); }
  50% { box-shadow: 0 0 0 12px rgba(0, 87, 217, 0); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes soft-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.float-card.is-floating {
  animation: float-y 4.5s ease-in-out infinite;
}

.btn-primary {
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.2s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 87, 217, 0.28);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.22) 50%, transparent 60%);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover::after {
  opacity: 1;
  animation: shimmer 1.2s ease;
}

.card {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.25s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(14, 28, 54, 0.12);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay, 0ms);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

.trust-row li {
  transition: transform 0.3s ease, background 0.3s ease;
}

.trust-row li:hover {
  transform: translateY(-3px);
}

.icon-badge {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s;
}

.card:hover .icon-badge {
  transform: scale(1.12) rotate(-4deg);
}

/* Force services icons back to blue theme */
.services-grid .icon-badge {
  background: var(--blue-soft) !important;
  color: var(--blue) !important;
}

/* Connected Thinking section */
.connected-thinking {
  background: linear-gradient(180deg, #f4f7fb 0%, #eef3fa 50%, #f4f7fb 100%);
  position: relative;
  overflow: hidden;
}

.connected-thinking::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 87, 217, 0.08), transparent 70%);
  top: -120px;
  right: -80px;
  pointer-events: none;
  animation: float-y 9s ease-in-out infinite;
}

.connected-thinking .section-head {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 48px;
}

.graph-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 960px) {
  .graph-grid {
    grid-template-columns: 1fr;
  }
}

.graph-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px 12px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

.graph-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.graph-card h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: var(--navy);
}

.graph-card .graph-desc {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.graph-canvas-wrap {
  width: 100%;
  border-radius: 12px;
  background: linear-gradient(160deg, #f8fafc, #eef4ff);
  border: 1px solid var(--blue-line);
  overflow: hidden;
}

.graph-canvas-wrap canvas {
  display: block;
  width: 100%;
  height: auto;
  cursor: grab;
}

.graph-core-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
  animation: pulse-glow 2.8s ease-in-out infinite;
}

.graph-core-badge span {
  background: rgba(255,255,255,0.2);
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 800;
}

/* WhatsApp accent on contact links */
a.wa-link,
.wa-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
}

a.wa-link:hover {
  color: var(--blue-dark);
  transform: translateY(-1px);
}

.wa-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.topbar a.wa-link {
  color: #fff;
}

.topbar a.wa-link:hover {
  color: #b9d4ff;
}

.hero-phone a.wa-link {
  font-weight: 700;
}

/* Page load subtle entrance */
@keyframes page-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

body {
  animation: page-in 0.45s ease;
}

/* Campaign icon cards stay in blue family */
.campaign-icon-card {
  background: linear-gradient(145deg, #0057d9, #00398f) !important;
}

.campaign-checks li::before {
  background: linear-gradient(135deg, #0057d9, #0046b0) !important;
}

/* ========== Logo image (Thrive Digital Marketing) ========== */
.logo-img {
  height: 56px;
  width: auto;
  display: block;
  object-fit: contain;
}

.logo-light .logo-img {
  /* keep visible on dark footer — logo is dark text, add subtle invert or white plate */
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.logo {
  gap: 0;
}

.logo .logo-text {
  display: none; /* image logo includes wordmark */
}

/* Equal / increased blue sub-heading size */
.eyebrow,
.section-head .eyebrow,
.page-hero .eyebrow,
.hero .eyebrow {
  font-size: 0.95rem !important;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.hero .subhead,
.section-head > p:not(.eyebrow),
.lede,
.page-hero .lede {
  font-size: 1.15rem !important;
  line-height: 1.55;
}

.card h3,
.campaign-copy h3,
.graph-card h3 {
  font-size: 1.2rem !important;
}

/* Hero → video vision */
.hero-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 18s ease-in-out infinite alternate;
  transform-origin: center center;
}

@keyframes kenburns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.12) translate(-2%, -1%); }
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 28, 54, 0.15) 0%, transparent 40%, rgba(14, 28, 54, 0.35) 100%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0, 0, 0, 0.03) 2px,
      rgba(0, 0, 0, 0.03) 4px
    );
  z-index: 1;
  pointer-events: none;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  z-index: 2;
  pointer-events: none;
}

.video-vision-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 28, 54, 0.72);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.video-vision-badge .play-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0057d9;
  box-shadow: 0 0 0 0 rgba(0, 87, 217, 0.5);
  animation: pulse-glow 1.8s ease-in-out infinite;
}

.hero-visual .float-card {
  z-index: 3;
}

/* Campaign pills wrap for 6 items */
.campaign-pills {
  flex-wrap: wrap;
  gap: 10px;
}

.campaign-pill {
  font-size: 0.88rem;
  padding: 10px 16px;
}

/* Address line */
.address-line {
  font-style: normal;
  color: inherit;
  line-height: 1.45;
}
.hero-visual {
  position: relative;
  overflow: hidden;
}

.hero-visual video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Push the card very far right */
.float-card--right {
  position: absolute;
  right: 24px;          /* or 1.5rem / 2rem depending on your scale */
  bottom: 28px;         /* keep vertical position */
  left: auto;           /* kill any left positioning */
  max-width: 280px;
  transform: none;      /* remove any previous translateX if you had one */
}

/* Optional: make it even more aggressive on large screens */
@media (min-width: 1200px) {
  .float-card--right {
    right: 40px;
  }
}
