/* ===== PRICING PAGE STYLES ===== */
/* Extends theme.css variables. Match the editorial sage-green palette. */

/* ===== PRICING HERO ===== */
.pricing-hero {
  padding: 80px 48px 64px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.pricing-hero::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--sage-light) 0%, transparent 70%);
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.4;
  pointer-events: none;
}

.pricing-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.pricing-hero .section-label {
  margin-bottom: 16px;
}

.pricing-hero h1 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--fg);
  margin-bottom: 20px;
  line-height: 1.1;
}

.pricing-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto;
}

/* ===== NAV ===== */
.nav-links .nav-active {
  color: var(--fg);
  font-weight: 600;
}

.btn-nav-book {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: var(--green);
  color: var(--white) !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: 6px;
  transition: background 0.2s;
}

.btn-nav-book:hover { background: var(--green-light); }

/* ===== TIERS ===== */
.pricing-tiers {
  padding: 80px 48px 64px;
  background: var(--white);
}

.tiers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.tier-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.tier-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(27,61,47,0.08);
}

.tier-featured {
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 8px 32px rgba(27,61,47,0.1);
}

.tier-badge {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: var(--green);
  color: var(--white);
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px;
}

.tier-featured .tier-header {
  padding-top: 48px;
}

.tier-header {
  padding: 32px 32px 24px;
  border-bottom: 1px solid var(--border);
}

.tier-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 16px;
}

.tier-featured .tier-label { color: var(--green); }

.tier-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}

.price-from {
  font-size: 0.85rem;
  color: var(--fg-muted);
  font-weight: 400;
}

.price-amount {
  font-family: 'DM Serif Display', serif;
  font-size: 2.5rem;
  color: var(--fg);
  line-height: 1;
}

.price-per {
  font-size: 1rem;
  color: var(--fg-muted);
}

.tier-price-note {
  font-size: 0.8rem;
  color: var(--fg-muted);
}

.tier-featured .tier-price-note { color: var(--sage); }

.tier-body {
  padding: 28px 32px;
  flex: 1;
}

.tier-description {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

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

.tier-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--fg);
}

.check-icon {
  color: var(--green);
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 0.8rem;
}

.tier-footer {
  padding: 24px 32px 28px;
}

.btn-tier {
  display: block;
  text-align: center;
  padding: 14px;
  border: 1.5px solid var(--green);
  color: var(--green);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  width: 100%;
}

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

.btn-tier-primary {
  background: var(--green);
  color: var(--white);
}

.btn-tier-primary:hover {
  background: var(--green-light);
}

/* ===== PRICING NOTE ===== */
.pricing-note {
  padding: 0 48px 64px;
  background: var(--white);
}

.pricing-note-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
}

.note-icon { flex-shrink: 0; margin-top: 2px; }

.pricing-note-inner p {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

.pricing-note-inner p a {
  color: var(--green);
  font-weight: 500;
}

.pricing-note-inner p strong { color: var(--fg); }

/* ===== ADD-ONS ===== */
.pricing-addons {
  padding: 72px 48px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.addons-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-addons .section-label { margin-bottom: 12px; }

.pricing-addons h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--fg);
  margin-bottom: 12px;
  line-height: 1.1;
}

.addons-sub {
  color: var(--fg-muted);
  font-size: 1rem;
  margin-bottom: 48px;
}

.addons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.addon-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  transition: box-shadow 0.2s;
}

.addon-card:hover {
  box-shadow: 0 4px 16px rgba(27,61,47,0.06);
}

.addon-info h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.addon-info p {
  font-size: 0.8rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

.addon-price {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  color: var(--green);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ===== FAQ ===== */
.pricing-faq {
  padding: 72px 48px;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.faq-inner {
  max-width: 760px;
  margin: 0 auto;
}

.pricing-faq .section-label { margin-bottom: 12px; }

.pricing-faq h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--fg);
  margin-bottom: 48px;
  line-height: 1.1;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--fg);
}

.faq-item p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

.faq-item p a {
  color: var(--green);
  font-weight: 500;
}

/* ===== CTA ===== */
.pricing-cta {
  padding: 100px 48px;
  background: var(--green);
  text-align: center;
}

.pricing-cta-inner {
  max-width: 520px;
  margin: 0 auto;
}

.pricing-cta h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--white);
  margin-bottom: 16px;
}

.pricing-cta p {
  color: rgba(250,250,248,0.75);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 36px;
}

.btn-cta {
  display: inline-block;
  padding: 16px 40px;
  background: var(--white);
  color: var(--green);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s;
  margin-bottom: 16px;
}

.btn-cta:hover { background: var(--sage-light); transform: translateY(-1px); }

.cta-note {
  color: rgba(250,250,248,0.55) !important;
  font-size: 0.82rem !important;
  margin-bottom: 0 !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .tiers-grid { grid-template-columns: 1fr 1fr; }
  .addons-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .pricing-hero { padding: 60px 32px 48px; }
  .pricing-tiers { padding: 56px 24px 48px; }
  .tiers-grid { grid-template-columns: 1fr; max-width: 440px; }
  .pricing-note { padding: 0 24px 48px; }
  .pricing-addons { padding: 56px 24px; }
  .addons-grid { grid-template-columns: 1fr; }
  .pricing-faq { padding: 56px 24px; }
  .pricing-cta { padding: 72px 24px; }
  .nav { padding: 16px 24px; }
  .nav-links { display: none; }
}

@media (max-width: 480px) {
  .pricing-hero h1 { font-size: 2rem; }
  .tier-header, .tier-body, .tier-footer { padding-left: 24px; padding-right: 24px; }
}