/* Astra Pelago — shared styles
   Brand colors come from the logo: Astra azure, Pelago navy, wave cyan. */

:root {
  --azure: #1a82f5;
  --primary: #0b6ad6;       /* azure darkened for AA contrast with white text */
  --primary-hover: #0857b3;
  --navy: #0d47a1;
  --navy-deep: #0a2a5e;
  --cyan: #0391dd;
  --ink: #0f172a;
  --muted: #475569;
  --subtle: #64748b;
  --line: #e2e8f0;
  --canvas: #f4f8fd;
  --tint: #e8f1fe;
  --white: #ffffff;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px -2px rgba(13, 71, 161, 0.06);
  --shadow: 0 10px 30px -8px rgba(13, 71, 161, 0.12);
  --shadow-lg: 0 24px 60px -16px rgba(13, 71, 161, 0.22);

  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --max: 1200px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.02em; margin: 0; color: var(--ink); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(26, 130, 245, 0.45); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 96px 0; }
.section--tint { background: var(--canvas); }
.section--tight { padding: 64px 0; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.icon {
  font-family: "Material Symbols Outlined";
  font-weight: normal; font-style: normal; font-size: 24px; line-height: 1;
  display: inline-block; white-space: nowrap; direction: ltr;
  -webkit-font-feature-settings: "liga"; font-feature-settings: "liga";
  font-variation-settings: "FILL" 0, "wght" 400;
  user-select: none;
}
.icon--fill { font-variation-settings: "FILL" 1, "wght" 400; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--tint); color: var(--primary);
  font: 600 13px/1.2 var(--font-head); letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.eyebrow::before { content: "✦"; font-size: 12px; color: var(--cyan); }
.eyebrow--light { background: rgba(255, 255, 255, 0.12); color: #fff; border: 1px solid rgba(255, 255, 255, 0.22); }
.eyebrow--light::before { color: #9fd3ff; }

.h1 { font-size: clamp(38px, 6vw, 62px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.06; }
.h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 750; letter-spacing: -0.03em; }
.h3 { font-size: 22px; font-weight: 700; }
.lead { font-size: 18px; line-height: 1.65; color: var(--muted); }
.muted { color: var(--muted); }
.gradient-text {
  background: linear-gradient(100deg, var(--azure) 0%, var(--cyan) 45%, var(--navy) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head .lead { margin-top: 16px; }
.section-head--left { margin-left: 0; text-align: left; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--font-head); cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn .icon { font-size: 18px; }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 8px 22px -8px rgba(11, 106, 214, 0.55); }
.btn--primary:hover { background: var(--primary-hover); transform: translateY(-1px); box-shadow: 0 12px 28px -8px rgba(11, 106, 214, 0.6); }
.btn--secondary { background: #fff; color: var(--navy); border-color: var(--line); }
.btn--secondary:hover { border-color: var(--azure); background: var(--canvas); }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.35); }
.btn--ghost-light { color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.1); }
.btn--sm { padding: 11px 20px; font-size: 14px; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 4px; font: 600 15px var(--font-head); color: var(--primary); }
.link-arrow .icon { font-size: 18px; transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 9px 14px; border-radius: 999px;
  font: 600 15px var(--font-head); color: var(--muted);
  transition: color .15s, background-color .15s;
}
.nav-links a:hover { color: var(--ink); background: var(--canvas); }
.nav-links a[aria-current="page"] { color: var(--primary); background: var(--tint); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}
.mobile-menu { display: none; }

@media (max-width: 900px) {
  .nav-links, .nav-cta .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-menu {
    display: block; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 12px var(--gutter) 24px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
  .mobile-menu a:not(.btn) {
    display: block; padding: 14px 4px; border-bottom: 1px solid var(--line);
    font: 600 17px var(--font-head); color: var(--ink);
  }
  .mobile-menu a[aria-current="page"] { color: var(--primary); }
  .mobile-menu .btn { margin-top: 18px; width: 100%; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 120px;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(26, 130, 245, 0.12), transparent 70%),
    radial-gradient(40% 40% at 90% 30%, rgba(3, 145, 221, 0.10), transparent 70%),
    linear-gradient(#fff, var(--canvas));
}
.hero-inner { max-width: 860px; margin: 0 auto; text-align: center; }
.hero .lead { max-width: 640px; margin: 22px auto 34px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-chips { display: flex; gap: 10px 22px; justify-content: center; flex-wrap: wrap; margin-top: 28px; color: var(--muted); font-size: 14px; }
.hero-chips span { display: inline-flex; align-items: center; gap: 6px; }
.hero-chips .icon { font-size: 18px; color: var(--cyan); }

.hero-visual { position: relative; max-width: 980px; margin: 64px auto 0; }
.dash {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 24px;
}
.dash-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; gap: 12px; flex-wrap: wrap; }
.dash-title { font: 700 16px var(--font-head); }
.dash-dots { display: flex; gap: 6px; }
.dash-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.dash-tabs { display: flex; gap: 6px; }
.dash-tabs span { padding: 6px 12px; border-radius: 999px; font: 600 12px var(--font-head); color: var(--muted); background: var(--canvas); }
.dash-tabs span.on { background: var(--tint); color: var(--primary); }
.dash-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; }
.dash-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.dash-card .label { font: 600 12px var(--font-head); color: var(--subtle); text-transform: uppercase; letter-spacing: 0.06em; }
.dash-card .value { font: 800 28px var(--font-head); letter-spacing: -0.02em; margin-top: 4px; }
.trend { display: inline-flex; align-items: center; gap: 2px; font: 700 12px var(--font-head); color: #0a8f5a; background: #e6f7ef; padding: 3px 8px; border-radius: 999px; }
.dash-chart { margin-top: 12px; height: 170px; }
.dash-side { display: grid; gap: 18px; }
.bar-row { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.bar-row b { width: 64px; font-weight: 600; color: var(--ink); }
.bar { flex: 1; height: 8px; border-radius: 99px; background: var(--canvas); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--cyan), var(--azure)); }
.bar i.navy { background: linear-gradient(90deg, var(--azure), var(--navy)); }
.float-badge {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 14px 18px; box-shadow: var(--shadow);
}
.float-badge .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--tint); color: var(--primary); }
.float-badge strong { display: block; font: 800 20px var(--font-head); line-height: 1.1; }
.float-badge small { color: var(--muted); font-size: 12px; }
.float-badge--l { left: -28px; bottom: -26px; }
.float-badge--r { right: -28px; top: -26px; }
.float-badge--r .ico { background: #e0f3fc; color: var(--cyan); }

@media (max-width: 1080px) {
  .float-badge--l { left: 12px; }
  .float-badge--r { right: 12px; }
}
@media (max-width: 760px) {
  .dash-grid { grid-template-columns: 1fr; }
  .float-badge { position: static; margin-top: 14px; }
  .hero-visual { display: flex; flex-direction: column; }
  .dash-tabs { display: none; }
}

/* ---------- Wave divider ---------- */
.wave { display: block; width: 100%; height: 64px; margin-top: -63px; position: relative; z-index: 1; }
.wave path { fill: var(--fill, #fff); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: 80px 0 120px;
  background:
    radial-gradient(50% 60% at 15% 0%, rgba(26, 130, 245, 0.14), transparent 70%),
    radial-gradient(40% 50% at 95% 20%, rgba(3, 145, 221, 0.12), transparent 70%),
    linear-gradient(#fff, var(--canvas));
}
.page-hero .container { position: relative; max-width: 880px; text-align: center; }
.page-hero .lead { margin: 20px auto 0; max-width: 660px; }
.page-hero .hero-actions { margin-top: 32px; }
.sparkle { position: absolute; color: var(--azure); opacity: .25; pointer-events: none; font-size: 22px; }

/* ---------- Trust bar ---------- */
.trust { padding: 40px 0 56px; background: var(--canvas); }
.trust p { text-align: center; font: 700 12px var(--font-head); letter-spacing: 0.14em; text-transform: uppercase; color: var(--subtle); margin-bottom: 24px; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfdcf0; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); }
.ico-tile {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--tint); color: var(--primary); margin-bottom: 20px;
}
.ico-tile .icon { font-size: 26px; }
.ico-tile--cyan { background: #e0f3fc; color: var(--cyan); }
.ico-tile--navy { background: #e3eafc; color: var(--navy); }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  font: 700 12px var(--font-head); letter-spacing: 0.02em;
}
.badge--organic { background: #e0f3fc; color: #06659b; }
.badge--paid { background: var(--tint); color: var(--primary); }
.badge--neutral { background: #eef2f7; color: var(--muted); }

.checklist { display: grid; gap: 10px; margin-top: 18px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 15px; }
.checklist li::before {
  content: "check"; font-family: "Material Symbols Outlined"; font-size: 18px; line-height: 1.4;
  color: var(--cyan); flex: none;
}

/* ---------- Services split (home) ---------- */
.engine { position: relative; overflow: hidden; display: flex; flex-direction: column; }
.engine::after {
  content: ""; position: absolute; width: 260px; height: 260px; right: -80px; top: -80px;
  border-radius: 50%; filter: blur(50px); opacity: .55; pointer-events: none;
}
.engine--organic::after { background: #bfe6fb; }
.engine--paid::after { background: #c9dcfd; }
.engine-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.engine .ico-tile { margin-bottom: 0; }
.engine h3 { font-size: 26px; margin: 22px 0 10px; }
.svc-list { display: grid; gap: 12px; margin: 26px 0 28px; }
.svc-item { display: flex; gap: 14px; padding: 16px; border-radius: 14px; background: var(--canvas); border: 1px solid #e8eef6; }
.svc-item .icon { color: var(--primary); font-size: 22px; margin-top: 2px; }
.svc-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.svc-item p { font-size: 14px; line-height: 1.55; }
.engine-foot { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }

/* ---------- Stats strip ---------- */
.stats {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(70% 120% at 0% 0%, #1559c4 0%, transparent 60%), linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding: 80px 0;
}
.stats .sparkle { color: #fff; opacity: .18; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-num { font: 800 clamp(40px, 5vw, 56px)/1 var(--font-head); letter-spacing: -0.03em; }
.stat-num span { color: #7cc6ff; }
.stat-label { margin-top: 10px; color: rgba(255, 255, 255, 0.78); font-size: 15px; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; } }

/* ---------- Process ---------- */
.process { position: relative; }
.process-line { position: absolute; left: 0; right: 0; top: 26px; height: 40px; pointer-events: none; }
.process-line path { stroke: rgba(26, 130, 245, 0.35); stroke-width: 2; stroke-dasharray: 6 8; fill: none; }
.step { position: relative; background: #fff; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  font: 800 17px var(--font-head); color: #fff;
  background: linear-gradient(135deg, var(--azure), var(--navy));
  box-shadow: 0 8px 20px -6px rgba(13, 71, 161, 0.5);
  margin-bottom: 22px;
}
@media (max-width: 1000px) { .process-line { display: none; } }

/* ---------- Case studies ---------- */
.case { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.case-visual {
  height: 150px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--azure), var(--navy));
  display: flex; align-items: flex-end; padding: 18px 22px; color: #fff;
}
.case-visual--cyan { background: linear-gradient(135deg, #22b2f0, var(--cyan) 40%, #0a5aa8); }
.case-visual--deep { background: linear-gradient(135deg, #2b6fe0, var(--navy-deep)); }
.case-visual svg.case-wave { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 70px; opacity: .25; }
.case-visual .icon { position: absolute; right: 20px; top: 18px; font-size: 36px; opacity: .9; }
.case-visual .industry { position: relative; font: 700 13px var(--font-head); letter-spacing: 0.04em; text-transform: uppercase; opacity: .95; }
.case-body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.case-metric { font: 800 40px/1 var(--font-head); letter-spacing: -0.03em; color: var(--primary); }
.case-metric-label { font: 700 17px var(--font-head); margin: 8px 0 12px; }
.case-body p { font-size: 15px; }
.case-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.case-foot { margin-top: auto; padding-top: 20px; }
.case[hidden] { display: none; }

.filters { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.filter {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font: 600 14px var(--font-head); color: var(--muted); cursor: pointer; transition: all .15s;
}
.filter:hover { border-color: var(--azure); color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }

.feature-case { display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; padding: 0; overflow: hidden; }
.feature-case .fc-text { padding: 48px; }
.feature-case .fc-chart { background: linear-gradient(160deg, var(--canvas), #dfeafc); padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.fc-block { margin-top: 24px; }
.fc-block h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--primary); margin-bottom: 6px; }
.fc-block p { color: var(--muted); }
.fc-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.fc-results div { background: #fff; border-radius: 14px; padding: 14px; border: 1px solid var(--line); }
.fc-results strong { display: block; font: 800 22px var(--font-head); color: var(--navy); }
.fc-results span { font-size: 13px; color: var(--muted); }
.chart-legend { display: flex; gap: 18px; font-size: 13px; color: var(--muted); margin-top: 14px; }
.chart-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
@media (max-width: 900px) { .feature-case { grid-template-columns: 1fr; } .feature-case .fc-text { padding: 32px; } }

/* ---------- Testimonials ---------- */
.quote { display: flex; flex-direction: column; }
.stars { display: flex; gap: 2px; color: #f5a524; margin-bottom: 16px; }
.stars .icon { font-size: 20px; }
.quote blockquote { margin: 0 0 24px; font-size: 16.5px; line-height: 1.65; color: var(--ink); }
.person { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  font: 700 16px var(--font-head); color: #fff;
  background: linear-gradient(135deg, var(--azure), var(--navy));
}
.person strong { display: block; font: 700 15px var(--font-head); }
.person small { color: var(--muted); font-size: 13px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  background: linear-gradient(120deg, var(--primary) 0%, var(--azure) 35%, var(--navy) 100%);
  padding: 96px 0;
}
.cta-band .bg-wave { position: absolute; inset: auto 0 0 0; width: 100%; height: 60%; opacity: .14; }
.cta-band .sparkle { color: #fff; opacity: .3; }
.cta-band .container { position: relative; max-width: 760px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.88); font-size: 18px; margin: 18px auto 34px; max-width: 600px; }
.cta-band .hero-actions { justify-content: center; }
.cta-notes { display: flex; gap: 10px 22px; justify-content: center; flex-wrap: wrap; margin-top: 26px; font-size: 14px; color: rgba(255, 255, 255, 0.82); }
.cta-notes span { display: inline-flex; align-items: center; gap: 6px; }
.cta-notes .icon { font-size: 18px; }

/* ---------- Packages ---------- */
.pkg { display: flex; flex-direction: column; position: relative; }
.pkg h3 { font-size: 24px; }
.pkg .pkg-for { color: var(--muted); margin: 8px 0 20px; }
.pkg .btn { margin-top: 28px; }
.pkg-top { margin-top: auto; }
.pkg--featured { border: 2px solid var(--azure); box-shadow: var(--shadow); }
.pkg--featured .ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg, var(--azure), var(--navy)); color: #fff;
  font: 700 12px var(--font-head); letter-spacing: 0.06em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px; white-space: nowrap;
}

/* ---------- Synergy diagram ---------- */
.synergy { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.synergy-diagram { background: var(--canvas); border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--line); }
.synergy-points { display: grid; gap: 18px; margin-top: 26px; }
.synergy-points li { display: flex; gap: 14px; }
.synergy-points .icon { color: var(--primary); background: var(--tint); border-radius: 10px; padding: 8px; font-size: 20px; height: fit-content; }
.synergy-points h4 { font-size: 16px; margin-bottom: 2px; }
.synergy-points p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .synergy { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Anchor tabs (services) ---------- */
.anchor-tabs { display: inline-flex; gap: 6px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm); margin-top: 32px; }
.anchor-tabs a { padding: 10px 20px; border-radius: 999px; font: 600 15px var(--font-head); color: var(--muted); display: inline-flex; gap: 8px; align-items: center; }
.anchor-tabs a:hover { background: var(--canvas); color: var(--ink); }
.anchor-tabs .icon { font-size: 18px; }
.svc-group-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.svc-group-head .section-head { margin-bottom: 0; }
[id] { scroll-margin-top: 96px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 24px; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: #cfdcf0; }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font: 700 17px var(--font-head);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "add"; font-family: "Material Symbols Outlined"; font-size: 22px; color: var(--primary); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 22px; margin-top: -6px; }

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split p + p { margin-top: 16px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.name-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: 48px 40px;
  background: linear-gradient(150deg, #fff 0%, var(--canvas) 55%, #dce9fc 100%);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.name-card img { width: 120px; margin-bottom: 28px; }
.name-row { display: flex; gap: 16px; align-items: baseline; padding: 16px 0; border-top: 1px solid rgba(13, 71, 161, 0.12); }
.name-row strong { font: 800 26px var(--font-head); min-width: 120px; }
.name-row:first-of-type strong { color: var(--azure); }
.name-row:last-of-type strong { color: var(--navy); }
.name-row span { color: var(--muted); }
.mv { position: relative; overflow: hidden; }
.mv--dark { background: linear-gradient(140deg, var(--navy), var(--navy-deep)); color: #fff; border: none; }
.mv--dark h3 { color: #fff; }
.mv--dark p { color: rgba(255, 255, 255, 0.82); }
.mv--dark .ico-tile { background: rgba(255, 255, 255, 0.12); color: #9fd3ff; }
.team-card { text-align: center; }
.team-photo {
  width: 104px; height: 104px; border-radius: 50%; margin: 0 auto 18px;
  display: grid; place-items: center; font: 800 30px var(--font-head); color: #fff;
  background: linear-gradient(135deg, var(--azure), var(--navy));
  box-shadow: 0 0 0 6px var(--tint);
}
.team-card h3 { font-size: 18px; margin-bottom: 2px; }
.team-card .role { color: var(--primary); font: 600 14px var(--font-head); }
.team-card p { margin-top: 12px; font-size: 14.5px; }
.platforms { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.platforms > span {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 14px; background: #fff; border: 1px solid var(--line);
  font: 700 15px var(--font-head); color: var(--muted);
}
.platforms .icon { color: var(--primary); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { padding: 40px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 28px 22px; } }
.field label, .field legend { display: block; font: 600 14px var(--font-head); margin-bottom: 8px; color: var(--ink); padding: 0; }
.field .req { color: var(--primary); }
.field input, .field select, .field textarea {
  width: 100%; height: 50px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { height: auto; min-height: 130px; padding: 14px 16px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #94a3b8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--azure); box-shadow: 0 0 0 4px rgba(26, 130, 245, 0.15); }
.field fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.check-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 600px) { .check-grid { grid-template-columns: 1fr 1fr; } }
.field .check {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: 14px; transition: border-color .15s, background-color .15s;
}
.field .check:hover { border-color: #b9cdea; }
.field .check input { width: 18px; height: 18px; padding: 0; accent-color: var(--primary); margin: 0; flex: none; }
.field .check:has(input:checked) { border-color: var(--azure); background: var(--tint); }
.form-note { font-size: 13px; color: var(--subtle); margin-top: 14px; text-align: center; }
.form-success { display: none; text-align: center; padding: 40px 10px; }
.form-success .icon { font-size: 56px; color: #0a8f5a; }
.form-success h3 { margin: 14px 0 8px; }
.form-card.is-sent form { display: none; }
.form-card.is-sent .form-success { display: block; }
.info-stack { display: grid; gap: 16px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; padding: 22px; }
.info-item .ico-tile { margin: 0; width: 46px; height: 46px; flex: none; }
.info-item h3 { font-size: 16px; margin-bottom: 2px; }
.info-item a, .info-item p { color: var(--muted); font-size: 15px; }
.info-item a:hover { color: var(--primary); }
.next-steps { padding: 28px; background: linear-gradient(150deg, var(--navy), var(--navy-deep)); color: #fff; border: none; }
.next-steps h3 { color: #fff; font-size: 18px; margin-bottom: 18px; }
.next-steps ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; counter-reset: s; }
.next-steps li { display: flex; gap: 14px; counter-increment: s; }
.next-steps li::before {
  content: counter(s); flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font: 800 14px var(--font-head);
  background: rgba(255, 255, 255, 0.14); color: #9fd3ff;
}
.next-steps strong { display: block; font: 700 15px var(--font-head); }
.next-steps span { color: rgba(255, 255, 255, 0.75); font-size: 14px; }

/* ---------- Social ---------- */
.socials { display: flex; gap: 10px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); background: #fff; color: var(--muted);
  transition: color .15s, border-color .15s, transform .15s;
}
.socials a:hover { color: var(--primary); border-color: var(--azure); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--canvas); border-top: 1px solid var(--line); padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--muted); max-width: 320px; margin-bottom: 20px; font-size: 15px; }
.site-footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 18px; }
.site-footer ul { display: grid; gap: 11px; }
.site-footer ul a, .site-footer ul li { color: var(--muted); font-size: 15px; }
.site-footer ul a:hover { color: var(--primary); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--subtle); font-size: 14px; }
.footer-bottom a:hover { color: var(--primary); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}
.no-js .reveal { opacity: 1; transform: none; }

@media (max-width: 680px) {
  :root { --gutter: 16px; }
  .section { padding: 72px 0; }
  .card { padding: 26px 22px; }
  .hero { padding: 48px 0 96px; }
  .page-hero { padding: 56px 0 100px; }
  .hero-actions .btn { width: 100%; }
  .brand img { height: 40px; }
}

@media (max-width: 680px) { .h1 br { display: none; } }

/* ---------- Services dropdown ---------- */
.dropdown { position: relative; }
.dropdown-toggle {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 9px 10px 9px 14px; border-radius: 999px; border: 0; background: none; cursor: pointer;
  font: 600 15px var(--font-head); color: var(--muted);
  transition: color .15s, background-color .15s;
}
.dropdown-toggle .icon { font-size: 20px; transition: transform .2s; }
.dropdown-toggle:hover, .dropdown.is-open .dropdown-toggle { color: var(--ink); background: var(--canvas); }
.dropdown-toggle.is-current { color: var(--primary); background: var(--tint); }
.dropdown.is-open .dropdown-toggle .icon { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; width: 320px;
  transform: translate(-50%, -6px);
  background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg);
  padding: 8px; display: grid; gap: 4px;
  opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s;
}
.dropdown-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.dropdown.is-open .dropdown-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-links .dropdown-menu a { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 12px; background: none; }
.nav-links .dropdown-menu a:hover, .nav-links .dropdown-menu a[aria-current="page"] { background: var(--canvas); }
.dropdown-menu .ico-tile { width: 42px; height: 42px; margin: 0; flex: none; border-radius: 12px; }
.dropdown-menu .ico-tile .icon { font-size: 22px; }
.dropdown-menu strong { display: block; font: 700 15px var(--font-head); color: var(--ink); }
.dropdown-menu small { display: block; font: 400 13px/1.4 var(--font-body); color: var(--muted); }
@media (max-width: 900px) {
  .mobile-menu .mobile-label { display: block; padding: 16px 4px 4px; font: 700 12px var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--subtle); }
  .mobile-menu a.mobile-sub { padding-left: 18px; }
}

/* About page mark keeps its proportions */
.name-card img { height: auto; }

/* Client logo row (all logos visible) */
.logo-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 36px; }
.logo-row img { display: block; width: auto; max-width: 100%; transition: transform .25s; }
.logo-row > span:hover img { transform: scale(1.05); }
.logo-row .logo--round img, .logo-row .logo--badge img { height: 84px; }
.logo-row .logo--wide img { height: 56px; }
@media (max-width: 860px) {
  .logo-row { justify-content: center; gap: 24px 32px; }
  .logo-row .logo--round img, .logo-row .logo--badge img { height: 64px; }
  .logo-row .logo--wide img { height: 44px; }
  .logo-row .logo--wordmark img { width: 200px; }
}

/* Client logo carousel: 3 visible, slides one at a time */
.logo-carousel { --per: 3; position: relative; display: flex; align-items: center; gap: 12px; max-width: 900px; margin: 0 auto; }
.logo-viewport { overflow: hidden; flex: 1; }
.logo-track { display: flex; margin: 0; padding: 0; list-style: none; transition: transform .6s cubic-bezier(.4, 0, .2, 1); }
.logo-slide { flex: 0 0 calc(100% / var(--per)); height: 110px; display: flex; align-items: center; justify-content: center; padding: 0 20px; }
.logo-slide img { display: block; width: auto; max-width: 100%; transition: transform .25s; }
.logo-slide:hover img { transform: scale(1.05); }
.logo--round img { height: 88px; }
.logo--badge img { height: 88px; }
.logo--wide img { height: 60px; }
.logo--wordmark img { width: 240px; height: auto; }
.logo-nav {
  flex: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--muted);
  box-shadow: var(--shadow-sm); transition: color .15s, border-color .15s;
}
.logo-nav:hover { color: var(--primary); border-color: var(--azure); }
@media (max-width: 680px) {
  .logo-carousel { --per: 2; gap: 6px; }
  .logo-nav { width: 34px; height: 34px; }
  .logo-slide { height: 90px; padding: 0 10px; }
  .logo--round img, .logo--badge img { height: 70px; }
  .logo--wide img { height: 46px; }
}

/* Paid Media flyout inside the Services dropdown */
.submenu { position: relative; }
.submenu-toggle {
  width: 100%; display: flex; align-items: center; gap: 14px; padding: 12px; border: 0; border-radius: 12px;
  background: none; cursor: pointer; text-align: left; font: inherit;
}
.submenu-toggle:hover, .submenu.is-open .submenu-toggle, .submenu-toggle.is-current { background: var(--canvas); }
.submenu-toggle .chevron { margin-left: auto; font-size: 20px; color: var(--subtle); transition: transform .2s; }
.submenu-menu {
  position: absolute; top: -8px; left: calc(100% + 14px); width: 300px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg);
  padding: 8px; display: grid; gap: 4px;
  opacity: 0; visibility: hidden; transform: translateX(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.submenu-menu::before { content: ""; position: absolute; top: 0; bottom: 0; left: -16px; width: 16px; }
.submenu.is-open .submenu-menu { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 900px) {
  .mobile-menu .mobile-sublabel { display: block; padding: 14px 4px 4px 18px; font: 700 15px var(--font-head); color: var(--subtle); border-bottom: 0; }
  .mobile-menu a.mobile-subsub { padding-left: 34px; font-size: 16px; }
}

.engine .svc-list:last-child { margin-bottom: 0; }

/* ---------- Lead form section (service pages) ---------- */
.lead-section {
  position: relative; overflow: hidden; padding: 96px 0;
  background: radial-gradient(60% 80% at 0% 0%, #1559c4 0%, transparent 60%), linear-gradient(140deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
}
.lead-section .bg-wave { position: absolute; inset: auto 0 0 0; width: 100%; height: 45%; opacity: .06; }
.lead-section .sparkle { color: #fff; opacity: .22; }
.lead-grid { position: relative; display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
.lead-intro { position: sticky; top: 110px; }
.lead-intro h2 { color: #fff; }
.lead-intro > p { color: rgba(255, 255, 255, 0.84); font-size: 18px; margin-top: 16px; }
.lead-steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 18px; counter-reset: s; }
.lead-steps li { display: flex; gap: 14px; counter-increment: s; }
.lead-steps li::before {
  content: counter(s); flex: none; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font: 800 14px var(--font-head);
  background: rgba(255, 255, 255, 0.14); color: #9fd3ff;
}
.lead-steps strong { display: block; font: 700 16px var(--font-head); }
.lead-steps span { color: rgba(255, 255, 255, 0.74); font-size: 14.5px; }
.lead-intro .lead-alt { margin-top: 28px; font-size: 15px; color: rgba(255, 255, 255, 0.74); }
.lead-alt a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.lead-section .form-card { color: var(--ink); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.45); border: 0; }
@media (max-width: 960px) {
  .lead-grid { grid-template-columns: 1fr; gap: 40px; }
  .lead-intro { position: static; }
}
@media (max-width: 680px) { .lead-section { padding: 72px 0; } }

/* ---------- Blog ---------- */
.post-card .case-body h3 { font-size: 20px; margin-bottom: 10px; }
.post-card .case-body h3 a:hover { color: var(--primary); }
.post-meta { display: flex; gap: 14px; flex-wrap: wrap; font: 600 13px var(--font-head); color: var(--subtle); margin-bottom: 12px; }
.post-meta span { display: inline-flex; align-items: center; gap: 4px; }
.post-meta .icon { font-size: 16px; }
.post-card .case-foot .link-arrow::after { content: ""; position: absolute; inset: 0; }
.post-card { position: relative; }
.page-hero .post-meta { justify-content: center; margin: 24px 0 0; }

.prose { max-width: 720px; margin: 0 auto; font-size: 17.5px; line-height: 1.75; color: #1e293b; }
.prose > * + * { margin-top: 20px; }
.prose h2 { font-size: 28px; letter-spacing: -0.025em; margin-top: 48px; }
.prose h3 { font-size: 20px; margin-top: 32px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose ul { list-style: disc; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--cyan); }
.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose .callout { background: var(--canvas); border: 1px solid var(--line); border-left: 4px solid var(--azure); border-radius: var(--radius-sm); padding: 20px 24px; }
.post-back { max-width: 720px; margin: 0 auto 32px; }
@media (max-width: 680px) { .prose { font-size: 16.5px; } .prose h2 { font-size: 24px; } }
