/* =============================================================================
   Archivo — pricing page, noma theme.
   Loads after noma-shared.css. Plan cards / compare table use the shared
   .glass card treatment for background+border+shadow; this file only adds
   the layout, typography and accent details specific to pricing content.
   ============================================================================= */

.pricing-page__hero { padding-top: 46px; }

.pricing__note {
  max-width: 720px;
  margin: 28px auto 0;
  text-align: center;
  color: var(--ink-faint);
  font-size: 0.9rem;
  line-height: 1.6;
}
.pricing__note a { color: var(--accent); font-weight: 600; }
.pricing__note a:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- plan cards */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; align-items: stretch; max-width: 900px; margin: 0 auto; }

.plan { padding: 34px 28px; position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; text-align: left; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.plan--pop { padding-top: 68px; box-shadow: var(--shadow), 0 0 0 1px var(--green-brd); }
.plan--pop::before { content: "Most popular"; position: absolute; inset: 0 0 auto; height: 36px; display: grid; place-items: center; color: #fff; background: var(--grad); font-size: 0.78rem; font-weight: 800; text-transform: uppercase; }

.plan__discount { position: absolute; top: 58px; right: 24px; display: inline-flex; align-items: center; justify-content: center; min-height: 22px; padding: 4px 10px; border-radius: 999px; background: var(--green-glow); color: var(--green-deep); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.01em; }
.plan__heading { display: inline-flex; align-items: center; justify-content: flex-start; gap: 10px; min-height: 32px; margin-bottom: 8px; padding-right: 92px; }
.plan__badge { display: inline-flex; align-items: center; justify-content: center; min-height: 22px; background: var(--green-glow); color: var(--green-deep); font-size: 0.7rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; letter-spacing: 0.03em; }
.plan__desc { color: var(--muted); font-size: 0.9rem; line-height: 1.45; margin-bottom: 22px; min-height: 40px; }
.plan__price-stack { min-height: 76px; display: flex; flex-direction: column; justify-content: flex-end; margin-bottom: 20px; }
.plan__was { margin: 0 0 6px; color: var(--ink-faint); font-size: 0.86rem; font-weight: 700; }
.plan__was s { text-decoration-thickness: 1.7px; text-decoration-color: currentColor; }
.plan__price { display: flex; align-items: baseline; justify-content: flex-start; gap: 2px; margin: 0; text-align: left; }
.plan__price .cur { font-size: 1.35rem; font-weight: 800; color: var(--ink); align-self: flex-start; margin-top: 4px; }
.plan__price .amt { font-family: Georgia, "Times New Roman", serif; font-size: 2.7rem; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.plan__price .per { color: var(--muted); font-size: 0.95rem; }
.plan__price--sale { flex-wrap: nowrap; }
.plan__renewal { min-height: 36px; margin: 16px 0 0; color: var(--ink-faint); font-size: 0.8rem; font-weight: 600; line-height: 1.45; }
.plan__feats { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--stroke); display: flex; flex-direction: column; gap: 12px; }
.plan__feats li { position: relative; padding-left: 28px; color: var(--muted); font-size: 0.95rem; }
.plan__feats li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 19px; height: 19px; border-radius: 50%; background: var(--green-glow); color: var(--green-deep); font-size: 12px; font-weight: 700; display: grid; place-items: center; }

/* ---------------------------------------------------------------- compare table (.cmp) */
.cmp { max-width: 960px; margin: 0 auto; padding: 8px; overflow: hidden; }
.cmp__wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp__table { width: 100%; border-collapse: collapse; min-width: 560px; }
.cmp__table th, .cmp__table td { text-align: center; }
.cmp__head th { padding: 20px 16px 22px; vertical-align: bottom; border-bottom: 1px solid var(--stroke); }
.cmp__lead { width: 42%; text-align: left; vertical-align: middle; }
.cmp__search { display: inline-flex; align-items: center; gap: 8px; width: 100%; max-width: 300px; padding: 10px 15px; border-radius: 999px; background: #fff; border: 1px solid var(--stroke); }
.cmp__search svg { flex: 0 0 auto; color: var(--ink-faint); }
.cmp__input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 0.95rem; color: var(--ink); }
.cmp__input::placeholder { color: var(--ink-faint); }
.cmp__plan { display: block; font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.cmp__price { display: block; font-family: Georgia, "Times New Roman", serif; font-weight: 700; color: var(--ink); margin: 3px 0 12px; }
.cmp__price s { color: var(--ink-faint); font-weight: 600; font-size: 0.8em; margin-left: 5px; }
.cmp__tag { display: inline-block; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: #fff; background: var(--grad); border-radius: 999px; padding: 3px 10px; margin-bottom: 8px; }
.cmp__cta { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 20px; border-radius: 8px; font-weight: 700; font-size: 0.86rem; }
.cmp__col--pop { background: var(--green-glow); border-radius: 16px 16px 0 0; }
.cmp__group th { text-align: left; font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--green-deep); padding: 24px 16px 10px; }
.cmp__row { border-top: 1px solid var(--stroke); }
.cmp__row th { text-align: left; font-weight: 500; color: var(--muted); font-size: 0.95rem; padding: 13px 16px; }
.cmp__row td { color: var(--ink); font-weight: 600; font-size: 0.95rem; padding: 13px 12px; }
.cmp__row td.cmp__pop { background: var(--green-glow); }
.cmp__check { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--green-glow); color: var(--green-deep); font-size: 13px; font-weight: 800; }
.cmp__dash { color: var(--ink-faint); }
.cmp__row.is-hidden, .cmp__group.is-hidden { display: none; }
.cmp__empty td { text-align: center; color: var(--ink-faint); padding: 26px 16px; font-size: 0.95rem; }
.cmp__empty.is-hidden { display: none; }
@media (max-width: 640px) {
  .cmp__head th { padding: 14px 10px 16px; }
  .cmp__row th, .cmp__row td { padding: 11px 8px; font-size: 0.9rem; }
  .cmp__plan { font-size: 1rem; }
}

/* ---------------------------------------------------------------- FAQ */
.faq { display: flex; flex-direction: column; gap: 14px; }
.faq__item { overflow: hidden; transition: box-shadow 0.3s; }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 1.05rem; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { position: relative; width: 18px; height: 18px; flex: 0 0 auto; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease); }
.faq__plus::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq__plus::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq__item[open] .faq__plus::after { transform: rotate(90deg); opacity: 0; }
.faq__body { overflow: hidden; display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease); }
.faq__item[open] .faq__body { grid-template-rows: 1fr; }
.faq__body > p { min-height: 0; padding: 0 24px 22px; color: var(--muted); }
