@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800;900&family=Roboto:wght@400;500;700&display=swap');
/* =========================================================
   Microsite Base — shared styles
   Plain CSS, no build step. Edit freely.
   Brand color and font are driven by CSS variables below so
   a single change re-themes the whole site.
   ========================================================= */

:root {
  --brand:        #1e7a4f;   /* {{BRAND_COLOR}} primary brand / links / buttons */
  --brand-dark:   #1442ad;   /* darker shade for hovers */
  --ink:          #15212e;   /* body text */
  --ink-soft:     #4a5a6a;   /* secondary text */
  --line:         #e3e8ee;   /* hairlines / borders */
  --bg:           #ffffff;
  --bg-alt:       #f6f8fa;   /* alternating section background */
  --bg-dark:      #15212e;   /* footer / dark band */
  --max:          1160px;    /* content max width */
  --radius:       10px;
  --font-head: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.65;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; color: var(--ink); letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; margin-bottom: .55em; }
h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .35em; letter-spacing: -.01em; }
p  { margin-bottom: 1rem; color: var(--ink-soft); }
a  { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-family: var(--font-body);
  border: none;
  cursor: pointer;
  transition: background .15s ease;
}
.btn:hover { background: var(--brand-dark); text-decoration: none; }
.btn--ghost { background: transparent; color: var(--brand); border: 2px solid var(--brand); }
.btn--ghost:hover { background: var(--brand); color: #fff; }
.btn--lg { padding: 18px 38px; font-size: 1.05rem; }

.muted { color: var(--ink-soft); font-size: .9rem; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 12px 20px; max-width: var(--max); margin: 0 auto;
}
.nav__logo img { max-height: 46px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 22px; list-style: none; }
.nav__links a { color: var(--ink); font-weight: 500; font-size: .97rem; }
.nav__links a:hover { color: var(--brand); text-decoration: none; }

/* dropdown for services */
.has-dropdown { position: relative; }
.dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  min-width: 250px; padding: 8px 0; box-shadow: 0 12px 30px rgba(0,0,0,.08);
}
/* invisible bridge: fills the gap between the menu item and the dropdown
   so hover isn't lost when the mouse travels down into the submenu */
.has-dropdown::after {
  content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 14px; display: none;
}
.has-dropdown:hover::after { display: block; }
.has-dropdown:hover .dropdown { display: block; }
.dropdown li { list-style: none; }
.dropdown a { display: block; padding: 9px 18px; font-size: .92rem; }
.dropdown a:hover { background: var(--bg-alt); }

.nav__call {
  background: var(--brand); color: #fff !important;
  padding: 10px 18px; border-radius: var(--radius); font-weight: 600;
}
.nav__call:hover { background: var(--brand-dark); text-decoration: none; }

/* mobile nav toggle */
.nav__toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ink); }
@media (max-width: 900px) {
  .nav__links { display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 10px 20px; }
  .nav__links.open { display: flex; }
  .nav__links li { width: 100%; padding: 8px 0; }
  .dropdown { position: static; display: block; box-shadow: none; border: 0; padding: 4px 0 4px 14px; min-width: 0; }
  .nav__toggle { display: block; }
}

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,33,46,.55), rgba(21,33,46,.78)); z-index: 1; }
.hero__inner { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; padding: 90px 20px; }
.hero__eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; font-weight: 600; opacity: .9; }
.hero h1 { color: #fff; margin: 10px 0 16px; max-width: 18ch; }
.hero p { color: rgba(255,255,255,.9); font-size: 1.15rem; max-width: 46ch; }
.hero__cta { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ---------- sections ---------- */
.section { padding: 64px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-dark); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: rgba(255,255,255,.82); }
.section__lead { max-width: 65ch; }
.center { text-align: center; }
.center .section__lead { margin: 0 auto; }

/* two-column split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; gap: 28px; } }

/* feature / why-us grid */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px;
}
.section--alt .card { background: #fff; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }

/* service / area link list */
.linklist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; list-style: none; }
@media (max-width: 800px) { .linklist { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .linklist { grid-template-columns: 1fr; } }
.linklist a {
  display: block; padding: 14px 18px; border: 1px solid var(--line);
  border-radius: var(--radius); background: #fff; color: var(--ink); font-weight: 600;
}
.linklist a:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }

/* cost table */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: .96rem; }
th { background: var(--bg-alt); font-family: var(--font-body); font-weight: 700; color: var(--ink); }
tr:last-child td { border-bottom: 0; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 600; font-family: var(--font-head); font-size: 1.1rem; padding: 16px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--brand); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details > p { padding-bottom: 16px; margin-bottom: 0; }

/* CTA band */
.cta-band { background: var(--brand); color: #fff; text-align: center; padding: 56px 20px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); }
.cta-band .btn { background: #fff; color: var(--brand); }
.cta-band .btn:hover { background: #f0f3f7; }

/* ---------- estimate / contact form ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px;
  font-family: var(--font-body); font-size: 1rem;
}
.field textarea { min-height: 130px; resize: vertical; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,.8); padding: 56px 0 28px; }
.site-footer h4 { color: #fff; margin-bottom: 14px; font-family: var(--font-body); font-size: 1rem; letter-spacing: .02em; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: rgba(255,255,255,.8); font-size: .93rem; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 40px; padding-top: 20px; font-size: .85rem; color: rgba(255,255,255,.55); }
.footer-disclaimer { font-size: .82rem; color: rgba(255,255,255,.55); margin-top: 10px; line-height: 1.5; }

/* ---------- article pages (about, FAQ, team, careers, legal) ---------- */
.article { max-width: 820px; }
.article h1 { margin-bottom: 14px; }
.article h2 { margin-top: 40px; }
.article h3 { margin-top: 26px; }
.article ul, .article ol { margin: 0 0 1rem 1.3em; color: var(--ink-soft); }
.article li { margin-bottom: .45rem; }
.article__date { margin-top: -4px; }
.faq-page h2 { font-size: 1.35rem; margin-top: 34px; }
.contact-list { list-style: none; margin: 22px 0; }
.contact-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.team-grid { margin-top: 24px; }
.team-card .avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; margin-bottom: 14px; }
.team-card .role { color: var(--brand); font-weight: 600; font-size: .9rem; margin-bottom: 8px; }

/* phone link — class is a stable hook for WhatConverts dynamic number insertion */
.wc-phone { font-weight: 700; }

/* --- layout fixes --- */
@media (min-width: 901px) {
  .section__lead > .grid { width: min(1120px, calc(100vw - 40px)); max-width: none; }
  .grid--3:has(> :nth-child(4)):not(:has(> :nth-child(5))) { grid-template-columns: repeat(2, 1fr); }
}
:root { --font-head: 'Manrope', system-ui, sans-serif; --font-body: 'Roboto', system-ui, sans-serif; }
h1,h2,h3,h4,h5 { font-weight: 800; letter-spacing: -0.015em; }

/* --- AI accents --- */
:root {
  --brand-dark: #155c3b;
  --ai-1: #1e7a4f; --ai-2: #14b8a6; --ai-3: #38bdf8;
  --ai-grad: linear-gradient(120deg, var(--ai-1), var(--ai-2) 55%, var(--ai-3));
}
.ai-mark { display: inline-flex; width: 26px; height: 26px; border-radius: 8px; background: var(--ai-grad);
  color: #fff; align-items: center; justify-content: center; font-size: 14px; margin-right: 8px; vertical-align: -6px;
  box-shadow: 0 0 0 3px rgba(20,184,166,.15); }
.nav__logo strong { color: var(--ink); }
.btn:not(.btn--ghost) { background-image: var(--ai-grad); background-size: 160% 100%; background-position: 0 0;
  transition: background-position .4s ease, box-shadow .2s ease; }
.btn:not(.btn--ghost):hover { background-position: 100% 0; box-shadow: 0 8px 24px rgba(20,184,166,.35); }
.cta-band .btn { background-image: none; }
.nav__call { background-image: var(--ai-grad); }

/* hero */
.hero::after { background: radial-gradient(60% 80% at 85% 20%, rgba(20,184,166,.28), transparent 60%),
  linear-gradient(180deg, rgba(21,33,46,.6), rgba(21,33,46,.82)); }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(94,234,212,.45); backdrop-filter: blur(6px);
  font-size: .78rem; line-height: 1.4; }
.hero__eyebrow::before { content: "\2726"; color: #5eead4; animation: ai-twinkle 2.4s ease-in-out infinite; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; gap: 36px; } }

.call-card { background: rgba(15,23,32,.72); border: 1px solid rgba(94,234,212,.35); border-radius: 16px;
  padding: 20px; backdrop-filter: blur(10px); box-shadow: 0 0 0 1px rgba(255,255,255,.04), 0 24px 60px rgba(0,0,0,.35), 0 0 60px rgba(20,184,166,.18);
  font-size: .93rem; }
.call-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.call-card__live { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #fff; }
.call-card__live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #34d399;
  box-shadow: 0 0 0 0 rgba(52,211,153,.7); animation: ai-pulse 1.8s infinite; }
.call-card__tag { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.55); }
.wave { display: flex; align-items: center; gap: 3px; height: 34px; margin-bottom: 14px; }
.wave span { flex: 1; border-radius: 2px; background: var(--ai-grad); height: 20%; animation: ai-wave 1.2s ease-in-out infinite; }
.wave span:nth-child(3n) { animation-delay: -.3s; } .wave span:nth-child(3n+1) { animation-delay: -.7s; }
.wave span:nth-child(4n) { animation-delay: -.5s; } .wave span:nth-child(5n) { animation-delay: -.9s; }
.bubble { padding: 10px 14px; border-radius: 12px; margin-bottom: 8px; max-width: 88%; line-height: 1.45; color: #fff;
  opacity: 0; animation: ai-in .5s ease forwards; }
.bubble--them { background: rgba(255,255,255,.1); border-bottom-left-radius: 4px; }
.bubble--ai { background: linear-gradient(120deg, rgba(30,122,79,.85), rgba(20,184,166,.8)); margin-left: auto; border-bottom-right-radius: 4px; }
.bubble small { display: block; font-size: .7rem; opacity: .7; margin-bottom: 2px; }
.bubble:nth-child(1) { animation-delay: .4s; } .bubble:nth-child(2) { animation-delay: 1.4s; }
.bubble:nth-child(3) { animation-delay: 2.4s; } .bubble:nth-child(4) { animation-delay: 3.4s; }
.booked { margin-top: 12px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px;
  background: rgba(52,211,153,.12); border: 1px solid rgba(52,211,153,.4); color: #d1fae5; font-weight: 600;
  opacity: 0; animation: ai-in .5s ease 4.4s forwards; }
.booked::before { content: "\2713"; display: inline-flex; width: 22px; height: 22px; border-radius: 50%;
  background: #34d399; color: #064e3b; align-items: center; justify-content: center; font-size: .8rem; }

/* cards */
.card { position: relative; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-3px); border-color: rgba(20,184,166,.5); box-shadow: 0 14px 34px rgba(20,184,166,.14); }
.ai-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--ai-grad); color: #fff; display: flex;
  align-items: center; justify-content: center; margin-bottom: 16px; box-shadow: 0 6px 18px rgba(20,184,166,.3); }
