/* Full Circle Insurance Brokers — Facebook ad LPs
   Layout inspired by First Connect hero-form landing pages
   Dark hero + light form card + 3-step path + self-quote funnel */

:root {
  /* Full Circle brand: green, black, white */
  --ad-green: #00c853;
  --ad-green-hover: #00a844;
  --ad-green-dark: #0f2e1c;
  --ad-green-light: #e8faf0;
  --ad-green-mid: #69f0ae;
  /* Aliases so existing var(--ad-blue*) rules pick up green */
  --ad-blue: var(--ad-green);
  --ad-blue-hover: var(--ad-green-hover);
  --ad-blue-deep: var(--ad-green-dark);
  --ad-orange: var(--ad-green);
  --ad-orange-hover: var(--ad-green-hover);
  --ad-navy: #0a0a0a;
  --ad-navy-2: #111111;
  --ad-slate: #111111;
  --ad-form-bg: rgba(232, 250, 240, 0.92);
  --ad-form-border: rgba(0, 200, 83, 0.22);
  --ad-section-soft: #f4faf6;
  --ad-white: #ffffff;
  --ad-off: #f7f8fa;
  --ad-gray-100: #f0f2f5;
  --ad-gray-200: #e2e6eb;
  /* All lettering black (no grey body copy) */
  --ad-muted: #111111;
  --ad-text: #111111;
  --ad-heading: #111111;
  --ad-social: #111111;
  --ad-radius: 8px;
  --ad-radius-lg: 12px;
  --ad-shadow: 0 12px 40px rgba(15, 17, 21, 0.1);
  --ad-font: "Nunito Sans", system-ui, -apple-system, sans-serif;
  --ad-display: "Nunito Sans", system-ui, -apple-system, sans-serif;
  /* Header logo — larger than main-site default for ad LPs */
  --ad-logo-max-h: clamp(128px, 12.5vw, 188px);
  --ad-touch: 48px;
  --ad-pad-x: max(1.1rem, env(safe-area-inset-left, 0px));
  --ad-pad-x-right: max(1.1rem, env(safe-area-inset-right, 0px));
  --ad-sticky-cta-h: calc(4.25rem + env(safe-area-inset-bottom, 0px));
  --ad-max: 1140px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body.ad-page {
  margin: 0;
  font-family: var(--ad-font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ad-text);
  background: var(--ad-off);
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--ad-sticky-cta-h);
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  -webkit-tap-highlight-color: rgba(0, 200, 83, 0.15);
  touch-action: manipulation;
}

img,
svg,
video,
iframe {
  max-width: 100%;
}

.ad-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--ad-blue);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.ad-skip:focus {
  left: 0.75rem;
  top: 0.75rem;
}

/* —— Light nav (First Connect heyflowtop: white bar on soft hero) —— */
.ad-header {
  position: relative;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid rgba(229, 231, 234, 0.9);
  padding-top: env(safe-area-inset-top, 0px);
}

.ad-header__inner {
  max-width: var(--ad-max);
  margin: 0 auto;
  padding: 0.75rem var(--ad-pad-x);
  padding-right: var(--ad-pad-x-right);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.ad-header__brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex: 1 1 auto;
  min-width: 0;
  max-width: min(480px, calc(100% - 9rem));
}

.ad-header__logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: var(--ad-logo-max-h);
  aspect-ratio: 638 / 329;
  object-fit: contain;
}

/* Responsive logo heights — scaled up from main-site sizes */
@media (max-width: 1600px) {
  :root {
    --ad-logo-max-h: clamp(112px, 11vw, 160px);
  }

  .ad-header__brand {
    max-width: min(460px, 42vw, calc(100% - 9rem));
  }
}

@media (max-width: 1400px) {
  :root {
    --ad-logo-max-h: clamp(96px, 13vw, 132px);
  }

  .ad-header__brand {
    max-width: min(380px, 48vw, calc(100% - 9rem));
  }
}

@media (max-width: 768px) {
  :root {
    --ad-logo-max-h: 92px;
  }

  .ad-header__brand {
    max-width: min(280px, 62vw, calc(100% - 8.5rem));
  }
}

@media (max-width: 480px) {
  :root {
    --ad-logo-max-h: 72px;
  }
}

@media (max-width: 375px) {
  :root {
    --ad-logo-max-h: 64px;
  }
}

.ad-header__actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.ad-header__phone,
a[href^="tel:"].ad-header__phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(0, 200, 83, 0.08);
  border: 1px solid rgba(0, 200, 83, 0.22);
  color: var(--ad-slate);
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.ad-header__phone:hover {
  background: rgba(0, 200, 83, 0.14);
  color: var(--ad-blue-deep);
}

.ad-lang {
  display: inline-flex;
  border: 1px solid var(--ad-gray-200);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}

.ad-lang__btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ad-muted);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  min-height: 40px;
  min-width: 40px;
  padding: 0.35rem 0.55rem;
  cursor: pointer;
}

.ad-lang__btn.is-active {
  background: var(--ad-blue);
  color: #fff;
}

/* —— Split hero with product photo (previous design photos restored) —— */
.ad-hero-fc {
  position: relative;
  background: var(--ad-section-soft);
  color: var(--ad-slate);
  overflow: hidden;
  /* First Connect: 90px vertical padding on desktop */
  padding: 90px 0;
  min-height: min(78vh, 640px);
  display: flex;
  align-items: center;
}

/* Full-bleed product photo behind hero (from previous ad design) */
.ad-hero-fc__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
}

.ad-hero-fc__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  /* Keep photo vivid and clearly visible under translucent UI */
  filter: brightness(1.02) contrast(1.06) saturate(1.12);
  opacity: 1;
}

