/* =========================================================
   FreshFlow Dryer Vent Cleaning — Sioux Falls, SD
   Brand: Navy + Red, light-blue accents
   ========================================================= */

:root {
  --navy: #0a2a4f;
  --navy-deep: #06203d;
  --navy-light: #123e6e;
  --red: #d12027;
  --red-dark: #ad1820;
  --blue: #2e7dd1;
  --blue-soft: #eaf3fc;
  --green: #1f9d57;
  --ink: #1b2733;
  --muted: #5a6b7b;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --gold: #f5b301;
  --shadow-sm: 0 2px 8px rgba(10, 42, 79, .08);
  --shadow-md: 0 10px 30px rgba(10, 42, 79, .12);
  --shadow-lg: 0 24px 60px rgba(10, 42, 79, .18);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

h1, h2, h3, h4 { line-height: 1.15; color: var(--navy); margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.section { padding: 78px 0; }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--navy); color: #dbe6f2; }
.section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .6rem;
}
.section--navy .eyebrow { color: var(--gold); }

.lead { font-size: 1.12rem; color: var(--muted); }
.section--navy .lead { color: #b9cbe0; }

.center { text-align: center; }
.center .lead { max-width: 680px; margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(209,32,39,.32); }
.btn--primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(209,32,39,.4); }
.btn--ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-deep); transform: translateY(-2px); }
.btn--lg { padding: 17px 34px; font-size: 1.08rem; }
.btn--block { width: 100%; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--navy-deep);
  color: #cfe0f1;
  font-size: .86rem;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 7px; }
