/* ============ Kovalu — site styles ============ */
:root {
  --bg: #faf7f1;
  --bg-soft: #f2ede3;
  --bg-deep: #f4efe2;
  --panel: #ffffff;
  --gold: #c97e00;
  --gold-light: #a86400;
  --gold-pale: #8a5a00;
  --cream: #1b1a17;
  --cream-dim: #403b33;
  --muted: #6f675b;
  --line: rgba(27, 26, 23, 0.12);
  --surface: rgba(27, 26, 23, 0.045);
  --surface-2: rgba(27, 26, 23, 0.03);
  --track: rgba(27, 26, 23, 0.1);
  --nav-bg: rgba(250, 247, 241, 0.85);
  --mobile-nav-bg: rgba(250, 247, 241, 0.98);
  --hero-glow: rgba(216, 131, 0, 0.07);
  --gold-grad: linear-gradient(135deg, #9a5b00, #a86400); /* white text on it stays above 4.5:1 */
  --on-gold: #fff;
  --radius: 16px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}
[data-theme="dark"] {
  --bg: #0d0d0d;
  --bg-soft: #121312;
  --bg-deep: #0d1a14;
  --panel: #161716;
  --gold: #d88300;
  --gold-light: #f5a623;
  --gold-pale: #fff4d8;
  --cream: #f8f7f4;
  --cream-dim: #ded8ce;
  --muted: #b0a99a;
  --line: rgba(255, 255, 255, 0.09);
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.02);
  --track: rgba(255, 255, 255, 0.08);
  --nav-bg: rgba(13, 13, 13, 0.75);
  --mobile-nav-bg: rgba(13, 13, 13, 0.97);
  --gold-grad: linear-gradient(135deg, var(--gold-light), var(--gold));
  --on-gold: #1b1a17;
  --hero-glow: rgba(13, 26, 20, 0.9);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.gold { color: var(--gold-light); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

section { padding: 96px 0; }

/* ---------- Type ---------- */
.section-kicker {
  font-size: 13px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold-light); margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3.1rem); line-height: 1.15; margin-bottom: 16px;
}
.section-sub { color: var(--muted); font-size: 1.05rem; max-width: 640px; }
.section-sub.center { margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold-grad); color: var(--on-gold); box-shadow: 0 8px 28px rgba(216, 131, 0, .35); }
.btn-gold:hover { box-shadow: 0 12px 34px rgba(216, 131, 0, .5); }
.btn-ghost { border-color: var(--line); color: var(--cream); background: var(--surface); }
.btn-ghost:hover { border-color: var(--gold); background: #fff; color: #1b1a17; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(14px); background: var(--nav-bg);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { color: var(--gold-light); font-size: 1.5rem; line-height: 1; }
.brand-name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.brand-name em { font-style: italic; color: var(--gold-light); }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 0.92rem; font-weight: 500; }
.nav-links a:not(.btn) { color: var(--muted); transition: color .2s; }
.nav-links a:not(.btn):hover { color: var(--cream); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--cream); border-radius: 2px; }

@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(245,166,35,.6);} 50% { box-shadow: 0 0 0 8px rgba(245,166,35,0);} }
/* Button row (also used in sub-page CTA bands) */
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 90px; }

@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Partners ---------- */
.partners { padding: 72px 0; }
.logo-strip { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.logo-badge {
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 22px;
  font-weight: 600; color: var(--muted); background: var(--surface-2);
  transition: border-color .2s, color .2s;
}
.logo-badge:hover { border-color: var(--gold); color: var(--cream); }

/* ---------- Services ---------- */
.services { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 50%, var(--bg) 100%); }

/* ---------- Process ---------- */
.process { background: var(--bg-soft); }

/* ---------- FAQ ---------- */
.faq-inner { max-width: 820px; }
.faq-list { margin-top: 44px; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 20px 24px; font-weight: 600; font-size: 1.02rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--gold-light); font-size: 1.5rem; font-weight: 400; flex-shrink: 0; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 24px 22px; color: var(--muted); font-size: 0.95rem; }

/* ---------- Contact ---------- */
.contact { background: radial-gradient(900px 500px at 50% 0%, rgba(216,131,0,.1), transparent 60%), var(--bg-soft); }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; margin-top: 52px; align-items: start; }
.contact-form { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--cream-dim); margin-bottom: 16px; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; margin-top: 8px; padding: 13px 16px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface);
  color: var(--cream); font-family: var(--font-body); font-size: 0.95rem;
  transition: border-color .2s;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: none; border-color: var(--gold); }
