/* valuation-tool.css — IMERGEA Enhanced Style */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ─── Root Variables ─── */
:root {
    --primary-dark: #0a1120;
    --primary-mid: #0f1629;
    --primary-gold: #d4af37;
    --gold-light: #e8cc6a;
    --gold-dim: rgba(212, 175, 55, 0.15);
    --secondary-blue: #1a2e52;
    --text-primary: #1a1a2e;
    --text-secondary: #5a6a7e;
    --text-light: #ffffff;
    --background-body: #f7f8fa;
    --background-white: #ffffff;
    --background-section: #f2f4f7;
    --background-header: rgba(10, 17, 32, 0.95);
    --border-color: rgba(10, 17, 32, 0.09);
    --border-gold: rgba(212, 175, 55, 0.3);
    --shadow-card: 0 4px 24px rgba(10, 17, 32, 0.07);
    --shadow-lifted: 0 12px 40px rgba(10, 17, 32, 0.11);
    --shadow-nav: 0 4px 20px rgba(0, 0, 0, 0.18);
    --transition-normal: all 0.3s ease;
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', 'Segoe UI', sans-serif;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
}

[data-theme="dark"] {
    --text-primary: #f0f0f0;
    --text-secondary: #a0afc0;
    --background-body: #12121a;
    --background-white: #1c1c28;
    --background-section: #1a1a24;
    --border-color: rgba(255, 255, 255, 0.07);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-lifted: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* ─── Reset ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background-color: var(--background-body);
    color: var(--text-primary);
    line-height: 1.65;
    padding-top: 74px;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

/* ─── Header ─── */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: var(--background-header);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-nav);
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 88%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 0;
}

.logo img { height: 42px; }

.back-to-home {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition-normal);
}
.back-to-home:hover { color: var(--primary-gold); }

/* ─── Page Hero ─── */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-blue) 100%);
    padding: 64px 24px 56px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 55% at 50% 115%, rgba(212,175,55,0.13) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.28);
    color: var(--primary-gold);
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 18px;
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 600;
    color: var(--text-light);
    line-height: 1.2;
    margin-bottom: 14px;
}

.page-hero h1 em { font-style: italic; color: var(--primary-gold); }

.page-hero p {
    font-size: 1rem;
    color: rgba(255,255,255,0.65);
    max-width: 580px;
    margin: 0 auto 28px;
    line-height: 1.7;
}

.hero-methods {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 680px;
    margin: 0 auto;
}

.method-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.75);
    font-size: 0.77rem;
    padding: 5px 14px;
    border-radius: 50px;
}
.method-pill i { color: var(--primary-gold); font-size: 0.68rem; }

/* ─── Container ─── */
.tool-container {
    width: 88%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 0 64px;
}

/* ─── Trust Bar ─── */
.trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 18px 24px;
    background: var(--background-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    margin-bottom: 32px;
    border: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--text-secondary);
    font-size: 0.83rem;
}
.trust-item i { color: var(--primary-gold); }
.trust-item strong { color: var(--text-primary); font-weight: 600; }
.trust-sep { width: 1px; height: 22px; background: var(--border-color); }

/* ─── Multi-step Form ─── */
.multi-step-form {
    background: var(--background-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lifted);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

/* ─── Progress ─── */
.form-progress {
    display: flex;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-blue) 100%);
    padding: 22px 32px;
    position: relative;
}

.progress-step { flex: 1; text-align: center; color: var(--text-light); position: relative; z-index: 1; }

.step-number {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 9px;
    font-weight: 600; font-size: 0.88rem;
    transition: var(--transition-normal);
}

.step-name { font-size: 0.76rem; opacity: 0.6; letter-spacing: 0.02em; transition: var(--transition-normal); }

