/* ==========================================================================
   CARTA MAGNA — Pedidos
   ==========================================================================
   The inner sections that live under the opening scene. One section, five
   capability cards — mobile order, live board, manual changes, the manager
   panel and per-item status — each drawn as its own miniature UI in pure
   HTML/CSS, so the page needs no screenshots and stays sharp on every
   screen. A dedicated kiosko-mode section follows, then 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. */
.pd-page .shell {
  max-width: var(--es-shell);
}

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

.pd-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;
}
.pd-features__head .eyebrow {
  color: var(--magna-600);
}
.pd-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 pedidos.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. */
.pd-title .tw--magna {
  color: var(--title-a);
}
.pd-title .tw--mar {
  color: var(--title-b);
}
.pd-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). */
.pd-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);
}
.pd-title-mark .tw {
  color: inherit;
}
.pd-features__lede {
  margin: 0;
  max-width: 62ch;
  font-size: var(--fs-body-l);
  line-height: 1.55;
  color: var(--text-muted);
  text-wrap: pretty;
}

.pd-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. */
.pd-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 pedidos.js; the delay is authored per card in the markup. */
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 720ms var(--ease-imperio) var(--pd-delay, 0ms),
    transform 720ms var(--ease-imperio) var(--pd-delay, 0ms), box-shadow 360ms var(--ease-ola),
    border-color 360ms var(--ease-ola);
}
.pd-feature:nth-child(1),
.pd-feature:nth-child(2) {
  grid-column: span 6;
}
.pd-feature.is-in {
  opacity: 1;
  transform: none;
}
.pd-feature:hover {
  border-color: var(--border-light-strong);
  box-shadow: var(--sh-3);
}

.pd-feature__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pd-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);
}
.pd-feature__num::after {
  content: "";
  width: 26px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.5;
}
.pd-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);
}
.pd-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
   -------------------------------------------------------------------------- */
.pd-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. */
.pd-feature:nth-child(1) .pd-mock,
.pd-feature:nth-child(2) .pd-mock {
  height: clamp(200px, 22vw, 264px);
}

/* --- 01 · Mobile order --------------------------------------------------- */
.pd-mock--phone {
  display: grid;
  place-items: center;
}
.pd-phone {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(230px, 100%);
  padding: 13px;
  border: 1px solid rgba(78, 51, 34, 0.14);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--sh-3);
}
.pd-phone__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.62rem;
  color: var(--text-muted);
}
.pd-phone__table {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-strong);
}
.pd-phone__lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pd-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 8px;
  background: rgba(78, 51, 34, 0.05);
  font-size: 0.64rem;
}
.pd-line b {
  font-weight: 600;
  color: var(--text-strong);
}
.pd-line span {
  color: var(--text-muted);
}
.pd-phone__cta {
  display: block;
  margin-top: 2px;
  padding: 9px;
  border-radius: var(--r-pill);
  background: var(--magna-600);
  color: #fff;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
}

/* --- 02 · Live order board (Kanban) ------------------------------------- */
.pd-mock--kanban {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.pd-kan {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  border-radius: var(--r-sm);
  background: rgba(78, 51, 34, 0.045);
}
.pd-kan__title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.pd-kan__title::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--magna-600);
}
.pd-kan--kitchen .pd-kan__title::before {
  background: var(--mar);
}
.pd-kan--served .pd-kan__title::before {
  background: var(--olivo);
}
.pd-kan__card {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 7px 8px;
  border-radius: 8px;
  border-left: 3px solid var(--magna-600);
  background: #fff;
  box-shadow: var(--sh-1);
}
.pd-kan--kitchen .pd-kan__card {
  border-left-color: var(--mar);
}
.pd-kan--served .pd-kan__card {
  border-left-color: var(--olivo);
}
.pd-kan__card b {
  font-size: 0.7rem;
  color: var(--text-strong);
}
.pd-kan__card span {
  font-size: 0.58rem;
  color: var(--text-muted);
}

