/* ==========================================================================
   FAUSTO GARCÍA MENÉNDEZ - PRESUPUESTADOR INTERACTIVO STYLES
   ========================================================================== */

:root {
    --fgm-bg-dark: #121212;
    --fgm-card-bg: #181818;
    --fgm-card-hover: #222222;
    --fgm-card-border: #2a2a2a;
    --fgm-card-border-active: #c5a059;
    --fgm-accent-gold: #c5a059;
    --fgm-accent-green: #25d366;
    --fgm-accent-green-hover: #20bd5a;
    --fgm-text-main: #f5f5f5;
    --fgm-text-muted: #999999;
    --fgm-text-dim: #666666;
    --fgm-font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --fgm-font-display: 'Playfair Display', Georgia, serif;
    --fgm-radius-sm: 4px;
    --fgm-radius-md: 6px;
    --fgm-radius-lg: 8px;
    --fgm-transition: all 0.22s ease-in-out;
}

.fgm-wizard-wrapper {
    font-family: var(--fgm-font-body);
    background: #141414;
    color: var(--fgm-text-main);
    border: 1px solid #282828;
    border-radius: var(--fgm-radius-lg);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65);
    padding: 36px 32px 42px;
    max-width: 1060px;
    margin: 30px auto;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.fgm-wizard-wrapper *,
.fgm-wizard-wrapper *::before,
.fgm-wizard-wrapper *::after {
    box-sizing: border-box;
}

/* ==========================================================================
   HEADER & PROGRESS
   ========================================================================== */
.fgm-wizard-header {
    text-align: center;
    margin-bottom: 32px;
}

.fgm-badge-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(229, 190, 88, 0.12);
    color: var(--fgm-accent-gold);
    border: 1px solid rgba(229, 190, 88, 0.3);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.fgm-main-title {
    font-family: var(--fgm-font-display);
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.fgm-subtitle {
    font-size: 16px;
    color: var(--fgm-text-muted);
    max-width: 650px;
    margin: 0 auto 26px;
    line-height: 1.5;
}

/* Progress bar */
.fgm-progress-container {
    max-width: 780px;
    margin: 0 auto;
}

.fgm-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin-bottom: 14px;
}

.fgm-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #d4af37, #f6d365);
    border-radius: 10px;
    transition: width 0.4s ease;
    box-shadow: 0 0 12px var(--fgm-accent-gold-glow);
}

