/* Rislix 08e: Pricing page. Loaded after styles.css and pages.css. Classes are prefixed pr-. */

/* ---------- R-Trax dropdown in the header (until the shared shell is stamped) ---------- */
.nav .nav-dd { position: relative; }
.nav #nav-list > li > a { white-space: nowrap; }
@media (min-width: 1121px) { .nav #nav-list { gap: clamp(12px, 1.4vw, 22px); } .nav #nav-list > li > a:not(.btn) { font-size: .9375rem; } }
.nav .nav-dd > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 2px 0 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.nav .nav-sub {
  position: absolute; top: calc(100% + 12px); left: -14px; min-width: 210px;
  flex-direction: column; align-items: stretch; gap: 0; padding: 8px; border-radius: 12px;
  background: var(--night); color: var(--ink-l);
  box-shadow: 0 0 0 1px var(--line-l), 0 24px 48px -24px rgba(0, 0, 0, .6);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .2s, transform .25s var(--ease-out), visibility 0s .25s;
}
.nav .nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav .nav-dd:hover > .nav-sub, .nav .nav-dd:focus-within > .nav-sub { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .25s var(--ease-out); }
.nav .nav-sub a:not(.btn) { display: block; padding: 9px 12px; border-radius: 8px; background: none; white-space: nowrap; }
.nav .nav-sub a:not(.btn):hover { background: rgba(255, 255, 255, .08); }
.site-head[data-tone="day"] .nav .nav-sub { background: var(--day); color: var(--ink-d); box-shadow: 0 0 0 1px var(--line-d), 0 24px 48px -24px rgba(16, 32, 48, .45); }
.site-head[data-tone="day"] .nav .nav-sub a:not(.btn):hover { background: rgba(16, 32, 48, .06); }
@media (max-width: 1120px) {
  .nav #nav-list { max-height: calc(100vh - var(--head-h)); overflow-y: auto; }
  .nav .nav-dd > a::after { display: none; }
  .nav .nav-sub, .site-head[data-tone="day"] .nav .nav-sub {
    position: static; min-width: 0; padding: 0 0 0 16px; border-radius: 0;
    background: none; color: inherit; box-shadow: none;
    opacity: 1; visibility: visible; transform: none; transition: none;
  }
  .nav .nav-sub::before { content: none; }
  .nav .nav-sub a:not(.btn) { padding: 12px 0; border-radius: 0; font-size: 1rem; border-bottom: 1px solid var(--line-l); }
  .nav .nav-sub a:not(.btn):hover { background: none; }
}

/* ---------- plans ---------- */
.pr-sec { background: var(--day); }
.pr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); align-items: stretch; }
.pr-card {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(24px, 2.6vw, 34px); border-radius: 16px; background: #fff; color: var(--ink-d);
  box-shadow: 0 0 0 1px rgba(16, 32, 48, .08), 0 40px 80px -48px rgba(16, 32, 48, .4);
}
.pr-card h3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.2rem, 1.5vw, 1.4rem); line-height: 1.2; letter-spacing: -.01em; }
.pr-price { margin-top: 20px; font-family: var(--display); font-weight: 500; font-size: clamp(2.2rem, 3.2vw, 2.8rem); line-height: 1; letter-spacing: -.025em; }
.pr-vat { margin-top: 8px; font-size: .875rem; color: var(--ink-d-soft); }
.pr-card .ticks { margin: 22px 0 30px; padding-top: 22px; border-top: 1px solid var(--line-d); font-size: .9375rem; }
.pr-card .btn { margin-top: auto; width: 100%; }
.pr-badge {
  position: absolute; top: 0; right: clamp(20px, 2.4vw, 30px); transform: translateY(-50%);
  padding: 4px 12px; border-radius: 999px; font-size: .8125rem; font-weight: 600;
  background: var(--lantern); color: var(--ink-d);
}
.pr-badge-ent { background: var(--ink-d); color: var(--day); }

.pr-feat { background: radial-gradient(120% 90% at 80% 0%, #1B3A58 0%, var(--night) 60%); color: var(--ink-l); box-shadow: 0 40px 80px -40px rgba(16, 32, 48, .7); }
.pr-feat .pr-vat { color: var(--ink-l-soft); }
.pr-feat .ticks { border-top-color: var(--line-l); }
.pr-feat .btn { background: var(--lantern); color: var(--ink-d); box-shadow: 0 10px 30px -12px rgba(242, 181, 68, .6); }
.pr-feat .btn:hover { background: #F6C566; }
.pr-feat :focus-visible { outline-color: var(--lantern); }

.pr-note { margin-top: clamp(28px, 4vw, 44px); max-width: 72ch; padding: 16px 20px; border-left: 3px solid var(--lantern); border-radius: 0 10px 10px 0; background: rgba(16, 32, 48, .04); color: var(--ink-d-soft); font-size: .9375rem; }
.pr-note a { color: var(--verd-d); font-weight: 600; text-underline-offset: 3px; }

/* ---------- why choose (night) ---------- */
.pr-eyebrow { margin-bottom: 12px; font-size: .9375rem; font-weight: 600; color: var(--verd-d); }
[data-tone="night"] .pr-eyebrow { color: var(--lantern); }
.pg-sec[data-tone="night"] .sec-head p.pr-eyebrow { color: var(--lantern); margin-top: 0; }
.pr-why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 36px); }
.pr-why li { padding-top: 20px; border-top: 1px solid var(--line-l); position: relative; }
.pr-why li::before { content: ""; position: absolute; left: 0; top: -1px; width: 40px; height: 2px; background: var(--lantern); }
.pr-why h3 { font-family: var(--display); font-weight: 600; font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.15; }
.pr-why p { margin-top: 8px; color: var(--ink-l-soft); font-size: .9375rem; }

.finale-in > p a { color: inherit; font-weight: 600; text-underline-offset: 3px; }

@media (max-width: 1000px) {
  .pr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .pr-why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .pr-grid, .pr-why { grid-template-columns: minmax(0, 1fr); }
}
