/* ==========================================================================
   CARTA MAGNA — Agente de WhatsApp
   ==========================================================================
   The inner sections that live under the opening scene. One section, five
   capability cards — orders, table bookings, questions about the house, the
   client's language and the manager panel — each drawn as its own miniature
   WhatsApp conversation in pure HTML/CSS, so the page needs no screenshots
   and stays sharp on every screen. A full conversation follows, then the
   extension requirement, a quieter "more capabilities" grid and pricing.

   It reuses the marketing tokens (styles.css) and the scene field
   (escena.css) and only adds the layer it needs.
   ========================================================================== */

/* The shared shell matches the scene width, so the cards line up with the
   poster above them. */
.wa-page .shell {
  max-width: var(--es-shell);
}

/* --------------------------------------------------------------------------
   Features — one heading, five cards
   -------------------------------------------------------------------------- */
.wa-features {
  position: relative;
  z-index: 3;
  padding-block: clamp(48px, 8vw, 104px) clamp(56px, 9vw, 120px);
}

.wa-features__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto clamp(36px, 5vw, 64px);
  text-align: center;
}
.wa-features__head .eyebrow {
  color: var(--magna-600);
}
.wa-features__title {
  margin: 0;
  font-family: "Anton", var(--font-ui);
  font-weight: 400;
  /* Same poster size as the home page <h3> rows (.home-row__title). */
  font-size: clamp(2.2rem, 1.2rem + 4vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--title-b);
  text-wrap: balance;
}

/* --------------------------------------------------------------------------
   Section titles — the home page poster treatment
   --------------------------------------------------------------------------
   The display headings borrow the home page's voice: Anton, set in caps,
   with every word cycling the Carta digital tones (Rojo Magna → Mar de Tarde
   → Terracota). paintTitles() in whatsapp.js wraps each word in a .tw-- span;
   a <mark> keeps its red band through the rebuild (same idea as
   .home-row__title-mark). With JS off the title keeps the single tone above
   and the mark still reads as a highlight. */
.wa-title .tw--magna {
  color: var(--title-a);
}
.wa-title .tw--mar {
  color: var(--title-b);
}
.wa-title .tw--terracota {
  color: var(--title-c);
}
/* A marked phrase reads as selected text: the page red under cream type. The
   band is painted short and centred on the line, not as the whole inline box
   (Anton's box is taller than the tight 0.98 line-height). */
.wa-title-mark {
  background-color: transparent;
  background-image: linear-gradient(var(--magna-600), var(--magna-600));
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 100% 1.15em;
  color: var(--surface-light);
}
.wa-title-mark .tw {
  color: inherit;
}
.wa-features__lede {
  margin: 0;
  max-width: 62ch;
  font-size: var(--fs-body-l);
  line-height: 1.55;
  color: var(--text-muted);
  text-wrap: pretty;
}

.wa-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* One capability. The first two run wide (a 6/6 top row) and the last three
   share the bottom row (4/4/4), so the five points read as a bento rather
   than a plain list. */
.wa-feature {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2vw, 26px);
  padding: clamp(20px, 2.4vw, 30px);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  background: color-mix(in srgb, var(--surface-light) 88%, transparent);
  box-shadow: var(--sh-1);
  /* Revealed from whatsapp.js; the delay is authored per card in the markup. */
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 720ms var(--ease-imperio) var(--wa-delay, 0ms),
    transform 720ms var(--ease-imperio) var(--wa-delay, 0ms), box-shadow 360ms var(--ease-ola),
    border-color 360ms var(--ease-ola);
}
.wa-feature:nth-child(1),
.wa-feature:nth-child(2) {
  grid-column: span 6;
}
.wa-feature.is-in {
  opacity: 1;
  transform: none;
}
.wa-feature:hover {
  border-color: var(--border-light-strong);
  box-shadow: var(--sh-3);
}

.wa-feature__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wa-feature__num {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-inscription);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--magna-600);
}
.wa-feature__num::after {
  content: "";
  width: 26px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.5;
}
.wa-feature__title {
  margin: 0;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: clamp(1.12rem, 1rem + 0.5vw, 1.4rem);
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--text-strong);
}
.wa-feature__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
  text-wrap: pretty;
}


/* --------------------------------------------------------------------------
   The miniature UI — one shared stage per card
   --------------------------------------------------------------------------
   Every capability is drawn as a miniature WhatsApp conversation in pure
   HTML/CSS, so the page needs no screenshots and stays sharp on every screen.
   The chat speaks in the site palette: Olivo for the house side, cream for
   the customer, warm shadows all round. */