/* Light wash only — photo should read clearly through the hero */
.ad-hero-fc__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  pointer-events: none;
  background:
    linear-gradient(
      105deg,
      rgba(232, 250, 240, 0.55) 0%,
      rgba(232, 250, 240, 0.38) 38%,
      rgba(232, 250, 240, 0.18) 62%,
      rgba(232, 250, 240, 0.08) 100%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.12) 0%,
      rgba(255, 255, 255, 0.04) 45%,
      rgba(232, 250, 240, 0.22) 100%
    );
}

/* Product-specific photo crops (previous design) */
body[data-product="auto"] .ad-hero-fc__bg img {
  /* Frame the vehicle cabin / car body, not a tight crop */
  object-position: center 45%;
}

body[data-product="home"] .ad-hero-fc__bg img {
  object-position: center 40%;
}

body[data-product="life"] .ad-hero-fc__bg img {
  object-position: center 25%;
}

body[data-product="commercial"] .ad-hero-fc__bg img {
  object-position: center 30%;
}

body[data-product="medicare"] .ad-hero-fc__bg img {
  object-position: center 40%;
}

.ad-hero-fc__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 var(--ad-pad-x);
  padding-right: var(--ad-pad-x-right);
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

/* More transparent glass — background photo shows through */
.ad-hero-fc__copy {
  padding: 1.15rem 1.2rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px) saturate(1.1);
  -webkit-backdrop-filter: blur(8px) saturate(1.1);
  box-shadow: 0 10px 32px rgba(15, 17, 21, 0.1);
}

.ad-hero-fc__copy .ad-hero-fc__title {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55), 0 2px 12px rgba(255, 255, 255, 0.35);
}

.ad-hero-fc__copy .ad-hero-fc__checks li,
.ad-hero-fc__copy .ad-hero-fc__trust {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

.ad-hero-fc__form .ad-sr-form {
  box-shadow: 0 12px 36px rgba(15, 17, 21, 0.14);
  background: rgba(232, 250, 240, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px) saturate(1.08);
  -webkit-backdrop-filter: blur(10px) saturate(1.08);
}

.ad-hero-fc__form .ad-sr-form .ad-field input,
.ad-hero-fc__form .ad-sr-form .ad-field select {
  background: rgba(255, 255, 255, 0.72);
}

/* FCIB Assistant mounted beside the "Stop overpaying" copy box */
.ad-hero-fc__form--bot {
  width: 100%;
  min-width: 0;
  align-self: stretch;
}

.ad-hero-fc__form--bot .ad-bot--hero {
  max-width: none;
  width: 100%;
  margin: 0;
  min-height: 0;
  height: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px) saturate(1.08);
  -webkit-backdrop-filter: blur(12px) saturate(1.08);
  box-shadow: 0 16px 44px rgba(15, 17, 21, 0.16);
}

.ad-bot--hero .ad-bot__header {
  padding: 0.75rem 0.9rem;
  background: linear-gradient(180deg, rgba(0, 200, 83, 0.1) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.ad-bot--hero .ad-bot__mascot-body {
  width: 112px;
  height: 112px;
}

.ad-bot--hero .ad-bot__meta strong,
.ad-bot--hero .ad-bot__name {
  font-size: 2.85rem;
  line-height: 1.15;
}

.ad-bot__hero-lead {
  margin: 0;
  padding: 0.55rem 0.9rem 0.65rem;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ad-slate);
  border-bottom: 1px solid #e5e7ea;
  background: rgba(244, 250, 246, 0.85);
}

.ad-bot--hero .ad-bot__log {
  min-height: 200px;
  max-height: min(38vh, 300px);
  padding: 0.75rem 0.75rem;
}

.ad-bot--hero .ad-bot__composer {
  padding: 0.65rem 0.75rem 0.75rem;
}

.ad-bot--hero .ad-bot__note {
  margin-top: 0.45rem;
  font-size: 0.72rem;
}

/* Scroll target for sticky CTA / skip links (bot lives in hero) */
.ad-details-anchor {
  position: relative;
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  pointer-events: none;
}

.ad-hero-fc__eyebrow {
  display: none;
}

.ad-product-chip {
  display: none;
}

.ad-hero-fc__title {
  margin: 0 0 1.15rem;
  font-family: var(--ad-display);
  font-weight: 700;
  /* First Connect: 42px */
  font-size: clamp(1.85rem, 5vw, 2.625rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ad-slate);
  text-align: left;
  text-transform: none;
  max-width: none;
}

.ad-hero-fc__title em,
.ad-hero-fc__title strong,
.ad-hero-fc__title .ad-accent {
  font-style: normal;
  font-weight: 700;
  color: var(--ad-orange);
}

.ad-hero-fc__lead {
  display: none;
}

.ad-hero-fc__checks {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.ad-hero-fc__checks li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--ad-social);
  line-height: 1.3;
}

.ad-hero-fc__checks li strong {
  font-weight: 700;
  color: var(--ad-social);
}

.ad-hero-fc__checks li::before {
  content: "";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='none'%3E%3Ccircle cx='14' cy='14' r='14' fill='%2300c853'/%3E%3Cpath d='M8.5 14.2l3.4 3.4 7.6-7.8' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Trust line under checks (Trustpilot-style stand-in) */
.ad-hero-fc__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin: 0;
  padding: 0.85rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ad-social);
}

.ad-hero-fc__trust-stars {
  display: inline-flex;
  gap: 0.12rem;
  color: #00b67a;
  letter-spacing: 0.02em;
  font-size: 1rem;
  line-height: 1;
}

