/* Minification failed. Returning unminified contents.
(62,46): run-time error CSS1039: Token not allowed after unary operator: '-bg-surface'
(62,64): run-time error CSS1039: Token not allowed after unary operator: '-bg-surface'
(62,82): run-time error CSS1039: Token not allowed after unary operator: '-bg-surface'
(150,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-subtle'
(164,17): run-time error CSS1039: Token not allowed after unary operator: '-brand-primary'
(181,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(207,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-surface'
(217,17): run-time error CSS1039: Token not allowed after unary operator: '-brand-primary'
(223,17): run-time error CSS1039: Token not allowed after unary operator: '-text-tertiary'
(236,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-surface'
(260,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-subtle'
(288,17): run-time error CSS1039: Token not allowed after unary operator: '-brand-primary'
(294,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(319,17): run-time error CSS1039: Token not allowed after unary operator: '-text-body'
(326,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-subtle'
(333,17): run-time error CSS1039: Token not allowed after unary operator: '-brand-primary'
(357,17): run-time error CSS1039: Token not allowed after unary operator: '-text-body'
(376,17): run-time error CSS1039: Token not allowed after unary operator: '-brand-primary'
(383,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(390,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-subtle'
(395,17): run-time error CSS1039: Token not allowed after unary operator: '-text-tertiary'
(433,17): run-time error CSS1039: Token not allowed after unary operator: '-text-tertiary'
(447,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-surface'
(466,17): run-time error CSS1039: Token not allowed after unary operator: '-brand-primary'
(474,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(486,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(487,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-subtle'
(515,22): run-time error CSS1039: Token not allowed after unary operator: '-brand-primary'
(528,22): run-time error CSS1039: Token not allowed after unary operator: '-brand-primary'
(543,40): run-time error CSS1039: Token not allowed after unary operator: '-text-tertiary'
(544,38): run-time error CSS1039: Token not allowed after unary operator: '-brand-primary'
(597,43): run-time error CSS1039: Token not allowed after unary operator: '-status-success'
(599,41): run-time error CSS1039: Token not allowed after unary operator: '-status-danger'
(619,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-subtle'
(625,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(631,17): run-time error CSS1039: Token not allowed after unary operator: '-brand-primary'
(676,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-surface'
(691,78): run-time error CSS1039: Token not allowed after unary operator: '-bg-surface'
(691,96): run-time error CSS1039: Token not allowed after unary operator: '-bg-surface'
(691,114): run-time error CSS1039: Token not allowed after unary operator: '-bg-surface'
(691,146): run-time error CSS1039: Token not allowed after unary operator: '-bg-surface'
(691,164): run-time error CSS1039: Token not allowed after unary operator: '-bg-surface'
(691,182): run-time error CSS1039: Token not allowed after unary operator: '-bg-surface'
(699,17): run-time error CSS1039: Token not allowed after unary operator: '-status-danger'
(706,17): run-time error CSS1039: Token not allowed after unary operator: '-text-primary'
(721,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(729,17): run-time error CSS1039: Token not allowed after unary operator: '-status-danger'
(735,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-surface'
(757,17): run-time error CSS1039: Token not allowed after unary operator: '-status-success'
(767,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-subtle'
(776,17): run-time error CSS1039: Token not allowed after unary operator: '-brand-primary'
(782,17): run-time error CSS1039: Token not allowed after unary operator: '-text-tertiary'
(790,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(852,17): run-time error CSS1039: Token not allowed after unary operator: '-brand-primary'
(859,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(884,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-surface'
(922,17): run-time error CSS1039: Token not allowed after unary operator: '-brand-primary'
(928,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(934,17): run-time error CSS1039: Token not allowed after unary operator: '-brand-primary'
(950,17): run-time error CSS1039: Token not allowed after unary operator: '-text-secondary'
(970,17): run-time error CSS1039: Token not allowed after unary operator: '-text-tertiary'
(978,17): run-time error CSS1039: Token not allowed after unary operator: '-brand-primary'
(983,17): run-time error CSS1039: Token not allowed after unary operator: '-status-success'
(1063,22): run-time error CSS1039: Token not allowed after unary operator: '-bg-subtle'
(1066,17): run-time error CSS1039: Token not allowed after unary operator: '-text-muted'
(1070,17): run-time error CSS1039: Token not allowed after unary operator: '-brand-primary'
 */