.topbar a { color: #fff; font-weight: 600; }
.topbar__left { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 6px; }
.topbar__right { display: inline-flex; gap: 14px; align-items: center; }
.stars { color: var(--gold); letter-spacing: 1px; }

/* ---------- Header / Nav ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.header.scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; padding-block: 10px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 54px; width: auto; }
.brand__name { display: none; }

.nav__links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: var(--navy); font-weight: 600; font-size: .97rem; position: relative; padding: 6px 0; }
.nav__links a:hover { color: var(--red); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--red); transition: width .2s ease;
}
.nav__links a:hover::after { width: 100%; }

.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__phone { font-weight: 800; color: var(--navy); font-size: 1.05rem; white-space: nowrap; }
.nav__phone span { display: block; font-size: .68rem; font-weight: 600; color: var(--muted); letter-spacing: .05em; }

.hamburger {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
  flex-direction: column; gap: 5px;
}
.hamburger span { width: 26px; height: 3px; background: var(--navy); border-radius: 3px; transition: .25s; }
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(115deg, rgba(6,32,61,.94) 0%, rgba(6,32,61,.72) 42%, rgba(6,32,61,.12) 100%),
    url("FRESH%20FLOW%20REVISED%20PICTURE%20FOR%20THE%20WEBSITE.png");
  background-size: cover;
  background-position: center right;
  color: #fff;
}
.hero__inner { padding: 92px 0 100px; max-width: 640px; }
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--gold); }
.hero p { color: #e4eefb; font-size: 1.16rem; max-width: 540px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.25);
  color: #fff; font-weight: 600; font-size: .85rem; padding: 7px 14px; border-radius: 999px;
}
.pill svg { color: var(--gold); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero__trust { margin-top: 26px; display: flex; align-items: center; gap: 14px; font-size: .92rem; color: #cfe0f1; }
.hero__trust strong { color: #fff; }

/* ---------- Trust strip ---------- */
.trustbar { background: #fff; border-bottom: 1px solid var(--line); }
.trustbar .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding-block: 26px; }
.trustbar__item { display: flex; align-items: center; gap: 12px; }
.trustbar__icon {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; background: var(--blue-soft); color: var(--blue);
}
.trustbar__item b { display: block; color: var(--navy); font-size: 1.02rem; }
.trustbar__item span { font-size: .85rem; color: var(--muted); }

/* ---------- Offer banner ---------- */
.offer {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff;
}
.offer .container { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 30px 20px; flex-wrap: wrap; }
.offer__text h3 { color: #fff; margin-bottom: 4px; font-size: 1.5rem; }
.offer__text p { margin: 0; color: #ffe3e4; }
.offer__price { text-align: center; }
.offer__price .was { text-decoration: line-through; opacity: .7; font-size: 1.1rem; }
.offer__price .now { font-size: 2.6rem; font-weight: 900; line-height: 1; }
.offer__price .save { display: inline-block; background: var(--gold); color: var(--navy-deep); font-weight: 800; font-size: .8rem; padding: 3px 10px; border-radius: 999px; margin-top: 6px; }
.offer .btn--ghost { border-color: #fff; }

/* ---------- Services ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #cfdcea; }
.card__icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--navy); color: #fff; margin-bottom: 18px;
}
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); margin: 0; font-size: .96rem; }
.card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; color: var(--red); }
.card__link:hover { gap: 10px; }

/* ---------- Pricing tiers ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tier {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.tier:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.tier__top { padding: 22px; text-align: center; color: #fff; }
.tier--ground .tier__top { background: linear-gradient(135deg, var(--red), var(--red-dark)); }
.tier--second .tier__top { background: linear-gradient(135deg, var(--blue), #1b5fa8); }
.tier--roof .tier__top { background: linear-gradient(135deg, #25b06a, #178049); }
.tier__top .price { font-size: 2.8rem; font-weight: 900; line-height: 1; }
.tier__top .label { font-weight: 700; font-size: 1.05rem; margin-top: 6px; }
.tier__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.tier__body ul { list-style: none; margin: 0 0 20px; padding: 0; flex: 1; }
.tier__body li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; font-size: .95rem; color: var(--ink); }
.tier__body li svg { color: var(--green); flex: 0 0 auto; margin-top: 3px; }
.tier__note { font-size: .82rem; color: var(--muted); text-align: center; margin-top: 12px; }

/* ---------- Why / fire safety ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; }
.about-photo { aspect-ratio: 1 / 1; object-fit: cover; }
.photo-caption { text-align: center; color: var(--muted); font-size: .9rem; font-style: italic; margin-top: 12px; }
.checklist { list-style: none; margin: 22px 0 0; padding: 0; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.checklist .ck {
  flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%;
  background: var(--red); color: #fff; display: grid; place-items: center; margin-top: 2px;
}
.checklist b { color: var(--navy); }
.checklist p { margin: 2px 0 0; color: var(--muted); font-size: .95rem; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat__num { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 900; color: var(--gold); line-height: 1; }
.stat__label { color: #cfe0f1; font-weight: 600; margin-top: 8px; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step__num {
  width: 50px; height: 50px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-weight: 900; font-size: 1.3rem; margin-bottom: 16px;
}
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Reviews ---------- */
.review {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.review__stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 12px; }
.review p { font-style: italic; color: var(--ink); flex: 1; }
.review__who { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.review__avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-weight: 800;
}
.review__who b { color: var(--navy); display: block; }
.review__who span { font-size: .85rem; color: var(--muted); }

/* Google reviews bar + live widget container */
.google-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 26px; box-shadow: var(--shadow-sm); max-width: 760px; margin: 0 auto;
}
.google-bar__left { display: flex; align-items: center; gap: 14px; }
.google-bar__left b { display: block; color: var(--navy); font-size: 1.1rem; line-height: 1.2; }
.google-bar__left span { font-size: .85rem; color: var(--muted); }
.reviews-widget { margin-top: 24px; }
.reviews-widget:empty::before {
  content: "📋 Live Google reviews appear here once your Featurable Widget ID is added (featurable.com → create a free widget → copy the Widget ID → send it to me).";
  display: block; text-align: center; color: var(--muted); font-size: .92rem;
  padding: 28px; border: 2px dashed var(--line); border-radius: var(--radius);
  background: #fff; max-width: 760px; margin: 0 auto;
}

/* ---------- Service area ---------- */
.area-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.area-list span, .area-list a {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-weight: 600; font-size: .9rem; color: var(--navy);
  box-shadow: var(--shadow-sm); transition: transform .15s ease, border-color .15s ease, color .15s ease;
}
.area-list span::before, .area-list a::before { content: "📍 "; }
.area-list a:hover { color: var(--red); border-color: #cfdcea; transform: translateY(-2px); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; background: none; border: 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 4px; font-size: 1.08rem; font-weight: 700; color: var(--navy); text-align: left;
}
.faq__q .icon { flex: 0 0 auto; transition: transform .25s ease; color: var(--red); font-size: 1.4rem; }
.faq__item.open .faq__q .icon { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a p { padding: 0 4px 20px; color: var(--muted); margin: 0; }

/* ---------- Lead form / CTA ---------- */
.cta-final { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; }
.form-wrap {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 34px; color: var(--ink);
}
.form-wrap h3 { font-size: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; color: var(--ink); background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(46,125,209,.18);
}
.field textarea { resize: vertical; min-height: 90px; }
.form-note { font-size: .8rem; color: var(--muted); margin-top: 6px; }
.form-success {
  display: none; background: #e8f7ee; border: 1px solid #b7e3c8; color: #176b39;
  padding: 16px; border-radius: var(--radius-sm); font-weight: 600; margin-top: 8px;
}
.form-error {
  display: none; background: #fdeaea; border: 1px solid #f3b6b6; color: #9b1c1c;
  padding: 16px; border-radius: var(--radius-sm); font-weight: 600; margin-top: 8px;
}
.cta-final__copy ul { list-style: none; padding: 0; margin: 22px 0 0; }
.cta-final__copy li { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; color: #dbe6f2; }
.cta-final__copy li svg { color: var(--gold); flex: 0 0 auto; }
.cta-final__phone {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px;
  font-size: 1.6rem; font-weight: 900; color: #fff;
}

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: #9fb6cf; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; padding: 56px 0 40px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; letter-spacing: .02em; }
.footer a { color: #9fb6cf; }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer__brand img { height: 64px; margin-bottom: 14px; background: #fff; padding: 8px; border-radius: 12px; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .84rem; }

/* ---------- Sticky mobile call bar ---------- */
.callbar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 70;
  background: var(--navy-deep); padding: 10px 12px; gap: 10px;
  box-shadow: 0 -6px 20px rgba(0,0,0,.25);
}
.callbar .btn { flex: 1; padding: 13px; font-size: 1rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Page hero (subpages) ---------- */
.page-hero { background: linear-gradient(135deg, var(--navy), var(--navy-deep)); color: #fff; padding: 70px 0 56px; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #cfe0f1; max-width: 640px; font-size: 1.1rem; }
.breadcrumb { font-size: .85rem; color: #9fb6cf; margin-bottom: 14px; }
.breadcrumb a { color: #cfe0f1; }

/* ---------- Cost table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
table.cost { width: 100%; border-collapse: collapse; background: #fff; min-width: 520px; }
table.cost th, table.cost td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); }
table.cost th { background: var(--navy); color: #fff; font-weight: 700; }
table.cost tr:last-child td { border-bottom: 0; }
table.cost td:nth-child(2) { font-weight: 800; color: var(--red); white-space: nowrap; }
table.cost tbody tr:hover { background: var(--blue-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid--3, .grid--4, .tiers, .steps, .stats { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .trustbar .container { grid-template-columns: 1fr 1fr; gap: 22px; }

  /* Collapse nav to hamburger early so the Schedule Online button never crowds the links */
  .nav__links {
    position: fixed; inset: 64px 0 auto 0; z-index: 55; background: #fff; flex-direction: column;
    gap: 0; padding: 10px 20px 24px; box-shadow: var(--shadow-md); align-items: stretch;
    transform: translateY(calc(-100% - 90px)); transition: transform .3s ease; max-height: calc(100vh - 64px); overflow: auto;
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav__links a::after { display: none; }
  .hamburger { display: flex; }
  .nav__cta .nav__phone { display: none; }
}

@media (max-width: 760px) {
  .topbar { display: none; }
  .nav__cta .btn { display: none; }
  .callbar { display: flex; }
  body { padding-bottom: 64px; }
  .grid--3, .grid--4, .tiers, .steps, .stats { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .offer .container { flex-direction: column; text-align: center; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { justify-content: center; text-align: center; }
  .section { padding: 56px 0; }
  .hero__inner { padding: 64px 0 72px; }
}

/* ===== FreshFlow Assistant — chat support bubble ===== */
#ffcLauncher {
  position: fixed; right: 20px; bottom: 24px; z-index: 90;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: #fff; border: none; cursor: pointer;
  padding: 12px 18px 12px 14px; border-radius: 999px;
  box-shadow: 0 10px 28px rgba(10,42,79,.35); font: inherit; font-weight: 700;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
#ffcLauncher:hover { transform: translateY(-2px); background: var(--navy-deep); box-shadow: 0 14px 34px rgba(10,42,79,.45); }
#ffcLauncher .ffc-badge { font-size: .95rem; }
#ffcLauncher::after {
  content: ""; position: absolute; top: 7px; right: 9px; width: 10px; height: 10px;
  background: #28c76f; border: 2px solid var(--navy); border-radius: 50%;
}

#ffcPanel {
  position: fixed; right: 20px; bottom: 24px; z-index: 95;
  width: 372px; max-width: calc(100vw - 32px);
  height: 560px; max-height: calc(100vh - 48px);
  background: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(10,42,79,.30);
  display: none; flex-direction: column; border: 1px solid var(--line);
}
#ffcPanel.open { display: flex; animation: ffcIn .22s ease; }
@keyframes ffcIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.ffc-header { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: linear-gradient(135deg, var(--navy), var(--navy-deep)); color: #fff; }
.ffc-ava { width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: .95rem; flex: 0 0 auto; }
.ffc-head-txt { flex: 1; line-height: 1.2; }
.ffc-head-txt b { font-size: 1.02rem; }
.ffc-head-txt span { display: block; font-size: .76rem; color: #cfe0f1; margin-top: 2px; }
.ffc-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #28c76f; margin-right: 4px; }
.ffc-close { background: none; border: none; color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; opacity: .85; padding: 0 4px; }
.ffc-close:hover { opacity: 1; }

.ffc-body { flex: 1; overflow-y: auto; padding: 16px; background: var(--bg-alt); display: flex; flex-direction: column; gap: 10px; }
.ffc-msg { max-width: 82%; padding: 10px 14px; border-radius: 14px; font-size: .92rem; line-height: 1.45; white-space: pre-line; }
.ffc-bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); color: var(--ink); border-bottom-left-radius: 4px; }
.ffc-user { align-self: flex-end; background: var(--navy); color: #fff; border-bottom-right-radius: 4px; }
.ffc-actions { display: flex; flex-wrap: wrap; gap: 8px; align-self: flex-start; max-width: 92%; }
.ffc-action { display: inline-flex; align-items: center; background: var(--red); color: #fff; font-size: .82rem; font-weight: 700; padding: 8px 13px; border-radius: 999px; text-decoration: none; }
.ffc-action:hover { background: var(--red-dark); }

.ffc-typing { display: inline-flex; gap: 4px; align-items: center; }
.ffc-typing span { width: 7px; height: 7px; background: #b9c6d4; border-radius: 50%; animation: ffcBlink 1s infinite; }
.ffc-typing span:nth-child(2) { animation-delay: .2s; }
.ffc-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes ffcBlink { 0%,60%,100% { opacity: .3; } 30% { opacity: 1; } }

.ffc-quick { display: flex; gap: 8px; overflow-x: auto; padding: 10px 12px; border-top: 1px solid var(--line); background: #fff; }
.ffc-chip { flex: 0 0 auto; background: var(--blue-soft); color: var(--navy); border: 1px solid #d6e6f7; font: inherit; font-size: .82rem; font-weight: 600; padding: 7px 12px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.ffc-chip:hover { background: #dce9f9; border-color: var(--blue); }

.ffc-input-row { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: #fff; }
#ffcInput { flex: 1; border: 1px solid var(--line); border-radius: 999px; padding: 11px 16px; font: inherit; font-size: .92rem; color: var(--ink); }
#ffcInput:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(46,125,209,.16); }
.ffc-send { flex: 0 0 auto; width: 42px; border: none; border-radius: 50%; background: var(--red); color: #fff; cursor: pointer; display: grid; place-items: center; }
.ffc-send:hover { background: var(--red-dark); }

@media (max-width: 760px) {
  #ffcLauncher { bottom: 80px; right: 14px; padding: 11px 16px 11px 12px; }
  #ffcPanel { right: 10px; left: 10px; width: auto; bottom: 78px; top: 64px; height: auto; max-height: none; }
}

/* ===== Blog ===== */
.post-meta { color: var(--muted); font-size: .88rem; margin-bottom: 14px; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.2em; }
.prose img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); margin: 16px 0 24px; }
.blog-cards .card { display: flex; flex-direction: column; }
.blog-cards .card .post-meta { margin-top: auto; }