.ad-hero-fc__trust svg {
  flex-shrink: 0;
}

/* Hero form card — First Connect .sr-form */
.ad-sr-form {
  background: var(--ad-form-bg);
  color: var(--ad-slate);
  border: 1px solid var(--ad-form-border);
  border-radius: 8px;
  padding: 1.25rem;
  box-shadow: none;
  overflow: hidden;
  width: 100%;
}

.ad-sr-form--lg {
  padding: 2rem;
}

/* HubSpot form target uses ~20px padding on fields area */
.ad-sr-form .ad-form {
  padding: 0;
}

.ad-sr-form__title {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ad-slate);
  letter-spacing: 0;
  /* First Connect uses .heading.h6 */
  line-height: 1.35;
}

.ad-sr-form__sub {
  display: none;
}

.ad-sr-form .ad-form {
  gap: 0.7rem;
}

.ad-sr-form .ad-field label {
  color: var(--ad-slate);
  font-size: 0.82rem;
}

.ad-sr-form .ad-field input,
.ad-sr-form .ad-field select {
  background: #fff;
  border-color: #c8d9cf;
}

.ad-sr-form .ad-form__note {
  color: #111111;
  font-size: 0.72rem;
}

/* —— Buttons —— */
.ad-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: var(--ad-touch);
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-align: center;
  text-transform: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
  width: 100%;
}

.ad-btn:active {
  transform: scale(0.98);
}

.ad-btn--primary {
  background: var(--ad-green);
  color: #062016;
  border-color: var(--ad-green);
  box-shadow: 0 6px 18px rgba(0, 200, 83, 0.28);
}

.ad-btn--primary:hover {
  background: var(--ad-green-hover);
  border-color: var(--ad-green-hover);
  color: #062016;
}

.ad-btn--ghost {
  background: transparent;
  color: var(--ad-slate);
  border-color: var(--ad-gray-200);
}

.ad-btn--ghost:hover {
  border-color: var(--ad-blue);
  background: rgba(0, 200, 83, 0.06);
  color: var(--ad-blue);
}

.ad-btn--ghost-dark {
  background: #fff;
  color: var(--ad-heading);
  border-color: var(--ad-gray-200);
}

.ad-btn--ghost-dark:hover {
  border-color: var(--ad-blue);
  color: var(--ad-blue);
}

.ad-btn--block {
  width: 100%;
}

.ad-btn--green {
  background: var(--ad-green);
  border-color: var(--ad-green);
  color: #062016;
  box-shadow: none;
}

.ad-btn--green:hover {
  background: var(--ad-green-hover);
  border-color: var(--ad-green-hover);
  color: #062016;
}

/* —— Carrier strip — sits directly under logo / header bar —— */
.ad-ticker {
  background: #fff;
  border-top: 0 none #e5e7ea;
  border-bottom: 1px solid var(--ad-gray-200);
  padding: 0.85rem 0 0.75rem;
  position: relative;
  z-index: 40;
}

.ad-ticker__inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

.ad-ticker__label {
  margin: 0 0 0.15rem;
  padding: 0 var(--ad-pad-x);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ad-muted);
}

.ad-ticker__sub {
  margin: 0 0 1.15rem;
  padding: 0 var(--ad-pad-x);
  font-size: 0.95rem;
  color: var(--ad-social);
  font-weight: 400;
}

.ad-ticker__viewport {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.ad-ticker__track {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  /* Slick on FC uses autoplay ~1s — keep a continuous but snappy marquee */
  animation: ad-ticker 28s linear infinite;
}

.ad-ticker__track img {
  /* First Connect logo slides are ~72px tall */
  height: 48px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: none;
  opacity: 1;
  margin: 0 0.5rem;
}

@keyframes ad-ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.ad-ticker__credit {
  margin: 0.9rem 0 0;
  padding: 0 var(--ad-pad-x);
  font-size: 0.72rem;
  color: var(--ad-muted);
}

/* —— Shared sections —— */
.ad-section {
  padding: 2.75rem 0;
}

.ad-section__inner {
  max-width: var(--ad-max);
  margin: 0 auto;
  padding: 0 var(--ad-pad-x);
  padding-right: var(--ad-pad-x-right);
}

.ad-section__head {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 1.75rem;
}

.ad-section__eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ad-blue);
}

.ad-section__title {
  margin: 0 0 0.55rem;
  font-size: clamp(1.45rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ad-heading);
  text-transform: none;
  line-height: 1.2;
}

.ad-section__title em,
.ad-section__title strong {
  font-style: normal;
  color: var(--ad-blue);
}

.ad-section__lead {
  margin: 0;
  font-size: 1.02rem;
  color: var(--ad-muted);
  font-weight: 500;
}

/* Under Connect Canopy — AI extracts policy data for quoting */
.ad-connect-ai-note {
  margin: 0.85rem 0 0;
  max-width: 42rem;
  padding: 0.75rem 0.95rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 200, 83, 0.28);
  background: rgba(0, 200, 83, 0.08);
  color: var(--ad-slate);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

/* Feature cards — SR Cards Grid style (border #e5e7ea, generous padding) */
.ad-features {
  background: #fff;
}

.ad-features__grid {
  display: grid;
  gap: 1rem;
}

.ad-feature {
  background: #fff;
  border: 1px solid #e5e7ea;
  border-radius: 0;
  padding: 2rem 1.5rem;
  height: 100%;
}

.ad-feature__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--ad-blue);
  margin-bottom: 0.9rem;
  padding: 0;
}

.ad-feature h3 {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ad-heading);
}

.ad-feature p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ad-muted);
  font-weight: 400;
  line-height: 1.55;
}