.contact-form select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c97e00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
.contact-form select option { background: var(--panel); color: var(--cream); }
.contact-form textarea { resize: vertical; }
.form-note { margin-top: 14px; font-size: 0.9rem; color: var(--gold-light); min-height: 1.4em; }
.contact-info { background: rgba(216,131,0,.06); border: 1px solid rgba(216,131,0,.3); border-radius: var(--radius); padding: 36px 30px; }
.contact-info h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; margin-bottom: 20px; }
.info-row { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); font-size: 0.95rem; transition: color .2s; }
.info-row:hover { color: var(--gold-light); }
.info-note { margin-top: 20px; color: var(--muted); font-size: 0.88rem; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 48px 0; background: var(--bg); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-tag { color: var(--muted); font-size: 0.85rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.88rem; color: var(--muted); }
.footer-links a:hover { color: var(--cream); }
.footer-copy { color: var(--muted); font-size: 0.82rem; width: 100%; margin-top: 8px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  section { padding: 72px 0; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--mobile-nav-bg); border-bottom: 1px solid var(--line); padding: 12px 24px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-top: 1px solid var(--line); }
  .nav-links a.btn { margin-top: 12px; }
  .nav-toggle { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-brand { flex-direction: column; gap: 8px; }
  .footer-links { justify-content: center; }
}

/* ---------- Sub-pages ---------- */
.page-hero { padding: 168px 0 64px; background: radial-gradient(900px 420px at 70% -10%, rgba(216,131,0,.12), transparent 60%), var(--bg); }
.page-hero .section-title { margin-bottom: 14px; }
.breadcrumb { font-size: 0.82rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--gold-light); }
.breadcrumb a:hover { text-decoration: underline; }
.prose { max-width: 800px; }
.prose h2 { font-family: var(--font-display); font-weight: 500; font-size: 1.7rem; margin: 44px 0 14px; }
.prose h3 { font-size: 1.15rem; margin: 28px 0 10px; }
.prose p, .prose li { color: var(--muted); }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 18px 22px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--cream); }
.two-col { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.mini-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; transition: transform .25s, border-color .25s; }
.mini-card:hover { transform: translateY(-4px); border-color: rgba(216,131,0,.5); }
.mini-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.mini-card h3 a:hover { color: var(--gold-light); }
.mini-card p { color: var(--muted); font-size: 0.9rem; }
.mini-card .mini-tag { font-size: 0.72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 8px; }
.check-list { list-style: none; margin: 0 0 18px; }
.check-list li { position: relative; padding: 8px 0 8px 30px; color: var(--cream-dim); font-size: 0.95rem; border-top: 1px solid var(--line); }
.check-list li::before { content: "✓"; position: absolute; left: 2px; color: var(--gold-light); font-weight: 700; }
.cta-band { background: rgba(216,131,0,.06); border: 1px solid rgba(216,131,0,.3); border-radius: var(--radius); padding: 52px 40px; text-align: center; margin-top: 72px; }
.cta-band h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin-bottom: 12px; }
.cta-band p { color: var(--muted); margin-bottom: 26px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin: 36px 0 30px; }
.filter-btn { border: 1px solid var(--line); background: var(--surface); color: var(--muted); padding: 9px 20px; border-radius: 999px; font-size: 0.86rem; font-weight: 600; cursor: pointer; transition: all .2s; font-family: var(--font-body); }
.filter-btn:hover { border-color: var(--gold); color: var(--cream); }
.filter-btn.active { background: var(--gold-grad); color: var(--on-gold); border-color: transparent; }
.case-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 36px 0; }
.case-meta div { border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; background: var(--surface-2); }
.case-meta dt { font-size: 0.75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 6px; }
.case-meta dd { color: var(--cream-dim); font-size: 0.95rem; }
.toc-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: sticky; top: 96px; }
.toc-card h3 { font-size: 0.95rem; margin-bottom: 14px; }
.toc-card ul { list-style: none; }
.toc-card li { margin-bottom: 8px; }
.toc-card a { color: var(--muted); font-size: 0.9rem; }
.toc-card a:hover { color: var(--gold-light); }
@media (max-width: 920px) {
  .mini-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .toc-card { position: static; }
  .case-meta { grid-template-columns: 1fr; }
}

