/* Homepage conversion layout and visible palette menu. */
.site-header {
  z-index: 100 !important;
  position: relative;
  isolation: isolate;
  overflow: visible !important;
  clip-path: none !important;
  box-shadow: none !important;
  background: transparent !important;
}
.site-header::before {
  content: "";
  display: none;
}
body::before {
  content: "";
  position: absolute;
  z-index: 40;
  inset: 0 0 auto;
  height: 88px;
  background: var(--ba-ink, #071b36);
  pointer-events: none;
}
.site-header > * { position: relative; z-index: 1; }
.theme-picker { position: relative; z-index: 2; }
.theme-picker-menu {
  z-index: 110 !important;
  width: min(280px, calc(100vw - 28px));
  padding: 14px;
  border-radius: 8px !important;
  background: #10294d !important;
  color: #fff !important;
}
.theme-picker-options { gap: 7px; }
.theme-option { min-height: 50px; border-radius: 5px; }
.theme-option-gradient { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; }
.theme-option-copy strong { color: #fff !important; }
.theme-option-copy small { color: #c3cede !important; }
.theme-option[aria-pressed="true"] { border-color: rgba(217,237,103,.72); background: rgba(255,255,255,.08); }

.hero-services-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin-top: 27px;
  color: #e4ebf4;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease, gap .2s ease;
}
.hero-services-link:hover { gap: 14px; color: var(--ba-signal, #d9ed67); }
.hero-services-link span { color: var(--ba-signal, #d9ed67); }
.hero-actions { align-items: center; gap: 23px; margin-top: 16px; }
.hero .button-primary { min-width: 220px; justify-content: center; gap: 14px; }
.hero-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #d2dceb;
  font-size: 12px;
  text-decoration: none;
  transition: color .2s ease;
}
.hero-whatsapp-link span { color: var(--ba-signal, #d9ed67); }
.hero-whatsapp-link:hover { color: #fff; }

.hero-campaign-card {
  position: relative;
  z-index: 41;
  align-self: center;
  justify-self: end;
  display: flex;
  flex-direction: column;
  width: min(100%, 520px);
  min-height: 390px;
  padding: clamp(24px, 3vw, 37px);
  overflow: hidden;
  border: 1px solid rgba(220,232,250,.19);
  border-radius: 3px;
  background: linear-gradient(145deg, #10284a 0%, #0b1e39 72%, #102a4e 100%);
  color: #fff;
  box-shadow: 0 28px 75px rgba(0,0,0,.27);
}
.hero-campaign-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .48;
  pointer-events: none;
  background-image: linear-gradient(rgba(221,234,254,.035) 1px, transparent 1px), linear-gradient(90deg,rgba(221,234,254,.035) 1px,transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(130deg,#000,transparent 86%);
}
.hero-campaign-card > * { position: relative; z-index: 1; }
.hero-campaign-top, .hero-campaign-platform, .hero-campaign-kicker, .hero-campaign-foot { display: flex; align-items: center; }
.hero-campaign-top { justify-content: space-between; gap: 12px; }
.hero-campaign-kicker { gap: 8px; color: #c7d5e9; font-size: 11px; }
.hero-campaign-kicker i { color: var(--ba-signal, #d9ed67); font-size: 16px; }
.hero-campaign-platform { gap: 6px; color: #d5dfed; font-size: 10px; }
.hero-campaign-platform i { color: #f08a98; font-size: 16px; }
.hero-campaign-label { margin: 31px 0 14px; color: #dce5f1; font-size: 13px; }
.hero-campaign-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hero-campaign-metrics > div { display: flex; flex-direction: column; gap: 3px; }
.hero-campaign-metrics > div + div { padding-inline-start: 20px; border-inline-start: 1px solid rgba(226,236,250,.17); }
.hero-campaign-metrics strong { color: #fff; font-size: clamp(30px,4vw,43px); line-height: 1.2; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.hero-campaign-metrics > div + div strong { color: var(--ba-signal, #d9ed67); }
.hero-campaign-metrics span { color: #adbed5; font-size: 11px; }
.hero-campaign-chart { position: relative; display: flex; align-items: end; justify-content: space-between; height: 99px; margin-top: auto; padding-top: 14px; border-bottom: 1px solid rgba(222,234,250,.18); }
.hero-campaign-chart > span { width: 7%; height: var(--bar-height); opacity: .24; background: #78a7ff; transform-origin: bottom; animation: campaign-bar-rise 900ms cubic-bezier(.2,.75,.25,1) both; }
.hero-campaign-chart > span:nth-child(2n) { opacity: .34; animation-delay: 80ms; }
.hero-campaign-chart > span:nth-child(3n) { background: var(--ba-signal,#d9ed67); opacity: .47; animation-delay: 150ms; }
.hero-campaign-chart svg { position: absolute; inset: 6px 0 0; width: 100%; height: calc(100% - 6px); overflow: visible; }
.hero-campaign-chart path { fill: none; stroke: var(--ba-signal,#d9ed67); stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-dasharray: 600; stroke-dashoffset: 600; animation: campaign-line-draw 1.8s .2s ease forwards; }
.hero-campaign-foot { justify-content: space-between; padding-top: 17px; }
.hero-campaign-foot span { display: flex; align-items: center; gap: 8px; color: #bdcce0; font-size: 11px; }
.hero-campaign-foot span i { color: var(--ba-signal,#d9ed67); font-size: 17px; }
.hero-campaign-foot strong { color: #fff; font-size: 21px; }
.hero-campaign-note { display: block; margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(222,234,250,.16); color: #c4d1e1; font-size: 12px; font-weight: 500; line-height: 1.65; text-wrap: pretty; }
@keyframes campaign-bar-rise { from { transform: scaleY(.2); } to { transform: scaleY(1); } }
@keyframes campaign-line-draw { to { stroke-dashoffset: 0; } }

@media (max-width: 960px) {
  .hero.section-wrap { grid-template-columns: 1fr; gap: 38px; }
  .hero-copy { max-width: 760px; }
  .hero-campaign-card { justify-self: start; width: min(100%, 680px); min-height: 350px; }
}
@media (max-width: 700px) {
  .site-header { overflow: visible !important; }
  body::before { height: 74px; }
  .theme-picker-menu { top: calc(100% + 8px); inset-inline-start: auto; inset-inline-end: 0; width: min(280px, calc(100vw - 28px)); }
  .hero-services-link { margin-top: 21px; font-size: 12px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 13px; margin-top: 14px; }
  .hero .button-primary { width: 100%; min-height: 52px; }
  .hero-whatsapp-link { justify-content: center; min-height: 38px; }
  .hero-campaign-card { width: 100%; min-height: 330px; padding: 23px 20px; }
  .hero-campaign-label { margin-top: 25px; }
  .hero-campaign-metrics strong { font-size: clamp(29px, 8vw, 37px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-campaign-chart > span, .hero-campaign-chart path { animation: none !important; stroke-dashoffset: 0; }
  .hero-services-link, .hero-whatsapp-link { transition: none; }
}
/* Make the full service panel a single, keyboard-friendly link. */
.service-grid > a.service-card {
  display: block;
  color: inherit;
  text-decoration: none;
}
.service-grid > a.service-card:focus-visible {
  outline: 3px solid var(--ba-blue, #254a82);
  outline-offset: 4px;
}
.service-grid > a.service-card:hover .card-link span {
  transform: translate(-3px, -3px);
}
.service-grid .phosphor-service-icon {
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--theme-accent, #2d6fca) 28%, transparent);
  border-radius: 8px;
  background: var(--theme-soft, #eaf1fb);
  color: var(--theme-accent, #2d6fca);
  box-shadow: none;
}
.phosphor-service-icon i {
  display: block;
  font-size: 28px;
  line-height: 1;
}

/* The full client-review card opens its screenshot in the existing lightbox. */
.review-evidence-card { position: relative; }
.review-evidence-card > a { position: static; }
.review-evidence-card > a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}
.review-evidence-card > a:focus-visible::after {
  outline: 3px solid var(--ba-blue, #254a82);
  outline-offset: 4px;
}
.review-evidence-card:hover {
  border-color: #aebdcd;
  box-shadow: 0 15px 34px rgba(10,31,57,.12);
}

/* Native brand-mark cursor is immediate; text fields keep their caret. */
@media (hover: hover) and (pointer: fine) {
  html body :is(a[href], button:not(:disabled), [role="button"], [role="link"], summary, input[type="button"], input[type="submit"], input[type="reset"], input[type="checkbox"], input[type="radio"], select, label[for]),
  html.ba-rocket-cursor.ba-native-cursor body :is(a[href], button:not(:disabled), [role="button"], [role="link"], summary, input[type="button"], input[type="submit"], input[type="reset"], input[type="checkbox"], input[type="radio"], select, label[for]) {
    cursor: var(--blueads-cursor, pointer) !important;
  }
  .hero-whatsapp-link { min-height: 54px; padding: 0 17px; border: 1px solid rgba(255,255,255,.3); }
  .hero-whatsapp-link:hover { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.055); text-decoration: none; }
}
@media (max-width: 700px) {
  .hero-whatsapp-link { width: 100%; min-height: 48px; border: 1px solid rgba(255,255,255,.26); }
}