/* Alternating media rows — First Connect sr-multicol-media / two-col */
.ad-media-rows {
  background: #fff;
  padding: 0;
}

.ad-media-row {
  display: grid;
  gap: 1.75rem;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
  padding: 2.5rem var(--ad-pad-x);
  padding-right: var(--ad-pad-x-right);
}

/* First Connect uses white/none bg rows stacked with half padding */
.ad-media-row + .ad-media-row {
  padding-top: 1rem;
}

.ad-media-row__visual {
  border-radius: 14px;
  overflow: hidden;
  background: var(--ad-section-soft);
  border: 1px solid #e5e7ea;
  min-height: 220px;
  box-shadow: 0 10px 28px rgba(15, 17, 21, 0.08);
}

.ad-media-row__visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  max-height: 380px;
  object-fit: cover;
  object-position: center;
}

/* 112×112 icon above heading (Select Product / Gift / Report) */
.ad-media-row__icon {
  width: 112px;
  height: 112px;
  margin: 0 0 1rem;
  color: var(--ad-blue);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.ad-media-row__icon svg {
  width: 72px;
  height: 72px;
}

.ad-media-row h2,
.ad-media-row h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  font-weight: 700;
  color: var(--ad-slate);
  line-height: 1.25;
}

/* First Connect body: 20px / #3d4f63 */
.ad-media-row p {
  margin: 0;
  font-size: 1.25rem;
  color: #111111;
  line-height: 1.55;
  max-width: 34rem;
  font-weight: 400;
}

/* 3 steps — light like First Connect success section */
.ad-success {
  background: #fff;
  color: var(--ad-text);
  border-top: 1px solid #e5e7ea;
}

.ad-success .ad-section__title {
  color: var(--ad-heading);
  text-transform: none;
  font-weight: 700;
}

.ad-success .ad-section__lead {
  color: var(--ad-muted);
}

.ad-success .ad-section__eyebrow {
  color: var(--ad-blue);
}

.ad-success__grid {
  display: grid;
  gap: 1rem;
}

.ad-success-step {
  background: var(--ad-section-soft);
  border: 1px solid #e5e7ea;
  border-radius: 0;
  padding: 2rem 1.35rem 1.75rem;
  text-align: center;
}

.ad-success-step__num {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.9rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.15rem;
  background: var(--ad-blue);
  color: #fff;
}

.ad-success-step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ad-heading);
}

.ad-success-step p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ad-muted);
  line-height: 1.55;
}

/* Self-serve root */
.ad-selfserve-root {
  display: block;
  background: var(--ad-off);
}

.ad-section--details,
.ad-section--connect,
.ad-section--quote {
  padding: 2.5rem 0;
}

.ad-section--details {
  background: #fff;
}

.ad-section--connect {
  background: linear-gradient(180deg, #f0f4ff 0%, var(--ad-off) 100%);
}

.ad-section--quote {
  background: #fff;
}

.ad-no-agent,
.ad-canopy-badge {
  display: inline-flex;
  margin: 0 0 0.65rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 200, 83, 0.1);
  border: 1px solid rgba(0, 200, 83, 0.28);
  color: var(--ad-blue-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ad-canopy-badge {
  background: var(--ad-green-light);
  border-color: rgba(0, 200, 83, 0.35);
  color: #0f2e1c;
}

/* Forms */
.ad-form-card {
  background: var(--ad-form-bg);
  border: 1px solid var(--ad-form-border);
  border-radius: var(--ad-radius);
  padding: 1.2rem 1rem 1.3rem;
  box-shadow: var(--ad-shadow);
  max-width: 720px;
  margin: 0 auto;
}

.ad-form {
  display: grid;
  gap: 0.85rem;
}

.ad-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.ad-form__row--3 {
  grid-template-columns: 1fr;
}

.ad-form__actions {
  display: grid;
  gap: 0.55rem;
}

.ad-field label,
.ad-field__legend {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ad-heading);
}

.ad-field label .req {
  color: var(--ad-blue);
}

.ad-field input,
.ad-field select,
.ad-field textarea {
  width: 100%;
  min-height: var(--ad-touch);
  padding: 0.7rem 0.85rem;
  border-radius: 6px;
  border: 1px solid #c8d9cf;
  background: #fff;
  color: var(--ad-heading);
  font: inherit;
  font-size: 16px;
  line-height: 1.3;
  -webkit-appearance: none;
  appearance: none;
}

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

.ad-field input:focus,
.ad-field select:focus,
.ad-field textarea:focus {
  outline: 2px solid var(--ad-blue);
  outline-offset: 1px;
  border-color: var(--ad-blue);
}

.ad-field input::placeholder,
.ad-field textarea::placeholder {
  color: #111111;
}

.ad-choice {
  display: grid;
  gap: 0.45rem;
}

.ad-choice__opt {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.7rem 0.8rem;
  border-radius: 8px;
  border: 1px solid #c8d9cf;
  background: #fff;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ad-heading);
}

.ad-choice__opt:has(input:checked) {
  border-color: rgba(0, 200, 83, 0.55);
  background: rgba(0, 200, 83, 0.08);
}

.ad-choice__opt input {
  margin-top: 0.15rem;
  accent-color: var(--ad-blue);
  flex-shrink: 0;
}

/* —— AI chat Q&A bot (details gathering) —— */
.ad-bot {
  max-width: 720px;
  margin: 0 auto;
  border-radius: 16px;
  border: 1px solid #e5e7ea;
  background: #fff;
  box-shadow: 0 14px 40px rgba(15, 17, 21, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 520px;
}

.ad-bot__header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1rem;
  align-items: center;
  padding: 1rem 1rem 0.9rem;
  border-bottom: 1px solid #e5e7ea;
  background: linear-gradient(180deg, rgba(0, 200, 83, 0.08) 0%, #fff 100%);
}

/* Transparent mascot in hero chat header */
.ad-bot--hero .ad-bot__header {
  grid-template-columns: minmax(100px, 112px) 1fr;
  align-items: center;
}

/* Mascot: green character with same bob bounce as site quote assistant */
.ad-bot__mascot {
  position: relative;
  width: 112px;
  height: 112px;
  flex-shrink: 0;
  overflow: visible;
  animation: ad-bot-mascot-bob 3.2s ease-in-out infinite;
  will-change: transform;
}

.ad-bot__mascot-body {
  display: block;
  width: 112px;
  height: 112px;
  object-fit: contain;
  object-position: center;
  background: transparent !important;
  border: 0;
  padding: 0;
  position: relative;
  z-index: 1;
  animation: ad-bot-mascot-glow 4s ease-in-out infinite;
  will-change: transform, filter;
  filter: drop-shadow(0 4px 12px rgba(0, 200, 83, 0.28));
}

/* Match quote-chatbot-mascot-bob / agent-chat-avatar-bob */
@keyframes ad-bot-mascot-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes ad-bot-mascot-glow {
  0%,
  100% {
    filter: drop-shadow(0 4px 12px rgba(0, 200, 83, 0.22));
  }
  50% {
    filter: drop-shadow(0 10px 20px rgba(0, 200, 83, 0.42));
  }
}

/* While assistant is “typing”, bounce a little faster (like quote chatbot thinking) */
.ad-bot--hero.is-mascot-thinking .ad-bot__mascot {
  animation: ad-bot-mascot-think 0.85s ease-in-out infinite;
}

@keyframes ad-bot-mascot-think {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-4px) rotate(-4deg);
  }
  75% {
    transform: translateY(-4px) rotate(4deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ad-bot__mascot,
  .ad-bot__mascot-body,
  .ad-bot__bubble-mascot,
  .ad-bot--hero.is-mascot-thinking .ad-bot__mascot {
    animation: none !important;
  }
}

.ad-bot__meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  justify-content: center;
}

.ad-bot__meta strong,
.ad-bot__name {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ad-slate);
}