.wa-mock {
  position: relative;
  display: block;
  height: clamp(180px, 20vw, 232px);
  padding: 16px;
  border: 1px solid rgba(78, 51, 34, 0.12);
  border-radius: var(--r-md);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(255, 196, 107, 0.18), transparent 68%),
    linear-gradient(180deg, #fffaf2, #f5e8d6);
  overflow: hidden;
}
/* The two wide cards get a taller stage so the top row keeps its weight. */
.wa-feature:nth-child(1) .wa-mock,
.wa-feature:nth-child(2) .wa-mock {
  height: clamp(200px, 22vw, 264px);
}

/* --- Chat bubbles — the language of every mock -------------------------- */
.wa-mock--chat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.wa-bubble {
  position: relative;
  max-width: 82%;
  padding: 8px 11px 7px;
  border-radius: 14px;
  font-size: 0.68rem;
  line-height: 1.45;
}
.wa-bubble--in {
  align-self: flex-start;
  border: 1px solid rgba(78, 51, 34, 0.12);
  border-top-left-radius: 4px;
  background: #fff;
  color: var(--text);
}
.wa-bubble--out {
  align-self: flex-end;
  border-top-right-radius: 4px;
  background: color-mix(in srgb, var(--olivo) 22%, #fff);
  color: var(--text-strong);
}
.wa-bubble__meta {
  display: block;
  margin-top: 3px;
  font-size: 0.52rem;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  text-align: right;
}

/* A confirmed booking or order travels as a small card inside the bubble. */
.wa-attach {
  display: block;
  margin-top: 7px;
  padding: 8px 9px;
  border: 1px solid rgba(78, 51, 34, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
}
.wa-attach__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.6rem;
}
.wa-attach__row + .wa-attach__row {
  margin-top: 4px;
}
.wa-attach__row span {
  color: var(--text-muted);
}
.wa-attach__row b {
  font-weight: 600;
  color: var(--text-strong);
}
.wa-chip {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.wa-chip--ok {
  background: color-mix(in srgb, var(--olivo) 26%, #fff);
  color: var(--olivo-900);
}
.wa-chip--magna {
  background: color-mix(in srgb, var(--magna-600) 14%, #fff);
  color: var(--magna-700);
}

/* Quick-reply chips: the questions customers ask the most. */
.wa-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}
.wa-quick span {
  padding: 4px 9px;
  border: 1px solid color-mix(in srgb, var(--olivo) 45%, transparent);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.8);
  font-size: 0.56rem;
  font-weight: 600;
  color: var(--olivo-900);
}

/* --- The panel row mock — every conversation lands where it should ----- */
.wa-mock--panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.wa-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border: 1px solid rgba(78, 51, 34, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
}
.wa-row__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: color-mix(in srgb, var(--crema) 70%, #fff);
  color: var(--magna-600);
}
.wa-row__icon svg {
  width: 15px;
  height: 15px;
}
.wa-row__body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.wa-row__body b {
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--text-strong);
}
.wa-row__body span {
  font-size: 0.56rem;
  color: var(--text-muted);
}
.wa-row .wa-chip {
  margin-left: auto;
}

/* --------------------------------------------------------------------------
   The conversation — one chat, three errands
   --------------------------------------------------------------------------
   A full phone with a real conversation inside: a question about the
   schedule, a table booking and an order, in that order. Drawn as a phone
   frame in pure CSS, same spirit as the Pedidos kiosko stage. */
.wa-chat {
  position: relative;
  z-index: 3;
  padding-block: clamp(48px, 8vw, 104px);
  border-top: 1px solid rgba(78, 51, 34, 0.1);
}
.wa-chat__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto clamp(30px, 4vw, 48px);
  text-align: center;
}
.wa-chat__head .eyebrow {
  color: var(--magna-600);
}
.wa-chat__title {
  margin: 0;
  font-family: "Anton", var(--font-ui);
  font-weight: 400;
  font-size: clamp(2.2rem, 1.2rem + 4vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--title-b);
  text-wrap: balance;
}
.wa-chat__lede {
  margin: 0;
  max-width: 62ch;
  font-size: var(--fs-body-l);
  line-height: 1.55;
  color: var(--text-muted);
  text-wrap: pretty;
}
.wa-chat__stage {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.wa-phone {
  width: min(420px, 92vw);
  border: 1px solid rgba(78, 51, 34, 0.16);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--sh-3);
  overflow: hidden;
}
.wa-phone__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--olivo-900);
  color: var(--surface-light);
}
.wa-phone__avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--crema);
  color: var(--magna-600);
  font-family: var(--font-inscription);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}