/* ---------- Theme toggle ---------- */
.nav-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface);
  color: var(--cream); cursor: pointer; transition: border-color .2s, transform .2s;
  flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--gold); transform: translateY(-1px); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ---------- Light theme adjustments ---------- */
[data-theme="light"] .btn-gold,
:root:not([data-theme]) .btn-gold { box-shadow: 0 8px 22px rgba(201,126,0,.28); }
[data-theme="light"] .nav,
:root:not([data-theme]) .nav { box-shadow: 0 1px 0 var(--line); }

/* ---------- AI Automation Agency (featured service) ---------- */
.nav-links a.nav-hot:not(.btn) { color: var(--gold-light); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.nav-links a.nav-hot:not(.btn):hover { color: var(--gold-pale); }
.nav-hot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-light); animation: pulse 2s infinite; flex-shrink: 0; }

.ladder {
  background: var(--panel); border: 1px solid rgba(216,131,0,.35); border-radius: var(--radius);
  padding: 28px 30px; box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.ladder-head { font-size: 0.78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 6px; }
.ladder-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); transition: color .2s; }
.ladder-row:hover strong { color: var(--gold-light); }
.ladder-row strong { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 1rem; transition: color .2s; }
.ladder-row span { display: block; color: var(--muted); font-size: 0.86rem; }
.ladder-row .ladder-flag { display: inline; font-size: 0.66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--on-gold); background: var(--gold-grad); padding: 2px 8px; border-radius: 999px; }
.ladder-price { font-family: var(--font-display); font-size: 1.3rem; color: var(--gold-pale); text-align: right; white-space: nowrap; line-height: 1.25; }
.ladder-price small { display: block; font-family: var(--font-body); font-size: 0.74rem; color: var(--muted); }

/* services page: featured band */
.aaa-feature {
  display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; margin-top: 40px;
  background: rgba(216,131,0,.06); border: 1px solid rgba(216,131,0,.35); border-radius: var(--radius);
  padding: 30px 34px; transition: border-color .25s, transform .25s;
}
.aaa-feature:hover { border-color: var(--gold); transform: translateY(-3px); }
.aaa-feature .section-kicker { margin-bottom: 8px; }
.aaa-feature h2 { font-family: var(--font-display); font-weight: 500; font-size: 1.7rem; margin-bottom: 6px; }
.aaa-feature p:not(.section-kicker) { color: var(--muted); font-size: 0.95rem; max-width: 620px; }