/* Online status line removed from hero chat header */

/* Scheduled callback banner (after slot selected) */
.ad-bot__scheduled {
  margin: 0;
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid rgba(0, 200, 83, 0.25);
  background: rgba(0, 200, 83, 0.1);
  color: var(--ad-blue-deep);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
}

.ad-bot__scheduled[hidden] {
  display: none !important;
}

/* Callback time-slot picker on FCIB Assistant */
.ad-bot__slots {
  display: grid;
  gap: 0.55rem;
  padding: 0.75rem 0.15rem 0.35rem;
}

.ad-bot__slots[hidden] {
  display: none !important;
}

.ad-bot__slots-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--ad-slate);
}

.ad-bot__slots-hint {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ad-muted);
  line-height: 1.4;
}

.ad-bot__slots-list {
  display: grid;
  gap: 0.5rem;
}

.ad-bot__slot-btn {
  appearance: none;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  text-align: left;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 200, 83, 0.35);
  background: #fff;
  color: var(--ad-slate);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.ad-bot__slot-btn:hover {
  background: rgba(0, 200, 83, 0.08);
  border-color: rgba(0, 200, 83, 0.55);
}

.ad-bot__slot-btn.is-selected {
  background: rgba(0, 200, 83, 0.12);
  border-color: #00c853;
  box-shadow: 0 0 0 2px rgba(0, 200, 83, 0.2);
}

.ad-bot__slot-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: #00c853;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
}

.ad-bot__slot-label {
  line-height: 1.35;
  font-size: 0.92rem;
}

/* Add-to-calendar actions after a slot is chosen */
.ad-bot__calendar {
  padding: 0.75rem 0.9rem 0.85rem;
  border-bottom: 1px solid rgba(0, 200, 83, 0.22);
  background: rgba(244, 250, 246, 0.95);
  display: grid;
  gap: 0.55rem;
}

.ad-bot__calendar[hidden] {
  display: none !important;
}

.ad-bot__calendar-title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--ad-slate);
}

.ad-bot__calendar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.ad-bot__cal-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 200, 83, 0.35);
  background: #fff;
  color: var(--ad-blue-deep);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.25;
}

.ad-bot__cal-btn:hover {
  background: rgba(0, 200, 83, 0.08);
}

.ad-bot__cal-btn--primary {
  background: #00c853;
  border-color: #00c853;
  color: #fff;
}

.ad-bot__cal-btn--primary:hover {
  background: #00a844;
  border-color: #00a844;
  color: #fff;
}
@media (max-width: 767px) {
  .ad-bot__meta strong,
  .ad-bot__name,
  .ad-bot--hero .ad-bot__meta strong,
  .ad-bot--hero .ad-bot__name {
    font-size: clamp(1.5rem, 7vw, 2.4rem);
  }
}

.ad-bot__progress-wrap {
  grid-column: 1 / -1;
}

.ad-bot__progress-label {
  display: none; /* no "question n of total" on ad LPs */
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ad-muted);
}

.ad-bot__progress-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(0, 200, 83, 0.12);
  overflow: hidden;
}