.ai-icon svg { width: 22px; height: 22px; }

/* dark bands */
.section--dark, .site-footer { background: radial-gradient(50% 60% at 90% 0%, rgba(20,184,166,.16), transparent 70%), var(--bg-dark); }
.cta-band { background: radial-gradient(60% 90% at 100% 0%, rgba(56,189,248,.35), transparent 60%), var(--ai-grad); }

@keyframes ai-wave { 0%,100% { height: 18%; } 50% { height: 100%; } }
@keyframes ai-pulse { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.7); } 70% { box-shadow: 0 0 0 10px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
@keyframes ai-twinkle { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.8); } }
@keyframes ai-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .wave span, .hero__eyebrow::before, .call-card__live::before { animation: none; height: 60%; }
  .bubble, .booked { animation: none; opacity: 1; }
}
.hero__eyebrow { border-radius: 14px; letter-spacing: .06em; }
@media (max-width: 600px) { .hero__eyebrow { font-size: .7rem; } }

/* --- AI agent mascot --- */
.call-card { position: relative; margin-top: 110px; }
.mascot { position: absolute; width: 132px; right: 22px; top: -132px; pointer-events: none;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.35)); }
.mascot svg { width: 100%; height: auto; display: block; overflow: visible; }
.mascot__bot { transform-box: fill-box; transform-origin: 50% 100%;
  animation: bot-bob 3s ease-in-out infinite, bot-hop .7s ease 4.4s 2; }