/* landing page */
.audit-band {
  display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center; margin-top: 52px;
  background: var(--panel); border: 1px dashed rgba(216,131,0,.55); border-radius: var(--radius); padding: 30px 34px;
}
.audit-band h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; margin-bottom: 8px; }
.audit-desc { color: var(--muted); font-size: 0.94rem; }
.audit-price { text-align: right; }
.audit-price .price-amount { margin: 0; }
.audit-price .price-extra { margin-bottom: 14px; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; align-items: stretch; }
.price-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; transition: transform .25s, border-color .25s, box-shadow .25s;
}
.price-card:hover { transform: translateY(-6px); border-color: rgba(216,131,0,.5); }
.price-card.featured { border-color: rgba(216,131,0,.65); box-shadow: 0 24px 60px rgba(216,131,0,.14); }
.price-flag {
  position: absolute; top: -12px; left: 30px; font-size: 0.7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--on-gold); background: var(--gold-grad); padding: 5px 12px; border-radius: 999px;
}
.price-name { font-size: 0.78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 6px; }
.price-card h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; margin-bottom: 14px; }
.price-amount { font-family: var(--font-display); font-size: 2.5rem; line-height: 1.1; margin: 4px 0 6px; }
.price-amount small { font-family: var(--font-body); font-size: 0.9rem; color: var(--muted); font-weight: 500; }
.price-extra { color: var(--muted); font-size: 0.86rem; }
.price-card .check-list { flex: 1; margin: 22px 0 26px; }
.price-note { color: var(--muted); font-size: 0.86rem; margin-top: 22px; }
.compare-wrap { margin-top: 44px; border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; background: var(--panel); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.93rem; }
.compare th, .compare td { padding: 16px 20px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.compare thead th { border-top: 0; font-size: 0.75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.compare tbody th { font-weight: 600; color: var(--cream-dim); width: 22%; }
.compare td { color: var(--muted); }
.compare .is-us { background: rgba(216,131,0,.07); color: var(--cream); font-weight: 500; }
.compare thead .is-us { color: var(--gold-light); }
/* Mobile: drop the DIY column so Hire vs Kovalu fits without sideways scroll */
@media (max-width: 720px) {
  .compare { min-width: 0; font-size: 0.86rem; }
  .compare th, .compare td { padding: 14px 12px; }
  .compare thead th { letter-spacing: .08em; }
  .compare tbody th { width: 32%; }
  .compare tr > :nth-child(3) { display: none; }
}
@media (max-width: 920px) {
  .price-grid { grid-template-columns: 1fr; gap: 28px; }
  .audit-band, .aaa-feature { grid-template-columns: 1fr; }
  .audit-price { text-align: left; }
}
[data-theme="light"] .ladder,
:root:not([data-theme]) .ladder { box-shadow: 0 20px 44px rgba(60,45,20,.12); }
[data-theme="light"] .price-card.featured,
:root:not([data-theme]) .price-card.featured { box-shadow: 0 18px 40px rgba(201,126,0,.14); }

/* ---------- Language switch (aaa page) ---------- */
.lang-switch { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 0.74rem; font-weight: 700; letter-spacing: .06em; }
.lang-switch a { padding: 5px 10px; border-radius: 999px; color: var(--muted); transition: color .2s, background .2s; }
.lang-switch a:hover { color: var(--cream); }
.lang-switch a.active { background: var(--gold-grad); color: var(--on-gold); }

/* ---------- Floating Kovi: "Contact us" bottom-right (added to every page by main.js) ---------- */
.kovi-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: flex; align-items: center; gap: 8px;
  animation: koviFabIn .6s cubic-bezier(.2, .9, .3, 1.3) .8s backwards;
  transition: opacity .3s, transform .3s, visibility 0s;
}
.kovi-fab.is-away { opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .3s, transform .3s, visibility 0s .3s; }
/* Speech bubble that pops out of Kovi only while the visitor scrolls up (.is-talking, main.js) */
.kovi-fab-label {
  position: relative; padding: 10px 16px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--line); color: var(--cream);
  font-size: 0.88rem; font-weight: 600; white-space: nowrap;
  box-shadow: 0 10px 28px rgba(0,0,0,.14);
  opacity: 0; transform: translateX(18px) scale(.8); transform-origin: right center; pointer-events: none;
  transition: opacity .25s, transform .45s cubic-bezier(.2, .9, .3, 1.4), border-color .2s, color .2s;
}
/* Bubble tail pointing at Kovi */
.kovi-fab-label::after {
  content: ""; position: absolute; right: -5px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px;
  background: inherit; border: inherit; border-width: 1px 1px 0 0; transform: rotate(45deg);
}
.kovi-fab.is-talking .kovi-fab-label, .kovi-fab:focus-visible .kovi-fab-label { opacity: 1; transform: none; pointer-events: auto; }
.kovi-fab:hover .kovi-fab-label, .kovi-fab:focus-visible .kovi-fab-label { border-color: var(--gold); color: var(--gold-light); }
.kovi-fab-bot { display: block; border-radius: 50%; }
.kovi-fab-bot img {
  display: block; width: 72px; height: 72px;
  filter: drop-shadow(0 8px 12px rgba(216,131,0,.3));
  transition: transform .3s cubic-bezier(.2, .9, .3, 1.4);
}
.kovi-fab:hover .kovi-fab-bot img, .kovi-fab:focus-visible .kovi-fab-bot img { transform: translateY(-4px) rotate(-8deg) scale(1.08); }
.kovi-fab:focus-visible { outline: none; }
.kovi-fab:focus-visible .kovi-fab-bot { outline: 2px solid var(--gold-light); outline-offset: 2px; }
@keyframes koviFabIn { from { opacity: 0; transform: translateY(24px) scale(.8); } }
@media (max-width: 560px) {
  .kovi-fab { right: 12px; bottom: 12px; gap: 6px; }
  .kovi-fab-label { padding: 8px 13px; font-size: 0.8rem; }
  .kovi-fab-bot img { width: 62px; height: 62px; }
}
@media (prefers-reduced-motion: reduce) {
  .kovi-fab { animation: none; }
}
