/* ==========================================================================
   nuvio.ro/business/receptie-ai — the Recepție AI page (and /en/business/ai-reception).
   Loaded after nuvio.css and business.css, whose tokens, drawings (.bz-svg,
   .bz-pop, .bz-draw) and motion it reuses. Only what the page adds lives here.
   ========================================================================== */

/* No labels beside or above a heading (owner rule, 2026-10-29): this page has
   no margin column. Each entry is one column, divided from the next by the
   rule along its top and the alternating paper; on wide screens the heading
   and its lead hold the left side and the content sits beside them. */
.ra .entry {
  grid-template-columns: minmax(0, 1fr);
}
.ra .entry::after {
  display: none;
}
.ra .entry__body {
  grid-column: 1;
  border-left: 0;
  padding: 44px 0 72px;
}
.ra .hero .entry__body {
  padding-top: 40px;
}
.ra .entry--split .entry__body > :not(.entry__title):not(.entry__lead) {
  margin-top: 28px;
}
@media (min-width: 1000px) {
  .ra .entry--split .entry__body {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: clamp(48px, 6vw, 96px);
    align-items: start;
    padding-top: 56px;
  }
  .ra .entry--split .entry__title,
  .ra .entry--split .entry__lead {
    grid-column: 1;
  }
  .ra .entry--split .entry__body > :not(.entry__title):not(.entry__lead) {
    grid-column: 2;
    grid-row: 1 / span 3;
    margin-top: 6px;
  }
}
@media (max-width: 900px) {
  .ra .entry__body {
    padding: 34px 0 56px;
  }
}

/* ── Hero: a call becomes an appointment ───────────────────────────────── */
.ra-hero__note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.9375rem;
  max-width: 44ch;
}
.ra .bz-hero h1 {
  max-width: 18ch;
}
/* The waveform breathes while the call is on: a slow, small motion that only
   runs once the drawing is in view and only when motion is welcome. */
@media (prefers-reduced-motion: no-preference) {
  .ra-wave rect {
    transform-box: fill-box;
    transform-origin: 50% 50%;
  }
  .is-on .ra-wave rect {
    animation: ra-wave 1.8s ease-in-out infinite;
    animation-delay: calc(var(--i) * -140ms);
  }
}
@keyframes ra-wave {
  0%,
  100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(0.45);
  }
}

/* ── Two forwarding modes, side by side ────────────────────────────────── */
.ra-modes {
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
  display: grid;
  gap: 32px clamp(24px, 3.4vw, 44px);
}
@media (min-width: 760px) {
  .ra-modes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.ra-modes li {
  border-top: 1px solid var(--ink);
  padding-top: 20px;
  min-width: 0;
}
.ra-modes p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
  max-width: 40ch;
}

/* ── The path of a call: four steps on one line ───────────────────────── */
.ra-flow {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 46rem;
  counter-reset: none;
}
.ra-flow li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
  padding-inline: 4px;
}
/* The brass thread from one step to the next, behind the circles. */
.ra-flow li + li::before {
  content: "";
  position: absolute;
  top: 22px;
  right: calc(50% + 26px);
  width: calc(100% - 52px);
  height: 2px;
  background: var(--brass);
}
.ra-flow li:last-child .bz-keep__ic {
  background: var(--ink);
  color: var(--chip);
}
.ra-fine {
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.9375rem;
  max-width: 60ch;
}

/* ── Icon rows: a mark, a short name, one line ─────────────────────────── */
.ra-ics {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  border-top: 1px solid var(--ink);
}
.ra-ics li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  min-width: 0;
}
.ra-ics .bz-keep__ic {
  flex: none;
}
.ra-ics h3 {
  font-family: "Gabarito", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.25;
  letter-spacing: -0.012em;
  margin-top: 2px;
}
.ra-ics p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}
@media (min-width: 640px) {
  .ra-ics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
  }
}
.ra-ics + .more {
  margin-top: 22px;
}
.ra-mode__svg {
  max-width: 18rem;
  margin-bottom: 14px;
}

/* ── Price: the bill as the app would print it ─────────────────────────── */
.ra-price {
  margin-top: 36px;
  display: grid;
  gap: 32px clamp(40px, 6vw, 88px);
  align-items: start;
}
/* Same two columns as the split entries above it, so the rules line up. */
@media (min-width: 1000px) {
  .ra-price {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: clamp(48px, 6vw, 96px);
  }
  .ra-price > .rise:first-child {
    max-width: 23rem;
  }
}
.ra-bill {
  background: var(--chip);
  border-radius: var(--r-xl);
  box-shadow: 0 6px 0 rgba(33, 43, 50, 0.13);
  padding: 26px 26px 22px;
  margin: 0;
}
.ra-bill__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 12px 0;
  border-top: 1px solid var(--rule-soft);
}
.ra-bill__row:first-child {
  border-top: 0;
  padding-top: 0;
}
.ra-bill__row dt {
  font-size: 0.9375rem;
  color: var(--muted);
}
.ra-bill__row dd {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--ink);
}
.ra-bill__row--lead dd {
  font-size: clamp(1.9rem, 4vw, 2.4rem);
  line-height: 1.1;
}
.ra-bill__row--lead dt {
  color: var(--ink);
  font-weight: 500;
}
.ra-bill__row--avg {
  margin-top: 6px;
  border-top: 1px dashed var(--brass);
}
.ra-bill__row--avg dd {
  color: var(--brass-ink);
}
.ra-price .actions {
  margin-top: 22px;
}
.ra-price .more {
  margin-top: 22px;
}
.ra-bill__note {
  margin-top: 16px;
  padding-inline: 4px;
  color: var(--muted);
  font-size: 0.9375rem;
}
