/* Public /resources/matterport-3d-scans page.
   Built on the --th-* tokens defined in css/public/modern.css; this file only adds
   the before/after embed pair and the promo card that page needs. */

.mp-stat-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.mp-stat {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--th-radius-sm);
    padding: 0.85rem 1.15rem;
    flex: 1 1 160px;
}

.mp-stat-value {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
}

.mp-stat-label {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
}

.mp-embed-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--th-radius-lg);
    overflow: hidden;
    box-shadow: var(--th-shadow-lg);
    background: #0f1419;
}

.mp-embed-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.mp-tour-toggle {
    display: inline-flex;
    gap: 0.4rem;
    padding: 0.3rem;
    margin-bottom: 1rem;
    background: var(--th-bg);
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius-pill);
}

.mp-tour-tab {
    padding: 0.5rem 1.5rem;
    border: 0;
    border-radius: var(--th-radius-pill);
    background: transparent;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--th-text-muted);
    cursor: pointer;
    transition: var(--th-transition-fast);
}

.mp-tour-tab:hover { color: var(--th-primary); }

.mp-tour-tab.active {
    background: var(--th-primary);
    color: #fff;
}

.mp-compare-caption {
    padding: 1.25rem 0.25rem 0;
    color: var(--th-text-muted);
    font-size: 0.95rem;
    text-align: center;
}

.mp-promo-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    background: var(--th-accent-ultra-light);
    border: 1px solid var(--th-accent-light);
    border-radius: var(--th-radius-lg);
    padding: 1.75rem 2rem;
}

.mp-promo-icon {
    width: 64px;
    height: 64px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 16px;
    font-size: 1.75rem;
    color: var(--th-accent-text, #8a6519);
    box-shadow: var(--th-shadow-md);
}

.mp-promo-body {
    flex: 1 1 320px;
}
