/* ============================================================
   BUSYBEAVER — /cum-functioneaza
   Extends: site.css + components.css
   Only NEW styles for this page
   ============================================================ */

/* ── HERO CENTERED VARIANT ── */
.hero--centered .hero__text--centered {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}
.hero--centered .hero__title--centered {
    max-width: 100%;
}
.hero--centered .hero__subtitle--centered {
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}
.hero--centered .hero__ctas--centered {
    justify-content: center;
}
.hero__microcopy {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    color: var(--color-muted-light);
    text-align: center;
    margin-top: 10px;
}


/* ── EXECUTION NOTE (între hero și timeline) ── */
.cf-execution-note {
    padding: 24px 0;
    text-align: center;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border-light);
}
.cf-execution-note__text {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    font-style: italic;
    color: var(--color-text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}


/* ── (Execution card is styled via .timeline-step--execution above) ── */


/* ── GUARANTEE CALLOUT (înainte de CTA) ── */
.cf-guarantee-callout {
    padding: 28px 0;
    background: var(--color-background-cream);
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
}
.cf-guarantee-callout__inner {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-secondary);
    line-height: 1.7;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}
.cf-guarantee-callout__inner strong {
    font-family: var(--font-heading);
    font-weight: var(--fw-bold);
    color: var(--color-gold-dark);
}


/* ── TIMELINE EXPANDABLE ── */

/* Header with toggle */
.timeline-step__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

/* Toggle + button */
.timeline-step__toggle {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    margin-top: 2px;
    transition: all var(--transition-base);
}
.timeline-step__toggle span {
    font-family: var(--font-heading);
    font-weight: var(--fw-bold);
    font-size: 15px;
    color: var(--color-gold);
    line-height: 1;
    transition: transform var(--transition-base);
}
.timeline-step--expandable .timeline-step__card.is-expanded .timeline-step__toggle span {
    transform: rotate(45deg);
}
.timeline-step--expandable .timeline-step__card.is-expanded .timeline-step__toggle {
    border-color: var(--color-gold);
}

/* "Detalii →" hint (visible when collapsed, hidden when expanded) */
.timeline-step__hint {
    display: block;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: var(--fw-bold);
    color: var(--color-gold);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-top: 10px;
    transition: opacity var(--transition-fast);
}
.timeline-step--expandable .timeline-step__card.is-expanded .timeline-step__hint {
    display: none;
}

/* Execution card (nu e pas numerotat — contrast vizual) */
.timeline-step--execution { margin-bottom: 36px; }
.timeline-step__circle--exec {
    background: var(--color-gold);
    border-color: var(--color-gold);
    font-size: 11px;
    color: var(--color-white);
}
.timeline-step__card--exec {
    background: var(--color-background-cream);
    border: 2px solid var(--color-gold);
    border-left: 4px solid var(--color-gold);
    box-shadow: 0 2px 12px rgba(200,164,78,0.12);
}
.timeline-step__card--exec:hover {
    box-shadow: 0 4px 20px rgba(200,164,78,0.2);
    border-color: var(--color-gold-dark);
}
.timeline-step__card--exec .timeline-step__title {
    color: var(--color-gold-dark);
}
.timeline-step__card--exec .timeline-step__toggle {
    border-color: var(--color-gold);
}
.timeline-step__card--exec .timeline-step__toggle span {
    color: var(--color-gold-dark);
}

.timeline-step--expandable .timeline-step__card {
    cursor: pointer;
}
.timeline-step--expandable .timeline-step__card.is-expanded {
    max-width: 480px;
}

/* Expanded content */
.timeline-step__expanded {
    padding-top: 16px;
    margin-top: 14px;
    border-top: 1px solid var(--color-border-light);
}
.timeline-step__expanded[hidden] {
    display: none;
}
.timeline-step__expanded:not([hidden]) {
    animation: step-expand 300ms ease-out;
}
@keyframes step-expand {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.timeline-step__detail {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: 14px;
}

/* Metrics inline */
.timeline-step__metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}
.step-metric {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    color: var(--color-muted);
    background: var(--color-background-cream);
    padding: 5px 12px;
    border-radius: var(--radius-sm);
}
.step-metric strong {
    font-family: var(--font-heading);
    font-weight: var(--fw-bold);
    color: var(--color-gold-dark);
}

/* Options box (vizionare) */
.timeline-step__options {
    background: var(--color-background-cream);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    margin-bottom: 14px;
}
.step-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
    border-bottom: 1px solid var(--color-border-light);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary);
}
.step-option:last-of-type { border-bottom: none; }
.step-option strong {
    font-family: var(--font-heading);
    font-weight: var(--fw-bold);
    color: var(--color-gold-dark);
    font-size: 13px;
}
.step-option__note {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    color: var(--color-muted);
    font-style: italic;
    margin: 8px 0 0;
}

/* Checklist */
.timeline-step__checklist {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 14px;
}
.step-check {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary);
    padding: 3px 0;
}

/* Proof note */
.timeline-step__proof {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    color: var(--color-muted);
    font-style: italic;
    border-left: 2px solid var(--color-gold);
    padding-left: 10px;
    margin: 14px 0;
}

/* Screenshot inside expanded step */
.timeline-step__screenshot {
    margin: 16px 0;
}
.timeline-step__screenshot .screenshot-mockup {
    max-width: 100%;
}