/* --- 03 · Changes and notes per guest ----------------------------------- */
.pd-mock--units {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.pd-dish {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: #fff;
  box-shadow: var(--sh-1);
}
.pd-dish b {
  font-size: 0.82rem;
  color: var(--text-strong);
}
.pd-dish span {
  font-size: 0.66rem;
  color: var(--text-muted);
}
.pd-units {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pd-unit {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(78, 51, 34, 0.05);
  font-size: 0.64rem;
}
.pd-unit__who {
  color: var(--text-strong);
}
.pd-unit__note {
  color: var(--text-muted);
}
.pd-note {
  margin: 0;
  padding: 9px 11px;
  border-left: 3px solid var(--miel);
  border-radius: var(--r-sm);
  background: rgba(255, 196, 107, 0.16);
  font-size: 0.7rem;
  line-height: 1.4;
  color: var(--text);
}

/* --- 04 · Manager panel ------------------------------------------------- */
.pd-mock--panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.pd-panel__kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.pd-kpi {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 10px;
  border-radius: var(--r-sm);
  background: #fff;
  box-shadow: var(--sh-1);
}
.pd-kpi span {
  font-size: 0.54rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.pd-kpi b {
  font-size: 1rem;
  color: var(--magna-600);
}
.pd-bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pd-bar {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  font-size: 0.6rem;
  color: var(--text-muted);
}
.pd-bar i {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: var(--mar);
}
.pd-pay {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pd-badge {
  padding: 4px 9px;
  border-radius: var(--r-pill);
  background: rgba(78, 51, 34, 0.07);
  font-size: 0.56rem;
  font-weight: 600;
  color: var(--text);
}
.pd-badge--card {
  background: color-mix(in srgb, var(--mar) 18%, #fff);
  color: var(--mar);
}
.pd-badge--cash {
  background: color-mix(in srgb, var(--olivo) 20%, #fff);
  color: var(--olivo-900);
}

/* --- 05 · Per-item status ----------------------------------------------- */
.pd-mock--status {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.pd-status {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pd-status__dish {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: #fff;
  box-shadow: var(--sh-1);
}
.pd-status__dish b {
  font-size: 0.78rem;
  color: var(--text-strong);
}
.pd-status__pill {
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pd-status__pill--done {
  background: color-mix(in srgb, var(--olivo) 22%, #fff);
  color: var(--olivo-900);
}
.pd-status__pill--served {
  background: color-mix(in srgb, var(--mar) 18%, #fff);
  color: var(--mar);
}
.pd-status__pill--cooking {
  background: rgba(255, 196, 107, 0.24);
  color: #8a5a12;
}

/* --------------------------------------------------------------------------
   Modo kiosko — la pantalla de autoservicio en la entrada
   --------------------------------------------------------------------------
   Una pantalla en la entrada (o la barra) donde el cliente pide por su cuenta,
   para que nadie haga cola ni espere a que le tomen la comanda. Se dibuja como
   un móvil con el kiosko dentro, en puro CSS.
   -------------------------------------------------------------------------- */
.pd-kiosko {
  position: relative;
  z-index: 3;
  padding-block: clamp(48px, 8vw, 104px);
  border-top: 1px solid rgba(78, 51, 34, 0.1);
}
.pd-kiosko__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto clamp(32px, 4.6vw, 60px);
  text-align: center;
}
.pd-kiosko__head .eyebrow {
  color: var(--magna-600);
}
.pd-kiosko__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;
}
.pd-kiosko__lede {
  margin: 0;
  max-width: 62ch;
  font-size: var(--fs-body-l);
  line-height: 1.55;
  color: var(--text-muted);
  text-wrap: pretty;
}

/* El móvil con la tienda dentro ------------ */
.pd-kiosko__stage {
  display: grid;
  place-items: center;
  max-width: min(520px, 92vw);
  margin: 0 auto clamp(28px, 4vw, 48px);
  padding: clamp(28px, 4vw, 52px) clamp(20px, 3vw, 40px);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(255, 196, 107, 0.18), transparent 68%),
    linear-gradient(180deg, #fffaf2, #f5e8d6);
  box-shadow: var(--sh-1);
}
.pd-kiosko__phone {
  position: relative;
  width: min(300px, 100%);
  padding: 10px;
  border-radius: 38px;
  background: linear-gradient(180deg, #33201a, #1b120c);
  box-shadow: 0 34px 60px -26px rgba(36, 22, 15, 0.55), 0 10px 20px -10px rgba(36, 22, 15, 0.4);
}
/* auricular / notch */
.pd-kiosko__phone::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 58px;
  height: 7px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.16);
}
.pd-kiosko__app {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 14px 14px;
  border-radius: 28px;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255, 196, 107, 0.22), transparent 70%),
    linear-gradient(180deg, #fffaf2, #f4e6d2);
  overflow: hidden;
}
.pd-kiosko__appbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.pd-kiosko__shop {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-strong);
}
.pd-kiosko__shop svg {
  width: 16px;
  height: 16px;
  color: var(--magna-600);
}
.pd-kiosko__cart {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: var(--r-pill);
  background: var(--magna-600);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
}
.pd-kiosko__cart svg {
  width: 12px;
  height: 12px;
}
.pd-kiosko__products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.pd-kiosko__product {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--sh-1);
}
.pd-kiosko__thumb {
  display: block;
  height: 46px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--miel), var(--terracota));
}
.pd-kiosko__product:nth-child(2) .pd-kiosko__thumb {
  background: linear-gradient(135deg, var(--terracota), var(--magna-700));
}
.pd-kiosko__product:nth-child(3) .pd-kiosko__thumb {
  background: linear-gradient(135deg, var(--mar), var(--olivo));
}
.pd-kiosko__product:nth-child(4) .pd-kiosko__thumb {
  background: linear-gradient(135deg, var(--olivo), var(--mar));
}
.pd-kiosko__product b {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--text-strong);
}
.pd-kiosko__price {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--magna-600);
}
.pd-kiosko__pay {
  margin-top: 2px;
  padding: 11px;
  border-radius: var(--r-pill);
  background: var(--magna-600);
  color: #fff;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
}

/* Los tres motivos ----- */
.pd-kiosko__reasons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
  max-width: min(1040px, 92vw);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

/* --------------------------------------------------------------------------
   More capabilities — the quieter grid under the five pieces
   -------------------------------------------------------------------------- */
.pd-more {
  position: relative;
  z-index: 3;
  padding-block: clamp(48px, 8vw, 104px);
  border-top: 1px solid rgba(78, 51, 34, 0.1);
}
.pd-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;
}
.pd-more__head .eyebrow {
  color: var(--magna-600);
}
.pd-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;
}
.pd-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;
}
.pd-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(--pd-delay, 0ms),
    transform 640ms var(--ease-imperio) var(--pd-delay, 0ms), border-color 360ms var(--ease-ola),
    box-shadow 360ms var(--ease-ola);
}
.pd-cap.is-in {
  opacity: 1;
  transform: none;
}
.pd-cap:hover {
  border-color: var(--border-light-strong);
  box-shadow: var(--sh-3);
}
.pd-cap__icon {
  width: 22px;
  height: 22px;
  color: var(--magna-600);
}
.pd-cap b {
  font-size: 0.92rem;
  line-height: 1.25;
  color: var(--text-strong);
}
.pd-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 depends on an active Carta digital
   subscription, so that condition is called out above the card. */