.mascot__eyes { transform-box: fill-box; transform-origin: center; animation: bot-blink 4s infinite; }
.mascot__mouth { transform-box: fill-box; transform-origin: center; animation: bot-talk 5s ease forwards; }
.mascot__arm { transform-box: fill-box; transform-origin: 50% 100%; animation: bot-wave 2.4s ease-in-out infinite; }
.mascot__chest { animation: bot-glow 1.6s ease-in-out infinite; }
.mascot__spark { transform-box: fill-box; transform-origin: center; animation: ai-twinkle 2s ease-in-out infinite; }
.mascot__spark--2 { animation-delay: -1s; }
@keyframes bot-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes bot-hop { 0%,100% { transform: translateY(0) scale(1); } 30% { transform: translateY(2px) scale(1.04,.94); } 60% { transform: translateY(-16px) scale(.97,1.04); } }
@keyframes bot-blink { 0%,92%,100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes bot-wave { 0%,60%,100% { transform: rotate(0); } 70% { transform: rotate(-22deg); } 80% { transform: rotate(14deg); } 90% { transform: rotate(-18deg); } }
@keyframes bot-glow { 0%,100% { fill: #14b8a6; } 50% { fill: #5eead4; } }
@keyframes bot-talk {
  0%,27% { transform: scaleY(1); }
  30%,36%,42% { transform: scaleY(.3); } 33%,39%,45% { transform: scaleY(1.5); } 48% { transform: scaleY(1); }
  67% { transform: scaleY(1); }
  70%,76%,82% { transform: scaleY(.3); } 73%,79%,85% { transform: scaleY(1.5); } 88%,100% { transform: scaleY(1); } }
@media (max-width: 600px) { .mascot { width: 104px; top: -104px; right: 14px; } .call-card { margin-top: 90px; } }
@media (prefers-reduced-motion: reduce) { .mascot *, .mascot__bot { animation: none !important; } }
/* 3D mascot */
.mascot { width: 180px; height: 180px; top: -160px; right: 6px; filter: drop-shadow(0 14px 22px rgba(0,0,0,.4)); }
.mascot canvas { display: block; }
.mascot.is-3d svg { display: none; }
.mascot:not(.is-3d) svg { width: 132px; margin: 48px 0 0 24px; }
.call-card { margin-top: 130px; }
@media (max-width: 600px) { .mascot { width: 140px; height: 140px; top: -124px; right: 0; } .call-card { margin-top: 104px; } }
.mascot { width: 210px; height: 210px; top: -186px; right: 0; }
/* mascot docks bottom-right once the hero card scrolls away */
.mascot.is-docked { position: fixed; top: auto; bottom: 10px; right: 10px; width: 130px; height: 130px; z-index: 60;
  pointer-events: auto; animation: dock-in .5s cubic-bezier(.2,1.4,.4,1); }
.mascot__tip { display: none; position: absolute; right: 108px; bottom: 74px; white-space: nowrap;
  background: #fff; color: var(--ink); font: 600 .85rem/1 var(--font-body); padding: 10px 14px; border-radius: 14px 14px 4px 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,.18); border: 1px solid rgba(20,184,166,.4); }
.mascot__tip:hover { text-decoration: none; color: var(--brand); }
.mascot.is-docked .mascot__tip { display: block; animation: ai-in .4s ease .3s both; }
@keyframes dock-in { from { transform: translateY(80px) scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 600px) { .mascot.is-docked { width: 104px; height: 104px; } .mascot__tip { right: 86px; bottom: 58px; font-size: .78rem; } }

/* --- hero chat, one line at a time (chat.js) --- */
.chat { display: flex; flex-direction: column; transition: opacity .45s ease; }
.chat.is-fading { opacity: 0; }
.js-chat .bubble, .js-chat .booked { animation: none; opacity: 1; }
.js-chat .bubble.is-in, .js-chat .booked.is-in { animation: ai-in .35s ease both; }
.js-chat .bubble--ai { align-self: flex-end; }
.js-chat .bubble--them { align-self: flex-start; }
.typing { display: inline-flex; gap: 4px; padding: 4px 2px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.75); animation: dot 1s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%,60%,100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-4px); opacity: 1; } }
.js-chat .wave span { animation-play-state: paused; }
.js-chat.is-live .wave span { animation-play-state: running; }
.js-chat .booked.is-in { animation: booked-pop .5s cubic-bezier(.2,1.5,.4,1) both; }
@keyframes booked-pop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }

/* --- missed-call calculator (calc.js) --- */
.section--calc { background: radial-gradient(60% 70% at 100% 0%, rgba(20,184,166,.10), transparent 60%), var(--bg-alt); }
.mc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: stretch; }
@media (max-width: 860px) { .mc { grid-template-columns: 1fr; } }
.mc__q { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: grid; gap: 26px; }
.mc__top { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-bottom: 12px; }
.mc__top label { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.mc__top output { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; white-space: nowrap;
  background: var(--ai-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mc__hint { font-size: .88rem; margin: 8px 0 0; }
.mc input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 999px; cursor: pointer;
  background: linear-gradient(90deg, var(--ai-1), var(--ai-2)) 0/var(--p, 50%) 100% no-repeat, #e3e8ee; }
.mc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%;
  background: #fff; border: 3px solid var(--ai-2); box-shadow: 0 4px 12px rgba(20,184,166,.35); }
.mc input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--ai-2); }
.mc__a { border-radius: 16px; padding: 30px; color: #fff; display: flex; flex-direction: column; justify-content: center;
  background: radial-gradient(70% 80% at 100% 0%, rgba(20,184,166,.35), transparent 60%), var(--bg-dark);
  box-shadow: 0 20px 50px rgba(21,33,46,.25); }
.mc__lead { color: rgba(255,255,255,.8); margin: 0 0 6px; font-weight: 500; }
.mc__big { margin: 0 0 10px; line-height: 1; }
.mc__big span { font-family: var(--font-head); font-weight: 900; font-size: clamp(2.4rem, 6vw, 3.4rem); letter-spacing: -.03em;
  background: linear-gradient(90deg, #fff, #99f6e4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mc__big small { display: block; margin-top: 6px; color: rgba(255,255,255,.7); font-size: 1rem; }
.mc__sub { color: rgba(255,255,255,.88); font-size: 1.05rem; }
.mc__sub b { color: #5eead4; }
.mc__how { margin: 6px 0 20px; font-size: .9rem; }
.mc__how summary { cursor: pointer; color: #5eead4; font-weight: 600; }
.mc__how ol { margin: 10px 0 8px 1.2em; color: rgba(255,255,255,.85); }
.mc__how li { margin-bottom: 4px; }
.mc__how p { color: rgba(255,255,255,.65); font-size: .85rem; margin: 0; }
.mc__cta { align-self: flex-start; }
