/* ═══════════════════════════════════════════════════════════════
   PRICING — the shared tier grid + add-on tables (front page AND
   /pricing/), plus the /pricing/ page's own sections. Moved out of
   home.css so both pages load one stylesheet and cannot drift.
   The .pricing-section shell + .section-label live in main.css.
═══════════════════════════════════════════════════════════════ */

/* ── Pricing tier button ── */
.btn-tier {
  display: block;
  text-align: center;
  padding: 12px 24px;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn-tier:hover { background: rgba(0, 0, 0, 0.04); }

.btn-tier:focus-visible {
  outline: 2px solid var(--color-green);
  outline-offset: 2px;
}

.btn-tier--green {
  background: var(--color-green);
  border-color: var(--color-green);
  color: var(--bg);
}

.btn-tier--green:hover {
  background: var(--bg);
  border-color: var(--color-green);
  color: var(--color-green);
}

/* ── Header + tier grid ── */
.pricing-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.pricing-header {
  max-width: 600px;
  margin-bottom: 64px;
}

.pricing-header .section-heading {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 16px;
}

.pricing-intro {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.pricing-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.pricing-tier {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.pricing-tier--featured {
  border-color: var(--color-green);
  border-width: 1.5px;
}

.tier-top {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tier-name {
  font-size: var(--text-lg);
  color: var(--text);
  margin: 0;
}

.tier-price {
  font-size: 28px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}

.tier-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.tier-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.tier-features li {
  font-size: 14px;
  color: var(--text);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.tier-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-green);
}

/* summary density (front page): cards have no feature list, so the CTA
   hugs the description instead of hanging at a stretched card's foot */
.pricing-tiers--summary .pricing-tier { gap: 24px; }

.pricing-tiers--summary .tier-top { flex: 1; }

/* "Full pricing and add-ons →" line under the front-page summary grid */
.pricing-more {
  margin: -32px 0 0;
  font-size: 15px;
}

.pricing-more a {
  color: var(--color-green-text);
  font-weight: 500;
  text-decoration: none;
}

.pricing-more a:hover { text-decoration: underline; }

/* ── Add-on tables ── */
.pricing-addons {
    border-top: 1px solid var(--border);
    padding-top: 48px;
}

.addons-heading {
    font-family: var(--font-sans);
    font-size: 28px;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 40px;
}

.addon-group {
    margin-bottom: 32px;
}

.addon-group:last-of-type {
    margin-bottom: 0;
}

.addon-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 12px 0;
    border-top: 1px solid var(--border);
    gap: 24px;
}

.addon-row:last-of-type {
    border-bottom: 1px solid var(--border);
}

.addon-item {
    font-size: 14px;
    color: var(--text);
    line-height: 1.4;
}

.addon-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    flex-shrink: 0;
}

.addon-inline-note {
    margin-top: 8px;
}

.pricing-note {
    margin-top: 28px;
    padding-top: 16px;
    margin-bottom: 0;
}

/* minimal density — a single "from €800" line */
.pricing-minimal {
    font-size: 15px;
    color: var(--muted);
}

/* ═══════════════════════════════════════════════════════════════
   /pricing/ PAGE SECTIONS (page-pricing.php only)
═══════════════════════════════════════════════════════════════ */

.pp-hero {
    padding: var(--space-xl) 0 var(--space-lg);
}

.pp-hero-sub {
    font-size: var(--text-lg);
    color: var(--text);
    margin: 16px 0 12px;
}

.pp-hero-why {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.7;
    max-width: 640px;
    margin: 0;
}

.pp-section {
    padding: var(--space-section) 0;
}

/* ── Site audit — the lowest-commitment entry point ── */
.pp-audit {
    background: var(--bg-cream);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 36px 32px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px 48px;
    align-items: start;
}

.pp-audit-price {
    font-size: 40px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text);
    line-height: 1;
}

.pp-audit-title {
    font-size: var(--text-lg);
    margin: 0 0 12px;
}

.pp-audit-body {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.7;
    margin: 0 0 12px;
}

.pp-audit-credit {
    font-size: 15px;
    color: var(--text);
    font-weight: 500;
    margin: 0;
}

/* ── Terms — plain, unstyled, directly under the grid ── */
.pp-terms {
    list-style: none;
    margin: 40px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pp-terms li {
    font-size: 14px;
    color: var(--muted);
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.pp-terms li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-green);
}

/* ── What changes the price — the prose that earns the traffic ── */
.pp-prose {
    max-width: 720px;
}

.pp-prose h2 {
    font-size: clamp(24px, 3vw, 32px);
    margin-bottom: 20px;
}

.pp-prose p {
    font-size: 15px;
    color: var(--text);
    line-height: 1.8;
    margin: 0 0 16px;
}

/* ── FAQ — native details/summary accordion, keyboard-accessible ── */
.pp-faq {
    max-width: 720px;
}

.pp-faq h2 {
    font-size: clamp(24px, 3vw, 32px);
    margin-bottom: 24px;
}

.pp-faq details {
    border-top: 1px solid var(--border);
}

.pp-faq details:last-of-type {
    border-bottom: 1px solid var(--border);
}

.pp-faq summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 32px 18px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
    position: relative;
}

.pp-faq summary::-webkit-details-marker { display: none; }

.pp-faq summary::after {
    content: '+';
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: 400;
    color: var(--color-green);
}

.pp-faq details[open] summary::after { content: '\2212'; }

.pp-faq summary:focus-visible {
    outline: 2px solid var(--color-green);
    outline-offset: 2px;
}

.pp-faq-a {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
    padding: 0 0 20px;
}

/* ── Responsive ── */
@media (max-width: 860px) {
    .pricing-tiers { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .pricing-tiers { grid-template-columns: 1fr; }

    .addon-row {
        flex-direction: column;
        gap: 4px;
    }

    .addon-price { font-size: 13px; }

    .pp-hero { padding: var(--space-lg) 0 var(--space-md); }

    .pp-audit {
        grid-template-columns: 1fr;
    }

    .pp-audit-price { order: -1; }
}
