        /* Skip link — vizibil la focus keyboard (WCAG 2.4.1) */
        .fa-skip-link {
            position: absolute;
            top: -100%;
            left: 0;
            padding: 12px 24px;
            background: #3b2118;
            color: #fff8ef;
            font-family: 'Inter', sans-serif;
            font-size: 14px;
            font-weight: 600;
            text-decoration: none;
            z-index: 9999;
            transition: top 0.15s ease;
        }
        
/* Financial Architects — Calculator simplu (page-specific)
 * Toate stilurile comune cu surorile (page-calc-*) au fost dedupate în
 * fa-shared.css (.fa-section, .fa-disclaimer-banner, .fa-breadcrumb,
 * .fa-calc__row, .fa-calc__result). Aici rămân doar override-urile
 * minime: spacing hero/calc, grid 2 coloane, CTA către avansat. */

/* Spacing hero → calculator → disclaimer ca să nu fie golul prea mare. */
#calculator.fa-section--tight { padding-top: var(--fa-space-3); }
#hero.fa-hero { padding-bottom: var(--fa-space-3); }
#disclaimer.fa-section--tight {
    padding-top: var(--fa-space-4);
    padding-bottom: var(--fa-space-6);
}

/* ===== Grid principal: inputs stânga, rezultate dreapta, grafic full ===== */
.fa-calc {
    display: block;
    max-width: 1080px;
    margin: 0 auto;
}

.fa-calc__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: var(--fa-space-5);
    align-items: start;
}

@media (max-width: 768px) {
    .fa-calc__grid {
        grid-template-columns: 1fr;
        gap: var(--fa-space-4);
    }
}

.fa-calc__inputs,
.fa-calc__results {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ===== Variante de result card (--main = highlight cu accent border) ===== */
.fa-calc__result--main {
    background: var(--fa-secondary);
    border-color: var(--fa-accent);
}

.fa-calc__result-label {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--fa-text-muted);
    letter-spacing: 0;
    margin: 0 0 8px;
}

.fa-calc__result--main .fa-calc__result-label {
    color: var(--fa-primary);
    opacity: 1;
}

.fa-calc__result-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--fa-primary);
    margin: 0;
    line-height: 1.1;
    word-break: break-word;
}

.fa-calc__result--main .fa-calc__result-value {
    font-size: 36px;
    color: var(--fa-text-strong);
}

@media (max-width: 480px) {
    .fa-calc__result-value { font-size: 24px; }
    .fa-calc__result--main .fa-calc__result-value { font-size: 30px; }
}

/* ===== CTA către calculatorul avansat (highlight la hover) ===== */
.fa-calc__cta-advanced {
    grid-column: 1 / -1;
    margin-top: 0;
    padding: var(--fa-space-3);
    background: var(--fa-secondary);
    border: 1px dashed var(--fa-divider-strong);
    border-radius: 12px;
}

.fa-calc__cta-advanced__intro {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--fa-text);
    line-height: 1.55;
    margin: 0 0 12px;
}

.fa-calc__cta-advanced__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background: transparent;
    color: var(--fa-primary);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--fa-accent);
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.fa-calc__cta-advanced__btn:hover,
.fa-calc__cta-advanced__btn:focus-visible {
    background: var(--fa-accent);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(158, 58, 58, 0.28);
    outline: none;
    text-decoration: none;
}

.fa-calc__cta-advanced__arrow {
    font-size: 18px;
    transition: transform 0.2s ease;
}

.fa-calc__cta-advanced__btn:hover .fa-calc__cta-advanced__arrow {
    transform: translateX(3px);
}

/* ===== Grafic full width sub grid ===== */
.fa-calc__chart-wrap--full {
    margin-top: var(--fa-space-5);
    padding: var(--fa-space-3);
    background: var(--fa-bg);
    border: 1px solid var(--fa-divider);
    border-radius: 12px;
}

.fa-calc__chart-wrap--full canvas {
    width: 100% !important;
    height: 380px !important;
    max-height: 380px;
}

@media (max-width: 768px) {
    .fa-calc__chart-wrap--full canvas { height: 280px !important; }
}

.fa-calc__chart-hint {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: var(--fa-text-muted);
    margin: 12px 0 0;
    text-align: center;
}

/* ===== Group + checkbox inline (consistent cu celelalte calc) ===== */
.fa-calc__group {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-bottom: 18px;
}

.fa-calc__check-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin: 0;
}

.fa-calc__check-inline input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--fa-accent);
    cursor: pointer;
}