.ad-bot__progress-fill {
  height: 100%;
  width: 4%;
  border-radius: inherit;
  background: linear-gradient(90deg, #69f0ae 0%, #00c853 55%, #00a844 100%);
  transition: width 0.35s ease;
}

.ad-bot__log {
  flex: 1 1 auto;
  min-height: 280px;
  max-height: min(52vh, 420px);
  overflow-y: auto;
  padding: 1rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: #f4faf6;
}

.ad-bot__row {
  display: flex;
  align-items: flex-end;
  gap: 0.45rem;
  max-width: 92%;
}

.ad-bot__row--bot {
  align-self: flex-start;
}

.ad-bot__row--user {
  align-self: flex-end;
  justify-content: flex-end;
}

.ad-bot__bubble-mascot {
  position: relative;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  align-self: flex-end;
  overflow: visible;
  animation: ad-bot-mascot-bob 3.2s ease-in-out infinite;
  will-change: transform;
}

.ad-bot__bubble-mascot .ad-bot__mascot-body,
.ad-bot__bubble-avatar {
  width: 72px;
  height: 72px;
  display: block;
  object-fit: contain;
  background: transparent !important;
  border: 0;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 3px 8px rgba(0, 200, 83, 0.25));
}





.ad-bot__bubble {
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  font-size: 0.95rem;
  line-height: 1.45;
  box-shadow: 0 2px 8px rgba(15, 17, 21, 0.05);
}

.ad-bot__bubble p {
  margin: 0;
}

.ad-bot__bubble--bot {
  background: #fff;
  border: 1px solid #e5e7ea;
  color: var(--ad-slate);
  border-bottom-left-radius: 4px;
}

.ad-bot__bubble--bot.is-typing {
  color: #111111;
  font-style: italic;
  opacity: 0.85;
}

.ad-bot__bubble--user {
  background: var(--ad-green);
  color: #062016;
  border-bottom-right-radius: 4px;
}

.ad-bot__composer {
  border-top: 1px solid #e5e7ea;
  padding: 0.75rem 0.9rem 0.9rem;
  background: #fff;
  display: grid;
  gap: 0.55rem;
}

.ad-bot__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.ad-bot__chip {
  appearance: none;
  border: 1px solid rgba(0, 200, 83, 0.35);
  background: rgba(0, 200, 83, 0.06);
  color: var(--ad-blue-deep);
  font: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  min-height: 42px;
  text-align: left;
  white-space: normal;
  line-height: 1.3;
  max-width: 100%;
}

/* Contact time slots: full-width choices under TCPA / schedule step */
.ad-bot__chips:has(.ad-bot__chip:nth-child(3)) {
  flex-direction: column;
  align-items: stretch;
}

.ad-bot__chips:has(.ad-bot__chip:nth-child(3)) .ad-bot__chip {
  border-radius: 10px;
  width: 100%;
}

.ad-bot__chip:hover {
  background: rgba(0, 200, 83, 0.12);
}

.ad-bot__chip--ghost {
  background: #fff;
  border-color: #d0d5de;
  color: var(--ad-muted);
}

.ad-bot__upload {
  padding: 0.15rem 0;
}

.ad-bot__input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem;
  align-items: center;
}

.ad-bot__input {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  border: 1px solid #c8d9cf;
  font: inherit;
  font-size: 16px;
  color: var(--ad-slate);
  background: #fff;
}

.ad-bot__input:focus {
  outline: 2px solid #00c853;
  border-color: #00c853;
}

.ad-bot__send {
  width: auto;
  min-width: 5.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.ad-bot__status {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
}

.ad-bot__status[data-state="error"] {
  color: #c62828;
}

.ad-bot__status[data-state="ok"] {
  color: var(--ad-blue-deep);
}

.ad-bot__status[hidden] {
  display: none !important;
}

.ad-bot__note {
  margin: 0;
}

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

/* Declaration (decs) page upload */
.ad-decs {
  display: grid;
  gap: 0.45rem;
  padding: 0.9rem 0.85rem;
  border-radius: 8px;
  border: 1px dashed rgba(0, 200, 83, 0.35);
  background: rgba(0, 200, 83, 0.04);
}

.ad-decs__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ad-slate);
}

.ad-decs__lead {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--ad-social);
}

.ad-decs__drop {
  display: grid;
  gap: 0.25rem;
  justify-items: start;
  margin-top: 0.25rem;
  cursor: pointer;
}

.ad-decs__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1rem;
  border-radius: 6px;
  background: #fff;
  border: 1px solid rgba(0, 200, 83, 0.35);
  color: var(--ad-blue-deep);
  font-weight: 700;
  font-size: 0.88rem;
}

.ad-decs__drop:hover .ad-decs__btn {
  background: rgba(0, 200, 83, 0.08);
}

.ad-decs__hint {
  font-size: 0.75rem;
  color: var(--ad-muted);
  font-weight: 500;
}

.ad-decs__list {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.3rem;
}

.ad-decs__list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.4rem 0.55rem;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--ad-gray-200);
  font-size: 0.8rem;
  color: var(--ad-slate);
}

.ad-decs__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  min-width: 0;
}

.ad-decs__size {
  flex-shrink: 0;
  color: var(--ad-muted);
  font-weight: 500;
}

.ad-decs__status {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ad-blue-deep);
}

.ad-check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--ad-text);
  cursor: pointer;
}

.ad-check input {
  margin-top: 0.2rem;
  accent-color: var(--ad-blue);
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
}

.ad-form__note {
  margin: 0;
  font-size: 0.76rem;
  color: var(--ad-muted);
  line-height: 1.4;
}

.ad-form__disclosure,
.ad-bot__disclosure {
  margin: 0.55rem 0 0;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(15, 23, 42, 0.03);
  font-size: 0.68rem;
  color: var(--ad-muted);
  line-height: 1.45;
  font-weight: 500;
  text-align: left;
}