.progress-step.active .step-number {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: var(--primary-dark);
    box-shadow: 0 0 18px rgba(212,175,55,0.45);
}
.progress-step.active .step-name { opacity: 1; font-weight: 500; color: var(--primary-gold); }
.progress-step.completed .step-number { background: rgba(212,175,55,0.85); border-color: var(--primary-gold); color: var(--primary-dark); }
.progress-step.completed .step-number::after { content: '✓'; }

.progress-bar {
    position: absolute;
    bottom: 0; left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, var(--primary-gold), var(--gold-light));
    transition: width 0.4s cubic-bezier(0.4,0,0.2,1);
    border-radius: 0 2px 0 0;
}

/* ─── Form Content ─── */
.form-steps { padding: 42px 48px; }
.form-step { display: none; }
.form-step.active { display: block; }

.form-title {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 600;
    margin-bottom: 26px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.notice-box {
    background: rgba(212,175,55,0.04);
    border: 1px solid var(--border-gold);
    border-left: 3px solid var(--primary-gold);
    border-radius: var(--radius-sm);
    padding: 13px 16px;
    margin-bottom: 26px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}
.notice-box strong { color: var(--text-primary); }

.form-group { margin-bottom: 20px; }

.form-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 0.86rem;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--background-white);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.88rem;
    transition: var(--transition-normal);
}
.form-control:hover { border-color: rgba(10,17,32,0.2); }
.form-control:focus { border-color: var(--primary-gold); outline: none; box-shadow: 0 0 0 3px rgba(212,175,55,0.12); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.input-group { position: relative; }
.input-group .form-control { padding-left: 40px; }
.input-group-text {
    position: absolute;
    left: 14px; top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
}

.input-help { display: flex; align-items: center; gap: 6px; font-size: 0.79rem; color: var(--text-secondary); margin-top: 5px; }

.tooltip { position: relative; display: inline-flex; cursor: pointer; color: var(--text-secondary); }

.tooltip .tooltip-text {
    visibility: hidden;
    width: 210px;
    background: var(--primary-dark);
    color: var(--text-light);
    text-align: left;
    border-radius: var(--radius-sm);
    padding: 10px 13px;
    position: absolute;
    z-index: 10;
    bottom: 130%; left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.2s;
    font-size: 0.79rem;
    line-height: 1.5;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(212,175,55,0.14);
}
.tooltip .tooltip-text::after {
    content: '';
    position: absolute;
    top: 100%; left: 50%;
    margin-left: -5px;
    border: 5px solid transparent;
    border-top-color: var(--primary-dark);
}
.tooltip:hover .tooltip-text { visibility: visible; opacity: 1; }

.select-control {
    width: 100%;
    padding: 11px 38px 11px 14px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--background-white);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.88rem;
    transition: var(--transition-normal);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%235a6a7e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 13px;
    cursor: pointer;
}
.select-control:hover { border-color: rgba(10,17,32,0.2); }
.select-control:focus { border-color: var(--primary-gold); outline: none; box-shadow: 0 0 0 3px rgba(212,175,55,0.12); }

/* Company type radios */
.company-type-selector { display: flex; gap: 20px; }
.type-radio-label { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 0.88rem; }
.type-radio-label input[type="radio"] { accent-color: var(--primary-gold); width: 15px; height: 15px; cursor: pointer; }

/* Section sub-heading */
.section-divider {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin: 26px 0 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.section-divider::after { content: ''; flex: 1; height: 1px; background: var(--border-color); }
.section-description { font-size: 0.83rem; color: var(--text-secondary); margin: -8px 0 16px; line-height: 1.5; }

/* ─── Form Buttons ─── */
.form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 38px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    gap: 12px;
}

.btn {
    padding: 11px 26px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-family: var(--font-body);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-normal);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.02em;
    border: none;
}

.btn-prev {
    background: var(--background-section);
    color: var(--text-secondary);
    border: 1.5px solid var(--border-color);
}
.btn-prev:hover { background: var(--border-color); color: var(--text-primary); }

.btn-next {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-blue) 100%);
    color: var(--text-light);
    margin-left: auto;
}
.btn-next:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(10,17,32,0.3); }