/* ═══════════════════════════════════════════════════════════════
   Barcelona Principles Explainer Page
   Luxury editorial aesthetic - purple/gold brand palette
   ═══════════════════════════════════════════════════════════════ */

/* ── Scroll Progress Bar ── */
.bx-scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #fdb913, #d4a824);
    z-index: 9999;
    transition: width 0.1s linear;
    width: 0;
}

/* ── Scroll Reveal ── */
.bx-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.bx-reveal.bx-revealed {
    opacity: 1;
    transform: translateY(0);
}
.bx-reveal-delay-1 { transition-delay: 0.1s; }
.bx-reveal-delay-2 { transition-delay: 0.2s; }
.bx-reveal-delay-3 { transition-delay: 0.3s; }
.bx-reveal-delay-4 { transition-delay: 0.4s; }

/* ── Hero Section ── */
.bx-hero {
    background: linear-gradient(145deg, #1a0a33 0%, #3d1a6f 40%, #5a2d82 70%, #3d1a6f 100%);
    color: #fff;
    padding: 8rem 2rem 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bx-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(253,185,19,0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 80%, rgba(253,185,19,0.05) 0%, transparent 50%);
    pointer-events: none;
}
.bx-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--bg-surface, var(--bg-surface, var(--bg-surface, #fff))) 0%, transparent 100%);
    pointer-events: none;
}
.bx-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}
.bx-hero-badge {
    display: inline-block;
    background: rgba(253,185,19,0.15);
    border: 1px solid rgba(253,185,19,0.3);
    color: #fdb913;
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    font-family: 'Outfit', sans-serif;
}
.bx-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}
.bx-hero h1 .bx-gold {
    color: #fdb913;
    display: block;
    font-size: 4rem;
}
.bx-hero-sub {
    font-family: 'Rubik', sans-serif;
    font-size: 1.2rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}
.bx-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #fdb913, #d4a824);
    color: #1a0a33;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.5px;
}
.bx-hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(253,185,19,0.3);
    color: #1a0a33;
    text-decoration: none;
}
.bx-scroll-hint {
    position: absolute;
    bottom: 140px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bxBounce 2s infinite;
    color: rgba(255,255,255,0.4);
    font-size: 1.5rem;
}
@keyframes bxBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ── Section Base ── */
.bx-section {
    padding: 6rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}
