/* ============================================
   PALMER NUTRITION — PRICING PAGE
   ============================================ */

/* Hero */
.pricing-hero {
    background: var(--ink);
    padding: 6rem 0 5rem;
    text-align: center;
}

.pricing-hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 300;
    color: var(--white);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.pricing-hero-title em {
    font-style: italic;
    color: var(--gold);
}

.pricing-hero-sub {
    font-size: 1rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.75;
    max-width: 520px;
    margin: 0 auto;
}

/* Toggle */
.pricing-toggle-bar {
    background: var(--white);
    border-bottom: 1px solid var(--stone-mid);
    padding: 1.25rem 0;
    position: sticky;
    top: 72px;
    z-index: 100;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.toggle-btn {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #aaa;
    background: none;
    border: 1px solid var(--stone-mid);
    padding: 0.55rem 1.25rem;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.toggle-btn.active {
    background: var(--ink);
    color: var(--white);
    border-color: var(--ink);
}

.toggle-badge {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--gold);
    color: var(--white);
    padding: 0.2rem 0.5rem;
}

/* Pricing section */
.pricing-section {
    padding: 5rem 0 4rem;
    background: var(--off-white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5px;
    background: var(--stone-mid);
    margin-bottom: 2.5rem;
}

/* Cards */
.pricing-card {
    background: var(--off-white);
}

.pricing-card--featured {
    background: var(--white);
    position: relative;
}

.pricing-card--featured::before {
    content: 'Most Popular';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--gold);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-align: center;
    padding: 0.4rem;
}

.pricing-card-inner {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card--featured .pricing-card-inner {
    padding-top: 3.75rem;
}

/* Card header */
.package-eyebrow {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.package-name {
    font-family: var(--font-serif);
    font-size: 1.9rem;
    font-weight: 300;
    color: var(--ink);
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.package-summary {
    font-size: 0.875rem;
    line-height: 1.75;
    color: #777;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--stone-mid);
}

/* Price */
.pricing-card-price {
    margin-bottom: 2rem;
}

.price-amount {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 300;
    color: var(--ink);
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 0.35rem;
}

.price-cadence {
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    color: #aaa;
    font-weight: 500;
}

.price-sixmonth {
    margin-top: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sixmonth-total {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--ink);
}

.sixmonth-saving {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--gold);
    padding: 0.2rem 0.6rem;
}

/* Includes list */
.package-includes {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.package-includes li {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #444;
}

.include-icon {
    color: var(--gold);
    font-size: 0.55rem;
    flex-shrink: 0;
    position: relative;
    top: -1px;
}

/* Card CTA */
.pricing-card-cta {
    margin-top: auto;
}

.pricing-card-cta .btn-luxury,
.pricing-card-cta .btn-luxury-outline {
    width: 100%;
    justify-content: center;
}

.cta-note {
    margin-top: 0.75rem;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    color: #bbb;
    text-align: center;
}

/* Pricing footnote */
.pricing-note {
    font-size: 0.82rem;
    color: #aaa;
    text-align: center;
    line-height: 1.7;
    max-width: 540px;
    margin: 0 auto;
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.comparison-section {
    padding: var(--section-pad) 0;
    background: var(--stone);
}

.comparison-section .section-eyebrow {
    margin-bottom: 1rem;
}

.comparison-section .section-title-serif {
    margin-bottom: 3.5rem;
}

.comparison-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--stone);
}

.comparison-table thead th {
    padding: 1.25rem 1.5rem;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink);
    text-align: center;
    border-bottom: 2px solid var(--stone-mid);
}

.comparison-table thead th span {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0;
    text-transform: none;
    color: var(--gold);
    margin-top: 0.25rem;
}

.col-feature { text-align: left !important; width: 40%; }
.col-tier     { width: 20%; }

.col-featured {
    background: var(--white);
    position: relative;
}

.col-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold);
}

.comparison-table tbody tr {
    border-bottom: 1px solid var(--stone-mid);
    transition: background 0.2s var(--ease);
}

.comparison-table tbody tr:hover { background: rgba(255,255,255,0.5); }
.comparison-table tbody tr:hover .col-featured { background: var(--white); }

.feature-name {
    padding: 1.1rem 1.5rem;
    font-size: 0.875rem;
    color: #555;
    text-align: left;
}

.check, .cross {
    text-align: center;
    padding: 1.1rem 1.5rem;
    font-size: 0.75rem;
}

.check { color: var(--gold); font-weight: 700; }
.cross  { color: #ccc; font-weight: 400; }

.check.featured, .cross.featured {
    background: var(--white);
}

/* ============================================
   FAQ
   ============================================ */
.faq-section {
    padding: var(--section-pad) 0;
    background: var(--off-white);
}

.faq-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 6rem;
    align-items: start;
}

.faq-header {
    position: sticky;
    top: 8rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid var(--stone-mid);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 0;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--ink);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: color 0.2s var(--ease);
}

.faq-question:hover { color: var(--gold); }

.faq-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    position: relative;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: currentColor;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.faq-icon::before {
    width: 12px;
    height: 1px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-icon::after {
    width: 1px;
    height: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-question[aria-expanded="true"] .faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.faq-question[aria-expanded="true"] { color: var(--gold); }

.faq-answer {
    display: none;
    padding: 0 0 1.75rem;
}

.faq-answer.open { display: block; }

.faq-answer p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #666;
}

.faq-answer p + p {
    margin-top: 1rem;
}

.faq-answer a {
    color: var(--gold);
    text-decoration: underline;
    text-decoration-color: rgba(201, 169, 110, 0.4);
    text-underline-offset: 3px;
    transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}

.faq-answer a:hover {
    color: var(--ink);
    text-decoration-color: var(--gold);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card--featured::before { display: none; }
    .pricing-card--featured .pricing-card-inner { padding-top: 3rem; }
    .pricing-card--featured {
        border-top: 3px solid var(--gold);
    }
    .faq-layout { grid-template-columns: 1fr; gap: 3rem; }
    .faq-header { position: static; }
}

@media (max-width: 768px) {
    .comparison-table thead th { padding: 1rem; font-size: 0.7rem; }
    .feature-name { padding: 1rem; font-size: 0.8rem; }
    .check, .cross { padding: 1rem 0.75rem; }
    .pricing-card-inner { padding: 2.5rem 2rem; }
}

@media (max-width: 640px) {
    .pricing-toggle { flex-direction: column; align-items: stretch; }
    .toggle-btn { justify-content: center; }
    .pricing-hero { padding: 4rem 0 3.5rem; }
}