.btn-submit {
    background: linear-gradient(135deg, var(--primary-gold) 0%, #b8952a 100%);
    color: var(--primary-dark);
    margin-left: auto;
    box-shadow: 0 4px 14px rgba(212,175,55,0.28);
}
.btn-submit:hover { opacity: 0.92; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(212,175,55,0.4); }

/* ─── Results Section ─── */
.results-section { display: none; padding: 42px 48px; }

.results-header { text-align: center; margin-bottom: 32px; }
.results-header h2 { font-family: var(--font-display); font-size: 1.85rem; font-weight: 600; color: var(--text-primary); margin-bottom: 6px; }
.results-header p { color: var(--text-secondary); font-size: 0.88rem; }

.valuation-summary {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-blue) 100%);
    border-radius: var(--radius-md);
    padding: 36px;
    margin-bottom: 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.valuation-summary::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 110%, rgba(212,175,55,0.14) 0%, transparent 65%);
}
.valuation-summary h3 {
    color: rgba(255,255,255,0.55);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 10px;
    position: relative;
}
.valuation-range {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--primary-gold);
    margin: 10px 0;
    position: relative;
}
.valuation-note { font-size: 0.82rem; color: rgba(255,255,255,0.45); font-style: italic; position: relative; }

.valuation-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.method-card {
    background: var(--background-white);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1.5px solid var(--border-color);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}
.method-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.method-card:hover { border-color: var(--border-gold); box-shadow: var(--shadow-lifted); transform: translateY(-2px); }
.method-card:hover::before { opacity: 1; }

.method-card h3 { font-family: var(--font-body); font-size: 0.88rem; font-weight: 600; margin-bottom: 10px; color: var(--text-primary); display: flex; align-items: center; gap: 9px; }
.method-card h3 i { color: var(--primary-gold); }
.method-value { font-family: var(--font-display); font-size: 1.85rem; font-weight: 700; margin: 12px 0 9px; color: var(--primary-dark); }
.method-explanation { color: var(--text-secondary); font-size: 0.83rem; line-height: 1.6; }
.calculation-note { padding: 11px 0 0; margin-top: 12px; border-top: 1px solid var(--border-color); font-size: 0.81rem; color: var(--text-secondary); line-height: 1.55; }
.calculation-note strong { color: var(--primary-gold); font-weight: 600; }

.next-steps {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-blue) 100%);
    border-radius: var(--radius-md);
    padding: 34px;
    margin-top: 36px;
    color: var(--text-light);
}
.next-steps h3 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 8px; color: var(--primary-gold); }
.next-steps p { margin-bottom: 22px; opacity: 0.78; font-size: 0.9rem; line-height: 1.65; max-width: 560px; }
.next-steps-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-gold { background: linear-gradient(135deg, var(--primary-gold) 0%, #b8952a 100%); color: var(--primary-dark); font-weight: 700; }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(212,175,55,0.4); }
.btn-outline { background: transparent; color: var(--text-light); border: 1.5px solid rgba(255,255,255,0.28) !important; }
.btn-outline:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.5) !important; }

.email-confirmation {
    text-align: center;
    margin-top: 26px;
    padding: 18px;
    background: rgba(212,175,55,0.05);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    font-size: 0.86rem;
    color: var(--text-secondary);
}
.email-confirmation i { font-size: 1.5rem; color: var(--primary-gold); display: block; margin-bottom: 8px; }

/* ─── FAQ ACCORDION ─── */
.faq-section { margin-top: 64px; }

.faq-header { text-align: center; margin-bottom: 38px; }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-gold);
    margin-bottom: 12px;
}
.section-label::before, .section-label::after { content: ''; display: inline-block; width: 24px; height: 1px; background: var(--border-gold); }

.faq-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}
.faq-header p { color: var(--text-secondary); font-size: 0.9rem; max-width: 500px; margin: 0 auto; }

