/* ============================================================
   NearAway — Pricing page styles
   Extends home.css
   ============================================================ */

/* ── Hero ────────────────────────────────────────────────── */
.pr-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 104px); }
.pr-hero-copy { text-align: center; max-width: 600px; margin: 0 auto clamp(40px, 5vw, 64px); }
.pr-hero-copy h1 {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(36px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -0.02em;
  color: var(--ink-1); margin-top: 18px;
}
.pr-hero-copy h1 .soft { color: #B07F52; }
.pr-hero-sub {
  font-weight: 400; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.62;
  color: var(--ink-2); margin-top: 20px; text-wrap: pretty;
}

/* ── Tier grid ───────────────────────────────────────────── */
.pr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
@media (max-width: 860px) { .pr-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; gap: 24px; } }

.pr-card {
  background: #fff; border: 1px solid var(--ink-line); border-radius: var(--r-lg);
  padding: 32px 28px 34px; position: relative; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.pr-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.pr-card--highlight {
  border-color: var(--terracotta); border-width: 2px;
  box-shadow: 0 6px 32px rgba(214,163,120,.18), var(--shadow-sm);
  padding-top: 42px;
}
.pr-card--highlight:hover { box-shadow: 0 10px 40px rgba(214,163,120,.22), var(--shadow-md); }

.pr-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--terracotta); color: #2A1B10; font-size: 12px; font-weight: 500;
  letter-spacing: 0.06em; padding: 5px 16px; border-radius: var(--r-pill);
  white-space: nowrap;
}

.pr-card-head { margin-bottom: 20px; }
.pr-tier-name { font-family: var(--serif); font-weight: 500; font-size: 24px; color: var(--ink-1); }
.pr-tier-tag { font-size: 14px; font-weight: 400; color: var(--ink-3); margin-top: 4px; }

.pr-price-block { display: flex; align-items: baseline; gap: 2px; margin-bottom: 4px; }
.pr-currency { font-size: 22px; font-weight: 400; color: var(--ink-2); align-self: flex-start; margin-top: 6px; }
.pr-amount { font-family: var(--serif); font-weight: 400; font-size: 52px; line-height: 1; color: var(--ink-1); letter-spacing: -0.02em; }
.pr-unit { font-size: 15px; font-weight: 400; color: var(--ink-3); margin-left: 2px; }
.pr-annual { font-size: 13px; font-weight: 400; color: #8B6D4B; margin-bottom: 16px; }

.pr-desc { font-size: 15px; font-weight: 400; line-height: 1.55; color: var(--ink-2); margin-bottom: 24px; flex-grow: 1; }

.pr-card .hp-btn { width: 100%; justify-content: center; margin-bottom: 24px; }

.pr-includes { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.pr-includes li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; font-weight: 400; line-height: 1.45; color: var(--ink-2);
}
.pr-includes li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; color: var(--terracotta); }

/* ── Compare table ───────────────────────────────────────── */
.pr-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pr-table {
  width: 100%; border-collapse: collapse; font-size: 14.5px;
  min-width: 560px;
}
.pr-table th {
  font-family: var(--serif); font-weight: 500; font-size: 15px; color: var(--ink-1);
  padding: 14px 16px; text-align: center; border-bottom: 2px solid var(--ink-line);
}
.pr-table th:first-child { text-align: left; }
.pr-th-hl { color: #8B6D4B !important; }
.pr-table td {
  padding: 13px 16px; text-align: center; border-bottom: 1px solid var(--ink-line);
  color: var(--ink-2); font-weight: 400;
}
.pr-table td:first-child { text-align: left; color: var(--ink-1); font-weight: 400; }
.pr-col-hl { background: rgba(214,163,120,.06); }
.pr-feat-name { white-space: nowrap; }
.pr-check { width: 18px; height: 18px; color: var(--terracotta); }
.pr-cross { width: 15px; height: 15px; color: var(--ink-line); }
.pr-cell-text { font-size: 13px; font-weight: 400; color: var(--ink-1); }

/* ── FAQ ──────────────────────────────────────────────────── */
.pr-faq-list { max-width: 680px; }
.pr-faq { border-bottom: 1px solid var(--ink-line); }
.pr-faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; font-size: 16px; font-weight: 400; color: var(--ink-1);
  text-align: left; gap: 16px; background: none; border: none; cursor: pointer;
  font-family: var(--sans); transition: color .2s;
}
.pr-faq-q:hover { color: #8B6D4B; }
.pr-faq-chevron {
  width: 16px; height: 16px; flex-shrink: 0; color: var(--ink-3);
  transition: transform .25s ease;
}
.pr-faq.open .pr-faq-chevron { transform: rotate(180deg); }
.pr-faq-a {
  max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease;
  padding: 0 0;
}
.pr-faq.open .pr-faq-a { max-height: 200px; padding: 0 0 18px; }
.pr-faq-a p { font-size: 15px; font-weight: 400; line-height: 1.6; color: var(--ink-2); max-width: 600px; }