.fgm-step-indicators {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.fgm-step-dot {
    font-size: 12.5px;
    color: var(--fgm-text-dim);
    font-weight: 500;
    transition: var(--fgm-transition);
    cursor: default;
}

.fgm-step-dot.active {
    color: var(--fgm-accent-gold);
    font-weight: 700;
}

.fgm-step-dot.completed {
    color: var(--fgm-text-muted);
}

/* ==========================================================================
   WIZARD BODY & STEP PANES
   ========================================================================== */
.fgm-wizard-body {
    min-height: 380px;
}

.fgm-step-pane {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.fgm-step-pane.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.fgm-step-heading {
    margin-bottom: 24px;
    text-align: left;
}

.fgm-step-num {
    display: inline-block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--fgm-accent-gold);
    font-weight: 700;
    margin-bottom: 4px;
}

.fgm-step-heading h2 {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 6px;
    line-height: 1.3;
}

.fgm-step-heading p {
    color: var(--fgm-text-muted);
    font-size: 14.5px;
    margin: 0;
}

/* ==========================================================================
   CARDS & GRIDS
   ========================================================================== */
.fgm-cards-grid {
    display: grid;
    gap: 16px;
}

.fgm-grid-services {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.fgm-card {
    background: #181818;
    border: 1px solid #282828;
    border-radius: 4px;
    padding: 22px 20px;
    cursor: pointer;
    transition: var(--fgm-transition);
    position: relative;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.fgm-card:hover {
    background: #202020;
    border-color: #404040;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.fgm-card.selected {
    background: #202020;
    border-color: var(--fgm-accent-gold);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.fgm-card-icon {
    font-size: 26px;
    margin-bottom: 12px;
    line-height: 1;
}

.fgm-card-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: #222222;
    border: 1px solid #333333;
    color: #999999;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    border-radius: 3px;
}

.fgm-card.selected .fgm-card-badge {
    background: rgba(197, 160, 89, 0.15);
    border-color: rgba(197, 160, 89, 0.4);
    color: var(--fgm-accent-gold);
}

.fgm-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px;
    line-height: 1.3;
}

.fgm-card p {
    font-size: 13.5px;
    color: var(--fgm-text-muted);
    line-height: 1.45;
    margin: 0 0 14px;
    flex-grow: 1;
}

.fgm-card-price-hint {
    font-size: 13px;
    font-weight: 700;
    color: var(--fgm-accent-gold);
    margin-top: auto;
}

/* ==========================================================================
   PACKS / RADIO TILES (STEP 2)
   ========================================================================== */
.fgm-packs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.fgm-pack-card {
    background: var(--fgm-card-bg);
    border: 1px solid var(--fgm-card-border);
    border-radius: var(--fgm-radius-md);
    padding: 22px;
    cursor: pointer;
    transition: var(--fgm-transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.fgm-pack-card:hover {
    border-color: rgba(229, 190, 88, 0.4);
    transform: translateY(-2px);
}

.fgm-pack-card.selected {
    border-color: var(--fgm-accent-gold);
    background: #202020;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.fgm-pack-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
}

.fgm-pack-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.fgm-pack-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--fgm-accent-gold);
}

.fgm-pack-features {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    font-size: 13.5px;
    color: #d1d5db;
}

.fgm-pack-features li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.fgm-pack-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--fgm-accent-gold);
    font-weight: bold;
}

/* ==========================================================================
   EXTRAS (STEP 3)
   ========================================================================== */
.fgm-extras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
}

.fgm-extra-card {
    background: var(--fgm-card-bg);
    border: 1px solid var(--fgm-card-border);
    border-radius: var(--fgm-radius-md);
    padding: 16px 18px;
    cursor: pointer;
    transition: var(--fgm-transition);
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.fgm-extra-card:hover {
    background: var(--fgm-card-hover);
    border-color: rgba(229, 190, 88, 0.3);
}

.fgm-extra-card.selected {
    border-color: var(--fgm-accent-gold);
    background: rgba(35, 41, 56, 0.95);
    box-shadow: 0 0 0 1px var(--fgm-accent-gold);
}

.fgm-extra-checkbox {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    flex-shrink: 0;
    transition: var(--fgm-transition);
}

.fgm-extra-card.selected .fgm-extra-checkbox {
    background: var(--fgm-accent-gold);
    border-color: var(--fgm-accent-gold);
}

.fgm-extra-checkbox::after {
    content: "✓";
    color: #121316;
    font-size: 13px;
    font-weight: 800;
    display: none;
}

.fgm-extra-card.selected .fgm-extra-checkbox::after {
    display: block;
}

.fgm-extra-info {
    flex-grow: 1;
}

.fgm-extra-title {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 4px;
}

.fgm-extra-desc {
    font-size: 12.5px;
    color: var(--fgm-text-muted);
    margin: 0;
    line-height: 1.4;
}

.fgm-extra-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--fgm-accent-gold);
    white-space: nowrap;
    margin-left: 8px;
}

/* ==========================================================================
   FORM CONTROLS (STEP 4)
   ========================================================================== */
.fgm-form-card {
    background: var(--fgm-card-bg);
    border: 1px solid var(--fgm-card-border);
    border-radius: var(--fgm-radius-md);
    padding: 28px 24px;
}

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

.fgm-field-group {
    margin-bottom: 18px;
    text-align: left;
}