.faq-grid {
    background: var(--background-white);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    transition: background 0.2s;
}
.faq-item:nth-child(even) { border-right: none; }
.faq-item:nth-last-child(-n+2):not(:last-child:nth-child(odd)) { border-bottom: none; }
.faq-item:last-child:nth-child(odd) { grid-column: span 2; border-right: none; border-bottom: none; }
.faq-item:last-child { border-bottom: none; }

.faq-question {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
    transition: var(--transition-normal);
}

.faq-question-text { font-size: 0.9rem; font-weight: 600; color: var(--text-primary); line-height: 1.45; flex: 1; }

.faq-icon {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--background-section);
    border: 1.5px solid var(--border-color);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-normal);
    margin-top: 1px;
}
.faq-icon i { font-size: 0.62rem; color: var(--text-secondary); transition: transform 0.3s, color 0.3s; }

.faq-item.open .faq-icon { background: var(--primary-gold); border-color: var(--primary-gold); }
.faq-item.open .faq-icon i { transform: rotate(180deg); color: var(--primary-dark); }
.faq-item.open .faq-question-text { color: var(--primary-gold); }
.faq-item:hover { background: rgba(10,17,32,0.02); }
.faq-item.open { background: rgba(212,175,55,0.02); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1); }

.faq-answer-inner {
    padding: 0 24px 20px;
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.7;
    border-top: 1px solid var(--border-color);
    padding-top: 14px;
}
.faq-answer-inner a { color: var(--primary-gold); text-decoration: none; font-weight: 500; }
.faq-answer-inner a:hover { text-decoration: underline; }

.faq-item.open .faq-answer { max-height: 400px; }

/* ─── CTA Strip ─── */
.cta-strip {
    margin-top: 56px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-blue) 100%);
    border-radius: var(--radius-lg);
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    position: relative;
    overflow: hidden;
}
.cta-strip::before {
    content: '';
    position: absolute;
    right: -50px; top: -50px;
    width: 200px; height: 200px;
    border-radius: 50%;
    border: 1px solid rgba(212,175,55,0.08);
    pointer-events: none;
}
.cta-strip::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
    opacity: 0.5;
}
.cta-text h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--text-light); margin-bottom: 8px; }
.cta-text p { font-size: 0.9rem; color: rgba(255,255,255,0.62); line-height: 1.65; max-width: 440px; }
.cta-actions { flex-shrink: 0; display: flex; gap: 12px; flex-wrap: wrap; }