.wa-phone__who {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.wa-phone__who b {
  font-size: 0.78rem;
  font-weight: 600;
}
.wa-phone__who span {
  font-size: 0.6rem;
  color: color-mix(in srgb, var(--surface-light) 72%, transparent);
}
.wa-phone__thread {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  background:
    radial-gradient(140% 100% at 100% 0%, rgba(124, 132, 82, 0.1), transparent 60%),
    linear-gradient(180deg, #f8f1e6, #f2e6d4);
}
.wa-phone__day {
  align-self: center;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: rgba(78, 51, 34, 0.1);
  font-size: 0.54rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.wa-phone__input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid rgba(78, 51, 34, 0.12);
  background: #fff;
}
.wa-phone__field {
  flex: 1;
  padding: 8px 12px;
  border-radius: var(--r-pill);
  background: rgba(78, 51, 34, 0.06);
  font-size: 0.66rem;
  color: var(--text-muted);
}
.wa-phone__send {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--olivo-900);
  color: var(--surface-light);
}
.wa-phone__send svg {
  width: 13px;
  height: 13px;
}
.wa-chat__reasons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* --------------------------------------------------------------------------
   The requirement — one extension has to be on
   --------------------------------------------------------------------------
   The agent is the AI that answers the chat; the booking and order services
   live in their own extensions. Two big doors and one honest note. */
.wa-needs {
  position: relative;
  z-index: 3;
  padding-block: clamp(48px, 8vw, 104px);
  border-top: 1px solid rgba(78, 51, 34, 0.1);
}
.wa-needs__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto clamp(26px, 3.6vw, 42px);
  text-align: center;
}
.wa-needs__head .eyebrow {
  color: var(--magna-600);
}
.wa-needs__title {
  margin: 0;
  font-family: "Anton", var(--font-ui);
  font-weight: 400;
  font-size: clamp(2.2rem, 1.2rem + 4vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--title-b);
  text-wrap: balance;
}
.wa-needs__lede {
  margin: 0;
  max-width: 60ch;
  font-size: var(--fs-body-l);
  line-height: 1.55;
  color: var(--text-muted);
  text-wrap: pretty;
}
.wa-needs__plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 26px);
  max-width: 900px;
  margin: 0 auto clamp(22px, 3vw, 32px);
}
.wa-need {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  background: color-mix(in srgb, var(--surface-light) 88%, transparent);
  box-shadow: var(--sh-1);
  text-decoration: none;
  transition: border-color 320ms var(--ease-ola), box-shadow 320ms var(--ease-ola),
    transform 320ms var(--ease-ola);
}
.wa-need:hover,
.wa-need:focus-visible {
  border-color: var(--border-light-strong);
  box-shadow: var(--sh-3);
  transform: translateY(-2px);
}
.wa-need__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.wa-need__flag {
  font-family: var(--font-inscription);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--magna-600);
}
.wa-need__name {
  font-family: var(--font-ui);
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  font-weight: 600;
  color: var(--text-strong);
}
.wa-need__desc {
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--text-muted);
}
.wa-need__price {
  margin-left: auto;
  flex: 0 0 auto;
  font-family: "Anton", var(--font-ui);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  line-height: 1;
  color: var(--magna-600);
}
.wa-need__price small {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
}
/* The honest note: the agent grants access to the AI, nothing else. */
.wa-needs__note {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
  padding: 13px 20px;
  border: 1px solid color-mix(in srgb, var(--miel) 62%, var(--border-light));
  border-radius: var(--r-lg);
  background: rgba(255, 196, 107, 0.18);
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--text-strong);
  text-align: left;
}
.wa-needs__note svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: var(--magna-600);
}
.wa-needs__note a {
  font-weight: 600;
  color: var(--magna-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 720px) {
  .wa-needs__plans {
    grid-template-columns: minmax(0, 1fr);
  }
  .wa-need {
    flex-wrap: wrap;
  }
}
@media (max-width: 820px) {
  .wa-chat__reasons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .wa-chat__reasons {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* --------------------------------------------------------------------------
   More capabilities — the quieter grid under the five pieces
   -------------------------------------------------------------------------- */
.wa-more {
  position: relative;
  z-index: 3;
  padding-block: clamp(48px, 8vw, 104px);
  border-top: 1px solid rgba(78, 51, 34, 0.1);
}
.wa-more__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto clamp(32px, 4.4vw, 56px);
  text-align: center;
}
.wa-more__head .eyebrow {
  color: var(--magna-600);
}
.wa-more__title {
  margin: 0;
  font-family: "Anton", var(--font-ui);
  font-weight: 400;
  font-size: clamp(2rem, 1.2rem + 3.4vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--title-b);
  text-wrap: balance;
}
.wa-more__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.wa-cap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(16px, 1.8vw, 22px);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  background: color-mix(in srgb, var(--surface-light) 88%, transparent);
  box-shadow: var(--sh-1);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 640ms var(--ease-imperio) var(--wa-delay, 0ms),
    transform 640ms var(--ease-imperio) var(--wa-delay, 0ms), border-color 360ms var(--ease-ola),
    box-shadow 360ms var(--ease-ola);
}
.wa-cap.is-in {
  opacity: 1;
  transform: none;
}
.wa-cap:hover {
  border-color: var(--border-light-strong);
  box-shadow: var(--sh-3);
}
.wa-cap__icon {
  width: 22px;
  height: 22px;
  color: var(--magna-600);
}
.wa-cap b {
  font-size: 0.92rem;
  line-height: 1.25;
  color: var(--text-strong);
}
.wa-cap p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-muted);
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   Pricing — one plan, one price
   --------------------------------------------------------------------------
   A single card: the price (and CTA) on one side, the full feature checklist
   as a table on the other. The whole offer needs an active extension (Reserva
   de mesa or Pedidos), so that condition is called out above the card. */
