/* ================================
   Renewal Lab — Shared Product Page Stylesheet
   Design tokens and components match index.html so
   /products/* pages feel like one site, not a bolt-on.
   ================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --sand: #FBF8F4;
    --warm-white: #FFFFFF;
    --terracotta: #C4836A;
    --terracotta-text: #9b573b;
    --forest: #3D5A4C;
    --deep-green: #2A3F34;
    --text: #2D2D2D;
    --text-muted: #6B6B6B;
    --blush: #E8D5CC;
    --radius-card: 24px;
    --radius-button: 100px;
    --shadow-card: 0 4px 24px rgba(0,0,0,0.06);
    --shadow-hover: 0 8px 32px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--sand);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
}

h1, h2, h3, h4 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 400;
    color: var(--deep-green);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(251, 248, 244, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 24px;
}

.logo {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 24px;
    font-weight: 500;
    color: var(--deep-green);
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--forest);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-button);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

.btn-primary:hover {
    background: var(--deep-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: white;
    color: var(--forest);
    border: 2px solid var(--forest);
}

.btn-secondary:hover {
    background: var(--forest);
    color: white;
}

.btn-white {
    background: white;
    color: var(--forest);
}

.btn-white:hover {
    background: var(--sand);
    transform: translateY(-2px);
}

/* Breadcrumb */
.breadcrumb {
    padding: 128px 0 0;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    list-style: none;
    font-size: 14px;
    color: var(--text-muted);
}

.breadcrumb-list a {
    color: var(--text-muted);
    transition: var(--transition);
}

.breadcrumb-list a:hover {
    color: var(--forest);
}

.breadcrumb-list li[aria-current] {
    color: var(--deep-green);
    font-weight: 500;
}

/* Product Hero */
.product-hero {
    padding: 32px 0 72px;
    position: relative;
    overflow: hidden;
}

.product-hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--blush) 0%, transparent 70%);
    opacity: 0.6;
    pointer-events: none;
}

.product-hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 48px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blush);
    padding: 8px 16px;
    border-radius: var(--radius-button);
    font-size: 14px;
    font-weight: 500;
    color: var(--deep-green);
    margin-bottom: 24px;
}

.badge svg {
    width: 16px;
    height: 16px;
    color: var(--forest);
}

.product-hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    margin-bottom: 20px;
    font-weight: 300;
}

.product-hero .lede {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.hero-actions .btn svg {
    width: 18px;
    height: 18px;
}

.price-card {
    background: var(--warm-white);
    border-radius: var(--radius-card);
    padding: 32px;
    box-shadow: var(--shadow-card);
}

.price-card__label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.price-card__price {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 40px;
    color: var(--deep-green);
    margin-bottom: 4px;
}

.price-card__price span {
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 400;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.price-card__note {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.price-card ul {
    list-style: none;
    margin-bottom: 24px;
}

.price-card li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 10px;
}

.price-card li svg {
    width: 18px;
    height: 18px;
    color: var(--forest);
    flex-shrink: 0;
    margin-top: 2px;
}

.price-card .btn {
    width: 100%;
    justify-content: center;
}

/* Generic content sections */
.info-section {
    padding: 64px 0;
}

.info-section.alt {
    background: var(--warm-white);
}

.info-section .section-inner {
    max-width: 760px;
}

.info-section h2 {
    font-size: clamp(28px, 3.5vw, 36px);
    margin-bottom: 20px;
}

.info-section p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.info-section p:last-child {
    margin-bottom: 0;
}

.check-list {
    list-style: none;
    margin-top: 20px;
    display: grid;
    gap: 14px;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
    color: var(--text);
}

.check-list li svg {
    width: 20px;
    height: 20px;
    color: var(--forest);
    flex-shrink: 0;
    margin-top: 2px;
}

/* How It Works (reused pattern) */
.steps {
    max-width: 760px;
}

.step {
    display: flex;
    gap: 32px;
    position: relative;
    padding-bottom: 40px;
}

.step:last-child {
    padding-bottom: 0;
}

.step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 27px;
    top: 60px;
    bottom: 0;
    width: 2px;
    background: var(--blush);
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--forest);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces', Georgia, serif;
    font-size: 24px;
    font-weight: 500;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 0;
}

/* FAQ */
.faq-list {
    max-width: 760px;
    display: grid;
    gap: 16px;
}

.faq-item {
    background: var(--warm-white);
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    padding: 4px 24px;
}

.faq-item summary {
    cursor: pointer;
    font-family: 'Fraunces', Georgia, serif;
    font-size: 18px;
    color: var(--deep-green);
    padding: 20px 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

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

.faq-item summary::after {
    content: '+';
    font-size: 22px;
    color: var(--forest);
    flex-shrink: 0;
    transition: var(--transition);
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    color: var(--text-muted);
    font-size: 15px;
    padding-bottom: 20px;
}

/* Disclaimer box */
.disclaimer-box {
    max-width: 760px;
    background: var(--warm-white);
    border: 1px solid rgba(0,0,0,0.06);
    border-left: 4px solid var(--terracotta);
    border-radius: 16px;
    padding: 24px 28px;
    margin-top: 32px;
}

.disclaimer-box p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.disclaimer-box p:last-child {
    margin-bottom: 0;
}

/* Related treatments */
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.related-card {
    background: var(--warm-white);
    border-radius: 18px;
    padding: 20px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    display: block;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.related-card .eyebrow {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--terracotta-text);
    margin-bottom: 6px;
}

.related-card h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.related-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Final CTA */
.final-cta {
    padding: 96px 0;
    background: linear-gradient(135deg, var(--forest) 0%, var(--deep-green) 100%);
    text-align: center;
}

.final-cta h2 {
    color: white;
    font-size: clamp(30px, 4vw, 44px);
    margin-bottom: 16px;
}

.final-cta p {
    color: rgba(255,255,255,0.85);
    font-size: 18px;
    margin-bottom: 32px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta .btn {
    margin-bottom: 16px;
}

.no-commitment {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

/* Footer */
.footer {
    padding: 48px 0;
    text-align: center;
}

.footer-logo {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 20px;
    font-weight: 500;
    color: var(--deep-green);
    margin-bottom: 16px;
}

.footer p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin: 16px 0;
}

.footer-links a {
    font-size: 13px;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--forest);
}

/* Responsive */
@media (max-width: 900px) {
    .product-hero-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .breadcrumb {
        padding-top: 108px;
    }

    .product-hero {
        padding: 24px 0 56px;
    }

    .info-section {
        padding: 48px 0;
    }

    .final-cta {
        padding: 64px 0;
    }
}

@media (max-width: 560px) {
    .related-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
}