/* ─── Responsive ─── */
@media (max-width: 900px) {
    .faq-grid { grid-template-columns: 1fr; }
    .faq-item { border-right: none; }
    .faq-item:last-child:nth-child(odd) { grid-column: span 1; }
    .cta-strip { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 768px) {
    body { padding-top: 68px; }
    .form-steps, .results-section { padding: 24px 20px; }
    .form-progress { padding: 16px 18px; }
    .form-row { grid-template-columns: 1fr; }
    .step-name { display: none; }
    .trust-sep { display: none; }
    .trust-bar { gap: 14px; }
    .valuation-methods { grid-template-columns: 1fr; }
    .next-steps-buttons { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
    .cta-strip { padding: 30px 24px; }
    .cta-actions { width: 100%; }
}
@media (max-width: 480px) {
    .tool-container { width: 96%; }
    .hero-methods { display: none; }
    .trust-bar { justify-content: flex-start; }
}

/* ═══════════════════════════════════════════════════════════════
   VALUATION TOOL — EXTENDED STYLES
   Added: Asset total bar, Dumbbell chart, Opportunity cards
   These extend valo.css and are shared with valuation-tool.html
═══════════════════════════════════════════════════════════════ */

/* ─── Asset Total Live Display ─── */
.asset-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(212, 175, 55, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: var(--radius-sm);
    padding: 9px 15px;
    margin: 4px 0 18px;
    font-size: 0.85rem;
}
.asset-total-label { color: var(--text-secondary); font-weight: 500; }
.asset-total-val   { color: var(--primary-gold); font-weight: 700; }

/* ─── Corridor Section Header ─── */
.corridor-section  { margin: 36px 0; }
.corridor-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.corridor-subtitle {
    font-size: 0.84rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* ─── Dumbbell Plot ─── */
.dumbbell-wrap {
    background: var(--background-white);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px 30px 20px;
    box-shadow: var(--shadow-card);
}

.dumbbell-row {
    display: grid;
    grid-template-columns: 152px 1fr 90px;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.db-label {
    font-size: 0.81rem;
    font-weight: 600;
    color: var(--text-primary);
}

.db-track {
    position: relative;
    height: 32px;
}

/* baseline spine — horizontal line connecting whiskers */
.db-spine {
    position: absolute;
    top: 50%;
    height: 2px;
    background: var(--border-color);
    transform: translateY(-50%);
    border-radius: 1px;
}

/* vertical whisker caps at ±15% */
.db-whisker {
    position: absolute;
    top: 50%;
    width: 2px;
    height: 14px;
    background: currentColor;
    transform: translate(-50%, -50%);
    border-radius: 1px;
    opacity: 0.55;
}

/* centre dot — point estimate */
.db-dot {
    position: absolute;
    top: 50%;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    border: 2.5px solid #fff;
    box-shadow: 0 0 0 1.5px currentColor;
    z-index: 2;
}

/* corridor band — shared gold dashed overlay */
.db-corridor {
    position: absolute;
    top: 4px;
    bottom: 4px;
    border-radius: 3px;
    background: rgba(212, 175, 55, 0.13);
    border: 1.5px dashed rgba(212, 175, 55, 0.5);
    z-index: 1;
}

.db-val {
    font-size: 0.81rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: right;
    white-space: nowrap;
    line-height: 1.3;
}

/* legend row */
.db-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
}
.db-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.77rem;
    color: var(--text-secondary);
}
.db-dot-sm {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* axis tick labels */
.db-axis {
    position: relative;
    height: 18px;
    margin-bottom: 4px;
}
.db-tick {
    position: absolute;
    top: 0;
    font-size: 0.66rem;
    color: var(--text-secondary);
    transform: translateX(-50%);
    white-space: nowrap;
}

/* corridor header row styling */
.dumbbell-row.is-corridor .db-label {
    color: var(--primary-gold);
    font-size: 0.77rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.dumbbell-row.is-corridor .db-val { color: var(--primary-gold); }

/* ─── KPI / Value-Creation Section Header ─── */
.kpi-section { margin: 36px 0; }
.kpi-hdr     { margin-bottom: 20px; }
.kpi-hdr h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.kpi-hdr p {
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ─── Opportunity Cards (mirror blue-chip benchmarking tool style) ─── */
.opp-card {
    background: var(--background-white);
    border: 1.5px solid var(--border-color);
    border-left: 4px solid var(--primary-gold);
    border-radius: var(--radius-md);
    padding: 22px 26px;
    margin-bottom: 18px;
    box-shadow: var(--shadow-card);
}

.opp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 10px;
}
.opp-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}
.opp-value {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--primary-gold);
}
.opp-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 14px;
}

.opp-strategies {
    background: var(--background-section);
    border-radius: var(--radius-sm);
    padding: 14px;
}
.opp-strategies-title {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}
.opp-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.opp-list li {
    padding: 7px 0 7px 22px;
    position: relative;
    font-size: 0.88rem;
    color: var(--text-primary);
    line-height: 1.5;
    border-bottom: 1px solid var(--border-color);
}
.opp-list li:last-child { border-bottom: none; }
.opp-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-weight: 700;
}

/* ─── KPI State Cards (no gap / no data) ─── */
.kpi-ok {
    background: var(--background-white);
    border: 1.5px solid rgba(80, 200, 120, 0.35);
    border-radius: var(--radius-md);
    padding: 28px;
    text-align: center;
    color: var(--text-secondary);
    box-shadow: var(--shadow-card);
}
.kpi-ok i {
    color: #27ae60;
    font-size: 2rem;
    margin-bottom: 9px;
    display: block;
}