.bx-section-alt {
    background: var(--bg-subtle, #faf9f6);
}
.bx-section-purple {
    background: linear-gradient(145deg, #1a0a33 0%, #3d1a6f 60%, #5a2d82 100%);
    color: #fff;
}
.bx-section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.bx-section-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--brand-primary, #3d1a6f);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}
.bx-section-purple .bx-section-header h2 {
    color: #fff;
}
.bx-section-header .bx-gold-line {
    width: 60px;
    height: 3px;
    background: #fdb913;
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}
.bx-section-header p {
    font-family: 'Rubik', sans-serif;
    font-size: 1.1rem;
    color: var(--text-secondary, #666);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}
.bx-section-purple .bx-section-header p {
    color: rgba(255,255,255,0.75);
}
.bx-section-number {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fdb913;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

/* ── Stats Bar ── */
.bx-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    padding: 3rem 2rem;
    background: var(--bg-surface, #fff);
    border-bottom: 1px solid #f0ede8;
}
.bx-stat {
    text-align: center;
}
.bx-stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--brand-primary, #3d1a6f);
    line-height: 1;
}
.bx-stat-label {
    font-family: 'Rubik', sans-serif;
    font-size: 0.85rem;
    color: var(--text-tertiary, #888);
    margin-top: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ── Principle Cards ── */
.bx-principles-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.bx-principle-card {
    background: var(--bg-surface, #fff);
    border-radius: 16px;
    border: 1px solid #eee;
    overflow: hidden;
    transition: box-shadow 0.3s, border-color 0.3s;
}
.bx-principle-card:hover {
    border-color: #ddd;
    box-shadow: 0 4px 20px rgba(61,26,111,0.06);
}
.bx-principle-card.bx-open {
    border-color: #fdb913;
    box-shadow: 0 8px 30px rgba(61,26,111,0.1);
}
.bx-principle-header {
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    gap: 1.25rem;
    user-select: none;
    transition: background 0.2s;
}
.bx-principle-header:hover {
    background: var(--bg-subtle, #faf9f6);
}
.bx-principle-num {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
    background: linear-gradient(135deg, #3d1a6f, #5a2d82);
}
.bx-open .bx-principle-num {
    background: linear-gradient(135deg, #fdb913, #d4a824);
    color: #1a0a33;
}
.bx-principle-title-wrap {
    flex: 1;
    min-width: 0;
}
.bx-principle-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-primary, #3d1a6f);
    margin-bottom: 0.2rem;
}
.bx-principle-subtitle {
    font-family: 'Rubik', sans-serif;
    font-size: 0.85rem;
    color: var(--text-muted, #999);
}
.bx-principle-chevron {
    flex-shrink: 0;
    color: #ccc;
    transition: transform 0.3s;
    font-size: 0.9rem;
}
.bx-open .bx-principle-chevron {
    transform: rotate(180deg);
    color: #fdb913;
}
.bx-principle-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.bx-principle-content {
    padding: 0 2rem 2rem;
    border-top: 1px solid #f0ede8;
}
.bx-principle-content p {
    font-family: 'Rubik', sans-serif;
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text-body, #555);
    margin-bottom: 1rem;
}
.bx-principle-content p:last-child {
    margin-bottom: 0;
}
.bx-principle-example {
    background: var(--bg-subtle, #faf9f6);
    border-left: 3px solid #fdb913;
    padding: 1rem 1.25rem;
    border-radius: 0 8px 8px 0;
    margin: 1rem 0;
}
.bx-principle-example strong {
    color: var(--brand-primary, #3d1a6f);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.4rem;
}
.bx-principle-auto {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(61,26,111,0.04), rgba(90,45,130,0.04));
    padding: 1rem 1.25rem;
    border-radius: 10px;
    margin-top: 1rem;
}
.bx-principle-auto i {
    color: #fdb913;
    margin-top: 3px;
    flex-shrink: 0;
}
.bx-principle-auto span {
    font-family: 'Rubik', sans-serif;
    font-size: 0.9rem;
    color: var(--text-body, #555);
    line-height: 1.6;
}

/* ── Wheel Section ── */
.bx-wheel-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.bx-wheel-container {
    max-width: 420px;
    margin: 0 auto;
}
.bx-wheel-explainer h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--brand-primary, #3d1a6f);
    margin-bottom: 1rem;
}
.bx-wheel-explainer p {
    font-family: 'Rubik', sans-serif;
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text-secondary, #666);
    margin-bottom: 1.5rem;
}
.bx-wheel-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-subtle, #faf9f6);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-family: 'Rubik', sans-serif;
    font-size: 0.85rem;
    color: var(--text-tertiary, #888);
    border: 1px dashed #ddd;
}
.bx-wheel-hint i {
    color: #fdb913;
}

/* ── Wheel Builder ── */
.bx-builder-section {
    text-align: center;
    padding: 4rem 2rem;
}
.bx-builder-wheel {
    max-width: 350px;
    margin: 0 auto 2rem;
}
.bx-build-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #3d1a6f, #5a2d82);
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.bx-build-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(61,26,111,0.25);
}
.bx-build-step-label {
    font-family: 'Rubik', sans-serif;
    font-size: 0.9rem;
    color: var(--text-tertiary, #888);
    margin-top: 1rem;
    min-height: 1.5em;
    transition: opacity 0.3s;
}

/* ── CQI Calculator ── */
.bx-calc-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
.bx-calc-inputs {
    background: var(--bg-surface, #fff);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #eee;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.bx-calc-group {
    margin-bottom: 1.75rem;
}
.bx-calc-group:last-child {
    margin-bottom: 0;
}
.bx-calc-label {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--brand-primary, #3d1a6f);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}
.bx-calc-sublabel {
    font-family: 'Rubik', sans-serif;
    font-size: 0.8rem;
    color: var(--text-muted, #999);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}
.bx-calc-select {
    width: 100%;
    padding: 0.6rem 1rem;
    border: 2px solid #eee;
    border-radius: 10px;
    font-family: 'Rubik', sans-serif;
    font-size: 0.9rem;
    color: var(--text-primary, #333);
    background: var(--bg-subtle, #faf9f6);
    cursor: pointer;
    transition: border-color 0.2s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%233d1a6f' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
}
.bx-calc-select:focus {
    outline: none;
    border-color: #fdb913;
}
.bx-calc-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(to right, #e9ecef, #fdb913);
    outline: none;
    cursor: pointer;
}
.bx-calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--brand-primary, #3d1a6f);
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(61,26,111,0.3);
    cursor: pointer;
    transition: transform 0.15s;
}
.bx-calc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}
.bx-calc-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--brand-primary, #3d1a6f);
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(61,26,111,0.3);
    cursor: pointer;
}
.bx-calc-breakdown {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 0.5rem 1.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed #eee;
    font-family: 'Rubik', sans-serif;
    font-size: 0.85rem;
}
.bx-calc-breakdown-label { color: var(--text-tertiary, #888); }
.bx-calc-breakdown-raw { color: var(--brand-primary, #3d1a6f); font-weight: 600; text-align: right; }
.bx-calc-breakdown-contrib { color: #fdb913; font-weight: 700; text-align: right; }

/* CQI Result Panel */
.bx-calc-result {
    background: linear-gradient(145deg, #1a0a33, #3d1a6f, #5a2d82);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    color: #fff;
    position: sticky;
    top: 100px;
}
.bx-calc-result-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.75rem;
}
.bx-calc-result-number {
    font-family: 'Outfit', sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}
.bx-calc-result-bar {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.15);
    border-radius: 4px;
    overflow: hidden;
    margin: 1rem 0;
}
.bx-cqi-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease, background 0.3s;
}
.bx-cqi-green { background: #28a745; }
.bx-cqi-amber { background: #ffc107; }
.bx-cqi-red { background: #dc3545; }
.bx-cqi-rating {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 0.5rem;
}
.bx-cqi-rating.bx-cqi-green { color: var(--status-success, #28a745); }
.bx-cqi-rating.bx-cqi-amber { color: #ffc107; }
.bx-cqi-rating.bx-cqi-red { color: var(--status-danger, #dc3545); }
.bx-calc-formula {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-family: 'Rubik', monospace;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.8;
}
.bx-calc-formula strong {
    color: #fdb913;
}
.bx-preset-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}
.bx-preset-btn {
    background: var(--bg-subtle, #faf9f6);
    border: 1px solid #eee;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-family: 'Rubik', sans-serif;
    font-size: 0.8rem;
    color: var(--text-secondary, #666);
    cursor: pointer;
    transition: all 0.2s;
}
.bx-preset-btn:hover {
    border-color: #fdb913;
    color: var(--brand-primary, #3d1a6f);
}
.bx-preset-btn.active {
    background: #fdb913;
    border-color: #fdb913;
    color: #1a0a33;
    font-weight: 600;
}

/* ── AVE Comparison ── */
.bx-compare-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}
.bx-compare-toggle {
    display: block;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, #3d1a6f, #5a2d82);
    color: #fff;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.bx-compare-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(61,26,111,0.25);
}
.bx-compare-panel {
    display: none;
    animation: bxFadeSlide 0.5s ease;
}
.bx-compare-panel.bx-compare-active {
    display: block;
}
@keyframes bxFadeSlide {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}
.bx-ave-card {
    background: var(--bg-surface, #fff);
    border-radius: 16px;
    border: 2px solid #dc3545;
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.bx-ave-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    height: 6px;
    background: repeating-linear-gradient(90deg, #dc3545, #dc3545 10px, var(--bg-surface, var(--bg-surface, var(--bg-surface, #fff))) 10px, var(--bg-surface, var(--bg-surface, var(--bg-surface, #fff))) 20px);
}
.bx-ave-card .bx-ave-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--status-danger, #dc3545);
    margin-bottom: 1rem;
}
.bx-ave-big-number {
    font-family: 'Outfit', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-primary, #333);
    margin-bottom: 0.5rem;
}
.bx-ave-problems {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.bx-ave-problems li {
    font-family: 'Rubik', sans-serif;
    font-size: 0.9rem;
    color: var(--text-secondary, #666);
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0ede8;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}
.bx-ave-problems li i {
    color: var(--status-danger, #dc3545);
    margin-top: 3px;
    flex-shrink: 0;
}
/* Barcelona panel */
.bx-barcelona-card {
    background: var(--bg-surface, #fff);
    border-radius: 16px;
    border: 2px solid #28a745;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}
.bx-barcelona-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    height: 6px;
    background: linear-gradient(90deg, #28a745, #fdb913);
}
.bx-barcelona-card .bx-bc-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--status-success, #28a745);
    margin-bottom: 1.5rem;
    text-align: center;
}
.bx-bc-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
.bx-bc-metric {
    background: var(--bg-subtle, #faf9f6);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
}
.bx-bc-metric-value {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--brand-primary, #3d1a6f);
    margin-bottom: 0.25rem;
}
.bx-bc-metric-label {
    font-family: 'Rubik', sans-serif;
    font-size: 0.8rem;
    color: var(--text-tertiary, #888);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.bx-bc-breakdown {
    margin-top: 1.25rem;
    font-family: 'Rubik', sans-serif;
    font-size: 0.85rem;
    color: var(--text-secondary, #666);
    text-align: center;
    line-height: 1.8;
    padding-top: 1rem;
    border-top: 1px dashed #e0ddd6;
}

/* ── Journey Timeline ── */
.bx-journey {
    position: relative;
    padding: 2rem 0;
}
.bx-journey::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #fdb913, #3d1a6f);
    transform: translateX(-50%);
}
.bx-journey-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 4rem;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.bx-journey-step.bx-step-visible {
    opacity: 1;
    transform: translateY(0);
}
.bx-journey-step:nth-child(odd) {
    flex-direction: row;
    padding-right: calc(50% + 2rem);
    text-align: right;
}
.bx-journey-step:nth-child(even) {
    flex-direction: row-reverse;
    padding-left: calc(50% + 2rem);
    text-align: left;
}
.bx-journey-dot {
    position: absolute;
    left: 50%;
    top: 0.5rem;
    width: 20px;
    height: 20px;
    background: #fdb913;
    border: 3px solid #fff;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 2px 8px rgba(253,185,19,0.3);
    z-index: 2;
}
.bx-journey-content h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--brand-primary, #3d1a6f);
    margin-bottom: 0.5rem;
}
.bx-journey-content p {
    font-family: 'Rubik', sans-serif;
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-secondary, #666);
    margin: 0;
}
.bx-journey-phase {
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fdb913;
    margin-bottom: 0.3rem;
}
.bx-journey-step:last-child {
    margin-bottom: 0;
}

/* ── Success Score ── */
.bx-ss-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
}
.bx-ss-quadrant {
    background: var(--bg-surface, #fff);
    border-radius: 16px;
    border: 1px solid #eee;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.bx-ss-quadrant:hover {
    border-color: #fdb913;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(61,26,111,0.08);
}
.bx-ss-quadrant.bx-ss-active {
    border-color: #fdb913;
    box-shadow: 0 8px 30px rgba(253,185,19,0.15);
}
.bx-ss-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 1rem;
}
.bx-ss-icon-plan { background: linear-gradient(135deg, #3d1a6f, #5a2d82); }
.bx-ss-icon-exec { background: linear-gradient(135deg, #fdb913, #d4a824); color: #1a0a33; }
.bx-ss-icon-cov { background: linear-gradient(135deg, #28a745, #20c997); }
.bx-ss-icon-out { background: linear-gradient(135deg, #ed174c, #dc3545); }
.bx-ss-quadrant h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-primary, #3d1a6f);
    margin-bottom: 0.3rem;
}
.bx-ss-weight {
    font-family: 'Rubik', sans-serif;
    font-size: 0.8rem;
    color: var(--text-muted, #999);
}
.bx-ss-score {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-primary, #3d1a6f);
    margin: 0.75rem 0 0.3rem;
}
.bx-ss-detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    text-align: left;
}
.bx-ss-active .bx-ss-detail {
    max-height: 200px;
    padding-top: 1rem;
}
.bx-ss-detail p {
    font-family: 'Rubik', sans-serif;
    font-size: 0.85rem;
    color: var(--text-secondary, #666);
    line-height: 1.6;
    margin: 0;
    border-top: 1px solid #f0ede8;
    padding-top: 1rem;
}
.bx-ss-total {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(61,26,111,0.04), rgba(253,185,19,0.04));
    border-radius: 12px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.bx-ss-total-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-tertiary, #888);
    text-transform: uppercase;
    letter-spacing: 2px;
}
.bx-ss-total-number {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--brand-primary, #3d1a6f);
}
.bx-ss-total-rating {
    font-family: 'Rubik', sans-serif;
    font-size: 0.9rem;
    color: var(--status-success, #28a745);
    font-weight: 600;
}

/* ── CTA Section ── */
.bx-cta-section {
    text-align: center;
    padding: 6rem 2rem;
    background: linear-gradient(145deg, #1a0a33 0%, #3d1a6f 50%, #5a2d82 100%);
    color: #fff;
}
.bx-cta-section h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
.bx-cta-section p {
    font-family: 'Rubik', sans-serif;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    max-width: 500px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}
.bx-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #fdb913, #d4a824);
    color: #1a0a33;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}
.bx-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(253,185,19,0.3);
    color: #1a0a33;
    text-decoration: none;
}
.bx-cta-btn-secondary {
    background: linear-gradient(135deg, #3d1a6f, #5a2d82);
    color: #fff;
}
.bx-cta-btn-secondary:hover {
    box-shadow: 0 8px 30px rgba(61,26,111,0.25);
    color: #fff;
}
.bx-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.bx-cta-buttons .bx-cta-btn {
    min-width: 220px;
    justify-content: center;
}
@media (max-width: 768px) {
    .bx-cta-buttons .bx-cta-btn {
        width: 100%;
        max-width: 280px;
    }
}
.bx-cta-free {
    margin-top: 1rem;
    font-family: 'Rubik', sans-serif;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

/* ── AMEC Attribution ── */
.bx-amec {
    text-align: center;
    padding: 2rem;
    background: var(--bg-subtle, #faf9f6);
    font-family: 'Rubik', sans-serif;
    font-size: 0.8rem;
    color: var(--text-muted, #999);
    border-top: 1px solid #f0ede8;
}
.bx-amec a {
    color: var(--brand-primary, #3d1a6f);
    text-decoration: underline;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .bx-hero h1 { font-size: 2.5rem; }
    .bx-hero h1 .bx-gold { font-size: 2.8rem; }
    .bx-wheel-layout { grid-template-columns: 1fr; gap: 2rem; }
    .bx-calc-layout { grid-template-columns: 1fr; }
    .bx-calc-result { position: static; }
    .bx-stats { gap: 2rem; }
    .bx-journey::before { left: 20px; }
    .bx-journey-step:nth-child(odd),
    .bx-journey-step:nth-child(even) {
        flex-direction: row;
        padding-right: 0;
        padding-left: 3.5rem;
        text-align: left;
    }
    .bx-journey-dot {
        left: 20px;
    }
}
@media (max-width: 575px) {
    .bx-hero { padding: 6rem 1.25rem 4rem; min-height: 70vh; }
    .bx-hero h1 { font-size: 2rem; }
    .bx-hero h1 .bx-gold { font-size: 2.2rem; }
    .bx-section { padding: 3rem 1.25rem; }
    .bx-section-header h2 { font-size: 1.8rem; }
    .bx-principle-header { padding: 1rem 1.25rem; }
    .bx-principle-content { padding: 0 1.25rem 1.25rem; }
    .bx-bc-metrics { grid-template-columns: 1fr; }
    .bx-ss-grid { grid-template-columns: 1fr; }
    .bx-stats { gap: 1.5rem; }
    .bx-stat-number { font-size: 2rem; }
    .bx-calc-result-number { font-size: 3.5rem; }
    .bx-cta-section h2 { font-size: 1.8rem; }
    .bx-ave-card { padding: 1.5rem; }
    .bx-ave-big-number { font-size: 2.2rem; }
    .bx-barcelona-card { padding: 1.5rem; }
}