.ad-footer__tcpa {
  margin: 0.75rem auto 0 !important;
  max-width: 42rem;
  font-size: 0.68rem;
  color: var(--ad-muted);
  line-height: 1.45;
}

.ad-form__status {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
}

.ad-form__status[data-state="error"] {
  color: #c62828;
}

.ad-form__status[data-state="ok"] {
  color: var(--ad-blue-deep);
}

.ad-form__status[hidden] {
  display: none !important;
}

/* Canopy card */
.ad-connect-card {
  display: grid;
  gap: 1.1rem;
  background: #fff;
  border: 1px solid var(--ad-gray-200);
  border-radius: var(--ad-radius-lg);
  padding: 1.2rem 1rem 1.3rem;
  box-shadow: var(--ad-shadow);
  max-width: 860px;
  margin: 0 auto;
}

.ad-connect-card__why h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  color: var(--ad-heading);
}

.ad-connect-benefits {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.ad-connect-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ad-text);
}

.ad-connect-benefits li::before {
  content: "";
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.12rem;
  border-radius: 50%;
  background: var(--ad-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23fff' d='M6.5 11.2 3.2 7.9l1.1-1.1 2.2 2.2 5.2-5.2 1.1 1.1z'/%3E%3C/svg%3E") center/0.85rem no-repeat;
}

.ad-connect-card__actions {
  display: grid;
  gap: 0.55rem;
}

/* Quote panel */
.ad-quote-panel {
  border: 1px solid var(--ad-gray-200);
  border-radius: var(--ad-radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--ad-shadow);
  max-width: 920px;
  margin: 0 auto;
}

.ad-quote-panel__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--ad-navy);
  color: #fff;
}

.ad-quote-panel__bar p {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
}

.ad-quote-panel__badge {
  flex-shrink: 0;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: var(--ad-blue);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ad-quote-frame-wrap {
  min-height: 220px;
  background: var(--ad-off);
}

.ad-quote-frame {
  display: block;
  width: 100%;
  min-height: 640px;
  border: 0;
  background: #fff;
}

.ad-quote-fallback {
  padding: 2rem 1.25rem;
  text-align: center;
}

.ad-quote-fallback__icon {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0, 200, 83, 0.1);
  color: var(--ad-blue);
}

.ad-quote-fallback h3 {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
  color: var(--ad-heading);
}

.ad-quote-fallback p {
  margin: 0 auto 1.1rem;
  max-width: 28rem;
  color: var(--ad-muted);
}

.ad-quote-fallback__actions {
  display: grid;
  gap: 0.55rem;
  max-width: 22rem;
  margin: 0 auto;
}

/* Bottom CTA — tabs for FCIB Assistant + home decs bundle */
.ad-bottom-cta {
  background: var(--ad-section-soft);
  color: var(--ad-heading);
  padding: 3.5rem var(--ad-pad-x);
  text-align: center;
  border-top: 0 none #e5e7ea;
  border-bottom: 0 none #e5e7ea;
}

.ad-bottom-cta__inner {
  max-width: 32rem;
  margin: 0 auto;
}

.ad-bottom-cta__inner--wide {
  max-width: 40rem;
}

.ad-bottom-cta h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.4rem, 3.5vw, 1.85rem);
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ad-heading);
}

.ad-bottom-cta > .ad-bottom-cta__inner > p,
.ad-bottom-cta__inner > p[data-i18n="bottomLead"] {
  margin: 0 0 1.15rem;
  font-size: 1rem;
  color: var(--ad-muted);
  font-weight: 400;
}

.ad-bottom-cta .ad-sr-form {
  text-align: left;
  margin: 0 auto;
}

.ad-bottom-cta .ad-btn {
  max-width: 28rem;
  width: 100%;
  margin: 0 auto;
  display: inline-flex;
  justify-content: center;
  text-align: center;
  white-space: normal;
  line-height: 1.3;
  min-height: 48px;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

.ad-bottom-cta .ad-btn--block {
  max-width: none;
  width: 100%;
}

.ad-bundle-card {
  text-align: left;
  padding: 1.15rem 1.1rem 1.25rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 200, 83, 0.22);
  box-shadow: 0 12px 32px rgba(15, 17, 21, 0.08);
  display: grid;
  gap: 0.85rem;
}

.ad-bundle-card__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ad-slate);
}

.ad-bundle-card__lead {
  margin: 0 !important;
  font-size: 0.92rem !important;
  color: var(--ad-social) !important;
  line-height: 1.45;
}

.ad-bundle-card__save {
  margin: 0 !important;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 200, 83, 0.28);
  background: rgba(0, 200, 83, 0.1);
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  color: var(--ad-blue-deep) !important;
  line-height: 1.4;
}

.ad-bundle-card__contact {
  gap: 0.65rem;
}

.ad-bundle-card__zip {
  max-width: 12rem;
}

.ad-bundle-card .ad-field label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ad-slate);
}

.ad-bundle-card .ad-field input {
  width: 100%;
  min-height: 44px;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  border: 1px solid var(--ad-gray-200);
  background: #fff;
  font: inherit;
  color: var(--ad-slate);
}

.ad-bundle-card .ad-field input:focus {
  outline: 2px solid rgba(0, 200, 83, 0.35);
  outline-offset: 1px;
  border-color: rgba(0, 200, 83, 0.45);
}

.ad-decs--bundle {
  background: rgba(0, 200, 83, 0.05);
}

.ad-bundle-card__consent {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--ad-social);
  font-weight: 500;
  cursor: pointer;
}

.ad-bundle-card__consent input {
  margin-top: 0.2rem;
  accent-color: var(--ad-blue);
  flex-shrink: 0;
}