.wa-pricing {
  position: relative;
  z-index: 3;
  padding-block: clamp(48px, 8vw, 104px);
  border-top: 1px solid rgba(78, 51, 34, 0.1);
}
.wa-pricing__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto clamp(26px, 3.6vw, 42px);
  text-align: center;
}
.wa-pricing__head .eyebrow {
  color: var(--magna-600);
}
.wa-pricing__title {
  margin: 0;
  font-family: "Anton", var(--font-ui);
  font-weight: 400;
  font-size: clamp(2.2rem, 1.2rem + 4vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--title-b);
  text-wrap: balance;
}
.wa-pricing__lede {
  margin: 0;
  max-width: 60ch;
  font-size: var(--fs-body-l);
  line-height: 1.55;
  color: var(--text-muted);
  text-wrap: pretty;
}

/* The subscription requirement — a warm callout, impossible to miss. */
.wa-pricing__requires {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto clamp(26px, 3.6vw, 42px);
  padding: 13px 20px;
  border: 1px solid color-mix(in srgb, var(--miel) 62%, var(--border-light));
  border-radius: var(--r-lg);
  background: rgba(255, 196, 107, 0.18);
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--text-strong);
  text-align: left;
}
.wa-pricing__requires-icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: var(--magna-600);
}
.wa-pricing__requires a {
  font-weight: 600;
  color: var(--magna-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wa-plan {
  max-width: 1040px;
  margin-inline: auto;
  padding: clamp(24px, 3.2vw, 44px);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  background: color-mix(in srgb, var(--surface-light) 90%, transparent);
  box-shadow: var(--sh-3);
}
/* The price is a full-width band on top of the card, not a narrow column:
   the checklist below is long, so a side-by-side split left a tall empty gap
   under the price. */
.wa-plan__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: clamp(18px, 3vw, 40px);
  padding-bottom: clamp(20px, 2.6vw, 30px);
  border-bottom: 1px solid rgba(78, 51, 34, 0.16);
}
.wa-plan__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.wa-plan__flag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--magna-600);
  color: #fff;
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.wa-plan__name {
  margin: 12px 0 0;
  font-family: var(--font-inscription);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--magna-600);
}
.wa-plan__note {
  margin: 8px 0 0;
  font-size: var(--fs-caption);
  color: var(--text-muted);
}
.wa-plan__buy {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(18px, 3vw, 34px);
}
.wa-plan__price {
  margin: 0;
  font-family: "Anton", var(--font-ui);
  font-size: clamp(2.8rem, 4.4vw, 4rem);
  font-weight: 400;
  line-height: 1;
  color: var(--magna-600);
}
.wa-plan__price small {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}
/* The agent is quoted per restaurant, so the card shows a word, not a
   number: the Anton display steps down so it reads gracefully. */