.fgm-field-group label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: #d1d5db;
    margin-bottom: 8px;
}

.fgm-input-control {
    width: 100%;
    background: rgba(13, 15, 20, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--fgm-radius-sm);
    color: #ffffff;
    padding: 12px 14px;
    font-size: 14px;
    font-family: inherit;
    transition: var(--fgm-transition);
}

.fgm-input-control:focus {
    outline: none;
    border-color: var(--fgm-accent-gold);
    box-shadow: 0 0 0 3px var(--fgm-accent-gold-glow);
}

.fgm-textarea {
    resize: vertical;
    min-height: 85px;
}

.fgm-checkbox-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    cursor: pointer;
    font-size: 13px !important;
    color: var(--fgm-text-muted) !important;
}

/* ==========================================================================
   SUMMARY LAYOUT (STEP 5)
   ========================================================================== */
.fgm-summary-layout {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 24px;
    text-align: left;
}

.fgm-summary-pricing-card,
.fgm-summary-action-card {
    background: var(--fgm-card-bg);
    border: 1px solid var(--fgm-card-border);
    border-radius: var(--fgm-radius-md);
    padding: 26px;
}

.fgm-badge-glow {
    display: inline-block;
    color: var(--fgm-accent-gold);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-bottom: 1px solid rgba(197, 160, 89, 0.4);
    padding-bottom: 3px;
    margin-bottom: 14px;
}

.fgm-price-display {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 8px;
}

.fgm-price-prefix {
    font-size: 18px;
    color: var(--fgm-text-muted);
}

.fgm-price-number {
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    font-family: var(--fgm-font-display);
    letter-spacing: -0.02em;
}

.fgm-price-currency {
    font-size: 28px;
    font-weight: 700;
    color: var(--fgm-accent-gold);
}

.fgm-price-note {
    font-size: 12px;
    color: var(--fgm-text-dim);
    line-height: 1.4;
    margin: 0 0 20px;
}

.fgm-breakdown-box {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 16px;
    margin-bottom: 20px;
}

.fgm-breakdown-box h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--fgm-accent-gold);
    margin: 0 0 12px;
}

.fgm-breakdown-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13.5px;
}

.fgm-breakdown-list li {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
    color: #e5e7eb;
}

.fgm-breakdown-list li span.item-price {
    font-weight: 700;
    color: var(--fgm-accent-gold);
}

.fgm-guarantee-badges {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12.5px;
    color: var(--fgm-text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 16px;
}

.fgm-badge-item span {
    color: var(--fgm-accent-gold);
    font-weight: bold;
    margin-right: 4px;
}

/* Actions right col */
.fgm-summary-action-card h3 {
    font-size: 19px;
    color: #ffffff;
    margin: 0 0 6px;
}

.fgm-summary-action-card p {
    font-size: 13.5px;
    color: var(--fgm-text-muted);
    margin: 0 0 18px;
}

.fgm-btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25d366;
    color: #ffffff !important;
    padding: 14px 20px;
    border-radius: var(--fgm-radius-sm);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    transition: var(--fgm-transition);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
    margin-bottom: 18px;
}

.fgm-btn-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