/* Footer */
.ad-footer {
  background: #ffffff;
  color: var(--ad-muted);
  border-top: 1px solid var(--ad-gray-200);
  padding: 2rem var(--ad-pad-x) 1.5rem;
  padding-right: var(--ad-pad-x-right);
  text-align: center;
  font-size: 0.82rem;
}

.ad-footer__brand {
  display: inline-block;
  text-decoration: none;
  margin: 0 auto 1rem;
}

.ad-footer__brand:hover .ad-footer__logo,
.ad-footer__brand:focus-visible .ad-footer__logo {
  opacity: 0.9;
}

.ad-footer__logo {
  display: block;
  margin: 0 auto;
  width: auto;
  height: auto;
  /* Match main-site logo scale (styles.css .fcib-logo) */
  max-height: clamp(105px, 12vw, 149px);
  max-width: min(375px, 70vw);
  aspect-ratio: 638 / 329;
  object-fit: contain;
  filter: none;
}

.ad-header a.ad-header__brand {
  cursor: pointer;
}

.ad-header a.ad-header__brand:focus-visible {
  outline: 2px solid var(--ad-green);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .ad-footer__logo {
    max-height: 90px;
    max-width: min(280px, 75vw);
  }
}

@media (max-width: 480px) {
  .ad-footer__logo {
    max-height: 72px;
    max-width: min(240px, 80vw);
  }
}

.ad-footer p {
  margin: 0.35rem 0;
}

.ad-footer a {
  color: var(--ad-blue);
  text-decoration: none;
}

.ad-footer a:hover {
  text-decoration: underline;
  color: var(--ad-blue-deep);
}

.ad-footer__legal {
  margin-top: 0.85rem !important;
  font-size: 0.72rem;
  color: var(--ad-muted);
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

/* Sticky mobile CTA */
.ad-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 0.65rem var(--ad-pad-x);
  padding-bottom: calc(0.65rem + env(safe-area-inset-bottom, 0px));
  padding-right: var(--ad-pad-x-right);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--ad-gray-200);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.ad-sticky-cta__inner {
  max-width: 480px;
  margin: 0 auto;
}

.ad-sticky-cta .ad-btn {
  width: 100%;
}

.ad-sticky-cta.is-hidden {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}

/* Legacy unused pieces kept harmless */
.ad-steps,
.ad-zip-form,
.ad-hero,
.ad-pain,
.ad-trust {
  display: none !important;
}

/* —— Responsive —— */
@media (min-width: 768px) {
  /* First Connect: col-md-6 copy + col-md-5 offset-md-1 form */
  .ad-hero-fc__inner {
    max-width: 1140px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    gap: 2rem 2.25rem;
    align-items: start;
  }

  .ad-hero-fc__form {
    margin-top: 0.15rem;
  }

  .ad-hero-fc__form--bot .ad-bot--hero .ad-bot__log {
    min-height: 240px;
    max-height: min(42vh, 340px);
  }

  .ad-features__grid,
  .ad-success__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }

  .ad-feature {
    padding: 3.35rem 2.2rem;
  }

  /* col-md-6 image + col-md-5 text (and reverse) */
  .ad-media-row {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.95fr);
    gap: 2.5rem 3rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  /* Image left, copy right (default) */
  .ad-media-row:not(.ad-media-row--flip) .ad-media-row__visual {
    order: 1;
  }

  .ad-media-row:not(.ad-media-row--flip) .ad-media-row__copy {
    order: 2;
  }

  /* Copy left, image right */
  .ad-media-row--flip .ad-media-row__copy {
    order: 1;
  }

  .ad-media-row--flip .ad-media-row__visual {
    order: 2;
  }

  .ad-form__row {
    grid-template-columns: 1fr 1fr;
  }

  .ad-form__row--3 {
    grid-template-columns: 1.4fr 0.6fr 0.8fr;
  }

  .ad-connect-card {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .ad-quote-fallback__actions {
    grid-template-columns: 1fr 1fr;
    max-width: 28rem;
  }

  .ad-quote-fallback__actions .ad-btn {
    width: 100%;
  }
}

@media (min-width: 992px) {
  .ad-hero-fc {
    padding: 90px 0;
  }

  .ad-header__inner {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  body.ad-page {
    --ad-sticky-cta-h: 0px;
  }

  .ad-sticky-cta {
    display: none;
  }
}

/* First Connect mobile: ~70px hero padding */
@media (max-width: 767px) {
  .ad-hero-fc {
    padding: 70px 0;
    min-height: min(70vh, 560px);
  }

  /* Slightly stronger wash on small screens for readability, photo still visible */
  .ad-hero-fc__shade {
    background:
      linear-gradient(
        180deg,
        rgba(232, 250, 240, 0.42) 0%,
        rgba(232, 250, 240, 0.28) 45%,
        rgba(232, 250, 240, 0.48) 100%
      );
  }

  .ad-hero-fc__copy {
    background: rgba(255, 255, 255, 0.48);
  }

  .ad-hero-fc__form .ad-sr-form {
    background: rgba(232, 250, 240, 0.58);
  }

  .ad-hero-fc__form--bot .ad-bot--hero {
    min-height: 0;
  }

  .ad-bot--hero .ad-bot__log {
    min-height: 180px;
    max-height: min(36vh, 260px);
  }

  .ad-hero-fc__title {
    max-width: none;
    font-size: clamp(1.6rem, 7vw, 1.95rem);
  }

  .ad-hero-fc__checks li {
    font-size: 1rem;
  }

  .ad-sr-form {
    padding: 1.25rem;
  }

  .ad-sr-form--lg {
    padding: 1.25rem;
  }

  .ad-section {
    padding: 2.25rem 0;
  }
}