.wa-plan__price--custom {
  font-size: clamp(2rem, 2.8vw, 2.8rem);
  letter-spacing: -0.01em;
}
.wa-plan__cta {
  justify-content: center;
}
.wa-plan__features {
  padding-top: clamp(20px, 2.6vw, 30px);
}
.wa-plan__subtitle {
  margin: 0 0 14px;
  font-family: var(--font-inscription);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--magna-600);
}
.wa-plan__table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-ui);
  font-size: var(--fs-small);
  color: var(--text);
}
/* The checklist runs in two columns (five items each), filling the width of
   the card instead of leaving a long single file. `grid-auto-flow: column`
   keeps the reading order top-to-bottom down each column. */
.wa-plan__table tbody {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(5, auto);
  grid-auto-flow: column;
  column-gap: clamp(28px, 4vw, 56px);
}
.wa-plan__table tr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid rgba(78, 51, 34, 0.12);
}
.wa-plan__table tr:nth-child(1),
.wa-plan__table tr:nth-child(6) {
  border-top: 0;
}
.wa-plan__table th,
.wa-plan__table td {
  padding: 0;
  text-align: left;
  font-weight: 400;
}
.wa-plan__table th {
  color: var(--text-strong);
}
.wa-plan__table td {
  flex: 0 0 auto;
  text-align: right;
}
.wa-plan__table td svg {
  display: inline-block;
  width: 18px;
  height: 18px;
  color: var(--olivo-900);
  vertical-align: middle;
}

/* --------------------------------------------------------------------------
   Closing CTA
   -------------------------------------------------------------------------- */
.wa-final {
  position: relative;
  z-index: 3;
  padding-block: clamp(56px, 8vw, 112px);
  border-top: 1px solid rgba(78, 51, 34, 0.1);
}
.wa-final__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: min(820px, 90vw);
  margin-inline: auto;
  text-align: center;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 760ms var(--ease-imperio), transform 760ms var(--ease-imperio);
}
.wa-final__inner.is-in {
  opacity: 1;
  transform: none;
}
.wa-final .eyebrow {
  color: var(--magna-600);
}
.wa-final__title {
  margin: 0;
  font-family: "Anton", var(--font-ui);
  font-weight: 400;
  font-size: clamp(2.2rem, 1.2rem + 4vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--title-b);
  text-wrap: balance;
}
.wa-final__lede {
  margin: 0;
  max-width: 56ch;
  font-size: var(--fs-body-l);
  line-height: 1.55;
  color: var(--text-muted);
  text-wrap: pretty;
}
.wa-final__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(16px, 2vw, 28px);
  margin-top: 6px;
}
.wa-final__link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--magna-700);
}
.wa-final__link:hover,
.wa-final__link:focus-visible {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Responsive — the bento folds in steps
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .wa-more__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 980px) {
  .wa-feature,
  .wa-feature:nth-child(1),
  .wa-feature:nth-child(2) {
    grid-column: span 6;
  }
  .wa-feature:nth-child(5) {
    grid-column: span 12;
  }
  .wa-more__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
/* Below the tablet the checklist folds to one column and the price band
   stacks; on the narrowest phones the CTA goes full width. */
@media (max-width: 820px) {
  .wa-more__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .wa-plan__top {
    flex-direction: column;
    align-items: flex-start;
  }
  .wa-plan__table tbody {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-auto-flow: row;
  }
  .wa-plan__table tr:nth-child(6) {
    border-top: 1px solid rgba(78, 51, 34, 0.12);
  }
}
@media (max-width: 640px) {
  .wa-feature,
  .wa-feature:nth-child(1),
  .wa-feature:nth-child(2),
  .wa-feature:nth-child(5) {
    grid-column: span 12;
  }
  .wa-mock,
  .wa-feature:nth-child(1) .wa-mock,
  .wa-feature:nth-child(2) .wa-mock {
    height: auto;
    min-height: 200px;
  }
}
@media (max-width: 560px) {
  .wa-more__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 460px) {
  .wa-plan__buy {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 16px;
  }
  .wa-plan__cta {
    width: 100%;
  }
}
/* The mockups are intentionally dense; on the narrowest phones every inner
   box loses a little padding so the bubbles stay on their own side and the
   labels never wrap. */
@media (max-width: 480px) {
  .wa-mock {
    padding: 12px;
  }
  .wa-mock--chat {
    gap: 6px;
  }
  .wa-bubble {
    max-width: 92%;
    padding: 6px 9px;
    font-size: 0.62rem;
  }
  .wa-attach {
    padding: 6px 8px;
  }
}

/* --------------------------------------------------------------------------
   Reduced motion — no reveal, everything present
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .wa-feature,
  .wa-cap,
  .wa-final__inner {
    opacity: 1;
    transform: none;
    transition: none;
  }
}