.fa-calc__number {
    padding: 10px 12px;
    background: #ffffff;
    border: 1px solid var(--fa-divider);
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: var(--fa-primary);
    text-align: right;
    width: 100%;
}

.fa-calc__number:focus {
    border-color: var(--fa-accent);
    outline: none;
    box-shadow: 0 0 0 2px rgba(158, 58, 58, 0.18);
}

.fa-calc__number::-webkit-outer-spin-button,
.fa-calc__number::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ============================================================================
   ANIMAȚII — Calculator simplu
   Entrance reveal pe scroll (IntersectionObserver adaugă .is-revealed),
   pulse pe rezultate când motorul recalculează (MutationObserver pe textContent),
   hover/active polish pe inputs și CTA. Toate respectă prefers-reduced-motion.
   ============================================================================ */

@keyframes faFadeInUp {
    from { opacity: 0; transform: translate3d(0, 24px, 0); }
    to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes faFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes faResultPulse {
    0%   { transform: scale(1); box-shadow: 0 0 0 0 rgba(158, 58, 58, 0.0); }
    35%  { transform: scale(1.025); box-shadow: 0 0 0 6px rgba(158, 58, 58, 0.18); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(158, 58, 58, 0.0); }
}

@keyframes faValueFlash {
    0%   { color: var(--fa-primary); }
    35%  { color: var(--fa-accent); }
    100% { color: var(--fa-primary); }
}

@keyframes faValueFlashMain {
    0%   { color: var(--fa-text-strong); }
    35%  { color: var(--fa-accent-strong); }
    100% { color: var(--fa-text-strong); }
}

/* Stare inițială pentru elementele animate la intrare. Gating pe .js-loaded
   (adăugat în <head> de un script inline) → dacă JS nu rulează, nu rămân
   blocate la opacity:0. „Reveal animations must enhance an already-visible
   default" (impeccable). */
.js-loaded .anim-reveal {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    will-change: opacity, transform;
}

.js-loaded .anim-reveal.is-revealed {
    animation: faFadeInUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Stagger pe fields & result cards — delay incremental după .is-revealed. */
.js-loaded .anim-reveal.is-revealed[data-anim-delay="1"] { animation-delay: 0.08s; }
.js-loaded .anim-reveal.is-revealed[data-anim-delay="2"] { animation-delay: 0.16s; }
.js-loaded .anim-reveal.is-revealed[data-anim-delay="3"] { animation-delay: 0.24s; }
.js-loaded .anim-reveal.is-revealed[data-anim-delay="4"] { animation-delay: 0.32s; }
.js-loaded .anim-reveal.is-revealed[data-anim-delay="5"] { animation-delay: 0.40s; }

/* Hero — fade-in fără translate, mai elegant decât stagger. */
.fa-hero h1, .fa-hero p, .fa-hero .fa-eyebrow {
    animation: faFadeIn 0.8s ease-out both;
}
.fa-hero .fa-eyebrow { animation-delay: 0.05s; }
.fa-hero h1 { animation-delay: 0.18s; }
.fa-hero__subtitle { animation-delay: 0.32s; }

/* Pulse pe cardul de rezultat când valoarea se schimbă (clasa adăugată de JS). */
.fa-calc__result.is-pulse {
    animation: faResultPulse 0.6s ease-out;
}

/* Flash culoare pe textul valorii când se schimbă. */
.fa-calc__result-value.is-flash {
    animation: faValueFlash 0.6s ease-out;
}
.fa-calc__result--main .fa-calc__result-value.is-flash {
    animation-name: faValueFlashMain;
}

/* Tranziție lină pe valori (pentru fallback când nu e .is-flash). */
.fa-calc__result-value {
    transition: color 0.25s ease;
}

/* Hover pe carduri rezultat — lift discret. */
.fa-calc__result {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.fa-calc__result:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 33, 24, 0.08);
    border-color: var(--fa-divider-strong);
}

/* Slider thumb — hover scale (existent doar la :active în fa-shared). */
.fa-calc__slider::-webkit-slider-thumb { transition: transform 0.15s ease, box-shadow 0.2s ease; }
.fa-calc__slider::-webkit-slider-thumb:hover {
    transform: scale(1.12);
    box-shadow: 0 4px 10px rgba(158, 58, 58, 0.35);
}
.fa-calc__slider::-moz-range-thumb { transition: transform 0.15s ease, box-shadow 0.2s ease; }
.fa-calc__slider::-moz-range-thumb:hover {
    transform: scale(1.12);
    box-shadow: 0 4px 10px rgba(158, 58, 58, 0.35);
}

/* Input numeric — micro-lift la focus. */
.fa-calc__number {
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.fa-calc__number:focus { transform: translateY(-1px); }

/* CTA buton avansat — pulse subtil ca să atragă atenția (o singură dată). */
@keyframes faCtaBreath {
    0%, 100% { box-shadow: 0 0 0 0 rgba(158, 58, 58, 0.0); }
    50%      { box-shadow: 0 0 0 8px rgba(158, 58, 58, 0.12); }
}
.fa-calc__cta-advanced__btn {
    animation: faCtaBreath 3.2s ease-in-out 1.5s 2;
}

/* === CTA editorial 2 coloane (Varianta B) ====================
   Grid: măgarul stânga (umbră de sol + drop-shadow), text + buton dreapta
   în flux. Măgarul se ridică de jos cu fade; butonul intră cu fade la 1.5s
   după măgar. Fără poziționare absolută pe palmă (robust + responsive). */
#cta-evaluare { position: relative; overflow: hidden; }

.fa-cta-stage {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 52px;
    align-items: center;
}

.fa-cta-donkey {
    position: relative; /* păstrat pentru pseudo-element ground shadow */
}

/* Umbră eliptică sub donkey */
.fa-cta-donkey::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 68%;
    height: 20px;
    background: radial-gradient(ellipse,
        rgba(59, 33, 24, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.fa-cta-donkey__img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 18px 36px rgba(59, 33, 24, 0.14));
}

.fa-cta-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.fa-cta-content__btn {
    margin-top: 28px;
}

/* Progressive enhancement: ascundem pentru animație doar cu JS (.cta-ready).
   Fără JS, măgarul și butonul rămân vizibile normal. */
#cta-evaluare.cta-ready .fa-cta-donkey__img,
#cta-evaluare.cta-ready .fa-cta-content__btn { opacity: 0; }

#cta-evaluare.cta-ready.is-cta-active .fa-cta-donkey__img {
    animation: faDonkeyRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
#cta-evaluare.cta-ready.is-cta-active .fa-cta-content__btn {
    animation: faCtaBtnDrop 0.5s ease-out 1.5s both;
}

@keyframes faDonkeyRise {
    from { opacity: 0; transform: translateY(56px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes faCtaBtnDrop {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Mobil ≤600px: text sus, donkey jos */
@media (max-width: 600px) {
    .fa-cta-stage {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .fa-cta-donkey { order: 2; max-width: 220px; margin: 0 auto; }
    .fa-cta-content { order: 1; align-items: center; text-align: center; }
    .fa-cta-content .fa-section-subhead { max-width: none; }
    .fa-cta-content__btn { align-self: center; }
}

/* Respect prefers-reduced-motion — dezactivează toate animațiile. */
@media (prefers-reduced-motion: reduce) {
    .anim-reveal,
    .anim-reveal.is-revealed,
    .fa-hero h1, .fa-hero p, .fa-hero .fa-eyebrow,
    .fa-calc__result.is-pulse,
    .fa-calc__result-value.is-flash,
    .fa-calc__cta-advanced__btn {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .fa-calc__result:hover { transform: none; }
    /* măgar + buton: vizibile, fără animație */
    #cta-evaluare .fa-cta-donkey__img,
    #cta-evaluare .fa-cta-content__btn {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ===== Espresso hero (valoarea principală) ===== */
.fa-result-hero {
    background: var(--fa-primary);
    border-radius: 12px;
    padding: var(--fa-space-3);
}
.fa-result-hero__label {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 248, 239, 0.72);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 8px;
}
.fa-result-hero__value {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(32px, 5vw, 40px);
    font-weight: 600;
    color: var(--fa-bg);
    line-height: 1.05;
    margin: 0;
    overflow-wrap: anywhere;
}

/* ===== Tabel rezultate — card alb, rânduri cu divider ===== */
.fa-result-table {
    background: #ffffff;
    border: 1px solid var(--fa-divider);
    border-radius: 12px;
    overflow: hidden;
}
.fa-result-table__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--fa-space-2);
    padding: 14px var(--fa-space-3);
    border-bottom: 1px solid var(--fa-divider);
}
.fa-result-table__row:last-child { border-bottom: none; }
.fa-result-table__label {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--fa-text);
    margin: 0;
}
.fa-result-table__val {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--fa-primary);
    margin: 0;
    text-align: right;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}
.fa-result-table__val--accent { color: var(--fa-accent-strong); }

@media (max-width: 520px) {
    .fa-result-table__row {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
        padding: 12px var(--fa-space-2);
    }
    .fa-result-table__val { text-align: left; }
}