.fgm-divider-or {
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.fgm-divider-or::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.fgm-divider-or span {
    position: relative;
    background: #161921;
    padding: 0 12px;
    font-size: 12px;
    color: var(--fgm-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.fgm-lead-form .fgm-field-group {
    margin-bottom: 12px;
}

.fgm-btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #d4af37, #f39c12);
    color: #121316;
    border: none;
    border-radius: var(--fgm-radius-sm);
    padding: 13px 20px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--fgm-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.fgm-btn-submit:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--fgm-accent-gold-glow);
}

.fgm-response-msg {
    margin-top: 12px;
    font-size: 13px;
    text-align: center;
    padding: 8px;
    border-radius: var(--fgm-radius-sm);
    display: none;
}

.fgm-response-msg.success {
    display: block;
    background: rgba(37, 211, 102, 0.15);
    color: #4ade80;
    border: 1px solid rgba(37, 211, 102, 0.3);
}

.fgm-response-msg.error {
    display: block;
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ==========================================================================
   NAVIGATION FOOTER
   ========================================================================== */
.fgm-wizard-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 32px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.fgm-btn-nav {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    padding: 11px 22px;
    border-radius: var(--fgm-radius-sm);
    cursor: pointer;
    transition: var(--fgm-transition);
}

.fgm-btn-nav:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

.fgm-btn-next {
    background: var(--fgm-accent-gold);
    color: #121316;
    border-color: var(--fgm-accent-gold);
    font-weight: 700;
}

.fgm-btn-next:hover {
    background: #e5be58;
    box-shadow: 0 4px 16px var(--fgm-accent-gold-glow);
}

.fgm-footer-price-peek {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.fgm-peek-label {
    font-size: 13px;
    color: var(--fgm-text-muted);
}

.fgm-peek-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--fgm-accent-gold);
}

/* ==========================================================================
   SELECTOR DE ESTANCIAS & CHIPS INTERACTIVOS
   ========================================================================== */
.fgm-selector-estancias {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--fgm-card-border);
    border-radius: var(--fgm-radius-md);
    padding: 20px 22px;
    margin-bottom: 24px;
}

.fgm-selector-estancias h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--fgm-accent-gold);
    margin: 0 0 12px;
}

.fgm-chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.fgm-chip-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    color: var(--fgm-text-main);
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--fgm-transition);
    user-select: none;
}

.fgm-chip-btn:hover {
    background: rgba(229, 190, 88, 0.12);
    border-color: rgba(229, 190, 88, 0.4);
    color: #ffffff;
}

.fgm-chip-btn.selected {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(246, 211, 101, 0.15));
    border-color: var(--fgm-accent-gold);
    color: var(--fgm-accent-gold);
    font-weight: 600;
    box-shadow: 0 0 12px var(--fgm-accent-gold-glow);
}

.fgm-tech-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--fgm-radius-sm);
    padding: 12px 16px;
    font-size: 12.5px;
    color: #e2e8f0;
    line-height: 1.45;
    margin-top: 14px;
}

.fgm-tech-notice-icon {
    font-size: 16px;
    flex-shrink: 0;
}

/* ==========================================================================
   DISTINTIVO PHOTORUSH.ES
   ========================================================================== */
.fgm-photorush-badge {
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.08) 0%, rgba(79, 70, 229, 0.08) 50%, rgba(254, 44, 85, 0.08) 100%);
    border: 1px solid rgba(0, 242, 254, 0.3);
    border-radius: var(--fgm-radius-md);
    padding: 14px 18px;
    margin: 18px 0 16px;
    position: relative;
    overflow: hidden;
}

.fgm-photorush-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #00f2fe, #fe2c55);
}

.fgm-pr-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #00f2fe;
    margin-bottom: 4px;
}

.fgm-pr-logo strong {
    background: linear-gradient(90deg, #00f2fe, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.fgm-pr-bolt {
    color: #ffde59;
}

.fgm-pr-text {
    font-size: 12px;
    color: #cbd5e1;
    line-height: 1.4;
}

/* ==========================================================================
   RESPONSIVE (MOBILE)
   ========================================================================== */
@media (max-width: 768px) {
    .fgm-wizard-wrapper {
        padding: 24px 16px;
        margin: 15px 8px;
    }

    .fgm-main-title {
        font-size: 24px;
    }

    .fgm-step-indicators {
        display: none;
    }

    .fgm-summary-layout {
        grid-template-columns: 1fr;
    }

    .fgm-form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .fgm-grid-services {
        grid-template-columns: 1fr;
    }

    .fgm-packs-grid {
        grid-template-columns: 1fr;
    }

    .fgm-price-number {
        font-size: 38px;
    }
}

/* ==========================================================================
   LANDING HERO & KEN BURNS BACKGROUND (v1.3.0)
   ========================================================================== */

.fgm-landing-root {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 20px 16px 80px;
    box-sizing: border-box;
}

/* Fondo animado Ken Burns fluido */
.fgm-kb-hero-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.fgm-kb-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1);
    animation: fgmKenBurnsLoop 24s infinite ease-in-out;
}