/* ── LODGE CARDS ── */
.lodge-grid {
    align-items: stretch;
}
.lodge-card {
    padding: 28px 22px 22px;
    position: relative;
    display: flex;
    flex-direction: column;
}
.lodge-card:hover {
    transform: translateY(-3px);
    z-index: 2;
}
.lodge-card--recommended {
    border: 2px solid var(--color-gold);
    padding-top: 38px;
}
.lodge-card--regie {
    background: var(--color-background-cream);
}

.lodge-card__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-heading);
    font-weight: var(--fw-extrabold);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-white);
    background: var(--gradient-gold);
    padding: 4px 16px;
    border-radius: var(--radius-xl);
    white-space: nowrap;
}

.lodge-card__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.lodge-card__name {
    font-family: var(--font-heading);
    font-weight: var(--fw-bold);
    font-size: 16px;
    color: var(--color-black);
    text-transform: uppercase;
    letter-spacing: -0.01em;
}
.lodge-card__desc {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--color-muted);
    margin-bottom: 10px;
}
.lodge-card__price {
    font-family: var(--font-heading);
    font-weight: var(--fw-bold);
    font-size: 14px;
    margin-bottom: 16px;
}

.lodge-card__warning {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    background: rgba(200,164,78,0.08);
    border: 1px solid rgba(200,164,78,0.2);
    border-radius: var(--radius-md);
    padding: 10px 12px;
    margin-bottom: 14px;
}
.lodge-card__warning svg { flex-shrink: 0; color: var(--color-gold); margin-top: 1px; }
.lodge-card__warning span {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--color-text-secondary);
}

.lodge-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    flex: 1;
}
.lodge-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid var(--color-border-light);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}
.lodge-feature:last-child { border-bottom: none; }

.lodge-feature::before {
    content: '';
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
}
.lodge-feature--yes { color: var(--color-text-secondary); }
.lodge-feature--yes::before {
    content: '✓';
    color: var(--color-gold);
    font-weight: 700;
    font-size: 14px;
    width: auto;
}
.lodge-feature--no { color: var(--color-muted-light); }
.lodge-feature--no::before {
    content: '✗';
    color: var(--color-muted-light);
    font-weight: 400;
    font-size: 14px;
    width: auto;
}

.lodge-card__ideal {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    color: var(--color-muted);
    font-style: italic;
}
.lodge-card__note {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    color: var(--color-muted-light);
    margin-top: 6px;
}

/* Info icon with tooltip */
.lodge-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    font-size: 12px;
    color: var(--color-gold);
    cursor: help;
    position: relative;
    vertical-align: middle;
    margin-left: 2px;
    animation: lodge-info-pulse 2s ease-in-out infinite;
}
@keyframes lodge-info-pulse {
    0%, 100% { color: var(--color-gold); transform: scale(1); }
    50% { color: var(--color-black); transform: scale(1.3); }
}
.lodge-info:hover {
    animation: none;
    color: var(--color-gold);
    transform: scale(1);
}
.lodge-info:hover::after {
    content: attr(title);
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-black);
    color: var(--color-white-80);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    white-space: nowrap;
    z-index: 100;
    box-shadow: var(--shadow-dark);
    pointer-events: none;
}
@media (max-width: 767px) {
    .lodge-info:hover::after {
        white-space: normal;
        width: 200px;
        left: auto;
        right: 0;
        transform: none;
    }
}


/* ── FAQ ACCORDION ── */
.faq-list {
    max-width: 700px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid var(--color-border-light);
}
.faq-item:last-child { border-bottom: none; }

.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 0;
    gap: 16px;
    text-align: left;
    cursor: pointer;
}
.faq-item__question:hover span { color: var(--color-gold-dark); }

.faq-item__question span {
    font-family: var(--font-heading);
    font-weight: var(--fw-bold);
    font-size: 14px;
    color: var(--color-black);
    transition: color var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

.faq-item__icon {
    flex-shrink: 0;
    color: var(--color-gold);
    transition: transform var(--transition-base);
}
.faq-item__question[aria-expanded="true"] .faq-item__icon {
    transform: rotate(45deg);
}

.faq-item__answer[hidden] { display: none; }
.faq-item__answer:not([hidden]) {
    padding-bottom: 18px;
    animation: step-expand 300ms ease-out;
}
.faq-item__answer div {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.7;
    color: var(--color-text-secondary);
}


/* ── RESPONSIVE TABLET ── */
@media (max-width: 1199px) {
    .hero--centered .hero__title--centered { font-size: var(--display-lg); }
    .timeline-step--expandable .timeline-step__card.is-expanded { max-width: 320px; }
    .lodge-card { padding: 20px 16px; }
    .lodge-card--recommended { padding-top: 32px; }
}

/* ── RESPONSIVE MOBILE ── */
@media (max-width: 767px) {
    .hero--centered .hero__title--centered { font-size: var(--display-lg); }
    .hero--centered .hero__subtitle--centered { font-size: 14px; }
    
    /* Timeline expandable on mobile */
    .timeline-step--expandable .timeline-step__card.is-expanded { max-width: 100%; }
    
    /* Lodge stack */
    /* Lodge: ordine naturală pe mobile (5% → Extended → Regie) */
    
    /* FAQ */
    .faq-item__question span { font-size: 13px; }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
    .timeline-step__expanded:not([hidden]),
    .faq-item__answer:not([hidden]) {
        animation: none;
    }
    .lodge-info {
        animation: none;
    }
}