.pd-pricing {
  position: relative;
  z-index: 3;
  padding-block: clamp(48px, 8vw, 104px);
  border-top: 1px solid rgba(78, 51, 34, 0.1);
}
.pd-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;
}
.pd-pricing__head .eyebrow {
  color: var(--magna-600);
}
.pd-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;
}
.pd-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. */
.pd-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;
}
.pd-pricing__requires-icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: var(--magna-600);
}
.pd-pricing__requires a {
  font-weight: 600;
  color: var(--magna-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pd-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. */
.pd-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);
}
.pd-plan__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.pd-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;
}
.pd-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);
}
.pd-plan__note {
  margin: 8px 0 0;
  font-size: var(--fs-caption);
  color: var(--text-muted);
}
.pd-plan__buy {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(18px, 3vw, 34px);
}
.pd-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);
}
.pd-plan__price small {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}
.pd-plan__cta {
  justify-content: center;
}
.pd-plan__features {
  padding-top: clamp(20px, 2.6vw, 30px);
}
.pd-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);
}
.pd-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. */
.pd-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);
}
.pd-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);
}
.pd-plan__table tr:nth-child(1),
.pd-plan__table tr:nth-child(6) {
  border-top: 0;
}
.pd-plan__table th,
.pd-plan__table td {
  padding: 0;
  text-align: left;
  font-weight: 400;
}
.pd-plan__table th {
  color: var(--text-strong);
}
.pd-plan__table td {
  flex: 0 0 auto;
  text-align: right;
}
.pd-plan__table td svg {
  display: inline-block;
  width: 18px;
  height: 18px;
  color: var(--olivo-900);
  vertical-align: middle;
}