.fgm-slide-1 {
    background-image: url('https://www.faustogarciamenendez.com/wp-content/uploads/2017/04/FAU_7120.jpg');
    animation-delay: 0s;
}

.fgm-slide-2 {
    background-image: url('https://www.faustogarciamenendez.com/wp-content/uploads/2017/04/FAU_2927-Custom.jpg');
    animation-delay: 8s;
}

.fgm-slide-3 {
    background-image: url('https://www.faustogarciamenendez.com/wp-content/uploads/2017/04/FAU_3147_1color.jpg');
    animation-delay: 16s;
}

@keyframes fgmKenBurnsLoop {
    0% {
        opacity: 0;
        transform: scale(1) translate(0, 0);
    }
    6% {
        opacity: 1;
    }
    30% {
        opacity: 1;
    }
    38% {
        opacity: 0;
        transform: scale(1.14) translate(-1.5%, -1%);
    }
    100% {
        opacity: 0;
        transform: scale(1);
    }
}

.fgm-kb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.78);
}

/* Header & Tarjeta de Bienvenida - Estilo Editorial Clásico */
.fgm-editorial-hero {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 40px auto 35px;
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.fgm-hero-kicker {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #c5a059;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(197, 160, 89, 0.4);
    padding-bottom: 4px;
}

.fgm-editorial-quote {
    font-family: var(--fgm-font-display);
    font-size: clamp(1.65rem, 3.8vw, 2.5rem);
    font-weight: 600;
    font-style: italic;
    line-height: 1.35;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
    margin: 0 0 26px;
}

.fgm-editorial-nav-box {
    background: #181818;
    border: 1px solid #2e2e2e;
    border-radius: 6px;
    padding: 24px 28px;
    max-width: 780px;
    margin: 0 auto;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
}

.fgm-editorial-nav-text {
    font-size: 1.02rem;
    color: #e5e5e5;
    margin: 0 0 16px;
    line-height: 1.5;
}

.fgm-editorial-social-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.fgm-author-tag {
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 0.95rem;
    padding: 8px 16px;
    background: #222222;
    border: 1px solid #363636;
    border-radius: 4px;
    transition: var(--fgm-transition);
}

.fgm-author-tag:hover {
    background: #2a2a2a;
    border-color: #c5a059;
    color: #c5a059 !important;
}

.fgm-author-tag strong {
    color: #c5a059;
}

.fgm-sep {
    color: #555555;
    font-weight: 300;
}

.fgm-editorial-link {
    color: #c5a059 !important;
    text-decoration: underline !important;
    text-underline-offset: 4px;
    font-weight: 600;
}

.fgm-editorial-link:hover {
    color: #ffffff !important;
}

.fgm-editorial-alt-row {
    border-top: 1px solid #262626;
    padding-top: 16px;
    font-size: 0.92rem;
    color: #888888;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.fgm-editorial-link-accent {
    color: #c5a059 !important;
    text-decoration: none !important;
    font-weight: 600;
    border-bottom: 1px solid rgba(197, 160, 89, 0.4);
    transition: var(--fgm-transition);
}

.fgm-editorial-link-accent:hover {
    color: #ffffff !important;
    border-bottom-color: #ffffff;
}

/* Integración del Wizard con la Landing */
.fgm-landing-root .fgm-wizard-wrapper {
    position: relative;
    z-index: 1;
    margin-top: 0;
}