.kpi-na {
    background: var(--background-section);
    border-radius: var(--radius-md);
    padding: 22px 26px;
    font-size: 0.84rem;
    color: var(--text-secondary);
    text-align: center;
    border: 1.5px dashed var(--border-color);
}

/* ─── Responsive additions ─── */
@media (max-width: 640px) {
    .dumbbell-row      { grid-template-columns: 90px 1fr 60px; }
    .dumbbell-wrap     { padding: 18px 12px; }
    .opp-header        { flex-direction: column; }
    .opp-value         { font-size: 1.2rem; }
}

/* ═══════════════════════════════════════════════════════════════
   VALUATION TOOL — FAQ ACCORDION (Step 1)
═══════════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════════
   VALUATION TOOL — IN-FORM FAQ ACCORDION
   Ported from the working FAQ style used across IMERGEA pages,
   adapted to valo.css design tokens.
═══════════════════════════════════════════════════════════════ */
.vt-faq {
    margin-top: 8px;
}

.vt-faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.vt-faq-item:last-child { margin-bottom: 0; }
.vt-faq-item.open { box-shadow: 0 2px 12px rgba(10,17,32,0.07); }

.vt-faq-q {
    width: 100%;
    background: #fafafa;
    border: none;
    padding: 14px 18px;
    text-align: left;
    font-family: var(--font-body);
    font-size: 0.93rem;
    font-weight: 600;
    color: var(--secondary-blue);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    transition: background 0.15s;
    line-height: 1.4;
}
.vt-faq-q:hover { background: var(--background-section); }
.vt-faq-q[aria-expanded="true"] {
    background: var(--background-section);
    color: var(--primary-gold);
}

/* The + icon — rotates 45° to become × when open */
.vt-faq-q .ico {
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 1;
    color: var(--primary-gold);
    flex-shrink: 0;
    transition: transform 0.25s ease;
    display: inline-block;
    width: 20px;
    text-align: center;
}
.vt-faq-q[aria-expanded="true"] .ico {
    transform: rotate(45deg);
}

/* Answer panel — animates height + padding */
.vt-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 18px;
    background: #ffffff;
}
.vt-faq-item.open .vt-faq-a {
    max-height: 400px;
    padding: 14px 18px;
}

.vt-faq-a p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.8;
}
.vt-faq-a p strong { color: var(--text-primary); }
.vt-faq-a p em     { color: var(--primary-gold); font-style: normal; font-weight: 600; }
.vt-faq-a p a      { color: var(--primary-gold); font-weight: 500; text-decoration: none; }
.vt-faq-a p a:hover { text-decoration: underline; }

/* Section label above the FAQ */
.faq-intro .faq-label {
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.faq-intro .faq-label i { color: var(--primary-gold); }

/* ── Risk card variant ── */
.opp-card-risk {
    border-left-color: #e55 !important;
}
.opp-card-risk .opp-strategies-title { color: #c0392b; }

/* ═══════════════════════════════════════════════════════════════
   DUMBBELL CHART — MOBILE IMPROVEMENTS
═══════════════════════════════════════════════════════════════ */
.dumbbell-scroll-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 640px) {
    /* Dumbbell: stack label above track */
    .dumbbell-row {
        grid-template-columns: 1fr 60px;
        grid-template-rows: auto auto;
        gap: 4px 10px;
        margin-bottom: 22px;
    }
    .db-label {
        grid-column: 1 / -1;
        font-size: 0.75rem;
    }
    .db-track { grid-column: 1; }
    .db-val   { grid-column: 2; grid-row: 2; font-size: 0.72rem; }
    .db-tick  { font-size: 0.58rem; }
    .dumbbell-wrap { padding: 14px 10px 12px; }
    .vt-faq-q { padding: 12px 14px; font-size: 0.87rem; }
}