/* --------------------------------------------------------------------------
   Closing CTA
   -------------------------------------------------------------------------- */
.pd-final {
  position: relative;
  z-index: 3;
  padding-block: clamp(56px, 8vw, 112px);
  border-top: 1px solid rgba(78, 51, 34, 0.1);
}
.pd-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);
}
.pd-final__inner.is-in {
  opacity: 1;
  transform: none;
}
.pd-final .eyebrow {
  color: var(--magna-600);
}
.pd-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;
}
.pd-final__lede {
  margin: 0;
  max-width: 56ch;
  font-size: var(--fs-body-l);
  line-height: 1.55;
  color: var(--text-muted);
  text-wrap: pretty;
}
.pd-final__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(16px, 2vw, 28px);
  margin-top: 6px;
}
.pd-final__link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--magna-700);
}
.pd-final__link:hover,
.pd-final__link:focus-visible {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Responsive — the bento folds in steps
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .pd-more__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 980px) {
  .pd-feature,
  .pd-feature:nth-child(1),
  .pd-feature:nth-child(2) {
    grid-column: span 6;
  }
  .pd-feature:nth-child(5) {
    grid-column: span 12;
  }
  .pd-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) {
  .pd-kiosko__reasons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pd-more__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .pd-plan__top {
    flex-direction: column;
    align-items: flex-start;
  }
  .pd-plan__table tbody {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-auto-flow: row;
  }
  .pd-plan__table tr:nth-child(6) {
    border-top: 1px solid rgba(78, 51, 34, 0.12);
  }
}
@media (max-width: 640px) {
  .pd-feature,
  .pd-feature:nth-child(1),
  .pd-feature:nth-child(2),
  .pd-feature:nth-child(5) {
    grid-column: span 12;
  }
  .pd-kiosko__reasons {
    grid-template-columns: minmax(0, 1fr);
  }
  .pd-mock,
  .pd-feature:nth-child(1) .pd-mock,
  .pd-feature:nth-child(2) .pd-mock {
    height: auto;
    min-height: 200px;
  }
}
@media (max-width: 560px) {
  .pd-more__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 460px) {
  .pd-plan__buy {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 16px;
  }
  .pd-plan__cta {
    width: 100%;
  }
}
/* The mockups are intentionally dense; on the narrowest phones every inner
   box loses a little padding so the three Kanban columns stay on one line
   and the labels never wrap. */
@media (max-width: 480px) {
  .pd-mock {
    padding: 12px;
  }
  .pd-mock--kanban,
  .pd-kan {
    gap: 6px;
  }
  .pd-kan {
    padding: 6px;
  }
  .pd-kan__card {
    padding: 6px;
  }
  .pd-kan__card b {
    font-size: 0.66rem;
  }
  .pd-kan__card span {
    font-size: 0.54rem;
  }
}

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